@typed/ui 1.0.0-beta.5 → 1.0.0-beta.7

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.
Files changed (128) hide show
  1. package/dist/Alert.d.ts +35 -41
  2. package/dist/Alert.d.ts.map +1 -1
  3. package/dist/Alert.js +23 -20
  4. package/dist/Button.d.ts +34 -78
  5. package/dist/Button.d.ts.map +1 -1
  6. package/dist/Button.js +16 -12
  7. package/dist/Carousel.d.ts +35 -236
  8. package/dist/Carousel.d.ts.map +1 -1
  9. package/dist/Carousel.js +13 -136
  10. package/dist/Checkbox.d.ts +55 -90
  11. package/dist/Checkbox.d.ts.map +1 -1
  12. package/dist/Checkbox.js +44 -38
  13. package/dist/Collection.d.ts +15 -15
  14. package/dist/Collection.js +7 -7
  15. package/dist/Combobox.d.ts +38 -187
  16. package/dist/Combobox.d.ts.map +1 -1
  17. package/dist/Combobox.js +9 -80
  18. package/dist/Component.d.ts +30 -24
  19. package/dist/Component.d.ts.map +1 -1
  20. package/dist/Component.js +23 -12
  21. package/dist/Composite.d.ts +50 -50
  22. package/dist/Composite.js +20 -20
  23. package/dist/Dialog.d.ts +34 -34
  24. package/dist/Dialog.d.ts.map +1 -1
  25. package/dist/Dialog.js +16 -14
  26. package/dist/Disclosure.d.ts +15 -15
  27. package/dist/Disclosure.js +6 -6
  28. package/dist/Dom/Events.d.ts +4 -4
  29. package/dist/Dom/Events.js +4 -4
  30. package/dist/Dom/Props.d.ts +9 -9
  31. package/dist/Dom/Props.js +4 -4
  32. package/dist/Dom/Refs.d.ts +2 -2
  33. package/dist/Dom/Refs.js +1 -1
  34. package/dist/Dom/Render.d.ts +2 -2
  35. package/dist/Dom/Render.js +2 -2
  36. package/dist/Dom/Types.d.ts +33 -33
  37. package/dist/Dom/index.d.ts +5 -5
  38. package/dist/Dom/index.d.ts.map +1 -1
  39. package/dist/Dom/index.js +4 -4
  40. package/dist/Dom.d.ts +1 -1
  41. package/dist/Dom.js +1 -1
  42. package/dist/Focusable.d.ts +5 -5
  43. package/dist/Focusable.js +1 -1
  44. package/dist/Form.d.ts +565 -533
  45. package/dist/Form.d.ts.map +1 -1
  46. package/dist/Form.js +350 -195
  47. package/dist/Grid.d.ts +39 -220
  48. package/dist/Grid.d.ts.map +1 -1
  49. package/dist/Grid.js +12 -107
  50. package/dist/Group.d.ts +50 -69
  51. package/dist/Group.d.ts.map +1 -1
  52. package/dist/Group.js +33 -25
  53. package/dist/Heading.d.ts +41 -40
  54. package/dist/Heading.d.ts.map +1 -1
  55. package/dist/Heading.js +26 -16
  56. package/dist/Hovercard.d.ts +18 -18
  57. package/dist/Hovercard.js +6 -6
  58. package/dist/HttpRouter.d.ts +3 -3
  59. package/dist/HttpRouter.js +5 -5
  60. package/dist/Link.d.ts +17 -21
  61. package/dist/Link.d.ts.map +1 -1
  62. package/dist/Link.js +11 -0
  63. package/dist/Listbox.d.ts +31 -163
  64. package/dist/Listbox.d.ts.map +1 -1
  65. package/dist/Listbox.js +9 -80
  66. package/dist/Menu.d.ts +67 -376
  67. package/dist/Menu.d.ts.map +1 -1
  68. package/dist/Menu.js +17 -179
  69. package/dist/Menubar.d.ts +24 -142
  70. package/dist/Menubar.d.ts.map +1 -1
  71. package/dist/Menubar.js +8 -66
  72. package/dist/Meter.d.ts +72 -132
  73. package/dist/Meter.d.ts.map +1 -1
  74. package/dist/Meter.js +35 -42
  75. package/dist/NativeDetails.d.ts +1 -1
  76. package/dist/NativeDetails.js +1 -1
  77. package/dist/NativeDialog.d.ts +7 -5
  78. package/dist/NativeDialog.d.ts.map +1 -1
  79. package/dist/NativeDialog.js +42 -4
  80. package/dist/NativePopover.d.ts +6 -4
  81. package/dist/NativePopover.d.ts.map +1 -1
  82. package/dist/NativePopover.js +43 -5
  83. package/dist/Popover.d.ts +18 -19
  84. package/dist/Popover.d.ts.map +1 -1
  85. package/dist/Popover.js +7 -8
  86. package/dist/RadioGroup.d.ts +86 -188
  87. package/dist/RadioGroup.d.ts.map +1 -1
  88. package/dist/RadioGroup.js +55 -105
  89. package/dist/Role.d.ts +4 -4
  90. package/dist/Role.js +1 -1
  91. package/dist/Select.d.ts +109 -220
  92. package/dist/Select.d.ts.map +1 -1
  93. package/dist/Select.js +67 -117
  94. package/dist/Separator.d.ts +30 -26
  95. package/dist/Separator.d.ts.map +1 -1
  96. package/dist/Separator.js +16 -10
  97. package/dist/Slider.d.ts +64 -111
  98. package/dist/Slider.d.ts.map +1 -1
  99. package/dist/Slider.js +47 -42
  100. package/dist/SpinButton.d.ts +64 -111
  101. package/dist/SpinButton.d.ts.map +1 -1
  102. package/dist/SpinButton.js +47 -42
  103. package/dist/Storybook.d.ts +2 -2
  104. package/dist/Storybook.js +1 -1
  105. package/dist/Switch.d.ts +52 -91
  106. package/dist/Switch.d.ts.map +1 -1
  107. package/dist/Switch.js +30 -36
  108. package/dist/Tabs.d.ts +44 -224
  109. package/dist/Tabs.d.ts.map +1 -1
  110. package/dist/Tabs.js +10 -94
  111. package/dist/Toolbar.d.ts +24 -142
  112. package/dist/Toolbar.d.ts.map +1 -1
  113. package/dist/Toolbar.js +8 -66
  114. package/dist/Tooltip.d.ts +20 -20
  115. package/dist/Tooltip.js +6 -6
  116. package/dist/Tree.d.ts +43 -229
  117. package/dist/Tree.d.ts.map +1 -1
  118. package/dist/Tree.js +12 -113
  119. package/dist/TreeGrid.d.ts +45 -264
  120. package/dist/TreeGrid.d.ts.map +1 -1
  121. package/dist/TreeGrid.js +13 -125
  122. package/dist/VisuallyHidden.d.ts +41 -27
  123. package/dist/VisuallyHidden.d.ts.map +1 -1
  124. package/dist/VisuallyHidden.js +27 -10
  125. package/dist/WindowSplitter.d.ts +68 -108
  126. package/dist/WindowSplitter.d.ts.map +1 -1
  127. package/dist/WindowSplitter.js +106 -23
  128. package/package.json +9 -8
