@ds-mo/ui 0.8.7 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ds-button-group.d.ts +11 -0
- package/dist/components/ds-button-group.js +2 -0
- package/dist/components/ds-button-group.js.map +1 -0
- package/dist/components/ds-button.js +1 -1
- package/dist/components/ds-button.js.map +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-card.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-checkbox.js.map +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-fade.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-field.js.map +1 -1
- package/dist/components/ds-header.js +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-label-wrap.d.ts +11 -0
- package/dist/components/ds-label-wrap.js +2 -0
- package/dist/components/ds-label-wrap.js.map +1 -0
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-menu.js.map +1 -1
- package/dist/components/ds-modal.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-radio-group.js +1 -1
- package/dist/components/ds-scrollbar.js +1 -1
- package/dist/components/ds-select.d.ts +11 -0
- package/dist/components/ds-select.js +2 -0
- package/dist/components/ds-select.js.map +1 -0
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-surface.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-text.js +1 -1
- package/dist/components/ds-toast-provider.js +1 -1
- package/dist/components/ds-toggle-button-group.d.ts +11 -0
- package/dist/components/ds-toggle-button-group.js +2 -0
- package/dist/components/ds-toggle-button-group.js.map +1 -0
- package/dist/components/ds-toggle-button.d.ts +11 -0
- package/dist/components/ds-toggle-button.js +2 -0
- package/dist/components/ds-toggle-button.js.map +1 -0
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-Cakvrs26.js → p-CGuwZUFk.js} +2 -2
- package/dist/components/p-CrfnBySX.js +2 -0
- package/dist/components/p-CrfnBySX.js.map +1 -0
- package/dist/components/p-DRuXu8Ql.js +2 -0
- package/dist/components/p-DRuXu8Ql.js.map +1 -0
- package/dist/components/{p-CIMd6yG3.js → p-DZN5IIgI.js} +2 -2
- package/dist/components/p-DdN6WnFs.js +2 -0
- package/dist/components/p-DdN6WnFs.js.map +1 -0
- package/dist/types/.stencil/ButtonGroup/ButtonGroup.d.ts +29 -0
- package/dist/types/.stencil/LabelWrap/LabelWrap.d.ts +15 -0
- package/dist/types/.stencil/PanelNav/PanelNav.d.ts +5 -3
- package/dist/types/.stencil/Select/Select.d.ts +39 -0
- package/dist/types/.stencil/TabGroup/TabGroup.d.ts +13 -2
- package/dist/types/.stencil/ToggleButton/ToggleButton.d.ts +37 -0
- package/dist/types/.stencil/ToggleButtonGroup/ToggleButtonGroup.d.ts +33 -0
- package/dist/types/components.d.ts +471 -0
- package/package.json +1 -1
- package/src/angular/index.ts +5 -0
- package/src/angular/proxies.ts +147 -4
- /package/dist/components/{p-Cakvrs26.js.map → p-CGuwZUFk.js.map} +0 -0
- /package/dist/components/{p-CIMd6yG3.js.map → p-DZN5IIgI.js.map} +0 -0
|
@@ -9,6 +9,7 @@ import { AccordionItemData } from "./components/Accordion/Accordion";
|
|
|
9
9
|
import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
10
10
|
import { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
11
11
|
import { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
12
|
+
import { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
12
13
|
import { CardElevation, CardRadius } from "./components/Card/Card";
|
|
13
14
|
import { DividerOrientation } from "./components/Divider/Divider";
|
|
14
15
|
import { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
@@ -16,11 +17,13 @@ import { FadeSide } from "./components/Fade/Fade";
|
|
|
16
17
|
import { HeaderBackground } from "./components/Header/Header";
|
|
17
18
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
18
19
|
import { InputType } from "./components/Input/Input";
|
|
20
|
+
import { LabelWrapSize } from "./components/LabelWrap/LabelWrap";
|
|
19
21
|
import { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
20
22
|
import { ModalWidth } from "./components/Modal/Modal";
|
|
21
23
|
import { PanelNavVariant } from "./components/PanelNav/PanelNav";
|
|
22
24
|
import { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
23
25
|
import { ScrollbarVariant } from "./components/Scrollbar/Scrollbar";
|
|
26
|
+
import { SelectOption } from "./components/Select/Select";
|
|
24
27
|
import { SidebarWidth } from "./components/Sidebar/Sidebar";
|
|
25
28
|
import { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
26
29
|
import { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
@@ -29,11 +32,14 @@ import { SortState, TableColumn } from "./components/Table/Table";
|
|
|
29
32
|
import { TagBackground, TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
30
33
|
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
31
34
|
import { ToastPosition } from "./components/Toast/Toast";
|
|
35
|
+
import { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
36
|
+
import { ToggleGroupBackground, ToggleGroupElevation, ToggleGroupItem, ToggleGroupSize } from "./components/ToggleButtonGroup/ToggleButtonGroup";
|
|
32
37
|
import { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
33
38
|
export { AccordionItemData } from "./components/Accordion/Accordion";
|
|
34
39
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
35
40
|
export { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
36
41
|
export { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
42
|
+
export { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
37
43
|
export { CardElevation, CardRadius } from "./components/Card/Card";
|
|
38
44
|
export { DividerOrientation } from "./components/Divider/Divider";
|
|
39
45
|
export { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
@@ -41,11 +47,13 @@ export { FadeSide } from "./components/Fade/Fade";
|
|
|
41
47
|
export { HeaderBackground } from "./components/Header/Header";
|
|
42
48
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
43
49
|
export { InputType } from "./components/Input/Input";
|
|
50
|
+
export { LabelWrapSize } from "./components/LabelWrap/LabelWrap";
|
|
44
51
|
export { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
45
52
|
export { ModalWidth } from "./components/Modal/Modal";
|
|
46
53
|
export { PanelNavVariant } from "./components/PanelNav/PanelNav";
|
|
47
54
|
export { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
48
55
|
export { ScrollbarVariant } from "./components/Scrollbar/Scrollbar";
|
|
56
|
+
export { SelectOption } from "./components/Select/Select";
|
|
49
57
|
export { SidebarWidth } from "./components/Sidebar/Sidebar";
|
|
50
58
|
export { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
51
59
|
export { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
@@ -54,6 +62,8 @@ export { SortState, TableColumn } from "./components/Table/Table";
|
|
|
54
62
|
export { TagBackground, TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
55
63
|
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
56
64
|
export { ToastPosition } from "./components/Toast/Toast";
|
|
65
|
+
export { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
66
|
+
export { ToggleGroupBackground, ToggleGroupElevation, ToggleGroupItem, ToggleGroupSize } from "./components/ToggleButtonGroup/ToggleButtonGroup";
|
|
57
67
|
export { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
58
68
|
export namespace Components {
|
|
59
69
|
interface DsAccordion {
|
|
@@ -178,6 +188,29 @@ export namespace Components {
|
|
|
178
188
|
"variant": ButtonVariant;
|
|
179
189
|
"width": string | undefined;
|
|
180
190
|
}
|
|
191
|
+
interface DsButtonGroup {
|
|
192
|
+
/**
|
|
193
|
+
* Chrome level for the group container.
|
|
194
|
+
* @default 'flat'
|
|
195
|
+
*/
|
|
196
|
+
"elevation": ButtonGroupElevation;
|
|
197
|
+
/**
|
|
198
|
+
* Array of button descriptors. Set via JS property.
|
|
199
|
+
* @example el.items = [{ label: 'Filter', icon: 'Filter' }, { label: 'Sort' }];
|
|
200
|
+
* @default []
|
|
201
|
+
*/
|
|
202
|
+
"items": ButtonGroupItem[];
|
|
203
|
+
/**
|
|
204
|
+
* Pill shape for group + buttons.
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
207
|
+
"rounded": boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Size passed to each ds-button.
|
|
210
|
+
* @default 'md'
|
|
211
|
+
*/
|
|
212
|
+
"size": ButtonGroupSize;
|
|
213
|
+
}
|
|
181
214
|
interface DsCard {
|
|
182
215
|
/**
|
|
183
216
|
* @default 'elevated'
|
|
@@ -300,6 +333,23 @@ export namespace Components {
|
|
|
300
333
|
*/
|
|
301
334
|
"value": string;
|
|
302
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Internal utility wrapper that kills line-height struts and adds optical
|
|
338
|
+
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
339
|
+
* Not intended as a standalone consumer-facing component — internal use only.
|
|
340
|
+
*/
|
|
341
|
+
interface DsLabelWrap {
|
|
342
|
+
/**
|
|
343
|
+
* Typography size — controls optical horizontal padding.
|
|
344
|
+
* @default 'md'
|
|
345
|
+
*/
|
|
346
|
+
"size": LabelWrapSize;
|
|
347
|
+
/**
|
|
348
|
+
* Enable truncation with ellipsis — use inside full-width containers.
|
|
349
|
+
* @default false
|
|
350
|
+
*/
|
|
351
|
+
"truncate": boolean;
|
|
352
|
+
}
|
|
303
353
|
interface DsLoader {
|
|
304
354
|
/**
|
|
305
355
|
* Accessible label for standalone usage. Wraps the spinner in a live region and renders the label visually-hidden. Omit when the host element already conveys busy state via aria-busy.
|
|
@@ -402,6 +452,11 @@ export namespace Components {
|
|
|
402
452
|
* @default ''
|
|
403
453
|
*/
|
|
404
454
|
"currentUrl": string;
|
|
455
|
+
/**
|
|
456
|
+
* When `true`, the component does not run its own View Transition on variant change — it just updates the rendered surface synchronously. Use this when the host app orchestrates the page transition itself (e.g. Angular Router's `withViewTransitions`), so the two don't fight or nest.
|
|
457
|
+
* @default false
|
|
458
|
+
*/
|
|
459
|
+
"disableViewTransition": boolean;
|
|
405
460
|
/**
|
|
406
461
|
* JSON string of `PanelNavGroup[]`
|
|
407
462
|
* @default '[]'
|
|
@@ -458,6 +513,31 @@ export namespace Components {
|
|
|
458
513
|
*/
|
|
459
514
|
"variant": ScrollbarVariant;
|
|
460
515
|
}
|
|
516
|
+
interface DsSelect {
|
|
517
|
+
"ariaLabel": string | undefined;
|
|
518
|
+
"ariaLabelledby": string | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* Disables interaction.
|
|
521
|
+
* @default false
|
|
522
|
+
*/
|
|
523
|
+
"inactive": boolean;
|
|
524
|
+
/**
|
|
525
|
+
* Array of options. Set via JS property.
|
|
526
|
+
* @example el.options = [{ label: 'Apple', value: 'apple' }];
|
|
527
|
+
* @default []
|
|
528
|
+
*/
|
|
529
|
+
"options": SelectOption[];
|
|
530
|
+
/**
|
|
531
|
+
* Placeholder shown when no value is selected.
|
|
532
|
+
* @default 'Select option'
|
|
533
|
+
*/
|
|
534
|
+
"placeholder": string;
|
|
535
|
+
/**
|
|
536
|
+
* Currently selected value.
|
|
537
|
+
* @default ''
|
|
538
|
+
*/
|
|
539
|
+
"value": string;
|
|
540
|
+
}
|
|
461
541
|
interface DsSidebar {
|
|
462
542
|
/**
|
|
463
543
|
* @default false
|
|
@@ -568,6 +648,10 @@ export namespace Components {
|
|
|
568
648
|
"ariaLabel": string | undefined;
|
|
569
649
|
"ariaLabelledby": string | undefined;
|
|
570
650
|
"background": TabBackground | undefined;
|
|
651
|
+
/**
|
|
652
|
+
* @default 'horizontal'
|
|
653
|
+
*/
|
|
654
|
+
"orientation": 'horizontal' | 'vertical';
|
|
571
655
|
/**
|
|
572
656
|
* @default []
|
|
573
657
|
*/
|
|
@@ -693,6 +777,79 @@ export namespace Components {
|
|
|
693
777
|
*/
|
|
694
778
|
"inactive": boolean;
|
|
695
779
|
}
|
|
780
|
+
interface DsToggleButton {
|
|
781
|
+
"ariaLabel": string | undefined;
|
|
782
|
+
/**
|
|
783
|
+
* Parent surface context — adjusts hover tokens for colored backgrounds.
|
|
784
|
+
*/
|
|
785
|
+
"background": ToggleButtonBackground | undefined;
|
|
786
|
+
/**
|
|
787
|
+
* Chrome level. none — ghost (transparent, no border, no shadow) flat — border only, transparent bg elevated — bg-primary + shadow [default] floating — bg-primary + FAB-strength shadow
|
|
788
|
+
* @default 'elevated'
|
|
789
|
+
*/
|
|
790
|
+
"elevation": ToggleButtonElevation;
|
|
791
|
+
/**
|
|
792
|
+
* Icon name for <ds-icon>. Set via JS property.
|
|
793
|
+
* @example el.icon = 'GridView';
|
|
794
|
+
*/
|
|
795
|
+
"icon": string | undefined;
|
|
796
|
+
/**
|
|
797
|
+
* Disables interaction.
|
|
798
|
+
* @default false
|
|
799
|
+
*/
|
|
800
|
+
"inactive": boolean;
|
|
801
|
+
/**
|
|
802
|
+
* Label text.
|
|
803
|
+
*/
|
|
804
|
+
"label": string | undefined;
|
|
805
|
+
/**
|
|
806
|
+
* Controlled pressed state.
|
|
807
|
+
* @default false
|
|
808
|
+
*/
|
|
809
|
+
"pressed": boolean;
|
|
810
|
+
/**
|
|
811
|
+
* Pill shape.
|
|
812
|
+
* @default false
|
|
813
|
+
*/
|
|
814
|
+
"rounded": boolean;
|
|
815
|
+
/**
|
|
816
|
+
* Size: md (32px), sm (24px), xs (16px).
|
|
817
|
+
* @default 'md'
|
|
818
|
+
*/
|
|
819
|
+
"size": ToggleButtonSize;
|
|
820
|
+
}
|
|
821
|
+
interface DsToggleButtonGroup {
|
|
822
|
+
/**
|
|
823
|
+
* Parent surface context.
|
|
824
|
+
*/
|
|
825
|
+
"background": ToggleGroupBackground | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* Chrome level for the group container.
|
|
828
|
+
* @default 'elevated'
|
|
829
|
+
*/
|
|
830
|
+
"elevation": ToggleGroupElevation;
|
|
831
|
+
/**
|
|
832
|
+
* Array of item descriptors. Set via JS property.
|
|
833
|
+
* @example el.items = [{ id: 'list', label: 'List' }, { id: 'grid', icon: 'GridView' }];
|
|
834
|
+
* @default []
|
|
835
|
+
*/
|
|
836
|
+
"items": ToggleGroupItem[];
|
|
837
|
+
/**
|
|
838
|
+
* Pill shape for group + buttons.
|
|
839
|
+
* @default false
|
|
840
|
+
*/
|
|
841
|
+
"rounded": boolean;
|
|
842
|
+
/**
|
|
843
|
+
* Size passed to each ds-toggle-button.
|
|
844
|
+
* @default 'md'
|
|
845
|
+
*/
|
|
846
|
+
"size": ToggleGroupSize;
|
|
847
|
+
/**
|
|
848
|
+
* ID of the currently selected / pressed item.
|
|
849
|
+
* @default ''
|
|
850
|
+
*/
|
|
851
|
+
"value": string;
|
|
852
|
+
}
|
|
696
853
|
interface DsTooltip {
|
|
697
854
|
/**
|
|
698
855
|
* @default 'center'
|
|
@@ -738,6 +895,10 @@ export interface DsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
738
895
|
detail: T;
|
|
739
896
|
target: HTMLDsButtonElement;
|
|
740
897
|
}
|
|
898
|
+
export interface DsButtonGroupCustomEvent<T> extends CustomEvent<T> {
|
|
899
|
+
detail: T;
|
|
900
|
+
target: HTMLDsButtonGroupElement;
|
|
901
|
+
}
|
|
741
902
|
export interface DsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
742
903
|
detail: T;
|
|
743
904
|
target: HTMLDsCheckboxElement;
|
|
@@ -766,6 +927,10 @@ export interface DsRadioGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
766
927
|
detail: T;
|
|
767
928
|
target: HTMLDsRadioGroupElement;
|
|
768
929
|
}
|
|
930
|
+
export interface DsSelectCustomEvent<T> extends CustomEvent<T> {
|
|
931
|
+
detail: T;
|
|
932
|
+
target: HTMLDsSelectElement;
|
|
933
|
+
}
|
|
769
934
|
export interface DsSidebarCustomEvent<T> extends CustomEvent<T> {
|
|
770
935
|
detail: T;
|
|
771
936
|
target: HTMLDsSidebarElement;
|
|
@@ -790,6 +955,14 @@ export interface DsToggleCustomEvent<T> extends CustomEvent<T> {
|
|
|
790
955
|
detail: T;
|
|
791
956
|
target: HTMLDsToggleElement;
|
|
792
957
|
}
|
|
958
|
+
export interface DsToggleButtonCustomEvent<T> extends CustomEvent<T> {
|
|
959
|
+
detail: T;
|
|
960
|
+
target: HTMLDsToggleButtonElement;
|
|
961
|
+
}
|
|
962
|
+
export interface DsToggleButtonGroupCustomEvent<T> extends CustomEvent<T> {
|
|
963
|
+
detail: T;
|
|
964
|
+
target: HTMLDsToggleButtonGroupElement;
|
|
965
|
+
}
|
|
793
966
|
declare global {
|
|
794
967
|
interface HTMLDsAccordionElementEventMap {
|
|
795
968
|
"dsExpandedChange": string[];
|
|
@@ -867,6 +1040,23 @@ declare global {
|
|
|
867
1040
|
prototype: HTMLDsButtonElement;
|
|
868
1041
|
new (): HTMLDsButtonElement;
|
|
869
1042
|
};
|
|
1043
|
+
interface HTMLDsButtonGroupElementEventMap {
|
|
1044
|
+
"dsClick": number;
|
|
1045
|
+
}
|
|
1046
|
+
interface HTMLDsButtonGroupElement extends Components.DsButtonGroup, HTMLStencilElement {
|
|
1047
|
+
addEventListener<K extends keyof HTMLDsButtonGroupElementEventMap>(type: K, listener: (this: HTMLDsButtonGroupElement, ev: DsButtonGroupCustomEvent<HTMLDsButtonGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1048
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1049
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1050
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1051
|
+
removeEventListener<K extends keyof HTMLDsButtonGroupElementEventMap>(type: K, listener: (this: HTMLDsButtonGroupElement, ev: DsButtonGroupCustomEvent<HTMLDsButtonGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1052
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1053
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1054
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1055
|
+
}
|
|
1056
|
+
var HTMLDsButtonGroupElement: {
|
|
1057
|
+
prototype: HTMLDsButtonGroupElement;
|
|
1058
|
+
new (): HTMLDsButtonGroupElement;
|
|
1059
|
+
};
|
|
870
1060
|
interface HTMLDsCardElement extends Components.DsCard, HTMLStencilElement {
|
|
871
1061
|
}
|
|
872
1062
|
var HTMLDsCardElement: {
|
|
@@ -944,6 +1134,17 @@ declare global {
|
|
|
944
1134
|
prototype: HTMLDsInputElement;
|
|
945
1135
|
new (): HTMLDsInputElement;
|
|
946
1136
|
};
|
|
1137
|
+
/**
|
|
1138
|
+
* Internal utility wrapper that kills line-height struts and adds optical
|
|
1139
|
+
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
1140
|
+
* Not intended as a standalone consumer-facing component — internal use only.
|
|
1141
|
+
*/
|
|
1142
|
+
interface HTMLDsLabelWrapElement extends Components.DsLabelWrap, HTMLStencilElement {
|
|
1143
|
+
}
|
|
1144
|
+
var HTMLDsLabelWrapElement: {
|
|
1145
|
+
prototype: HTMLDsLabelWrapElement;
|
|
1146
|
+
new (): HTMLDsLabelWrapElement;
|
|
1147
|
+
};
|
|
947
1148
|
interface HTMLDsLoaderElement extends Components.DsLoader, HTMLStencilElement {
|
|
948
1149
|
}
|
|
949
1150
|
var HTMLDsLoaderElement: {
|
|
@@ -1044,6 +1245,23 @@ declare global {
|
|
|
1044
1245
|
prototype: HTMLDsScrollbarElement;
|
|
1045
1246
|
new (): HTMLDsScrollbarElement;
|
|
1046
1247
|
};
|
|
1248
|
+
interface HTMLDsSelectElementEventMap {
|
|
1249
|
+
"dsChange": string;
|
|
1250
|
+
}
|
|
1251
|
+
interface HTMLDsSelectElement extends Components.DsSelect, HTMLStencilElement {
|
|
1252
|
+
addEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1253
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1254
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1255
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1256
|
+
removeEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1257
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1258
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1259
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1260
|
+
}
|
|
1261
|
+
var HTMLDsSelectElement: {
|
|
1262
|
+
prototype: HTMLDsSelectElement;
|
|
1263
|
+
new (): HTMLDsSelectElement;
|
|
1264
|
+
};
|
|
1047
1265
|
interface HTMLDsSidebarElementEventMap {
|
|
1048
1266
|
"dsToggle": void;
|
|
1049
1267
|
"dsWidthChange": SidebarWidth;
|
|
@@ -1175,6 +1393,40 @@ declare global {
|
|
|
1175
1393
|
prototype: HTMLDsToggleElement;
|
|
1176
1394
|
new (): HTMLDsToggleElement;
|
|
1177
1395
|
};
|
|
1396
|
+
interface HTMLDsToggleButtonElementEventMap {
|
|
1397
|
+
"dsChange": boolean;
|
|
1398
|
+
}
|
|
1399
|
+
interface HTMLDsToggleButtonElement extends Components.DsToggleButton, HTMLStencilElement {
|
|
1400
|
+
addEventListener<K extends keyof HTMLDsToggleButtonElementEventMap>(type: K, listener: (this: HTMLDsToggleButtonElement, ev: DsToggleButtonCustomEvent<HTMLDsToggleButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1401
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1402
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1403
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1404
|
+
removeEventListener<K extends keyof HTMLDsToggleButtonElementEventMap>(type: K, listener: (this: HTMLDsToggleButtonElement, ev: DsToggleButtonCustomEvent<HTMLDsToggleButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1405
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1406
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1407
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1408
|
+
}
|
|
1409
|
+
var HTMLDsToggleButtonElement: {
|
|
1410
|
+
prototype: HTMLDsToggleButtonElement;
|
|
1411
|
+
new (): HTMLDsToggleButtonElement;
|
|
1412
|
+
};
|
|
1413
|
+
interface HTMLDsToggleButtonGroupElementEventMap {
|
|
1414
|
+
"dsChange": string;
|
|
1415
|
+
}
|
|
1416
|
+
interface HTMLDsToggleButtonGroupElement extends Components.DsToggleButtonGroup, HTMLStencilElement {
|
|
1417
|
+
addEventListener<K extends keyof HTMLDsToggleButtonGroupElementEventMap>(type: K, listener: (this: HTMLDsToggleButtonGroupElement, ev: DsToggleButtonGroupCustomEvent<HTMLDsToggleButtonGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1418
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1419
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1420
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1421
|
+
removeEventListener<K extends keyof HTMLDsToggleButtonGroupElementEventMap>(type: K, listener: (this: HTMLDsToggleButtonGroupElement, ev: DsToggleButtonGroupCustomEvent<HTMLDsToggleButtonGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1422
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1423
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1424
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1425
|
+
}
|
|
1426
|
+
var HTMLDsToggleButtonGroupElement: {
|
|
1427
|
+
prototype: HTMLDsToggleButtonGroupElement;
|
|
1428
|
+
new (): HTMLDsToggleButtonGroupElement;
|
|
1429
|
+
};
|
|
1178
1430
|
interface HTMLDsTooltipElement extends Components.DsTooltip, HTMLStencilElement {
|
|
1179
1431
|
}
|
|
1180
1432
|
var HTMLDsTooltipElement: {
|
|
@@ -1187,6 +1439,7 @@ declare global {
|
|
|
1187
1439
|
"ds-banner": HTMLDsBannerElement;
|
|
1188
1440
|
"ds-breadcrumb": HTMLDsBreadcrumbElement;
|
|
1189
1441
|
"ds-button": HTMLDsButtonElement;
|
|
1442
|
+
"ds-button-group": HTMLDsButtonGroupElement;
|
|
1190
1443
|
"ds-card": HTMLDsCardElement;
|
|
1191
1444
|
"ds-checkbox": HTMLDsCheckboxElement;
|
|
1192
1445
|
"ds-divider": HTMLDsDividerElement;
|
|
@@ -1196,6 +1449,7 @@ declare global {
|
|
|
1196
1449
|
"ds-header": HTMLDsHeaderElement;
|
|
1197
1450
|
"ds-icon": HTMLDsIconElement;
|
|
1198
1451
|
"ds-input": HTMLDsInputElement;
|
|
1452
|
+
"ds-label-wrap": HTMLDsLabelWrapElement;
|
|
1199
1453
|
"ds-loader": HTMLDsLoaderElement;
|
|
1200
1454
|
"ds-menu": HTMLDsMenuElement;
|
|
1201
1455
|
"ds-modal": HTMLDsModalElement;
|
|
@@ -1203,6 +1457,7 @@ declare global {
|
|
|
1203
1457
|
"ds-panel-nav": HTMLDsPanelNavElement;
|
|
1204
1458
|
"ds-radio-group": HTMLDsRadioGroupElement;
|
|
1205
1459
|
"ds-scrollbar": HTMLDsScrollbarElement;
|
|
1460
|
+
"ds-select": HTMLDsSelectElement;
|
|
1206
1461
|
"ds-sidebar": HTMLDsSidebarElement;
|
|
1207
1462
|
"ds-skeleton": HTMLDsSkeletonElement;
|
|
1208
1463
|
"ds-slider": HTMLDsSliderElement;
|
|
@@ -1213,6 +1468,8 @@ declare global {
|
|
|
1213
1468
|
"ds-text": HTMLDsTextElement;
|
|
1214
1469
|
"ds-toast-provider": HTMLDsToastProviderElement;
|
|
1215
1470
|
"ds-toggle": HTMLDsToggleElement;
|
|
1471
|
+
"ds-toggle-button": HTMLDsToggleButtonElement;
|
|
1472
|
+
"ds-toggle-button-group": HTMLDsToggleButtonGroupElement;
|
|
1216
1473
|
"ds-tooltip": HTMLDsTooltipElement;
|
|
1217
1474
|
}
|
|
1218
1475
|
}
|
|
@@ -1347,6 +1604,33 @@ declare namespace LocalJSX {
|
|
|
1347
1604
|
"variant"?: ButtonVariant;
|
|
1348
1605
|
"width"?: string | undefined;
|
|
1349
1606
|
}
|
|
1607
|
+
interface DsButtonGroup {
|
|
1608
|
+
/**
|
|
1609
|
+
* Chrome level for the group container.
|
|
1610
|
+
* @default 'flat'
|
|
1611
|
+
*/
|
|
1612
|
+
"elevation"?: ButtonGroupElevation;
|
|
1613
|
+
/**
|
|
1614
|
+
* Array of button descriptors. Set via JS property.
|
|
1615
|
+
* @example el.items = [{ label: 'Filter', icon: 'Filter' }, { label: 'Sort' }];
|
|
1616
|
+
* @default []
|
|
1617
|
+
*/
|
|
1618
|
+
"items"?: ButtonGroupItem[];
|
|
1619
|
+
/**
|
|
1620
|
+
* Emits the index of the clicked item.
|
|
1621
|
+
*/
|
|
1622
|
+
"onDsClick"?: (event: DsButtonGroupCustomEvent<number>) => void;
|
|
1623
|
+
/**
|
|
1624
|
+
* Pill shape for group + buttons.
|
|
1625
|
+
* @default false
|
|
1626
|
+
*/
|
|
1627
|
+
"rounded"?: boolean;
|
|
1628
|
+
/**
|
|
1629
|
+
* Size passed to each ds-button.
|
|
1630
|
+
* @default 'md'
|
|
1631
|
+
*/
|
|
1632
|
+
"size"?: ButtonGroupSize;
|
|
1633
|
+
}
|
|
1350
1634
|
interface DsCard {
|
|
1351
1635
|
/**
|
|
1352
1636
|
* @default 'elevated'
|
|
@@ -1471,6 +1755,23 @@ declare namespace LocalJSX {
|
|
|
1471
1755
|
*/
|
|
1472
1756
|
"value"?: string;
|
|
1473
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Internal utility wrapper that kills line-height struts and adds optical
|
|
1760
|
+
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
1761
|
+
* Not intended as a standalone consumer-facing component — internal use only.
|
|
1762
|
+
*/
|
|
1763
|
+
interface DsLabelWrap {
|
|
1764
|
+
/**
|
|
1765
|
+
* Typography size — controls optical horizontal padding.
|
|
1766
|
+
* @default 'md'
|
|
1767
|
+
*/
|
|
1768
|
+
"size"?: LabelWrapSize;
|
|
1769
|
+
/**
|
|
1770
|
+
* Enable truncation with ellipsis — use inside full-width containers.
|
|
1771
|
+
* @default false
|
|
1772
|
+
*/
|
|
1773
|
+
"truncate"?: boolean;
|
|
1774
|
+
}
|
|
1474
1775
|
interface DsLoader {
|
|
1475
1776
|
/**
|
|
1476
1777
|
* Accessible label for standalone usage. Wraps the spinner in a live region and renders the label visually-hidden. Omit when the host element already conveys busy state via aria-busy.
|
|
@@ -1577,6 +1878,11 @@ declare namespace LocalJSX {
|
|
|
1577
1878
|
* @default ''
|
|
1578
1879
|
*/
|
|
1579
1880
|
"currentUrl"?: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* When `true`, the component does not run its own View Transition on variant change — it just updates the rendered surface synchronously. Use this when the host app orchestrates the page transition itself (e.g. Angular Router's `withViewTransitions`), so the two don't fight or nest.
|
|
1883
|
+
* @default false
|
|
1884
|
+
*/
|
|
1885
|
+
"disableViewTransition"?: boolean;
|
|
1580
1886
|
/**
|
|
1581
1887
|
* JSON string of `PanelNavGroup[]`
|
|
1582
1888
|
* @default '[]'
|
|
@@ -1646,6 +1952,35 @@ declare namespace LocalJSX {
|
|
|
1646
1952
|
*/
|
|
1647
1953
|
"variant"?: ScrollbarVariant;
|
|
1648
1954
|
}
|
|
1955
|
+
interface DsSelect {
|
|
1956
|
+
"ariaLabel"?: string | undefined;
|
|
1957
|
+
"ariaLabelledby"?: string | undefined;
|
|
1958
|
+
/**
|
|
1959
|
+
* Disables interaction.
|
|
1960
|
+
* @default false
|
|
1961
|
+
*/
|
|
1962
|
+
"inactive"?: boolean;
|
|
1963
|
+
/**
|
|
1964
|
+
* Emits the selected value string.
|
|
1965
|
+
*/
|
|
1966
|
+
"onDsChange"?: (event: DsSelectCustomEvent<string>) => void;
|
|
1967
|
+
/**
|
|
1968
|
+
* Array of options. Set via JS property.
|
|
1969
|
+
* @example el.options = [{ label: 'Apple', value: 'apple' }];
|
|
1970
|
+
* @default []
|
|
1971
|
+
*/
|
|
1972
|
+
"options"?: SelectOption[];
|
|
1973
|
+
/**
|
|
1974
|
+
* Placeholder shown when no value is selected.
|
|
1975
|
+
* @default 'Select option'
|
|
1976
|
+
*/
|
|
1977
|
+
"placeholder"?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* Currently selected value.
|
|
1980
|
+
* @default ''
|
|
1981
|
+
*/
|
|
1982
|
+
"value"?: string;
|
|
1983
|
+
}
|
|
1649
1984
|
interface DsSidebar {
|
|
1650
1985
|
/**
|
|
1651
1986
|
* @default false
|
|
@@ -1760,6 +2095,10 @@ declare namespace LocalJSX {
|
|
|
1760
2095
|
"ariaLabelledby"?: string | undefined;
|
|
1761
2096
|
"background"?: TabBackground | undefined;
|
|
1762
2097
|
"onDsChange"?: (event: DsTabGroupCustomEvent<string>) => void;
|
|
2098
|
+
/**
|
|
2099
|
+
* @default 'horizontal'
|
|
2100
|
+
*/
|
|
2101
|
+
"orientation"?: 'horizontal' | 'vertical';
|
|
1763
2102
|
/**
|
|
1764
2103
|
* @default []
|
|
1765
2104
|
*/
|
|
@@ -1901,6 +2240,87 @@ declare namespace LocalJSX {
|
|
|
1901
2240
|
"inactive"?: boolean;
|
|
1902
2241
|
"onDsChange"?: (event: DsToggleCustomEvent<boolean>) => void;
|
|
1903
2242
|
}
|
|
2243
|
+
interface DsToggleButton {
|
|
2244
|
+
"ariaLabel"?: string | undefined;
|
|
2245
|
+
/**
|
|
2246
|
+
* Parent surface context — adjusts hover tokens for colored backgrounds.
|
|
2247
|
+
*/
|
|
2248
|
+
"background"?: ToggleButtonBackground | undefined;
|
|
2249
|
+
/**
|
|
2250
|
+
* Chrome level. none — ghost (transparent, no border, no shadow) flat — border only, transparent bg elevated — bg-primary + shadow [default] floating — bg-primary + FAB-strength shadow
|
|
2251
|
+
* @default 'elevated'
|
|
2252
|
+
*/
|
|
2253
|
+
"elevation"?: ToggleButtonElevation;
|
|
2254
|
+
/**
|
|
2255
|
+
* Icon name for <ds-icon>. Set via JS property.
|
|
2256
|
+
* @example el.icon = 'GridView';
|
|
2257
|
+
*/
|
|
2258
|
+
"icon"?: string | undefined;
|
|
2259
|
+
/**
|
|
2260
|
+
* Disables interaction.
|
|
2261
|
+
* @default false
|
|
2262
|
+
*/
|
|
2263
|
+
"inactive"?: boolean;
|
|
2264
|
+
/**
|
|
2265
|
+
* Label text.
|
|
2266
|
+
*/
|
|
2267
|
+
"label"?: string | undefined;
|
|
2268
|
+
/**
|
|
2269
|
+
* Emits the new pressed value (!pressed) on click.
|
|
2270
|
+
*/
|
|
2271
|
+
"onDsChange"?: (event: DsToggleButtonCustomEvent<boolean>) => void;
|
|
2272
|
+
/**
|
|
2273
|
+
* Controlled pressed state.
|
|
2274
|
+
* @default false
|
|
2275
|
+
*/
|
|
2276
|
+
"pressed"?: boolean;
|
|
2277
|
+
/**
|
|
2278
|
+
* Pill shape.
|
|
2279
|
+
* @default false
|
|
2280
|
+
*/
|
|
2281
|
+
"rounded"?: boolean;
|
|
2282
|
+
/**
|
|
2283
|
+
* Size: md (32px), sm (24px), xs (16px).
|
|
2284
|
+
* @default 'md'
|
|
2285
|
+
*/
|
|
2286
|
+
"size"?: ToggleButtonSize;
|
|
2287
|
+
}
|
|
2288
|
+
interface DsToggleButtonGroup {
|
|
2289
|
+
/**
|
|
2290
|
+
* Parent surface context.
|
|
2291
|
+
*/
|
|
2292
|
+
"background"?: ToggleGroupBackground | undefined;
|
|
2293
|
+
/**
|
|
2294
|
+
* Chrome level for the group container.
|
|
2295
|
+
* @default 'elevated'
|
|
2296
|
+
*/
|
|
2297
|
+
"elevation"?: ToggleGroupElevation;
|
|
2298
|
+
/**
|
|
2299
|
+
* Array of item descriptors. Set via JS property.
|
|
2300
|
+
* @example el.items = [{ id: 'list', label: 'List' }, { id: 'grid', icon: 'GridView' }];
|
|
2301
|
+
* @default []
|
|
2302
|
+
*/
|
|
2303
|
+
"items"?: ToggleGroupItem[];
|
|
2304
|
+
/**
|
|
2305
|
+
* Emits the id of the newly selected item.
|
|
2306
|
+
*/
|
|
2307
|
+
"onDsChange"?: (event: DsToggleButtonGroupCustomEvent<string>) => void;
|
|
2308
|
+
/**
|
|
2309
|
+
* Pill shape for group + buttons.
|
|
2310
|
+
* @default false
|
|
2311
|
+
*/
|
|
2312
|
+
"rounded"?: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* Size passed to each ds-toggle-button.
|
|
2315
|
+
* @default 'md'
|
|
2316
|
+
*/
|
|
2317
|
+
"size"?: ToggleGroupSize;
|
|
2318
|
+
/**
|
|
2319
|
+
* ID of the currently selected / pressed item.
|
|
2320
|
+
* @default ''
|
|
2321
|
+
*/
|
|
2322
|
+
"value"?: string;
|
|
2323
|
+
}
|
|
1904
2324
|
interface DsTooltip {
|
|
1905
2325
|
/**
|
|
1906
2326
|
* @default 'center'
|
|
@@ -1972,6 +2392,11 @@ declare namespace LocalJSX {
|
|
|
1972
2392
|
"ariaLabel": string | undefined;
|
|
1973
2393
|
"ariaLabelledby": string | undefined;
|
|
1974
2394
|
}
|
|
2395
|
+
interface DsButtonGroupAttributes {
|
|
2396
|
+
"elevation": ButtonGroupElevation;
|
|
2397
|
+
"size": ButtonGroupSize;
|
|
2398
|
+
"rounded": boolean;
|
|
2399
|
+
}
|
|
1975
2400
|
interface DsCardAttributes {
|
|
1976
2401
|
"elevation": CardElevation;
|
|
1977
2402
|
"radius": CardRadius;
|
|
@@ -2022,6 +2447,10 @@ declare namespace LocalJSX {
|
|
|
2022
2447
|
"ariaLabelledby": string | undefined;
|
|
2023
2448
|
"ariaDescribedby": string | undefined;
|
|
2024
2449
|
}
|
|
2450
|
+
interface DsLabelWrapAttributes {
|
|
2451
|
+
"size": LabelWrapSize;
|
|
2452
|
+
"truncate": boolean;
|
|
2453
|
+
}
|
|
2025
2454
|
interface DsLoaderAttributes {
|
|
2026
2455
|
"size": number;
|
|
2027
2456
|
"label": string | undefined;
|
|
@@ -2050,6 +2479,7 @@ declare namespace LocalJSX {
|
|
|
2050
2479
|
}
|
|
2051
2480
|
interface DsPanelNavAttributes {
|
|
2052
2481
|
"variant": PanelNavVariant;
|
|
2482
|
+
"disableViewTransition": boolean;
|
|
2053
2483
|
"groups": string;
|
|
2054
2484
|
"activeId": string;
|
|
2055
2485
|
"collapsed": boolean;
|
|
@@ -2070,6 +2500,13 @@ declare namespace LocalJSX {
|
|
|
2070
2500
|
"variant": ScrollbarVariant;
|
|
2071
2501
|
"showTrackOnHover": boolean;
|
|
2072
2502
|
}
|
|
2503
|
+
interface DsSelectAttributes {
|
|
2504
|
+
"value": string;
|
|
2505
|
+
"placeholder": string;
|
|
2506
|
+
"inactive": boolean;
|
|
2507
|
+
"ariaLabel": string | undefined;
|
|
2508
|
+
"ariaLabelledby": string | undefined;
|
|
2509
|
+
}
|
|
2073
2510
|
interface DsSidebarAttributes {
|
|
2074
2511
|
"collapsed": boolean;
|
|
2075
2512
|
"width": string;
|
|
@@ -2110,6 +2547,7 @@ declare namespace LocalJSX {
|
|
|
2110
2547
|
"background": TabBackground | undefined;
|
|
2111
2548
|
"ariaLabel": string | undefined;
|
|
2112
2549
|
"ariaLabelledby": string | undefined;
|
|
2550
|
+
"orientation": 'horizontal' | 'vertical';
|
|
2113
2551
|
}
|
|
2114
2552
|
interface DsTableAttributes {
|
|
2115
2553
|
"loading": boolean;
|
|
@@ -2150,6 +2588,24 @@ declare namespace LocalJSX {
|
|
|
2150
2588
|
"checked": boolean;
|
|
2151
2589
|
"inactive": boolean;
|
|
2152
2590
|
}
|
|
2591
|
+
interface DsToggleButtonAttributes {
|
|
2592
|
+
"elevation": ToggleButtonElevation;
|
|
2593
|
+
"label": string | undefined;
|
|
2594
|
+
"icon": string | undefined;
|
|
2595
|
+
"size": ToggleButtonSize;
|
|
2596
|
+
"rounded": boolean;
|
|
2597
|
+
"background": ToggleButtonBackground | undefined;
|
|
2598
|
+
"pressed": boolean;
|
|
2599
|
+
"inactive": boolean;
|
|
2600
|
+
"ariaLabel": string | undefined;
|
|
2601
|
+
}
|
|
2602
|
+
interface DsToggleButtonGroupAttributes {
|
|
2603
|
+
"value": string;
|
|
2604
|
+
"elevation": ToggleGroupElevation;
|
|
2605
|
+
"size": ToggleGroupSize;
|
|
2606
|
+
"rounded": boolean;
|
|
2607
|
+
"background": ToggleGroupBackground | undefined;
|
|
2608
|
+
}
|
|
2153
2609
|
interface DsTooltipAttributes {
|
|
2154
2610
|
"label": string;
|
|
2155
2611
|
"side": TooltipSide;
|
|
@@ -2167,6 +2623,7 @@ declare namespace LocalJSX {
|
|
|
2167
2623
|
"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] };
|
|
2168
2624
|
"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] };
|
|
2169
2625
|
"ds-button": Omit<DsButton, keyof DsButtonAttributes> & { [K in keyof DsButton & keyof DsButtonAttributes]?: DsButton[K] } & { [K in keyof DsButton & keyof DsButtonAttributes as `attr:${K}`]?: DsButtonAttributes[K] } & { [K in keyof DsButton & keyof DsButtonAttributes as `prop:${K}`]?: DsButton[K] };
|
|
2626
|
+
"ds-button-group": Omit<DsButtonGroup, keyof DsButtonGroupAttributes> & { [K in keyof DsButtonGroup & keyof DsButtonGroupAttributes]?: DsButtonGroup[K] } & { [K in keyof DsButtonGroup & keyof DsButtonGroupAttributes as `attr:${K}`]?: DsButtonGroupAttributes[K] } & { [K in keyof DsButtonGroup & keyof DsButtonGroupAttributes as `prop:${K}`]?: DsButtonGroup[K] };
|
|
2170
2627
|
"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] };
|
|
2171
2628
|
"ds-checkbox": Omit<DsCheckbox, keyof DsCheckboxAttributes> & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes]?: DsCheckbox[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `attr:${K}`]?: DsCheckboxAttributes[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `prop:${K}`]?: DsCheckbox[K] } & OneOf<"label", DsCheckbox["label"], DsCheckboxAttributes["label"]>;
|
|
2172
2629
|
"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] };
|
|
@@ -2176,6 +2633,7 @@ declare namespace LocalJSX {
|
|
|
2176
2633
|
"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] };
|
|
2177
2634
|
"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] };
|
|
2178
2635
|
"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] };
|
|
2636
|
+
"ds-label-wrap": Omit<DsLabelWrap, keyof DsLabelWrapAttributes> & { [K in keyof DsLabelWrap & keyof DsLabelWrapAttributes]?: DsLabelWrap[K] } & { [K in keyof DsLabelWrap & keyof DsLabelWrapAttributes as `attr:${K}`]?: DsLabelWrapAttributes[K] } & { [K in keyof DsLabelWrap & keyof DsLabelWrapAttributes as `prop:${K}`]?: DsLabelWrap[K] };
|
|
2179
2637
|
"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] };
|
|
2180
2638
|
"ds-menu": Omit<DsMenu, keyof DsMenuAttributes> & { [K in keyof DsMenu & keyof DsMenuAttributes]?: DsMenu[K] } & { [K in keyof DsMenu & keyof DsMenuAttributes as `attr:${K}`]?: DsMenuAttributes[K] } & { [K in keyof DsMenu & keyof DsMenuAttributes as `prop:${K}`]?: DsMenu[K] };
|
|
2181
2639
|
"ds-modal": Omit<DsModal, keyof DsModalAttributes> & { [K in keyof DsModal & keyof DsModalAttributes]?: DsModal[K] } & { [K in keyof DsModal & keyof DsModalAttributes as `attr:${K}`]?: DsModalAttributes[K] } & { [K in keyof DsModal & keyof DsModalAttributes as `prop:${K}`]?: DsModal[K] } & OneOf<"heading", DsModal["heading"], DsModalAttributes["heading"]>;
|
|
@@ -2183,6 +2641,7 @@ declare namespace LocalJSX {
|
|
|
2183
2641
|
"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] };
|
|
2184
2642
|
"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] };
|
|
2185
2643
|
"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] };
|
|
2644
|
+
"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] };
|
|
2186
2645
|
"ds-sidebar": Omit<DsSidebar, keyof DsSidebarAttributes> & { [K in keyof DsSidebar & keyof DsSidebarAttributes]?: DsSidebar[K] } & { [K in keyof DsSidebar & keyof DsSidebarAttributes as `attr:${K}`]?: DsSidebarAttributes[K] } & { [K in keyof DsSidebar & keyof DsSidebarAttributes as `prop:${K}`]?: DsSidebar[K] };
|
|
2187
2646
|
"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] };
|
|
2188
2647
|
"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"]>;
|
|
@@ -2193,6 +2652,8 @@ declare namespace LocalJSX {
|
|
|
2193
2652
|
"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] };
|
|
2194
2653
|
"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] };
|
|
2195
2654
|
"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] };
|
|
2655
|
+
"ds-toggle-button": Omit<DsToggleButton, keyof DsToggleButtonAttributes> & { [K in keyof DsToggleButton & keyof DsToggleButtonAttributes]?: DsToggleButton[K] } & { [K in keyof DsToggleButton & keyof DsToggleButtonAttributes as `attr:${K}`]?: DsToggleButtonAttributes[K] } & { [K in keyof DsToggleButton & keyof DsToggleButtonAttributes as `prop:${K}`]?: DsToggleButton[K] };
|
|
2656
|
+
"ds-toggle-button-group": Omit<DsToggleButtonGroup, keyof DsToggleButtonGroupAttributes> & { [K in keyof DsToggleButtonGroup & keyof DsToggleButtonGroupAttributes]?: DsToggleButtonGroup[K] } & { [K in keyof DsToggleButtonGroup & keyof DsToggleButtonGroupAttributes as `attr:${K}`]?: DsToggleButtonGroupAttributes[K] } & { [K in keyof DsToggleButtonGroup & keyof DsToggleButtonGroupAttributes as `prop:${K}`]?: DsToggleButtonGroup[K] };
|
|
2196
2657
|
"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"]>;
|
|
2197
2658
|
}
|
|
2198
2659
|
}
|
|
@@ -2205,6 +2666,7 @@ declare module "@stencil/core" {
|
|
|
2205
2666
|
"ds-banner": LocalJSX.IntrinsicElements["ds-banner"] & JSXBase.HTMLAttributes<HTMLDsBannerElement>;
|
|
2206
2667
|
"ds-breadcrumb": LocalJSX.IntrinsicElements["ds-breadcrumb"] & JSXBase.HTMLAttributes<HTMLDsBreadcrumbElement>;
|
|
2207
2668
|
"ds-button": LocalJSX.IntrinsicElements["ds-button"] & JSXBase.HTMLAttributes<HTMLDsButtonElement>;
|
|
2669
|
+
"ds-button-group": LocalJSX.IntrinsicElements["ds-button-group"] & JSXBase.HTMLAttributes<HTMLDsButtonGroupElement>;
|
|
2208
2670
|
"ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
|
|
2209
2671
|
"ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
|
|
2210
2672
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
@@ -2214,6 +2676,12 @@ declare module "@stencil/core" {
|
|
|
2214
2676
|
"ds-header": LocalJSX.IntrinsicElements["ds-header"] & JSXBase.HTMLAttributes<HTMLDsHeaderElement>;
|
|
2215
2677
|
"ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
|
|
2216
2678
|
"ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
|
|
2679
|
+
/**
|
|
2680
|
+
* Internal utility wrapper that kills line-height struts and adds optical
|
|
2681
|
+
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
2682
|
+
* Not intended as a standalone consumer-facing component — internal use only.
|
|
2683
|
+
*/
|
|
2684
|
+
"ds-label-wrap": LocalJSX.IntrinsicElements["ds-label-wrap"] & JSXBase.HTMLAttributes<HTMLDsLabelWrapElement>;
|
|
2217
2685
|
"ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
|
|
2218
2686
|
"ds-menu": LocalJSX.IntrinsicElements["ds-menu"] & JSXBase.HTMLAttributes<HTMLDsMenuElement>;
|
|
2219
2687
|
"ds-modal": LocalJSX.IntrinsicElements["ds-modal"] & JSXBase.HTMLAttributes<HTMLDsModalElement>;
|
|
@@ -2221,6 +2689,7 @@ declare module "@stencil/core" {
|
|
|
2221
2689
|
"ds-panel-nav": LocalJSX.IntrinsicElements["ds-panel-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelNavElement>;
|
|
2222
2690
|
"ds-radio-group": LocalJSX.IntrinsicElements["ds-radio-group"] & JSXBase.HTMLAttributes<HTMLDsRadioGroupElement>;
|
|
2223
2691
|
"ds-scrollbar": LocalJSX.IntrinsicElements["ds-scrollbar"] & JSXBase.HTMLAttributes<HTMLDsScrollbarElement>;
|
|
2692
|
+
"ds-select": LocalJSX.IntrinsicElements["ds-select"] & JSXBase.HTMLAttributes<HTMLDsSelectElement>;
|
|
2224
2693
|
"ds-sidebar": LocalJSX.IntrinsicElements["ds-sidebar"] & JSXBase.HTMLAttributes<HTMLDsSidebarElement>;
|
|
2225
2694
|
"ds-skeleton": LocalJSX.IntrinsicElements["ds-skeleton"] & JSXBase.HTMLAttributes<HTMLDsSkeletonElement>;
|
|
2226
2695
|
"ds-slider": LocalJSX.IntrinsicElements["ds-slider"] & JSXBase.HTMLAttributes<HTMLDsSliderElement>;
|
|
@@ -2231,6 +2700,8 @@ declare module "@stencil/core" {
|
|
|
2231
2700
|
"ds-text": LocalJSX.IntrinsicElements["ds-text"] & JSXBase.HTMLAttributes<HTMLDsTextElement>;
|
|
2232
2701
|
"ds-toast-provider": LocalJSX.IntrinsicElements["ds-toast-provider"] & JSXBase.HTMLAttributes<HTMLDsToastProviderElement>;
|
|
2233
2702
|
"ds-toggle": LocalJSX.IntrinsicElements["ds-toggle"] & JSXBase.HTMLAttributes<HTMLDsToggleElement>;
|
|
2703
|
+
"ds-toggle-button": LocalJSX.IntrinsicElements["ds-toggle-button"] & JSXBase.HTMLAttributes<HTMLDsToggleButtonElement>;
|
|
2704
|
+
"ds-toggle-button-group": LocalJSX.IntrinsicElements["ds-toggle-button-group"] & JSXBase.HTMLAttributes<HTMLDsToggleButtonGroupElement>;
|
|
2234
2705
|
"ds-tooltip": LocalJSX.IntrinsicElements["ds-tooltip"] & JSXBase.HTMLAttributes<HTMLDsTooltipElement>;
|
|
2235
2706
|
}
|
|
2236
2707
|
}
|