@ds-mo/ui 9.2.0 → 10.0.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 +2 -81
- package/dist/.build-stamp +1 -1
- package/dist/agent-patterns.json +1 -1
- package/dist/agent.json +400 -135
- package/dist/angular/boolean-value-accessor.js +3 -3
- package/dist/angular/ds-agent-activity.js +3 -3
- package/dist/angular/ds-agent-response.js +3 -3
- package/dist/angular/ds-agent-source-list.js +3 -3
- package/dist/angular/ds-agent-tool-call.js +3 -3
- package/dist/angular/ds-app-shell.js +3 -3
- package/dist/angular/ds-attachment-list.js +3 -3
- package/dist/angular/ds-avatar.d.ts +1 -1
- package/dist/angular/ds-avatar.js +5 -5
- package/dist/angular/ds-badge.js +3 -3
- package/dist/angular/ds-bar-nav.js +3 -3
- package/dist/angular/ds-button-filled.js +3 -3
- package/dist/angular/ds-button-unfilled.js +3 -3
- package/dist/angular/ds-card-data-viz-donut.js +3 -3
- package/dist/angular/ds-card-setting.d.ts +5 -4
- package/dist/angular/ds-card-setting.js +6 -6
- package/dist/angular/ds-card-shell-data-viz.js +3 -3
- package/dist/angular/ds-chart-bar.js +3 -3
- package/dist/angular/ds-chart-donut.js +3 -3
- package/dist/angular/ds-chart-legend.js +3 -3
- package/dist/angular/ds-chart-line.js +3 -3
- package/dist/angular/ds-checkbox.js +3 -3
- package/dist/angular/ds-chip.js +3 -3
- package/dist/angular/ds-code-block.js +3 -3
- package/dist/angular/ds-conversation-list-item.d.ts +1 -1
- package/dist/angular/ds-conversation-list-item.js +5 -5
- package/dist/angular/ds-conversation-list-section.js +3 -3
- package/dist/angular/ds-conversation-list.js +3 -3
- package/dist/angular/ds-divider.js +3 -3
- package/dist/angular/ds-empty-state.js +3 -3
- package/dist/angular/ds-field.js +3 -3
- package/dist/angular/ds-icon.js +3 -3
- package/dist/angular/ds-input.js +3 -3
- package/dist/angular/ds-loader.js +3 -3
- package/dist/angular/ds-markdown.js +3 -3
- package/dist/angular/ds-menu.d.ts +6 -1
- package/dist/angular/ds-menu.js +7 -4
- package/dist/angular/ds-message-bubble.js +3 -3
- package/dist/angular/ds-message-composer.js +3 -3
- package/dist/angular/ds-message-scroller.js +3 -3
- package/dist/angular/ds-message.js +3 -3
- package/dist/angular/ds-modal.d.ts +12 -3
- package/dist/angular/ds-modal.js +9 -6
- package/dist/angular/ds-panel-nav.d.ts +1 -1
- package/dist/angular/ds-panel-nav.js +5 -5
- package/dist/angular/ds-panel-sub-nav.js +3 -3
- package/dist/angular/ds-panel-tool-header.js +3 -3
- package/dist/angular/ds-panel-tool-search.js +3 -3
- package/dist/angular/ds-panel-tools.js +3 -3
- package/dist/angular/ds-radio.js +3 -3
- package/dist/angular/ds-select-multi.js +3 -3
- package/dist/angular/ds-select.js +3 -3
- package/dist/angular/ds-shell-gradient-picker.js +3 -3
- package/dist/angular/ds-shell-gradient-swatch.js +3 -3
- package/dist/angular/ds-skeleton.js +3 -3
- package/dist/angular/ds-slider.js +3 -3
- package/dist/angular/ds-swatch-picker.js +3 -3
- package/dist/angular/ds-switch.js +3 -3
- package/dist/angular/ds-tab-group.js +3 -3
- package/dist/angular/ds-tag.js +3 -3
- package/dist/angular/ds-text.js +3 -3
- package/dist/angular/ds-toast.d.ts +22 -0
- package/dist/angular/{ds-banner.js → ds-toast.js} +21 -15
- package/dist/angular/ds-tooltip-data-viz.js +3 -3
- package/dist/angular/ds-tooltip.js +3 -3
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +1 -2
- package/dist/angular/proxies.d.ts +1 -2
- package/dist/angular/proxies.js +1 -2
- package/dist/angular/radio-value-accessor.js +3 -3
- package/dist/angular/select-value-accessor.js +3 -3
- package/dist/angular/text-value-accessor.js +3 -3
- package/dist/angular/value-accessor.js +3 -3
- 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-app-shell.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-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-data-viz-donut.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +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-section.js.map +1 -1
- package/dist/components/ds-conversation-list.js +1 -1
- package/dist/components/ds-conversation-list.js.map +1 -1
- package/dist/components/ds-divider.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-bubble.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-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +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.js +1 -1
- 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-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-tag.js.map +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/{ds-card.d.ts → ds-toast.d.ts} +4 -4
- package/dist/components/ds-toast.js +2 -0
- package/dist/components/ds-toast.js.map +1 -0
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-Bo5wikia.js → p-0kEg-Z4f.js} +2 -2
- package/dist/components/p-B4RQoNmL.js +2 -0
- package/dist/components/p-B4RQoNmL.js.map +1 -0
- package/dist/components/p-B8C_yfLQ.js +2 -0
- package/dist/components/p-B8C_yfLQ.js.map +1 -0
- package/dist/components/{p-Di-ThR90.js → p-BJUcsBHt.js} +2 -2
- package/dist/components/p-BJUcsBHt.js.map +1 -0
- package/dist/components/{p-C0sq948W.js → p-BTo4pNdp.js} +2 -2
- package/dist/components/p-Bet_UjML.js +2 -0
- package/dist/components/{p-BFWC17em.js.map → p-Bet_UjML.js.map} +1 -1
- package/dist/components/{p-2br9YDbG.js → p-BkwBtZs3.js} +2 -2
- package/dist/components/{p-CZMEhdlA.js → p-CKnoWZd9.js} +2 -2
- package/dist/components/p-CKnoWZd9.js.map +1 -0
- package/dist/components/p-CLn7QnE0.js +2 -0
- package/dist/components/p-CLn7QnE0.js.map +1 -0
- package/dist/components/{p-Bx1G7P6W.js → p-CPPAndX2.js} +2 -2
- package/dist/components/{p-Di4HBckb.js → p-CS12e52R.js} +2 -2
- package/dist/components/{p-BSOZXagj.js → p-CZZYGqKz.js} +2 -2
- package/dist/components/p-C_0Q8Cnp.js +2 -0
- package/dist/components/p-C_0Q8Cnp.js.map +1 -0
- package/dist/components/{p-t9Ei1kHP.js → p-CxyjoTN1.js} +2 -2
- package/dist/components/p-CyoHRqy6.js +2 -0
- package/dist/components/p-CyoHRqy6.js.map +1 -0
- package/dist/components/p-DBJ2I3mH.js +2 -0
- package/dist/components/p-DBJ2I3mH.js.map +1 -0
- package/dist/components/p-DM-95BX1.js +2 -0
- package/dist/components/p-DM-95BX1.js.map +1 -0
- package/dist/components/p-DZAtgSZo.js +2 -0
- package/dist/components/p-DZAtgSZo.js.map +1 -0
- package/dist/components/{p--KbMQblZ.js → p-Dh4q5TSS.js} +2 -2
- package/dist/components/{p-DIsDiGcp.js → p-DhsO0939.js} +2 -2
- package/dist/components/p-DhsO0939.js.map +1 -0
- package/dist/components/{p-CiwdnKKp.js → p-DrDHC7V6.js} +2 -2
- package/dist/components/{p-BZAEZENv.js → p-DsbhBb5F.js} +2 -2
- package/dist/components/p-DuNZGFkV.js +2 -0
- package/dist/components/p-DuNZGFkV.js.map +1 -0
- package/dist/components/{p-B1pWGQn1.js → p-P_4vE1ub.js} +2 -2
- package/dist/docs/components.json +1647 -1435
- package/dist/framework/select-multi-value-accessor.js +3 -3
- package/dist/lib/toast/index.d.ts +2 -0
- package/dist/lib/toast/index.js +158 -0
- package/dist/lib/toast/index.js.map +7 -0
- package/dist/lib/toast/toast-manager.d.ts +3 -0
- package/dist/lib/toast/toast-types.d.ts +85 -0
- package/dist/mcp-data/registry/agent-activity.json +1 -1
- package/dist/mcp-data/registry/agent-response.json +3 -3
- 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/app-shell.json +1 -1
- package/dist/mcp-data/registry/attachment-list.json +1 -1
- package/dist/mcp-data/registry/avatar.json +20 -2
- package/dist/mcp-data/registry/badge.json +1 -1
- package/dist/mcp-data/registry/bar-nav.json +2 -2
- package/dist/mcp-data/registry/button-filled.json +1 -1
- package/dist/mcp-data/registry/button-unfilled.json +3 -3
- package/dist/mcp-data/registry/card-data-viz-donut.json +2 -2
- package/dist/mcp-data/registry/card-setting.json +99 -13
- package/dist/mcp-data/registry/card-shell-data-viz.json +8 -8
- 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 +2 -2
- package/dist/mcp-data/registry/conversation-list-item.json +22 -4
- package/dist/mcp-data/registry/conversation-list-section.json +2 -2
- package/dist/mcp-data/registry/conversation-list.json +2 -2
- package/dist/mcp-data/registry/divider.json +5 -5
- 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 +2 -2
- package/dist/mcp-data/registry/menu.json +18 -2
- package/dist/mcp-data/registry/message-bubble.json +7 -7
- package/dist/mcp-data/registry/message-composer.json +3 -3
- package/dist/mcp-data/registry/message-scroller.json +3 -3
- package/dist/mcp-data/registry/message.json +7 -6
- package/dist/mcp-data/registry/modal.json +154 -24
- package/dist/mcp-data/registry/panel-nav.json +21 -3
- package/dist/mcp-data/registry/panel-sub-nav.json +2 -2
- package/dist/mcp-data/registry/panel-tool-header.json +2 -2
- package/dist/mcp-data/registry/panel-tool-search.json +1 -1
- package/dist/mcp-data/registry/panel-tools.json +2 -2
- package/dist/mcp-data/registry/radio.json +1 -1
- package/dist/mcp-data/registry/registry.json +403 -141
- package/dist/mcp-data/registry/select-multi.json +1 -1
- package/dist/mcp-data/registry/select.json +1 -1
- package/dist/mcp-data/registry/shell-gradient-picker.json +1 -1
- package/dist/mcp-data/registry/shell-gradient-swatch.json +1 -1
- package/dist/mcp-data/registry/skeleton.json +2 -2
- package/dist/mcp-data/registry/slider.json +2 -2
- package/dist/mcp-data/registry/swatch-picker.json +1 -1
- package/dist/mcp-data/registry/switch.json +2 -2
- package/dist/mcp-data/registry/tab-group.json +1 -1
- package/dist/mcp-data/registry/tag.json +4 -4
- package/dist/mcp-data/registry/text.json +2 -2
- package/dist/mcp-data/registry/toast.json +318 -0
- package/dist/mcp-data/registry/tooltip-data-viz.json +1 -1
- package/dist/mcp-data/registry/tooltip.json +1 -1
- package/dist/react/components.d.ts +1 -2
- package/dist/react/components.js +1 -2
- package/dist/react/ds-card-setting.d.ts +2 -2
- package/dist/react/ds-card-setting.js +1 -1
- package/dist/react/ds-menu.d.ts +1 -0
- package/dist/react/ds-menu.js +1 -0
- package/dist/react/ds-modal.d.ts +3 -2
- package/dist/react/ds-modal.js +4 -1
- package/dist/react/ds-toast.d.ts +14 -0
- package/dist/react/ds-toast.js +16 -0
- package/dist/types/components/Avatar/Avatar.d.ts +3 -0
- package/dist/types/components/BarNav/BarNav.d.ts +2 -0
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +2 -0
- package/dist/types/components/CardSetting/CardSetting.d.ts +9 -6
- package/dist/types/components/CardSetting/index.d.ts +1 -1
- package/dist/types/components/ConversationListItem/ConversationListItem.d.ts +2 -0
- package/dist/types/components/Menu/Menu.d.ts +6 -0
- package/dist/types/components/MessageBubble/MessageBubble.d.ts +1 -1
- package/dist/types/components/MessageScroller/MessageScroller.d.ts +4 -0
- package/dist/types/components/Modal/Modal.d.ts +21 -18
- package/dist/types/components/PanelNav/PanelNav.d.ts +2 -0
- package/dist/types/components/Toast/Toast.d.ts +106 -0
- package/dist/types/components/Toast/index.d.ts +2 -0
- package/dist/types/components.d.ts +180 -186
- package/dist/types/toast/index.d.ts +3 -0
- package/dist/types/toast/toast-manager.d.ts +4 -0
- package/dist/types/toast/toast-types.d.ts +86 -0
- package/package.json +19 -18
- package/dist/angular/ds-banner.d.ts +0 -15
- package/dist/angular/ds-card.d.ts +0 -12
- package/dist/angular/ds-card.js +0 -38
- package/dist/components/ds-banner.d.ts +0 -11
- package/dist/components/ds-banner.js +0 -2
- package/dist/components/ds-banner.js.map +0 -1
- package/dist/components/ds-card.js +0 -2
- package/dist/components/ds-card.js.map +0 -1
- package/dist/components/p-41UAx2eq.js +0 -2
- package/dist/components/p-41UAx2eq.js.map +0 -1
- package/dist/components/p-B7NbIYjS.js +0 -2
- package/dist/components/p-B7NbIYjS.js.map +0 -1
- package/dist/components/p-BEQB8EnB.js +0 -2
- package/dist/components/p-BEQB8EnB.js.map +0 -1
- package/dist/components/p-BFWC17em.js +0 -2
- package/dist/components/p-BO6C8abO.js +0 -2
- package/dist/components/p-BO6C8abO.js.map +0 -1
- package/dist/components/p-CC1C8s6m.js +0 -2
- package/dist/components/p-CC1C8s6m.js.map +0 -1
- package/dist/components/p-CZMEhdlA.js.map +0 -1
- package/dist/components/p-CnM9SW_8.js +0 -2
- package/dist/components/p-CnM9SW_8.js.map +0 -1
- package/dist/components/p-CuKn9I5f.js +0 -2
- package/dist/components/p-CuKn9I5f.js.map +0 -1
- package/dist/components/p-DFMM60My.js +0 -2
- package/dist/components/p-DFMM60My.js.map +0 -1
- package/dist/components/p-DIsDiGcp.js.map +0 -1
- package/dist/components/p-Di-ThR90.js.map +0 -1
- package/dist/components/p-drBA73M_.js +0 -2
- package/dist/components/p-drBA73M_.js.map +0 -1
- package/dist/mcp-data/registry/banner.json +0 -206
- package/dist/mcp-data/registry/card.json +0 -126
- package/dist/react/ds-banner.d.ts +0 -12
- package/dist/react/ds-banner.js +0 -12
- package/dist/react/ds-card.d.ts +0 -9
- package/dist/react/ds-card.js +0 -12
- package/dist/types/components/Banner/Banner.d.ts +0 -31
- package/dist/types/components/Card/Card.d.ts +0 -21
- package/dist/types/components/Card/index.d.ts +0 -2
- /package/dist/components/{p-Bo5wikia.js.map → p-0kEg-Z4f.js.map} +0 -0
- /package/dist/components/{p-C0sq948W.js.map → p-BTo4pNdp.js.map} +0 -0
- /package/dist/components/{p-2br9YDbG.js.map → p-BkwBtZs3.js.map} +0 -0
- /package/dist/components/{p-Bx1G7P6W.js.map → p-CPPAndX2.js.map} +0 -0
- /package/dist/components/{p-Di4HBckb.js.map → p-CS12e52R.js.map} +0 -0
- /package/dist/components/{p-BSOZXagj.js.map → p-CZZYGqKz.js.map} +0 -0
- /package/dist/components/{p-t9Ei1kHP.js.map → p-CxyjoTN1.js.map} +0 -0
- /package/dist/components/{p--KbMQblZ.js.map → p-Dh4q5TSS.js.map} +0 -0
- /package/dist/components/{p-CiwdnKKp.js.map → p-DrDHC7V6.js.map} +0 -0
- /package/dist/components/{p-BZAEZENv.js.map → p-DsbhBb5F.js.map} +0 -0
- /package/dist/components/{p-B1pWGQn1.js.map → p-P_4vE1ub.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": "10.0.0",
|
|
5
5
|
"kind": "components",
|
|
6
6
|
"entries": [
|
|
7
7
|
{
|
|
@@ -564,6 +564,10 @@
|
|
|
564
564
|
"type": "string",
|
|
565
565
|
"required": false
|
|
566
566
|
},
|
|
567
|
+
"iconColor": {
|
|
568
|
+
"type": "IconColor",
|
|
569
|
+
"required": false
|
|
570
|
+
},
|
|
567
571
|
"label": {
|
|
568
572
|
"type": "string | undefined",
|
|
569
573
|
"required": false
|
|
@@ -720,66 +724,6 @@
|
|
|
720
724
|
"text"
|
|
721
725
|
]
|
|
722
726
|
},
|
|
723
|
-
{
|
|
724
|
-
"id": "component:ds-banner",
|
|
725
|
-
"tag": "ds-banner",
|
|
726
|
-
"name": "banner",
|
|
727
|
-
"title": "Banner",
|
|
728
|
-
"summary": "Intent-colored message bar. Supports floating toast mode with auto-dismiss and fade-out animation.",
|
|
729
|
-
"intentStatus": "migration-pending",
|
|
730
|
-
"intent": null,
|
|
731
|
-
"api": {
|
|
732
|
-
"props": {
|
|
733
|
-
"contrast": {
|
|
734
|
-
"type": "BannerContrast",
|
|
735
|
-
"required": false
|
|
736
|
-
},
|
|
737
|
-
"dismissLabel": {
|
|
738
|
-
"type": "string",
|
|
739
|
-
"required": false
|
|
740
|
-
},
|
|
741
|
-
"floating": {
|
|
742
|
-
"type": "boolean",
|
|
743
|
-
"required": false
|
|
744
|
-
},
|
|
745
|
-
"header": {
|
|
746
|
-
"type": "boolean",
|
|
747
|
-
"required": false
|
|
748
|
-
},
|
|
749
|
-
"intent": {
|
|
750
|
-
"type": "BannerIntent",
|
|
751
|
-
"required": false
|
|
752
|
-
},
|
|
753
|
-
"message": {
|
|
754
|
-
"type": "string",
|
|
755
|
-
"required": false
|
|
756
|
-
},
|
|
757
|
-
"showDismiss": {
|
|
758
|
-
"type": "boolean",
|
|
759
|
-
"required": false
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
"events": [
|
|
763
|
-
{
|
|
764
|
-
"name": "dsDismiss",
|
|
765
|
-
"detail": "void"
|
|
766
|
-
}
|
|
767
|
-
],
|
|
768
|
-
"slots": []
|
|
769
|
-
},
|
|
770
|
-
"exports": {
|
|
771
|
-
"customElement": "ds-banner",
|
|
772
|
-
"react": "DsBanner",
|
|
773
|
-
"angular": "DsBanner"
|
|
774
|
-
},
|
|
775
|
-
"dependencies": [
|
|
776
|
-
"@ds-mo/ui",
|
|
777
|
-
"@ds-mo/tokens"
|
|
778
|
-
],
|
|
779
|
-
"componentDependencies": [
|
|
780
|
-
"text"
|
|
781
|
-
]
|
|
782
|
-
},
|
|
783
727
|
{
|
|
784
728
|
"id": "component:ds-bar-nav",
|
|
785
729
|
"tag": "ds-bar-nav",
|
|
@@ -1288,45 +1232,6 @@
|
|
|
1288
1232
|
"text"
|
|
1289
1233
|
]
|
|
1290
1234
|
},
|
|
1291
|
-
{
|
|
1292
|
-
"id": "component:ds-card",
|
|
1293
|
-
"tag": "ds-card",
|
|
1294
|
-
"name": "card",
|
|
1295
|
-
"title": "Card",
|
|
1296
|
-
"summary": "General and settings-compatible card chrome — width + matching min-height tokens, header (title + actions slot), and a flex body that fills leftover space.",
|
|
1297
|
-
"intentStatus": "migration-pending",
|
|
1298
|
-
"intent": null,
|
|
1299
|
-
"api": {
|
|
1300
|
-
"props": {
|
|
1301
|
-
"appearance": {
|
|
1302
|
-
"type": "CardAppearance",
|
|
1303
|
-
"required": false
|
|
1304
|
-
},
|
|
1305
|
-
"cardWidth": {
|
|
1306
|
-
"type": "CardWidth",
|
|
1307
|
-
"required": false
|
|
1308
|
-
},
|
|
1309
|
-
"heading": {
|
|
1310
|
-
"type": "string",
|
|
1311
|
-
"required": true
|
|
1312
|
-
}
|
|
1313
|
-
},
|
|
1314
|
-
"events": [],
|
|
1315
|
-
"slots": []
|
|
1316
|
-
},
|
|
1317
|
-
"exports": {
|
|
1318
|
-
"customElement": "ds-card",
|
|
1319
|
-
"react": "DsCard",
|
|
1320
|
-
"angular": "DsCard"
|
|
1321
|
-
},
|
|
1322
|
-
"dependencies": [
|
|
1323
|
-
"@ds-mo/ui",
|
|
1324
|
-
"@ds-mo/tokens"
|
|
1325
|
-
],
|
|
1326
|
-
"componentDependencies": [
|
|
1327
|
-
"text"
|
|
1328
|
-
]
|
|
1329
|
-
},
|
|
1330
1235
|
{
|
|
1331
1236
|
"id": "component:ds-card-data-viz-donut",
|
|
1332
1237
|
"tag": "ds-card-data-viz-donut",
|
|
@@ -1377,9 +1282,95 @@
|
|
|
1377
1282
|
"tag": "ds-card-setting",
|
|
1378
1283
|
"name": "card-setting",
|
|
1379
1284
|
"title": "CardSetting",
|
|
1380
|
-
"summary": "
|
|
1381
|
-
"intentStatus": "
|
|
1382
|
-
"intent":
|
|
1285
|
+
"summary": "Persistent settings-section surface with a heading, controlled view/edit chrome, fixed edit-save-cancel actions, and application-owned body content.",
|
|
1286
|
+
"intentStatus": "complete",
|
|
1287
|
+
"intent": {
|
|
1288
|
+
"audience": "general",
|
|
1289
|
+
"status": "stable",
|
|
1290
|
+
"summary": "Persistent settings-section surface with a heading, controlled view/edit chrome, fixed edit-save-cancel actions, and application-owned body content.",
|
|
1291
|
+
"useWhen": [
|
|
1292
|
+
"A settings page needs a persistent section that switches between read-only and editable content.",
|
|
1293
|
+
"The parent can control one active editing section and owns validation, persistence, cancellation, and body content.",
|
|
1294
|
+
"The section uses the standard Pencil, Save, and Cancel header workflow."
|
|
1295
|
+
],
|
|
1296
|
+
"avoidWhen": [
|
|
1297
|
+
"The surface contains a chart, legend, metric visualization, or other data-visualization composition.",
|
|
1298
|
+
"The content is a general-purpose read-only card with no settings edit workflow.",
|
|
1299
|
+
"The task must block the rest of the interface or requires confirmation in a modal.",
|
|
1300
|
+
"Several sections must remain editable at the same time.",
|
|
1301
|
+
"The header requires custom actions beyond the fixed edit-save-cancel workflow."
|
|
1302
|
+
],
|
|
1303
|
+
"alternatives": [
|
|
1304
|
+
{
|
|
1305
|
+
"when": "The surface contains a chart or specialized data-visualization composition.",
|
|
1306
|
+
"component": "component:ds-card-shell-data-viz",
|
|
1307
|
+
"reason": "CardShellDataViz owns the independently evolving data-visualization shell contract."
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"when": "The task must block the interface for one focused decision or short workflow.",
|
|
1311
|
+
"component": "component:ds-modal",
|
|
1312
|
+
"reason": "Modal provides top-layer focus containment and explicit blocking-task dismissal."
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"when": "Only one labeled form control is needed without a section surface.",
|
|
1316
|
+
"component": "component:ds-field",
|
|
1317
|
+
"reason": "Field provides the control label, supporting copy, and validation relationship without card chrome."
|
|
1318
|
+
}
|
|
1319
|
+
],
|
|
1320
|
+
"commonlyComposedWith": [
|
|
1321
|
+
"component:ds-field",
|
|
1322
|
+
"component:ds-input",
|
|
1323
|
+
"component:ds-select",
|
|
1324
|
+
"component:ds-switch",
|
|
1325
|
+
"component:ds-text"
|
|
1326
|
+
],
|
|
1327
|
+
"accessibility": [
|
|
1328
|
+
"Provide a concise heading that identifies the settings section; CardSetting renders it as an h2.",
|
|
1329
|
+
"Edit, Save, and Cancel are icon-only controls with localized accessible labels supplied by the matching label props. When several sections share a page, include the section name in each label.",
|
|
1330
|
+
"The owner must expose persistent field labels, descriptions, and validation messages inside the body.",
|
|
1331
|
+
"Save must not remove validation errors or exit editing until the parent accepts the action and updates the controlled editing state.",
|
|
1332
|
+
"Cancel must restore or retain the last persisted values according to product policy before the parent exits editing.",
|
|
1333
|
+
"Keep only one CardSetting in edit mode so keyboard and screen-reader users have one unambiguous set of Save and Cancel actions.",
|
|
1334
|
+
"When another section requests editing, resolve dirty changes in the current section before switching; never silently discard user input."
|
|
1335
|
+
],
|
|
1336
|
+
"states": [
|
|
1337
|
+
"The editing property is controlled; CardSetting never changes it internally.",
|
|
1338
|
+
"dsAction emits edit, save, or cancel with the original pointer event. The parent decides whether and when editing changes.",
|
|
1339
|
+
"When another section requests edit, the parent keeps one active section and resolves any dirty current section before switching.",
|
|
1340
|
+
"The parent owns read-only versus editable body composition, dirty state, validation, persistence, loading, success, and error consequences.",
|
|
1341
|
+
"A save request keeps the section editing while validation or persistence is pending; the parent exits only after success.",
|
|
1342
|
+
"A cancel request does not persist changes; the parent restores its chosen value snapshot and exits editing."
|
|
1343
|
+
],
|
|
1344
|
+
"responsiveBehavior": [
|
|
1345
|
+
"Choose sm, md, or lg from the parent layout; each width uses its matching token-based minimum height.",
|
|
1346
|
+
"The surface never exceeds its parent width, while the parent owns wrapping, columns, stacking, and breakpoint changes.",
|
|
1347
|
+
"At narrow widths, keep the fixed header actions visible and let application-owned body layouts collapse before allowing horizontal overflow."
|
|
1348
|
+
],
|
|
1349
|
+
"frameworkCaveats": {
|
|
1350
|
+
"customElements": [
|
|
1351
|
+
"Set editing as a JavaScript property and inspect dsAction.detail.action before updating the controlled state.",
|
|
1352
|
+
"When one section emits edit, update every sibling CardSetting so only the requested section remains editing."
|
|
1353
|
+
],
|
|
1354
|
+
"react": [
|
|
1355
|
+
"Pass editing from parent state and inspect onDsAction event detail; do not treat Save as successful until validation and persistence complete.",
|
|
1356
|
+
"Store one active section id and derive each CardSetting editing prop from that id."
|
|
1357
|
+
],
|
|
1358
|
+
"angular": [
|
|
1359
|
+
"Bind [editing] and inspect $event.detail.action from (dsAction); do not treat Save as successful until validation and persistence complete.",
|
|
1360
|
+
"Store one active section id and derive each CardSetting editing binding from that id."
|
|
1361
|
+
]
|
|
1362
|
+
},
|
|
1363
|
+
"references": [
|
|
1364
|
+
{
|
|
1365
|
+
"label": "Storybook controlled and single-edit examples",
|
|
1366
|
+
"path": "src/wc/components/CardSetting/CardSetting.stories.ts"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"label": "Cross-browser shell and action coverage",
|
|
1370
|
+
"path": "tests/e2e/card-setting.spec.ts"
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
},
|
|
1383
1374
|
"api": {
|
|
1384
1375
|
"props": {
|
|
1385
1376
|
"cancelLabel": {
|
|
@@ -1409,8 +1400,8 @@
|
|
|
1409
1400
|
},
|
|
1410
1401
|
"events": [
|
|
1411
1402
|
{
|
|
1412
|
-
"name": "
|
|
1413
|
-
"detail": "
|
|
1403
|
+
"name": "dsAction",
|
|
1404
|
+
"detail": "CardSettingActionDetail"
|
|
1414
1405
|
}
|
|
1415
1406
|
],
|
|
1416
1407
|
"slots": []
|
|
@@ -1427,7 +1418,7 @@
|
|
|
1427
1418
|
"componentDependencies": [
|
|
1428
1419
|
"button-filled",
|
|
1429
1420
|
"button-unfilled",
|
|
1430
|
-
"
|
|
1421
|
+
"text"
|
|
1431
1422
|
]
|
|
1432
1423
|
},
|
|
1433
1424
|
{
|
|
@@ -1435,27 +1426,27 @@
|
|
|
1435
1426
|
"tag": "ds-card-shell-data-viz",
|
|
1436
1427
|
"name": "card-shell-data-viz",
|
|
1437
1428
|
"title": "CardShellDataViz",
|
|
1438
|
-
"summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts
|
|
1429
|
+
"summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts evolve independently from settings sections.",
|
|
1439
1430
|
"intentStatus": "complete",
|
|
1440
1431
|
"intent": {
|
|
1441
1432
|
"audience": "specialized",
|
|
1442
1433
|
"status": "experimental",
|
|
1443
|
-
"summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts
|
|
1434
|
+
"summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts evolve independently from settings sections.",
|
|
1444
1435
|
"useWhen": [
|
|
1445
1436
|
"A card contains a chart, data-visualization legend, metric visualization, or a specialized data-viz composition.",
|
|
1446
1437
|
"A data-visualization card needs a heading and optional header actions while retaining a flexible body for its composing component.",
|
|
1447
|
-
"Several chart-specific cards need one shell boundary that can evolve without changing
|
|
1438
|
+
"Several chart-specific cards need one shell boundary that can evolve without changing settings sections."
|
|
1448
1439
|
],
|
|
1449
1440
|
"avoidWhen": [
|
|
1450
1441
|
"The card contains settings or editable form content; use the settings card composition.",
|
|
1451
|
-
"The surface is ordinary content without data visualization; use
|
|
1442
|
+
"The surface is ordinary content without data visualization; use a product-owned layout rather than data-viz card chrome.",
|
|
1452
1443
|
"The shell would own chart-specific layout, hover synchronization, legends, or empty-state policy; keep those in the composing data-viz card."
|
|
1453
1444
|
],
|
|
1454
1445
|
"alternatives": [
|
|
1455
1446
|
{
|
|
1456
|
-
"when": "The
|
|
1457
|
-
"component": "component:ds-card",
|
|
1458
|
-
"reason": "
|
|
1447
|
+
"when": "The surface contains editable settings rather than data visualization.",
|
|
1448
|
+
"component": "component:ds-card-setting",
|
|
1449
|
+
"reason": "CardSetting owns the persistent controlled settings-section workflow."
|
|
1459
1450
|
},
|
|
1460
1451
|
{
|
|
1461
1452
|
"when": "The composition is the standard donut chart plus synchronized legend.",
|
|
@@ -2180,7 +2171,7 @@
|
|
|
2180
2171
|
],
|
|
2181
2172
|
"states": [
|
|
2182
2173
|
"Rows reuse the md choice-item label/subtext recipe used by Menu, including 6px row padding, 2px text inset, and the shared content gap. The enclosing conversation-list scroll region supplies the larger 8px outer container padding.",
|
|
2183
|
-
"Busy and error are generic channel-neutral states; the owning product supplies suitable status wording.",
|
|
2174
|
+
"Busy and error are generic channel-neutral states; the owning product supplies suitable status wording. A busy row pairs its body-small status with the sm 16px Loader at an 8px gap.",
|
|
2184
2175
|
"Any positive unreadCount renders one dot on the title row rather than a visible counter; the accessible row name may still announce the exact unread quantity.",
|
|
2185
2176
|
"Hover and press use the shared interaction hover and pressed overlays. Only the selected conversation uses the persistent active fill.",
|
|
2186
2177
|
"The title uses body-medium emphasis, not title-small, and the body-small preview truncates after one line. Unread titles use primary foreground; read titles use secondary foreground.",
|
|
@@ -2198,6 +2189,10 @@
|
|
|
2198
2189
|
},
|
|
2199
2190
|
"api": {
|
|
2200
2191
|
"props": {
|
|
2192
|
+
"actionsOpen": {
|
|
2193
|
+
"type": "boolean",
|
|
2194
|
+
"required": false
|
|
2195
|
+
},
|
|
2201
2196
|
"conversationId": {
|
|
2202
2197
|
"type": "string",
|
|
2203
2198
|
"required": false
|
|
@@ -2342,9 +2337,9 @@
|
|
|
2342
2337
|
],
|
|
2343
2338
|
"alternatives": [
|
|
2344
2339
|
{
|
|
2345
|
-
"when": "
|
|
2346
|
-
"component": "component:ds-card",
|
|
2347
|
-
"reason": "
|
|
2340
|
+
"when": "Editable settings need an enclosing section surface and outer boundary.",
|
|
2341
|
+
"component": "component:ds-card-setting",
|
|
2342
|
+
"reason": "CardSetting owns settings-section chrome, structure, and edge treatment."
|
|
2348
2343
|
},
|
|
2349
2344
|
{
|
|
2350
2345
|
"when": "A static compact label is being used to name a group.",
|
|
@@ -2353,7 +2348,7 @@
|
|
|
2353
2348
|
}
|
|
2354
2349
|
],
|
|
2355
2350
|
"commonlyComposedWith": [
|
|
2356
|
-
"component:ds-card",
|
|
2351
|
+
"component:ds-card-setting",
|
|
2357
2352
|
"component:ds-menu",
|
|
2358
2353
|
"component:ds-panel-sub-nav"
|
|
2359
2354
|
],
|
|
@@ -3322,6 +3317,10 @@
|
|
|
3322
3317
|
}
|
|
3323
3318
|
},
|
|
3324
3319
|
"events": [
|
|
3320
|
+
{
|
|
3321
|
+
"name": "dsAfterClose",
|
|
3322
|
+
"detail": "void"
|
|
3323
|
+
},
|
|
3325
3324
|
{
|
|
3326
3325
|
"name": "dsClose",
|
|
3327
3326
|
"detail": "void"
|
|
@@ -3362,12 +3361,12 @@
|
|
|
3362
3361
|
"tag": "ds-message",
|
|
3363
3362
|
"name": "message",
|
|
3364
3363
|
"title": "Message",
|
|
3365
|
-
"summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and accessory regions.",
|
|
3364
|
+
"summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and header, footer, or action accessory regions.",
|
|
3366
3365
|
"intentStatus": "complete",
|
|
3367
3366
|
"intent": {
|
|
3368
3367
|
"audience": "general",
|
|
3369
3368
|
"status": "experimental",
|
|
3370
|
-
"summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and accessory regions.",
|
|
3369
|
+
"summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and header, footer, or action accessory regions.",
|
|
3371
3370
|
"useWhen": [
|
|
3372
3371
|
"A transcript contains messages that need consistent incoming, outgoing, or system layout."
|
|
3373
3372
|
],
|
|
@@ -3383,10 +3382,11 @@
|
|
|
3383
3382
|
],
|
|
3384
3383
|
"accessibility": [
|
|
3385
3384
|
"Author and time metadata remain textual when they are necessary to interpret the transcript.",
|
|
3386
|
-
"Delivery failure
|
|
3385
|
+
"Delivery failure uses negative Failed to send text in the footer while the message bubble keeps its normal outgoing treatment."
|
|
3387
3386
|
],
|
|
3388
3387
|
"states": [
|
|
3389
3388
|
"Pass an ISO timestamp. Message keeps the full value in dateTime and formats the visible value as a localized time; applications must not render a raw ISO string as visible transcript metadata.",
|
|
3389
|
+
"Visible author, bubble content, and timestamp or delivery footer use consistent 4px vertical gaps.",
|
|
3390
3390
|
"Grouping joins adjacent bubble corners, shows the incoming author only at the start, and shows delivery/time metadata only at the end. Outgoing author remains in the accessible message label without repeating a visible You label.",
|
|
3391
3391
|
"Set showAuthor false only when the product makes participant and assistant roles visually self-evident; continue passing author so the accessible message label remains specific."
|
|
3392
3392
|
],
|
|
@@ -3467,7 +3467,7 @@
|
|
|
3467
3467
|
"status": "experimental",
|
|
3468
3468
|
"summary": "Visible message content surface with a body-medium default, separated from message-row direction and metadata.",
|
|
3469
3469
|
"useWhen": [
|
|
3470
|
-
"Message content needs a primary, secondary,
|
|
3470
|
+
"Message content needs a primary, secondary, or ghost surface within a Message row.",
|
|
3471
3471
|
"Plain incoming or outgoing message copy should use the shared body-medium regular typography recipe without application styling."
|
|
3472
3472
|
],
|
|
3473
3473
|
"avoidWhen": [
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
"pattern:conversation"
|
|
3483
3483
|
],
|
|
3484
3484
|
"accessibility": [
|
|
3485
|
-
"Surface styling does not add semantics;
|
|
3485
|
+
"Surface styling does not add semantics; failed delivery belongs in Message metadata below the unchanged bubble rather than in an error bubble treatment."
|
|
3486
3486
|
],
|
|
3487
3487
|
"responsiveBehavior": [
|
|
3488
3488
|
"The bubble wraps content and allows wide ghost responses to use more transcript width."
|
|
@@ -3710,11 +3710,112 @@
|
|
|
3710
3710
|
"tag": "ds-modal",
|
|
3711
3711
|
"name": "modal",
|
|
3712
3712
|
"title": "Modal",
|
|
3713
|
-
"summary": "
|
|
3714
|
-
"intentStatus": "
|
|
3715
|
-
"intent":
|
|
3713
|
+
"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.",
|
|
3714
|
+
"intentStatus": "complete",
|
|
3715
|
+
"intent": {
|
|
3716
|
+
"audience": "general",
|
|
3717
|
+
"status": "stable",
|
|
3718
|
+
"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.",
|
|
3719
|
+
"useWhen": [
|
|
3720
|
+
"The user must confirm or cancel one focused decision before returning to the underlying interface.",
|
|
3721
|
+
"A short blocking task or compact form needs dialog semantics, focus containment, and explicit completion actions.",
|
|
3722
|
+
"The content can be safely dismissed through Close, Escape, or the backdrop."
|
|
3723
|
+
],
|
|
3724
|
+
"avoidWhen": [
|
|
3725
|
+
"The message is non-blocking feedback or a transient status update.",
|
|
3726
|
+
"The interaction is a contextual list of commands anchored to a trigger.",
|
|
3727
|
+
"The workflow is multi-step, long-form, or requires substantial navigation.",
|
|
3728
|
+
"Dismissal would lose work or leave an irreversible operation in an unsafe state.",
|
|
3729
|
+
"A second modal would be opened over an existing modal."
|
|
3730
|
+
],
|
|
3731
|
+
"alternatives": [
|
|
3732
|
+
{
|
|
3733
|
+
"when": "The user needs non-blocking feedback or a transient status message.",
|
|
3734
|
+
"component": "component:ds-toast",
|
|
3735
|
+
"reason": "Toast communicates transient status without trapping focus or blocking the page."
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"when": "A trigger reveals a short contextual list of commands.",
|
|
3739
|
+
"component": "component:ds-menu",
|
|
3740
|
+
"reason": "Menu provides anchored command semantics without creating a blocking dialog."
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"when": "Editable settings should remain visible without blocking the rest of the interface.",
|
|
3744
|
+
"component": "component:ds-card-setting",
|
|
3745
|
+
"reason": "CardSetting provides a persistent controlled settings workflow without modal focus containment."
|
|
3746
|
+
}
|
|
3747
|
+
],
|
|
3748
|
+
"commonlyComposedWith": [
|
|
3749
|
+
"component:ds-button-filled",
|
|
3750
|
+
"component:ds-button-unfilled",
|
|
3751
|
+
"component:ds-field",
|
|
3752
|
+
"component:ds-text"
|
|
3753
|
+
],
|
|
3754
|
+
"accessibility": [
|
|
3755
|
+
"Provide a concise visible heading; the component uses it as the dialog's accessible name.",
|
|
3756
|
+
"Give the primary explanatory copy a stable id and pass it through aria-describedby so assistive technology receives the decision context.",
|
|
3757
|
+
"Opening the native modal dialog moves focus to the header Close action, traps Tab navigation inside the top layer, and makes outside content inert.",
|
|
3758
|
+
"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.",
|
|
3759
|
+
"After exit motion completes, the native dialog leaves the top layer, focus returns to the previously focused element, and dsAfterClose emits.",
|
|
3760
|
+
"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.",
|
|
3761
|
+
"Use negative intent for a filled destructive action and state the irreversible consequence in the content.",
|
|
3762
|
+
"Do not open a modal from another modal; keep one blocking decision in focus at a time."
|
|
3763
|
+
],
|
|
3764
|
+
"states": [
|
|
3765
|
+
"The owner opens the modal through the open property and responds to the typed dsClose detail for application state synchronization or dismissal analytics.",
|
|
3766
|
+
"The component mutates open to false for Close, Escape, and backdrop dismissal while retaining its rendered surface through exit motion.",
|
|
3767
|
+
"The default slot owns task content; the named footer slot is optional and is hidden when no actions are assigned.",
|
|
3768
|
+
"Primary actions use a bold filled button with semantic intent. Secondary and cancel actions use bordered label-only unfilled buttons.",
|
|
3769
|
+
"The owner performs save, delete, cancel, and other product consequences before or while closing the modal."
|
|
3770
|
+
],
|
|
3771
|
+
"responsiveBehavior": [
|
|
3772
|
+
"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.",
|
|
3773
|
+
"Content scrolls independently when needed while the 64px header and optional 64px footer remain fixed.",
|
|
3774
|
+
"Avoid layouts whose minimum content width exceeds the narrow viewport clamp.",
|
|
3775
|
+
"The native top layer escapes transformed ancestors, clipping containers, and application stacking contexts without moving slotted content."
|
|
3776
|
+
],
|
|
3777
|
+
"frameworkCaveats": {
|
|
3778
|
+
"customElements": [
|
|
3779
|
+
"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.",
|
|
3780
|
+
"Connect the most relevant slotted explanatory text through aria-describedby.",
|
|
3781
|
+
"Footer actions are slotted application-owned controls and must implement their own product consequence."
|
|
3782
|
+
],
|
|
3783
|
+
"react": [
|
|
3784
|
+
"Pass open to DsModal, inspect onDsClose event detail, and use onDsAfterClose only for cleanup after exit motion and focus restoration.",
|
|
3785
|
+
"Connect the most relevant slotted explanatory text through aria-describedby.",
|
|
3786
|
+
"Assign footer controls with slot=\"footer\" and handle each action before updating open."
|
|
3787
|
+
],
|
|
3788
|
+
"angular": [
|
|
3789
|
+
"Bind [open], inspect $event.detail from (dsClose), and use (dsAfterClose) only for cleanup after exit motion and focus restoration.",
|
|
3790
|
+
"Connect the most relevant slotted explanatory text through aria-describedby.",
|
|
3791
|
+
"Assign footer controls with slot=\"footer\" and handle each action before updating open."
|
|
3792
|
+
]
|
|
3793
|
+
},
|
|
3794
|
+
"references": [
|
|
3795
|
+
{
|
|
3796
|
+
"label": "Storybook confirmation and footer examples",
|
|
3797
|
+
"path": "src/wc/components/Modal/Modal.stories.ts"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"label": "Cross-browser focus, dismissal, geometry, and accessibility coverage",
|
|
3801
|
+
"path": "tests/e2e/accessibility-overlays.spec.ts"
|
|
3802
|
+
},
|
|
3803
|
+
{
|
|
3804
|
+
"label": "Reduced-motion overlay coverage",
|
|
3805
|
+
"path": "tests/e2e/reduced-motion.spec.ts"
|
|
3806
|
+
}
|
|
3807
|
+
]
|
|
3808
|
+
},
|
|
3716
3809
|
"api": {
|
|
3717
3810
|
"props": {
|
|
3811
|
+
"ariaDescribedby": {
|
|
3812
|
+
"type": "string | undefined",
|
|
3813
|
+
"required": false
|
|
3814
|
+
},
|
|
3815
|
+
"closeAriaLabel": {
|
|
3816
|
+
"type": "string",
|
|
3817
|
+
"required": false
|
|
3818
|
+
},
|
|
3718
3819
|
"heading": {
|
|
3719
3820
|
"type": "string",
|
|
3720
3821
|
"required": true
|
|
@@ -3726,16 +3827,16 @@
|
|
|
3726
3827
|
"open": {
|
|
3727
3828
|
"type": "boolean",
|
|
3728
3829
|
"required": false
|
|
3729
|
-
},
|
|
3730
|
-
"subtitle": {
|
|
3731
|
-
"type": "string | undefined",
|
|
3732
|
-
"required": false
|
|
3733
3830
|
}
|
|
3734
3831
|
},
|
|
3735
3832
|
"events": [
|
|
3736
3833
|
{
|
|
3737
|
-
"name": "
|
|
3834
|
+
"name": "dsAfterClose",
|
|
3738
3835
|
"detail": "void"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"name": "dsClose",
|
|
3839
|
+
"detail": "ModalCloseDetail"
|
|
3739
3840
|
}
|
|
3740
3841
|
],
|
|
3741
3842
|
"slots": []
|
|
@@ -3750,6 +3851,7 @@
|
|
|
3750
3851
|
"@ds-mo/tokens"
|
|
3751
3852
|
],
|
|
3752
3853
|
"componentDependencies": [
|
|
3854
|
+
"button-unfilled",
|
|
3753
3855
|
"text"
|
|
3754
3856
|
]
|
|
3755
3857
|
},
|
|
@@ -3864,6 +3966,10 @@
|
|
|
3864
3966
|
"type": "string",
|
|
3865
3967
|
"required": false
|
|
3866
3968
|
},
|
|
3969
|
+
"accountMenuExpanded": {
|
|
3970
|
+
"type": "boolean",
|
|
3971
|
+
"required": false
|
|
3972
|
+
},
|
|
3867
3973
|
"activeId": {
|
|
3868
3974
|
"type": "string",
|
|
3869
3975
|
"required": false
|
|
@@ -4028,7 +4134,7 @@
|
|
|
4028
4134
|
}
|
|
4029
4135
|
],
|
|
4030
4136
|
"commonlyComposedWith": [
|
|
4031
|
-
"component:ds-card",
|
|
4137
|
+
"component:ds-card-setting",
|
|
4032
4138
|
"component:ds-text"
|
|
4033
4139
|
],
|
|
4034
4140
|
"accessibility": [
|
|
@@ -5494,7 +5600,7 @@
|
|
|
5494
5600
|
}
|
|
5495
5601
|
],
|
|
5496
5602
|
"commonlyComposedWith": [
|
|
5497
|
-
"component:ds-card",
|
|
5603
|
+
"component:ds-card-setting",
|
|
5498
5604
|
"component:ds-text",
|
|
5499
5605
|
"component:ds-icon"
|
|
5500
5606
|
],
|
|
@@ -6260,7 +6366,7 @@
|
|
|
6260
6366
|
}
|
|
6261
6367
|
],
|
|
6262
6368
|
"commonlyComposedWith": [
|
|
6263
|
-
"component:ds-card",
|
|
6369
|
+
"component:ds-card-setting",
|
|
6264
6370
|
"component:ds-text",
|
|
6265
6371
|
"component:ds-icon",
|
|
6266
6372
|
"component:ds-menu"
|
|
@@ -6411,7 +6517,7 @@
|
|
|
6411
6517
|
],
|
|
6412
6518
|
"commonlyComposedWith": [
|
|
6413
6519
|
"component:ds-icon",
|
|
6414
|
-
"component:ds-card",
|
|
6520
|
+
"component:ds-card-setting",
|
|
6415
6521
|
"component:ds-field",
|
|
6416
6522
|
"component:ds-button-filled"
|
|
6417
6523
|
],
|
|
@@ -6530,6 +6636,165 @@
|
|
|
6530
6636
|
],
|
|
6531
6637
|
"componentDependencies": []
|
|
6532
6638
|
},
|
|
6639
|
+
{
|
|
6640
|
+
"id": "component:ds-toast",
|
|
6641
|
+
"tag": "ds-toast",
|
|
6642
|
+
"name": "toast",
|
|
6643
|
+
"title": "Toast",
|
|
6644
|
+
"summary": "Application-level floating notification system with a global manager, queued bottom-end stack, anchored feedback, actions, promise states, priority announcements, pauseable timers, keyboard access, and swipe dismissal.",
|
|
6645
|
+
"intentStatus": "complete",
|
|
6646
|
+
"intent": {
|
|
6647
|
+
"audience": "general",
|
|
6648
|
+
"status": "stable",
|
|
6649
|
+
"summary": "Application-level floating notification system with a global manager, queued bottom-end stack, anchored feedback, actions, promise states, priority announcements, pauseable timers, keyboard access, and swipe dismissal.",
|
|
6650
|
+
"useWhen": [
|
|
6651
|
+
"A completed or failed operation needs brief non-blocking feedback without moving page content.",
|
|
6652
|
+
"An application needs one coordinated notification queue that can be triggered outside the current component tree.",
|
|
6653
|
+
"A short-lived undo or recovery action belongs directly with transient feedback.",
|
|
6654
|
+
"Contextual feedback such as Copy confirmation should appear near the control that caused it."
|
|
6655
|
+
],
|
|
6656
|
+
"avoidWhen": [
|
|
6657
|
+
"The message must remain visible as part of page content or contains information users need later.",
|
|
6658
|
+
"The user must make a decision before continuing; use Modal for a blocking workflow.",
|
|
6659
|
+
"Validation belongs to a specific field or form section; keep the error adjacent to that content.",
|
|
6660
|
+
"The notification would contain long prose, several actions, navigation, or a complete workflow.",
|
|
6661
|
+
"Repeated background events would create a noisy stream instead of one updated or deduplicated toast."
|
|
6662
|
+
],
|
|
6663
|
+
"alternatives": [
|
|
6664
|
+
{
|
|
6665
|
+
"when": "The user must respond before continuing or an irreversible action needs confirmation.",
|
|
6666
|
+
"component": "component:ds-modal",
|
|
6667
|
+
"reason": "Modal owns blocking focus containment and explicit decision actions."
|
|
6668
|
+
},
|
|
6669
|
+
{
|
|
6670
|
+
"when": "A form control needs persistent validation or supporting guidance.",
|
|
6671
|
+
"component": "component:ds-field",
|
|
6672
|
+
"reason": "Field keeps actionable feedback associated with the control that needs correction."
|
|
6673
|
+
},
|
|
6674
|
+
{
|
|
6675
|
+
"when": "A compact status must remain visible in the page hierarchy.",
|
|
6676
|
+
"component": "component:ds-tag",
|
|
6677
|
+
"reason": "Tag represents persistent static metadata rather than transient feedback."
|
|
6678
|
+
}
|
|
6679
|
+
],
|
|
6680
|
+
"commonlyComposedWith": [
|
|
6681
|
+
"component:ds-button-filled",
|
|
6682
|
+
"component:ds-button-unfilled",
|
|
6683
|
+
"component:ds-modal",
|
|
6684
|
+
"component:ds-field"
|
|
6685
|
+
],
|
|
6686
|
+
"accessibility": [
|
|
6687
|
+
"Mount one ds-toast near the application root. New notifications never move focus.",
|
|
6688
|
+
"Provide a concise title, description, or both. Do not place the only recovery instructions in an automatically expiring toast.",
|
|
6689
|
+
"Use low priority for ordinary feedback. Reserve high priority for urgent interruptions that warrant assertive announcement.",
|
|
6690
|
+
"F6 moves focus into the Notifications region; Escape dismisses the focused toast and focus returns to a surviving toast or the previous control.",
|
|
6691
|
+
"Timers pause while users hover, focus, swipe, or leave the document, preserving the remaining reading time.",
|
|
6692
|
+
"Use timeout 0 for feedback that must remain until explicitly dismissed. Keep action labels concise and uniquely understandable.",
|
|
6693
|
+
"Anchored feedback supplements the triggering control but does not replace its accessible name, state, or persistent result.",
|
|
6694
|
+
"Do not include secrets, customer PII, or sensitive operational details in transient notification text."
|
|
6695
|
+
],
|
|
6696
|
+
"states": [
|
|
6697
|
+
"The manager owns add, ID-based upsert, update, close, closeAll, and promise transitions. The component renders the manager snapshot.",
|
|
6698
|
+
"Loading promise records remain persistent until the same id updates to success or error and begins its resulting timeout.",
|
|
6699
|
+
"Only the newest records up to the limit are visible in the global stack. The collapsed trail insets each successive toast by 8px per side; hover or keyboard focus expands all visible records to full width. Older records remain mounted and inert until promoted.",
|
|
6700
|
+
"All timers pause together on hover, focus, touch swipe, window blur, or hidden-document state and resume from their exact remainder.",
|
|
6701
|
+
"Closing records remain rendered through exit motion before removal callbacks and dsToastRemove.",
|
|
6702
|
+
"One optional bordered unfilled action sits below the text at bottom-left, emits dsToastAction, and runs the supplied callback without dismissing automatically.",
|
|
6703
|
+
"Swipe state exposes movement and direction hooks; down and right are the default dismissal directions.",
|
|
6704
|
+
"Anchored records use trigger-relative positioning and do not consume the global stack limit."
|
|
6705
|
+
],
|
|
6706
|
+
"responsiveBehavior": [
|
|
6707
|
+
"The global stack stays at the viewport bottom-end with token-based inset and never exceeds the available viewport width.",
|
|
6708
|
+
"Anchored toasts flip on their placement axis and clamp to viewport padding when the preferred side does not fit.",
|
|
6709
|
+
"The owner does not create separate mobile and desktop managers; one queue preserves ordering across responsive layouts.",
|
|
6710
|
+
"Pointer swipe remains optional input. Close and action controls retain keyboard access through the notification region."
|
|
6711
|
+
],
|
|
6712
|
+
"frameworkCaveats": {
|
|
6713
|
+
"customElements": [
|
|
6714
|
+
"Import ds-toast once and call toastManager from @ds-mo/ui/toast. Assign a custom manager and swipeDirections through JavaScript properties.",
|
|
6715
|
+
"Mount one ds-toast per manager; a second connected viewport for the same manager remains inactive."
|
|
6716
|
+
],
|
|
6717
|
+
"react": [
|
|
6718
|
+
"Render one DsToast near the application root and import toastManager or createToastManager from @ds-mo/ui/toast.",
|
|
6719
|
+
"Pass custom manager, action callbacks, data, positioner anchors, and swipe directions as properties rather than string attributes."
|
|
6720
|
+
],
|
|
6721
|
+
"angular": [
|
|
6722
|
+
"Import DsToast once near the application root and import toastManager or createToastManager from @ds-mo/ui/toast.",
|
|
6723
|
+
"Use property binding for manager, action callbacks, data, positioner anchors, and swipeDirections."
|
|
6724
|
+
]
|
|
6725
|
+
},
|
|
6726
|
+
"references": [
|
|
6727
|
+
{
|
|
6728
|
+
"label": "Storybook examples",
|
|
6729
|
+
"path": "src/wc/components/Toast/Toast.stories.ts"
|
|
6730
|
+
},
|
|
6731
|
+
{
|
|
6732
|
+
"label": "Manager unit coverage",
|
|
6733
|
+
"path": "tests/toast-manager.test.ts"
|
|
6734
|
+
},
|
|
6735
|
+
{
|
|
6736
|
+
"label": "Cross-browser behavior coverage",
|
|
6737
|
+
"path": "tests/e2e/toast.spec.ts"
|
|
6738
|
+
}
|
|
6739
|
+
]
|
|
6740
|
+
},
|
|
6741
|
+
"api": {
|
|
6742
|
+
"props": {
|
|
6743
|
+
"closeLabel": {
|
|
6744
|
+
"type": "string",
|
|
6745
|
+
"required": false
|
|
6746
|
+
},
|
|
6747
|
+
"label": {
|
|
6748
|
+
"type": "string",
|
|
6749
|
+
"required": false
|
|
6750
|
+
},
|
|
6751
|
+
"limit": {
|
|
6752
|
+
"type": "number",
|
|
6753
|
+
"required": false
|
|
6754
|
+
},
|
|
6755
|
+
"manager": {
|
|
6756
|
+
"type": "ToastManager",
|
|
6757
|
+
"required": false
|
|
6758
|
+
},
|
|
6759
|
+
"swipeDirections": {
|
|
6760
|
+
"type": "ToastSwipeDirection[]",
|
|
6761
|
+
"required": false
|
|
6762
|
+
},
|
|
6763
|
+
"timeout": {
|
|
6764
|
+
"type": "number | string",
|
|
6765
|
+
"required": false
|
|
6766
|
+
}
|
|
6767
|
+
},
|
|
6768
|
+
"events": [
|
|
6769
|
+
{
|
|
6770
|
+
"name": "dsToastAction",
|
|
6771
|
+
"detail": "ToastActionEventDetail"
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
"name": "dsToastClose",
|
|
6775
|
+
"detail": "ToastCloseEventDetail"
|
|
6776
|
+
},
|
|
6777
|
+
{
|
|
6778
|
+
"name": "dsToastRemove",
|
|
6779
|
+
"detail": "ToastEventDetail"
|
|
6780
|
+
}
|
|
6781
|
+
],
|
|
6782
|
+
"slots": []
|
|
6783
|
+
},
|
|
6784
|
+
"exports": {
|
|
6785
|
+
"customElement": "ds-toast",
|
|
6786
|
+
"react": "DsToast",
|
|
6787
|
+
"angular": "DsToast"
|
|
6788
|
+
},
|
|
6789
|
+
"dependencies": [
|
|
6790
|
+
"@ds-mo/ui",
|
|
6791
|
+
"@ds-mo/tokens"
|
|
6792
|
+
],
|
|
6793
|
+
"componentDependencies": [
|
|
6794
|
+
"button-unfilled",
|
|
6795
|
+
"text"
|
|
6796
|
+
]
|
|
6797
|
+
},
|
|
6533
6798
|
{
|
|
6534
6799
|
"id": "component:ds-tooltip",
|
|
6535
6800
|
"tag": "ds-tooltip",
|