@@ -9,7 +9,7 @@
9
9
  * events and browser-owned focus.
10
10
  *
11
11
  * @since 1.0.0
12
- * @category modules
12
+ * @category Architecture overview
13
13
  * @packageDocumentation
14
14
  */
15
15
  import * as Effect from "effect/Effect";
@@ -35,43 +35,43 @@ import { RefSubject } from "@typed/fx";
35
35
  * its real DOM identity:
36
36
  * `const item: Item<string> = { id: "save", value: "save", element: document.createElement("button") }`.
37
37
  * @since 1.0.0
38
- * @category models
38
+ * @category Item metadata
39
39
  */
40
40
  export interface Item<Value = unknown, Element extends object = globalThis.Element> {
41
41
  /**
42
42
  * Stable id used for collection identity and ARIA relationships.
43
43
  * @since 1.0.0
44
- * @category models
44
+ * @category Identity and relationships
45
45
  */
46
46
  readonly id: string;
47
47
  /**
48
48
  * Mounted element handle used for DOM ordering, focus, and scrolling.
49
49
  * @since 1.0.0
50
- * @category models
50
+ * @category Item registration
51
51
  */
52
52
  readonly element?: Element;
53
53
  /**
54
54
  * Flag used by collection movement and widget handlers to skip activation by default.
55
55
  * @since 1.0.0
56
- * @category models
56
+ * @category Availability
57
57
  */
58
58
  readonly disabled?: boolean;
59
59
  /**
60
60
  * Whether the item participates as a submenu entry.
61
61
  * @since 1.0.0
62
- * @category models
62
+ * @category Nested menus
63
63
  */
64
64
  readonly submenu?: boolean;
65
65
  /**
66
66
  * Search text used by typeahead independently of rendered markup.
67
67
  * @since 1.0.0
68
- * @category models
68
+ * @category Typeahead
69
69
  */
70
70
  readonly textValue?: string;
71
71
  /**
72
72
  * Current semantic value selected or edited by the widget.
73
73
  * @since 1.0.0
74
- * @category models
74
+ * @category Item metadata
75
75
  */
76
76
  readonly value?: Value;
77
77
  }
