@ds-mo/ui 12.5.0 → 12.6.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 (284) hide show
  1. package/dist/.build-stamp +1 -1
  2. package/dist/agent-patterns.json +21 -12
  3. package/dist/agent.json +1536 -1424
  4. package/dist/angular/ds-bar-workflow.d.ts +1 -1
  5. package/dist/angular/ds-bar-workflow.js +3 -3
  6. package/dist/angular/ds-mobile-bar-nav.d.ts +18 -0
  7. package/dist/angular/{ds-shell-mobile-bar.js → ds-mobile-bar-nav.js} +15 -15
  8. package/dist/angular/ds-mobile-header.d.ts +23 -0
  9. package/dist/angular/ds-mobile-header.js +45 -0
  10. package/dist/angular/ds-mobile-section-switcher.d.ts +18 -0
  11. package/dist/angular/{ds-shell-mobile-section-nav.js → ds-mobile-section-switcher.js} +15 -15
  12. package/dist/angular/ds-mobile-sheet-nav.d.ts +20 -0
  13. package/dist/angular/{ds-shell-mobile-nav.js → ds-mobile-sheet-nav.js} +13 -16
  14. package/dist/angular/ds-shell-app.d.ts +1 -1
  15. package/dist/angular/ds-shell-app.js +3 -3
  16. package/dist/angular/ds-shell-page.d.ts +1 -1
  17. package/dist/angular/ds-shell-page.js +3 -3
  18. package/dist/angular/index.d.ts +1 -1
  19. package/dist/angular/index.js +4 -3
  20. package/dist/angular/proxies.d.ts +4 -3
  21. package/dist/angular/proxies.js +4 -3
  22. package/dist/components/ds-agent-activity.js +1 -1
  23. package/dist/components/ds-agent-response.js +1 -1
  24. package/dist/components/ds-agent-tool-call.js +1 -1
  25. package/dist/components/ds-avatar.js +1 -1
  26. package/dist/components/ds-avatar.js.map +1 -1
  27. package/dist/components/ds-badge.js +1 -1
  28. package/dist/components/ds-bar-nav.js +1 -1
  29. package/dist/components/ds-bar-nav.js.map +1 -1
  30. package/dist/components/ds-bar-title.js +1 -1
  31. package/dist/components/ds-bar-title.js.map +1 -1
  32. package/dist/components/ds-bar-workflow.js +1 -1
  33. package/dist/components/ds-bar-workflow.js.map +1 -1
  34. package/dist/components/ds-breadcrumb.js +1 -1
  35. package/dist/components/ds-button-filled.js +1 -1
  36. package/dist/components/ds-button-unfilled.js +1 -1
  37. package/dist/components/ds-card-data-viz-bar.js +1 -1
  38. package/dist/components/ds-card-data-viz-donut.js +1 -1
  39. package/dist/components/ds-card-data-viz-line.js +1 -1
  40. package/dist/components/ds-card-setting.js +1 -1
  41. package/dist/components/ds-chart-bar.js +1 -1
  42. package/dist/components/ds-chart-donut.js +1 -1
  43. package/dist/components/ds-chart-legend.js +1 -1
  44. package/dist/components/ds-chart-legend.js.map +1 -1
  45. package/dist/components/ds-chart-line.js +1 -1
  46. package/dist/components/ds-checkbox.js +1 -1
  47. package/dist/components/ds-chip.js +1 -1
  48. package/dist/components/ds-chip.js.map +1 -1
  49. package/dist/components/ds-code-block.js +1 -1
  50. package/dist/components/ds-conversation-list-item.js +1 -1
  51. package/dist/components/ds-conversation-list-item.js.map +1 -1
  52. package/dist/components/ds-conversation-list-section.js +1 -1
  53. package/dist/components/ds-empty-state.js +1 -1
  54. package/dist/components/ds-field.js +1 -1
  55. package/dist/components/ds-input.js +1 -1
  56. package/dist/components/ds-input.js.map +1 -1
  57. package/dist/components/ds-loader.js +1 -1
  58. package/dist/components/ds-markdown.js +1 -1
  59. package/dist/components/ds-menu.js +1 -1
  60. package/dist/components/ds-message-composer.js +1 -1
  61. package/dist/components/ds-message-composer.js.map +1 -1
  62. package/dist/components/ds-message-scroller.js +1 -1
  63. package/dist/components/ds-message.js +1 -1
  64. package/dist/components/{ds-shell-mobile-nav.d.ts → ds-mobile-bar-nav.d.ts} +4 -4
  65. package/dist/components/ds-mobile-bar-nav.js +2 -0
  66. package/dist/components/ds-mobile-bar-nav.js.map +1 -0
  67. package/dist/components/ds-mobile-header.d.ts +11 -0
  68. package/dist/components/ds-mobile-header.js +2 -0
  69. package/dist/components/ds-mobile-header.js.map +1 -0
  70. package/dist/components/ds-mobile-section-switcher.d.ts +11 -0
  71. package/dist/components/ds-mobile-section-switcher.js +2 -0
  72. package/dist/components/ds-mobile-section-switcher.js.map +1 -0
  73. package/dist/components/{ds-shell-mobile-bar.d.ts → ds-mobile-sheet-nav.d.ts} +4 -4
  74. package/dist/components/ds-mobile-sheet-nav.js +2 -0
  75. package/dist/components/ds-mobile-sheet-nav.js.map +1 -0
  76. package/dist/components/ds-modal.js +1 -1
  77. package/dist/components/ds-modal.js.map +1 -1
  78. package/dist/components/ds-panel-nav.js +1 -1
  79. package/dist/components/ds-panel-nav.js.map +1 -1
  80. package/dist/components/ds-panel-sub-nav.js +1 -1
  81. package/dist/components/ds-panel-sub-nav.js.map +1 -1
  82. package/dist/components/ds-panel-tool-header.js +1 -1
  83. package/dist/components/ds-panel-tool-search.js +1 -1
  84. package/dist/components/ds-panel-tool-search.js.map +1 -1
  85. package/dist/components/ds-panel-tools.js +1 -1
  86. package/dist/components/ds-radio.js +1 -1
  87. package/dist/components/ds-radio.js.map +1 -1
  88. package/dist/components/ds-select-multi.js +1 -1
  89. package/dist/components/ds-select-multi.js.map +1 -1
  90. package/dist/components/ds-select.js +1 -1
  91. package/dist/components/ds-select.js.map +1 -1
  92. package/dist/components/ds-shell-app.js +1 -1
  93. package/dist/components/ds-shell-app.js.map +1 -1
  94. package/dist/components/ds-shell-gradient-picker.js +1 -1
  95. package/dist/components/ds-shell-gradient-picker.js.map +1 -1
  96. package/dist/components/ds-shell-gradient-swatch.js +1 -1
  97. package/dist/components/ds-shell-page.js +1 -1
  98. package/dist/components/ds-shell-page.js.map +1 -1
  99. package/dist/components/ds-shell-tools.js +1 -1
  100. package/dist/components/ds-shell-tools.js.map +1 -1
  101. package/dist/components/ds-skeleton.js +1 -1
  102. package/dist/components/ds-skeleton.js.map +1 -1
  103. package/dist/components/ds-swatch-picker.js +1 -1
  104. package/dist/components/ds-switch.js +1 -1
  105. package/dist/components/ds-tab-group.js +1 -1
  106. package/dist/components/ds-tag.js +1 -1
  107. package/dist/components/ds-tag.js.map +1 -1
  108. package/dist/components/ds-toast.js +1 -1
  109. package/dist/components/ds-toast.js.map +1 -1
  110. package/dist/components/ds-tooltip-data-viz.js +1 -1
  111. package/dist/components/ds-tooltip.js +1 -1
  112. package/dist/components/ds-typing-indicator.js +1 -1
  113. package/dist/components/p--bSkr_yn.js +2 -0
  114. package/dist/components/p--bSkr_yn.js.map +1 -0
  115. package/dist/components/p-46nk9-RO.js +2 -0
  116. package/dist/components/p-46nk9-RO.js.map +1 -0
  117. package/dist/components/{p-9dQQSgwT.js → p-BHYrsGBw.js} +2 -2
  118. package/dist/components/p-BY0PzkUp.js +2 -0
  119. package/dist/components/p-BgGP65Nn.js +2 -0
  120. package/dist/components/p-BgGP65Nn.js.map +1 -0
  121. package/dist/components/p-BkAMkjIR.js +2 -0
  122. package/dist/components/{p-Co8hD3P-.js.map → p-BkAMkjIR.js.map} +1 -1
  123. package/dist/components/p-BrusnEYP.js.map +1 -1
  124. package/dist/components/p-C2ym_Ich.js +2 -0
  125. package/dist/components/{p-Biz6xo-z.js → p-CFpWrYAH.js} +2 -2
  126. package/dist/components/p-CICGtu7H.js +2 -0
  127. package/dist/components/{p-CtD24EyI.js.map → p-CICGtu7H.js.map} +1 -1
  128. package/dist/components/p-CLzlL3G4.js +2 -0
  129. package/dist/components/p-CLzlL3G4.js.map +1 -0
  130. package/dist/components/p-CXcjwduV.js +2 -0
  131. package/dist/components/{p-BhxwpOH8.js.map → p-CXcjwduV.js.map} +1 -1
  132. package/dist/components/p-Ca-I2UnB.js +2 -0
  133. package/dist/components/p-Ca-I2UnB.js.map +1 -0
  134. package/dist/components/p-CaRyxTMz.js +2 -0
  135. package/dist/components/p-CaRyxTMz.js.map +1 -0
  136. package/dist/components/{p-g40DTeV8.js → p-CvKKmZJj.js} +2 -2
  137. package/dist/components/p-D4o2D1hk.js +2 -0
  138. package/dist/components/p-D4o2D1hk.js.map +1 -0
  139. package/dist/components/{p-DXnFhmZF.js → p-D9iN80yX.js} +2 -2
  140. package/dist/components/p-DD1Lgs7O.js +2 -0
  141. package/dist/components/p-DD1Lgs7O.js.map +1 -0
  142. package/dist/components/{p-DjPZxzIG.js → p-DQDpDYyF.js} +2 -2
  143. package/dist/components/p-DTea1Du7.js +2 -0
  144. package/dist/components/p-DTea1Du7.js.map +1 -0
  145. package/dist/components/p-DWdRSOBV.js +2 -0
  146. package/dist/components/{p-BPS9VExm.js.map → p-DWdRSOBV.js.map} +1 -1
  147. package/dist/components/p-DcFfilOX.js +2 -0
  148. package/dist/components/p-DcFfilOX.js.map +1 -0
  149. package/dist/components/p-Dg3xLna0.js +2 -0
  150. package/dist/components/{p-C_0Q8Cnp.js.map → p-Dg3xLna0.js.map} +1 -1
  151. package/dist/components/p-DvVW0hxm.js +2 -0
  152. package/dist/components/p-DvVW0hxm.js.map +1 -0
  153. package/dist/components/p-YtgcuJYx.js +2 -0
  154. package/dist/components/{p-PZ6R_nGI.js.map → p-YtgcuJYx.js.map} +1 -1
  155. package/dist/components/p-loq_--ce.js +2 -0
  156. package/dist/components/{p-NUNsefU1.js.map → p-loq_--ce.js.map} +1 -1
  157. package/dist/docs/components.json +3586 -3064
  158. package/dist/lib/shell/index.d.ts +1 -1
  159. package/dist/lib/shell/index.js +2 -1
  160. package/dist/lib/shell/index.js.map +2 -2
  161. package/dist/lib/shell/shell-responsive.d.ts +3 -3
  162. package/dist/lib/utils/index.d.ts +1 -0
  163. package/dist/lib/utils/index.js +8 -0
  164. package/dist/lib/utils/index.js.map +3 -3
  165. package/dist/lib/utils/required-validity.d.ts +14 -0
  166. package/dist/mcp-data/registry/agent-activity.json +2 -2
  167. package/dist/mcp-data/registry/badge.json +2 -2
  168. package/dist/mcp-data/registry/bar-nav.json +2 -2
  169. package/dist/mcp-data/registry/bar-title.json +2 -2
  170. package/dist/mcp-data/registry/bar-workflow.json +25 -4
  171. package/dist/mcp-data/registry/breadcrumb.json +2 -2
  172. package/dist/mcp-data/registry/button-unfilled.json +3 -3
  173. package/dist/mcp-data/registry/chart-legend.json +1 -1
  174. package/dist/mcp-data/registry/checkbox.json +1 -1
  175. package/dist/mcp-data/registry/conversation-list-item.json +2 -2
  176. package/dist/mcp-data/registry/input.json +1 -1
  177. package/dist/mcp-data/registry/loader.json +2 -2
  178. package/dist/mcp-data/registry/mobile-bar-nav.json +333 -0
  179. package/dist/mcp-data/registry/mobile-header.json +351 -0
  180. package/dist/mcp-data/registry/mobile-section-switcher.json +210 -0
  181. package/dist/mcp-data/registry/mobile-sheet-nav.json +317 -0
  182. package/dist/mcp-data/registry/panel-nav.json +2 -2
  183. package/dist/mcp-data/registry/panel-tools.json +2 -2
  184. package/dist/mcp-data/registry/radio.json +1 -1
  185. package/dist/mcp-data/registry/registry.json +1544 -1429
  186. package/dist/mcp-data/registry/select-multi.json +1 -1
  187. package/dist/mcp-data/registry/select.json +2 -2
  188. package/dist/mcp-data/registry/shell-app.json +17 -17
  189. package/dist/mcp-data/registry/shell-page.json +26 -7
  190. package/dist/mcp-data/registry/shell-tools.json +10 -7
  191. package/dist/mcp-data/registry/switch.json +1 -1
  192. package/dist/mcp-data/registry/toast.json +2 -2
  193. package/dist/react/components.d.ts +4 -3
  194. package/dist/react/components.js +4 -3
  195. package/dist/react/ds-mobile-bar-nav.d.ts +13 -0
  196. package/dist/react/ds-mobile-bar-nav.js +15 -0
  197. package/dist/react/ds-mobile-header.d.ts +13 -0
  198. package/dist/react/ds-mobile-header.js +15 -0
  199. package/dist/react/ds-mobile-section-switcher.d.ts +12 -0
  200. package/dist/react/ds-mobile-section-switcher.js +12 -0
  201. package/dist/react/ds-mobile-sheet-nav.d.ts +14 -0
  202. package/dist/react/ds-mobile-sheet-nav.js +16 -0
  203. package/dist/types/components/BarWorkflow/BarWorkflow.d.ts +6 -0
  204. package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +1 -1
  205. package/dist/types/components/MobileBarNav/MobileBarNav.d.ts +26 -0
  206. package/dist/types/components/MobileBarNav/index.d.ts +4 -0
  207. package/dist/types/components/MobileBarNav/mobile-bar-nav-types.d.ts +5 -0
  208. package/dist/types/components/MobileHeader/MobileHeader.d.ts +39 -0
  209. package/dist/types/components/MobileHeader/index.d.ts +2 -0
  210. package/dist/types/components/MobileHeader/mobile-header-types.d.ts +5 -0
  211. package/dist/types/components/MobileSectionSwitcher/MobileSectionSwitcher.d.ts +35 -0
  212. package/dist/types/components/MobileSectionSwitcher/index.d.ts +3 -0
  213. package/dist/types/components/MobileSectionSwitcher/mobile-section-switcher-types.d.ts +4 -0
  214. package/dist/types/components/MobileSectionSwitcher/mobile-section-switcher-utils.d.ts +10 -0
  215. package/dist/types/components/{ShellMobileNav/ShellMobileNav.d.ts → MobileSheetNav/MobileSheetNav.d.ts} +5 -7
  216. package/dist/types/components/MobileSheetNav/index.d.ts +1 -0
  217. package/dist/types/components/ShellApp/ShellApp.d.ts +4 -4
  218. package/dist/types/components/ShellPage/ShellPage.d.ts +4 -0
  219. package/dist/types/components.d.ts +530 -381
  220. package/dist/types/shell/index.d.ts +1 -1
  221. package/dist/types/shell/shell-responsive.d.ts +3 -3
  222. package/dist/types/utils/index.d.ts +1 -0
  223. package/dist/types/utils/required-validity.d.ts +15 -0
  224. package/package.json +1 -1
  225. package/dist/angular/ds-shell-mobile-bar.d.ts +0 -18
  226. package/dist/angular/ds-shell-mobile-nav.d.ts +0 -23
  227. package/dist/angular/ds-shell-mobile-section-nav.d.ts +0 -18
  228. package/dist/components/ds-shell-mobile-bar.js +0 -2
  229. package/dist/components/ds-shell-mobile-bar.js.map +0 -1
  230. package/dist/components/ds-shell-mobile-nav.js +0 -2
  231. package/dist/components/ds-shell-mobile-nav.js.map +0 -1
  232. package/dist/components/ds-shell-mobile-section-nav.d.ts +0 -11
  233. package/dist/components/ds-shell-mobile-section-nav.js +0 -2
  234. package/dist/components/ds-shell-mobile-section-nav.js.map +0 -1
  235. package/dist/components/p-B6Vuayt6.js +0 -2
  236. package/dist/components/p-B6Vuayt6.js.map +0 -1
  237. package/dist/components/p-BPS9VExm.js +0 -2
  238. package/dist/components/p-BVV_rlIP.js +0 -2
  239. package/dist/components/p-BVV_rlIP.js.map +0 -1
  240. package/dist/components/p-BhxwpOH8.js +0 -2
  241. package/dist/components/p-BtEjlcB9.js +0 -2
  242. package/dist/components/p-BtEjlcB9.js.map +0 -1
  243. package/dist/components/p-CH6cNXXF.js +0 -2
  244. package/dist/components/p-CH6cNXXF.js.map +0 -1
  245. package/dist/components/p-C_0Q8Cnp.js +0 -2
  246. package/dist/components/p-Ce52yVXF.js +0 -2
  247. package/dist/components/p-Ce52yVXF.js.map +0 -1
  248. package/dist/components/p-CgHTNfC1.js +0 -2
  249. package/dist/components/p-CgHTNfC1.js.map +0 -1
  250. package/dist/components/p-Co8hD3P-.js +0 -2
  251. package/dist/components/p-CoYFJD-w.js +0 -2
  252. package/dist/components/p-CoYFJD-w.js.map +0 -1
  253. package/dist/components/p-Cpr3K41-.js +0 -2
  254. package/dist/components/p-Cpr3K41-.js.map +0 -1
  255. package/dist/components/p-CtD24EyI.js +0 -2
  256. package/dist/components/p-DYqReipj.js +0 -2
  257. package/dist/components/p-DYqReipj.js.map +0 -1
  258. package/dist/components/p-NUNsefU1.js +0 -2
  259. package/dist/components/p-PZ6R_nGI.js +0 -2
  260. package/dist/components/p-jCWtxthA.js +0 -2
  261. package/dist/components/p-yhj1lIPx.js +0 -2
  262. package/dist/mcp-data/registry/shell-mobile-bar.json +0 -314
  263. package/dist/mcp-data/registry/shell-mobile-nav.json +0 -348
  264. package/dist/mcp-data/registry/shell-mobile-section-nav.json +0 -267
  265. package/dist/react/ds-shell-mobile-bar.d.ts +0 -13
  266. package/dist/react/ds-shell-mobile-bar.js +0 -15
  267. package/dist/react/ds-shell-mobile-nav.d.ts +0 -15
  268. package/dist/react/ds-shell-mobile-nav.js +0 -17
  269. package/dist/react/ds-shell-mobile-section-nav.d.ts +0 -12
  270. package/dist/react/ds-shell-mobile-section-nav.js +0 -12
  271. package/dist/types/components/ShellMobileBar/ShellMobileBar.d.ts +0 -25
  272. package/dist/types/components/ShellMobileBar/index.d.ts +0 -4
  273. package/dist/types/components/ShellMobileBar/shell-mobile-bar-types.d.ts +0 -5
  274. package/dist/types/components/ShellMobileNav/index.d.ts +0 -2
  275. package/dist/types/components/ShellMobileNav/shell-mobile-nav-types.d.ts +0 -6
  276. package/dist/types/components/ShellMobileSectionNav/ShellMobileSectionNav.d.ts +0 -30
  277. package/dist/types/components/ShellMobileSectionNav/index.d.ts +0 -2
  278. /package/dist/components/{p-9dQQSgwT.js.map → p-BHYrsGBw.js.map} +0 -0
  279. /package/dist/components/{p-jCWtxthA.js.map → p-BY0PzkUp.js.map} +0 -0
  280. /package/dist/components/{p-yhj1lIPx.js.map → p-C2ym_Ich.js.map} +0 -0
  281. /package/dist/components/{p-Biz6xo-z.js.map → p-CFpWrYAH.js.map} +0 -0
  282. /package/dist/components/{p-g40DTeV8.js.map → p-CvKKmZJj.js.map} +0 -0
  283. /package/dist/components/{p-DXnFhmZF.js.map → p-D9iN80yX.js.map} +0 -0
  284. /package/dist/components/{p-DjPZxzIG.js.map → p-DQDpDYyF.js.map} +0 -0
package/dist/agent.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
3
  "package": "@ds-mo/ui",
4
- "packageVersion": "12.5.0",
4
+ "packageVersion": "12.6.0",
5
5
  "kind": "components",
6
6
  "entries": [
7
7
  {
@@ -1010,6 +1010,7 @@
1010
1010
  ],
1011
1011
  "commonlyComposedWith": [
1012
1012
  "component:ds-shell-page",
1013
+ "component:ds-mobile-header",
1013
1014
  "component:ds-button-filled",
1014
1015
  "component:ds-button-unfilled",
1015
1016
  "component:ds-text",
@@ -1024,7 +1025,7 @@
1024
1025
  "Use submitAction.type=submit inside a form so the final action preserves native submission semantics."
1025
1026
  ],
1026
1027
  "states": [
1027
- "BarWorkflow always renders compact 48px bold-brand chrome and has no expanded, constrained, or responsive variant.",
1028
+ "BarWorkflow always renders compact 48px bold-brand chrome; responsiveMode changes only the action geometry, never workflow state or hierarchy.",
1028
1029
  "An unrecognized value resolves navigation from the first step without mutating the controlled value.",
1029
1030
  "The first step omits Previous. Intermediate steps show Previous and Next. The last step replaces Next with the Check Save or Submit action.",
1030
1031
  "The default empty steps array is a single-step flow with the plain heading, no Previous control, and the final action visible. An explicit one-step array behaves the same way.",
@@ -1032,7 +1033,8 @@
1032
1033
  "submitAction owns the final label, native button type, inactive state, and loading state."
1033
1034
  ],
1034
1035
  "responsiveBehavior": [
1035
- "BarWorkflow does not expose a presentation variant and never collapses its navigation actions.",
1036
+ "Desktop and tablet keep the established left-aligned identity and trailing actions.",
1037
+ "Mobile uses symmetric MobileHeader geometry with Exit leading, the title and step count centered, and Previous plus Next or Submit trailing.",
1036
1038
  "The heading truncates before Exit, Previous, and Next or Submit lose their complete hit targets.",
1037
1039
  "When slotted into ShellPage, BarWorkflow remains compact while ShellPage continues to provide sticky placement."
1038
1040
  ],
@@ -1087,6 +1089,10 @@
1087
1089
  "type": "string",
1088
1090
  "required": false
1089
1091
  },
1092
+ "responsiveMode": {
1093
+ "type": "ShellResponsiveMode",
1094
+ "required": false
1095
+ },
1090
1096
  "steps": {
1091
1097
  "type": "BarWorkflowStep[]",
1092
1098
  "required": false
@@ -1128,6 +1134,7 @@
1128
1134
  "componentDependencies": [
1129
1135
  "button-filled",
1130
1136
  "button-unfilled",
1137
+ "mobile-header",
1131
1138
  "text",
1132
1139
  "tooltip"
1133
1140
  ]
@@ -4818,488 +4825,303 @@
4818
4825
  ]
4819
4826
  },
