@ds-mo/ui 13.6.1 → 13.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/.package-ready.json +1 -1
- package/dist/agent-patterns.json +1 -1
- package/dist/agent.json +109 -371
- package/dist/angular/ds-card-chart.d.ts +18 -0
- package/dist/angular/{ds-card-data-viz.js → ds-card-chart.js} +10 -10
- package/dist/angular/ds-chart.d.ts +19 -0
- package/dist/angular/{ds-chart-donut.js → ds-chart.js} +15 -15
- package/dist/angular/ds-tooltip-chart.d.ts +12 -0
- package/dist/angular/{ds-chart-line.js → ds-tooltip-chart.js} +12 -12
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +3 -5
- package/dist/angular/proxies.d.ts +3 -5
- package/dist/angular/proxies.js +3 -5
- 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-banner.js +1 -1
- package/dist/components/ds-banner.js.map +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-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-chart-line.d.ts → ds-card-chart.d.ts} +4 -4
- package/dist/components/ds-card-chart.js +2 -0
- package/dist/components/ds-card-chart.js.map +1 -0
- package/dist/components/ds-card-overview.js +1 -1
- package/dist/components/ds-card-overview.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-legend.js.map +1 -1
- package/dist/components/{ds-chart-bar.d.ts → ds-chart.d.ts} +4 -4
- package/dist/components/ds-chart.js +2 -0
- package/dist/components/ds-chart.js.map +1 -0
- 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-section.js +1 -1
- package/dist/components/ds-conversation-list.js +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-actions.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.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-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-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-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-slider.js +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-card-data-viz.d.ts → ds-tooltip-chart.d.ts} +4 -4
- package/dist/components/ds-tooltip-chart.js +2 -0
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-iCjUWcp7.js → p-2inC7Jm-.js} +2 -2
- package/dist/components/{p-iCjUWcp7.js.map → p-2inC7Jm-.js.map} +1 -1
- package/dist/components/{p-DaqFuVKZ.js → p-B16OuqyJ.js} +2 -2
- package/dist/components/{p-BmNpPyzf.js → p-B4VlfBNc.js} +2 -2
- package/dist/components/{p-og48Kh2i.js → p-B6z51yBf.js} +2 -2
- package/dist/components/{p-Bb4f5SuF.js → p-BNiIyZCn.js} +2 -2
- package/dist/components/{p-BFfHIu6y.js → p-BP-EtYbR.js} +2 -2
- package/dist/components/{p-DHF5cLzr.js → p-BQ7Nzx9A.js} +2 -2
- package/dist/components/{p-B-kRByho.js → p-BQDi0v_h.js} +2 -2
- package/dist/components/{p-BBtjABBS.js → p-BYB0f1_F.js} +2 -2
- package/dist/components/p-BjIYFiuQ.js +2 -0
- package/dist/components/{p-D0bM3cKj.js.map → p-BjIYFiuQ.js.map} +1 -1
- package/dist/components/{p-DfvDNcoq.js → p-BjoyHNaM.js} +2 -2
- package/dist/components/{p-Bl6A5AJq.js → p-BkWhTEqe.js} +2 -2
- package/dist/components/p-BnGJrBPG.js +2 -0
- package/dist/components/{p-1S9AW2MA.js.map → p-BnGJrBPG.js.map} +1 -1
- package/dist/components/p-BtS5na9O.js +2 -0
- package/dist/components/{p-DX4c3kZ1.js.map → p-BtS5na9O.js.map} +1 -1
- package/dist/components/p-CCYgBUUS.js +2 -0
- package/dist/components/{p-D2cjoj2r.js.map → p-CCYgBUUS.js.map} +1 -1
- package/dist/components/p-CXduurfd.js +2 -0
- package/dist/components/p-CXduurfd.js.map +1 -0
- package/dist/components/{p-CxgMUvqg.js → p-CnbrksLl.js} +2 -2
- package/dist/components/{p-Eep5mxtv.js → p-Cog5NTLa.js} +2 -2
- package/dist/components/{p-Bmo4T96l.js → p-D2dQyoyK.js} +2 -2
- package/dist/components/{p-BPyymeuR.js → p-D6g070eY.js} +2 -2
- package/dist/components/{p-wOOAzVMC.js → p-D8qgVmHn.js} +2 -2
- package/dist/components/{p-BR_oMaas.js → p-DJ0XMH9E.js} +2 -2
- package/dist/components/{p-B6RrZQqw.js → p-DK4PGrHm.js} +2 -2
- package/dist/components/{p-DVuxzrCC.js → p-DLwM1RNL.js} +2 -2
- package/dist/components/p-DW9p068S.js +2 -0
- package/dist/components/{p-CuJ3J6OJ.js.map → p-DW9p068S.js.map} +1 -1
- package/dist/components/{p-Bsfpxto1.js → p-Dg9qiMDa.js} +2 -2
- package/dist/components/p-Dg9qiMDa.js.map +1 -0
- package/dist/components/{p-B4_0Ys4w.js → p-DgglLVCj.js} +2 -2
- package/dist/components/p-DmblUQ4D.js +2 -0
- package/dist/components/p-DmblUQ4D.js.map +1 -0
- package/dist/components/{p-6B411hQA.js → p-Dv8_hmUZ.js} +2 -2
- package/dist/components/{p-IYy-jODg.js → p-DwKC_9u2.js} +2 -2
- package/dist/components/p-GbTasczF.js +2 -0
- package/dist/components/{p-CzraIk34.js → p-HIg1XX62.js} +2 -2
- package/dist/components/{p-Di81y9Q2.js → p-KFHFBznh.js} +2 -2
- package/dist/components/{p-CKRJX0Y0.js → p-PQgDzzn9.js} +2 -2
- package/dist/components/{p-Ca6s5fLR.js → p-iyiOFsws.js} +2 -2
- package/dist/docs/components.json +180 -662
- package/dist/lib/utils/chart-grammar.d.ts +359 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/index.js +504 -0
- package/dist/lib/utils/index.js.map +4 -4
- 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/banner.json +1 -1
- package/dist/mcp-data/registry/bar-nav.json +2 -2
- package/dist/mcp-data/registry/bar-title.json +1 -1
- 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 +1 -1
- package/dist/mcp-data/registry/button-unfilled.json +1 -1
- package/dist/mcp-data/registry/card-chart.json +238 -0
- package/dist/mcp-data/registry/card-overview.json +7 -7
- package/dist/mcp-data/registry/card-setting.json +5 -5
- package/dist/mcp-data/registry/chart-legend.json +12 -19
- package/dist/mcp-data/registry/chart.json +258 -0
- 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 +1 -1
- package/dist/mcp-data/registry/message-actions.json +1 -1
- 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 +1 -1
- package/dist/mcp-data/registry/radio.json +1 -1
- package/dist/mcp-data/registry/registry.json +109 -377
- package/dist/mcp-data/registry/scroll-overlay.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-page.json +1 -1
- package/dist/mcp-data/registry/shell-tools.json +1 -1
- package/dist/mcp-data/registry/skeleton.json +3 -3
- 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 +1 -1
- package/dist/mcp-data/registry/tooltip-chart.json +253 -0
- package/dist/mcp-data/registry/tooltip.json +3 -3
- package/dist/mcp-data/registry/typing-indicator.json +1 -1
- package/dist/react/components.d.ts +3 -5
- package/dist/react/components.js +3 -5
- package/dist/react/ds-card-chart.d.ts +12 -0
- package/dist/react/ds-card-chart.js +12 -0
- package/dist/react/ds-chart.d.ts +12 -0
- package/dist/react/ds-chart.js +12 -0
- package/dist/react/{ds-chart-bar.d.ts → ds-tooltip-chart.d.ts} +3 -3
- package/dist/react/ds-tooltip-chart.js +12 -0
- package/dist/types/components/{CardDataViz/CardDataViz.d.ts → CardChart/CardChart.d.ts} +9 -13
- package/dist/types/components/CardChart/index.d.ts +2 -0
- package/dist/types/components/CardOverview/CardOverview.d.ts +2 -0
- package/dist/types/components/Chart/Chart.d.ts +66 -0
- package/dist/types/components/Chart/index.d.ts +2 -0
- package/dist/types/components/ChartLegend/ChartLegend.d.ts +1 -1
- package/dist/types/components/{TooltipDataViz/TooltipDataViz.d.ts → TooltipChart/TooltipChart.d.ts} +15 -6
- package/dist/types/components/TooltipChart/index.d.ts +2 -0
- package/dist/types/components.d.ts +129 -294
- package/dist/types/utils/chart-grammar.d.ts +360 -0
- package/dist/types/utils/chart-scene.d.ts +128 -0
- package/dist/types/utils/chart-theme.d.ts +27 -0
- package/dist/types/utils/chart-types.d.ts +0 -13
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/token-defaults.d.ts +3 -0
- package/package.json +3 -3
- package/dist/angular/ds-card-data-viz.d.ts +0 -18
- package/dist/angular/ds-chart-bar.d.ts +0 -12
- package/dist/angular/ds-chart-bar.js +0 -38
- package/dist/angular/ds-chart-donut.d.ts +0 -19
- package/dist/angular/ds-chart-line.d.ts +0 -12
- package/dist/angular/ds-tooltip-data-viz.d.ts +0 -12
- package/dist/angular/ds-tooltip-data-viz.js +0 -38
- package/dist/components/ds-card-data-viz.js +0 -2
- package/dist/components/ds-card-data-viz.js.map +0 -1
- package/dist/components/ds-chart-bar.js +0 -2
- package/dist/components/ds-chart-bar.js.map +0 -1
- package/dist/components/ds-chart-donut.d.ts +0 -11
- package/dist/components/ds-chart-donut.js +0 -2
- package/dist/components/ds-chart-donut.js.map +0 -1
- package/dist/components/ds-chart-line.js +0 -2
- package/dist/components/ds-chart-line.js.map +0 -1
- package/dist/components/ds-tooltip-data-viz.d.ts +0 -11
- package/dist/components/ds-tooltip-data-viz.js +0 -2
- package/dist/components/p-1S9AW2MA.js +0 -2
- package/dist/components/p-B6Vuayt6.js +0 -2
- package/dist/components/p-B6Vuayt6.js.map +0 -1
- package/dist/components/p-BBpASejH.js +0 -2
- package/dist/components/p-BBpASejH.js.map +0 -1
- package/dist/components/p-Bsfpxto1.js.map +0 -1
- package/dist/components/p-BybqPD8K.js +0 -2
- package/dist/components/p-BybqPD8K.js.map +0 -1
- package/dist/components/p-C4uYvyq6.js +0 -2
- package/dist/components/p-C4uYvyq6.js.map +0 -1
- package/dist/components/p-CbjFUpOj.js +0 -2
- package/dist/components/p-CbjFUpOj.js.map +0 -1
- package/dist/components/p-CrCGIx8s.js +0 -2
- package/dist/components/p-CrCGIx8s.js.map +0 -1
- package/dist/components/p-CuJ3J6OJ.js +0 -2
- package/dist/components/p-D0bM3cKj.js +0 -2
- package/dist/components/p-D2cjoj2r.js +0 -2
- package/dist/components/p-DX4c3kZ1.js +0 -2
- package/dist/components/p-DXewjzkM.js +0 -2
- package/dist/components/p-DXewjzkM.js.map +0 -1
- package/dist/components/p-yhj1lIPx.js +0 -2
- package/dist/mcp-data/registry/card-data-viz.json +0 -241
- package/dist/mcp-data/registry/chart-bar.json +0 -245
- package/dist/mcp-data/registry/chart-donut.json +0 -344
- package/dist/mcp-data/registry/chart-line.json +0 -223
- package/dist/mcp-data/registry/tooltip-data-viz.json +0 -224
- package/dist/react/ds-card-data-viz.d.ts +0 -12
- package/dist/react/ds-card-data-viz.js +0 -12
- package/dist/react/ds-chart-bar.js +0 -12
- package/dist/react/ds-chart-donut.d.ts +0 -12
- package/dist/react/ds-chart-donut.js +0 -12
- package/dist/react/ds-chart-line.d.ts +0 -9
- package/dist/react/ds-chart-line.js +0 -12
- package/dist/react/ds-tooltip-data-viz.d.ts +0 -9
- package/dist/react/ds-tooltip-data-viz.js +0 -12
- package/dist/types/components/CardDataViz/index.d.ts +0 -2
- package/dist/types/components/ChartBar/ChartBar.d.ts +0 -31
- package/dist/types/components/ChartBar/index.d.ts +0 -3
- package/dist/types/components/ChartDonut/ChartDonut.d.ts +0 -72
- package/dist/types/components/ChartDonut/index.d.ts +0 -2
- package/dist/types/components/ChartLine/ChartLine.d.ts +0 -23
- package/dist/types/components/ChartLine/index.d.ts +0 -2
- package/dist/types/components/TooltipDataViz/index.d.ts +0 -2
- /package/dist/components/{ds-tooltip-data-viz.js.map → ds-tooltip-chart.js.map} +0 -0
- /package/dist/components/{p-DaqFuVKZ.js.map → p-B16OuqyJ.js.map} +0 -0
- /package/dist/components/{p-BmNpPyzf.js.map → p-B4VlfBNc.js.map} +0 -0
- /package/dist/components/{p-og48Kh2i.js.map → p-B6z51yBf.js.map} +0 -0
- /package/dist/components/{p-Bb4f5SuF.js.map → p-BNiIyZCn.js.map} +0 -0
- /package/dist/components/{p-BFfHIu6y.js.map → p-BP-EtYbR.js.map} +0 -0
- /package/dist/components/{p-DHF5cLzr.js.map → p-BQ7Nzx9A.js.map} +0 -0
- /package/dist/components/{p-B-kRByho.js.map → p-BQDi0v_h.js.map} +0 -0
- /package/dist/components/{p-BBtjABBS.js.map → p-BYB0f1_F.js.map} +0 -0
- /package/dist/components/{p-DfvDNcoq.js.map → p-BjoyHNaM.js.map} +0 -0
- /package/dist/components/{p-Bl6A5AJq.js.map → p-BkWhTEqe.js.map} +0 -0
- /package/dist/components/{p-CxgMUvqg.js.map → p-CnbrksLl.js.map} +0 -0
- /package/dist/components/{p-Eep5mxtv.js.map → p-Cog5NTLa.js.map} +0 -0
- /package/dist/components/{p-Bmo4T96l.js.map → p-D2dQyoyK.js.map} +0 -0
- /package/dist/components/{p-BPyymeuR.js.map → p-D6g070eY.js.map} +0 -0
- /package/dist/components/{p-wOOAzVMC.js.map → p-D8qgVmHn.js.map} +0 -0
- /package/dist/components/{p-BR_oMaas.js.map → p-DJ0XMH9E.js.map} +0 -0
- /package/dist/components/{p-B6RrZQqw.js.map → p-DK4PGrHm.js.map} +0 -0
- /package/dist/components/{p-DVuxzrCC.js.map → p-DLwM1RNL.js.map} +0 -0
- /package/dist/components/{p-B4_0Ys4w.js.map → p-DgglLVCj.js.map} +0 -0
- /package/dist/components/{p-6B411hQA.js.map → p-Dv8_hmUZ.js.map} +0 -0
- /package/dist/components/{p-IYy-jODg.js.map → p-DwKC_9u2.js.map} +0 -0
- /package/dist/components/{p-yhj1lIPx.js.map → p-GbTasczF.js.map} +0 -0
- /package/dist/components/{p-CzraIk34.js.map → p-HIg1XX62.js.map} +0 -0
- /package/dist/components/{p-Di81y9Q2.js.map → p-KFHFBznh.js.map} +0 -0
- /package/dist/components/{p-CKRJX0Y0.js.map → p-PQgDzzn9.js.map} +0 -0
- /package/dist/components/{p-Ca6s5fLR.js.map → p-iyiOFsws.js.map} +0 -0
|
@@ -18,11 +18,12 @@ import { BarWorkflowStep, BarWorkflowSubmitAction } from "./components/BarWorkfl
|
|
|
18
18
|
import { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive";
|
|
19
19
|
import { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
20
20
|
import { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
21
|
-
import {
|
|
21
|
+
import { CardChartVariant, CardChartWidth } from "./components/CardChart/CardChart";
|
|
22
22
|
import { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
23
23
|
import { CardSettingActionDetail, CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
24
|
+
import { ChartDefinition } from "./utils/chart-grammar";
|
|
25
|
+
import { ChartFocusChangeDetail } from "./components/Chart/Chart";
|
|
26
|
+
import { ChartLegendItem } from "./utils/chart-types";
|
|
26
27
|
import { ChartLegendDirection, ChartLegendPercentageDecimals } from "./components/ChartLegend/ChartLegend";
|
|
27
28
|
import { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
28
29
|
import { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
@@ -62,6 +63,7 @@ import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
|
62
63
|
import { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
63
64
|
import { ToastActionEventDetail, ToastCloseEventDetail, ToastEventDetail, ToastManager, ToastSwipeDirection } from "./toast";
|
|
64
65
|
import { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
66
|
+
import { TooltipChartItem } from "./components/TooltipChart/TooltipChart";
|
|
65
67
|
export { AgentActivityItem, AgentResponsePart, AgentSource, AgentToolState, ConversationAttachment, ConversationItemState, MessageComposerStatus, MessageCopyResultEventDetail, MessageDeliveryState, MessageDirection, MessageFeedback, MessageGroupPosition, MessageMetadataVisibility, MessageScrollerPosition } from "./components/conversation-types";
|
|
66
68
|
export { IconColor, IconSize as IconSize1 } from "./components/Icon/Icon";
|
|
67
69
|
export { AvatarSize } from "./components/Avatar/Avatar";
|
|
@@ -75,11 +77,12 @@ export { BarWorkflowStep, BarWorkflowSubmitAction } from "./components/BarWorkfl
|
|
|
75
77
|
export { MobileDestination, ShellResponsiveMode } from "./shell/shell-responsive";
|
|
76
78
|
export { ButtonFilledBackground, ButtonFilledContrast, ButtonFilledIntent, ButtonFilledPopup, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
77
79
|
export { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
78
|
-
export {
|
|
80
|
+
export { CardChartVariant, CardChartWidth } from "./components/CardChart/CardChart";
|
|
79
81
|
export { CardOverviewLayout, CardOverviewVariant, OverviewMetric, OverviewScore } from "./components/CardOverview/card-overview-types";
|
|
80
82
|
export { CardSettingActionDetail, CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
+
export { ChartDefinition } from "./utils/chart-grammar";
|
|
84
|
+
export { ChartFocusChangeDetail } from "./components/Chart/Chart";
|
|
85
|
+
export { ChartLegendItem } from "./utils/chart-types";
|
|
83
86
|
export { ChartLegendDirection, ChartLegendPercentageDecimals } from "./components/ChartLegend/ChartLegend";
|
|
84
87
|
export { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
85
88
|
export { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
@@ -119,6 +122,7 @@ export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
|
119
122
|
export { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
120
123
|
export { ToastActionEventDetail, ToastCloseEventDetail, ToastEventDetail, ToastManager, ToastSwipeDirection } from "./toast";
|
|
121
124
|
export { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
125
|
+
export { TooltipChartItem } from "./components/TooltipChart/TooltipChart";
|
|
122
126
|
export namespace Components {
|
|
123
127
|
interface DsAgentActivity {
|
|
124
128
|
/**
|
|
@@ -674,21 +678,21 @@ export namespace Components {
|
|
|
674
678
|
"width": ButtonUnfilledWidth;
|
|
675
679
|
}
|
|
676
680
|
/**
|
|
677
|
-
* Standard
|
|
681
|
+
* Standard chart card chrome and composition. The variant owns
|
|
678
682
|
* only the chart/legend relationship; applications continue to own data.
|
|
679
683
|
*/
|
|
680
|
-
interface
|
|
684
|
+
interface DsCardChart {
|
|
681
685
|
/**
|
|
682
|
-
* Width token with the matching
|
|
686
|
+
* Width token with the matching chart-card min-height.
|
|
683
687
|
* @default 'md'
|
|
684
688
|
*/
|
|
685
|
-
"cardWidth":
|
|
689
|
+
"cardWidth": CardChartWidth;
|
|
686
690
|
/**
|
|
687
691
|
* @default 'Filter'
|
|
688
692
|
*/
|
|
689
693
|
"filterLabel": string;
|
|
690
694
|
/**
|
|
691
|
-
*
|
|
695
|
+
* Chart heading shown in the card header.
|
|
692
696
|
*/
|
|
693
697
|
"heading": string;
|
|
694
698
|
/**
|
|
@@ -700,7 +704,7 @@ export namespace Components {
|
|
|
700
704
|
* Chart composition behavior.
|
|
701
705
|
* @default 'custom'
|
|
702
706
|
*/
|
|
703
|
-
"variant":
|
|
707
|
+
"variant": CardChartVariant;
|
|
704
708
|
}
|
|
705
709
|
interface DsCardOverview {
|
|
706
710
|
/**
|
|
@@ -785,93 +789,42 @@ export namespace Components {
|
|
|
785
789
|
*/
|
|
786
790
|
"saveLabel": string;
|
|
787
791
|
}
|
|
788
|
-
interface
|
|
792
|
+
interface DsChart {
|
|
789
793
|
/**
|
|
790
|
-
*
|
|
791
|
-
* @default []
|
|
792
|
-
*/
|
|
793
|
-
"categories": string[];
|
|
794
|
-
/**
|
|
795
|
-
* Bars to render. Set as a JS property (not an HTML attribute).
|
|
796
|
-
* @default []
|
|
797
|
-
*/
|
|
798
|
-
"data": ChartDatum[];
|
|
799
|
-
/**
|
|
800
|
-
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
801
|
-
* @default 240
|
|
802
|
-
*/
|
|
803
|
-
"height": number;
|
|
804
|
-
/**
|
|
805
|
-
* Ordered stack series for stacked and percentage variants. Set as a JS property.
|
|
806
|
-
* @default []
|
|
807
|
-
*/
|
|
808
|
-
"series": ChartSeries[];
|
|
809
|
-
/**
|
|
810
|
-
* Rendering model. Single uses `data`; stacked and percentage use `series` and `categories`.
|
|
811
|
-
* @default 'single'
|
|
812
|
-
*/
|
|
813
|
-
"variant": ChartBarVariant;
|
|
814
|
-
/**
|
|
815
|
-
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
816
|
-
* @default 480
|
|
817
|
-
*/
|
|
818
|
-
"width": number;
|
|
819
|
-
}
|
|
820
|
-
interface DsChartDonut {
|
|
821
|
-
/**
|
|
822
|
-
* Externally controlled highlight, matched by `label` — e.g. drive this from a sibling `ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync. Falls back to this component's own pointer/focus hover when unset. Slice hover dims peer slices and emits `dsSliceHover` for legend sync. External highlight never opens the local tooltip.
|
|
823
|
-
* @default null
|
|
824
|
-
*/
|
|
825
|
-
"activeLabel": string | null;
|
|
826
|
-
/**
|
|
827
|
-
* Secondary caption below the center value (e.g. "Total", "Normal"). Rendered uppercase.
|
|
828
|
-
*/
|
|
829
|
-
"centerCaption": string | undefined;
|
|
830
|
-
/**
|
|
831
|
-
* Primary center value; defaults to the sum of `data` values (e.g. "187", "40.9%").
|
|
794
|
+
* Derives height from the current width when height is not supplied.
|
|
832
795
|
*/
|
|
833
|
-
"
|
|
796
|
+
"aspectRatio"?: number;
|
|
834
797
|
/**
|
|
835
|
-
*
|
|
836
|
-
* @default TOKEN_DEFAULTS.radius025
|
|
798
|
+
* Typed chart definition. Set as a JavaScript property, not an HTML attribute.
|
|
837
799
|
*/
|
|
838
|
-
"
|
|
800
|
+
"definition": ChartDefinition;
|
|
839
801
|
/**
|
|
840
|
-
*
|
|
841
|
-
* @default []
|
|
802
|
+
* Optional longer accessible description.
|
|
842
803
|
*/
|
|
843
|
-
"
|
|
804
|
+
"description"?: string;
|
|
844
805
|
/**
|
|
845
|
-
*
|
|
846
|
-
* @default 1
|
|
806
|
+
* Product-owned surface height. Wins over aspectRatio.
|
|
847
807
|
*/
|
|
848
|
-
"
|
|
849
|
-
"locale": string | undefined;
|
|
808
|
+
"height"?: number;
|
|
850
809
|
/**
|
|
851
|
-
*
|
|
810
|
+
* Required accessible name for the visualization.
|
|
852
811
|
*/
|
|
853
|
-
"
|
|
854
|
-
/**
|
|
855
|
-
* Show a chart-owned value callout for genuine pointer or keyboard focus. Disable when a visible legend already owns persistent label and value detail.
|
|
856
|
-
* @default true
|
|
857
|
-
*/
|
|
858
|
-
"showTooltip": boolean;
|
|
812
|
+
"label": string;
|
|
859
813
|
/**
|
|
860
|
-
*
|
|
814
|
+
* Locale used by axes and default tooltip formatters.
|
|
861
815
|
*/
|
|
862
|
-
"
|
|
816
|
+
"locale"?: string;
|
|
863
817
|
/**
|
|
864
|
-
*
|
|
865
|
-
* @default TOKEN_DEFAULTS.size200
|
|
818
|
+
* Fixed surface width. Otherwise the chart observes its container.
|
|
866
819
|
*/
|
|
867
|
-
"
|
|
820
|
+
"width"?: number;
|
|
868
821
|
}
|
|
869
822
|
/**
|
|
870
823
|
* Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
|
|
871
824
|
* legends differently (list w/ values, compact chips, bare swatches, external
|
|
872
825
|
* stat callouts) — this covers the common "swatch + label + optional value" case.
|
|
873
826
|
* Consumers who need a different treatment skip this component entirely and
|
|
874
|
-
* render their own markup against the same `
|
|
827
|
+
* render their own markup against the same `ChartLegendItem[]` data.
|
|
875
828
|
*/
|
|
876
829
|
interface DsChartLegend {
|
|
877
830
|
/**
|
|
@@ -905,32 +858,6 @@ export namespace Components {
|
|
|
905
858
|
*/
|
|
906
859
|
"showPercentage": boolean;
|
|
907
860
|
}
|
|
908
|
-
interface DsChartLine {
|
|
909
|
-
/**
|
|
910
|
-
* X-axis labels — must match each series' `data` length. Set as a JS property.
|
|
911
|
-
* @default []
|
|
912
|
-
*/
|
|
913
|
-
"categories": string[];
|
|
914
|
-
/**
|
|
915
|
-
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
916
|
-
* @default 240
|
|
917
|
-
*/
|
|
918
|
-
"height": number;
|
|
919
|
-
/**
|
|
920
|
-
* One or more series to plot. Set as a JS property (not an HTML attribute).
|
|
921
|
-
* @default []
|
|
922
|
-
*/
|
|
923
|
-
"series": ChartSeries[];
|
|
924
|
-
/**
|
|
925
|
-
* @default true
|
|
926
|
-
*/
|
|
927
|
-
"showPoints": boolean;
|
|
928
|
-
/**
|
|
929
|
-
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
930
|
-
* @default 480
|
|
931
|
-
*/
|
|
932
|
-
"width": number;
|
|
933
|
-
}
|
|
934
861
|
interface DsCheckbox {
|
|
935
862
|
/**
|
|
936
863
|
* Current checked state.
|
|
@@ -2723,8 +2650,8 @@ export namespace Components {
|
|
|
2723
2650
|
}
|
|
2724
2651
|
/**
|
|
2725
2652
|
* Positioned value/label callout for chart hover interactions (bar, line point,
|
|
2726
|
-
*
|
|
2727
|
-
*
|
|
2653
|
+
* polar arc, …). A composition may suppress it when a visible legend already
|
|
2654
|
+
* surfaces the same value.
|
|
2728
2655
|
* Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
|
|
2729
2656
|
* charts hover-highlight data that lives inside an SVG, so the chart itself computes
|
|
2730
2657
|
* the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
|
|
@@ -2735,12 +2662,20 @@ export namespace Components {
|
|
|
2735
2662
|
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
2736
2663
|
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
2737
2664
|
*/
|
|
2738
|
-
interface
|
|
2665
|
+
interface DsTooltipChart {
|
|
2739
2666
|
/**
|
|
2740
2667
|
* Show delay after mount before the callout appears. Default: `--effect-animation-delay-instant` (0ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Charts need immediate feedback while scrubbing; prefer the default. Mount once per hover session so any non-zero delay runs once, then track `x`/`y` instantly.
|
|
2741
2668
|
* @default TOKEN_DEFAULTS.animationDelayInstant
|
|
2742
2669
|
*/
|
|
2743
2670
|
"delay": number | string;
|
|
2671
|
+
/**
|
|
2672
|
+
* Optional heading for grouped chart focus.
|
|
2673
|
+
*/
|
|
2674
|
+
"heading"?: string;
|
|
2675
|
+
/**
|
|
2676
|
+
* Multi-row content. When supplied, this replaces the legacy label/value row.
|
|
2677
|
+
*/
|
|
2678
|
+
"items"?: TooltipChartItem[];
|
|
2744
2679
|
/**
|
|
2745
2680
|
* @default ''
|
|
2746
2681
|
*/
|
|
@@ -2795,9 +2730,9 @@ export interface DsButtonUnfilledCustomEvent<T> extends CustomEvent<T> {
|
|
|
2795
2730
|
detail: T;
|
|
2796
2731
|
target: HTMLDsButtonUnfilledElement;
|
|
2797
2732
|
}
|
|
2798
|
-
export interface
|
|
2733
|
+
export interface DsCardChartCustomEvent<T> extends CustomEvent<T> {
|
|
2799
2734
|
detail: T;
|
|
2800
|
-
target:
|
|
2735
|
+
target: HTMLDsCardChartElement;
|
|
2801
2736
|
}
|
|
2802
2737
|
export interface DsCardOverviewCustomEvent<T> extends CustomEvent<T> {
|
|
2803
2738
|
detail: T;
|
|
@@ -2807,9 +2742,9 @@ export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
|
|
|
2807
2742
|
detail: T;
|
|
2808
2743
|
target: HTMLDsCardSettingElement;
|
|
2809
2744
|
}
|
|
2810
|
-
export interface
|
|
2745
|
+
export interface DsChartCustomEvent<T> extends CustomEvent<T> {
|
|
2811
2746
|
detail: T;
|
|
2812
|
-
target:
|
|
2747
|
+
target: HTMLDsChartElement;
|
|
2813
2748
|
}
|
|
2814
2749
|
export interface DsChartLegendCustomEvent<T> extends CustomEvent<T> {
|
|
2815
2750
|
detail: T;
|
|
@@ -3100,26 +3035,26 @@ declare global {
|
|
|
3100
3035
|
prototype: HTMLDsButtonUnfilledElement;
|
|
3101
3036
|
new (): HTMLDsButtonUnfilledElement;
|
|
3102
3037
|
};
|
|
3103
|
-
interface
|
|
3038
|
+
interface HTMLDsCardChartElementEventMap {
|
|
3104
3039
|
"dsFilterClick": void;
|
|
3105
3040
|
}
|
|
3106
3041
|
/**
|
|
3107
|
-
* Standard
|
|
3042
|
+
* Standard chart card chrome and composition. The variant owns
|
|
3108
3043
|
* only the chart/legend relationship; applications continue to own data.
|
|
3109
3044
|
*/
|
|
3110
|
-
interface
|
|
3111
|
-
addEventListener<K extends keyof
|
|
3045
|
+
interface HTMLDsCardChartElement extends Components.DsCardChart, HTMLStencilElement {
|
|
3046
|
+
addEventListener<K extends keyof HTMLDsCardChartElementEventMap>(type: K, listener: (this: HTMLDsCardChartElement, ev: DsCardChartCustomEvent<HTMLDsCardChartElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3112
3047
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3113
3048
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3114
3049
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3115
|
-
removeEventListener<K extends keyof
|
|
3050
|
+
removeEventListener<K extends keyof HTMLDsCardChartElementEventMap>(type: K, listener: (this: HTMLDsCardChartElement, ev: DsCardChartCustomEvent<HTMLDsCardChartElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3116
3051
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3117
3052
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3118
3053
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3119
3054
|
}
|
|
3120
|
-
var
|
|
3121
|
-
prototype:
|
|
3122
|
-
new ():
|
|
3055
|
+
var HTMLDsCardChartElement: {
|
|
3056
|
+
prototype: HTMLDsCardChartElement;
|
|
3057
|
+
new (): HTMLDsCardChartElement;
|
|
3123
3058
|
};
|
|
3124
3059
|
interface HTMLDsCardOverviewElementEventMap {
|
|
3125
3060
|
"dsMetricSelect": OverviewMetric;
|
|
@@ -3155,28 +3090,22 @@ declare global {
|
|
|
3155
3090
|
prototype: HTMLDsCardSettingElement;
|
|
3156
3091
|
new (): HTMLDsCardSettingElement;
|
|
3157
3092
|
};
|
|
3158
|
-
interface
|
|
3093
|
+
interface HTMLDsChartElementEventMap {
|
|
3094
|
+
"dsChartFocusChange": ChartFocusChangeDetail;
|
|
3159
3095
|
}
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
new (): HTMLDsChartBarElement;
|
|
3163
|
-
};
|
|
3164
|
-
interface HTMLDsChartDonutElementEventMap {
|
|
3165
|
-
"dsSliceHover": ChartDatum | null;
|
|
3166
|
-
}
|
|
3167
|
-
interface HTMLDsChartDonutElement extends Components.DsChartDonut, HTMLStencilElement {
|
|
3168
|
-
addEventListener<K extends keyof HTMLDsChartDonutElementEventMap>(type: K, listener: (this: HTMLDsChartDonutElement, ev: DsChartDonutCustomEvent<HTMLDsChartDonutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3096
|
+
interface HTMLDsChartElement extends Components.DsChart, HTMLStencilElement {
|
|
3097
|
+
addEventListener<K extends keyof HTMLDsChartElementEventMap>(type: K, listener: (this: HTMLDsChartElement, ev: DsChartCustomEvent<HTMLDsChartElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3169
3098
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3170
3099
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3171
3100
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3172
|
-
removeEventListener<K extends keyof
|
|
3101
|
+
removeEventListener<K extends keyof HTMLDsChartElementEventMap>(type: K, listener: (this: HTMLDsChartElement, ev: DsChartCustomEvent<HTMLDsChartElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3173
3102
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3174
3103
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3175
3104
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3176
3105
|
}
|
|
3177
|
-
var
|
|
3178
|
-
prototype:
|
|
3179
|
-
new ():
|
|
3106
|
+
var HTMLDsChartElement: {
|
|
3107
|
+
prototype: HTMLDsChartElement;
|
|
3108
|
+
new (): HTMLDsChartElement;
|
|
3180
3109
|
};
|
|
3181
3110
|
interface HTMLDsChartLegendElementEventMap {
|
|
3182
3111
|
"dsItemHover": ChartLegendItem | null;
|
|
@@ -3187,7 +3116,7 @@ declare global {
|
|
|
3187
3116
|
* legends differently (list w/ values, compact chips, bare swatches, external
|
|
3188
3117
|
* stat callouts) — this covers the common "swatch + label + optional value" case.
|
|
3189
3118
|
* Consumers who need a different treatment skip this component entirely and
|
|
3190
|
-
* render their own markup against the same `
|
|
3119
|
+
* render their own markup against the same `ChartLegendItem[]` data.
|
|
3191
3120
|
*/
|
|
3192
3121
|
interface HTMLDsChartLegendElement extends Components.DsChartLegend, HTMLStencilElement {
|
|
3193
3122
|
addEventListener<K extends keyof HTMLDsChartLegendElementEventMap>(type: K, listener: (this: HTMLDsChartLegendElement, ev: DsChartLegendCustomEvent<HTMLDsChartLegendElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3203,12 +3132,6 @@ declare global {
|
|
|
3203
3132
|
prototype: HTMLDsChartLegendElement;
|
|
3204
3133
|
new (): HTMLDsChartLegendElement;
|
|
3205
3134
|
};
|
|
3206
|
-
interface HTMLDsChartLineElement extends Components.DsChartLine, HTMLStencilElement {
|
|
3207
|
-
}
|
|
3208
|
-
var HTMLDsChartLineElement: {
|
|
3209
|
-
prototype: HTMLDsChartLineElement;
|
|
3210
|
-
new (): HTMLDsChartLineElement;
|
|
3211
|
-
};
|
|
3212
3135
|
interface HTMLDsCheckboxElementEventMap {
|
|
3213
3136
|
"dsChange": boolean;
|
|
3214
3137
|
}
|
|
@@ -3872,8 +3795,8 @@ declare global {
|
|
|
3872
3795
|
};
|
|
3873
3796
|
/**
|
|
3874
3797
|
* Positioned value/label callout for chart hover interactions (bar, line point,
|
|
3875
|
-
*
|
|
3876
|
-
*
|
|
3798
|
+
* polar arc, …). A composition may suppress it when a visible legend already
|
|
3799
|
+
* surfaces the same value.
|
|
3877
3800
|
* Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
|
|
3878
3801
|
* charts hover-highlight data that lives inside an SVG, so the chart itself computes
|
|
3879
3802
|
* the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
|
|
@@ -3884,11 +3807,11 @@ declare global {
|
|
|
3884
3807
|
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
3885
3808
|
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
3886
3809
|
*/
|
|
3887
|
-
interface
|
|
3810
|
+
interface HTMLDsTooltipChartElement extends Components.DsTooltipChart, HTMLStencilElement {
|
|
3888
3811
|
}
|
|
3889
|
-
var
|
|
3890
|
-
prototype:
|
|
3891
|
-
new ():
|
|
3812
|
+
var HTMLDsTooltipChartElement: {
|
|
3813
|
+
prototype: HTMLDsTooltipChartElement;
|
|
3814
|
+
new (): HTMLDsTooltipChartElement;
|
|
3892
3815
|
};
|
|
3893
3816
|
interface HTMLDsTypingIndicatorElement extends Components.DsTypingIndicator, HTMLStencilElement {
|
|
3894
3817
|
}
|
|
@@ -3911,13 +3834,11 @@ declare global {
|
|
|
3911
3834
|
"ds-breadcrumb": HTMLDsBreadcrumbElement;
|
|
3912
3835
|
"ds-button-filled": HTMLDsButtonFilledElement;
|
|
3913
3836
|
"ds-button-unfilled": HTMLDsButtonUnfilledElement;
|
|
3914
|
-
"ds-card-
|
|
3837
|
+
"ds-card-chart": HTMLDsCardChartElement;
|
|
3915
3838
|
"ds-card-overview": HTMLDsCardOverviewElement;
|
|
3916
3839
|
"ds-card-setting": HTMLDsCardSettingElement;
|
|
3917
|
-
"ds-chart
|
|
3918
|
-
"ds-chart-donut": HTMLDsChartDonutElement;
|
|
3840
|
+
"ds-chart": HTMLDsChartElement;
|
|
3919
3841
|
"ds-chart-legend": HTMLDsChartLegendElement;
|
|
3920
|
-
"ds-chart-line": HTMLDsChartLineElement;
|
|
3921
3842
|
"ds-checkbox": HTMLDsCheckboxElement;
|
|
3922
3843
|
"ds-chip": HTMLDsChipElement;
|
|
3923
3844
|
"ds-code-block": HTMLDsCodeBlockElement;
|
|
@@ -3962,7 +3883,7 @@ declare global {
|
|
|
3962
3883
|
"ds-text": HTMLDsTextElement;
|
|
3963
3884
|
"ds-toast": HTMLDsToastElement;
|
|
3964
3885
|
"ds-tooltip": HTMLDsTooltipElement;
|
|
3965
|
-
"ds-tooltip-
|
|
3886
|
+
"ds-tooltip-chart": HTMLDsTooltipChartElement;
|
|
3966
3887
|
"ds-typing-indicator": HTMLDsTypingIndicatorElement;
|
|
3967
3888
|
}
|
|
3968
3889
|
}
|
|
@@ -4568,27 +4489,27 @@ declare namespace LocalJSX {
|
|
|
4568
4489
|
"width"?: ButtonUnfilledWidth;
|
|
4569
4490
|
}
|
|
4570
4491
|
/**
|
|
4571
|
-
* Standard
|
|
4492
|
+
* Standard chart card chrome and composition. The variant owns
|
|
4572
4493
|
* only the chart/legend relationship; applications continue to own data.
|
|
4573
4494
|
*/
|
|
4574
|
-
interface
|
|
4495
|
+
interface DsCardChart {
|
|
4575
4496
|
/**
|
|
4576
|
-
* Width token with the matching
|
|
4497
|
+
* Width token with the matching chart-card min-height.
|
|
4577
4498
|
* @default 'md'
|
|
4578
4499
|
*/
|
|
4579
|
-
"cardWidth"?:
|
|
4500
|
+
"cardWidth"?: CardChartWidth;
|
|
4580
4501
|
/**
|
|
4581
4502
|
* @default 'Filter'
|
|
4582
4503
|
*/
|
|
4583
4504
|
"filterLabel"?: string;
|
|
4584
4505
|
/**
|
|
4585
|
-
*
|
|
4506
|
+
* Chart heading shown in the card header.
|
|
4586
4507
|
*/
|
|
4587
4508
|
"heading": string;
|
|
4588
4509
|
/**
|
|
4589
4510
|
* Emits when the standard header filter control is activated.
|
|
4590
4511
|
*/
|
|
4591
|
-
"onDsFilterClick"?: (event:
|
|
4512
|
+
"onDsFilterClick"?: (event: DsCardChartCustomEvent<void>) => void;
|
|
4592
4513
|
/**
|
|
4593
4514
|
* Renders the standard filter action before custom actions.
|
|
4594
4515
|
* @default false
|
|
@@ -4598,7 +4519,7 @@ declare namespace LocalJSX {
|
|
|
4598
4519
|
* Chart composition behavior.
|
|
4599
4520
|
* @default 'custom'
|
|
4600
4521
|
*/
|
|
4601
|
-
"variant"?:
|
|
4522
|
+
"variant"?: CardChartVariant;
|
|
4602
4523
|
}
|
|
4603
4524
|
interface DsCardOverview {
|
|
4604
4525
|
/**
|
|
@@ -4691,97 +4612,46 @@ declare namespace LocalJSX {
|
|
|
4691
4612
|
*/
|
|
4692
4613
|
"saveLabel"?: string;
|
|
4693
4614
|
}
|
|
4694
|
-
interface
|
|
4615
|
+
interface DsChart {
|
|
4695
4616
|
/**
|
|
4696
|
-
*
|
|
4697
|
-
* @default []
|
|
4617
|
+
* Derives height from the current width when height is not supplied.
|
|
4698
4618
|
*/
|
|
4699
|
-
"
|
|
4619
|
+
"aspectRatio"?: number;
|
|
4700
4620
|
/**
|
|
4701
|
-
*
|
|
4702
|
-
* @default []
|
|
4621
|
+
* Typed chart definition. Set as a JavaScript property, not an HTML attribute.
|
|
4703
4622
|
*/
|
|
4704
|
-
"
|
|
4623
|
+
"definition": ChartDefinition;
|
|
4705
4624
|
/**
|
|
4706
|
-
*
|
|
4707
|
-
* @default 240
|
|
4625
|
+
* Optional longer accessible description.
|
|
4708
4626
|
*/
|
|
4709
|
-
"
|
|
4710
|
-
/**
|
|
4711
|
-
* Ordered stack series for stacked and percentage variants. Set as a JS property.
|
|
4712
|
-
* @default []
|
|
4713
|
-
*/
|
|
4714
|
-
"series"?: ChartSeries[];
|
|
4715
|
-
/**
|
|
4716
|
-
* Rendering model. Single uses `data`; stacked and percentage use `series` and `categories`.
|
|
4717
|
-
* @default 'single'
|
|
4718
|
-
*/
|
|
4719
|
-
"variant"?: ChartBarVariant;
|
|
4720
|
-
/**
|
|
4721
|
-
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4722
|
-
* @default 480
|
|
4723
|
-
*/
|
|
4724
|
-
"width"?: number;
|
|
4725
|
-
}
|
|
4726
|
-
interface DsChartDonut {
|
|
4727
|
-
/**
|
|
4728
|
-
* Externally controlled highlight, matched by `label` — e.g. drive this from a sibling `ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync. Falls back to this component's own pointer/focus hover when unset. Slice hover dims peer slices and emits `dsSliceHover` for legend sync. External highlight never opens the local tooltip.
|
|
4729
|
-
* @default null
|
|
4730
|
-
*/
|
|
4731
|
-
"activeLabel"?: string | null;
|
|
4732
|
-
/**
|
|
4733
|
-
* Secondary caption below the center value (e.g. "Total", "Normal"). Rendered uppercase.
|
|
4734
|
-
*/
|
|
4735
|
-
"centerCaption"?: string | undefined;
|
|
4736
|
-
/**
|
|
4737
|
-
* Primary center value; defaults to the sum of `data` values (e.g. "187", "40.9%").
|
|
4738
|
-
*/
|
|
4739
|
-
"centerValue"?: string | undefined;
|
|
4740
|
-
/**
|
|
4741
|
-
* Corner radius on each slice — number (px) or TokoMo length. Defaults to `--dimension-radius-025` (2px).
|
|
4742
|
-
* @default TOKEN_DEFAULTS.radius025
|
|
4743
|
-
*/
|
|
4744
|
-
"cornerRadius"?: number | string;
|
|
4745
|
-
/**
|
|
4746
|
-
* Slices to render. Set as a JS property (not an HTML attribute).
|
|
4747
|
-
* @default []
|
|
4748
|
-
*/
|
|
4749
|
-
"data"?: ChartDatum[];
|
|
4750
|
-
/**
|
|
4751
|
-
* Gap between slices, in degrees.
|
|
4752
|
-
* @default 1
|
|
4753
|
-
*/
|
|
4754
|
-
"gap"?: number;
|
|
4755
|
-
"locale"?: string | undefined;
|
|
4627
|
+
"description"?: string;
|
|
4756
4628
|
/**
|
|
4757
|
-
*
|
|
4629
|
+
* Product-owned surface height. Wins over aspectRatio.
|
|
4758
4630
|
*/
|
|
4759
|
-
"
|
|
4631
|
+
"height"?: number;
|
|
4760
4632
|
/**
|
|
4761
|
-
*
|
|
4633
|
+
* Required accessible name for the visualization.
|
|
4762
4634
|
*/
|
|
4763
|
-
"
|
|
4635
|
+
"label": string;
|
|
4764
4636
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
* @default true
|
|
4637
|
+
* Locale used by axes and default tooltip formatters.
|
|
4767
4638
|
*/
|
|
4768
|
-
"
|
|
4639
|
+
"locale"?: string;
|
|
4769
4640
|
/**
|
|
4770
|
-
*
|
|
4641
|
+
* Fires whenever pointer or keyboard focus resolves to semantic chart points.
|
|
4771
4642
|
*/
|
|
4772
|
-
"
|
|
4643
|
+
"onDsChartFocusChange"?: (event: DsChartCustomEvent<ChartFocusChangeDetail>) => void;
|
|
4773
4644
|
/**
|
|
4774
|
-
*
|
|
4775
|
-
* @default TOKEN_DEFAULTS.size200
|
|
4645
|
+
* Fixed surface width. Otherwise the chart observes its container.
|
|
4776
4646
|
*/
|
|
4777
|
-
"
|
|
4647
|
+
"width"?: number;
|
|
4778
4648
|
}
|
|
4779
4649
|
/**
|
|
4780
4650
|
* Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
|
|
4781
4651
|
* legends differently (list w/ values, compact chips, bare swatches, external
|
|
4782
4652
|
* stat callouts) — this covers the common "swatch + label + optional value" case.
|
|
4783
4653
|
* Consumers who need a different treatment skip this component entirely and
|
|
4784
|
-
* render their own markup against the same `
|
|
4654
|
+
* render their own markup against the same `ChartLegendItem[]` data.
|
|
4785
4655
|
*/
|
|
4786
4656
|
interface DsChartLegend {
|
|
4787
4657
|
/**
|
|
@@ -4823,32 +4693,6 @@ declare namespace LocalJSX {
|
|
|
4823
4693
|
*/
|
|
4824
4694
|
"showPercentage"?: boolean;
|
|
4825
4695
|
}
|
|
4826
|
-
interface DsChartLine {
|
|
4827
|
-
/**
|
|
4828
|
-
* X-axis labels — must match each series' `data` length. Set as a JS property.
|
|
4829
|
-
* @default []
|
|
4830
|
-
*/
|
|
4831
|
-
"categories"?: string[];
|
|
4832
|
-
/**
|
|
4833
|
-
* Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.
|
|
4834
|
-
* @default 240
|
|
4835
|
-
*/
|
|
4836
|
-
"height"?: number;
|
|
4837
|
-
/**
|
|
4838
|
-
* One or more series to plot. Set as a JS property (not an HTML attribute).
|
|
4839
|
-
* @default []
|
|
4840
|
-
*/
|
|
4841
|
-
"series"?: ChartSeries[];
|
|
4842
|
-
/**
|
|
4843
|
-
* @default true
|
|
4844
|
-
*/
|
|
4845
|
-
"showPoints"?: boolean;
|
|
4846
|
-
/**
|
|
4847
|
-
* Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.
|
|
4848
|
-
* @default 480
|
|
4849
|
-
*/
|
|
4850
|
-
"width"?: number;
|
|
4851
|
-
}
|
|
4852
4696
|
interface DsCheckbox {
|
|
4853
4697
|
/**
|
|
4854
4698
|
* Current checked state.
|
|
@@ -6805,8 +6649,8 @@ declare namespace LocalJSX {
|
|
|
6805
6649
|
}
|
|
6806
6650
|
/**
|
|
6807
6651
|
* Positioned value/label callout for chart hover interactions (bar, line point,
|
|
6808
|
-
*
|
|
6809
|
-
*
|
|
6652
|
+
* polar arc, …). A composition may suppress it when a visible legend already
|
|
6653
|
+
* surfaces the same value.
|
|
6810
6654
|
* Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
|
|
6811
6655
|
* charts hover-highlight data that lives inside an SVG, so the chart itself computes
|
|
6812
6656
|
* the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
|
|
@@ -6817,12 +6661,20 @@ declare namespace LocalJSX {
|
|
|
6817
6661
|
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
6818
6662
|
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
6819
6663
|
*/
|
|
6820
|
-
interface
|
|
6664
|
+
interface DsTooltipChart {
|
|
6821
6665
|
/**
|
|
6822
6666
|
* Show delay after mount before the callout appears. Default: `--effect-animation-delay-instant` (0ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Charts need immediate feedback while scrubbing; prefer the default. Mount once per hover session so any non-zero delay runs once, then track `x`/`y` instantly.
|
|
6823
6667
|
* @default TOKEN_DEFAULTS.animationDelayInstant
|
|
6824
6668
|
*/
|
|
6825
6669
|
"delay"?: number | string;
|
|
6670
|
+
/**
|
|
6671
|
+
* Optional heading for grouped chart focus.
|
|
6672
|
+
*/
|
|
6673
|
+
"heading"?: string;
|
|
6674
|
+
/**
|
|
6675
|
+
* Multi-row content. When supplied, this replaces the legacy label/value row.
|
|
6676
|
+
*/
|
|
6677
|
+
"items"?: TooltipChartItem[];
|
|
6826
6678
|
/**
|
|
6827
6679
|
* @default ''
|
|
6828
6680
|
*/
|
|
@@ -6979,10 +6831,10 @@ declare namespace LocalJSX {
|
|
|
6979
6831
|
"hasMenu": boolean;
|
|
6980
6832
|
"focusTabIndex": number;
|
|
6981
6833
|
}
|
|
6982
|
-
interface
|
|
6834
|
+
interface DsCardChartAttributes {
|
|
6983
6835
|
"heading": string;
|
|
6984
|
-
"variant":
|
|
6985
|
-
"cardWidth":
|
|
6836
|
+
"variant": CardChartVariant;
|
|
6837
|
+
"cardWidth": CardChartWidth;
|
|
6986
6838
|
"showFilter": boolean;
|
|
6987
6839
|
"filterLabel": string;
|
|
6988
6840
|
}
|
|
@@ -7005,22 +6857,13 @@ declare namespace LocalJSX {
|
|
|
7005
6857
|
"cancelLabel": string;
|
|
7006
6858
|
"saveLabel": string;
|
|
7007
6859
|
}
|
|
7008
|
-
interface
|
|
7009
|
-
"
|
|
6860
|
+
interface DsChartAttributes {
|
|
6861
|
+
"label": string;
|
|
6862
|
+
"description": string;
|
|
6863
|
+
"locale": string;
|
|
7010
6864
|
"width": number;
|
|
7011
6865
|
"height": number;
|
|
7012
|
-
|
|
7013
|
-
interface DsChartDonutAttributes {
|
|
7014
|
-
"locale": string | undefined;
|
|
7015
|
-
"noDataLabel": string;
|
|
7016
|
-
"size": number | undefined;
|
|
7017
|
-
"thickness": string;
|
|
7018
|
-
"cornerRadius": string;
|
|
7019
|
-
"gap": number;
|
|
7020
|
-
"showTooltip": boolean;
|
|
7021
|
-
"centerValue": string | undefined;
|
|
7022
|
-
"centerCaption": string | undefined;
|
|
7023
|
-
"activeLabel": string | null;
|
|
6866
|
+
"aspectRatio": number;
|
|
7024
6867
|
}
|
|
7025
6868
|
interface DsChartLegendAttributes {
|
|
7026
6869
|
"locale": string | undefined;
|
|
@@ -7030,11 +6873,6 @@ declare namespace LocalJSX {
|
|
|
7030
6873
|
"highlightOnHover": boolean;
|
|
7031
6874
|
"activeLabel": string | null;
|
|
7032
6875
|
}
|
|
7033
|
-
interface DsChartLineAttributes {
|
|
7034
|
-
"width": number;
|
|
7035
|
-
"height": number;
|
|
7036
|
-
"showPoints": boolean;
|
|
7037
|
-
}
|
|
7038
6876
|
interface DsCheckboxAttributes {
|
|
7039
6877
|
"label": string;
|
|
7040
6878
|
"checked": boolean;
|
|
@@ -7475,9 +7313,10 @@ declare namespace LocalJSX {
|
|
|
7475
7313
|
"shortcutKey": string | undefined;
|
|
7476
7314
|
"shortcutKeyPosition": 'start' | 'end';
|
|
7477
7315
|
}
|
|
7478
|
-
interface
|
|
7316
|
+
interface DsTooltipChartAttributes {
|
|
7479
7317
|
"value": string;
|
|
7480
7318
|
"label": string;
|
|
7319
|
+
"heading": string;
|
|
7481
7320
|
"x": number;
|
|
7482
7321
|
"y": number;
|
|
7483
7322
|
"delay": string;
|
|
@@ -7501,13 +7340,11 @@ declare namespace LocalJSX {
|
|
|
7501
7340
|
"ds-breadcrumb": Omit<DsBreadcrumb, keyof DsBreadcrumbAttributes> & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes]?: DsBreadcrumb[K] } & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes as `attr:${K}`]?: DsBreadcrumbAttributes[K] } & { [K in keyof DsBreadcrumb & keyof DsBreadcrumbAttributes as `prop:${K}`]?: DsBreadcrumb[K] };
|
|
7502
7341
|
"ds-button-filled": Omit<DsButtonFilled, keyof DsButtonFilledAttributes> & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes]?: DsButtonFilled[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `attr:${K}`]?: DsButtonFilledAttributes[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `prop:${K}`]?: DsButtonFilled[K] };
|
|
7503
7342
|
"ds-button-unfilled": Omit<DsButtonUnfilled, keyof DsButtonUnfilledAttributes> & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes]?: DsButtonUnfilled[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `attr:${K}`]?: DsButtonUnfilledAttributes[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `prop:${K}`]?: DsButtonUnfilled[K] };
|
|
7504
|
-
"ds-card-
|
|
7343
|
+
"ds-card-chart": Omit<DsCardChart, keyof DsCardChartAttributes> & { [K in keyof DsCardChart & keyof DsCardChartAttributes]?: DsCardChart[K] } & { [K in keyof DsCardChart & keyof DsCardChartAttributes as `attr:${K}`]?: DsCardChartAttributes[K] } & { [K in keyof DsCardChart & keyof DsCardChartAttributes as `prop:${K}`]?: DsCardChart[K] } & OneOf<"heading", DsCardChart["heading"], DsCardChartAttributes["heading"]>;
|
|
7505
7344
|
"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] };
|
|
7506
7345
|
"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"]>;
|
|
7507
|
-
"ds-chart
|
|
7508
|
-
"ds-chart-donut": Omit<DsChartDonut, keyof DsChartDonutAttributes> & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes]?: DsChartDonut[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `attr:${K}`]?: DsChartDonutAttributes[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `prop:${K}`]?: DsChartDonut[K] };
|
|
7346
|
+
"ds-chart": Omit<DsChart, keyof DsChartAttributes> & { [K in keyof DsChart & keyof DsChartAttributes]?: DsChart[K] } & { [K in keyof DsChart & keyof DsChartAttributes as `attr:${K}`]?: DsChartAttributes[K] } & { [K in keyof DsChart & keyof DsChartAttributes as `prop:${K}`]?: DsChart[K] } & OneOf<"label", DsChart["label"], DsChartAttributes["label"]>;
|
|
7509
7347
|
"ds-chart-legend": Omit<DsChartLegend, keyof DsChartLegendAttributes> & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes]?: DsChartLegend[K] } & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes as `attr:${K}`]?: DsChartLegendAttributes[K] } & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes as `prop:${K}`]?: DsChartLegend[K] };
|
|
7510
|
-
"ds-chart-line": Omit<DsChartLine, keyof DsChartLineAttributes> & { [K in keyof DsChartLine & keyof DsChartLineAttributes]?: DsChartLine[K] } & { [K in keyof DsChartLine & keyof DsChartLineAttributes as `attr:${K}`]?: DsChartLineAttributes[K] } & { [K in keyof DsChartLine & keyof DsChartLineAttributes as `prop:${K}`]?: DsChartLine[K] };
|
|
7511
7348
|
"ds-checkbox": Omit<DsCheckbox, keyof DsCheckboxAttributes> & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes]?: DsCheckbox[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `attr:${K}`]?: DsCheckboxAttributes[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `prop:${K}`]?: DsCheckbox[K] } & OneOf<"label", DsCheckbox["label"], DsCheckboxAttributes["label"]>;
|
|
7512
7349
|
"ds-chip": Omit<DsChip, keyof DsChipAttributes> & { [K in keyof DsChip & keyof DsChipAttributes]?: DsChip[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `attr:${K}`]?: DsChipAttributes[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `prop:${K}`]?: DsChip[K] } & OneOf<"label", DsChip["label"], DsChipAttributes["label"]>;
|
|
7513
7350
|
"ds-code-block": Omit<DsCodeBlock, keyof DsCodeBlockAttributes> & { [K in keyof DsCodeBlock & keyof DsCodeBlockAttributes]?: DsCodeBlock[K] } & { [K in keyof DsCodeBlock & keyof DsCodeBlockAttributes as `attr:${K}`]?: DsCodeBlockAttributes[K] } & { [K in keyof DsCodeBlock & keyof DsCodeBlockAttributes as `prop:${K}`]?: DsCodeBlock[K] };
|
|
@@ -7552,7 +7389,7 @@ declare namespace LocalJSX {
|
|
|
7552
7389
|
"ds-text": Omit<DsText, keyof DsTextAttributes> & { [K in keyof DsText & keyof DsTextAttributes]?: DsText[K] } & { [K in keyof DsText & keyof DsTextAttributes as `attr:${K}`]?: DsTextAttributes[K] } & { [K in keyof DsText & keyof DsTextAttributes as `prop:${K}`]?: DsText[K] };
|
|
7553
7390
|
"ds-toast": Omit<DsToast, keyof DsToastAttributes> & { [K in keyof DsToast & keyof DsToastAttributes]?: DsToast[K] } & { [K in keyof DsToast & keyof DsToastAttributes as `attr:${K}`]?: DsToastAttributes[K] } & { [K in keyof DsToast & keyof DsToastAttributes as `prop:${K}`]?: DsToast[K] };
|
|
7554
7391
|
"ds-tooltip": Omit<DsTooltip, keyof DsTooltipAttributes> & { [K in keyof DsTooltip & keyof DsTooltipAttributes]?: DsTooltip[K] } & { [K in keyof DsTooltip & keyof DsTooltipAttributes as `attr:${K}`]?: DsTooltipAttributes[K] } & { [K in keyof DsTooltip & keyof DsTooltipAttributes as `prop:${K}`]?: DsTooltip[K] } & OneOf<"label", DsTooltip["label"], DsTooltipAttributes["label"]>;
|
|
7555
|
-
"ds-tooltip-
|
|
7392
|
+
"ds-tooltip-chart": Omit<DsTooltipChart, keyof DsTooltipChartAttributes> & { [K in keyof DsTooltipChart & keyof DsTooltipChartAttributes]?: DsTooltipChart[K] } & { [K in keyof DsTooltipChart & keyof DsTooltipChartAttributes as `attr:${K}`]?: DsTooltipChartAttributes[K] } & { [K in keyof DsTooltipChart & keyof DsTooltipChartAttributes as `prop:${K}`]?: DsTooltipChart[K] };
|
|
7556
7393
|
"ds-typing-indicator": Omit<DsTypingIndicator, keyof DsTypingIndicatorAttributes> & { [K in keyof DsTypingIndicator & keyof DsTypingIndicatorAttributes]?: DsTypingIndicator[K] } & { [K in keyof DsTypingIndicator & keyof DsTypingIndicatorAttributes as `attr:${K}`]?: DsTypingIndicatorAttributes[K] } & { [K in keyof DsTypingIndicator & keyof DsTypingIndicatorAttributes as `prop:${K}`]?: DsTypingIndicator[K] };
|
|
7557
7394
|
}
|
|
7558
7395
|
}
|
|
@@ -7575,23 +7412,21 @@ declare module "@stencil/core" {
|
|
|
7575
7412
|
"ds-button-filled": LocalJSX.IntrinsicElements["ds-button-filled"] & JSXBase.HTMLAttributes<HTMLDsButtonFilledElement>;
|
|
7576
7413
|
"ds-button-unfilled": LocalJSX.IntrinsicElements["ds-button-unfilled"] & JSXBase.HTMLAttributes<HTMLDsButtonUnfilledElement>;
|
|
7577
7414
|
/**
|
|
7578
|
-
* Standard
|
|
7415
|
+
* Standard chart card chrome and composition. The variant owns
|
|
7579
7416
|
* only the chart/legend relationship; applications continue to own data.
|
|
7580
7417
|
*/
|
|
7581
|
-
"ds-card-
|
|
7418
|
+
"ds-card-chart": LocalJSX.IntrinsicElements["ds-card-chart"] & JSXBase.HTMLAttributes<HTMLDsCardChartElement>;
|
|
7582
7419
|
"ds-card-overview": LocalJSX.IntrinsicElements["ds-card-overview"] & JSXBase.HTMLAttributes<HTMLDsCardOverviewElement>;
|
|
7583
7420
|
"ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
|
|
7584
|
-
"ds-chart
|
|
7585
|
-
"ds-chart-donut": LocalJSX.IntrinsicElements["ds-chart-donut"] & JSXBase.HTMLAttributes<HTMLDsChartDonutElement>;
|
|
7421
|
+
"ds-chart": LocalJSX.IntrinsicElements["ds-chart"] & JSXBase.HTMLAttributes<HTMLDsChartElement>;
|
|
7586
7422
|
/**
|
|
7587
7423
|
* Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
|
|
7588
7424
|
* legends differently (list w/ values, compact chips, bare swatches, external
|
|
7589
7425
|
* stat callouts) — this covers the common "swatch + label + optional value" case.
|
|
7590
7426
|
* Consumers who need a different treatment skip this component entirely and
|
|
7591
|
-
* render their own markup against the same `
|
|
7427
|
+
* render their own markup against the same `ChartLegendItem[]` data.
|
|
7592
7428
|
*/
|
|
7593
7429
|
"ds-chart-legend": LocalJSX.IntrinsicElements["ds-chart-legend"] & JSXBase.HTMLAttributes<HTMLDsChartLegendElement>;
|
|
7594
|
-
"ds-chart-line": LocalJSX.IntrinsicElements["ds-chart-line"] & JSXBase.HTMLAttributes<HTMLDsChartLineElement>;
|
|
7595
7430
|
"ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
|
|
7596
7431
|
/**
|
|
7597
7432
|
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
@@ -7649,8 +7484,8 @@ declare module "@stencil/core" {
|
|
|
7649
7484
|
"ds-tooltip": LocalJSX.IntrinsicElements["ds-tooltip"] & JSXBase.HTMLAttributes<HTMLDsTooltipElement>;
|
|
7650
7485
|
/**
|
|
7651
7486
|
* Positioned value/label callout for chart hover interactions (bar, line point,
|
|
7652
|
-
*
|
|
7653
|
-
*
|
|
7487
|
+
* polar arc, …). A composition may suppress it when a visible legend already
|
|
7488
|
+
* surfaces the same value.
|
|
7654
7489
|
* Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
|
|
7655
7490
|
* charts hover-highlight data that lives inside an SVG, so the chart itself computes
|
|
7656
7491
|
* the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
|
|
@@ -7661,7 +7496,7 @@ declare module "@stencil/core" {
|
|
|
7661
7496
|
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
7662
7497
|
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
7663
7498
|
*/
|
|
7664
|
-
"ds-tooltip-
|
|
7499
|
+
"ds-tooltip-chart": LocalJSX.IntrinsicElements["ds-tooltip-chart"] & JSXBase.HTMLAttributes<HTMLDsTooltipChartElement>;
|
|
7665
7500
|
"ds-typing-indicator": LocalJSX.IntrinsicElements["ds-typing-indicator"] & JSXBase.HTMLAttributes<HTMLDsTypingIndicatorElement>;
|
|
7666
7501
|
}
|
|
7667
7502
|
}
|