@ds-mo/ui 1.1.0 → 1.3.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 -3
- 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-button-group.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/{ds-label-wrap.d.ts → ds-chip.d.ts} +4 -4
- 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-divider.js.map +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-slider.js.map +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-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-tag.js.map +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-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/p-B_enucPQ.js +2 -0
- package/dist/components/p-B_enucPQ.js.map +1 -0
- package/dist/components/p-DOtcc9UU.js +2 -0
- package/dist/components/p-DOtcc9UU.js.map +1 -0
- package/dist/components/{p-H89PzqGU.js → p-DrDrPeVV.js} +2 -2
- package/dist/components/p-OT-Q-NxH.js +2 -0
- package/dist/components/p-OT-Q-NxH.js.map +1 -0
- package/dist/components/{p-Dd0GrKaF.js → p-U1A-rprN.js} +2 -2
- package/dist/components/p-X1N_ggsY.js +2 -0
- package/dist/components/p-X1N_ggsY.js.map +1 -0
- package/dist/components/p-qfvbc9w-.js +2 -0
- package/dist/components/p-qfvbc9w-.js.map +1 -0
- package/dist/types/.stencil/Badge/Badge.d.ts +12 -0
- package/dist/types/.stencil/Badge/index.d.ts +1 -1
- package/dist/types/.stencil/Chip/Chip.d.ts +30 -0
- package/dist/types/.stencil/Chip/index.d.ts +2 -0
- package/dist/types/.stencil/Divider/Divider.d.ts +14 -0
- package/dist/types/.stencil/Fade/Fade.d.ts +17 -2
- package/dist/types/.stencil/Fade/index.d.ts +1 -1
- package/dist/types/.stencil/Tag/Tag.d.ts +0 -17
- package/dist/types/.stencil/Tag/index.d.ts +1 -1
- package/dist/types/.stencil/Text/Text.d.ts +2 -0
- package/dist/types/components.d.ts +283 -143
- package/package.json +12 -5
- package/src/angular/index.ts +1 -1
- package/src/angular/proxies.ts +51 -51
- package/src/react/components.ts +1 -1
- 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 +7 -1
- package/src/wc/components/BarNavAction/BarNavAction.tsx +9 -1
- package/src/wc/components/Chip/Chip.tsx +127 -0
- package/src/wc/components/Chip/index.ts +1 -0
- package/src/wc/components/Divider/Divider.tsx +88 -4
- 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 +17 -1
- package/src/wc/components/TabGroup/TabGroup.tsx +9 -1
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +9 -1
- package/src/wc/components/Tag/Tag.tsx +3 -70
- package/src/wc/components/Tag/index.ts +1 -1
- package/src/wc/components/Text/Text.tsx +3 -0
- package/src/wc/components.d.ts +283 -143
- package/dist/components/ds-label-wrap.js +0 -2
- package/dist/components/ds-label-wrap.js.map +0 -1
- package/dist/components/p-CMyQsk0K.js +0 -2
- package/dist/components/p-CMyQsk0K.js.map +0 -1
- package/dist/components/p-Vwlmhl4E.js +0 -2
- package/dist/components/p-Vwlmhl4E.js.map +0 -1
- package/dist/components/p-woooYulR.js +0 -2
- package/dist/components/p-woooYulR.js.map +0 -1
- package/dist/types/.stencil/LabelWrap/LabelWrap.d.ts +0 -15
- package/src/react/ds-label-wrap.ts +0 -26
- package/src/wc/components/LabelWrap/LabelWrap.tsx +0 -38
- /package/dist/components/{p-H89PzqGU.js.map → p-DrDrPeVV.js.map} +0 -0
- /package/dist/components/{p-Dd0GrKaF.js.map → p-U1A-rprN.js.map} +0 -0
package/src/wc/components.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
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
11
|
import { BarNavActionItem, BarNavBackground, BarNavTab } from "./components/BarNav/BarNav";
|
|
11
12
|
import { BarNavActionBackground } from "./components/BarNavAction/BarNavAction";
|
|
@@ -13,13 +14,13 @@ import { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
|
13
14
|
import { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
14
15
|
import { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
15
16
|
import { CardElevation, CardRadius } from "./components/Card/Card";
|
|
16
|
-
import {
|
|
17
|
+
import { ChipBackground, ChipContrast, ChipElevation, ChipIntent, ChipSize } from "./components/Chip/Chip";
|
|
18
|
+
import { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
17
19
|
import { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
18
|
-
import { FadeSide } from "./components/Fade/Fade";
|
|
20
|
+
import { FadeSide, FadeSize, FadeSurface } from "./components/Fade/Fade";
|
|
19
21
|
import { HeaderBackground } from "./components/Header/Header";
|
|
20
22
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
21
23
|
import { InputType } from "./components/Input/Input";
|
|
22
|
-
import { LabelWrapSize } from "./components/LabelWrap/LabelWrap";
|
|
23
24
|
import { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
24
25
|
import { ModalWidth } from "./components/Modal/Modal";
|
|
25
26
|
import { PanelNavGroup, PanelNavRouterMode, PanelNavVariant } from "./components/PanelNav/PanelNav";
|
|
@@ -33,13 +34,14 @@ import { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
|
33
34
|
import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
34
35
|
import { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
35
36
|
import { SortState, TableColumn } from "./components/Table/Table";
|
|
36
|
-
import {
|
|
37
|
-
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
37
|
+
import { TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
38
|
+
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
38
39
|
import { ToastPosition } from "./components/Toast/Toast";
|
|
39
40
|
import { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
40
41
|
import { ToggleGroupBackground, ToggleGroupElevation, ToggleGroupItem, ToggleGroupSize } from "./components/ToggleButtonGroup/ToggleButtonGroup";
|
|
41
42
|
import { TooltipAlign, TooltipSide } from "./components/Tooltip/Tooltip";
|
|
42
43
|
export { AccordionItemData } from "./components/Accordion/Accordion";
|
|
44
|
+
export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
43
45
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
44
46
|
export { BarNavActionItem, BarNavBackground, BarNavTab } from "./components/BarNav/BarNav";
|
|
45
47
|
export { BarNavActionBackground } from "./components/BarNavAction/BarNavAction";
|
|
@@ -47,13 +49,13 @@ export { BreadcrumbItem } from "./components/Breadcrumb/Breadcrumb";
|
|
|
47
49
|
export { ButtonBackground, ButtonContrast, ButtonElevation, ButtonIntent, ButtonSize, ButtonVariant } from "./components/Button/Button";
|
|
48
50
|
export { ButtonGroupElevation, ButtonGroupItem, ButtonGroupSize } from "./components/ButtonGroup/ButtonGroup";
|
|
49
51
|
export { CardElevation, CardRadius } from "./components/Card/Card";
|
|
50
|
-
export {
|
|
52
|
+
export { ChipBackground, ChipContrast, ChipElevation, ChipIntent, ChipSize } from "./components/Chip/Chip";
|
|
53
|
+
export { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
51
54
|
export { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
52
|
-
export { FadeSide } from "./components/Fade/Fade";
|
|
55
|
+
export { FadeSide, FadeSize, FadeSurface } from "./components/Fade/Fade";
|
|
53
56
|
export { HeaderBackground } from "./components/Header/Header";
|
|
54
57
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
55
58
|
export { InputType } from "./components/Input/Input";
|
|
56
|
-
export { LabelWrapSize } from "./components/LabelWrap/LabelWrap";
|
|
57
59
|
export { MenuAlign, MenuItemData, MenuSection, MenuSide } from "./components/Menu/Menu";
|
|
58
60
|
export { ModalWidth } from "./components/Modal/Modal";
|
|
59
61
|
export { PanelNavGroup, PanelNavRouterMode, PanelNavVariant } from "./components/PanelNav/PanelNav";
|
|
@@ -67,8 +69,8 @@ export { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
|
67
69
|
export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
68
70
|
export { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
69
71
|
export { SortState, TableColumn } from "./components/Table/Table";
|
|
70
|
-
export {
|
|
71
|
-
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
72
|
+
export { TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
73
|
+
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/Text";
|
|
72
74
|
export { ToastPosition } from "./components/Toast/Toast";
|
|
73
75
|
export { ToggleButtonBackground, ToggleButtonElevation, ToggleButtonSize } from "./components/ToggleButton/ToggleButton";
|
|
74
76
|
export { ToggleGroupBackground, ToggleGroupElevation, ToggleGroupItem, ToggleGroupSize } from "./components/ToggleButtonGroup/ToggleButtonGroup";
|
|
@@ -91,10 +93,16 @@ export namespace Components {
|
|
|
91
93
|
}
|
|
92
94
|
interface DsBadge {
|
|
93
95
|
/**
|
|
96
|
+
* Direct ring background override for component-local surfaces.
|
|
97
|
+
*/
|
|
98
|
+
"background": string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* Count shown for counter badges. Count 0 hides the badge.
|
|
94
101
|
* @default 0
|
|
95
102
|
*/
|
|
96
103
|
"count": number;
|
|
97
104
|
/**
|
|
105
|
+
* Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
|
|
98
106
|
* @default false
|
|
99
107
|
*/
|
|
100
108
|
"isSelected": boolean;
|
|
@@ -102,6 +110,21 @@ export namespace Components {
|
|
|
102
110
|
* Accessible label. Defaults to the count as a string.
|
|
103
111
|
*/
|
|
104
112
|
"label": string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Highest count shown before compacting to "+".
|
|
115
|
+
* @default 9
|
|
116
|
+
*/
|
|
117
|
+
"max": number;
|
|
118
|
+
/**
|
|
119
|
+
* Surface context for the ring around dots.
|
|
120
|
+
* @default 'default'
|
|
121
|
+
*/
|
|
122
|
+
"surface": BadgeSurface;
|
|
123
|
+
/**
|
|
124
|
+
* Render as a compact counter or notification dot.
|
|
125
|
+
* @default 'counter'
|
|
126
|
+
*/
|
|
127
|
+
"variant": BadgeVariant;
|
|
105
128
|
}
|
|
106
129
|
interface DsBanner {
|
|
107
130
|
/**
|
|
@@ -320,12 +343,69 @@ export namespace Components {
|
|
|
320
343
|
"indeterminate": boolean;
|
|
321
344
|
"label": string;
|
|
322
345
|
}
|
|
346
|
+
interface DsChip {
|
|
347
|
+
"background": ChipBackground | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* @default 'faint'
|
|
350
|
+
*/
|
|
351
|
+
"contrast": ChipContrast;
|
|
352
|
+
/**
|
|
353
|
+
* @default 'none'
|
|
354
|
+
*/
|
|
355
|
+
"elevation": ChipElevation;
|
|
356
|
+
/**
|
|
357
|
+
* @default false
|
|
358
|
+
*/
|
|
359
|
+
"inactive": boolean;
|
|
360
|
+
/**
|
|
361
|
+
* @default 'neutral'
|
|
362
|
+
*/
|
|
363
|
+
"intent": ChipIntent;
|
|
364
|
+
"label": string;
|
|
365
|
+
"maxWidth": string | number | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* @default false
|
|
368
|
+
*/
|
|
369
|
+
"pressed": boolean;
|
|
370
|
+
/**
|
|
371
|
+
* @default false
|
|
372
|
+
*/
|
|
373
|
+
"removable": boolean;
|
|
374
|
+
/**
|
|
375
|
+
* @default false
|
|
376
|
+
*/
|
|
377
|
+
"rounded": boolean;
|
|
378
|
+
/**
|
|
379
|
+
* @default 'md'
|
|
380
|
+
*/
|
|
381
|
+
"size": ChipSize;
|
|
382
|
+
}
|
|
323
383
|
interface DsDivider {
|
|
384
|
+
/**
|
|
385
|
+
* Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
|
|
386
|
+
* @default 'none'
|
|
387
|
+
*/
|
|
388
|
+
"inset": DividerInset;
|
|
389
|
+
/**
|
|
390
|
+
* Visual line length. Defaults to filling the available axis. Accepts any CSS length.
|
|
391
|
+
* @default 'auto'
|
|
392
|
+
*/
|
|
393
|
+
"length": DividerLength;
|
|
324
394
|
/**
|
|
325
395
|
* Direction of the divider line. Defaults to 'horizontal'.
|
|
326
396
|
* @default 'horizontal'
|
|
327
397
|
*/
|
|
328
398
|
"orientation": DividerOrientation;
|
|
399
|
+
/**
|
|
400
|
+
* Expose the divider as a semantic separator. Visual-only dividers are hidden from assistive tech by default.
|
|
401
|
+
* @default false
|
|
402
|
+
*/
|
|
403
|
+
"semantic": boolean;
|
|
404
|
+
/**
|
|
405
|
+
* Surface context so the divider uses the right TokoMo divider token.
|
|
406
|
+
* @default 'default'
|
|
407
|
+
*/
|
|
408
|
+
"surface": DividerSurface;
|
|
329
409
|
}
|
|
330
410
|
interface DsEmptyState {
|
|
331
411
|
"message": string | undefined;
|
|
@@ -336,15 +416,34 @@ export namespace Components {
|
|
|
336
416
|
}
|
|
337
417
|
interface DsFade {
|
|
338
418
|
/**
|
|
339
|
-
*
|
|
419
|
+
* Direct background override for contexts that already expose a resolved surface var.
|
|
340
420
|
* @default 'var(--color-background-secondary)'
|
|
341
421
|
*/
|
|
342
422
|
"background": string;
|
|
343
423
|
/**
|
|
344
|
-
*
|
|
424
|
+
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
345
425
|
*/
|
|
346
426
|
"height": string | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* Edge where the fade is anchored.
|
|
429
|
+
* @default 'bottom'
|
|
430
|
+
*/
|
|
347
431
|
"side": FadeSide;
|
|
432
|
+
/**
|
|
433
|
+
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
434
|
+
* @default 'size-600'
|
|
435
|
+
*/
|
|
436
|
+
"size": FadeSize;
|
|
437
|
+
/**
|
|
438
|
+
* Surface context used to choose the fade target background token.
|
|
439
|
+
* @default 'default'
|
|
440
|
+
*/
|
|
441
|
+
"surface": FadeSurface;
|
|
442
|
+
/**
|
|
443
|
+
* Controls visibility without removing the element from layout/positioning.
|
|
444
|
+
* @default true
|
|
445
|
+
*/
|
|
446
|
+
"visible": boolean;
|
|
348
447
|
}
|
|
349
448
|
interface DsField {
|
|
350
449
|
/**
|
|
@@ -417,23 +516,6 @@ export namespace Components {
|
|
|
417
516
|
*/
|
|
418
517
|
"value": string;
|
|
419
518
|
}
|
|
420
|
-
/**
|
|
421
|
-
* Internal utility wrapper that kills line-height struts and adds optical
|
|
422
|
-
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
423
|
-
* Not intended as a standalone consumer-facing component — internal use only.
|
|
424
|
-
*/
|
|
425
|
-
interface DsLabelWrap {
|
|
426
|
-
/**
|
|
427
|
-
* Typography size — controls optical horizontal padding.
|
|
428
|
-
* @default 'md'
|
|
429
|
-
*/
|
|
430
|
-
"size": LabelWrapSize;
|
|
431
|
-
/**
|
|
432
|
-
* Enable truncation with ellipsis — use inside full-width containers.
|
|
433
|
-
* @default false
|
|
434
|
-
*/
|
|
435
|
-
"truncate": boolean;
|
|
436
|
-
}
|
|
437
519
|
interface DsLoader {
|
|
438
520
|
/**
|
|
439
521
|
* 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.
|
|
@@ -800,7 +882,6 @@ export namespace Components {
|
|
|
800
882
|
"sortState": SortState | undefined;
|
|
801
883
|
}
|
|
802
884
|
interface DsTag {
|
|
803
|
-
"background": TagBackground | undefined;
|
|
804
885
|
/**
|
|
805
886
|
* @default 'faint'
|
|
806
887
|
*/
|
|
@@ -809,29 +890,12 @@ export namespace Components {
|
|
|
809
890
|
* @default 'none'
|
|
810
891
|
*/
|
|
811
892
|
"elevation": TagElevation;
|
|
812
|
-
/**
|
|
813
|
-
* @default false
|
|
814
|
-
*/
|
|
815
|
-
"inactive": boolean;
|
|
816
893
|
/**
|
|
817
894
|
* @default 'neutral'
|
|
818
895
|
*/
|
|
819
896
|
"intent": TagIntent;
|
|
820
|
-
/**
|
|
821
|
-
* Whether the tag has a click/toggle behavior.
|
|
822
|
-
* @default false
|
|
823
|
-
*/
|
|
824
|
-
"interactive": boolean;
|
|
825
897
|
"label": string;
|
|
826
898
|
"maxWidth": string | number | undefined;
|
|
827
|
-
/**
|
|
828
|
-
* @default false
|
|
829
|
-
*/
|
|
830
|
-
"pressed": boolean;
|
|
831
|
-
/**
|
|
832
|
-
* @default false
|
|
833
|
-
*/
|
|
834
|
-
"removable": boolean;
|
|
835
899
|
/**
|
|
836
900
|
* @default false
|
|
837
901
|
*/
|
|
@@ -849,6 +913,10 @@ export namespace Components {
|
|
|
849
913
|
"as": TextElement;
|
|
850
914
|
"color": TextColor | undefined;
|
|
851
915
|
"decoration": TextDecoration | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* @default 'normal'
|
|
918
|
+
*/
|
|
919
|
+
"fontFeature": TextFontFeature;
|
|
852
920
|
/**
|
|
853
921
|
* Maps to `for` attribute on <label> elements.
|
|
854
922
|
*/
|
|
@@ -1017,6 +1085,10 @@ export interface DsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1017
1085
|
detail: T;
|
|
1018
1086
|
target: HTMLDsCheckboxElement;
|
|
1019
1087
|
}
|
|
1088
|
+
export interface DsChipCustomEvent<T> extends CustomEvent<T> {
|
|
1089
|
+
detail: T;
|
|
1090
|
+
target: HTMLDsChipElement;
|
|
1091
|
+
}
|
|
1020
1092
|
export interface DsInputCustomEvent<T> extends CustomEvent<T> {
|
|
1021
1093
|
detail: T;
|
|
1022
1094
|
target: HTMLDsInputElement;
|
|
@@ -1065,10 +1137,6 @@ export interface DsTableCustomEvent<T> extends CustomEvent<T> {
|
|
|
1065
1137
|
detail: T;
|
|
1066
1138
|
target: HTMLDsTableElement;
|
|
1067
1139
|
}
|
|
1068
|
-
export interface DsTagCustomEvent<T> extends CustomEvent<T> {
|
|
1069
|
-
detail: T;
|
|
1070
|
-
target: HTMLDsTagElement;
|
|
1071
|
-
}
|
|
1072
1140
|
export interface DsToggleCustomEvent<T> extends CustomEvent<T> {
|
|
1073
1141
|
detail: T;
|
|
1074
1142
|
target: HTMLDsToggleElement;
|
|
@@ -1233,6 +1301,25 @@ declare global {
|
|
|
1233
1301
|
prototype: HTMLDsCheckboxElement;
|
|
1234
1302
|
new (): HTMLDsCheckboxElement;
|
|
1235
1303
|
};
|
|
1304
|
+
interface HTMLDsChipElementEventMap {
|
|
1305
|
+
"dsRemove": void;
|
|
1306
|
+
"dsClick": void;
|
|
1307
|
+
"dsPressedChange": boolean;
|
|
1308
|
+
}
|
|
1309
|
+
interface HTMLDsChipElement extends Components.DsChip, HTMLStencilElement {
|
|
1310
|
+
addEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1311
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1312
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1313
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1314
|
+
removeEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1315
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1316
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1317
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1318
|
+
}
|
|
1319
|
+
var HTMLDsChipElement: {
|
|
1320
|
+
prototype: HTMLDsChipElement;
|
|
1321
|
+
new (): HTMLDsChipElement;
|
|
1322
|
+
};
|
|
1236
1323
|
interface HTMLDsDividerElement extends Components.DsDivider, HTMLStencilElement {
|
|
1237
1324
|
}
|
|
1238
1325
|
var HTMLDsDividerElement: {
|
|
@@ -1287,17 +1374,6 @@ declare global {
|
|
|
1287
1374
|
prototype: HTMLDsInputElement;
|
|
1288
1375
|
new (): HTMLDsInputElement;
|
|
1289
1376
|
};
|
|
1290
|
-
/**
|
|
1291
|
-
* Internal utility wrapper that kills line-height struts and adds optical
|
|
1292
|
-
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
1293
|
-
* Not intended as a standalone consumer-facing component — internal use only.
|
|
1294
|
-
*/
|
|
1295
|
-
interface HTMLDsLabelWrapElement extends Components.DsLabelWrap, HTMLStencilElement {
|
|
1296
|
-
}
|
|
1297
|
-
var HTMLDsLabelWrapElement: {
|
|
1298
|
-
prototype: HTMLDsLabelWrapElement;
|
|
1299
|
-
new (): HTMLDsLabelWrapElement;
|
|
1300
|
-
};
|
|
1301
1377
|
interface HTMLDsLoaderElement extends Components.DsLoader, HTMLStencilElement {
|
|
1302
1378
|
}
|
|
1303
1379
|
var HTMLDsLoaderElement: {
|
|
@@ -1516,20 +1592,7 @@ declare global {
|
|
|
1516
1592
|
prototype: HTMLDsTableElement;
|
|
1517
1593
|
new (): HTMLDsTableElement;
|
|
1518
1594
|
};
|
|
1519
|
-
interface HTMLDsTagElementEventMap {
|
|
1520
|
-
"dsRemove": void;
|
|
1521
|
-
"dsClick": void;
|
|
1522
|
-
"dsPressedChange": boolean;
|
|
1523
|
-
}
|
|
1524
1595
|
interface HTMLDsTagElement extends Components.DsTag, HTMLStencilElement {
|
|
1525
|
-
addEventListener<K extends keyof HTMLDsTagElementEventMap>(type: K, listener: (this: HTMLDsTagElement, ev: DsTagCustomEvent<HTMLDsTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1526
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1527
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1528
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1529
|
-
removeEventListener<K extends keyof HTMLDsTagElementEventMap>(type: K, listener: (this: HTMLDsTagElement, ev: DsTagCustomEvent<HTMLDsTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1530
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1531
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1532
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1533
1596
|
}
|
|
1534
1597
|
var HTMLDsTagElement: {
|
|
1535
1598
|
prototype: HTMLDsTagElement;
|
|
@@ -1615,6 +1678,7 @@ declare global {
|
|
|
1615
1678
|
"ds-button-group": HTMLDsButtonGroupElement;
|
|
1616
1679
|
"ds-card": HTMLDsCardElement;
|
|
1617
1680
|
"ds-checkbox": HTMLDsCheckboxElement;
|
|
1681
|
+
"ds-chip": HTMLDsChipElement;
|
|
1618
1682
|
"ds-divider": HTMLDsDividerElement;
|
|
1619
1683
|
"ds-empty-state": HTMLDsEmptyStateElement;
|
|
1620
1684
|
"ds-fade": HTMLDsFadeElement;
|
|
@@ -1622,7 +1686,6 @@ declare global {
|
|
|
1622
1686
|
"ds-header": HTMLDsHeaderElement;
|
|
1623
1687
|
"ds-icon": HTMLDsIconElement;
|
|
1624
1688
|
"ds-input": HTMLDsInputElement;
|
|
1625
|
-
"ds-label-wrap": HTMLDsLabelWrapElement;
|
|
1626
1689
|
"ds-loader": HTMLDsLoaderElement;
|
|
1627
1690
|
"ds-menu": HTMLDsMenuElement;
|
|
1628
1691
|
"ds-modal": HTMLDsModalElement;
|
|
@@ -1668,10 +1731,16 @@ declare namespace LocalJSX {
|
|
|
1668
1731
|
}
|
|
1669
1732
|
interface DsBadge {
|
|
1670
1733
|
/**
|
|
1734
|
+
* Direct ring background override for component-local surfaces.
|
|
1735
|
+
*/
|
|
1736
|
+
"background"?: string | undefined;
|
|
1737
|
+
/**
|
|
1738
|
+
* Count shown for counter badges. Count 0 hides the badge.
|
|
1671
1739
|
* @default 0
|
|
1672
1740
|
*/
|
|
1673
1741
|
"count"?: number;
|
|
1674
1742
|
/**
|
|
1743
|
+
* Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
|
|
1675
1744
|
* @default false
|
|
1676
1745
|
*/
|
|
1677
1746
|
"isSelected"?: boolean;
|
|
@@ -1679,6 +1748,21 @@ declare namespace LocalJSX {
|
|
|
1679
1748
|
* Accessible label. Defaults to the count as a string.
|
|
1680
1749
|
*/
|
|
1681
1750
|
"label"?: string | undefined;
|
|
1751
|
+
/**
|
|
1752
|
+
* Highest count shown before compacting to "+".
|
|
1753
|
+
* @default 9
|
|
1754
|
+
*/
|
|
1755
|
+
"max"?: number;
|
|
1756
|
+
/**
|
|
1757
|
+
* Surface context for the ring around dots.
|
|
1758
|
+
* @default 'default'
|
|
1759
|
+
*/
|
|
1760
|
+
"surface"?: BadgeSurface;
|
|
1761
|
+
/**
|
|
1762
|
+
* Render as a compact counter or notification dot.
|
|
1763
|
+
* @default 'counter'
|
|
1764
|
+
*/
|
|
1765
|
+
"variant"?: BadgeVariant;
|
|
1682
1766
|
}
|
|
1683
1767
|
interface DsBanner {
|
|
1684
1768
|
/**
|
|
@@ -1919,12 +2003,81 @@ declare namespace LocalJSX {
|
|
|
1919
2003
|
"label": string;
|
|
1920
2004
|
"onDsChange"?: (event: DsCheckboxCustomEvent<boolean>) => void;
|
|
1921
2005
|
}
|
|
2006
|
+
interface DsChip {
|
|
2007
|
+
"background"?: ChipBackground | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* @default 'faint'
|
|
2010
|
+
*/
|
|
2011
|
+
"contrast"?: ChipContrast;
|
|
2012
|
+
/**
|
|
2013
|
+
* @default 'none'
|
|
2014
|
+
*/
|
|
2015
|
+
"elevation"?: ChipElevation;
|
|
2016
|
+
/**
|
|
2017
|
+
* @default false
|
|
2018
|
+
*/
|
|
2019
|
+
"inactive"?: boolean;
|
|
2020
|
+
/**
|
|
2021
|
+
* @default 'neutral'
|
|
2022
|
+
*/
|
|
2023
|
+
"intent"?: ChipIntent;
|
|
2024
|
+
"label": string;
|
|
2025
|
+
"maxWidth"?: string | number | undefined;
|
|
2026
|
+
/**
|
|
2027
|
+
* Fired when an interactive chip is clicked.
|
|
2028
|
+
*/
|
|
2029
|
+
"onDsClick"?: (event: DsChipCustomEvent<void>) => void;
|
|
2030
|
+
/**
|
|
2031
|
+
* Fired when the pressed state toggles.
|
|
2032
|
+
*/
|
|
2033
|
+
"onDsPressedChange"?: (event: DsChipCustomEvent<boolean>) => void;
|
|
2034
|
+
/**
|
|
2035
|
+
* Fired when the remove button is clicked.
|
|
2036
|
+
*/
|
|
2037
|
+
"onDsRemove"?: (event: DsChipCustomEvent<void>) => void;
|
|
2038
|
+
/**
|
|
2039
|
+
* @default false
|
|
2040
|
+
*/
|
|
2041
|
+
"pressed"?: boolean;
|
|
2042
|
+
/**
|
|
2043
|
+
* @default false
|
|
2044
|
+
*/
|
|
2045
|
+
"removable"?: boolean;
|
|
2046
|
+
/**
|
|
2047
|
+
* @default false
|
|
2048
|
+
*/
|
|
2049
|
+
"rounded"?: boolean;
|
|
2050
|
+
/**
|
|
2051
|
+
* @default 'md'
|
|
2052
|
+
*/
|
|
2053
|
+
"size"?: ChipSize;
|
|
2054
|
+
}
|
|
1922
2055
|
interface DsDivider {
|
|
2056
|
+
/**
|
|
2057
|
+
* Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
|
|
2058
|
+
* @default 'none'
|
|
2059
|
+
*/
|
|
2060
|
+
"inset"?: DividerInset;
|
|
2061
|
+
/**
|
|
2062
|
+
* Visual line length. Defaults to filling the available axis. Accepts any CSS length.
|
|
2063
|
+
* @default 'auto'
|
|
2064
|
+
*/
|
|
2065
|
+
"length"?: DividerLength;
|
|
1923
2066
|
/**
|
|
1924
2067
|
* Direction of the divider line. Defaults to 'horizontal'.
|
|
1925
2068
|
* @default 'horizontal'
|
|
1926
2069
|
*/
|
|
1927
2070
|
"orientation"?: DividerOrientation;
|
|
2071
|
+
/**
|
|
2072
|
+
* Expose the divider as a semantic separator. Visual-only dividers are hidden from assistive tech by default.
|
|
2073
|
+
* @default false
|
|
2074
|
+
*/
|
|
2075
|
+
"semantic"?: boolean;
|
|
2076
|
+
/**
|
|
2077
|
+
* Surface context so the divider uses the right TokoMo divider token.
|
|
2078
|
+
* @default 'default'
|
|
2079
|
+
*/
|
|
2080
|
+
"surface"?: DividerSurface;
|
|
1928
2081
|
}
|
|
1929
2082
|
interface DsEmptyState {
|
|
1930
2083
|
"message"?: string | undefined;
|
|
@@ -1935,15 +2088,34 @@ declare namespace LocalJSX {
|
|
|
1935
2088
|
}
|
|
1936
2089
|
interface DsFade {
|
|
1937
2090
|
/**
|
|
1938
|
-
*
|
|
2091
|
+
* Direct background override for contexts that already expose a resolved surface var.
|
|
1939
2092
|
* @default 'var(--color-background-secondary)'
|
|
1940
2093
|
*/
|
|
1941
2094
|
"background"?: string;
|
|
1942
2095
|
/**
|
|
1943
|
-
*
|
|
2096
|
+
* Deprecated alias for size. Kept for existing consumers that pass a raw CSS length. Prefer `size`.
|
|
1944
2097
|
*/
|
|
1945
2098
|
"height"?: string | undefined;
|
|
1946
|
-
|
|
2099
|
+
/**
|
|
2100
|
+
* Edge where the fade is anchored.
|
|
2101
|
+
* @default 'bottom'
|
|
2102
|
+
*/
|
|
2103
|
+
"side"?: FadeSide;
|
|
2104
|
+
/**
|
|
2105
|
+
* Fade depth along the fade axis. Accepts dimension size token names or any CSS length.
|
|
2106
|
+
* @default 'size-600'
|
|
2107
|
+
*/
|
|
2108
|
+
"size"?: FadeSize;
|
|
2109
|
+
/**
|
|
2110
|
+
* Surface context used to choose the fade target background token.
|
|
2111
|
+
* @default 'default'
|
|
2112
|
+
*/
|
|
2113
|
+
"surface"?: FadeSurface;
|
|
2114
|
+
/**
|
|
2115
|
+
* Controls visibility without removing the element from layout/positioning.
|
|
2116
|
+
* @default true
|
|
2117
|
+
*/
|
|
2118
|
+
"visible"?: boolean;
|
|
1947
2119
|
}
|
|
1948
2120
|
interface DsField {
|
|
1949
2121
|
/**
|
|
@@ -2017,23 +2189,6 @@ declare namespace LocalJSX {
|
|
|
2017
2189
|
*/
|
|
2018
2190
|
"value"?: string;
|
|
2019
2191
|
}
|
|
2020
|
-
/**
|
|
2021
|
-
* Internal utility wrapper that kills line-height struts and adds optical
|
|
2022
|
-
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
2023
|
-
* Not intended as a standalone consumer-facing component — internal use only.
|
|
2024
|
-
*/
|
|
2025
|
-
interface DsLabelWrap {
|
|
2026
|
-
/**
|
|
2027
|
-
* Typography size — controls optical horizontal padding.
|
|
2028
|
-
* @default 'md'
|
|
2029
|
-
*/
|
|
2030
|
-
"size"?: LabelWrapSize;
|
|
2031
|
-
/**
|
|
2032
|
-
* Enable truncation with ellipsis — use inside full-width containers.
|
|
2033
|
-
* @default false
|
|
2034
|
-
*/
|
|
2035
|
-
"truncate"?: boolean;
|
|
2036
|
-
}
|
|
2037
2192
|
interface DsLoader {
|
|
2038
2193
|
/**
|
|
2039
2194
|
* 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.
|
|
@@ -2433,7 +2588,6 @@ declare namespace LocalJSX {
|
|
|
2433
2588
|
"sortState"?: SortState | undefined;
|
|
2434
2589
|
}
|
|
2435
2590
|
interface DsTag {
|
|
2436
|
-
"background"?: TagBackground | undefined;
|
|
2437
2591
|
/**
|
|
2438
2592
|
* @default 'faint'
|
|
2439
2593
|
*/
|
|
@@ -2442,41 +2596,12 @@ declare namespace LocalJSX {
|
|
|
2442
2596
|
* @default 'none'
|
|
2443
2597
|
*/
|
|
2444
2598
|
"elevation"?: TagElevation;
|
|
2445
|
-
/**
|
|
2446
|
-
* @default false
|
|
2447
|
-
*/
|
|
2448
|
-
"inactive"?: boolean;
|
|
2449
2599
|
/**
|
|
2450
2600
|
* @default 'neutral'
|
|
2451
2601
|
*/
|
|
2452
2602
|
"intent"?: TagIntent;
|
|
2453
|
-
/**
|
|
2454
|
-
* Whether the tag has a click/toggle behavior.
|
|
2455
|
-
* @default false
|
|
2456
|
-
*/
|
|
2457
|
-
"interactive"?: boolean;
|
|
2458
2603
|
"label": string;
|
|
2459
2604
|
"maxWidth"?: string | number | undefined;
|
|
2460
|
-
/**
|
|
2461
|
-
* Fired when an interactive tag is clicked.
|
|
2462
|
-
*/
|
|
2463
|
-
"onDsClick"?: (event: DsTagCustomEvent<void>) => void;
|
|
2464
|
-
/**
|
|
2465
|
-
* Fired when the pressed state toggles.
|
|
2466
|
-
*/
|
|
2467
|
-
"onDsPressedChange"?: (event: DsTagCustomEvent<boolean>) => void;
|
|
2468
|
-
/**
|
|
2469
|
-
* Fired when the remove button is clicked.
|
|
2470
|
-
*/
|
|
2471
|
-
"onDsRemove"?: (event: DsTagCustomEvent<void>) => void;
|
|
2472
|
-
/**
|
|
2473
|
-
* @default false
|
|
2474
|
-
*/
|
|
2475
|
-
"pressed"?: boolean;
|
|
2476
|
-
/**
|
|
2477
|
-
* @default false
|
|
2478
|
-
*/
|
|
2479
|
-
"removable"?: boolean;
|
|
2480
2605
|
/**
|
|
2481
2606
|
* @default false
|
|
2482
2607
|
*/
|
|
@@ -2494,6 +2619,10 @@ declare namespace LocalJSX {
|
|
|
2494
2619
|
"as"?: TextElement;
|
|
2495
2620
|
"color"?: TextColor | undefined;
|
|
2496
2621
|
"decoration"?: TextDecoration | undefined;
|
|
2622
|
+
/**
|
|
2623
|
+
* @default 'normal'
|
|
2624
|
+
*/
|
|
2625
|
+
"fontFeature"?: TextFontFeature;
|
|
2497
2626
|
/**
|
|
2498
2627
|
* Maps to `for` attribute on <label> elements.
|
|
2499
2628
|
*/
|
|
@@ -2644,7 +2773,11 @@ declare namespace LocalJSX {
|
|
|
2644
2773
|
"expandedIds": string;
|
|
2645
2774
|
}
|
|
2646
2775
|
interface DsBadgeAttributes {
|
|
2776
|
+
"variant": BadgeVariant;
|
|
2647
2777
|
"count": number;
|
|
2778
|
+
"max": number;
|
|
2779
|
+
"surface": BadgeSurface;
|
|
2780
|
+
"background": string | undefined;
|
|
2648
2781
|
"isSelected": boolean;
|
|
2649
2782
|
"label": string | undefined;
|
|
2650
2783
|
}
|
|
@@ -2713,8 +2846,25 @@ declare namespace LocalJSX {
|
|
|
2713
2846
|
"indeterminate": boolean;
|
|
2714
2847
|
"inactive": boolean;
|
|
2715
2848
|
}
|
|
2849
|
+
interface DsChipAttributes {
|
|
2850
|
+
"label": string;
|
|
2851
|
+
"intent": ChipIntent;
|
|
2852
|
+
"contrast": ChipContrast;
|
|
2853
|
+
"elevation": ChipElevation;
|
|
2854
|
+
"size": ChipSize;
|
|
2855
|
+
"rounded": boolean;
|
|
2856
|
+
"removable": boolean;
|
|
2857
|
+
"maxWidth": string;
|
|
2858
|
+
"inactive": boolean;
|
|
2859
|
+
"background": ChipBackground | undefined;
|
|
2860
|
+
"pressed": boolean;
|
|
2861
|
+
}
|
|
2716
2862
|
interface DsDividerAttributes {
|
|
2717
2863
|
"orientation": DividerOrientation;
|
|
2864
|
+
"surface": DividerSurface;
|
|
2865
|
+
"inset": DividerInset;
|
|
2866
|
+
"length": DividerLength;
|
|
2867
|
+
"semantic": boolean;
|
|
2718
2868
|
}
|
|
2719
2869
|
interface DsEmptyStateAttributes {
|
|
2720
2870
|
"type": EmptyStateType;
|
|
@@ -2722,8 +2872,11 @@ declare namespace LocalJSX {
|
|
|
2722
2872
|
}
|
|
2723
2873
|
interface DsFadeAttributes {
|
|
2724
2874
|
"side": FadeSide;
|
|
2875
|
+
"size": FadeSize;
|
|
2725
2876
|
"height": string | undefined;
|
|
2877
|
+
"surface": FadeSurface;
|
|
2726
2878
|
"background": string;
|
|
2879
|
+
"visible": boolean;
|
|
2727
2880
|
}
|
|
2728
2881
|
interface DsFieldAttributes {
|
|
2729
2882
|
"label": string;
|
|
@@ -2753,10 +2906,6 @@ declare namespace LocalJSX {
|
|
|
2753
2906
|
"ariaLabelledby": string | undefined;
|
|
2754
2907
|
"ariaDescribedby": string | undefined;
|
|
2755
2908
|
}
|
|
2756
|
-
interface DsLabelWrapAttributes {
|
|
2757
|
-
"size": LabelWrapSize;
|
|
2758
|
-
"truncate": boolean;
|
|
2759
|
-
}
|
|
2760
2909
|
interface DsLoaderAttributes {
|
|
2761
2910
|
"size": number;
|
|
2762
2911
|
"label": string | undefined;
|
|
@@ -2877,12 +3026,7 @@ declare namespace LocalJSX {
|
|
|
2877
3026
|
"elevation": TagElevation;
|
|
2878
3027
|
"size": TagSize;
|
|
2879
3028
|
"rounded": boolean;
|
|
2880
|
-
"removable": boolean;
|
|
2881
3029
|
"maxWidth": string;
|
|
2882
|
-
"inactive": boolean;
|
|
2883
|
-
"background": TagBackground | undefined;
|
|
2884
|
-
"pressed": boolean;
|
|
2885
|
-
"interactive": boolean;
|
|
2886
3030
|
}
|
|
2887
3031
|
interface DsTextAttributes {
|
|
2888
3032
|
"variant": TextVariant;
|
|
@@ -2892,6 +3036,7 @@ declare namespace LocalJSX {
|
|
|
2892
3036
|
"align": TextAlign | undefined;
|
|
2893
3037
|
"lineTruncation": string;
|
|
2894
3038
|
"wrap": TextWrap | undefined;
|
|
3039
|
+
"fontFeature": TextFontFeature;
|
|
2895
3040
|
"as": TextElement;
|
|
2896
3041
|
"for": string | undefined;
|
|
2897
3042
|
}
|
|
@@ -2942,14 +3087,14 @@ declare namespace LocalJSX {
|
|
|
2942
3087
|
"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] };
|
|
2943
3088
|
"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] };
|
|
2944
3089
|
"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"]>;
|
|
3090
|
+
"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"]>;
|
|
2945
3091
|
"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] };
|
|
2946
3092
|
"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] };
|
|
2947
|
-
"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] }
|
|
3093
|
+
"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] };
|
|
2948
3094
|
"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"]>;
|
|
2949
3095
|
"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] };
|
|
2950
3096
|
"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] };
|
|
2951
3097
|
"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] };
|
|
2952
|
-
"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] };
|
|
2953
3098
|
"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] };
|
|
2954
3099
|
"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] };
|
|
2955
3100
|
"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"]>;
|
|
@@ -2988,6 +3133,7 @@ declare module "@stencil/core" {
|
|
|
2988
3133
|
"ds-button-group": LocalJSX.IntrinsicElements["ds-button-group"] & JSXBase.HTMLAttributes<HTMLDsButtonGroupElement>;
|
|
2989
3134
|
"ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
|
|
2990
3135
|
"ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
|
|
3136
|
+
"ds-chip": LocalJSX.IntrinsicElements["ds-chip"] & JSXBase.HTMLAttributes<HTMLDsChipElement>;
|
|
2991
3137
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
2992
3138
|
"ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
|
|
2993
3139
|
"ds-fade": LocalJSX.IntrinsicElements["ds-fade"] & JSXBase.HTMLAttributes<HTMLDsFadeElement>;
|
|
@@ -2995,12 +3141,6 @@ declare module "@stencil/core" {
|
|
|
2995
3141
|
"ds-header": LocalJSX.IntrinsicElements["ds-header"] & JSXBase.HTMLAttributes<HTMLDsHeaderElement>;
|
|
2996
3142
|
"ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
|
|
2997
3143
|
"ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
|
|
2998
|
-
/**
|
|
2999
|
-
* Internal utility wrapper that kills line-height struts and adds optical
|
|
3000
|
-
* horizontal padding. Used inside interactive components (Button, Tag, etc.)
|
|
3001
|
-
* Not intended as a standalone consumer-facing component — internal use only.
|
|
3002
|
-
*/
|
|
3003
|
-
"ds-label-wrap": LocalJSX.IntrinsicElements["ds-label-wrap"] & JSXBase.HTMLAttributes<HTMLDsLabelWrapElement>;
|
|
3004
3144
|
"ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
|
|
3005
3145
|
"ds-menu": LocalJSX.IntrinsicElements["ds-menu"] & JSXBase.HTMLAttributes<HTMLDsMenuElement>;
|
|
3006
3146
|
"ds-modal": LocalJSX.IntrinsicElements["ds-modal"] & JSXBase.HTMLAttributes<HTMLDsModalElement>;
|