@ds-mo/ui 2.11.2 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/.build-stamp +1 -1
- package/dist/components/ds-app-shell.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-nav.js.map +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/{ds-accordion.d.ts → ds-button-unfilled.d.ts} +4 -4
- package/dist/components/ds-button-unfilled.js +2 -0
- package/dist/components/{ds-card-data-viz.d.ts → ds-card-data-viz-donut.d.ts} +4 -4
- package/dist/components/ds-card-data-viz-donut.js +2 -0
- package/dist/components/ds-card-data-viz-donut.js.map +1 -0
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/{ds-fade.d.ts → ds-card.d.ts} +4 -4
- package/dist/components/ds-card.js +2 -0
- package/dist/components/ds-card.js.map +1 -0
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-bar.js.map +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-donut.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-line.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-checkbox.js.map +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-chip.js.map +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-empty-state.js.map +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-input.js.map +1 -1
- package/dist/components/ds-loader.js +1 -1
- package/dist/components/ds-loader.js.map +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-pagination.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-tools.js +1 -1
- package/dist/components/ds-panel-tools.js.map +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-radio-group.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.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-tab-group-nav.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-tag.js.map +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-toggle.js.map +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js.map +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-tooltip.js.map +1 -1
- package/dist/components/p-1m8r0wFg.js +2 -0
- package/dist/components/p-1m8r0wFg.js.map +1 -0
- package/dist/components/p-3FLHei19.js +2 -0
- package/dist/components/p-3FLHei19.js.map +1 -0
- package/dist/components/p-B2_D4IDN.js +2 -0
- package/dist/components/p-B2_D4IDN.js.map +1 -0
- package/dist/components/p-B5NcWtpp.js +2 -0
- package/dist/components/p-B5NcWtpp.js.map +1 -0
- package/dist/components/{p-8Nt92j1-.js → p-B82KZX9D.js} +2 -2
- package/dist/components/p-BQq26pt9.js.map +1 -1
- package/dist/components/p-B_g8X0eh.js +2 -0
- package/dist/components/p-B_g8X0eh.js.map +1 -0
- package/dist/components/{p-DdFUTZ3y.js → p-Be3PHv34.js} +2 -2
- package/dist/components/p-CQmf2CeW.js +2 -0
- package/dist/components/p-CQmf2CeW.js.map +1 -0
- package/dist/components/{p-DOU4cbpc.js → p-CtwNUCnp.js} +2 -2
- package/dist/components/p-CuRjYmBk.js +2 -0
- package/dist/components/p-CuRjYmBk.js.map +1 -0
- package/dist/components/p-CwARVsZQ.js +2 -0
- package/dist/components/p-CwARVsZQ.js.map +1 -0
- package/dist/components/p-DohXlNCJ.js +2 -0
- package/dist/components/p-DohXlNCJ.js.map +1 -0
- package/dist/components/p-DuFm-ieS.js +2 -0
- package/dist/components/p-DuFm-ieS.js.map +1 -0
- package/dist/components/p-EK1hOP19.js.map +1 -1
- package/dist/lib/nav/index.js +3 -0
- package/dist/lib/nav/index.js.map +2 -2
- package/dist/lib/utils/control-width.d.ts +4 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/index.js +20 -1
- package/dist/lib/utils/index.js.map +3 -3
- package/dist/lib/utils/token-defaults.d.ts +7 -0
- package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +21 -3
- package/dist/types/components/ButtonFilled/index.d.ts +1 -1
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +70 -0
- package/dist/types/components/ButtonUnfilled/index.d.ts +2 -0
- package/dist/types/components/Card/Card.d.ts +20 -0
- package/dist/types/components/Card/index.d.ts +2 -0
- package/dist/types/components/CardDataVizDonut/CardDataVizDonut.d.ts +26 -0
- package/dist/types/components/CardDataVizDonut/index.d.ts +2 -0
- package/dist/types/components/CardSetting/CardSetting.d.ts +7 -2
- package/dist/types/components/ChartDonut/ChartDonut.d.ts +31 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +18 -14
- package/dist/types/components/Chip/index.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/PanelNav/PanelNav.d.ts +2 -0
- package/dist/types/components/PanelTools/panel-tools-types.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/Select/Select.d.ts +34 -2
- package/dist/types/components/Select/index.d.ts +2 -0
- package/dist/types/components/ShellGradientSwatch/ShellGradientSwatch.d.ts +1 -1
- package/dist/types/components/Slider/Slider.d.ts +1 -1
- package/dist/types/components/TabGroup/TabGroup.d.ts +1 -1
- package/dist/types/components/TabGroup/tab-item-utils.d.ts +2 -1
- package/dist/types/components/TabGroupNav/TabGroupNav.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +0 -2
- package/dist/types/components/Tag/index.d.ts +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +25 -6
- package/dist/types/components/TooltipDataViz/TooltipDataViz.d.ts +18 -0
- package/dist/types/components.d.ts +474 -576
- package/dist/types/utils/control-width.d.ts +5 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/token-defaults.d.ts +7 -0
- package/package.json +7 -4
- package/src/angular/index.ts +3 -9
- package/src/angular/proxies.ts +62 -215
- package/src/react/components.ts +3 -9
- package/src/react/ds-button-unfilled.ts +33 -0
- package/src/react/ds-card-data-viz-donut.ts +27 -0
- package/src/react/{ds-fade.ts → ds-card.ts} +7 -7
- package/src/react/ds-chip.ts +2 -10
- package/src/wc/components/BarNav/BarNav.tsx +3 -2
- package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +1 -1
- package/src/wc/components/ButtonFilled/ButtonFilled.tsx +97 -11
- package/src/wc/components/ButtonFilled/index.ts +7 -1
- package/src/wc/components/ButtonUnfilled/ButtonUnfilled.tsx +230 -0
- package/src/wc/components/ButtonUnfilled/index.ts +7 -0
- package/src/wc/components/Card/Card.tsx +79 -0
- package/src/wc/components/Card/index.ts +1 -0
- package/src/wc/components/{CardDataViz/CardDataViz.tsx → CardDataVizDonut/CardDataVizDonut.tsx} +47 -41
- package/src/wc/components/CardDataVizDonut/index.ts +1 -0
- package/src/wc/components/CardSetting/CardSetting.tsx +21 -36
- package/src/wc/components/ChartDonut/ChartDonut.tsx +159 -11
- package/src/wc/components/ChartLegend/ChartLegend.tsx +3 -0
- package/src/wc/components/Checkbox/Checkbox.tsx +5 -5
- package/src/wc/components/Chip/Chip.tsx +50 -67
- package/src/wc/components/Chip/index.ts +1 -1
- package/src/wc/components/Input/Input.tsx +4 -4
- package/src/wc/components/Menu/Menu.tsx +7 -4
- package/src/wc/components/Pagination/Pagination.tsx +6 -6
- package/src/wc/components/PanelNav/PanelNav.tsx +77 -48
- package/src/wc/components/PanelTools/PanelTools.tsx +19 -16
- package/src/wc/components/PanelTools/panel-tools-types.ts +1 -1
- package/src/wc/components/PanelTools/panel-tools-utils.ts +1 -1
- package/src/wc/components/RadioGroup/RadioGroup.tsx +7 -7
- package/src/wc/components/Select/Select.tsx +145 -64
- package/src/wc/components/Select/index.ts +1 -0
- package/src/wc/components/ShellGradientSwatch/ShellGradientSwatch.tsx +4 -3
- package/src/wc/components/Slider/Slider.tsx +7 -3
- package/src/wc/components/TabGroup/TabGroup.tsx +13 -7
- package/src/wc/components/TabGroup/tab-item-utils.ts +2 -1
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +14 -13
- package/src/wc/components/Tag/Tag.tsx +25 -24
- package/src/wc/components/Tag/index.ts +1 -1
- package/src/wc/components/Toggle/Toggle.tsx +6 -6
- package/src/wc/components/Tooltip/Tooltip.tsx +166 -64
- package/src/wc/components/TooltipDataViz/TooltipDataViz.tsx +57 -2
- package/src/wc/components.d.ts +474 -579
- package/src/wc/utils/control-density.css +42 -0
- package/src/wc/utils/control-inactive.css +20 -0
- package/src/wc/utils/control-width.css +28 -0
- package/src/wc/utils/control-width.ts +10 -0
- package/src/wc/utils/index.ts +2 -0
- package/src/wc/utils/interaction-fill.css +162 -0
- package/src/wc/utils/scroll-edge-fade.css +5 -0
- package/src/wc/utils/token-defaults.ts +10 -0
- package/dist/components/ds-accordion.js +0 -2
- package/dist/components/ds-accordion.js.map +0 -1
- package/dist/components/ds-breadcrumb.d.ts +0 -11
- package/dist/components/ds-breadcrumb.js +0 -2
- package/dist/components/ds-breadcrumb.js.map +0 -1
- package/dist/components/ds-button-unfilled-icon.d.ts +0 -11
- package/dist/components/ds-button-unfilled-icon.js +0 -2
- 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-fade.js +0 -2
- package/dist/components/ds-fade.js.map +0 -1
- package/dist/components/ds-header.d.ts +0 -11
- package/dist/components/ds-header.js +0 -2
- package/dist/components/ds-header.js.map +0 -1
- package/dist/components/ds-scrollbar.d.ts +0 -11
- package/dist/components/ds-scrollbar.js +0 -2
- package/dist/components/ds-scrollbar.js.map +0 -1
- package/dist/components/ds-surface.d.ts +0 -11
- package/dist/components/ds-surface.js +0 -2
- package/dist/components/ds-surface.js.map +0 -1
- package/dist/components/ds-toast-provider.d.ts +0 -11
- package/dist/components/ds-toast-provider.js +0 -2
- package/dist/components/ds-toast-provider.js.map +0 -1
- package/dist/components/p-BMQbEIrQ.js +0 -2
- package/dist/components/p-BMQbEIrQ.js.map +0 -1
- package/dist/components/p-BSFgy5r6.js +0 -2
- package/dist/components/p-BSFgy5r6.js.map +0 -1
- package/dist/components/p-CBUIn8dk.js +0 -2
- package/dist/components/p-CBUIn8dk.js.map +0 -1
- package/dist/components/p-ChVwCVHy.js +0 -2
- package/dist/components/p-ChVwCVHy.js.map +0 -1
- package/dist/components/p-CpNIQXz6.js +0 -2
- package/dist/components/p-CpNIQXz6.js.map +0 -1
- package/dist/components/p-CvgHQfvT.js +0 -2
- package/dist/components/p-CvgHQfvT.js.map +0 -1
- package/dist/components/p-bDf6yBQd.js +0 -2
- package/dist/components/p-bDf6yBQd.js.map +0 -1
- package/dist/types/components/Accordion/Accordion.d.ts +0 -28
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +0 -16
- package/dist/types/components/ButtonUnfilledIcon/ButtonUnfilledIcon.d.ts +0 -45
- package/dist/types/components/ButtonUnfilledIcon/index.d.ts +0 -2
- package/dist/types/components/CardDataViz/CardDataViz.d.ts +0 -22
- package/dist/types/components/CardDataViz/index.d.ts +0 -2
- package/dist/types/components/Fade/Fade.d.ts +0 -22
- package/dist/types/components/Fade/index.d.ts +0 -2
- package/dist/types/components/Header/Header.d.ts +0 -7
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +0 -27
- package/dist/types/components/Surface/Surface.d.ts +0 -22
- package/dist/types/components/Toast/Toast.d.ts +0 -16
- package/dist/types/components/Toast/toast-service.d.ts +0 -24
- package/src/react/ds-accordion.ts +0 -27
- package/src/react/ds-breadcrumb.ts +0 -27
- package/src/react/ds-button-unfilled-icon.ts +0 -33
- package/src/react/ds-card-data-viz.ts +0 -26
- package/src/react/ds-header.ts +0 -26
- package/src/react/ds-scrollbar.ts +0 -26
- package/src/react/ds-surface.ts +0 -26
- package/src/react/ds-toast-provider.ts +0 -26
- package/src/wc/components/Accordion/Accordion.tsx +0 -144
- package/src/wc/components/Breadcrumb/Breadcrumb.tsx +0 -61
- package/src/wc/components/ButtonUnfilledIcon/ButtonUnfilledIcon.tsx +0 -129
- package/src/wc/components/ButtonUnfilledIcon/index.ts +0 -1
- package/src/wc/components/CardDataViz/index.ts +0 -1
- package/src/wc/components/Fade/Fade.tsx +0 -58
- package/src/wc/components/Fade/index.ts +0 -1
- package/src/wc/components/Header/Header.tsx +0 -33
- package/src/wc/components/Scrollbar/Scrollbar.tsx +0 -189
- package/src/wc/components/Surface/Surface.tsx +0 -81
- package/src/wc/components/Toast/Toast.tsx +0 -179
- package/src/wc/components/Toast/toast-service.ts +0 -67
- /package/dist/components/{ds-button-unfilled-icon.js.map → ds-button-unfilled.js.map} +0 -0
- /package/dist/components/{p-8Nt92j1-.js.map → p-B82KZX9D.js.map} +0 -0
- /package/dist/components/{p-DdFUTZ3y.js.map → p-Be3PHv34.js.map} +0 -0
- /package/dist/components/{p-DOU4cbpc.js.map → p-CtwNUCnp.js.map} +0 -0
package/src/wc/components.d.ts
CHANGED
|
@@ -5,24 +5,21 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
|
8
|
-
import { AccordionItemData } from "./components/Accordion/Accordion";
|
|
9
8
|
import { NavChromeStyle } from "./nav/nav-chrome";
|
|
10
9
|
import { ShellGradientPreset } from "./nav/shell-gradient-presets";
|
|
11
10
|
import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
12
11
|
import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
13
12
|
import { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
14
|
+
import { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
15
|
+
import { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
16
|
+
import { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
18
17
|
import { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
19
18
|
import { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
20
19
|
import { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
|
|
21
|
-
import { ChipBackground,
|
|
20
|
+
import { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
|
|
22
21
|
import { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
23
22
|
import { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
24
|
-
import { FadeSide, FadeSize } from "./components/Fade/Fade";
|
|
25
|
-
import { HeaderBackground } from "./components/Header/Header";
|
|
26
23
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
27
24
|
import { InputType } from "./components/Input/Input";
|
|
28
25
|
import { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
@@ -32,37 +29,31 @@ import { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./c
|
|
|
32
29
|
import { ChromeTransitionDetail } from "./nav/chrome-transition";
|
|
33
30
|
import { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
34
31
|
import { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
35
|
-
import {
|
|
36
|
-
import { SelectOption } from "./components/Select/Select";
|
|
32
|
+
import { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
37
33
|
import { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
38
34
|
import { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
39
|
-
import { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
40
35
|
import { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
41
36
|
import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
42
37
|
import { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
43
38
|
import { SortState, TableColumn } from "./components/Table/Table";
|
|
44
|
-
import { TagContrast,
|
|
39
|
+
import { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
45
40
|
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
46
|
-
import {
|
|
47
|
-
import { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
48
|
-
export { AccordionItemData } from "./components/Accordion/Accordion";
|
|
41
|
+
import { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
49
42
|
export { NavChromeStyle } from "./nav/nav-chrome";
|
|
50
43
|
export { ShellGradientPreset } from "./nav/shell-gradient-presets";
|
|
51
44
|
export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
52
45
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
53
46
|
export { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
47
|
+
export { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
48
|
+
export { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
49
|
+
export { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
50
|
+
export { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
58
51
|
export { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
59
52
|
export { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
60
53
|
export { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
|
|
61
|
-
export { ChipBackground,
|
|
54
|
+
export { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
|
|
62
55
|
export { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
63
56
|
export { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
64
|
-
export { FadeSide, FadeSize } from "./components/Fade/Fade";
|
|
65
|
-
export { HeaderBackground } from "./components/Header/Header";
|
|
66
57
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
67
58
|
export { InputType } from "./components/Input/Input";
|
|
68
59
|
export { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
@@ -72,35 +63,17 @@ export { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./c
|
|
|
72
63
|
export { ChromeTransitionDetail } from "./nav/chrome-transition";
|
|
73
64
|
export { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
74
65
|
export { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
75
|
-
export {
|
|
76
|
-
export { SelectOption } from "./components/Select/Select";
|
|
66
|
+
export { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
77
67
|
export { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
78
68
|
export { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
79
|
-
export { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
80
69
|
export { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
81
70
|
export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
82
71
|
export { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
83
72
|
export { SortState, TableColumn } from "./components/Table/Table";
|
|
84
|
-
export { TagContrast,
|
|
73
|
+
export { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
85
74
|
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
86
|
-
export {
|
|
87
|
-
export { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
75
|
+
export { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
|
|
88
76
|
export namespace Components {
|
|
89
|
-
interface DsAccordion {
|
|
90
|
-
/**
|
|
91
|
-
* Comma-separated list of expanded item IDs for controlled mode.
|
|
92
|
-
* @default ''
|
|
93
|
-
*/
|
|
94
|
-
"expandedIds": string;
|
|
95
|
-
/**
|
|
96
|
-
* @default []
|
|
97
|
-
*/
|
|
98
|
-
"items": AccordionItemData[];
|
|
99
|
-
/**
|
|
100
|
-
* @default false
|
|
101
|
-
*/
|
|
102
|
-
"multiple": boolean;
|
|
103
|
-
}
|
|
104
77
|
interface DsAppShell {
|
|
105
78
|
/**
|
|
106
79
|
* When `true`, paints the radial wash behind panel, bar, and tools (synced to shell layout).
|
|
@@ -236,69 +209,73 @@ export namespace Components {
|
|
|
236
209
|
*/
|
|
237
210
|
"value": string;
|
|
238
211
|
}
|
|
239
|
-
interface DsBreadcrumb {
|
|
240
|
-
/**
|
|
241
|
-
* @default []
|
|
242
|
-
*/
|
|
243
|
-
"items": BreadcrumbItem[];
|
|
244
|
-
/**
|
|
245
|
-
* @default '/'
|
|
246
|
-
*/
|
|
247
|
-
"separator": string;
|
|
248
|
-
}
|
|
249
212
|
interface DsButtonFilled {
|
|
250
|
-
|
|
251
|
-
* @default 'action'
|
|
252
|
-
*/
|
|
253
|
-
"ariaLabel": string;
|
|
213
|
+
"ariaLabel": string | undefined;
|
|
254
214
|
/**
|
|
255
215
|
* Background fill weight. Foreground uses the paired contrast token: bold → faint, strong → medium, medium → strong, faint → bold.
|
|
256
216
|
* @default 'bold'
|
|
257
217
|
*/
|
|
258
218
|
"contrast": ButtonFilledContrast;
|
|
259
219
|
/**
|
|
260
|
-
* Icon name passed to <ds-icon
|
|
220
|
+
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
261
221
|
* @default ''
|
|
262
222
|
*/
|
|
263
223
|
"icon": string;
|
|
224
|
+
/**
|
|
225
|
+
* Semantic colour intent.
|
|
226
|
+
* @default 'brand'
|
|
227
|
+
*/
|
|
228
|
+
"intent": ButtonFilledIntent;
|
|
264
229
|
/**
|
|
265
230
|
* Disables interaction.
|
|
266
231
|
* @default false
|
|
267
232
|
*/
|
|
268
|
-
"
|
|
233
|
+
"isInactive": boolean;
|
|
269
234
|
/**
|
|
270
|
-
*
|
|
271
|
-
* @default '
|
|
235
|
+
* Visible text for `label` / `icon-label` variants.
|
|
236
|
+
* @default ''
|
|
272
237
|
*/
|
|
273
|
-
"
|
|
238
|
+
"label": string;
|
|
274
239
|
"setFocus": () => Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* Control density (height, padding, icon, type).
|
|
242
|
+
* @default 'md'
|
|
243
|
+
*/
|
|
244
|
+
"size": ButtonFilledSize;
|
|
275
245
|
/**
|
|
276
246
|
* Native button type.
|
|
277
247
|
* @default 'button'
|
|
278
248
|
*/
|
|
279
249
|
"type": 'button' | 'submit' | 'reset';
|
|
250
|
+
/**
|
|
251
|
+
* Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
|
|
252
|
+
* @default 'label'
|
|
253
|
+
*/
|
|
254
|
+
"variant": ButtonFilledVariant;
|
|
255
|
+
/**
|
|
256
|
+
* Width fit — hug content (default) or fill the parent.
|
|
257
|
+
* @default 'hug'
|
|
258
|
+
*/
|
|
259
|
+
"width": ButtonFilledWidth;
|
|
280
260
|
}
|
|
281
|
-
interface
|
|
261
|
+
interface DsButtonUnfilled {
|
|
282
262
|
/**
|
|
283
|
-
* When active, render the
|
|
263
|
+
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
|
|
284
264
|
* @default true
|
|
285
265
|
*/
|
|
286
266
|
"activeFill": boolean;
|
|
287
|
-
|
|
288
|
-
* @default 'action'
|
|
289
|
-
*/
|
|
290
|
-
"ariaLabel": string;
|
|
267
|
+
"ariaLabel": string | undefined;
|
|
291
268
|
/**
|
|
292
269
|
* Parent surface context for navigation and always-dark chrome.
|
|
293
270
|
*/
|
|
294
|
-
"background":
|
|
271
|
+
"background": ButtonUnfilledBackground | undefined;
|
|
295
272
|
/**
|
|
296
273
|
* Foreground and interaction tokens when the button sits on a contrasting parent background (default, medium, bold, or strong).
|
|
297
274
|
*/
|
|
298
|
-
"backgroundContrast"?:
|
|
275
|
+
"backgroundContrast"?: ButtonUnfilledOnBackgroundContrast;
|
|
299
276
|
"controls": string | undefined;
|
|
300
277
|
/**
|
|
301
|
-
* Show a notification dot at the top-right of the icon zone.
|
|
278
|
+
* Show a notification dot at the top-right of the icon zone (icon variant only).
|
|
302
279
|
* @default false
|
|
303
280
|
*/
|
|
304
281
|
"dot": boolean;
|
|
@@ -308,45 +285,84 @@ export namespace Components {
|
|
|
308
285
|
*/
|
|
309
286
|
"focusTabIndex"?: number;
|
|
310
287
|
/**
|
|
311
|
-
* Show a 1px
|
|
312
|
-
* @default
|
|
288
|
+
* Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
|
|
289
|
+
* @default true
|
|
313
290
|
*/
|
|
314
291
|
"hasBorder": boolean;
|
|
315
292
|
"haspopup": string | undefined;
|
|
316
293
|
/**
|
|
317
|
-
* Icon name passed to <ds-icon
|
|
294
|
+
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
318
295
|
* @default ''
|
|
319
296
|
*/
|
|
320
297
|
"icon": string;
|
|
321
298
|
/**
|
|
322
|
-
*
|
|
299
|
+
* Active/selected visual state. Always promotes foreground to primary.
|
|
323
300
|
* @default false
|
|
324
301
|
*/
|
|
325
|
-
"
|
|
302
|
+
"isActive": boolean;
|
|
326
303
|
/**
|
|
327
|
-
*
|
|
304
|
+
* Disables interaction.
|
|
328
305
|
* @default false
|
|
329
306
|
*/
|
|
330
|
-
"
|
|
307
|
+
"isInactive": boolean;
|
|
308
|
+
/**
|
|
309
|
+
* Visible text for `label` / `icon-label` variants.
|
|
310
|
+
* @default ''
|
|
311
|
+
*/
|
|
312
|
+
"label": string;
|
|
331
313
|
"pressed": boolean | undefined;
|
|
332
314
|
"setFocus": () => Promise<void>;
|
|
315
|
+
/**
|
|
316
|
+
* Control density (height, padding, icon, type).
|
|
317
|
+
* @default 'md'
|
|
318
|
+
*/
|
|
319
|
+
"size": ButtonUnfilledSize;
|
|
333
320
|
/**
|
|
334
321
|
* Native button type.
|
|
335
322
|
* @default 'button'
|
|
336
323
|
*/
|
|
337
324
|
"type": 'button' | 'submit' | 'reset';
|
|
325
|
+
/**
|
|
326
|
+
* Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
|
|
327
|
+
* @default 'label'
|
|
328
|
+
*/
|
|
329
|
+
"variant": ButtonUnfilledVariant;
|
|
330
|
+
/**
|
|
331
|
+
* Width fit — hug content (default) or fill the parent.
|
|
332
|
+
* @default 'hug'
|
|
333
|
+
*/
|
|
334
|
+
"width": ButtonUnfilledWidth;
|
|
338
335
|
}
|
|
339
336
|
/**
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
337
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
338
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
343
339
|
*/
|
|
344
|
-
interface
|
|
340
|
+
interface DsCard {
|
|
345
341
|
/**
|
|
346
|
-
*
|
|
342
|
+
* Chrome recipe — `editing` applies the settings edit wash.
|
|
343
|
+
* @default 'default'
|
|
344
|
+
*/
|
|
345
|
+
"appearance": CardAppearance;
|
|
346
|
+
/**
|
|
347
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
|
|
347
348
|
* @default 'md'
|
|
348
349
|
*/
|
|
349
|
-
"cardWidth":
|
|
350
|
+
"cardWidth": CardWidth;
|
|
351
|
+
/**
|
|
352
|
+
* Section heading shown in the card header.
|
|
353
|
+
*/
|
|
354
|
+
"heading": string;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
358
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
359
|
+
*/
|
|
360
|
+
interface DsCardDataVizDonut {
|
|
361
|
+
/**
|
|
362
|
+
* Card width token — also sets matching min-height.
|
|
363
|
+
* @default 'md'
|
|
364
|
+
*/
|
|
365
|
+
"cardWidth": CardDataVizDonutWidth;
|
|
350
366
|
/**
|
|
351
367
|
* Widget heading shown in the card header.
|
|
352
368
|
*/
|
|
@@ -354,7 +370,7 @@ export namespace Components {
|
|
|
354
370
|
}
|
|
355
371
|
interface DsCardSetting {
|
|
356
372
|
/**
|
|
357
|
-
* Card width token.
|
|
373
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
|
|
358
374
|
* @default 'md'
|
|
359
375
|
*/
|
|
360
376
|
"cardWidth": CardSettingWidth;
|
|
@@ -385,7 +401,7 @@ export namespace Components {
|
|
|
385
401
|
}
|
|
386
402
|
interface DsChartDonut {
|
|
387
403
|
/**
|
|
388
|
-
* 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.
|
|
404
|
+
* 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. External sync dims slices only — the data-viz tooltip is reserved for this component's own pointer/keyboard interaction.
|
|
389
405
|
* @default null
|
|
390
406
|
*/
|
|
391
407
|
"activeLabel": string | null;
|
|
@@ -413,9 +429,9 @@ export namespace Components {
|
|
|
413
429
|
*/
|
|
414
430
|
"gap": number;
|
|
415
431
|
/**
|
|
416
|
-
*
|
|
432
|
+
* Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
|
|
417
433
|
*/
|
|
418
|
-
"size": number;
|
|
434
|
+
"size": number | undefined;
|
|
419
435
|
/**
|
|
420
436
|
* Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
|
|
421
437
|
* @default TOKEN_DEFAULTS.size200
|
|
@@ -482,39 +498,32 @@ export namespace Components {
|
|
|
482
498
|
/**
|
|
483
499
|
* @default false
|
|
484
500
|
*/
|
|
485
|
-
"
|
|
501
|
+
"indeterminate": boolean;
|
|
486
502
|
/**
|
|
487
503
|
* @default false
|
|
488
504
|
*/
|
|
489
|
-
"
|
|
505
|
+
"isInactive": boolean;
|
|
490
506
|
"label": string;
|
|
491
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
510
|
+
* (not intent × contrast). Not a toggle/select control; the only intentional
|
|
511
|
+
* action is remove.
|
|
512
|
+
*/
|
|
492
513
|
interface DsChip {
|
|
493
|
-
"background": ChipBackground | undefined;
|
|
494
514
|
/**
|
|
495
|
-
*
|
|
515
|
+
* Surface context for interaction-fill tokens when the chip sits on a non-default surface.
|
|
496
516
|
*/
|
|
497
|
-
"
|
|
498
|
-
/**
|
|
499
|
-
* @default 'none'
|
|
500
|
-
*/
|
|
501
|
-
"elevation": ChipElevation;
|
|
517
|
+
"background": ChipBackground | undefined;
|
|
502
518
|
/**
|
|
503
519
|
* @default false
|
|
504
520
|
*/
|
|
505
|
-
"
|
|
506
|
-
/**
|
|
507
|
-
* @default 'neutral'
|
|
508
|
-
*/
|
|
509
|
-
"intent": ChipIntent;
|
|
521
|
+
"isInactive": boolean;
|
|
510
522
|
"label": string;
|
|
511
523
|
"maxWidth": string | number | undefined;
|
|
512
524
|
/**
|
|
513
|
-
*
|
|
514
|
-
|
|
515
|
-
"pressed": boolean;
|
|
516
|
-
/**
|
|
517
|
-
* @default false
|
|
525
|
+
* When true (default), shows the trailing dismiss control.
|
|
526
|
+
* @default true
|
|
518
527
|
*/
|
|
519
528
|
"removable": boolean;
|
|
520
529
|
/**
|
|
@@ -525,6 +534,11 @@ export namespace Components {
|
|
|
525
534
|
* @default 'md'
|
|
526
535
|
*/
|
|
527
536
|
"size": ChipSize;
|
|
537
|
+
/**
|
|
538
|
+
* Semantic color state.
|
|
539
|
+
* @default 'default'
|
|
540
|
+
*/
|
|
541
|
+
"state": ChipState;
|
|
528
542
|
}
|
|
529
543
|
interface DsDivider {
|
|
530
544
|
/**
|
|
@@ -560,27 +574,6 @@ export namespace Components {
|
|
|
560
574
|
*/
|
|
561
575
|
"type": EmptyStateType;
|
|
562
576
|
}
|
|
563
|
-
interface DsFade {
|
|
564
|
-
/**
|
|
565
|
-
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
566
|
-
*/
|
|
567
|
-
"height": string | undefined;
|
|
568
|
-
/**
|
|
569
|
-
* Edge where content fades as it approaches the scroll boundary.
|
|
570
|
-
* @default 'bottom'
|
|
571
|
-
*/
|
|
572
|
-
"side": FadeSide;
|
|
573
|
-
/**
|
|
574
|
-
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
575
|
-
* @default 'size-600'
|
|
576
|
-
*/
|
|
577
|
-
"size": FadeSize;
|
|
578
|
-
/**
|
|
579
|
-
* Controls the mask without removing the scroll container from layout.
|
|
580
|
-
* @default true
|
|
581
|
-
*/
|
|
582
|
-
"visible": boolean;
|
|
583
|
-
}
|
|
584
577
|
interface DsField {
|
|
585
578
|
/**
|
|
586
579
|
* ID forwarded to the slotted control via the label's `for` attribute. Auto-generated if omitted.
|
|
@@ -588,13 +581,6 @@ export namespace Components {
|
|
|
588
581
|
"fieldId": string | undefined;
|
|
589
582
|
"label": string;
|
|
590
583
|
}
|
|
591
|
-
interface DsHeader {
|
|
592
|
-
/**
|
|
593
|
-
* @default 'secondary'
|
|
594
|
-
*/
|
|
595
|
-
"background": HeaderBackground;
|
|
596
|
-
"heading": string | undefined;
|
|
597
|
-
}
|
|
598
584
|
interface DsIcon {
|
|
599
585
|
/**
|
|
600
586
|
* Semantic foreground color token, or a raw CSS var reference.
|
|
@@ -633,14 +619,14 @@ export namespace Components {
|
|
|
633
619
|
*/
|
|
634
620
|
"error": boolean;
|
|
635
621
|
"errorMessage": string | undefined;
|
|
636
|
-
/**
|
|
637
|
-
* @default false
|
|
638
|
-
*/
|
|
639
|
-
"inactive": boolean;
|
|
640
622
|
/**
|
|
641
623
|
* Associates the internal input with an external <label>.
|
|
642
624
|
*/
|
|
643
625
|
"inputId": string | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* @default false
|
|
628
|
+
*/
|
|
629
|
+
"isInactive": boolean;
|
|
644
630
|
"placeholder": string | undefined;
|
|
645
631
|
"setFocus": () => Promise<void>;
|
|
646
632
|
/**
|
|
@@ -726,7 +712,7 @@ export namespace Components {
|
|
|
726
712
|
/**
|
|
727
713
|
* @default false
|
|
728
714
|
*/
|
|
729
|
-
"
|
|
715
|
+
"isInactive": boolean;
|
|
730
716
|
/**
|
|
731
717
|
* @default 1
|
|
732
718
|
*/
|
|
@@ -841,7 +827,7 @@ export namespace Components {
|
|
|
841
827
|
/**
|
|
842
828
|
* @default false
|
|
843
829
|
*/
|
|
844
|
-
"
|
|
830
|
+
"isInactive": boolean;
|
|
845
831
|
/**
|
|
846
832
|
* @default []
|
|
847
833
|
*/
|
|
@@ -851,24 +837,28 @@ export namespace Components {
|
|
|
851
837
|
*/
|
|
852
838
|
"value": string;
|
|
853
839
|
}
|
|
854
|
-
|
|
840
|
+
/**
|
|
841
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
842
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
843
|
+
*/
|
|
844
|
+
interface DsSelect {
|
|
855
845
|
/**
|
|
846
|
+
* When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
|
|
856
847
|
* @default true
|
|
857
848
|
*/
|
|
858
|
-
"
|
|
859
|
-
/**
|
|
860
|
-
* @default 'default'
|
|
861
|
-
*/
|
|
862
|
-
"variant": ScrollbarVariant;
|
|
863
|
-
}
|
|
864
|
-
interface DsSelect {
|
|
849
|
+
"activeFill": boolean;
|
|
865
850
|
"ariaLabel": string | undefined;
|
|
866
851
|
"ariaLabelledby": string | undefined;
|
|
867
852
|
/**
|
|
868
|
-
*
|
|
853
|
+
* Show a 1px secondary inset border. Default on (matches unfilled button).
|
|
854
|
+
* @default true
|
|
855
|
+
*/
|
|
856
|
+
"hasBorder": boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Disables interaction (25% opacity via ds-control-inactive).
|
|
869
859
|
* @default false
|
|
870
860
|
*/
|
|
871
|
-
"
|
|
861
|
+
"isInactive": boolean;
|
|
872
862
|
/**
|
|
873
863
|
* Array of options. Set via JS property.
|
|
874
864
|
* @example el.options = [{ label: 'Apple', value: 'apple' }];
|
|
@@ -877,14 +867,24 @@ export namespace Components {
|
|
|
877
867
|
"options": SelectOption[];
|
|
878
868
|
/**
|
|
879
869
|
* Placeholder shown when no value is selected.
|
|
880
|
-
* @default 'Select
|
|
870
|
+
* @default 'Select'
|
|
881
871
|
*/
|
|
882
872
|
"placeholder": string;
|
|
873
|
+
/**
|
|
874
|
+
* Control density (height, padding, icon, type).
|
|
875
|
+
* @default 'md'
|
|
876
|
+
*/
|
|
877
|
+
"size": SelectSize;
|
|
883
878
|
/**
|
|
884
879
|
* Currently selected value.
|
|
885
880
|
* @default ''
|
|
886
881
|
*/
|
|
887
882
|
"value": string;
|
|
883
|
+
/**
|
|
884
|
+
* Width fit — fill the parent (default) or hug content.
|
|
885
|
+
* @default 'fill'
|
|
886
|
+
*/
|
|
887
|
+
"width": SelectWidth;
|
|
888
888
|
}
|
|
889
889
|
interface DsShellGradientPicker {
|
|
890
890
|
/**
|
|
@@ -898,7 +898,7 @@ export namespace Components {
|
|
|
898
898
|
/**
|
|
899
899
|
* @default false
|
|
900
900
|
*/
|
|
901
|
-
"
|
|
901
|
+
"isInactive": boolean;
|
|
902
902
|
/**
|
|
903
903
|
* Wash preset this orb previews.
|
|
904
904
|
* @default DEFAULT_SHELL_GRADIENT_PRESET
|
|
@@ -935,14 +935,14 @@ export namespace Components {
|
|
|
935
935
|
"width": string | number | undefined;
|
|
936
936
|
}
|
|
937
937
|
interface DsSlider {
|
|
938
|
-
/**
|
|
939
|
-
* @default false
|
|
940
|
-
*/
|
|
941
|
-
"inactive": boolean;
|
|
942
938
|
/**
|
|
943
939
|
* Associates with an external <label>. Defaults to an auto-generated ID.
|
|
944
940
|
*/
|
|
945
941
|
"inputId": string | undefined;
|
|
942
|
+
/**
|
|
943
|
+
* @default false
|
|
944
|
+
*/
|
|
945
|
+
"isInactive": boolean;
|
|
946
946
|
"label": string;
|
|
947
947
|
/**
|
|
948
948
|
* @default 100
|
|
@@ -962,42 +962,6 @@ export namespace Components {
|
|
|
962
962
|
"value": number;
|
|
963
963
|
"valueText": string | undefined;
|
|
964
964
|
}
|
|
965
|
-
interface DsSurface {
|
|
966
|
-
/**
|
|
967
|
-
* @default 'div'
|
|
968
|
-
*/
|
|
969
|
-
"as": SurfaceElement;
|
|
970
|
-
/**
|
|
971
|
-
* @default 'transparent'
|
|
972
|
-
*/
|
|
973
|
-
"background": SurfaceBackground;
|
|
974
|
-
/**
|
|
975
|
-
* @default 'faint'
|
|
976
|
-
*/
|
|
977
|
-
"contrast": SurfaceContrast;
|
|
978
|
-
/**
|
|
979
|
-
* Space-separated list of edges: "top bottom" etc. Only applies when elevation='none'.
|
|
980
|
-
*/
|
|
981
|
-
"edge": string | undefined;
|
|
982
|
-
/**
|
|
983
|
-
* @default 'none'
|
|
984
|
-
*/
|
|
985
|
-
"elevation": SurfaceElevation;
|
|
986
|
-
/**
|
|
987
|
-
* @default false
|
|
988
|
-
*/
|
|
989
|
-
"inactive": boolean;
|
|
990
|
-
"intent": SurfaceIntent | undefined;
|
|
991
|
-
/**
|
|
992
|
-
* @default false
|
|
993
|
-
*/
|
|
994
|
-
"interactive": boolean;
|
|
995
|
-
"radius": SurfaceRadius | undefined;
|
|
996
|
-
/**
|
|
997
|
-
* @default false
|
|
998
|
-
*/
|
|
999
|
-
"selected": boolean;
|
|
1000
|
-
}
|
|
1001
965
|
interface DsTabGroup {
|
|
1002
966
|
"ariaLabel": string | undefined;
|
|
1003
967
|
"ariaLabelledby": string | undefined;
|
|
@@ -1082,10 +1046,6 @@ export namespace Components {
|
|
|
1082
1046
|
* @default 'faint'
|
|
1083
1047
|
*/
|
|
1084
1048
|
"contrast": TagContrast;
|
|
1085
|
-
/**
|
|
1086
|
-
* @default 'none'
|
|
1087
|
-
*/
|
|
1088
|
-
"elevation": TagElevation;
|
|
1089
1049
|
/**
|
|
1090
1050
|
* @default 'neutral'
|
|
1091
1051
|
*/
|
|
@@ -1131,12 +1091,6 @@ export namespace Components {
|
|
|
1131
1091
|
"variant": TextVariant;
|
|
1132
1092
|
"wrap": TextWrap | undefined;
|
|
1133
1093
|
}
|
|
1134
|
-
interface DsToastProvider {
|
|
1135
|
-
/**
|
|
1136
|
-
* @default 'top-center'
|
|
1137
|
-
*/
|
|
1138
|
-
"position": ToastPosition;
|
|
1139
|
-
}
|
|
1140
1094
|
interface DsToggle {
|
|
1141
1095
|
/**
|
|
1142
1096
|
* @default false
|
|
@@ -1145,8 +1099,14 @@ export namespace Components {
|
|
|
1145
1099
|
/**
|
|
1146
1100
|
* @default false
|
|
1147
1101
|
*/
|
|
1148
|
-
"
|
|
1102
|
+
"isInactive": boolean;
|
|
1149
1103
|
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Imperative body portal for the popup.
|
|
1106
|
+
* Stencil must not own the portaled node — moving a VDOM child to `document.body`
|
|
1107
|
+
* causes recreate → re-portal →
|
|
1108
|
+
* @State loops that freeze the page.
|
|
1109
|
+
*/
|
|
1150
1110
|
interface DsTooltip {
|
|
1151
1111
|
/**
|
|
1152
1112
|
* @default 'center'
|
|
@@ -1158,8 +1118,8 @@ export namespace Components {
|
|
|
1158
1118
|
*/
|
|
1159
1119
|
"alignOffset": number | string;
|
|
1160
1120
|
/**
|
|
1161
|
-
*
|
|
1162
|
-
* @default TOKEN_DEFAULTS.
|
|
1121
|
+
* Hover show delay before the tooltip appears. Default: `--effect-animation-delay-medium-3` (1000ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Applies to the initial hover/focus show only — after a recent dismiss, reopen is instant. Prefer the default; override only for denser chrome or rare/destructive actions.
|
|
1122
|
+
* @default TOKEN_DEFAULTS.animationDelayMedium3
|
|
1163
1123
|
*/
|
|
1164
1124
|
"delay": number | string;
|
|
1165
1125
|
"label": string;
|
|
@@ -1177,6 +1137,11 @@ export namespace Components {
|
|
|
1177
1137
|
* @default TOKEN_CSS_LENGTHS.space050
|
|
1178
1138
|
*/
|
|
1179
1139
|
"sideOffset": number | string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Control density (height, padding, type).
|
|
1142
|
+
* @default 'md'
|
|
1143
|
+
*/
|
|
1144
|
+
"size": TooltipSize;
|
|
1180
1145
|
}
|
|
1181
1146
|
/**
|
|
1182
1147
|
* Positioned value/label callout for chart hover interactions (donut slice, bar,
|
|
@@ -1187,8 +1152,15 @@ export namespace Components {
|
|
|
1187
1152
|
* with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
|
|
1188
1153
|
* of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
|
|
1189
1154
|
* keeps it on-screen.
|
|
1155
|
+
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
1156
|
+
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
1190
1157
|
*/
|
|
1191
1158
|
interface DsTooltipDataViz {
|
|
1159
|
+
/**
|
|
1160
|
+
* 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.
|
|
1161
|
+
* @default TOKEN_DEFAULTS.animationDelayInstant
|
|
1162
|
+
*/
|
|
1163
|
+
"delay": number | string;
|
|
1192
1164
|
/**
|
|
1193
1165
|
* @default ''
|
|
1194
1166
|
*/
|
|
@@ -1208,10 +1180,6 @@ export namespace Components {
|
|
|
1208
1180
|
"y": number;
|
|
1209
1181
|
}
|
|
1210
1182
|
}
|
|
1211
|
-
export interface DsAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
1212
|
-
detail: T;
|
|
1213
|
-
target: HTMLDsAccordionElement;
|
|
1214
|
-
}
|
|
1215
1183
|
export interface DsBannerCustomEvent<T> extends CustomEvent<T> {
|
|
1216
1184
|
detail: T;
|
|
1217
1185
|
target: HTMLDsBannerElement;
|
|
@@ -1220,17 +1188,17 @@ export interface DsBarNavCustomEvent<T> extends CustomEvent<T> {
|
|
|
1220
1188
|
detail: T;
|
|
1221
1189
|
target: HTMLDsBarNavElement;
|
|
1222
1190
|
}
|
|
1223
|
-
export interface DsBreadcrumbCustomEvent<T> extends CustomEvent<T> {
|
|
1224
|
-
detail: T;
|
|
1225
|
-
target: HTMLDsBreadcrumbElement;
|
|
1226
|
-
}
|
|
1227
1191
|
export interface DsButtonFilledCustomEvent<T> extends CustomEvent<T> {
|
|
1228
1192
|
detail: T;
|
|
1229
1193
|
target: HTMLDsButtonFilledElement;
|
|
1230
1194
|
}
|
|
1231
|
-
export interface
|
|
1195
|
+
export interface DsButtonUnfilledCustomEvent<T> extends CustomEvent<T> {
|
|
1196
|
+
detail: T;
|
|
1197
|
+
target: HTMLDsButtonUnfilledElement;
|
|
1198
|
+
}
|
|
1199
|
+
export interface DsCardDataVizDonutCustomEvent<T> extends CustomEvent<T> {
|
|
1232
1200
|
detail: T;
|
|
1233
|
-
target:
|
|
1201
|
+
target: HTMLDsCardDataVizDonutElement;
|
|
1234
1202
|
}
|
|
1235
1203
|
export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
|
|
1236
1204
|
detail: T;
|
|
@@ -1313,23 +1281,6 @@ export interface DsToggleCustomEvent<T> extends CustomEvent<T> {
|
|
|
1313
1281
|
target: HTMLDsToggleElement;
|
|
1314
1282
|
}
|
|
1315
1283
|
declare global {
|
|
1316
|
-
interface HTMLDsAccordionElementEventMap {
|
|
1317
|
-
"dsExpandedChange": string[];
|
|
1318
|
-
}
|
|
1319
|
-
interface HTMLDsAccordionElement extends Components.DsAccordion, HTMLStencilElement {
|
|
1320
|
-
addEventListener<K extends keyof HTMLDsAccordionElementEventMap>(type: K, listener: (this: HTMLDsAccordionElement, ev: DsAccordionCustomEvent<HTMLDsAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1321
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1322
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1323
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1324
|
-
removeEventListener<K extends keyof HTMLDsAccordionElementEventMap>(type: K, listener: (this: HTMLDsAccordionElement, ev: DsAccordionCustomEvent<HTMLDsAccordionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1325
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1326
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1327
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1328
|
-
}
|
|
1329
|
-
var HTMLDsAccordionElement: {
|
|
1330
|
-
prototype: HTMLDsAccordionElement;
|
|
1331
|
-
new (): HTMLDsAccordionElement;
|
|
1332
|
-
};
|
|
1333
1284
|
interface HTMLDsAppShellElement extends Components.DsAppShell, HTMLStencilElement {
|
|
1334
1285
|
}
|
|
1335
1286
|
var HTMLDsAppShellElement: {
|
|
@@ -1376,23 +1327,6 @@ declare global {
|
|
|
1376
1327
|
prototype: HTMLDsBarNavElement;
|
|
1377
1328
|
new (): HTMLDsBarNavElement;
|
|
1378
1329
|
};
|
|
1379
|
-
interface HTMLDsBreadcrumbElementEventMap {
|
|
1380
|
-
"dsNavigate": { item: BreadcrumbItem; index: number };
|
|
1381
|
-
}
|
|
1382
|
-
interface HTMLDsBreadcrumbElement extends Components.DsBreadcrumb, HTMLStencilElement {
|
|
1383
|
-
addEventListener<K extends keyof HTMLDsBreadcrumbElementEventMap>(type: K, listener: (this: HTMLDsBreadcrumbElement, ev: DsBreadcrumbCustomEvent<HTMLDsBreadcrumbElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1384
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1385
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1386
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1387
|
-
removeEventListener<K extends keyof HTMLDsBreadcrumbElementEventMap>(type: K, listener: (this: HTMLDsBreadcrumbElement, ev: DsBreadcrumbCustomEvent<HTMLDsBreadcrumbElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1388
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1389
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1390
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1391
|
-
}
|
|
1392
|
-
var HTMLDsBreadcrumbElement: {
|
|
1393
|
-
prototype: HTMLDsBreadcrumbElement;
|
|
1394
|
-
new (): HTMLDsBreadcrumbElement;
|
|
1395
|
-
};
|
|
1396
1330
|
interface HTMLDsButtonFilledElementEventMap {
|
|
1397
1331
|
"dsClick": MouseEvent;
|
|
1398
1332
|
}
|
|
@@ -1410,34 +1344,54 @@ declare global {
|
|
|
1410
1344
|
prototype: HTMLDsButtonFilledElement;
|
|
1411
1345
|
new (): HTMLDsButtonFilledElement;
|
|
1412
1346
|
};
|
|
1413
|
-
interface
|
|
1347
|
+
interface HTMLDsButtonUnfilledElementEventMap {
|
|
1414
1348
|
"dsClick": MouseEvent;
|
|
1415
1349
|
"dsChange": boolean;
|
|
1416
1350
|
}
|
|
1417
|
-
interface
|
|
1418
|
-
addEventListener<K extends keyof
|
|
1351
|
+
interface HTMLDsButtonUnfilledElement extends Components.DsButtonUnfilled, HTMLStencilElement {
|
|
1352
|
+
addEventListener<K extends keyof HTMLDsButtonUnfilledElementEventMap>(type: K, listener: (this: HTMLDsButtonUnfilledElement, ev: DsButtonUnfilledCustomEvent<HTMLDsButtonUnfilledElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1419
1353
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1420
1354
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1421
1355
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1422
|
-
removeEventListener<K extends keyof
|
|
1356
|
+
removeEventListener<K extends keyof HTMLDsButtonUnfilledElementEventMap>(type: K, listener: (this: HTMLDsButtonUnfilledElement, ev: DsButtonUnfilledCustomEvent<HTMLDsButtonUnfilledElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1423
1357
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1424
1358
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1425
1359
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1426
1360
|
}
|
|
1427
|
-
var
|
|
1428
|
-
prototype:
|
|
1429
|
-
new ():
|
|
1361
|
+
var HTMLDsButtonUnfilledElement: {
|
|
1362
|
+
prototype: HTMLDsButtonUnfilledElement;
|
|
1363
|
+
new (): HTMLDsButtonUnfilledElement;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
1367
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
1368
|
+
*/
|
|
1369
|
+
interface HTMLDsCardElement extends Components.DsCard, HTMLStencilElement {
|
|
1370
|
+
}
|
|
1371
|
+
var HTMLDsCardElement: {
|
|
1372
|
+
prototype: HTMLDsCardElement;
|
|
1373
|
+
new (): HTMLDsCardElement;
|
|
1430
1374
|
};
|
|
1375
|
+
interface HTMLDsCardDataVizDonutElementEventMap {
|
|
1376
|
+
"dsFilterClick": void;
|
|
1377
|
+
}
|
|
1431
1378
|
/**
|
|
1432
|
-
*
|
|
1433
|
-
*
|
|
1434
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
1379
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
1380
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
1435
1381
|
*/
|
|
1436
|
-
interface
|
|
1382
|
+
interface HTMLDsCardDataVizDonutElement extends Components.DsCardDataVizDonut, HTMLStencilElement {
|
|
1383
|
+
addEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1384
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1385
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1386
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1387
|
+
removeEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1388
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1389
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1390
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1437
1391
|
}
|
|
1438
|
-
var
|
|
1439
|
-
prototype:
|
|
1440
|
-
new ():
|
|
1392
|
+
var HTMLDsCardDataVizDonutElement: {
|
|
1393
|
+
prototype: HTMLDsCardDataVizDonutElement;
|
|
1394
|
+
new (): HTMLDsCardDataVizDonutElement;
|
|
1441
1395
|
};
|
|
1442
1396
|
interface HTMLDsCardSettingElementEventMap {
|
|
1443
1397
|
"dsEditingChange": boolean;
|
|
@@ -1529,9 +1483,12 @@ declare global {
|
|
|
1529
1483
|
};
|
|
1530
1484
|
interface HTMLDsChipElementEventMap {
|
|
1531
1485
|
"dsRemove": void;
|
|
1532
|
-
"dsClick": void;
|
|
1533
|
-
"dsPressedChange": boolean;
|
|
1534
1486
|
}
|
|
1487
|
+
/**
|
|
1488
|
+
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
1489
|
+
* (not intent × contrast). Not a toggle/select control; the only intentional
|
|
1490
|
+
* action is remove.
|
|
1491
|
+
*/
|
|
1535
1492
|
interface HTMLDsChipElement extends Components.DsChip, HTMLStencilElement {
|
|
1536
1493
|
addEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1537
1494
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1558,24 +1515,12 @@ declare global {
|
|
|
1558
1515
|
prototype: HTMLDsEmptyStateElement;
|
|
1559
1516
|
new (): HTMLDsEmptyStateElement;
|
|
1560
1517
|
};
|
|
1561
|
-
interface HTMLDsFadeElement extends Components.DsFade, HTMLStencilElement {
|
|
1562
|
-
}
|
|
1563
|
-
var HTMLDsFadeElement: {
|
|
1564
|
-
prototype: HTMLDsFadeElement;
|
|
1565
|
-
new (): HTMLDsFadeElement;
|
|
1566
|
-
};
|
|
1567
1518
|
interface HTMLDsFieldElement extends Components.DsField, HTMLStencilElement {
|
|
1568
1519
|
}
|
|
1569
1520
|
var HTMLDsFieldElement: {
|
|
1570
1521
|
prototype: HTMLDsFieldElement;
|
|
1571
1522
|
new (): HTMLDsFieldElement;
|
|
1572
1523
|
};
|
|
1573
|
-
interface HTMLDsHeaderElement extends Components.DsHeader, HTMLStencilElement {
|
|
1574
|
-
}
|
|
1575
|
-
var HTMLDsHeaderElement: {
|
|
1576
|
-
prototype: HTMLDsHeaderElement;
|
|
1577
|
-
new (): HTMLDsHeaderElement;
|
|
1578
|
-
};
|
|
1579
1524
|
interface HTMLDsIconElement extends Components.DsIcon, HTMLStencilElement {
|
|
1580
1525
|
}
|
|
1581
1526
|
var HTMLDsIconElement: {
|
|
@@ -1720,15 +1665,13 @@ declare global {
|
|
|
1720
1665
|
prototype: HTMLDsRadioGroupElement;
|
|
1721
1666
|
new (): HTMLDsRadioGroupElement;
|
|
1722
1667
|
};
|
|
1723
|
-
interface HTMLDsScrollbarElement extends Components.DsScrollbar, HTMLStencilElement {
|
|
1724
|
-
}
|
|
1725
|
-
var HTMLDsScrollbarElement: {
|
|
1726
|
-
prototype: HTMLDsScrollbarElement;
|
|
1727
|
-
new (): HTMLDsScrollbarElement;
|
|
1728
|
-
};
|
|
1729
1668
|
interface HTMLDsSelectElementEventMap {
|
|
1730
1669
|
"dsChange": string;
|
|
1731
1670
|
}
|
|
1671
|
+
/**
|
|
1672
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
1673
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
1674
|
+
*/
|
|
1732
1675
|
interface HTMLDsSelectElement extends Components.DsSelect, HTMLStencilElement {
|
|
1733
1676
|
addEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1734
1677
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1800,12 +1743,6 @@ declare global {
|
|
|
1800
1743
|
prototype: HTMLDsSliderElement;
|
|
1801
1744
|
new (): HTMLDsSliderElement;
|
|
1802
1745
|
};
|
|
1803
|
-
interface HTMLDsSurfaceElement extends Components.DsSurface, HTMLStencilElement {
|
|
1804
|
-
}
|
|
1805
|
-
var HTMLDsSurfaceElement: {
|
|
1806
|
-
prototype: HTMLDsSurfaceElement;
|
|
1807
|
-
new (): HTMLDsSurfaceElement;
|
|
1808
|
-
};
|
|
1809
1746
|
interface HTMLDsTabGroupElementEventMap {
|
|
1810
1747
|
"dsChange": string;
|
|
1811
1748
|
}
|
|
@@ -1872,12 +1809,6 @@ declare global {
|
|
|
1872
1809
|
prototype: HTMLDsTextElement;
|
|
1873
1810
|
new (): HTMLDsTextElement;
|
|
1874
1811
|
};
|
|
1875
|
-
interface HTMLDsToastProviderElement extends Components.DsToastProvider, HTMLStencilElement {
|
|
1876
|
-
}
|
|
1877
|
-
var HTMLDsToastProviderElement: {
|
|
1878
|
-
prototype: HTMLDsToastProviderElement;
|
|
1879
|
-
new (): HTMLDsToastProviderElement;
|
|
1880
|
-
};
|
|
1881
1812
|
interface HTMLDsToggleElementEventMap {
|
|
1882
1813
|
"dsChange": boolean;
|
|
1883
1814
|
}
|
|
@@ -1895,6 +1826,12 @@ declare global {
|
|
|
1895
1826
|
prototype: HTMLDsToggleElement;
|
|
1896
1827
|
new (): HTMLDsToggleElement;
|
|
1897
1828
|
};
|
|
1829
|
+
/**
|
|
1830
|
+
* Imperative body portal for the popup.
|
|
1831
|
+
* Stencil must not own the portaled node — moving a VDOM child to `document.body`
|
|
1832
|
+
* causes recreate → re-portal →
|
|
1833
|
+
* @State loops that freeze the page.
|
|
1834
|
+
*/
|
|
1898
1835
|
interface HTMLDsTooltipElement extends Components.DsTooltip, HTMLStencilElement {
|
|
1899
1836
|
}
|
|
1900
1837
|
var HTMLDsTooltipElement: {
|
|
@@ -1910,6 +1847,8 @@ declare global {
|
|
|
1910
1847
|
* with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
|
|
1911
1848
|
* of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
|
|
1912
1849
|
* keeps it on-screen.
|
|
1850
|
+
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
1851
|
+
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
1913
1852
|
*/
|
|
1914
1853
|
interface HTMLDsTooltipDataVizElement extends Components.DsTooltipDataViz, HTMLStencilElement {
|
|
1915
1854
|
}
|
|
@@ -1918,15 +1857,14 @@ declare global {
|
|
|
1918
1857
|
new (): HTMLDsTooltipDataVizElement;
|
|
1919
1858
|
};
|
|
1920
1859
|
interface HTMLElementTagNameMap {
|
|
1921
|
-
"ds-accordion": HTMLDsAccordionElement;
|
|
1922
1860
|
"ds-app-shell": HTMLDsAppShellElement;
|
|
1923
1861
|
"ds-badge": HTMLDsBadgeElement;
|
|
1924
1862
|
"ds-banner": HTMLDsBannerElement;
|
|
1925
1863
|
"ds-bar-nav": HTMLDsBarNavElement;
|
|
1926
|
-
"ds-breadcrumb": HTMLDsBreadcrumbElement;
|
|
1927
1864
|
"ds-button-filled": HTMLDsButtonFilledElement;
|
|
1928
|
-
"ds-button-unfilled
|
|
1929
|
-
"ds-card
|
|
1865
|
+
"ds-button-unfilled": HTMLDsButtonUnfilledElement;
|
|
1866
|
+
"ds-card": HTMLDsCardElement;
|
|
1867
|
+
"ds-card-data-viz-donut": HTMLDsCardDataVizDonutElement;
|
|
1930
1868
|
"ds-card-setting": HTMLDsCardSettingElement;
|
|
1931
1869
|
"ds-chart-bar": HTMLDsChartBarElement;
|
|
1932
1870
|
"ds-chart-donut": HTMLDsChartDonutElement;
|
|
@@ -1936,9 +1874,7 @@ declare global {
|
|
|
1936
1874
|
"ds-chip": HTMLDsChipElement;
|
|
1937
1875
|
"ds-divider": HTMLDsDividerElement;
|
|
1938
1876
|
"ds-empty-state": HTMLDsEmptyStateElement;
|
|
1939
|
-
"ds-fade": HTMLDsFadeElement;
|
|
1940
1877
|
"ds-field": HTMLDsFieldElement;
|
|
1941
|
-
"ds-header": HTMLDsHeaderElement;
|
|
1942
1878
|
"ds-icon": HTMLDsIconElement;
|
|
1943
1879
|
"ds-input": HTMLDsInputElement;
|
|
1944
1880
|
"ds-loader": HTMLDsLoaderElement;
|
|
@@ -1948,19 +1884,16 @@ declare global {
|
|
|
1948
1884
|
"ds-panel-nav": HTMLDsPanelNavElement;
|
|
1949
1885
|
"ds-panel-tools": HTMLDsPanelToolsElement;
|
|
1950
1886
|
"ds-radio-group": HTMLDsRadioGroupElement;
|
|
1951
|
-
"ds-scrollbar": HTMLDsScrollbarElement;
|
|
1952
1887
|
"ds-select": HTMLDsSelectElement;
|
|
1953
1888
|
"ds-shell-gradient-picker": HTMLDsShellGradientPickerElement;
|
|
1954
1889
|
"ds-shell-gradient-swatch": HTMLDsShellGradientSwatchElement;
|
|
1955
1890
|
"ds-skeleton": HTMLDsSkeletonElement;
|
|
1956
1891
|
"ds-slider": HTMLDsSliderElement;
|
|
1957
|
-
"ds-surface": HTMLDsSurfaceElement;
|
|
1958
1892
|
"ds-tab-group": HTMLDsTabGroupElement;
|
|
1959
1893
|
"ds-tab-group-nav": HTMLDsTabGroupNavElement;
|
|
1960
1894
|
"ds-table": HTMLDsTableElement;
|
|
1961
1895
|
"ds-tag": HTMLDsTagElement;
|
|
1962
1896
|
"ds-text": HTMLDsTextElement;
|
|
1963
|
-
"ds-toast-provider": HTMLDsToastProviderElement;
|
|
1964
1897
|
"ds-toggle": HTMLDsToggleElement;
|
|
1965
1898
|
"ds-tooltip": HTMLDsTooltipElement;
|
|
1966
1899
|
"ds-tooltip-data-viz": HTMLDsTooltipDataVizElement;
|
|
@@ -1969,22 +1902,6 @@ declare global {
|
|
|
1969
1902
|
declare namespace LocalJSX {
|
|
1970
1903
|
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
1971
1904
|
|
|
1972
|
-
interface DsAccordion {
|
|
1973
|
-
/**
|
|
1974
|
-
* Comma-separated list of expanded item IDs for controlled mode.
|
|
1975
|
-
* @default ''
|
|
1976
|
-
*/
|
|
1977
|
-
"expandedIds"?: string;
|
|
1978
|
-
/**
|
|
1979
|
-
* @default []
|
|
1980
|
-
*/
|
|
1981
|
-
"items"?: AccordionItemData[];
|
|
1982
|
-
/**
|
|
1983
|
-
* @default false
|
|
1984
|
-
*/
|
|
1985
|
-
"multiple"?: boolean;
|
|
1986
|
-
"onDsExpandedChange"?: (event: DsAccordionCustomEvent<string[]>) => void;
|
|
1987
|
-
}
|
|
1988
1905
|
interface DsAppShell {
|
|
1989
1906
|
/**
|
|
1990
1907
|
* When `true`, paints the radial wash behind panel, bar, and tools (synced to shell layout).
|
|
@@ -2125,70 +2042,73 @@ declare namespace LocalJSX {
|
|
|
2125
2042
|
*/
|
|
2126
2043
|
"value"?: string;
|
|
2127
2044
|
}
|
|
2128
|
-
interface DsBreadcrumb {
|
|
2129
|
-
/**
|
|
2130
|
-
* @default []
|
|
2131
|
-
*/
|
|
2132
|
-
"items"?: BreadcrumbItem[];
|
|
2133
|
-
"onDsNavigate"?: (event: DsBreadcrumbCustomEvent<{ item: BreadcrumbItem; index: number }>) => void;
|
|
2134
|
-
/**
|
|
2135
|
-
* @default '/'
|
|
2136
|
-
*/
|
|
2137
|
-
"separator"?: string;
|
|
2138
|
-
}
|
|
2139
2045
|
interface DsButtonFilled {
|
|
2140
|
-
|
|
2141
|
-
* @default 'action'
|
|
2142
|
-
*/
|
|
2143
|
-
"ariaLabel"?: string;
|
|
2046
|
+
"ariaLabel"?: string | undefined;
|
|
2144
2047
|
/**
|
|
2145
2048
|
* Background fill weight. Foreground uses the paired contrast token: bold → faint, strong → medium, medium → strong, faint → bold.
|
|
2146
2049
|
* @default 'bold'
|
|
2147
2050
|
*/
|
|
2148
2051
|
"contrast"?: ButtonFilledContrast;
|
|
2149
2052
|
/**
|
|
2150
|
-
* Icon name passed to <ds-icon
|
|
2053
|
+
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
2151
2054
|
* @default ''
|
|
2152
2055
|
*/
|
|
2153
2056
|
"icon"?: string;
|
|
2057
|
+
/**
|
|
2058
|
+
* Semantic colour intent.
|
|
2059
|
+
* @default 'brand'
|
|
2060
|
+
*/
|
|
2061
|
+
"intent"?: ButtonFilledIntent;
|
|
2154
2062
|
/**
|
|
2155
2063
|
* Disables interaction.
|
|
2156
2064
|
* @default false
|
|
2157
2065
|
*/
|
|
2158
|
-
"
|
|
2066
|
+
"isInactive"?: boolean;
|
|
2159
2067
|
/**
|
|
2160
|
-
*
|
|
2161
|
-
* @default '
|
|
2068
|
+
* Visible text for `label` / `icon-label` variants.
|
|
2069
|
+
* @default ''
|
|
2162
2070
|
*/
|
|
2163
|
-
"
|
|
2071
|
+
"label"?: string;
|
|
2164
2072
|
"onDsClick"?: (event: DsButtonFilledCustomEvent<MouseEvent>) => void;
|
|
2073
|
+
/**
|
|
2074
|
+
* Control density (height, padding, icon, type).
|
|
2075
|
+
* @default 'md'
|
|
2076
|
+
*/
|
|
2077
|
+
"size"?: ButtonFilledSize;
|
|
2165
2078
|
/**
|
|
2166
2079
|
* Native button type.
|
|
2167
2080
|
* @default 'button'
|
|
2168
2081
|
*/
|
|
2169
2082
|
"type"?: 'button' | 'submit' | 'reset';
|
|
2083
|
+
/**
|
|
2084
|
+
* Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
|
|
2085
|
+
* @default 'label'
|
|
2086
|
+
*/
|
|
2087
|
+
"variant"?: ButtonFilledVariant;
|
|
2088
|
+
/**
|
|
2089
|
+
* Width fit — hug content (default) or fill the parent.
|
|
2090
|
+
* @default 'hug'
|
|
2091
|
+
*/
|
|
2092
|
+
"width"?: ButtonFilledWidth;
|
|
2170
2093
|
}
|
|
2171
|
-
interface
|
|
2094
|
+
interface DsButtonUnfilled {
|
|
2172
2095
|
/**
|
|
2173
|
-
* When active, render the
|
|
2096
|
+
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
|
|
2174
2097
|
* @default true
|
|
2175
2098
|
*/
|
|
2176
2099
|
"activeFill"?: boolean;
|
|
2177
|
-
|
|
2178
|
-
* @default 'action'
|
|
2179
|
-
*/
|
|
2180
|
-
"ariaLabel"?: string;
|
|
2100
|
+
"ariaLabel"?: string | undefined;
|
|
2181
2101
|
/**
|
|
2182
2102
|
* Parent surface context for navigation and always-dark chrome.
|
|
2183
2103
|
*/
|
|
2184
|
-
"background"?:
|
|
2104
|
+
"background"?: ButtonUnfilledBackground | undefined;
|
|
2185
2105
|
/**
|
|
2186
2106
|
* Foreground and interaction tokens when the button sits on a contrasting parent background (default, medium, bold, or strong).
|
|
2187
2107
|
*/
|
|
2188
|
-
"backgroundContrast"?:
|
|
2108
|
+
"backgroundContrast"?: ButtonUnfilledOnBackgroundContrast;
|
|
2189
2109
|
"controls"?: string | undefined;
|
|
2190
2110
|
/**
|
|
2191
|
-
* Show a notification dot at the top-right of the icon zone.
|
|
2111
|
+
* Show a notification dot at the top-right of the icon zone (icon variant only).
|
|
2192
2112
|
* @default false
|
|
2193
2113
|
*/
|
|
2194
2114
|
"dot"?: boolean;
|
|
@@ -2198,54 +2118,97 @@ declare namespace LocalJSX {
|
|
|
2198
2118
|
*/
|
|
2199
2119
|
"focusTabIndex"?: number;
|
|
2200
2120
|
/**
|
|
2201
|
-
* Show a 1px
|
|
2202
|
-
* @default
|
|
2121
|
+
* Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
|
|
2122
|
+
* @default true
|
|
2203
2123
|
*/
|
|
2204
2124
|
"hasBorder"?: boolean;
|
|
2205
2125
|
"haspopup"?: string | undefined;
|
|
2206
2126
|
/**
|
|
2207
|
-
* Icon name passed to <ds-icon
|
|
2127
|
+
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
2208
2128
|
* @default ''
|
|
2209
2129
|
*/
|
|
2210
2130
|
"icon"?: string;
|
|
2211
2131
|
/**
|
|
2212
|
-
*
|
|
2132
|
+
* Active/selected visual state. Always promotes foreground to primary.
|
|
2213
2133
|
* @default false
|
|
2214
2134
|
*/
|
|
2215
|
-
"
|
|
2135
|
+
"isActive"?: boolean;
|
|
2216
2136
|
/**
|
|
2217
|
-
*
|
|
2137
|
+
* Disables interaction.
|
|
2218
2138
|
* @default false
|
|
2219
2139
|
*/
|
|
2220
|
-
"
|
|
2221
|
-
|
|
2222
|
-
|
|
2140
|
+
"isInactive"?: boolean;
|
|
2141
|
+
/**
|
|
2142
|
+
* Visible text for `label` / `icon-label` variants.
|
|
2143
|
+
* @default ''
|
|
2144
|
+
*/
|
|
2145
|
+
"label"?: string;
|
|
2146
|
+
"onDsChange"?: (event: DsButtonUnfilledCustomEvent<boolean>) => void;
|
|
2147
|
+
"onDsClick"?: (event: DsButtonUnfilledCustomEvent<MouseEvent>) => void;
|
|
2223
2148
|
"pressed"?: boolean | undefined;
|
|
2149
|
+
/**
|
|
2150
|
+
* Control density (height, padding, icon, type).
|
|
2151
|
+
* @default 'md'
|
|
2152
|
+
*/
|
|
2153
|
+
"size"?: ButtonUnfilledSize;
|
|
2224
2154
|
/**
|
|
2225
2155
|
* Native button type.
|
|
2226
2156
|
* @default 'button'
|
|
2227
2157
|
*/
|
|
2228
2158
|
"type"?: 'button' | 'submit' | 'reset';
|
|
2159
|
+
/**
|
|
2160
|
+
* Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
|
|
2161
|
+
* @default 'label'
|
|
2162
|
+
*/
|
|
2163
|
+
"variant"?: ButtonUnfilledVariant;
|
|
2164
|
+
/**
|
|
2165
|
+
* Width fit — hug content (default) or fill the parent.
|
|
2166
|
+
* @default 'hug'
|
|
2167
|
+
*/
|
|
2168
|
+
"width"?: ButtonUnfilledWidth;
|
|
2229
2169
|
}
|
|
2230
2170
|
/**
|
|
2231
|
-
*
|
|
2232
|
-
*
|
|
2233
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
2171
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
2172
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
2234
2173
|
*/
|
|
2235
|
-
interface
|
|
2174
|
+
interface DsCard {
|
|
2175
|
+
/**
|
|
2176
|
+
* Chrome recipe — `editing` applies the settings edit wash.
|
|
2177
|
+
* @default 'default'
|
|
2178
|
+
*/
|
|
2179
|
+
"appearance"?: CardAppearance;
|
|
2236
2180
|
/**
|
|
2237
|
-
* Card width token.
|
|
2181
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
|
|
2238
2182
|
* @default 'md'
|
|
2239
2183
|
*/
|
|
2240
|
-
"cardWidth"?:
|
|
2184
|
+
"cardWidth"?: CardWidth;
|
|
2185
|
+
/**
|
|
2186
|
+
* Section heading shown in the card header.
|
|
2187
|
+
*/
|
|
2188
|
+
"heading": string;
|
|
2189
|
+
}
|
|
2190
|
+
/**
|
|
2191
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
2192
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
2193
|
+
*/
|
|
2194
|
+
interface DsCardDataVizDonut {
|
|
2195
|
+
/**
|
|
2196
|
+
* Card width token — also sets matching min-height.
|
|
2197
|
+
* @default 'md'
|
|
2198
|
+
*/
|
|
2199
|
+
"cardWidth"?: CardDataVizDonutWidth;
|
|
2241
2200
|
/**
|
|
2242
2201
|
* Widget heading shown in the card header.
|
|
2243
2202
|
*/
|
|
2244
2203
|
"heading": string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Emits when the header filter control is activated.
|
|
2206
|
+
*/
|
|
2207
|
+
"onDsFilterClick"?: (event: DsCardDataVizDonutCustomEvent<void>) => void;
|
|
2245
2208
|
}
|
|
2246
2209
|
interface DsCardSetting {
|
|
2247
2210
|
/**
|
|
2248
|
-
* Card width token.
|
|
2211
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
|
|
2249
2212
|
* @default 'md'
|
|
2250
2213
|
*/
|
|
2251
2214
|
"cardWidth"?: CardSettingWidth;
|
|
@@ -2280,7 +2243,7 @@ declare namespace LocalJSX {
|
|
|
2280
2243
|
}
|
|
2281
2244
|
interface DsChartDonut {
|
|
2282
2245
|
/**
|
|
2283
|
-
* 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.
|
|
2246
|
+
* 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. External sync dims slices only — the data-viz tooltip is reserved for this component's own pointer/keyboard interaction.
|
|
2284
2247
|
* @default null
|
|
2285
2248
|
*/
|
|
2286
2249
|
"activeLabel"?: string | null;
|
|
@@ -2312,9 +2275,9 @@ declare namespace LocalJSX {
|
|
|
2312
2275
|
*/
|
|
2313
2276
|
"onDsSliceHover"?: (event: DsChartDonutCustomEvent<ChartDatum | null>) => void;
|
|
2314
2277
|
/**
|
|
2315
|
-
*
|
|
2278
|
+
* Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
|
|
2316
2279
|
*/
|
|
2317
|
-
"size"?: number;
|
|
2280
|
+
"size"?: number | undefined;
|
|
2318
2281
|
/**
|
|
2319
2282
|
* Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
|
|
2320
2283
|
* @default TOKEN_DEFAULTS.size200
|
|
@@ -2389,52 +2352,37 @@ declare namespace LocalJSX {
|
|
|
2389
2352
|
/**
|
|
2390
2353
|
* @default false
|
|
2391
2354
|
*/
|
|
2392
|
-
"
|
|
2355
|
+
"indeterminate"?: boolean;
|
|
2393
2356
|
/**
|
|
2394
2357
|
* @default false
|
|
2395
2358
|
*/
|
|
2396
|
-
"
|
|
2359
|
+
"isInactive"?: boolean;
|
|
2397
2360
|
"label": string;
|
|
2398
2361
|
"onDsChange"?: (event: DsCheckboxCustomEvent<boolean>) => void;
|
|
2399
2362
|
}
|
|
2363
|
+
/**
|
|
2364
|
+
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
2365
|
+
* (not intent × contrast). Not a toggle/select control; the only intentional
|
|
2366
|
+
* action is remove.
|
|
2367
|
+
*/
|
|
2400
2368
|
interface DsChip {
|
|
2401
|
-
"background"?: ChipBackground | undefined;
|
|
2402
|
-
/**
|
|
2403
|
-
* @default 'faint'
|
|
2404
|
-
*/
|
|
2405
|
-
"contrast"?: ChipContrast;
|
|
2406
2369
|
/**
|
|
2407
|
-
*
|
|
2370
|
+
* Surface context for interaction-fill tokens when the chip sits on a non-default surface.
|
|
2408
2371
|
*/
|
|
2409
|
-
"
|
|
2372
|
+
"background"?: ChipBackground | undefined;
|
|
2410
2373
|
/**
|
|
2411
2374
|
* @default false
|
|
2412
2375
|
*/
|
|
2413
|
-
"
|
|
2414
|
-
/**
|
|
2415
|
-
* @default 'neutral'
|
|
2416
|
-
*/
|
|
2417
|
-
"intent"?: ChipIntent;
|
|
2376
|
+
"isInactive"?: boolean;
|
|
2418
2377
|
"label": string;
|
|
2419
2378
|
"maxWidth"?: string | number | undefined;
|
|
2420
|
-
/**
|
|
2421
|
-
* Fired when an interactive chip is clicked.
|
|
2422
|
-
*/
|
|
2423
|
-
"onDsClick"?: (event: DsChipCustomEvent<void>) => void;
|
|
2424
|
-
/**
|
|
2425
|
-
* Fired when the pressed state toggles.
|
|
2426
|
-
*/
|
|
2427
|
-
"onDsPressedChange"?: (event: DsChipCustomEvent<boolean>) => void;
|
|
2428
2379
|
/**
|
|
2429
2380
|
* Fired when the remove button is clicked.
|
|
2430
2381
|
*/
|
|
2431
2382
|
"onDsRemove"?: (event: DsChipCustomEvent<void>) => void;
|
|
2432
2383
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
|
|
2435
|
-
"pressed"?: boolean;
|
|
2436
|
-
/**
|
|
2437
|
-
* @default false
|
|
2384
|
+
* When true (default), shows the trailing dismiss control.
|
|
2385
|
+
* @default true
|
|
2438
2386
|
*/
|
|
2439
2387
|
"removable"?: boolean;
|
|
2440
2388
|
/**
|
|
@@ -2445,6 +2393,11 @@ declare namespace LocalJSX {
|
|
|
2445
2393
|
* @default 'md'
|
|
2446
2394
|
*/
|
|
2447
2395
|
"size"?: ChipSize;
|
|
2396
|
+
/**
|
|
2397
|
+
* Semantic color state.
|
|
2398
|
+
* @default 'default'
|
|
2399
|
+
*/
|
|
2400
|
+
"state"?: ChipState;
|
|
2448
2401
|
}
|
|
2449
2402
|
interface DsDivider {
|
|
2450
2403
|
/**
|
|
@@ -2480,27 +2433,6 @@ declare namespace LocalJSX {
|
|
|
2480
2433
|
*/
|
|
2481
2434
|
"type"?: EmptyStateType;
|
|
2482
2435
|
}
|
|
2483
|
-
interface DsFade {
|
|
2484
|
-
/**
|
|
2485
|
-
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
2486
|
-
*/
|
|
2487
|
-
"height"?: string | undefined;
|
|
2488
|
-
/**
|
|
2489
|
-
* Edge where content fades as it approaches the scroll boundary.
|
|
2490
|
-
* @default 'bottom'
|
|
2491
|
-
*/
|
|
2492
|
-
"side"?: FadeSide;
|
|
2493
|
-
/**
|
|
2494
|
-
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
2495
|
-
* @default 'size-600'
|
|
2496
|
-
*/
|
|
2497
|
-
"size"?: FadeSize;
|
|
2498
|
-
/**
|
|
2499
|
-
* Controls the mask without removing the scroll container from layout.
|
|
2500
|
-
* @default true
|
|
2501
|
-
*/
|
|
2502
|
-
"visible"?: boolean;
|
|
2503
|
-
}
|
|
2504
2436
|
interface DsField {
|
|
2505
2437
|
/**
|
|
2506
2438
|
* ID forwarded to the slotted control via the label's `for` attribute. Auto-generated if omitted.
|
|
@@ -2508,13 +2440,6 @@ declare namespace LocalJSX {
|
|
|
2508
2440
|
"fieldId"?: string | undefined;
|
|
2509
2441
|
"label": string;
|
|
2510
2442
|
}
|
|
2511
|
-
interface DsHeader {
|
|
2512
|
-
/**
|
|
2513
|
-
* @default 'secondary'
|
|
2514
|
-
*/
|
|
2515
|
-
"background"?: HeaderBackground;
|
|
2516
|
-
"heading"?: string | undefined;
|
|
2517
|
-
}
|
|
2518
2443
|
interface DsIcon {
|
|
2519
2444
|
/**
|
|
2520
2445
|
* Semantic foreground color token, or a raw CSS var reference.
|
|
@@ -2553,14 +2478,14 @@ declare namespace LocalJSX {
|
|
|
2553
2478
|
*/
|
|
2554
2479
|
"error"?: boolean;
|
|
2555
2480
|
"errorMessage"?: string | undefined;
|
|
2556
|
-
/**
|
|
2557
|
-
* @default false
|
|
2558
|
-
*/
|
|
2559
|
-
"inactive"?: boolean;
|
|
2560
2481
|
/**
|
|
2561
2482
|
* Associates the internal input with an external <label>.
|
|
2562
2483
|
*/
|
|
2563
2484
|
"inputId"?: string | undefined;
|
|
2485
|
+
/**
|
|
2486
|
+
* @default false
|
|
2487
|
+
*/
|
|
2488
|
+
"isInactive"?: boolean;
|
|
2564
2489
|
"onDsChange"?: (event: DsInputCustomEvent<string>) => void;
|
|
2565
2490
|
"onDsClear"?: (event: DsInputCustomEvent<void>) => void;
|
|
2566
2491
|
"placeholder"?: string | undefined;
|
|
@@ -2654,7 +2579,7 @@ declare namespace LocalJSX {
|
|
|
2654
2579
|
/**
|
|
2655
2580
|
* @default false
|
|
2656
2581
|
*/
|
|
2657
|
-
"
|
|
2582
|
+
"isInactive"?: boolean;
|
|
2658
2583
|
"onDsPageChange"?: (event: DsPaginationCustomEvent<number>) => void;
|
|
2659
2584
|
/**
|
|
2660
2585
|
* @default 1
|
|
@@ -2791,7 +2716,7 @@ declare namespace LocalJSX {
|
|
|
2791
2716
|
/**
|
|
2792
2717
|
* @default false
|
|
2793
2718
|
*/
|
|
2794
|
-
"
|
|
2719
|
+
"isInactive"?: boolean;
|
|
2795
2720
|
"onDsChange"?: (event: DsRadioGroupCustomEvent<string>) => void;
|
|
2796
2721
|
/**
|
|
2797
2722
|
* @default []
|
|
@@ -2802,24 +2727,28 @@ declare namespace LocalJSX {
|
|
|
2802
2727
|
*/
|
|
2803
2728
|
"value"?: string;
|
|
2804
2729
|
}
|
|
2805
|
-
|
|
2730
|
+
/**
|
|
2731
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
2732
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
2733
|
+
*/
|
|
2734
|
+
interface DsSelect {
|
|
2806
2735
|
/**
|
|
2736
|
+
* When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
|
|
2807
2737
|
* @default true
|
|
2808
2738
|
*/
|
|
2809
|
-
"
|
|
2810
|
-
/**
|
|
2811
|
-
* @default 'default'
|
|
2812
|
-
*/
|
|
2813
|
-
"variant"?: ScrollbarVariant;
|
|
2814
|
-
}
|
|
2815
|
-
interface DsSelect {
|
|
2739
|
+
"activeFill"?: boolean;
|
|
2816
2740
|
"ariaLabel"?: string | undefined;
|
|
2817
2741
|
"ariaLabelledby"?: string | undefined;
|
|
2818
2742
|
/**
|
|
2819
|
-
*
|
|
2743
|
+
* Show a 1px secondary inset border. Default on (matches unfilled button).
|
|
2744
|
+
* @default true
|
|
2745
|
+
*/
|
|
2746
|
+
"hasBorder"?: boolean;
|
|
2747
|
+
/**
|
|
2748
|
+
* Disables interaction (25% opacity via ds-control-inactive).
|
|
2820
2749
|
* @default false
|
|
2821
2750
|
*/
|
|
2822
|
-
"
|
|
2751
|
+
"isInactive"?: boolean;
|
|
2823
2752
|
/**
|
|
2824
2753
|
* Emits the selected value string.
|
|
2825
2754
|
*/
|
|
@@ -2832,14 +2761,24 @@ declare namespace LocalJSX {
|
|
|
2832
2761
|
"options"?: SelectOption[];
|
|
2833
2762
|
/**
|
|
2834
2763
|
* Placeholder shown when no value is selected.
|
|
2835
|
-
* @default 'Select
|
|
2764
|
+
* @default 'Select'
|
|
2836
2765
|
*/
|
|
2837
2766
|
"placeholder"?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* Control density (height, padding, icon, type).
|
|
2769
|
+
* @default 'md'
|
|
2770
|
+
*/
|
|
2771
|
+
"size"?: SelectSize;
|
|
2838
2772
|
/**
|
|
2839
2773
|
* Currently selected value.
|
|
2840
2774
|
* @default ''
|
|
2841
2775
|
*/
|
|
2842
2776
|
"value"?: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* Width fit — fill the parent (default) or hug content.
|
|
2779
|
+
* @default 'fill'
|
|
2780
|
+
*/
|
|
2781
|
+
"width"?: SelectWidth;
|
|
2843
2782
|
}
|
|
2844
2783
|
interface DsShellGradientPicker {
|
|
2845
2784
|
"onDsChange"?: (event: DsShellGradientPickerCustomEvent<ShellGradientPreset1>) => void;
|
|
@@ -2854,7 +2793,7 @@ declare namespace LocalJSX {
|
|
|
2854
2793
|
/**
|
|
2855
2794
|
* @default false
|
|
2856
2795
|
*/
|
|
2857
|
-
"
|
|
2796
|
+
"isInactive"?: boolean;
|
|
2858
2797
|
"onDsSelect"?: (event: DsShellGradientSwatchCustomEvent<ShellGradientPreset1>) => void;
|
|
2859
2798
|
/**
|
|
2860
2799
|
* Wash preset this orb previews.
|
|
@@ -2892,14 +2831,14 @@ declare namespace LocalJSX {
|
|
|
2892
2831
|
"width"?: string | number | undefined;
|
|
2893
2832
|
}
|
|
2894
2833
|
interface DsSlider {
|
|
2895
|
-
/**
|
|
2896
|
-
* @default false
|
|
2897
|
-
*/
|
|
2898
|
-
"inactive"?: boolean;
|
|
2899
2834
|
/**
|
|
2900
2835
|
* Associates with an external <label>. Defaults to an auto-generated ID.
|
|
2901
2836
|
*/
|
|
2902
2837
|
"inputId"?: string | undefined;
|
|
2838
|
+
/**
|
|
2839
|
+
* @default false
|
|
2840
|
+
*/
|
|
2841
|
+
"isInactive"?: boolean;
|
|
2903
2842
|
"label": string;
|
|
2904
2843
|
/**
|
|
2905
2844
|
* @default 100
|
|
@@ -2920,42 +2859,6 @@ declare namespace LocalJSX {
|
|
|
2920
2859
|
"value"?: number;
|
|
2921
2860
|
"valueText"?: string | undefined;
|
|
2922
2861
|
}
|
|
2923
|
-
interface DsSurface {
|
|
2924
|
-
/**
|
|
2925
|
-
* @default 'div'
|
|
2926
|
-
*/
|
|
2927
|
-
"as"?: SurfaceElement;
|
|
2928
|
-
/**
|
|
2929
|
-
* @default 'transparent'
|
|
2930
|
-
*/
|
|
2931
|
-
"background"?: SurfaceBackground;
|
|
2932
|
-
/**
|
|
2933
|
-
* @default 'faint'
|
|
2934
|
-
*/
|
|
2935
|
-
"contrast"?: SurfaceContrast;
|
|
2936
|
-
/**
|
|
2937
|
-
* Space-separated list of edges: "top bottom" etc. Only applies when elevation='none'.
|
|
2938
|
-
*/
|
|
2939
|
-
"edge"?: string | undefined;
|
|
2940
|
-
/**
|
|
2941
|
-
* @default 'none'
|
|
2942
|
-
*/
|
|
2943
|
-
"elevation"?: SurfaceElevation;
|
|
2944
|
-
/**
|
|
2945
|
-
* @default false
|
|
2946
|
-
*/
|
|
2947
|
-
"inactive"?: boolean;
|
|
2948
|
-
"intent"?: SurfaceIntent | undefined;
|
|
2949
|
-
/**
|
|
2950
|
-
* @default false
|
|
2951
|
-
*/
|
|
2952
|
-
"interactive"?: boolean;
|
|
2953
|
-
"radius"?: SurfaceRadius | undefined;
|
|
2954
|
-
/**
|
|
2955
|
-
* @default false
|
|
2956
|
-
*/
|
|
2957
|
-
"selected"?: boolean;
|
|
2958
|
-
}
|
|
2959
2862
|
interface DsTabGroup {
|
|
2960
2863
|
"ariaLabel"?: string | undefined;
|
|
2961
2864
|
"ariaLabelledby"?: string | undefined;
|
|
@@ -3046,10 +2949,6 @@ declare namespace LocalJSX {
|
|
|
3046
2949
|
* @default 'faint'
|
|
3047
2950
|
*/
|
|
3048
2951
|
"contrast"?: TagContrast;
|
|
3049
|
-
/**
|
|
3050
|
-
* @default 'none'
|
|
3051
|
-
*/
|
|
3052
|
-
"elevation"?: TagElevation;
|
|
3053
2952
|
/**
|
|
3054
2953
|
* @default 'neutral'
|
|
3055
2954
|
*/
|
|
@@ -3095,12 +2994,6 @@ declare namespace LocalJSX {
|
|
|
3095
2994
|
"variant"?: TextVariant;
|
|
3096
2995
|
"wrap"?: TextWrap | undefined;
|
|
3097
2996
|
}
|
|
3098
|
-
interface DsToastProvider {
|
|
3099
|
-
/**
|
|
3100
|
-
* @default 'top-center'
|
|
3101
|
-
*/
|
|
3102
|
-
"position"?: ToastPosition;
|
|
3103
|
-
}
|
|
3104
2997
|
interface DsToggle {
|
|
3105
2998
|
/**
|
|
3106
2999
|
* @default false
|
|
@@ -3109,9 +3002,15 @@ declare namespace LocalJSX {
|
|
|
3109
3002
|
/**
|
|
3110
3003
|
* @default false
|
|
3111
3004
|
*/
|
|
3112
|
-
"
|
|
3005
|
+
"isInactive"?: boolean;
|
|
3113
3006
|
"onDsChange"?: (event: DsToggleCustomEvent<boolean>) => void;
|
|
3114
3007
|
}
|
|
3008
|
+
/**
|
|
3009
|
+
* Imperative body portal for the popup.
|
|
3010
|
+
* Stencil must not own the portaled node — moving a VDOM child to `document.body`
|
|
3011
|
+
* causes recreate → re-portal →
|
|
3012
|
+
* @State loops that freeze the page.
|
|
3013
|
+
*/
|
|
3115
3014
|
interface DsTooltip {
|
|
3116
3015
|
/**
|
|
3117
3016
|
* @default 'center'
|
|
@@ -3123,8 +3022,8 @@ declare namespace LocalJSX {
|
|
|
3123
3022
|
*/
|
|
3124
3023
|
"alignOffset"?: number | string;
|
|
3125
3024
|
/**
|
|
3126
|
-
*
|
|
3127
|
-
* @default TOKEN_DEFAULTS.
|
|
3025
|
+
* Hover show delay before the tooltip appears. Default: `--effect-animation-delay-medium-3` (1000ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Applies to the initial hover/focus show only — after a recent dismiss, reopen is instant. Prefer the default; override only for denser chrome or rare/destructive actions.
|
|
3026
|
+
* @default TOKEN_DEFAULTS.animationDelayMedium3
|
|
3128
3027
|
*/
|
|
3129
3028
|
"delay"?: number | string;
|
|
3130
3029
|
"label": string;
|
|
@@ -3142,6 +3041,11 @@ declare namespace LocalJSX {
|
|
|
3142
3041
|
* @default TOKEN_CSS_LENGTHS.space050
|
|
3143
3042
|
*/
|
|
3144
3043
|
"sideOffset"?: number | string;
|
|
3044
|
+
/**
|
|
3045
|
+
* Control density (height, padding, type).
|
|
3046
|
+
* @default 'md'
|
|
3047
|
+
*/
|
|
3048
|
+
"size"?: TooltipSize;
|
|
3145
3049
|
}
|
|
3146
3050
|
/**
|
|
3147
3051
|
* Positioned value/label callout for chart hover interactions (donut slice, bar,
|
|
@@ -3152,8 +3056,15 @@ declare namespace LocalJSX {
|
|
|
3152
3056
|
* with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
|
|
3153
3057
|
* of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
|
|
3154
3058
|
* keeps it on-screen.
|
|
3059
|
+
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
3060
|
+
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
3155
3061
|
*/
|
|
3156
3062
|
interface DsTooltipDataViz {
|
|
3063
|
+
/**
|
|
3064
|
+
* 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.
|
|
3065
|
+
* @default TOKEN_DEFAULTS.animationDelayInstant
|
|
3066
|
+
*/
|
|
3067
|
+
"delay"?: number | string;
|
|
3157
3068
|
/**
|
|
3158
3069
|
* @default ''
|
|
3159
3070
|
*/
|
|
@@ -3173,10 +3084,6 @@ declare namespace LocalJSX {
|
|
|
3173
3084
|
"y"?: number;
|
|
3174
3085
|
}
|
|
3175
3086
|
|
|
3176
|
-
interface DsAccordionAttributes {
|
|
3177
|
-
"multiple": boolean;
|
|
3178
|
-
"expandedIds": string;
|
|
3179
|
-
}
|
|
3180
3087
|
interface DsAppShellAttributes {
|
|
3181
3088
|
"navStyle": NavChromeStyle;
|
|
3182
3089
|
"gradient": boolean;
|
|
@@ -3211,37 +3118,47 @@ declare namespace LocalJSX {
|
|
|
3211
3118
|
"basePath": string;
|
|
3212
3119
|
"currentUrl": string;
|
|
3213
3120
|
}
|
|
3214
|
-
interface DsBreadcrumbAttributes {
|
|
3215
|
-
"separator": string;
|
|
3216
|
-
}
|
|
3217
3121
|
interface DsButtonFilledAttributes {
|
|
3122
|
+
"variant": ButtonFilledVariant;
|
|
3123
|
+
"size": ButtonFilledSize;
|
|
3124
|
+
"width": ButtonFilledWidth;
|
|
3125
|
+
"label": string;
|
|
3218
3126
|
"icon": string;
|
|
3219
3127
|
"intent": ButtonFilledIntent;
|
|
3220
3128
|
"contrast": ButtonFilledContrast;
|
|
3221
|
-
"
|
|
3129
|
+
"isInactive": boolean;
|
|
3222
3130
|
"type": 'button' | 'submit' | 'reset';
|
|
3223
|
-
"ariaLabel": string;
|
|
3131
|
+
"ariaLabel": string | undefined;
|
|
3224
3132
|
}
|
|
3225
|
-
interface
|
|
3133
|
+
interface DsButtonUnfilledAttributes {
|
|
3134
|
+
"variant": ButtonUnfilledVariant;
|
|
3135
|
+
"size": ButtonUnfilledSize;
|
|
3136
|
+
"width": ButtonUnfilledWidth;
|
|
3137
|
+
"label": string;
|
|
3226
3138
|
"icon": string;
|
|
3227
3139
|
"isActive": boolean;
|
|
3228
3140
|
"activeFill": boolean;
|
|
3229
3141
|
"hasBorder": boolean;
|
|
3230
3142
|
"dot": boolean;
|
|
3231
|
-
"
|
|
3143
|
+
"isInactive": boolean;
|
|
3232
3144
|
"type": 'button' | 'submit' | 'reset';
|
|
3233
|
-
"backgroundContrast":
|
|
3234
|
-
"background":
|
|
3235
|
-
"ariaLabel": string;
|
|
3145
|
+
"backgroundContrast": ButtonUnfilledOnBackgroundContrast;
|
|
3146
|
+
"background": ButtonUnfilledBackground | undefined;
|
|
3147
|
+
"ariaLabel": string | undefined;
|
|
3236
3148
|
"controls": string | undefined;
|
|
3237
3149
|
"expanded": boolean | undefined;
|
|
3238
3150
|
"haspopup": string | undefined;
|
|
3239
3151
|
"pressed": boolean | undefined;
|
|
3240
3152
|
"focusTabIndex": number;
|
|
3241
3153
|
}
|
|
3242
|
-
interface
|
|
3154
|
+
interface DsCardAttributes {
|
|
3155
|
+
"heading": string;
|
|
3156
|
+
"cardWidth": CardWidth;
|
|
3157
|
+
"appearance": CardAppearance;
|
|
3158
|
+
}
|
|
3159
|
+
interface DsCardDataVizDonutAttributes {
|
|
3243
3160
|
"heading": string;
|
|
3244
|
-
"cardWidth":
|
|
3161
|
+
"cardWidth": CardDataVizDonutWidth;
|
|
3245
3162
|
}
|
|
3246
3163
|
interface DsCardSettingAttributes {
|
|
3247
3164
|
"heading": string;
|
|
@@ -3253,7 +3170,7 @@ declare namespace LocalJSX {
|
|
|
3253
3170
|
"height": number;
|
|
3254
3171
|
}
|
|
3255
3172
|
interface DsChartDonutAttributes {
|
|
3256
|
-
"size": number;
|
|
3173
|
+
"size": number | undefined;
|
|
3257
3174
|
"thickness": string;
|
|
3258
3175
|
"cornerRadius": string;
|
|
3259
3176
|
"gap": number;
|
|
@@ -3275,20 +3192,17 @@ declare namespace LocalJSX {
|
|
|
3275
3192
|
"label": string;
|
|
3276
3193
|
"checked": boolean;
|
|
3277
3194
|
"indeterminate": boolean;
|
|
3278
|
-
"
|
|
3195
|
+
"isInactive": boolean;
|
|
3279
3196
|
}
|
|
3280
3197
|
interface DsChipAttributes {
|
|
3281
3198
|
"label": string;
|
|
3282
|
-
"
|
|
3283
|
-
"contrast": ChipContrast;
|
|
3284
|
-
"elevation": ChipElevation;
|
|
3199
|
+
"state": ChipState;
|
|
3285
3200
|
"size": ChipSize;
|
|
3286
3201
|
"rounded": boolean;
|
|
3287
3202
|
"removable": boolean;
|
|
3288
3203
|
"maxWidth": string;
|
|
3289
|
-
"
|
|
3204
|
+
"isInactive": boolean;
|
|
3290
3205
|
"background": ChipBackground | undefined;
|
|
3291
|
-
"pressed": boolean;
|
|
3292
3206
|
}
|
|
3293
3207
|
interface DsDividerAttributes {
|
|
3294
3208
|
"orientation": DividerOrientation;
|
|
@@ -3301,20 +3215,10 @@ declare namespace LocalJSX {
|
|
|
3301
3215
|
"type": EmptyStateType;
|
|
3302
3216
|
"message": string | undefined;
|
|
3303
3217
|
}
|
|
3304
|
-
interface DsFadeAttributes {
|
|
3305
|
-
"side": FadeSide;
|
|
3306
|
-
"size": FadeSize;
|
|
3307
|
-
"height": string | undefined;
|
|
3308
|
-
"visible": boolean;
|
|
3309
|
-
}
|
|
3310
3218
|
interface DsFieldAttributes {
|
|
3311
3219
|
"label": string;
|
|
3312
3220
|
"fieldId": string | undefined;
|
|
3313
3221
|
}
|
|
3314
|
-
interface DsHeaderAttributes {
|
|
3315
|
-
"heading": string | undefined;
|
|
3316
|
-
"background": HeaderBackground;
|
|
3317
|
-
}
|
|
3318
3222
|
interface DsIconAttributes {
|
|
3319
3223
|
"name": string;
|
|
3320
3224
|
"size": IconSize;
|
|
@@ -3326,7 +3230,7 @@ declare namespace LocalJSX {
|
|
|
3326
3230
|
"value": string;
|
|
3327
3231
|
"placeholder": string | undefined;
|
|
3328
3232
|
"type": InputType;
|
|
3329
|
-
"
|
|
3233
|
+
"isInactive": boolean;
|
|
3330
3234
|
"autoFocus": boolean;
|
|
3331
3235
|
"error": boolean;
|
|
3332
3236
|
"errorMessage": string | undefined;
|
|
@@ -3360,7 +3264,7 @@ declare namespace LocalJSX {
|
|
|
3360
3264
|
"page": number;
|
|
3361
3265
|
"totalPages": number;
|
|
3362
3266
|
"siblingCount": number;
|
|
3363
|
-
"
|
|
3267
|
+
"isInactive": boolean;
|
|
3364
3268
|
}
|
|
3365
3269
|
interface DsPanelNavAttributes {
|
|
3366
3270
|
"navStyle": NavChromeStyle;
|
|
@@ -3383,18 +3287,18 @@ declare namespace LocalJSX {
|
|
|
3383
3287
|
interface DsRadioGroupAttributes {
|
|
3384
3288
|
"value": string;
|
|
3385
3289
|
"direction": 'vertical' | 'horizontal';
|
|
3386
|
-
"
|
|
3290
|
+
"isInactive": boolean;
|
|
3387
3291
|
"ariaLabel": string | undefined;
|
|
3388
3292
|
"ariaLabelledby": string | undefined;
|
|
3389
3293
|
}
|
|
3390
|
-
interface DsScrollbarAttributes {
|
|
3391
|
-
"variant": ScrollbarVariant;
|
|
3392
|
-
"showTrackOnHover": boolean;
|
|
3393
|
-
}
|
|
3394
3294
|
interface DsSelectAttributes {
|
|
3395
3295
|
"value": string;
|
|
3396
3296
|
"placeholder": string;
|
|
3397
|
-
"
|
|
3297
|
+
"size": SelectSize;
|
|
3298
|
+
"width": SelectWidth;
|
|
3299
|
+
"isInactive": boolean;
|
|
3300
|
+
"activeFill": boolean;
|
|
3301
|
+
"hasBorder": boolean;
|
|
3398
3302
|
"ariaLabel": string | undefined;
|
|
3399
3303
|
"ariaLabelledby": string | undefined;
|
|
3400
3304
|
}
|
|
@@ -3404,7 +3308,7 @@ declare namespace LocalJSX {
|
|
|
3404
3308
|
interface DsShellGradientSwatchAttributes {
|
|
3405
3309
|
"preset": ShellGradientPreset;
|
|
3406
3310
|
"selected": boolean;
|
|
3407
|
-
"
|
|
3311
|
+
"isInactive": boolean;
|
|
3408
3312
|
"ariaLabel": string | undefined;
|
|
3409
3313
|
}
|
|
3410
3314
|
interface DsSkeletonAttributes {
|
|
@@ -3420,22 +3324,10 @@ declare namespace LocalJSX {
|
|
|
3420
3324
|
"max": number;
|
|
3421
3325
|
"step": number;
|
|
3422
3326
|
"label": string;
|
|
3423
|
-
"
|
|
3327
|
+
"isInactive": boolean;
|
|
3424
3328
|
"valueText": string | undefined;
|
|
3425
3329
|
"inputId": string | undefined;
|
|
3426
3330
|
}
|
|
3427
|
-
interface DsSurfaceAttributes {
|
|
3428
|
-
"background": SurfaceBackground;
|
|
3429
|
-
"intent": SurfaceIntent | undefined;
|
|
3430
|
-
"contrast": SurfaceContrast;
|
|
3431
|
-
"elevation": SurfaceElevation;
|
|
3432
|
-
"edge": string | undefined;
|
|
3433
|
-
"radius": SurfaceRadius | undefined;
|
|
3434
|
-
"interactive": boolean;
|
|
3435
|
-
"selected": boolean;
|
|
3436
|
-
"inactive": boolean;
|
|
3437
|
-
"as": SurfaceElement;
|
|
3438
|
-
}
|
|
3439
3331
|
interface DsTabGroupAttributes {
|
|
3440
3332
|
"value": string;
|
|
3441
3333
|
"background": TabBackground | undefined;
|
|
@@ -3463,7 +3355,6 @@ declare namespace LocalJSX {
|
|
|
3463
3355
|
"label": string;
|
|
3464
3356
|
"intent": TagIntent;
|
|
3465
3357
|
"contrast": TagContrast;
|
|
3466
|
-
"elevation": TagElevation;
|
|
3467
3358
|
"size": TagSize;
|
|
3468
3359
|
"rounded": boolean;
|
|
3469
3360
|
"maxWidth": string;
|
|
@@ -3480,15 +3371,13 @@ declare namespace LocalJSX {
|
|
|
3480
3371
|
"as": TextElement;
|
|
3481
3372
|
"for": string | undefined;
|
|
3482
3373
|
}
|
|
3483
|
-
interface DsToastProviderAttributes {
|
|
3484
|
-
"position": ToastPosition;
|
|
3485
|
-
}
|
|
3486
3374
|
interface DsToggleAttributes {
|
|
3487
3375
|
"checked": boolean;
|
|
3488
|
-
"
|
|
3376
|
+
"isInactive": boolean;
|
|
3489
3377
|
}
|
|
3490
3378
|
interface DsTooltipAttributes {
|
|
3491
3379
|
"label": string;
|
|
3380
|
+
"size": TooltipSize;
|
|
3492
3381
|
"side": TooltipSide;
|
|
3493
3382
|
"align": TooltipAlign;
|
|
3494
3383
|
"sideOffset": string;
|
|
@@ -3502,18 +3391,18 @@ declare namespace LocalJSX {
|
|
|
3502
3391
|
"label": string;
|
|
3503
3392
|
"x": number;
|
|
3504
3393
|
"y": number;
|
|
3394
|
+
"delay": string;
|
|
3505
3395
|
}
|
|
3506
3396
|
|
|
3507
3397
|
interface IntrinsicElements {
|
|
3508
|
-
"ds-accordion": Omit<DsAccordion, keyof DsAccordionAttributes> & { [K in keyof DsAccordion & keyof DsAccordionAttributes]?: DsAccordion[K] } & { [K in keyof DsAccordion & keyof DsAccordionAttributes as `attr:${K}`]?: DsAccordionAttributes[K] } & { [K in keyof DsAccordion & keyof DsAccordionAttributes as `prop:${K}`]?: DsAccordion[K] };
|
|
3509
3398
|
"ds-app-shell": Omit<DsAppShell, keyof DsAppShellAttributes> & { [K in keyof DsAppShell & keyof DsAppShellAttributes]?: DsAppShell[K] } & { [K in keyof DsAppShell & keyof DsAppShellAttributes as `attr:${K}`]?: DsAppShellAttributes[K] } & { [K in keyof DsAppShell & keyof DsAppShellAttributes as `prop:${K}`]?: DsAppShell[K] };
|
|
3510
3399
|
"ds-badge": Omit<DsBadge, keyof DsBadgeAttributes> & { [K in keyof DsBadge & keyof DsBadgeAttributes]?: DsBadge[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `attr:${K}`]?: DsBadgeAttributes[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `prop:${K}`]?: DsBadge[K] };
|
|
3511
3400
|
"ds-banner": Omit<DsBanner, keyof DsBannerAttributes> & { [K in keyof DsBanner & keyof DsBannerAttributes]?: DsBanner[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `attr:${K}`]?: DsBannerAttributes[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `prop:${K}`]?: DsBanner[K] };
|
|
3512
3401
|
"ds-bar-nav": Omit<DsBarNav, keyof DsBarNavAttributes> & { [K in keyof DsBarNav & keyof DsBarNavAttributes]?: DsBarNav[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `attr:${K}`]?: DsBarNavAttributes[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `prop:${K}`]?: DsBarNav[K] };
|
|
3513
|
-
"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] };
|
|
3514
3402
|
"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] };
|
|
3515
|
-
"ds-button-unfilled
|
|
3516
|
-
"ds-card
|
|
3403
|
+
"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] };
|
|
3404
|
+
"ds-card": Omit<DsCard, keyof DsCardAttributes> & { [K in keyof DsCard & keyof DsCardAttributes]?: DsCard[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `attr:${K}`]?: DsCardAttributes[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `prop:${K}`]?: DsCard[K] } & OneOf<"heading", DsCard["heading"], DsCardAttributes["heading"]>;
|
|
3405
|
+
"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"]>;
|
|
3517
3406
|
"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"]>;
|
|
3518
3407
|
"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] };
|
|
3519
3408
|
"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] };
|
|
@@ -3523,9 +3412,7 @@ declare namespace LocalJSX {
|
|
|
3523
3412
|
"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"]>;
|
|
3524
3413
|
"ds-divider": Omit<DsDivider, keyof DsDividerAttributes> & { [K in keyof DsDivider & keyof DsDividerAttributes]?: DsDivider[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `attr:${K}`]?: DsDividerAttributes[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `prop:${K}`]?: DsDivider[K] };
|
|
3525
3414
|
"ds-empty-state": Omit<DsEmptyState, keyof DsEmptyStateAttributes> & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes]?: DsEmptyState[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `attr:${K}`]?: DsEmptyStateAttributes[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `prop:${K}`]?: DsEmptyState[K] };
|
|
3526
|
-
"ds-fade": Omit<DsFade, keyof DsFadeAttributes> & { [K in keyof DsFade & keyof DsFadeAttributes]?: DsFade[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `attr:${K}`]?: DsFadeAttributes[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `prop:${K}`]?: DsFade[K] };
|
|
3527
3415
|
"ds-field": Omit<DsField, keyof DsFieldAttributes> & { [K in keyof DsField & keyof DsFieldAttributes]?: DsField[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `attr:${K}`]?: DsFieldAttributes[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `prop:${K}`]?: DsField[K] } & OneOf<"label", DsField["label"], DsFieldAttributes["label"]>;
|
|
3528
|
-
"ds-header": Omit<DsHeader, keyof DsHeaderAttributes> & { [K in keyof DsHeader & keyof DsHeaderAttributes]?: DsHeader[K] } & { [K in keyof DsHeader & keyof DsHeaderAttributes as `attr:${K}`]?: DsHeaderAttributes[K] } & { [K in keyof DsHeader & keyof DsHeaderAttributes as `prop:${K}`]?: DsHeader[K] };
|
|
3529
3416
|
"ds-icon": Omit<DsIcon, keyof DsIconAttributes> & { [K in keyof DsIcon & keyof DsIconAttributes]?: DsIcon[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `attr:${K}`]?: DsIconAttributes[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `prop:${K}`]?: DsIcon[K] };
|
|
3530
3417
|
"ds-input": Omit<DsInput, keyof DsInputAttributes> & { [K in keyof DsInput & keyof DsInputAttributes]?: DsInput[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `attr:${K}`]?: DsInputAttributes[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `prop:${K}`]?: DsInput[K] };
|
|
3531
3418
|
"ds-loader": Omit<DsLoader, keyof DsLoaderAttributes> & { [K in keyof DsLoader & keyof DsLoaderAttributes]?: DsLoader[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `attr:${K}`]?: DsLoaderAttributes[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `prop:${K}`]?: DsLoader[K] };
|
|
@@ -3535,19 +3422,16 @@ declare namespace LocalJSX {
|
|
|
3535
3422
|
"ds-panel-nav": Omit<DsPanelNav, keyof DsPanelNavAttributes> & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes]?: DsPanelNav[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `attr:${K}`]?: DsPanelNavAttributes[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `prop:${K}`]?: DsPanelNav[K] };
|
|
3536
3423
|
"ds-panel-tools": Omit<DsPanelTools, keyof DsPanelToolsAttributes> & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes]?: DsPanelTools[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `attr:${K}`]?: DsPanelToolsAttributes[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `prop:${K}`]?: DsPanelTools[K] };
|
|
3537
3424
|
"ds-radio-group": Omit<DsRadioGroup, keyof DsRadioGroupAttributes> & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes]?: DsRadioGroup[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `attr:${K}`]?: DsRadioGroupAttributes[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `prop:${K}`]?: DsRadioGroup[K] };
|
|
3538
|
-
"ds-scrollbar": Omit<DsScrollbar, keyof DsScrollbarAttributes> & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes]?: DsScrollbar[K] } & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes as `attr:${K}`]?: DsScrollbarAttributes[K] } & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes as `prop:${K}`]?: DsScrollbar[K] };
|
|
3539
3425
|
"ds-select": Omit<DsSelect, keyof DsSelectAttributes> & { [K in keyof DsSelect & keyof DsSelectAttributes]?: DsSelect[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `attr:${K}`]?: DsSelectAttributes[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `prop:${K}`]?: DsSelect[K] };
|
|
3540
3426
|
"ds-shell-gradient-picker": Omit<DsShellGradientPicker, keyof DsShellGradientPickerAttributes> & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes]?: DsShellGradientPicker[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `attr:${K}`]?: DsShellGradientPickerAttributes[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `prop:${K}`]?: DsShellGradientPicker[K] };
|
|
3541
3427
|
"ds-shell-gradient-swatch": Omit<DsShellGradientSwatch, keyof DsShellGradientSwatchAttributes> & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes]?: DsShellGradientSwatch[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `attr:${K}`]?: DsShellGradientSwatchAttributes[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `prop:${K}`]?: DsShellGradientSwatch[K] };
|
|
3542
3428
|
"ds-skeleton": Omit<DsSkeleton, keyof DsSkeletonAttributes> & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes]?: DsSkeleton[K] } & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes as `attr:${K}`]?: DsSkeletonAttributes[K] } & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes as `prop:${K}`]?: DsSkeleton[K] };
|
|
3543
3429
|
"ds-slider": Omit<DsSlider, keyof DsSliderAttributes> & { [K in keyof DsSlider & keyof DsSliderAttributes]?: DsSlider[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `attr:${K}`]?: DsSliderAttributes[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `prop:${K}`]?: DsSlider[K] } & OneOf<"label", DsSlider["label"], DsSliderAttributes["label"]>;
|
|
3544
|
-
"ds-surface": Omit<DsSurface, keyof DsSurfaceAttributes> & { [K in keyof DsSurface & keyof DsSurfaceAttributes]?: DsSurface[K] } & { [K in keyof DsSurface & keyof DsSurfaceAttributes as `attr:${K}`]?: DsSurfaceAttributes[K] } & { [K in keyof DsSurface & keyof DsSurfaceAttributes as `prop:${K}`]?: DsSurface[K] };
|
|
3545
3430
|
"ds-tab-group": Omit<DsTabGroup, keyof DsTabGroupAttributes> & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes]?: DsTabGroup[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `attr:${K}`]?: DsTabGroupAttributes[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `prop:${K}`]?: DsTabGroup[K] };
|
|
3546
3431
|
"ds-tab-group-nav": Omit<DsTabGroupNav, keyof DsTabGroupNavAttributes> & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes]?: DsTabGroupNav[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `attr:${K}`]?: DsTabGroupNavAttributes[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `prop:${K}`]?: DsTabGroupNav[K] };
|
|
3547
3432
|
"ds-table": Omit<DsTable, keyof DsTableAttributes> & { [K in keyof DsTable & keyof DsTableAttributes]?: DsTable[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `attr:${K}`]?: DsTableAttributes[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `prop:${K}`]?: DsTable[K] };
|
|
3548
3433
|
"ds-tag": Omit<DsTag, keyof DsTagAttributes> & { [K in keyof DsTag & keyof DsTagAttributes]?: DsTag[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `attr:${K}`]?: DsTagAttributes[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `prop:${K}`]?: DsTag[K] } & OneOf<"label", DsTag["label"], DsTagAttributes["label"]>;
|
|
3549
3434
|
"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] };
|
|
3550
|
-
"ds-toast-provider": Omit<DsToastProvider, keyof DsToastProviderAttributes> & { [K in keyof DsToastProvider & keyof DsToastProviderAttributes]?: DsToastProvider[K] } & { [K in keyof DsToastProvider & keyof DsToastProviderAttributes as `attr:${K}`]?: DsToastProviderAttributes[K] } & { [K in keyof DsToastProvider & keyof DsToastProviderAttributes as `prop:${K}`]?: DsToastProvider[K] };
|
|
3551
3435
|
"ds-toggle": Omit<DsToggle, keyof DsToggleAttributes> & { [K in keyof DsToggle & keyof DsToggleAttributes]?: DsToggle[K] } & { [K in keyof DsToggle & keyof DsToggleAttributes as `attr:${K}`]?: DsToggleAttributes[K] } & { [K in keyof DsToggle & keyof DsToggleAttributes as `prop:${K}`]?: DsToggle[K] };
|
|
3552
3436
|
"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"]>;
|
|
3553
3437
|
"ds-tooltip-data-viz": Omit<DsTooltipDataViz, keyof DsTooltipDataVizAttributes> & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes]?: DsTooltipDataViz[K] } & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes as `attr:${K}`]?: DsTooltipDataVizAttributes[K] } & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes as `prop:${K}`]?: DsTooltipDataViz[K] };
|
|
@@ -3557,20 +3441,22 @@ export { LocalJSX as JSX };
|
|
|
3557
3441
|
declare module "@stencil/core" {
|
|
3558
3442
|
export namespace JSX {
|
|
3559
3443
|
interface IntrinsicElements {
|
|
3560
|
-
"ds-accordion": LocalJSX.IntrinsicElements["ds-accordion"] & JSXBase.HTMLAttributes<HTMLDsAccordionElement>;
|
|
3561
3444
|
"ds-app-shell": LocalJSX.IntrinsicElements["ds-app-shell"] & JSXBase.HTMLAttributes<HTMLDsAppShellElement>;
|
|
3562
3445
|
"ds-badge": LocalJSX.IntrinsicElements["ds-badge"] & JSXBase.HTMLAttributes<HTMLDsBadgeElement>;
|
|
3563
3446
|
"ds-banner": LocalJSX.IntrinsicElements["ds-banner"] & JSXBase.HTMLAttributes<HTMLDsBannerElement>;
|
|
3564
3447
|
"ds-bar-nav": LocalJSX.IntrinsicElements["ds-bar-nav"] & JSXBase.HTMLAttributes<HTMLDsBarNavElement>;
|
|
3565
|
-
"ds-breadcrumb": LocalJSX.IntrinsicElements["ds-breadcrumb"] & JSXBase.HTMLAttributes<HTMLDsBreadcrumbElement>;
|
|
3566
3448
|
"ds-button-filled": LocalJSX.IntrinsicElements["ds-button-filled"] & JSXBase.HTMLAttributes<HTMLDsButtonFilledElement>;
|
|
3567
|
-
"ds-button-unfilled
|
|
3449
|
+
"ds-button-unfilled": LocalJSX.IntrinsicElements["ds-button-unfilled"] & JSXBase.HTMLAttributes<HTMLDsButtonUnfilledElement>;
|
|
3568
3450
|
/**
|
|
3569
|
-
*
|
|
3570
|
-
*
|
|
3571
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
3451
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
3452
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
3572
3453
|
*/
|
|
3573
|
-
"ds-card
|
|
3454
|
+
"ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
3457
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
3458
|
+
*/
|
|
3459
|
+
"ds-card-data-viz-donut": LocalJSX.IntrinsicElements["ds-card-data-viz-donut"] & JSXBase.HTMLAttributes<HTMLDsCardDataVizDonutElement>;
|
|
3574
3460
|
"ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
|
|
3575
3461
|
"ds-chart-bar": LocalJSX.IntrinsicElements["ds-chart-bar"] & JSXBase.HTMLAttributes<HTMLDsChartBarElement>;
|
|
3576
3462
|
"ds-chart-donut": LocalJSX.IntrinsicElements["ds-chart-donut"] & JSXBase.HTMLAttributes<HTMLDsChartDonutElement>;
|
|
@@ -3584,12 +3470,15 @@ declare module "@stencil/core" {
|
|
|
3584
3470
|
"ds-chart-legend": LocalJSX.IntrinsicElements["ds-chart-legend"] & JSXBase.HTMLAttributes<HTMLDsChartLegendElement>;
|
|
3585
3471
|
"ds-chart-line": LocalJSX.IntrinsicElements["ds-chart-line"] & JSXBase.HTMLAttributes<HTMLDsChartLineElement>;
|
|
3586
3472
|
"ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
|
|
3473
|
+
/**
|
|
3474
|
+
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
3475
|
+
* (not intent × contrast). Not a toggle/select control; the only intentional
|
|
3476
|
+
* action is remove.
|
|
3477
|
+
*/
|
|
3587
3478
|
"ds-chip": LocalJSX.IntrinsicElements["ds-chip"] & JSXBase.HTMLAttributes<HTMLDsChipElement>;
|
|
3588
3479
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
3589
3480
|
"ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
|
|
3590
|
-
"ds-fade": LocalJSX.IntrinsicElements["ds-fade"] & JSXBase.HTMLAttributes<HTMLDsFadeElement>;
|
|
3591
3481
|
"ds-field": LocalJSX.IntrinsicElements["ds-field"] & JSXBase.HTMLAttributes<HTMLDsFieldElement>;
|
|
3592
|
-
"ds-header": LocalJSX.IntrinsicElements["ds-header"] & JSXBase.HTMLAttributes<HTMLDsHeaderElement>;
|
|
3593
3482
|
"ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
|
|
3594
3483
|
"ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
|
|
3595
3484
|
"ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
|
|
@@ -3599,20 +3488,27 @@ declare module "@stencil/core" {
|
|
|
3599
3488
|
"ds-panel-nav": LocalJSX.IntrinsicElements["ds-panel-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelNavElement>;
|
|
3600
3489
|
"ds-panel-tools": LocalJSX.IntrinsicElements["ds-panel-tools"] & JSXBase.HTMLAttributes<HTMLDsPanelToolsElement>;
|
|
3601
3490
|
"ds-radio-group": LocalJSX.IntrinsicElements["ds-radio-group"] & JSXBase.HTMLAttributes<HTMLDsRadioGroupElement>;
|
|
3602
|
-
|
|
3491
|
+
/**
|
|
3492
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
3493
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
3494
|
+
*/
|
|
3603
3495
|
"ds-select": LocalJSX.IntrinsicElements["ds-select"] & JSXBase.HTMLAttributes<HTMLDsSelectElement>;
|
|
3604
3496
|
"ds-shell-gradient-picker": LocalJSX.IntrinsicElements["ds-shell-gradient-picker"] & JSXBase.HTMLAttributes<HTMLDsShellGradientPickerElement>;
|
|
3605
3497
|
"ds-shell-gradient-swatch": LocalJSX.IntrinsicElements["ds-shell-gradient-swatch"] & JSXBase.HTMLAttributes<HTMLDsShellGradientSwatchElement>;
|
|
3606
3498
|
"ds-skeleton": LocalJSX.IntrinsicElements["ds-skeleton"] & JSXBase.HTMLAttributes<HTMLDsSkeletonElement>;
|
|
3607
3499
|
"ds-slider": LocalJSX.IntrinsicElements["ds-slider"] & JSXBase.HTMLAttributes<HTMLDsSliderElement>;
|
|
3608
|
-
"ds-surface": LocalJSX.IntrinsicElements["ds-surface"] & JSXBase.HTMLAttributes<HTMLDsSurfaceElement>;
|
|
3609
3500
|
"ds-tab-group": LocalJSX.IntrinsicElements["ds-tab-group"] & JSXBase.HTMLAttributes<HTMLDsTabGroupElement>;
|
|
3610
3501
|
"ds-tab-group-nav": LocalJSX.IntrinsicElements["ds-tab-group-nav"] & JSXBase.HTMLAttributes<HTMLDsTabGroupNavElement>;
|
|
3611
3502
|
"ds-table": LocalJSX.IntrinsicElements["ds-table"] & JSXBase.HTMLAttributes<HTMLDsTableElement>;
|
|
3612
3503
|
"ds-tag": LocalJSX.IntrinsicElements["ds-tag"] & JSXBase.HTMLAttributes<HTMLDsTagElement>;
|
|
3613
3504
|
"ds-text": LocalJSX.IntrinsicElements["ds-text"] & JSXBase.HTMLAttributes<HTMLDsTextElement>;
|
|
3614
|
-
"ds-toast-provider": LocalJSX.IntrinsicElements["ds-toast-provider"] & JSXBase.HTMLAttributes<HTMLDsToastProviderElement>;
|
|
3615
3505
|
"ds-toggle": LocalJSX.IntrinsicElements["ds-toggle"] & JSXBase.HTMLAttributes<HTMLDsToggleElement>;
|
|
3506
|
+
/**
|
|
3507
|
+
* Imperative body portal for the popup.
|
|
3508
|
+
* Stencil must not own the portaled node — moving a VDOM child to `document.body`
|
|
3509
|
+
* causes recreate → re-portal →
|
|
3510
|
+
* @State loops that freeze the page.
|
|
3511
|
+
*/
|
|
3616
3512
|
"ds-tooltip": LocalJSX.IntrinsicElements["ds-tooltip"] & JSXBase.HTMLAttributes<HTMLDsTooltipElement>;
|
|
3617
3513
|
/**
|
|
3618
3514
|
* Positioned value/label callout for chart hover interactions (donut slice, bar,
|
|
@@ -3623,11 +3519,10 @@ declare module "@stencil/core" {
|
|
|
3623
3519
|
* with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
|
|
3624
3520
|
* of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
|
|
3625
3521
|
* keeps it on-screen.
|
|
3522
|
+
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
3523
|
+
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
3626
3524
|
*/
|
|
3627
3525
|
"ds-tooltip-data-viz": LocalJSX.IntrinsicElements["ds-tooltip-data-viz"] & JSXBase.HTMLAttributes<HTMLDsTooltipDataVizElement>;
|
|
3628
3526
|
}
|
|
3629
3527
|
}
|
|
3630
3528
|
}
|
|
3631
|
-
// --- menu placement re-exports (patch-components-d-exports.mjs) ---
|
|
3632
|
-
export { PANEL_NAV_USER_MENU_PLACEMENT, type MenuPlacement } from "./components/Menu/menu-types";
|
|
3633
|
-
|