@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
package/dist/Dialog.d.ts CHANGED
@@ -13,7 +13,7 @@ import type { HostResult } from "./Dom/Types.js";
13
13
  * ## Ownership and lifetime
14
14
  * Plain data retains no resources; RefSubject lifetime is Scope-owned.
15
15
  * @since 1.0.0
16
- * @category state
16
+ * @category Open state
17
17
  */
18
18
  export interface State {
19
19
  /** Whether the native dialog is open.
@@ -23,7 +23,7 @@ export interface State {
23
23
  * ## Ownership and lifetime
24
24
  * Plain data acquires no resources.
25
25
  * @since 1.0.0
26
- * @category state
26
+ * @category Open state
27
27
  */
28
28
  readonly open: boolean;
29
29
  }
@@ -34,7 +34,7 @@ export interface State {
34
34
  * ## Ownership and lifetime
35
35
  * Configuration is inert.
36
36
  * @since 1.0.0
37
- * @category state
37
+ * @category Open state
38
38
  */
39
39
  export interface InitialState {
40
40
  /** Initial open state, defaulting to false.
@@ -44,7 +44,7 @@ export interface InitialState {
44
44
  * ## Ownership and lifetime
45
45
  * Plain data retains no resources.
46
46
  * @since 1.0.0
47
- * @category state
47
+ * @category Open state
48
48
  */
49
49
  readonly open?: boolean;
50
50
  }
@@ -55,7 +55,7 @@ export interface InitialState {
55
55
  * ## Ownership and lifetime
56
56
  * The immutable schema acquires no resources.
57
57
  * @since 1.0.0
58
- * @category schemas
58
+ * @category Open state
59
59
  */
60
60
  export declare const StateSchema: Schema.Struct<{
61
61
  readonly open: Schema.Boolean;
@@ -77,7 +77,7 @@ export declare const StateSchema: Schema.Struct<{
77
77
  * })
78
78
  * ```
79
79
  * @since 1.0.0
80
- * @category constructors
80
+ * @category Open state
81
81
  */
82
82
  export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
83
83
  readonly open: boolean;
@@ -99,7 +99,7 @@ export declare function makeState(initial?: InitialState): Effect.Effect<RefSubj
99
99
  * })
100
100
  * ```
101
101
  * @since 1.0.0
102
- * @category state
102
+ * @category Open state
103
103
  */
104
104
  export declare function setOpen<E, R>(state: RefSubject.RefSubject<State, E, R>, open: boolean): Effect.Effect<State, E, R>;
105
105
  /** Marks dialog state closed without requesting native cancellation.
@@ -120,7 +120,7 @@ export declare function setOpen<E, R>(state: RefSubject.RefSubject<State, E, R>,
120
120
  * })
121
121
  * ```
122
122
  * @since 1.0.0
123
- * @category state
123
+ * @category Direct dismissal
124
124
  */
125
125
  export declare function close<E, R>(state: RefSubject.RefSubject<State, E, R>): Effect.Effect<State, E, R>;
126
126
  /**
@@ -145,7 +145,7 @@ export declare function close<E, R>(state: RefSubject.RefSubject<State, E, R>):
145
145
  * })
146
146
  * ```
147
147
  * @since 1.0.0
148
- * @category lifecycle
148
+ * @category Cancelable dismissal
149
149
  */
150
150
  export declare function requestClose(state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>, returnValue?: string): Effect.Effect<void>;
151
151
  /** Options for a dialog-opening button.
@@ -155,7 +155,7 @@ export declare function requestClose(state: RefSubject.HydratedRefSubject<State,
155
155
  * ## Ownership and lifetime
156
156
  * Options are inert; rendering owns listeners/subscriptions by Scope.
157
157
  * @since 1.0.0
158
- * @category models
158
+ * @category Opening controls
159
159
  */
160
160
  export interface TriggerOptions extends Dom.HostOptions<HTMLButtonElement> {
161
161
  /** Hydrated state shared with dialog content.
@@ -165,7 +165,7 @@ export interface TriggerOptions extends Dom.HostOptions<HTMLButtonElement> {
165
165
  * ## Ownership and lifetime
166
166
  * The trigger borrows state; its originating Scope owns it.
167
167
  * @since 1.0.0
168
- * @category state
168
+ * @category State connection
169
169
  */
170
170
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
171
171
  /** Dialog id targeted by native command attributes.
@@ -178,7 +178,7 @@ export interface TriggerOptions extends Dom.HostOptions<HTMLButtonElement> {
178
178
  * ## Ownership and lifetime
179
179
  * The string is reflected and retains no resources.
180
180
  * @since 1.0.0
181
- * @category relationships
181
+ * @category Identity and relationships
182
182
  */
183
183
  readonly controls?: string;
184
184
  /** Visible trigger content and accessible name.
@@ -188,7 +188,7 @@ export interface TriggerOptions extends Dom.HostOptions<HTMLButtonElement> {
188
188
  * ## Ownership and lifetime
189
189
  * Dynamic content follows the trigger Scope.
190
190
  * @since 1.0.0
191
- * @category content
191
+ * @category Rendered content
192
192
  */
193
193
  readonly content: Renderable.Any;
194
194
  }
@@ -224,7 +224,7 @@ type TriggerInternalProps<Options extends TriggerOptions> = ReturnType<ReturnTyp
224
224
  * })
