@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.
- package/dist/Alert.d.ts +35 -41
- package/dist/Alert.d.ts.map +1 -1
- package/dist/Alert.js +23 -20
- package/dist/Button.d.ts +34 -78
- package/dist/Button.d.ts.map +1 -1
- package/dist/Button.js +16 -12
- package/dist/Carousel.d.ts +35 -236
- package/dist/Carousel.d.ts.map +1 -1
- package/dist/Carousel.js +13 -136
- package/dist/Checkbox.d.ts +55 -90
- package/dist/Checkbox.d.ts.map +1 -1
- package/dist/Checkbox.js +44 -38
- package/dist/Collection.d.ts +15 -15
- package/dist/Collection.js +7 -7
- package/dist/Combobox.d.ts +38 -187
- package/dist/Combobox.d.ts.map +1 -1
- package/dist/Combobox.js +9 -80
- package/dist/Component.d.ts +30 -24
- package/dist/Component.d.ts.map +1 -1
- package/dist/Component.js +23 -12
- package/dist/Composite.d.ts +50 -50
- package/dist/Composite.js +20 -20
- package/dist/Dialog.d.ts +34 -34
- package/dist/Dialog.d.ts.map +1 -1
- package/dist/Dialog.js +16 -14
- package/dist/Disclosure.d.ts +15 -15
- package/dist/Disclosure.js +6 -6
- package/dist/Dom/Events.d.ts +4 -4
- package/dist/Dom/Events.js +4 -4
- package/dist/Dom/Props.d.ts +9 -9
- package/dist/Dom/Props.js +4 -4
- package/dist/Dom/Refs.d.ts +2 -2
- package/dist/Dom/Refs.js +1 -1
- package/dist/Dom/Render.d.ts +2 -2
- package/dist/Dom/Render.js +2 -2
- package/dist/Dom/Types.d.ts +33 -33
- package/dist/Dom/index.d.ts +5 -5
- package/dist/Dom/index.d.ts.map +1 -1
- package/dist/Dom/index.js +4 -4
- package/dist/Dom.d.ts +1 -1
- package/dist/Dom.js +1 -1
- package/dist/Focusable.d.ts +5 -5
- package/dist/Focusable.js +1 -1
- package/dist/Form.d.ts +565 -533
- package/dist/Form.d.ts.map +1 -1
- package/dist/Form.js +350 -195
- package/dist/Grid.d.ts +39 -220
- package/dist/Grid.d.ts.map +1 -1
- package/dist/Grid.js +12 -107
- package/dist/Group.d.ts +50 -69
- package/dist/Group.d.ts.map +1 -1
- package/dist/Group.js +33 -25
- package/dist/Heading.d.ts +41 -40
- package/dist/Heading.d.ts.map +1 -1
- package/dist/Heading.js +26 -16
- package/dist/Hovercard.d.ts +18 -18
- package/dist/Hovercard.js +6 -6
- package/dist/HttpRouter.d.ts +3 -3
- package/dist/HttpRouter.js +5 -5
- package/dist/Link.d.ts +17 -21
- package/dist/Link.d.ts.map +1 -1
- package/dist/Link.js +11 -0
- package/dist/Listbox.d.ts +31 -163
- package/dist/Listbox.d.ts.map +1 -1
- package/dist/Listbox.js +9 -80
- package/dist/Menu.d.ts +67 -376
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Menu.js +17 -179
- package/dist/Menubar.d.ts +24 -142
- package/dist/Menubar.d.ts.map +1 -1
- package/dist/Menubar.js +8 -66
- package/dist/Meter.d.ts +72 -132
- package/dist/Meter.d.ts.map +1 -1
- package/dist/Meter.js +35 -42
- package/dist/NativeDetails.d.ts +1 -1
- package/dist/NativeDetails.js +1 -1
- package/dist/NativeDialog.d.ts +7 -5
- package/dist/NativeDialog.d.ts.map +1 -1
- package/dist/NativeDialog.js +42 -4
- package/dist/NativePopover.d.ts +6 -4
- package/dist/NativePopover.d.ts.map +1 -1
- package/dist/NativePopover.js +43 -5
- package/dist/Popover.d.ts +18 -19
- package/dist/Popover.d.ts.map +1 -1
- package/dist/Popover.js +7 -8
- package/dist/RadioGroup.d.ts +86 -188
- package/dist/RadioGroup.d.ts.map +1 -1
- package/dist/RadioGroup.js +55 -105
- package/dist/Role.d.ts +4 -4
- package/dist/Role.js +1 -1
- package/dist/Select.d.ts +109 -220
- package/dist/Select.d.ts.map +1 -1
- package/dist/Select.js +67 -117
- package/dist/Separator.d.ts +30 -26
- package/dist/Separator.d.ts.map +1 -1
- package/dist/Separator.js +16 -10
- package/dist/Slider.d.ts +64 -111
- package/dist/Slider.d.ts.map +1 -1
- package/dist/Slider.js +47 -42
- package/dist/SpinButton.d.ts +64 -111
- package/dist/SpinButton.d.ts.map +1 -1
- package/dist/SpinButton.js +47 -42
- package/dist/Storybook.d.ts +2 -2
- package/dist/Storybook.js +1 -1
- package/dist/Switch.d.ts +52 -91
- package/dist/Switch.d.ts.map +1 -1
- package/dist/Switch.js +30 -36
- package/dist/Tabs.d.ts +44 -224
- package/dist/Tabs.d.ts.map +1 -1
- package/dist/Tabs.js +10 -94
- package/dist/Toolbar.d.ts +24 -142
- package/dist/Toolbar.d.ts.map +1 -1
- package/dist/Toolbar.js +8 -66
- package/dist/Tooltip.d.ts +20 -20
- package/dist/Tooltip.js +6 -6
- package/dist/Tree.d.ts +43 -229
- package/dist/Tree.d.ts.map +1 -1
- package/dist/Tree.js +12 -113
- package/dist/TreeGrid.d.ts +45 -264
- package/dist/TreeGrid.d.ts.map +1 -1
- package/dist/TreeGrid.js +13 -125
- package/dist/VisuallyHidden.d.ts +41 -27
- package/dist/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden.js +27 -10
- package/dist/WindowSplitter.d.ts +68 -108
- package/dist/WindowSplitter.d.ts.map +1 -1
- package/dist/WindowSplitter.js +106 -23
- package/package.json +9 -8
package/dist/TreeGrid.d.ts
CHANGED
|
@@ -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 [TreeGrid guide](/explore/ui-tree-grid).
|
|
12
|
+
*
|
|
11
13
|
* @since 1.0.0
|
|
12
14
|
* @category modules
|
|
13
15
|
* @packageDocumentation
|
|
@@ -24,64 +26,24 @@ import * as Grid from "./Grid.js";
|
|
|
24
26
|
import type { HostResult } from "./Dom/Types.js";
|
|
25
27
|
import * as Tree from "./Tree.js";
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* ## Why
|
|
31
|
-
*
|
|
32
|
-
* Applications can inspect, update, and test TreeGrid behavior without mounting or coupling the
|
|
33
|
-
* state to a renderer.
|
|
34
|
-
*
|
|
35
|
-
* ## Ownership and lifetime
|
|
36
|
-
*
|
|
37
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
29
|
+
* Tree expansion state reused for a grid whose active ID names a cell.
|
|
30
|
+
* `expandedIds` names parent rows, while `activeId` names the active cell within a row.
|
|
38
31
|
*
|
|
39
|
-
* ## Example
|
|
40
|
-
*
|
|
41
|
-
* Import with `import type { State } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState
|
|
42
|
-
* runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Inside the linked program,
|
|
43
|
-
* `const snapshot: State = yield* state` exposes active and expanded ids using Tree state
|
|
44
|
-
* semantics.
|
|
45
32
|
* @since 1.0.0
|
|
46
|
-
* @category
|
|
33
|
+
* @category Hierarchy and cell focus
|
|
47
34
|
*/
|
|
48
35
|
export type State = Tree.State;
|
|
49
36
|
/**
|
|
50
37
|
* Initial TreeGrid values. Uses Tree state and defaults.
|
|
51
38
|
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* ## Why
|
|
54
|
-
*
|
|
55
|
-
* Making initialization explicit documents hydration-sensitive defaults and lets servers and
|
|
56
|
-
* clients construct matching state.
|
|
57
|
-
*
|
|
58
|
-
* ## Ownership and lifetime
|
|
59
|
-
*
|
|
60
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
61
|
-
*
|
|
62
|
-
* ## Example
|
|
63
|
-
*
|
|
64
|
-
* Import with `import type { InitialState } from "@typed/ui/TreeGrid";` Extend the
|
|
65
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Construct
|
|
66
|
-
* an expanded row with
|
|
67
|
-
* `const initial: InitialState = { activeId: "src-name", expandedIds: ["src"] }; const state = yield* TreeGrid.makeState(initial)`.
|
|
68
39
|
* @since 1.0.0
|
|
69
|
-
* @category
|
|
40
|
+
* @category Hierarchy and cell focus
|
|
70
41
|
*/
|
|
71
42
|
export type InitialState = Tree.InitialState;
|
|
72
43
|
/**
|
|
73
44
|
* Effect Schema used by makeState to encode, decode, and hydrate TreeGrid state.
|
|
74
45
|
*
|
|
75
46
|
* @remarks
|
|
76
|
-
* ## Why
|
|
77
|
-
*
|
|
78
|
-
* A public schema makes hydration and serialized state use the same runtime validation as direct
|
|
79
|
-
* construction.
|
|
80
|
-
*
|
|
81
|
-
* ## Ownership and lifetime
|
|
82
|
-
*
|
|
83
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
84
|
-
*
|
|
85
47
|
* @example
|
|
86
48
|
* ```ts
|
|
87
49
|
* import * as Schema from "effect/Schema";
|
|
@@ -90,7 +52,7 @@ export type InitialState = Tree.InitialState;
|
|
|
90
52
|
* const decodeState = Schema.decodeUnknownEffect(TreeGrid.StateSchema);
|
|
91
53
|
* ```
|
|
92
54
|
* @since 1.0.0
|
|
93
|
-
* @category
|
|
55
|
+
* @category Hierarchy and cell focus
|
|
94
56
|
*/
|
|
95
57
|
export declare const StateSchema: Schema.Struct<{
|
|
96
58
|
readonly activeId: Schema.NullOr<Schema.String>;
|
|
@@ -101,12 +63,6 @@ export declare const StateSchema: Schema.Struct<{
|
|
|
101
63
|
* Creates hydrated TreeGrid state. Uses Tree state and defaults.
|
|
102
64
|
*
|
|
103
65
|
* @remarks
|
|
104
|
-
* ## Why
|
|
105
|
-
*
|
|
106
|
-
* State and collection ownership can be composed and tested independently from any renderer.
|
|
107
|
-
*
|
|
108
|
-
* ## Ownership and lifetime
|
|
109
|
-
*
|
|
110
66
|
* The returned Effect creates the RefSubject when run. That state is renderer-independent;
|
|
111
67
|
* collection registrations belong to the separate Scope that runs register or ref, not to state
|
|
112
68
|
* creation.
|
|
@@ -125,7 +81,7 @@ export declare const StateSchema: Schema.Struct<{
|
|
|
125
81
|
* );
|
|
126
82
|
* ```
|
|
127
83
|
* @since 1.0.0
|
|
128
|
-
* @category
|
|
84
|
+
* @category Hierarchy and cell focus
|
|
129
85
|
*/
|
|
130
86
|
export declare const makeState: typeof Tree.makeState;
|
|
131
87
|
/**
|
|
@@ -133,13 +89,9 @@ export declare const makeState: typeof Tree.makeState;
|
|
|
133
89
|
* the TreeGrid entrypoint.
|
|
134
90
|
*
|
|
135
91
|
* @remarks
|
|
136
|
-
* ## Why
|
|
137
|
-
*
|
|
138
92
|
* Separating this deterministic policy from event wiring lets applications test it directly and
|
|
139
93
|
* reuse it in custom composites.
|
|
140
94
|
*
|
|
141
|
-
* ## Ownership and lifetime
|
|
142
|
-
*
|
|
143
95
|
* This is a synchronous calculation. It acquires no resources and does not mutate the input array,
|
|
144
96
|
* state, event, or DOM.
|
|
145
97
|
*
|
|
@@ -150,112 +102,63 @@ export declare const makeState: typeof Tree.makeState;
|
|
|
150
102
|
* const expanded = TreeGrid.isExpanded({ activeId: null, expandedIds: ["parent"], loop: true }, "parent");
|
|
151
103
|
* ```
|
|
152
104
|
* @since 1.0.0
|
|
153
|
-
* @category
|
|
105
|
+
* @category Row expansion
|
|
154
106
|
*/
|
|
155
107
|
export declare const isExpanded: typeof Tree.isExpanded;
|
|
156
108
|
/**
|
|
157
109
|
* Adds a row id once to expandedIds using the Tree state transition.
|
|
158
110
|
*
|
|
159
111
|
* @remarks
|
|
160
|
-
* ## Why
|
|
161
|
-
*
|
|
162
112
|
* The operation exposes TreeGrid's transition directly so callers can compose it in Effect
|
|
163
113
|
* programs and native event handlers.
|
|
164
114
|
*
|
|
165
|
-
* ## Ownership and lifetime
|
|
166
|
-
*
|
|
167
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
168
|
-
* error and service channels, and retains no resources after completion.
|
|
169
|
-
*
|
|
170
|
-
* ## Example
|
|
171
|
-
*
|
|
172
|
-
* Import with `import { expand } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState
|
|
173
|
-
* runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Inside the linked Effect
|
|
174
|
-
* program run `yield* expand(state, "parent")`, then read state to observe the id in expandedIds.
|
|
175
115
|
* @since 1.0.0
|
|
176
|
-
* @category
|
|
116
|
+
* @category Row expansion
|
|
177
117
|
*/
|
|
178
118
|
export declare const expand: typeof Tree.expand;
|
|
179
119
|
/**
|
|
180
120
|
* Removes a row id from expandedIds using the Tree state transition.
|
|
181
121
|
*
|
|
182
122
|
* @remarks
|
|
183
|
-
* ## Why
|
|
184
|
-
*
|
|
185
123
|
* The operation exposes TreeGrid's transition directly so callers can compose it in Effect
|
|
186
124
|
* programs and native event handlers.
|
|
187
125
|
*
|
|
188
|
-
* ## Ownership and lifetime
|
|
189
|
-
*
|
|
190
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
191
|
-
* error and service channels, and retains no resources after completion.
|
|
192
|
-
*
|
|
193
|
-
* ## Example
|
|
194
|
-
*
|
|
195
|
-
* Import with `import { collapse } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState
|
|
196
|
-
* runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Inside the linked Effect
|
|
197
|
-
* program run `yield* collapse(state, "parent")`, then read state to observe the id removed from
|
|
198
|
-
* expandedIds.
|
|
199
126
|
* @since 1.0.0
|
|
200
|
-
* @category
|
|
127
|
+
* @category Row expansion
|
|
201
128
|
*/
|
|
202
129
|
export declare const collapse: typeof Tree.collapse;
|
|
203
130
|
/**
|
|
204
131
|
* Sets the active TreeGrid row or cell id without changing expansion.
|
|
205
132
|
*
|
|
206
133
|
* @remarks
|
|
207
|
-
* ## Why
|
|
208
|
-
*
|
|
209
134
|
* The operation exposes TreeGrid's transition directly so callers can compose it in Effect
|
|
210
135
|
* programs and native event handlers.
|
|
211
136
|
*
|
|
212
|
-
* ## Ownership and lifetime
|
|
213
|
-
*
|
|
214
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
215
|
-
* error and service channels, and retains no resources after completion.
|
|
216
|
-
*
|
|
217
|
-
* ## Example
|
|
218
|
-
*
|
|
219
|
-
* Import with `import { activate } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState
|
|
220
|
-
* runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Inside the linked Effect
|
|
221
|
-
* program run `yield* activate(state, "cell-1")`, then read state to observe activeId.
|
|
222
137
|
* @since 1.0.0
|
|
223
|
-
* @category
|
|
138
|
+
* @category Hierarchy and cell focus
|
|
224
139
|
*/
|
|
225
140
|
export declare const activate: typeof Tree.activate;
|
|
226
141
|
/**
|
|
227
142
|
* Logical coordinates stored with each registered TreeGrid cell.
|
|
228
143
|
*
|
|
229
144
|
* @remarks
|
|
230
|
-
* ## Why
|
|
231
|
-
*
|
|
232
145
|
* The public model lets custom composites reuse TreeGrid's deterministic policy without copying an
|
|
233
146
|
* internal shape.
|
|
234
147
|
*
|
|
235
|
-
* ## Ownership and lifetime
|
|
236
|
-
*
|
|
237
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
238
|
-
*
|
|
239
|
-
* ## Example
|
|
240
|
-
*
|
|
241
|
-
* Import with `import type { CellPosition } from "@typed/ui/TreeGrid";` Extend the
|
|
242
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). A
|
|
243
|
-
* hierarchical cell position combines grid and tree identity:
|
|
244
|
-
* `const position: CellPosition = { rowId: "src", columnIndex: 1, parentId: "root", hasChildren: true }`.
|
|
245
148
|
* @since 1.0.0
|
|
246
|
-
* @category
|
|
149
|
+
* @category Cell registration
|
|
247
150
|
*/
|
|
248
151
|
export interface CellPosition extends Grid.CellPosition {
|
|
249
152
|
/**
|
|
250
153
|
* Id whose expansion controls this descendant group.
|
|
251
154
|
* @since 1.0.0
|
|
252
|
-
* @category
|
|
155
|
+
* @category Hierarchy
|
|
253
156
|
*/
|
|
254
157
|
readonly parentId?: string;
|
|
255
158
|
/**
|
|
256
159
|
* Whether aria-expanded is emitted and hierarchical keys may open descendants.
|
|
257
160
|
* @since 1.0.0
|
|
258
|
-
* @category
|
|
161
|
+
* @category Hierarchy
|
|
259
162
|
*/
|
|
260
163
|
readonly hasChildren: boolean;
|
|
261
164
|
}
|
|
@@ -263,12 +166,6 @@ export interface CellPosition extends Grid.CellPosition {
|
|
|
263
166
|
* Creates a scoped Collection for TreeGrid items.
|
|
264
167
|
*
|
|
265
168
|
* @remarks
|
|
266
|
-
* ## Why
|
|
267
|
-
*
|
|
268
|
-
* State and collection ownership can be composed and tested independently from any renderer.
|
|
269
|
-
*
|
|
270
|
-
* ## Ownership and lifetime
|
|
271
|
-
*
|
|
272
169
|
* The returned Effect allocates the RefSubject in the caller's Scope. Each later registration is
|
|
273
170
|
* owned by the Scope that runs register, independently of this construction Effect.
|
|
274
171
|
*
|
|
@@ -285,54 +182,38 @@ export interface CellPosition extends Grid.CellPosition {
|
|
|
285
182
|
* );
|
|
286
183
|
* ```
|
|
287
184
|
* @since 1.0.0
|
|
288
|
-
* @category
|
|
185
|
+
* @category Cell registration
|
|
289
186
|
*/
|
|
290
187
|
export declare const makeCollection: (initial?: Collection.State<CellPosition, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<CellPosition, Element>, never, never>, never, Scope.Scope>;
|
|
291
188
|
/**
|
|
292
189
|
* Inputs accepted by TreeGrid.Root in addition to the shared DOM host options.
|
|
293
190
|
*
|
|
294
|
-
* @remarks
|
|
295
|
-
* ## Why
|
|
296
|
-
*
|
|
297
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
298
|
-
* visible before rendering.
|
|
299
|
-
*
|
|
300
|
-
* ## Ownership and lifetime
|
|
301
|
-
*
|
|
302
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
303
|
-
*
|
|
304
|
-
* ## Example
|
|
305
|
-
*
|
|
306
|
-
* Import with `import type { RootOptions } from "@typed/ui/TreeGrid";` Extend the
|
|
307
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Enable
|
|
308
|
-
* tree-grid navigation with
|
|
309
|
-
* `const options: RootOptions = { state, collection, label: "Files", content: "Rows" }`.
|
|
310
191
|
* @since 1.0.0
|
|
311
|
-
* @category
|
|
192
|
+
* @category Treegrid surface
|
|
312
193
|
*/
|
|
313
194
|
export interface RootOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
314
195
|
/**
|
|
315
196
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
316
197
|
* @since 1.0.0
|
|
317
|
-
* @category
|
|
198
|
+
* @category State connection
|
|
318
199
|
*/
|
|
319
200
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
320
201
|
/**
|
|
321
202
|
* Item registry used for collection-driven keyboard behavior and mounted ordering.
|
|
322
203
|
* @since 1.0.0
|
|
323
|
-
* @category
|
|
204
|
+
* @category Item registration
|
|
324
205
|
*/
|
|
325
206
|
readonly collection?: RefSubject.RefSubject<Collection.State<CellPosition>>;
|
|
326
207
|
/**
|
|
327
208
|
* Accessible label rendered through aria-label.
|
|
328
209
|
* @since 1.0.0
|
|
329
|
-
* @category
|
|
210
|
+
* @category Accessible naming
|
|
330
211
|
*/
|
|
331
212
|
readonly label: Renderable.Any<string | null | undefined>;
|
|
332
213
|
/**
|
|
333
214
|
* Renderable child content for the component host.
|
|
334
215
|
* @since 1.0.0
|
|
335
|
-
* @category
|
|
216
|
+
* @category Rendered content
|
|
336
217
|
*/
|
|
337
218
|
readonly content: Renderable.Any;
|
|
338
219
|
}
|
|
@@ -350,84 +231,55 @@ type RootInternalProps<Options extends RootOptions> = ReturnType<ReturnType<type
|
|
|
350
231
|
* Renders the focus-owning treegrid root and applies combined grid and expansion keys.
|
|
351
232
|
*
|
|
352
233
|
* @remarks
|
|
353
|
-
* ## Why
|
|
354
|
-
*
|
|
355
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
356
|
-
* through the shared DOM boundary.
|
|
357
|
-
*
|
|
358
|
-
* ## Ownership and lifetime
|
|
359
|
-
*
|
|
360
234
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
361
235
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
362
236
|
* unrelated nodes and attributes remain caller-owned.
|
|
363
237
|
*
|
|
364
|
-
* ## Example
|
|
365
|
-
*
|
|
366
|
-
* Import with `import { Root } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState runnable
|
|
367
|
-
* setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Replace the linked program's final
|
|
368
|
-
* snapshot read with `Root({ state, label: "Files", content: "Rows" })`; render that Fx before the
|
|
369
|
-
* same Scope closes.
|
|
370
238
|
* @since 1.0.0
|
|
371
|
-
* @category
|
|
239
|
+
* @category Treegrid surface
|
|
372
240
|
*/
|
|
373
241
|
export declare function Root<const Options extends RootOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, RootInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
|
|
374
242
|
/**
|
|
375
243
|
* Inputs accepted by TreeGrid.Row in addition to the shared DOM host options.
|
|
376
244
|
*
|
|
377
|
-
* @remarks
|
|
378
|
-
* ## Why
|
|
379
|
-
*
|
|
380
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
381
|
-
* visible before rendering.
|
|
382
|
-
*
|
|
383
|
-
* ## Ownership and lifetime
|
|
384
|
-
*
|
|
385
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
386
|
-
*
|
|
387
|
-
* ## Example
|
|
388
|
-
*
|
|
389
|
-
* Import with `import type { RowOptions } from "@typed/ui/TreeGrid";` Extend the
|
|
390
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). A
|
|
391
|
-
* hierarchical row is
|
|
392
|
-
* `const options: RowOptions = { state, rowId: "src", level: 1, hasChildren: true, content: "Cells" }`.
|
|
393
245
|
* @since 1.0.0
|
|
394
|
-
* @category
|
|
246
|
+
* @category Hierarchical rows
|
|
395
247
|
*/
|
|
396
248
|
export interface RowOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
397
249
|
/**
|
|
398
250
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
399
251
|
* @since 1.0.0
|
|
400
|
-
* @category
|
|
252
|
+
* @category State connection
|
|
401
253
|
*/
|
|
402
254
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
403
255
|
/**
|
|
404
256
|
* Stable logical row identity used by vertical grid movement.
|
|
405
257
|
* @since 1.0.0
|
|
406
|
-
* @category
|
|
258
|
+
* @category Row identity
|
|
407
259
|
*/
|
|
408
260
|
readonly rowId: string;
|
|
409
261
|
/**
|
|
410
262
|
* Id whose expansion controls this descendant group.
|
|
411
263
|
* @since 1.0.0
|
|
412
|
-
* @category
|
|
264
|
+
* @category Hierarchy
|
|
413
265
|
*/
|
|
414
266
|
readonly parentId?: string;
|
|
415
267
|
/**
|
|
416
268
|
* One-based hierarchy level exposed through aria-level.
|
|
417
269
|
* @since 1.0.0
|
|
418
|
-
* @category
|
|
270
|
+
* @category Hierarchy
|
|
419
271
|
*/
|
|
420
272
|
readonly level?: number;
|
|
421
273
|
/**
|
|
422
274
|
* Whether aria-expanded is emitted and hierarchical keys may open descendants.
|
|
423
275
|
* @since 1.0.0
|
|
424
|
-
* @category
|
|
276
|
+
* @category Hierarchy
|
|
425
277
|
*/
|
|
426
278
|
readonly hasChildren?: boolean;
|
|
427
279
|
/**
|
|
428
280
|
* Renderable child content for the component host.
|
|
429
281
|
* @since 1.0.0
|
|
430
|
-
* @category
|
|
282
|
+
* @category Rendered content
|
|
431
283
|
*/
|
|
432
284
|
readonly content: Renderable.Any;
|
|
433
285
|
}
|
|
@@ -442,97 +294,68 @@ type RowInternalProps<Options extends RowOptions> = ReturnType<ReturnType<typeof
|
|
|
442
294
|
* Renders a hierarchical row with level and optional expanded state.
|
|
443
295
|
*
|
|
444
296
|
* @remarks
|
|
445
|
-
* ## Why
|
|
446
|
-
*
|
|
447
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
448
|
-
* through the shared DOM boundary.
|
|
449
|
-
*
|
|
450
|
-
* ## Ownership and lifetime
|
|
451
|
-
*
|
|
452
297
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
453
298
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
454
299
|
* unrelated nodes and attributes remain caller-owned.
|
|
455
300
|
*
|
|
456
|
-
* ## Example
|
|
457
|
-
*
|
|
458
|
-
* Import with `import { Row } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState runnable
|
|
459
|
-
* setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Replace the linked program's final
|
|
460
|
-
* snapshot read with `Row({ state, rowId: "src", content: "Cells" })`; render that Fx before the
|
|
461
|
-
* same Scope closes.
|
|
462
301
|
* @since 1.0.0
|
|
463
|
-
* @category
|
|
302
|
+
* @category Hierarchical rows
|
|
464
303
|
*/
|
|
465
304
|
export declare function Row<const Options extends RowOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, RowInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
|
|
466
305
|
/**
|
|
467
306
|
* Inputs accepted by TreeGrid.Cell in addition to the shared DOM host options.
|
|
468
307
|
*
|
|
469
|
-
* @remarks
|
|
470
|
-
* ## Why
|
|
471
|
-
*
|
|
472
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
473
|
-
* visible before rendering.
|
|
474
|
-
*
|
|
475
|
-
* ## Ownership and lifetime
|
|
476
|
-
*
|
|
477
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
478
|
-
*
|
|
479
|
-
* ## Example
|
|
480
|
-
*
|
|
481
|
-
* Import with `import type { CellOptions } from "@typed/ui/TreeGrid";` Extend the
|
|
482
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). A navigable
|
|
483
|
-
* cell is
|
|
484
|
-
* `const options: CellOptions = { state, collection, id: "src-name", rowId: "src", columnIndex: 1, content: "src" }`.
|
|
485
308
|
* @since 1.0.0
|
|
486
|
-
* @category
|
|
309
|
+
* @category Navigable cells
|
|
487
310
|
*/
|
|
488
311
|
export interface CellOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
489
312
|
/**
|
|
490
313
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
491
314
|
* @since 1.0.0
|
|
492
|
-
* @category
|
|
315
|
+
* @category State connection
|
|
493
316
|
*/
|
|
494
317
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
495
318
|
/**
|
|
496
319
|
* Item registry used for collection-driven keyboard behavior and mounted ordering.
|
|
497
320
|
* @since 1.0.0
|
|
498
|
-
* @category
|
|
321
|
+
* @category Item registration
|
|
499
322
|
*/
|
|
500
323
|
readonly collection?: RefSubject.RefSubject<Collection.State<CellPosition>>;
|
|
501
324
|
/**
|
|
502
325
|
* Stable id used for collection identity and ARIA relationships.
|
|
503
326
|
* @since 1.0.0
|
|
504
|
-
* @category
|
|
327
|
+
* @category Identity and relationships
|
|
505
328
|
*/
|
|
506
329
|
readonly id: string;
|
|
507
330
|
/**
|
|
508
331
|
* Stable logical row identity used by vertical grid movement.
|
|
509
332
|
* @since 1.0.0
|
|
510
|
-
* @category
|
|
333
|
+
* @category Row identity
|
|
511
334
|
*/
|
|
512
335
|
readonly rowId: string;
|
|
513
336
|
/**
|
|
514
337
|
* Caller-supplied column index used for movement and emitted unchanged as aria-colindex; ARIA
|
|
515
338
|
* indexes are one-based.
|
|
516
339
|
* @since 1.0.0
|
|
517
|
-
* @category
|
|
340
|
+
* @category Cell position
|
|
518
341
|
*/
|
|
519
342
|
readonly columnIndex: number;
|
|
520
343
|
/**
|
|
521
344
|
* Id whose expansion controls this descendant group.
|
|
522
345
|
* @since 1.0.0
|
|
523
|
-
* @category
|
|
346
|
+
* @category Hierarchy
|
|
524
347
|
*/
|
|
525
348
|
readonly parentId?: string;
|
|
526
349
|
/**
|
|
527
350
|
* Whether aria-expanded is emitted and hierarchical keys may open descendants.
|
|
528
351
|
* @since 1.0.0
|
|
529
|
-
* @category
|
|
352
|
+
* @category Hierarchy
|
|
530
353
|
*/
|
|
531
354
|
readonly hasChildren?: boolean;
|
|
532
355
|
/**
|
|
533
356
|
* Renderable child content for the component host.
|
|
534
357
|
* @since 1.0.0
|
|
535
|
-
* @category
|
|
358
|
+
* @category Rendered content
|
|
536
359
|
*/
|
|
537
360
|
readonly content: Renderable.Any;
|
|
538
361
|
}
|
|
@@ -548,66 +371,37 @@ type CellInternalProps<Options extends CellOptions> = ReturnType<ReturnType<type
|
|
|
548
371
|
* Renders and optionally registers one gridcell with row and column coordinates.
|
|
549
372
|
*
|
|
550
373
|
* @remarks
|
|
551
|
-
* ## Why
|
|
552
|
-
*
|
|
553
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
554
|
-
* through the shared DOM boundary.
|
|
555
|
-
*
|
|
556
|
-
* ## Ownership and lifetime
|
|
557
|
-
*
|
|
558
374
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
559
375
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
560
376
|
* unrelated nodes and attributes remain caller-owned.
|
|
561
377
|
*
|
|
562
|
-
* ## Example
|
|
563
|
-
*
|
|
564
|
-
* Import with `import { Cell } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState runnable
|
|
565
|
-
* setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Replace the linked program's final
|
|
566
|
-
* snapshot read with `Cell({ state, id: "src-name", rowId: "src", columnIndex: 1, content: "src"
|
|
567
|
-
* })`; render that Fx before the same Scope closes.
|
|
568
378
|
* @since 1.0.0
|
|
569
|
-
* @category
|
|
379
|
+
* @category Navigable cells
|
|
570
380
|
*/
|
|
571
381
|
export declare function Cell<const Options extends CellOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, CellInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
|
|
572
382
|
/**
|
|
573
383
|
* Inputs accepted by TreeGrid.Group in addition to the shared DOM host options.
|
|
574
384
|
*
|
|
575
|
-
* @remarks
|
|
576
|
-
* ## Why
|
|
577
|
-
*
|
|
578
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
579
|
-
* visible before rendering.
|
|
580
|
-
*
|
|
581
|
-
* ## Ownership and lifetime
|
|
582
|
-
*
|
|
583
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
584
|
-
*
|
|
585
|
-
* ## Example
|
|
586
|
-
*
|
|
587
|
-
* Import with `import type { GroupOptions } from "@typed/ui/TreeGrid";` Extend the
|
|
588
|
-
* [TreeGrid.makeState runnable setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Relate
|
|
589
|
-
* descendant rows to their branch with
|
|
590
|
-
* `const options: GroupOptions = { state, parentId: "src", content: "Rows" }`.
|
|
591
385
|
* @since 1.0.0
|
|
592
|
-
* @category
|
|
386
|
+
* @category Child row visibility
|
|
593
387
|
*/
|
|
594
388
|
export interface GroupOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
595
389
|
/**
|
|
596
390
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
597
391
|
* @since 1.0.0
|
|
598
|
-
* @category
|
|
392
|
+
* @category State connection
|
|
599
393
|
*/
|
|
600
394
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
601
395
|
/**
|
|
602
396
|
* Id whose expansion controls this descendant group.
|
|
603
397
|
* @since 1.0.0
|
|
604
|
-
* @category
|
|
398
|
+
* @category Hierarchy
|
|
605
399
|
*/
|
|
606
400
|
readonly parentId: string;
|
|
607
401
|
/**
|
|
608
402
|
* Renderable child content for the component host.
|
|
609
403
|
* @since 1.0.0
|
|
610
|
-
* @category
|
|
404
|
+
* @category Rendered content
|
|
611
405
|
*/
|
|
612
406
|
readonly content: Renderable.Any;
|
|
613
407
|
}
|
|
@@ -620,25 +414,12 @@ type GroupInternalProps<Options extends GroupOptions> = ReturnType<ReturnType<ty
|
|
|
620
414
|
* Renders a rowgroup and hides it while its parent row is collapsed.
|
|
621
415
|
*
|
|
622
416
|
* @remarks
|
|
623
|
-
* ## Why
|
|
624
|
-
*
|
|
625
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
626
|
-
* through the shared DOM boundary.
|
|
627
|
-
*
|
|
628
|
-
* ## Ownership and lifetime
|
|
629
|
-
*
|
|
630
417
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
631
418
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
632
419
|
* unrelated nodes and attributes remain caller-owned.
|
|
633
420
|
*
|
|
634
|
-
* ## Example
|
|
635
|
-
*
|
|
636
|
-
* Import with `import { Group } from "@typed/ui/TreeGrid";` Extend the [TreeGrid.makeState runnable
|
|
637
|
-
* setup](/reference/%40typed%2Fui%2FTreeGrid%23makeState). Replace the linked program's final
|
|
638
|
-
* snapshot read with `Group({ state, parentId: "src", content: "Rows" })`; render that Fx before
|
|
639
|
-
* the same Scope closes.
|
|
640
421
|
* @since 1.0.0
|
|
641
|
-
* @category
|
|
422
|
+
* @category Child row visibility
|
|
642
423
|
*/
|
|
643
424
|
export declare function Group<const Options extends GroupOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, GroupInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
|
|
644
425
|
export {};
|
package/dist/TreeGrid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeGrid.d.ts","sourceRoot":"","sources":["../src/TreeGrid.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TreeGrid.d.ts","sourceRoot":"","sources":["../src/TreeGrid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;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,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC;;;;;;GAMG;AACH,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;AAC/B;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;AAC7C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;;;;EAAmB,CAAC;AAC5C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,SAAS,uBAAiB,CAAC;AACxC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU,wBAAkB,CAAC;AAC1C;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM,oBAAc,CAAC;AAClC;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,sBA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