@@ -94,7 +94,7 @@ export interface Item<Value = unknown, Element extends object = globalThis.Eleme
94
94
  * runnable setup](/reference/%40typed%2Fui%2FCollection%23makeState). Collection state is an
95
95
  * immutable sequence: `const snapshot: State<string> = [{ id: "save", value: "save" }]`.
96
96
  * @since 1.0.0
97
- * @category models
97
+ * @category Collection state
98
98
  */
99
99
  export type State<Value = unknown, Element extends object = globalThis.Element> = readonly Item<Value, Element>[];
100
100
  /**
@@ -125,7 +125,7 @@ export type State<Value = unknown, Element extends object = globalThis.Element>
125
125
  * );
126
126
  * ```
127
127
  * @since 1.0.0
128
- * @category constructors
128
+ * @category Collection state
129
129
  */
130
130
  export declare function makeState<Value = unknown, Element extends object = globalThis.Element>(initial?: State<Value, Element>): Effect.Effect<RefSubject.RefSubject<State<Value, Element>>, never, Scope.Scope>;
131
131
  /**
@@ -150,7 +150,7 @@ export declare function makeState<Value = unknown, Element extends object = glob
150
150
  * program invoke `yield* register(collection, { id: "save", value: "save" })`, then read the
151
151
  * collection to observe the inserted item.
152
152
  * @since 1.0.0
153
- * @category combinators
153
+ * @category Item registration
154
154
  */
155
155
  export declare function register<Value, Element extends object, E, R>(collection: RefSubject.RefSubject<State<Value, Element>, E, R>, item: Item<Value, Element>): Effect.Effect<void, E, R | Scope.Scope>;
156
156
  /**
@@ -175,7 +175,7 @@ export declare function register<Value, Element extends object, E, R>(collection
175
175
  * program create `const attach = ref(collection, { id: "save", value: "save" })`, then run `yield*
176
176
  * attach(document.createElement("button"))` and read the collection before Scope close.
177
177
  * @since 1.0.0
178
- * @category combinators
178
+ * @category Item registration
179
179
  */
180
180
  export declare function ref<Value, Element extends object, E, R>(collection: RefSubject.RefSubject<State<Value, Element>, E, R>, item: Omit<Item<Value, Element>, "element">): (element: Element) => Effect.Effect<void, E, R | Scope.Scope>;
181
181
  /**
@@ -199,7 +199,7 @@ export declare function ref<Value, Element extends object, E, R>(collection: Ref
199
199
  * program first register `"save"`, run `yield* unregister(collection, "save")`, then read the
200
200
  * collection to observe that only the matching id was removed.
201
201
  * @since 1.0.0
202
- * @category combinators
202
+ * @category Item registration
203
203
  */
204
204
  export declare function unregister<Value, Element extends object, E, R>(collection: RefSubject.RefSubject<State<Value, Element>, E, R>, id: string): Effect.Effect<void, E, R>;
205
205
  /**
@@ -223,7 +223,7 @@ export declare function unregister<Value, Element extends object, E, R>(collecti
223
223
  * const enabled = Collection.enabledItems([{ id: "a" }, { id: "b", disabled: true }]);
224
224
  * ```
225
225
  * @since 1.0.0
226
- * @category combinators
226
+ * @category Collection ordering
227
227
  */
228
228
  export declare function enabledItems<ItemType extends Item<unknown, object>>(items: readonly ItemType[]): readonly ItemType[];
