@typed/ui 1.0.0-beta.6 → 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/Carousel.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 [Carousel guide](/explore/ui-carousel).
|
|
12
|
+
*
|
|
11
13
|
* @since 1.0.0
|
|
12
14
|
* @category modules
|
|
13
15
|
* @packageDocumentation
|
|
@@ -22,74 +24,43 @@ import * as Collection from "./Collection.js";
|
|
|
22
24
|
import * as Dom from "./Dom.js";
|
|
23
25
|
import type { HostResult } from "./Dom/Types.js";
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* ## Why
|
|
29
|
-
*
|
|
30
|
-
* Applications can inspect, update, and test Carousel behavior without mounting or coupling the
|
|
31
|
-
* state to a renderer.
|
|
32
|
-
*
|
|
33
|
-
* ## Ownership and lifetime
|
|
27
|
+
* The visible slide identity and explicit paused flag.
|
|
28
|
+
* Changing `paused` does not start a timer; an application scheduler must honor the flag.
|
|
34
29
|
*
|
|
35
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
36
|
-
*
|
|
37
|
-
* ## Example
|
|
38
|
-
*
|
|
39
|
-
* Import with `import type { State } from "@typed/ui/Carousel";` Extend the [Carousel.makeState
|
|
40
|
-
* runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Inside the linked program,
|
|
41
|
-
* `const snapshot: State = yield* state` exposes `activeId` and `paused` as a renderer-independent
|
|
42
|
-
* value.
|
|
43
30
|
* @since 1.0.0
|
|
44
|
-
* @category
|
|
31
|
+
* @category Slide and rotation state
|
|
45
32
|
*/
|
|
46
33
|
export interface State {
|
|
47
34
|
/**
|
|
48
35
|
* Id currently active for keyboard navigation; null means no active item.
|
|
49
36
|
* @since 1.0.0
|
|
50
|
-
* @category
|
|
37
|
+
* @category Keyboard focus
|
|
51
38
|
*/
|
|
52
39
|
readonly activeId: string;
|
|
53
40
|
/**
|
|
54
41
|
* Whether automatic carousel rotation is suspended.
|
|
55
42
|
* @since 1.0.0
|
|
56
|
-
* @category
|
|
43
|
+
* @category Rotation policy
|
|
57
44
|
*/
|
|
58
45
|
readonly paused: boolean;
|
|
59
46
|
}
|
|
60
47
|
/**
|
|
61
48
|
* Initial Carousel values. activeId is required and paused defaults to true.
|
|
62
49
|
*
|
|
63
|
-
* @remarks
|
|
64
|
-
* ## Why
|
|
65
|
-
*
|
|
66
|
-
* Making initialization explicit documents hydration-sensitive defaults and lets servers and
|
|
67
|
-
* clients construct matching state.
|
|
68
|
-
*
|
|
69
|
-
* ## Ownership and lifetime
|
|
70
|
-
*
|
|
71
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
72
|
-
*
|
|
73
|
-
* ## Example
|
|
74
|
-
*
|
|
75
|
-
* Import with `import type { InitialState } from "@typed/ui/Carousel";` Extend the
|
|
76
|
-
* [Carousel.makeState runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Construct
|
|
77
|
-
* state with
|
|
78
|
-
* `const initial: InitialState = { activeId: "slide-1", paused: true }; const state = yield* Carousel.makeState(initial)`.
|
|
79
50
|
* @since 1.0.0
|
|
80
|
-
* @category
|
|
51
|
+
* @category Slide and rotation state
|
|
81
52
|
*/
|
|
82
53
|
export interface InitialState {
|
|
83
54
|
/**
|
|
84
55
|
* Id currently active for keyboard navigation; null means no active item.
|
|
85
56
|
* @since 1.0.0
|
|
86
|
-
* @category
|
|
57
|
+
* @category Keyboard focus
|
|
87
58
|
*/
|
|
88
59
|
readonly activeId: string;
|
|
89
60
|
/**
|
|
90
61
|
* Whether automatic carousel rotation is suspended.
|
|
91
62
|
* @since 1.0.0
|
|
92
|
-
* @category
|
|
63
|
+
* @category Rotation policy
|
|
93
64
|
*/
|
|
94
65
|
readonly paused?: boolean;
|
|
95
66
|
}
|
|
@@ -97,15 +68,6 @@ export interface InitialState {
|
|
|
97
68
|
* Effect Schema used by makeState to encode, decode, and hydrate Carousel state.
|
|
98
69
|
*
|
|
99
70
|
* @remarks
|
|
100
|
-
* ## Why
|
|
101
|
-
*
|
|
102
|
-
* A public schema makes hydration and serialized state use the same runtime validation as direct
|
|
103
|
-
* construction.
|
|
104
|
-
*
|
|
105
|
-
* ## Ownership and lifetime
|
|
106
|
-
*
|
|
107
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
108
|
-
*
|
|
109
71
|
* @example
|
|
110
72
|
* ```ts
|
|
111
73
|
* import * as Schema from "effect/Schema";
|
|
@@ -114,7 +76,7 @@ export interface InitialState {
|
|
|
114
76
|
* const decodeState = Schema.decodeUnknownEffect(Carousel.StateSchema);
|
|
115
77
|
* ```
|
|
116
78
|
* @since 1.0.0
|
|
117
|
-
* @category
|
|
79
|
+
* @category Slide and rotation state
|
|
118
80
|
*/
|
|
119
81
|
export declare const StateSchema: Schema.Struct<{
|
|
120
82
|
readonly activeId: Schema.String;
|
|
@@ -124,12 +86,6 @@ export declare const StateSchema: Schema.Struct<{
|
|
|
124
86
|
* Creates hydrated Carousel state. activeId is required and paused defaults to true.
|
|
125
87
|
*
|
|
126
88
|
* @remarks
|
|
127
|
-
* ## Why
|
|
128
|
-
*
|
|
129
|
-
* State and collection ownership can be composed and tested independently from any renderer.
|
|
130
|
-
*
|
|
131
|
-
* ## Ownership and lifetime
|
|
132
|
-
*
|
|
133
89
|
* The returned Effect creates the RefSubject when run. That state is renderer-independent;
|
|
134
90
|
* collection registrations belong to the separate Scope that runs register or ref, not to state
|
|
135
91
|
* creation.
|
|
@@ -148,7 +104,7 @@ export declare const StateSchema: Schema.Struct<{
|
|
|
148
104
|
* );
|
|
149
105
|
* ```
|
|
150
106
|
* @since 1.0.0
|
|
151
|
-
* @category
|
|
107
|
+
* @category Slide and rotation state
|
|
152
108
|
*/
|
|
153
109
|
export declare function makeState(initial: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
|
|
154
110
|
readonly activeId: string;
|
|
@@ -158,12 +114,6 @@ export declare function makeState(initial: InitialState): Effect.Effect<RefSubje
|
|
|
158
114
|
* Creates a scoped Collection for Carousel items.
|
|
159
115
|
*
|
|
160
116
|
* @remarks
|
|
161
|
-
* ## Why
|
|
162
|
-
*
|
|
163
|
-
* State and collection ownership can be composed and tested independently from any renderer.
|
|
164
|
-
*
|
|
165
|
-
* ## Ownership and lifetime
|
|
166
|
-
*
|
|
167
117
|
* The returned Effect allocates the RefSubject in the caller's Scope. Each later registration is
|
|
168
118
|
* owned by the Scope that runs register, independently of this construction Effect.
|
|
169
119
|
*
|
|
@@ -180,31 +130,18 @@ export declare function makeState(initial: InitialState): Effect.Effect<RefSubje
|
|
|
180
130
|
* );
|
|
181
131
|
* ```
|
|
182
132
|
* @since 1.0.0
|
|
183
|
-
* @category
|
|
133
|
+
* @category Slide registration
|
|
184
134
|
*/
|
|
185
135
|
export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;
|
|
186
136
|
/**
|
|
187
137
|
* Sets activeId without changing paused state.
|
|
188
138
|
*
|
|
189
139
|
* @remarks
|
|
190
|
-
* ## Why
|
|
191
|
-
*
|
|
192
140
|
* The operation exposes Carousel's transition directly so callers can compose it in Effect
|
|
193
141
|
* programs and native event handlers.
|
|
194
142
|
*
|
|
195
|
-
* ## Ownership and lifetime
|
|
196
|
-
*
|
|
197
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
198
|
-
* error and service channels, and retains no resources after completion.
|
|
199
|
-
*
|
|
200
|
-
* ## Example
|
|
201
|
-
*
|
|
202
|
-
* Import with `import { select } from "@typed/ui/Carousel";` Extend the [Carousel.makeState
|
|
203
|
-
* runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Inside the linked Effect
|
|
204
|
-
* program invoke `yield* select(state, "slide-2")`, then read state to observe `activeId` become
|
|
205
|
-
* `"slide-2"` without changing `paused`.
|
|
206
143
|
* @since 1.0.0
|
|
207
|
-
* @category
|
|
144
|
+
* @category Slide navigation
|
|
208
145
|
*/
|
|
209
146
|
export declare function select<E, R>(state: RefSubject.RefSubject<State, E, R>, activeId: string): Effect.Effect<State, E, R>;
|
|
210
147
|
/**
|
|
@@ -212,88 +149,47 @@ export declare function select<E, R>(state: RefSubject.RefSubject<State, E, R>,
|
|
|
212
149
|
* for an empty collection.
|
|
213
150
|
*
|
|
214
151
|
* @remarks
|
|
215
|
-
* ## Why
|
|
216
|
-
*
|
|
217
152
|
* The operation exposes Carousel's transition directly so callers can compose it in Effect
|
|
218
153
|
* programs and native event handlers.
|
|
219
154
|
*
|
|
220
|
-
* ## Ownership and lifetime
|
|
221
|
-
*
|
|
222
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
223
|
-
* error and service channels, and retains no resources after completion.
|
|
224
|
-
*
|
|
225
|
-
* ## Example
|
|
226
|
-
*
|
|
227
|
-
* Import with `import { move } from "@typed/ui/Carousel";` Extend the [Carousel.makeState runnable
|
|
228
|
-
* setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Inside the linked Effect program invoke
|
|
229
|
-
* `yield* move(state, collection, "next")`, then read the state snapshot to observe the transition
|
|
230
|
-
* described above.
|
|
231
155
|
* @since 1.0.0
|
|
232
|
-
* @category
|
|
156
|
+
* @category Slide navigation
|
|
233
157
|
*/
|
|
234
158
|
export declare function move<E, R, E2, R2>(state: RefSubject.RefSubject<State, E, R>, collection: RefSubject.RefSubject<Collection.State<string>, E2, R2>, direction: "next" | "previous"): Effect.Effect<State, E | E2, R | R2>;
|
|
235
159
|
/**
|
|
236
160
|
* Flips paused and preserves activeId.
|
|
237
161
|
*
|
|
238
162
|
* @remarks
|
|
239
|
-
* ## Why
|
|
240
|
-
*
|
|
241
163
|
* The operation exposes Carousel's transition directly so callers can compose it in Effect
|
|
242
164
|
* programs and native event handlers.
|
|
243
165
|
*
|
|
244
|
-
* ## Ownership and lifetime
|
|
245
|
-
*
|
|
246
|
-
* The returned Effect performs the update or DOM side effect only when run, preserves the declared
|
|
247
|
-
* error and service channels, and retains no resources after completion.
|
|
248
|
-
*
|
|
249
|
-
* ## Example
|
|
250
|
-
*
|
|
251
|
-
* Import with `import { toggleRotation } from "@typed/ui/Carousel";` Extend the [Carousel.makeState
|
|
252
|
-
* runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Inside the linked Effect
|
|
253
|
-
* program invoke `yield* toggleRotation(state)`, then read state to observe `paused` invert without
|
|
254
|
-
* changing `activeId`.
|
|
255
166
|
* @since 1.0.0
|
|
256
|
-
* @category
|
|
167
|
+
* @category Rotation policy
|
|
257
168
|
*/
|
|
258
169
|
export declare function toggleRotation<E, R>(state: RefSubject.RefSubject<State, E, R>): Effect.Effect<State, E, R>;
|
|
259
170
|
/**
|
|
260
171
|
* Inputs accepted by Carousel.Root in addition to the shared DOM host options.
|
|
261
172
|
*
|
|
262
|
-
* @remarks
|
|
263
|
-
* ## Why
|
|
264
|
-
*
|
|
265
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
266
|
-
* visible before rendering.
|
|
267
|
-
*
|
|
268
|
-
* ## Ownership and lifetime
|
|
269
|
-
*
|
|
270
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
271
|
-
*
|
|
272
|
-
* ## Example
|
|
273
|
-
*
|
|
274
|
-
* Import with `import type { RootOptions } from "@typed/ui/Carousel";` Extend the
|
|
275
|
-
* [Carousel.makeState runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). The root
|
|
276
|
-
* input is concrete: `const options: RootOptions = { state, label: "Featured", content: "Slides" }`.
|
|
277
173
|
* @since 1.0.0
|
|
278
|
-
* @category
|
|
174
|
+
* @category Carousel region
|
|
279
175
|
*/
|
|
280
176
|
export interface RootOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
281
177
|
/**
|
|
282
178
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
283
179
|
* @since 1.0.0
|
|
284
|
-
* @category
|
|
180
|
+
* @category State connection
|
|
285
181
|
*/
|
|
286
182
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
287
183
|
/**
|
|
288
184
|
* Renderable child content for the component host.
|
|
289
185
|
* @since 1.0.0
|
|
290
|
-
* @category
|
|
186
|
+
* @category Rendered content
|
|
291
187
|
*/
|
|
292
188
|
readonly content: Renderable.Any;
|
|
293
189
|
/**
|
|
294
190
|
* Accessible label rendered through aria-label.
|
|
295
191
|
* @since 1.0.0
|
|
296
|
-
* @category
|
|
192
|
+
* @category Accessible naming
|
|
297
193
|
*/
|
|
298
194
|
readonly label: Renderable.Any<string | null | undefined>;
|
|
299
195
|
}
|
|
@@ -312,78 +208,49 @@ type RootInternalProps<Options extends RootOptions> = ReturnType<ReturnType<type
|
|
|
312
208
|
* replacing its child nodes.
|
|
313
209
|
*
|
|
314
210
|
* @remarks
|
|
315
|
-
* ## Why
|
|
316
|
-
*
|
|
317
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
318
|
-
* through the shared DOM boundary.
|
|
319
|
-
*
|
|
320
|
-
* ## Ownership and lifetime
|
|
321
|
-
*
|
|
322
211
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
323
212
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
324
213
|
* unrelated nodes and attributes remain caller-owned.
|
|
325
214
|
*
|
|
326
|
-
* ## Example
|
|
327
|
-
*
|
|
328
|
-
* Import with `import { Root } from "@typed/ui/Carousel";` Extend the [Carousel.makeState runnable
|
|
329
|
-
* setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Replace the linked program's final
|
|
330
|
-
* snapshot read with `Root({ state, content: "Slides", label: "Featured" })`; render that Fx before
|
|
331
|
-
* the same Scope closes.
|
|
332
215
|
* @since 1.0.0
|
|
333
|
-
* @category
|
|
216
|
+
* @category Carousel region
|
|
334
217
|
*/
|
|
335
218
|
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>;
|
|
336
219
|
/**
|
|
337
220
|
* Inputs accepted by Carousel.Slide in addition to the shared DOM host options.
|
|
338
221
|
*
|
|
339
|
-
* @remarks
|
|
340
|
-
* ## Why
|
|
341
|
-
*
|
|
342
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
343
|
-
* visible before rendering.
|
|
344
|
-
*
|
|
345
|
-
* ## Ownership and lifetime
|
|
346
|
-
*
|
|
347
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
348
|
-
*
|
|
349
|
-
* ## Example
|
|
350
|
-
*
|
|
351
|
-
* Import with `import type { SlideOptions } from "@typed/ui/Carousel";` Extend the
|
|
352
|
-
* [Carousel.makeState runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Register a
|
|
353
|
-
* slide when desired with
|
|
354
|
-
* `const options: SlideOptions = { state, collection, id: "slide-1", label: "1 of 3", content: "First slide" }`.
|
|
355
222
|
* @since 1.0.0
|
|
356
|
-
* @category
|
|
223
|
+
* @category Slide content
|
|
357
224
|
*/
|
|
358
225
|
export interface SlideOptions extends Dom.HostOptions<HTMLDivElement> {
|
|
359
226
|
/**
|
|
360
227
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
361
228
|
* @since 1.0.0
|
|
362
|
-
* @category
|
|
229
|
+
* @category State connection
|
|
363
230
|
*/
|
|
364
231
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
365
232
|
/**
|
|
366
233
|
* Item registry used for collection-driven keyboard behavior and mounted ordering.
|
|
367
234
|
* @since 1.0.0
|
|
368
|
-
* @category
|
|
235
|
+
* @category Item registration
|
|
369
236
|
*/
|
|
370
237
|
readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
|
|
371
238
|
/**
|
|
372
239
|
* Stable id used for collection identity and ARIA relationships.
|
|
373
240
|
* @since 1.0.0
|
|
374
|
-
* @category
|
|
241
|
+
* @category Identity and relationships
|
|
375
242
|
*/
|
|
376
243
|
readonly id: string;
|
|
377
244
|
/**
|
|
378
245
|
* Accessible label rendered through aria-label.
|
|
379
246
|
* @since 1.0.0
|
|
380
|
-
* @category
|
|
247
|
+
* @category Accessible naming
|
|
381
248
|
*/
|
|
382
249
|
readonly label: Renderable.Any<string | null | undefined>;
|
|
383
250
|
/**
|
|
384
251
|
* Renderable child content for the component host.
|
|
385
252
|
* @since 1.0.0
|
|
386
|
-
* @category
|
|
253
|
+
* @category Rendered content
|
|
387
254
|
*/
|
|
388
255
|
readonly content: Renderable.Any;
|
|
389
256
|
}
|
|
@@ -401,66 +268,37 @@ type SlideInternalProps<Options extends SlideOptions> = ReturnType<ReturnType<ty
|
|
|
401
268
|
* activeId.
|
|
402
269
|
*
|
|
403
270
|
* @remarks
|
|
404
|
-
* ## Why
|
|
405
|
-
*
|
|
406
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
407
|
-
* through the shared DOM boundary.
|
|
408
|
-
*
|
|
409
|
-
* ## Ownership and lifetime
|
|
410
|
-
*
|
|
411
271
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
412
272
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
413
273
|
* unrelated nodes and attributes remain caller-owned.
|
|
414
274
|
*
|
|
415
|
-
* ## Example
|
|
416
|
-
*
|
|
417
|
-
* Import with `import { Slide } from "@typed/ui/Carousel";` Extend the [Carousel.makeState runnable
|
|
418
|
-
* setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Replace the linked program's final
|
|
419
|
-
* snapshot read with `Slide({ state, id: "slide-1", label: "1 of 3", content: "First slide" })`;
|
|
420
|
-
* render that Fx before the same Scope closes.
|
|
421
275
|
* @since 1.0.0
|
|
422
|
-
* @category
|
|
276
|
+
* @category Slide content
|
|
423
277
|
*/
|
|
424
278
|
export declare function Slide<const Options extends SlideOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, SlideInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
|
|
425
279
|
/**
|
|
426
280
|
* Inputs accepted by Carousel.Control in addition to the shared DOM host options.
|
|
427
281
|
*
|
|
428
|
-
* @remarks
|
|
429
|
-
* ## Why
|
|
430
|
-
*
|
|
431
|
-
* The options type makes required state, content, accessible relationships, and custom-host inputs
|
|
432
|
-
* visible before rendering.
|
|
433
|
-
*
|
|
434
|
-
* ## Ownership and lifetime
|
|
435
|
-
*
|
|
436
|
-
* This declaration is data or schema metadata and acquires no resources.
|
|
437
|
-
*
|
|
438
|
-
* ## Example
|
|
439
|
-
*
|
|
440
|
-
* Import with `import type { ControlOptions } from "@typed/ui/Carousel";` Extend the
|
|
441
|
-
* [Carousel.makeState runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). A
|
|
442
|
-
* collection is optional for controls:
|
|
443
|
-
* `const options: ControlOptions = { state, collection, content: "Next" }`.
|
|
444
282
|
* @since 1.0.0
|
|
445
|
-
* @category
|
|
283
|
+
* @category Slide controls
|
|
446
284
|
*/
|
|
447
285
|
export interface ControlOptions extends Dom.HostOptions<HTMLButtonElement> {
|
|
448
286
|
/**
|
|
449
287
|
* Renderer-independent RefSubject state consumed by this component or operation.
|
|
450
288
|
* @since 1.0.0
|
|
451
|
-
* @category
|
|
289
|
+
* @category State connection
|
|
452
290
|
*/
|
|
453
291
|
readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
|
|
454
292
|
/**
|
|
455
293
|
* Item registry used for collection-driven keyboard behavior and mounted ordering.
|
|
456
294
|
* @since 1.0.0
|
|
457
|
-
* @category
|
|
295
|
+
* @category Item registration
|
|
458
296
|
*/
|
|
459
297
|
readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
|
|
460
298
|
/**
|
|
461
299
|
* Renderable child content for the component host.
|
|
462
300
|
* @since 1.0.0
|
|
463
|
-
* @category
|
|
301
|
+
* @category Rendered content
|
|
464
302
|
*/
|
|
465
303
|
readonly content: Renderable.Any;
|
|
466
304
|
}
|
|
@@ -472,75 +310,36 @@ declare function controlInternalProps<const Options extends ControlOptions>(opti
|
|
|
472
310
|
* Renders a button whose native click selects the previous registered slide with wrapping enabled.
|
|
473
311
|
*
|
|
474
312
|
* @remarks
|
|
475
|
-
* ## Why
|
|
476
|
-
*
|
|
477
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
478
|
-
* through the shared DOM boundary.
|
|
479
|
-
*
|
|
480
|
-
* ## Ownership and lifetime
|
|
481
|
-
*
|
|
482
313
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
483
314
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
484
315
|
* unrelated nodes and attributes remain caller-owned.
|
|
485
316
|
*
|
|
486
|
-
* ## Example
|
|
487
|
-
*
|
|
488
|
-
* Import with `import { Previous } from "@typed/ui/Carousel";` Extend the [Carousel.makeState
|
|
489
|
-
* runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Replace the linked program's
|
|
490
|
-
* final snapshot read with `Previous({ state, content: "Previous" })`; render that Fx before the
|
|
491
|
-
* same Scope closes.
|
|
492
317
|
* @since 1.0.0
|
|
493
|
-
* @category
|
|
318
|
+
* @category Slide controls
|
|
494
319
|
*/
|
|
495
320
|
export declare function Previous<const Options extends ControlOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ReturnType<ReturnType<typeof controlInternalProps<Options>>>>, Options["content"], Host>): import("./Dom/Types.js").HostComponent<Host | Options>;
|
|
496
321
|
/**
|
|
497
322
|
* Renders a button whose native click selects the next registered slide with wrapping enabled.
|
|
498
323
|
*
|
|
499
324
|
* @remarks
|
|
500
|
-
* ## Why
|
|
501
|
-
*
|
|
502
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
503
|
-
* through the shared DOM boundary.
|
|
504
|
-
*
|
|
505
|
-
* ## Ownership and lifetime
|
|
506
|
-
*
|
|
507
325
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
508
326
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
509
327
|
* unrelated nodes and attributes remain caller-owned.
|
|
510
328
|
*
|
|
511
|
-
* ## Example
|
|
512
|
-
*
|
|
513
|
-
* Import with `import { Next } from "@typed/ui/Carousel";` Extend the [Carousel.makeState runnable
|
|
514
|
-
* setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Replace the linked program's final
|
|
515
|
-
* snapshot read with `Next({ state, content: "Next" })`; render that Fx before the same Scope
|
|
516
|
-
* closes.
|
|
517
329
|
* @since 1.0.0
|
|
518
|
-
* @category
|
|
330
|
+
* @category Slide controls
|
|
519
331
|
*/
|
|
520
332
|
export declare function Next<const Options extends ControlOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ReturnType<ReturnType<typeof controlInternalProps<Options>>>>, Options["content"], Host>): import("./Dom/Types.js").HostComponent<Host | Options>;
|
|
521
333
|
/**
|
|
522
334
|
* Renders a button whose native click toggles the explicit paused state.
|
|
523
335
|
*
|
|
524
336
|
* @remarks
|
|
525
|
-
* ## Why
|
|
526
|
-
*
|
|
527
|
-
* The component applies the family behavior while leaving callers free to supply a custom host
|
|
528
|
-
* through the shared DOM boundary.
|
|
529
|
-
*
|
|
530
|
-
* ## Ownership and lifetime
|
|
531
|
-
*
|
|
532
337
|
* The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
|
|
533
338
|
* collection registrations only when rendered. The rendering Scope removes those resources;
|
|
534
339
|
* unrelated nodes and attributes remain caller-owned.
|
|
535
340
|
*
|
|
536
|
-
* ## Example
|
|
537
|
-
*
|
|
538
|
-
* Import with `import { RotationControl } from "@typed/ui/Carousel";` Extend the
|
|
539
|
-
* [Carousel.makeState runnable setup](/reference/%40typed%2Fui%2FCarousel%23makeState). Replace the
|
|
540
|
-
* linked program's final snapshot read with `RotationControl({ state, content: "Pause rotation"
|
|
541
|
-
* })`; render that Fx before the same Scope closes.
|
|
542
341
|
* @since 1.0.0
|
|
543
|
-
* @category
|
|
342
|
+
* @category Rotation policy
|
|
544
343
|
*/
|
|
545
344
|
export declare function RotationControl<const Options extends Omit<ControlOptions, "collection">, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ReturnType<ReturnType<typeof controlInternalProps<Options>>>>, Options["content"], Host>): import("./Dom/Types.js").HostComponent<Host | Options>;
|
|
546
345
|
export {};
|
package/dist/Carousel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../src/Carousel.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../src/Carousel.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,EAAQ,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC/F,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAE9C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,WAAW,KAAK;IACpB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;;;EAAqE,CAAC;AAE9F;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,YAAY;;;0DAK9C;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc,4JAA+B,CAAC;AAE3D;;;;;;;;;GAS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