@ds-mo/ui 11.1.0 → 12.1.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.
- package/README.md +1 -1
- package/dist/.build-stamp +1 -1
- package/dist/agent-patterns.json +150 -9
- package/dist/agent.json +488 -174
- package/dist/angular/ds-bar-title.d.ts +28 -0
- package/dist/angular/ds-bar-title.js +48 -0
- package/dist/angular/ds-panel-nav.d.ts +1 -1
- package/dist/angular/{ds-app-shell.d.ts → ds-shell-app.d.ts} +5 -5
- package/dist/angular/{ds-app-shell.js → ds-shell-app.js} +10 -10
- package/dist/angular/ds-shell-page.d.ts +12 -0
- package/dist/angular/ds-shell-page.js +38 -0
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +3 -1
- package/dist/angular/proxies.d.ts +3 -1
- package/dist/angular/proxies.js +3 -1
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-response.js +1 -1
- package/dist/components/ds-agent-response.js.map +1 -1
- package/dist/components/ds-agent-source-list.js +1 -1
- package/dist/components/ds-agent-tool-call.js +1 -1
- package/dist/components/ds-attachment-list.js +1 -1
- package/dist/components/ds-avatar.js +1 -1
- package/dist/components/ds-avatar.js.map +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-nav.js.map +1 -1
- package/dist/components/{ds-app-shell.d.ts → ds-bar-title.d.ts} +4 -4
- package/dist/components/ds-bar-title.js +2 -0
- package/dist/components/ds-bar-title.js.map +1 -0
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-data-viz-donut.js +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-shell-data-viz.js +1 -1
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-item.js.map +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-conversation-list.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-composer.js.map +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message-scroller.js.map +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-modal.js.map +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js.map +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tool-search.js.map +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-panel-tools.js.map +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-select-multi.js +1 -1
- package/dist/components/ds-select-multi.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-app.d.ts +11 -0
- package/dist/components/ds-shell-app.js +2 -0
- package/dist/components/ds-shell-app.js.map +1 -0
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-picker.js.map +1 -1
- package/dist/components/ds-shell-gradient-swatch.js +1 -1
- package/dist/components/ds-shell-page.d.ts +11 -0
- package/dist/components/ds-shell-page.js +2 -0
- package/dist/components/ds-shell-page.js.map +1 -0
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-DJ78wdNv.js → p-B9jvSGid.js} +2 -2
- package/dist/components/{p-DuNZGFkV.js → p-BAfG3M8z.js} +2 -2
- package/dist/components/p-BAfG3M8z.js.map +1 -0
- package/dist/components/{p-Dh4q5TSS.js → p-BfEjWe8U.js} +2 -2
- package/dist/components/{p-CZZYGqKz.js → p-Bs6SS34m.js} +2 -2
- package/dist/components/p-BzsITTZa.js +2 -0
- package/dist/components/p-BzsITTZa.js.map +1 -0
- package/dist/components/p-C3Zfn7hz.js +2 -0
- package/dist/components/p-C3Zfn7hz.js.map +1 -0
- package/dist/components/{p-bNpFhP5L.js → p-CR7yMitN.js} +2 -2
- package/dist/components/p-CTV_QWC5.js +2 -0
- package/dist/components/p-CTV_QWC5.js.map +1 -0
- package/dist/components/p-CUik7PCi.js +2 -0
- package/dist/components/p-CUik7PCi.js.map +1 -0
- package/dist/components/{p-BKhG2xrW.js → p-D2x17ei-.js} +1 -1
- package/dist/components/{p-BKhG2xrW.js.map → p-D2x17ei-.js.map} +1 -1
- package/dist/components/{p-CjP8sYlo.js → p-DABj3qTX.js} +2 -2
- package/dist/components/p-DfIch2Dk.js +2 -0
- package/dist/components/{p-BCCt2eT_.js.map → p-DfIch2Dk.js.map} +1 -1
- package/dist/components/{p-Bet_UjML.js → p-Dfxnxx7L.js} +2 -2
- package/dist/components/{p-CrwU83-g.js → p-Dg3xLna0.js} +2 -2
- package/dist/components/{p-BaZRP4Oo.js → p-DpyTrZa2.js} +2 -2
- package/dist/components/{p-P_4vE1ub.js → p-Dqwcw1-m.js} +2 -2
- package/dist/components/{p-CyoHRqy6.js → p-DszI94sZ.js} +2 -2
- package/dist/components/{p-DrDHC7V6.js → p-DxeHimqk.js} +2 -2
- package/dist/components/{p-DrDHC7V6.js.map → p-DxeHimqk.js.map} +1 -1
- package/dist/components/p-Dy3Skua8.js +2 -0
- package/dist/components/{p-B_qVPsEU.js.map → p-Dy3Skua8.js.map} +1 -1
- package/dist/components/{p-CLn7QnE0.js → p-Dy_sZ-dI.js} +2 -2
- package/dist/components/{p-BEWtqFX7.js → p-LFGbdi7Y.js} +2 -2
- package/dist/components/{p-0kEg-Z4f.js → p-liMPkhUP.js} +2 -2
- package/dist/components/{p-CPPAndX2.js → p-tDXHTAJh.js} +2 -2
- package/dist/components/{p-DTqCBjUj.js → p-webARv8d.js} +2 -2
- package/dist/docs/components.json +1122 -330
- package/dist/lib/shell/chrome-transition.d.ts +1 -1
- package/dist/lib/shell/index.js +1 -1
- package/dist/lib/shell/index.js.map +1 -1
- package/dist/lib/shell/shell-gradient.d.ts +2 -2
- package/dist/mcp-data/registry/agent-activity.json +1 -1
- package/dist/mcp-data/registry/agent-response.json +1 -1
- package/dist/mcp-data/registry/agent-source-list.json +1 -1
- package/dist/mcp-data/registry/agent-tool-call.json +1 -1
- package/dist/mcp-data/registry/attachment-list.json +1 -1
- package/dist/mcp-data/registry/avatar.json +2 -2
- package/dist/mcp-data/registry/badge.json +5 -5
- package/dist/mcp-data/registry/bar-nav.json +9 -9
- package/dist/mcp-data/registry/bar-title.json +451 -0
- package/dist/mcp-data/registry/button-filled.json +1 -1
- package/dist/mcp-data/registry/button-unfilled.json +1 -1
- package/dist/mcp-data/registry/card-data-viz-donut.json +1 -1
- package/dist/mcp-data/registry/card-setting.json +1 -1
- package/dist/mcp-data/registry/card-shell-data-viz.json +1 -1
- package/dist/mcp-data/registry/chart-bar.json +1 -1
- package/dist/mcp-data/registry/chart-donut.json +1 -1
- package/dist/mcp-data/registry/chart-legend.json +1 -1
- package/dist/mcp-data/registry/chart-line.json +1 -1
- package/dist/mcp-data/registry/checkbox.json +1 -1
- package/dist/mcp-data/registry/chip.json +1 -1
- package/dist/mcp-data/registry/code-block.json +5 -4
- package/dist/mcp-data/registry/conversation-list-item.json +1 -1
- package/dist/mcp-data/registry/conversation-list-section.json +1 -1
- package/dist/mcp-data/registry/conversation-list.json +1 -1
- package/dist/mcp-data/registry/divider.json +1 -1
- package/dist/mcp-data/registry/empty-state.json +1 -1
- package/dist/mcp-data/registry/field.json +1 -1
- package/dist/mcp-data/registry/icon.json +2 -2
- package/dist/mcp-data/registry/input.json +1 -1
- package/dist/mcp-data/registry/loader.json +1 -1
- package/dist/mcp-data/registry/markdown.json +1 -1
- package/dist/mcp-data/registry/menu.json +2 -2
- package/dist/mcp-data/registry/message-bubble.json +1 -1
- package/dist/mcp-data/registry/message-composer.json +8 -6
- package/dist/mcp-data/registry/message-scroller.json +5 -4
- package/dist/mcp-data/registry/message.json +1 -1
- package/dist/mcp-data/registry/modal.json +6 -5
- package/dist/mcp-data/registry/panel-nav.json +9 -9
- package/dist/mcp-data/registry/panel-sub-nav.json +2 -2
- package/dist/mcp-data/registry/panel-tool-header.json +5 -4
- package/dist/mcp-data/registry/panel-tool-search.json +7 -6
- package/dist/mcp-data/registry/panel-tools.json +14 -14
- package/dist/mcp-data/registry/radio.json +1 -1
- package/dist/mcp-data/registry/registry.json +497 -177
- package/dist/mcp-data/registry/select-multi.json +3 -2
- package/dist/mcp-data/registry/select.json +3 -2
- package/dist/mcp-data/registry/shell-app.json +213 -0
- package/dist/mcp-data/registry/shell-gradient-picker.json +9 -9
- package/dist/mcp-data/registry/shell-gradient-swatch.json +3 -3
- package/dist/mcp-data/registry/shell-page.json +200 -0
- package/dist/mcp-data/registry/skeleton.json +1 -1
- package/dist/mcp-data/registry/slider.json +1 -1
- package/dist/mcp-data/registry/swatch-picker.json +2 -2
- package/dist/mcp-data/registry/switch.json +1 -1
- package/dist/mcp-data/registry/tab-group.json +1 -1
- package/dist/mcp-data/registry/tag.json +1 -1
- package/dist/mcp-data/registry/text.json +1 -1
- package/dist/mcp-data/registry/toast.json +1 -1
- package/dist/mcp-data/registry/tooltip-data-viz.json +1 -1
- package/dist/mcp-data/registry/tooltip.json +1 -1
- package/dist/mcp-data/registry/typing-indicator.json +1 -1
- package/dist/react/components.d.ts +3 -1
- package/dist/react/components.js +3 -1
- package/dist/react/ds-bar-title.d.ts +14 -0
- package/dist/react/ds-bar-title.js +16 -0
- package/dist/react/{ds-app-shell.d.ts → ds-shell-app.d.ts} +3 -3
- package/dist/react/ds-shell-app.js +12 -0
- package/dist/react/ds-shell-page.d.ts +9 -0
- package/dist/react/ds-shell-page.js +12 -0
- package/dist/types/components/Badge/Badge.d.ts +1 -1
- package/dist/types/components/BarTitle/BarTitle.d.ts +76 -0
- package/dist/types/components/BarTitle/bar-title-types.d.ts +30 -0
- package/dist/types/components/BarTitle/index.d.ts +2 -0
- package/dist/types/components/Menu/Menu.d.ts +5 -0
- package/dist/types/components/PanelNav/PanelNav.d.ts +1 -1
- package/dist/types/components/{AppShell/AppShell.d.ts → ShellApp/ShellApp.d.ts} +3 -3
- package/dist/types/components/ShellPage/ShellPage.d.ts +42 -0
- package/dist/types/components/ShellPage/index.d.ts +3 -0
- package/dist/types/components/ShellPage/shell-page-responsive.d.ts +12 -0
- package/dist/types/components/ShellPage/shell-page-types.d.ts +5 -0
- package/dist/types/components.d.ts +278 -55
- package/dist/types/shell/chrome-transition.d.ts +1 -1
- package/dist/types/shell/shell-gradient.d.ts +2 -2
- package/dist/types/shell/shell-shortcuts.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/ds-app-shell.js +0 -2
- package/dist/components/ds-app-shell.js.map +0 -1
- package/dist/components/p-BCCt2eT_.js +0 -2
- package/dist/components/p-B_qVPsEU.js +0 -2
- package/dist/components/p-BsnezUUC.js +0 -2
- package/dist/components/p-BsnezUUC.js.map +0 -1
- package/dist/components/p-C1K5QGUZ.js +0 -2
- package/dist/components/p-C1K5QGUZ.js.map +0 -1
- package/dist/components/p-CKaJx0IX.js +0 -2
- package/dist/components/p-CKaJx0IX.js.map +0 -1
- package/dist/components/p-DuNZGFkV.js.map +0 -1
- package/dist/components/p-ZTugT4as.js +0 -2
- package/dist/components/p-ZTugT4as.js.map +0 -1
- package/dist/mcp-data/registry/app-shell.json +0 -210
- package/dist/react/ds-app-shell.js +0 -12
- /package/dist/components/{p-DJ78wdNv.js.map → p-B9jvSGid.js.map} +0 -0
- /package/dist/components/{p-Dh4q5TSS.js.map → p-BfEjWe8U.js.map} +0 -0
- /package/dist/components/{p-CZZYGqKz.js.map → p-Bs6SS34m.js.map} +0 -0
- /package/dist/components/{p-bNpFhP5L.js.map → p-CR7yMitN.js.map} +0 -0
- /package/dist/components/{p-CjP8sYlo.js.map → p-DABj3qTX.js.map} +0 -0
- /package/dist/components/{p-Bet_UjML.js.map → p-Dfxnxx7L.js.map} +0 -0
- /package/dist/components/{p-CrwU83-g.js.map → p-Dg3xLna0.js.map} +0 -0
- /package/dist/components/{p-BaZRP4Oo.js.map → p-DpyTrZa2.js.map} +0 -0
- /package/dist/components/{p-P_4vE1ub.js.map → p-Dqwcw1-m.js.map} +0 -0
- /package/dist/components/{p-CyoHRqy6.js.map → p-DszI94sZ.js.map} +0 -0
- /package/dist/components/{p-CLn7QnE0.js.map → p-Dy_sZ-dI.js.map} +0 -0
- /package/dist/components/{p-BEWtqFX7.js.map → p-LFGbdi7Y.js.map} +0 -0
- /package/dist/components/{p-0kEg-Z4f.js.map → p-liMPkhUP.js.map} +0 -0
- /package/dist/components/{p-CPPAndX2.js.map → p-tDXHTAJh.js.map} +0 -0
- /package/dist/components/{p-DTqCBjUj.js.map → p-webARv8d.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": "
|
|
4
|
+
"packageVersion": "12.1.0",
|
|
5
5
|
"kind": "components",
|
|
6
6
|
"entries": [
|
|
7
7
|
{
|
|
@@ -335,127 +335,6 @@
|
|
|
335
335
|
"text"
|
|
336
336
|
]
|
|
337
337
|
},
|
|
338
|
-
{
|
|
339
|
-
"id": "component:ds-app-shell",
|
|
340
|
-
"tag": "ds-app-shell",
|
|
341
|
-
"name": "app-shell",
|
|
342
|
-
"title": "AppShell",
|
|
343
|
-
"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.",
|
|
344
|
-
"intentStatus": "complete",
|
|
345
|
-
"intent": {
|
|
346
|
-
"audience": "specialized",
|
|
347
|
-
"status": "stable",
|
|
348
|
-
"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.",
|
|
349
|
-
"useWhen": [
|
|
350
|
-
"Building any standard authenticated product or workspace page with CompoMo.",
|
|
351
|
-
"PanelNav, BarNav, PanelTools, page content, shared chrome, responsive behavior, and shell shortcuts must be composed as one application frame.",
|
|
352
|
-
"Future application templates need the supported base-page composition boundary."
|
|
353
|
-
],
|
|
354
|
-
"avoidWhen": [
|
|
355
|
-
"Building authentication, onboarding, public, marketing, print, error, or intentionally focused full-screen experiences that require a different layout.",
|
|
356
|
-
"Another AppShell already exists in the page; applications must render exactly one and must never nest AppShells.",
|
|
357
|
-
"Building content inside an existing AppShell; render the page content rather than another shell."
|
|
358
|
-
],
|
|
359
|
-
"commonlyComposedWith": [
|
|
360
|
-
"component:ds-panel-nav",
|
|
361
|
-
"component:ds-bar-nav",
|
|
362
|
-
"component:ds-panel-tools",
|
|
363
|
-
"component:ds-swatch-picker"
|
|
364
|
-
],
|
|
365
|
-
"patterns": [
|
|
366
|
-
"pattern:application-shell"
|
|
367
|
-
],
|
|
368
|
-
"accessibility": [
|
|
369
|
-
"Keep primary destinations in PanelNav and secondary route sections in BarNav.",
|
|
370
|
-
"Ensure the default content region contains the page's single main landmark.",
|
|
371
|
-
"Keep PanelNav, BarNav, and PanelTools chrome available in the shell's supported desktop and tablet compositions.",
|
|
372
|
-
"Do not override browser keyboard chords when enabling shell shortcuts.",
|
|
373
|
-
"Require Search and Help as the minimum PanelTools actions and provide accessible labels for every tool.",
|
|
374
|
-
"Preserve focus and accessible names across navigation, collapse, overflow, and responsive presentation changes."
|
|
375
|
-
],
|
|
376
|
-
"states": [
|
|
377
|
-
"Render exactly one AppShell as the workspace root and never nest it.",
|
|
378
|
-
"PanelNav, BarNav, and PanelTools are required shell regions; PanelTools contains at least Search and Help even when no additional product tools apply.",
|
|
379
|
-
"The application router owns the current route, authorization filtering, Dashboard or Settings context, destination collections, section collections, and localized content labels.",
|
|
380
|
-
"AppShell propagates navStyle and coordinates layout, gradient alignment, transitions, metrics, shortcuts, and responsive composition.",
|
|
381
|
-
"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.",
|
|
382
|
-
"The application owns gradient preference persistence, cross-tab synchronization, and server or account precedence; AppShell owns rendering the resolved preset across authenticated routes.",
|
|
383
|
-
"Dashboard represents day-to-day operational work while Settings represents administrative and configuration work; route state selects the context.",
|
|
384
|
-
"Update PanelNav groups, BarNav tabs and heading, navStyle, basePath, and currentUrl atomically from one resolved route state.",
|
|
385
|
-
"BarNav remains present: it shows route-section tabs when available and the active PanelNav destination label as heading otherwise.",
|
|
386
|
-
"The application filters unauthorized destinations, sections, and tools before passing them into shell components."
|
|
387
|
-
],
|
|
388
|
-
"responsiveBehavior": [
|
|
389
|
-
"AppShell owns the fixed system breakpoints and resolves desktop at 1200px and wider, tablet from 768px through 1199px, and mobile below 768px.",
|
|
390
|
-
"On desktop, PanelNav defaults expanded, permits user collapse or expansion, and respects the locally persisted desktop preference.",
|
|
391
|
-
"On tablet, AppShell keeps PanelNav permanently collapsed and prevents user expansion without overwriting the desktop preference.",
|
|
392
|
-
"On mobile, AppShell remains the page root but replaces PanelNav and desktop navigation composition with a future dedicated mobile navigation design.",
|
|
393
|
-
"Keep PanelNav width, BarNav height, PanelTools chrome, and main-content origin stable except during intentional responsive or collapse transitions.",
|
|
394
|
-
"The current runtime does not yet implement the complete desktop, tablet, and mobile composition contract; consuming applications must enforce missing breakpoint behavior until AppShell provides it."
|
|
395
|
-
],
|
|
396
|
-
"frameworkCaveats": {
|
|
397
|
-
"customElements": [
|
|
398
|
-
"Assign complex navigation and tool collections as JavaScript properties on the slotted components.",
|
|
399
|
-
"Stamp route-derived nav-style before components connect when deterministic first paint is required."
|
|
400
|
-
],
|
|
401
|
-
"react": [
|
|
402
|
-
"Use generated wrappers and preserve native slot names for PanelNav, BarNav, PanelTools, and main content.",
|
|
403
|
-
"Resolve all shell inputs from one router state before rendering the composition."
|
|
404
|
-
],
|
|
405
|
-
"angular": [
|
|
406
|
-
"Use generated standalone adapters and preserve slot attributes in templates.",
|
|
407
|
-
"Bind complex inputs as properties and update navigation inputs atomically from one resolved router state.",
|
|
408
|
-
"Bind both nav-style attributes and properties when deterministic first paint is required."
|
|
409
|
-
]
|
|
410
|
-
},
|
|
411
|
-
"references": [
|
|
412
|
-
{
|
|
413
|
-
"label": "Component guide",
|
|
414
|
-
"path": "src/wc/components/AppShell/AppShell.mdx"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"label": "Executable Storybook composition",
|
|
418
|
-
"path": "src/wc/components/AppShell/AppShell.stories.ts"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"label": "Framework integration",
|
|
422
|
-
"path": "docs/framework-integration.md"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"label": "Application shell contract",
|
|
426
|
-
"path": "agent/patterns/application-shell/pattern.agent.json"
|
|
427
|
-
}
|
|
428
|
-
]
|
|
429
|
-
},
|
|
430
|
-
"api": {
|
|
431
|
-
"props": {
|
|
432
|
-
"gradientPreset": {
|
|
433
|
-
"type": "ShellGradientPreset",
|
|
434
|
-
"required": false
|
|
435
|
-
},
|
|
436
|
-
"navStyle": {
|
|
437
|
-
"type": "NavChromeStyle",
|
|
438
|
-
"required": false
|
|
439
|
-
},
|
|
440
|
-
"shortcutsEnabled": {
|
|
441
|
-
"type": "boolean",
|
|
442
|
-
"required": false
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
"events": [],
|
|
446
|
-
"slots": []
|
|
447
|
-
},
|
|
448
|
-
"exports": {
|
|
449
|
-
"customElement": "ds-app-shell",
|
|
450
|
-
"react": "DsAppShell",
|
|
451
|
-
"angular": "DsAppShell"
|
|
452
|
-
},
|
|
453
|
-
"dependencies": [
|
|
454
|
-
"@ds-mo/ui",
|
|
455
|
-
"@ds-mo/tokens"
|
|
456
|
-
],
|
|
457
|
-
"componentDependencies": []
|
|
458
|
-
},
|
|
459
338
|
{
|
|
460
339
|
"id": "component:ds-attachment-list",
|
|
461
340
|
"tag": "ds-attachment-list",
|
|
@@ -649,7 +528,7 @@
|
|
|
649
528
|
"Badge keeps one brand treatment; semantic severity belongs to another component or adjacent content.",
|
|
650
529
|
"Use the ring only when Badge overlaps an icon or other content. Disable it in a reserved safe-area slot.",
|
|
651
530
|
"When enabled, the ring matches the immediate backing surface for both variants. Use a direct ring override only for a component-local fill that no surface preset represents.",
|
|
652
|
-
"Enabled shell gradient rings align automatically inside active
|
|
531
|
+
"Enabled shell gradient rings align automatically inside active ShellApp gradient chrome and may be explicitly enabled or disabled when composition requires it."
|
|
653
532
|
],
|
|
654
533
|
"responsiveBehavior": [
|
|
655
534
|
"The owning control or layout positions Badge and decides whether notification indicators remain visible, condense, or move at responsive breakpoints.",
|
|
@@ -729,14 +608,14 @@
|
|
|
729
608
|
"tag": "ds-bar-nav",
|
|
730
609
|
"name": "bar-nav",
|
|
731
610
|
"title": "BarNav",
|
|
732
|
-
"summary": "Required secondary route navigation within
|
|
611
|
+
"summary": "Required secondary route navigation within ShellApp, showing peer sections of the active PanelNav destination or its destination label when no section tabs apply.",
|
|
733
612
|
"intentStatus": "complete",
|
|
734
613
|
"intent": {
|
|
735
614
|
"audience": "specialized",
|
|
736
615
|
"status": "stable",
|
|
737
|
-
"summary": "Required secondary route navigation within
|
|
616
|
+
"summary": "Required secondary route navigation within ShellApp, showing peer sections of the active PanelNav destination or its destination label when no section tabs apply.",
|
|
738
617
|
"useWhen": [
|
|
739
|
-
"Rendering the required secondary navigation region inside
|
|
618
|
+
"Rendering the required secondary navigation region inside ShellApp.",
|
|
740
619
|
"The active primary destination has peer route sections that users can navigate between.",
|
|
741
620
|
"The active primary destination has no route sections or is showing a detail route and its destination label must preserve the BarNav region."
|
|
742
621
|
],
|
|
@@ -745,7 +624,7 @@
|
|
|
745
624
|
"A third navigation level is needed; BarNav is never tertiary navigation.",
|
|
746
625
|
"The choices switch local content without navigating routes; use TabGroup instead.",
|
|
747
626
|
"Document-style tabs need reordering, pinning, closing, or user customization.",
|
|
748
|
-
"BarNav would be mounted outside the application's single
|
|
627
|
+
"BarNav would be mounted outside the application's single ShellApp."
|
|
749
628
|
],
|
|
750
629
|
"alternatives": [
|
|
751
630
|
{
|
|
@@ -765,7 +644,7 @@
|
|
|
765
644
|
}
|
|
766
645
|
],
|
|
767
646
|
"commonlyComposedWith": [
|
|
768
|
-
"component:ds-app
|
|
647
|
+
"component:ds-shell-app",
|
|
769
648
|
"component:ds-panel-nav",
|
|
770
649
|
"component:ds-panel-tools"
|
|
771
650
|
],
|
|
@@ -794,7 +673,7 @@
|
|
|
794
673
|
"Keep the BarNav region present so shell height and main-content origin remain stable across routes.",
|
|
795
674
|
"Allow the built-in overflow behavior to move trailing sections into Menu when the available width is insufficient.",
|
|
796
675
|
"The active section does not need to remain visible in the tab row when it moves into overflow because page content supplies the page title.",
|
|
797
|
-
"Do not infer mobile navigation behavior from desktop BarNav; future
|
|
676
|
+
"Do not infer mobile navigation behavior from desktop BarNav; future ShellApp mobile composition may use a different navigation design."
|
|
798
677
|
],
|
|
799
678
|
"frameworkCaveats": {
|
|
800
679
|
"customElements": [
|
|
@@ -883,6 +762,193 @@
|
|
|
883
762
|
"text"
|
|
884
763
|
]
|
|
885
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"id": "component:ds-bar-title",
|
|
767
|
+
"tag": "ds-bar-title",
|
|
768
|
+
"name": "bar-title",
|
|
769
|
+
"title": "BarTitle",
|
|
770
|
+
"summary": "Page-level title chrome with default and create/edit editor modes, optional route navigation, supporting description, inline active-section menu, one primary action, grouped overflow actions, and explicit expanded, compact, or constrained variants.",
|
|
771
|
+
"intentStatus": "complete",
|
|
772
|
+
"intent": {
|
|
773
|
+
"audience": "general",
|
|
774
|
+
"status": "stable",
|
|
775
|
+
"summary": "Page-level title chrome with default and create/edit editor modes, optional route navigation, supporting description, inline active-section menu, one primary action, grouped overflow actions, and explicit expanded, compact, or constrained variants.",
|
|
776
|
+
"useWhen": [
|
|
777
|
+
"A top-level page needs one h1 above its content.",
|
|
778
|
+
"A list or detail page has multiple route-level sections that belong in the inline active-section menu.",
|
|
779
|
+
"A detail page needs a page-level Back action, or a create/edit page needs editor-mode Exit and Save chrome.",
|
|
780
|
+
"A page needs one primary action plus optional secondary or destructive overflow commands."
|
|
781
|
+
],
|
|
782
|
+
"avoidWhen": [
|
|
783
|
+
"The title belongs to a PanelTools drawer or fullscreen pane; use PanelToolHeader through PanelTools instead.",
|
|
784
|
+
"The choices are primary application destinations or BarNav destinations rather than sections within the current page.",
|
|
785
|
+
"The heading belongs to a card, modal, or other bounded region rather than the page.",
|
|
786
|
+
"Local panels inside page content should remain directly selectable; use TabGroup instead.",
|
|
787
|
+
"Automatic sticky or responsive page orchestration is required; compose BarTitle in ShellPage rather than implementing it in the header."
|
|
788
|
+
],
|
|
789
|
+
"alternatives": [
|
|
790
|
+
{
|
|
791
|
+
"when": "The header belongs to a PanelTools product view.",
|
|
792
|
+
"component": "component:ds-panel-tool-header",
|
|
793
|
+
"reason": "PanelToolHeader owns pane-level Back and actions without creating page chrome."
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"when": "A small set of inner-page panels should remain visible as tabs.",
|
|
797
|
+
"component": "component:ds-tab-group",
|
|
798
|
+
"reason": "TabGroup is the local content-view control rather than route-level page title chrome."
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"commonlyComposedWith": [
|
|
802
|
+
"component:ds-shell-page",
|
|
803
|
+
"component:ds-button-filled",
|
|
804
|
+
"component:ds-button-unfilled",
|
|
805
|
+
"component:ds-menu",
|
|
806
|
+
"component:ds-text"
|
|
807
|
+
],
|
|
808
|
+
"patterns": [
|
|
809
|
+
"pattern:shell-page"
|
|
810
|
+
],
|
|
811
|
+
"accessibility": [
|
|
812
|
+
"Provide one concise heading; BarTitle renders exactly one h1 and changes only its visual recipe between variants.",
|
|
813
|
+
"Give Back a destination-specific accessible name such as Back to Drivers, provide the concise parent label such as Drivers for the expanded breadcrumb, and handle dsBack in the route owner.",
|
|
814
|
+
"Keep value synchronized with the current child route; dsSectionChange returns the selected section id.",
|
|
815
|
+
"Section and overflow triggers expose menu relationships and restore focus after selection or dismissal.",
|
|
816
|
+
"Use one filled primary action in the page decision area and mark destructive overflow actions explicitly."
|
|
817
|
+
],
|
|
818
|
+
"states": [
|
|
819
|
+
"Omitting Back, sections, primaryAction, and actions produces the top-level title-only header.",
|
|
820
|
+
"Two or more selectable sections add the inline section trigger; one section does not render a redundant menu.",
|
|
821
|
+
"Dividers in sections or actions create separate Menu groups without becoming selectable rows.",
|
|
822
|
+
"expanded renders the larger heading, optional description, inset divider, and an xs icon-label Back breadcrumb in the top inset. The title and right-side actions share one top alignment whether Back is present, while the description remains in the left title column; compact renders 48px chrome with inline Back; constrained uses compact chrome and moves an auto-collapse primary action into overflow.",
|
|
823
|
+
"primaryAction collapse defaults to auto. Use never for exceptional default-mode actions whose hierarchy must remain visible in constrained layouts.",
|
|
824
|
+
"editor mode renders bold-brand chrome without the bottom boundary, treats the leading dsBack action as Exit, and keeps the primary Save action visible. Expanded uses Cross plus the Exit label and a label Save button; compact and constrained use Cross and Check icon buttons."
|
|
825
|
+
],
|
|
826
|
+
"responsiveBehavior": [
|
|
827
|
+
"BarTitle does not observe viewport, shell, scroll, or container state. Its owner selects an explicit variant.",
|
|
828
|
+
"ShellPage is the standard owner for automatic expanded, compact, and constrained selection.",
|
|
829
|
+
"Compact titles use the shared md control inset so top-level headings align with BarNav and inline Back geometry aligns with PanelToolHeader. Long headings and section labels truncate independently while Back and action controls retain complete hit targets and accessible names.",
|
|
830
|
+
"A never-collapse default-mode primary action remains visible in constrained mode; the title and section label yield space first.",
|
|
831
|
+
"Editor mode keeps Exit and Save available in every presentation. Supply a concise Exit accessible name through backAriaLabel, use backLabel for the expanded Exit label, and provide primaryAction so dsAction can identify Save."
|
|
832
|
+
],
|
|
833
|
+
"frameworkCaveats": {
|
|
834
|
+
"customElements": [
|
|
835
|
+
"Assign sections, primaryAction, and actions as JavaScript properties and replace array or object identities when controlled state changes.",
|
|
836
|
+
"Handle dsBack in the router owner, update value after dsSectionChange, and execute product commands from dsAction."
|
|
837
|
+
],
|
|
838
|
+
"react": [
|
|
839
|
+
"Pass arrays and objects directly to DsBarTitle and keep value controlled from route state.",
|
|
840
|
+
"Place DsBarTitle in DsShellPage with slot=header when automatic page behavior is required."
|
|
841
|
+
],
|
|
842
|
+
"angular": [
|
|
843
|
+
"Bind complex values on the standalone DsBarTitle adapter and handle the three intent events in the route shell.",
|
|
844
|
+
"Place ds-bar-title in ds-shell-page with slot=header; do not render router-outlet inside BarTitle."
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
"references": [
|
|
848
|
+
{
|
|
849
|
+
"label": "Explicit variant examples",
|
|
850
|
+
"path": "src/wc/components/BarTitle/BarTitle.stories.ts"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"label": "ShellPage composition and responsive examples",
|
|
854
|
+
"path": "src/wc/components/ShellPage/ShellPage.stories.ts"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"label": "Cross-browser shell-page and header coverage",
|
|
858
|
+
"path": "tests/e2e/bar-title.spec.ts"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
"api": {
|
|
863
|
+
"props": {
|
|
864
|
+
"actions": {
|
|
865
|
+
"type": "BarTitleActionItem[]",
|
|
866
|
+
"required": false
|
|
867
|
+
},
|
|
868
|
+
"actionsAriaLabel": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"required": false
|
|
871
|
+
},
|
|
872
|
+
"backAriaLabel": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"required": false
|
|
875
|
+
},
|
|
876
|
+
"backLabel": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
"required": false
|
|
879
|
+
},
|
|
880
|
+
"description": {
|
|
881
|
+
"type": "string",
|
|
882
|
+
"required": false
|
|
883
|
+
},
|
|
884
|
+
"heading": {
|
|
885
|
+
"type": "string",
|
|
886
|
+
"required": true
|
|
887
|
+
},
|
|
888
|
+
"mode": {
|
|
889
|
+
"type": "BarTitleMode",
|
|
890
|
+
"required": false
|
|
891
|
+
},
|
|
892
|
+
"primaryAction": {
|
|
893
|
+
"type": "BarTitlePrimaryAction | null",
|
|
894
|
+
"required": false
|
|
895
|
+
},
|
|
896
|
+
"sections": {
|
|
897
|
+
"type": "BarTitleSectionItem[]",
|
|
898
|
+
"required": false
|
|
899
|
+
},
|
|
900
|
+
"sectionsAriaLabel": {
|
|
901
|
+
"type": "string",
|
|
902
|
+
"required": false
|
|
903
|
+
},
|
|
904
|
+
"showBack": {
|
|
905
|
+
"type": "boolean",
|
|
906
|
+
"required": false
|
|
907
|
+
},
|
|
908
|
+
"value": {
|
|
909
|
+
"type": "string",
|
|
910
|
+
"required": false
|
|
911
|
+
},
|
|
912
|
+
"variant": {
|
|
913
|
+
"type": "BarTitleVariant",
|
|
914
|
+
"required": false
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"events": [
|
|
918
|
+
{
|
|
919
|
+
"name": "dsAction",
|
|
920
|
+
"detail": "string"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "dsBack",
|
|
924
|
+
"detail": "MouseEvent"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "dsSectionChange",
|
|
928
|
+
"detail": "string"
|
|
929
|
+
}
|
|
930
|
+
],
|
|
931
|
+
"slots": []
|
|
932
|
+
},
|
|
933
|
+
"exports": {
|
|
934
|
+
"customElement": "ds-bar-title",
|
|
935
|
+
"react": "DsBarTitle",
|
|
936
|
+
"angular": "DsBarTitle"
|
|
937
|
+
},
|
|
938
|
+
"dependencies": [
|
|
939
|
+
"@ds-mo/ui",
|
|
940
|
+
"@ds-mo/tokens",
|
|
941
|
+
"@ds-mo/icons"
|
|
942
|
+
],
|
|
943
|
+
"componentDependencies": [
|
|
944
|
+
"button-filled",
|
|
945
|
+
"button-unfilled",
|
|
946
|
+
"icon",
|
|
947
|
+
"menu",
|
|
948
|
+
"text",
|
|
949
|
+
"tooltip"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
886
952
|
{
|
|
887
953
|
"id": "component:ds-button-filled",
|
|
888
954
|
"tag": "ds-button-filled",
|
|
@@ -2387,7 +2453,7 @@
|
|
|
2387
2453
|
"component:ds-button-unfilled"
|
|
2388
2454
|
],
|
|
2389
2455
|
"accessibility": [
|
|
2390
|
-
"The copy action has
|
|
2456
|
+
"The copy action has matching accessible-name and visible-tooltip status wording, and the code remains selectable text.",
|
|
2391
2457
|
"Language and filename labels supplement rather than replace the code content."
|
|
2392
2458
|
],
|
|
2393
2459
|
"responsiveBehavior": [
|
|
@@ -2429,7 +2495,8 @@
|
|
|
2429
2495
|
],
|
|
2430
2496
|
"componentDependencies": [
|
|
2431
2497
|
"button-unfilled",
|
|
2432
|
-
"text"
|
|
2498
|
+
"text",
|
|
2499
|
+
"tooltip"
|
|
2433
2500
|
]
|
|
2434
2501
|
},
|
|
2435
2502
|
{
|
|
@@ -3895,16 +3962,16 @@
|
|
|
3895
3962
|
"pattern:conversation"
|
|
3896
3963
|
],
|
|
3897
3964
|
"accessibility": [
|
|
3898
|
-
"Always provide a localized textarea label and submit or stop action names.",
|
|
3965
|
+
"Always provide a localized textarea label and submit or stop action names; the built-in icon action exposes the same name in its tooltip.",
|
|
3899
3966
|
"Shift plus Enter inserts a newline while Enter submits non-empty content.",
|
|
3900
3967
|
"Streaming and error states remain perceivable without relying on icon shape alone."
|
|
3901
3968
|
],
|
|
3902
3969
|
"states": [
|
|
3903
3970
|
"The owner controls draft value and transport state; the composer emits intent without performing transport.",
|
|
3904
|
-
"Use the tools slot for leading actions such as add and the actions slot for trailing actions such as dictation; the built-in submit or stop action remains last with an 8px gap from the preceding action. These icon buttons use the standard non-rounded control radius.",
|
|
3971
|
+
"Use the tools slot for leading actions such as add and the actions slot for trailing actions such as dictation; the built-in submit or stop action remains last with an 8px gap from the preceding action. These icon buttons use the standard non-rounded control radius, and the application supplies tooltips for slotted icon actions.",
|
|
3905
3972
|
"The composer surface uses the 10px --dimension-radius-125 token.",
|
|
3906
3973
|
"Mouse or keyboard focus on the textarea gives the complete composer surface the same bold-brand inset stroke width and color as an active Input; the native textarea never draws a separate outline.",
|
|
3907
|
-
"The submit action
|
|
3974
|
+
"The empty or otherwise inactive submit action is a disabled bordered ButtonUnfilled. Ready submit actions use submitIntent, while the streaming stop action remains a bold-brand ButtonFilled."
|
|
3908
3975
|
],
|
|
3909
3976
|
"responsiveBehavior": [
|
|
3910
3977
|
"The textarea begins at two body-medium lines, grows one line at a time through six lines, and then scrolls internally."
|
|
@@ -3973,7 +4040,9 @@
|
|
|
3973
4040
|
"@ds-mo/tokens"
|
|
3974
4041
|
],
|
|
3975
4042
|
"componentDependencies": [
|
|
3976
|
-
"button-filled"
|
|
4043
|
+
"button-filled",
|
|
4044
|
+
"button-unfilled",
|
|
4045
|
+
"tooltip"
|
|
3977
4046
|
]
|
|
3978
4047
|
},
|
|
3979
4048
|
{
|
|
@@ -4003,7 +4072,7 @@
|
|
|
4003
4072
|
"accessibility": [
|
|
4004
4073
|
"Give each transcript a concise localized label.",
|
|
4005
4074
|
"New content is exposed through log semantics without stealing focus.",
|
|
4006
|
-
"The scroll-to-latest control remains keyboard accessible when follow behavior is released."
|
|
4075
|
+
"The scroll-to-latest control remains keyboard accessible when follow behavior is released and exposes its action name in a tooltip."
|
|
4007
4076
|
],
|
|
4008
4077
|
"states": [
|
|
4009
4078
|
"Selection and transcript interaction release automatic following.",
|
|
@@ -4058,7 +4127,8 @@
|
|
|
4058
4127
|
"@ds-mo/tokens"
|
|
4059
4128
|
],
|
|
4060
4129
|
"componentDependencies": [
|
|
4061
|
-
"button-unfilled"
|
|
4130
|
+
"button-unfilled",
|
|
4131
|
+
"tooltip"
|
|
4062
4132
|
]
|
|
4063
4133
|
},
|
|
4064
4134
|
{
|
|
@@ -4110,7 +4180,7 @@
|
|
|
4110
4180
|
"accessibility": [
|
|
4111
4181
|
"Provide a concise visible heading; the component uses it as the dialog's accessible name.",
|
|
4112
4182
|
"Give the primary explanatory copy a stable id and pass it through aria-describedby so assistive technology receives the decision context.",
|
|
4113
|
-
"Opening the native modal dialog moves focus to the header Close action, traps Tab navigation inside the top layer, and makes outside content inert.",
|
|
4183
|
+
"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.",
|
|
4114
4184
|
"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.",
|
|
4115
4185
|
"After exit motion completes, the native dialog leaves the top layer, focus returns to the previously focused element, and dsAfterClose emits.",
|
|
4116
4186
|
"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.",
|
|
@@ -4208,7 +4278,8 @@
|
|
|
4208
4278
|
],
|
|
4209
4279
|
"componentDependencies": [
|
|
4210
4280
|
"button-unfilled",
|
|
4211
|
-
"text"
|
|
4281
|
+
"text",
|
|
4282
|
+
"tooltip"
|
|
4212
4283
|
]
|
|
4213
4284
|
},
|
|
4214
4285
|
{
|
|
@@ -4252,7 +4323,7 @@
|
|
|
4252
4323
|
}
|
|
4253
4324
|
],
|
|
4254
4325
|
"commonlyComposedWith": [
|
|
4255
|
-
"component:ds-app
|
|
4326
|
+
"component:ds-shell-app",
|
|
4256
4327
|
"component:ds-bar-nav",
|
|
4257
4328
|
"component:ds-panel-tools",
|
|
4258
4329
|
"component:ds-menu"
|
|
@@ -4283,7 +4354,7 @@
|
|
|
4283
4354
|
"At 1200px and wider, default to expanded, allow the user to expand or collapse, and restore the locally persisted desktop preference when available.",
|
|
4284
4355
|
"From 768px through 1199px, present PanelNav permanently collapsed and do not allow user expansion.",
|
|
4285
4356
|
"Below 768px, the consuming application replaces PanelNav with a dedicated mobile navigation component; PanelNav does not own mobile navigation.",
|
|
4286
|
-
"
|
|
4357
|
+
"ShellApp permanently owns responsive composition: it determines shell mode, enforces tablet collapse, and replaces PanelNav with future mobile navigation below 768px.",
|
|
4287
4358
|
"When the viewport is below breakpoint, PanelNav locks collapsed, disables its header toggle affordance, and preserves the persisted desktop collapse preference.",
|
|
4288
4359
|
"Collapsed presentation must preserve destination ordering, active state, notification status, and accessible names."
|
|
4289
4360
|
],
|
|
@@ -4294,12 +4365,12 @@
|
|
|
4294
4365
|
],
|
|
4295
4366
|
"react": [
|
|
4296
4367
|
"Pass groups as an array through the generated React wrapper and synchronize currentUrl with the host router.",
|
|
4297
|
-
"
|
|
4368
|
+
"ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
|
|
4298
4369
|
],
|
|
4299
4370
|
"angular": [
|
|
4300
4371
|
"Import DsPanelNav from @ds-mo/ui/angular/ds-panel-nav and bind groups as a property.",
|
|
4301
4372
|
"Bind both the nav-style attribute and navStyle property when first-paint route styling must be deterministic.",
|
|
4302
|
-
"
|
|
4373
|
+
"ShellApp owns mobile replacement; PanelNav enforces its configured breakpoint expansion lock."
|
|
4303
4374
|
]
|
|
4304
4375
|
},
|
|
4305
4376
|
"references": [
|
|
@@ -4482,7 +4553,7 @@
|
|
|
4482
4553
|
{
|
|
4483
4554
|
"when": "The choices are secondary application routes.",
|
|
4484
4555
|
"component": "component:ds-bar-nav",
|
|
4485
|
-
"reason": "BarNav owns route sections inside
|
|
4556
|
+
"reason": "BarNav owns route sections inside ShellApp."
|
|
4486
4557
|
},
|
|
4487
4558
|
{
|
|
4488
4559
|
"when": "The choices are transient actions or options.",
|
|
@@ -4594,7 +4665,7 @@
|
|
|
4594
4665
|
"component:ds-button-unfilled"
|
|
4595
4666
|
],
|
|
4596
4667
|
"accessibility": [
|
|
4597
|
-
"Leading navigation or dismiss actions and trailing icon actions require concise localized names.",
|
|
4668
|
+
"Leading navigation or dismiss actions and trailing icon actions require concise localized names; the header reuses each name as the action tooltip.",
|
|
4598
4669
|
"The visible heading names the active panel or subview."
|
|
4599
4670
|
],
|
|
4600
4671
|
"states": [
|
|
@@ -4685,7 +4756,8 @@
|
|
|
4685
4756
|
],
|
|
4686
4757
|
"componentDependencies": [
|
|
4687
4758
|
"button-unfilled",
|
|
4688
|
-
"text"
|
|
4759
|
+
"text",
|
|
4760
|
+
"tooltip"
|
|
4689
4761
|
]
|
|
4690
4762
|
},
|
|
4691
4763
|
{
|
|
@@ -4715,13 +4787,13 @@
|
|
|
4715
4787
|
],
|
|
4716
4788
|
"accessibility": [
|
|
4717
4789
|
"Provide an aria-label that names the searched domain, such as Search agent chats or Search messages.",
|
|
4718
|
-
"The standard search clear action restores focus and emits both the empty query and dsClear.",
|
|
4719
|
-
"When showFilter is enabled, provide stable filterTriggerId and filterControls values, synchronize filterExpanded with the controlled menu, and restore focus after selection."
|
|
4790
|
+
"The standard search clear action restores focus, exposes its localized name in a tooltip, and emits both the empty query and dsClear.",
|
|
4791
|
+
"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."
|
|
4720
4792
|
],
|
|
4721
4793
|
"states": [
|
|
4722
4794
|
"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.",
|
|
4723
4795
|
"The search icon stays foreground-secondary at rest, hover, focus, active, and while the query is filled.",
|
|
4724
|
-
"The row and control surface remain transparent so the
|
|
4796
|
+
"The row and control surface remain transparent so the ShellApp chrome wash is visible behind them.",
|
|
4725
4797
|
"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.",
|
|
4726
4798
|
"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."
|
|
4727
4799
|
],
|
|
@@ -4826,7 +4898,8 @@
|
|
|
4826
4898
|
"button-unfilled",
|
|
4827
4899
|
"divider",
|
|
4828
4900
|
"icon",
|
|
4829
|
-
"text"
|
|
4901
|
+
"text",
|
|
4902
|
+
"tooltip"
|
|
4830
4903
|
]
|
|
4831
4904
|
},
|
|
4832
4905
|
{
|
|
@@ -4834,14 +4907,14 @@
|
|
|
4834
4907
|
"tag": "ds-panel-tools",
|
|
4835
4908
|
"name": "panel-tools",
|
|
4836
4909
|
"title": "PanelTools",
|
|
4837
|
-
"summary": "Required
|
|
4910
|
+
"summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
|
|
4838
4911
|
"intentStatus": "complete",
|
|
4839
4912
|
"intent": {
|
|
4840
4913
|
"audience": "specialized",
|
|
4841
4914
|
"status": "stable",
|
|
4842
|
-
"summary": "Required
|
|
4915
|
+
"summary": "Required ShellApp utility rail and persistent drawer host for the fixed set of global Search, Agents, Messages, Stacks, Activity, and Help products.",
|
|
4843
4916
|
"useWhen": [
|
|
4844
|
-
"Composing the required global tools region inside the application's single
|
|
4917
|
+
"Composing the required global tools region inside the application's single ShellApp.",
|
|
4845
4918
|
"Users need to move between application-wide utilities without losing each tool's in-progress state.",
|
|
4846
4919
|
"Search, AI conversations, user messages, review stacks, notifications, or help content must remain available alongside route content."
|
|
4847
4920
|
],
|
|
@@ -4849,8 +4922,8 @@
|
|
|
4849
4922
|
"The action is specific to the current page or selected content rather than globally available across the application.",
|
|
4850
4923
|
"The item navigates to a primary or secondary route; use PanelNav or BarNav instead.",
|
|
4851
4924
|
"A consumer wants to add arbitrary tools, reorder fixed tools, or repurpose a semantic tool id.",
|
|
4852
|
-
"Building the mobile tools experience; future mobile
|
|
4853
|
-
"PanelTools would be mounted outside the application's single
|
|
4925
|
+
"Building the mobile tools experience; future mobile ShellApp composition uses a different bottom-bar and panel pattern.",
|
|
4926
|
+
"PanelTools would be mounted outside the application's single ShellApp."
|
|
4854
4927
|
],
|
|
4855
4928
|
"alternatives": [
|
|
4856
4929
|
{
|
|
@@ -4870,7 +4943,7 @@
|
|
|
4870
4943
|
}
|
|
4871
4944
|
],
|
|
4872
4945
|
"commonlyComposedWith": [
|
|
4873
|
-
"component:ds-app
|
|
4946
|
+
"component:ds-shell-app",
|
|
4874
4947
|
"component:ds-panel-nav",
|
|
4875
4948
|
"component:ds-bar-nav"
|
|
4876
4949
|
],
|
|
@@ -4898,7 +4971,7 @@
|
|
|
4898
4971
|
"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.",
|
|
4899
4972
|
"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.",
|
|
4900
4973
|
"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.",
|
|
4901
|
-
"Tool view roots stay transparent so
|
|
4974
|
+
"Tool view roots stay transparent so ShellApp's chrome wash remains visible; only explicitly designed child surfaces introduce a fill.",
|
|
4902
4975
|
"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.",
|
|
4903
4976
|
"If an active optional tool becomes unavailable, PanelTools closes the drawer, clears activeTool, and emits its deselection.",
|
|
4904
4977
|
"Use isInactive only for a temporarily unavailable visible tool; omit tools the user is not authorized to access.",
|
|
@@ -4909,8 +4982,8 @@
|
|
|
4909
4982
|
],
|
|
4910
4983
|
"responsiveBehavior": [
|
|
4911
4984
|
"The open drawer reduces main-content width and uses --dimension-panel-width-xs (300px) on every supported desktop and tablet viewport.",
|
|
4912
|
-
"
|
|
4913
|
-
"Below 768px, do not reuse desktop PanelTools: future
|
|
4985
|
+
"ShellApp owns the fixed drawer-width variable; consumers must not hardcode alternate drawer widths.",
|
|
4986
|
+
"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.",
|
|
4914
4987
|
"Keep named-slot content mounted while tools switch or the drawer closes so users can return to in-progress global work.",
|
|
4915
4988
|
"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.",
|
|
4916
4989
|
"Use fixed drawer widths for now; do not add user resizing or width persistence."
|
|
@@ -4919,10 +4992,10 @@
|
|
|
4919
4992
|
"customElements": [
|
|
4920
4993
|
"Assign items as a JavaScript property for structured data; items-json is the string fallback.",
|
|
4921
4994
|
"Assign headers as a JavaScript property and replace its object identity whenever an active tool changes title, depth, or actions.",
|
|
4922
|
-
"Keep PanelTools mounted at
|
|
4995
|
+
"Keep PanelTools mounted at ShellApp scope across route changes and provide each product through its matching named slot."
|
|
4923
4996
|
],
|
|
4924
4997
|
"react": [
|
|
4925
|
-
"Pass the fixed item collection through the generated React wrapper and keep named-slot product content mounted at
|
|
4998
|
+
"Pass the fixed item collection through the generated React wrapper and keep named-slot product content mounted at ShellApp scope.",
|
|
4926
4999
|
"Use storageKey only for same-browser last-tool continuity; do not persist the open drawer."
|
|
4927
5000
|
],
|
|
4928
5001
|
"angular": [
|
|
@@ -5443,7 +5516,8 @@
|
|
|
5443
5516
|
"empty-state",
|
|
5444
5517
|
"icon",
|
|
5445
5518
|
"loader",
|
|
5446
|
-
"text"
|
|
5519
|
+
"text",
|
|
5520
|
+
"tooltip"
|
|
5447
5521
|
]
|
|
5448
5522
|
},
|
|
5449
5523
|
{
|
|
@@ -5703,25 +5777,150 @@
|
|
|
5703
5777
|
"empty-state",
|
|
5704
5778
|
"icon",
|
|
5705
5779
|
"loader",
|
|
5706
|
-
"text"
|
|
5780
|
+
"text",
|
|
5781
|
+
"tooltip"
|
|
5707
5782
|
]
|
|
5708
5783
|
},
|
|
5784
|
+
{
|
|
5785
|
+
"id": "component:ds-shell-app",
|
|
5786
|
+
"tag": "ds-shell-app",
|
|
5787
|
+
"name": "shell-app",
|
|
5788
|
+
"title": "ShellApp",
|
|
5789
|
+
"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.",
|
|
5790
|
+
"intentStatus": "complete",
|
|
5791
|
+
"intent": {
|
|
5792
|
+
"audience": "specialized",
|
|
5793
|
+
"status": "stable",
|
|
5794
|
+
"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.",
|
|
5795
|
+
"useWhen": [
|
|
5796
|
+
"Building any standard authenticated product or workspace page with CompoMo.",
|
|
5797
|
+
"PanelNav, BarNav, PanelTools, page content, shared chrome, responsive behavior, and shell shortcuts must be composed as one application frame.",
|
|
5798
|
+
"Future application templates need the supported base-page composition boundary."
|
|
5799
|
+
],
|
|
5800
|
+
"avoidWhen": [
|
|
5801
|
+
"Building authentication, onboarding, public, marketing, print, error, or intentionally focused full-screen experiences that require a different layout.",
|
|
5802
|
+
"Another ShellApp already exists in the page; applications must render exactly one and must never nest ShellApps.",
|
|
5803
|
+
"Building content inside an existing ShellApp; render the page content rather than another shell."
|
|
5804
|
+
],
|
|
5805
|
+
"commonlyComposedWith": [
|
|
5806
|
+
"component:ds-panel-nav",
|
|
5807
|
+
"component:ds-bar-nav",
|
|
5808
|
+
"component:ds-panel-tools",
|
|
5809
|
+
"component:ds-shell-page",
|
|
5810
|
+
"component:ds-swatch-picker"
|
|
5811
|
+
],
|
|
5812
|
+
"patterns": [
|
|
5813
|
+
"pattern:application-shell",
|
|
5814
|
+
"pattern:shell-page"
|
|
5815
|
+
],
|
|
5816
|
+
"accessibility": [
|
|
5817
|
+
"Keep primary destinations in PanelNav and secondary route sections in BarNav.",
|
|
5818
|
+
"Ensure the default content region contains the page's single main landmark.",
|
|
5819
|
+
"Keep PanelNav, BarNav, and PanelTools chrome available in the shell's supported desktop and tablet compositions.",
|
|
5820
|
+
"Do not override browser keyboard chords when enabling shell shortcuts.",
|
|
5821
|
+
"Require Search and Help as the minimum PanelTools actions and provide accessible labels for every tool.",
|
|
5822
|
+
"Preserve focus and accessible names across navigation, collapse, overflow, and responsive presentation changes."
|
|
5823
|
+
],
|
|
5824
|
+
"states": [
|
|
5825
|
+
"Render exactly one ShellApp as the workspace root and never nest it.",
|
|
5826
|
+
"PanelNav, BarNav, and PanelTools are required shell regions; PanelTools contains at least Search and Help even when no additional product tools apply.",
|
|
5827
|
+
"The application router owns the current route, authorization filtering, Dashboard or Settings context, destination collections, section collections, and localized content labels.",
|
|
5828
|
+
"ShellApp propagates navStyle and coordinates layout, gradient alignment, transitions, metrics, shortcuts, and responsive composition.",
|
|
5829
|
+
"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.",
|
|
5830
|
+
"The application owns gradient preference persistence, cross-tab synchronization, and server or account precedence; ShellApp owns rendering the resolved preset across authenticated routes.",
|
|
5831
|
+
"Dashboard represents day-to-day operational work while Settings represents administrative and configuration work; route state selects the context.",
|
|
5832
|
+
"Update PanelNav groups, BarNav tabs and heading, navStyle, basePath, and currentUrl atomically from one resolved route state.",
|
|
5833
|
+
"BarNav remains present: it shows route-section tabs when available and the active PanelNav destination label as heading otherwise.",
|
|
5834
|
+
"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.",
|
|
5835
|
+
"The application filters unauthorized destinations, sections, and tools before passing them into shell components."
|
|
5836
|
+
],
|
|
5837
|
+
"responsiveBehavior": [
|
|
5838
|
+
"ShellApp owns the fixed system breakpoints and resolves desktop at 1200px and wider, tablet from 768px through 1199px, and mobile below 768px.",
|
|
5839
|
+
"On desktop, PanelNav defaults expanded, permits user collapse or expansion, and respects the locally persisted desktop preference.",
|
|
5840
|
+
"On tablet, ShellApp keeps PanelNav permanently collapsed and prevents user expansion without overwriting the desktop preference.",
|
|
5841
|
+
"On mobile, ShellApp remains the page root but replaces PanelNav and desktop navigation composition with a future dedicated mobile navigation design.",
|
|
5842
|
+
"Keep PanelNav width, BarNav height, PanelTools chrome, and main-content origin stable except during intentional responsive or collapse transitions.",
|
|
5843
|
+
"The current runtime does not yet implement the complete desktop, tablet, and mobile composition contract; consuming applications must enforce missing breakpoint behavior until ShellApp provides it."
|
|
5844
|
+
],
|
|
5845
|
+
"frameworkCaveats": {
|
|
5846
|
+
"customElements": [
|
|
5847
|
+
"Assign complex navigation and tool collections as JavaScript properties on the slotted components.",
|
|
5848
|
+
"Stamp route-derived nav-style before components connect when deterministic first paint is required."
|
|
5849
|
+
],
|
|
5850
|
+
"react": [
|
|
5851
|
+
"Use generated wrappers and preserve native slot names for PanelNav, BarNav, PanelTools, and main content.",
|
|
5852
|
+
"Resolve all shell inputs from one router state before rendering the composition."
|
|
5853
|
+
],
|
|
5854
|
+
"angular": [
|
|
5855
|
+
"Use generated standalone adapters and preserve slot attributes in templates.",
|
|
5856
|
+
"Bind complex inputs as properties and update navigation inputs atomically from one resolved router state.",
|
|
5857
|
+
"Bind both nav-style attributes and properties when deterministic first paint is required."
|
|
5858
|
+
]
|
|
5859
|
+
},
|
|
5860
|
+
"references": [
|
|
5861
|
+
{
|
|
5862
|
+
"label": "Component guide",
|
|
5863
|
+
"path": "src/wc/components/ShellApp/ShellApp.mdx"
|
|
5864
|
+
},
|
|
5865
|
+
{
|
|
5866
|
+
"label": "Executable Storybook composition",
|
|
5867
|
+
"path": "src/wc/components/ShellApp/ShellApp.stories.ts"
|
|
5868
|
+
},
|
|
5869
|
+
{
|
|
5870
|
+
"label": "Framework integration",
|
|
5871
|
+
"path": "docs/framework-integration.md"
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
"label": "Application shell contract",
|
|
5875
|
+
"path": "agent/patterns/application-shell/pattern.agent.json"
|
|
5876
|
+
}
|
|
5877
|
+
]
|
|
5878
|
+
},
|
|
5879
|
+
"api": {
|
|
5880
|
+
"props": {
|
|
5881
|
+
"gradientPreset": {
|
|
5882
|
+
"type": "ShellGradientPreset",
|
|
5883
|
+
"required": false
|
|
5884
|
+
},
|
|
5885
|
+
"navStyle": {
|
|
5886
|
+
"type": "NavChromeStyle",
|
|
5887
|
+
"required": false
|
|
5888
|
+
},
|
|
5889
|
+
"shortcutsEnabled": {
|
|
5890
|
+
"type": "boolean",
|
|
5891
|
+
"required": false
|
|
5892
|
+
}
|
|
5893
|
+
},
|
|
5894
|
+
"events": [],
|
|
5895
|
+
"slots": []
|
|
5896
|
+
},
|
|
5897
|
+
"exports": {
|
|
5898
|
+
"customElement": "ds-shell-app",
|
|
5899
|
+
"react": "DsShellApp",
|
|
5900
|
+
"angular": "DsShellApp"
|
|
5901
|
+
},
|
|
5902
|
+
"dependencies": [
|
|
5903
|
+
"@ds-mo/ui",
|
|
5904
|
+
"@ds-mo/tokens"
|
|
5905
|
+
],
|
|
5906
|
+
"componentDependencies": []
|
|
5907
|
+
},
|
|
5709
5908
|
{
|
|
5710
5909
|
"id": "component:ds-shell-gradient-picker",
|
|
5711
5910
|
"tag": "ds-shell-gradient-picker",
|
|
5712
5911
|
"name": "shell-gradient-picker",
|
|
5713
5912
|
"title": "ShellGradientPicker",
|
|
5714
|
-
"summary": "Deprecated compatibility wrapper that maps the fixed
|
|
5913
|
+
"summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
|
|
5715
5914
|
"intentStatus": "complete",
|
|
5716
5915
|
"intent": {
|
|
5717
5916
|
"audience": "specialized",
|
|
5718
5917
|
"status": "deprecated",
|
|
5719
5918
|
"replacedBy": "component:ds-swatch-picker",
|
|
5720
5919
|
"replacementReason": "SwatchPicker now owns the same accessible interaction with a generic option model that supports both flat colors and gradients.",
|
|
5721
|
-
"summary": "Deprecated compatibility wrapper that maps the fixed
|
|
5920
|
+
"summary": "Deprecated compatibility wrapper that maps the fixed ShellApp wash presets into SwatchPicker.",
|
|
5722
5921
|
"useWhen": [
|
|
5723
5922
|
"Adding the Appearance or Theme section to the application's user or account menu.",
|
|
5724
|
-
"Users must choose the global
|
|
5923
|
+
"Users must choose the global ShellApp chrome treatment from none, cool, neutral, warm, or fresh."
|
|
5725
5924
|
],
|
|
5726
5925
|
"avoidWhen": [
|
|
5727
5926
|
"Choosing semantic intent, page background, chart, content, or brand colors.",
|
|
@@ -5737,7 +5936,7 @@
|
|
|
5737
5936
|
}
|
|
5738
5937
|
],
|
|
5739
5938
|
"commonlyComposedWith": [
|
|
5740
|
-
"component:ds-app
|
|
5939
|
+
"component:ds-shell-app",
|
|
5741
5940
|
"component:ds-menu"
|
|
5742
5941
|
],
|
|
5743
5942
|
"patterns": [
|
|
@@ -5751,7 +5950,7 @@
|
|
|
5751
5950
|
"states": [
|
|
5752
5951
|
"Neutral is the default preset; none renders solid shell chrome without a wash.",
|
|
5753
5952
|
"Cool, neutral, warm, and fresh use design tokens and automatically adapt to the active light or dark color theme.",
|
|
5754
|
-
"Apply dsChange immediately to
|
|
5953
|
+
"Apply dsChange immediately to ShellApp.gradientPreset and keep the containing account menu open.",
|
|
5755
5954
|
"The application owns local persistence, cross-tab synchronization, and server or account preference precedence; the picker owns only selection UI and events.",
|
|
5756
5955
|
"Treat the fixed preset union as the only supported values and do not construct custom gradients."
|
|
5757
5956
|
],
|
|
@@ -5761,7 +5960,7 @@
|
|
|
5761
5960
|
],
|
|
5762
5961
|
"frameworkCaveats": {
|
|
5763
5962
|
"customElements": [
|
|
5764
|
-
"Listen for dsChange, resolve application preference precedence, and assign the result to the single
|
|
5963
|
+
"Listen for dsChange, resolve application preference precedence, and assign the result to the single ShellApp gradientPreset property."
|
|
5765
5964
|
],
|
|
5766
5965
|
"react": [
|
|
5767
5966
|
"Use the generated wrapper and handle onDsChange without closing the containing account menu."
|
|
@@ -5776,8 +5975,8 @@
|
|
|
5776
5975
|
"path": "src/wc/components/SwatchPicker/SwatchPicker.stories.ts"
|
|
5777
5976
|
},
|
|
5778
5977
|
{
|
|
5779
|
-
"label": "
|
|
5780
|
-
"path": "src/wc/components/
|
|
5978
|
+
"label": "ShellApp gradient contract",
|
|
5979
|
+
"path": "src/wc/components/ShellApp/ShellApp.mdx"
|
|
5781
5980
|
},
|
|
5782
5981
|
{
|
|
5783
5982
|
"label": "Application shell composition",
|
|
@@ -5822,14 +6021,14 @@
|
|
|
5822
6021
|
"tag": "ds-shell-gradient-swatch",
|
|
5823
6022
|
"name": "shell-gradient-swatch",
|
|
5824
6023
|
"title": "ShellGradientSwatch",
|
|
5825
|
-
"summary": "Deprecated internal compatibility component for one legacy
|
|
6024
|
+
"summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
|
|
5826
6025
|
"intentStatus": "complete",
|
|
5827
6026
|
"intent": {
|
|
5828
6027
|
"audience": "internal",
|
|
5829
6028
|
"status": "deprecated",
|
|
5830
6029
|
"replacedBy": "component:ds-swatch-picker",
|
|
5831
6030
|
"replacementReason": "SwatchPicker renders its option buttons internally so an individually published radio swatch is no longer needed.",
|
|
5832
|
-
"summary": "Deprecated internal compatibility component for one legacy
|
|
6031
|
+
"summary": "Deprecated internal compatibility component for one legacy ShellApp gradient swatch.",
|
|
5833
6032
|
"useWhen": [
|
|
5834
6033
|
"Maintaining or extending ShellGradientPicker inside CompoMo."
|
|
5835
6034
|
],
|
|
@@ -5917,6 +6116,121 @@
|
|
|
5917
6116
|
],
|
|
5918
6117
|
"componentDependencies": []
|
|
5919
6118
|
},
|
|
6119
|
+
{
|
|
6120
|
+
"id": "component:ds-shell-page",
|
|
6121
|
+
"tag": "ds-shell-page",
|
|
6122
|
+
"name": "shell-page",
|
|
6123
|
+
"title": "ShellPage",
|
|
6124
|
+
"summary": "The standard routed-page boundary inside ShellApp, owning sticky BarTitle placement, container-aware header variants, stable scroll compaction, and optional page-content inset without creating a nested scroll container.",
|
|
6125
|
+
"intentStatus": "complete",
|
|
6126
|
+
"intent": {
|
|
6127
|
+
"audience": "general",
|
|
6128
|
+
"status": "stable",
|
|
6129
|
+
"summary": "The standard routed-page boundary inside ShellApp, owning sticky BarTitle placement, container-aware header variants, stable scroll compaction, and optional page-content inset without creating a nested scroll container.",
|
|
6130
|
+
"useWhen": [
|
|
6131
|
+
"Rendering a standard routed page inside ShellApp's default content region.",
|
|
6132
|
+
"BarTitle should expand at a roomy page top, compact after scroll, or use constrained action layout when the page column narrows.",
|
|
6133
|
+
"Pages need consistent content gutters with an explicit full-bleed option."
|
|
6134
|
+
],
|
|
6135
|
+
"avoidWhen": [
|
|
6136
|
+
"Building authentication, onboarding, public, modal, drawer, or intentionally focused fullscreen layouts outside the standard ShellApp page region.",
|
|
6137
|
+
"Another ShellPage already owns the routed page; never nest ShellPages.",
|
|
6138
|
+
"A bounded card or pane needs its own header rather than a page-level main landmark."
|
|
6139
|
+
],
|
|
6140
|
+
"alternatives": [
|
|
6141
|
+
{
|
|
6142
|
+
"when": "The composition is a persistent application-wide workspace frame.",
|
|
6143
|
+
"component": "component:ds-shell-app",
|
|
6144
|
+
"reason": "ShellApp owns global navigation, tools, and the content scroll region; ShellPage belongs inside it."
|
|
6145
|
+
},
|
|
6146
|
+
{
|
|
6147
|
+
"when": "Only static page title chrome is required without sticky or responsive orchestration.",
|
|
6148
|
+
"component": "component:ds-bar-title",
|
|
6149
|
+
"reason": "BarTitle can be used standalone with an explicit variant."
|
|
6150
|
+
}
|
|
6151
|
+
],
|
|
6152
|
+
"commonlyComposedWith": [
|
|
6153
|
+
"component:ds-shell-app",
|
|
6154
|
+
"component:ds-bar-title",
|
|
6155
|
+
"component:ds-tab-group"
|
|
6156
|
+
],
|
|
6157
|
+
"patterns": [
|
|
6158
|
+
"pattern:shell-page"
|
|
6159
|
+
],
|
|
6160
|
+
"accessibility": [
|
|
6161
|
+
"ShellPage exposes the routed page as the main landmark; render exactly one active ShellPage inside ShellApp.",
|
|
6162
|
+
"Provide exactly one BarTitle through the header slot so the page has one h1.",
|
|
6163
|
+
"Keep loading, empty, validation, error, progress, success, and failure communication in the default product-content slot.",
|
|
6164
|
+
"Responsive variant changes preserve the same heading, controls, accessible names, and keyboard focus targets."
|
|
6165
|
+
],
|
|
6166
|
+
"states": [
|
|
6167
|
+
"headerPresentation=auto selects expanded, compact, or constrained from ShellPage's own inline capacity and scroll position.",
|
|
6168
|
+
"expanded, compact, and constrained are explicit overrides for exceptional layouts and deterministic examples.",
|
|
6169
|
+
"contentInset=default supplies standard page gutters; none permits maps, canvases, and other full-bleed content.",
|
|
6170
|
+
"The required header slot accepts one BarTitle. The default slot owns router output and all page product content."
|
|
6171
|
+
],
|
|
6172
|
+
"responsiveBehavior": [
|
|
6173
|
+
"ShellPage observes its own rendered width instead of viewport media queries or ShellApp desktop/tablet modes.",
|
|
6174
|
+
"Roomy pages expand at the top and compact after scroll; medium-capacity pages start compact; narrow pages use the constrained header variant.",
|
|
6175
|
+
"A newly navigated header resolves current page capacity before it is revealed, so persistent tool or navigation chrome cannot flash the expanded presentation first.",
|
|
6176
|
+
"Token-based capacity bands use hysteresis so opening tools or resizing navigation cannot oscillate near a boundary.",
|
|
6177
|
+
"Scroll compaction preserves the expanded page flow offset so content never jumps beneath the sticky header.",
|
|
6178
|
+
"ShellPage relies on ShellApp's content scroller and never introduces nested scrolling."
|
|
6179
|
+
],
|
|
6180
|
+
"frameworkCaveats": {
|
|
6181
|
+
"customElements": [
|
|
6182
|
+
"Import ShellPage and BarTitle, place one ds-bar-title in slot=header, and render route content as default children.",
|
|
6183
|
+
"Do not set BarTitle.variant while ShellPage owns headerPresentation."
|
|
6184
|
+
],
|
|
6185
|
+
"react": [
|
|
6186
|
+
"Render DsBarTitle with slot=header inside DsShellPage and keep routed content as the remaining children.",
|
|
6187
|
+
"Use contentInset none only for deliberately full-bleed page products."
|
|
6188
|
+
],
|
|
6189
|
+
"angular": [
|
|
6190
|
+
"Import the generated standalone DsShellPage and DsBarTitle adapters, preserve slot=header, and place router-outlet in the ShellPage default slot.",
|
|
6191
|
+
"Do not add another overflow auto wrapper around the routed page."
|
|
6192
|
+
]
|
|
6193
|
+
},
|
|
6194
|
+
"references": [
|
|
6195
|
+
{
|
|
6196
|
+
"label": "Page-family and responsive examples",
|
|
6197
|
+
"path": "src/wc/components/ShellPage/ShellPage.stories.ts"
|
|
6198
|
+
},
|
|
6199
|
+
{
|
|
6200
|
+
"label": "Cross-browser geometry and interaction coverage",
|
|
6201
|
+
"path": "tests/e2e/bar-title.spec.ts"
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"label": "Reusable framework composition",
|
|
6205
|
+
"path": "agent/patterns/shell-page/pattern.agent.json"
|
|
6206
|
+
}
|
|
6207
|
+
]
|
|
6208
|
+
},
|
|
6209
|
+
"api": {
|
|
6210
|
+
"props": {
|
|
6211
|
+
"contentInset": {
|
|
6212
|
+
"type": "ShellPageContentInset",
|
|
6213
|
+
"required": false
|
|
6214
|
+
},
|
|
6215
|
+
"headerPresentation": {
|
|
6216
|
+
"type": "ShellPageHeaderPresentation",
|
|
6217
|
+
"required": false
|
|
6218
|
+
}
|
|
6219
|
+
},
|
|
6220
|
+
"events": [],
|
|
6221
|
+
"slots": []
|
|
6222
|
+
},
|
|
6223
|
+
"exports": {
|
|
6224
|
+
"customElement": "ds-shell-page",
|
|
6225
|
+
"react": "DsShellPage",
|
|
6226
|
+
"angular": "DsShellPage"
|
|
6227
|
+
},
|
|
6228
|
+
"dependencies": [
|
|
6229
|
+
"@ds-mo/ui",
|
|
6230
|
+
"@ds-mo/tokens"
|
|
6231
|
+
],
|
|
6232
|
+
"componentDependencies": []
|
|
6233
|
+
},
|
|
5920
6234
|
{
|
|
5921
6235
|
"id": "component:ds-skeleton",
|
|
5922
6236
|
"tag": "ds-skeleton",
|
|
@@ -6315,7 +6629,7 @@
|
|
|
6315
6629
|
],
|
|
6316
6630
|
"commonlyComposedWith": [
|
|
6317
6631
|
"component:ds-menu",
|
|
6318
|
-
"component:ds-app
|
|
6632
|
+
"component:ds-shell-app"
|
|
6319
6633
|
],
|
|
6320
6634
|
"accessibility": [
|
|
6321
6635
|
"Provide a localized groupLabel describing the complete choice.",
|