225
225
  * ```
226
226
  * @since 1.0.0
227
- * @category components
227
+ * @category Opening controls
228
228
  */
229
229
  export declare function Trigger<const Options extends TriggerOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, TriggerInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
230
230
  interface ContentOptionsBase extends Dom.HostOptions<HTMLDialogElement> {
@@ -260,7 +260,7 @@ type AccessibleName = {
260
260
  * Options are inert; rendering owns dynamic values and native synchronization
261
261
  * for its Effect Scope.
262
262
  * @since 1.0.0
263
- * @category models
263
+ * @category Native content host
264
264
  */
265
265
  export type ContentOptions = ContentOptionsBase & AccessibleName;
266
266
  declare function contentInternalProps<const Options extends ContentOptions>(options: Options): ({ property }: Dom.InternalPropsHelpers<Options>) => {
@@ -269,7 +269,7 @@ declare function contentInternalProps<const Options extends ContentOptions>(opti
269
269
  "aria-describedby": Exclude<Dom.Property<Options, "describedBy">, Dom.Nullish> | undefined;
270
270
  "aria-label": Exclude<Dom.Property<Options, "label">, Dom.Nullish> | undefined;
271
271
  oncancel: Effect.Effect<State, Schema.SchemaError, never>;
272
- onclose: Effect.Effect<State, Schema.SchemaError, never>;
272
+ onclose: EventHandler.EventHandler<Event, Schema.SchemaError, never>;
273
273
  ontoggle: EventHandler.EventHandler<Event, Schema.SchemaError, never>;
274
274
  ref: import("./Dom/Refs.js").ComposedRef<RefSubject.HydratedRefSubject<State, Schema.SchemaError, never, never>, (element: HTMLDialogElement) => Effect.Effect<void, Schema.SchemaError, Scope.Scope>> | undefined;
275
275
  };
@@ -303,7 +303,7 @@ type ContentInternalProps<Options extends ContentOptions> = ReturnType<ReturnTyp
303
303
  * })
304
304
  * ```
305
305
  * @since 1.0.0
306
- * @category components
306
+ * @category Native content host
307
307
  */
308
308
  export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
309
309
  /** Canonical widget alias for `Content`.
@@ -313,7 +313,7 @@ export declare function Content<const Options extends ContentOptions, const Host
313
313
  * ## Ownership and lifetime
314
314
  * It has exactly the same native element and Scope ownership as `Content`.
315
315
  * @since 1.0.0
316
- * @category aliases
316
+ * @category Native content host
317
317
  */
318
318
  export declare const Dialog: typeof Content;
