@ds-mo/ui 14.6.0 → 14.8.0

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 (154) hide show
  1. package/dist/.package-ready.json +1 -1
  2. package/dist/agent-patterns.json +6 -6
  3. package/dist/agent.json +316 -21
  4. package/dist/angular/ds-menu.d.ts +7 -1
  5. package/dist/angular/ds-menu.js +5 -2
  6. package/dist/angular/ds-select.d.ts +7 -1
  7. package/dist/angular/ds-select.js +5 -2
  8. package/dist/angular/ds-table-saved-views.d.ts +49 -0
  9. package/dist/angular/ds-table-saved-views.js +57 -0
  10. package/dist/angular/ds-table-toolbar.d.ts +12 -0
  11. package/dist/angular/ds-table-toolbar.js +38 -0
  12. package/dist/angular/ds-table.d.ts +7 -1
  13. package/dist/angular/ds-table.js +10 -4
  14. package/dist/angular/index.d.ts +1 -1
  15. package/dist/angular/index.js +2 -0
  16. package/dist/angular/proxies.d.ts +2 -0
  17. package/dist/angular/proxies.js +2 -0
  18. package/dist/components/ds-agent-questionnaire.js +1 -1
  19. package/dist/components/ds-agent-response.js +1 -1
  20. package/dist/components/ds-banner.js +1 -1
  21. package/dist/components/ds-bar-nav.js +1 -1
  22. package/dist/components/ds-bar-title.js +1 -1
  23. package/dist/components/ds-bar-workflow.js +1 -1
  24. package/dist/components/ds-button-unfilled.js +1 -1
  25. package/dist/components/ds-card-chart.js +1 -1
  26. package/dist/components/ds-card-setting.js +1 -1
  27. package/dist/components/ds-code-block.js +1 -1
  28. package/dist/components/ds-conversation-list-item.js +1 -1
  29. package/dist/components/ds-conversation-list-item.js.map +1 -1
  30. package/dist/components/ds-field.js +1 -1
  31. package/dist/components/ds-field.js.map +1 -1
  32. package/dist/components/ds-filter-menu.js +1 -1
  33. package/dist/components/ds-filter-menu.js.map +1 -1
  34. package/dist/components/ds-input.js +1 -1
  35. package/dist/components/ds-input.js.map +1 -1
  36. package/dist/components/ds-markdown.js +1 -1
  37. package/dist/components/ds-menu.js +1 -1
  38. package/dist/components/ds-message-actions.js +1 -1
  39. package/dist/components/ds-message-composer.js +1 -1
  40. package/dist/components/ds-message-scroller.js +1 -1
  41. package/dist/components/ds-mobile-header.js +1 -1
  42. package/dist/components/ds-mobile-section-switcher.js +1 -1
  43. package/dist/components/ds-mobile-sheet-nav.js +1 -1
  44. package/dist/components/ds-modal.js +1 -1
  45. package/dist/components/ds-modal.js.map +1 -1
  46. package/dist/components/ds-pagination.js +1 -1
  47. package/dist/components/ds-panel-nav.js +1 -1
  48. package/dist/components/ds-panel-tool-header.js +1 -1
  49. package/dist/components/ds-panel-tool-search.js +1 -1
  50. package/dist/components/ds-panel-tools.js +1 -1
  51. package/dist/components/ds-select.js +1 -1
  52. package/dist/components/ds-shell-app.js +1 -1
  53. package/dist/components/ds-shell-tools.js +1 -1
  54. package/dist/components/ds-table-saved-views.d.ts +11 -0
  55. package/dist/components/ds-table-saved-views.js +2 -0
  56. package/dist/components/ds-table-saved-views.js.map +1 -0
  57. package/dist/components/ds-table-toolbar.d.ts +11 -0
  58. package/dist/components/ds-table-toolbar.js +2 -0
  59. package/dist/components/ds-table-toolbar.js.map +1 -0
  60. package/dist/components/ds-table.js +1 -1
  61. package/dist/components/ds-table.js.map +1 -1
  62. package/dist/components/ds-toast.js +1 -1
  63. package/dist/components/ds-typing-indicator.js +1 -1
  64. package/dist/components/{p-C7-ylLcB.js → p-BCg_6ErW.js} +2 -2
  65. package/dist/components/p-BFSnIEsC.js +2 -0
  66. package/dist/components/p-BFSnIEsC.js.map +1 -0
  67. package/dist/components/p-BPnmiiIS.js +2 -0
  68. package/dist/components/p-BPnmiiIS.js.map +1 -0
  69. package/dist/components/p-BVmKcpyP.js +2 -0
  70. package/dist/components/p-BVmKcpyP.js.map +1 -0
  71. package/dist/components/p-BiTwXttN.js +2 -0
  72. package/dist/components/p-BiTwXttN.js.map +1 -0
  73. package/dist/components/{p-C5230yJY.js → p-BmWWU20X.js} +2 -2
  74. package/dist/components/{p-K_vg9Eng.js → p-BuGGwWmt.js} +2 -2
  75. package/dist/components/{p-DL12lNtv.js → p-Bv1CFHgD.js} +2 -2
  76. package/dist/components/{p-CDEME0Uc.js → p-C-L4InQ0.js} +2 -2
  77. package/dist/components/{p-BGQUiJuJ.js → p-C-Zgq_Fx.js} +2 -2
  78. package/dist/components/{p-BykcjUd6.js → p-C1jsgfeh.js} +2 -2
  79. package/dist/components/p-C1q-tq3U.js +2 -0
  80. package/dist/components/p-C1q-tq3U.js.map +1 -0
  81. package/dist/components/p-C6DNhlES.js +2 -0
  82. package/dist/components/p-C6DNhlES.js.map +1 -0
  83. package/dist/components/{p-BFDKKBYh.js → p-CoQSB3tl.js} +2 -2
  84. package/dist/components/{p-CCpJcSTE.js → p-CqbMoVDQ.js} +2 -2
  85. package/dist/components/{p-DJ-n-gyr.js → p-CvwtYbmh.js} +2 -2
  86. package/dist/components/{p-BAgjMUt3.js → p-Cxr0IQjC.js} +1 -1
  87. package/dist/components/p-Cxr0IQjC.js.map +1 -0
  88. package/dist/components/{p-os90t2-f.js → p-D5VglrfF.js} +2 -2
  89. package/dist/components/{p-BX-R5EhL.js → p-D5bPuNiF.js} +2 -2
  90. package/dist/components/{p-DTf90AyI.js → p-bQm3gfr1.js} +2 -2
  91. package/dist/components/{p-CTTDiW33.js → p-c_5SXjwx.js} +2 -2
  92. package/dist/components/p-c_5SXjwx.js.map +1 -0
  93. package/dist/docs/components.json +951 -20
  94. package/dist/lib/utils/choice-list.d.ts +8 -1
  95. package/dist/mcp-data/registry/button-unfilled.json +6 -6
  96. package/dist/mcp-data/registry/menu.json +40 -12
  97. package/dist/mcp-data/registry/registry.json +321 -20
  98. package/dist/mcp-data/registry/select.json +20 -3
  99. package/dist/mcp-data/registry/table-saved-views.json +383 -0
  100. package/dist/mcp-data/registry/table-toolbar.json +146 -0
  101. package/dist/mcp-data/registry/table.json +188 -11
  102. package/dist/react/components.d.ts +2 -0
  103. package/dist/react/components.js +2 -0
  104. package/dist/react/ds-menu.d.ts +2 -1
  105. package/dist/react/ds-menu.js +2 -1
  106. package/dist/react/ds-select.d.ts +2 -1
  107. package/dist/react/ds-select.js +2 -1
  108. package/dist/react/ds-table-saved-views.d.ts +17 -0
  109. package/dist/react/ds-table-saved-views.js +19 -0
  110. package/dist/react/ds-table-toolbar.d.ts +9 -0
  111. package/dist/react/ds-table-toolbar.js +12 -0
  112. package/dist/react/ds-table.d.ts +3 -1
  113. package/dist/react/ds-table.js +3 -1
  114. package/dist/styles/table.css +34 -1
  115. package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +4 -2
  116. package/dist/types/components/Menu/Menu.d.ts +18 -1
  117. package/dist/types/components/Menu/menu-reorder.d.ts +21 -0
  118. package/dist/types/components/Menu/menu-types.d.ts +12 -0
  119. package/dist/types/components/Select/Select.d.ts +7 -0
  120. package/dist/types/components/Select/index.d.ts +1 -1
  121. package/dist/types/components/Table/Table.d.ts +46 -1
  122. package/dist/types/components/Table/index.d.ts +1 -1
  123. package/dist/types/components/Table/table-column-customizer.d.ts +33 -0
  124. package/dist/types/components/Table/table-data-mode-switcher.d.ts +9 -0
  125. package/dist/types/components/Table/table-types.d.ts +10 -0
  126. package/dist/types/components/TableSavedViews/TableSavedViews.d.ts +61 -0
  127. package/dist/types/components/TableSavedViews/index.d.ts +2 -0
  128. package/dist/types/components/TableSavedViews/table-saved-views-types.d.ts +24 -0
  129. package/dist/types/components/TableToolbar/TableToolbar.d.ts +6 -0
  130. package/dist/types/components.d.ts +274 -8
  131. package/dist/types/utils/choice-list-parts.d.ts +1 -0
  132. package/dist/types/utils/choice-list.d.ts +8 -1
  133. package/package.json +1 -1
  134. package/dist/components/p-3r4TfcZX.js +0 -2
  135. package/dist/components/p-3r4TfcZX.js.map +0 -1
  136. package/dist/components/p-BAgjMUt3.js.map +0 -1
  137. package/dist/components/p-CRi7P5gQ.js +0 -2
  138. package/dist/components/p-CRi7P5gQ.js.map +0 -1
  139. package/dist/components/p-CTTDiW33.js.map +0 -1
  140. package/dist/components/p-tR8INOIN.js +0 -2
  141. package/dist/components/p-tR8INOIN.js.map +0 -1
  142. /package/dist/components/{p-C7-ylLcB.js.map → p-BCg_6ErW.js.map} +0 -0
  143. /package/dist/components/{p-C5230yJY.js.map → p-BmWWU20X.js.map} +0 -0
  144. /package/dist/components/{p-K_vg9Eng.js.map → p-BuGGwWmt.js.map} +0 -0
  145. /package/dist/components/{p-DL12lNtv.js.map → p-Bv1CFHgD.js.map} +0 -0
  146. /package/dist/components/{p-CDEME0Uc.js.map → p-C-L4InQ0.js.map} +0 -0
  147. /package/dist/components/{p-BGQUiJuJ.js.map → p-C-Zgq_Fx.js.map} +0 -0
  148. /package/dist/components/{p-BykcjUd6.js.map → p-C1jsgfeh.js.map} +0 -0
  149. /package/dist/components/{p-BFDKKBYh.js.map → p-CoQSB3tl.js.map} +0 -0
  150. /package/dist/components/{p-CCpJcSTE.js.map → p-CqbMoVDQ.js.map} +0 -0
  151. /package/dist/components/{p-DJ-n-gyr.js.map → p-CvwtYbmh.js.map} +0 -0
  152. /package/dist/components/{p-os90t2-f.js.map → p-D5VglrfF.js.map} +0 -0
  153. /package/dist/components/{p-BX-R5EhL.js.map → p-D5bPuNiF.js.map} +0 -0
  154. /package/dist/components/{p-DTf90AyI.js.map → p-bQm3gfr1.js.map} +0 -0
