@umriss-ui/core 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +35 -11
- package/CHANGELOG.md +36 -0
- package/README.md +2 -1
- package/dist/core.css +1 -1
- package/dist/core.js +4338 -3989
- package/dist/de.d.ts +35 -0
- package/dist/index.d.ts +109 -24
- package/dist/wording/de.js +23 -0
- package/docs/llms-full.md +525 -132
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -19,6 +19,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
19
19
|
- CardHeader — The head of a `Card`: title, an optional eyebrow and actions on the right.
|
|
20
20
|
- Checkbox — A native checkbox with its label beside it; `indeterminate` shows the mixed state.
|
|
21
21
|
- ClockGlyph — A clock face at a quarter past - the time pickers' character.
|
|
22
|
+
- ColorPicker — A colour field: a trigger with the colour's swatch and hex value, and a panel with the saturation and brightness square, the hue strip, the hex field, the red, green and blue fields, the eyedropper where the browser has one, the application's own swatches, the contrast against light and dark surfaces, the colour as it was when the panel opened beside the colour now, Cancel and Done.
|
|
22
23
|
- Combobox — A searchable select field (the combobox pattern with a listbox panel).
|
|
23
24
|
- CommandPalette — A window above the application in which one types and finds: it searches `items` by subsequence, ranks and marks the matches, and reports the chosen candidate's `id` to `onChoose`.
|
|
24
25
|
- ConfirmDialog — Compact confirmation dialog on the basis of Modal.
|
|
@@ -31,6 +32,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
31
32
|
- DateTimeRangePicker — A time span with times at both ends - the same interaction logic as the DateRangePicker, extended by times, without sacrificing the lightness: - Two clicks set the days (backwards allowed, the ends swap silently), after which the focus jumps straight into the first time field: type 0800, slide on, type 1700, Enter - done.
|
|
32
33
|
- Divider — A line between rows or columns; with `label` a named separator.
|
|
33
34
|
- Drawer — A `Modal` that stands at an edge of the window and enters from it - the same dialog with the same head, body and foot.
|
|
35
|
+
- DropperGlyph — An eyedropper: a pipette with its bulb at the top and its tip at the bottom left.
|
|
34
36
|
- EmptyState — An empty surface as an invitation to act - not as a dead end.
|
|
35
37
|
- EndGlyph — The chevron against a bar: the last step of a sequence.
|
|
36
38
|
- FileInput — A file field with a drop zone: choose or drop files, and remove them from the list again.
|
|
@@ -119,6 +121,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
119
121
|
- cadence — The cadence at which a display has to re-judge itself, in milliseconds - derived from the ages, not from a fixed second.
|
|
120
122
|
- createLongPress — The one long-press detector, a plain function over pointer events so that code outside React can use it.
|
|
121
123
|
- duplicateKey — The first key that occurs twice, otherwise null.
|
|
124
|
+
- formatDuration — A span as hours and minutes from the wording's short units ("1 hr 30 min").
|
|
122
125
|
- formatsFor — Every format of one locale, built once.
|
|
123
126
|
- freshness — The freshness of a value: its as-of time, measured against a reference time, placed against the two ages.
|
|
124
127
|
- hasWarned — Whether `warnOnce` has already spoken for this package and reason.
|
|
@@ -166,6 +169,8 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
166
169
|
- CardHeaderProps — The props of `CardHeader`: a div's attributes, with `title` taking a node instead of the HTML attribute.
|
|
167
170
|
- CardProps — The props of `Card`.
|
|
168
171
|
- CheckboxProps — The props of `Checkbox`: a native checkbox's attributes and its label.
|
|
172
|
+
- ColorPickerProps — The props of `ColorPicker`: the field's value contract (ADR-0081) with a hex colour for the value.
|
|
173
|
+
- ColorSwatch — A named colour: an entry of `swatches`, or a surface in `contrastAgainst`. [name, value]
|
|
169
174
|
- ComboboxOption — One possibility of a `Combobox`: the value it stands for and the label it is found by. [value, label, disabled]
|
|
170
175
|
- ComboboxProps — The props of `Combobox`.
|
|
171
176
|
- CommandPaletteItem — A candidate the palette can find - the outside of the term CONTEXT.md lists under "Finding" as a Candidate. [id, label, group, searchedGroup, icon, weight, keywords]
|
|
@@ -222,6 +227,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
222
227
|
- NumberFormat — How a number is written: a share, a count, or Intl's options.
|
|
223
228
|
- NumberInputProps — The props of `NumberInput`: a native input's attributes, with the value a number or `null`.
|
|
224
229
|
- NumberOptions — Intl's number options, plus `decimals`: the shorthand for the minimum and the maximum fraction digits.
|
|
230
|
+
- PopoverCloseReason — Why a popover asks to close: Escape, a click outside, a scroll (`hideOnScroll`), the anchor clipped away by a scrolling container, a Tab out of the panel (`closeOnTabOut`).
|
|
225
231
|
- PopoverProps — The props of `Popover`.
|
|
226
232
|
- PortalTarget — Where overlays portal to.
|
|
227
233
|
- PressPoint — Where the finger stands, in client coordinates. [x, y]
|
|
@@ -279,7 +285,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
279
285
|
- ToastTone — How the message turns out; `loading` is a toast still at work.
|
|
280
286
|
- TooltipProps — The props of `Tooltip`.
|
|
281
287
|
- Tree — What `useTree` returns: the visible nodes and the gestures on them. [flattening, active, search, toggleExpanded, toggleCheck, activate, move, setSearch, revealNode, revealPath, expandAll, collapseAll, typeahead, checkTo, moveAndCheck, toggleAll, revealCount, virtual]
|
|
282
|
-
- TreeOptions — The options of `useTree`: how a node is read, and each of its values either uncontrolled (`default…`) or controlled with its `on…` handler. [reader, defaultExpanded, defaultChecked, defaultActive, defaultSearch, expanded, checked, active, anchor, search, onExpandedChange, onCheckedChange, onActiveChange, onAnchorChange, onSearchChange,
|
|
288
|
+
- TreeOptions — The options of `useTree`: how a node is read, and each of its values either uncontrolled (`default…`) or controlled with its `on…` handler. [reader, defaultExpanded, defaultChecked, defaultActive, defaultSearch, expanded, checked, active, anchor, search, onExpandedChange, onCheckedChange, onActiveChange, onAnchorChange, onSearchChange, onActivate, onLoadChildren, virtual]
|
|
283
289
|
- TreeSearchProps — The props of `TreeSearch`: an `Input`'s, with the tree in place of `value` and `onChange`.
|
|
284
290
|
- TreeSnapshot — The whole state of a tree, as plain values: the open branches, the checked nodes, the active node, the anchor and the search text. [expanded, checked, active, anchor, search]
|
|
285
291
|
- TreeViewProps — The props of `TreeView`.
|
|
@@ -309,7 +315,6 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
309
315
|
- value?: readonly string[] — Controlled: the values of the open sections.
|
|
310
316
|
- defaultValue?: readonly string[] — Uncontrolled: the sections open at the start. (default: [])
|
|
311
317
|
- onValueChange?: (value: string[]) => void — Reports the open sections after a header's click.
|
|
312
|
-
- onChange?: (value: string[]) => void — The former name of `onValueChange`. (deprecated)
|
|
313
318
|
- headingLevel?: 2 | 3 | 4 | 5 | 6 — The level of the heading each header stands in - the one that fits the page's outline. (default: 3)
|
|
314
319
|
- ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
|
|
315
320
|
|
|
@@ -433,6 +438,25 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
433
438
|
- size?: number — Edge length in pixels. (default: 12)
|
|
434
439
|
- ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
|
|
435
440
|
|
|
441
|
+
### ColorPicker
|
|
442
|
+
|
|
443
|
+
#### props (ColorPickerProps)
|
|
444
|
+
|
|
445
|
+
- value?: string | null — The colour as a hex string - `#2563eb`, `2563EB` and `#26e` are read; `null` means none.
|
|
446
|
+
- defaultValue?: string | null — Uncontrolled: the colour to start at. (default: null)
|
|
447
|
+
- onValueChange?: (value: string | null) => void — Runs on every settled step - a hex value as soon as it is a whole colour - and once more with the colour the panel opened with when Cancel or Escape put it back.
|
|
448
|
+
- placeholder?: string — What stands in the empty field.
|
|
449
|
+
- clearable?: boolean — A cross on the trigger and Clear in the panel set `null`. (default: false)
|
|
450
|
+
- disabled?: boolean — Locks the field and the panel. (default: false)
|
|
451
|
+
- invalid?: boolean — Marks the field as invalid.
|
|
452
|
+
- size?: "sm" | "md" — `sm` for a toolbar and dense forms, `md` otherwise. (default: the size of a `ControlSizeProvider` around it, else `"md"`)
|
|
453
|
+
- chars?: number — The width in characters - room for the value; the field adds its own padding, swatch and chevron.
|
|
454
|
+
- swatches?: readonly ColorSwatch[] — The application's own colours as one-click choices in the panel, named for a screen reader and on hover; the one matching the colour is pressed. (default: no default)
|
|
455
|
+
- contrastAgainst?: readonly ColorSwatch[] — The surfaces the panel measures the colour against, each with its contrast ratio and Pass or Fail at 3:1 (WCAG 1.4.11 - for marks and lines, not text). (default: core's light and dark surface)
|
|
456
|
+
- ref?: Ref<HTMLButtonElement> | undefined — Receives the component's root element.
|
|
457
|
+
- name?: string — Posts the value under this name in a `<form>` (a hidden input), as a native control would; empty posts `""`.
|
|
458
|
+
- formValue?: (value: string) => string — Replaces the default text a value is posted as.
|
|
459
|
+
|
|
436
460
|
### Combobox
|
|
437
461
|
|
|
438
462
|
#### props (ComboboxProps)
|
|
@@ -611,6 +635,13 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
611
635
|
- closeOnBackdrop?: boolean — Closes on a click on the backdrop. (default: true)
|
|
612
636
|
- ref?: Ref<HTMLDialogElement> | undefined — Receives the component's root element.
|
|
613
637
|
|
|
638
|
+
### DropperGlyph
|
|
639
|
+
|
|
640
|
+
#### props (GlyphProps)
|
|
641
|
+
|
|
642
|
+
- size?: number — Edge length in pixels. (default: 12)
|
|
643
|
+
- ref?: Ref<SVGSVGElement> | undefined — Receives the component's root element.
|
|
644
|
+
|
|
614
645
|
### EmptyState
|
|
615
646
|
|
|
616
647
|
#### props (EmptyStateProps)
|
|
@@ -864,7 +895,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
864
895
|
#### props (PopoverProps)
|
|
865
896
|
|
|
866
897
|
- open: boolean — Whether the surface stands.
|
|
867
|
-
- onOpenChange: (open: boolean) => void — Reports every wish to change the state – outside click, Escape, scrolling.
|
|
898
|
+
- onOpenChange: (open: boolean, reason?: PopoverCloseReason) => void — Reports every wish to change the state – outside click, Escape, scrolling.
|
|
868
899
|
- anchorRef: RefObject<HTMLElement | null> — Trigger the panel hangs from (the reference for the position).
|
|
869
900
|
- focusRef?: RefObject<HTMLElement | null> — Element that receives the focus on closing. (default: anchorRef)
|
|
870
901
|
- insideRefs?: ReadonlyArray<RefObject<HTMLElement | null>> — Further elements whose click does not count as an outside click (e.g. the clear ×).
|
|
@@ -1015,7 +1046,6 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
1015
1046
|
- value?: number — Controlled: the first pane's share of the room, in per cent.
|
|
1016
1047
|
- defaultValue?: number — Uncontrolled: the share to start at. (default: 50)
|
|
1017
1048
|
- onValueChange?: (value: number) => void — Reports every move, by pointer or key, as the first pane's share.
|
|
1018
|
-
- onChange?: (value: number) => void — The former name of `onValueChange`. (deprecated)
|
|
1019
1049
|
- min?: number — The smallest share of the first pane, and where Enter collapses it to. (default: 0)
|
|
1020
1050
|
- max?: number — The largest share of the first pane. (default: 100)
|
|
1021
1051
|
- step?: number — How far an arrow key moves the separator, in per cent. (default: 5)
|
|
@@ -1095,7 +1125,6 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
1095
1125
|
- value?: string — The value of the visible tab.
|
|
1096
1126
|
- defaultValue?: string — Uncontrolled: the tab that stands first.
|
|
1097
1127
|
- onValueChange?: (value: string) => void — Receives the value of the chosen tab.
|
|
1098
|
-
- onChange?: (value: string) => void — The former name of `onValueChange`. (deprecated)
|
|
1099
1128
|
- ref?: Ref<HTMLDivElement> | undefined — Receives the component's root element.
|
|
1100
1129
|
|
|
1101
1130
|
### Tag
|
|
@@ -1350,11 +1379,6 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
1350
1379
|
- onActiveChange?: (next: S | null) => void
|
|
1351
1380
|
- onAnchorChange?: (next: S | null) => void
|
|
1352
1381
|
- onSearchChange?: (text: string) => void
|
|
1353
|
-
- onExpanded?: (next: ReadonlySet<S>) => void — The former name of `onExpandedChange`. (deprecated)
|
|
1354
|
-
- onChecked?: (next: ReadonlySet<S>) => void — The former name of `onCheckedChange`. (deprecated)
|
|
1355
|
-
- onActive?: (next: S | null) => void — The former name of `onActiveChange`. (deprecated)
|
|
1356
|
-
- onAnchor?: (next: S | null) => void — The former name of `onAnchorChange`. (deprecated)
|
|
1357
|
-
- onSearch?: (text: string) => void — The former name of `onSearchChange`. (deprecated)
|
|
1358
1382
|
- onActivate?: (node: K) => void — Enter on a node, or a click on its label.
|
|
1359
1383
|
- onLoadChildren?: (node: K) => void — An unloaded branch has been expanded: now would be the moment to fetch its children.
|
|
1360
1384
|
- virtual?: VirtualOptions — Render only what stands in the scroll area.
|
|
@@ -1410,4 +1434,4 @@ Generated by the props step (`pnpm --filter @umriss-ui/core props`); do not edit
|
|
|
1410
1434
|
|
|
1411
1435
|
#### returns (Wording)
|
|
1412
1436
|
|
|
1413
|
-
|
|
1437
|
+
443 members; see `docs/llms-full.md`.
|
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,42 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
|
|
|
27
27
|
caller lay in the same repository — and are grouped by unit of delivery, not by
|
|
28
28
|
commit.
|
|
29
29
|
|
|
30
|
+
## 0.55.0 – A colour field, popovers that stay on their field, a clearer dark theme (Nov. 2026)
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **`ColorPicker`**, a colour field in the family of DatePicker: the trigger shows a swatch and the hex value; the panel has a saturation and brightness square, a hue strip (dragged, or moved with the arrow keys; the hue survives black and grey), a hex field, R, G and B number fields, an eyedropper where the browser has `EyeDropper`, and the new colour beside the one the panel opened with. The value is a lowercase `#rrggbb` or `null`. Done or a click outside keeps the colour; Cancel or Escape puts the old one back. `clearable` adds a cross on the trigger and Clear in the panel, both setting `null`. `swatches` lists the application's own colours as one-click choices; `contrastAgainst` names the surfaces the colour is measured against (ratio, Pass or Fail at 3:1; core's light and dark surface by default). Types `ColorSwatch`; glyph `DropperGlyph`; wording `colorTrigger` and the panel's labels, in English and German.
|
|
35
|
+
- **Popover's `onOpenChange(false, reason)`** says why it closes: `"escape"`, `"outside"`, `"scroll"`, `"clipped"` or `"tab"`, typed `PopoverCloseReason`. A caller that reads one argument sees no change.
|
|
36
|
+
- **Tokens `--u-color-surface-raised`, `--u-color-surface-raised-sunken` and `--u-color-surface-raised-pressed`**: the grounds of an overlay. Popovers, dialogs, the command palette and toasts use them.
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- **An open popover stays glued to its trigger while the page scrolls** instead of trailing it, and it stays on the side it opened on until that side runs out of room. It no longer flips back merely because its first side has room again. Its position is rounded to whole pixels.
|
|
41
|
+
- Migration: nothing to change. Look at tests that measured a panel's position after scrolling, or expected it to flip back.
|
|
42
|
+
- **The dark theme is lighter and has more contrast between its grounds.** The page (`#121213`), surface (`#1e1e20`), sunken and pressed grounds are a step lighter. Overlays stand one lightness step above the surface they open over (`#28282c`). Edges and dividers are stronger. The secondary and muted text is a little lighter, to keep 4.5:1 on every ground. The light theme is unchanged.
|
|
43
|
+
- Migration: nothing to change. A dark screenshot of your application will differ; a colour you hard-coded to match core's old dark grounds should take the token instead.
|
|
44
|
+
|
|
45
|
+
## 0.54.0 – The old callback names go; a duration formatter, a calmer MultiSelect and search, a TreeView that types like Select (Nov. 2026)
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- **`formatDuration(ms, wording, { days? })`** renders a span as hours and minutes from the wording's short units, rounded to the whole minute; the alarm list, the schedule tooltip and the date-time range picker share it.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- **The old callback names are removed**, as 0.53.0 announced: `onChange` of Tabs, Accordion and Splitter, and `onExpanded`, `onChecked`, `onActive`, `onAnchor` and `onSearch` of useTree, with their development warnings (ADR-0081).
|
|
54
|
+
- Migration: Tabs, Accordion, Splitter: `onChange` -> `onValueChange`; useTree: `onExpanded` -> `onExpandedChange`, `onChecked` -> `onCheckedChange`, `onActive` -> `onActiveChange`, `onAnchor` -> `onAnchorChange`, `onSearch` -> `onSearchChange`.
|
|
55
|
+
- **TreeView typeahead follows Select and Menu:** typing the same letter again moves on to the next node that begins with it; different letters narrow the prefix from the active node.
|
|
56
|
+
- Migration: typing "p" twice used to search the prefix "pp" and stay put; it now moves to the next node beginning with "p". Nothing to change unless you relied on the old stay-put behaviour.
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
|
|
60
|
+
- **A MultiSelect with thousands of chosen values** no longer stalls when toggling, selecting all or searching, and one whose selection exactly fills the field shows every chip instead of one and a counter.
|
|
61
|
+
- **Typing into a Combobox or MultiSelect with thousands of options** answers each key without lag; a TreeView search ignores accents and case, so "kuhlung" finds "Kühlung".
|
|
62
|
+
- **Link and Breadcrumb rendered on a server** (Next.js, prerendering) keep their `href` and no longer warn about an unsafe scheme.
|
|
63
|
+
- **A toast with `duration: Infinity`** stays until dismissed, as `0` does, instead of vanishing at once.
|
|
64
|
+
- **Ctrl/Cmd+K opens the CommandPalette** on Russian, Greek and Hebrew layouts.
|
|
65
|
+
|
|
30
66
|
## 0.53.0 – The old names go: a field reports only through `onValueChange`; Tabs, Accordion, Splitter and the tree name their callback too (Nov. 2026)
|
|
31
67
|
|
|
32
68
|
### Added
|
package/README.md
CHANGED
|
@@ -484,6 +484,7 @@ The table is not part of this package. It lives in
|
|
|
484
484
|
| `Skeleton` | a loading placeholder (bar or circle) with a discreet pulse |
|
|
485
485
|
| `EmptyState` | an empty state with title, description, action and an optional symbol |
|
|
486
486
|
| `Stack` / `Grid` | layout primitives with token spacing (a 4 px step), `Grid` with a fixed count, a width per column (`columns={[140, "fill"]}`) or responsive via `minItemWidth` |
|
|
487
|
+
| `ColorPicker` | colour field: a swatch and the hex value; a panel with a saturation and brightness square, a hue strip, hex and R, G, B fields, an eyedropper, the application's own swatches, the contrast against light and dark surfaces, the colour beside the one it opened with, Cancel and Done |
|
|
487
488
|
| `DatePicker` | calendar selection: weeks from Monday, arrow keys across the month, today/clear, the date in Geist Mono |
|
|
488
489
|
| `DateTimePicker` | date plus time: two-digit fields that advance automatically, visible up/down steppers and arrow-key counting; after the day is chosen the focus jumps into the time, `withSeconds`, "now"; the clock change is handled honestly – a missing hour (the start of summer time) is detected and corrected forwards with a note, a duplicated hour (the start of winter time) offers the choice between both occurrences including the UTC offset |
|
|
489
490
|
| `TimeInput` | a time of day without a day: the date-time picker's hour, minute and (`withSeconds`) second fields standing alone - they type themselves onwards, arrows count round the clock, a pasted `14:30` is split; the value is the text `HH:mm` (`HH:mm:ss`), `null` while empty, and the same text is posted |
|
|
@@ -503,7 +504,7 @@ The table is not part of this package. It lives in
|
|
|
503
504
|
| `TreeView` / `TreeSearch` / `useTree` | a tree with exactly one active node and optional ticking (cascade, indeterminate, locked, unloaded); arrow keys, type to jump, range selection, virtualisation. The search keeps its term in the tree |
|
|
504
505
|
| `Stat` | a metric: one value, read against its limits – the verdict as a word and a colour, the deviation from the target value, history, freshness and the source's quality |
|
|
505
506
|
| `CommandPalette` / `useCommandPaletteShortcut` | a command palette: subsequence search with rank and highlighted finds, groups, keywords a candidate is found by, at most `maxFinds` finds with a line for the rest, a populated resting state; opens on Ctrl/⌘+K and `/` (`slash: false` switches the single key off, WCAG 2.1.4; neither opens inside a modal dialog) |
|
|
506
|
-
| `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `EndGlyph` / `CalendarGlyph` / `ClockGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` / `MoreGlyph` / `ToneGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
|
|
507
|
+
| `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `EndGlyph` / `CalendarGlyph` / `ClockGlyph` / `DropperGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` / `MoreGlyph` / `ToneGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
|
|
507
508
|
| `Sparkline` | a miniature history line with an area gradient and an accent end point – for trends in cells |
|
|
508
509
|
| `Spinner` | a functional loading indicator |
|
|
509
510
|
| `Switch` | on or off, taking effect at once: a native checkbox under `role="switch"`, the label beside it, two sizes, invalid through `FormField`; the thumb travels on the path transition |
|