319
319
  /** Options for dialog close and close-request buttons.
@@ -325,7 +325,7 @@ export declare const Dialog: typeof Content;
325
325
  * ## Ownership and lifetime
326
326
  * Options are inert; rendering owns listeners and dynamic content by Scope.
327
327
  * @since 1.0.0
328
- * @category models
328
+ * @category Direct dismissal
329
329
  */
330
330
  export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {
331
331
  /** Hydrated state for fallback close behavior.
@@ -335,7 +335,7 @@ export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {
335
335
  * ## Ownership and lifetime
336
336
  * The button borrows state; its original Scope owns it.
337
337
  * @since 1.0.0
338
- * @category state
338
+ * @category State connection
339
339
  */
340
340
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
341
341
  /** Dialog id targeted by native command attributes.
@@ -348,7 +348,7 @@ export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {
348
348
  * ## Ownership and lifetime
349
349
  * The string is reflected and retains no resources.
350
350
  * @since 1.0.0
351
- * @category relationships
351
+ * @category Identity and relationships
352
352
  */
353
353
  readonly controls?: string;
354
354
  /** Visible button content and accessible name.
@@ -358,7 +358,7 @@ export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {
358
358
  * ## Ownership and lifetime
359
359
  * Dynamic content follows the button Scope.
360
360
  * @since 1.0.0
361
- * @category content
361
+ * @category Rendered content
362
362
  */
363
363
  readonly content: Renderable.Any;
364
364
  }
@@ -389,7 +389,7 @@ type CloseInternalProps<Options extends CloseOptions> = ReturnType<ReturnType<ty
389
389
  * })
390
390
  * ```
391
391
  * @since 1.0.0
392
- * @category components
392
+ * @category Direct dismissal
393
393
  */
394
394
  export declare function Close<const Options extends CloseOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, CloseInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
395
395
  /** Alias for direct `Close` behavior.
@@ -399,7 +399,7 @@ export declare function Close<const Options extends CloseOptions, const Host ext
399
399
  * ## Ownership and lifetime
400
400
  * It has exactly the same Scope and native button ownership as `Close`.
401
401
  * @since 1.0.0
402
- * @category aliases
402
+ * @category Direct dismissal
403
403
  */
404
404
  export declare const Dismiss: typeof Close;
405
405
  /** Renders a button that starts the cancelable native close-request lifecycle.
@@ -422,7 +422,7 @@ export declare const Dismiss: typeof Close;
422
422
  * })
423
423
  * ```
424
424
  * @since 1.0.0
425
- * @category components
425
+ * @category Cancelable dismissal
426
426
  */
427
427
  export declare function RequestClose<const Options extends CloseOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, CloseInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
428
428
  /** Options for an accessible dialog heading.
@@ -432,7 +432,7 @@ export declare function RequestClose<const Options extends CloseOptions, const H
432
432
  * ## Ownership and lifetime
433
433
  * Options are inert; dynamic values follow the component Scope.
434
434
  * @since 1.0.0
435
- * @category models
435
+ * @category Dialog naming and description
436
436
  */
437
437
  export interface HeadingOptions extends Dom.HostOptions<HTMLHeadingElement> {
438
438
  /** Heading content.
@@ -442,7 +442,7 @@ export interface HeadingOptions extends Dom.HostOptions<HTMLHeadingElement> {
442
442
  * ## Ownership and lifetime
443
443
  * Dynamic content follows the heading Scope.
444
444
  * @since 1.0.0
445
- * @category content
445
+ * @category Rendered content
446
446
  */
447
447
  readonly content: Renderable.Any;
448
448
  /** Optional id referenced by `Content.labelledBy`.
@@ -452,7 +452,7 @@ export interface HeadingOptions extends Dom.HostOptions<HTMLHeadingElement> {
452
452
  * ## Ownership and lifetime
453
453
  * The id is reflected and retains no resources.
454
454
  * @since 1.0.0
455
- * @category relationships
455
+ * @category Identity and relationships
456
456
  */
457
457
  readonly id?: string;
458
458
  /** ARIA heading level, defaulting to two.
@@ -462,7 +462,7 @@ export interface HeadingOptions extends Dom.HostOptions<HTMLHeadingElement> {
462
462
  * ## Ownership and lifetime
463
463
  * The value is reflected and retains no resources.
464
464
  * @since 1.0.0
465
- * @category accessibility
465
+ * @category Accessible naming
466
466
  */
467
467
  readonly level?: 1 | 2 | 3 | 4 | 5 | 6;
468
468
  }