@@ -2015,7 +2015,7 @@
2015
2015
  "accessibility": [
2016
2016
  "Provide an explicit accessible name for every icon-only action.",
2017
2017
  "Set hasMenu when the button triggers a Menu; it implies aria-haspopup of menu. Pass controls with the Menu id and expanded from the same open state given to Menu. Expanded popup triggers hold only the pressed wash while open, without changing their resting foreground; expanded disclosure controls without popup semantics retain the normal resting appearance.",
2018
- "Give an icon-only menu button an accessible name that states the role, such as More options, because no visible label or chevron carries it.",
2018
+ "Give an icon-only menu button an accessible name that states the role, such as More options or Customize table, because no visible label or chevron carries it.",
2019
2019
  "Use haspopup directly for a non-menu popup such as a listbox or dialog; those cases get no chevron.",
2020
2020
  "Use pressed only for a genuine toggle button; it supplies aria-pressed and dsChange intent. Use isActive only for owner-controlled visual emphasis inside a composite whose selection semantics live on the owner.",
2021
2021
  "Treat notification dots as supplemental unread or status information; never use a dot as the sole state, meaning, or accessible name.",
@@ -2035,8 +2035,8 @@
2035
2035
  "Rounded changes only the control radius to the half-radius treatment; it does not change hierarchy, size, variant, or interaction semantics.",
2036
2036
  "Physical press scaling is on by default. Disable it only when an owning composite must keep child or background geometry fixed; hover and pressed interaction washes remain available.",
2037
2037
  "Icon and icon-label loading replace the icon in place. Label-only loading centers the loader while preserving the button's measured width.",
2038
- "hasMenu covers two distinct menu-button shapes and the variant selects between them. With label or icon-label the action has a menu, and a trailing chevron carries the affordance. With icon the button is a menu, meaning the overflow or more-options control, and no chevron is added.",
2039
- "Because the icon-only shape has no chevron, its glyph must convey the menu on its own; use Ellipses. Never pair hasMenu with an icon-only glyph that does not read as a menu.",
2038
+ "hasMenu covers two distinct menu-button shapes and the variant selects between them. With label or icon-label the action has a menu, and a trailing chevron carries the affordance. With icon the button is a menu and no chevron is added.",
2039
+ "Because the icon-only shape has no chevron, its glyph must convey the menu on its own. Use Ellipses for a generic more-options or overflow control. Use a specific icon when the menu has a named purpose, such as Preferences for Customize table.",
2040
2040
  "An open popup is a transient pressed state rather than a selected one. While expanded is true and haspopup or hasMenu identifies a popup, the pressed wash is held for the popup's complete rendered lifecycle and survives hover without promoting foreground or selected fill, including when chrome opts out of selected fills with activeFill set to false. Expanded disclosure buttons without popup semantics remain visually neutral."
2041
2041
  ],
