@ds-mo/ui 8.1.0 → 8.2.1
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 +1 -1
- package/dist/.build-stamp +1 -1
- package/dist/agent.json +501 -47
- package/dist/angular/ds-field.d.ts +1 -1
- package/dist/angular/ds-field.js +3 -3
- package/dist/angular/ds-input.d.ts +1 -1
- package/dist/angular/ds-input.js +3 -3
- package/dist/angular/ds-panel-nav.d.ts +1 -1
- package/dist/angular/ds-panel-nav.js +3 -3
- package/dist/angular/ds-radio.d.ts +18 -0
- package/dist/angular/{ds-radio-group.js → ds-radio.js} +12 -12
- package/dist/angular/ds-slider.d.ts +12 -3
- package/dist/angular/ds-slider.js +8 -4
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +1 -1
- package/dist/angular/proxies.d.ts +1 -1
- package/dist/angular/proxies.js +1 -1
- package/dist/angular/radio-value-accessor.d.ts +1 -1
- package/dist/angular/radio-value-accessor.js +2 -2
- package/dist/components/ds-app-shell.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-nav.js.map +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-data-viz-donut.js +1 -1
- package/dist/components/ds-card-data-viz-donut.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-bar.js.map +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-donut.js.map +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-chart-line.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-field.js.map +1 -1
- package/dist/components/ds-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-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-modal.js.map +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js.map +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/{ds-radio-group.d.ts → ds-radio.d.ts} +4 -4
- package/dist/components/ds-radio.js +2 -0
- package/dist/components/ds-radio.js.map +1 -0
- package/dist/components/ds-select-multi.js +1 -1
- package/dist/components/ds-select-multi.js.map +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-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-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-switch.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-CTmsQjsE.js → p-BU_gxTiw.js} +2 -2
- package/dist/components/p-BU_gxTiw.js.map +1 -0
- package/dist/components/{p-Ckiwpsgw.js → p-BjhTeU17.js} +2 -2
- package/dist/components/{p-Du9UUSJ5.js → p-C91iXoXj.js} +2 -2
- package/dist/components/{p-WdtWRvVr.js → p-CDu_LfhF.js} +2 -2
- package/dist/components/{p-_zP4v-Al.js → p-CSyIAX11.js} +2 -2
- package/dist/components/p-CSyIAX11.js.map +1 -0
- package/dist/components/{p-BMbadvZo.js → p-Cj4vIqqx.js} +2 -2
- package/dist/components/{p-BMbadvZo.js.map → p-Cj4vIqqx.js.map} +1 -1
- package/dist/components/{p-wxw8arTd.js → p-Cpr3K41-.js} +1 -1
- package/dist/components/{p-wxw8arTd.js.map → p-Cpr3K41-.js.map} +1 -1
- package/dist/components/{p-CwaC4wLu.js → p-CqsgiNwB.js} +2 -2
- package/dist/components/p-CqsgiNwB.js.map +1 -0
- package/dist/components/{p-JsVSx7ZR.js → p-DHJZDpNk.js} +2 -2
- package/dist/components/{p-DDBLO7bY.js → p-DKVDYHxb.js} +2 -2
- package/dist/components/p-DRqbwDzo.js +2 -0
- package/dist/components/p-DRqbwDzo.js.map +1 -0
- package/dist/components/{p-B2FhhQba.js → p-KeMecQN9.js} +2 -2
- package/dist/components/p-NwPqPArp.js +2 -0
- package/dist/components/p-NwPqPArp.js.map +1 -0
- package/dist/components/{p-COzps7J4.js → p-PP5602IN.js} +2 -2
- package/dist/components/p-PP5602IN.js.map +1 -0
- package/dist/components/p-VKIsOVza.js +2 -0
- package/dist/components/p-VKIsOVza.js.map +1 -0
- package/dist/components/p-kGSowBA8.js +2 -0
- package/dist/components/{p-auwU64d8.js.map → p-kGSowBA8.js.map} +1 -1
- package/dist/docs/components.json +1391 -166
- package/dist/lib/components/Text/text-types.d.ts +1 -1
- package/dist/react/components.d.ts +1 -1
- package/dist/react/components.js +1 -1
- package/dist/react/ds-radio.d.ts +12 -0
- package/dist/react/ds-radio.js +12 -0
- package/dist/react/ds-slider.d.ts +4 -3
- package/dist/react/ds-slider.js +4 -1
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +2 -1
- package/dist/types/components/Field/Field.d.ts +37 -2
- package/dist/types/components/Icon/Icon.d.ts +6 -1
- package/dist/types/components/Input/Input.d.ts +26 -0
- package/dist/types/components/Loader/Loader.d.ts +6 -1
- package/dist/types/components/Menu/Menu.d.ts +6 -0
- package/dist/types/components/Modal/Modal.d.ts +5 -0
- package/dist/types/components/PanelNav/PanelNav.d.ts +9 -0
- package/dist/types/components/{RadioGroup/RadioGroup.d.ts → Radio/Radio.d.ts} +18 -2
- package/dist/types/components/Radio/index.d.ts +2 -0
- package/dist/types/components/Slider/Slider.d.ts +101 -7
- package/dist/types/components/Switch/Switch.d.ts +4 -0
- package/dist/types/components/TabGroup/TabGroup.d.ts +1 -0
- package/dist/types/components/Text/Text.d.ts +6 -0
- package/dist/types/components/Text/text-types.d.ts +1 -1
- package/dist/types/components.d.ts +431 -46
- package/package.json +9 -4
- package/dist/angular/ds-radio-group.d.ts +0 -15
- package/dist/components/ds-radio-group.js +0 -2
- package/dist/components/ds-radio-group.js.map +0 -1
- package/dist/components/p-BEmVLLnN.js +0 -2
- package/dist/components/p-BEmVLLnN.js.map +0 -1
- package/dist/components/p-BcB-zkOx.js +0 -2
- package/dist/components/p-BcB-zkOx.js.map +0 -1
- package/dist/components/p-COzps7J4.js.map +0 -1
- package/dist/components/p-CTmsQjsE.js.map +0 -1
- package/dist/components/p-CwaC4wLu.js.map +0 -1
- package/dist/components/p-_zP4v-Al.js.map +0 -1
- package/dist/components/p-auwU64d8.js +0 -2
- package/dist/components/p-f0a1l4Uc.js +0 -2
- package/dist/components/p-f0a1l4Uc.js.map +0 -1
- package/dist/react/ds-radio-group.d.ts +0 -12
- package/dist/react/ds-radio-group.js +0 -12
- package/dist/types/components/RadioGroup/index.d.ts +0 -2
- /package/dist/components/{p-Ckiwpsgw.js.map → p-BjhTeU17.js.map} +0 -0
- /package/dist/components/{p-Du9UUSJ5.js.map → p-C91iXoXj.js.map} +0 -0
- /package/dist/components/{p-WdtWRvVr.js.map → p-CDu_LfhF.js.map} +0 -0
- /package/dist/components/{p-JsVSx7ZR.js.map → p-DHJZDpNk.js.map} +0 -0
- /package/dist/components/{p-DDBLO7bY.js.map → p-DKVDYHxb.js.map} +0 -0
- /package/dist/components/{p-B2FhhQba.js.map → p-KeMecQN9.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
|
11
11
|
import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
12
12
|
import { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
13
13
|
import { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
14
|
-
import { ButtonUnfilledBackground, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
14
|
+
import { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
15
15
|
import { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
16
16
|
import { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
17
17
|
import { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
@@ -21,7 +21,7 @@ import { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
|
21
21
|
import { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
22
22
|
import { DividerBackground, DividerInset, DividerLength, DividerOrientation } from "./components/Divider/Divider";
|
|
23
23
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
24
|
-
import { InputType } from "./components/Input/Input";
|
|
24
|
+
import { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
25
25
|
import { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
26
26
|
import { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
27
27
|
import { MenuAlign, MenuSide } from "./components/Menu/menu-position";
|
|
@@ -31,7 +31,7 @@ import { ChromeTransitionDetail } from "./shell/chrome-transition";
|
|
|
31
31
|
import { PanelSubNavItem } from "./components/PanelSubNav/panel-sub-nav-types";
|
|
32
32
|
import { PanelSubNavBackground } from "./components/PanelSubNav/PanelSubNav";
|
|
33
33
|
import { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
34
|
-
import { RadioOption } from "./components/
|
|
34
|
+
import { RadioOption, RadioSize } from "./components/Radio/Radio";
|
|
35
35
|
import { SelectBackground, SelectOption, SelectSection, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
36
36
|
import { SelectMultiBackground, SelectMultiOption, SelectMultiSection, SelectMultiSize, SelectMultiWidth } from "./components/SelectMulti/SelectMulti";
|
|
37
37
|
import { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
@@ -39,6 +39,7 @@ import { SkeletonBackground, SkeletonVariant } from "./components/Skeleton/Skele
|
|
|
39
39
|
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/text-types";
|
|
40
40
|
import { IconSize as IconSize1 } from "./components/Icon/Icon";
|
|
41
41
|
import { ControlSize } from "./utils/control-text";
|
|
42
|
+
import { SliderOrientation, SliderSize, SliderThumbAlignment, SliderValue } from "./components/Slider/Slider";
|
|
42
43
|
import { SwitchSize } from "./components/Switch/Switch";
|
|
43
44
|
import { TabGroupItem } from "./components/TabGroup/tab-item-utils";
|
|
44
45
|
import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
@@ -51,7 +52,7 @@ export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
|
51
52
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
52
53
|
export { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
53
54
|
export { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
54
|
-
export { ButtonUnfilledBackground, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
55
|
+
export { ButtonUnfilledBackground, ButtonUnfilledPopup, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
55
56
|
export { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
56
57
|
export { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
57
58
|
export { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
@@ -61,7 +62,7 @@ export { CheckboxSize } from "./components/Checkbox/Checkbox";
|
|
|
61
62
|
export { ChipSize, ChipState } from "./components/Chip/Chip";
|
|
62
63
|
export { DividerBackground, DividerInset, DividerLength, DividerOrientation } from "./components/Divider/Divider";
|
|
63
64
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
64
|
-
export { InputType } from "./components/Input/Input";
|
|
65
|
+
export { InputSize, InputType, InputWidth } from "./components/Input/Input";
|
|
65
66
|
export { LoaderColor, LoaderSize } from "./components/Loader/Loader";
|
|
66
67
|
export { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
67
68
|
export { MenuAlign, MenuSide } from "./components/Menu/menu-position";
|
|
@@ -71,7 +72,7 @@ export { ChromeTransitionDetail } from "./shell/chrome-transition";
|
|
|
71
72
|
export { PanelSubNavItem } from "./components/PanelSubNav/panel-sub-nav-types";
|
|
72
73
|
export { PanelSubNavBackground } from "./components/PanelSubNav/PanelSubNav";
|
|
73
74
|
export { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
74
|
-
export { RadioOption } from "./components/
|
|
75
|
+
export { RadioOption, RadioSize } from "./components/Radio/Radio";
|
|
75
76
|
export { SelectBackground, SelectOption, SelectSection, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
76
77
|
export { SelectMultiBackground, SelectMultiOption, SelectMultiSection, SelectMultiSize, SelectMultiWidth } from "./components/SelectMulti/SelectMulti";
|
|
77
78
|
export { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
@@ -79,6 +80,7 @@ export { SkeletonBackground, SkeletonVariant } from "./components/Skeleton/Skele
|
|
|
79
80
|
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/text-types";
|
|
80
81
|
export { IconSize as IconSize1 } from "./components/Icon/Icon";
|
|
81
82
|
export { ControlSize } from "./utils/control-text";
|
|
83
|
+
export { SliderOrientation, SliderSize, SliderThumbAlignment, SliderValue } from "./components/Slider/Slider";
|
|
82
84
|
export { SwitchSize } from "./components/Switch/Switch";
|
|
83
85
|
export { TabGroupItem } from "./components/TabGroup/tab-item-utils";
|
|
84
86
|
export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
@@ -309,7 +311,7 @@ export namespace Components {
|
|
|
309
311
|
* @default true
|
|
310
312
|
*/
|
|
311
313
|
"hasBorder": boolean;
|
|
312
|
-
"haspopup":
|
|
314
|
+
"haspopup": ButtonUnfilledPopup | undefined;
|
|
313
315
|
/**
|
|
314
316
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
315
317
|
* @default ''
|
|
@@ -671,14 +673,30 @@ export namespace Components {
|
|
|
671
673
|
}
|
|
672
674
|
interface DsField {
|
|
673
675
|
/**
|
|
674
|
-
*
|
|
676
|
+
* Optional guidance associated with the slotted control.
|
|
677
|
+
*/
|
|
678
|
+
"description": string | undefined;
|
|
679
|
+
/**
|
|
680
|
+
* Invalid visual and accessible state forwarded to supported ds controls.
|
|
681
|
+
* @default false
|
|
682
|
+
*/
|
|
683
|
+
"error": boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Visible error associated with the slotted control while error is true.
|
|
686
|
+
*/
|
|
687
|
+
"errorMessage": string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* Explicit ID for the slotted control; generated when omitted.
|
|
675
690
|
*/
|
|
676
691
|
"fieldId": string | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* Persistent visible label for the single slotted control.
|
|
694
|
+
*/
|
|
677
695
|
"label": string;
|
|
678
696
|
}
|
|
679
697
|
interface DsIcon {
|
|
680
698
|
/**
|
|
681
|
-
* Semantic foreground color token, or a raw CSS var reference.
|
|
699
|
+
* Semantic foreground color token, or a raw CSS var reference. `tertiary` and the still-fainter `quaternary` are restricted to icons inside genuinely inactive/disabled UI or to purely decorative icons; informative icons must retain sufficient contrast.
|
|
682
700
|
* @default 'inherit'
|
|
683
701
|
*/
|
|
684
702
|
"color": IconColor;
|
|
@@ -704,6 +722,10 @@ export namespace Components {
|
|
|
704
722
|
*/
|
|
705
723
|
"ariaLabel": string | null;
|
|
706
724
|
"ariaLabelledby": string | undefined;
|
|
725
|
+
/**
|
|
726
|
+
* Native browser autofill hint.
|
|
727
|
+
*/
|
|
728
|
+
"autoComplete": string | undefined;
|
|
707
729
|
/**
|
|
708
730
|
* @default false
|
|
709
731
|
*/
|
|
@@ -716,21 +738,46 @@ export namespace Components {
|
|
|
716
738
|
* @default false
|
|
717
739
|
*/
|
|
718
740
|
"disabled": boolean;
|
|
741
|
+
/**
|
|
742
|
+
* Preferred virtual-keyboard action label.
|
|
743
|
+
* @default ''
|
|
744
|
+
*/
|
|
745
|
+
"enterKeyHint": string;
|
|
719
746
|
/**
|
|
720
747
|
* @default false
|
|
721
748
|
*/
|
|
722
749
|
"error": boolean;
|
|
723
750
|
"errorMessage": string | undefined;
|
|
751
|
+
"form": string | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* Show the standard inset border.
|
|
754
|
+
* @default true
|
|
755
|
+
*/
|
|
756
|
+
"hasBorder": boolean;
|
|
757
|
+
/**
|
|
758
|
+
* Optional leading icon name.
|
|
759
|
+
*/
|
|
760
|
+
"icon": string | undefined;
|
|
724
761
|
/**
|
|
725
762
|
* Associates the internal input with an external <label>.
|
|
726
763
|
*/
|
|
727
764
|
"inputId": string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* Preferred virtual keyboard without changing the value semantics.
|
|
767
|
+
* @default ''
|
|
768
|
+
*/
|
|
769
|
+
"inputMode": string;
|
|
728
770
|
/**
|
|
729
771
|
* @default false
|
|
730
772
|
*/
|
|
731
773
|
"isInactive": boolean;
|
|
732
774
|
"name": string | undefined;
|
|
733
775
|
"placeholder": string | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* Keeps the value focusable and submittable while preventing edits.
|
|
778
|
+
* @default false
|
|
779
|
+
*/
|
|
780
|
+
"readOnly": boolean;
|
|
734
781
|
/**
|
|
735
782
|
* @default false
|
|
736
783
|
*/
|
|
@@ -740,6 +787,11 @@ export namespace Components {
|
|
|
740
787
|
*/
|
|
741
788
|
"requiredMessage": string;
|
|
742
789
|
"setFocus": () => Promise<void>;
|
|
790
|
+
/**
|
|
791
|
+
* Control density.
|
|
792
|
+
* @default 'md'
|
|
793
|
+
*/
|
|
794
|
+
"size": InputSize;
|
|
743
795
|
/**
|
|
744
796
|
* @default 'text'
|
|
745
797
|
*/
|
|
@@ -748,10 +800,15 @@ export namespace Components {
|
|
|
748
800
|
* @default ''
|
|
749
801
|
*/
|
|
750
802
|
"value": string;
|
|
803
|
+
/**
|
|
804
|
+
* Width fit — fill the parent (default) or hug the available content.
|
|
805
|
+
* @default 'fill'
|
|
806
|
+
*/
|
|
807
|
+
"width": InputWidth;
|
|
751
808
|
}
|
|
752
809
|
interface DsLoader {
|
|
753
810
|
/**
|
|
754
|
-
* Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`.
|
|
811
|
+
* Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`. Do not use `tertiary` or `quaternary` for a standalone or informative Loader; inherit a readable color from the owning busy control or region.
|
|
755
812
|
* @default 'inherit'
|
|
756
813
|
*/
|
|
757
814
|
"color": LoaderColor;
|
|
@@ -915,6 +972,11 @@ export namespace Components {
|
|
|
915
972
|
* @default 'dashboard'
|
|
916
973
|
*/
|
|
917
974
|
"navStyle": NavChromeStyle;
|
|
975
|
+
/**
|
|
976
|
+
* Localized name for the body when overflow makes it a keyboard-scrollable region.
|
|
977
|
+
* @default 'Navigation items'
|
|
978
|
+
*/
|
|
979
|
+
"navigationItemsLabel": string;
|
|
918
980
|
/**
|
|
919
981
|
* How items with `href` render: - `anchor` (default): native `<a href>` — works with routers that intercept anchors. - `event`: always `<button>`; host handles navigation via `dsNavSelect`.
|
|
920
982
|
* @default 'anchor'
|
|
@@ -1012,38 +1074,61 @@ export namespace Components {
|
|
|
1012
1074
|
*/
|
|
1013
1075
|
"toolsLabel": string;
|
|
1014
1076
|
}
|
|
1015
|
-
interface
|
|
1077
|
+
interface DsRadio {
|
|
1016
1078
|
/**
|
|
1079
|
+
* Accessible name when visible group labeling is unavailable.
|
|
1017
1080
|
* @default null
|
|
1018
1081
|
*/
|
|
1019
1082
|
"ariaLabel": string | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Id reference for a visible group label.
|
|
1085
|
+
*/
|
|
1020
1086
|
"ariaLabelledby": string | undefined;
|
|
1021
1087
|
/**
|
|
1088
|
+
* Layout direction for the option set.
|
|
1022
1089
|
* @default 'vertical'
|
|
1023
1090
|
*/
|
|
1024
1091
|
"direction": 'vertical' | 'horizontal';
|
|
1025
1092
|
/**
|
|
1093
|
+
* Native disabled state for the complete set.
|
|
1026
1094
|
* @default false
|
|
1027
1095
|
*/
|
|
1028
1096
|
"disabled": boolean;
|
|
1029
1097
|
/**
|
|
1098
|
+
* Associates the radio set with a form by id when rendered outside that form.
|
|
1099
|
+
*/
|
|
1100
|
+
"form": string | undefined;
|
|
1101
|
+
/**
|
|
1102
|
+
* Design-system inactive state for the complete set.
|
|
1030
1103
|
* @default false
|
|
1031
1104
|
*/
|
|
1032
1105
|
"isInactive": boolean;
|
|
1106
|
+
/**
|
|
1107
|
+
* Native form field name.
|
|
1108
|
+
*/
|
|
1033
1109
|
"name": string | undefined;
|
|
1034
1110
|
/**
|
|
1111
|
+
* Visible choices in this one-of-many set.
|
|
1035
1112
|
* @default []
|
|
1036
1113
|
*/
|
|
1037
1114
|
"options": RadioOption[];
|
|
1038
1115
|
/**
|
|
1116
|
+
* Require one option to be selected for form validity.
|
|
1039
1117
|
* @default false
|
|
1040
1118
|
*/
|
|
1041
1119
|
"required": boolean;
|
|
1042
1120
|
/**
|
|
1121
|
+
* Validation message used when a required set has no selection.
|
|
1043
1122
|
* @default 'This field is required.'
|
|
1044
1123
|
*/
|
|
1045
1124
|
"requiredMessage": string;
|
|
1046
1125
|
/**
|
|
1126
|
+
* Visual and placement density for every option.
|
|
1127
|
+
* @default 'md'
|
|
1128
|
+
*/
|
|
1129
|
+
"size": RadioSize;
|
|
1130
|
+
/**
|
|
1131
|
+
* Selected option value.
|
|
1047
1132
|
* @default ''
|
|
1048
1133
|
*/
|
|
1049
1134
|
"value": string;
|
|
@@ -1407,14 +1492,48 @@ export namespace Components {
|
|
|
1407
1492
|
}
|
|
1408
1493
|
interface DsSlider {
|
|
1409
1494
|
/**
|
|
1410
|
-
*
|
|
1495
|
+
* Id references for supporting guidance or error text.
|
|
1496
|
+
*/
|
|
1497
|
+
"ariaDescribedby": string | undefined;
|
|
1498
|
+
/**
|
|
1499
|
+
* Direct accessible name for a single-thumb slider without a visible label.
|
|
1500
|
+
* @default null
|
|
1501
|
+
*/
|
|
1502
|
+
"ariaLabel": string | null;
|
|
1503
|
+
/**
|
|
1504
|
+
* Id references for a visible single-thumb slider label.
|
|
1505
|
+
*/
|
|
1506
|
+
"ariaLabelledby": string | undefined;
|
|
1507
|
+
/**
|
|
1508
|
+
* @default false
|
|
1509
|
+
*/
|
|
1510
|
+
"disabled": boolean;
|
|
1511
|
+
/**
|
|
1512
|
+
* Accessible label for the upper thumb in a range slider.
|
|
1513
|
+
* @default 'Maximum value'
|
|
1514
|
+
*/
|
|
1515
|
+
"endLabel": string;
|
|
1516
|
+
"form": string | undefined;
|
|
1517
|
+
/**
|
|
1518
|
+
* Intl.NumberFormat options. Assign objects through the JavaScript property.
|
|
1519
|
+
*/
|
|
1520
|
+
"formatOptions": Intl.NumberFormatOptions | undefined;
|
|
1521
|
+
/**
|
|
1522
|
+
* Id applied to the first native range input.
|
|
1411
1523
|
*/
|
|
1412
1524
|
"inputId": string | undefined;
|
|
1413
1525
|
/**
|
|
1414
1526
|
* @default false
|
|
1415
1527
|
*/
|
|
1416
1528
|
"isInactive": boolean;
|
|
1417
|
-
|
|
1529
|
+
/**
|
|
1530
|
+
* Visible field label. Supply aria-label when the label is intentionally hidden.
|
|
1531
|
+
*/
|
|
1532
|
+
"label": string | undefined;
|
|
1533
|
+
/**
|
|
1534
|
+
* Locale used by Intl.NumberFormat for the visible value.
|
|
1535
|
+
*/
|
|
1536
|
+
"locale": string | undefined;
|
|
1418
1537
|
/**
|
|
1419
1538
|
* @default 100
|
|
1420
1539
|
*/
|
|
@@ -1423,15 +1542,71 @@ export namespace Components {
|
|
|
1423
1542
|
* @default 0
|
|
1424
1543
|
*/
|
|
1425
1544
|
"min": number;
|
|
1545
|
+
/**
|
|
1546
|
+
* Minimum number of steps kept between two range thumbs.
|
|
1547
|
+
* @default 0
|
|
1548
|
+
*/
|
|
1549
|
+
"minStepsBetweenValues": number;
|
|
1550
|
+
"name": string | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* @default 'horizontal'
|
|
1553
|
+
*/
|
|
1554
|
+
"orientation": SliderOrientation;
|
|
1555
|
+
/**
|
|
1556
|
+
* @default '–'
|
|
1557
|
+
*/
|
|
1558
|
+
"rangeSeparator": string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Keep the value focusable and submittable while preventing changes.
|
|
1561
|
+
* @default false
|
|
1562
|
+
*/
|
|
1563
|
+
"readOnly": boolean;
|
|
1564
|
+
"setFocus": (index?: number) => Promise<void>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Show the formatted current value beside the visible label.
|
|
1567
|
+
* @default true
|
|
1568
|
+
*/
|
|
1569
|
+
"showValue": boolean;
|
|
1570
|
+
/**
|
|
1571
|
+
* @default 'md'
|
|
1572
|
+
*/
|
|
1573
|
+
"size": SliderSize;
|
|
1574
|
+
/**
|
|
1575
|
+
* Accessible label for the lower thumb in a range slider.
|
|
1576
|
+
* @default 'Minimum value'
|
|
1577
|
+
*/
|
|
1578
|
+
"startLabel": string;
|
|
1426
1579
|
/**
|
|
1427
1580
|
* @default 1
|
|
1428
1581
|
*/
|
|
1429
1582
|
"step": number;
|
|
1430
1583
|
/**
|
|
1584
|
+
* Keep the complete thumb inside the rail bounds, or center it on the endpoints.
|
|
1585
|
+
* @default 'edge'
|
|
1586
|
+
*/
|
|
1587
|
+
"thumbAlignment": SliderThumbAlignment;
|
|
1588
|
+
/**
|
|
1589
|
+
* Current value. Assign a two-number array through the JavaScript property for a range slider.
|
|
1431
1590
|
* @default 0
|
|
1432
1591
|
*/
|
|
1433
|
-
"value":
|
|
1592
|
+
"value": SliderValue;
|
|
1593
|
+
/**
|
|
1594
|
+
* @default ''
|
|
1595
|
+
*/
|
|
1596
|
+
"valuePrefix": string;
|
|
1597
|
+
/**
|
|
1598
|
+
* @default ''
|
|
1599
|
+
*/
|
|
1600
|
+
"valueSuffix": string;
|
|
1601
|
+
/**
|
|
1602
|
+
* Human-readable value text for a single slider or both range thumbs.
|
|
1603
|
+
*/
|
|
1434
1604
|
"valueText": string | undefined;
|
|
1605
|
+
/**
|
|
1606
|
+
* Per-thumb human-readable value text for a range slider. Assign through the JavaScript property.
|
|
1607
|
+
* @default []
|
|
1608
|
+
*/
|
|
1609
|
+
"valueTexts": string[];
|
|
1435
1610
|
}
|
|
1436
1611
|
interface DsSwitch {
|
|
1437
1612
|
/**
|
|
@@ -1600,6 +1775,7 @@ export namespace Components {
|
|
|
1600
1775
|
*/
|
|
1601
1776
|
"as": TextElement;
|
|
1602
1777
|
/**
|
|
1778
|
+
* Semantic foreground color token or CSS variable. `tertiary` and the still-fainter `quaternary` are restricted to genuinely inactive/disabled UI content or purely decorative content; prefer the owning control's inactive state whenever one exists.
|
|
1603
1779
|
* @default 'inherit'
|
|
1604
1780
|
*/
|
|
1605
1781
|
"color": TextColor;
|
|
@@ -1794,9 +1970,9 @@ export interface DsPanelToolsCustomEvent<T> extends CustomEvent<T> {
|
|
|
1794
1970
|
detail: T;
|
|
1795
1971
|
target: HTMLDsPanelToolsElement;
|
|
1796
1972
|
}
|
|
1797
|
-
export interface
|
|
1973
|
+
export interface DsRadioCustomEvent<T> extends CustomEvent<T> {
|
|
1798
1974
|
detail: T;
|
|
1799
|
-
target:
|
|
1975
|
+
target: HTMLDsRadioElement;
|
|
1800
1976
|
}
|
|
1801
1977
|
export interface DsSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1802
1978
|
detail: T;
|
|
@@ -2219,22 +2395,22 @@ declare global {
|
|
|
2219
2395
|
prototype: HTMLDsPanelToolsElement;
|
|
2220
2396
|
new (): HTMLDsPanelToolsElement;
|
|
2221
2397
|
};
|
|
2222
|
-
interface
|
|
2398
|
+
interface HTMLDsRadioElementEventMap {
|
|
2223
2399
|
"dsChange": string;
|
|
2224
2400
|
}
|
|
2225
|
-
interface
|
|
2226
|
-
addEventListener<K extends keyof
|
|
2401
|
+
interface HTMLDsRadioElement extends Components.DsRadio, HTMLStencilElement {
|
|
2402
|
+
addEventListener<K extends keyof HTMLDsRadioElementEventMap>(type: K, listener: (this: HTMLDsRadioElement, ev: DsRadioCustomEvent<HTMLDsRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2227
2403
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2228
2404
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2229
2405
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2230
|
-
removeEventListener<K extends keyof
|
|
2406
|
+
removeEventListener<K extends keyof HTMLDsRadioElementEventMap>(type: K, listener: (this: HTMLDsRadioElement, ev: DsRadioCustomEvent<HTMLDsRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2231
2407
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2232
2408
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2233
2409
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2234
2410
|
}
|
|
2235
|
-
var
|
|
2236
|
-
prototype:
|
|
2237
|
-
new ():
|
|
2411
|
+
var HTMLDsRadioElement: {
|
|
2412
|
+
prototype: HTMLDsRadioElement;
|
|
2413
|
+
new (): HTMLDsRadioElement;
|
|
2238
2414
|
};
|
|
2239
2415
|
interface HTMLDsSelectElementEventMap {
|
|
2240
2416
|
"dsChange": string;
|
|
@@ -2315,7 +2491,8 @@ declare global {
|
|
|
2315
2491
|
new (): HTMLDsSkeletonElement;
|
|
2316
2492
|
};
|
|
2317
2493
|
interface HTMLDsSliderElementEventMap {
|
|
2318
|
-
"dsChange":
|
|
2494
|
+
"dsChange": SliderValue;
|
|
2495
|
+
"dsCommit": SliderValue;
|
|
2319
2496
|
}
|
|
2320
2497
|
interface HTMLDsSliderElement extends Components.DsSlider, HTMLStencilElement {
|
|
2321
2498
|
addEventListener<K extends keyof HTMLDsSliderElementEventMap>(type: K, listener: (this: HTMLDsSliderElement, ev: DsSliderCustomEvent<HTMLDsSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2466,7 +2643,7 @@ declare global {
|
|
|
2466
2643
|
"ds-panel-nav": HTMLDsPanelNavElement;
|
|
2467
2644
|
"ds-panel-sub-nav": HTMLDsPanelSubNavElement;
|
|
2468
2645
|
"ds-panel-tools": HTMLDsPanelToolsElement;
|
|
2469
|
-
"ds-radio
|
|
2646
|
+
"ds-radio": HTMLDsRadioElement;
|
|
2470
2647
|
"ds-select": HTMLDsSelectElement;
|
|
2471
2648
|
"ds-select-multi": HTMLDsSelectMultiElement;
|
|
2472
2649
|
"ds-shell-gradient-picker": HTMLDsShellGradientPickerElement;
|
|
@@ -2713,7 +2890,7 @@ declare namespace LocalJSX {
|
|
|
2713
2890
|
* @default true
|
|
2714
2891
|
*/
|
|
2715
2892
|
"hasBorder"?: boolean;
|
|
2716
|
-
"haspopup"?:
|
|
2893
|
+
"haspopup"?: ButtonUnfilledPopup | undefined;
|
|
2717
2894
|
/**
|
|
2718
2895
|
* Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
|
|
2719
2896
|
* @default ''
|
|
@@ -3108,14 +3285,30 @@ declare namespace LocalJSX {
|
|
|
3108
3285
|
}
|
|
3109
3286
|
interface DsField {
|
|
3110
3287
|
/**
|
|
3111
|
-
*
|
|
3288
|
+
* Optional guidance associated with the slotted control.
|
|
3289
|
+
*/
|
|
3290
|
+
"description"?: string | undefined;
|
|
3291
|
+
/**
|
|
3292
|
+
* Invalid visual and accessible state forwarded to supported ds controls.
|
|
3293
|
+
* @default false
|
|
3294
|
+
*/
|
|
3295
|
+
"error"?: boolean;
|
|
3296
|
+
/**
|
|
3297
|
+
* Visible error associated with the slotted control while error is true.
|
|
3298
|
+
*/
|
|
3299
|
+
"errorMessage"?: string | undefined;
|
|
3300
|
+
/**
|
|
3301
|
+
* Explicit ID for the slotted control; generated when omitted.
|
|
3112
3302
|
*/
|
|
3113
3303
|
"fieldId"?: string | undefined;
|
|
3304
|
+
/**
|
|
3305
|
+
* Persistent visible label for the single slotted control.
|
|
3306
|
+
*/
|
|
3114
3307
|
"label": string;
|
|
3115
3308
|
}
|
|
3116
3309
|
interface DsIcon {
|
|
3117
3310
|
/**
|
|
3118
|
-
* Semantic foreground color token, or a raw CSS var reference.
|
|
3311
|
+
* Semantic foreground color token, or a raw CSS var reference. `tertiary` and the still-fainter `quaternary` are restricted to icons inside genuinely inactive/disabled UI or to purely decorative icons; informative icons must retain sufficient contrast.
|
|
3119
3312
|
* @default 'inherit'
|
|
3120
3313
|
*/
|
|
3121
3314
|
"color"?: IconColor;
|
|
@@ -3141,6 +3334,10 @@ declare namespace LocalJSX {
|
|
|
3141
3334
|
*/
|
|
3142
3335
|
"ariaLabel"?: string | null;
|
|
3143
3336
|
"ariaLabelledby"?: string | undefined;
|
|
3337
|
+
/**
|
|
3338
|
+
* Native browser autofill hint.
|
|
3339
|
+
*/
|
|
3340
|
+
"autoComplete"?: string | undefined;
|
|
3144
3341
|
/**
|
|
3145
3342
|
* @default false
|
|
3146
3343
|
*/
|
|
@@ -3153,19 +3350,35 @@ declare namespace LocalJSX {
|
|
|
3153
3350
|
* @default false
|
|
3154
3351
|
*/
|
|
3155
3352
|
"disabled"?: boolean;
|
|
3353
|
+
/**
|
|
3354
|
+
* Preferred virtual-keyboard action label.
|
|
3355
|
+
* @default ''
|
|
3356
|
+
*/
|
|
3357
|
+
"enterKeyHint"?: string;
|
|
3156
3358
|
/**
|
|
3157
3359
|
* @default false
|
|
3158
3360
|
*/
|
|
3159
3361
|
"error"?: boolean;
|
|
3160
3362
|
"errorMessage"?: string | undefined;
|
|
3363
|
+
"form"?: string | undefined;
|
|
3161
3364
|
/**
|
|
3162
|
-
*
|
|
3365
|
+
* Show the standard inset border.
|
|
3366
|
+
* @default true
|
|
3163
3367
|
*/
|
|
3164
|
-
"
|
|
3368
|
+
"hasBorder"?: boolean;
|
|
3369
|
+
/**
|
|
3370
|
+
* Optional leading icon name.
|
|
3371
|
+
*/
|
|
3372
|
+
"icon"?: string | undefined;
|
|
3165
3373
|
/**
|
|
3166
3374
|
* Associates the internal input with an external <label>.
|
|
3167
3375
|
*/
|
|
3168
3376
|
"inputId"?: string | undefined;
|
|
3377
|
+
/**
|
|
3378
|
+
* Preferred virtual keyboard without changing the value semantics.
|
|
3379
|
+
* @default ''
|
|
3380
|
+
*/
|
|
3381
|
+
"inputMode"?: string;
|
|
3169
3382
|
/**
|
|
3170
3383
|
* @default false
|
|
3171
3384
|
*/
|
|
@@ -3174,6 +3387,11 @@ declare namespace LocalJSX {
|
|
|
3174
3387
|
"onDsChange"?: (event: DsInputCustomEvent<string>) => void;
|
|
3175
3388
|
"onDsClear"?: (event: DsInputCustomEvent<void>) => void;
|
|
3176
3389
|
"placeholder"?: string | undefined;
|
|
3390
|
+
/**
|
|
3391
|
+
* Keeps the value focusable and submittable while preventing edits.
|
|
3392
|
+
* @default false
|
|
3393
|
+
*/
|
|
3394
|
+
"readOnly"?: boolean;
|
|
3177
3395
|
/**
|
|
3178
3396
|
* @default false
|
|
3179
3397
|
*/
|
|
@@ -3182,6 +3400,11 @@ declare namespace LocalJSX {
|
|
|
3182
3400
|
* @default 'This field is required.'
|
|
3183
3401
|
*/
|
|
3184
3402
|
"requiredMessage"?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
* Control density.
|
|
3405
|
+
* @default 'md'
|
|
3406
|
+
*/
|
|
3407
|
+
"size"?: InputSize;
|
|
3185
3408
|
/**
|
|
3186
3409
|
* @default 'text'
|
|
3187
3410
|
*/
|
|
@@ -3190,10 +3413,15 @@ declare namespace LocalJSX {
|
|
|
3190
3413
|
* @default ''
|
|
3191
3414
|
*/
|
|
3192
3415
|
"value"?: string;
|
|
3416
|
+
/**
|
|
3417
|
+
* Width fit — fill the parent (default) or hug the available content.
|
|
3418
|
+
* @default 'fill'
|
|
3419
|
+
*/
|
|
3420
|
+
"width"?: InputWidth;
|
|
3193
3421
|
}
|
|
3194
3422
|
interface DsLoader {
|
|
3195
3423
|
/**
|
|
3196
|
-
* Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`.
|
|
3424
|
+
* Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`. Do not use `tertiary` or `quaternary` for a standalone or informative Loader; inherit a readable color from the owning busy control or region.
|
|
3197
3425
|
* @default 'inherit'
|
|
3198
3426
|
*/
|
|
3199
3427
|
"color"?: LoaderColor;
|
|
@@ -3365,6 +3593,11 @@ declare namespace LocalJSX {
|
|
|
3365
3593
|
* @default 'dashboard'
|
|
3366
3594
|
*/
|
|
3367
3595
|
"navStyle"?: NavChromeStyle;
|
|
3596
|
+
/**
|
|
3597
|
+
* Localized name for the body when overflow makes it a keyboard-scrollable region.
|
|
3598
|
+
* @default 'Navigation items'
|
|
3599
|
+
*/
|
|
3600
|
+
"navigationItemsLabel"?: string;
|
|
3368
3601
|
"onDsChromeTransitionEnd"?: (event: DsPanelNavCustomEvent<ChromeTransitionDetail>) => void;
|
|
3369
3602
|
/**
|
|
3370
3603
|
* Bubbling lifecycle — `ds-app-shell` pauses chrome metrics during width motion.
|
|
@@ -3484,43 +3717,65 @@ declare namespace LocalJSX {
|
|
|
3484
3717
|
*/
|
|
3485
3718
|
"toolsLabel"?: string;
|
|
3486
3719
|
}
|
|
3487
|
-
interface
|
|
3720
|
+
interface DsRadio {
|
|
3488
3721
|
/**
|
|
3722
|
+
* Accessible name when visible group labeling is unavailable.
|
|
3489
3723
|
* @default null
|
|
3490
3724
|
*/
|
|
3491
3725
|
"ariaLabel"?: string | null;
|
|
3726
|
+
/**
|
|
3727
|
+
* Id reference for a visible group label.
|
|
3728
|
+
*/
|
|
3492
3729
|
"ariaLabelledby"?: string | undefined;
|
|
3493
3730
|
/**
|
|
3731
|
+
* Layout direction for the option set.
|
|
3494
3732
|
* @default 'vertical'
|
|
3495
3733
|
*/
|
|
3496
3734
|
"direction"?: 'vertical' | 'horizontal';
|
|
3497
3735
|
/**
|
|
3736
|
+
* Native disabled state for the complete set.
|
|
3498
3737
|
* @default false
|
|
3499
3738
|
*/
|
|
3500
3739
|
"disabled"?: boolean;
|
|
3501
3740
|
/**
|
|
3502
|
-
*
|
|
3741
|
+
* Associates the radio set with a form by id when rendered outside that form.
|
|
3503
3742
|
*/
|
|
3504
|
-
"form"?: string;
|
|
3743
|
+
"form"?: string | undefined;
|
|
3505
3744
|
/**
|
|
3745
|
+
* Design-system inactive state for the complete set.
|
|
3506
3746
|
* @default false
|
|
3507
3747
|
*/
|
|
3508
3748
|
"isInactive"?: boolean;
|
|
3749
|
+
/**
|
|
3750
|
+
* Native form field name.
|
|
3751
|
+
*/
|
|
3509
3752
|
"name"?: string | undefined;
|
|
3510
|
-
"onDsChange"?: (event: DsRadioGroupCustomEvent<string>) => void;
|
|
3511
3753
|
/**
|
|
3754
|
+
* Emitted after user selection with the selected option value.
|
|
3755
|
+
*/
|
|
3756
|
+
"onDsChange"?: (event: DsRadioCustomEvent<string>) => void;
|
|
3757
|
+
/**
|
|
3758
|
+
* Visible choices in this one-of-many set.
|
|
3512
3759
|
* @default []
|
|
3513
3760
|
*/
|
|
3514
3761
|
"options"?: RadioOption[];
|
|
3515
3762
|
/**
|
|
3763
|
+
* Require one option to be selected for form validity.
|
|
3516
3764
|
* @default false
|
|
3517
3765
|
*/
|
|
3518
3766
|
"required"?: boolean;
|
|
3519
3767
|
/**
|
|
3768
|
+
* Validation message used when a required set has no selection.
|
|
3520
3769
|
* @default 'This field is required.'
|
|
3521
3770
|
*/
|
|
3522
3771
|
"requiredMessage"?: string;
|
|
3523
3772
|
/**
|
|
3773
|
+
* Visual and placement density for every option.
|
|
3774
|
+
* @default 'md'
|
|
3775
|
+
*/
|
|
3776
|
+
"size"?: RadioSize;
|
|
3777
|
+
/**
|
|
3778
|
+
* Selected option value.
|
|
3524
3779
|
* @default ''
|
|
3525
3780
|
*/
|
|
3526
3781
|
"value"?: string;
|
|
@@ -3916,14 +4171,48 @@ declare namespace LocalJSX {
|
|
|
3916
4171
|
}
|
|
3917
4172
|
interface DsSlider {
|
|
3918
4173
|
/**
|
|
3919
|
-
*
|
|
4174
|
+
* Id references for supporting guidance or error text.
|
|
4175
|
+
*/
|
|
4176
|
+
"ariaDescribedby"?: string | undefined;
|
|
4177
|
+
/**
|
|
4178
|
+
* Direct accessible name for a single-thumb slider without a visible label.
|
|
4179
|
+
* @default null
|
|
4180
|
+
*/
|
|
4181
|
+
"ariaLabel"?: string | null;
|
|
4182
|
+
/**
|
|
4183
|
+
* Id references for a visible single-thumb slider label.
|
|
4184
|
+
*/
|
|
4185
|
+
"ariaLabelledby"?: string | undefined;
|
|
4186
|
+
/**
|
|
4187
|
+
* @default false
|
|
4188
|
+
*/
|
|
4189
|
+
"disabled"?: boolean;
|
|
4190
|
+
/**
|
|
4191
|
+
* Accessible label for the upper thumb in a range slider.
|
|
4192
|
+
* @default 'Maximum value'
|
|
4193
|
+
*/
|
|
4194
|
+
"endLabel"?: string;
|
|
4195
|
+
"form"?: string | undefined;
|
|
4196
|
+
/**
|
|
4197
|
+
* Intl.NumberFormat options. Assign objects through the JavaScript property.
|
|
4198
|
+
*/
|
|
4199
|
+
"formatOptions"?: Intl.NumberFormatOptions | undefined;
|
|
4200
|
+
/**
|
|
4201
|
+
* Id applied to the first native range input.
|
|
3920
4202
|
*/
|
|
3921
4203
|
"inputId"?: string | undefined;
|
|
3922
4204
|
/**
|
|
3923
4205
|
* @default false
|
|
3924
4206
|
*/
|
|
3925
4207
|
"isInactive"?: boolean;
|
|
3926
|
-
|
|
4208
|
+
/**
|
|
4209
|
+
* Visible field label. Supply aria-label when the label is intentionally hidden.
|
|
4210
|
+
*/
|
|
4211
|
+
"label"?: string | undefined;
|
|
4212
|
+
/**
|
|
4213
|
+
* Locale used by Intl.NumberFormat for the visible value.
|
|
4214
|
+
*/
|
|
4215
|
+
"locale"?: string | undefined;
|
|
3927
4216
|
/**
|
|
3928
4217
|
* @default 100
|
|
3929
4218
|
*/
|
|
@@ -3932,16 +4221,78 @@ declare namespace LocalJSX {
|
|
|
3932
4221
|
* @default 0
|
|
3933
4222
|
*/
|
|
3934
4223
|
"min"?: number;
|
|
3935
|
-
|
|
4224
|
+
/**
|
|
4225
|
+
* Minimum number of steps kept between two range thumbs.
|
|
4226
|
+
* @default 0
|
|
4227
|
+
*/
|
|
4228
|
+
"minStepsBetweenValues"?: number;
|
|
4229
|
+
"name"?: string | undefined;
|
|
4230
|
+
/**
|
|
4231
|
+
* Emitted continuously while the value changes.
|
|
4232
|
+
*/
|
|
4233
|
+
"onDsChange"?: (event: DsSliderCustomEvent<SliderValue>) => void;
|
|
4234
|
+
/**
|
|
4235
|
+
* Emitted when a pointer or keyboard value change is committed.
|
|
4236
|
+
*/
|
|
4237
|
+
"onDsCommit"?: (event: DsSliderCustomEvent<SliderValue>) => void;
|
|
4238
|
+
/**
|
|
4239
|
+
* @default 'horizontal'
|
|
4240
|
+
*/
|
|
4241
|
+
"orientation"?: SliderOrientation;
|
|
4242
|
+
/**
|
|
4243
|
+
* @default '–'
|
|
4244
|
+
*/
|
|
4245
|
+
"rangeSeparator"?: string;
|
|
4246
|
+
/**
|
|
4247
|
+
* Keep the value focusable and submittable while preventing changes.
|
|
4248
|
+
* @default false
|
|
4249
|
+
*/
|
|
4250
|
+
"readOnly"?: boolean;
|
|
4251
|
+
/**
|
|
4252
|
+
* Show the formatted current value beside the visible label.
|
|
4253
|
+
* @default true
|
|
4254
|
+
*/
|
|
4255
|
+
"showValue"?: boolean;
|
|
4256
|
+
/**
|
|
4257
|
+
* @default 'md'
|
|
4258
|
+
*/
|
|
4259
|
+
"size"?: SliderSize;
|
|
4260
|
+
/**
|
|
4261
|
+
* Accessible label for the lower thumb in a range slider.
|
|
4262
|
+
* @default 'Minimum value'
|
|
4263
|
+
*/
|
|
4264
|
+
"startLabel"?: string;
|
|
3936
4265
|
/**
|
|
3937
4266
|
* @default 1
|
|
3938
4267
|
*/
|
|
3939
4268
|
"step"?: number;
|
|
3940
4269
|
/**
|
|
4270
|
+
* Keep the complete thumb inside the rail bounds, or center it on the endpoints.
|
|
4271
|
+
* @default 'edge'
|
|
4272
|
+
*/
|
|
4273
|
+
"thumbAlignment"?: SliderThumbAlignment;
|
|
4274
|
+
/**
|
|
4275
|
+
* Current value. Assign a two-number array through the JavaScript property for a range slider.
|
|
3941
4276
|
* @default 0
|
|
3942
4277
|
*/
|
|
3943
|
-
"value"?:
|
|
4278
|
+
"value"?: SliderValue;
|
|
4279
|
+
/**
|
|
4280
|
+
* @default ''
|
|
4281
|
+
*/
|
|
4282
|
+
"valuePrefix"?: string;
|
|
4283
|
+
/**
|
|
4284
|
+
* @default ''
|
|
4285
|
+
*/
|
|
4286
|
+
"valueSuffix"?: string;
|
|
4287
|
+
/**
|
|
4288
|
+
* Human-readable value text for a single slider or both range thumbs.
|
|
4289
|
+
*/
|
|
3944
4290
|
"valueText"?: string | undefined;
|
|
4291
|
+
/**
|
|
4292
|
+
* Per-thumb human-readable value text for a range slider. Assign through the JavaScript property.
|
|
4293
|
+
* @default []
|
|
4294
|
+
*/
|
|
4295
|
+
"valueTexts"?: string[];
|
|
3945
4296
|
}
|
|
3946
4297
|
interface DsSwitch {
|
|
3947
4298
|
/**
|
|
@@ -4119,6 +4470,7 @@ declare namespace LocalJSX {
|
|
|
4119
4470
|
*/
|
|
4120
4471
|
"as"?: TextElement;
|
|
4121
4472
|
/**
|
|
4473
|
+
* Semantic foreground color token or CSS variable. `tertiary` and the still-fainter `quaternary` are restricted to genuinely inactive/disabled UI content or purely decorative content; prefer the owning control's inactive state whenever one exists.
|
|
4122
4474
|
* @default 'inherit'
|
|
4123
4475
|
*/
|
|
4124
4476
|
"color"?: TextColor;
|
|
@@ -4310,7 +4662,7 @@ declare namespace LocalJSX {
|
|
|
4310
4662
|
"ariaLabel": string | null;
|
|
4311
4663
|
"controls": string | undefined;
|
|
4312
4664
|
"expanded": boolean | undefined;
|
|
4313
|
-
"haspopup":
|
|
4665
|
+
"haspopup": ButtonUnfilledPopup | undefined;
|
|
4314
4666
|
"pressed": boolean | undefined;
|
|
4315
4667
|
"focusTabIndex": number;
|
|
4316
4668
|
}
|
|
@@ -4395,6 +4747,9 @@ declare namespace LocalJSX {
|
|
|
4395
4747
|
interface DsFieldAttributes {
|
|
4396
4748
|
"label": string;
|
|
4397
4749
|
"fieldId": string | undefined;
|
|
4750
|
+
"description": string | undefined;
|
|
4751
|
+
"error": boolean;
|
|
4752
|
+
"errorMessage": string | undefined;
|
|
4398
4753
|
}
|
|
4399
4754
|
interface DsIconAttributes {
|
|
4400
4755
|
"name": string;
|
|
@@ -4405,12 +4760,21 @@ declare namespace LocalJSX {
|
|
|
4405
4760
|
interface DsInputAttributes {
|
|
4406
4761
|
"value": string;
|
|
4407
4762
|
"name": string | undefined;
|
|
4763
|
+
"form": string | undefined;
|
|
4408
4764
|
"disabled": boolean;
|
|
4765
|
+
"readOnly": boolean;
|
|
4409
4766
|
"required": boolean;
|
|
4410
4767
|
"requiredMessage": string;
|
|
4411
4768
|
"clearLabel": string;
|
|
4412
4769
|
"placeholder": string | undefined;
|
|
4413
4770
|
"type": InputType;
|
|
4771
|
+
"autoComplete": string | undefined;
|
|
4772
|
+
"inputMode": string;
|
|
4773
|
+
"enterKeyHint": string;
|
|
4774
|
+
"size": InputSize;
|
|
4775
|
+
"width": InputWidth;
|
|
4776
|
+
"hasBorder": boolean;
|
|
4777
|
+
"icon": string | undefined;
|
|
4414
4778
|
"isInactive": boolean;
|
|
4415
4779
|
"autoFocus": boolean;
|
|
4416
4780
|
"error": boolean;
|
|
@@ -4471,6 +4835,7 @@ declare namespace LocalJSX {
|
|
|
4471
4835
|
"settingsNavigationLabel": string;
|
|
4472
4836
|
"expandNavigationLabel": string;
|
|
4473
4837
|
"collapseNavigationLabel": string;
|
|
4838
|
+
"navigationItemsLabel": string;
|
|
4474
4839
|
}
|
|
4475
4840
|
interface DsPanelSubNavAttributes {
|
|
4476
4841
|
"value": string;
|
|
@@ -4486,9 +4851,11 @@ declare namespace LocalJSX {
|
|
|
4486
4851
|
"toolShortcutsLabel": string;
|
|
4487
4852
|
"storageKey": string;
|
|
4488
4853
|
}
|
|
4489
|
-
interface
|
|
4854
|
+
interface DsRadioAttributes {
|
|
4490
4855
|
"value": string;
|
|
4856
|
+
"size": RadioSize;
|
|
4491
4857
|
"name": string | undefined;
|
|
4858
|
+
"form": string | undefined;
|
|
4492
4859
|
"disabled": boolean;
|
|
4493
4860
|
"required": boolean;
|
|
4494
4861
|
"requiredMessage": string;
|
|
@@ -4576,13 +4943,31 @@ declare namespace LocalJSX {
|
|
|
4576
4943
|
"background": SkeletonBackground | undefined;
|
|
4577
4944
|
}
|
|
4578
4945
|
interface DsSliderAttributes {
|
|
4579
|
-
"value":
|
|
4946
|
+
"value": SliderValue;
|
|
4580
4947
|
"min": number;
|
|
4581
4948
|
"max": number;
|
|
4582
4949
|
"step": number;
|
|
4583
|
-
"
|
|
4950
|
+
"minStepsBetweenValues": number;
|
|
4951
|
+
"label": string | undefined;
|
|
4952
|
+
"showValue": boolean;
|
|
4953
|
+
"size": SliderSize;
|
|
4954
|
+
"orientation": SliderOrientation;
|
|
4955
|
+
"thumbAlignment": SliderThumbAlignment;
|
|
4956
|
+
"name": string | undefined;
|
|
4957
|
+
"form": string | undefined;
|
|
4958
|
+
"disabled": boolean;
|
|
4959
|
+
"readOnly": boolean;
|
|
4584
4960
|
"isInactive": boolean;
|
|
4961
|
+
"ariaLabel": string | null;
|
|
4962
|
+
"ariaLabelledby": string | undefined;
|
|
4963
|
+
"ariaDescribedby": string | undefined;
|
|
4964
|
+
"startLabel": string;
|
|
4965
|
+
"endLabel": string;
|
|
4585
4966
|
"valueText": string | undefined;
|
|
4967
|
+
"locale": string | undefined;
|
|
4968
|
+
"valuePrefix": string;
|
|
4969
|
+
"valueSuffix": string;
|
|
4970
|
+
"rangeSeparator": string;
|
|
4586
4971
|
"inputId": string | undefined;
|
|
4587
4972
|
}
|
|
4588
4973
|
interface DsSwitchAttributes {
|
|
@@ -4692,13 +5077,13 @@ declare namespace LocalJSX {
|
|
|
4692
5077
|
"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] };
|
|
4693
5078
|
"ds-panel-sub-nav": Omit<DsPanelSubNav, keyof DsPanelSubNavAttributes> & { [K in keyof DsPanelSubNav & keyof DsPanelSubNavAttributes]?: DsPanelSubNav[K] } & { [K in keyof DsPanelSubNav & keyof DsPanelSubNavAttributes as `attr:${K}`]?: DsPanelSubNavAttributes[K] } & { [K in keyof DsPanelSubNav & keyof DsPanelSubNavAttributes as `prop:${K}`]?: DsPanelSubNav[K] };
|
|
4694
5079
|
"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] };
|
|
4695
|
-
"ds-radio
|
|
5080
|
+
"ds-radio": Omit<DsRadio, keyof DsRadioAttributes> & { [K in keyof DsRadio & keyof DsRadioAttributes]?: DsRadio[K] } & { [K in keyof DsRadio & keyof DsRadioAttributes as `attr:${K}`]?: DsRadioAttributes[K] } & { [K in keyof DsRadio & keyof DsRadioAttributes as `prop:${K}`]?: DsRadio[K] };
|
|
4696
5081
|
"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] };
|
|
4697
5082
|
"ds-select-multi": Omit<DsSelectMulti, keyof DsSelectMultiAttributes> & { [K in keyof DsSelectMulti & keyof DsSelectMultiAttributes]?: DsSelectMulti[K] } & { [K in keyof DsSelectMulti & keyof DsSelectMultiAttributes as `attr:${K}`]?: DsSelectMultiAttributes[K] } & { [K in keyof DsSelectMulti & keyof DsSelectMultiAttributes as `prop:${K}`]?: DsSelectMulti[K] };
|
|
4698
5083
|
"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] };
|
|
4699
5084
|
"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] };
|
|
4700
5085
|
"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] };
|
|
4701
|
-
"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] }
|
|
5086
|
+
"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] };
|
|
4702
5087
|
"ds-switch": Omit<DsSwitch, keyof DsSwitchAttributes> & { [K in keyof DsSwitch & keyof DsSwitchAttributes]?: DsSwitch[K] } & { [K in keyof DsSwitch & keyof DsSwitchAttributes as `attr:${K}`]?: DsSwitchAttributes[K] } & { [K in keyof DsSwitch & keyof DsSwitchAttributes as `prop:${K}`]?: DsSwitch[K] };
|
|
4703
5088
|
"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] };
|
|
4704
5089
|
"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] };
|
|
@@ -4759,7 +5144,7 @@ declare module "@stencil/core" {
|
|
|
4759
5144
|
"ds-panel-nav": LocalJSX.IntrinsicElements["ds-panel-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelNavElement>;
|
|
4760
5145
|
"ds-panel-sub-nav": LocalJSX.IntrinsicElements["ds-panel-sub-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelSubNavElement>;
|
|
4761
5146
|
"ds-panel-tools": LocalJSX.IntrinsicElements["ds-panel-tools"] & JSXBase.HTMLAttributes<HTMLDsPanelToolsElement>;
|
|
4762
|
-
"ds-radio
|
|
5147
|
+
"ds-radio": LocalJSX.IntrinsicElements["ds-radio"] & JSXBase.HTMLAttributes<HTMLDsRadioElement>;
|
|
4763
5148
|
"ds-select": LocalJSX.IntrinsicElements["ds-select"] & JSXBase.HTMLAttributes<HTMLDsSelectElement>;
|
|
4764
5149
|
"ds-select-multi": LocalJSX.IntrinsicElements["ds-select-multi"] & JSXBase.HTMLAttributes<HTMLDsSelectMultiElement>;
|
|
4765
5150
|
"ds-shell-gradient-picker": LocalJSX.IntrinsicElements["ds-shell-gradient-picker"] & JSXBase.HTMLAttributes<HTMLDsShellGradientPickerElement>;
|