229
229
  /**
@@ -248,7 +248,7 @@ export declare function enabledItems<ItemType extends Item<unknown, object>>(ite
248
248
  * const ordered = Collection.byDomOrder([{ id: "body", element: document.body }]);
249
249
  * ```
250
250
  * @since 1.0.0
251
- * @category combinators
251
+ * @category Collection ordering
252
252
  */
253
253
  export declare function byDomOrder<ItemType extends Item<unknown, object>>(items: readonly ItemType[]): readonly ItemType[];
254
254
  //# sourceMappingURL=Collection.d.ts.map
@@ -9,7 +9,7 @@
9
9
  * events and browser-owned focus.
10
10
  *
11
11
  * @since 1.0.0
12
- * @category modules
12
+ * @category Architecture overview
13
13
  * @packageDocumentation
14
14
  */
15
15
  import * as Effect from "effect/Effect";
@@ -45,7 +45,7 @@ import * as Equivalence from "effect/Equivalence";
45
45
  * );
46
46
  * ```
47
47
  * @since 1.0.0
48
- * @category constructors
48
+ * @category Collection state
49
49
  */
50
50
  export function makeState(initial = []) {
51
51
  // DOM elements are runtime handles; structural equality would traverse browser internals.
@@ -73,7 +73,7 @@ export function makeState(initial = []) {
73
73
  * program invoke `yield* register(collection, { id: "save", value: "save" })`, then read the
74
74
  * collection to observe the inserted item.
75
75
  * @since 1.0.0
76
- * @category combinators
76
+ * @category Item registration
77
77
  */
78
78
  export function register(collection, item) {
79
79
  return Effect.gen(function* () {
@@ -105,7 +105,7 @@ export function register(collection, item) {
105
105
  * program create `const attach = ref(collection, { id: "save", value: "save" })`, then run `yield*
106
106
  * attach(document.createElement("button"))` and read the collection before Scope close.
107
107
  * @since 1.0.0
108
- * @category combinators
108
+ * @category Item registration
109
109
  */
110
110
  export function ref(collection, item) {
111
111
  return Effect.fn((element) => register(collection, { ...item, element }));
@@ -131,7 +131,7 @@ export function ref(collection, item) {
131
131
  * program first register `"save"`, run `yield* unregister(collection, "save")`, then read the
132
132
  * collection to observe that only the matching id was removed.
133
133
  * @since 1.0.0
134
- * @category combinators
134
+ * @category Item registration
135
135
  */
136
136
  export function unregister(collection, id) {
137
137
  return RefSubject.update(collection, (items) => items.filter((item) => item.id !== id)).pipe(Effect.asVoid);
@@ -157,7 +157,7 @@ export function unregister(collection, id) {
157
157
  * const enabled = Collection.enabledItems([{ id: "a" }, { id: "b", disabled: true }]);
158
158
  * ```
159
159
  * @since 1.0.0
160
- * @category combinators
160
+ * @category Collection ordering
161
161
  */
