@ds-mo/ui 12.1.0 → 12.3.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 +26 -3
- package/dist/.build-stamp +1 -1
- package/dist/agent-patterns.json +8 -7
- package/dist/agent.json +837 -66
- package/dist/angular/ds-avatar.d.ts +1 -1
- package/dist/angular/ds-avatar.js +3 -3
- package/dist/angular/ds-bar-title.d.ts +7 -1
- package/dist/angular/ds-bar-title.js +7 -4
- package/dist/angular/ds-bar-workflow.d.ts +28 -0
- package/dist/angular/ds-bar-workflow.js +48 -0
- package/dist/angular/ds-breadcrumb.d.ts +19 -0
- package/dist/angular/ds-breadcrumb.js +42 -0
- package/dist/angular/ds-card-data-viz-bar.d.ts +18 -0
- package/dist/angular/ds-card-data-viz-bar.js +42 -0
- package/dist/angular/ds-card-data-viz-line.d.ts +18 -0
- package/dist/angular/ds-card-data-viz-line.js +42 -0
- package/dist/angular/ds-chart-bar-stacked.d.ts +12 -0
- package/dist/angular/ds-chart-bar-stacked.js +38 -0
- package/dist/angular/ds-chart-legend.d.ts +1 -1
- package/dist/angular/ds-chart-legend.js +3 -3
- package/dist/angular/ds-conversation-list.d.ts +1 -1
- package/dist/angular/ds-conversation-list.js +4 -3
- package/dist/angular/ds-scroll-overlay.d.ts +19 -0
- package/dist/angular/ds-scroll-overlay.js +43 -0
- package/dist/angular/ds-shell-page.d.ts +1 -1
- package/dist/angular/ds-shell-page.js +3 -3
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +6 -0
- package/dist/angular/proxies.d.ts +6 -0
- package/dist/angular/proxies.js +6 -0
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-response.js +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-bar-title.js +1 -1
- package/dist/components/ds-bar-title.js.map +1 -1
- package/dist/components/ds-bar-workflow.d.ts +11 -0
- package/dist/components/ds-bar-workflow.js +2 -0
- package/dist/components/ds-bar-workflow.js.map +1 -0
- package/dist/components/ds-breadcrumb.d.ts +11 -0
- package/dist/components/ds-breadcrumb.js +2 -0
- package/dist/components/ds-breadcrumb.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-bar.d.ts +11 -0
- package/dist/components/ds-card-data-viz-bar.js +2 -0
- package/dist/components/ds-card-data-viz-bar.js.map +1 -0
- package/dist/components/ds-card-data-viz-donut.js +1 -1
- package/dist/components/ds-card-data-viz-line.d.ts +11 -0
- package/dist/components/ds-card-data-viz-line.js +2 -0
- package/dist/components/ds-card-data-viz-line.js.map +1 -0
- 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-stacked.d.ts +11 -0
- package/dist/components/ds-chart-bar-stacked.js +2 -0
- package/dist/components/ds-chart-bar-stacked.js.map +1 -0
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-bar.js.map +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-legend.js.map +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-chart-line.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-chip.js.map +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-input.js +1 -1
- package/dist/components/ds-input.js.map +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-bubble.js.map +1 -1
- package/dist/components/ds-message-composer.js +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-panel-nav.js +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-tools.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-radio.js.map +1 -1
- package/dist/components/ds-scroll-overlay.d.ts +11 -0
- package/dist/components/ds-scroll-overlay.js +2 -0
- package/dist/components/ds-scroll-overlay.js.map +1 -0
- 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.js +1 -1
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.js.map +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-page.js.map +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-tab-group.js.map +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-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/ds-typing-indicator.js.map +1 -1
- package/dist/components/{p-B9jvSGid.js → p-9dQQSgwT.js} +2 -2
- package/dist/components/p-B3rbhRAk.js +2 -0
- package/dist/components/p-B3rbhRAk.js.map +1 -0
- package/dist/components/{p-BWUTr_XN.js → p-BJMRBHKW.js} +2 -2
- package/dist/components/p-BJMRBHKW.js.map +1 -0
- package/dist/components/p-BVV_rlIP.js +2 -0
- package/dist/components/p-BVV_rlIP.js.map +1 -0
- package/dist/components/p-BhxwpOH8.js +2 -0
- package/dist/components/{p-DpyTrZa2.js.map → p-BhxwpOH8.js.map} +1 -1
- package/dist/components/p-Bi_bxbih.js +2 -0
- package/dist/components/{p-Dqwcw1-m.js.map → p-Bi_bxbih.js.map} +1 -1
- package/dist/components/p-BtEjlcB9.js +2 -0
- package/dist/components/{p-DABj3qTX.js.map → p-BtEjlcB9.js.map} +1 -1
- package/dist/components/{p-Bs6SS34m.js → p-BwGnhInj.js} +2 -2
- package/dist/components/p-BwGnhInj.js.map +1 -0
- package/dist/components/p-C0NPJ0h2.js +2 -0
- package/dist/components/p-C0NPJ0h2.js.map +1 -0
- package/dist/components/{p-BkwBtZs3.js → p-C7bZ-jiU.js} +2 -2
- package/dist/components/p-CH3w-P2H.js +2 -0
- package/dist/components/p-CH3w-P2H.js.map +1 -0
- package/dist/components/{p-DxeHimqk.js → p-CH6cNXXF.js} +2 -2
- package/dist/components/p-CWlh7HAg.js +2 -0
- package/dist/components/p-CWlh7HAg.js.map +1 -0
- package/dist/components/p-CY19gMiz.js +2 -0
- package/dist/components/p-CY19gMiz.js.map +1 -0
- package/dist/components/p-C_ewSXTT.js +2 -0
- package/dist/components/p-C_ewSXTT.js.map +1 -0
- package/dist/components/{p-tDXHTAJh.js → p-Ce52yVXF.js} +2 -2
- package/dist/components/p-CoYFJD-w.js +2 -0
- package/dist/components/{p-webARv8d.js.map → p-CoYFJD-w.js.map} +1 -1
- package/dist/components/{p-BzsITTZa.js → p-Cuw2Lo2g.js} +2 -2
- package/dist/components/p-CydY-v7X.js +2 -0
- package/dist/components/p-CydY-v7X.js.map +1 -0
- package/dist/components/{p-LFGbdi7Y.js → p-D-xttdpn.js} +2 -2
- package/dist/components/{p-DfIch2Dk.js → p-D3DYxbC5.js} +2 -2
- package/dist/components/{p-CR7yMitN.js → p-DC7yOUQx.js} +2 -2
- package/dist/components/{p-liMPkhUP.js → p-DSa0Hnd3.js} +2 -2
- package/dist/components/p-DXewjzkM.js +2 -0
- package/dist/components/p-DXewjzkM.js.map +1 -0
- package/dist/components/p-DYqReipj.js +2 -0
- package/dist/components/{p-Dy_sZ-dI.js.map → p-DYqReipj.js.map} +1 -1
- package/dist/components/p-DbpfpeQT.js +2 -0
- package/dist/components/p-DbpfpeQT.js.map +1 -0
- package/dist/components/{p-DszI94sZ.js → p-DjPZxzIG.js} +2 -2
- package/dist/components/{p-DszI94sZ.js.map → p-DjPZxzIG.js.map} +1 -1
- package/dist/components/{p-CTV_QWC5.js → p-J6xK6Ihq.js} +2 -2
- package/dist/components/{p-Dfxnxx7L.js → p-jCWtxthA.js} +2 -2
- package/dist/docs/components.json +2137 -743
- package/dist/lib/utils/anchored-popup.d.ts +5 -1
- package/dist/lib/utils/index.js +3 -1
- package/dist/lib/utils/index.js.map +2 -2
- package/dist/mcp/cli.js +142 -18
- package/dist/mcp-data/registry/agent-response.json +9 -4
- package/dist/mcp-data/registry/agent-source-list.json +1 -1
- package/dist/mcp-data/registry/avatar.json +26 -7
- package/dist/mcp-data/registry/bar-title.json +76 -37
- package/dist/mcp-data/registry/bar-workflow.json +368 -0
- package/dist/mcp-data/registry/breadcrumb.json +205 -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-bar.json +212 -0
- package/dist/mcp-data/registry/card-data-viz-line.json +206 -0
- package/dist/mcp-data/registry/card-shell-data-viz.json +7 -0
- package/dist/mcp-data/registry/chart-bar-stacked.json +225 -0
- package/dist/mcp-data/registry/chart-bar.json +9 -2
- package/dist/mcp-data/registry/chart-legend.json +29 -3
- package/dist/mcp-data/registry/chart-line.json +4 -2
- package/dist/mcp-data/registry/checkbox.json +1 -1
- package/dist/mcp-data/registry/conversation-list-item.json +2 -2
- package/dist/mcp-data/registry/conversation-list-section.json +2 -2
- package/dist/mcp-data/registry/conversation-list.json +36 -9
- package/dist/mcp-data/registry/markdown.json +15 -10
- package/dist/mcp-data/registry/menu.json +9 -7
- package/dist/mcp-data/registry/message-scroller.json +6 -4
- package/dist/mcp-data/registry/message.json +3 -2
- package/dist/mcp-data/registry/panel-tool-search.json +1 -1
- package/dist/mcp-data/registry/registry.json +863 -74
- package/dist/mcp-data/registry/scroll-overlay.json +183 -0
- package/dist/mcp-data/registry/shell-gradient-swatch.json +1 -1
- package/dist/mcp-data/registry/shell-page.json +40 -19
- package/dist/mcp-data/registry/slider.json +1 -1
- package/dist/mcp-data/registry/switch.json +1 -1
- package/dist/mcp-data/registry/tab-group.json +1 -1
- package/dist/mcp-data/registry/text.json +1 -1
- package/dist/mcp-data/registry/typing-indicator.json +7 -7
- package/dist/react/components.d.ts +6 -0
- package/dist/react/components.js +6 -0
- package/dist/react/ds-bar-title.d.ts +2 -1
- package/dist/react/ds-bar-title.js +1 -0
- package/dist/react/ds-bar-workflow.d.ts +14 -0
- package/dist/react/ds-bar-workflow.js +16 -0
- package/dist/react/ds-breadcrumb.d.ts +12 -0
- package/dist/react/ds-breadcrumb.js +12 -0
- package/dist/react/ds-card-data-viz-bar.d.ts +12 -0
- package/dist/react/ds-card-data-viz-bar.js +12 -0
- package/dist/react/ds-card-data-viz-line.d.ts +12 -0
- package/dist/react/ds-card-data-viz-line.js +12 -0
- package/dist/react/ds-chart-bar-stacked.d.ts +9 -0
- package/dist/react/ds-chart-bar-stacked.js +12 -0
- package/dist/react/ds-scroll-overlay.d.ts +12 -0
- package/dist/react/ds-scroll-overlay.js +12 -0
- package/dist/styles/prose.css +215 -0
- package/dist/types/components/Avatar/Avatar.d.ts +4 -1
- package/dist/types/components/BarTitle/BarTitle.d.ts +14 -5
- package/dist/types/components/BarTitle/bar-title-types.d.ts +0 -1
- package/dist/types/components/BarWorkflow/BarWorkflow.d.ts +37 -0
- package/dist/types/components/BarWorkflow/bar-workflow-types.d.ts +12 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +31 -0
- package/dist/types/components/Breadcrumb/breadcrumb-types.d.ts +17 -0
- package/dist/types/components/CardDataVizBar/CardDataVizBar.d.ts +24 -0
- package/dist/types/components/CardDataVizBar/index.d.ts +2 -0
- package/dist/types/components/CardDataVizLine/CardDataVizLine.d.ts +24 -0
- package/dist/types/components/CardDataVizLine/index.d.ts +2 -0
- package/dist/types/components/ChartBarStacked/ChartBarStacked.d.ts +15 -0
- package/dist/types/components/ChartBarStacked/index.d.ts +3 -0
- package/dist/types/components/ChartLegend/ChartLegend.d.ts +3 -0
- package/dist/types/components/ConversationList/ConversationList.d.ts +12 -0
- package/dist/types/components/Menu/Menu.d.ts +1 -2
- package/dist/types/components/MessageScroller/MessageScroller.d.ts +1 -6
- package/dist/types/components/ScrollOverlay/ScrollOverlay.d.ts +28 -0
- package/dist/types/components/ShellPage/ShellPage.d.ts +19 -7
- package/dist/types/components/ShellPage/shell-page-responsive.d.ts +0 -8
- package/dist/types/components/TypingIndicator/TypingIndicator.d.ts +1 -1
- package/dist/types/components.d.ts +572 -26
- package/dist/types/stories/isolated-overlay-docs.d.ts +13 -0
- package/dist/types/utils/anchored-popup.d.ts +5 -1
- package/dist/types/utils/scroll-overlay-controller.d.ts +35 -0
- package/package.json +4 -3
- package/dist/components/p-BWUTr_XN.js.map +0 -1
- package/dist/components/p-BfEjWe8U.js +0 -2
- package/dist/components/p-BfEjWe8U.js.map +0 -1
- package/dist/components/p-Bs6SS34m.js.map +0 -1
- package/dist/components/p-C3Zfn7hz.js +0 -2
- package/dist/components/p-C3Zfn7hz.js.map +0 -1
- package/dist/components/p-CUik7PCi.js +0 -2
- package/dist/components/p-CUik7PCi.js.map +0 -1
- package/dist/components/p-CzBnvtcz.js +0 -2
- package/dist/components/p-CzBnvtcz.js.map +0 -1
- package/dist/components/p-DABj3qTX.js +0 -2
- package/dist/components/p-DpyTrZa2.js +0 -2
- package/dist/components/p-Dqwcw1-m.js +0 -2
- package/dist/components/p-Dy3Skua8.js +0 -2
- package/dist/components/p-Dy3Skua8.js.map +0 -1
- package/dist/components/p-Dy_sZ-dI.js +0 -2
- package/dist/components/p-l6PmnW_P.js +0 -2
- package/dist/components/p-l6PmnW_P.js.map +0 -1
- package/dist/components/p-webARv8d.js +0 -2
- /package/dist/components/{p-B9jvSGid.js.map → p-9dQQSgwT.js.map} +0 -0
- /package/dist/components/{p-BkwBtZs3.js.map → p-C7bZ-jiU.js.map} +0 -0
- /package/dist/components/{p-DxeHimqk.js.map → p-CH6cNXXF.js.map} +0 -0
- /package/dist/components/{p-tDXHTAJh.js.map → p-Ce52yVXF.js.map} +0 -0
- /package/dist/components/{p-BzsITTZa.js.map → p-Cuw2Lo2g.js.map} +0 -0
- /package/dist/components/{p-LFGbdi7Y.js.map → p-D-xttdpn.js.map} +0 -0
- /package/dist/components/{p-DfIch2Dk.js.map → p-D3DYxbC5.js.map} +0 -0
- /package/dist/components/{p-CR7yMitN.js.map → p-DC7yOUQx.js.map} +0 -0
- /package/dist/components/{p-liMPkhUP.js.map → p-DSa0Hnd3.js.map} +0 -0
- /package/dist/components/{p-CTV_QWC5.js.map → p-J6xK6Ihq.js.map} +0 -0
- /package/dist/components/{p-Dfxnxx7L.js.map → p-jCWtxthA.js.map} +0 -0
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"pattern:conversation"
|
|
30
30
|
],
|
|
31
31
|
"accessibility": [
|
|
32
|
-
"Provide concise localized status text
|
|
32
|
+
"Provide concise localized status text; the standard label is Typing followed by a three-dot ellipsis.",
|
|
33
33
|
"The polite atomic status announces typing without representing it as a message bubble."
|
|
34
34
|
],
|
|
35
35
|
"states": [
|
|
36
36
|
"TypingIndicator is transient conversation status, never persisted message content.",
|
|
37
|
-
"Its body-
|
|
37
|
+
"Its body-medium secondary text may shimmer, while reduced-motion preferences retain a static readable status."
|
|
38
38
|
],
|
|
39
39
|
"responsiveBehavior": [
|
|
40
40
|
"The indicator fills the message content width and wraps only when localized status text requires it."
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"type": "string",
|
|
53
53
|
"resolvedType": "string",
|
|
54
54
|
"attribute": "label",
|
|
55
|
-
"default": "'Typing
|
|
55
|
+
"default": "'Typing...'",
|
|
56
56
|
"required": false,
|
|
57
57
|
"mutable": false,
|
|
58
|
-
"description": "Concise localized status
|
|
58
|
+
"description": "Concise localized typing status."
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"events": [],
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
"type": "string",
|
|
68
68
|
"resolvedType": "string",
|
|
69
69
|
"attribute": "label",
|
|
70
|
-
"default": "'Typing
|
|
70
|
+
"default": "'Typing...'",
|
|
71
71
|
"required": false,
|
|
72
72
|
"mutable": false,
|
|
73
|
-
"description": "Concise localized status
|
|
73
|
+
"description": "Concise localized typing status."
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"events": [],
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"path": "src/wc/components/TypingIndicator/TypingIndicator.tsx",
|
|
123
|
-
"content": "import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ds-typing-indicator',\n styleUrl: 'TypingIndicator.css',\n scoped: true,\n})\nexport class TypingIndicator {\n /** Concise localized status
|
|
123
|
+
"content": "import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ds-typing-indicator',\n styleUrl: 'TypingIndicator.css',\n scoped: true,\n})\nexport class TypingIndicator {\n /** Concise localized typing status. */\n @Prop() label: string = 'Typing...';\n\n render() {\n return (\n <Host role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n <ds-text as=\"span\" variant=\"text-body-medium\" color=\"secondary\" shimmer>\n {this.label}\n </ds-text>\n </Host>\n );\n }\n}\n",
|
|
124
124
|
"type": "registry:ui"
|
|
125
125
|
}
|
|
126
126
|
]
|
|
@@ -11,11 +11,16 @@ export { DsAvatar } from "./ds-avatar.js";
|
|
|
11
11
|
export { DsBadge } from "./ds-badge.js";
|
|
12
12
|
export { DsBarNav } from "./ds-bar-nav.js";
|
|
13
13
|
export { DsBarTitle } from "./ds-bar-title.js";
|
|
14
|
+
export { DsBarWorkflow } from "./ds-bar-workflow.js";
|
|
15
|
+
export { DsBreadcrumb } from "./ds-breadcrumb.js";
|
|
14
16
|
export { DsButtonFilled } from "./ds-button-filled.js";
|
|
15
17
|
export { DsButtonUnfilled } from "./ds-button-unfilled.js";
|
|
18
|
+
export { DsCardDataVizBar } from "./ds-card-data-viz-bar.js";
|
|
16
19
|
export { DsCardDataVizDonut } from "./ds-card-data-viz-donut.js";
|
|
20
|
+
export { DsCardDataVizLine } from "./ds-card-data-viz-line.js";
|
|
17
21
|
export { DsCardSetting } from "./ds-card-setting.js";
|
|
18
22
|
export { DsCardShellDataViz } from "./ds-card-shell-data-viz.js";
|
|
23
|
+
export { DsChartBarStacked } from "./ds-chart-bar-stacked.js";
|
|
19
24
|
export { DsChartBar } from "./ds-chart-bar.js";
|
|
20
25
|
export { DsChartDonut } from "./ds-chart-donut.js";
|
|
21
26
|
export { DsChartLegend } from "./ds-chart-legend.js";
|
|
@@ -45,6 +50,7 @@ export { DsPanelToolHeader } from "./ds-panel-tool-header.js";
|
|
|
45
50
|
export { DsPanelToolSearch } from "./ds-panel-tool-search.js";
|
|
46
51
|
export { DsPanelTools } from "./ds-panel-tools.js";
|
|
47
52
|
export { DsRadio } from "./ds-radio.js";
|
|
53
|
+
export { DsScrollOverlay } from "./ds-scroll-overlay.js";
|
|
48
54
|
export { DsSelectMulti } from "./ds-select-multi.js";
|
|
49
55
|
export { DsSelect } from "./ds-select.js";
|
|
50
56
|
export { DsShellApp } from "./ds-shell-app.js";
|
package/dist/react/components.js
CHANGED
|
@@ -12,11 +12,16 @@ export { DsAvatar } from "./ds-avatar.js";
|
|
|
12
12
|
export { DsBadge } from "./ds-badge.js";
|
|
13
13
|
export { DsBarNav } from "./ds-bar-nav.js";
|
|
14
14
|
export { DsBarTitle } from "./ds-bar-title.js";
|
|
15
|
+
export { DsBarWorkflow } from "./ds-bar-workflow.js";
|
|
16
|
+
export { DsBreadcrumb } from "./ds-breadcrumb.js";
|
|
15
17
|
export { DsButtonFilled } from "./ds-button-filled.js";
|
|
16
18
|
export { DsButtonUnfilled } from "./ds-button-unfilled.js";
|
|
19
|
+
export { DsCardDataVizBar } from "./ds-card-data-viz-bar.js";
|
|
17
20
|
export { DsCardDataVizDonut } from "./ds-card-data-viz-donut.js";
|
|
21
|
+
export { DsCardDataVizLine } from "./ds-card-data-viz-line.js";
|
|
18
22
|
export { DsCardSetting } from "./ds-card-setting.js";
|
|
19
23
|
export { DsCardShellDataViz } from "./ds-card-shell-data-viz.js";
|
|
24
|
+
export { DsChartBarStacked } from "./ds-chart-bar-stacked.js";
|
|
20
25
|
export { DsChartBar } from "./ds-chart-bar.js";
|
|
21
26
|
export { DsChartDonut } from "./ds-chart-donut.js";
|
|
22
27
|
export { DsChartLegend } from "./ds-chart-legend.js";
|
|
@@ -46,6 +51,7 @@ export { DsPanelToolHeader } from "./ds-panel-tool-header.js";
|
|
|
46
51
|
export { DsPanelToolSearch } from "./ds-panel-tool-search.js";
|
|
47
52
|
export { DsPanelTools } from "./ds-panel-tools.js";
|
|
48
53
|
export { DsRadio } from "./ds-radio.js";
|
|
54
|
+
export { DsScrollOverlay } from "./ds-scroll-overlay.js";
|
|
49
55
|
export { DsSelectMulti } from "./ds-select-multi.js";
|
|
50
56
|
export { DsSelect } from "./ds-select.js";
|
|
51
57
|
export { DsShellApp } from "./ds-shell-app.js";
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
5
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
-
import { type DsBarTitleCustomEvent } from "@ds-mo/ui";
|
|
6
|
+
import { type BreadcrumbSelectDetail, type DsBarTitleCustomEvent } from "@ds-mo/ui";
|
|
7
7
|
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
8
|
import { DsBarTitle as DsBarTitleElement } from "@ds-mo/ui/dist/components/ds-bar-title.js";
|
|
9
9
|
export type DsBarTitleEvents = {
|
|
10
10
|
onDsBack: EventName<DsBarTitleCustomEvent<MouseEvent>>;
|
|
11
|
+
onDsBreadcrumbSelect: EventName<DsBarTitleCustomEvent<BreadcrumbSelectDetail>>;
|
|
11
12
|
onDsSectionChange: EventName<DsBarTitleCustomEvent<string>>;
|
|
12
13
|
onDsAction: EventName<DsBarTitleCustomEvent<string>>;
|
|
13
14
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type DsBarWorkflowCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsBarWorkflow as DsBarWorkflowElement } from "@ds-mo/ui/dist/components/ds-bar-workflow.js";
|
|
9
|
+
export type DsBarWorkflowEvents = {
|
|
10
|
+
onDsExit: EventName<DsBarWorkflowCustomEvent<MouseEvent>>;
|
|
11
|
+
onDsStepChange: EventName<DsBarWorkflowCustomEvent<string>>;
|
|
12
|
+
onDsSubmit: EventName<DsBarWorkflowCustomEvent<MouseEvent>>;
|
|
13
|
+
};
|
|
14
|
+
export declare const DsBarWorkflow: StencilReactComponent<DsBarWorkflowElement, DsBarWorkflowEvents, Components.DsBarWorkflow, 'heading'>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsBarWorkflow as DsBarWorkflowElement, defineCustomElement as defineDsBarWorkflow } from "@ds-mo/ui/dist/components/ds-bar-workflow.js";
|
|
5
|
+
export const DsBarWorkflow = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-bar-workflow',
|
|
7
|
+
elementClass: DsBarWorkflowElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: {
|
|
11
|
+
onDsExit: 'dsExit',
|
|
12
|
+
onDsStepChange: 'dsStepChange',
|
|
13
|
+
onDsSubmit: 'dsSubmit'
|
|
14
|
+
},
|
|
15
|
+
defineCustomElement: defineDsBarWorkflow
|
|
16
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type BreadcrumbSelectDetail, type DsBreadcrumbCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsBreadcrumb as DsBreadcrumbElement } from "@ds-mo/ui/dist/components/ds-breadcrumb.js";
|
|
9
|
+
export type DsBreadcrumbEvents = {
|
|
10
|
+
onDsSelect: EventName<DsBreadcrumbCustomEvent<BreadcrumbSelectDetail>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsBreadcrumb: StencilReactComponent<DsBreadcrumbElement, DsBreadcrumbEvents, Components.DsBreadcrumb>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsBreadcrumb as DsBreadcrumbElement, defineCustomElement as defineDsBreadcrumb } from "@ds-mo/ui/dist/components/ds-breadcrumb.js";
|
|
5
|
+
export const DsBreadcrumb = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-breadcrumb',
|
|
7
|
+
elementClass: DsBreadcrumbElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsSelect: 'dsSelect' },
|
|
11
|
+
defineCustomElement: defineDsBreadcrumb
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type DsCardDataVizBarCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsCardDataVizBar as DsCardDataVizBarElement } from "@ds-mo/ui/dist/components/ds-card-data-viz-bar.js";
|
|
9
|
+
export type DsCardDataVizBarEvents = {
|
|
10
|
+
onDsFilterClick: EventName<DsCardDataVizBarCustomEvent<void>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsCardDataVizBar: StencilReactComponent<DsCardDataVizBarElement, DsCardDataVizBarEvents, Components.DsCardDataVizBar, 'heading'>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsCardDataVizBar as DsCardDataVizBarElement, defineCustomElement as defineDsCardDataVizBar } from "@ds-mo/ui/dist/components/ds-card-data-viz-bar.js";
|
|
5
|
+
export const DsCardDataVizBar = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-card-data-viz-bar',
|
|
7
|
+
elementClass: DsCardDataVizBarElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsFilterClick: 'dsFilterClick' },
|
|
11
|
+
defineCustomElement: defineDsCardDataVizBar
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type DsCardDataVizLineCustomEvent } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsCardDataVizLine as DsCardDataVizLineElement } from "@ds-mo/ui/dist/components/ds-card-data-viz-line.js";
|
|
9
|
+
export type DsCardDataVizLineEvents = {
|
|
10
|
+
onDsFilterClick: EventName<DsCardDataVizLineCustomEvent<void>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsCardDataVizLine: StencilReactComponent<DsCardDataVizLineElement, DsCardDataVizLineEvents, Components.DsCardDataVizLine, 'heading'>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsCardDataVizLine as DsCardDataVizLineElement, defineCustomElement as defineDsCardDataVizLine } from "@ds-mo/ui/dist/components/ds-card-data-viz-line.js";
|
|
5
|
+
export const DsCardDataVizLine = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-card-data-viz-line',
|
|
7
|
+
elementClass: DsCardDataVizLineElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsFilterClick: 'dsFilterClick' },
|
|
11
|
+
defineCustomElement: defineDsCardDataVizLine
|
|
12
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
7
|
+
import { DsChartBarStacked as DsChartBarStackedElement } from "@ds-mo/ui/dist/components/ds-chart-bar-stacked.js";
|
|
8
|
+
export type DsChartBarStackedEvents = NonNullable<unknown>;
|
|
9
|
+
export declare const DsChartBarStacked: StencilReactComponent<DsChartBarStackedElement, DsChartBarStackedEvents, Components.DsChartBarStacked>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsChartBarStacked as DsChartBarStackedElement, defineCustomElement as defineDsChartBarStacked } from "@ds-mo/ui/dist/components/ds-chart-bar-stacked.js";
|
|
5
|
+
export const DsChartBarStacked = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-chart-bar-stacked',
|
|
7
|
+
elementClass: DsChartBarStackedElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: {},
|
|
11
|
+
defineCustomElement: defineDsChartBarStacked
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type DsScrollOverlayCustomEvent, type ScrollOverlayScrollDetail } from "@ds-mo/ui";
|
|
7
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
8
|
+
import { DsScrollOverlay as DsScrollOverlayElement } from "@ds-mo/ui/dist/components/ds-scroll-overlay.js";
|
|
9
|
+
export type DsScrollOverlayEvents = {
|
|
10
|
+
onDsScroll: EventName<DsScrollOverlayCustomEvent<ScrollOverlayScrollDetail>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const DsScrollOverlay: StencilReactComponent<DsScrollOverlayElement, DsScrollOverlayEvents, Components.DsScrollOverlay>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DsScrollOverlay as DsScrollOverlayElement, defineCustomElement as defineDsScrollOverlay } from "@ds-mo/ui/dist/components/ds-scroll-overlay.js";
|
|
5
|
+
export const DsScrollOverlay = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'ds-scroll-overlay',
|
|
7
|
+
elementClass: DsScrollOverlayElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onDsScroll: 'dsScroll' },
|
|
11
|
+
defineCustomElement: defineDsScrollOverlay
|
|
12
|
+
});
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Renderer-neutral document rhythm for safe semantic DOM.
|
|
3
|
+
*
|
|
4
|
+
* Import `@ds-mo/ui/prose.css`, then apply `.ds-prose` to a consumer-owned
|
|
5
|
+
* semantic container. Keep selectors at zero specificity so ordinary product
|
|
6
|
+
* CSS can override the recipe. `data-ds-prose="off"` opts an entire embedded
|
|
7
|
+
* product-UI subtree out of prose element styling.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:where(.ds-prose) {
|
|
11
|
+
display: block;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
max-inline-size: 100%;
|
|
14
|
+
min-inline-size: 0;
|
|
15
|
+
color: inherit;
|
|
16
|
+
overflow-wrap: anywhere;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:where(.ds-prose)
|
|
20
|
+
:where(p, ul, ol, dl, blockquote, figure, figcaption, table):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
21
|
+
margin: 0;
|
|
22
|
+
color: inherit;
|
|
23
|
+
font-family: var(--typography-font-family);
|
|
24
|
+
font-size: var(--typography-fontsize-md);
|
|
25
|
+
font-weight: var(--typography-weight-regular);
|
|
26
|
+
line-height: var(--typography-lineheight-md);
|
|
27
|
+
letter-spacing: var(--typography-letterspacing-negative-half);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:where(.ds-prose)
|
|
31
|
+
:where(h1, h2, h3, h4, h5, h6):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
32
|
+
margin: 0;
|
|
33
|
+
color: var(--color-foreground-primary);
|
|
34
|
+
font-family: var(--typography-font-family);
|
|
35
|
+
font-weight: var(--typography-weight-semibold);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:where(.ds-prose)
|
|
39
|
+
:where(h1, h2):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
40
|
+
font-size: var(--typography-fontsize-xl);
|
|
41
|
+
line-height: var(--typography-lineheight-xl);
|
|
42
|
+
letter-spacing: var(--typography-letterspacing-negative-double);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(.ds-prose)
|
|
46
|
+
:where(h3, h4):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
47
|
+
font-size: var(--typography-fontsize-lg);
|
|
48
|
+
line-height: var(--typography-lineheight-lg);
|
|
49
|
+
letter-spacing: var(--typography-letterspacing-negative);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(.ds-prose)
|
|
53
|
+
:where(h5, h6):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
54
|
+
font-size: var(--typography-fontsize-md);
|
|
55
|
+
line-height: var(--typography-lineheight-md);
|
|
56
|
+
letter-spacing: var(--typography-letterspacing-negative);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* New blocks own their leading space, so appending streamed content never
|
|
60
|
+
* changes the style or position of an earlier sibling. */
|
|
61
|
+
:where(.ds-prose) > :where(* + *) {
|
|
62
|
+
margin-block-start: var(--dimension-space-150);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where(.ds-prose)
|
|
66
|
+
> :where(*)
|
|
67
|
+
+ :where(h1, h2, h3, h4, h5, h6):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
68
|
+
margin-block-start: var(--dimension-space-200);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:where(.ds-prose)
|
|
72
|
+
> :where(h1, h2, h3, h4, h5, h6):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *))
|
|
73
|
+
+ :where(*) {
|
|
74
|
+
margin-block-start: var(--dimension-space-100);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where(.ds-prose)
|
|
78
|
+
:where(blockquote, li, dd)
|
|
79
|
+
> :where(* + *):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
80
|
+
margin-block-start: var(--dimension-space-050);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where(.ds-prose)
|
|
84
|
+
:where(li + li, dt + dd):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
85
|
+
margin-block-start: var(--dimension-space-050);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:where(.ds-prose)
|
|
89
|
+
:where(ul, ol):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
90
|
+
padding-inline-start: var(--dimension-space-300);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
:where(.ds-prose)
|
|
94
|
+
:where(li > ul, li > ol):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
95
|
+
margin-block-start: var(--dimension-space-050);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:where(.ds-prose)
|
|
99
|
+
:where(li > input[type='checkbox']):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
100
|
+
margin-inline-end: var(--dimension-space-050);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:where(.ds-prose)
|
|
104
|
+
:where(blockquote):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
105
|
+
padding-inline-start: var(--dimension-space-150);
|
|
106
|
+
border-inline-start: var(--dimension-stroke-width-025) solid var(--color-border-secondary);
|
|
107
|
+
color: var(--color-foreground-secondary);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:where(.ds-prose)
|
|
111
|
+
:where(strong, b):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
112
|
+
font-weight: var(--typography-weight-medium);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:where(.ds-prose)
|
|
116
|
+
:where(h1, h2, h3, h4, h5, h6)
|
|
117
|
+
:where(strong, b):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
118
|
+
font-weight: inherit;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:where(.ds-prose)
|
|
122
|
+
:where(a):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
123
|
+
color: var(--color-foreground-brand);
|
|
124
|
+
text-decoration: underline;
|
|
125
|
+
text-decoration-color: var(--color-foreground-tertiary);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:where(.ds-prose)
|
|
129
|
+
:where(code):not(:where(pre code, [data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
130
|
+
padding: var(--dimension-space-012) var(--dimension-space-025);
|
|
131
|
+
border-radius: var(--dimension-radius-025);
|
|
132
|
+
background: var(--color-background-secondary);
|
|
133
|
+
font-family: var(--typography-fontfamily-mono);
|
|
134
|
+
font-size: var(--typography-fontsize-sm);
|
|
135
|
+
line-height: var(--typography-lineheight-sm);
|
|
136
|
+
letter-spacing: var(--typography-letterspacing-none);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:where(.ds-prose)
|
|
140
|
+
:where(pre):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
141
|
+
box-sizing: border-box;
|
|
142
|
+
max-inline-size: 100%;
|
|
143
|
+
min-inline-size: 0;
|
|
144
|
+
margin: 0;
|
|
145
|
+
padding: var(--dimension-space-150);
|
|
146
|
+
overflow: auto;
|
|
147
|
+
border-radius: var(--dimension-radius-050);
|
|
148
|
+
background: var(--color-background-strong-neutral);
|
|
149
|
+
color: var(--color-foreground-faint-neutral);
|
|
150
|
+
font-family: var(--typography-fontfamily-mono);
|
|
151
|
+
font-size: var(--typography-fontsize-sm);
|
|
152
|
+
line-height: var(--typography-lineheight-sm);
|
|
153
|
+
letter-spacing: var(--typography-letterspacing-none);
|
|
154
|
+
tab-size: 2;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:where(.ds-prose)
|
|
158
|
+
:where(pre code):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
159
|
+
padding: 0;
|
|
160
|
+
background: transparent;
|
|
161
|
+
color: inherit;
|
|
162
|
+
font: inherit;
|
|
163
|
+
letter-spacing: inherit;
|
|
164
|
+
white-space: pre;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:where(.ds-prose)
|
|
168
|
+
:where(hr):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
169
|
+
margin: 0;
|
|
170
|
+
border: 0;
|
|
171
|
+
border-block-start: var(--dimension-stroke-width-012) solid var(--color-border-tertiary);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:where(.ds-prose__table-scroll) {
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
max-inline-size: 100%;
|
|
177
|
+
min-inline-size: 0;
|
|
178
|
+
overflow-x: auto;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:where(.ds-prose)
|
|
182
|
+
:where(table):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
183
|
+
inline-size: 100%;
|
|
184
|
+
border-collapse: collapse;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:where(.ds-prose)
|
|
188
|
+
:where(th, td):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
189
|
+
padding: var(--dimension-space-075);
|
|
190
|
+
border: var(--dimension-stroke-width-012) solid var(--color-border-tertiary);
|
|
191
|
+
text-align: start;
|
|
192
|
+
vertical-align: top;
|
|
193
|
+
overflow-wrap: anywhere;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:where(.ds-prose)
|
|
197
|
+
:where(th):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
198
|
+
color: var(--color-foreground-primary);
|
|
199
|
+
font-weight: var(--typography-weight-medium);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:where(.ds-prose)
|
|
203
|
+
:where(img, video, svg):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
204
|
+
max-inline-size: 100%;
|
|
205
|
+
block-size: auto;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
:where(.ds-prose)
|
|
209
|
+
:where(figcaption):not(:where([data-ds-prose='off'], [data-ds-prose='off'] *)) {
|
|
210
|
+
margin-block-start: var(--dimension-space-050);
|
|
211
|
+
color: var(--color-foreground-secondary);
|
|
212
|
+
font-size: var(--typography-fontsize-sm);
|
|
213
|
+
line-height: var(--typography-lineheight-sm);
|
|
214
|
+
letter-spacing: var(--typography-letterspacing-none);
|
|
215
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { IconColor } from '../Icon/Icon';
|
|
2
|
+
export type AvatarSize = 'md' | 'sm' | 'xs';
|
|
2
3
|
export declare class Avatar {
|
|
3
4
|
/** Canonical IcoMo icon name displayed inside the avatar. */
|
|
4
5
|
icon: string;
|
|
5
|
-
/** Semantic
|
|
6
|
+
/** Semantic icon hierarchy. Use primary for stronger emphasis; secondary is the default. */
|
|
6
7
|
iconColor: IconColor;
|
|
8
|
+
/** Circle and icon density. Maps to 32/20, 24/16, or 16/12 px. */
|
|
9
|
+
size: AvatarSize;
|
|
7
10
|
/** Optional accessible label. Omit when the surrounding content already conveys the meaning. */
|
|
8
11
|
label: string | undefined;
|
|
9
12
|
render(): any;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import
|
|
2
|
+
import type { BreadcrumbItem, BreadcrumbSelectDetail } from '../Breadcrumb/breadcrumb-types';
|
|
3
|
+
import { type BarTitleActionItem, type BarTitlePrimaryAction, type BarTitleSectionItem, type BarTitleVariant } from './bar-title-types';
|
|
3
4
|
export declare class BarTitle {
|
|
5
|
+
el: HTMLElement;
|
|
4
6
|
/** The page's single visible h1. */
|
|
5
7
|
heading: string;
|
|
6
8
|
/** Optional supporting copy shown in the expanded presentation. */
|
|
@@ -9,8 +11,12 @@ export declare class BarTitle {
|
|
|
9
11
|
showBack: boolean;
|
|
10
12
|
/** Accessible name for the leading Back action. */
|
|
11
13
|
backAriaLabel: string;
|
|
12
|
-
/** Visible parent-page label used by the expanded
|
|
14
|
+
/** Visible parent-page label used by the expanded breadcrumb when breadcrumbs is empty. */
|
|
13
15
|
backLabel: string;
|
|
16
|
+
/** Optional expanded ancestor path. Compact variants continue to use the Back action. */
|
|
17
|
+
breadcrumbs: BreadcrumbItem[];
|
|
18
|
+
/** Accessible name for the expanded breadcrumb navigation landmark. */
|
|
19
|
+
breadcrumbAriaLabel: string;
|
|
14
20
|
/** Optional page sections exposed through the active-section menu. */
|
|
15
21
|
sections: BarTitleSectionItem[];
|
|
16
22
|
/** Id of the active page section. */
|
|
@@ -25,10 +31,10 @@ export declare class BarTitle {
|
|
|
25
31
|
actionsAriaLabel: string;
|
|
26
32
|
/** Explicit visual/capacity variant. ShellPage owns automatic selection. */
|
|
27
33
|
variant: BarTitleVariant;
|
|
28
|
-
/** Semantic page-header treatment. Editor mode uses bold-brand create/edit chrome. */
|
|
29
|
-
mode: BarTitleMode;
|
|
30
34
|
/** Emitted when the leading Back action is activated. */
|
|
31
35
|
dsBack: EventEmitter<MouseEvent>;
|
|
36
|
+
/** Emitted when an authored expanded breadcrumb item is activated. */
|
|
37
|
+
dsBreadcrumbSelect: EventEmitter<BreadcrumbSelectDetail>;
|
|
32
38
|
/** Emitted with the newly selected page-section id. */
|
|
33
39
|
dsSectionChange: EventEmitter<string>;
|
|
34
40
|
/** Emitted with the activated primary or overflow action id. */
|
|
@@ -44,10 +50,11 @@ export declare class BarTitle {
|
|
|
44
50
|
private readonly actionMenuId;
|
|
45
51
|
private sectionTriggerEl;
|
|
46
52
|
private actionTriggerEl;
|
|
53
|
+
componentWillLoad(): void;
|
|
47
54
|
handleSectionsChange(): void;
|
|
48
55
|
handleActionsChange(): void;
|
|
49
56
|
private get compact();
|
|
50
|
-
private get
|
|
57
|
+
private get expandedBreadcrumbItems();
|
|
51
58
|
/** Tooltip copy is fixed and generic; backAriaLabel/actionsAriaLabel stay page-specific. */
|
|
52
59
|
private get backTooltipLabel();
|
|
53
60
|
private get primaryCollapsed();
|
|
@@ -70,6 +77,8 @@ export declare class BarTitle {
|
|
|
70
77
|
private handleActionSelect;
|
|
71
78
|
private renderSectionSelector;
|
|
72
79
|
private renderActions;
|
|
80
|
+
private handleBreadcrumbSelect;
|
|
81
|
+
private renderBreadcrumb;
|
|
73
82
|
private renderBack;
|
|
74
83
|
render(): any;
|
|
75
84
|
}
|
|
@@ -24,7 +24,6 @@ export interface BarTitlePrimaryAction extends BarTitleAction {
|
|
|
24
24
|
}
|
|
25
25
|
export type BarTitleActionItem = BarTitleAction | BarTitleDivider;
|
|
26
26
|
export type BarTitleVariant = 'expanded' | 'compact' | 'constrained';
|
|
27
|
-
export type BarTitleMode = 'default' | 'editor';
|
|
28
27
|
export type BarTitlePrimaryActionCollapse = 'auto' | 'never';
|
|
29
28
|
export declare function isBarTitleDivider(item: BarTitleSectionItem | BarTitleActionItem): item is BarTitleDivider;
|
|
30
29
|
//# sourceMappingURL=bar-title-types.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { BarWorkflowStep, BarWorkflowSubmitAction } from './bar-workflow-types';
|
|
3
|
+
export declare class BarWorkflow {
|
|
4
|
+
/** The workflow's single visible h1. */
|
|
5
|
+
heading: string;
|
|
6
|
+
/** Ordered workflow steps. Step state is controlled by the application. */
|
|
7
|
+
steps: BarWorkflowStep[];
|
|
8
|
+
/** Id of the current workflow step. Falls back to the first step. */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Concise tooltip label for the Exit control. */
|
|
11
|
+
exitLabel: string;
|
|
12
|
+
/** Workflow-specific accessible name for Exit. */
|
|
13
|
+
exitAriaLabel: string;
|
|
14
|
+
/** Tooltip and accessible name for the previous-step control. */
|
|
15
|
+
previousLabel: string;
|
|
16
|
+
/** Tooltip and accessible name for the next-step control. */
|
|
17
|
+
nextLabel: string;
|
|
18
|
+
/** The final-step Save or Submit action. */
|
|
19
|
+
submitAction: BarWorkflowSubmitAction;
|
|
20
|
+
/** Prevent advancing while the current step is incomplete or invalid. */
|
|
21
|
+
isNextInactive: boolean;
|
|
22
|
+
/** Emitted when Exit is activated. */
|
|
23
|
+
dsExit: EventEmitter<MouseEvent>;
|
|
24
|
+
/** Emitted with the target previous or next step id. The component never mutates value. */
|
|
25
|
+
dsStepChange: EventEmitter<string>;
|
|
26
|
+
/** Emitted when the final Save or Submit control is activated. */
|
|
27
|
+
dsSubmit: EventEmitter<MouseEvent>;
|
|
28
|
+
private get currentIndex();
|
|
29
|
+
private get previousStep();
|
|
30
|
+
private get nextStep();
|
|
31
|
+
private get isLastStep();
|
|
32
|
+
private get resolvedHeading();
|
|
33
|
+
private handlePrevious;
|
|
34
|
+
private handleNext;
|
|
35
|
+
render(): any;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=BarWorkflow.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface BarWorkflowStep {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
isInactive?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface BarWorkflowSubmitAction {
|
|
7
|
+
label: string;
|
|
8
|
+
type?: 'button' | 'submit' | 'reset';
|
|
9
|
+
isInactive?: boolean;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=bar-workflow-types.d.ts.map
|