@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.
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
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;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,CAAC,OAAO,GAAG,IAAI,CAAC,EAChC,UAAU,CAAC,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,GAAG,cAAc,CACnE,CAcA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,aAAO,CAAC;AAE5B;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAiB,SAAQ,GAAG,CAAC,WAAW,CAAC,aAAa,CAAC;IACtE;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CAClD;AAED,iBAAS,cAAc,CAAC,KAAK,CAAC,OAAO,SAAS,gBAAgB,EAAE,QAAQ,EAAE,OAAO,kBACzD,GAAG,CAAC,oBAAoB,CAAC,OAAO,CAAC;aAEnD,IAAI,EAAE,WAAW;aACjB,kBAAkB;EAEvB;AACD,KAAK,cAAc,CAAC,OAAO,SAAS,gBAAgB,IAAI,UAAU,CAChE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC,CAC3C,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CACvB,KAAK,CAAC,OAAO,SAAS,gBAAgB,EACtC,KAAK,CAAC,IAAI,SAAS,UAAU,GAAG,KAAK,EAErC,OAAO,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GACvF,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,CAQA"}
package/dist/Menu.js 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 [Menu guide](/explore/ui-menu).
12
+ *
11
13
  * @since 1.0.0
12
14
  * @category modules
13
15
  * @packageDocumentation
@@ -27,15 +29,6 @@ const submenuOwners = new WeakMap();
27
29
  * Effect Schema used by makeState to encode, decode, and hydrate Menu state.
28
30
  *
29
31
  * @remarks
30
- * ## Why
31
- *
32
- * A public schema makes hydration and serialized state use the same runtime validation as direct
33
- * construction.
34
- *
35
- * ## Ownership and lifetime
36
- *
37
- * This declaration is data or schema metadata and acquires no resources.
38
- *
39
32
  * @example
40
33
  * ```ts
41
34
  * import * as Schema from "effect/Schema";
@@ -44,7 +37,7 @@ const submenuOwners = new WeakMap();
44
37
  * const decodeState = Schema.decodeUnknownEffect(Menu.StateSchema);
45
38
  * ```
46
39
  * @since 1.0.0
47
- * @category schemas
40
+ * @category Popup state
48
41
  */