4820
4827
  {
4821
- "id": "component:ds-modal",
4822
- "tag": "ds-modal",
4823
- "name": "modal",
4824
- "title": "Modal",
4825
- "summary": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
4828
+ "id": "component:ds-mobile-bar-nav",
4829
+ "tag": "ds-mobile-bar-nav",
4830
+ "name": "mobile-bar-nav",
4831
+ "title": "MobileBarNav",
4832
+ "summary": "Persistent mobile shell navigation for Menu, the router-derived current area, Search, Agents, and Inbox.",
4826
4833
  "intentStatus": "complete",
4827
4834
  "intent": {
4828
- "audience": "general",
4829
- "status": "stable",
4830
- "summary": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
4835
+ "audience": "specialized",
4836
+ "status": "experimental",
4837
+ "summary": "Persistent mobile shell navigation for Menu, the router-derived current area, Search, Agents, and Inbox.",
4831
4838
  "useWhen": [
4832
- "The user must confirm or cancel one focused decision before returning to the underlying interface.",
4833
- "A short blocking task or compact form needs dialog semantics, focus containment, and explicit completion actions.",
4834
- "The content can be safely dismissed through Close, Escape, or the backdrop."
4839
+ "ShellApp is rendering its dedicated below-768px application composition."
4835
4840
  ],
4836
4841
  "avoidWhen": [
4837
- "The message is non-blocking feedback or a transient status update.",
4838
- "The interaction is a contextual list of commands anchored to a trigger.",
4839
- "The workflow is multi-step, long-form, or requires substantial navigation.",
4840
- "Dismissal would lose work or leave an irreversible operation in an unsafe state.",
4841
- "A second modal would be opened over an existing modal."
4842
- ],
4843
- "alternatives": [
4844
- {
4845
- "when": "The user needs non-blocking feedback or a transient status message.",
4846
- "component": "component:ds-toast",
4847
- "reason": "Toast communicates transient status without trapping focus or blocking the page."
4848
- },
4849
- {
4850
- "when": "A trigger reveals a short contextual list of commands.",
4851
- "component": "component:ds-menu",
4852
- "reason": "Menu provides anchored command semantics without creating a blocking dialog."
4853
- },
4854
- {
4855
- "when": "Editable settings should remain visible without blocking the rest of the interface.",
4856
- "component": "component:ds-card-setting",
4857
- "reason": "CardSetting provides a persistent controlled settings workflow without modal focus containment."
4858
- }
4842
+ "Rendering desktop or tablet shell chrome.",
4843
+ "An arbitrary set of product tabs is required."
4859
4844
  ],
4860
4845
  "commonlyComposedWith": [
4861
- "component:ds-button-filled",
4862
- "component:ds-button-unfilled",
4863
- "component:ds-field",
4864
- "component:ds-text"
4846
+ "component:ds-shell-app"
4847
+ ],
4848
+ "patterns": [
4849
+ "pattern:application-shell"
4865
4850
  ],
4866
4851
  "accessibility": [
4867
- "Provide a concise visible heading; the component uses it as the dialog's accessible name.",
4868
- "Give the primary explanatory copy a stable id and pass it through aria-describedby so assistive technology receives the decision context.",
4869
- "Opening the native modal dialog moves focus to the header Close action, whose visible tooltip matches its accessible name, traps Tab navigation inside the top layer, and makes outside content inert.",
4870
- "Close, Escape, and backdrop activation emit dsClose with close-button, escape, or backdrop reason before beginning dismissal; use the component only when every dismissal path is safe.",
4871
- "After exit motion completes, the native dialog leaves the top layer, focus returns to the previously focused element, and dsAfterClose emits.",
4872
- "Use visible label-only footer buttons. Keep at most two actions: one bold filled primary action followed by one bordered unfilled action, or two bordered unfilled actions.",
4873
- "Use negative intent for a filled destructive action and state the irreversible consequence in the content.",
4874
- "Do not open a modal from another modal; keep one blocking decision in focus at a time."
4852
+ "Every icon-only item keeps a localized accessible name.",
4853
+ "Only the active destination exposes aria-current; Menu exposes its controlled pane through aria-expanded."
4875
4854
  ],
4876
4855
  "states": [
4877
- "The owner opens the modal through the open property and responds to the typed dsClose detail for application state synchronization or dismissal analytics.",
4878
- "The component mutates open to false for Close, Escape, and backdrop dismissal while retaining its rendered surface through exit motion.",
4879
- "The default slot owns task content; the named footer slot is optional and is hidden when no actions are assigned.",
4880
- "Primary actions use a bold filled button with semantic intent. Secondary and cancel actions use bordered label-only unfilled buttons.",
4881
- "The owner performs save, delete, cancel, and other product consequences before or while closing the modal."
4856
+ "The fixed groups are Menu plus current area, followed by Search, Inbox, and Agents.",
4857
+ "Selection promotes foreground to primary without painting a selected fill; unselected destinations use tertiary foreground.",
4858
+ "Opening Mobile Sheet Nav replaces the Menu glyph with Cross while preserving its accessible name.",
4859
+ "Reselecting an active destination does not reset its nested state."
4882
4860
  ],
4883
4861
  "responsiveBehavior": [
4884
- "Choose the smallest sm, md, or lg width that fits the focused task; the top-layer dialog clamps to the viewport with token-based outer space.",
4885
- "Content scrolls independently when needed while the 64px header and optional 64px footer remain fixed.",
4886
- "Avoid layouts whose minimum content width exceeds the narrow viewport clamp.",
4887
- "The native top layer escapes transformed ancestors, clipping containers, and application stacking contexts without moving slotted content."
4862
+ "Render only below the mobile breakpoint and preserve safe-area clearance.",
4863
+ "The two icon-only control groups remain centered with fixed 40px targets and a divider between Menu and current area."
4888
4864
  ],
4889
- "frameworkCaveats": {
4890
- "customElements": [
4891
- "Set open as a JavaScript property when controlling the modal; inspect dsClose.detail.reason and use dsAfterClose for cleanup that must wait for exit motion and focus restoration.",
4892
- "Connect the most relevant slotted explanatory text through aria-describedby.",
4893
- "Footer actions are slotted application-owned controls and must implement their own product consequence."
4894
- ],
4895
- "react": [
4896
- "Pass open to DsModal, inspect onDsClose event detail, and use onDsAfterClose only for cleanup after exit motion and focus restoration.",
4897
- "Connect the most relevant slotted explanatory text through aria-describedby.",
4898
- "Assign footer controls with slot=\"footer\" and handle each action before updating open."
4899
- ],
4900
- "angular": [
4901
- "Bind [open], inspect $event.detail from (dsClose), and use (dsAfterClose) only for cleanup after exit motion and focus restoration.",
4902
- "Connect the most relevant slotted explanatory text through aria-describedby.",
4903
- "Assign footer controls with slot=\"footer\" and handle each action before updating open."
4904
- ]
4905
- },
4906
4865
  "references": [
4907
4866
  {
4908
- "label": "Storybook confirmation and footer examples",
4909
- "path": "src/wc/components/Modal/Modal.stories.ts"
4910
- },
4911
- {
4912
- "label": "Cross-browser focus, dismissal, geometry, and accessibility coverage",
4913
- "path": "tests/e2e/accessibility-overlays.spec.ts"
4914
- },
4915
- {
4916
- "label": "Reduced-motion overlay coverage",
4917
- "path": "tests/e2e/reduced-motion.spec.ts"
4867
+ "label": "Storybook",
4868
+ "path": "src/wc/components/MobileBarNav/MobileBarNav.stories.ts"
4918
4869
  }
4919
4870
  ]
4920
4871
  },
4921
4872
  "api": {
4922
4873
  "props": {
4923
- "ariaDescribedby": {
4924
- "type": "string | undefined",
4874
+ "activeDestination": {
4875
+ "type": "MobileDestination",
4925
4876
  "required": false
4926
4877
  },
4927
- "closeAriaLabel": {
4878
+ "agentsDot": {
4879
+ "type": "boolean",
4880
+ "required": false
4881
+ },
4882
+ "agentsLabel": {
4928
4883
  "type": "string",
4929
4884
  "required": false
4930
4885
  },
4931
- "heading": {
4886
+ "currentArea": {
4887
+ "type": "PanelNavItem",
4888
+ "required": false
4889
+ },
4890
+ "helpLabel": {
4932
4891
  "type": "string",
4933
- "required": true
4892
+ "required": false
4934
4893
  },
4935
- "modalWidth": {
4936
- "type": "ModalWidth | string",
4894
+ "inboxDot": {
4895
+ "type": "boolean",
4937
4896
  "required": false
4938
4897
  },
4939
- "open": {
4898
+ "inboxLabel": {
4899
+ "type": "string",
4900
+ "required": false
4901
+ },
4902
+ "menuLabel": {
4903
+ "type": "string",
4904
+ "required": false
4905
+ },
4906
+ "searchDot": {
4907
+ "type": "boolean",
4908
+ "required": false
4909
+ },
4910
+ "searchLabel": {
4911
+ "type": "string",
4912
+ "required": false
4913
+ },
4914
+ "sheetNavExpanded": {
4940
4915
  "type": "boolean",
4941
4916
  "required": false
4942
4917
  }
4943
4918
  },
4944
4919
  "events": [
4945
4920
  {
4946
- "name": "dsAfterClose",
4947
- "detail": "void"
4921
+ "name": "dsDestinationChange",
4922
+ "detail": "MobileBarNavDestinationDetail"
4948
4923
  },
4949
4924
  {
4950
- "name": "dsClose",
4951
- "detail": "ModalCloseDetail"
4925
+ "name": "dsSheetNavToggle",
4926
+ "detail": "boolean"
4952
4927
  }
4953
4928
  ],
4954
4929
  "slots": []
4955
4930
  },
4956
4931
  "exports": {
4957
- "customElement": "ds-modal",
4958
- "react": "DsModal",
4959
- "angular": "DsModal"
4932
+ "customElement": "ds-mobile-bar-nav",
4933
+ "react": "DsMobileBarNav",
4934
+ "angular": "DsMobileBarNav"
4960
4935
  },
4961
4936
  "dependencies": [
4962
4937
  "@ds-mo/ui",
4963
- "@ds-mo/tokens"
4938
+ "@ds-mo/tokens",
4939
+ "@ds-mo/icons"
4964
4940
  ],
4965
4941
  "componentDependencies": [
4966
- "button-unfilled",
4967
- "text",
4968
- "tooltip"
4942
+ "badge",
4943
+ "icon"
4969
4944
  ]
4970
4945
  },
4971
4946
  {
4972
- "id": "component:ds-panel-nav",
4973
- "tag": "ds-panel-nav",
4974
- "name": "panel-nav",
4975
- "title": "PanelNav",
4976
- "summary": "The single persistent primary navigation for an application, providing grouped top-level destinations, active-route state, standard dashboard/settings switching, user access, and collapsible desktop and tablet presentation.",
4947
+ "id": "component:ds-mobile-header",
4948
+ "tag": "ds-mobile-header",
4949
+ "name": "mobile-header",
4950
+ "title": "MobileHeader",
4951
+ "summary": "Consistent mobile top chrome with symmetric action lanes, a centered page identity or peer-section chooser, and an optional subordinate page-section row.",
4977
4952
  "intentStatus": "complete",
4978
4953
  "intent": {
4979
4954
  "audience": "specialized",
4980
- "status": "stable",
4981
- "summary": "The single persistent primary navigation for an application, providing grouped top-level destinations, active-route state, standard dashboard/settings switching, user access, and collapsible desktop and tablet presentation.",
4955
+ "status": "experimental",
4956
+ "summary": "Consistent mobile top chrome with symmetric action lanes, a centered page identity or peer-section chooser, and an optional subordinate page-section row.",
4982
4957
  "useWhen": [
4983
- "Building the one primary navigation surface for an application that uses the CompoMo system.",
4984
- "Top-level destinations must remain consistently available while the application's page content changes.",
4985
- "Primary destinations need visual grouping, icons, notification indicators, active-route state, and expanded or collapsed presentation."
4958
+ "A routed page, persistent tool, account surface, or workflow needs the canonical mobile header presentation."
4986
4959
  ],
4987
4960
  "avoidWhen": [
4988
- "A second navigation surface is needed within the same application; an application must have only one PanelNav.",
4989
- "The choices represent sections within the active primary destination; use BarNav instead.",
4990
- "The choices switch local content without changing the application's primary destination; use TabGroup instead.",
4991
- "The interaction performs a command or presents temporary contextual choices; use a button or Menu instead.",
4992
- "Building navigation below the mobile breakpoint; use the application's dedicated mobile navigation component instead."
4993
- ],
4994
- "alternatives": [
4995
- {
4996
- "when": "The choices represent route sections within the active primary destination.",
4997
- "component": "component:ds-bar-nav",
4998
- "reason": "BarNav owns secondary section navigation within the destination selected by PanelNav."
4999
- },
5000
- {
5001
- "when": "The choices switch local content without changing the application's primary destination.",
5002
- "component": "component:ds-tab-group",
5003
- "reason": "TabGroup owns local view selection and tab semantics."
5004
- },
5005
- {
5006
- "when": "The choices are commands or temporary contextual actions.",
5007
- "component": "component:ds-menu",
5008
- "reason": "Menu owns transient action and option collections rather than persistent destinations."
5009
- }
4961
+ "Rendering desktop BarTitle, BarNav, or PanelToolHeader.",
4962
+ "Rendering the Mobile Sheet Nav utility lane."
5010
4963
  ],
5011
4964
  "commonlyComposedWith": [
5012
- "component:ds-shell-app",
5013
- "component:ds-bar-nav",
5014
- "component:ds-panel-tools",
5015
- "component:ds-menu"
4965
+ "component:ds-mobile-section-switcher",
4966
+ "component:ds-shell-page",
4967
+ "component:ds-shell-tools"
5016
4968
  ],
5017
4969
  "patterns": [
5018
4970
  "pattern:application-shell"
5019
4971
  ],
5020
4972
  "accessibility": [
5021
- "Give every primary destination a concise visible label and an icon that supports rather than replaces that label.",
5022
- "Provide localized dashboard, settings, account, navigation, collapse, and expand labels.",
5023
- "Preserve accessible destination names when the panel is collapsed to icon-only presentation.",
5024
- "Use notification dots as supplemental status and never as the only indication of important information.",
5025
- "When the destination body overflows, it becomes a localized keyboard-focusable scroll region in addition to the roving destination controls.",
5026
- "Keep the standard dashboard/settings switch and user/account entry available in the footer."
4973
+ "Static screens render a real h1 or h2 according to headingLevel.",
4974
+ "Section-switching screens expose an equivalent semantic heading alongside the accessible popup trigger.",
4975
+ "Subsections use a separately named navigation landmark and never replace the semantic page identity.",
4976
+ "Leading and trailing slotted icon actions retain their own accessible names and tooltips."
5027
4977
  ],
5028
4978
  "states": [
5029
- "Render exactly one PanelNav per application; it owns primary application destinations and no other navigation role.",
5030
- "The host router owns the current route; prefer currentUrl for active destination matching and use activeId only when route matching is unavailable.",
5031
- "Use anchor mode for native links or routers that intercept anchors; use event mode when the host performs navigation from dsNavSelect.",
5032
- "Groups visually organize top-level destinations only and must not be interpreted as nested or expandable navigation.",
5033
- "Dashboard presents day-to-day operational destinations; Settings presents administrative and configuration destinations.",
5034
- "The standard footer switches the entire destination collection and navStyle between Dashboard and Settings and exposes the user/account entry.",
5035
- "The host owns the external user menu opened from dsNavUserAction.",
5036
- "Item and header controls inherit the shared md control radius while local shell geometry continues to own collapsed layout and footer animation positioning.",
5037
- "On desktop, allow user-controlled expand and collapse and persist the preference with storageKey when cross-session persistence is appropriate."
4979
+ "Without multiple sections the center renders heading.",
4980
+ "With multiple sections the center renders the controlled MobileSectionSwitcher.",
4981
+ "Optional subsections render in a second row and emit dsSubsectionChange without changing the primary section.",
4982
+ "Sections represent peer destinations at the current navigation level; subsections represent local views beneath the selected page or detail identity.",
4983
+ "Brand tone changes surface and foreground without changing geometry or interaction ownership."
5038
4984
  ],
5039
4985
  "responsiveBehavior": [
5040
- "At 1200px and wider, default to expanded, allow the user to expand or collapse, and restore the locally persisted desktop preference when available.",
5041
- "From 768px through 1199px, present PanelNav permanently collapsed and do not allow user expansion.",
5042
- "Below 768px, the consuming application replaces PanelNav with a dedicated mobile navigation component; PanelNav does not own mobile navigation.",
5043
- "ShellApp permanently owns responsive composition: it determines shell mode, enforces tablet collapse, and replaces PanelNav with future mobile navigation below 768px.",
5044
- "When the viewport is below breakpoint, PanelNav locks collapsed, disables its header toggle affordance, and preserves the persisted desktop collapse preference.",
5045
- "Collapsed presentation must preserve destination ordering, active state, notification status, and accessible names."
4986
+ "The primary 48px lane is dedicated to the below-768px presentation; optional subsections add one subordinate 48px lane.",
4987
+ "Equal flexible side lanes keep the center mathematically aligned when actions are asymmetric."
5046
4988
  ],
5047
- "frameworkCaveats": {
5048
- "customElements": [
5049
- "Assign groups as a JavaScript property for structured data; a JSON string attribute is also supported.",
5050
- "Set nav-style before the element connects when first-paint style must match the current route."
5051
- ],
5052
- "react": [
5053
- "Pass groups as an array through the generated React wrapper and synchronize currentUrl with the host router.",
5054
- "ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
5055
- ],
5056
- "angular": [
5057
- "Import DsPanelNav from @ds-mo/ui/angular/ds-panel-nav and bind groups as a property.",
5058
- "Bind both the nav-style attribute and navStyle property when first-paint route styling must be deterministic.",
5059
- "ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
5060
- ]
5061
- },
5062
4989
  "references": [
5063
4990
  {
5064
- "label": "Executable Storybook examples",
5065
- "path": "src/wc/components/PanelNav/PanelNav.stories.ts"
5066
- },
5067
- {
5068
- "label": "Framework and routing integration",
5069
- "path": "docs/framework-integration.md"
5070
- },
5071
- {
5072
- "label": "Application shell composition",
5073
- "path": "agent/patterns/application-shell/pattern.agent.json"
4991
+ "label": "Storybook",
4992
+ "path": "src/wc/components/MobileHeader/MobileHeader.stories.ts"
5074
4993
  }
5075
4994
  ]
5076
4995
  },
5077
4996
  "api": {
5078
4997
  "props": {
5079
- "accountLabel": {
4998
+ "heading": {
5080
4999
  "type": "string",
5081
5000
  "required": false
5082
5001
  },
5083
- "accountMenuExpanded": {
5084
- "type": "boolean",
5002
+ "headingLevel": {
5003
+ "type": "MobileHeaderHeadingLevel",
5085
5004
  "required": false
5086
5005
  },
5087
- "activeId": {
5088
- "type": "string",
5006
+ "sections": {
5007
+ "type": "TabItem[]",
5089
5008
  "required": false
5090
5009
  },
5091
- "breakpoint": {
5092
- "type": "number",
5010
+ "sectionsAriaLabel": {
5011
+ "type": "string",
5093
5012
  "required": false
5094
5013
  },
5095
- "collapseNavigationLabel": {
5014
+ "sectionsJson": {
5096
5015
  "type": "string",
5097
5016
  "required": false
5098
5017
  },
5099
- "collapsed": {
5100
- "type": "boolean",
5018
+ "subsections": {
5019
+ "type": "TabItem[]",
5101
5020
  "required": false
5102
5021
  },
5103
- "currentUrl": {
5022
+ "subsectionsAriaLabel": {
5104
5023
  "type": "string",
5105
5024
  "required": false
5106
5025
  },
5107
- "dashboardLabel": {
5026
+ "subsectionsJson": {
5108
5027
  "type": "string",
5109
5028
  "required": false
5110
5029
  },
5111
- "dashboardNavigationLabel": {
5030
+ "subvalue": {
5112
5031
  "type": "string",
5113
5032
  "required": false
5114
5033
  },
5115
- "disableViewTransition": {
5116
- "type": "boolean",
5117
- "required": false
5118
- },
5119
- "expandNavigationLabel": {
5120
- "type": "string",
5121
- "required": false
5122
- },
5123
- "groups": {
5124
- "type": "string | PanelNavGroup[]",
5125
- "required": false
5126
- },
5127
- "navStyle": {
5128
- "type": "NavChromeStyle",
5129
- "required": false
5130
- },
5131
- "navigationItemsLabel": {
5132
- "type": "string",
5133
- "required": false
5134
- },
5135
- "routerMode": {
5136
- "type": "PanelNavRouterMode",
5137
- "required": false
5138
- },
5139
- "settingsLabel": {
5140
- "type": "string",
5141
- "required": false
5142
- },
5143
- "settingsNavigationLabel": {
5144
- "type": "string",
5145
- "required": false
5146
- },
5147
- "storageKey": {
5148
- "type": "string",
5149
- "required": false
5150
- },
5151
- "userInitial": {
5152
- "type": "string",
5034
+ "tone": {
5035
+ "type": "MobileHeaderTone",
5153
5036
  "required": false
5154
5037
  },
5155
- "userName": {
5038
+ "value": {
5156
5039
  "type": "string",
5157
5040
  "required": false
5158
5041
  }
5159
5042
  },
5160
5043
  "events": [
5161
5044
  {
5162
- "name": "dsChromeTransitionEnd",
5163
- "detail": "ChromeTransitionDetail"
5164
- },
5165
- {
5166
- "name": "dsChromeTransitionStart",
5167
- "detail": "ChromeTransitionDetail"
5168
- },
5169
- {
5170
- "name": "dsNavFooterAction",
5171
- "detail": "void"
5172
- },
5173
- {
5174
- "name": "dsNavSelect",
5045
+ "name": "dsSectionChange",
5175
5046
  "detail": "string"
5176
5047
  },
5177
5048
  {
5178
- "name": "dsNavToggle",
5179
- "detail": "boolean"
5180
- },
5181
- {
5182
- "name": "dsNavUserAction",
5183
- "detail": "PanelNavUserActionDetail"
5049
+ "name": "dsSubsectionChange",
5050
+ "detail": "string"
5184
5051
  }
5185
5052
  ],
5186
5053
  "slots": []
5187
5054
  },
5188
5055
  "exports": {
5189
- "customElement": "ds-panel-nav",
5190
- "react": "DsPanelNav",
5191
- "angular": "DsPanelNav"
5056
+ "customElement": "ds-mobile-header",
5057
+ "react": "DsMobileHeader",
5058
+ "angular": "DsMobileHeader"
5192
5059
  },
5193
5060
  "dependencies": [
5194
5061
  "@ds-mo/ui",
5195
- "@ds-mo/tokens",
5196
- "@ds-mo/icons"
5062
+ "@ds-mo/tokens"
5197
5063
  ],
5198
5064
  "componentDependencies": [
5199
- "badge",
5200
- "button-unfilled",
5201
- "icon",
5202
- "text",
5203
- "tooltip"
5065
+ "mobile-section-switcher",
5066
+ "text"
5204
5067
  ]
5205
5068
  },
5206
5069
  {
5207
- "id": "component:ds-panel-sub-nav",
5208
- "tag": "ds-panel-sub-nav",
5209
- "name": "panel-sub-nav",
5210
- "title": "PanelSubNav",
5211
- "summary": "Persistent vertical tab navigation for a panel or card side rail, switching adjacent local content with menu-like selected fill and stable text weight.",
5070
+ "id": "component:ds-mobile-section-switcher",
5071
+ "tag": "ds-mobile-section-switcher",
5072
+ "name": "mobile-section-switcher",
5073
+ "title": "MobileSectionSwitcher",
5074
+ "summary": "Controlled mobile section chooser showing the current section, adjacent-position hints, and a complete tap menu.",
5212
5075
  "intentStatus": "complete",
5213
5076
  "intent": {
5214
- "audience": "general",
5215
- "status": "stable",
5216
- "summary": "Persistent vertical tab navigation for a panel or card side rail, switching adjacent local content with menu-like selected fill and stable text weight.",
5077
+ "audience": "specialized",
5078
+ "status": "experimental",
5079
+ "summary": "Controlled mobile section chooser showing the current section, adjacent-position hints, and a complete tap menu.",
5217
5080
  "useWhen": [
5218
- "A panel or card side rail needs a persistent vertical list that switches adjacent local content.",
5219
- "Each concise text label controls an immediately available tabpanel without changing application routes."
5081
+ "A mobile page or tool header must combine current-page identity with ordered peer-section navigation."
5220
5082
  ],
5221
5083
  "avoidWhen": [
5222
- "The navigation is not contained in a panel or card side rail.",
5223
- "Local views should be arranged horizontally; use TabGroup instead.",
5224
- "The choices navigate routes in application shell chrome; use PanelNav or BarNav instead.",
5225
- "The choices are temporary commands or contextual options; use Menu instead.",
5226
- "Rows need icons, subtext, notification dots, nested levels, or section headers."
5227
- ],
5228
- "alternatives": [
5229
- {
5230
- "when": "Local panel choices fit a horizontal tab row.",
5231
- "component": "component:ds-tab-group",
5232
- "reason": "TabGroup is the horizontal local-view counterpart."
5233
- },
5234
- {
5235
- "when": "The choices are primary application destinations.",
5236
- "component": "component:ds-panel-nav",
5237
- "reason": "PanelNav owns primary application navigation."
5238
- },
5239
- {
5240
- "when": "The choices are secondary application routes.",
5241
- "component": "component:ds-bar-nav",
5242
- "reason": "BarNav owns route sections inside ShellApp."
5243
- },
5244
- {
5245
- "when": "The choices are transient actions or options.",
5246
- "component": "component:ds-menu",
5247
- "reason": "Menu owns temporary popup collections."
5248
- }
5084
+ "Rendering desktop BarNav.",
5085
+ "The destination collection is primary application navigation."
5249
5086
  ],
5250
5087
  "commonlyComposedWith": [
5251
- "component:ds-card-setting",
5252
- "component:ds-text"
5088
+ "component:ds-mobile-header"
5089
+ ],
5090
+ "patterns": [
5091
+ "pattern:application-shell"
5253
5092
  ],
5254
5093
  "accessibility": [
5255
- "Provide an accessible name with aria-label or aria-labelledby.",
5256
- "Give every item a unique id and the id of its controlled tabpanel.",
5257
- "Keep each controlled tabpanel labelled by its matching item id.",
5258
- "Always provide a valid selected item when enabled items exist so exactly one tab and panel are active.",
5259
- "ArrowUp and ArrowDown move and activate selection; Home and End select the first and last available items.",
5260
- "Do not use selected text weight as the selection cue; active fill and primary foreground communicate selection."
5094
+ "The trigger exposes the current section, popup relationship, and expanded state.",
5095
+ "Decorative previous and next position hints are hidden from assistive technology.",
5096
+ "The menu is always available so a future swipe gesture is never the only navigation mechanism."
5261
5097
  ],
5262
5098
  "states": [
5263
- "The parent owns the canonical selected value and panel visibility, and should update both from dsChange.",
5264
- "A missing, empty, or unknown selected value is invalid when enabled items exist; the component does not choose a fallback selection.",
5265
- "Inactive items remain visible but cannot be focused or selected.",
5266
- "Selection is singular and follows keyboard focus.",
5267
- "The omitted default surface treatment is for primary and secondary parent surfaces and uses the brand-active selected fill; pass faint explicitly on faint surfaces to use the neutral active fill.",
5268
- "Rows contain one text label only and do not express nested navigation or grouped hierarchy."
5099
+ "Selection is controlled and dsChange reports intent without mutating value.",
5100
+ "Dividers group menu items but never participate in previous or next resolution.",
5101
+ "The first and last selectable sections expose only the available neighboring direction."
5269
5102
  ],
5270
5103
  "responsiveBehavior": [
5271
- "The component remains vertical at every width.",
5272
- "The consuming panel owns responsive adaptation and decides whether to reposition or replace the side rail."
5104
+ "Use only in the dedicated mobile header presentation."
5273
5105
  ],
5274
- "frameworkCaveats": {
5275
- "customElements": [
5276
- "Assign items as a JavaScript property because structured arrays are not represented by HTML attributes.",
5277
- "Keep value synchronized to a valid enabled item and update the controlled panel from dsChange."
5278
- ],
5279
- "react": [
5280
- "Pass items as an array through the generated wrapper, keep value controlled, and use onDsChange to synchronize the visible panel."
5281
- ],
5282
- "angular": [
5283
- "Bind items and a valid value as properties, and handle dsChange to synchronize the visible panel."
5284
- ]
5285
- }
5106
+ "references": [
5107
+ {
5108
+ "label": "Storybook",
5109
+ "path": "src/wc/components/MobileSectionSwitcher/MobileSectionSwitcher.stories.ts"
5110
+ }
5111
+ ]
5286
5112
  },
5287
5113
  "api": {
5288
5114
  "props": {
5289
- "ariaLabel": {
5290
- "type": "string | null",
5291
- "required": false
5292
- },
5293
- "ariaLabelledby": {
5294
- "type": "string | undefined",
5115
+ "navigationLabel": {
5116
+ "type": "string",
5295
5117
  "required": false
5296
5118
  },
5297
- "background": {
5298
- "type": "PanelSubNavBackground | undefined",
5119
+ "sections": {
5120
+ "type": "TabItem[]",
5299
5121
  "required": false
5300
5122
  },
5301
- "items": {
5302
- "type": "PanelSubNavItem[]",
5123
+ "sectionsJson": {
5124
+ "type": "string",
5303
5125
  "required": false
5304
5126
  },
5305
5127
  "value": {
@@ -5316,387 +5138,390 @@
5316
5138
  "slots": []
5317
5139
  },
5318
5140
  "exports": {
5319
- "customElement": "ds-panel-sub-nav",
5320
- "react": "DsPanelSubNav",
5321
- "angular": "DsPanelSubNav"
5141
+ "customElement": "ds-mobile-section-switcher",
5142
+ "react": "DsMobileSectionSwitcher",
5143
+ "angular": "DsMobileSectionSwitcher"
5322
5144
  },
5323
5145
  "dependencies": [
5324
5146
  "@ds-mo/ui",
5325
5147
  "@ds-mo/tokens"
5326
5148
  ],
5327
5149
  "componentDependencies": [
5150
+ "menu",
5328
5151
  "text"
5329
5152
  ]
5330
5153
  },
5331
5154
  {
5332
- "id": "component:ds-panel-tool-header",
5333
- "tag": "ds-panel-tool-header",
5334
- "name": "panel-tool-header",
5335
- "title": "PanelToolHeader",
5336
- "summary": "Canonical left-aligned PanelTools header with an optional leading navigation or dismiss action and application-owned trailing icon actions.",
5155
+ "id": "component:ds-mobile-sheet-nav",
5156
+ "tag": "ds-mobile-sheet-nav",
5157
+ "name": "mobile-sheet-nav",
5158
+ "title": "MobileSheetNav",
5159
+ "summary": "Full-height mobile navigation sheet with a single brand, context, and utility header above large primary destinations.",
5337
5160
  "intentStatus": "complete",
5338
5161
  "intent": {
5339
- "audience": "general",
5162
+ "audience": "specialized",
5340
5163
  "status": "experimental",
5341
- "summary": "Canonical left-aligned PanelTools header with an optional leading navigation or dismiss action and application-owned trailing icon actions.",
5164
+ "summary": "Full-height mobile navigation sheet with a single brand, context, and utility header above large primary destinations.",
5342
5165
  "useWhen": [
5343
- "PanelTools needs its one shared root or detail header.",
5344
- "A tool header needs a title with optional Back or Close navigation, menu, fullscreen, or other compact icon actions."
5166
+ "The mobile ShellApp Menu control needs to expose the complete primary navigation collection."
5345
5167
  ],
5346
5168
  "avoidWhen": [
5347
- "Rendering inside a PanelTools tool body; PanelTools already composes this canonical header above the body.",
5348
- "The header belongs to page content."
5169
+ "Rendering desktop PanelNav.",
5170
+ "Switching local page content."
5349
5171
  ],
5350
5172
  "commonlyComposedWith": [
5351
- "component:ds-button-unfilled"
5173
+ "component:ds-shell-app",
5174
+ "component:ds-mobile-bar-nav"
5175
+ ],
5176
+ "patterns": [
5177
+ "pattern:application-shell"
5352
5178
  ],
5353
5179
  "accessibility": [
5354
- "Leading navigation or dismiss actions and trailing icon actions require concise localized names; the header reuses each name as the action tooltip.",
5355
- "The visible heading names the active panel or subview."
5180
+ "The sheet is a named navigation landmark and retains visible labels for every primary destination.",
5181
+ "Dashboard and Settings use icon-only tabs with localized accessible names; Help and Account use icon-only actions with matching tooltips.",
5182
+ "Escape requests dismissal and opening moves focus to the selected or first available area."
5356
5183
  ],
5357
5184
  "states": [
5358
- "The title remains left aligned whether the header has no actions, Back, one trailing action, or several trailing actions.",
5359
- "Leading and trailing control zones never shrink; only the title consumes and truncates within the remaining width, with a fixed 4px gap between zones.",
5360
- "Header chrome text is not selectable; actions remain keyboard focusable and interactive.",
5361
- "Adjacent trailing actions keep the shared 4px control gap in drawer and fullscreen presentations.",
5362
- "When fullscreen and overflow actions appear together, author fullscreen before overflow so Ellipses remains the rightmost action.",
5363
- "PanelTools supplies application-owned actions and relays their ids through its shared dsHeaderAction event."
5185
+ "Dashboard and Settings change only the flat destination collection being browsed.",
5186
+ "Area, Help, and Account events express intent while the application owns navigation and product behavior."
5364
5187
  ],
5365
5188
  "responsiveBehavior": [
5366
- "The title truncates between optional leading navigation and trailing action zones."
5189
+ "The pane fills the mobile content stage while the bottom bar remains available."
5367
5190
  ],
5368
5191
  "references": [
5369
5192
  {
5370
- "label": "Standalone examples",
5371
- "path": "src/wc/components/PanelToolHeader/PanelToolHeader.stories.ts"
5193
+ "label": "Storybook",
5194
+ "path": "src/wc/components/MobileSheetNav/MobileSheetNav.stories.ts"
5372
5195
  }
5373
5196
  ]
5374
5197
  },
5375
5198
  "api": {
5376
5199
  "props": {
5377
- "actions": {
5378
- "type": "PanelToolsHeaderAction[]",
5379
- "required": false
5380
- },
5381
- "backAriaLabel": {
5200
+ "accountLabel": {
5382
5201
  "type": "string",
5383
5202
  "required": false
5384
5203
  },
5385
- "backIcon": {
5386
- "type": "string",
5204
+ "browseContext": {
5205
+ "type": "NavChromeStyle",
5387
5206
  "required": false
5388
5207
  },
5389
- "heading": {
5208
+ "currentUrl": {
5390
5209
  "type": "string",
5391
5210
  "required": false
5392
5211
  },
5393
- "menuAriaLabel": {
5394
- "type": "string",
5212
+ "dashboardGroups": {
5213
+ "type": "PanelNavGroup[]",
5395
5214
  "required": false
5396
5215
  },
5397
- "menuControls": {
5398
- "type": "string | undefined",
5216
+ "dashboardLabel": {
5217
+ "type": "string",
5399
5218
  "required": false
5400
5219
  },
5401
- "menuExpanded": {
5402
- "type": "boolean",
5220
+ "helpLabel": {
5221
+ "type": "string",
5403
5222
  "required": false
5404
5223
  },
5405
- "menuTriggerId": {
5224
+ "navigationLabel": {
5406
5225
  "type": "string",
5407
5226
  "required": false
5408
5227
  },
5409
- "showBack": {
5228
+ "open": {
5410
5229
  "type": "boolean",
5411
5230
  "required": false
5412
5231
  },
5413
- "showMenu": {
5414
- "type": "boolean",
5232
+ "settingsGroups": {
5233
+ "type": "PanelNavGroup[]",
5234
+ "required": false
5235
+ },
5236
+ "settingsLabel": {
5237
+ "type": "string",
5415
5238
  "required": false
5416
5239
  }
5417
5240
  },
5418
5241
  "events": [
5419
5242
  {
5420
- "name": "dsAction",
5421
- "detail": "{ id: string; originalEvent: MouseEvent }"
5243
+ "name": "dsAreaSelect",
5244
+ "detail": "string"
5422
5245
  },
5423
5246
  {
5424
- "name": "dsBack",
5425
- "detail": "MouseEvent"
5247
+ "name": "dsBrowseContextChange",
5248
+ "detail": "NavChromeStyle"
5426
5249
  },
5427
5250
  {
5428
- "name": "dsMenuToggle",
5429
- "detail": "MouseEvent"
5251
+ "name": "dsClose",
5252
+ "detail": "void"
5430
5253
  }
5431
5254
  ],
5432
5255
  "slots": []
5433
5256
  },
5434
5257
  "exports": {
5435
- "customElement": "ds-panel-tool-header",
5436
- "react": "DsPanelToolHeader",
5437
- "angular": "DsPanelToolHeader"
5258
+ "customElement": "ds-mobile-sheet-nav",
5259
+ "react": "DsMobileSheetNav",
5260
+ "angular": "DsMobileSheetNav"
5438
5261
  },
5439
5262
  "dependencies": [
5440
5263
  "@ds-mo/ui",
5441
- "@ds-mo/tokens"
5264
+ "@ds-mo/tokens",
5265
+ "@ds-mo/icons"
5442
5266
  ],
5443
5267
  "componentDependencies": [
5268
+ "badge",
5444
5269
  "button-unfilled",
5270
+ "icon",
5271
+ "tab-group",
5445
5272
  "text",
5446
5273
  "tooltip"
5447
5274
  ]
5448
5275
  },
5449
5276
  {
5450
- "id": "component:ds-panel-tool-search",
5451
- "tag": "ds-panel-tool-search",
5452
- "name": "panel-tool-search",
5453
- "title": "PanelToolSearch",
5454
- "summary": "Transparent search row for the top of a PanelTools product view, with a fixed 48px allocation around the standard md search control and an optional filter-menu trigger.",
5277
+ "id": "component:ds-modal",
5278
+ "tag": "ds-modal",
5279
+ "name": "modal",
5280
+ "title": "Modal",
5281
+ "summary": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
5455
5282
  "intentStatus": "complete",
5456
5283
  "intent": {
5457
5284
  "audience": "general",
5458
- "status": "experimental",
5459
- "summary": "Transparent search row for the top of a PanelTools product view, with a fixed 48px allocation around the standard md search control and an optional filter-menu trigger.",
5285
+ "status": "stable",
5286
+ "summary": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
5460
5287
  "useWhen": [
5461
- "A PanelTools base view filters or searches the tool's own content.",
5462
- "Several tool products need the same search-row geometry directly below the shared PanelTools header.",
5463
- "The product needs a compact filter menu next to search while keeping its filter choices and matching policy application-owned."
5288
+ "The user must confirm or cancel one focused decision before returning to the underlying interface.",
5289
+ "A short blocking task or compact form needs dialog semantics, focus containment, and explicit completion actions.",
5290
+ "The content can be safely dismissed through Close, Escape, or the backdrop."
5464
5291
  ],
5465
5292
  "avoidWhen": [
5466
- "The search belongs inside a Select or SelectMulti popup; use that component's searchable behavior.",
5467
- "A form needs a labelled standalone field; compose ds-input inside ds-field instead."
5293
+ "The message is non-blocking feedback or a transient status update.",
5294
+ "The interaction is a contextual list of commands anchored to a trigger.",
5295
+ "The workflow is multi-step, long-form, or requires substantial navigation.",
5296
+ "Dismissal would lose work or leave an irreversible operation in an unsafe state.",
5297
+ "A second modal would be opened over an existing modal."
5298
+ ],
5299
+ "alternatives": [
5300
+ {
5301
+ "when": "The user needs non-blocking feedback or a transient status message.",
5302
+ "component": "component:ds-toast",
5303
+ "reason": "Toast communicates transient status without trapping focus or blocking the page."
5304
+ },
5305
+ {
5306
+ "when": "A trigger reveals a short contextual list of commands.",
5307
+ "component": "component:ds-menu",
5308
+ "reason": "Menu provides anchored command semantics without creating a blocking dialog."
5309
+ },
5310
+ {
5311
+ "when": "Editable settings should remain visible without blocking the rest of the interface.",
5312
+ "component": "component:ds-card-setting",
5313
+ "reason": "CardSetting provides a persistent controlled settings workflow without modal focus containment."
5314
+ }
5468
5315
  ],
5469
5316
  "commonlyComposedWith": [
5470
- "component:ds-panel-tools",
5471
- "component:ds-conversation-list",
5472
- "component:ds-input"
5317
+ "component:ds-button-filled",
5318
+ "component:ds-button-unfilled",
5319
+ "component:ds-field",
5320
+ "component:ds-text"
5473
5321
  ],
5474
5322
  "accessibility": [
5475
- "Provide an aria-label that names the searched domain, such as Search agent chats or Search messages.",
5476
- "The standard search clear action restores focus, uses the concise localized clearLabel by itself for both its tooltip and accessible name, and emits both the empty query and dsClear.",
5477
- "When showFilter is enabled, provide stable filterTriggerId and filterControls values, synchronize filterExpanded with the controlled menu, and restore focus after selection; filterAriaLabel also labels its tooltip."
5323
+ "Provide a concise visible heading; the component uses it as the dialog's accessible name.",
5324
+ "Give the primary explanatory copy a stable id and pass it through aria-describedby so assistive technology receives the decision context.",
5325
+ "Opening the native modal dialog moves focus to the header Close action, whose visible tooltip matches its accessible name, traps Tab navigation inside the top layer, and makes outside content inert.",
5326
+ "Close, Escape, and backdrop activation emit dsClose with close-button, escape, or backdrop reason before beginning dismissal; use the component only when every dismissal path is safe.",
5327
+ "After exit motion completes, the native dialog leaves the top layer, focus returns to the previously focused element, and dsAfterClose emits.",
5328
+ "Use visible label-only footer buttons. Keep at most two actions: one bold filled primary action followed by one bordered unfilled action, or two bordered unfilled actions.",
5329
+ "Use negative intent for a filled destructive action and state the irreversible consequence in the content.",
5330
+ "Do not open a modal from another modal; keep one blocking decision in focus at a time."
5478
5331
  ],
5479
5332
  "states": [
5480
- "The row is always 48px high with 8px outer padding and a complete md search recipe: 32px control, text-body-medium at 14px/20px, and a 20px md search icon.",
5481
- "The search icon stays foreground-secondary at rest, hover, focus, active, and while the query is filled.",
5482
- "The row and control surface remain transparent so the ShellApp chrome wash is visible behind them.",
5483
- "The row divider remains the same tertiary 1px boundary while the input is focused because it belongs to the 48px container rather than the input control.",
5484
- "With filtering enabled, the md search control, decorative vertical divider, and borderless md Filter action are separated by 8px; filterActive promotes only the trigger foreground without adding a selected fill."
5333
+ "The owner opens the modal through the open property and responds to the typed dsClose detail for application state synchronization or dismissal analytics.",
5334
+ "The component mutates open to false for Close, Escape, and backdrop dismissal while retaining its rendered surface through exit motion.",
5335
+ "The default slot owns task content; the named footer slot is optional and is hidden when no actions are assigned.",
5336
+ "Primary actions use a bold filled button with semantic intent. Secondary and cancel actions use bordered label-only unfilled buttons.",
5337
+ "The owner performs save, delete, cancel, and other product consequences before or while closing the modal."
5485
5338
  ],
5486
5339
  "responsiveBehavior": [
5487
- "The row fills the available drawer or fullscreen width, allows its search region to shrink inside a 300px drawer without pushing the filter trigger under the tool rail, and does not reduce its control below md density."
5340
+ "Choose the smallest sm, md, or lg width that fits the focused task; the top-layer dialog clamps to the viewport with token-based outer space.",
5341
+ "Content scrolls independently when needed while the 64px header and optional 64px footer remain fixed.",
5342
+ "Avoid layouts whose minimum content width exceeds the narrow viewport clamp.",
5343
+ "The native top layer escapes transformed ancestors, clipping containers, and application stacking contexts without moving slotted content."
5488
5344
  ],
5489
5345
  "frameworkCaveats": {
5490
5346
  "customElements": [
5491
- "Listen for dsChange to receive the current string query and dsClear when the clear action is used.",
5492
- "Listen for dsFilterToggle and pair the trigger with an externally controlled ds-menu; product-specific filter labels and filtering remain outside this component."
5347
+ "Set open as a JavaScript property when controlling the modal; inspect dsClose.detail.reason and use dsAfterClose for cleanup that must wait for exit motion and focus restoration.",
5348
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
5349
+ "Footer actions are slotted application-owned controls and must implement their own product consequence."
5493
5350
  ],
5494
5351
  "react": [
5495
- "Use DsPanelToolSearch, bind value for controlled state, and handle onDsChange.",
5496
- "Bind the optional filter trigger state and connect onDsFilterToggle to a controlled DsMenu."
5352
+ "Pass open to DsModal, inspect onDsClose event detail, and use onDsAfterClose only for cleanup after exit motion and focus restoration.",
5353
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
5354
+ "Assign footer controls with slot=\"footer\" and handle each action before updating open."
5497
5355
  ],
5498
5356
  "angular": [
5499
- "Import DsPanelToolSearch and bind value as a property; this search composition is not a form value accessor.",
5500
- "Bind showFilter, filterExpanded, and filterActive, then connect dsFilterToggle to a product-owned ds-menu."
5357
+ "Bind [open], inspect $event.detail from (dsClose), and use (dsAfterClose) only for cleanup after exit motion and focus restoration.",
5358
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
5359
+ "Assign footer controls with slot=\"footer\" and handle each action before updating open."
5501
5360
  ]
5502
5361
  },
5503
5362
  "references": [
5504
5363
  {
5505
- "label": "Storybook examples",
5506
- "path": "src/wc/components/PanelToolSearch/PanelToolSearch.stories.ts"
5364
+ "label": "Storybook confirmation and footer examples",
5365
+ "path": "src/wc/components/Modal/Modal.stories.ts"
5366
+ },
5367
+ {
5368
+ "label": "Cross-browser focus, dismissal, geometry, and accessibility coverage",
5369
+ "path": "tests/e2e/accessibility-overlays.spec.ts"
5370
+ },
5371
+ {
5372
+ "label": "Reduced-motion overlay coverage",
5373
+ "path": "tests/e2e/reduced-motion.spec.ts"
5507
5374
  }
5508
5375
  ]
5509
5376
  },
5510
5377
  "api": {
5511
5378
  "props": {
5512
- "ariaLabel": {
5513
- "type": "string",
5514
- "required": false
5515
- },
5516
- "controls": {
5379
+ "ariaDescribedby": {
5517
5380
  "type": "string | undefined",
5518
5381
  "required": false
5519
5382
  },
5520
- "filterActive": {
5521
- "type": "boolean",
5522
- "required": false
5523
- },
5524
- "filterAriaLabel": {
5383
+ "closeAriaLabel": {
5525
5384
  "type": "string",
5526
5385
  "required": false
5527
5386
  },
5528
- "filterControls": {
5529
- "type": "string | undefined",
5530
- "required": false
5531
- },
5532
- "filterExpanded": {
5533
- "type": "boolean",
5534
- "required": false
5535
- },
5536
- "filterTriggerId": {
5387
+ "heading": {
5537
5388
  "type": "string",
5538
- "required": false
5539
- },
5540
- "isInactive": {
5541
- "type": "boolean",
5542
- "required": false
5389
+ "required": true
5543
5390
  },
5544
- "placeholder": {
5545
- "type": "string",
5391
+ "modalWidth": {
5392
+ "type": "ModalWidth | string",
5546
5393
  "required": false
5547
5394
  },
5548
- "showFilter": {
5395
+ "open": {
5549
5396
  "type": "boolean",
5550
5397
  "required": false
5551
- },
5552
- "value": {
5553
- "type": "string",
5554
- "required": false
5555
5398
  }
5556
5399
  },
5557
5400
  "events": [
5558
5401
  {
5559
- "name": "dsChange",
5560
- "detail": "string"
5561
- },
5562
- {
5563
- "name": "dsClear",
5402
+ "name": "dsAfterClose",
5564
5403
  "detail": "void"
5565
5404
  },
5566
5405
  {
5567
- "name": "dsFilterToggle",
5568
- "detail": "MouseEvent"
5406
+ "name": "dsClose",
5407
+ "detail": "ModalCloseDetail"
5569
5408
  }
5570
5409
  ],
5571
5410
  "slots": []
5572
5411
  },
5573
5412
  "exports": {
5574
- "customElement": "ds-panel-tool-search",
5575
- "react": "DsPanelToolSearch",
5576
- "angular": "DsPanelToolSearch"
5413
+ "customElement": "ds-modal",
5414
+ "react": "DsModal",
5415
+ "angular": "DsModal"
5577
5416
  },
5578
5417
  "dependencies": [
5579
5418
  "@ds-mo/ui",
5580
- "@ds-mo/tokens",
5581
- "@ds-mo/icons"
5419
+ "@ds-mo/tokens"
5582
5420
  ],
5583
5421
  "componentDependencies": [
5584
5422
  "button-unfilled",
5585
- "divider",
5586
- "icon",
5587
5423
  "text",
5588
5424
  "tooltip"
5589
5425
  ]
5590
5426
  },
5591
5427
  {
5592
- "id": "component:ds-panel-tools",
5593
- "tag": "ds-panel-tools",
5594
- "name": "panel-tools",
5595
- "title": "PanelTools",
5596
- "summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
5428
+ "id": "component:ds-panel-nav",
5429
+ "tag": "ds-panel-nav",
5430
+ "name": "panel-nav",
5431
+ "title": "PanelNav",
5432
+ "summary": "The single persistent primary navigation for an application, providing grouped top-level destinations, active-route state, standard dashboard/settings switching, user access, and collapsible desktop and tablet presentation.",
5597
5433
  "intentStatus": "complete",
5598
5434
  "intent": {
5599
5435
  "audience": "specialized",
5600
5436
  "status": "stable",
5601
- "summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
5437
+ "summary": "The single persistent primary navigation for an application, providing grouped top-level destinations, active-route state, standard dashboard/settings switching, user access, and collapsible desktop and tablet presentation.",
5602
5438
  "useWhen": [
5603
- "Composing the required global tools region inside the application's single ShellApp.",
5604
- "Users need to move between application-wide utilities without losing each tool's in-progress state.",
5605
- "Search, AI conversations, user messages, review stacks, notifications, or help content must remain available alongside route content."
5439
+ "Building the one primary navigation surface for an application that uses the CompoMo system.",
5440
+ "Top-level destinations must remain consistently available while the application's page content changes.",
5441
+ "Primary destinations need visual grouping, icons, notification indicators, active-route state, and expanded or collapsed presentation."
5606
5442
  ],
5607
5443
  "avoidWhen": [
5608
- "The action is specific to the current page or selected content rather than globally available across the application.",
5609
- "The item navigates to a primary or secondary route; use PanelNav or BarNav instead.",
5610
- "A consumer wants to add arbitrary tools, reorder fixed tools, or repurpose a semantic tool id.",
5611
- "Building the mobile tools experience; future mobile ShellApp composition uses a different bottom-bar and panel pattern.",
5612
- "PanelTools would be mounted outside the application's single ShellApp."
5444
+ "A second navigation surface is needed within the same application; an application must have only one PanelNav.",
5445
+ "The choices represent sections within the active primary destination; use BarNav instead.",
5446
+ "The choices switch local content without changing the application's primary destination; use TabGroup instead.",
5447
+ "The interaction performs a command or presents temporary contextual choices; use a button or Menu instead.",
5448
+ "Building navigation below the mobile breakpoint; use the application's dedicated mobile navigation component instead."
5613
5449
  ],
5614
5450
  "alternatives": [
5615
5451
  {
5616
- "when": "The action navigates to a top-level application destination.",
5617
- "component": "component:ds-panel-nav",
5618
- "reason": "PanelNav exclusively owns primary application navigation."
5452
+ "when": "The choices represent route sections within the active primary destination.",
5453
+ "component": "component:ds-bar-nav",
5454
+ "reason": "BarNav owns secondary section navigation within the destination selected by PanelNav."
5619
5455
  },
5620
5456
  {
5621
- "when": "The action navigates between route sections of the active destination.",
5622
- "component": "component:ds-bar-nav",
5623
- "reason": "BarNav exclusively owns secondary route navigation."
5457
+ "when": "The choices switch local content without changing the application's primary destination.",
5458
+ "component": "component:ds-tab-group",
5459
+ "reason": "TabGroup owns local view selection and tab semantics."
5624
5460
  },
5625
5461
  {
5626
- "when": "Temporary contextual actions or options are needed.",
5462
+ "when": "The choices are commands or temporary contextual actions.",
5627
5463
  "component": "component:ds-menu",
5628
- "reason": "Menu owns transient contextual choices rather than persistent global products."
5464
+ "reason": "Menu owns transient action and option collections rather than persistent destinations."
5629
5465
  }
5630
5466
  ],
5631
5467
  "commonlyComposedWith": [
5632
5468
  "component:ds-shell-app",
5633
- "component:ds-panel-nav",
5634
- "component:ds-bar-nav"
5469
+ "component:ds-bar-nav",
5470
+ "component:ds-panel-tools",
5471
+ "component:ds-menu"
5635
5472
  ],
5636
5473
  "patterns": [
5637
5474
  "pattern:application-shell"
5638
5475
  ],
5639
5476
  "accessibility": [
5640
- "Provide localized accessible labels for the rail, shortcut group, and every rendered tool.",
5641
- "Keep Search first in the rail header and Help last in the rail footer so keyboard and visual order remain predictable.",
5642
- "Keep focus on the selected rail action when opening a drawer and allow normal Tab navigation into its content.",
5643
- "Do not trigger global shortcuts while focus is in an editable control.",
5644
- "Use notification dots only as supplemental unread or new-content status and never as the sole status indication.",
5645
- "Explain temporarily inactive tools through an accessible label or adjacent product guidance; omit unauthorized tools entirely."
5477
+ "Give every primary destination a concise visible label and an icon that supports rather than replaces that label.",
5478
+ "Provide localized dashboard, settings, account, navigation, collapse, and expand labels.",
5479
+ "Preserve accessible destination names when the panel is collapsed to icon-only presentation.",
5480
+ "Use notification dots as supplemental status and never as the only indication of important information.",
5481
+ "When the destination body overflows, it becomes a localized keyboard-focusable scroll region in addition to the roving destination controls.",
5482
+ "Keep the standard dashboard/settings switch and user/account entry available in the footer."
5646
5483
  ],
5647
5484
  "states": [
5648
- "Search and Help are required; optional Agents, Messages, Stacks, and Activity tools are filtered by the application for authorization and entitlement.",
5649
- "Use only the fixed semantic tool ids and canonical order: Search, Agents, Messages, Stacks, Activity, Help; do not reorder, duplicate, or repurpose them.",
5650
- "Search is application-wide; Agents is user-to-AI chat; Messages is user-to-user chat; Stacks is a specialized inbox of grouped application events for review; Activity is the notification center; Help is drawer content that may link to external resources.",
5651
- "Only one drawer is open at a time; selecting another tool switches directly and selecting the active tool closes to rail-only mode.",
5652
- "The drawer starts closed, remains open across ordinary route changes, and retains every mounted tool's independent conversation, query, scroll, and work state.",
5653
- "When storageKey is set, persist only the last active tool in this browser and still restore the drawer closed after reload.",
5654
- "The application owns unread state; opening Messages, Agents, Stacks, or Activity does not automatically clear its notification dot.",
5655
- "PanelTools owns the one visible header above every drawer tool view and above fullscreen views using the default shared header mode. Slotted tool content must not render a second header unless the conversation product explicitly opts into split fullscreen headers.",
5656
- "PanelTools composes ds-panel-tool-header as its canonical left-aligned header implementation so standalone header stories and shell rendering cannot diverge.",
5657
- "Each tool supplies its current header title, base-versus-detail Back state, and right-side actions through the headers property. Base views omit Back; deeper views expose Back and update the same header in place.",
5658
- "Header Back and action events express intent only; the owning tool changes product navigation, menus, and data state. PanelTools keeps the final header action exactly 8px from the drawer edge.",
5659
- "Menus opened from a right-side header action use PANEL_TOOLS_HEADER_MENU_PLACEMENT: bottom/end choice-cell alignment and a 12px side offset, placing the popup 4px below the 48px header while aligning the final menu item edge with the trigger.",
5660
- "Tool view roots stay transparent so ShellApp's chrome wash remains visible; only explicitly designed child surfaces introduce a fill.",
5661
- "Tools with search compose ds-panel-tool-search immediately below the shared header. Its 48px row always contains the md search control and must not be reduced to sm or xs.",
5662
- "If an active optional tool becomes unavailable, PanelTools closes the drawer, clears activeTool, and emits its deselection.",
5663
- "Use isInactive only for a temporarily unavailable visible tool; omit tools the user is not authorized to access.",
5664
- "The application owns slotted tool products and data while PanelTools owns rail ordering, drawer selection, open state, motion, and shell events.",
5665
- "Opening and closing clip an already-rendered fixed-width surface. Header and tool content remain fully opaque and retained during width motion; transition completion is accepted only at the measured terminal clip width, after which the closed surface becomes inert and paint-skipped.",
5666
- "Entering and exiting fullscreen snaps without borrowing the drawer open or close animation.",
5667
- "When fullscreenHeaderMode is split, PanelTools suppresses only its fullscreen shared header. The application renders exactly two canonical ds-panel-tool-header instances: a tool-title/list-actions header over the 300px history pane and a chat-title/Exit-fullscreen/chat-actions header over the detail pane. The detail header omits Back because the list remains visible."
5485
+ "Render exactly one PanelNav per application; it owns primary application destinations and no other navigation role.",
5486
+ "The host router owns the current route; prefer currentUrl for active destination matching and use activeId only when route matching is unavailable.",
5487
+ "Use anchor mode for native links or routers that intercept anchors; use event mode when the host performs navigation from dsNavSelect.",
5488
+ "Groups visually organize top-level destinations only and must not be interpreted as nested or expandable navigation.",
5489
+ "Dashboard presents day-to-day operational destinations; Settings presents administrative and configuration destinations.",
5490
+ "The standard footer switches the entire destination collection and navStyle between Dashboard and Settings and exposes the user/account entry.",
5491
+ "The host owns the external user menu opened from dsNavUserAction.",
5492
+ "Item and header controls inherit the shared md control radius while local shell geometry continues to own collapsed layout and footer animation positioning.",
5493
+ "On desktop, allow user-controlled expand and collapse and persist the preference with storageKey when cross-session persistence is appropriate."
5668
5494
  ],
5669
5495
  "responsiveBehavior": [
5670
- "The open drawer reduces main-content width and uses --dimension-panel-width-xs (300px) on every supported desktop and tablet viewport.",
5671
- "ShellApp owns the fixed drawer-width variable; consumers must not hardcode alternate drawer widths.",
5672
- "Below 768px, do not reuse desktop PanelTools: future ShellApp mobile composition uses a bottom bar for Search, Agents, Notifications, and Stacks, while Help moves into mobile primary navigation.",
5673
- "Keep named-slot content mounted while tools switch or the drawer closes so users can return to in-progress global work.",
5674
- "Conversation products may use fullscreenHeaderMode split for a 300px history rail beside a flexible detail pane, each with its own canonical header; the application owns that internal split layout.",
5675
- "Use fixed drawer widths for now; do not add user resizing or width persistence."
5496
+ "At 1200px and wider, default to expanded, allow the user to expand or collapse, and restore the locally persisted desktop preference when available.",
5497
+ "From 768px through 1199px, present PanelNav permanently collapsed and do not allow user expansion.",
5498
+ "Below 768px, the consuming application replaces PanelNav with a dedicated mobile navigation component; PanelNav does not own mobile navigation.",
5499
+ "ShellApp permanently owns responsive composition: it determines shell mode, enforces tablet collapse, and replaces PanelNav with future mobile navigation below 768px.",
5500
+ "When the viewport is below breakpoint, PanelNav locks collapsed, disables its header toggle affordance, and preserves the persisted desktop collapse preference.",
5501
+ "Collapsed presentation must preserve destination ordering, active state, notification status, and accessible names."
5676
5502
  ],
5677
5503
  "frameworkCaveats": {
5678
5504
  "customElements": [
5679
- "Assign items as a JavaScript property for structured data; items-json is the string fallback.",
5680
- "Assign headers as a JavaScript property and replace its object identity whenever an active tool changes title, depth, or actions.",
5681
- "Keep PanelTools mounted at ShellApp scope across route changes and provide each product through its matching named slot."
5505
+ "Assign groups as a JavaScript property for structured data; a JSON string attribute is also supported.",
5506
+ "Set nav-style before the element connects when first-paint style must match the current route."
5682
5507
  ],
5683
5508
  "react": [
5684
- "Pass the fixed item collection through the generated React wrapper and keep named-slot product content mounted at ShellApp scope.",
5685
- "Use storageKey only for same-browser last-tool continuity; do not persist the open drawer."
5509
+ "Pass groups as an array through the generated React wrapper and synchronize currentUrl with the host router.",
5510
+ "ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
5686
5511
  ],
5687
5512
  "angular": [
5688
- "Import DsPanelTools from @ds-mo/ui/angular/ds-panel-tools and bind items as a property.",
5689
- "Bind headers as a replaced object and route dsHeaderBack and dsHeaderAction to the active tool owner.",
5690
- "Keep the component in the persistent shell layout rather than recreating it in routed page components."
5513
+ "Import DsPanelNav from @ds-mo/ui/angular/ds-panel-nav and bind groups as a property.",
5514
+ "Bind both the nav-style attribute and navStyle property when first-paint route styling must be deterministic.",
5515
+ "ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
5691
5516
  ]
5692
5517
  },
5693
5518
  "references": [
5694
5519
  {
5695
5520
  "label": "Executable Storybook examples",
5696
- "path": "src/wc/components/PanelTools/PanelTools.stories.ts"
5521
+ "path": "src/wc/components/PanelNav/PanelNav.stories.ts"
5697
5522
  },
5698
5523
  {
5699
- "label": "Framework and shell integration",
5524
+ "label": "Framework and routing integration",
5700
5525
  "path": "docs/framework-integration.md"
5701
5526
  },
5702
5527
  {
@@ -5707,47 +5532,83 @@
5707
5532
  },
5708
5533
  "api": {
5709
5534
  "props": {
5710
- "activeTool": {
5711
- "type": "PanelToolsToolId | ''",
5535
+ "accountLabel": {
5536
+ "type": "string",
5712
5537
  "required": false
5713
5538
  },
5714
- "fullscreenHeaderMode": {
5715
- "type": "'shared' | 'split'",
5539
+ "accountMenuExpanded": {
5540
+ "type": "boolean",
5716
5541
  "required": false
5717
5542
  },
5718
- "headers": {
5719
- "type": "PanelToolsHeaders",
5543
+ "activeId": {
5544
+ "type": "string",
5720
5545
  "required": false
5721
5546
  },
5722
- "headersJson": {
5547
+ "breakpoint": {
5548
+ "type": "number",
5549
+ "required": false
5550
+ },
5551
+ "collapseNavigationLabel": {
5723
5552
  "type": "string",
5724
5553
  "required": false
5725
5554
  },
5726
- "items": {
5727
- "type": "PanelToolsItem[]",
5555
+ "collapsed": {
5556
+ "type": "boolean",
5728
5557
  "required": false
5729
5558
  },
5730
- "itemsJson": {
5559
+ "currentUrl": {
5731
5560
  "type": "string",
5732
5561
  "required": false
5733
5562
  },
5734
- "open": {
5563
+ "dashboardLabel": {
5564
+ "type": "string",
5565
+ "required": false
5566
+ },
5567
+ "dashboardNavigationLabel": {
5568
+ "type": "string",
5569
+ "required": false
5570
+ },
5571
+ "disableViewTransition": {
5735
5572
  "type": "boolean",
5736
5573
  "required": false
5737
5574
  },
5738
- "presentation": {
5739
- "type": "'drawer' | 'fullscreen'",
5575
+ "expandNavigationLabel": {
5576
+ "type": "string",
5577
+ "required": false
5578
+ },
5579
+ "groups": {
5580
+ "type": "string | PanelNavGroup[]",
5581
+ "required": false
5582
+ },
5583
+ "navStyle": {
5584
+ "type": "NavChromeStyle",
5585
+ "required": false
5586
+ },
5587
+ "navigationItemsLabel": {
5588
+ "type": "string",
5589
+ "required": false
5590
+ },
5591
+ "routerMode": {
5592
+ "type": "PanelNavRouterMode",
5593
+ "required": false
5594
+ },
5595
+ "settingsLabel": {
5596
+ "type": "string",
5597
+ "required": false
5598
+ },
5599
+ "settingsNavigationLabel": {
5600
+ "type": "string",
5740
5601
  "required": false
5741
5602
  },
5742
5603
  "storageKey": {
5743
5604
  "type": "string",
5744
5605
  "required": false
5745
5606
  },
5746
- "toolShortcutsLabel": {
5607
+ "userInitial": {
5747
5608
  "type": "string",
5748
5609
  "required": false
5749
5610
  },
5750
- "toolsLabel": {
5611
+ "userName": {
5751
5612
  "type": "string",
5752
5613
  "required": false
5753
5614
  }
@@ -5762,119 +5623,122 @@
5762
5623
  "detail": "ChromeTransitionDetail"
5763
5624
  },
5764
5625
  {
5765
- "name": "dsHeaderAction",
5766
- "detail": "{\n tool: PanelToolsToolId;\n id: string;\n }"
5626
+ "name": "dsNavFooterAction",
5627
+ "detail": "void"
5767
5628
  },
5768
5629
  {
5769
- "name": "dsHeaderBack",
5770
- "detail": "{\n tool: PanelToolsToolId;\n }"
5630
+ "name": "dsNavSelect",
5631
+ "detail": "string"
5771
5632
  },
5772
5633
  {
5773
- "name": "dsPresentationChange",
5774
- "detail": "{\n presentation: 'drawer' | 'fullscreen';\n }"
5634
+ "name": "dsNavToggle",
5635
+ "detail": "boolean"
5775
5636
  },
5776
5637
  {
5777
- "name": "dsToolChange",
5778
- "detail": "{\n id: PanelToolsToolId;\n selected: boolean;\n }"
5638
+ "name": "dsNavUserAction",
5639
+ "detail": "PanelNavUserActionDetail"
5779
5640
  }
5780
5641
  ],
5781
5642
  "slots": []
5782
5643
  },
5783
5644
  "exports": {
5784
- "customElement": "ds-panel-tools",
5785
- "react": "DsPanelTools",
5786
- "angular": "DsPanelTools"
5645
+ "customElement": "ds-panel-nav",
5646
+ "react": "DsPanelNav",
5647
+ "angular": "DsPanelNav"
5787
5648
  },
5788
5649
  "dependencies": [
5789
5650
  "@ds-mo/ui",
5790
- "@ds-mo/tokens"
5651
+ "@ds-mo/tokens",
5652
+ "@ds-mo/icons"
5791
5653
  ],
5792
5654
  "componentDependencies": [
5655
+ "badge",
5793
5656
  "button-unfilled",
5794
- "panel-tool-header",
5657
+ "icon",
5658
+ "text",
5795
5659
  "tooltip"
5796
5660
  ]
5797
5661
  },
5798
5662
  {
5799
- "id": "component:ds-radio",
5800
- "tag": "ds-radio",
5801
- "name": "radio",
5802
- "title": "Radio",
5803
- "summary": "Form-associated one-of-many radio selection set with vertical or horizontal layout, three densities, per-option inactive state, and roving keyboard focus.",
5663
+ "id": "component:ds-panel-sub-nav",
5664
+ "tag": "ds-panel-sub-nav",
5665
+ "name": "panel-sub-nav",
5666
+ "title": "PanelSubNav",
5667
+ "summary": "Persistent vertical tab navigation for a panel or card side rail, switching adjacent local content with menu-like selected fill and stable text weight.",
5804
5668
  "intentStatus": "complete",
5805
5669
  "intent": {
5806
5670
  "audience": "general",
5807
5671
  "status": "stable",
5808
- "summary": "Form-associated one-of-many radio selection set with vertical or horizontal layout, three densities, per-option inactive state, and roving keyboard focus.",
5672
+ "summary": "Persistent vertical tab navigation for a panel or card side rail, switching adjacent local content with menu-like selected fill and stable text weight.",
5809
5673
  "useWhen": [
5810
- "A user must select exactly one visible option from a small set.",
5811
- "All available choices should remain visible for comparison.",
5812
- "A form needs one selected string value with native validation, reset, or external form association."
5674
+ "A panel or card side rail needs a persistent vertical list that switches adjacent local content.",
5675
+ "Each concise text label controls an immediately available tabpanel without changing application routes."
5813
5676
  ],
5814
5677
  "avoidWhen": [
5815
- "A user may select zero or multiple independent choices.",
5816
- "A binary setting applies immediately rather than selecting from a set.",
5817
- "The option list is too long or space-constrained to remain visible."
5678
+ "The navigation is not contained in a panel or card side rail.",
5679
+ "Local views should be arranged horizontally; use TabGroup instead.",
5680
+ "The choices navigate routes in application shell chrome; use PanelNav or BarNav instead.",
5681
+ "The choices are temporary commands or contextual options; use Menu instead.",
5682
+ "Rows need icons, subtext, notification dots, nested levels, or section headers."
5818
5683
  ],
5819
5684
  "alternatives": [
5820
5685
  {
5821
- "when": "A user may select zero or multiple independent choices.",
5822
- "component": "component:ds-checkbox",
5823
- "reason": "Checkbox communicates independent selection rather than one-of-many choice."
5686
+ "when": "Local panel choices fit a horizontal tab row.",
5687
+ "component": "component:ds-tab-group",
5688
+ "reason": "TabGroup is the horizontal local-view counterpart."
5824
5689
  },
5825
5690
  {
5826
- "when": "A binary setting applies immediately.",
5827
- "component": "component:ds-switch",
5828
- "reason": "Switch communicates an immediately applied on/off setting."
5691
+ "when": "The choices are primary application destinations.",
5692
+ "component": "component:ds-panel-nav",
5693
+ "reason": "PanelNav owns primary application navigation."
5829
5694
  },
5830
5695
  {
5831
- "when": "The option list is long or the available space is constrained.",
5832
- "component": "component:ds-select",
5833
- "reason": "Select keeps a larger one-of-many choice set compact."
5696
+ "when": "The choices are secondary application routes.",
5697
+ "component": "component:ds-bar-nav",
5698
+ "reason": "BarNav owns route sections inside ShellApp."
5699
+ },
5700
+ {
5701
+ "when": "The choices are transient actions or options.",
5702
+ "component": "component:ds-menu",
5703
+ "reason": "Menu owns temporary popup collections."
5834
5704
  }
5835
5705
  ],
5836
5706
  "commonlyComposedWith": [
5837
- "component:ds-field",
5707
+ "component:ds-card-setting",
5838
5708
  "component:ds-text"
5839
5709
  ],
5840
5710
  "accessibility": [
5841
- "The host exposes radiogroup semantics and requires an accessible group name from aria-label or aria-labelledby.",
5842
- "Each visible option exposes radio semantics, its checked state, its label text, and any inactive state.",
5843
- "Arrow keys move and select through active options; Home and End select the first and last active options; Space and Enter select the focused option.",
5844
- "Roving tabindex keeps one active option in the tab order, preferring the selected option."
5711
+ "Provide an accessible name with aria-label or aria-labelledby.",
5712
+ "Give every item a unique id and the id of its controlled tabpanel.",
5713
+ "Keep each controlled tabpanel labelled by its matching item id.",
5714
+ "Always provide a valid selected item when enabled items exist so exactly one tab and panel are active.",
5715
+ "ArrowUp and ArrowDown move and activate selection; Home and End select the first and last available items.",
5716
+ "Do not use selected text weight as the selection cue; active fill and primary foreground communicate selection."
5845
5717
  ],
5846
5718
  "states": [
5847
- "Unchecked circles use a tertiary-foreground inset stroke: 1.25px at md, 1px at sm, and 0.75px at xs.",
5848
- "Selected circles remove the border, use a brand fill, and draw a centered on-bold foreground dot sized 8px at md, 6px at sm, and 4px at xs.",
5849
- "Sizes are md with a 16px circle in a 20px placement, sm with a 12px circle in a 16px placement, and xs with an 8px circle in a 12px placement.",
5850
- "The initial value is restored by native form reset; the selected value submits under name and a required set is invalid until one active option is selected."
5719
+ "The parent owns the canonical selected value and panel visibility, and should update both from dsChange.",
5720
+ "A missing, empty, or unknown selected value is invalid when enabled items exist; the component does not choose a fallback selection.",
5721
+ "Inactive items remain visible but cannot be focused or selected.",
5722
+ "Selection is singular and follows keyboard focus.",
5723
+ "The omitted default surface treatment is for primary and secondary parent surfaces and uses the brand-active selected fill; pass faint explicitly on faint surfaces to use the neutral active fill.",
5724
+ "Rows contain one text label only and do not express nested navigation or grouped hierarchy."
5851
5725
  ],
5852
5726
  "responsiveBehavior": [
5853
- "Choose size from the density of the containing form or settings row.",
5854
- "Prefer vertical layout when labels may wrap or horizontal space is constrained; horizontal layout is appropriate for short labels in a small set."
5727
+ "The component remains vertical at every width.",
5728
+ "The consuming panel owns responsive adaptation and decides whether to reposition or replace the side rail."
5855
5729
  ],
5856
5730
  "frameworkCaveats": {
5857
5731
  "customElements": [
5858
- "Assign options as a JavaScript property, set value as a property for application state updates, and listen for dsChange.",
5859
- "Use the form attribute on the host when associating a radio set rendered outside its owning form."
5732
+ "Assign items as a JavaScript property because structured arrays are not represented by HTML attributes.",
5733
+ "Keep value synchronized to a valid enabled item and update the controlled panel from dsChange."
5860
5734
  ],
5861
5735
  "react": [
5862
- "Use DsRadio, pass options as an array, and handle onDsChange; value is mutable and updates after user selection."
5736
+ "Pass items as an array through the generated wrapper, keep value controlled, and use onDsChange to synchronize the visible panel."
5863
5737
  ],
5864
5738
  "angular": [
5865
- "Use DsRadio with options and value bindings plus dsChange, or import the generated radio value accessor with the component adapter."
5739
+ "Bind items and a valid value as properties, and handle dsChange to synchronize the visible panel."
5866
5740
  ]
5867
- },
5868
- "references": [
5869
- {
5870
- "label": "Storybook examples",
5871
- "path": "src/wc/components/Radio/Radio.stories.ts"
5872
- },
5873
- {
5874
- "label": "Cross-browser form and accessibility coverage",
5875
- "path": "tests/e2e/forms.spec.ts"
5876
- }
5877
- ]
5741
+ }
5878
5742
  },
5879
5743
  "api": {
5880
5744
  "props": {
@@ -5886,40 +5750,12 @@
5886
5750
  "type": "string | undefined",
5887
5751
  "required": false
5888
5752
  },
5889
- "direction": {
5890
- "type": "'vertical' | 'horizontal'",
5891
- "required": false
5892
- },
5893
- "disabled": {
5894
- "type": "boolean",
5895
- "required": false
5896
- },
5897
- "form": {
5898
- "type": "string | undefined",
5899
- "required": false
5900
- },
5901
- "isInactive": {
5902
- "type": "boolean",
5903
- "required": false
5904
- },
5905
- "name": {
5906
- "type": "string | undefined",
5907
- "required": false
5908
- },
5909
- "options": {
5910
- "type": "RadioOption[]",
5911
- "required": false
5912
- },
5913
- "required": {
5914
- "type": "boolean",
5915
- "required": false
5916
- },
5917
- "requiredMessage": {
5918
- "type": "string",
5753
+ "background": {
5754
+ "type": "PanelSubNavBackground | undefined",
5919
5755
  "required": false
5920
5756
  },
5921
- "size": {
5922
- "type": "RadioSize",
5757
+ "items": {
5758
+ "type": "PanelSubNavItem[]",
5923
5759
  "required": false
5924
5760
  },
5925
5761
  "value": {
@@ -5936,9 +5772,9 @@
5936
5772
  "slots": []
5937
5773
  },
5938
5774
  "exports": {
5939
- "customElement": "ds-radio",
5940
- "react": "DsRadio",
5941
- "angular": "DsRadio"
5775
+ "customElement": "ds-panel-sub-nav",
5776
+ "react": "DsPanelSubNav",
5777
+ "angular": "DsPanelSubNav"
5942
5778
  },
5943
5779
  "dependencies": [
5944
5780
  "@ds-mo/ui",
@@ -5949,305 +5785,229 @@
5949
5785
  ]
5950
5786
  },
5951
5787
  {
5952
- "id": "component:ds-scroll-overlay",
5953
- "tag": "ds-scroll-overlay",
5954
- "name": "scroll-overlay",
5955
- "title": "ScrollOverlay",
5956
- "summary": "Generic scroll owner for content that moves behind a persistent footer action or composer with an always-active alpha fade.",
5788
+ "id": "component:ds-panel-tool-header",
5789
+ "tag": "ds-panel-tool-header",
5790
+ "name": "panel-tool-header",
5791
+ "title": "PanelToolHeader",
5792
+ "summary": "Canonical left-aligned PanelTools header with an optional leading navigation or dismiss action and application-owned trailing icon actions.",
5957
5793
  "intentStatus": "complete",
5958
5794
  "intent": {
5959
5795
  "audience": "general",
5960
5796
  "status": "experimental",
5961
- "summary": "Generic scroll owner for content that moves behind a persistent footer action or composer with an always-active alpha fade.",
5797
+ "summary": "Canonical left-aligned PanelTools header with an optional leading navigation or dismiss action and application-owned trailing icon actions.",
5962
5798
  "useWhen": [
5963
- "A bounded region owns scrolling while footer actions remain overlaid and continuously visible.",
5964
- "The final content must clear a live-height footer while earlier content can move behind it."
5799
+ "PanelTools needs its one shared root or detail header.",
5800
+ "A tool header needs a title with optional Back or Close navigation, menu, fullscreen, or other compact icon actions."
5965
5801
  ],
5966
5802
  "avoidWhen": [
5967
- "The footer belongs in normal document flow rather than overlaying content.",
5968
- "Another component already owns scrolling and cannot delegate its scrollport to this component."
5803
+ "Rendering inside a PanelTools tool body; PanelTools already composes this canonical header above the body.",
5804
+ "The header belongs to page content."
5969
5805
  ],
5970
5806
  "commonlyComposedWith": [
5971
- "component:ds-button-filled",
5972
- "component:ds-message-composer"
5807
+ "component:ds-button-unfilled"
5973
5808
  ],
5974
5809
  "accessibility": [
5975
- "Provide scrollLabel when the scrollport needs its own named, keyboard-focusable region.",
5976
- "Keep footer actions keyboard accessible and explicitly named; the fade is decorative and never intercepts pointer input."
5810
+ "Leading navigation or dismiss actions and trailing icon actions require concise localized names; the header reuses each name as the action tooltip.",
5811
+ "The visible heading names the active panel or subview."
5977
5812
  ],
5978
5813
  "states": [
5979
- "The alpha mask remains active at every scroll position and moves in content coordinates so it stays pinned behind the footer without masking native scrollbars.",
5980
- "The component measures the complete overlay for end clearance, measures its visible child for fade depth, and begins the fade 8px before that visible content.",
5981
- "An md 32px footer action with 8px bottom inset therefore produces a 48px fade; variable-height composers produce a correspondingly taller measured fade."
5814
+ "The title remains left aligned whether the header has no actions, Back, one trailing action, or several trailing actions.",
5815
+ "Leading and trailing control zones never shrink; only the title consumes and truncates within the remaining width, with a fixed 4px gap between zones.",
5816
+ "Header chrome text is not selectable; actions remain keyboard focusable and interactive.",
5817
+ "Adjacent trailing actions keep the shared 4px control gap in drawer and fullscreen presentations.",
5818
+ "When fullscreen and overflow actions appear together, author fullscreen before overflow so Ellipses remains the rightmost action.",
5819
+ "PanelTools supplies application-owned actions and relays their ids through its shared dsHeaderAction event."
5982
5820
  ],
5983
5821
  "responsiveBehavior": [
5984
- "The scrollport and overlay fill the available width and height; the owner supplies responsive sizing and overlay insets."
5822
+ "The title truncates between optional leading navigation and trailing action zones."
5985
5823
  ],
5986
- "frameworkCaveats": {
5987
- "customElements": [
5988
- "Place scrollable content in the default slot and one footer wrapper in the overlay slot; use dsScroll only when the application needs position data."
5989
- ],
5990
- "react": [
5991
- "Use DsScrollOverlay with ordinary children plus an element carrying slot=\"overlay\"."
5992
- ],
5993
- "angular": [
5994
- "Import DsScrollOverlay and project the persistent footer wrapper with slot=\"overlay\"."
5995
- ]
5996
- },
5997
5824
  "references": [
5998
5825
  {
5999
- "label": "Storybook examples",
6000
- "path": "src/wc/components/ScrollOverlay/ScrollOverlay.stories.ts"
5826
+ "label": "Standalone examples",
5827
+ "path": "src/wc/components/PanelToolHeader/PanelToolHeader.stories.ts"
6001
5828
  }
6002
5829
  ]
6003
5830
  },
6004
5831
  "api": {
6005
5832
  "props": {
6006
- "scrollLabel": {
5833
+ "actions": {
5834
+ "type": "PanelToolsHeaderAction[]",
5835
+ "required": false
5836
+ },
5837
+ "backAriaLabel": {
5838
+ "type": "string",
5839
+ "required": false
5840
+ },
5841
+ "backIcon": {
5842
+ "type": "string",
5843
+ "required": false
5844
+ },
5845
+ "heading": {
5846
+ "type": "string",
5847
+ "required": false
5848
+ },
5849
+ "menuAriaLabel": {
5850
+ "type": "string",
5851
+ "required": false
5852
+ },
5853
+ "menuControls": {
6007
5854
  "type": "string | undefined",
6008
5855
  "required": false
5856
+ },
5857
+ "menuExpanded": {
5858
+ "type": "boolean",
5859
+ "required": false
5860
+ },
5861
+ "menuTriggerId": {
5862
+ "type": "string",
5863
+ "required": false
5864
+ },
5865
+ "showBack": {
5866
+ "type": "boolean",
5867
+ "required": false
5868
+ },
5869
+ "showMenu": {
5870
+ "type": "boolean",
5871
+ "required": false
6009
5872
  }
6010
5873
  },
6011
5874
  "events": [
6012
5875
  {
6013
- "name": "dsScroll",
6014
- "detail": "ScrollOverlayScrollDetail"
5876
+ "name": "dsAction",
5877
+ "detail": "{ id: string; originalEvent: MouseEvent }"
5878
+ },
5879
+ {
5880
+ "name": "dsBack",
5881
+ "detail": "MouseEvent"
5882
+ },
5883
+ {
5884
+ "name": "dsMenuToggle",
5885
+ "detail": "MouseEvent"
6015
5886
  }
6016
5887
  ],
6017
5888
  "slots": []
6018
5889
  },
6019
5890
  "exports": {
6020
- "customElement": "ds-scroll-overlay",
6021
- "react": "DsScrollOverlay",
6022
- "angular": "DsScrollOverlay"
5891
+ "customElement": "ds-panel-tool-header",
5892
+ "react": "DsPanelToolHeader",
5893
+ "angular": "DsPanelToolHeader"
6023
5894
  },
6024
5895
  "dependencies": [
6025
5896
  "@ds-mo/ui",
6026
5897
  "@ds-mo/tokens"
6027
5898
  ],
6028
- "componentDependencies": []
5899
+ "componentDependencies": [
5900
+ "button-unfilled",
5901
+ "text",
5902
+ "tooltip"
5903
+ ]
6029
5904
  },
6030
5905
  {
6031
- "id": "component:ds-select",
6032
- "tag": "ds-select",
6033
- "name": "select",
6034
- "title": "Select",
6035
- "summary": "Form-associated single-value select with listbox semantics, local search, rich flat options, grouped sections, loading, clearing, and surface-aware trigger chrome.",
5906
+ "id": "component:ds-panel-tool-search",
5907
+ "tag": "ds-panel-tool-search",
5908
+ "name": "panel-tool-search",
5909
+ "title": "PanelToolSearch",
5910
+ "summary": "Transparent search row for the top of a PanelTools product view, with a fixed 48px allocation around the standard md search control and an optional filter-menu trigger.",
6036
5911
  "intentStatus": "complete",
6037
5912
  "intent": {
6038
5913
  "audience": "general",
6039
- "status": "stable",
6040
- "summary": "Form-associated single-value select with listbox semantics, local search, rich flat options, grouped sections, loading, clearing, and surface-aware trigger chrome.",
5914
+ "status": "experimental",
5915
+ "summary": "Transparent search row for the top of a PanelTools product view, with a fixed 48px allocation around the standard md search control and an optional filter-menu trigger.",
6041
5916
  "useWhen": [
6042
- "The user must choose one value from a finite set.",
6043
- "The option set benefits from local search, subtext, prefix icons, grouping, or disabled choices.",
6044
- "The choice set has more than roughly 20 options, comes from a user-managed listing, or represents a large domain such as addresses where search materially improves retrieval.",
6045
- "The selected value must participate in native, Angular, or React form state."
5917
+ "A PanelTools base view filters or searches the tool's own content.",
5918
+ "Several tool products need the same search-row geometry directly below the shared PanelTools header.",
5919
+ "The product needs a compact filter menu next to search while keeping its filter choices and matching policy application-owned."
6046
5920
  ],
6047
5921
  "avoidWhen": [
6048
- "Several values may be selected at once.",
6049
- "The rows perform commands rather than choosing a form value.",
6050
- "The choices form a hierarchy with expandable parents."
6051
- ],
6052
- "alternatives": [
6053
- {
6054
- "when": "Several independent values may be selected.",
6055
- "component": "component:ds-select-multi",
6056
- "reason": "SelectMulti owns array values, multi-selection semantics, and count presentation."
6057
- },
6058
- {
6059
- "when": "The popup contains commands or state-changing actions.",
6060
- "component": "component:ds-menu",
6061
- "reason": "Menu uses action-menu roles and command-focused keyboard behavior."
6062
- },
6063
- {
6064
- "when": "A small set of choices should remain visible.",
6065
- "component": "component:ds-radio",
6066
- "reason": "Prefer Radio for roughly two to five mutually exclusive choices when the available space allows all choices to remain visible."
6067
- }
5922
+ "The search belongs inside a Select or SelectMulti popup; use that component's searchable behavior.",
5923
+ "A form needs a labelled standalone field; compose ds-input inside ds-field instead."
6068
5924
  ],
6069
5925
  "commonlyComposedWith": [
6070
- "component:ds-text",
6071
- "component:ds-icon",
6072
- "component:ds-empty-state",
6073
- "component:ds-loader"
5926
+ "component:ds-panel-tools",
5927
+ "component:ds-conversation-list",
5928
+ "component:ds-input"
6074
5929
  ],
6075
5930
  "accessibility": [
6076
- "In forms, provide a persistent visible external field label; placeholder text is guidance and must not be the field's only label. In a compact filter bar, the trigger's visible text may supply the accessible name.",
6077
- "The trigger uses combobox semantics and the popup uses listbox and option semantics; do not replace them with menu roles.",
6078
- "Disabled options remain visible, expose aria-disabled, and are skipped by keyboard navigation and typeahead.",
6079
- "Keyboard navigation keeps the aria-activedescendant option scrolled into the visible listbox viewport.",
6080
- "Selected options rely on active fill and foreground treatment without a redundant trailing check icon.",
6081
- "Local search moves focus into the search field while preserving the active option through aria-activedescendant.",
6082
- "Use errorMessage with error so the trigger is described by the rendered alert."
5931
+ "Provide an aria-label that names the searched domain, such as Search agent chats or Search messages.",
5932
+ "The standard search clear action restores focus, uses the concise localized clearLabel by itself for both its tooltip and accessible name, and emits both the empty query and dsClear.",
5933
+ "When showFilter is enabled, provide stable filterTriggerId and filterControls values, synchronize filterExpanded with the controlled menu, and restore focus after selection; filterAriaLabel also labels its tooltip."
6083
5934
  ],
6084
5935
  "states": [
6085
- "Value is controlled through the mutable value property; dsChange reports user selection and clearing.",
6086
- "Required Selects begin without an automatic selection and require the user to make an explicit choice; do not preselect the first option merely to satisfy validity.",
6087
- "When allowClear is enabled, the clear affordance appears only after a value exists. Clearing is valid for optional and required fields; a required field becomes invalid until the user selects again.",
6088
- "Clearing emits dsChange with an empty string and dsClear, keeps the popup open, and restores useful focus.",
6089
- "Loading keeps the trigger visible, replaces its prefix icon, marks the control busy, and makes selection interaction temporarily unavailable without presenting the control as inactive.",
6090
- "The trigger label stays left-aligned at every width. The default size is md in both forms and filter bars; smaller sizes require an explicit density need.",
6091
- "Use option icons only when they help users differentiate choices. Icons render only when every option in the complete list provides one; mixed icon data falls back to the text-only row layout.",
6092
- "Create sections only for categories that are meaningful to customers, not merely to break a long list into arbitrary chunks.",
6093
- "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.",
6094
- "Option labels and the selected trigger label stay on one line and truncate when constrained. Option subtext may wrap to at most two lines.",
6095
- "The optional prefix icon and chevron always use the parent surface's secondary foreground color, including when a selected value promotes the label to primary.",
6096
- "The shared popup search control stays md at every trigger size, using body-medium text, a 20px icon, and the same internal spacing as a borderless Select 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.",
6097
- "When search contains text, the shared control shows a rounded sm icon-only ButtonUnfilled with the CrossCircle icon and no border. It clears the local term, stays hidden for an empty term, and returns focus to search.",
6098
- "The shared clear footer mirrors the search region's sizing: menu-item padding surrounds an md-height borderless row, and the Clear label uses the same row and label insets as option text. The outer footer owns a 1px top divider.",
6099
- "An empty filtered list composes the message-only body variant of EmptyState. Keep the default neutral no-results message unless localized product guidance makes the outcome clearer.",
6100
- "Enable searchable for more than roughly 20 options, user-managed listings, large domains such as addresses, or sets users cannot efficiently scan. Local matching includes option labels, subtext, and section headings; the owner resolves remote data before assigning options.",
6101
- "Validation timing belongs to the form owner and may be immediate or deferred until blur or submit; the Select exposes validity and error presentation without imposing that policy.",
6102
- "The error trigger uses a 1.5px bold-negative inset stroke so invalid state remains distinguishable from the normal 1px border without changing control geometry.",
6103
- "An initially empty option set is not an expected Select use case. The no-results state describes a search with no matches, not a source with no choices.",
6104
- "Use options for a flat list or sections for grouped choices; when sections are present they take precedence.",
6105
- "The background prop describes the actual parent surface and uses the same surface set as ButtonUnfilled."
5936
+ "The row is always 48px high with 8px outer padding and a complete md search recipe: 32px control, text-body-medium at 14px/20px, and a 20px md search icon.",
5937
+ "The search icon stays foreground-secondary at rest, hover, focus, active, and while the query is filled.",
5938
+ "The row and control surface remain transparent so the ShellApp chrome wash is visible behind them.",
5939
+ "The row divider remains the same tertiary 1px boundary while the input is focused because it belongs to the 48px container rather than the input control.",
5940
+ "With filtering enabled, the md search control, decorative vertical divider, and borderless md Filter action are separated by 8px; filterActive promotes only the trigger foreground without adding a selected fill."
6106
5941
  ],
6107
5942
  "responsiveBehavior": [
6108
- "Use width fill for form fields and width hug for compact filter bars. Override those defaults only when the owning layout has a clear constraint.",
6109
- "The popup matches the trigger minimum width, may grow for content, and clamps to the viewport.",
6110
- "Long option collections scroll inside the popup; virtualization and remote search are not part of this component."
5943
+ "The row fills the available drawer or fullscreen width, allows its search region to shrink inside a 300px drawer without pushing the filter trigger under the tool rail, and does not reduce its control below md density."
6111
5944
  ],
6112
5945
  "frameworkCaveats": {
6113
5946
  "customElements": [
6114
- "Assign options and sections through JavaScript properties because arrays and objects cannot be represented safely as attributes."
5947
+ "Listen for dsChange to receive the current string query and dsClear when the clear action is used.",
5948
+ "Listen for dsFilterToggle and pair the trigger with an externally controlled ds-menu; product-specific filter labels and filtering remain outside this component."
6115
5949
  ],
6116
5950
  "react": [
6117
- "Pass options or sections as wrapper props and handle onDsChange, onDsClear, and onDsOpenChange."
5951
+ "Use DsPanelToolSearch, bind value for controlled state, and handle onDsChange.",
5952
+ "Bind the optional filter trigger state and connect onDsFilterToggle to a controlled DsMenu."
6118
5953
  ],
6119
5954
  "angular": [
6120
- "Import DsSelect and SelectValueAccessor when integrating with Angular Forms; bind options and sections as properties."
5955
+ "Import DsPanelToolSearch and bind value as a property; this search composition is not a form value accessor.",
5956
+ "Bind showFilter, filterExpanded, and filterActive, then connect dsFilterToggle to a product-owned ds-menu."
6121
5957
  ]
6122
5958
  },
6123
5959
  "references": [
6124
5960
  {
6125
5961
  "label": "Storybook examples",
6126
- "path": "src/wc/components/Select/Select.stories.ts"
6127
- },
6128
- {
6129
- "label": "Selection patterns",
6130
- "path": "src/docs/SelectionPatterns.mdx"
5962
+ "path": "src/wc/components/PanelToolSearch/PanelToolSearch.stories.ts"
6131
5963
  }
6132
5964
  ]
6133
5965
  },
6134
5966
  "api": {
6135
5967
  "props": {
6136
- "activeFill": {
6137
- "type": "boolean",
5968
+ "ariaLabel": {
5969
+ "type": "string",
6138
5970
  "required": false
6139
5971
  },
6140
- "allowClear": {
6141
- "type": "boolean",
5972
+ "controls": {
5973
+ "type": "string | undefined",
6142
5974
  "required": false
6143
5975
  },
6144
- "ariaDescribedby": {
6145
- "type": "string | undefined",
5976
+ "filterActive": {
5977
+ "type": "boolean",
6146
5978
  "required": false
6147
5979
  },
6148
- "ariaLabel": {
6149
- "type": "string | null",
5980
+ "filterAriaLabel": {
5981
+ "type": "string",
6150
5982
  "required": false
6151
5983
  },
6152
- "ariaLabelledby": {
5984
+ "filterControls": {
6153
5985
  "type": "string | undefined",
6154
5986
  "required": false
6155
5987
  },
6156
- "background": {
6157
- "type": "SelectBackground | undefined",
5988
+ "filterExpanded": {
5989
+ "type": "boolean",
6158
5990
  "required": false
6159
5991
  },
6160
- "clearLabel": {
5992
+ "filterTriggerId": {
6161
5993
  "type": "string",
6162
5994
  "required": false
6163
5995
  },
6164
- "disabled": {
5996
+ "isInactive": {
6165
5997
  "type": "boolean",
6166
5998
  "required": false
6167
5999
  },
6168
- "error": {
6169
- "type": "boolean",
6000
+ "placeholder": {
6001
+ "type": "string",
6170
6002
  "required": false
6171
6003
  },
6172
- "errorMessage": {
6173
- "type": "string | undefined",
6174
- "required": false
6175
- },
6176
- "hasBorder": {
6177
- "type": "boolean",
6178
- "required": false
6179
- },
6180
- "icon": {
6181
- "type": "string | undefined",
6182
- "required": false
6183
- },
6184
- "inputId": {
6185
- "type": "string | undefined",
6186
- "required": false
6187
- },
6188
- "isInactive": {
6189
- "type": "boolean",
6190
- "required": false
6191
- },
6192
- "isLoading": {
6193
- "type": "boolean",
6194
- "required": false
6195
- },
6196
- "loadingLabel": {
6197
- "type": "string",
6198
- "required": false
6199
- },
6200
- "name": {
6201
- "type": "string | undefined",
6202
- "required": false
6203
- },
6204
- "noResultsText": {
6205
- "type": "string",
6206
- "required": false
6207
- },
6208
- "open": {
6209
- "type": "boolean",
6210
- "required": false
6211
- },
6212
- "options": {
6213
- "type": "SelectOption[]",
6214
- "required": false
6215
- },
6216
- "placeholder": {
6217
- "type": "string",
6218
- "required": false
6219
- },
6220
- "required": {
6221
- "type": "boolean",
6222
- "required": false
6223
- },
6224
- "requiredMessage": {
6225
- "type": "string",
6226
- "required": false
6227
- },
6228
- "searchPlaceholder": {
6229
- "type": "string",
6230
- "required": false
6231
- },
6232
- "searchable": {
6004
+ "showFilter": {
6233
6005
  "type": "boolean",
6234
6006
  "required": false
6235
6007
  },
6236
- "sections": {
6237
- "type": "SelectSection[]",
6238
- "required": false
6239
- },
6240
- "size": {
6241
- "type": "SelectSize",
6242
- "required": false
6243
- },
6244
6008
  "value": {
6245
6009
  "type": "string",
6246
6010
  "required": false
6247
- },
6248
- "width": {
6249
- "type": "SelectWidth",
6250
- "required": false
6251
6011
  }
6252
6012
  },
6253
6013
  "events": [
@@ -6260,16 +6020,16 @@
6260
6020
  "detail": "void"
6261
6021
  },
6262
6022
  {
6263
- "name": "dsOpenChange",
6264
- "detail": "boolean"
6023
+ "name": "dsFilterToggle",
6024
+ "detail": "MouseEvent"
6265
6025
  }
6266
6026
  ],
6267
6027
  "slots": []
6268
6028
  },
6269
6029
  "exports": {
6270
- "customElement": "ds-select",
6271
- "react": "DsSelect",
6272
- "angular": "DsSelect"
6030
+ "customElement": "ds-panel-tool-search",
6031
+ "react": "DsPanelToolSearch",
6032
+ "angular": "DsPanelToolSearch"
6273
6033
  },
6274
6034
  "dependencies": [
6275
6035
  "@ds-mo/ui",
@@ -6278,186 +6038,152 @@
6278
6038
  ],
6279
6039
  "componentDependencies": [
6280
6040
  "button-unfilled",
6281
- "empty-state",
6041
+ "divider",
6282
6042
  "icon",
6283
- "loader",
6284
6043
  "text",
6285
6044
  "tooltip"
6286
6045
  ]
6287
6046
  },
6288
6047
  {
6289
- "id": "component:ds-select-multi",
6290
- "tag": "ds-select-multi",
6291
- "name": "select-multi",
6292
- "title": "SelectMulti",
6293
- "summary": "Form-associated multi-value select with a persistent trigger label, inline selected count, local search, rich flat options, grouped sections, loading, and clear-all behavior.",
6048
+ "id": "component:ds-panel-tools",
6049
+ "tag": "ds-panel-tools",
6050
+ "name": "panel-tools",
6051
+ "title": "PanelTools",
6052
+ "summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
6294
6053
  "intentStatus": "complete",
6295
6054
  "intent": {
6296
- "audience": "general",
6055
+ "audience": "specialized",
6297
6056
  "status": "stable",
6298
- "summary": "Form-associated multi-value select with a persistent trigger label, inline selected count, local search, rich flat options, grouped sections, loading, and clear-all behavior.",
6057
+ "summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
6299
6058
  "useWhen": [
6300
- "The user may choose several independent values from one finite set.",
6301
- "A compact trigger should summarize selection with the field label and a count.",
6302
- "The option set benefits from local search, subtext, grouping, or disabled choices.",
6303
- "The choice set has more than roughly 20 options, comes from a user-managed listing, or represents a large domain where search materially improves retrieval."
6059
+ "Composing the required global tools region inside the application's single ShellApp.",
6060
+ "Users need to move between application-wide utilities without losing each tool's in-progress state.",
6061
+ "Search, AI conversations, user messages, review stacks, notifications, or help content must remain available alongside route content."
6304
6062
  ],
6305
6063
  "avoidWhen": [
6306
- "Exactly one value may be selected.",
6307
- "Selected values must remain individually removable as persistent tags outside the popup.",
6308
- "The choices form a hierarchy with cascading parent selection.",
6309
- "The customer task benefits more from keeping every choice and checkbox directly visible; choose between SelectMulti and a visible checkbox list from the use-case context rather than a fixed option-count threshold."
6064
+ "The action is specific to the current page or selected content rather than globally available across the application.",
6065
+ "The item navigates to a primary or secondary route; use PanelNav or BarNav instead.",
6066
+ "A consumer wants to add arbitrary tools, reorder fixed tools, or repurpose a semantic tool id.",
6067
+ "Building the mobile tools experience; future mobile ShellApp composition uses a different bottom-bar and panel pattern.",
6068
+ "PanelTools would be mounted outside the application's single ShellApp."
6310
6069
  ],
6311
6070
  "alternatives": [
6312
6071
  {
6313
- "when": "Exactly one value may be selected.",
6314
- "component": "component:ds-select",
6315
- "reason": "Select owns scalar form value and single-select listbox behavior."
6072
+ "when": "The action navigates to a top-level application destination.",
6073
+ "component": "component:ds-panel-nav",
6074
+ "reason": "PanelNav exclusively owns primary application navigation."
6316
6075
  },
6317
6076
  {
6318
- "when": "The popup contains actions rather than values.",
6077
+ "when": "The action navigates between route sections of the active destination.",
6078
+ "component": "component:ds-bar-nav",
6079
+ "reason": "BarNav exclusively owns secondary route navigation."
6080
+ },
6081
+ {
6082
+ "when": "Temporary contextual actions or options are needed.",
6319
6083
  "component": "component:ds-menu",
6320
- "reason": "Menu uses command semantics and closes according to action-menu expectations."
6084
+ "reason": "Menu owns transient contextual choices rather than persistent global products."
6321
6085
  }
6322
6086
  ],
6323
6087
  "commonlyComposedWith": [
6324
- "component:ds-text",
6325
- "component:ds-checkbox",
6326
- "component:ds-empty-state",
6327
- "component:ds-loader"
6088
+ "component:ds-shell-app",
6089
+ "component:ds-panel-nav",
6090
+ "component:ds-bar-nav"
6091
+ ],
6092
+ "patterns": [
6093
+ "pattern:application-shell"
6328
6094
  ],
6329
6095
  "accessibility": [
6330
- "In forms, provide a persistent visible external field label. In a compact filter bar, the trigger's visible persistent label and count may supply the accessible name.",
6331
- "The popup is a listbox with aria-multiselectable and every option exposes its independent aria-selected state.",
6332
- "Disabled options expose aria-disabled and are skipped by keyboard navigation and typeahead.",
6333
- "Keyboard navigation keeps the aria-activedescendant option scrolled into the visible listbox viewport.",
6334
- "Each row uses a medium-size presentation-only ds-checkbox indicator; multi-select option rows never add a prefix icon alongside it, and the option remains the sole selection semantic and interaction target.",
6335
- "The trigger keeps its field label visible and appends the current selected count; an explicit aria-label or aria-labelledby remains the authoritative accessible name when supplied.",
6336
- "Use errorMessage with error so the trigger is described by the rendered alert."
6096
+ "Provide localized accessible labels for the rail, shortcut group, and every rendered tool.",
6097
+ "Keep Search first in the rail header and Help last in the rail footer so keyboard and visual order remain predictable.",
6098
+ "Keep focus on the selected rail action when opening a drawer and allow normal Tab navigation into its content.",
6099
+ "Do not trigger global shortcuts while focus is in an editable control.",
6100
+ "Use notification dots only as supplemental unread or new-content status and never as the sole status indication.",
6101
+ "Explain temporarily inactive tools through an accessible label or adjacent product guidance; omit unauthorized tools entirely."
6337
6102
  ],
6338
6103
  "states": [
6339
- "Values is a controlled JavaScript array; dsChange emits a new array after each user toggle.",
6340
- "Required SelectMulti controls begin without an automatic selection and require the user to make an explicit choice.",
6341
- "Selecting an option keeps the popup open so additional values can be toggled.",
6342
- "The trigger label stays left-aligned at every width; every option row uses the same leading medium Checkbox indicator. The default control size is md in both forms and filter bars.",
6343
- "The selected count always follows the persistent label as plain text separated by a centered dot, including for one selection, and counts every selected value even when search or grouping hides it. Never replace the count with selected option names.",
6344
- "Create sections only for categories that are meaningful to customers, not merely to break a long list into arbitrary chunks.",
6345
- "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.",
6346
- "Option labels stay on one line and truncate when constrained. Option subtext may wrap to at most two lines.",
6347
- "The optional prefix icon and chevron always use the parent surface's secondary foreground color, including when selection promotes the label and count to primary.",
6348
- "The shared popup search control stays md at every trigger size, using body-medium text, a 20px icon, and the same internal spacing as a borderless Select 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.",
6349
- "When search contains text, the shared control shows a rounded sm icon-only ButtonUnfilled with the Cross icon and no border. It clears the local term, stays hidden for an empty term, and returns focus to search.",
6350
- "The shared summary-and-clear footer mirrors the search region's sizing: menu-item padding surrounds an md-height borderless row, and both texts use the same row and label insets as option text. The outer footer owns a 1px top divider.",
6351
- "An empty filtered list composes the message-only body variant of EmptyState. Keep the default neutral no-results message unless localized product guidance makes the outcome clearer.",
6352
- "Enable searchable for more than roughly 20 options, user-managed listings, large domains such as addresses, or sets users cannot efficiently scan. Local matching includes option labels, subtext, and section headings; the owner resolves remote data before assigning options.",
6353
- "When allowClear is enabled, clear-all appears only after at least one value exists. Clearing is valid for optional and required fields; a required field becomes invalid until the user selects again.",
6354
- "Clear-all emits an empty dsChange and dsClear while preserving useful popup or search focus.",
6355
- "Loading keeps the trigger visible, marks the control busy, and makes selection interaction temporarily unavailable without presenting the control as inactive.",
6356
- "SelectMulti has no maximum-selection behavior; every available non-inactive option may be selected.",
6357
- "Validation timing belongs to the form owner and may be immediate or deferred until blur or submit; the component exposes validity and error presentation without imposing that policy.",
6358
- "The error trigger uses a 1.5px bold-negative inset stroke so invalid state remains distinguishable from the normal 1px border without changing control geometry.",
6359
- "An initially empty option set is not an expected SelectMulti use case. The no-results state describes a search with no matches, not a source with no choices.",
6360
- "Native form submission emits one entry per selected value under the component name.",
6361
- "Use options for a flat list or sections for grouped choices. Multi-select option contracts intentionally exclude icons because the leading checkbox owns that row zone; hierarchical parent selection is deferred."
6104
+ "Search and Help are required; optional Agents, Messages, Stacks, and Activity tools are filtered by the application for authorization and entitlement.",
6105
+ "Use only the fixed semantic tool ids and canonical order: Search, Agents, Messages, Stacks, Activity, Help; do not reorder, duplicate, or repurpose them.",
6106
+ "Search is application-wide; Agents is user-to-AI chat; Messages is user-to-user chat; Stacks is a specialized inbox of grouped application events for review; Activity is the notification center; Help is drawer content that may link to external resources.",
6107
+ "Only one drawer is open at a time; selecting another tool switches directly and selecting the active tool closes to rail-only mode.",
6108
+ "The drawer starts closed, remains open across ordinary route changes, and retains every mounted tool's independent conversation, query, scroll, and work state.",
6109
+ "When storageKey is set, persist only the last active tool in this browser and still restore the drawer closed after reload.",
6110
+ "The application owns unread state; opening Messages, Agents, Stacks, or Activity does not automatically clear its notification dot.",
6111
+ "PanelTools owns the one visible header above every drawer tool view and above fullscreen views using the default shared header mode. Slotted tool content must not render a second header unless the conversation product explicitly opts into split fullscreen headers.",
6112
+ "PanelTools composes ds-panel-tool-header as its canonical left-aligned header implementation so standalone header stories and shell rendering cannot diverge.",
6113
+ "Each tool supplies its current header title, base-versus-detail Back state, and right-side actions through the headers property. Base views omit Back; deeper views expose Back and update the same header in place.",
6114
+ "Header Back and action events express intent only; the owning tool changes product navigation, menus, and data state. PanelTools keeps the final header action exactly 8px from the drawer edge.",
6115
+ "Menus opened from a right-side header action use PANEL_TOOLS_HEADER_MENU_PLACEMENT: bottom/end choice-cell alignment and a 12px side offset, placing the popup 4px below the 48px header while aligning the final menu item edge with the trigger.",
6116
+ "Tool view roots stay transparent so ShellApp's chrome wash remains visible; only explicitly designed child surfaces introduce a fill.",
6117
+ "Tools with search compose ds-panel-tool-search immediately below the shared header. Its 48px row always contains the md search control and must not be reduced to sm or xs.",
6118
+ "If an active optional tool becomes unavailable, PanelTools closes the drawer, clears activeTool, and emits its deselection.",
6119
+ "Use isInactive only for a temporarily unavailable visible tool; omit tools the user is not authorized to access.",
6120
+ "The application owns slotted tool products and data while PanelTools owns rail ordering, drawer selection, open state, motion, and shell events.",
6121
+ "Opening and closing clip an already-rendered fixed-width surface. Header and tool content remain fully opaque and retained during width motion; transition completion is accepted only at the measured terminal clip width, after which the closed surface becomes inert and paint-skipped.",
6122
+ "Entering and exiting fullscreen snaps without borrowing the drawer open or close animation.",
6123
+ "When fullscreenHeaderMode is split, PanelTools suppresses only its fullscreen shared header. The application renders exactly two canonical ds-panel-tool-header instances: a tool-title/list-actions header over the 300px history pane and a chat-title/Exit-fullscreen/chat-actions header over the detail pane. The detail header omits Back because the list remains visible."
6362
6124
  ],
6363
6125
  "responsiveBehavior": [
6364
- "Use width fill for form fields and width hug for compact filter bars; the persistent trigger label avoids variable-width selected labels.",
6365
- "The popup matches the trigger minimum width, may grow for content, and clamps to the viewport.",
6366
- "Long option collections scroll inside the popup; virtualization and remote search are not part of this version."
6126
+ "The open drawer reduces main-content width and uses --dimension-panel-width-xs (300px) on every supported desktop and tablet viewport.",
6127
+ "ShellApp owns the fixed drawer-width variable; consumers must not hardcode alternate drawer widths.",
6128
+ "Below 768px, do not reuse desktop PanelTools: future ShellApp mobile composition uses a bottom bar for Search, Agents, Notifications, and Stacks, while Help moves into mobile primary navigation.",
6129
+ "Keep named-slot content mounted while tools switch or the drawer closes so users can return to in-progress global work.",
6130
+ "Conversation products may use fullscreenHeaderMode split for a 300px history rail beside a flexible detail pane, each with its own canonical header; the application owns that internal split layout.",
6131
+ "Use fixed drawer widths for now; do not add user resizing or width persistence."
6367
6132
  ],
6368
6133
  "frameworkCaveats": {
6369
6134
  "customElements": [
6370
- "Assign values, options, and sections through JavaScript properties; array values cannot be represented safely as attributes."
6135
+ "Assign items as a JavaScript property for structured data; items-json is the string fallback.",
6136
+ "Assign headers as a JavaScript property and replace its object identity whenever an active tool changes title, depth, or actions.",
6137
+ "Keep PanelTools mounted at ShellApp scope across route changes and provide each product through its matching named slot."
6371
6138
  ],
6372
6139
  "react": [
6373
- "Pass values, options, and sections as wrapper props and handle onDsChange, onDsClear, and onDsOpenChange."
6140
+ "Pass the fixed item collection through the generated React wrapper and keep named-slot product content mounted at ShellApp scope.",
6141
+ "Use storageKey only for same-browser last-tool continuity; do not persist the open drawer."
6374
6142
  ],
6375
6143
  "angular": [
6376
- "Import DsSelectMulti and SelectMultiValueAccessor when integrating with Angular Forms."
6144
+ "Import DsPanelTools from @ds-mo/ui/angular/ds-panel-tools and bind items as a property.",
6145
+ "Bind headers as a replaced object and route dsHeaderBack and dsHeaderAction to the active tool owner.",
6146
+ "Keep the component in the persistent shell layout rather than recreating it in routed page components."
6377
6147
  ]
6378
6148
  },
6379
6149
  "references": [
6380
6150
  {
6381
- "label": "Storybook examples",
6382
- "path": "src/wc/components/SelectMulti/SelectMulti.stories.ts"
6151
+ "label": "Executable Storybook examples",
6152
+ "path": "src/wc/components/PanelTools/PanelTools.stories.ts"
6383
6153
  },
6384
6154
  {
6385
- "label": "Selection patterns",
6386
- "path": "src/docs/SelectionPatterns.mdx"
6155
+ "label": "Framework and shell integration",
6156
+ "path": "docs/framework-integration.md"
6157
+ },
6158
+ {
6159
+ "label": "Application shell composition",
6160
+ "path": "agent/patterns/application-shell/pattern.agent.json"
6387
6161
  }
6388
6162
  ]
6389
6163
  },
6390
6164
  "api": {
6391
6165
  "props": {
6392
- "activeFill": {
6393
- "type": "boolean",
6394
- "required": false
6395
- },
6396
- "allowClear": {
6397
- "type": "boolean",
6166
+ "activeTool": {
6167
+ "type": "PanelToolsToolId | ''",
6398
6168
  "required": false
6399
6169
  },
6400
- "ariaDescribedby": {
6401
- "type": "string | undefined",
6170
+ "fullscreenHeaderMode": {
6171
+ "type": "'shared' | 'split'",
6402
6172
  "required": false
6403
6173
  },
6404
- "ariaLabel": {
6405
- "type": "string | null",
6174
+ "headers": {
6175
+ "type": "PanelToolsHeaders",
6406
6176
  "required": false
6407
6177
  },
6408
- "ariaLabelledby": {
6409
- "type": "string | undefined",
6178
+ "headersJson": {
6179
+ "type": "string",
6410
6180
  "required": false
6411
6181
  },
6412
- "background": {
6413
- "type": "SelectMultiBackground | undefined",
6182
+ "items": {
6183
+ "type": "PanelToolsItem[]",
6414
6184
  "required": false
6415
6185
  },
6416
- "clearLabel": {
6417
- "type": "string",
6418
- "required": false
6419
- },
6420
- "disabled": {
6421
- "type": "boolean",
6422
- "required": false
6423
- },
6424
- "error": {
6425
- "type": "boolean",
6426
- "required": false
6427
- },
6428
- "errorMessage": {
6429
- "type": "string | undefined",
6430
- "required": false
6431
- },
6432
- "hasBorder": {
6433
- "type": "boolean",
6434
- "required": false
6435
- },
6436
- "icon": {
6437
- "type": "string | undefined",
6438
- "required": false
6439
- },
6440
- "inputId": {
6441
- "type": "string | undefined",
6442
- "required": false
6443
- },
6444
- "isInactive": {
6445
- "type": "boolean",
6446
- "required": false
6447
- },
6448
- "isLoading": {
6449
- "type": "boolean",
6450
- "required": false
6451
- },
6452
- "loadingLabel": {
6453
- "type": "string",
6454
- "required": false
6455
- },
6456
- "name": {
6457
- "type": "string | undefined",
6458
- "required": false
6459
- },
6460
- "noResultsText": {
6186
+ "itemsJson": {
6461
6187
  "type": "string",
6462
6188
  "required": false
6463
6189
  },
@@ -6465,792 +6191,1170 @@
6465
6191
  "type": "boolean",
6466
6192
  "required": false
6467
6193
  },
6468
- "options": {
6469
- "type": "SelectMultiOption[]",
6470
- "required": false
6471
- },
6472
- "placeholder": {
6473
- "type": "string",
6474
- "required": false
6475
- },
6476
- "required": {
6477
- "type": "boolean",
6194
+ "presentation": {
6195
+ "type": "'drawer' | 'fullscreen'",
6478
6196
  "required": false
6479
6197
  },
6480
- "requiredMessage": {
6198
+ "storageKey": {
6481
6199
  "type": "string",
6482
6200
  "required": false
6483
6201
  },
6484
- "searchPlaceholder": {
6202
+ "toolShortcutsLabel": {
6485
6203
  "type": "string",
6486
6204
  "required": false
6487
6205
  },
6488
- "searchable": {
6489
- "type": "boolean",
6490
- "required": false
6491
- },
6492
- "sections": {
6493
- "type": "SelectMultiSection[]",
6494
- "required": false
6495
- },
6496
- "selectedLabel": {
6206
+ "toolsLabel": {
6497
6207
  "type": "string",
6498
6208
  "required": false
6499
- },
6500
- "size": {
6501
- "type": "SelectMultiSize",
6502
- "required": false
6503
- },
6504
- "values": {
6505
- "type": "string[]",
6506
- "required": false
6507
- },
6508
- "width": {
6509
- "type": "SelectMultiWidth",
6510
- "required": false
6511
6209
  }
6512
6210
  },
6513
6211
  "events": [
6514
6212
  {
6515
- "name": "dsChange",
6516
- "detail": "string[]"
6213
+ "name": "dsChromeTransitionEnd",
6214
+ "detail": "ChromeTransitionDetail"
6517
6215
  },
6518
6216
  {
6519
- "name": "dsClear",
6520
- "detail": "void"
6217
+ "name": "dsChromeTransitionStart",
6218
+ "detail": "ChromeTransitionDetail"
6521
6219
  },
6522
6220
  {
6523
- "name": "dsOpenChange",
6524
- "detail": "boolean"
6221
+ "name": "dsHeaderAction",
6222
+ "detail": "{\n tool: PanelToolsToolId;\n id: string;\n }"
6223
+ },
6224
+ {
6225
+ "name": "dsHeaderBack",
6226
+ "detail": "{\n tool: PanelToolsToolId;\n }"
6227
+ },
6228
+ {
6229
+ "name": "dsPresentationChange",
6230
+ "detail": "{\n presentation: 'drawer' | 'fullscreen';\n }"
6231
+ },
6232
+ {
6233
+ "name": "dsToolChange",
6234
+ "detail": "{\n id: PanelToolsToolId;\n selected: boolean;\n }"
6525
6235
  }
6526
6236
  ],
6527
6237
  "slots": []
6528
6238
  },
6529
6239
  "exports": {
6530
- "customElement": "ds-select-multi",
6531
- "react": "DsSelectMulti",
6532
- "angular": "DsSelectMulti"
6240
+ "customElement": "ds-panel-tools",
6241
+ "react": "DsPanelTools",
6242
+ "angular": "DsPanelTools"
6533
6243
  },
6534
6244
  "dependencies": [
6535
6245
  "@ds-mo/ui",
6536
- "@ds-mo/tokens",
6537
- "@ds-mo/icons"
6246
+ "@ds-mo/tokens"
6538
6247
  ],
6539
6248
  "componentDependencies": [
6540
6249
  "button-unfilled",
6541
- "checkbox",
6542
- "empty-state",
6543
- "icon",
6544
- "loader",
6545
- "text",
6250
+ "panel-tool-header",
6546
6251
  "tooltip"
6547
6252
  ]
6548
6253
  },
6549
6254
  {
6550
- "id": "component:ds-shell-app",
6551
- "tag": "ds-shell-app",
6552
- "name": "shell-app",
6553
- "title": "ShellApp",
6554
- "summary": "The single required workspace root for standard authenticated application pages, coordinating primary and secondary navigation, tools chrome, responsive composition, content geometry, shared styling, and shell behavior.",
6255
+ "id": "component:ds-radio",
6256
+ "tag": "ds-radio",
6257
+ "name": "radio",
6258
+ "title": "Radio",
6259
+ "summary": "Form-associated one-of-many radio selection set with vertical or horizontal layout, three densities, per-option inactive state, and roving keyboard focus.",
6555
6260
  "intentStatus": "complete",
6556
6261
  "intent": {
6557
- "audience": "specialized",
6262
+ "audience": "general",
6558
6263
  "status": "stable",
6559
- "summary": "The single required workspace root for standard authenticated application pages, coordinating primary and secondary navigation, tools chrome, responsive composition, content geometry, shared styling, and shell behavior.",
6264
+ "summary": "Form-associated one-of-many radio selection set with vertical or horizontal layout, three densities, per-option inactive state, and roving keyboard focus.",
6560
6265
  "useWhen": [
6561
- "Building any standard authenticated product or workspace page with CompoMo.",
6562
- "PanelNav, BarNav, ShellTools, mobile navigation, page content, shared chrome, responsive behavior, and shell shortcuts must be composed as one application frame.",
6563
- "Future application templates need the supported base-page composition boundary."
6266
+ "A user must select exactly one visible option from a small set.",
6267
+ "All available choices should remain visible for comparison.",
6268
+ "A form needs one selected string value with native validation, reset, or external form association."
6564
6269
  ],
6565
6270
  "avoidWhen": [
6566
- "Building authentication, onboarding, public, marketing, print, error, or intentionally focused full-screen experiences that require a different layout.",
6567
- "Another ShellApp already exists in the page; applications must render exactly one and must never nest ShellApps.",
6568
- "Building content inside an existing ShellApp; render the page content rather than another shell."
6271
+ "A user may select zero or multiple independent choices.",
6272
+ "A binary setting applies immediately rather than selecting from a set.",
6273
+ "The option list is too long or space-constrained to remain visible."
6569
6274
  ],
6570
- "commonlyComposedWith": [
6571
- "component:ds-panel-nav",
6572
- "component:ds-bar-nav",
6573
- "component:ds-panel-tools",
6574
- "component:ds-shell-tools",
6575
- "component:ds-shell-mobile-nav",
6576
- "component:ds-shell-mobile-section-nav",
6577
- "component:ds-shell-mobile-bar",
6578
- "component:ds-shell-page",
6579
- "component:ds-swatch-picker"
6275
+ "alternatives": [
6276
+ {
6277
+ "when": "A user may select zero or multiple independent choices.",
6278
+ "component": "component:ds-checkbox",
6279
+ "reason": "Checkbox communicates independent selection rather than one-of-many choice."
6280
+ },
6281
+ {
6282
+ "when": "A binary setting applies immediately.",
6283
+ "component": "component:ds-switch",
6284
+ "reason": "Switch communicates an immediately applied on/off setting."
6285
+ },
6286
+ {
6287
+ "when": "The option list is long or the available space is constrained.",
6288
+ "component": "component:ds-select",
6289
+ "reason": "Select keeps a larger one-of-many choice set compact."
6290
+ }
6580
6291
  ],
6581
- "patterns": [
6582
- "pattern:application-shell",
6583
- "pattern:shell-page"
6292
+ "commonlyComposedWith": [
6293
+ "component:ds-field",
6294
+ "component:ds-text"
6584
6295
  ],
6585
6296
  "accessibility": [
6586
- "Keep primary destinations in PanelNav and secondary route sections in BarNav.",
6587
- "Ensure the default content region contains the page's single main landmark.",
6588
- "Keep PanelNav, BarNav, and PanelTools-compatible chrome available in desktop and tablet compositions and the persistent mobile bar available below 768px.",
6589
- "Do not override browser keyboard chords when enabling shell shortcuts.",
6590
- "Require Search and Help as the minimum PanelTools actions and provide accessible labels for every tool.",
6591
- "Preserve focus and accessible names across navigation, collapse, overflow, and responsive presentation changes."
6297
+ "The host exposes radiogroup semantics and requires an accessible group name from aria-label or aria-labelledby.",
6298
+ "Each visible option exposes radio semantics, its checked state, its label text, and any inactive state.",
6299
+ "Arrow keys move and select through active options; Home and End select the first and last active options; Space and Enter select the focused option.",
6300
+ "Roving tabindex keeps one active option in the tab order, preferring the selected option."
6592
6301
  ],
6593
6302
  "states": [
6594
- "Render exactly one ShellApp as the workspace root and never nest it.",
6595
- "PanelNav, BarNav, and ShellTools are the responsive shell regions; ShellTools contains at least Search and Help even when no additional product tools apply.",
6596
- "The application router owns the current route, authorization filtering, Dashboard or Settings context, destination collections, section collections, and localized content labels.",
6597
- "ShellApp propagates navStyle and resolved responsive mode and coordinates layout, gradient alignment, transitions, metrics, shortcuts, and mobile-stage visibility.",
6598
- "The application controls mobileDestination and mobileNavigationOpen and keeps router state independent from global tool-surface changes.",
6599
- "Set gradientPreset to the single resolved global chrome preference: neutral by default, none for solid chrome, or cool, neutral, warm, and fresh for token-based washes.",
6600
- "The application owns gradient preference persistence, cross-tab synchronization, and server or account precedence; ShellApp owns rendering the resolved preset across authenticated routes.",
6601
- "Dashboard represents day-to-day operational work while Settings represents administrative and configuration work; route state selects the context.",
6602
- "Update PanelNav groups, BarNav tabs and heading, navStyle, basePath, and currentUrl atomically from one resolved route state.",
6603
- "BarNav remains present: it shows route-section tabs when available and the active PanelNav destination label as heading otherwise.",
6604
- "Render one ShellPage as the default-slot child for each standard routed page; ShellApp owns the content scroller while ShellPage owns page header stickiness and content inset.",
6605
- "The application filters unauthorized destinations, sections, and tools before passing them into shell components."
6303
+ "Unchecked circles use a tertiary-foreground inset stroke: 1.25px at md, 1px at sm, and 0.75px at xs.",
6304
+ "Selected circles remove the border, use a brand fill, and draw a centered on-bold foreground dot sized 8px at md, 6px at sm, and 4px at xs.",
6305
+ "Sizes are md with a 16px circle in a 20px placement, sm with a 12px circle in a 16px placement, and xs with an 8px circle in a 12px placement.",
6306
+ "The initial value is restored by native form reset; the selected value submits under name and a required set is invalid until one active option is selected."
6606
6307
  ],
6607
6308
  "responsiveBehavior": [
6608
- "ShellApp owns the fixed system breakpoints and resolves desktop at 1200px and wider, tablet from 768px through 1199px, and mobile below 768px.",
6609
- "On desktop, PanelNav defaults expanded, permits user collapse or expansion, and respects the locally persisted desktop preference.",
6610
- "On tablet, ShellApp keeps PanelNav permanently collapsed and prevents user expansion without overwriting the desktop preference.",
6611
- "On mobile, ShellApp hides and inerts PanelNav and BarNav, uses a solid primary stage, and composes MobileNav, MobileSectionNav, ShellTools, and the persistent five-item MobileBar.",
6612
- "Mobile global surfaces conceal and inert the routed workspace without unmounting it, preserving nested routes and scroll state.",
6613
- "Keep PanelNav width, BarNav height, PanelTools chrome, and main-content origin stable except during intentional responsive or collapse transitions.",
6614
- "The bottom bar remains visible at all route and tool depths in the foundation release."
6309
+ "Choose size from the density of the containing form or settings row.",
6310
+ "Prefer vertical layout when labels may wrap or horizontal space is constrained; horizontal layout is appropriate for short labels in a small set."
6615
6311
  ],
6616
6312
  "frameworkCaveats": {
6617
6313
  "customElements": [
6618
- "Assign complex navigation and tool collections as JavaScript properties on the slotted components.",
6619
- "Stamp route-derived nav-style before components connect when deterministic first paint is required."
6314
+ "Assign options as a JavaScript property, set value as a property for application state updates, and listen for dsChange.",
6315
+ "Use the form attribute on the host when associating a radio set rendered outside its owning form."
6620
6316
  ],
6621
6317
  "react": [
6622
- "Use generated wrappers and preserve native slot names for desktop navigation, responsive tools, mobile navigation, and main content.",
6623
- "Resolve all shell inputs from one router state before rendering the composition."
6318
+ "Use DsRadio, pass options as an array, and handle onDsChange; value is mutable and updates after user selection."
6624
6319
  ],
6625
6320
  "angular": [
6626
- "Use generated standalone adapters and preserve slot attributes in templates.",
6627
- "Bind complex inputs as properties and update navigation inputs atomically from one resolved router state.",
6628
- "Bind both nav-style attributes and properties when deterministic first paint is required."
6321
+ "Use DsRadio with options and value bindings plus dsChange, or import the generated radio value accessor with the component adapter."
6629
6322
  ]
6630
6323
  },
6631
6324
  "references": [
6632
6325
  {
6633
- "label": "Component guide",
6634
- "path": "src/wc/components/ShellApp/ShellApp.mdx"
6635
- },
6636
- {
6637
- "label": "Executable Storybook composition",
6638
- "path": "src/wc/components/ShellApp/ShellApp.stories.ts"
6639
- },
6640
- {
6641
- "label": "Framework integration",
6642
- "path": "docs/framework-integration.md"
6326
+ "label": "Storybook examples",
6327
+ "path": "src/wc/components/Radio/Radio.stories.ts"
6643
6328
  },
6644
6329
  {
6645
- "label": "Application shell contract",
6646
- "path": "agent/patterns/application-shell/pattern.agent.json"
6330
+ "label": "Cross-browser form and accessibility coverage",
6331
+ "path": "tests/e2e/forms.spec.ts"
6647
6332
  }
6648
6333
  ]
6649
6334
  },
6650
6335
  "api": {
6651
6336
  "props": {
6652
- "gradientPreset": {
6653
- "type": "ShellGradientPreset",
6337
+ "ariaLabel": {
6338
+ "type": "string | null",
6654
6339
  "required": false
6655
6340
  },
6656
- "mobileDestination": {
6657
- "type": "ShellMobileDestination",
6341
+ "ariaLabelledby": {
6342
+ "type": "string | undefined",
6343
+ "required": false
6344
+ },
6345
+ "direction": {
6346
+ "type": "'vertical' | 'horizontal'",
6658
6347
  "required": false
6659
6348
  },
6660
- "mobileNavigationOpen": {
6349
+ "disabled": {
6661
6350
  "type": "boolean",
6662
6351
  "required": false
6663
6352
  },
6664
- "navStyle": {
6665
- "type": "NavChromeStyle",
6353
+ "form": {
6354
+ "type": "string | undefined",
6666
6355
  "required": false
6667
6356
  },
6668
- "shortcutsEnabled": {
6357
+ "isInactive": {
6669
6358
  "type": "boolean",
6670
6359
  "required": false
6671
- }
6672
- },
6673
- "events": [
6360
+ },
6361
+ "name": {
6362
+ "type": "string | undefined",
6363
+ "required": false
6364
+ },
6365
+ "options": {
6366
+ "type": "RadioOption[]",
6367
+ "required": false
6368
+ },
6369
+ "required": {
6370
+ "type": "boolean",
6371
+ "required": false
6372
+ },
6373
+ "requiredMessage": {
6374
+ "type": "string",
6375
+ "required": false
6376
+ },
6377
+ "size": {
6378
+ "type": "RadioSize",
6379
+ "required": false
6380
+ },
6381
+ "value": {
6382
+ "type": "string",
6383
+ "required": false
6384
+ }
6385
+ },
6386
+ "events": [
6674
6387
  {
6675
- "name": "dsResponsiveModeChange",
6676
- "detail": "{ mode: ShellResponsiveMode }"
6388
+ "name": "dsChange",
6389
+ "detail": "string"
6677
6390
  }
6678
6391
  ],
6679
6392
  "slots": []
6680
6393
  },
6681
6394
  "exports": {
6682
- "customElement": "ds-shell-app",
6683
- "react": "DsShellApp",
6684
- "angular": "DsShellApp"
6395
+ "customElement": "ds-radio",
6396
+ "react": "DsRadio",
6397
+ "angular": "DsRadio"
6685
6398
  },
6686
6399
  "dependencies": [
6687
6400
  "@ds-mo/ui",
6688
6401
  "@ds-mo/tokens"
6689
6402
  ],
6690
- "componentDependencies": []
6403
+ "componentDependencies": [
6404
+ "text"
6405
+ ]
6691
6406
  },
6692
6407
  {
6693
- "id": "component:ds-shell-gradient-picker",
6694
- "tag": "ds-shell-gradient-picker",
6695
- "name": "shell-gradient-picker",
6696
- "title": "ShellGradientPicker",
6697
- "summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
6408
+ "id": "component:ds-scroll-overlay",
6409
+ "tag": "ds-scroll-overlay",
6410
+ "name": "scroll-overlay",
6411
+ "title": "ScrollOverlay",
6412
+ "summary": "Generic scroll owner for content that moves behind a persistent footer action or composer with an always-active alpha fade.",
6698
6413
  "intentStatus": "complete",
6699
6414
  "intent": {
6700
- "audience": "specialized",
6701
- "status": "deprecated",
6702
- "replacedBy": "component:ds-swatch-picker",
6703
- "replacementReason": "SwatchPicker now owns the same accessible interaction with a generic option model that supports both flat colors and gradients.",
6704
- "summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
6415
+ "audience": "general",
6416
+ "status": "experimental",
6417
+ "summary": "Generic scroll owner for content that moves behind a persistent footer action or composer with an always-active alpha fade.",
6705
6418
  "useWhen": [
6706
- "Adding the Appearance or Theme section to the application's user or account menu.",
6707
- "Users must choose the global ShellApp chrome treatment from none, cool, neutral, warm, or fresh."
6419
+ "A bounded region owns scrolling while footer actions remain overlaid and continuously visible.",
6420
+ "The final content must clear a live-height footer while earlier content can move behind it."
6708
6421
  ],
6709
6422
  "avoidWhen": [
6710
- "Choosing semantic intent, page background, chart, content, or brand colors.",
6711
- "Building an arbitrary gradient editor or allowing custom gradient values.",
6712
- "A picker already exists for the application; provide exactly one canonical preference location.",
6713
- "Rendering an individual swatch outside the complete picker."
6714
- ],
6715
- "alternatives": [
6716
- {
6717
- "when": "The user is selecting the application light, dark, or system color mode.",
6718
- "component": "component:ds-menu",
6719
- "reason": "Color mode is a separate appearance preference and should use ordinary menu selection rows."
6720
- }
6423
+ "The footer belongs in normal document flow rather than overlaying content.",
6424
+ "Another component already owns scrolling and cannot delegate its scrollport to this component."
6721
6425
  ],
6722
6426
  "commonlyComposedWith": [
6723
- "component:ds-shell-app",
6724
- "component:ds-menu"
6725
- ],
6726
- "patterns": [
6727
- "pattern:application-shell"
6427
+ "component:ds-button-filled",
6428
+ "component:ds-message-composer"
6728
6429
  ],
6729
6430
  "accessibility": [
6730
- "Provide a localized groupLabel that describes the shell appearance choice.",
6731
- "Treat the presets as one radio group with one Tab stop; Arrow keys, Home, and End move and select within the group.",
6732
- "Keep the visible compact swatches and their accessible preset names; do not rely on color alone for assistive technology."
6431
+ "Provide scrollLabel when the scrollport needs its own named, keyboard-focusable region.",
6432
+ "Keep footer actions keyboard accessible and explicitly named; the fade is decorative and never intercepts pointer input."
6733
6433
  ],
6734
6434
  "states": [
6735
- "Neutral is the default preset; none renders solid shell chrome without a wash.",
6736
- "Cool, neutral, warm, and fresh use design tokens and automatically adapt to the active light or dark color theme.",
6737
- "Apply dsChange immediately to ShellApp.gradientPreset and keep the containing account menu open.",
6738
- "The application owns local persistence, cross-tab synchronization, and server or account preference precedence; the picker owns only selection UI and events.",
6739
- "Treat the fixed preset union as the only supported values and do not construct custom gradients."
6435
+ "The alpha mask remains active at every scroll position and moves in content coordinates so it stays pinned behind the footer without masking native scrollbars.",
6436
+ "The component measures the complete overlay for end clearance, measures its visible child for fade depth, and begins the fade 8px before that visible content.",
6437
+ "An md 32px footer action with 8px bottom inset therefore produces a 48px fade; variable-height composers produce a correspondingly taller measured fade."
6740
6438
  ],
6741
6439
  "responsiveBehavior": [
6742
- "Keep the compact picker in the user or account appearance menu on supported desktop and tablet shell compositions.",
6743
- "The future mobile account surface may present the same preference differently."
6440
+ "The scrollport and overlay fill the available width and height; the owner supplies responsive sizing and overlay insets."
6744
6441
  ],
6745
6442
  "frameworkCaveats": {
6746
6443
  "customElements": [
6747
- "Listen for dsChange, resolve application preference precedence, and assign the result to the single ShellApp gradientPreset property."
6444
+ "Place scrollable content in the default slot and one footer wrapper in the overlay slot; use dsScroll only when the application needs position data."
6748
6445
  ],
6749
6446
  "react": [
6750
- "Use the generated wrapper and handle onDsChange without closing the containing account menu."
6447
+ "Use DsScrollOverlay with ordinary children plus an element carrying slot=\"overlay\"."
6751
6448
  ],
6752
6449
  "angular": [
6753
- "Bind value to the resolved preference and handle dsChange to update application state."
6450
+ "Import DsScrollOverlay and project the persistent footer wrapper with slot=\"overlay\"."
6754
6451
  ]
6755
6452
  },
6756
6453
  "references": [
6757
6454
  {
6758
- "label": "Replacement stories",
6759
- "path": "src/wc/components/SwatchPicker/SwatchPicker.stories.ts"
6760
- },
6761
- {
6762
- "label": "ShellApp gradient contract",
6763
- "path": "src/wc/components/ShellApp/ShellApp.mdx"
6764
- },
6765
- {
6766
- "label": "Application shell composition",
6767
- "path": "agent/patterns/application-shell/pattern.agent.json"
6455
+ "label": "Storybook examples",
6456
+ "path": "src/wc/components/ScrollOverlay/ScrollOverlay.stories.ts"
6768
6457
  }
6769
6458
  ]
6770
6459
  },
6771
6460
  "api": {
6772
6461
  "props": {
6773
- "groupLabel": {
6774
- "type": "string",
6775
- "required": false
6776
- },
6777
- "value": {
6778
- "type": "ShellGradientPreset",
6462
+ "scrollLabel": {
6463
+ "type": "string | undefined",
6779
6464
  "required": false
6780
6465
  }
6781
6466
  },
6782
6467
  "events": [
6783
6468
  {
6784
- "name": "dsChange",
6785
- "detail": "ShellGradientPreset"
6469
+ "name": "dsScroll",
6470
+ "detail": "ScrollOverlayScrollDetail"
6786
6471
  }
6787
6472
  ],
6788
6473
  "slots": []
6789
6474
  },
6790
6475
  "exports": {
6791
- "customElement": "ds-shell-gradient-picker",
6792
- "react": "DsShellGradientPicker",
6793
- "angular": "DsShellGradientPicker"
6476
+ "customElement": "ds-scroll-overlay",
6477
+ "react": "DsScrollOverlay",
6478
+ "angular": "DsScrollOverlay"
6794
6479
  },
6795
6480
  "dependencies": [
6796
6481
  "@ds-mo/ui",
6797
6482
  "@ds-mo/tokens"
6798
6483
  ],
6799
- "componentDependencies": [
6800
- "swatch-picker"
6801
- ]
6484
+ "componentDependencies": []
6802
6485
  },
6803
6486
  {
6804
- "id": "component:ds-shell-gradient-swatch",
6805
- "tag": "ds-shell-gradient-swatch",
6806
- "name": "shell-gradient-swatch",
6807
- "title": "ShellGradientSwatch",
6808
- "summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
6487
+ "id": "component:ds-select",
6488
+ "tag": "ds-select",
6489
+ "name": "select",
6490
+ "title": "Select",
6491
+ "summary": "Form-associated single-value select with listbox semantics, local search, rich flat options, grouped sections, loading, clearing, and surface-aware trigger chrome.",
6809
6492
  "intentStatus": "complete",
6810
6493
  "intent": {
6811
- "audience": "internal",
6812
- "status": "deprecated",
6813
- "replacedBy": "component:ds-swatch-picker",
6814
- "replacementReason": "SwatchPicker renders its option buttons internally so an individually published radio swatch is no longer needed.",
6815
- "summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
6494
+ "audience": "general",
6495
+ "status": "stable",
6496
+ "summary": "Form-associated single-value select with listbox semantics, local search, rich flat options, grouped sections, loading, clearing, and surface-aware trigger chrome.",
6816
6497
  "useWhen": [
6817
- "Maintaining or extending ShellGradientPicker inside CompoMo."
6498
+ "The user must choose one value from a finite set.",
6499
+ "The option set benefits from local search, subtext, prefix icons, grouping, or disabled choices.",
6500
+ "The choice set has more than roughly 20 options, comes from a user-managed listing, or represents a large domain such as addresses where search materially improves retrieval.",
6501
+ "The selected value must participate in native, Angular, or React form state."
6818
6502
  ],
6819
6503
  "avoidWhen": [
6820
- "Building application UI directly; use ShellGradientPicker instead.",
6821
- "Selecting semantic, brand, chart, page, or arbitrary gradient colors.",
6822
- "Creating a partial or custom set of shell gradient choices."
6504
+ "Several values may be selected at once.",
6505
+ "The rows perform commands rather than choosing a form value.",
6506
+ "The choices form a hierarchy with expandable parents."
6823
6507
  ],
6824
6508
  "alternatives": [
6825
6509
  {
6826
- "when": "An application needs the supported global shell appearance control.",
6827
- "component": "component:ds-swatch-picker",
6828
- "reason": "SwatchPicker provides the complete radio-group semantics, keyboard behavior, generic previews, and selection event."
6510
+ "when": "Several independent values may be selected.",
6511
+ "component": "component:ds-select-multi",
6512
+ "reason": "SelectMulti owns array values, multi-selection semantics, and count presentation."
6513
+ },
6514
+ {
6515
+ "when": "The popup contains commands or state-changing actions.",
6516
+ "component": "component:ds-menu",
6517
+ "reason": "Menu uses action-menu roles and command-focused keyboard behavior."
6518
+ },
6519
+ {
6520
+ "when": "A small set of choices should remain visible.",
6521
+ "component": "component:ds-radio",
6522
+ "reason": "Prefer Radio for roughly two to five mutually exclusive choices when the available space allows all choices to remain visible."
6829
6523
  }
6830
6524
  ],
6831
6525
  "commonlyComposedWith": [
6832
- "component:ds-swatch-picker"
6526
+ "component:ds-text",
6527
+ "component:ds-icon",
6528
+ "component:ds-empty-state",
6529
+ "component:ds-loader"
6833
6530
  ],
6834
6531
  "accessibility": [
6835
- "Keep radio semantics, aria-checked state, and a preset-specific accessible name on the internal button.",
6836
- "Let ShellGradientPicker manage the roving tab stop and group keyboard navigation.",
6837
- "Do not expose an unlabeled color-only choice."
6532
+ "In forms, provide a persistent visible external field label; placeholder text is guidance and must not be the field's only label. In a compact filter bar, the trigger's visible text may supply the accessible name.",
6533
+ "The trigger uses combobox semantics and the popup uses listbox and option semantics; do not replace them with menu roles.",
6534
+ "Disabled options remain visible, expose aria-disabled, and are skipped by keyboard navigation and typeahead.",
6535
+ "Keyboard navigation keeps the aria-activedescendant option scrolled into the visible listbox viewport.",
6536
+ "Selected options rely on active fill and foreground treatment without a redundant trailing check icon.",
6537
+ "Local search moves focus into the search field while preserving the active option through aria-activedescendant.",
6538
+ "Use errorMessage with error so the trigger is described by the rendered alert."
6838
6539
  ],
6839
6540
  "states": [
6840
- "Preset determines the token-based preview; selected determines radio state and selected visuals.",
6841
- "The selected swatch owns the radio group's single tab stop while ShellGradientPicker coordinates selection and focus movement.",
6842
- "isInactive disables interaction but does not remove the accessible name."
6541
+ "Value is controlled through the mutable value property; dsChange reports user selection and clearing.",
6542
+ "Required Selects begin without an automatic selection and require the user to make an explicit choice; do not preselect the first option merely to satisfy validity.",
6543
+ "When allowClear is enabled, the clear affordance appears only after a value exists. Clearing is valid for optional and required fields; a required field becomes invalid until the user selects again.",
6544
+ "Clearing emits dsChange with an empty string and dsClear, keeps the popup open, and restores useful focus.",
6545
+ "Loading keeps the trigger visible, replaces its prefix icon, marks the control busy, and makes selection interaction temporarily unavailable without presenting the control as inactive.",
6546
+ "The trigger label stays left-aligned at every width. The default size is md in both forms and filter bars; smaller sizes require an explicit density need.",
6547
+ "Use option icons only when they help users differentiate choices. Icons render only when every option in the complete list provides one; mixed icon data falls back to the text-only row layout.",
6548
+ "Create sections only for categories that are meaningful to customers, not merely to break a long list into arbitrary chunks.",
6549
+ "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.",
6550
+ "Option labels and the selected trigger label stay on one line and truncate when constrained. Option subtext may wrap to at most two lines.",
6551
+ "The optional prefix icon and chevron always use the parent surface's secondary foreground color, including when a selected value promotes the label to primary.",
6552
+ "The shared popup search control stays md at every trigger size, using body-medium text, a 20px icon, and the same internal spacing as a borderless Select 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.",
6553
+ "When search contains text, the shared control shows a rounded sm icon-only ButtonUnfilled with the CrossCircle icon and no border. It clears the local term, stays hidden for an empty term, and returns focus to search.",
6554
+ "The shared clear footer mirrors the search region's sizing: menu-item padding surrounds an md-height borderless row, and the Clear label uses the same row and label insets as option text. The outer footer owns a 1px top divider.",
6555
+ "An empty filtered list composes the message-only body variant of EmptyState. Keep the default neutral no-results message unless localized product guidance makes the outcome clearer.",
6556
+ "Enable searchable for more than roughly 20 options, user-managed listings, large domains such as addresses, or sets users cannot efficiently scan. Local matching includes option labels, subtext, and section headings; the owner resolves remote data before assigning options.",
6557
+ "Validation timing belongs to the form owner and may be immediate or deferred until blur or submit; the Select exposes validity and error presentation without imposing that policy.",
6558
+ "The error trigger uses a 1.5px bold-negative inset stroke so invalid state remains distinguishable from the normal 1px border without changing control geometry.",
6559
+ "An initially empty option set is not an expected Select use case. The no-results state describes a search with no matches, not a source with no choices.",
6560
+ "Use options for a flat list or sections for grouped choices; when sections are present they take precedence.",
6561
+ "The background prop describes the actual parent surface and uses the same surface set as ButtonUnfilled."
6843
6562
  ],
6844
6563
  "responsiveBehavior": [
6845
- "Preserve the fixed compact swatch geometry and let ShellGradientPicker own layout."
6564
+ "Use width fill for form fields and width hug for compact filter bars. Override those defaults only when the owning layout has a clear constraint.",
6565
+ "The popup matches the trigger minimum width, may grow for content, and clamps to the viewport.",
6566
+ "Long option collections scroll inside the popup; virtualization and remote search are not part of this component."
6846
6567
  ],
6847
6568
  "frameworkCaveats": {
6848
6569
  "customElements": [
6849
- "Do not instantiate this internal primitive in consuming applications."
6570
+ "Assign options and sections through JavaScript properties because arrays and objects cannot be represented safely as attributes."
6850
6571
  ],
6851
6572
  "react": [
6852
- "Use DsShellGradientPicker rather than the generated swatch wrapper."
6573
+ "Pass options or sections as wrapper props and handle onDsChange, onDsClear, and onDsOpenChange."
6853
6574
  ],
6854
6575
  "angular": [
6855
- "Use DsShellGradientPicker rather than importing DsShellGradientSwatch."
6576
+ "Import DsSelect and SelectValueAccessor when integrating with Angular Forms; bind options and sections as properties."
6856
6577
  ]
6857
6578
  },
6858
6579
  "references": [
6859
6580
  {
6860
- "label": "Parent picker",
6861
- "path": "src/wc/components/ShellGradientPicker/ShellGradientPicker.tsx"
6581
+ "label": "Storybook examples",
6582
+ "path": "src/wc/components/Select/Select.stories.ts"
6583
+ },
6584
+ {
6585
+ "label": "Selection patterns",
6586
+ "path": "src/docs/SelectionPatterns.mdx"
6862
6587
  }
6863
6588
  ]
6864
6589
  },
6865
6590
  "api": {
6866
6591
  "props": {
6867
- "ariaLabel": {
6868
- "type": "string | null",
6592
+ "activeFill": {
6593
+ "type": "boolean",
6869
6594
  "required": false
6870
6595
  },
6871
- "isInactive": {
6596
+ "allowClear": {
6872
6597
  "type": "boolean",
6873
6598
  "required": false
6874
6599
  },
6875
- "preset": {
6876
- "type": "ShellGradientPreset",
6600
+ "ariaDescribedby": {
6601
+ "type": "string | undefined",
6877
6602
  "required": false
6878
6603
  },
6879
- "selected": {
6880
- "type": "boolean",
6604
+ "ariaLabel": {
6605
+ "type": "string | null",
6881
6606
  "required": false
6882
- }
6607
+ },
6608
+ "ariaLabelledby": {
6609
+ "type": "string | undefined",
6610
+ "required": false
6611
+ },
6612
+ "background": {
6613
+ "type": "SelectBackground | undefined",
6614
+ "required": false
6615
+ },
6616
+ "clearLabel": {
6617
+ "type": "string",
6618
+ "required": false
6619
+ },
6620
+ "disabled": {
6621
+ "type": "boolean",
6622
+ "required": false
6623
+ },
6624
+ "error": {
6625
+ "type": "boolean",
6626
+ "required": false
6627
+ },
6628
+ "errorMessage": {
6629
+ "type": "string | undefined",
6630
+ "required": false
6631
+ },
6632
+ "hasBorder": {
6633
+ "type": "boolean",
6634
+ "required": false
6635
+ },
6636
+ "icon": {
6637
+ "type": "string | undefined",
6638
+ "required": false
6639
+ },
6640
+ "inputId": {
6641
+ "type": "string | undefined",
6642
+ "required": false
6643
+ },
6644
+ "isInactive": {
6645
+ "type": "boolean",
6646
+ "required": false
6647
+ },
6648
+ "isLoading": {
6649
+ "type": "boolean",
6650
+ "required": false
6651
+ },
6652
+ "loadingLabel": {
6653
+ "type": "string",
6654
+ "required": false
6655
+ },
6656
+ "name": {
6657
+ "type": "string | undefined",
6658
+ "required": false
6659
+ },
6660
+ "noResultsText": {
6661
+ "type": "string",
6662
+ "required": false
6663
+ },
6664
+ "open": {
6665
+ "type": "boolean",
6666
+ "required": false
6667
+ },
6668
+ "options": {
6669
+ "type": "SelectOption[]",
6670
+ "required": false
6671
+ },
6672
+ "placeholder": {
6673
+ "type": "string",
6674
+ "required": false
6675
+ },
6676
+ "required": {
6677
+ "type": "boolean",
6678
+ "required": false
6679
+ },
6680
+ "requiredMessage": {
6681
+ "type": "string",
6682
+ "required": false
6683
+ },
6684
+ "searchPlaceholder": {
6685
+ "type": "string",
6686
+ "required": false
6687
+ },
6688
+ "searchable": {
6689
+ "type": "boolean",
6690
+ "required": false
6691
+ },
6692
+ "sections": {
6693
+ "type": "SelectSection[]",
6694
+ "required": false
6695
+ },
6696
+ "size": {
6697
+ "type": "SelectSize",
6698
+ "required": false
6699
+ },
6700
+ "value": {
6701
+ "type": "string",
6702
+ "required": false
6703
+ },
6704
+ "width": {
6705
+ "type": "SelectWidth",
6706
+ "required": false
6707
+ }
6883
6708
  },
6884
6709
  "events": [
6885
6710
  {
6886
- "name": "dsSelect",
6887
- "detail": "ShellGradientPreset"
6711
+ "name": "dsChange",
6712
+ "detail": "string"
6713
+ },
6714
+ {
6715
+ "name": "dsClear",
6716
+ "detail": "void"
6717
+ },
6718
+ {
6719
+ "name": "dsOpenChange",
6720
+ "detail": "boolean"
6888
6721
  }
6889
6722
  ],
6890
6723
  "slots": []
6891
6724
  },
6892
6725
  "exports": {
6893
- "customElement": "ds-shell-gradient-swatch",
6894
- "react": "DsShellGradientSwatch",
6895
- "angular": "DsShellGradientSwatch"
6726
+ "customElement": "ds-select",
6727
+ "react": "DsSelect",
6728
+ "angular": "DsSelect"
6896
6729
  },
6897
6730
  "dependencies": [
6898
6731
  "@ds-mo/ui",
6899
- "@ds-mo/tokens"
6732
+ "@ds-mo/tokens",
6733
+ "@ds-mo/icons"
6900
6734
  ],
6901
- "componentDependencies": []
6735
+ "componentDependencies": [
6736
+ "button-unfilled",
6737
+ "empty-state",
6738
+ "icon",
6739
+ "loader",
6740
+ "text",
6741
+ "tooltip"
6742
+ ]
6902
6743
  },
6903
6744
  {
6904
- "id": "component:ds-shell-mobile-bar",
6905
- "tag": "ds-shell-mobile-bar",
6906
- "name": "shell-mobile-bar",
6907
- "title": "ShellMobileBar",
6908
- "summary": "Persistent mobile shell navigation for Menu, the router-derived current area, Search, Agents, and Inbox.",
6745
+ "id": "component:ds-select-multi",
6746
+ "tag": "ds-select-multi",
6747
+ "name": "select-multi",
6748
+ "title": "SelectMulti",
6749
+ "summary": "Form-associated multi-value select with a persistent trigger label, inline selected count, local search, rich flat options, grouped sections, loading, and clear-all behavior.",
6909
6750
  "intentStatus": "complete",
6910
6751
  "intent": {
6911
- "audience": "specialized",
6912
- "status": "experimental",
6913
- "summary": "Persistent mobile shell navigation for Menu, the router-derived current area, Search, Agents, and Inbox.",
6752
+ "audience": "general",
6753
+ "status": "stable",
6754
+ "summary": "Form-associated multi-value select with a persistent trigger label, inline selected count, local search, rich flat options, grouped sections, loading, and clear-all behavior.",
6914
6755
  "useWhen": [
6915
- "ShellApp is rendering its dedicated below-768px application composition."
6756
+ "The user may choose several independent values from one finite set.",
6757
+ "A compact trigger should summarize selection with the field label and a count.",
6758
+ "The option set benefits from local search, subtext, grouping, or disabled choices.",
6759
+ "The choice set has more than roughly 20 options, comes from a user-managed listing, or represents a large domain where search materially improves retrieval."
6916
6760
  ],
6917
6761
  "avoidWhen": [
6918
- "Rendering desktop or tablet shell chrome.",
6919
- "An arbitrary set of product tabs is required."
6762
+ "Exactly one value may be selected.",
6763
+ "Selected values must remain individually removable as persistent tags outside the popup.",
6764
+ "The choices form a hierarchy with cascading parent selection.",
6765
+ "The customer task benefits more from keeping every choice and checkbox directly visible; choose between SelectMulti and a visible checkbox list from the use-case context rather than a fixed option-count threshold."
6920
6766
  ],
6921
- "commonlyComposedWith": [
6922
- "component:ds-shell-app"
6767
+ "alternatives": [
6768
+ {
6769
+ "when": "Exactly one value may be selected.",
6770
+ "component": "component:ds-select",
6771
+ "reason": "Select owns scalar form value and single-select listbox behavior."
6772
+ },
6773
+ {
6774
+ "when": "The popup contains actions rather than values.",
6775
+ "component": "component:ds-menu",
6776
+ "reason": "Menu uses command semantics and closes according to action-menu expectations."
6777
+ }
6923
6778
  ],
6924
- "patterns": [
6925
- "pattern:application-shell"
6779
+ "commonlyComposedWith": [
6780
+ "component:ds-text",
6781
+ "component:ds-checkbox",
6782
+ "component:ds-empty-state",
6783
+ "component:ds-loader"
6926
6784
  ],
6927
6785
  "accessibility": [
6928
- "Every item keeps a visible label and accessible name.",
6929
- "Only the active destination exposes aria-current; Menu exposes its controlled pane through aria-expanded."
6786
+ "In forms, provide a persistent visible external field label. In a compact filter bar, the trigger's visible persistent label and count may supply the accessible name.",
6787
+ "The popup is a listbox with aria-multiselectable and every option exposes its independent aria-selected state.",
6788
+ "Disabled options expose aria-disabled and are skipped by keyboard navigation and typeahead.",
6789
+ "Keyboard navigation keeps the aria-activedescendant option scrolled into the visible listbox viewport.",
6790
+ "Each row uses a medium-size presentation-only ds-checkbox indicator; multi-select option rows never add a prefix icon alongside it, and the option remains the sole selection semantic and interaction target.",
6791
+ "The trigger keeps its field label visible and appends the current selected count; an explicit aria-label or aria-labelledby remains the authoritative accessible name when supplied.",
6792
+ "Use errorMessage with error so the trigger is described by the rendered alert."
6930
6793
  ],
6931
6794
  "states": [
6932
- "The item order is fixed: Menu, current area, Search, Agents, Inbox.",
6933
- "Reselecting an active destination does not reset its nested state."
6795
+ "Values is a controlled JavaScript array; dsChange emits a new array after each user toggle.",
6796
+ "Required SelectMulti controls begin without an automatic selection and require the user to make an explicit choice.",
6797
+ "Selecting an option keeps the popup open so additional values can be toggled.",
6798
+ "The trigger label stays left-aligned at every width; every option row uses the same leading medium Checkbox indicator. The default control size is md in both forms and filter bars.",
6799
+ "The selected count always follows the persistent label as plain text separated by a centered dot, including for one selection, and counts every selected value even when search or grouping hides it. Never replace the count with selected option names.",
6800
+ "Create sections only for categories that are meaningful to customers, not merely to break a long list into arbitrary chunks.",
6801
+ "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.",
6802
+ "Option labels stay on one line and truncate when constrained. Option subtext may wrap to at most two lines.",
6803
+ "The optional prefix icon and chevron always use the parent surface's secondary foreground color, including when selection promotes the label and count to primary.",
6804
+ "The shared popup search control stays md at every trigger size, using body-medium text, a 20px icon, and the same internal spacing as a borderless Select 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.",
6805
+ "When search contains text, the shared control shows a rounded sm icon-only ButtonUnfilled with the Cross icon and no border. It clears the local term, stays hidden for an empty term, and returns focus to search.",
6806
+ "The shared summary-and-clear footer mirrors the search region's sizing: menu-item padding surrounds an md-height borderless row, and both texts use the same row and label insets as option text. The outer footer owns a 1px top divider.",
6807
+ "An empty filtered list composes the message-only body variant of EmptyState. Keep the default neutral no-results message unless localized product guidance makes the outcome clearer.",
6808
+ "Enable searchable for more than roughly 20 options, user-managed listings, large domains such as addresses, or sets users cannot efficiently scan. Local matching includes option labels, subtext, and section headings; the owner resolves remote data before assigning options.",
6809
+ "When allowClear is enabled, clear-all appears only after at least one value exists. Clearing is valid for optional and required fields; a required field becomes invalid until the user selects again.",
6810
+ "Clear-all emits an empty dsChange and dsClear while preserving useful popup or search focus.",
6811
+ "Loading keeps the trigger visible, marks the control busy, and makes selection interaction temporarily unavailable without presenting the control as inactive.",
6812
+ "SelectMulti has no maximum-selection behavior; every available non-inactive option may be selected.",
6813
+ "Validation timing belongs to the form owner and may be immediate or deferred until blur or submit; the component exposes validity and error presentation without imposing that policy.",
6814
+ "The error trigger uses a 1.5px bold-negative inset stroke so invalid state remains distinguishable from the normal 1px border without changing control geometry.",
6815
+ "An initially empty option set is not an expected SelectMulti use case. The no-results state describes a search with no matches, not a source with no choices.",
6816
+ "Native form submission emits one entry per selected value under the component name.",
6817
+ "Use options for a flat list or sections for grouped choices. Multi-select option contracts intentionally exclude icons because the leading checkbox owns that row zone; hierarchical parent selection is deferred."
6934
6818
  ],
6935
6819
  "responsiveBehavior": [
6936
- "Render only below the mobile breakpoint and preserve safe-area clearance."
6820
+ "Use width fill for form fields and width hug for compact filter bars; the persistent trigger label avoids variable-width selected labels.",
6821
+ "The popup matches the trigger minimum width, may grow for content, and clamps to the viewport.",
6822
+ "Long option collections scroll inside the popup; virtualization and remote search are not part of this version."
6937
6823
  ],
6824
+ "frameworkCaveats": {
6825
+ "customElements": [
6826
+ "Assign values, options, and sections through JavaScript properties; array values cannot be represented safely as attributes."
6827
+ ],
6828
+ "react": [
6829
+ "Pass values, options, and sections as wrapper props and handle onDsChange, onDsClear, and onDsOpenChange."
6830
+ ],
6831
+ "angular": [
6832
+ "Import DsSelectMulti and SelectMultiValueAccessor when integrating with Angular Forms."
6833
+ ]
6834
+ },
6938
6835
  "references": [
6939
6836
  {
6940
- "label": "Storybook",
6941
- "path": "src/wc/components/ShellMobileBar/ShellMobileBar.stories.ts"
6837
+ "label": "Storybook examples",
6838
+ "path": "src/wc/components/SelectMulti/SelectMulti.stories.ts"
6839
+ },
6840
+ {
6841
+ "label": "Selection patterns",
6842
+ "path": "src/docs/SelectionPatterns.mdx"
6942
6843
  }
6943
6844
  ]
6944
6845
  },
6945
6846
  "api": {
6946
6847
  "props": {
6947
- "activeDestination": {
6948
- "type": "ShellMobileDestination",
6848
+ "activeFill": {
6849
+ "type": "boolean",
6949
6850
  "required": false
6950
6851
  },
6951
- "agentsDot": {
6852
+ "allowClear": {
6952
6853
  "type": "boolean",
6953
6854
  "required": false
6954
6855
  },
6955
- "agentsLabel": {
6856
+ "ariaDescribedby": {
6857
+ "type": "string | undefined",
6858
+ "required": false
6859
+ },
6860
+ "ariaLabel": {
6861
+ "type": "string | null",
6862
+ "required": false
6863
+ },
6864
+ "ariaLabelledby": {
6865
+ "type": "string | undefined",
6866
+ "required": false
6867
+ },
6868
+ "background": {
6869
+ "type": "SelectMultiBackground | undefined",
6870
+ "required": false
6871
+ },
6872
+ "clearLabel": {
6956
6873
  "type": "string",
6957
6874
  "required": false
6958
6875
  },
6959
- "currentArea": {
6960
- "type": "PanelNavItem",
6876
+ "disabled": {
6877
+ "type": "boolean",
6961
6878
  "required": false
6962
6879
  },
6963
- "inboxDot": {
6880
+ "error": {
6881
+ "type": "boolean",
6882
+ "required": false
6883
+ },
6884
+ "errorMessage": {
6885
+ "type": "string | undefined",
6886
+ "required": false
6887
+ },
6888
+ "hasBorder": {
6889
+ "type": "boolean",
6890
+ "required": false
6891
+ },
6892
+ "icon": {
6893
+ "type": "string | undefined",
6894
+ "required": false
6895
+ },
6896
+ "inputId": {
6897
+ "type": "string | undefined",
6898
+ "required": false
6899
+ },
6900
+ "isInactive": {
6901
+ "type": "boolean",
6902
+ "required": false
6903
+ },
6904
+ "isLoading": {
6905
+ "type": "boolean",
6906
+ "required": false
6907
+ },
6908
+ "loadingLabel": {
6909
+ "type": "string",
6910
+ "required": false
6911
+ },
6912
+ "name": {
6913
+ "type": "string | undefined",
6914
+ "required": false
6915
+ },
6916
+ "noResultsText": {
6917
+ "type": "string",
6918
+ "required": false
6919
+ },
6920
+ "open": {
6921
+ "type": "boolean",
6922
+ "required": false
6923
+ },
6924
+ "options": {
6925
+ "type": "SelectMultiOption[]",
6926
+ "required": false
6927
+ },
6928
+ "placeholder": {
6929
+ "type": "string",
6930
+ "required": false
6931
+ },
6932
+ "required": {
6933
+ "type": "boolean",
6934
+ "required": false
6935
+ },
6936
+ "requiredMessage": {
6937
+ "type": "string",
6938
+ "required": false
6939
+ },
6940
+ "searchPlaceholder": {
6941
+ "type": "string",
6942
+ "required": false
6943
+ },
6944
+ "searchable": {
6964
6945
  "type": "boolean",
6965
6946
  "required": false
6966
6947
  },
6967
- "inboxLabel": {
6968
- "type": "string",
6948
+ "sections": {
6949
+ "type": "SelectMultiSection[]",
6950
+ "required": false
6951
+ },
6952
+ "selectedLabel": {
6953
+ "type": "string",
6954
+ "required": false
6955
+ },
6956
+ "size": {
6957
+ "type": "SelectMultiSize",
6958
+ "required": false
6959
+ },
6960
+ "values": {
6961
+ "type": "string[]",
6962
+ "required": false
6963
+ },
6964
+ "width": {
6965
+ "type": "SelectMultiWidth",
6966
+ "required": false
6967
+ }
6968
+ },
6969
+ "events": [
6970
+ {
6971
+ "name": "dsChange",
6972
+ "detail": "string[]"
6973
+ },
6974
+ {
6975
+ "name": "dsClear",
6976
+ "detail": "void"
6977
+ },
6978
+ {
6979
+ "name": "dsOpenChange",
6980
+ "detail": "boolean"
6981
+ }
6982
+ ],
6983
+ "slots": []
6984
+ },
6985
+ "exports": {
6986
+ "customElement": "ds-select-multi",
6987
+ "react": "DsSelectMulti",
6988
+ "angular": "DsSelectMulti"
6989
+ },
6990
+ "dependencies": [
6991
+ "@ds-mo/ui",
6992
+ "@ds-mo/tokens",
6993
+ "@ds-mo/icons"
6994
+ ],
6995
+ "componentDependencies": [
6996
+ "button-unfilled",
6997
+ "checkbox",
6998
+ "empty-state",
6999
+ "icon",
7000
+ "loader",
7001
+ "text",
7002
+ "tooltip"
7003
+ ]
7004
+ },
7005
+ {
7006
+ "id": "component:ds-shell-app",
7007
+ "tag": "ds-shell-app",
7008
+ "name": "shell-app",
7009
+ "title": "ShellApp",
7010
+ "summary": "The single required workspace root for standard authenticated application pages, coordinating primary and secondary navigation, tools chrome, responsive composition, content geometry, shared styling, and shell behavior.",
7011
+ "intentStatus": "complete",
7012
+ "intent": {
7013
+ "audience": "specialized",
7014
+ "status": "stable",
7015
+ "summary": "The single required workspace root for standard authenticated application pages, coordinating primary and secondary navigation, tools chrome, responsive composition, content geometry, shared styling, and shell behavior.",
7016
+ "useWhen": [
7017
+ "Building any standard authenticated product or workspace page with CompoMo.",
7018
+ "PanelNav, BarNav, ShellTools, mobile navigation, page content, shared chrome, responsive behavior, and shell shortcuts must be composed as one application frame.",
7019
+ "Future application templates need the supported base-page composition boundary."
7020
+ ],
7021
+ "avoidWhen": [
7022
+ "Building authentication, onboarding, public, marketing, print, error, or intentionally focused full-screen experiences that require a different layout.",
7023
+ "Another ShellApp already exists in the page; applications must render exactly one and must never nest ShellApps.",
7024
+ "Building content inside an existing ShellApp; render the page content rather than another shell."
7025
+ ],
7026
+ "commonlyComposedWith": [
7027
+ "component:ds-panel-nav",
7028
+ "component:ds-bar-nav",
7029
+ "component:ds-panel-tools",
7030
+ "component:ds-shell-tools",
7031
+ "component:ds-mobile-sheet-nav",
7032
+ "component:ds-mobile-header",
7033
+ "component:ds-mobile-bar-nav",
7034
+ "component:ds-shell-page",
7035
+ "component:ds-swatch-picker"
7036
+ ],
7037
+ "patterns": [
7038
+ "pattern:application-shell",
7039
+ "pattern:shell-page"
7040
+ ],
7041
+ "accessibility": [
7042
+ "Keep primary destinations in PanelNav and secondary route sections in BarNav.",
7043
+ "Ensure the default content region contains the page's single main landmark.",
7044
+ "Keep PanelNav, BarNav, and PanelTools-compatible chrome available in desktop and tablet compositions and the persistent mobile bar available below 768px.",
7045
+ "Do not override browser keyboard chords when enabling shell shortcuts.",
7046
+ "Require Search and Help as the minimum PanelTools actions and provide accessible labels for every tool.",
7047
+ "Preserve focus and accessible names across navigation, collapse, overflow, and responsive presentation changes."
7048
+ ],
7049
+ "states": [
7050
+ "Render exactly one ShellApp as the workspace root and never nest it.",
7051
+ "PanelNav, BarNav, and ShellTools are the responsive shell regions; ShellTools contains at least Search and Help even when no additional product tools apply.",
7052
+ "The application router owns the current route, authorization filtering, Dashboard or Settings context, destination collections, section collections, and localized content labels.",
7053
+ "ShellApp propagates navStyle and resolved responsive mode and coordinates layout, gradient alignment, transitions, metrics, shortcuts, and mobile-stage visibility.",
7054
+ "The application controls mobileDestination and mobileSheetNavOpen and keeps router state independent from global tool-surface changes.",
7055
+ "Set gradientPreset to the single resolved global chrome preference: neutral by default, none for solid chrome, or cool, neutral, warm, and fresh for token-based washes.",
7056
+ "The application owns gradient preference persistence, cross-tab synchronization, and server or account precedence; ShellApp owns rendering the resolved preset across authenticated routes.",
7057
+ "Dashboard represents day-to-day operational work while Settings represents administrative and configuration work; route state selects the context.",
7058
+ "Update PanelNav groups, BarNav tabs and heading, navStyle, basePath, and currentUrl atomically from one resolved route state.",
7059
+ "BarNav remains present: it shows route-section tabs when available and the active PanelNav destination label as heading otherwise.",
7060
+ "Render one ShellPage as the default-slot child for each standard routed page; ShellApp owns the content scroller while ShellPage owns page header stickiness and content inset.",
7061
+ "The application filters unauthorized destinations, sections, and tools before passing them into shell components."
7062
+ ],
7063
+ "responsiveBehavior": [
7064
+ "ShellApp owns the fixed system breakpoints and resolves desktop at 1200px and wider, tablet from 768px through 1199px, and mobile below 768px.",
7065
+ "On desktop, PanelNav defaults expanded, permits user collapse or expansion, and respects the locally persisted desktop preference.",
7066
+ "On tablet, ShellApp keeps PanelNav permanently collapsed and prevents user expansion without overwriting the desktop preference.",
7067
+ "On mobile, ShellApp hides and inerts PanelNav and BarNav, uses a solid primary stage, and composes routed ShellPage MobileHeader presentations, MobileSheetNav, ShellTools, and the persistent five-item MobileBarNav.",
7068
+ "Mobile global surfaces conceal and inert the routed workspace without unmounting it, preserving nested routes and scroll state.",
7069
+ "Keep PanelNav width, BarNav height, PanelTools chrome, and main-content origin stable except during intentional responsive or collapse transitions.",
7070
+ "The bottom bar remains visible at all route and tool depths in the foundation release."
7071
+ ],
7072
+ "frameworkCaveats": {
7073
+ "customElements": [
7074
+ "Assign complex navigation and tool collections as JavaScript properties on the slotted components.",
7075
+ "Stamp route-derived nav-style before components connect when deterministic first paint is required."
7076
+ ],
7077
+ "react": [
7078
+ "Use generated wrappers and preserve native slot names for desktop navigation, responsive tools, mobile navigation, and main content.",
7079
+ "Resolve all shell inputs from one router state before rendering the composition."
7080
+ ],
7081
+ "angular": [
7082
+ "Use generated standalone adapters and preserve slot attributes in templates.",
7083
+ "Bind complex inputs as properties and update navigation inputs atomically from one resolved router state.",
7084
+ "Bind both nav-style attributes and properties when deterministic first paint is required."
7085
+ ]
7086
+ },
7087
+ "references": [
7088
+ {
7089
+ "label": "Component guide",
7090
+ "path": "src/wc/components/ShellApp/ShellApp.mdx"
7091
+ },
7092
+ {
7093
+ "label": "Executable Storybook composition",
7094
+ "path": "src/wc/components/ShellApp/ShellApp.stories.ts"
7095
+ },
7096
+ {
7097
+ "label": "Framework integration",
7098
+ "path": "docs/framework-integration.md"
7099
+ },
7100
+ {
7101
+ "label": "Application shell contract",
7102
+ "path": "agent/patterns/application-shell/pattern.agent.json"
7103
+ }
7104
+ ]
7105
+ },
7106
+ "api": {
7107
+ "props": {
7108
+ "gradientPreset": {
7109
+ "type": "ShellGradientPreset",
6969
7110
  "required": false
6970
7111
  },
6971
- "menuLabel": {
6972
- "type": "string",
7112
+ "mobileDestination": {
7113
+ "type": "MobileDestination",
6973
7114
  "required": false
6974
7115
  },
6975
- "navigationExpanded": {
7116
+ "mobileSheetNavOpen": {
6976
7117
  "type": "boolean",
6977
7118
  "required": false
6978
7119
  },
6979
- "searchDot": {
6980
- "type": "boolean",
7120
+ "navStyle": {
7121
+ "type": "NavChromeStyle",
6981
7122
  "required": false
6982
7123
  },
6983
- "searchLabel": {
6984
- "type": "string",
7124
+ "shortcutsEnabled": {
7125
+ "type": "boolean",
6985
7126
  "required": false
6986
7127
  }
6987
7128
  },
6988
7129
  "events": [
6989
7130
  {
6990
- "name": "dsDestinationChange",
6991
- "detail": "ShellMobileBarDestinationDetail"
6992
- },
6993
- {
6994
- "name": "dsNavigationToggle",
6995
- "detail": "boolean"
7131
+ "name": "dsResponsiveModeChange",
7132
+ "detail": "{ mode: ShellResponsiveMode }"
6996
7133
  }
6997
7134
  ],
6998
7135
  "slots": []
6999
7136
  },
7000
7137
  "exports": {
7001
- "customElement": "ds-shell-mobile-bar",
7002
- "react": "DsShellMobileBar",
7003
- "angular": "DsShellMobileBar"
7138
+ "customElement": "ds-shell-app",
7139
+ "react": "DsShellApp",
7140
+ "angular": "DsShellApp"
7004
7141
  },
7005
7142
  "dependencies": [
7006
7143
  "@ds-mo/ui",
7007
- "@ds-mo/tokens",
7008
- "@ds-mo/icons"
7144
+ "@ds-mo/tokens"
7009
7145
  ],
7010
- "componentDependencies": [
7011
- "icon",
7012
- "text"
7013
- ]
7146
+ "componentDependencies": []
7014
7147
  },
7015
7148
  {
7016
- "id": "component:ds-shell-mobile-nav",
7017
- "tag": "ds-shell-mobile-nav",
7018
- "name": "shell-mobile-nav",
7019
- "title": "ShellMobileNav",
7020
- "summary": "Full-height mobile primary navigation pane with local Dashboard and Settings browsing.",
7149
+ "id": "component:ds-shell-gradient-picker",
7150
+ "tag": "ds-shell-gradient-picker",
7151
+ "name": "shell-gradient-picker",
7152
+ "title": "ShellGradientPicker",
7153
+ "summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
7021
7154
  "intentStatus": "complete",
7022
7155
  "intent": {
7023
7156
  "audience": "specialized",
7024
- "status": "experimental",
7025
- "summary": "Full-height mobile primary navigation pane with local Dashboard and Settings browsing.",
7157
+ "status": "deprecated",
7158
+ "replacedBy": "component:ds-swatch-picker",
7159
+ "replacementReason": "SwatchPicker now owns the same accessible interaction with a generic option model that supports both flat colors and gradients.",
7160
+ "summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
7026
7161
  "useWhen": [
7027
- "The mobile ShellApp Menu control needs to expose the complete primary navigation collection."
7162
+ "Adding the Appearance or Theme section to the application's user or account menu.",
7163
+ "Users must choose the global ShellApp chrome treatment from none, cool, neutral, warm, or fresh."
7028
7164
  ],
7029
7165
  "avoidWhen": [
7030
- "Rendering desktop PanelNav.",
7031
- "Switching local page content."
7166
+ "Choosing semantic intent, page background, chart, content, or brand colors.",
7167
+ "Building an arbitrary gradient editor or allowing custom gradient values.",
7168
+ "A picker already exists for the application; provide exactly one canonical preference location.",
7169
+ "Rendering an individual swatch outside the complete picker."
7170
+ ],
7171
+ "alternatives": [
7172
+ {
7173
+ "when": "The user is selecting the application light, dark, or system color mode.",
7174
+ "component": "component:ds-menu",
7175
+ "reason": "Color mode is a separate appearance preference and should use ordinary menu selection rows."
7176
+ }
7032
7177
  ],
7033
7178
  "commonlyComposedWith": [
7034
7179
  "component:ds-shell-app",
7035
- "component:ds-shell-mobile-bar"
7180
+ "component:ds-menu"
7036
7181
  ],
7037
7182
  "patterns": [
7038
7183
  "pattern:application-shell"
7039
7184
  ],
7040
7185
  "accessibility": [
7041
- "The pane is a named navigation landmark and retains visible labels for every destination.",
7042
- "Escape requests dismissal and opening moves focus to the selected or first available area."
7186
+ "Provide a localized groupLabel that describes the shell appearance choice.",
7187
+ "Treat the presets as one radio group with one Tab stop; Arrow keys, Home, and End move and select within the group.",
7188
+ "Keep the visible compact swatches and their accessible preset names; do not rely on color alone for assistive technology."
7043
7189
  ],
7044
7190
  "states": [
7045
- "Dashboard and Settings change only the collection being browsed.",
7046
- "Area, Help, and Account events express intent while the application owns navigation and product behavior."
7191
+ "Neutral is the default preset; none renders solid shell chrome without a wash.",
7192
+ "Cool, neutral, warm, and fresh use design tokens and automatically adapt to the active light or dark color theme.",
7193
+ "Apply dsChange immediately to ShellApp.gradientPreset and keep the containing account menu open.",
7194
+ "The application owns local persistence, cross-tab synchronization, and server or account preference precedence; the picker owns only selection UI and events.",
7195
+ "Treat the fixed preset union as the only supported values and do not construct custom gradients."
7047
7196
  ],
7048
7197
  "responsiveBehavior": [
7049
- "The pane fills the mobile content stage while the bottom bar remains available."
7198
+ "Keep the compact picker in the user or account appearance menu on supported desktop and tablet shell compositions.",
7199
+ "The future mobile account surface may present the same preference differently."
7050
7200
  ],
7201
+ "frameworkCaveats": {
7202
+ "customElements": [
7203
+ "Listen for dsChange, resolve application preference precedence, and assign the result to the single ShellApp gradientPreset property."
7204
+ ],
7205
+ "react": [
7206
+ "Use the generated wrapper and handle onDsChange without closing the containing account menu."
7207
+ ],
7208
+ "angular": [
7209
+ "Bind value to the resolved preference and handle dsChange to update application state."
7210
+ ]
7211
+ },
7051
7212
  "references": [
7052
7213
  {
7053
- "label": "Storybook",
7054
- "path": "src/wc/components/ShellMobileNav/ShellMobileNav.stories.ts"
7214
+ "label": "Replacement stories",
7215
+ "path": "src/wc/components/SwatchPicker/SwatchPicker.stories.ts"
7216
+ },
7217
+ {
7218
+ "label": "ShellApp gradient contract",
7219
+ "path": "src/wc/components/ShellApp/ShellApp.mdx"
7220
+ },
7221
+ {
7222
+ "label": "Application shell composition",
7223
+ "path": "agent/patterns/application-shell/pattern.agent.json"
7055
7224
  }
7056
7225
  ]
7057
7226
  },
7058
7227
  "api": {
7059
7228
  "props": {
7060
- "accountLabel": {
7061
- "type": "string",
7062
- "required": false
7063
- },
7064
- "browseContext": {
7065
- "type": "NavChromeStyle",
7066
- "required": false
7067
- },
7068
- "currentUrl": {
7069
- "type": "string",
7070
- "required": false
7071
- },
7072
- "dashboardGroups": {
7073
- "type": "PanelNavGroup[]",
7074
- "required": false
7075
- },
7076
- "dashboardLabel": {
7077
- "type": "string",
7078
- "required": false
7079
- },
7080
- "heading": {
7081
- "type": "string",
7082
- "required": false
7083
- },
7084
- "helpLabel": {
7085
- "type": "string",
7086
- "required": false
7087
- },
7088
- "navigationLabel": {
7229
+ "groupLabel": {
7089
7230
  "type": "string",
7090
7231
  "required": false
7091
7232
  },
7092
- "open": {
7093
- "type": "boolean",
7094
- "required": false
7095
- },
7096
- "settingsGroups": {
7097
- "type": "PanelNavGroup[]",
7098
- "required": false
7099
- },
7100
- "settingsLabel": {
7101
- "type": "string",
7233
+ "value": {
7234
+ "type": "ShellGradientPreset",
7102
7235
  "required": false
7103
7236
  }
7104
7237
  },
7105
7238
  "events": [
7106
7239
  {
7107
- "name": "dsAreaSelect",
7108
- "detail": "string"
7109
- },
7110
- {
7111
- "name": "dsAuxiliarySelect",
7112
- "detail": "ShellMobileNavAuxiliaryDetail"
7113
- },
7114
- {
7115
- "name": "dsBrowseContextChange",
7116
- "detail": "NavChromeStyle"
7117
- },
7118
- {
7119
- "name": "dsClose",
7120
- "detail": "void"
7240
+ "name": "dsChange",
7241
+ "detail": "ShellGradientPreset"
7121
7242
  }
7122
7243
  ],
7123
7244
  "slots": []
7124
7245
  },
7125
7246
  "exports": {
7126
- "customElement": "ds-shell-mobile-nav",
7127
- "react": "DsShellMobileNav",
7128
- "angular": "DsShellMobileNav"
7247
+ "customElement": "ds-shell-gradient-picker",
7248
+ "react": "DsShellGradientPicker",
7249
+ "angular": "DsShellGradientPicker"
7129
7250
  },
7130
7251
  "dependencies": [
7131
7252
  "@ds-mo/ui",
7132
- "@ds-mo/tokens",
7133
- "@ds-mo/icons"
7253
+ "@ds-mo/tokens"
7134
7254
  ],
7135
7255
  "componentDependencies": [
7136
- "icon",
7137
- "tab-group",
7138
- "text"
7256
+ "swatch-picker"
7139
7257
  ]
7140
7258
  },
7141
7259
  {
7142
- "id": "component:ds-shell-mobile-section-nav",
7143
- "tag": "ds-shell-mobile-section-nav",
7144
- "name": "shell-mobile-section-nav",
7145
- "title": "ShellMobileSectionNav",
7146
- "summary": "Horizontally scrollable mobile route navigation corresponding to the active area's desktop BarNav.",
7260
+ "id": "component:ds-shell-gradient-swatch",
7261
+ "tag": "ds-shell-gradient-swatch",
7262
+ "name": "shell-gradient-swatch",
7263
+ "title": "ShellGradientSwatch",
7264
+ "summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
7147
7265
  "intentStatus": "complete",
7148
7266
  "intent": {
7149
- "audience": "specialized",
7150
- "status": "experimental",
7151
- "summary": "Horizontally scrollable mobile route navigation corresponding to the active area's desktop BarNav.",
7267
+ "audience": "internal",
7268
+ "status": "deprecated",
7269
+ "replacedBy": "component:ds-swatch-picker",
7270
+ "replacementReason": "SwatchPicker renders its option buttons internally so an individually published radio swatch is no longer needed.",
7271
+ "summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
7152
7272
  "useWhen": [
7153
- "ShellApp is rendering the below-768px routed workspace and the active area has peer route sections."
7273
+ "Maintaining or extending ShellGradientPicker inside CompoMo."
7154
7274
  ],
7155
7275
  "avoidWhen": [
7156
- "Choices switch local content without navigation; use TabGroup.",
7157
- "Rendering the desktop or tablet secondary navigation; use BarNav."
7276
+ "Building application UI directly; use ShellGradientPicker instead.",
7277
+ "Selecting semantic, brand, chart, page, or arbitrary gradient colors.",
7278
+ "Creating a partial or custom set of shell gradient choices."
7158
7279
  ],
7159
7280
  "alternatives": [
7160
7281
  {
7161
- "when": "The choices switch local content without changing routes.",
7162
- "component": "component:ds-tab-group",
7163
- "reason": "TabGroup owns local view selection."
7282
+ "when": "An application needs the supported global shell appearance control.",
7283
+ "component": "component:ds-swatch-picker",
7284
+ "reason": "SwatchPicker provides the complete radio-group semantics, keyboard behavior, generic previews, and selection event."
7164
7285
  }
7165
7286
  ],
7166
7287
  "commonlyComposedWith": [
7167
- "component:ds-shell-app",
7168
- "component:ds-shell-mobile-bar",
7169
- "component:ds-bar-nav"
7170
- ],
7171
- "patterns": [
7172
- "pattern:application-shell"
7288
+ "component:ds-swatch-picker"
7173
7289
  ],
7174
7290
  "accessibility": [
7175
- "The row is a named navigation landmark and the selected section exposes aria-current.",
7176
- "Disabled route sections remain visible but cannot emit navigation intent."
7291
+ "Keep radio semantics, aria-checked state, and a preset-specific accessible name on the internal button.",
7292
+ "Let ShellGradientPicker manage the roving tab stop and group keyboard navigation.",
7293
+ "Do not expose an unlabeled color-only choice."
7177
7294
  ],
7178
7295
  "states": [
7179
- "The host router owns the current URL and handles dsTabChange.",
7180
- "Detail routes that do not match a section show the active-area heading."
7296
+ "Preset determines the token-based preview; selected determines radio state and selected visuals.",
7297
+ "The selected swatch owns the radio group's single tab stop while ShellGradientPicker coordinates selection and focus movement.",
7298
+ "isInactive disables interaction but does not remove the accessible name."
7181
7299
  ],
7182
7300
  "responsiveBehavior": [
7183
- "The row scrolls horizontally without wrapping and centers the selected section when selection changes."
7301
+ "Preserve the fixed compact swatch geometry and let ShellGradientPicker own layout."
7184
7302
  ],
7185
7303
  "frameworkCaveats": {
7186
7304
  "customElements": [
7187
- "Assign tabs as a JavaScript property and update currentUrl and basePath with router state."
7305
+ "Do not instantiate this internal primitive in consuming applications."
7188
7306
  ],
7189
7307
  "react": [
7190
- "Pass the same BarNavTab array used by the desktop BarNav through the generated React wrapper."
7308
+ "Use DsShellGradientPicker rather than the generated swatch wrapper."
7191
7309
  ],
7192
7310
  "angular": [
7193
- "Import the generated standalone adapter and bind tabs as a property."
7311
+ "Use DsShellGradientPicker rather than importing DsShellGradientSwatch."
7194
7312
  ]
7195
7313
  },
7196
7314
  "references": [
7197
7315
  {
7198
- "label": "Storybook",
7199
- "path": "src/wc/components/ShellMobileSectionNav/ShellMobileSectionNav.stories.ts"
7316
+ "label": "Parent picker",
7317
+ "path": "src/wc/components/ShellGradientPicker/ShellGradientPicker.tsx"
7200
7318
  }
7201
7319
  ]
7202
7320
  },
7203
7321
  "api": {
7204
7322
  "props": {
7205
- "basePath": {
7206
- "type": "string",
7207
- "required": false
7208
- },
7209
- "currentUrl": {
7210
- "type": "string",
7211
- "required": false
7212
- },
7213
- "heading": {
7214
- "type": "string | undefined",
7215
- "required": false
7216
- },
7217
- "navigationLabel": {
7218
- "type": "string",
7323
+ "ariaLabel": {
7324
+ "type": "string | null",
7219
7325
  "required": false
7220
7326
  },
7221
- "tabs": {
7222
- "type": "BarNavTab[]",
7327
+ "isInactive": {
7328
+ "type": "boolean",
7223
7329
  "required": false
7224
7330
  },
7225
- "tabsJson": {
7226
- "type": "string",
7331
+ "preset": {
7332
+ "type": "ShellGradientPreset",
7227
7333
  "required": false
7228
7334
  },
7229
- "value": {
7230
- "type": "string",
7335
+ "selected": {
7336
+ "type": "boolean",
7231
7337
  "required": false
7232
7338
  }
7233
7339
  },
7234
7340
  "events": [
7235
7341
  {
7236
- "name": "dsTabChange",
7237
- "detail": "string"
7342
+ "name": "dsSelect",
7343
+ "detail": "ShellGradientPreset"
7238
7344
  }
7239
7345
  ],
7240
7346
  "slots": []
7241
7347
  },
7242
7348
  "exports": {
7243
- "customElement": "ds-shell-mobile-section-nav",
7244
- "react": "DsShellMobileSectionNav",
7245
- "angular": "DsShellMobileSectionNav"
7349
+ "customElement": "ds-shell-gradient-swatch",
7350
+ "react": "DsShellGradientSwatch",
7351
+ "angular": "DsShellGradientSwatch"
7246
7352
  },
7247
7353
  "dependencies": [
7248
7354
  "@ds-mo/ui",
7249
7355
  "@ds-mo/tokens"
7250
7356
  ],
7251
- "componentDependencies": [
7252
- "text"
7253
- ]
7357
+ "componentDependencies": []
7254
7358
  },
7255
7359
  {
7256
7360
  "id": "component:ds-shell-page",
@@ -7297,7 +7401,7 @@
7297
7401
  ],
7298
7402
  "accessibility": [
7299
7403
  "ShellPage exposes the routed page as the main landmark; render exactly one active ShellPage inside ShellApp.",
7300
- "Provide exactly one BarTitle or BarWorkflow through the header slot so the page has one h1.",
7404
+ "Provide one BarTitle or BarWorkflow through the desktop header slot and one MobileHeader through mobile-header when the page participates in the mobile shell.",
7301
7405
  "Keep loading, empty, validation, error, progress, success, and failure communication in the default product-content slot.",
7302
7406
  "Responsive variant changes preserve the same heading, controls, accessible names, and keyboard focus targets."
7303
7407
  ],
@@ -7306,12 +7410,13 @@
7306
7410
  "headerPresentation=auto selects the matching header variant from headerCapacity and scroll position.",
7307
7411
  "expanded, compact, and constrained are explicit overrides for exceptional layouts and deterministic examples.",
7308
7412
  "contentInset=default supplies standard page gutters; none permits maps, canvases, and other full-bleed content.",
7309
- "The required header slot accepts one BarTitle or BarWorkflow. The default slot owns router output and all page product content."
7413
+ "The header slot accepts one desktop BarTitle or BarWorkflow; mobile-header accepts the corresponding MobileHeader presentation. The default slot owns router output and all page product content."
7310
7414
  ],
7311
7415
  "responsiveBehavior": [
7312
7416
  "The owning application shell resolves viewport and persistent-chrome state into the explicit headerCapacity prop; ShellPage never guesses the cause of reduced width from its own rendered size.",
7313
7417
  "Roomy capacity expands at the top and compacts after scroll; compact capacity stays compact; constrained capacity uses the constrained action layout.",
7314
7418
  "A ShellPage-managed BarTitle remains concealed until headerCapacity is available and its rendered variant matches the resolved presentation, preventing a default-variant flash during route activation.",
7419
+ "responsiveMode=mobile hides and inerts the desktop header, exposes mobile-header, and disables desktop scroll-compaction geometry.",
7315
7420
  "Update headerCapacity synchronously with shell layout state so opening tools or crossing application breakpoints cannot briefly render the wrong presentation.",
7316
7421
  "On roomy pages, the expanded header scrolls upward until its title and action row reaches the compact row position, then snaps variants without moving that shared visual anchor.",
7317
7422
  "Scroll compaction preserves the expanded page flow offset so content never jumps beneath the sticky header.",
@@ -7320,15 +7425,15 @@
7320
7425
  ],
7321
7426
  "frameworkCaveats": {
7322
7427
  "customElements": [
7323
- "Import ShellPage with BarTitle or BarWorkflow, place one header in slot=header, and render route content as default children.",
7428
+ "Import ShellPage with BarTitle or BarWorkflow in slot=header and MobileHeader in slot=mobile-header, then render route content as default children.",
7324
7429
  "Do not set BarTitle.variant while ShellPage owns headerPresentation."
7325
7430
  ],
7326
7431
  "react": [
7327
- "Render DsBarTitle or DsBarWorkflow with slot=header inside DsShellPage and keep routed content as the remaining children.",
7432
+ "Render the desktop header with slot=header and DsMobileHeader with slot=mobile-header inside DsShellPage.",
7328
7433
  "Use contentInset none only for deliberately full-bleed page products."
7329
7434
  ],
7330
7435
  "angular": [
7331
- "Import the generated standalone DsShellPage adapter with DsBarTitle or DsBarWorkflow, preserve slot=header, and place router-outlet in the ShellPage default slot.",
7436
+ "Import the generated standalone DsShellPage adapter with the desktop header and DsMobileHeader, preserve both header slots, and place router-outlet in the default slot.",
7332
7437
  "Do not add another overflow auto wrapper around the routed page."
7333
7438
  ]
7334
7439
  },
@@ -7360,6 +7465,10 @@
7360
7465
  "headerPresentation": {
7361
7466
  "type": "ShellPageHeaderPresentation",
7362
7467
  "required": false
7468
+ },
7469
+ "responsiveMode": {
7470
+ "type": "ShellResponsiveMode",
7471
+ "required": false
7363
7472
  }
7364
7473
  },
7365
7474
  "events": [],
@@ -7404,7 +7513,9 @@
7404
7513
  "commonlyComposedWith": [
7405
7514
  "component:ds-shell-app",
7406
7515
  "component:ds-panel-tool-header",
7407
- "component:ds-shell-mobile-bar"
7516
+ "component:ds-mobile-header",
7517
+ "component:ds-mobile-section-switcher",
7518
+ "component:ds-mobile-bar-nav"
7408
7519
  ],
7409
7520
  "patterns": [
7410
7521
  "pattern:application-shell"
@@ -7412,7 +7523,7 @@
7412
7523
  "accessibility": [
7413
7524
  "Only the active mobile tool view participates in focus or the accessibility tree.",
7414
7525
  "Header Back and application-owned header actions preserve the PanelTools event contract.",
7415
- "Inbox uses TabGroup semantics for Messages, Stacks, and Activity."
7526
+ "Inbox uses the MobileSectionSwitcher popup trigger for Messages, Stacks, and Activity and never relies on a gesture-only interaction."
7416
7527
  ],
7417
7528
  "states": [
7418
7529
  "The application owns open and activeTool and replaces headers when tool depth changes.",
@@ -7421,7 +7532,7 @@
7421
7532
  ],
7422
7533
  "responsiveBehavior": [
7423
7534
  "Desktop and tablet compose PanelTools-compatible rail and drawer chrome.",
7424
- "Mobile renders the active tool across the shell stage and groups available inbox tools in a segmented control."
7535
+ "Mobile renders one centered MobileHeader for every tool and presents Messages, Stacks, and Activity directly as peer section titles without an additional Inbox heading."
7425
7536
  ],
7426
7537
  "frameworkCaveats": {
7427
7538
  "customElements": [
@@ -7534,9 +7645,10 @@
7534
7645
  "@ds-mo/tokens"
7535
7646
  ],
7536
7647
  "componentDependencies": [
7537
- "panel-tool-header",
7648
+ "button-unfilled",
7649
+ "mobile-header",
7538
7650
  "panel-tools",
7539
- "tab-group"
7651
+ "tooltip"
7540
7652
  ]
7541
7653
  },
7542
7654
  {