Logo FS-Skia-UI

Controls Gallery — Text & Numeric Input Page Spec

Inherits the shell, palette, pointer contract, keyboard contract, and determinism rules from 00-controls-gallery-overview.md.

Goal

Demonstrate every value-entry control — single- and multi-line text, numeric, slider, and the date/time pickers — including pointer-driven editing, caret placement, drag-to-set on the slider, and popup pickers, with a live bound preview of all values.

Controls Demonstrated

Control

Module

Required

Events

Demonstrates

text-box

TextBox

value

onChanged

Single-line entry, validation

text-area

TextArea

value

onChanged

Multi-line entry, wrapping

numeric-input

NumericInput

value

onChanged

Numeric editor with step buttons

slider

Slider

value

onChanged

Drag-to-set continuous value

date-picker

DatePicker

onChange

Typed date entry + popup calendar

time-picker

TimePicker

onChange

Hour/minute segment entry

User Experience

The page is a form. The user clicks into a field to place the caret and types; clicks and drags the slider thumb to set a value; opens the date picker's calendar and clicks a day; and steps the numeric input with its buttons or the wheel. A live "Bound values" panel mirrors every field's current value, proving two-way binding through onChanged / onChange.

Layout

Mouse & Pointer Interactions

Keyboard

Core Behaviors

Data Model

Visual / Palette Requirements

App State

Track: per-field values and validation; slider/numeric ranges; picker open state and selections; the bound-values snapshot; focused field id; drag-in-progress flag.

Determinism and Evidence

Acceptance Criteria

Out of Scope

Type something to start searching.