49
42
  export const StateSchema = Schema.Struct({
50
43
  id: Schema.String,
@@ -60,12 +53,6 @@ export const StateSchema = Schema.Struct({
60
53
  * true, and orientation vertical.
61
54
  *
62
55
  * @remarks
63
- * ## Why
64
- *
65
- * State and collection ownership can be composed and tested independently from any renderer.
66
- *
67
- * ## Ownership and lifetime
68
- *
69
56
  * The returned Effect creates the RefSubject when run. That state is renderer-independent;
70
57
  * collection registrations belong to the separate Scope that runs register or ref, not to state
71
58
  * creation.
@@ -84,7 +71,7 @@ export const StateSchema = Schema.Struct({
84
71
  * );
85
72
  * ```
86
73
  * @since 1.0.0
87
- * @category constructors
74
+ * @category Popup state
88
75
  */
89
76
  export function makeState(initial) {
90
77
  return RefSubject.hydrate(StateSchema, {
@@ -101,12 +88,6 @@ export function makeState(initial) {
101
88
  * Creates a scoped Collection for Menu items.
102
89
  *
103
90
  * @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
91
  * The returned Effect allocates the RefSubject in the caller's Scope. Each later registration is
111
92
  * owned by the Scope that runs register, independently of this construction Effect.
112
93
  *
@@ -123,31 +104,18 @@ export function makeState(initial) {
123
104
  * );
124
105
  * ```
125
106
  * @since 1.0.0
126
- * @category constructors
107
+ * @category Command registration
127
108
  */
128
109
  export const makeCollection = Collection.makeState;
129
110
  /**
130
111
  * Updates only the menu's explicit open state.
131
112
  *
132
113
  * @remarks
133
- * ## Why
134
- *
135
114
  * The operation exposes Menu's transition directly so callers can compose it in Effect programs
136
115
  * and native event handlers.
137
116
  *
138
- * ## Ownership and lifetime
139
- *
140
- * The returned Effect performs the update or DOM side effect only when run, preserves the declared
141
- * error and service channels, and retains no resources after completion.
142
- *
143
- * ## Example
144
- *
145
- * Import with `import { setOpen } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
146
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Inside the linked Effect program invoke
147
- * `yield* setOpen(state, true)`, then read state to observe `open: true` without changing focus or
148
- * menu identity.
149
117
  * @since 1.0.0
150
- * @category combinators
118
+ * @category Popup state
151
119
  */
152
120
  export function setOpen(state, open) {
153
121
  return RefSubject.update(state, (value) => ({ ...value, open }));
@@ -184,24 +152,12 @@ function invokerRef(state) {
184
152
  * Renders a native button targeting menu popover content and opens the menu on ArrowDown.
185
153
  *
186
154
  * @remarks
187
- * ## Why
188
- *
189
- * The component applies the family behavior while leaving callers free to supply a custom host
190
- * through the shared DOM boundary.
191
- *
192
- * ## Ownership and lifetime
193
- *
194
155
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
195
156
  * collection registrations only when rendered. The rendering Scope removes those resources;
196
157
  * unrelated nodes and attributes remain caller-owned.
197
158
  *
198
- * ## Example
199
- *
200
- * Import with `import { Trigger } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
201
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
202
- * read with `Trigger({ state, content: "File" })`; render that Fx before the same Scope closes.
203
159
  * @since 1.0.0
204
- * @category components
160
+ * @category Opening a menu
205
161
  */
206
162
  export function Trigger(options, host) {
207
163
  return Dom.renderHost()(options, host, triggerProps(options), options.content, (props, content) => html `<button ...${props}>${content}</button>`);
@@ -210,23 +166,11 @@ export function Trigger(options, host) {
210
166
  * Consumer-facing alias of the canonical Menu component with identical behavior and lifetime.
211
167
  *
212
168
  * @remarks
213
- * ## Why
214
- *
215
- * The component applies the family behavior while leaving callers free to supply a custom host
216
- * through the shared DOM boundary.
217
- *
218
- * ## Ownership and lifetime
219
- *
220
169
  * The alias acquires nothing. Rendering it has exactly the canonical component's Scope and DOM
221
170
  * ownership contract.
222
171
  *
223
- * ## Example
224
- *
225
- * Import with `import { Button } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
226
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
227
- * read with `Button({ state, content: "File" })`; render that Fx before the same Scope closes.
228
172
  * @since 1.0.0
229
- * @category components
173
+ * @category Opening a menu
230
174
  */
231
175
  export const Button = Trigger;
232
176
  function contentProps(options) {
@@ -389,25 +333,12 @@ function isElement(value) {
389
333
  * traversal.
390
334
  *
391
335
  * @remarks
392
- * ## Why
393
- *
394
- * The component applies the family behavior while leaving callers free to supply a custom host
395
- * through the shared DOM boundary.
396
- *
397
- * ## Ownership and lifetime
398
- *
399
336
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
400
337
  * collection registrations only when rendered. The rendering Scope removes those resources;
401
338
  * unrelated nodes and attributes remain caller-owned.
402
339
  *
403
- * ## Example
404
- *
405
- * Import with `import { Content } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
406
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
407
- * read with `Content({ state, label: "File", content: "Commands" })`; render that Fx before the
408
- * same Scope closes.
409
340
  * @since 1.0.0
410
- * @category components
341
+ * @category Menu surface
411
342
  */
412
343
  export function Content(options, host) {
413
344
  return Dom.renderHost()(options, host, contentProps(options), options.content, (props, content) => {
@@ -418,24 +349,11 @@ export function Content(options, host) {
418
349
  * Consumer-facing alias of the canonical Menu component with identical behavior and lifetime.
419
350
  *
420
351
  * @remarks
421
- * ## Why
422
- *
423
- * The component applies the family behavior while leaving callers free to supply a custom host
424
- * through the shared DOM boundary.
425
- *
426
- * ## Ownership and lifetime
427
- *
428
352
  * The alias acquires nothing. Rendering it has exactly the canonical component's Scope and DOM
429
353
  * ownership contract.
430
354
  *
431
- * ## Example
432
- *
433
- * Import with `import { Menu } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
434
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
435
- * read with `Menu({ state, label: "File", content: "Commands" })`; render that Fx before the same
436
- * Scope closes.
437
355
  * @since 1.0.0
438
- * @category components
356
+ * @category Menu surface
439
357
  */
440
358
  export const Menu = Content;
441
359
  function itemProps(options) {
@@ -475,25 +393,12 @@ function itemProps(options) {
475
393
  * activate.
476
394
  *
477
395
  * @remarks
478
- * ## Why
479
- *
480
- * The component applies the family behavior while leaving callers free to supply a custom host
481
- * through the shared DOM boundary.
482
- *
483
- * ## Ownership and lifetime
484
- *
485
396
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
486
397
  * collection registrations only when rendered. The rendering Scope removes those resources;
487
398
  * unrelated nodes and attributes remain caller-owned.
488
399
  *
489
- * ## Example
490
- *
491
- * Import with `import { Item } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
492
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
493
- * read with `Item({ state, id: "save", content: "Save" })`; render that Fx before the same Scope
494
- * closes.
495
400
  * @since 1.0.0
496
- * @category components
401
+ * @category Commands
497
402
  */
498
403
  export function Item(options, host) {
499
404
  return Dom.renderHost()(options, host, itemProps(options), options.content, (props, content) => html `<div ...${props}>${content}</div>`);
@@ -561,26 +466,12 @@ function submenuOwnerRef(submenu, state, collection, triggerId) {
561
466
  * focus.
562
467
  *
563
468
  * @remarks
564
- * ## Why
565
- *
566
- * The component applies the family behavior while leaving callers free to supply a custom host
567
- * through the shared DOM boundary.
568
- *
569
- * ## Ownership and lifetime
570
- *
571
469
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
572
470
  * collection registrations only when rendered. The rendering Scope removes those resources;
573
471
  * unrelated nodes and attributes remain caller-owned.
574
472
  *
575
- * ## Example
576
- *
577
- * Import with `import { SubmenuTrigger } from "@typed/ui/Menu";` Extend the [Menu.makeState
578
- * runnable setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final
579
- * snapshot read after `const submenu = yield* Menu.makeState({ id: "share-menu" })` with
580
- * `SubmenuTrigger({ state, submenu, collection, id: "share", content: "Share" })`; render that Fx
581
- * before the same Scope closes.
582
473
  * @since 1.0.0
583
- * @category components
474
+ * @category Nested menus
584
475
  */
585
476
  export function SubmenuTrigger(options, host) {
586
477
  return Dom.renderHost()(options, host, submenuTriggerProps(options), options.content, (props, content) => html `<button ...${props}>${content}</button>`);
@@ -589,25 +480,12 @@ export function SubmenuTrigger(options, host) {
589
480
  * Renders Item with menuitemcheckbox semantics and caller-supplied checked state.
590
481
  *
591
482
  * @remarks
592
- * ## Why
593
- *
594
- * The component applies the family behavior while leaving callers free to supply a custom host
595
- * through the shared DOM boundary.
596
- *
597
- * ## Ownership and lifetime
598
- *
599
483
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
600
484
  * collection registrations only when rendered. The rendering Scope removes those resources;
601
485
  * unrelated nodes and attributes remain caller-owned.
602
486
  *
603
- * ## Example
604
- *
605
- * Import with `import { CheckboxItem } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
606
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
607
- * read with `CheckboxItem({ state, id: "autosave", checked: true, content: "Autosave" })`; render
608
- * that Fx before the same Scope closes.
609
487
  * @since 1.0.0
610
- * @category components
488
+ * @category Checked commands
611
489
  */
612
490
  export function CheckboxItem(options, host) {
613
491
  return Item({ ...options, role: "menuitemcheckbox" }, host);
@@ -616,25 +494,12 @@ export function CheckboxItem(options, host) {
616
494
  * Renders Item with menuitemradio semantics and caller-supplied checked state.
617
495
  *
618
496
  * @remarks
619
- * ## Why
620
- *
621
- * The component applies the family behavior while leaving callers free to supply a custom host
622
- * through the shared DOM boundary.
623
- *
624
- * ## Ownership and lifetime
625
- *
626
497
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
627
498
  * collection registrations only when rendered. The rendering Scope removes those resources;
628
499
  * unrelated nodes and attributes remain caller-owned.
629
500
  *
630
- * ## Example
631
- *
632
- * Import with `import { RadioItem } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
633
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
634
- * read with `RadioItem({ state, id: "compact", checked: false, content: "Compact" })`; render that
635
- * Fx before the same Scope closes.
636
501
  * @since 1.0.0
637
- * @category components
502
+ * @category Checked commands
638
503
  */
639
504
  export function RadioItem(options, host) {
640
505
  return Item({ ...options, role: "menuitemradio" }, host);
@@ -649,13 +514,6 @@ function groupProps(_options) {
649
514
  * Renders a labelled ARIA group inside menu content.
650
515
  *
651
516
  * @remarks
652
- * ## Why
653
- *
654
- * The component applies the family behavior while leaving callers free to supply a custom host
655
- * through the shared DOM boundary.
656
- *
657
- * ## Ownership and lifetime
658
- *
659
517
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
660
518
  * collection registrations only when rendered. The rendering Scope removes those resources;
661
519
  * unrelated nodes and attributes remain caller-owned.
@@ -667,7 +525,7 @@ function groupProps(_options) {
667
525
  * const view = Menu.Group({ label: "View", content: "Choices" });
668
526
  * ```
669
527
  * @since 1.0.0
670
- * @category components
528
+ * @category Command grouping
671
529
  */
672
530
  export function Group(options, host) {
673
531
  return Dom.renderHost()(options, host, groupProps(options), options.content, (props, content) => html `<div ...${props}>${content}</div>`);
@@ -676,24 +534,11 @@ export function Group(options, host) {
676
534
  * Consumer-facing alias of the canonical Menu component with identical behavior and lifetime.
677
535
  *
678
536
  * @remarks
679
- * ## Why
680
- *
681
- * The component applies the family behavior while leaving callers free to supply a custom host
682
- * through the shared DOM boundary.
683
- *
684
- * ## Ownership and lifetime
685
- *
686
537
  * The alias acquires nothing. Rendering it has exactly the canonical component's Scope and DOM
687
538
  * ownership contract.
688
539
  *
689
- * ## Example
690
- *
691
- * Import with `import { Dismiss } from "@typed/ui/Menu";` Extend the [Menu.makeState runnable
692
- * setup](/reference/%40typed%2Fui%2FMenu%23makeState). Replace the linked program's final snapshot
693
- * read with `Dismiss({ state, id: "close", content: "Close" })`; render that Fx before the same
694
- * Scope closes.
695
540
  * @since 1.0.0
696
- * @category components
541
+ * @category Commands
697
542
  */
698
543
  export const Dismiss = Item;
699
544
  function separatorProps(_options) {
@@ -706,13 +551,6 @@ function separatorProps(_options) {
706
551
  * Renders a separator with explicit horizontal or vertical orientation.
707
552
  *
708
553
  * @remarks
709
- * ## Why
710
- *
711
- * The component applies the family behavior while leaving callers free to supply a custom host
712
- * through the shared DOM boundary.
713
- *
714
- * ## Ownership and lifetime
715
- *
716
554
  * The returned Fx installs DOM refs, native listeners, state subscriptions, and optional
717
555
  * collection registrations only when rendered. The rendering Scope removes those resources;
718
556
  * unrelated nodes and attributes remain caller-owned.
@@ -724,7 +562,7 @@ function separatorProps(_options) {
724
562
  * const view = Menu.Separator({ orientation: "horizontal" });
725
563
  * ```
726
564
  * @since 1.0.0
727
- * @category components
565
+ * @category Command grouping
728
566
  */
729
567
  export function Separator(options, host) {
730
568
  return Dom.renderHost()(options, host, separatorProps(options), "", (props) => html `<hr ...${props} />`);