@ds-mo/ui 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -2
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-badge.js.map +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-banner.js.map +1 -1
- package/dist/components/ds-bar-nav-action.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-breadcrumb.js +1 -1
- package/dist/components/ds-button-group.js +1 -1
- package/dist/components/ds-button.js +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.d.ts +11 -0
- package/dist/components/ds-chip.js +2 -0
- package/dist/components/ds-chip.js.map +1 -0
- 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-fade.js.map +1 -1
- package/dist/components/ds-field.js +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-modal.js +1 -1
- package/dist/components/ds-modal.js.map +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-radio-group.js.map +1 -1
- package/dist/components/ds-scrollbar.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-sidebar.js +1 -1
- package/dist/components/ds-sidebar.js.map +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-surface.js +1 -1
- package/dist/components/ds-tab-group-nav.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-tag.js.map +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast-provider.js +1 -1
- package/dist/components/ds-toggle-button-group.js +1 -1
- package/dist/components/ds-toggle-button.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/index.d.ts +3 -4
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-COsKOwZR.js → p--YDw8Q4o.js} +2 -2
- package/dist/components/p-B_enucPQ.js +2 -0
- package/dist/components/p-B_enucPQ.js.map +1 -0
- package/dist/components/{p-Cj00JkJb.js → p-C9za7IDu.js} +2 -2
- package/dist/components/p-DceSoh5V.js +2 -0
- package/dist/components/p-DceSoh5V.js.map +1 -0
- package/dist/components/{p-H89PzqGU.js → p-DqBCQRRd.js} +2 -2
- package/dist/components/p-DznbYg1m.js +2 -0
- package/dist/components/p-DznbYg1m.js.map +1 -0
- package/dist/components/p-_LI2ymhS.js +2 -0
- package/dist/components/p-_LI2ymhS.js.map +1 -0
- package/dist/components/{p-CE5zeV1w.js → p-uMN1Ppw2.js} +2 -2
- package/dist/components/p-vW9EMP8s.js +2 -0
- package/dist/components/p-vW9EMP8s.js.map +1 -0
- package/dist/types/components/Badge/Badge.d.ts +20 -0
- package/dist/types/components/Badge/index.d.ts +2 -0
- package/dist/types/{.stencil → components}/BarNav/BarNav.d.ts +6 -17
- package/dist/types/components/BarNav/bar-nav-types.d.ts +14 -0
- package/dist/types/{.stencil → components}/BarNav/bar-nav-utils.d.ts +1 -1
- package/dist/types/components/BarNav/index.d.ts +3 -0
- package/dist/types/{.stencil → components}/BarNavAction/BarNavAction.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +30 -0
- package/dist/types/components/Chip/index.d.ts +2 -0
- package/dist/types/components/Fade/Fade.d.ts +25 -0
- package/dist/types/components/Fade/index.d.ts +2 -0
- package/dist/types/{.stencil → components}/PanelNav/PanelNav.d.ts +11 -26
- package/dist/types/components/PanelNav/index.d.ts +4 -0
- package/dist/types/components/PanelNav/panel-nav-types.d.ts +20 -0
- package/dist/types/components/PanelNav/panel-nav-utils.d.ts +26 -0
- package/dist/types/{.stencil → components}/TabGroupNav/TabGroupNav.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +15 -0
- package/dist/types/components/Tag/index.d.ts +2 -0
- package/dist/types/components.d.ts +256 -108
- package/dist/types/nav/index.d.ts +5 -0
- package/dist/types/nav/nav-chrome.d.ts +14 -0
- package/dist/types/nav/shell-view-transition.d.ts +21 -0
- package/package.json +18 -6
- package/src/angular/index.ts +1 -0
- package/src/angular/proxies.ts +51 -28
- package/src/react/components.ts +1 -0
- package/src/react/ds-chip.ts +35 -0
- package/src/react/ds-tag.ts +3 -12
- package/src/wc/components/Badge/Badge.tsx +58 -8
- package/src/wc/components/Badge/index.ts +1 -1
- package/src/wc/components/Banner/Banner.tsx +2 -2
- package/src/wc/components/BarNav/BarNav.tsx +24 -26
- package/src/wc/components/BarNav/bar-nav-types.ts +15 -0
- package/src/wc/components/BarNav/bar-nav-utils.ts +1 -1
- package/src/wc/components/BarNav/index.ts +2 -1
- package/src/wc/components/BarNavAction/BarNavAction.tsx +11 -2
- package/src/wc/components/Chip/Chip.tsx +127 -0
- package/src/wc/components/Chip/index.ts +1 -0
- package/src/wc/components/Fade/Fade.tsx +86 -6
- package/src/wc/components/Fade/index.ts +1 -1
- package/src/wc/components/PanelNav/PanelNav.tsx +63 -91
- package/src/wc/components/PanelNav/index.ts +9 -4
- package/src/wc/components/PanelNav/panel-nav-types.ts +22 -0
- package/src/wc/components/PanelNav/panel-nav-utils.ts +32 -64
- package/src/wc/components/TabGroup/TabGroup.tsx +9 -1
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +17 -3
- package/src/wc/components/Tag/Tag.tsx +3 -70
- package/src/wc/components/Tag/index.ts +1 -1
- package/src/wc/components.d.ts +256 -108
- package/src/wc/nav/index.ts +19 -0
- package/src/wc/nav/nav-chrome.ts +45 -0
- package/src/wc/nav/shell-view-transition.ts +102 -0
- package/dist/components/p-CQQe6VNo.js +0 -2
- package/dist/components/p-CQQe6VNo.js.map +0 -1
- package/dist/components/p-Vwlmhl4E.js +0 -2
- package/dist/components/p-Vwlmhl4E.js.map +0 -1
- package/dist/types/.stencil/Badge/Badge.d.ts +0 -8
- package/dist/types/.stencil/Badge/index.d.ts +0 -2
- package/dist/types/.stencil/BarNav/index.d.ts +0 -2
- package/dist/types/.stencil/Fade/Fade.d.ts +0 -10
- package/dist/types/.stencil/Fade/index.d.ts +0 -2
- package/dist/types/.stencil/PanelNav/index.d.ts +0 -3
- package/dist/types/.stencil/PanelNav/panel-nav-utils.d.ts +0 -27
- package/dist/types/.stencil/Tag/Tag.d.ts +0 -32
- package/dist/types/.stencil/Tag/index.d.ts +0 -2
- /package/dist/components/{p-COsKOwZR.js.map → p--YDw8Q4o.js.map} +0 -0
- /package/dist/components/{p-Cj00JkJb.js.map → p-C9za7IDu.js.map} +0 -0
- /package/dist/components/{p-H89PzqGU.js.map → p-DqBCQRRd.js.map} +0 -0
- /package/dist/components/{p-CE5zeV1w.js.map → p-uMN1Ppw2.js.map} +0 -0
- /package/dist/types/{.stencil → components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Banner/Banner.d.ts +0 -0
- /package/dist/types/{.stencil → components}/BarNav/bar-nav-dom-utils.d.ts +0 -0
- /package/dist/types/{.stencil → components}/BarNav/bar-nav-tabs-menu-utils.d.ts +0 -0
- /package/dist/types/{.stencil → components}/BarNavAction/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Breadcrumb/Breadcrumb.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Button/Button.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Button/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/ButtonGroup/ButtonGroup.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Card/Card.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Checkbox/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Divider/Divider.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Divider/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/EmptyState/EmptyState.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Field/Field.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Header/Header.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Icon/Icon.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Icon/flag-icon-catalog.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Icon/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Icon/system-icon-catalog.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Input/Input.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Input/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Loader/Loader.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Loader/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Menu/Menu.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Modal/Modal.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/types/{.stencil → components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/dist/types/{.stencil → components}/RadioGroup/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Scrollbar/Scrollbar.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Select/Select.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Sidebar/Sidebar.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Skeleton/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Slider/Slider.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Slider/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Surface/Surface.d.ts +0 -0
- /package/dist/types/{.stencil → components}/TabGroup/TabGroup.d.ts +0 -0
- /package/dist/types/{.stencil → components}/TabGroup/tab-item-utils.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Table/Table.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Text/Text.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Text/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Toast/Toast.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Toast/toast-service.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Toggle/Toggle.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Toggle/index.d.ts +0 -0
- /package/dist/types/{.stencil → components}/ToggleButton/ToggleButton.d.ts +0 -0
- /package/dist/types/{.stencil → components}/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -0
- /package/dist/types/{.stencil → components}/Tooltip/Tooltip.d.ts +0 -0
package/src/wc/components.d.ts
CHANGED
|
@@ -6,22 +6,25 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
|
|
8
8
|
import { AccordionItemData } from "./components/Accordion/Accordion";
|
|
9
|
+
import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
9
10
|
import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
10
|
-
import { BarNavActionItem,
|
|
11
|
+
import { BarNavActionItem, BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
12
|
+
import { NavChromeStyle } from "./nav/nav-chrome";
|
|
11
13
|
import { BarNavActionBackground } from "./components/BarNavAction/BarNavAction";
|
|
12
14
|
import { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
13
15
|
import { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
14
16
|
import { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
15
17
|
import { CardElevation, CardRadius } from "./components/Card/Card";
|
|
18
|
+
import { ChipBackground, ChipContrast, ChipElevation, ChipIntent, ChipSize } from "./components/Chip/Chip";
|
|
16
19
|
import { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
17
20
|
import { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
18
|
-
import { FadeSide } from "./components/Fade/Fade";
|
|
21
|
+
import { FadeSide, FadeSize, FadeSurface } from "./components/Fade/Fade";
|
|
19
22
|
import { HeaderBackground } from "./components/Header/Header";
|
|
20
23
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
21
24
|
import { InputType } from "./components/Input/Input";
|
|
22
25
|
import { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
23
26
|
import { ModalWidth } from "./components/Modal/Modal";
|
|
24
|
-
import { PanelNavGroup, PanelNavRouterMode
|
|
27
|
+
import { PanelNavGroup, PanelNavRouterMode } from "./components/PanelNav/panel-nav-types";
|
|
25
28
|
import { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
26
29
|
import { ScrollbarVariant } from "./components/Scrollbar/Scrollbar";
|
|
27
30
|
import { SelectOption } from "./components/Select/Select";
|
|
@@ -32,29 +35,32 @@ import { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
|
32
35
|
import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
33
36
|
import { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
34
37
|
import { SortState, TableColumn } from "./components/Table/Table";
|
|
35
|
-
import {
|
|
38
|
+
import { TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
36
39
|
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
37
40
|
import { ToastPosition } from "./components/Toast/Toast";
|
|
38
41
|
import { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
39
42
|
import { ToggleGroupBackground, ToggleGroupElevation, ToggleGroupItem, ToggleGroupSize } from "./components/ToggleButtonGroup/ToggleButtonGroup";
|
|
40
43
|
import { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
41
44
|
export { AccordionItemData } from "./components/Accordion/Accordion";
|
|
45
|
+
export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
42
46
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
43
|
-
export { BarNavActionItem,
|
|
47
|
+
export { BarNavActionItem, BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
48
|
+
export { NavChromeStyle } from "./nav/nav-chrome";
|
|
44
49
|
export { BarNavActionBackground } from "./components/BarNavAction/BarNavAction";
|
|
45
50
|
export { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
46
51
|
export { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
47
52
|
export { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
48
53
|
export { CardElevation, CardRadius } from "./components/Card/Card";
|
|
54
|
+
export { ChipBackground, ChipContrast, ChipElevation, ChipIntent, ChipSize } from "./components/Chip/Chip";
|
|
49
55
|
export { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
50
56
|
export { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
51
|
-
export { FadeSide } from "./components/Fade/Fade";
|
|
57
|
+
export { FadeSide, FadeSize, FadeSurface } from "./components/Fade/Fade";
|
|
52
58
|
export { HeaderBackground } from "./components/Header/Header";
|
|
53
59
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
54
60
|
export { InputType } from "./components/Input/Input";
|
|
55
61
|
export { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
56
62
|
export { ModalWidth } from "./components/Modal/Modal";
|
|
57
|
-
export { PanelNavGroup, PanelNavRouterMode
|
|
63
|
+
export { PanelNavGroup, PanelNavRouterMode } from "./components/PanelNav/panel-nav-types";
|
|
58
64
|
export { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
59
65
|
export { ScrollbarVariant } from "./components/Scrollbar/Scrollbar";
|
|
60
66
|
export { SelectOption } from "./components/Select/Select";
|
|
@@ -65,7 +71,7 @@ export { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
|
65
71
|
export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
66
72
|
export { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
67
73
|
export { SortState, TableColumn } from "./components/Table/Table";
|
|
68
|
-
export {
|
|
74
|
+
export { TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
69
75
|
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
70
76
|
export { ToastPosition } from "./components/Toast/Toast";
|
|
71
77
|
export { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
@@ -89,10 +95,16 @@ export namespace Components {
|
|
|
89
95
|
}
|
|
90
96
|
interface DsBadge {
|
|
91
97
|
/**
|
|
98
|
+
* Direct ring background override for component-local surfaces.
|
|
99
|
+
*/
|
|
100
|
+
"background": string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Count shown for counter badges. Count 0 hides the badge.
|
|
92
103
|
* @default 0
|
|
93
104
|
*/
|
|
94
105
|
"count": number;
|
|
95
106
|
/**
|
|
107
|
+
* Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
|
|
96
108
|
* @default false
|
|
97
109
|
*/
|
|
98
110
|
"isSelected": boolean;
|
|
@@ -100,6 +112,21 @@ export namespace Components {
|
|
|
100
112
|
* Accessible label. Defaults to the count as a string.
|
|
101
113
|
*/
|
|
102
114
|
"label": string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* Highest count shown before compacting to "+".
|
|
117
|
+
* @default 9
|
|
118
|
+
*/
|
|
119
|
+
"max": number;
|
|
120
|
+
/**
|
|
121
|
+
* Surface context for the ring around dots.
|
|
122
|
+
* @default 'default'
|
|
123
|
+
*/
|
|
124
|
+
"surface": BadgeSurface;
|
|
125
|
+
/**
|
|
126
|
+
* Render as a compact counter or notification dot.
|
|
127
|
+
* @default 'counter'
|
|
128
|
+
*/
|
|
129
|
+
"variant": BadgeVariant;
|
|
103
130
|
}
|
|
104
131
|
interface DsBanner {
|
|
105
132
|
/**
|
|
@@ -144,11 +171,6 @@ export namespace Components {
|
|
|
144
171
|
* @default ''
|
|
145
172
|
*/
|
|
146
173
|
"actionsJson": string;
|
|
147
|
-
/**
|
|
148
|
-
* Surface background variant.
|
|
149
|
-
* @default 'secondary'
|
|
150
|
-
*/
|
|
151
|
-
"background": BarNavBackground;
|
|
152
174
|
/**
|
|
153
175
|
* Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
|
|
154
176
|
* @default ''
|
|
@@ -163,6 +185,11 @@ export namespace Components {
|
|
|
163
185
|
* Fallback heading shown when no tabs are provided. When tabs are present the heading is hidden.
|
|
164
186
|
*/
|
|
165
187
|
"heading": string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* Chrome style: `navigation` = navigation tokens, `default` = app tokens. Property: `navStyle`. HTML attribute: `nav-style`.
|
|
190
|
+
* @default 'default'
|
|
191
|
+
*/
|
|
192
|
+
"navStyle": NavChromeStyle;
|
|
166
193
|
/**
|
|
167
194
|
* Tab items for the left section. Set via JS property: `el.tabs = [...]`. Replace the array reference to update.
|
|
168
195
|
* @default []
|
|
@@ -318,6 +345,43 @@ export namespace Components {
|
|
|
318
345
|
"indeterminate": boolean;
|
|
319
346
|
"label": string;
|
|
320
347
|
}
|
|
348
|
+
interface DsChip {
|
|
349
|
+
"background": ChipBackground | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* @default 'faint'
|
|
352
|
+
*/
|
|
353
|
+
"contrast": ChipContrast;
|
|
354
|
+
/**
|
|
355
|
+
* @default 'none'
|
|
356
|
+
*/
|
|
357
|
+
"elevation": ChipElevation;
|
|
358
|
+
/**
|
|
359
|
+
* @default false
|
|
360
|
+
*/
|
|
361
|
+
"inactive": boolean;
|
|
362
|
+
/**
|
|
363
|
+
* @default 'neutral'
|
|
364
|
+
*/
|
|
365
|
+
"intent": ChipIntent;
|
|
366
|
+
"label": string;
|
|
367
|
+
"maxWidth": string | number | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* @default false
|
|
370
|
+
*/
|
|
371
|
+
"pressed": boolean;
|
|
372
|
+
/**
|
|
373
|
+
* @default false
|
|
374
|
+
*/
|
|
375
|
+
"removable": boolean;
|
|
376
|
+
/**
|
|
377
|
+
* @default false
|
|
378
|
+
*/
|
|
379
|
+
"rounded": boolean;
|
|
380
|
+
/**
|
|
381
|
+
* @default 'md'
|
|
382
|
+
*/
|
|
383
|
+
"size": ChipSize;
|
|
384
|
+
}
|
|
321
385
|
interface DsDivider {
|
|
322
386
|
/**
|
|
323
387
|
* Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
|
|
@@ -354,15 +418,34 @@ export namespace Components {
|
|
|
354
418
|
}
|
|
355
419
|
interface DsFade {
|
|
356
420
|
/**
|
|
357
|
-
*
|
|
421
|
+
* Direct background override for contexts that already expose a resolved surface var.
|
|
358
422
|
* @default 'var(--color-background-secondary)'
|
|
359
423
|
*/
|
|
360
424
|
"background": string;
|
|
361
425
|
/**
|
|
362
|
-
*
|
|
426
|
+
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
363
427
|
*/
|
|
364
428
|
"height": string | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* Edge where the fade is anchored.
|
|
431
|
+
* @default 'bottom'
|
|
432
|
+
*/
|
|
365
433
|
"side": FadeSide;
|
|
434
|
+
/**
|
|
435
|
+
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
436
|
+
* @default 'size-600'
|
|
437
|
+
*/
|
|
438
|
+
"size": FadeSize;
|
|
439
|
+
/**
|
|
440
|
+
* Surface context used to choose the fade target background token.
|
|
441
|
+
* @default 'default'
|
|
442
|
+
*/
|
|
443
|
+
"surface": FadeSurface;
|
|
444
|
+
/**
|
|
445
|
+
* Controls visibility without removing the element from layout/positioning.
|
|
446
|
+
* @default true
|
|
447
|
+
*/
|
|
448
|
+
"visible": boolean;
|
|
366
449
|
}
|
|
367
450
|
interface DsField {
|
|
368
451
|
/**
|
|
@@ -538,7 +621,7 @@ export namespace Components {
|
|
|
538
621
|
*/
|
|
539
622
|
"currentUrl": string;
|
|
540
623
|
/**
|
|
541
|
-
* When `true`, the component does not run its own View Transition on
|
|
624
|
+
* When `true`, the component does not run its own View Transition on style 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.
|
|
542
625
|
* @default false
|
|
543
626
|
*/
|
|
544
627
|
"disableViewTransition": boolean;
|
|
@@ -547,6 +630,11 @@ export namespace Components {
|
|
|
547
630
|
* @default '[]'
|
|
548
631
|
*/
|
|
549
632
|
"groups": string | PanelNavGroup[];
|
|
633
|
+
/**
|
|
634
|
+
* Chrome style: `navigation` = navigation tokens, `default` = standard app tokens. Property: `navStyle`. HTML attribute: `nav-style`.
|
|
635
|
+
* @default 'navigation'
|
|
636
|
+
*/
|
|
637
|
+
"navStyle": NavChromeStyle;
|
|
550
638
|
/**
|
|
551
639
|
* How items with `href` render: - `anchor` (default): native `<a href>` — works with routers that intercept anchors. - `event`: always `<button>`; host handles navigation via `dsNavSelect`.
|
|
552
640
|
* @default 'anchor'
|
|
@@ -567,11 +655,6 @@ export namespace Components {
|
|
|
567
655
|
* @default ''
|
|
568
656
|
*/
|
|
569
657
|
"userName": string;
|
|
570
|
-
/**
|
|
571
|
-
* Visual variant: `dashboard` = always-dark surface, `settings` = light surface
|
|
572
|
-
* @default 'dashboard'
|
|
573
|
-
*/
|
|
574
|
-
"variant": PanelNavVariant;
|
|
575
658
|
}
|
|
576
659
|
interface DsRadioGroup {
|
|
577
660
|
"ariaLabel": string | undefined;
|
|
@@ -801,7 +884,6 @@ export namespace Components {
|
|
|
801
884
|
"sortState": SortState | undefined;
|
|
802
885
|
}
|
|
803
886
|
interface DsTag {
|
|
804
|
-
"background": TagBackground | undefined;
|
|
805
887
|
/**
|
|
806
888
|
* @default 'faint'
|
|
807
889
|
*/
|
|
@@ -810,29 +892,12 @@ export namespace Components {
|
|
|
810
892
|
* @default 'none'
|
|
811
893
|
*/
|
|
812
894
|
"elevation": TagElevation;
|
|
813
|
-
/**
|
|
814
|
-
* @default false
|
|
815
|
-
*/
|
|
816
|
-
"inactive": boolean;
|
|
817
895
|
/**
|
|
818
896
|
* @default 'neutral'
|
|
819
897
|
*/
|
|
820
898
|
"intent": TagIntent;
|
|
821
|
-
/**
|
|
822
|
-
* Whether the tag has a click/toggle behavior.
|
|
823
|
-
* @default false
|
|
824
|
-
*/
|
|
825
|
-
"interactive": boolean;
|
|
826
899
|
"label": string;
|
|
827
900
|
"maxWidth": string | number | undefined;
|
|
828
|
-
/**
|
|
829
|
-
* @default false
|
|
830
|
-
*/
|
|
831
|
-
"pressed": boolean;
|
|
832
|
-
/**
|
|
833
|
-
* @default false
|
|
834
|
-
*/
|
|
835
|
-
"removable": boolean;
|
|
836
901
|
/**
|
|
837
902
|
* @default false
|
|
838
903
|
*/
|
|
@@ -1022,6 +1087,10 @@ export interface DsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1022
1087
|
detail: T;
|
|
1023
1088
|
target: HTMLDsCheckboxElement;
|
|
1024
1089
|
}
|
|
1090
|
+
export interface DsChipCustomEvent<T> extends CustomEvent<T> {
|
|
1091
|
+
detail: T;
|
|
1092
|
+
target: HTMLDsChipElement;
|
|
1093
|
+
}
|
|
1025
1094
|
export interface DsInputCustomEvent<T> extends CustomEvent<T> {
|
|
1026
1095
|
detail: T;
|
|
1027
1096
|
target: HTMLDsInputElement;
|
|
@@ -1070,10 +1139,6 @@ export interface DsTableCustomEvent<T> extends CustomEvent<T> {
|
|
|
1070
1139
|
detail: T;
|
|
1071
1140
|
target: HTMLDsTableElement;
|
|
1072
1141
|
}
|
|
1073
|
-
export interface DsTagCustomEvent<T> extends CustomEvent<T> {
|
|
1074
|
-
detail: T;
|
|
1075
|
-
target: HTMLDsTagElement;
|
|
1076
|
-
}
|
|
1077
1142
|
export interface DsToggleCustomEvent<T> extends CustomEvent<T> {
|
|
1078
1143
|
detail: T;
|
|
1079
1144
|
target: HTMLDsToggleElement;
|
|
@@ -1238,6 +1303,25 @@ declare global {
|
|
|
1238
1303
|
prototype: HTMLDsCheckboxElement;
|
|
1239
1304
|
new (): HTMLDsCheckboxElement;
|
|
1240
1305
|
};
|
|
1306
|
+
interface HTMLDsChipElementEventMap {
|
|
1307
|
+
"dsRemove": void;
|
|
1308
|
+
"dsClick": void;
|
|
1309
|
+
"dsPressedChange": boolean;
|
|
1310
|
+
}
|
|
1311
|
+
interface HTMLDsChipElement extends Components.DsChip, HTMLStencilElement {
|
|
1312
|
+
addEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1313
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1314
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1315
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1316
|
+
removeEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1317
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1318
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1319
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1320
|
+
}
|
|
1321
|
+
var HTMLDsChipElement: {
|
|
1322
|
+
prototype: HTMLDsChipElement;
|
|
1323
|
+
new (): HTMLDsChipElement;
|
|
1324
|
+
};
|
|
1241
1325
|
interface HTMLDsDividerElement extends Components.DsDivider, HTMLStencilElement {
|
|
1242
1326
|
}
|
|
1243
1327
|
var HTMLDsDividerElement: {
|
|
@@ -1510,20 +1594,7 @@ declare global {
|
|
|
1510
1594
|
prototype: HTMLDsTableElement;
|
|
1511
1595
|
new (): HTMLDsTableElement;
|
|
1512
1596
|
};
|
|
1513
|
-
interface HTMLDsTagElementEventMap {
|
|
1514
|
-
"dsRemove": void;
|
|
1515
|
-
"dsClick": void;
|
|
1516
|
-
"dsPressedChange": boolean;
|
|
1517
|
-
}
|
|
1518
1597
|
interface HTMLDsTagElement extends Components.DsTag, HTMLStencilElement {
|
|
1519
|
-
addEventListener<K extends keyof HTMLDsTagElementEventMap>(type: K, listener: (this: HTMLDsTagElement, ev: DsTagCustomEvent<HTMLDsTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1520
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1521
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1522
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1523
|
-
removeEventListener<K extends keyof HTMLDsTagElementEventMap>(type: K, listener: (this: HTMLDsTagElement, ev: DsTagCustomEvent<HTMLDsTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1524
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1525
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1526
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1527
1598
|
}
|
|
1528
1599
|
var HTMLDsTagElement: {
|
|
1529
1600
|
prototype: HTMLDsTagElement;
|
|
@@ -1609,6 +1680,7 @@ declare global {
|
|
|
1609
1680
|
"ds-button-group": HTMLDsButtonGroupElement;
|
|
1610
1681
|
"ds-card": HTMLDsCardElement;
|
|
1611
1682
|
"ds-checkbox": HTMLDsCheckboxElement;
|
|
1683
|
+
"ds-chip": HTMLDsChipElement;
|
|
1612
1684
|
"ds-divider": HTMLDsDividerElement;
|
|
1613
1685
|
"ds-empty-state": HTMLDsEmptyStateElement;
|
|
1614
1686
|
"ds-fade": HTMLDsFadeElement;
|
|
@@ -1661,10 +1733,16 @@ declare namespace LocalJSX {
|
|
|
1661
1733
|
}
|
|
1662
1734
|
interface DsBadge {
|
|
1663
1735
|
/**
|
|
1736
|
+
* Direct ring background override for component-local surfaces.
|
|
1737
|
+
*/
|
|
1738
|
+
"background"?: string | undefined;
|
|
1739
|
+
/**
|
|
1740
|
+
* Count shown for counter badges. Count 0 hides the badge.
|
|
1664
1741
|
* @default 0
|
|
1665
1742
|
*/
|
|
1666
1743
|
"count"?: number;
|
|
1667
1744
|
/**
|
|
1745
|
+
* Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
|
|
1668
1746
|
* @default false
|
|
1669
1747
|
*/
|
|
1670
1748
|
"isSelected"?: boolean;
|
|
@@ -1672,6 +1750,21 @@ declare namespace LocalJSX {
|
|
|
1672
1750
|
* Accessible label. Defaults to the count as a string.
|
|
1673
1751
|
*/
|
|
1674
1752
|
"label"?: string | undefined;
|
|
1753
|
+
/**
|
|
1754
|
+
* Highest count shown before compacting to "+".
|
|
1755
|
+
* @default 9
|
|
1756
|
+
*/
|
|
1757
|
+
"max"?: number;
|
|
1758
|
+
/**
|
|
1759
|
+
* Surface context for the ring around dots.
|
|
1760
|
+
* @default 'default'
|
|
1761
|
+
*/
|
|
1762
|
+
"surface"?: BadgeSurface;
|
|
1763
|
+
/**
|
|
1764
|
+
* Render as a compact counter or notification dot.
|
|
1765
|
+
* @default 'counter'
|
|
1766
|
+
*/
|
|
1767
|
+
"variant"?: BadgeVariant;
|
|
1675
1768
|
}
|
|
1676
1769
|
interface DsBanner {
|
|
1677
1770
|
/**
|
|
@@ -1717,11 +1810,6 @@ declare namespace LocalJSX {
|
|
|
1717
1810
|
* @default ''
|
|
1718
1811
|
*/
|
|
1719
1812
|
"actionsJson"?: string;
|
|
1720
|
-
/**
|
|
1721
|
-
* Surface background variant.
|
|
1722
|
-
* @default 'secondary'
|
|
1723
|
-
*/
|
|
1724
|
-
"background"?: BarNavBackground;
|
|
1725
1813
|
/**
|
|
1726
1814
|
* Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
|
|
1727
1815
|
* @default ''
|
|
@@ -1736,6 +1824,11 @@ declare namespace LocalJSX {
|
|
|
1736
1824
|
* Fallback heading shown when no tabs are provided. When tabs are present the heading is hidden.
|
|
1737
1825
|
*/
|
|
1738
1826
|
"heading"?: string | undefined;
|
|
1827
|
+
/**
|
|
1828
|
+
* Chrome style: `navigation` = navigation tokens, `default` = app tokens. Property: `navStyle`. HTML attribute: `nav-style`.
|
|
1829
|
+
* @default 'default'
|
|
1830
|
+
*/
|
|
1831
|
+
"navStyle"?: NavChromeStyle;
|
|
1739
1832
|
/**
|
|
1740
1833
|
* Emitted when an action button is toggled. Detail = { id, selected }.
|
|
1741
1834
|
*/
|
|
@@ -1912,6 +2005,55 @@ declare namespace LocalJSX {
|
|
|
1912
2005
|
"label": string;
|
|
1913
2006
|
"onDsChange"?: (event: DsCheckboxCustomEvent<boolean>) => void;
|
|
1914
2007
|
}
|
|
2008
|
+
interface DsChip {
|
|
2009
|
+
"background"?: ChipBackground | undefined;
|
|
2010
|
+
/**
|
|
2011
|
+
* @default 'faint'
|
|
2012
|
+
*/
|
|
2013
|
+
"contrast"?: ChipContrast;
|
|
2014
|
+
/**
|
|
2015
|
+
* @default 'none'
|
|
2016
|
+
*/
|
|
2017
|
+
"elevation"?: ChipElevation;
|
|
2018
|
+
/**
|
|
2019
|
+
* @default false
|
|
2020
|
+
*/
|
|
2021
|
+
"inactive"?: boolean;
|
|
2022
|
+
/**
|
|
2023
|
+
* @default 'neutral'
|
|
2024
|
+
*/
|
|
2025
|
+
"intent"?: ChipIntent;
|
|
2026
|
+
"label": string;
|
|
2027
|
+
"maxWidth"?: string | number | undefined;
|
|
2028
|
+
/**
|
|
2029
|
+
* Fired when an interactive chip is clicked.
|
|
2030
|
+
*/
|
|
2031
|
+
"onDsClick"?: (event: DsChipCustomEvent<void>) => void;
|
|
2032
|
+
/**
|
|
2033
|
+
* Fired when the pressed state toggles.
|
|
2034
|
+
*/
|
|
2035
|
+
"onDsPressedChange"?: (event: DsChipCustomEvent<boolean>) => void;
|
|
2036
|
+
/**
|
|
2037
|
+
* Fired when the remove button is clicked.
|
|
2038
|
+
*/
|
|
2039
|
+
"onDsRemove"?: (event: DsChipCustomEvent<void>) => void;
|
|
2040
|
+
/**
|
|
2041
|
+
* @default false
|
|
2042
|
+
*/
|
|
2043
|
+
"pressed"?: boolean;
|
|
2044
|
+
/**
|
|
2045
|
+
* @default false
|
|
2046
|
+
*/
|
|
2047
|
+
"removable"?: boolean;
|
|
2048
|
+
/**
|
|
2049
|
+
* @default false
|
|
2050
|
+
*/
|
|
2051
|
+
"rounded"?: boolean;
|
|
2052
|
+
/**
|
|
2053
|
+
* @default 'md'
|
|
2054
|
+
*/
|
|
2055
|
+
"size"?: ChipSize;
|
|
2056
|
+
}
|
|
1915
2057
|
interface DsDivider {
|
|
1916
2058
|
/**
|
|
1917
2059
|
* Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
|
|
@@ -1948,15 +2090,34 @@ declare namespace LocalJSX {
|
|
|
1948
2090
|
}
|
|
1949
2091
|
interface DsFade {
|
|
1950
2092
|
/**
|
|
1951
|
-
*
|
|
2093
|
+
* Direct background override for contexts that already expose a resolved surface var.
|
|
1952
2094
|
* @default 'var(--color-background-secondary)'
|
|
1953
2095
|
*/
|
|
1954
2096
|
"background"?: string;
|
|
1955
2097
|
/**
|
|
1956
|
-
*
|
|
2098
|
+
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
1957
2099
|
*/
|
|
1958
2100
|
"height"?: string | undefined;
|
|
1959
|
-
|
|
2101
|
+
/**
|
|
2102
|
+
* Edge where the fade is anchored.
|
|
2103
|
+
* @default 'bottom'
|
|
2104
|
+
*/
|
|
2105
|
+
"side"?: FadeSide;
|
|
2106
|
+
/**
|
|
2107
|
+
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
2108
|
+
* @default 'size-600'
|
|
2109
|
+
*/
|
|
2110
|
+
"size"?: FadeSize;
|
|
2111
|
+
/**
|
|
2112
|
+
* Surface context used to choose the fade target background token.
|
|
2113
|
+
* @default 'default'
|
|
2114
|
+
*/
|
|
2115
|
+
"surface"?: FadeSurface;
|
|
2116
|
+
/**
|
|
2117
|
+
* Controls visibility without removing the element from layout/positioning.
|
|
2118
|
+
* @default true
|
|
2119
|
+
*/
|
|
2120
|
+
"visible"?: boolean;
|
|
1960
2121
|
}
|
|
1961
2122
|
interface DsField {
|
|
1962
2123
|
/**
|
|
@@ -2137,7 +2298,7 @@ declare namespace LocalJSX {
|
|
|
2137
2298
|
*/
|
|
2138
2299
|
"currentUrl"?: string;
|
|
2139
2300
|
/**
|
|
2140
|
-
* When `true`, the component does not run its own View Transition on
|
|
2301
|
+
* When `true`, the component does not run its own View Transition on style 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.
|
|
2141
2302
|
* @default false
|
|
2142
2303
|
*/
|
|
2143
2304
|
"disableViewTransition"?: boolean;
|
|
@@ -2146,6 +2307,11 @@ declare namespace LocalJSX {
|
|
|
2146
2307
|
* @default '[]'
|
|
2147
2308
|
*/
|
|
2148
2309
|
"groups"?: string | PanelNavGroup[];
|
|
2310
|
+
/**
|
|
2311
|
+
* Chrome style: `navigation` = navigation tokens, `default` = standard app tokens. Property: `navStyle`. HTML attribute: `nav-style`.
|
|
2312
|
+
* @default 'navigation'
|
|
2313
|
+
*/
|
|
2314
|
+
"navStyle"?: NavChromeStyle;
|
|
2149
2315
|
/**
|
|
2150
2316
|
* Emitted when the footer left button (gear / dashboard) is clicked.
|
|
2151
2317
|
*/
|
|
@@ -2182,11 +2348,6 @@ declare namespace LocalJSX {
|
|
|
2182
2348
|
* @default ''
|
|
2183
2349
|
*/
|
|
2184
2350
|
"userName"?: string;
|
|
2185
|
-
/**
|
|
2186
|
-
* Visual variant: `dashboard` = always-dark surface, `settings` = light surface
|
|
2187
|
-
* @default 'dashboard'
|
|
2188
|
-
*/
|
|
2189
|
-
"variant"?: PanelNavVariant;
|
|
2190
2351
|
}
|
|
2191
2352
|
interface DsRadioGroup {
|
|
2192
2353
|
"ariaLabel"?: string | undefined;
|
|
@@ -2429,7 +2590,6 @@ declare namespace LocalJSX {
|
|
|
2429
2590
|
"sortState"?: SortState | undefined;
|
|
2430
2591
|
}
|
|
2431
2592
|
interface DsTag {
|
|
2432
|
-
"background"?: TagBackground | undefined;
|
|
2433
2593
|
/**
|
|
2434
2594
|
* @default 'faint'
|
|
2435
2595
|
*/
|
|
@@ -2438,41 +2598,12 @@ declare namespace LocalJSX {
|
|
|
2438
2598
|
* @default 'none'
|
|
2439
2599
|
*/
|
|
2440
2600
|
"elevation"?: TagElevation;
|
|
2441
|
-
/**
|
|
2442
|
-
* @default false
|
|
2443
|
-
*/
|
|
2444
|
-
"inactive"?: boolean;
|
|
2445
2601
|
/**
|
|
2446
2602
|
* @default 'neutral'
|
|
2447
2603
|
*/
|
|
2448
2604
|
"intent"?: TagIntent;
|
|
2449
|
-
/**
|
|
2450
|
-
* Whether the tag has a click/toggle behavior.
|
|
2451
|
-
* @default false
|
|
2452
|
-
*/
|
|
2453
|
-
"interactive"?: boolean;
|
|
2454
2605
|
"label": string;
|
|
2455
2606
|
"maxWidth"?: string | number | undefined;
|
|
2456
|
-
/**
|
|
2457
|
-
* Fired when an interactive tag is clicked.
|
|
2458
|
-
*/
|
|
2459
|
-
"onDsClick"?: (event: DsTagCustomEvent<void>) => void;
|
|
2460
|
-
/**
|
|
2461
|
-
* Fired when the pressed state toggles.
|
|
2462
|
-
*/
|
|
2463
|
-
"onDsPressedChange"?: (event: DsTagCustomEvent<boolean>) => void;
|
|
2464
|
-
/**
|
|
2465
|
-
* Fired when the remove button is clicked.
|
|
2466
|
-
*/
|
|
2467
|
-
"onDsRemove"?: (event: DsTagCustomEvent<void>) => void;
|
|
2468
|
-
/**
|
|
2469
|
-
* @default false
|
|
2470
|
-
*/
|
|
2471
|
-
"pressed"?: boolean;
|
|
2472
|
-
/**
|
|
2473
|
-
* @default false
|
|
2474
|
-
*/
|
|
2475
|
-
"removable"?: boolean;
|
|
2476
2607
|
/**
|
|
2477
2608
|
* @default false
|
|
2478
2609
|
*/
|
|
@@ -2644,7 +2775,11 @@ declare namespace LocalJSX {
|
|
|
2644
2775
|
"expandedIds": string;
|
|
2645
2776
|
}
|
|
2646
2777
|
interface DsBadgeAttributes {
|
|
2778
|
+
"variant": BadgeVariant;
|
|
2647
2779
|
"count": number;
|
|
2780
|
+
"max": number;
|
|
2781
|
+
"surface": BadgeSurface;
|
|
2782
|
+
"background": string | undefined;
|
|
2648
2783
|
"isSelected": boolean;
|
|
2649
2784
|
"label": string | undefined;
|
|
2650
2785
|
}
|
|
@@ -2662,7 +2797,7 @@ declare namespace LocalJSX {
|
|
|
2662
2797
|
"value": string;
|
|
2663
2798
|
"actionsJson": string;
|
|
2664
2799
|
"heading": string | undefined;
|
|
2665
|
-
"
|
|
2800
|
+
"navStyle": NavChromeStyle;
|
|
2666
2801
|
"basePath": string;
|
|
2667
2802
|
"currentUrl": string;
|
|
2668
2803
|
}
|
|
@@ -2713,6 +2848,19 @@ declare namespace LocalJSX {
|
|
|
2713
2848
|
"indeterminate": boolean;
|
|
2714
2849
|
"inactive": boolean;
|
|
2715
2850
|
}
|
|
2851
|
+
interface DsChipAttributes {
|
|
2852
|
+
"label": string;
|
|
2853
|
+
"intent": ChipIntent;
|
|
2854
|
+
"contrast": ChipContrast;
|
|
2855
|
+
"elevation": ChipElevation;
|
|
2856
|
+
"size": ChipSize;
|
|
2857
|
+
"rounded": boolean;
|
|
2858
|
+
"removable": boolean;
|
|
2859
|
+
"maxWidth": string;
|
|
2860
|
+
"inactive": boolean;
|
|
2861
|
+
"background": ChipBackground | undefined;
|
|
2862
|
+
"pressed": boolean;
|
|
2863
|
+
}
|
|
2716
2864
|
interface DsDividerAttributes {
|
|
2717
2865
|
"orientation": DividerOrientation;
|
|
2718
2866
|
"surface": DividerSurface;
|
|
@@ -2726,8 +2874,11 @@ declare namespace LocalJSX {
|
|
|
2726
2874
|
}
|
|
2727
2875
|
interface DsFadeAttributes {
|
|
2728
2876
|
"side": FadeSide;
|
|
2877
|
+
"size": FadeSize;
|
|
2729
2878
|
"height": string | undefined;
|
|
2879
|
+
"surface": FadeSurface;
|
|
2730
2880
|
"background": string;
|
|
2881
|
+
"visible": boolean;
|
|
2731
2882
|
}
|
|
2732
2883
|
interface DsFieldAttributes {
|
|
2733
2884
|
"label": string;
|
|
@@ -2784,7 +2935,7 @@ declare namespace LocalJSX {
|
|
|
2784
2935
|
"inactive": boolean;
|
|
2785
2936
|
}
|
|
2786
2937
|
interface DsPanelNavAttributes {
|
|
2787
|
-
"
|
|
2938
|
+
"navStyle": NavChromeStyle;
|
|
2788
2939
|
"disableViewTransition": boolean;
|
|
2789
2940
|
"groups": string | PanelNavGroup[];
|
|
2790
2941
|
"routerMode": PanelNavRouterMode;
|
|
@@ -2877,12 +3028,7 @@ declare namespace LocalJSX {
|
|
|
2877
3028
|
"elevation": TagElevation;
|
|
2878
3029
|
"size": TagSize;
|
|
2879
3030
|
"rounded": boolean;
|
|
2880
|
-
"removable": boolean;
|
|
2881
3031
|
"maxWidth": string;
|
|
2882
|
-
"inactive": boolean;
|
|
2883
|
-
"background": TagBackground | undefined;
|
|
2884
|
-
"pressed": boolean;
|
|
2885
|
-
"interactive": boolean;
|
|
2886
3032
|
}
|
|
2887
3033
|
interface DsTextAttributes {
|
|
2888
3034
|
"variant": TextVariant;
|
|
@@ -2943,9 +3089,10 @@ declare namespace LocalJSX {
|
|
|
2943
3089
|
"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] };
|
|
2944
3090
|
"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] };
|
|
2945
3091
|
"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"]>;
|
|
3092
|
+
"ds-chip": Omit<DsChip, keyof DsChipAttributes> & { [K in keyof DsChip & keyof DsChipAttributes]?: DsChip[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `attr:${K}`]?: DsChipAttributes[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `prop:${K}`]?: DsChip[K] } & OneOf<"label", DsChip["label"], DsChipAttributes["label"]>;
|
|
2946
3093
|
"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] };
|
|
2947
3094
|
"ds-empty-state": Omit<DsEmptyState, keyof DsEmptyStateAttributes> & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes]?: DsEmptyState[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `attr:${K}`]?: DsEmptyStateAttributes[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `prop:${K}`]?: DsEmptyState[K] };
|
|
2948
|
-
"ds-fade": Omit<DsFade, keyof DsFadeAttributes> & { [K in keyof DsFade & keyof DsFadeAttributes]?: DsFade[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `attr:${K}`]?: DsFadeAttributes[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `prop:${K}`]?: DsFade[K] }
|
|
3095
|
+
"ds-fade": Omit<DsFade, keyof DsFadeAttributes> & { [K in keyof DsFade & keyof DsFadeAttributes]?: DsFade[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `attr:${K}`]?: DsFadeAttributes[K] } & { [K in keyof DsFade & keyof DsFadeAttributes as `prop:${K}`]?: DsFade[K] };
|
|
2949
3096
|
"ds-field": Omit<DsField, keyof DsFieldAttributes> & { [K in keyof DsField & keyof DsFieldAttributes]?: DsField[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `attr:${K}`]?: DsFieldAttributes[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `prop:${K}`]?: DsField[K] } & OneOf<"label", DsField["label"], DsFieldAttributes["label"]>;
|
|
2950
3097
|
"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] };
|
|
2951
3098
|
"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] };
|
|
@@ -2988,6 +3135,7 @@ declare module "@stencil/core" {
|
|
|
2988
3135
|
"ds-button-group": LocalJSX.IntrinsicElements["ds-button-group"] & JSXBase.HTMLAttributes<HTMLDsButtonGroupElement>;
|
|
2989
3136
|
"ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
|
|
2990
3137
|
"ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
|
|
3138
|
+
"ds-chip": LocalJSX.IntrinsicElements["ds-chip"] & JSXBase.HTMLAttributes<HTMLDsChipElement>;
|
|
2991
3139
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
2992
3140
|
"ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
|
|
2993
3141
|
"ds-fade": LocalJSX.IntrinsicElements["ds-fade"] & JSXBase.HTMLAttributes<HTMLDsFadeElement>;
|