@@ -486,7 +486,7 @@ type HeadingInternalProps<Options extends HeadingOptions> = ReturnType<ReturnTyp
486
486
  * const title = Heading({ id: "confirm-title", content: "Confirm" })
487
487
  * ```
488
488
  * @since 1.0.0
489
- * @category components
489
+ * @category Dialog naming and description
490
490
  */
491
491
  export declare function Heading<const Options extends HeadingOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, HeadingInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
492
492
  /** Options for descriptive dialog text.
@@ -496,7 +496,7 @@ export declare function Heading<const Options extends HeadingOptions, const Host
496
496
  * ## Ownership and lifetime
497
497
  * Options are inert; dynamic content follows the component Scope.
498
498
  * @since 1.0.0
499
- * @category models
499
+ * @category Dialog naming and description
500
500
  */
501
501
  export interface DescriptionOptions extends Dom.HostOptions<HTMLParagraphElement> {
502
502
  /** Descriptive content.
@@ -506,7 +506,7 @@ export interface DescriptionOptions extends Dom.HostOptions<HTMLParagraphElement
506
506
  * ## Ownership and lifetime
507
507
  * Dynamic content follows the description Scope.
508
508
  * @since 1.0.0
509
- * @category content
509
+ * @category Rendered content
510
510
  */
511
511
  readonly content: Renderable.Any;
512
512
  /** Optional id referenced by `Content.describedBy`.
@@ -516,7 +516,7 @@ export interface DescriptionOptions extends Dom.HostOptions<HTMLParagraphElement
516
516
  * ## Ownership and lifetime
517
517
  * The id is reflected and retains no resources.
518
518
  * @since 1.0.0
519
- * @category relationships
519
+ * @category Identity and relationships
520
520
  */
521
521
  readonly id?: string;
522
522
  }
@@ -537,7 +537,7 @@ type DescriptionInternalProps<Options extends DescriptionOptions> = ReturnType<R
537
537
  * const detail = Description({ id: "confirm-detail", content: "This cannot be undone." })
538
538
  * ```
539
539
  * @since 1.0.0
540
- * @category components
540
+ * @category Dialog naming and description
541
541
  */
542
542
  export declare function Description<const Options extends DescriptionOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, DescriptionInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
543
543
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../src/Dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,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,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,E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S,kBAAkB,IAAI,UAAU,CAC5E,UAAU,CAAC,OAAO,wBAAwB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CACzB,KAAK,CAAC,OAAO,SAAS,kBAAkB,EACxC,KAAK,CAAC,IAAI,SAAS,UAAU,GAAG,KAAK,EAErC,OAAO,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,GAAG,CAAC,YAAY,CACrB,GAAG,CAAC,eAAe,CAAC,OAAO,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,EAC/D,OAAO,CAAC,SAAS,CAAC,EAClB,IAAI,CACL,GACA,EAAE,CACH,WAAW,EACX,UAAU,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,EAChC,UAAU,CAAC,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,GAAG,cAAc,CACnE,CAcA"}
package/dist/Dialog.js CHANGED
@@ -13,7 +13,7 @@ const dialogs = new WeakMap();
13
13
  * ## Ownership and lifetime
14
14
  * The immutable schema acquires no resources.
15
15
  * @since 1.0.0
16
- * @category schemas
16
+ * @category Open state
17
17
  */
18
18
  export const StateSchema = Schema.Struct({ open: Schema.Boolean });
