@ds-mo/ui 12.7.0 → 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/dist/.build-stamp +1 -1
- package/dist/agent-patterns.json +22 -9
- package/dist/agent.json +230 -18
- 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/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-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-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-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-input.js +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-bubble.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-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-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-modal.js +1 -1
- package/dist/components/ds-modal.js.map +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-scroll-overlay.js +1 -1
- package/dist/components/ds-scroll-overlay.js.map +1 -1
- package/dist/components/ds-select-multi.js +1 -1
- package/dist/components/ds-select.js +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-picker.js.map +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-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-C9h13YnX.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-CnAkobDW.js → p-B6NvVdeO.js} +2 -2
- 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-BT5hgg5i.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-C_9ZH0A3.js → p-BXaieghV.js} +2 -2
- package/dist/components/p-BlHzmszE.js +2 -0
- package/dist/components/{p-Bl001G0Y.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-CNgPwd11.js +2 -0
- package/dist/components/{p-1darPzys.js.map → p-CNgPwd11.js.map} +1 -1
- package/dist/components/{p-BcfC6phQ.js → p-CNjOyUQu.js} +2 -2
- package/dist/components/p-CNjOyUQu.js.map +1 -0
- package/dist/components/{p-k0Hmj1KV.js → p-CPwpgUWT.js} +2 -2
- package/dist/components/{p-DIa73GJP.js → p-CU2673IJ.js} +2 -2
- package/dist/components/{p-Crsn82rz.js → p-CsX3ICz7.js} +2 -2
- package/dist/components/{p-B-9A0e_0.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-CvyTZ4Mg.js → p-D9u1_OEZ.js} +2 -2
- package/dist/components/{p-B_5nxOeB.js → p-DB9XJm2c.js} +2 -2
- package/dist/components/{p-CUAYsK44.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-guQ7hv6W.js → p-DhLmoCe_.js} +2 -2
- package/dist/components/{p-CqWV4Hl_.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-DNFd4Ao-.js → p-G3qIxpQj.js} +2 -2
- package/dist/components/{p-C6xC48hG.js → p-Re2kPrXm.js} +2 -2
- package/dist/components/{p--eKXTylf.js → p-Utr23NC-.js} +2 -2
- package/dist/components/{p-5-QAFB4j.js → p-Vdufoj7G.js} +2 -2
- package/dist/components/{p-BuiZcSga.js → p-huw1oRbt.js} +2 -2
- package/dist/components/p-huw1oRbt.js.map +1 -0
- package/dist/components/p-ukB-dPOK.js +2 -0
- package/dist/components/{p-pgxlkvUy.js.map → p-ukB-dPOK.js.map} +1 -1
- package/dist/components/p-yhj1lIPx.js +2 -0
- package/dist/docs/components.json +599 -11
- 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/index.d.ts +2 -0
- package/dist/lib/utils/index.js +31 -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 +1 -1
- package/dist/mcp-data/registry/bar-title.json +2 -2
- package/dist/mcp-data/registry/bar-workflow.json +1 -1
- package/dist/mcp-data/registry/breadcrumb.json +1 -1
- package/dist/mcp-data/registry/button-filled.json +122 -6
- package/dist/mcp-data/registry/button-unfilled.json +49 -5
- package/dist/mcp-data/registry/card-data-viz-bar.json +2 -2
- package/dist/mcp-data/registry/card-data-viz-donut.json +2 -1
- package/dist/mcp-data/registry/card-data-viz-line.json +2 -2
- package/dist/mcp-data/registry/card-overview.json +317 -0
- package/dist/mcp-data/registry/card-setting.json +1 -1
- package/dist/mcp-data/registry/card-shell-data-viz.json +1 -1
- package/dist/mcp-data/registry/chart-bar-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 +1 -1
- 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 +1 -1
- package/dist/mcp-data/registry/conversation-list-section.json +1 -1
- package/dist/mcp-data/registry/conversation-list.json +1 -1
- package/dist/mcp-data/registry/divider.json +1 -1
- package/dist/mcp-data/registry/empty-state.json +1 -1
- package/dist/mcp-data/registry/field.json +1 -1
- package/dist/mcp-data/registry/icon.json +1 -1
- package/dist/mcp-data/registry/input.json +1 -1
- package/dist/mcp-data/registry/loader.json +1 -1
- package/dist/mcp-data/registry/markdown.json +1 -1
- package/dist/mcp-data/registry/menu.json +3 -3
- 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 +1 -1
- package/dist/mcp-data/registry/message.json +1 -1
- package/dist/mcp-data/registry/mobile-bar-nav.json +1 -1
- package/dist/mcp-data/registry/mobile-header.json +1 -1
- package/dist/mcp-data/registry/mobile-section-switcher.json +1 -1
- package/dist/mcp-data/registry/mobile-sheet-nav.json +1 -1
- package/dist/mcp-data/registry/modal.json +1 -1
- package/dist/mcp-data/registry/panel-nav.json +1 -1
- package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
- package/dist/mcp-data/registry/panel-tool-header.json +1 -1
- package/dist/mcp-data/registry/panel-tool-search.json +1 -1
- package/dist/mcp-data/registry/panel-tools.json +3 -2
- package/dist/mcp-data/registry/radio.json +1 -1
- package/dist/mcp-data/registry/registry.json +233 -18
- package/dist/mcp-data/registry/scroll-overlay.json +1 -1
- package/dist/mcp-data/registry/select-multi.json +1 -1
- package/dist/mcp-data/registry/select.json +1 -1
- package/dist/mcp-data/registry/shell-app.json +1 -1
- package/dist/mcp-data/registry/shell-gradient-picker.json +1 -1
- package/dist/mcp-data/registry/shell-gradient-swatch.json +1 -1
- package/dist/mcp-data/registry/shell-page.json +5 -4
- package/dist/mcp-data/registry/shell-tools.json +1 -1
- package/dist/mcp-data/registry/skeleton.json +1 -1
- package/dist/mcp-data/registry/slider.json +1 -1
- package/dist/mcp-data/registry/swatch-picker.json +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/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 +11 -0
- package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +32 -0
- 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/Menu/Menu.d.ts +7 -4
- package/dist/types/components/Menu/menu-position.d.ts +6 -6
- package/dist/types/components/ShellPage/ShellPage.d.ts +1 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -4
- package/dist/types/components.d.ts +212 -2
- 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-popup-alignment.d.ts +2 -2
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/metric-change.d.ts +53 -0
- package/dist/types/utils/select-controller.d.ts +3 -3
- package/dist/types/utils/token-defaults.d.ts +3 -0
- package/package.json +3 -3
- package/dist/components/p-1darPzys.js +0 -2
- package/dist/components/p-B8C_yfLQ.js +0 -2
- package/dist/components/p-B8C_yfLQ.js.map +0 -1
- package/dist/components/p-BcfC6phQ.js.map +0 -1
- package/dist/components/p-Bl001G0Y.js +0 -2
- package/dist/components/p-BuiZcSga.js.map +0 -1
- package/dist/components/p-Bv9frkvW.js +0 -2
- package/dist/components/p-Bv9frkvW.js.map +0 -1
- package/dist/components/p-C0-K8vnW.js +0 -2
- package/dist/components/p-C0-K8vnW.js.map +0 -1
- 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-Ca9-fnFl.js +0 -2
- package/dist/components/p-Ca9-fnFl.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-De7NquTI.js +0 -2
- package/dist/components/p-De7NquTI.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-pgxlkvUy.js +0 -2
- 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-C9h13YnX.js.map → p-38PfdMkF.js.map} +0 -0
- /package/dist/components/{p-CnAkobDW.js.map → p-B6NvVdeO.js.map} +0 -0
- /package/dist/components/{p-BT5hgg5i.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-C_9ZH0A3.js.map → p-BXaieghV.js.map} +0 -0
- /package/dist/components/{p-k0Hmj1KV.js.map → p-CPwpgUWT.js.map} +0 -0
- /package/dist/components/{p-DIa73GJP.js.map → p-CU2673IJ.js.map} +0 -0
- /package/dist/components/{p-Crsn82rz.js.map → p-CsX3ICz7.js.map} +0 -0
- /package/dist/components/{p-B-9A0e_0.js.map → p-D0e77tkd.js.map} +0 -0
- /package/dist/components/{p-CvyTZ4Mg.js.map → p-D9u1_OEZ.js.map} +0 -0
- /package/dist/components/{p-B_5nxOeB.js.map → p-DB9XJm2c.js.map} +0 -0
- /package/dist/components/{p-CUAYsK44.js.map → p-DIFUsoM-.js.map} +0 -0
- /package/dist/components/{p-guQ7hv6W.js.map → p-DhLmoCe_.js.map} +0 -0
- /package/dist/components/{p-CqWV4Hl_.js.map → p-DmAHufd5.js.map} +0 -0
- /package/dist/components/{p-DNFd4Ao-.js.map → p-G3qIxpQj.js.map} +0 -0
- /package/dist/components/{p-C6xC48hG.js.map → p-Re2kPrXm.js.map} +0 -0
- /package/dist/components/{p--eKXTylf.js.map → p-Utr23NC-.js.map} +0 -0
- /package/dist/components/{p-5-QAFB4j.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";
|
|
@@ -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";
|
|
@@ -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;
|
|
@@ -2880,6 +2964,10 @@ export interface DsCardDataVizLineCustomEvent<T> extends CustomEvent<T> {
|
|
|
2880
2964
|
detail: T;
|
|
2881
2965
|
target: HTMLDsCardDataVizLineElement;
|
|
2882
2966
|
}
|
|
2967
|
+
export interface DsCardOverviewCustomEvent<T> extends CustomEvent<T> {
|
|
2968
|
+
detail: T;
|
|
2969
|
+
target: HTMLDsCardOverviewElement;
|
|
2970
|
+
}
|
|
2883
2971
|
export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
|
|
2884
2972
|
detail: T;
|
|
2885
2973
|
target: HTMLDsCardSettingElement;
|
|
@@ -3230,6 +3318,23 @@ declare global {
|
|
|
3230
3318
|
prototype: HTMLDsCardDataVizLineElement;
|
|
3231
3319
|
new (): HTMLDsCardDataVizLineElement;
|
|
3232
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
|
+
};
|
|
3233
3338
|
interface HTMLDsCardSettingElementEventMap {
|
|
3234
3339
|
"dsAction": CardSettingActionDetail;
|
|
3235
3340
|
}
|
|
@@ -4050,6 +4155,7 @@ declare global {
|
|
|
4050
4155
|
"ds-card-data-viz-bar": HTMLDsCardDataVizBarElement;
|
|
4051
4156
|
"ds-card-data-viz-donut": HTMLDsCardDataVizDonutElement;
|
|
4052
4157
|
"ds-card-data-viz-line": HTMLDsCardDataVizLineElement;
|
|
4158
|
+
"ds-card-overview": HTMLDsCardOverviewElement;
|
|
4053
4159
|
"ds-card-setting": HTMLDsCardSettingElement;
|
|
4054
4160
|
"ds-card-shell-data-viz": HTMLDsCardShellDataVizElement;
|
|
4055
4161
|
"ds-chart-bar": HTMLDsChartBarElement;
|
|
@@ -4481,11 +4587,28 @@ declare namespace LocalJSX {
|
|
|
4481
4587
|
* @default 'bold'
|
|
4482
4588
|
*/
|
|
4483
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;
|
|
4484
4598
|
/**
|
|
4485
4599
|
* Show a 1px secondary inset border.
|
|
4486
4600
|
* @default false
|
|
4487
4601
|
*/
|
|
4488
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;
|
|
4489
4612
|
/**
|
|
4490
4613
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
4491
4614
|
* @default ''
|
|
@@ -4512,6 +4635,15 @@ declare namespace LocalJSX {
|
|
|
4512
4635
|
*/
|
|
4513
4636
|
"label"?: string;
|
|
4514
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;
|
|
4515
4647
|
/**
|
|
4516
4648
|
* Use the half-radius treatment instead of the default control radius.
|
|
4517
4649
|
* @default false
|
|
@@ -4569,6 +4701,11 @@ declare namespace LocalJSX {
|
|
|
4569
4701
|
* @default true
|
|
4570
4702
|
*/
|
|
4571
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;
|
|
4572
4709
|
"haspopup"?: ButtonUnfilledPopup | undefined;
|
|
4573
4710
|
/**
|
|
4574
4711
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
@@ -4597,6 +4734,11 @@ declare namespace LocalJSX {
|
|
|
4597
4734
|
"label"?: string;
|
|
4598
4735
|
"onDsChange"?: (event: DsButtonUnfilledCustomEvent<boolean>) => void;
|
|
4599
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;
|
|
4600
4742
|
"pressed"?: boolean | undefined;
|
|
4601
4743
|
/**
|
|
4602
4744
|
* Use the half-radius treatment instead of the default control radius.
|
|
@@ -4693,6 +4835,50 @@ declare namespace LocalJSX {
|
|
|
4693
4835
|
*/
|
|
4694
4836
|
"onDsFilterClick"?: (event: DsCardDataVizLineCustomEvent<void>) => void;
|
|
4695
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
|
+
}
|
|
4696
4882
|
interface DsCardSetting {
|
|
4697
4883
|
/**
|
|
4698
4884
|
* @default 'Cancel'
|
|
@@ -4747,10 +4933,12 @@ declare namespace LocalJSX {
|
|
|
4747
4933
|
*/
|
|
4748
4934
|
"data"?: ChartDatum[];
|
|
4749
4935
|
/**
|
|
4936
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4750
4937
|
* @default 240
|
|
4751
4938
|
*/
|
|
4752
4939
|
"height"?: number;
|
|
4753
4940
|
/**
|
|
4941
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4754
4942
|
* @default 480
|
|
4755
4943
|
*/
|
|
4756
4944
|
"width"?: number;
|
|
@@ -4762,6 +4950,7 @@ declare namespace LocalJSX {
|
|
|
4762
4950
|
*/
|
|
4763
4951
|
"categories"?: string[];
|
|
4764
4952
|
/**
|
|
4953
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4765
4954
|
* @default 240
|
|
4766
4955
|
*/
|
|
4767
4956
|
"height"?: number;
|
|
@@ -4775,6 +4964,7 @@ declare namespace LocalJSX {
|
|
|
4775
4964
|
*/
|
|
4776
4965
|
"variant"?: ChartBarStackedVariant;
|
|
4777
4966
|
/**
|
|
4967
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4778
4968
|
* @default 480
|
|
4779
4969
|
*/
|
|
4780
4970
|
"width"?: number;
|
|
@@ -4886,6 +5076,7 @@ declare namespace LocalJSX {
|
|
|
4886
5076
|
*/
|
|
4887
5077
|
"categories"?: string[];
|
|
4888
5078
|
/**
|
|
5079
|
+
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4889
5080
|
* @default 240
|
|
4890
5081
|
*/
|
|
4891
5082
|
"height"?: number;
|
|
@@ -4899,6 +5090,7 @@ declare namespace LocalJSX {
|
|
|
4899
5090
|
*/
|
|
4900
5091
|
"showPoints"?: boolean;
|
|
4901
5092
|
/**
|
|
5093
|
+
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4902
5094
|
* @default 480
|
|
4903
5095
|
*/
|
|
4904
5096
|
"width"?: number;
|
|
@@ -7124,10 +7316,16 @@ declare namespace LocalJSX {
|
|
|
7124
7316
|
"hasBorder": boolean;
|
|
7125
7317
|
"background": ButtonFilledBackground | undefined;
|
|
7126
7318
|
"rounded": boolean;
|
|
7319
|
+
"pressScale": boolean;
|
|
7127
7320
|
"isInactive": boolean;
|
|
7128
7321
|
"isLoading": boolean;
|
|
7129
7322
|
"type": 'button' | 'submit' | 'reset';
|
|
7130
7323
|
"ariaLabel": string | null;
|
|
7324
|
+
"controls": string | undefined;
|
|
7325
|
+
"expanded": boolean | undefined;
|
|
7326
|
+
"haspopup": ButtonFilledPopup | undefined;
|
|
7327
|
+
"pressed": boolean | undefined;
|
|
7328
|
+
"hasMenu": boolean;
|
|
7131
7329
|
}
|
|
7132
7330
|
interface DsButtonUnfilledAttributes {
|
|
7133
7331
|
"variant": ButtonUnfilledVariant;
|
|
@@ -7139,6 +7337,7 @@ declare namespace LocalJSX {
|
|
|
7139
7337
|
"activeFill": boolean;
|
|
7140
7338
|
"hasBorder": boolean;
|
|
7141
7339
|
"rounded": boolean;
|
|
7340
|
+
"pressScale": boolean;
|
|
7142
7341
|
"dot": boolean;
|
|
7143
7342
|
"isInactive": boolean;
|
|
7144
7343
|
"isLoading": boolean;
|
|
@@ -7149,6 +7348,7 @@ declare namespace LocalJSX {
|
|
|
7149
7348
|
"expanded": boolean | undefined;
|
|
7150
7349
|
"haspopup": ButtonUnfilledPopup | undefined;
|
|
7151
7350
|
"pressed": boolean | undefined;
|
|
7351
|
+
"hasMenu": boolean;
|
|
7152
7352
|
"focusTabIndex": number;
|
|
7153
7353
|
}
|
|
7154
7354
|
interface DsCardDataVizBarAttributes {
|
|
@@ -7166,6 +7366,14 @@ declare namespace LocalJSX {
|
|
|
7166
7366
|
"cardWidth": CardDataVizLineWidth;
|
|
7167
7367
|
"filterLabel": string;
|
|
7168
7368
|
}
|
|
7369
|
+
interface DsCardOverviewAttributes {
|
|
7370
|
+
"periodLabel": string;
|
|
7371
|
+
"comparisonLabel": string;
|
|
7372
|
+
"metricMinWidth": string;
|
|
7373
|
+
"isLoading": boolean;
|
|
7374
|
+
"scoreErrorMessage": string | undefined;
|
|
7375
|
+
"overviewLabel": string;
|
|
7376
|
+
}
|
|
7169
7377
|
interface DsCardSettingAttributes {
|
|
7170
7378
|
"heading": string;
|
|
7171
7379
|
"cardWidth": CardSettingWidth;
|
|
@@ -7716,6 +7924,7 @@ declare namespace LocalJSX {
|
|
|
7716
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"]>;
|
|
7717
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"]>;
|
|
7718
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] };
|
|
7719
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"]>;
|
|
7720
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"]>;
|
|
7721
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] };
|
|
@@ -7805,6 +8014,7 @@ declare module "@stencil/core" {
|
|
|
7805
8014
|
* region and a content-sized, static legend.
|
|
7806
8015
|
*/
|
|
7807
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>;
|
|
7808
8018
|
"ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
|
|
7809
8019
|
/**
|
|
7810
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
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface ChartViewportSize {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Keeps SVG chart geometry matched to the rendered SVG viewport.
|
|
7
|
+
*
|
|
8
|
+
* Cartesian charts intentionally render without a viewBox: changing the host
|
|
9
|
+
* reflows plot geometry instead of scaling its strokes, text, radii, or points.
|
|
10
|
+
*/
|
|
11
|
+
export declare class ChartViewportController {
|
|
12
|
+
private readonly target;
|
|
13
|
+
private readonly onResize;
|
|
14
|
+
private resizeObserver;
|
|
15
|
+
constructor(target: Element, onResize: (size: ChartViewportSize) => void);
|
|
16
|
+
connect(): void;
|
|
17
|
+
measure(): void;
|
|
18
|
+
disconnect(): void;
|
|
19
|
+
private update;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=chart-viewport-controller.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AnchoredAlign } from './anchored-position';
|
|
2
2
|
/**
|
|
3
3
|
* `choice-cell` aligns the first/last interactive row edge with the anchor,
|
|
4
4
|
* allowing the popup frame to extend by the section inset. `popup-frame`
|
|
@@ -6,7 +6,7 @@ import type { AnchoredPopupAlign } from './anchored-popup';
|
|
|
6
6
|
*/
|
|
7
7
|
export type ChoicePopupAnchorAlignment = 'choice-cell' | 'popup-frame';
|
|
8
8
|
export interface ChoicePopupAlignOffsetInput {
|
|
9
|
-
align:
|
|
9
|
+
align: AnchoredAlign;
|
|
10
10
|
alignOffsetPx: number;
|
|
11
11
|
sectionInsetPx: number;
|
|
12
12
|
anchorAlignment?: ChoicePopupAnchorAlignment;
|
|
@@ -3,6 +3,8 @@ export { clearCssLengthPxCache, resolveCssLengthPx } from './resolve-css-length-
|
|
|
3
3
|
export { formatCompactNumber } from './format-compact-number';
|
|
4
4
|
export { formatPercentage } from './format-percentage';
|
|
5
5
|
export type { PercentageDecimals } from './format-percentage';
|
|
6
|
+
export { computeMetricChange, resolveMetricTrend } from './metric-change';
|
|
7
|
+
export type { MetricChange, MetricTrend, MetricTrendDirection, MetricTrendTone, ResolveMetricTrendOptions, } from './metric-change';
|
|
6
8
|
export { truncateSvgTextToWidth } from './truncate-svg-text';
|
|
7
9
|
export { parseCssTimeMs, prefersReducedMotion, resolveCssTimeMs, resolveMotionTimeMs, } from './resolve-css-time-ms';
|
|
8
10
|
export { SCROLL_EDGE_FADE_DEFAULT_SIZE, SCROLL_EDGE_FADE_SIZE_VAR, isScrollAtEdge, resolveScrollEdgeFadeSize, scrollEdgeFadeClassMap, scrollEdgeFadeMaskImage, scrollEdgeFadeMaskStyle, scrollEdgeFadeSizeStyle, } from './scroll-edge-fade';
|