@ds-mo/ui 12.6.2 → 12.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -115
- package/dist/.build-stamp +1 -1
- package/dist/agent-patterns.json +26 -11
- package/dist/agent.json +285 -49
- package/dist/angular/ds-button-filled.d.ts +1 -1
- package/dist/angular/ds-button-filled.js +3 -3
- package/dist/angular/ds-button-unfilled.d.ts +1 -1
- package/dist/angular/ds-button-unfilled.js +3 -3
- package/dist/angular/ds-card-overview.d.ts +19 -0
- package/dist/angular/ds-card-overview.js +42 -0
- package/dist/angular/ds-menu.d.ts +1 -1
- package/dist/angular/ds-menu.js +3 -3
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +1 -0
- package/dist/angular/proxies.d.ts +1 -0
- package/dist/angular/proxies.js +1 -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-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.js +1 -1
- package/dist/components/ds-bar-workflow.js.map +1 -1
- package/dist/components/ds-breadcrumb.js +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-bar.js +1 -1
- package/dist/components/ds-card-data-viz-bar.js.map +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-data-viz-line.js +1 -1
- package/dist/components/ds-card-data-viz-line.js.map +1 -1
- package/dist/components/ds-card-overview.d.ts +11 -0
- package/dist/components/ds-card-overview.js +2 -0
- package/dist/components/ds-card-overview.js.map +1 -0
- 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-stacked.js +1 -1
- package/dist/components/ds-chart-bar-stacked.js.map +1 -1
- 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-donut.js.map +1 -1
- package/dist/components/ds-chart-legend.js +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-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-item.js.map +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-conversation-list.js +1 -1
- package/dist/components/ds-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-field.js.map +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-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-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js.map +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js.map +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-tool-search.js.map +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.js +1 -1
- package/dist/components/ds-select-multi.js +1 -1
- package/dist/components/ds-select-multi.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-app.js.map +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-page.js +1 -1
- package/dist/components/ds-shell-page.js.map +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-shell-tools.js.map +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-skeleton.js.map +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-toast.js.map +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/p-2foAUsDN.js +2 -0
- package/dist/components/p-2foAUsDN.js.map +1 -0
- package/dist/components/{p-Ccj5Op6E.js → p-38PfdMkF.js} +2 -2
- package/dist/components/p-69lHhJiX.js +2 -0
- package/dist/components/p-69lHhJiX.js.map +1 -0
- package/dist/components/p-B6NvVdeO.js +2 -0
- package/dist/components/p-B6NvVdeO.js.map +1 -0
- package/dist/components/p-B6Vuayt6.js +2 -0
- package/dist/components/p-B6Vuayt6.js.map +1 -0
- package/dist/components/p-B6vE3ujd.js +2 -0
- package/dist/components/p-B6vE3ujd.js.map +1 -0
- package/dist/components/p-BBePKRHC.js +2 -0
- package/dist/components/p-BBePKRHC.js.map +1 -0
- package/dist/components/{p-CaRyxTMz.js → p-BFRMwl93.js} +2 -2
- package/dist/components/p-BKOlvCGS.js +2 -0
- package/dist/components/p-BKOlvCGS.js.map +1 -0
- package/dist/components/{p-C7bZ-jiU.js → p-BO5aqZcf.js} +2 -2
- package/dist/components/p-BX0BMhgz.js +2 -0
- package/dist/components/p-BX0BMhgz.js.map +1 -0
- package/dist/components/p-BXaieghV.js +2 -0
- package/dist/components/p-BXaieghV.js.map +1 -0
- package/dist/components/p-BlHzmszE.js +2 -0
- package/dist/components/{p-BkAMkjIR.js.map → p-BlHzmszE.js.map} +1 -1
- package/dist/components/p-By_s1wNN.js +2 -0
- package/dist/components/p-By_s1wNN.js.map +1 -0
- package/dist/components/p-C61yJkfr.js +2 -0
- package/dist/components/p-C61yJkfr.js.map +1 -0
- package/dist/components/{p-DXLWm4PF.js → p-CNgPwd11.js} +2 -2
- package/dist/components/p-CNjOyUQu.js +2 -0
- package/dist/components/p-CNjOyUQu.js.map +1 -0
- package/dist/components/{p-BwGnhInj.js → p-CPwpgUWT.js} +2 -2
- package/dist/components/p-CU2673IJ.js +2 -0
- package/dist/components/p-CU2673IJ.js.map +1 -0
- package/dist/components/{p-B9bxDfZV.js → p-CsX3ICz7.js} +2 -2
- package/dist/components/p-CuwopElg.js +2 -0
- package/dist/components/p-CuwopElg.js.map +1 -0
- package/dist/components/{p-D-xttdpn.js → p-D0e77tkd.js} +2 -2
- package/dist/components/p-D1bNvIpb.js +2 -0
- package/dist/components/p-D1bNvIpb.js.map +1 -0
- package/dist/components/{p-BwsGYxZx.js → p-D9u1_OEZ.js} +2 -2
- package/dist/components/{p-DQDpDYyF.js → p-DB9XJm2c.js} +2 -2
- package/dist/components/{p-CnHrJTD5.js → p-DIFUsoM-.js} +2 -2
- package/dist/components/p-DhKvqh5G.js +2 -0
- package/dist/components/p-DhKvqh5G.js.map +1 -0
- package/dist/components/p-DhLmoCe_.js +2 -0
- package/dist/components/p-DhLmoCe_.js.map +1 -0
- package/dist/components/p-DjbTFy2B.js +2 -0
- package/dist/components/p-DjbTFy2B.js.map +1 -0
- package/dist/components/{p-CWTih3Gc.js → p-DmAHufd5.js} +2 -2
- package/dist/components/p-DzM3SzPz.js +2 -0
- package/dist/components/p-DzM3SzPz.js.map +1 -0
- package/dist/components/{p-DqubRds2.js → p-G3qIxpQj.js} +2 -2
- package/dist/components/p-Re2kPrXm.js +2 -0
- package/dist/components/p-Re2kPrXm.js.map +1 -0
- package/dist/components/{p-DwX7UmLl.js → p-Utr23NC-.js} +2 -2
- package/dist/components/{p-DIoiApa-.js → p-Vdufoj7G.js} +2 -2
- package/dist/components/p-huw1oRbt.js +2 -0
- package/dist/components/p-huw1oRbt.js.map +1 -0
- package/dist/components/p-ukB-dPOK.js +2 -0
- package/dist/components/{p-BY0PzkUp.js.map → p-ukB-dPOK.js.map} +1 -1
- package/dist/components/p-yhj1lIPx.js +2 -0
- package/dist/docs/components.json +760 -87
- package/dist/lib/components/Menu/menu-position.d.ts +6 -6
- package/dist/lib/toast/toast-types.d.ts +3 -3
- package/dist/lib/utils/anchored-position.d.ts +34 -0
- package/dist/lib/utils/choice-popup-alignment.d.ts +2 -2
- package/dist/lib/utils/control-text.d.ts +3 -1
- package/dist/lib/utils/index.d.ts +3 -1
- package/dist/lib/utils/index.js +39 -0
- package/dist/lib/utils/index.js.map +3 -3
- package/dist/lib/utils/metric-change.d.ts +52 -0
- package/dist/lib/utils/token-defaults.d.ts +3 -0
- package/dist/mcp-data/registry/agent-activity.json +1 -1
- package/dist/mcp-data/registry/agent-response.json +1 -1
- package/dist/mcp-data/registry/agent-source-list.json +1 -1
- package/dist/mcp-data/registry/agent-tool-call.json +1 -1
- package/dist/mcp-data/registry/attachment-list.json +1 -1
- package/dist/mcp-data/registry/avatar.json +1 -1
- package/dist/mcp-data/registry/badge.json +1 -1
- package/dist/mcp-data/registry/bar-nav.json +3 -3
- package/dist/mcp-data/registry/bar-title.json +3 -3
- package/dist/mcp-data/registry/bar-workflow.json +3 -3
- package/dist/mcp-data/registry/breadcrumb.json +1 -1
- package/dist/mcp-data/registry/button-filled.json +125 -8
- package/dist/mcp-data/registry/button-unfilled.json +50 -5
- package/dist/mcp-data/registry/card-data-viz-bar.json +5 -4
- package/dist/mcp-data/registry/card-data-viz-donut.json +5 -3
- package/dist/mcp-data/registry/card-data-viz-line.json +5 -4
- package/dist/mcp-data/registry/card-overview.json +317 -0
- package/dist/mcp-data/registry/card-setting.json +3 -3
- package/dist/mcp-data/registry/card-shell-data-viz.json +3 -3
- package/dist/mcp-data/registry/chart-bar-stacked.json +14 -9
- package/dist/mcp-data/registry/chart-bar.json +15 -10
- package/dist/mcp-data/registry/chart-donut.json +3 -2
- package/dist/mcp-data/registry/chart-legend.json +1 -1
- package/dist/mcp-data/registry/chart-line.json +15 -10
- package/dist/mcp-data/registry/checkbox.json +10 -10
- package/dist/mcp-data/registry/chip.json +1 -1
- package/dist/mcp-data/registry/code-block.json +1 -1
- package/dist/mcp-data/registry/conversation-list-item.json +3 -3
- package/dist/mcp-data/registry/conversation-list-section.json +1 -1
- package/dist/mcp-data/registry/conversation-list.json +3 -3
- package/dist/mcp-data/registry/divider.json +1 -1
- package/dist/mcp-data/registry/empty-state.json +6 -2
- package/dist/mcp-data/registry/field.json +4 -3
- package/dist/mcp-data/registry/icon.json +1 -1
- package/dist/mcp-data/registry/input.json +9 -8
- package/dist/mcp-data/registry/loader.json +1 -1
- package/dist/mcp-data/registry/markdown.json +1 -1
- package/dist/mcp-data/registry/menu.json +24 -5
- package/dist/mcp-data/registry/message-bubble.json +1 -1
- package/dist/mcp-data/registry/message-composer.json +1 -1
- package/dist/mcp-data/registry/message-scroller.json +3 -3
- package/dist/mcp-data/registry/message.json +1 -1
- package/dist/mcp-data/registry/mobile-bar-nav.json +4 -4
- package/dist/mcp-data/registry/mobile-header.json +3 -3
- package/dist/mcp-data/registry/mobile-section-switcher.json +1 -1
- package/dist/mcp-data/registry/mobile-sheet-nav.json +6 -4
- package/dist/mcp-data/registry/modal.json +3 -3
- package/dist/mcp-data/registry/panel-nav.json +3 -3
- package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
- package/dist/mcp-data/registry/panel-tool-header.json +3 -3
- package/dist/mcp-data/registry/panel-tool-search.json +3 -3
- package/dist/mcp-data/registry/panel-tools.json +4 -3
- package/dist/mcp-data/registry/radio.json +10 -10
- package/dist/mcp-data/registry/registry.json +288 -49
- package/dist/mcp-data/registry/scroll-overlay.json +1 -1
- package/dist/mcp-data/registry/select-multi.json +10 -8
- package/dist/mcp-data/registry/select.json +10 -8
- package/dist/mcp-data/registry/shell-app.json +3 -2
- 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/shell-page.json +5 -4
- package/dist/mcp-data/registry/shell-tools.json +2 -2
- package/dist/mcp-data/registry/skeleton.json +3 -3
- package/dist/mcp-data/registry/slider.json +4 -3
- package/dist/mcp-data/registry/swatch-picker.json +1 -1
- package/dist/mcp-data/registry/switch.json +8 -8
- package/dist/mcp-data/registry/tab-group.json +1 -1
- package/dist/mcp-data/registry/tag.json +1 -1
- package/dist/mcp-data/registry/text.json +1 -1
- package/dist/mcp-data/registry/toast.json +2 -2
- package/dist/mcp-data/registry/tooltip-data-viz.json +3 -1
- package/dist/mcp-data/registry/tooltip.json +3 -8
- package/dist/mcp-data/registry/typing-indicator.json +1 -1
- package/dist/react/components.d.ts +1 -0
- package/dist/react/components.js +1 -0
- package/dist/react/ds-card-overview.d.ts +12 -0
- package/dist/react/ds-card-overview.js +12 -0
- package/dist/styles/control-elevation.css +38 -2
- package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +33 -1
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +20 -0
- package/dist/types/components/CardOverview/CardOverview.d.ts +59 -0
- package/dist/types/components/CardOverview/card-overview-types.d.ts +32 -0
- package/dist/types/components/CardOverview/index.d.ts +2 -0
- package/dist/types/components/ChartBar/ChartBar.d.ts +11 -0
- package/dist/types/components/ChartBarStacked/ChartBarStacked.d.ts +11 -0
- package/dist/types/components/ChartLine/ChartLine.d.ts +11 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Menu/Menu.d.ts +11 -5
- package/dist/types/components/Menu/menu-position.d.ts +6 -6
- package/dist/types/components/MobileSheetNav/MobileSheetNav.d.ts +0 -1
- package/dist/types/components/Radio/Radio.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +6 -23
- package/dist/types/components/SelectMulti/SelectMulti.d.ts +5 -20
- package/dist/types/components/ShellPage/ShellPage.d.ts +1 -0
- package/dist/types/components/ShellTools/ShellTools.d.ts +1 -0
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -4
- package/dist/types/components.d.ts +225 -4
- package/dist/types/toast/toast-types.d.ts +3 -3
- package/dist/types/utils/anchored-position-controller.d.ts +96 -0
- package/dist/types/utils/anchored-position.d.ts +35 -0
- package/dist/types/utils/cartesian-chart-layout.d.ts +13 -0
- package/dist/types/utils/chart-viewport-controller.d.ts +21 -0
- package/dist/types/utils/choice-list-parts.d.ts +4 -0
- package/dist/types/utils/choice-popup-alignment.d.ts +2 -2
- package/dist/types/utils/control-press.d.ts +9 -0
- package/dist/types/utils/control-text.d.ts +3 -1
- package/dist/types/utils/index.d.ts +3 -1
- package/dist/types/utils/metric-change.d.ts +53 -0
- package/dist/types/utils/select-controller.d.ts +67 -0
- package/dist/types/utils/token-defaults.d.ts +3 -0
- package/package.json +3 -3
- package/dist/components/p-B8C_yfLQ.js +0 -2
- package/dist/components/p-B8C_yfLQ.js.map +0 -1
- package/dist/components/p-B9xVWER6.js +0 -2
- package/dist/components/p-B9xVWER6.js.map +0 -1
- package/dist/components/p-BLea0TrP.js +0 -2
- package/dist/components/p-BLea0TrP.js.map +0 -1
- package/dist/components/p-BY0PzkUp.js +0 -2
- package/dist/components/p-BbgPGF2a.js +0 -2
- package/dist/components/p-BbgPGF2a.js.map +0 -1
- package/dist/components/p-BhC1YyId.js +0 -2
- package/dist/components/p-BhC1YyId.js.map +0 -1
- package/dist/components/p-BkAMkjIR.js +0 -2
- package/dist/components/p-C2ym_Ich.js +0 -2
- package/dist/components/p-C_ewSXTT.js +0 -2
- package/dist/components/p-C_ewSXTT.js.map +0 -1
- package/dist/components/p-CiqnkENu.js +0 -2
- package/dist/components/p-CiqnkENu.js.map +0 -1
- package/dist/components/p-Cx-ywr1e.js +0 -2
- package/dist/components/p-Cx-ywr1e.js.map +0 -1
- package/dist/components/p-CydY-v7X.js +0 -2
- package/dist/components/p-CydY-v7X.js.map +0 -1
- package/dist/components/p-DPME1wUJ.js +0 -2
- package/dist/components/p-DPME1wUJ.js.map +0 -1
- package/dist/components/p-DSa0Hnd3.js +0 -2
- package/dist/components/p-DSa0Hnd3.js.map +0 -1
- package/dist/components/p-DUlqUNbE.js +0 -2
- package/dist/components/p-DUlqUNbE.js.map +0 -1
- package/dist/components/p-DWdRSOBV.js +0 -2
- package/dist/components/p-DWdRSOBV.js.map +0 -1
- package/dist/components/p-DYcC5-R9.js +0 -2
- package/dist/components/p-DYcC5-R9.js.map +0 -1
- package/dist/components/p-DbpfpeQT.js +0 -2
- package/dist/components/p-DbpfpeQT.js.map +0 -1
- package/dist/components/p-Dg3xLna0.js +0 -2
- package/dist/components/p-Dg3xLna0.js.map +0 -1
- package/dist/components/p-DuFm-ieS.js +0 -2
- package/dist/components/p-DuFm-ieS.js.map +0 -1
- package/dist/components/p-uQhuDEVt.js +0 -2
- package/dist/components/p-uQhuDEVt.js.map +0 -1
- package/dist/lib/utils/anchored-popup.d.ts +0 -23
- package/dist/types/components/Tooltip/tooltip-position.d.ts +0 -21
- package/dist/types/utils/anchored-popup.d.ts +0 -24
- /package/dist/components/{p-Ccj5Op6E.js.map → p-38PfdMkF.js.map} +0 -0
- /package/dist/components/{p-CaRyxTMz.js.map → p-BFRMwl93.js.map} +0 -0
- /package/dist/components/{p-C7bZ-jiU.js.map → p-BO5aqZcf.js.map} +0 -0
- /package/dist/components/{p-DXLWm4PF.js.map → p-CNgPwd11.js.map} +0 -0
- /package/dist/components/{p-BwGnhInj.js.map → p-CPwpgUWT.js.map} +0 -0
- /package/dist/components/{p-B9bxDfZV.js.map → p-CsX3ICz7.js.map} +0 -0
- /package/dist/components/{p-D-xttdpn.js.map → p-D0e77tkd.js.map} +0 -0
- /package/dist/components/{p-BwsGYxZx.js.map → p-D9u1_OEZ.js.map} +0 -0
- /package/dist/components/{p-DQDpDYyF.js.map → p-DB9XJm2c.js.map} +0 -0
- /package/dist/components/{p-CnHrJTD5.js.map → p-DIFUsoM-.js.map} +0 -0
- /package/dist/components/{p-CWTih3Gc.js.map → p-DmAHufd5.js.map} +0 -0
- /package/dist/components/{p-DqubRds2.js.map → p-G3qIxpQj.js.map} +0 -0
- /package/dist/components/{p-DwX7UmLl.js.map → p-Utr23NC-.js.map} +0 -0
- /package/dist/components/{p-DIoiApa-.js.map → p-Vdufoj7G.js.map} +0 -0
- /package/dist/components/{p-C2ym_Ich.js.map → p-yhj1lIPx.js.map} +0 -0
|
@@ -15,11 +15,12 @@ import { BreadcrumbItem, BreadcrumbSelectDetail } from "./components/Breadcrumb/
|
|
|
15
15
|
import { BarTitleActionItem, BarTitlePrimaryAction, BarTitleSectionItem, BarTitleVariant } from "./components/BarTitle/bar-title-types";
|
|
16
16
|
import { BarWorkflowStep, BarWorkflowSubmitAction } from "./components/BarWorkflow/bar-workflow-types";
|
|
17
17
|
import { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive";
|
|
18
|
-
import { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
18
|
+
import { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
19
19
|
import { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
20
20
|
import { CardDataVizBarWidth } from "./components/CardDataVizBar/CardDataVizBar";
|
|
21
21
|
import { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
22
22
|
import { CardDataVizLineWidth } from "./components/CardDataVizLine/CardDataVizLine";
|
|
23
|
+
import { OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
23
24
|
import { CardSettingActionDetail, CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
24
25
|
import { CardShellDataVizWidth } from "./components/CardShellDataViz/CardShellDataViz";
|
|
25
26
|
import { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
@@ -33,7 +34,7 @@ import { IconColor as IconColor1, IconSize } from "./components/Icon/Icon";
|
|
|
33
34
|
import { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
34
35
|
import { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
35
36
|
import { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
36
|
-
import { MenuSelectionMode } from "./components/Menu/Menu";
|
|
37
|
+
import { MenuSelectionMode, MenuSize } from "./components/Menu/Menu";
|
|
37
38
|
import { MenuAlign, MenuSide } from "./components/Menu/menu-position";
|
|
38
39
|
import { ChoicePopupAnchorAlignment } from "./utils";
|
|
39
40
|
import { ShellGradientPreset } from "./shell/shell-gradient-presets";
|
|
@@ -74,11 +75,12 @@ export { BreadcrumbItem, BreadcrumbSelectDetail } from "./components/Breadcrumb/
|
|
|
74
75
|
export { BarTitleActionItem, BarTitlePrimaryAction, BarTitleSectionItem, BarTitleVariant } from "./components/BarTitle/bar-title-types";
|
|
75
76
|
export { BarWorkflowStep, BarWorkflowSubmitAction } from "./components/BarWorkflow/bar-workflow-types";
|
|
76
77
|
export { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive";
|
|
77
|
-
export { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
78
|
+
export { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
78
79
|
export { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
79
80
|
export { CardDataVizBarWidth } from "./components/CardDataVizBar/CardDataVizBar";
|
|
80
81
|
export { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
81
82
|
export { CardDataVizLineWidth } from "./components/CardDataVizLine/CardDataVizLine";
|
|
83
|
+
export { OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
82
84
|
export { CardSettingActionDetail, CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
83
85
|
export { CardShellDataVizWidth } from "./components/CardShellDataViz/CardShellDataViz";
|
|
84
86
|
export { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
@@ -92,7 +94,7 @@ export { IconColor as IconColor1, IconSize } from "./components/Icon/Icon";
|
|
|
92
94
|
export { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
93
95
|
export { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
94
96
|
export { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
95
|
-
export { MenuSelectionMode } from "./components/Menu/Menu";
|
|
97
|
+
export { MenuSelectionMode, MenuSize } from "./components/Menu/Menu";
|
|
96
98
|
export { MenuAlign, MenuSide } from "./components/Menu/menu-position";
|
|
97
99
|
export { ChoicePopupAnchorAlignment } from "./utils";
|
|
98
100
|
export { ShellGradientPreset } from "./shell/shell-gradient-presets";
|
|
@@ -459,11 +461,28 @@ export namespace Components {
|
|
|
459
461
|
* @default 'bold'
|
|
460
462
|
*/
|
|
461
463
|
"contrast": ButtonFilledContrast;
|
|
464
|
+
/**
|
|
465
|
+
* ID of the popup this button controls.
|
|
466
|
+
*/
|
|
467
|
+
"controls": string | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* Controlled open state of the popup this button triggers. Holds the pressed wash for the popup's rendered lifecycle. ButtonFilled has no selected state, so an open popup never promotes to an active treatment.
|
|
470
|
+
*/
|
|
471
|
+
"expanded": boolean | undefined;
|
|
462
472
|
/**
|
|
463
473
|
* Show a 1px secondary inset border.
|
|
464
474
|
* @default false
|
|
465
475
|
*/
|
|
466
476
|
"hasBorder": boolean;
|
|
477
|
+
/**
|
|
478
|
+
* This action *has* a menu: implies `aria-haspopup="menu"` and adds the trailing chevron that carries the affordance. Only `label` and `icon-label` are supported. A filled button is never the overflow / more-options control — that role belongs to ButtonUnfilled with an `Ellipses` glyph, which conveys the menu without a chevron. Use `haspopup` directly for non-menu popups.
|
|
479
|
+
* @default false
|
|
480
|
+
*/
|
|
481
|
+
"hasMenu": boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Popup type exposed to assistive technology.
|
|
484
|
+
*/
|
|
485
|
+
"haspopup": ButtonFilledPopup | undefined;
|
|
467
486
|
/**
|
|
468
487
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
469
488
|
* @default ''
|
|
@@ -489,6 +508,15 @@ export namespace Components {
|
|
|
489
508
|
* @default ''
|
|
490
509
|
*/
|
|
491
510
|
"label": string;
|
|
511
|
+
/**
|
|
512
|
+
* Scale down during a physical pointer press. Disable when an owning composite requires fixed child or background geometry.
|
|
513
|
+
* @default true
|
|
514
|
+
*/
|
|
515
|
+
"pressScale": boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Pressed semantics for a toggle command that reports state elsewhere.
|
|
518
|
+
*/
|
|
519
|
+
"pressed": boolean | undefined;
|
|
492
520
|
/**
|
|
493
521
|
* Use the half-radius treatment instead of the default control radius.
|
|
494
522
|
* @default false
|
|
@@ -547,6 +575,11 @@ export namespace Components {
|
|
|
547
575
|
* @default true
|
|
548
576
|
*/
|
|
549
577
|
"hasBorder": boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu, i.e. the overflow / more-options control. No chevron is added, so the glyph must convey it on its own; use `Ellipses`. Use `haspopup` directly for non-menu popups.
|
|
580
|
+
* @default false
|
|
581
|
+
*/
|
|
582
|
+
"hasMenu": boolean;
|
|
550
583
|
"haspopup": ButtonUnfilledPopup | undefined;
|
|
551
584
|
/**
|
|
552
585
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
@@ -573,6 +606,11 @@ export namespace Components {
|
|
|
573
606
|
* @default ''
|
|
574
607
|
*/
|
|
575
608
|
"label": string;
|
|
609
|
+
/**
|
|
610
|
+
* Scale down during a physical pointer press. Disable when an owning composite requires fixed child or background geometry.
|
|
611
|
+
* @default true
|
|
612
|
+
*/
|
|
613
|
+
"pressScale": boolean;
|
|
576
614
|
"pressed": boolean | undefined;
|
|
577
615
|
/**
|
|
578
616
|
* Use the half-radius treatment instead of the default control radius.
|
|
@@ -658,6 +696,46 @@ export namespace Components {
|
|
|
658
696
|
*/
|
|
659
697
|
"heading": string;
|
|
660
698
|
}
|
|
699
|
+
interface DsCardOverview {
|
|
700
|
+
/**
|
|
701
|
+
* Comparison caption, for example `vs. previous score period`.
|
|
702
|
+
* @default ''
|
|
703
|
+
*/
|
|
704
|
+
"comparisonLabel": string;
|
|
705
|
+
/**
|
|
706
|
+
* Replace the score and metrics with skeletons while data resolves.
|
|
707
|
+
* @default false
|
|
708
|
+
*/
|
|
709
|
+
"isLoading": boolean;
|
|
710
|
+
/**
|
|
711
|
+
* Width a metric cell may shrink to before the grid drops a column. The grid reflows and then stacks from this alone, so no measurement is required.
|
|
712
|
+
* @default 'var(--dimension-menu-width-xs)'
|
|
713
|
+
*/
|
|
714
|
+
"metricMinWidth": string;
|
|
715
|
+
/**
|
|
716
|
+
* Measures rendered in the responsive grid.
|
|
717
|
+
* @default []
|
|
718
|
+
*/
|
|
719
|
+
"metrics": OverviewMetric[];
|
|
720
|
+
/**
|
|
721
|
+
* Accessible name for the region.
|
|
722
|
+
* @default 'Overview'
|
|
723
|
+
*/
|
|
724
|
+
"overviewLabel": string;
|
|
725
|
+
/**
|
|
726
|
+
* Current reporting period, for example `Jun 29, 2026 – Jul 26, 2026`.
|
|
727
|
+
* @default ''
|
|
728
|
+
*/
|
|
729
|
+
"periodLabel": string;
|
|
730
|
+
/**
|
|
731
|
+
* Leading summary block. Omit to render the bar without a headline figure.
|
|
732
|
+
*/
|
|
733
|
+
"score": OverviewScore | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* Message shown in place of the score when its figure cannot be resolved.
|
|
736
|
+
*/
|
|
737
|
+
"scoreErrorMessage": string | undefined;
|
|
738
|
+
}
|
|
661
739
|
interface DsCardSetting {
|
|
662
740
|
/**
|
|
663
741
|
* @default 'Cancel'
|
|
@@ -708,10 +786,12 @@ export namespace Components {
|
|
|
708
786
|
*/
|
|
709
787
|
"data": ChartDatum[];
|
|
710
788
|
/**
|
|
789
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
711
790
|
* @default 240
|
|
712
791
|
*/
|
|
713
792
|
"height": number;
|
|
714
793
|
/**
|
|
794
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
715
795
|
* @default 480
|
|
716
796
|
*/
|
|
717
797
|
"width": number;
|
|
@@ -723,6 +803,7 @@ export namespace Components {
|
|
|
723
803
|
*/
|
|
724
804
|
"categories": string[];
|
|
725
805
|
/**
|
|
806
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
726
807
|
* @default 240
|
|
727
808
|
*/
|
|
728
809
|
"height": number;
|
|
@@ -736,6 +817,7 @@ export namespace Components {
|
|
|
736
817
|
*/
|
|
737
818
|
"variant": ChartBarStackedVariant;
|
|
738
819
|
/**
|
|
820
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
739
821
|
* @default 480
|
|
740
822
|
*/
|
|
741
823
|
"width": number;
|
|
@@ -835,6 +917,7 @@ export namespace Components {
|
|
|
835
917
|
*/
|
|
836
918
|
"categories": string[];
|
|
837
919
|
/**
|
|
920
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
838
921
|
* @default 240
|
|
839
922
|
*/
|
|
840
923
|
"height": number;
|
|
@@ -848,6 +931,7 @@ export namespace Components {
|
|
|
848
931
|
*/
|
|
849
932
|
"showPoints": boolean;
|
|
850
933
|
/**
|
|
934
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
851
935
|
* @default 480
|
|
852
936
|
*/
|
|
853
937
|
"width": number;
|
|
@@ -1276,6 +1360,11 @@ export namespace Components {
|
|
|
1276
1360
|
* @default TOKEN_CSS_LENGTHS.space050
|
|
1277
1361
|
*/
|
|
1278
1362
|
"sideOffset": number | string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Choice-row density.
|
|
1365
|
+
* @default 'md'
|
|
1366
|
+
*/
|
|
1367
|
+
"size": MenuSize;
|
|
1279
1368
|
}
|
|
1280
1369
|
interface DsMessage {
|
|
1281
1370
|
/**
|
|
@@ -2875,6 +2964,10 @@ export interface DsCardDataVizLineCustomEvent<T> extends CustomEvent<T> {
|
|
|
2875
2964
|
detail: T;
|
|
2876
2965
|
target: HTMLDsCardDataVizLineElement;
|
|
2877
2966
|
}
|
|
2967
|
+
export interface DsCardOverviewCustomEvent<T> extends CustomEvent<T> {
|
|
2968
|
+
detail: T;
|
|
2969
|
+
target: HTMLDsCardOverviewElement;
|
|
2970
|
+
}
|
|
2878
2971
|
export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
|
|
2879
2972
|
detail: T;
|
|
2880
2973
|
target: HTMLDsCardSettingElement;
|
|
@@ -3225,6 +3318,23 @@ declare global {
|
|
|
3225
3318
|
prototype: HTMLDsCardDataVizLineElement;
|
|
3226
3319
|
new (): HTMLDsCardDataVizLineElement;
|
|
3227
3320
|
};
|
|
3321
|
+
interface HTMLDsCardOverviewElementEventMap {
|
|
3322
|
+
"dsMetricSelect": OverviewMetric;
|
|
3323
|
+
}
|
|
3324
|
+
interface HTMLDsCardOverviewElement extends Components.DsCardOverview, HTMLStencilElement {
|
|
3325
|
+
addEventListener<K extends keyof HTMLDsCardOverviewElementEventMap>(type: K, listener: (this: HTMLDsCardOverviewElement, ev: DsCardOverviewCustomEvent<HTMLDsCardOverviewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3326
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3327
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3328
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3329
|
+
removeEventListener<K extends keyof HTMLDsCardOverviewElementEventMap>(type: K, listener: (this: HTMLDsCardOverviewElement, ev: DsCardOverviewCustomEvent<HTMLDsCardOverviewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3330
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3331
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3332
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3333
|
+
}
|
|
3334
|
+
var HTMLDsCardOverviewElement: {
|
|
3335
|
+
prototype: HTMLDsCardOverviewElement;
|
|
3336
|
+
new (): HTMLDsCardOverviewElement;
|
|
3337
|
+
};
|
|
3228
3338
|
interface HTMLDsCardSettingElementEventMap {
|
|
3229
3339
|
"dsAction": CardSettingActionDetail;
|
|
3230
3340
|
}
|
|
@@ -4045,6 +4155,7 @@ declare global {
|
|
|
4045
4155
|
"ds-card-data-viz-bar": HTMLDsCardDataVizBarElement;
|
|
4046
4156
|
"ds-card-data-viz-donut": HTMLDsCardDataVizDonutElement;
|
|
4047
4157
|
"ds-card-data-viz-line": HTMLDsCardDataVizLineElement;
|
|
4158
|
+
"ds-card-overview": HTMLDsCardOverviewElement;
|
|
4048
4159
|
"ds-card-setting": HTMLDsCardSettingElement;
|
|
4049
4160
|
"ds-card-shell-data-viz": HTMLDsCardShellDataVizElement;
|
|
4050
4161
|
"ds-chart-bar": HTMLDsChartBarElement;
|
|
@@ -4476,11 +4587,28 @@ declare namespace LocalJSX {
|
|
|
4476
4587
|
* @default 'bold'
|
|
4477
4588
|
*/
|
|
4478
4589
|
"contrast"?: ButtonFilledContrast;
|
|
4590
|
+
/**
|
|
4591
|
+
* ID of the popup this button controls.
|
|
4592
|
+
*/
|
|
4593
|
+
"controls"?: string | undefined;
|
|
4594
|
+
/**
|
|
4595
|
+
* Controlled open state of the popup this button triggers. Holds the pressed wash for the popup's rendered lifecycle. ButtonFilled has no selected state, so an open popup never promotes to an active treatment.
|
|
4596
|
+
*/
|
|
4597
|
+
"expanded"?: boolean | undefined;
|
|
4479
4598
|
/**
|
|
4480
4599
|
* Show a 1px secondary inset border.
|
|
4481
4600
|
* @default false
|
|
4482
4601
|
*/
|
|
4483
4602
|
"hasBorder"?: boolean;
|
|
4603
|
+
/**
|
|
4604
|
+
* This action *has* a menu: implies `aria-haspopup="menu"` and adds the trailing chevron that carries the affordance. Only `label` and `icon-label` are supported. A filled button is never the overflow / more-options control — that role belongs to ButtonUnfilled with an `Ellipses` glyph, which conveys the menu without a chevron. Use `haspopup` directly for non-menu popups.
|
|
4605
|
+
* @default false
|
|
4606
|
+
*/
|
|
4607
|
+
"hasMenu"?: boolean;
|
|
4608
|
+
/**
|
|
4609
|
+
* Popup type exposed to assistive technology.
|
|
4610
|
+
*/
|
|
4611
|
+
"haspopup"?: ButtonFilledPopup | undefined;
|
|
4484
4612
|
/**
|
|
4485
4613
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
4486
4614
|
* @default ''
|
|
@@ -4507,6 +4635,15 @@ declare namespace LocalJSX {
|
|
|
4507
4635
|
*/
|
|
4508
4636
|
"label"?: string;
|
|
4509
4637
|
"onDsClick"?: (event: DsButtonFilledCustomEvent<MouseEvent>) => void;
|
|
4638
|
+
/**
|
|
4639
|
+
* Scale down during a physical pointer press. Disable when an owning composite requires fixed child or background geometry.
|
|
4640
|
+
* @default true
|
|
4641
|
+
*/
|
|
4642
|
+
"pressScale"?: boolean;
|
|
4643
|
+
/**
|
|
4644
|
+
* Pressed semantics for a toggle command that reports state elsewhere.
|
|
4645
|
+
*/
|
|
4646
|
+
"pressed"?: boolean | undefined;
|
|
4510
4647
|
/**
|
|
4511
4648
|
* Use the half-radius treatment instead of the default control radius.
|
|
4512
4649
|
* @default false
|
|
@@ -4564,6 +4701,11 @@ declare namespace LocalJSX {
|
|
|
4564
4701
|
* @default true
|
|
4565
4702
|
*/
|
|
4566
4703
|
"hasBorder"?: boolean;
|
|
4704
|
+
/**
|
|
4705
|
+
* Mark the button as a Menu trigger. Implies `aria-haspopup="menu"` and covers both menu-button shapes: - `label` / `icon-label` — the action *has* a menu; a trailing chevron carries the affordance. - `icon` — the button *is* a menu, i.e. the overflow / more-options control. No chevron is added, so the glyph must convey it on its own; use `Ellipses`. Use `haspopup` directly for non-menu popups.
|
|
4706
|
+
* @default false
|
|
4707
|
+
*/
|
|
4708
|
+
"hasMenu"?: boolean;
|
|
4567
4709
|
"haspopup"?: ButtonUnfilledPopup | undefined;
|
|
4568
4710
|
/**
|
|
4569
4711
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
@@ -4592,6 +4734,11 @@ declare namespace LocalJSX {
|
|
|
4592
4734
|
"label"?: string;
|
|
4593
4735
|
"onDsChange"?: (event: DsButtonUnfilledCustomEvent<boolean>) => void;
|
|
4594
4736
|
"onDsClick"?: (event: DsButtonUnfilledCustomEvent<MouseEvent>) => void;
|
|
4737
|
+
/**
|
|
4738
|
+
* Scale down during a physical pointer press. Disable when an owning composite requires fixed child or background geometry.
|
|
4739
|
+
* @default true
|
|
4740
|
+
*/
|
|
4741
|
+
"pressScale"?: boolean;
|
|
4595
4742
|
"pressed"?: boolean | undefined;
|
|
4596
4743
|
/**
|
|
4597
4744
|
* Use the half-radius treatment instead of the default control radius.
|
|
@@ -4688,6 +4835,50 @@ declare namespace LocalJSX {
|
|
|
4688
4835
|
*/
|
|
4689
4836
|
"onDsFilterClick"?: (event: DsCardDataVizLineCustomEvent<void>) => void;
|
|
4690
4837
|
}
|
|
4838
|
+
interface DsCardOverview {
|
|
4839
|
+
/**
|
|
4840
|
+
* Comparison caption, for example `vs. previous score period`.
|
|
4841
|
+
* @default ''
|
|
4842
|
+
*/
|
|
4843
|
+
"comparisonLabel"?: string;
|
|
4844
|
+
/**
|
|
4845
|
+
* Replace the score and metrics with skeletons while data resolves.
|
|
4846
|
+
* @default false
|
|
4847
|
+
*/
|
|
4848
|
+
"isLoading"?: boolean;
|
|
4849
|
+
/**
|
|
4850
|
+
* Width a metric cell may shrink to before the grid drops a column. The grid reflows and then stacks from this alone, so no measurement is required.
|
|
4851
|
+
* @default 'var(--dimension-menu-width-xs)'
|
|
4852
|
+
*/
|
|
4853
|
+
"metricMinWidth"?: string;
|
|
4854
|
+
/**
|
|
4855
|
+
* Measures rendered in the responsive grid.
|
|
4856
|
+
* @default []
|
|
4857
|
+
*/
|
|
4858
|
+
"metrics"?: OverviewMetric[];
|
|
4859
|
+
/**
|
|
4860
|
+
* Emitted when a metric that is not inactive is activated.
|
|
4861
|
+
*/
|
|
4862
|
+
"onDsMetricSelect"?: (event: DsCardOverviewCustomEvent<OverviewMetric>) => void;
|
|
4863
|
+
/**
|
|
4864
|
+
* Accessible name for the region.
|
|
4865
|
+
* @default 'Overview'
|
|
4866
|
+
*/
|
|
4867
|
+
"overviewLabel"?: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Current reporting period, for example `Jun 29, 2026 – Jul 26, 2026`.
|
|
4870
|
+
* @default ''
|
|
4871
|
+
*/
|
|
4872
|
+
"periodLabel"?: string;
|
|
4873
|
+
/**
|
|
4874
|
+
* Leading summary block. Omit to render the bar without a headline figure.
|
|
4875
|
+
*/
|
|
4876
|
+
"score"?: OverviewScore | undefined;
|
|
4877
|
+
/**
|
|
4878
|
+
* Message shown in place of the score when its figure cannot be resolved.
|
|
4879
|
+
*/
|
|
4880
|
+
"scoreErrorMessage"?: string | undefined;
|
|
4881
|
+
}
|
|
4691
4882
|
interface DsCardSetting {
|
|
4692
4883
|
/**
|
|
4693
4884
|
* @default 'Cancel'
|
|
@@ -4742,10 +4933,12 @@ declare namespace LocalJSX {
|
|
|
4742
4933
|
*/
|
|
4743
4934
|
"data"?: ChartDatum[];
|
|
4744
4935
|
/**
|
|
4936
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4745
4937
|
* @default 240
|
|
4746
4938
|
*/
|
|
4747
4939
|
"height"?: number;
|
|
4748
4940
|
/**
|
|
4941
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4749
4942
|
* @default 480
|
|
4750
4943
|
*/
|
|
4751
4944
|
"width"?: number;
|
|
@@ -4757,6 +4950,7 @@ declare namespace LocalJSX {
|
|
|
4757
4950
|
*/
|
|
4758
4951
|
"categories"?: string[];
|
|
4759
4952
|
/**
|
|
4953
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4760
4954
|
* @default 240
|
|
4761
4955
|
*/
|
|
4762
4956
|
"height"?: number;
|
|
@@ -4770,6 +4964,7 @@ declare namespace LocalJSX {
|
|
|
4770
4964
|
*/
|
|
4771
4965
|
"variant"?: ChartBarStackedVariant;
|
|
4772
4966
|
/**
|
|
4967
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4773
4968
|
* @default 480
|
|
4774
4969
|
*/
|
|
4775
4970
|
"width"?: number;
|
|
@@ -4881,6 +5076,7 @@ declare namespace LocalJSX {
|
|
|
4881
5076
|
*/
|
|
4882
5077
|
"categories"?: string[];
|
|
4883
5078
|
/**
|
|
5079
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4884
5080
|
* @default 240
|
|
4885
5081
|
*/
|
|
4886
5082
|
"height"?: number;
|
|
@@ -4894,6 +5090,7 @@ declare namespace LocalJSX {
|
|
|
4894
5090
|
*/
|
|
4895
5091
|
"showPoints"?: boolean;
|
|
4896
5092
|
/**
|
|
5093
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4897
5094
|
* @default 480
|
|
4898
5095
|
*/
|
|
4899
5096
|
"width"?: number;
|
|
@@ -5350,6 +5547,11 @@ declare namespace LocalJSX {
|
|
|
5350
5547
|
* @default TOKEN_CSS_LENGTHS.space050
|
|
5351
5548
|
*/
|
|
5352
5549
|
"sideOffset"?: number | string;
|
|
5550
|
+
/**
|
|
5551
|
+
* Choice-row density.
|
|
5552
|
+
* @default 'md'
|
|
5553
|
+
*/
|
|
5554
|
+
"size"?: MenuSize;
|
|
5353
5555
|
}
|
|
5354
5556
|
interface DsMessage {
|
|
5355
5557
|
/**
|
|
@@ -7114,10 +7316,16 @@ declare namespace LocalJSX {
|
|
|
7114
7316
|
"hasBorder": boolean;
|
|
7115
7317
|
"background": ButtonFilledBackground | undefined;
|
|
7116
7318
|
"rounded": boolean;
|
|
7319
|
+
"pressScale": boolean;
|
|
7117
7320
|
"isInactive": boolean;
|
|
7118
7321
|
"isLoading": boolean;
|
|
7119
7322
|
"type": 'button' | 'submit' | 'reset';
|
|
7120
7323
|
"ariaLabel": string | null;
|
|
7324
|
+
"controls": string | undefined;
|
|
7325
|
+
"expanded": boolean | undefined;
|
|
7326
|
+
"haspopup": ButtonFilledPopup | undefined;
|
|
7327
|
+
"pressed": boolean | undefined;
|
|
7328
|
+
"hasMenu": boolean;
|
|
7121
7329
|
}
|
|
7122
7330
|
interface DsButtonUnfilledAttributes {
|
|
7123
7331
|
"variant": ButtonUnfilledVariant;
|
|
@@ -7129,6 +7337,7 @@ declare namespace LocalJSX {
|
|
|
7129
7337
|
"activeFill": boolean;
|
|
7130
7338
|
"hasBorder": boolean;
|
|
7131
7339
|
"rounded": boolean;
|
|
7340
|
+
"pressScale": boolean;
|
|
7132
7341
|
"dot": boolean;
|
|
7133
7342
|
"isInactive": boolean;
|
|
7134
7343
|
"isLoading": boolean;
|
|
@@ -7139,6 +7348,7 @@ declare namespace LocalJSX {
|
|
|
7139
7348
|
"expanded": boolean | undefined;
|
|
7140
7349
|
"haspopup": ButtonUnfilledPopup | undefined;
|
|
7141
7350
|
"pressed": boolean | undefined;
|
|
7351
|
+
"hasMenu": boolean;
|
|
7142
7352
|
"focusTabIndex": number;
|
|
7143
7353
|
}
|
|
7144
7354
|
interface DsCardDataVizBarAttributes {
|
|
@@ -7156,6 +7366,14 @@ declare namespace LocalJSX {
|
|
|
7156
7366
|
"cardWidth": CardDataVizLineWidth;
|
|
7157
7367
|
"filterLabel": string;
|
|
7158
7368
|
}
|
|
7369
|
+
interface DsCardOverviewAttributes {
|
|
7370
|
+
"periodLabel": string;
|
|
7371
|
+
"comparisonLabel": string;
|
|
7372
|
+
"metricMinWidth": string;
|
|
7373
|
+
"isLoading": boolean;
|
|
7374
|
+
"scoreErrorMessage": string | undefined;
|
|
7375
|
+
"overviewLabel": string;
|
|
7376
|
+
}
|
|
7159
7377
|
interface DsCardSettingAttributes {
|
|
7160
7378
|
"heading": string;
|
|
7161
7379
|
"cardWidth": CardSettingWidth;
|
|
@@ -7310,6 +7528,7 @@ declare namespace LocalJSX {
|
|
|
7310
7528
|
}
|
|
7311
7529
|
interface DsMenuAttributes {
|
|
7312
7530
|
"open": boolean;
|
|
7531
|
+
"size": MenuSize;
|
|
7313
7532
|
"selectionMode": MenuSelectionMode;
|
|
7314
7533
|
"side": MenuSide;
|
|
7315
7534
|
"align": MenuAlign;
|
|
@@ -7705,6 +7924,7 @@ declare namespace LocalJSX {
|
|
|
7705
7924
|
"ds-card-data-viz-bar": Omit<DsCardDataVizBar, keyof DsCardDataVizBarAttributes> & { [K in keyof DsCardDataVizBar & keyof DsCardDataVizBarAttributes]?: DsCardDataVizBar[K] } & { [K in keyof DsCardDataVizBar & keyof DsCardDataVizBarAttributes as `attr:${K}`]?: DsCardDataVizBarAttributes[K] } & { [K in keyof DsCardDataVizBar & keyof DsCardDataVizBarAttributes as `prop:${K}`]?: DsCardDataVizBar[K] } & OneOf<"heading", DsCardDataVizBar["heading"], DsCardDataVizBarAttributes["heading"]>;
|
|
7706
7925
|
"ds-card-data-viz-donut": Omit<DsCardDataVizDonut, keyof DsCardDataVizDonutAttributes> & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes]?: DsCardDataVizDonut[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `attr:${K}`]?: DsCardDataVizDonutAttributes[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `prop:${K}`]?: DsCardDataVizDonut[K] } & OneOf<"heading", DsCardDataVizDonut["heading"], DsCardDataVizDonutAttributes["heading"]>;
|
|
7707
7926
|
"ds-card-data-viz-line": Omit<DsCardDataVizLine, keyof DsCardDataVizLineAttributes> & { [K in keyof DsCardDataVizLine & keyof DsCardDataVizLineAttributes]?: DsCardDataVizLine[K] } & { [K in keyof DsCardDataVizLine & keyof DsCardDataVizLineAttributes as `attr:${K}`]?: DsCardDataVizLineAttributes[K] } & { [K in keyof DsCardDataVizLine & keyof DsCardDataVizLineAttributes as `prop:${K}`]?: DsCardDataVizLine[K] } & OneOf<"heading", DsCardDataVizLine["heading"], DsCardDataVizLineAttributes["heading"]>;
|
|
7927
|
+
"ds-card-overview": Omit<DsCardOverview, keyof DsCardOverviewAttributes> & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes]?: DsCardOverview[K] } & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes as `attr:${K}`]?: DsCardOverviewAttributes[K] } & { [K in keyof DsCardOverview & keyof DsCardOverviewAttributes as `prop:${K}`]?: DsCardOverview[K] };
|
|
7708
7928
|
"ds-card-setting": Omit<DsCardSetting, keyof DsCardSettingAttributes> & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes]?: DsCardSetting[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `attr:${K}`]?: DsCardSettingAttributes[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `prop:${K}`]?: DsCardSetting[K] } & OneOf<"heading", DsCardSetting["heading"], DsCardSettingAttributes["heading"]>;
|
|
7709
7929
|
"ds-card-shell-data-viz": Omit<DsCardShellDataViz, keyof DsCardShellDataVizAttributes> & { [K in keyof DsCardShellDataViz & keyof DsCardShellDataVizAttributes]?: DsCardShellDataViz[K] } & { [K in keyof DsCardShellDataViz & keyof DsCardShellDataVizAttributes as `attr:${K}`]?: DsCardShellDataVizAttributes[K] } & { [K in keyof DsCardShellDataViz & keyof DsCardShellDataVizAttributes as `prop:${K}`]?: DsCardShellDataViz[K] } & OneOf<"heading", DsCardShellDataViz["heading"], DsCardShellDataVizAttributes["heading"]>;
|
|
7710
7930
|
"ds-chart-bar": Omit<DsChartBar, keyof DsChartBarAttributes> & { [K in keyof DsChartBar & keyof DsChartBarAttributes]?: DsChartBar[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `attr:${K}`]?: DsChartBarAttributes[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `prop:${K}`]?: DsChartBar[K] };
|
|
@@ -7794,6 +8014,7 @@ declare module "@stencil/core" {
|
|
|
7794
8014
|
* region and a content-sized, static legend.
|
|
7795
8015
|
*/
|
|
7796
8016
|
"ds-card-data-viz-line": LocalJSX.IntrinsicElements["ds-card-data-viz-line"] & JSXBase.HTMLAttributes<HTMLDsCardDataVizLineElement>;
|
|
8017
|
+
"ds-card-overview": LocalJSX.IntrinsicElements["ds-card-overview"] & JSXBase.HTMLAttributes<HTMLDsCardOverviewElement>;
|
|
7797
8018
|
"ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
|
|
7798
8019
|
/**
|
|
7799
8020
|
* Dedicated shell chrome for data-visualization cards. Chart-specific layout,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AnchoredAlign, AnchoredSide } from '../utils/anchored-position';
|
|
2
2
|
export type ToastPriority = 'low' | 'high';
|
|
3
3
|
export type ToastTransitionStatus = 'starting' | 'active' | 'ending';
|
|
4
4
|
export type ToastSwipeDirection = 'up' | 'down' | 'left' | 'right';
|
|
@@ -6,8 +6,8 @@ export type ToastCloseReason = 'timeout' | 'close-button' | 'swipe' | 'escape' |
|
|
|
6
6
|
export interface ToastPositionerOptions {
|
|
7
7
|
/** Element or document id used to position this toast outside the global stack. */
|
|
8
8
|
anchor: HTMLElement | string;
|
|
9
|
-
side?:
|
|
10
|
-
align?:
|
|
9
|
+
side?: AnchoredSide;
|
|
10
|
+
align?: AnchoredAlign;
|
|
11
11
|
sideOffset?: number | string;
|
|
12
12
|
alignOffset?: number | string;
|
|
13
13
|
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type AnchoredPosition, type AnchoredPositionInput } from './anchored-position';
|
|
2
|
+
/**
|
|
3
|
+
* How the scroll/resize path reschedules. Each consumer family measured
|
|
4
|
+
* differently before consolidation, and the differences are preserved verbatim
|
|
5
|
+
* so placement timing is unchanged.
|
|
6
|
+
*
|
|
7
|
+
* - `sync` — measure inside the listener. Selects.
|
|
8
|
+
* - `frame` — coalesce and measure on the next frame. Tooltips.
|
|
9
|
+
* - `double-frame` — coalesce, measure next frame, then measure once more the
|
|
10
|
+
* frame after. Scroll-driven owners such as ShellPage commit a compact-header
|
|
11
|
+
* render in the frame after the scroll event, so a single frame reads a stale
|
|
12
|
+
* anchor rect. Menus.
|
|
13
|
+
*/
|
|
14
|
+
export type AnchoredLiveUpdateMode = 'sync' | 'frame' | 'double-frame';
|
|
15
|
+
export interface AnchoredPositionControllerOptions {
|
|
16
|
+
/** Resolve the anchor at measure time; positioning retries while this is null. */
|
|
17
|
+
getAnchor: () => HTMLElement | null;
|
|
18
|
+
/** Resolve the popup at measure time; positioning retries while this is null. */
|
|
19
|
+
getPopup: () => HTMLElement | null;
|
|
20
|
+
/**
|
|
21
|
+
* Build the layout input for one measurement pass.
|
|
22
|
+
*
|
|
23
|
+
* The owning component keeps its own anchor semantics here — inner-cell align
|
|
24
|
+
* offsets, minimum widths, and token resolution stay with the component rather
|
|
25
|
+
* than moving into this controller. Return `null` when the component's own
|
|
26
|
+
* guards say the popup is not measurable yet, which schedules a retry.
|
|
27
|
+
*/
|
|
28
|
+
measure: (anchor: HTMLElement, popup: HTMLElement) => AnchoredPositionInput | null;
|
|
29
|
+
/** Commit a changed position. Not called when the result is unchanged. */
|
|
30
|
+
apply: (position: AnchoredPosition) => void;
|
|
31
|
+
/** Fired once per `start()` when the first measurement succeeds. */
|
|
32
|
+
onReady?: () => void;
|
|
33
|
+
/** Scroll/resize behavior. Defaults to `sync`. */
|
|
34
|
+
liveUpdate?: AnchoredLiveUpdateMode;
|
|
35
|
+
/**
|
|
36
|
+
* Re-measure when the popup or anchor resizes. Tooltips need this because the
|
|
37
|
+
* label's `ds-text` upgrade changes the measured width after mount.
|
|
38
|
+
*/
|
|
39
|
+
observeResize?: boolean;
|
|
40
|
+
retryBudget?: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Lifecycle owner for an element-anchored popup: listener binding, measurement
|
|
44
|
+
* retries, frame coalescing, and teardown.
|
|
45
|
+
*
|
|
46
|
+
* Pairs with `computeAnchoredPosition`, which owns the geometry. Split this way
|
|
47
|
+
* because the geometry is pure and exhaustively testable while the lifecycle is
|
|
48
|
+
* timing-dependent; keeping them separate means the risky half lives in exactly
|
|
49
|
+
* one place.
|
|
50
|
+
*
|
|
51
|
+
* Not suitable for overlays that place several popups in one shared pass — Toast
|
|
52
|
+
* positions N anchored records inside a single layout commit and keeps its own
|
|
53
|
+
* scheduler, using only the geometry function.
|
|
54
|
+
*/
|
|
55
|
+
export declare class AnchoredPositionController {
|
|
56
|
+
private readonly options;
|
|
57
|
+
private scrollResizeHandler;
|
|
58
|
+
private resizeObserver;
|
|
59
|
+
private retryRaf;
|
|
60
|
+
private liveRaf;
|
|
61
|
+
private last;
|
|
62
|
+
private isReady;
|
|
63
|
+
constructor(options: AnchoredPositionControllerOptions);
|
|
64
|
+
/** `true` once a measurement has succeeded, for gating popup reveal. */
|
|
65
|
+
get ready(): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Bind scroll/resize tracking for an opening popup.
|
|
68
|
+
*
|
|
69
|
+
* Deliberately does not schedule placement: every consumer binds listeners and
|
|
70
|
+
* then schedules in its own order, and folding both into one call produced two
|
|
71
|
+
* overlapping retry loops. Call `schedule()` or `update()` separately.
|
|
72
|
+
*/
|
|
73
|
+
observe(): void;
|
|
74
|
+
/** Unbind tracking, cancel pending frames, and clear the cached position. */
|
|
75
|
+
unobserve(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Retry measurement each frame until it succeeds or the budget runs out, so a
|
|
78
|
+
* popup is never revealed at 0,0 after a failed first pass.
|
|
79
|
+
*/
|
|
80
|
+
schedule(onReady?: () => void): void;
|
|
81
|
+
/** Measure and commit once. @returns `false` when the popup is not measurable. */
|
|
82
|
+
update(): boolean;
|
|
83
|
+
/** Reposition an already-open popup without hiding it. */
|
|
84
|
+
scheduleLiveUpdate(): void;
|
|
85
|
+
/** Cancel pending retry and live frames without unbinding listeners. */
|
|
86
|
+
cancel(): void;
|
|
87
|
+
private cancelRetry;
|
|
88
|
+
private bindListeners;
|
|
89
|
+
private unbindListeners;
|
|
90
|
+
/**
|
|
91
|
+
* Re-attach the resize observer after the popup remounts. Safe to call
|
|
92
|
+
* repeatedly; `ResizeObserver.observe` ignores duplicate targets.
|
|
93
|
+
*/
|
|
94
|
+
observeResizeTargets(): void;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=anchored-position-controller.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type AnchoredSide = 'top' | 'right' | 'bottom' | 'left';
|
|
2
|
+
export type AnchoredAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export interface AnchoredPositionInput {
|
|
4
|
+
anchorRect: Pick<DOMRectReadOnly, 'top' | 'left' | 'right' | 'bottom' | 'width' | 'height'>;
|
|
5
|
+
popupWidth: number;
|
|
6
|
+
popupHeight: number;
|
|
7
|
+
side: AnchoredSide;
|
|
8
|
+
align: AnchoredAlign;
|
|
9
|
+
sideOffsetPx: number;
|
|
10
|
+
alignOffsetPx: number;
|
|
11
|
+
viewportPadPx: number;
|
|
12
|
+
viewportWidth: number;
|
|
13
|
+
viewportHeight: number;
|
|
14
|
+
}
|
|
15
|
+
export interface AnchoredPosition {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
/** Side actually used, which differs from the request when placement flipped. */
|
|
19
|
+
resolvedSide: AnchoredSide;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Pure viewport-fixed anchored-popup layout math shared by every element-anchored
|
|
23
|
+
* overlay: menus, selects, tooltips, and anchored toasts.
|
|
24
|
+
*
|
|
25
|
+
* `side` is preferred. When the popup spills past the padded viewport there and
|
|
26
|
+
* the opposite side spills less, placement flips on the main axis; the result is
|
|
27
|
+
* then clamped into the viewport on both axes. Cross-axis `align` is applied
|
|
28
|
+
* before clamping so `alignOffsetPx` stays an additive nudge.
|
|
29
|
+
*
|
|
30
|
+
* Callers own their own anchor semantics — inner-cell alignment offsets and
|
|
31
|
+
* minimum widths belong to the calling component, not here.
|
|
32
|
+
* @see choice-popup-alignment.ts for the choice-cell alignment transform.
|
|
33
|
+
*/
|
|
34
|
+
export declare function computeAnchoredPosition(input: AnchoredPositionInput): AnchoredPosition;
|
|
35
|
+
//# sourceMappingURL=anchored-position.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface CartesianChartLayout {
|
|
2
|
+
margin: {
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
left: number;
|
|
7
|
+
};
|
|
8
|
+
axisLabelGap: number;
|
|
9
|
+
categoryLabelOffset: number;
|
|
10
|
+
}
|
|
11
|
+
/** Resolve shared Cartesian chart geometry from TokoMo dimension tokens. */
|
|
12
|
+
export declare function resolveCartesianChartLayout(): CartesianChartLayout;
|
|
13
|
+
//# sourceMappingURL=cartesian-chart-layout.d.ts.map
|