19
19
  /** Creates hydrated dialog state independent of rendering.
@@ -33,7 +33,7 @@ export const StateSchema = Schema.Struct({ open: Schema.Boolean });
33
33
  * })
34
34
  * ```
35
35
  * @since 1.0.0
36
- * @category constructors
36
+ * @category Open state
37
37
  */
38
38
  export function makeState(initial = {}) {
39
39
  return RefSubject.hydrate(StateSchema, { open: initial.open ?? false });
@@ -55,7 +55,7 @@ export function makeState(initial = {}) {
55
55
  * })
56
56
  * ```
57
57
  * @since 1.0.0
58
- * @category state
58
+ * @category Open state
59
59
  */
60
60
  export function setOpen(state, open) {
61
61
  return RefSubject.update(state, (current) => ({ ...current, open }));
@@ -78,7 +78,7 @@ export function setOpen(state, open) {
78
78
  * })
79
79
  * ```
80
80
  * @since 1.0.0
81
- * @category state
81
+ * @category Direct dismissal
82
82
  */
83
83
  export function close(state) {
84
84
  return setOpen(state, false);
@@ -105,7 +105,7 @@ export function close(state) {
105
105
  * })
106
106
  * ```
107
107
  * @since 1.0.0
108
- * @category lifecycle
108
+ * @category Cancelable dismissal
109
109
  */
110
110
  export function requestClose(state, returnValue) {
111
111
  return Effect.sync(() => {
@@ -156,7 +156,7 @@ function triggerInternalProps(options) {
156
156
  * })
157
157
  * ```
158
158
  * @since 1.0.0
159
- * @category components
159
+ * @category Opening controls
160
160
  */
161
161
  export function Trigger(options, host) {
162
162
  return Dom.renderHost()(options, host, triggerInternalProps(options), options.content, (props, content) => html `<button ...${props}>${content}</button>`);
@@ -169,7 +169,9 @@ function contentInternalProps(options) {
169
169
  "aria-describedby": property("describedBy", undefined),
170
170
  "aria-label": property("label", undefined),
171
171
  oncancel: close(options.state),
172
- onclose: close(options.state),
172
+ // Native close events are queued. The same dialog may already have reopened
173
+ // by the time an earlier close event is delivered.
174
+ onclose: EventHandler.make(Effect.fn((event) => setOpen(options.state, Dom.currentTarget(event).open))),
173
175
  ontoggle: EventHandler.make(Effect.fn((event) => setOpen(options.state, Dom.currentTarget(event).open))),
174
176
  ref: Dom.composeRefs(options.state, Dom.composeRefs(synchronize, dialogRef(options.state))),
175
177
  });
@@ -213,7 +215,7 @@ function dialogRef(state) {
213
215
  * })
214
216
  * ```
215
217
  * @since 1.0.0
216
- * @category components
218
+ * @category Native content host
217
219
  */
218
220
  export function Content(options, host) {
219
221
  return Dom.renderHost()(options, host, contentInternalProps(options), options.content, (props, content) => {
@@ -227,7 +229,7 @@ export function Content(options, host) {
227
229
  * ## Ownership and lifetime
228
230
  * It has exactly the same native element and Scope ownership as `Content`.
229
231
  * @since 1.0.0
230
- * @category aliases
232
+ * @category Native content host
231
233
  */
232
234
  export const Dialog = Content;
233
235
  function closeInternalProps(options, requestCloseLifecycle) {
@@ -266,7 +268,7 @@ function closeInternalProps(options, requestCloseLifecycle) {
266
268
  * })
267
269
  * ```
268
270
  * @since 1.0.0
269
- * @category components
271
+ * @category Direct dismissal
270
272
  */
