All checks were successful
Build / build (push) Successful in 1m20s
Major refactoring of the UI layer to use Svelte components: - Replace inline HTML with modular Svelte components - Add authentication system with UserProfile component - Implement navigation store for view management - Create comprehensive settings and controls screens - Add level editor with JSON validation - Implement progression tracking system - Update level configurations and base station model 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
511 B
Svelte
24 lines
511 B
Svelte
<script lang="ts">
|
|
export let value: string | number = '';
|
|
export let options: Array<{value: string | number, label: string}> = [];
|
|
export let disabled: boolean = false;
|
|
export let id: string = '';
|
|
</script>
|
|
|
|
<select
|
|
{id}
|
|
bind:value
|
|
{disabled}
|
|
class="settings-select"
|
|
on:change
|
|
>
|
|
{#each options as option}
|
|
<option value={option.value}>{option.label}</option>
|
|
{/each}
|
|
</select>
|
|
|
|
<style>
|
|
/* Inherits from global styles.css */
|
|
/* .settings-select class is already defined */
|
|
</style>
|