162
162
  export function enabledItems(items) {
163
163
  return items.filter((item) => item.disabled !== true);
@@ -184,7 +184,7 @@ export function enabledItems(items) {
184
184
  * const ordered = Collection.byDomOrder([{ id: "body", element: document.body }]);
185
185
  * ```
186
186
  * @since 1.0.0
187
- * @category combinators
187
+ * @category Collection ordering
188
188
  */
189
189
  export function byDomOrder(items) {
190
190
  return items.toSorted((left, right) => {
@@ -8,6 +8,8 @@
8
8
  * the state and pure operations without mounting UI, or supply custom hosts without replacing native
9
9
  * events and browser-owned focus.
10
10
  *
11
+ * Learn the interaction in the [Combobox guide](/explore/ui-combobox).
12
+ *
11
13
  * @since 1.0.0
12
14
  * @category modules
13
15
  * @packageDocumentation
@@ -23,50 +25,35 @@ import * as Composite from "./Composite.js";
23
25
  import * as Dom from "./Dom.js";
24
26
  import type { HostResult } from "./Dom/Types.js";
25
27
  /**
26
- * Complete renderer-independent state for Combobox.
27
- *
28
- * @remarks
29
- * ## Why
30
- *
31
- * Applications can inspect, update, and test Combobox behavior without mounting or coupling the
32
- * state to a renderer.
28
+ * Editable query text, popup visibility, and the active suggestion identity.
29
+ * `value` can contain unmatched text; active suggestion focus does not validate a domain choice.
33
30
  *
34
- * ## Ownership and lifetime
35
- *
36
- * This declaration is data or schema metadata and acquires no resources.
37
- *
38
- * ## Example
39
- *
40
- * Import with `import type { State } from "@typed/ui/Combobox";` Extend the [Combobox.makeState
41
- * runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Inside the linked program,
42
- * `const snapshot: State = yield* state` exposes the current id, value, open state, and composite
43
- * focus state.
44
31
  * @since 1.0.0
45
- * @category models
32
+ * @category Query and popup state
46
33
  */
47
34
  export interface State extends Omit<Composite.State, "orientation"> {
48
35
  /**
49
36
  * Axis used to interpret Arrow-key movement.
50
37
  * @since 1.0.0
51
- * @category models
38
+ * @category Keyboard navigation
52
39
  */
53
40
  readonly orientation: "vertical";
54
41
  /**
55
42
  * Stable id used for collection identity and ARIA relationships.
56
43
  * @since 1.0.0
57
- * @category models
44
+ * @category Identity and relationships
58
45
  */
59
46
  readonly id: string;
60
47
  /**
61
48
  * Current semantic value selected or edited by the widget.
62
49
  * @since 1.0.0
63
- * @category models
50
+ * @category Current value
64
51
  */
65
52
  readonly value: string;
66
53
  /**
67
54
  * Whether the associated native popover is open.
68
55
  * @since 1.0.0
69
- * @category models
56
+ * @category Popup visibility
70
57
  */
71
58
  readonly open: boolean;
72
59
  }
@@ -74,54 +61,38 @@ export interface State extends Omit<Composite.State, "orientation"> {
74
61
  * Initial Combobox values. value defaults to an empty string, open to false, activeId to null,
75
62
  * loop to true, and virtual focus is enabled.
76
63
  *
77
- * @remarks
78
- * ## Why
79
- *
80
- * Making initialization explicit documents hydration-sensitive defaults and lets servers and
81
- * clients construct matching state.
82
- *
83
- * ## Ownership and lifetime
84
- *
85
- * This declaration is data or schema metadata and acquires no resources.
86
- *
87
- * ## Example
88
- *
89
- * Import with `import type { InitialState } from "@typed/ui/Combobox";` Extend the
90
- * [Combobox.makeState runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Construct
91
- * state with
92
- * `const initial: InitialState = { id: "city", value: "", open: false }; const state = yield* Combobox.makeState(initial)`.
93
64
  * @since 1.0.0
94
- * @category models
65
+ * @category Query and popup state
95
66
  */
96
67
  export interface InitialState {
97
68
  /**
98
69
  * Stable id used for collection identity and ARIA relationships.
99
70
  * @since 1.0.0
100
- * @category models
71
+ * @category Identity and relationships
101
72
  */
102
73
  readonly id: string;
103
74
  /**
104
75
  * Current semantic value selected or edited by the widget.
105
76
  * @since 1.0.0
106
- * @category models
77
+ * @category Current value
107
78
  */
108
79
  readonly value?: string;
109
80
  /**
110
81
  * Whether the associated native popover is open.
111
82
  * @since 1.0.0
112
- * @category models
83
+ * @category Popup visibility
113
84
  */
114
85
  readonly open?: boolean;
115
86
  /**
116
87
  * Id currently active for keyboard navigation; null means no active item.
117
88
  * @since 1.0.0
118
- * @category models
89
+ * @category Keyboard focus
119
90
  */
120
91
  readonly activeId?: string | null;
121
92
  /**
122
93
  * Whether movement wraps between the first and last enabled items.
123
94
  * @since 1.0.0
124
- * @category models
95
+ * @category Keyboard navigation
125
96
  */
126
97
  readonly loop?: boolean;
127
98
  }
@@ -129,15 +100,6 @@ export interface InitialState {
129
100
  * Effect Schema used by makeState to encode, decode, and hydrate Combobox state.
130
101
  *
131
102
  * @remarks
132
- * ## Why
133
- *
134
- * A public schema makes hydration and serialized state use the same runtime validation as direct
135
- * construction.
136
- *
137
- * ## Ownership and lifetime
138
- *
139
- * This declaration is data or schema metadata and acquires no resources.
140
- *
141
103
  * @example
142
104
  * ```ts
143
105
  * import * as Schema from "effect/Schema";
@@ -146,7 +108,7 @@ export interface InitialState {
146
108
  * const decodeState = Schema.decodeUnknownEffect(Combobox.StateSchema);
147
109
  * ```
148
110
  * @since 1.0.0
149
- * @category schemas
111
+ * @category Query and popup state
150
112
  */
151
113
  export declare const StateSchema: Schema.Struct<{
152
114
  readonly id: Schema.String;
@@ -163,12 +125,6 @@ export declare const StateSchema: Schema.Struct<{
163
125
  * null, loop to true, and virtual focus is enabled.
164
126
  *
165
127
  * @remarks
166
- * ## Why
167
- *
168
- * State and collection ownership can be composed and tested independently from any renderer.
169
- *
170
- * ## Ownership and lifetime
171
- *
172
128
  * The returned Effect creates the RefSubject when run. That state is renderer-independent;
173
129
  * collection registrations belong to the separate Scope that runs register or ref, not to state
174
130
  * creation.
@@ -187,7 +143,7 @@ export declare const StateSchema: Schema.Struct<{
187
143
  * );
188
144
  * ```
189
145
  * @since 1.0.0
190
- * @category constructors
146
+ * @category Query and popup state
191
147
  */
192
148
  export declare function makeState(initial: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
193
149
  readonly id: string;
@@ -203,12 +159,6 @@ export declare function makeState(initial: InitialState): Effect.Effect<RefSubje
203
159
  * Creates a scoped Collection for Combobox items.
204
160
  *
205
161
  * @remarks
206
- * ## Why
207
- *
208
- * State and collection ownership can be composed and tested independently from any renderer.
209
- *
210
- * ## Ownership and lifetime
211
- *
212
162
  * The returned Effect allocates the RefSubject in the caller's Scope. Each later registration is
213
163
  * owned by the Scope that runs register, independently of this construction Effect.
214
164
  *
@@ -225,72 +175,43 @@ export declare function makeState(initial: InitialState): Effect.Effect<RefSubje
225
175
  * );
226
176
  * ```
227
177
  * @since 1.0.0
228
- * @category constructors
178
+ * @category Suggestion registration
229
179
  */
230
180
  export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;
231
181
  /**
232
182
  * Stores the input value, clears activeId, and opens the popup in one state update.
233
183
  *
234
184
  * @remarks
235
- * ## Why
236
- *
237
185
  * The operation exposes Combobox's transition directly so callers can compose it in Effect
238
186
  * programs and native event handlers.
239
187
  *
240
- * ## Ownership and lifetime
241
- *
242
- * The returned Effect performs the update or DOM side effect only when run, preserves the declared
243
- * error and service channels, and retains no resources after completion.
244
- *
245
- * ## Example
246
- *
247
- * Import with `import { setValue } from "@typed/ui/Combobox";` Extend the [Combobox.makeState
248
- * runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Inside the linked Effect
249
- * program invoke `yield* setValue(state, "New York")`, then read state to observe that value,
250
- * `activeId: null`, and `open: true`.
251
188
  * @since 1.0.0
252
- * @category combinators
189
+ * @category Query and popup state
253
190
  */
254
191
  export declare function setValue<E, R>(state: RefSubject.RefSubject<State, E, R>, value: string): Effect.Effect<State, E, R>;
255
192
  /**
256
193
  * Inputs accepted by Combobox.Input in addition to the shared DOM host options.
257
194
  *
258
- * @remarks
259
- * ## Why
260
- *
261
- * The options type makes required state, content, accessible relationships, and custom-host inputs
262
- * visible before rendering.
263
- *
264
- * ## Ownership and lifetime
265
- *
266
- * This declaration is data or schema metadata and acquires no resources.
267
- *
268
- * ## Example
269
- *
270
- * Import with `import type { InputOptions } from "@typed/ui/Combobox";` Extend the
271
- * [Combobox.makeState runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Enable
272
- * collection-driven keys with
273
- * `const options: InputOptions = { state, collection, placeholder: "Choose a city" }`.
274
195
  * @since 1.0.0
275
- * @category models
196
+ * @category Editable input
276
197
  */
277
198
  export interface InputOptions extends Dom.HostOptions<HTMLInputElement> {
278
199
  /**
279
200
  * Renderer-independent RefSubject state consumed by this component or operation.
280
201
  * @since 1.0.0
281
- * @category models
202
+ * @category State connection
282
203
  */
283
204
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
284
205
  /**
285
206
  * Item registry used for collection-driven keyboard behavior and mounted ordering.
286
207
  * @since 1.0.0
287
- * @category models
208
+ * @category Item registration
288
209
  */
289
210
  readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
290
211
  /**
291
212
  * Native input placeholder text.
292
213
  * @since 1.0.0
293
- * @category models
214
+ * @category Input prompt
294
215
  */
295
216
  readonly placeholder?: string;
296
217
  }
@@ -313,65 +234,37 @@ type InputProps<Options extends InputOptions> = ReturnType<ReturnType<typeof inp
313
234
  * handles Arrow, Enter, and Escape when a collection is supplied.
314
235
  *
315
236
  * @remarks
316
- * ## Why
317
- *
318
- * The component applies the family behavior while leaving callers free to supply a custom host
319
- * through the shared DOM boundary.
320
- *
321
- * ## Ownership and lifetime
322
- *
323
237
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
324
238
  * collection registrations only when rendered. The rendering Scope removes those resources;
325
239
  * unrelated nodes and attributes remain caller-owned.
326
240
  *
327
- * ## Example
328
- *
329
- * Import with `import { Input } from "@typed/ui/Combobox";` Extend the [Combobox.makeState runnable
330
- * setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Replace the linked program's final
331
- * snapshot read with `Input({ state, placeholder: "Choose a city" })`; render that Fx before the
332
- * same Scope closes.
333
241
  * @since 1.0.0
334
- * @category components
242
+ * @category Editable input
335
243
  */
336
244
  export declare function Input<const Options extends InputOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, InputProps<Options>>, "", Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
337
245
  /**
338
246
  * Inputs accepted by Combobox.Popover in addition to the shared DOM host options.
339
247
  *
340
- * @remarks
341
- * ## Why
342
- *
343
- * The options type makes required state, content, accessible relationships, and custom-host inputs
344
- * visible before rendering.
345
- *
346
- * ## Ownership and lifetime
347
- *
348
- * This declaration is data or schema metadata and acquires no resources.
349
- *
350
- * ## Example
351
- *
352
- * Import with `import type { PopoverOptions } from "@typed/ui/Combobox";` Extend the
353
- * [Combobox.makeState runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). The popup
354
- * input is `const options: PopoverOptions = { state, collection, content: "Cities" }`.
355
248
  * @since 1.0.0
356
- * @category models
249
+ * @category Suggestion popup
357
250
  */
358
251
  export interface PopoverOptions extends Dom.HostOptions<HTMLDivElement> {
359
252
  /**
360
253
  * Renderer-independent RefSubject state consumed by this component or operation.
361
254
  * @since 1.0.0
362
- * @category models
255
+ * @category State connection
363
256
  */
364
257
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
365
258
  /**
366
259
  * Item registry used for collection-driven keyboard behavior and mounted ordering.
367
260
  * @since 1.0.0
368
- * @category models
261
+ * @category Item registration
369
262
  */
370
263
  readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
371
264
  /**
372
265
  * Renderable child content for the component host.
373
266
  * @since 1.0.0
374
- * @category models
267
+ * @category Rendered content
375
268
  */
376
269
  readonly content: Renderable.Any;
377
270
  }
@@ -389,90 +282,61 @@ type PopoverProps<Options extends PopoverOptions> = ReturnType<ReturnType<typeof
389
282
  * scrolls the selected option when opened.
390
283
  *
391
284
  * @remarks
392
- * ## Why
393
- *
394
- * The component applies the family behavior while leaving callers free to supply a custom host
395
- * through the shared DOM boundary.
396
- *
397
- * ## Ownership and lifetime
398
- *
399
285
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
400
286
  * collection registrations only when rendered. The rendering Scope removes those resources;
401
287
  * unrelated nodes and attributes remain caller-owned.
402
288
  *
403
- * ## Example
404
- *
405
- * Import with `import { Popover } from "@typed/ui/Combobox";` Extend the [Combobox.makeState
406
- * runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Replace the linked program's
407
- * final snapshot read with `Popover({ state, content: "Cities" })`; render that Fx before the same
408
- * Scope closes.
409
289
  * @since 1.0.0
410
- * @category components
290
+ * @category Suggestion popup
411
291
  */
412
292
  export declare function Popover<const Options extends PopoverOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, PopoverProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
413
293
  /**
414
294
  * Inputs accepted by Combobox.Item in addition to the shared DOM host options.
415
295
  *
416
- * @remarks
417
- * ## Why
418
- *
419
- * The options type makes required state, content, accessible relationships, and custom-host inputs
420
- * visible before rendering.
421
- *
422
- * ## Ownership and lifetime
423
- *
424
- * This declaration is data or schema metadata and acquires no resources.
425
- *
426
- * ## Example
427
- *
428
- * Import with `import type { ItemOptions } from "@typed/ui/Combobox";` Extend the
429
- * [Combobox.makeState runnable setup](/reference/%40typed%2Fui%2FCombobox%23makeState). A
430
- * selectable choice is
431
- * `const options: ItemOptions = { state, collection, id: "nyc", value: "New York", content: "New York" }`.
432
296
  * @since 1.0.0
433
- * @category models
297
+ * @category Suggestions
434
298
  */
435
299
  export interface ItemOptions extends Dom.HostOptions<HTMLDivElement> {
436
300
  /**
437
301
  * Renderer-independent RefSubject state consumed by this component or operation.
438
302
  * @since 1.0.0
439
- * @category models
303
+ * @category State connection
440
304
  */
441
305
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
442
306
  /**
443
307
  * Item registry used for collection-driven keyboard behavior and mounted ordering.
444
308
  * @since 1.0.0
445
- * @category models
309
+ * @category Item registration
446
310
  */
447
311
  readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
448
312
  /**
449
313
  * Stable id used for collection identity and ARIA relationships.
450
314
  * @since 1.0.0
451
- * @category models
315
+ * @category Identity and relationships
452
316
  */
453
317
  readonly id: string;
454
318
  /**
455
319
  * Current semantic value selected or edited by the widget.
456
320
  * @since 1.0.0
457
- * @category models
321
+ * @category Current value
458
322
  */
459
323
  readonly value: string;
460
324
  /**
461
325
  * Renderable child content for the component host.
462
326
  * @since 1.0.0
463
- * @category models
327
+ * @category Rendered content
464
328
  */
465
329
  readonly content: Renderable.Any;
466
330
  /**
467
331
  * Search text used by typeahead independently of rendered markup.
468
332
  * @since 1.0.0
469
- * @category models
333
+ * @category Text matching
470
334
  */
471
335
  readonly textValue?: string;
472
336
  /**
473
337
  * Flag used by collection movement and widget handlers to skip activation by default.
474
338
  * @since 1.0.0
475
- * @category models
339
+ * @category Availability
476
340
  */
477
341
  readonly disabled?: boolean;
478
342
  }
@@ -491,25 +355,12 @@ type ItemProps<Options extends ItemOptions> = ReturnType<ReturnType<typeof itemP
491
355
  * select on click.
492
356
  *
493
357
  * @remarks
494
- * ## Why
495
- *
496
- * The component applies the family behavior while leaving callers free to supply a custom host
497
- * through the shared DOM boundary.
498
- *
499
- * ## Ownership and lifetime
500
- *
501
358
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
502
359
  * collection registrations only when rendered. The rendering Scope removes those resources;
503
360
  * unrelated nodes and attributes remain caller-owned.
504
361
  *
505
- * ## Example
506
- *
507
- * Import with `import { Item } from "@typed/ui/Combobox";` Extend the [Combobox.makeState runnable
508
- * setup](/reference/%40typed%2Fui%2FCombobox%23makeState). Replace the linked program's final
509
- * snapshot read with `Item({ state, id: "nyc", value: "New York", content: "New York" })`; render
510
- * that Fx before the same Scope closes.
511
362
  * @since 1.0.0
512
- * @category components
363
+ * @category Suggestions
513
364
  */
514
365
  export declare function Item<const Options extends ItemOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ItemProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
515
366
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../src/Combobox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EACL,YAAY,EAEZ,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC;IACjE;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC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