2042
2042
  "responsiveBehavior": [
@@ -4605,7 +4605,7 @@
4605
4605
  {
4606
4606
  "name": "menu",
4607
4607
  "title": "Menu",
4608
- "description": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, switches, and destructive actions.",
4608
+ "description": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, prefix icons, reorderable rows, switches, and destructive actions.",
4609
4609
  "type": "registry:ui",
4610
4610
  "meta": {
4611
4611
  "library": "@ds-mo/ui",
@@ -4616,10 +4616,10 @@
4616
4616
  "intent": {
4617
4617
  "audience": "general",
4618
4618
  "status": "stable",
4619
- "summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, switches, and destructive actions.",
4619
+ "summary": "Anchored action menu with flat commands, grouped sections, single-selection choices, supplemental notification dots or trailing tags, prefix icons, reorderable rows, switches, and destructive actions.",
4620
4620
  "useWhen": [
4621
4621
  "A trigger reveals a short contextual list of commands or state-changing actions.",
4622
- "Actions need grouping, mutually exclusive selected state, supplemental notification dots or trailing tags, switch rows, or destructive treatment."
4622
+ "Actions need grouping, mutually exclusive selected state, supplemental notification dots or trailing tags, prefix icons, reorderable switch or command rows, or destructive treatment."
4623
4623
  ],
4624
4624
  "avoidWhen": [
4625
4625
  "The user is selecting a value for a form field.",
@@ -4660,17 +4660,21 @@
4660
4660
  "Single-selection menus use menuitemradio semantics and aria-checked on each row, but render no nested radio control; selected interaction fill and primary foreground provide the visual state.",
4661
4661
  "A swatch-picker section changes the popup to a non-modal dialog so its radio group and ordinary preference buttons keep valid nested semantics; Tab moves between its controls, then leaves and closes at the popup boundary.",
4662
4662
  "Use notification dots only as supplemental status and not as the sole indication of important information.",
4663
- "Trailing tags are non-interactive supplemental content; their visible label remains part of the menu item's accessible name."
4663
+ "Trailing tags are non-interactive supplemental content; their visible label remains part of the menu item's accessible name.",
4664
+ "Reorderable rows keep a presentation Drag handle. Pointer drag on the handle and Alt+Arrow Up or Down emit dsReorder without closing. Pointer cancellation abandons the pending move. Hide-locked reorderable rows expose aria-disabled for the unavailable toggle but stay focusable so they can move; fully locked rows stay out of the contiguous reorderable run.",
4665
+ "Announce the new position through a polite live region that is a sibling of the role=menu popup, so the menu retains only permitted descendants."
4664
4666
  ],
4665
4667
  "states": [
4666
4668
  "The host owns open state and responds to selection and close events.",
4667
4669
  "Use either flat items or sections, not both.",
4668
4670
  "After dsSelect from a switch row, replace the items or sections array with updated switchValue data so the controlled indicator reflects the new state.",
4671
+ "After dsReorder, replace items or the affected section with the emitted items array. Menu never mutates order and does not close.",
4669
4672
  "For selectionMode single, keep exactly one item isSelected and replace the items or sections array after dsSelect; Menu never mutates consumer-owned selection data.",
4670
4673
  "Arrays, objects, and element anchors must be assigned as JavaScript properties.",
4671
4674
  "Use a swatch-picker section for a small curated visual preference and apply dsSwatchSelect immediately without closing the popup.",
4672
4675
  "Ordinary rows, section headings, and supporting text consume the Menu size. At xs, both the primary label and supporting text use caption metrics.",
4673
- "A trailing tag resolves one density smaller than its menu row so it nests without changing row height. Do not combine tag, dot, and switch suffixes on one item."
4676
+ "A trailing tag resolves one density smaller than its menu row and uses the inset recipe so it nests without changing row height. Do not combine tag, dot, and switch suffixes on one item.",
4677
+ "Reorderable rows use the Drag prefix and ignore icon. Prefix and drag-handle icons inherit the choice-popup secondary foreground, matching Select. When any row in a section has an icon or is reorderable, the remaining rows get a spacer so labels align."
4674
4678
  ],
4675
4679
  "responsiveBehavior": [
4676
4680
  "Keep the default choice-cell anchor alignment so the first or last interactive row edge aligns with its trigger, matching Select; use popup-frame only for deliberate custom frame geometry.",
@@ -4679,13 +4683,14 @@
4679
4683
  ],
4680
4684
  "frameworkCaveats": {
4681
4685
  "customElements": [
4682
- "Assign items, sections, and HTMLElement anchors as properties after the element is defined."
4686
+ "Assign items, sections, and HTMLElement anchors as properties after the element is defined.",
4687
+ "Handle dsReorder by replacing the items or section items with the emitted items array; Menu never mutates order."
4683
4688
  ],
4684
4689
  "react": [
4685
- "Pass arrays and objects as wrapper props and handle generated onDsSelect and onDsClose event props."
4690
+ "Pass arrays and objects as wrapper props and handle generated onDsSelect, onDsReorder, and onDsClose event props."
4686
4691
  ],
4687
4692
  "angular": [
4688
- "Use property bindings for arrays, objects, and anchors and event bindings for dsSelect and dsClose."
4693
+ "Use property bindings for arrays, objects, and anchors and event bindings for dsSelect, dsReorder, and dsClose."
4689
4694
  ]
4690
4695
  },
4691
4696
  "references": [
@@ -4774,6 +4779,10 @@
4774
4779
  "name": "dsClose",
4775
4780
  "detail": "void"
4776
4781
  },
4782
+ {
4783
+ "name": "dsReorder",
4784
+ "detail": "MenuReorderDetail"
4785
+ },
4777
4786
  {
4778
4787
  "name": "dsSelect",
4779
4788
  "detail": "MenuItemData"
@@ -4792,10 +4801,12 @@
4792
4801
  },
4793
4802
  "dependencies": [
4794
4803
  "@ds-mo/ui",
4795
- "@ds-mo/tokens"
4804
+ "@ds-mo/tokens",
4805
+ "@ds-mo/icons"
4796
4806
  ],
4797
4807
  "registryDependencies": [
4798
4808
  "badge",
4809
+ "icon",
4799
4810
  "swatch-picker",
4800
4811
  "switch",
4801
4812
  "tag",
@@ -7222,6 +7233,7 @@
7222
7233
  "When any option supplies subtext, every row uses the same subtext structure and missing values render an em dash. Subtext should disambiguate or add decision-helpful information.",
7223
7234
  "Option labels and the selected trigger label stay on one line and truncate when constrained. Option subtext may wrap to at most two lines.",
7224
7235
  "Use an option action only for a contextual menu about that user-managed option. The fixed ellipsis action appears on hover, keyboard activity, focus, and touch; expanded keeps it visible while its controlled menu is open. Activating it emits dsOptionAction without selecting the option or closing the Select popup.",
7236
+ "Use option subtextActions for a compact set of immediate actions that belong to one option. They render beneath only that option's label using the standard supporting-text inset and rhythm, use action or negative semantic color, and emit dsOptionSubtextAction without selecting the option or closing the popup. Unlike descriptive subtext, they do not reserve a blank supporting line on neighboring options.",
7225
7237
  "The optional prefix icon and trailing indicator always use the parent surface's secondary foreground color, including when a selected value promotes the label to primary. The default down indicator communicates disclosure; up-down is reserved for compact value steppers such as pagination page size.",
7226
7238
  "While the popup is open, the trigger holds the pressed interaction wash without changing its resting foreground or selected-value treatment.",
7227
7239
  "The shared popup search control follows the Select density, using the same text, icon, and internal spacing as a borderless trigger. Its container uses menu-item padding on every side and owns a 1px bottom divider that becomes a 1.5px bold-brand stroke while search has focus. Search placeholder text is secondary at rest and quaternary while focused because it becomes decorative once the editable field is active.",
@@ -7247,7 +7259,7 @@
7247
7259
  "Assign options, sections, and multiple-mode array values through JavaScript properties because arrays and objects cannot be represented safely as attributes."
7248
7260
  ],
7249
7261
  "react": [
7250
- "Pass options or sections as wrapper props, set multiple for array values, and handle onDsChange, onDsClear, onDsOpenChange, onDsFooterAction, and onDsOptionAction."
7262
+ "Pass options or sections as wrapper props, set multiple for array values, and handle onDsChange, onDsClear, onDsOpenChange, onDsFooterAction, onDsOptionAction, and onDsOptionSubtextAction."
7251
7263
  ],
7252
7264
  "angular": [
7253
7265
  "Import DsSelect and SelectValueAccessor when integrating with Angular Forms; bind options and sections as properties."
@@ -7434,6 +7446,10 @@
7434
7446
  {
7435
7447
  "name": "dsOptionAction",
7436
7448
  "detail": "SelectOptionActionDetail"
7449
+ },
7450
+ {
7451
+ "name": "dsOptionSubtextAction",
7452
+ "detail": "SelectOptionSubtextActionDetail"
7437
7453
  }
7438
7454
  ],
7439
7455
  "slots": [],
@@ -8831,7 +8847,7 @@
8831
8847
  "summary": "Semantic, controlled data table with durable visual primitives for cell geometry, grouping, sorting, multi-selection, sticky overflow, incremental loading, and top-level pagination.",
8832
8848
  "useWhen": [
8833
8849
  "A structured dataset needs native row and column relationships, optional one-level grouping, or comparable values across records.",
8834
- "An application needs controlled sorting, loaded-row selection, infinite loading, or pagination while retaining ownership of the data query and transformations.",
8850
+ "An application needs controlled sorting, loaded-row selection, infinite loading, pagination, or opted-in table-owned data-mode and column controls while retaining ownership of the data query, catalog, and persistence.",
8835
8851
  "A product table needs a token-backed recipe whose individual header, group, row, cell, selection, state, and load-more layers remain easy to restyle."
8836
8852
  ],
8837
8853
  "avoidWhen": [
@@ -8845,6 +8861,8 @@
8845
8861
  "component:ds-skeleton",
8846
8862
  "component:ds-loader",
8847
8863
  "component:ds-pagination",
8864
+ "component:ds-table-toolbar",
8865
+ "component:ds-table-saved-views",
8848
8866
  "component:ds-bar-action",
8849
8867
  "component:ds-button-unfilled",
8850
8868
  "component:ds-menu",
@@ -8856,7 +8874,9 @@
8856
8874
  "pattern:menu-trigger"
8857
8875
  ],
8858
8876
  "accessibility": [
8859
- "The rendered structure uses a native table, caption, column headers, row groups, and data cells; keep the caption non-empty. The native caption remains visually hidden as the table's accessible name. When caption visibility is enabled, a 48px header bar renders as component chrome outside the horizontal scrollport. It defaults to a presentational caption title that does not duplicate the accessible name. Application-owned labeled controls supplied through the single named header slot replace that fallback and receive the complete content width inside the component-owned 8px inset, so the application can compose its own control groups and alignment without table-defined leading or trailing zones.",
8877
+ "The rendered structure uses a native table, caption, column headers, row groups, and data cells; keep the caption non-empty. The native caption remains visually hidden as the table's accessible name. When caption visibility is enabled, a 48px header bar renders as component chrome outside the horizontal scrollport. It defaults to a presentational caption title that does not duplicate the accessible name. Application-owned labeled controls supplied through the single named header slot replace that fallback and occupy the leading content width inside the component-owned 8px inset. When columnCustomizer is enabled, the table adds a trailing Preferences control named Customize table; otherwise the header slot receives the complete content width.",
8878
+ "The data-mode switcher is the shared Menu of the table's supported infinite and pagination modes. It is the final caption-bar action; when the column customizer is also present, a decorative vertical divider separates the two controls. dataMode remains controlled, and the application responds to change intent by supplying the matching records, pagination state, loading behavior, and query consequences. Escape, dismissal, and selection return focus to the trigger.",
8879
+ "The column customizer is the shared Menu of switch rows, not a table-owned dialog. Data columns can be shown, hidden, and reordered. Locked action columns stay visible, inactive, and last. The selection checkbox is not a column and never appears. The last remaining visible data column cannot be hidden, but it stays focusable so it can still be reordered. Escape and outside click restore focus to the trigger. Persistence stays in the application.",
8860
8880
  "Sorting controls remain buttons inside column headers and expose the table's one controlled member-row sort through aria-sort. Grouping never adds a second sort indicator or header control; the application supplies groups in its fixed product order.",
8861
8881
  "Selection controls expose checkbox semantics and explicit row names; select-all affects selectable loaded rows only and preserves selected identities outside the loaded window. When grouping is active with multi-selection, each group section header also exposes a checkbox that selects or clears that group's selectable loaded rows.",
8862
8882
  "Interactive rows are focusable as native rows, activate with Enter or Space, and do not steal activation from their nested selection, action, overflow-menu, or primary-text link controls.",
@@ -8865,8 +8885,9 @@
8865
8885
  "Static and infinite tables may show an optional result summary footer when displayedCount and totalCount are finite. Pagination mode instead renders a named Pagination control with a compact selected-size total, vertical divider, and page position; range changes are announced independently with complete phrasing. While focus is anywhere inside a paginated table, unmodified Left and Right Arrow request the adjacent page; editable fields, choice controls, sliders, and modified key combinations retain their own keyboard behavior. The footer slot can replace summary copy, while footer-leading and footer-trailing remain available in the same compact-bar anatomy."
8866
8886
  ],
8867
8887
  "states": [
8868
- "Columns, rows, groups, grouping, sorting, selected row IDs, collapsed group IDs, dataMode, pagination, displayedCount, totalCount, and incremental-loading state are controlled inputs. Events communicate intent and never mutate those inputs. The optional header is one full-width composable table-local surface: the component owns its 48px chrome, 8px inset on every side, and sticky placement while the application owns all internal layout, controls, labels, filtering behavior, and action handling. The footer retains its compact-bar composition: application-owned leading status sits left while a controlled result summary or Pagination aligns right, before any trailing action. Content-sized tables remain natural for sparse or fixed-count results. height bounds the complete header, frame, and footer composition. fitViewport reserves the compact-state composition height in the nearest vertical scrollport while growing the visible table into that reservation as surrounding page chrome collapses.",
8888
+ "Columns, rows, groups, grouping, sorting, selected row IDs, collapsed group IDs, hiddenColumnIds, columnOrder, dataMode, pagination, displayedCount, totalCount, and incremental-loading state are controlled inputs. Events communicate intent and never mutate those inputs. The optional header is one composable table-local surface: the component owns its 48px chrome, 8px inset on every side, and sticky placement while the application owns the leading slot's internal layout, controls, labels, filtering behavior, and action handling. Opting into dataModeSwitcher and columnCustomizer adds their trailing Menu triggers and requires caption visibility. When both are present, Customize table precedes a decorative divider and the data-mode trigger remains the final action. The table closes one trailing Menu before opening the other. The footer retains its compact-bar composition: application-owned leading status sits left while a controlled result summary or Pagination aligns right, before any trailing action. Content-sized tables remain natural for sparse or fixed-count results. height bounds the complete header, frame, and footer composition. fitViewport reserves the compact-state composition height in the nearest vertical scrollport while growing the visible table into that reservation as surrounding page chrome collapses.",
8869
8889
  "Grouping supports one level. The application supplies groups in a fixed product-defined order and supplies ordered member rows independently. Group section headers show an emphasized text-body-medium label followed by a middle dot and plain secondary loaded progress, for example Critical · 50 of 166. The loaded value comes from the supplied member rows and the total comes from totalCount. A localized countLabel total phrase remains available for the complete assistive progress announcement. Groups may declare an optional intent (brand, neutral, negative, warning, caution, positive) that paints an LTR gradient from the faint intent surface at the label edge into faint neutral at the trailing edge, plus a bold intent title color. Neutral groups remain solid faint neutral. Section separators are painted inside that viewport-width surface so translucent border tokens composite with each intent background. Internal sections keep their separators; a collapsed or empty section header yields its separator only when it is the table's final rendered item. A trailing visually neutral icon-only ButtonUnfilled uses the 24px md double-inset action recipe and toggles controlled collapsedGroupIds, showing ChevronUp while expanded and ChevronDown while collapsed. While any group is expanded, a ChevronDownUp action uses the xs sort-control recipe widened to a table-owned 24px lane and collapses every group. It appears at the inline-end edge of the trailing column declared with kind action when one exists; otherwise a button-hugging 24px by 16px medium-elevation surface floats at the visible scrollport's header edge so the action remains reachable while member columns scroll beneath it. With stickyHeader enabled, each contained section uses its one real section row as a native sticky header inside its real row-group boundary. The browser therefore owns pinning, push-off, scrolling, and resize layout in one pass without a duplicated lane, active-section state, transforms, or scroll-time geometry. Shared grid tracks retain exact header and member-cell alignment. The section surface also stays pinned to the visible horizontal scrollport and spans the smaller of the visible viewport or table width.",
8890
+ "When columnCustomizer is false, columns render in catalog order. When it is true, columns remains the catalog: hiddenColumnIds and columnOrder control visibility and data-column sequence, action columns stay last and cannot be hidden, and dsColumnsConfigChange reports the next hidden ids and data-column order without mutating those inputs. The customizer Menu live-applies show/hide and data-column reorder. The table does not persist preferences.",
8870
8891
  "An active member sort toggles only between ascending and descending; activating a different sortable label moves the one sorting state to that key. Applications may still clear the controlled sort state explicitly. Grouping does not introduce another interactive direction.",
8871
8892
  "Compound headers can expose multiple related labels with independent sort keys. Each label owns only its content-width interaction target while the active direction remains in the column's alignment-aware sort lane.",
8872
8893
  "Initial loading defaults to ten row-shaped skeletons and preserves row dividers, column dividers, selection lanes, and sticky boundaries. A selectable table renders a checkbox-sized control skeleton in its selection lane so loading geometry matches the real checkbox instead of a generic icon. Each column may declare representative text, multiline text, image, Tag, icon, icon-and-text, action, or intentionally blank loading geometry; the table applies the matching resolved-cell padding and track anatomy so the placeholder row has the same height and rhythm as its data row. Columns without a declaration use one text line, while action columns infer an icon action placeholder. Empty, initial error, load-more, retry, loading-more, and terminal bands remain fixed to the visible table width while data columns scroll horizontally beneath them. Incremental loading retains existing rows and supports automatic sentinel, manual load-more, retry, and terminal states. When grouping is active, each expanded group owns its load band at the end of its member rows; internal group load bands keep their bottom divider, while a terminal group load band yields it to the table edge or footer. The global bottom-of-table loader is not rendered.",
@@ -8882,21 +8903,22 @@
8882
8903
  "stickyHeader follows the active vertical scroll owner: a maxHeight, height, or fitViewport table keeps its native header and group sections inside one bounded table scrollport, while a document-flow table retains a semantic native header and renders a sticky control header whose columns follow the body's native inline scroll timeline. Consumers set --ds-table-sticky-header-offset when page chrome occupies an unbounded document scrollport edge. When the 48px table header bar is visible, it sticks at that external offset and the column header stacks immediately below it.",
8883
8904
  "fitViewport uses viewportInsetBlockStart and viewportInsetBlockEnd to describe compact surrounding chrome and page gutters relative to the nearest vertical scroll owner. Before the table reaches that compact position, its host reserves the eventual height while the visible composition grows and vertical input remains owned by the outer page. Once settled, the internal table viewport becomes the vertical scroll owner. Bounded grouped tables use browser-native sticky section rows inside real block row-group boundaries, so scroll and resize do not run component JavaScript or trigger reactive section swaps. Document-flow tables retain the synchronized visual lane required by their separate horizontal scrollport.",
8884
8905
  "Without maxHeight the table grows the document and automatic lazy loading observes the browser viewport. Horizontal scrolling chains vertical wheel and trackpad movement to the page instead of trapping it.",
8885
- "Explicit column sizes establish the horizontal overflow width; unsized columns share remaining space.",
8906
+ "Explicit column sizes establish the horizontal overflow width; unsized columns share remaining space. Set imageTracks on an image column to derive its fixed width from the matching 1-, 2-, or 3-track 16:9 image geometry plus table cell padding instead of copying a numeric width.",
8886
8907
  "Prefer the named xs through xl column sizes, which resolve through TokoMo's table-column width tokens; numeric pixel sizes remain an escape hatch for exceptional application-owned widths.",
8887
8908
  "Column headers use one 32px geometry. Body rows use a 40px single-track minimum with shared 8px cell padding; additional tracks grow downward. Image previews fill the same content box as their declared track count. The second text track and the third text track share one subdued body-small recipe so line 3 lines up with line 2.",
8888
8909
  "Long content truncates to one line by default. Hover (or keyboard-focus a primary link) shows the omitted value in one table-owned tooltip when that track overflows. maxLines 2 or 3 wrap onto the named 2-track and 3-track row heights, then ellipsize with the same tooltip. wrap: true remains unlimited and does not show a truncation tooltip. Wrapping 1-track primary occupies the named 2-track and 3-track row heights instead of a private line-height scale. Wrapping secondary on a 2-track cell occupies the named 3-track row and a 106px fourth track for three lines."
8889
8910
  ],
8890
8911
  "frameworkCaveats": {
8891
8912
  "customElements": [
8892
- "Assign columns, rows, groups, grouping, sort, selectedRowIds, collapsedGroupIds, pagination, displayedCount, and totalCount through JavaScript properties rather than HTML attribute strings.",
8913
+ "Assign columns, rows, groups, grouping, sort, selectedRowIds, collapsedGroupIds, hiddenColumnIds, columnOrder, pagination, displayedCount, and totalCount through JavaScript properties rather than HTML attribute strings.",
8893
8914
  "When an action cell supplies items, the table opens one shared ds-menu from the Ellipses trigger; dsCellAction fires for the selected command, not for opening or closing the menu.",
8915
+ "When columnCustomizer is enabled, the Preferences trigger opens the same shared ds-menu of reorderable switch rows; toggling a switch or reordering a row emits dsColumnsConfigChange and does not close the menu.",
8894
8916
  "Overflowing text tracks present one shared ds-tooltip with the omitted value. Unlimited wrapping tracks and disabled rows never show it. The tooltip is not linked with aria-describedby because the full string remains in the cell.",
8895
- "Replace controlled property values in response to dsSortChange, dsGroupCollapseChange, dsSelectionChange, dsLoadMore, dsGroupLoadMore, and dsPaginationChange; route dsRowActivate in the application owner."
8917
+ "Replace controlled property values in response to dsSortChange, dsGroupCollapseChange, dsSelectionChange, dsLoadMore, dsGroupLoadMore, dsPaginationChange, and dsColumnsConfigChange; route dsRowActivate in the application owner. When columnCustomizer is enabled, keep columns as the full catalog and replace hiddenColumnIds and columnOrder from that event."
8896
8918
  ],
8897
8919
  "react": [
8898
8920
  "Pass new array and state-object references when the controlled data or query state changes.",
8899
- "Apply emitted sort, collapse, selection, action, pagination, or global/group loading detail to application state and perform data transformations in the owning layer."
8921
+ "Apply emitted sort, collapse, selection, action, pagination, column-customizer, or global/group loading detail to application state and perform data transformations in the owning layer."
8900
8922
  ],
8901
8923
  "angular": [
8902
8924
  "Bind complex table inputs as properties and update the controlled values from the corresponding output events.",
@@ -8931,6 +8953,14 @@
8931
8953
  "type": "string[]",
8932
8954
  "required": false
8933
8955
  },
8956
+ "columnCustomizer": {
8957
+ "type": "boolean",
8958
+ "required": false
8959
+ },
8960
+ "columnOrder": {
8961
+ "type": "string[]",
8962
+ "required": false
8963
+ },
8934
8964
  "columns": {
8935
8965
  "type": "TableColumn[]",
8936
8966
  "required": false
@@ -8939,6 +8969,18 @@
8939
8969
  "type": "TableDataMode",
8940
8970
  "required": false
8941
8971
  },
8972
+ "dataModeMenuLabel": {
8973
+ "type": "string",
8974
+ "required": false
8975
+ },
8976
+ "dataModeSwitcher": {
8977
+ "type": "boolean",
8978
+ "required": false
8979
+ },
8980
+ "dataModeSwitcherLabel": {
8981
+ "type": "string",
8982
+ "required": false
8983
+ },
8942
8984
  "displayedCount": {
8943
8985
  "type": "number | undefined",
8944
8986
  "required": false
@@ -9015,6 +9057,14 @@
9015
9057
  "type": "string | number | undefined",
9016
9058
  "required": false
9017
9059
  },
9060
+ "hiddenColumnIds": {
9061
+ "type": "string[]",
9062
+ "required": false
9063
+ },
9064
+ "infiniteModeLabel": {
9065
+ "type": "string",
9066
+ "required": false
9067
+ },
9018
9068
  "loadIdentity": {
9019
9069
  "type": "string | number",
9020
9070
  "required": false
@@ -9055,6 +9105,10 @@
9055
9105
  "type": "TablePaginationState | null",
9056
9106
  "required": false
9057
9107
  },
9108
+ "paginationModeLabel": {
9109
+ "type": "string",
9110
+ "required": false
9111
+ },
9058
9112
  "resultSummaryLabel": {
9059
9113
  "type": "string",
9060
9114
  "required": false
@@ -9113,6 +9167,14 @@
9113
9167
  "name": "dsCellAction",
9114
9168
  "detail": "TableCellActionDetail"
9115
9169
  },
9170
+ {
9171
+ "name": "dsColumnsConfigChange",
9172
+ "detail": "TableColumnsConfigChangeDetail"
9173
+ },
9174
+ {
9175
+ "name": "dsDataModeChange",
9176
+ "detail": "TableDataModeChangeDetail"
9177
+ },
9116
9178
  {
9117
9179
  "name": "dsGroupCollapseChange",
9118
9180
  "detail": "TableGroupCollapseChangeDetail"
@@ -9157,6 +9219,7 @@
9157
9219
  "registryDependencies": [
9158
9220
  "button-unfilled",
9159
9221
  "checkbox",
9222
+ "divider",
9160
9223
  "empty-state",
9161
9224
  "icon",
9162
9225
  "loader",
@@ -9168,6 +9231,244 @@
9168
9231
  "tooltip"
9169
9232
  ]
9170
9233
  },
9234
+ {
9235
+ "name": "table-saved-views",
9236
+ "title": "TableSavedViews",
9237
+ "description": "Controlled saved-views UI for table toolbars, including selection, dirty state, create, save, discard, rename, remove, validation, and focus behavior without owning table configuration or persistence.",
9238
+ "type": "registry:ui",
9239
+ "meta": {
9240
+ "library": "@ds-mo/ui",
9241
+ "distribution": "npm",
9242
+ "storybook": "https://zainadeel.github.io/compomo/?path=/story/table-saved-views",
9243
+ "source": "src/wc/components/TableSavedViews/TableSavedViews.tsx",
9244
+ "intentStatus": "complete",
9245
+ "intent": {
9246
+ "audience": "general",
9247
+ "status": "stable",
9248
+ "summary": "Controlled saved-views UI for table toolbars, including selection, dirty state, create, save, discard, rename, remove, validation, and focus behavior without owning table configuration or persistence.",
9249
+ "useWhen": [
9250
+ "A table workspace lets people recall and manage named combinations of table controls.",
9251
+ "Several products need the same saved-view interaction while retaining different view payloads and storage systems."
9252
+ ],
9253
+ "avoidWhen": [
9254
+ "The choices do not represent restorable table configurations.",
9255
+ "The application expects the component to serialize filters, grouping, sorting, columns, pagination, or product-specific state."
9256
+ ],
9257
+ "commonlyComposedWith": [
9258
+ "component:ds-table-toolbar",
9259
+ "component:ds-table",
9260
+ "component:ds-select",
9261
+ "component:ds-menu",
9262
+ "component:ds-modal"
9263
+ ],
9264
+ "patterns": [
9265
+ "pattern:menu-trigger"
9266
+ ],
9267
+ "accessibility": [
9268
+ "The primary control retains combobox semantics and exposes a direct accessible name.",
9269
+ "Each custom view exposes a separately named options trigger. The options menu supports keyboard navigation and returns focus through the shared Select and Menu behavior.",
9270
+ "The naming dialog traps focus through Modal behavior, associates validation text with the input through Field, and restores focus to the saved-views control after closing."
9271
+ ],
9272
+ "states": [
9273
+ "views, value, and dirty are controlled. Selection, create, save, discard, rename, and remove events communicate intent and never mutate application records.",
9274
+ "The component owns only transient interaction state: the contextual menu, naming dialog, draft name, duplicate-name validation, and focus restoration.",
9275
+ "The default view is a non-editable template. Application-owned custom views appear in a separate section with Rename and Remove actions. New view opens the naming dialog. When an editable selected view is dirty, that view row shows Save and negative Discard supporting actions while the footer remains dedicated to New view. The application decides which table state to capture, restore, and persist."
9276
+ ],
9277
+ "responsiveBehavior": [
9278
+ "The control remains a single toolbar item and relies on Select, Menu, and Modal collision and viewport behavior.",
9279
+ "Place it in the leading region of ds-table-toolbar so narrow table headers preserve the expected control order."
9280
+ ],
9281
+ "frameworkCaveats": {
9282
+ "customElements": [
9283
+ "Assign views through the JavaScript property and update value after handling dsViewChange."
9284
+ ],
9285
+ "react": [
9286
+ "Keep view records and serialized table configuration in application state; update controlled props in response to the component events."
9287
+ ],
9288
+ "angular": [
9289
+ "Import the generated DsTableSavedViews adapter and bind views, value, and dirty; handle event.detail for selection and mutations."
9290
+ ]
9291
+ },
9292
+ "references": [
9293
+ {
9294
+ "label": "Storybook review states",
9295
+ "path": "src/wc/components/TableSavedViews/TableSavedViews.stories.ts"
9296
+ },
9297
+ {
9298
+ "label": "Toolbar composition owner",
9299
+ "path": "src/wc/components/TableToolbar/TableToolbar.agent.json"
9300
+ }
9301
+ ]
9302
+ },
9303
+ "props": {
9304
+ "createLabel": {
9305
+ "type": "string",
9306
+ "required": false
9307
+ },
9308
+ "defaultViewId": {
9309
+ "type": "string",
9310
+ "required": false
9311
+ },
9312
+ "defaultViewLabel": {
9313
+ "type": "string",
9314
+ "required": false
9315
+ },
9316
+ "dirty": {
9317
+ "type": "boolean",
9318
+ "required": false
9319
+ },
9320
+ "label": {
9321
+ "type": "string",
9322
+ "required": false
9323
+ },
9324
+ "triggerLabel": {
9325
+ "type": "string",
9326
+ "required": false
9327
+ },
9328
+ "value": {
9329
+ "type": "string",
9330
+ "required": false
9331
+ },
9332
+ "views": {
9333
+ "type": "TableSavedView[]",
9334
+ "required": false
9335
+ }
9336
+ },
9337
+ "events": [
9338
+ {
9339
+ "name": "dsViewChange",
9340
+ "detail": "TableSavedViewChangeDetail"
9341
+ },
9342
+ {
9343
+ "name": "dsViewCreate",
9344
+ "detail": "TableSavedViewCreateDetail"
9345
+ },
9346
+ {
9347
+ "name": "dsViewDiscard",
9348
+ "detail": "TableSavedViewDiscardDetail"
9349
+ },
9350
+ {
9351
+ "name": "dsViewRemove",
9352
+ "detail": "TableSavedViewRemoveDetail"
9353
+ },
9354
+ {
9355
+ "name": "dsViewRename",
9356
+ "detail": "TableSavedViewRenameDetail"
9357
+ },
9358
+ {
9359
+ "name": "dsViewSave",
9360
+ "detail": "TableSavedViewSaveDetail"
9361
+ }
9362
+ ],
9363
+ "slots": [],
9364
+ "exports": {
9365
+ "customElement": "ds-table-saved-views",
9366
+ "react": "DsTableSavedViews",
9367
+ "angular": "DsTableSavedViews"
9368
+ }
9369
+ },
9370
+ "dependencies": [
9371
+ "@ds-mo/ui",
9372
+ "@ds-mo/tokens"
9373
+ ],
9374
+ "registryDependencies": [
9375
+ "button-filled",
9376
+ "button-unfilled",
9377
+ "field",
9378
+ "input",
9379
+ "menu",
9380
+ "modal",
9381
+ "select"
9382
+ ]
9383
+ },
9384
+ {
9385
+ "name": "table-toolbar",
9386
+ "title": "TableToolbar",
9387
+ "description": "Data-agnostic companion layout for application-owned controls in a table header, with leading and trailing control groups and narrow-width horizontal overflow.",
9388
+ "type": "registry:ui",
9389
+ "meta": {
9390
+ "library": "@ds-mo/ui",
9391
+ "distribution": "npm",
9392
+ "storybook": "https://zainadeel.github.io/compomo/?path=/story/table-toolbar",
9393
+ "source": "src/wc/components/TableToolbar/TableToolbar.tsx",
9394
+ "intentStatus": "complete",
9395
+ "intent": {
9396
+ "audience": "general",
9397
+ "status": "stable",
9398
+ "summary": "Data-agnostic companion layout for application-owned controls in a table header, with leading and trailing control groups and narrow-width horizontal overflow.",
9399
+ "useWhen": [
9400
+ "Several table pages repeat the same leading discovery controls and trailing result-shaping controls.",
9401
+ "A ds-table header slot needs consistent control spacing, alignment, grouping, and narrow-width overflow without moving product behavior into the table."
9402
+ ],
9403
+ "avoidWhen": [
9404
+ "The controls do not operate on a table or structured result set.",
9405
+ "The application expects the toolbar to define filters, saved views, grouping choices, persistence, or data transformations.",
9406
+ "Only one standalone control is present and needs no grouped toolbar semantics."
9407
+ ],
9408
+ "commonlyComposedWith": [
9409
+ "component:ds-table",
9410
+ "component:ds-table-saved-views",
9411
+ "component:ds-input",
9412
+ "component:ds-filter-menu",
9413
+ "component:ds-button-unfilled"
9414
+ ],
9415
+ "patterns": [],
9416
+ "accessibility": [
9417
+ "The component exposes a named toolbar while each slotted control retains its own accessible name and native keyboard behavior.",
9418
+ "Use the leading slot for discovery and context controls such as saved views and search. Use the trailing slot for result-shaping controls such as filters and grouping.",
9419
+ "Tab order follows authored DOM order. The toolbar does not add roving focus because it may contain heterogeneous form and popup controls."
9420
+ ],
9421
+ "states": [
9422
+ "The component owns layout only. Slotted controls, values, menus, loading, persistence, and consequences remain controlled by the application. Use ds-table-saved-views when saved-view interaction needs the shared CompoMo behavior while application storage remains external.",
9423
+ "Either region may be empty. The populated region continues to occupy the available width without adding placeholder chrome."
9424
+ ],
9425
+ "responsiveBehavior": [
9426
+ "The two control groups stay on one line and horizontally scroll when their complete controls no longer fit.",
9427
+ "The scrollbar is visually suppressed without removing touch, trackpad, mouse-wheel, or keyboard scrolling from the overflow container.",
9428
+ "Trailing controls remain grouped after leading controls; the toolbar does not collapse controls into an application-specific overflow menu."
9429
+ ],
9430
+ "frameworkCaveats": {
9431
+ "customElements": [
9432
+ "Project controls through slot=leading or slot=trailing and provide a label that names their table context when Table controls is insufficient."
9433
+ ],
9434
+ "react": [
9435
+ "Set slot=leading or slot=trailing on each child control; keep values and event handlers in the application."
9436
+ ],
9437
+ "angular": [
9438
+ "Set slot=leading or slot=trailing on each child control and import the generated DsTableToolbar adapter alongside those controls."
9439
+ ]
9440
+ },
9441
+ "references": [
9442
+ {
9443
+ "label": "Storybook review states",
9444
+ "path": "src/wc/components/TableToolbar/TableToolbar.stories.ts"
9445
+ },
9446
+ {
9447
+ "label": "Table composition owner",
9448
+ "path": "src/wc/components/Table/Table.agent.json"
9449
+ }
9450
+ ]
9451
+ },
9452
+ "props": {
9453
+ "label": {
9454
+ "type": "string",
9455
+ "required": false
9456
+ }
9457
+ },
9458
+ "events": [],
9459
+ "slots": [],
9460
+ "exports": {
9461
+ "customElement": "ds-table-toolbar",
9462
+ "react": "DsTableToolbar",
9463
+ "angular": "DsTableToolbar"
9464
+ }
9465
+ },
9466
+ "dependencies": [
9467
+ "@ds-mo/ui",
9468
+ "@ds-mo/tokens"
9469
+ ],
9470
+ "registryDependencies": []
9471
+ },
9171
9472
  {
9172
9473
  "name": "tag",
9173
9474
  "title": "Tag",