271
273
  export function Close(options, host) {
272
274
  return Dom.renderHost()(options, host, closeInternalProps(options, false), options.content, (props, content) => html `<button ...${props}>${content}</button>`);
@@ -278,7 +280,7 @@ export function Close(options, host) {
278
280
  * ## Ownership and lifetime
279
281
  * It has exactly the same Scope and native button ownership as `Close`.
280
282
  * @since 1.0.0
281
- * @category aliases
283
+ * @category Direct dismissal
282
284
  */
283
285
  export const Dismiss = Close;
284
286
  /** Renders a button that starts the cancelable native close-request lifecycle.
@@ -301,7 +303,7 @@ export const Dismiss = Close;
301
303
  * })
302
304
  * ```
303
305
  * @since 1.0.0
304
- * @category components
306
+ * @category Cancelable dismissal
305
307
  */
306
308
  export function RequestClose(options, host) {
307
309
  return Dom.renderHost()(options, host, closeInternalProps(options, true), options.content, (props, content) => html `<button ...${props}>${content}</button>`);
@@ -327,7 +329,7 @@ function headingInternalProps() {
327
329
  * const title = Heading({ id: "confirm-title", content: "Confirm" })
328
330
  * ```
329
331
  * @since 1.0.0
330
- * @category components
332
+ * @category Dialog naming and description
331
333
  */
332
334
  export function Heading(options, host) {
333
335
  return Dom.renderHost()(options, host, headingInternalProps(), options.content, (props, content) => html `<h2 ...${props}>${content}</h2>`);
@@ -348,7 +350,7 @@ function descriptionInternalProps() {
348
350
  * const detail = Description({ id: "confirm-detail", content: "This cannot be undone." })
349
351
  * ```
350
352
  * @since 1.0.0
351
- * @category components
353
+ * @category Dialog naming and description
352
354
  */
353
355
  export function Description(options, host) {
354
356
  return Dom.renderHost()(options, host, descriptionInternalProps(), options.content, (props, content) => html `<p ...${props}>${content}</p>`);
@@ -13,7 +13,7 @@ import type { HostResult } from "./Dom/Types.js";
13
13
  * ## Ownership and lifetime
14
14
  * Plain state retains no resources; RefSubject lifetime is Scope-owned.
15
15
  * @since 1.0.0
16
- * @category state
16
+ * @category Open state
17
17
  */
18
18
  export interface State {
19
19
  /** Whether the details element is open.
@@ -23,7 +23,7 @@ export interface State {
23
23
  * ## Ownership and lifetime
24
24
  * Plain data acquires no resources.
25
25
  * @since 1.0.0
26
- * @category state
26
+ * @category Open state
27
27
  */
28
28
  readonly open: boolean;
29
29
  }
@@ -34,7 +34,7 @@ export interface State {
34
34
  * ## Ownership and lifetime
35
35
  * Configuration is inert.
36
36
  * @since 1.0.0
37
- * @category state
37
+ * @category Open state
38
38
  */
39
39
  export interface InitialState {
40
40
  /** Initial open state, defaulting to false.
@@ -44,7 +44,7 @@ export interface InitialState {
44
44
  * ## Ownership and lifetime
45
45
  * Plain data retains no resources.
46
46
  * @since 1.0.0
47
- * @category state
47
+ * @category Open state
48
48
  */
49
49
  readonly open?: boolean;
50
50
  }
@@ -55,7 +55,7 @@ export interface InitialState {
55
55
  * ## Ownership and lifetime
56
56
  * The immutable schema acquires no resources.
57
57
  * @since 1.0.0
58
- * @category schemas
58
+ * @category Open state
59
59
  */
60
60
  export declare const StateSchema: Schema.Struct<{
61
61
  readonly open: Schema.Boolean;
@@ -76,7 +76,7 @@ export declare const StateSchema: Schema.Struct<{
76
76
  * })
77
77
  * ```
78
78
  * @since 1.0.0
79
- * @category constructors
79
+ * @category Open state
80
80
  */
81
81
  export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
82
82
  readonly open: boolean;
@@ -98,7 +98,7 @@ export declare function makeState(initial?: InitialState): Effect.Effect<RefSubj
98
98
  * })
99
99
  * ```
100
100
  * @since 1.0.0
101
- * @category state
101
+ * @category Open state
102
102
  */
103
103
  export declare function setOpen<E, R>(state: RefSubject.RefSubject<State, E, R>, open: boolean): Effect.Effect<State, E, R>;
104
104
  /** Options for the native `<summary>` trigger.
@@ -108,7 +108,7 @@ export declare function setOpen<E, R>(state: RefSubject.RefSubject<State, E, R>,
108
108
  * ## Ownership and lifetime
109
109
  * Options are inert; dynamic content follows the rendered Scope.
110
110
  * @since 1.0.0
111
- * @category models
111
+ * @category Summary activation
112
112
  */
113
113
  export interface ButtonOptions extends Dom.HostOptions<HTMLElement> {
114
114
  /** Visible summary content and accessible name.
@@ -118,7 +118,7 @@ export interface ButtonOptions extends Dom.HostOptions<HTMLElement> {
118
118
  * ## Ownership and lifetime
119
119
  * Dynamic content follows the trigger Scope.
120
120
  * @since 1.0.0
121
- * @category content
121
+ * @category Rendered content
122
122
  */
123
123
  readonly content: Renderable.Any;
124
124
  }
@@ -139,7 +139,7 @@ type ButtonInternalProps = ReturnType<typeof buttonInternalProps>;
139
139
  * const summary = Button({ content: "Advanced settings" })
140
140
  * ```
141
141
  * @since 1.0.0
142
- * @category components
142
+ * @category Summary activation
143
143
  */
144
144
  export declare function Button<const Options extends ButtonOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ButtonInternalProps>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
145
145
  /** Options for native `<details>` content.
@@ -150,7 +150,7 @@ export declare function Button<const Options extends ButtonOptions, const Host e
150
150
  * ## Ownership and lifetime
151
151
  * Options are inert; rendering owns listeners and the NativeDetails observer.
152
152
  * @since 1.0.0
153
- * @category models
153
+ * @category Native content host
154
154
  */
155
155
  export interface ContentOptions extends Dom.HostOptions<HTMLDetailsElement> {
156
156
  /** Hydrated state synchronized with the details element.
@@ -160,7 +160,7 @@ export interface ContentOptions extends Dom.HostOptions<HTMLDetailsElement> {
160
160
  * ## Ownership and lifetime
161
161
  * The content borrows state; its originating Scope owns it.
162
162
  * @since 1.0.0
163
- * @category state
163
+ * @category State connection
164
164
  */
165
165
  readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
166
166
  /** Summary and disclosed body content.
@@ -170,7 +170,7 @@ export interface ContentOptions extends Dom.HostOptions<HTMLDetailsElement> {
170
170
  * ## Ownership and lifetime
171
171
  * Dynamic content follows the details Scope.
172
172
  * @since 1.0.0
173
- * @category content
173
+ * @category Rendered content
174
174
  */
175
175
  readonly content: Renderable.Any;
176
176
  }
@@ -201,7 +201,7 @@ type ContentInternalProps<Options extends ContentOptions> = ReturnType<ReturnTyp
201
201
  * })
202
202
  * ```
203
203
  * @since 1.0.0
204
- * @category components
204
+ * @category Native content host
205
205
  */
206
206
  export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;
207
207
  /** Canonical alias for `Content`.
@@ -212,7 +212,7 @@ export declare function Content<const Options extends ContentOptions, const Host
212
212
  * ## Ownership and lifetime
213
213
  * It has exactly the same Scope and details-element ownership as `Content`.
214
214
  * @since 1.0.0
215
- * @category aliases
215
+ * @category Native content host
216
216
  */
217
217
  export declare const Disclosure: typeof Content;
218
218
  export {};
@@ -11,7 +11,7 @@ import * as NativeDetails from "./NativeDetails.js";
11
11
  * ## Ownership and lifetime
12
12
  * The immutable schema acquires no resources.
13
13
  * @since 1.0.0
14
- * @category schemas
14
+ * @category Open state
15
15
  */
16
16
  export const StateSchema = Schema.Struct({ open: Schema.Boolean });
17
17
  /** Creates hydrated disclosure state.
@@ -30,7 +30,7 @@ export const StateSchema = Schema.Struct({ open: Schema.Boolean });
30
30
  * })
31
31
  * ```
32
32
  * @since 1.0.0
33
- * @category constructors
33
+ * @category Open state
34
34
  */
35
35
  export function makeState(initial = {}) {
36
36
  return RefSubject.hydrate(StateSchema, { open: initial.open ?? false });
@@ -52,7 +52,7 @@ export function makeState(initial = {}) {
52
52
  * })
53
53
  * ```
54
54
  * @since 1.0.0
55
- * @category state
55
+ * @category Open state
56
56
  */
57
57
  export function setOpen(state, open) {
58
58
  return RefSubject.update(state, (current) => ({ ...current, open }));
@@ -75,7 +75,7 @@ function buttonInternalProps() {
75
75
  * const summary = Button({ content: "Advanced settings" })
76
76
  * ```
77
77
  * @since 1.0.0
78
- * @category components
78
+ * @category Summary activation
79
79
  */
80
80
  export function Button(options, host) {
81
81
  return Dom.renderHost()(options, host, buttonInternalProps, options.content, (props, content) => html `<summary ...${props}>${content}</summary>`);
@@ -108,7 +108,7 @@ function contentInternalProps(options) {
108
108
  * })
109
109
  * ```
110
110
  * @since 1.0.0
111
- * @category components
111
+ * @category Native content host
112
112
  */
113
113
  export function Content(options, host) {
114
114
  return Dom.renderHost()(options, host, contentInternalProps(options), options.content, (props, content) => {
@@ -123,6 +123,6 @@ export function Content(options, host) {
123
123
  * ## Ownership and lifetime
124
124
  * It has exactly the same Scope and details-element ownership as `Content`.
125
125
  * @since 1.0.0
126
- * @category aliases
126
+ * @category Native content host
127
127
  */
128
128
  export const Disclosure = Content;
@@ -62,7 +62,7 @@ import type { EventHandlerInput, EventHandlerProperty } from "./Types.js";
62
62
  * ```
63
63
  *
64
64
  * @since 1.0.0
65
- * @category events
65
+ * @category Event composition
66
66
  */
67
67
  export declare function chainEvent<Ev extends Event, E1 = never, R1 = never, E2 = never, R2 = never>(user: EventHandlerInput<Ev, E1, R1>, internal: EventHandlerInput<Ev, E2, R2>): EventHandler.EventHandler<Ev, E1 | E2, R1 | R2> | undefined;
68
68
  /**
@@ -77,7 +77,7 @@ export declare function chainEvent<Ev extends Event, E1 = never, R1 = never, E2
77
77
  * Pure predicate; it installs no listener and retains no key.
78
78
  *
79
79
  * @since 1.0.0
80
- * @category predicates
80
+ * @category Event inspection
81
81
  */
82
82
  export declare function isEventKey(key: string): key is EventHandlerProperty;
83
83
  /**
@@ -101,7 +101,7 @@ export declare function isEventKey(key: string): key is EventHandlerProperty;
101
101
  * ```
102
102
  *
103
103
  * @since 1.0.0
104
- * @category events
104
+ * @category Event inspection
105
105
  */
106
106
  export declare function currentTarget<Target extends EventTarget>(event: Event): Target;
107
107
  /**
@@ -116,7 +116,7 @@ export declare function currentTarget<Target extends EventTarget>(event: Event):
116
116
  * Pure read of the current event; no state or listener is retained.
117
117
  *
118
118
  * @since 1.0.0
119
- * @category events
119
+ * @category Event inspection
120
120
  */
121
121
  export declare function toggleState(event: Event): "open" | "closed" | undefined;
122
122
  //# sourceMappingURL=Events.d.ts.map