@ds-mo/ui 2.12.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.build-stamp +1 -1
- package/dist/components/ds-app-shell.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-nav.js.map +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/{ds-card-data-viz.d.ts → ds-card-data-viz-donut.d.ts} +4 -4
- package/dist/components/ds-card-data-viz-donut.js +2 -0
- package/dist/components/ds-card-data-viz-donut.js.map +1 -0
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/{ds-header.d.ts → ds-card.d.ts} +4 -4
- package/dist/components/ds-card.js +2 -0
- package/dist/components/ds-card.js.map +1 -0
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-bar.js.map +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-donut.js.map +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-empty-state.js.map +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-field.js.map +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-input.js.map +1 -1
- package/dist/components/ds-loader.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-panel-tools.js.map +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-select.js.map +1 -1
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.js +1 -1
- package/dist/components/ds-slider.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-table.js +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-BPK76IsW.js → p-1m8r0wFg.js} +2 -2
- package/dist/components/{p-BZIOTcnM.js → p-3FLHei19.js} +2 -2
- package/dist/components/p-B2_D4IDN.js +2 -0
- package/dist/components/p-B2_D4IDN.js.map +1 -0
- package/dist/components/p-B5NcWtpp.js +2 -0
- package/dist/components/p-B5NcWtpp.js.map +1 -0
- package/dist/components/{p-CyFVn2Sc.js → p-B82KZX9D.js} +2 -2
- package/dist/components/p-B_g8X0eh.js +2 -0
- package/dist/components/p-B_g8X0eh.js.map +1 -0
- package/dist/components/{p-C3ORQUOp.js → p-Be3PHv34.js} +2 -2
- package/dist/components/{p-DkcH8mRl.js → p-CQmf2CeW.js} +2 -2
- package/dist/components/{p-DRqxVEye.js → p-CtwNUCnp.js} +2 -2
- package/dist/components/p-CuRjYmBk.js +2 -0
- package/dist/components/p-CuRjYmBk.js.map +1 -0
- package/dist/components/{p-DKdI8T8v.js → p-CwARVsZQ.js} +2 -2
- package/dist/components/{p-DKdI8T8v.js.map → p-CwARVsZQ.js.map} +1 -1
- package/dist/components/{p-UbKTMQjv.js → p-DohXlNCJ.js} +2 -2
- package/dist/components/p-DuFm-ieS.js +2 -0
- package/dist/components/p-DuFm-ieS.js.map +1 -0
- package/dist/lib/nav/index.js.map +2 -2
- package/dist/lib/utils/control-width.d.ts +4 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/index.js +14 -1
- package/dist/lib/utils/index.js.map +3 -3
- package/dist/lib/utils/token-defaults.d.ts +4 -0
- package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +4 -0
- package/dist/types/components/ButtonFilled/index.d.ts +1 -1
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +7 -3
- package/dist/types/components/ButtonUnfilled/index.d.ts +1 -1
- package/dist/types/components/Card/Card.d.ts +20 -0
- package/dist/types/components/Card/index.d.ts +2 -0
- package/dist/types/components/CardDataVizDonut/CardDataVizDonut.d.ts +26 -0
- package/dist/types/components/CardDataVizDonut/index.d.ts +2 -0
- package/dist/types/components/CardSetting/CardSetting.d.ts +7 -2
- package/dist/types/components/ChartDonut/ChartDonut.d.ts +24 -1
- package/dist/types/components/Select/Select.d.ts +32 -0
- package/dist/types/components/Select/index.d.ts +2 -0
- package/dist/types/components.d.ts +207 -110
- package/dist/types/utils/control-width.d.ts +5 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/token-defaults.d.ts +4 -0
- package/package.json +2 -2
- package/src/angular/index.ts +2 -3
- package/src/angular/proxies.ts +40 -56
- package/src/react/components.ts +2 -3
- package/src/react/ds-card-data-viz-donut.ts +27 -0
- package/src/react/{ds-header.ts → ds-card.ts} +7 -7
- package/src/wc/components/ButtonFilled/ButtonFilled.tsx +7 -0
- package/src/wc/components/ButtonFilled/index.ts +1 -0
- package/src/wc/components/ButtonUnfilled/ButtonUnfilled.tsx +10 -3
- package/src/wc/components/ButtonUnfilled/index.ts +1 -0
- package/src/wc/components/Card/Card.tsx +79 -0
- package/src/wc/components/Card/index.ts +1 -0
- package/src/wc/components/{CardDataViz/CardDataViz.tsx → CardDataVizDonut/CardDataVizDonut.tsx} +47 -40
- package/src/wc/components/CardDataVizDonut/index.ts +1 -0
- package/src/wc/components/CardSetting/CardSetting.tsx +22 -35
- package/src/wc/components/ChartDonut/ChartDonut.tsx +112 -11
- package/src/wc/components/Select/Select.tsx +141 -60
- package/src/wc/components/Select/index.ts +1 -0
- package/src/wc/components.d.ts +207 -113
- package/src/wc/utils/control-width.css +28 -0
- package/src/wc/utils/control-width.ts +10 -0
- package/src/wc/utils/index.ts +2 -0
- package/src/wc/utils/token-defaults.ts +4 -0
- package/dist/components/ds-card-data-viz.js +0 -2
- package/dist/components/ds-card-data-viz.js.map +0 -1
- package/dist/components/ds-header.js +0 -2
- package/dist/components/ds-header.js.map +0 -1
- package/dist/components/ds-scrollbar.d.ts +0 -11
- package/dist/components/ds-scrollbar.js +0 -2
- package/dist/components/ds-scrollbar.js.map +0 -1
- package/dist/components/p-B9dHCgY-.js +0 -2
- package/dist/components/p-B9dHCgY-.js.map +0 -1
- package/dist/components/p-BTC9Njj6.js +0 -2
- package/dist/components/p-BTC9Njj6.js.map +0 -1
- package/dist/components/p-DusYu-if.js +0 -2
- package/dist/components/p-DusYu-if.js.map +0 -1
- package/dist/types/components/CardDataViz/CardDataViz.d.ts +0 -22
- package/dist/types/components/CardDataViz/index.d.ts +0 -2
- package/dist/types/components/Header/Header.d.ts +0 -7
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +0 -27
- package/src/react/ds-card-data-viz.ts +0 -26
- package/src/react/ds-scrollbar.ts +0 -26
- package/src/wc/components/CardDataViz/index.ts +0 -1
- package/src/wc/components/Header/Header.tsx +0 -33
- package/src/wc/components/Scrollbar/Scrollbar.tsx +0 -189
- /package/dist/components/{p-BPK76IsW.js.map → p-1m8r0wFg.js.map} +0 -0
- /package/dist/components/{p-BZIOTcnM.js.map → p-3FLHei19.js.map} +0 -0
- /package/dist/components/{p-CyFVn2Sc.js.map → p-B82KZX9D.js.map} +0 -0
- /package/dist/components/{p-C3ORQUOp.js.map → p-Be3PHv34.js.map} +0 -0
- /package/dist/components/{p-DkcH8mRl.js.map → p-CQmf2CeW.js.map} +0 -0
- /package/dist/components/{p-DRqxVEye.js.map → p-CtwNUCnp.js.map} +0 -0
- /package/dist/components/{p-UbKTMQjv.js.map → p-DohXlNCJ.js.map} +0 -0
package/src/wc/components.d.ts
CHANGED
|
@@ -10,16 +10,16 @@ import { ShellGradientPreset } from "./nav/shell-gradient-presets";
|
|
|
10
10
|
import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
11
11
|
import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
12
12
|
import { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
13
|
-
import { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant } from "./components/ButtonFilled/ButtonFilled";
|
|
14
|
-
import { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
15
|
-
import {
|
|
13
|
+
import { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
14
|
+
import { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
15
|
+
import { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
16
|
+
import { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
16
17
|
import { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
17
18
|
import { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
18
19
|
import { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
|
|
19
20
|
import { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
|
|
20
21
|
import { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
21
22
|
import { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
22
|
-
import { HeaderBackground } from "./components/Header/Header";
|
|
23
23
|
import { IconColor, IconSize } from "./components/Icon/Icon";
|
|
24
24
|
import { InputType } from "./components/Input/Input";
|
|
25
25
|
import { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
@@ -29,8 +29,7 @@ import { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./c
|
|
|
29
29
|
import { ChromeTransitionDetail } from "./nav/chrome-transition";
|
|
30
30
|
import { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
31
31
|
import { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
32
|
-
import {
|
|
33
|
-
import { SelectOption } from "./components/Select/Select";
|
|
32
|
+
import { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
34
33
|
import { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
35
34
|
import { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
36
35
|
import { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
@@ -45,16 +44,16 @@ export { ShellGradientPreset } from "./nav/shell-gradient-presets";
|
|
|
45
44
|
export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
|
|
46
45
|
export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
|
|
47
46
|
export { BarNavTab } from "./components/BarNav/bar-nav-types";
|
|
48
|
-
export { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant } from "./components/ButtonFilled/ButtonFilled";
|
|
49
|
-
export { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
50
|
-
export {
|
|
47
|
+
export { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
|
|
48
|
+
export { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
|
|
49
|
+
export { CardAppearance, CardWidth } from "./components/Card/Card";
|
|
50
|
+
export { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
|
|
51
51
|
export { CardSettingWidth } from "./components/CardSetting/CardSetting";
|
|
52
52
|
export { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
|
|
53
53
|
export { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
|
|
54
54
|
export { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
|
|
55
55
|
export { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
|
|
56
56
|
export { EmptyStateType } from "./components/EmptyState/EmptyState";
|
|
57
|
-
export { HeaderBackground } from "./components/Header/Header";
|
|
58
57
|
export { IconColor, IconSize } from "./components/Icon/Icon";
|
|
59
58
|
export { InputType } from "./components/Input/Input";
|
|
60
59
|
export { MenuItemData, MenuSection } from "./components/Menu/menu-types";
|
|
@@ -64,8 +63,7 @@ export { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./c
|
|
|
64
63
|
export { ChromeTransitionDetail } from "./nav/chrome-transition";
|
|
65
64
|
export { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
|
|
66
65
|
export { RadioOption } from "./components/RadioGroup/RadioGroup";
|
|
67
|
-
export {
|
|
68
|
-
export { SelectOption } from "./components/Select/Select";
|
|
66
|
+
export { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
|
|
69
67
|
export { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
|
|
70
68
|
export { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
71
69
|
export { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
@@ -254,10 +252,15 @@ export namespace Components {
|
|
|
254
252
|
* @default 'label'
|
|
255
253
|
*/
|
|
256
254
|
"variant": ButtonFilledVariant;
|
|
255
|
+
/**
|
|
256
|
+
* Width fit — hug content (default) or fill the parent.
|
|
257
|
+
* @default 'hug'
|
|
258
|
+
*/
|
|
259
|
+
"width": ButtonFilledWidth;
|
|
257
260
|
}
|
|
258
261
|
interface DsButtonUnfilled {
|
|
259
262
|
/**
|
|
260
|
-
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only.
|
|
263
|
+
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
|
|
261
264
|
* @default true
|
|
262
265
|
*/
|
|
263
266
|
"activeFill": boolean;
|
|
@@ -282,7 +285,7 @@ export namespace Components {
|
|
|
282
285
|
*/
|
|
283
286
|
"focusTabIndex"?: number;
|
|
284
287
|
/**
|
|
285
|
-
* Show a 1px
|
|
288
|
+
* Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
|
|
286
289
|
* @default true
|
|
287
290
|
*/
|
|
288
291
|
"hasBorder": boolean;
|
|
@@ -293,7 +296,7 @@ export namespace Components {
|
|
|
293
296
|
*/
|
|
294
297
|
"icon": string;
|
|
295
298
|
/**
|
|
296
|
-
* Active/selected visual state.
|
|
299
|
+
* Active/selected visual state. Always promotes foreground to primary.
|
|
297
300
|
* @default false
|
|
298
301
|
*/
|
|
299
302
|
"isActive": boolean;
|
|
@@ -324,18 +327,42 @@ export namespace Components {
|
|
|
324
327
|
* @default 'label'
|
|
325
328
|
*/
|
|
326
329
|
"variant": ButtonUnfilledVariant;
|
|
330
|
+
/**
|
|
331
|
+
* Width fit — hug content (default) or fill the parent.
|
|
332
|
+
* @default 'hug'
|
|
333
|
+
*/
|
|
334
|
+
"width": ButtonUnfilledWidth;
|
|
327
335
|
}
|
|
328
336
|
/**
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
337
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
338
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
332
339
|
*/
|
|
333
|
-
interface
|
|
340
|
+
interface DsCard {
|
|
334
341
|
/**
|
|
335
|
-
*
|
|
342
|
+
* Chrome recipe — `editing` applies the settings edit wash.
|
|
343
|
+
* @default 'default'
|
|
344
|
+
*/
|
|
345
|
+
"appearance": CardAppearance;
|
|
346
|
+
/**
|
|
347
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
|
|
336
348
|
* @default 'md'
|
|
337
349
|
*/
|
|
338
|
-
"cardWidth":
|
|
350
|
+
"cardWidth": CardWidth;
|
|
351
|
+
/**
|
|
352
|
+
* Section heading shown in the card header.
|
|
353
|
+
*/
|
|
354
|
+
"heading": string;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
358
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
359
|
+
*/
|
|
360
|
+
interface DsCardDataVizDonut {
|
|
361
|
+
/**
|
|
362
|
+
* Card width token — also sets matching min-height.
|
|
363
|
+
* @default 'md'
|
|
364
|
+
*/
|
|
365
|
+
"cardWidth": CardDataVizDonutWidth;
|
|
339
366
|
/**
|
|
340
367
|
* Widget heading shown in the card header.
|
|
341
368
|
*/
|
|
@@ -343,7 +370,7 @@ export namespace Components {
|
|
|
343
370
|
}
|
|
344
371
|
interface DsCardSetting {
|
|
345
372
|
/**
|
|
346
|
-
* Card width token.
|
|
373
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
|
|
347
374
|
* @default 'md'
|
|
348
375
|
*/
|
|
349
376
|
"cardWidth": CardSettingWidth;
|
|
@@ -402,9 +429,9 @@ export namespace Components {
|
|
|
402
429
|
*/
|
|
403
430
|
"gap": number;
|
|
404
431
|
/**
|
|
405
|
-
*
|
|
432
|
+
* Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
|
|
406
433
|
*/
|
|
407
|
-
"size": number;
|
|
434
|
+
"size": number | undefined;
|
|
408
435
|
/**
|
|
409
436
|
* Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
|
|
410
437
|
* @default TOKEN_DEFAULTS.size200
|
|
@@ -554,13 +581,6 @@ export namespace Components {
|
|
|
554
581
|
"fieldId": string | undefined;
|
|
555
582
|
"label": string;
|
|
556
583
|
}
|
|
557
|
-
interface DsHeader {
|
|
558
|
-
/**
|
|
559
|
-
* @default 'secondary'
|
|
560
|
-
*/
|
|
561
|
-
"background": HeaderBackground;
|
|
562
|
-
"heading": string | undefined;
|
|
563
|
-
}
|
|
564
584
|
interface DsIcon {
|
|
565
585
|
/**
|
|
566
586
|
* Semantic foreground color token, or a raw CSS var reference.
|
|
@@ -817,19 +837,23 @@ export namespace Components {
|
|
|
817
837
|
*/
|
|
818
838
|
"value": string;
|
|
819
839
|
}
|
|
820
|
-
|
|
840
|
+
/**
|
|
841
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
842
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
843
|
+
*/
|
|
844
|
+
interface DsSelect {
|
|
821
845
|
/**
|
|
846
|
+
* When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
|
|
822
847
|
* @default true
|
|
823
848
|
*/
|
|
824
|
-
"
|
|
825
|
-
/**
|
|
826
|
-
* @default 'default'
|
|
827
|
-
*/
|
|
828
|
-
"variant": ScrollbarVariant;
|
|
829
|
-
}
|
|
830
|
-
interface DsSelect {
|
|
849
|
+
"activeFill": boolean;
|
|
831
850
|
"ariaLabel": string | undefined;
|
|
832
851
|
"ariaLabelledby": string | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* Show a 1px secondary inset border. Default on (matches unfilled button).
|
|
854
|
+
* @default true
|
|
855
|
+
*/
|
|
856
|
+
"hasBorder": boolean;
|
|
833
857
|
/**
|
|
834
858
|
* Disables interaction (25% opacity via ds-control-inactive).
|
|
835
859
|
* @default false
|
|
@@ -843,14 +867,24 @@ export namespace Components {
|
|
|
843
867
|
"options": SelectOption[];
|
|
844
868
|
/**
|
|
845
869
|
* Placeholder shown when no value is selected.
|
|
846
|
-
* @default 'Select
|
|
870
|
+
* @default 'Select'
|
|
847
871
|
*/
|
|
848
872
|
"placeholder": string;
|
|
873
|
+
/**
|
|
874
|
+
* Control density (height, padding, icon, type).
|
|
875
|
+
* @default 'md'
|
|
876
|
+
*/
|
|
877
|
+
"size": SelectSize;
|
|
849
878
|
/**
|
|
850
879
|
* Currently selected value.
|
|
851
880
|
* @default ''
|
|
852
881
|
*/
|
|
853
882
|
"value": string;
|
|
883
|
+
/**
|
|
884
|
+
* Width fit — fill the parent (default) or hug content.
|
|
885
|
+
* @default 'fill'
|
|
886
|
+
*/
|
|
887
|
+
"width": SelectWidth;
|
|
854
888
|
}
|
|
855
889
|
interface DsShellGradientPicker {
|
|
856
890
|
/**
|
|
@@ -1162,6 +1196,10 @@ export interface DsButtonUnfilledCustomEvent<T> extends CustomEvent<T> {
|
|
|
1162
1196
|
detail: T;
|
|
1163
1197
|
target: HTMLDsButtonUnfilledElement;
|
|
1164
1198
|
}
|
|
1199
|
+
export interface DsCardDataVizDonutCustomEvent<T> extends CustomEvent<T> {
|
|
1200
|
+
detail: T;
|
|
1201
|
+
target: HTMLDsCardDataVizDonutElement;
|
|
1202
|
+
}
|
|
1165
1203
|
export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
|
|
1166
1204
|
detail: T;
|
|
1167
1205
|
target: HTMLDsCardSettingElement;
|
|
@@ -1325,15 +1363,35 @@ declare global {
|
|
|
1325
1363
|
new (): HTMLDsButtonUnfilledElement;
|
|
1326
1364
|
};
|
|
1327
1365
|
/**
|
|
1328
|
-
*
|
|
1329
|
-
*
|
|
1330
|
-
|
|
1366
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
1367
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
1368
|
+
*/
|
|
1369
|
+
interface HTMLDsCardElement extends Components.DsCard, HTMLStencilElement {
|
|
1370
|
+
}
|
|
1371
|
+
var HTMLDsCardElement: {
|
|
1372
|
+
prototype: HTMLDsCardElement;
|
|
1373
|
+
new (): HTMLDsCardElement;
|
|
1374
|
+
};
|
|
1375
|
+
interface HTMLDsCardDataVizDonutElementEventMap {
|
|
1376
|
+
"dsFilterClick": void;
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
1380
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
1331
1381
|
*/
|
|
1332
|
-
interface
|
|
1382
|
+
interface HTMLDsCardDataVizDonutElement extends Components.DsCardDataVizDonut, HTMLStencilElement {
|
|
1383
|
+
addEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1384
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1385
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1386
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1387
|
+
removeEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1388
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1389
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1390
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1333
1391
|
}
|
|
1334
|
-
var
|
|
1335
|
-
prototype:
|
|
1336
|
-
new ():
|
|
1392
|
+
var HTMLDsCardDataVizDonutElement: {
|
|
1393
|
+
prototype: HTMLDsCardDataVizDonutElement;
|
|
1394
|
+
new (): HTMLDsCardDataVizDonutElement;
|
|
1337
1395
|
};
|
|
1338
1396
|
interface HTMLDsCardSettingElementEventMap {
|
|
1339
1397
|
"dsEditingChange": boolean;
|
|
@@ -1463,12 +1521,6 @@ declare global {
|
|
|
1463
1521
|
prototype: HTMLDsFieldElement;
|
|
1464
1522
|
new (): HTMLDsFieldElement;
|
|
1465
1523
|
};
|
|
1466
|
-
interface HTMLDsHeaderElement extends Components.DsHeader, HTMLStencilElement {
|
|
1467
|
-
}
|
|
1468
|
-
var HTMLDsHeaderElement: {
|
|
1469
|
-
prototype: HTMLDsHeaderElement;
|
|
1470
|
-
new (): HTMLDsHeaderElement;
|
|
1471
|
-
};
|
|
1472
1524
|
interface HTMLDsIconElement extends Components.DsIcon, HTMLStencilElement {
|
|
1473
1525
|
}
|
|
1474
1526
|
var HTMLDsIconElement: {
|
|
@@ -1613,15 +1665,13 @@ declare global {
|
|
|
1613
1665
|
prototype: HTMLDsRadioGroupElement;
|
|
1614
1666
|
new (): HTMLDsRadioGroupElement;
|
|
1615
1667
|
};
|
|
1616
|
-
interface HTMLDsScrollbarElement extends Components.DsScrollbar, HTMLStencilElement {
|
|
1617
|
-
}
|
|
1618
|
-
var HTMLDsScrollbarElement: {
|
|
1619
|
-
prototype: HTMLDsScrollbarElement;
|
|
1620
|
-
new (): HTMLDsScrollbarElement;
|
|
1621
|
-
};
|
|
1622
1668
|
interface HTMLDsSelectElementEventMap {
|
|
1623
1669
|
"dsChange": string;
|
|
1624
1670
|
}
|
|
1671
|
+
/**
|
|
1672
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
1673
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
1674
|
+
*/
|
|
1625
1675
|
interface HTMLDsSelectElement extends Components.DsSelect, HTMLStencilElement {
|
|
1626
1676
|
addEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1627
1677
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1813,7 +1863,8 @@ declare global {
|
|
|
1813
1863
|
"ds-bar-nav": HTMLDsBarNavElement;
|
|
1814
1864
|
"ds-button-filled": HTMLDsButtonFilledElement;
|
|
1815
1865
|
"ds-button-unfilled": HTMLDsButtonUnfilledElement;
|
|
1816
|
-
"ds-card
|
|
1866
|
+
"ds-card": HTMLDsCardElement;
|
|
1867
|
+
"ds-card-data-viz-donut": HTMLDsCardDataVizDonutElement;
|
|
1817
1868
|
"ds-card-setting": HTMLDsCardSettingElement;
|
|
1818
1869
|
"ds-chart-bar": HTMLDsChartBarElement;
|
|
1819
1870
|
"ds-chart-donut": HTMLDsChartDonutElement;
|
|
@@ -1824,7 +1875,6 @@ declare global {
|
|
|
1824
1875
|
"ds-divider": HTMLDsDividerElement;
|
|
1825
1876
|
"ds-empty-state": HTMLDsEmptyStateElement;
|
|
1826
1877
|
"ds-field": HTMLDsFieldElement;
|
|
1827
|
-
"ds-header": HTMLDsHeaderElement;
|
|
1828
1878
|
"ds-icon": HTMLDsIconElement;
|
|
1829
1879
|
"ds-input": HTMLDsInputElement;
|
|
1830
1880
|
"ds-loader": HTMLDsLoaderElement;
|
|
@@ -1834,7 +1884,6 @@ declare global {
|
|
|
1834
1884
|
"ds-panel-nav": HTMLDsPanelNavElement;
|
|
1835
1885
|
"ds-panel-tools": HTMLDsPanelToolsElement;
|
|
1836
1886
|
"ds-radio-group": HTMLDsRadioGroupElement;
|
|
1837
|
-
"ds-scrollbar": HTMLDsScrollbarElement;
|
|
1838
1887
|
"ds-select": HTMLDsSelectElement;
|
|
1839
1888
|
"ds-shell-gradient-picker": HTMLDsShellGradientPickerElement;
|
|
1840
1889
|
"ds-shell-gradient-swatch": HTMLDsShellGradientSwatchElement;
|
|
@@ -2036,10 +2085,15 @@ declare namespace LocalJSX {
|
|
|
2036
2085
|
* @default 'label'
|
|
2037
2086
|
*/
|
|
2038
2087
|
"variant"?: ButtonFilledVariant;
|
|
2088
|
+
/**
|
|
2089
|
+
* Width fit — hug content (default) or fill the parent.
|
|
2090
|
+
* @default 'hug'
|
|
2091
|
+
*/
|
|
2092
|
+
"width"?: ButtonFilledWidth;
|
|
2039
2093
|
}
|
|
2040
2094
|
interface DsButtonUnfilled {
|
|
2041
2095
|
/**
|
|
2042
|
-
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only.
|
|
2096
|
+
* When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
|
|
2043
2097
|
* @default true
|
|
2044
2098
|
*/
|
|
2045
2099
|
"activeFill"?: boolean;
|
|
@@ -2064,7 +2118,7 @@ declare namespace LocalJSX {
|
|
|
2064
2118
|
*/
|
|
2065
2119
|
"focusTabIndex"?: number;
|
|
2066
2120
|
/**
|
|
2067
|
-
* Show a 1px
|
|
2121
|
+
* Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
|
|
2068
2122
|
* @default true
|
|
2069
2123
|
*/
|
|
2070
2124
|
"hasBorder"?: boolean;
|
|
@@ -2075,7 +2129,7 @@ declare namespace LocalJSX {
|
|
|
2075
2129
|
*/
|
|
2076
2130
|
"icon"?: string;
|
|
2077
2131
|
/**
|
|
2078
|
-
* Active/selected visual state.
|
|
2132
|
+
* Active/selected visual state. Always promotes foreground to primary.
|
|
2079
2133
|
* @default false
|
|
2080
2134
|
*/
|
|
2081
2135
|
"isActive"?: boolean;
|
|
@@ -2107,26 +2161,54 @@ declare namespace LocalJSX {
|
|
|
2107
2161
|
* @default 'label'
|
|
2108
2162
|
*/
|
|
2109
2163
|
"variant"?: ButtonUnfilledVariant;
|
|
2164
|
+
/**
|
|
2165
|
+
* Width fit — hug content (default) or fill the parent.
|
|
2166
|
+
* @default 'hug'
|
|
2167
|
+
*/
|
|
2168
|
+
"width"?: ButtonUnfilledWidth;
|
|
2169
|
+
}
|
|
2170
|
+
/**
|
|
2171
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
2172
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
2173
|
+
*/
|
|
2174
|
+
interface DsCard {
|
|
2175
|
+
/**
|
|
2176
|
+
* Chrome recipe — `editing` applies the settings edit wash.
|
|
2177
|
+
* @default 'default'
|
|
2178
|
+
*/
|
|
2179
|
+
"appearance"?: CardAppearance;
|
|
2180
|
+
/**
|
|
2181
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
|
|
2182
|
+
* @default 'md'
|
|
2183
|
+
*/
|
|
2184
|
+
"cardWidth"?: CardWidth;
|
|
2185
|
+
/**
|
|
2186
|
+
* Section heading shown in the card header.
|
|
2187
|
+
*/
|
|
2188
|
+
"heading": string;
|
|
2110
2189
|
}
|
|
2111
2190
|
/**
|
|
2112
|
-
*
|
|
2113
|
-
*
|
|
2114
|
-
* once the data-viz card's real header actions (menu, caption, footer stat) are designed.
|
|
2191
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
2192
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
2115
2193
|
*/
|
|
2116
|
-
interface
|
|
2194
|
+
interface DsCardDataVizDonut {
|
|
2117
2195
|
/**
|
|
2118
|
-
* Card width token.
|
|
2196
|
+
* Card width token — also sets matching min-height.
|
|
2119
2197
|
* @default 'md'
|
|
2120
2198
|
*/
|
|
2121
|
-
"cardWidth"?:
|
|
2199
|
+
"cardWidth"?: CardDataVizDonutWidth;
|
|
2122
2200
|
/**
|
|
2123
2201
|
* Widget heading shown in the card header.
|
|
2124
2202
|
*/
|
|
2125
2203
|
"heading": string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Emits when the header filter control is activated.
|
|
2206
|
+
*/
|
|
2207
|
+
"onDsFilterClick"?: (event: DsCardDataVizDonutCustomEvent<void>) => void;
|
|
2126
2208
|
}
|
|
2127
2209
|
interface DsCardSetting {
|
|
2128
2210
|
/**
|
|
2129
|
-
* Card width token.
|
|
2211
|
+
* Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
|
|
2130
2212
|
* @default 'md'
|
|
2131
2213
|
*/
|
|
2132
2214
|
"cardWidth"?: CardSettingWidth;
|
|
@@ -2193,9 +2275,9 @@ declare namespace LocalJSX {
|
|
|
2193
2275
|
*/
|
|
2194
2276
|
"onDsSliceHover"?: (event: DsChartDonutCustomEvent<ChartDatum | null>) => void;
|
|
2195
2277
|
/**
|
|
2196
|
-
*
|
|
2278
|
+
* Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
|
|
2197
2279
|
*/
|
|
2198
|
-
"size"?: number;
|
|
2280
|
+
"size"?: number | undefined;
|
|
2199
2281
|
/**
|
|
2200
2282
|
* Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
|
|
2201
2283
|
* @default TOKEN_DEFAULTS.size200
|
|
@@ -2358,13 +2440,6 @@ declare namespace LocalJSX {
|
|
|
2358
2440
|
"fieldId"?: string | undefined;
|
|
2359
2441
|
"label": string;
|
|
2360
2442
|
}
|
|
2361
|
-
interface DsHeader {
|
|
2362
|
-
/**
|
|
2363
|
-
* @default 'secondary'
|
|
2364
|
-
*/
|
|
2365
|
-
"background"?: HeaderBackground;
|
|
2366
|
-
"heading"?: string | undefined;
|
|
2367
|
-
}
|
|
2368
2443
|
interface DsIcon {
|
|
2369
2444
|
/**
|
|
2370
2445
|
* Semantic foreground color token, or a raw CSS var reference.
|
|
@@ -2652,19 +2727,23 @@ declare namespace LocalJSX {
|
|
|
2652
2727
|
*/
|
|
2653
2728
|
"value"?: string;
|
|
2654
2729
|
}
|
|
2655
|
-
|
|
2730
|
+
/**
|
|
2731
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
2732
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
2733
|
+
*/
|
|
2734
|
+
interface DsSelect {
|
|
2656
2735
|
/**
|
|
2736
|
+
* When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
|
|
2657
2737
|
* @default true
|
|
2658
2738
|
*/
|
|
2659
|
-
"
|
|
2660
|
-
/**
|
|
2661
|
-
* @default 'default'
|
|
2662
|
-
*/
|
|
2663
|
-
"variant"?: ScrollbarVariant;
|
|
2664
|
-
}
|
|
2665
|
-
interface DsSelect {
|
|
2739
|
+
"activeFill"?: boolean;
|
|
2666
2740
|
"ariaLabel"?: string | undefined;
|
|
2667
2741
|
"ariaLabelledby"?: string | undefined;
|
|
2742
|
+
/**
|
|
2743
|
+
* Show a 1px secondary inset border. Default on (matches unfilled button).
|
|
2744
|
+
* @default true
|
|
2745
|
+
*/
|
|
2746
|
+
"hasBorder"?: boolean;
|
|
2668
2747
|
/**
|
|
2669
2748
|
* Disables interaction (25% opacity via ds-control-inactive).
|
|
2670
2749
|
* @default false
|
|
@@ -2682,14 +2761,24 @@ declare namespace LocalJSX {
|
|
|
2682
2761
|
"options"?: SelectOption[];
|
|
2683
2762
|
/**
|
|
2684
2763
|
* Placeholder shown when no value is selected.
|
|
2685
|
-
* @default 'Select
|
|
2764
|
+
* @default 'Select'
|
|
2686
2765
|
*/
|
|
2687
2766
|
"placeholder"?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* Control density (height, padding, icon, type).
|
|
2769
|
+
* @default 'md'
|
|
2770
|
+
*/
|
|
2771
|
+
"size"?: SelectSize;
|
|
2688
2772
|
/**
|
|
2689
2773
|
* Currently selected value.
|
|
2690
2774
|
* @default ''
|
|
2691
2775
|
*/
|
|
2692
2776
|
"value"?: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* Width fit — fill the parent (default) or hug content.
|
|
2779
|
+
* @default 'fill'
|
|
2780
|
+
*/
|
|
2781
|
+
"width"?: SelectWidth;
|
|
2693
2782
|
}
|
|
2694
2783
|
interface DsShellGradientPicker {
|
|
2695
2784
|
"onDsChange"?: (event: DsShellGradientPickerCustomEvent<ShellGradientPreset1>) => void;
|
|
@@ -3032,6 +3121,7 @@ declare namespace LocalJSX {
|
|
|
3032
3121
|
interface DsButtonFilledAttributes {
|
|
3033
3122
|
"variant": ButtonFilledVariant;
|
|
3034
3123
|
"size": ButtonFilledSize;
|
|
3124
|
+
"width": ButtonFilledWidth;
|
|
3035
3125
|
"label": string;
|
|
3036
3126
|
"icon": string;
|
|
3037
3127
|
"intent": ButtonFilledIntent;
|
|
@@ -3043,6 +3133,7 @@ declare namespace LocalJSX {
|
|
|
3043
3133
|
interface DsButtonUnfilledAttributes {
|
|
3044
3134
|
"variant": ButtonUnfilledVariant;
|
|
3045
3135
|
"size": ButtonUnfilledSize;
|
|
3136
|
+
"width": ButtonUnfilledWidth;
|
|
3046
3137
|
"label": string;
|
|
3047
3138
|
"icon": string;
|
|
3048
3139
|
"isActive": boolean;
|
|
@@ -3060,9 +3151,14 @@ declare namespace LocalJSX {
|
|
|
3060
3151
|
"pressed": boolean | undefined;
|
|
3061
3152
|
"focusTabIndex": number;
|
|
3062
3153
|
}
|
|
3063
|
-
interface
|
|
3154
|
+
interface DsCardAttributes {
|
|
3155
|
+
"heading": string;
|
|
3156
|
+
"cardWidth": CardWidth;
|
|
3157
|
+
"appearance": CardAppearance;
|
|
3158
|
+
}
|
|
3159
|
+
interface DsCardDataVizDonutAttributes {
|
|
3064
3160
|
"heading": string;
|
|
3065
|
-
"cardWidth":
|
|
3161
|
+
"cardWidth": CardDataVizDonutWidth;
|
|
3066
3162
|
}
|
|
3067
3163
|
interface DsCardSettingAttributes {
|
|
3068
3164
|
"heading": string;
|
|
@@ -3074,7 +3170,7 @@ declare namespace LocalJSX {
|
|
|
3074
3170
|
"height": number;
|
|
3075
3171
|
}
|
|
3076
3172
|
interface DsChartDonutAttributes {
|
|
3077
|
-
"size": number;
|
|
3173
|
+
"size": number | undefined;
|
|
3078
3174
|
"thickness": string;
|
|
3079
3175
|
"cornerRadius": string;
|
|
3080
3176
|
"gap": number;
|
|
@@ -3123,10 +3219,6 @@ declare namespace LocalJSX {
|
|
|
3123
3219
|
"label": string;
|
|
3124
3220
|
"fieldId": string | undefined;
|
|
3125
3221
|
}
|
|
3126
|
-
interface DsHeaderAttributes {
|
|
3127
|
-
"heading": string | undefined;
|
|
3128
|
-
"background": HeaderBackground;
|
|
3129
|
-
}
|
|
3130
3222
|
interface DsIconAttributes {
|
|
3131
3223
|
"name": string;
|
|
3132
3224
|
"size": IconSize;
|
|
@@ -3199,14 +3291,14 @@ declare namespace LocalJSX {
|
|
|
3199
3291
|
"ariaLabel": string | undefined;
|
|
3200
3292
|
"ariaLabelledby": string | undefined;
|
|
3201
3293
|
}
|
|
3202
|
-
interface DsScrollbarAttributes {
|
|
3203
|
-
"variant": ScrollbarVariant;
|
|
3204
|
-
"showTrackOnHover": boolean;
|
|
3205
|
-
}
|
|
3206
3294
|
interface DsSelectAttributes {
|
|
3207
3295
|
"value": string;
|
|
3208
3296
|
"placeholder": string;
|
|
3297
|
+
"size": SelectSize;
|
|
3298
|
+
"width": SelectWidth;
|
|
3209
3299
|
"isInactive": boolean;
|
|
3300
|
+
"activeFill": boolean;
|
|
3301
|
+
"hasBorder": boolean;
|
|
3210
3302
|
"ariaLabel": string | undefined;
|
|
3211
3303
|
"ariaLabelledby": string | undefined;
|
|
3212
3304
|
}
|
|
@@ -3309,7 +3401,8 @@ declare namespace LocalJSX {
|
|
|
3309
3401
|
"ds-bar-nav": Omit<DsBarNav, keyof DsBarNavAttributes> & { [K in keyof DsBarNav & keyof DsBarNavAttributes]?: DsBarNav[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `attr:${K}`]?: DsBarNavAttributes[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `prop:${K}`]?: DsBarNav[K] };
|
|
3310
3402
|
"ds-button-filled": Omit<DsButtonFilled, keyof DsButtonFilledAttributes> & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes]?: DsButtonFilled[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `attr:${K}`]?: DsButtonFilledAttributes[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `prop:${K}`]?: DsButtonFilled[K] };
|
|
3311
3403
|
"ds-button-unfilled": Omit<DsButtonUnfilled, keyof DsButtonUnfilledAttributes> & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes]?: DsButtonUnfilled[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `attr:${K}`]?: DsButtonUnfilledAttributes[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `prop:${K}`]?: DsButtonUnfilled[K] };
|
|
3312
|
-
"ds-card
|
|
3404
|
+
"ds-card": Omit<DsCard, keyof DsCardAttributes> & { [K in keyof DsCard & keyof DsCardAttributes]?: DsCard[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `attr:${K}`]?: DsCardAttributes[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `prop:${K}`]?: DsCard[K] } & OneOf<"heading", DsCard["heading"], DsCardAttributes["heading"]>;
|
|
3405
|
+
"ds-card-data-viz-donut": Omit<DsCardDataVizDonut, keyof DsCardDataVizDonutAttributes> & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes]?: DsCardDataVizDonut[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `attr:${K}`]?: DsCardDataVizDonutAttributes[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `prop:${K}`]?: DsCardDataVizDonut[K] } & OneOf<"heading", DsCardDataVizDonut["heading"], DsCardDataVizDonutAttributes["heading"]>;
|
|
3313
3406
|
"ds-card-setting": Omit<DsCardSetting, keyof DsCardSettingAttributes> & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes]?: DsCardSetting[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `attr:${K}`]?: DsCardSettingAttributes[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `prop:${K}`]?: DsCardSetting[K] } & OneOf<"heading", DsCardSetting["heading"], DsCardSettingAttributes["heading"]>;
|
|
3314
3407
|
"ds-chart-bar": Omit<DsChartBar, keyof DsChartBarAttributes> & { [K in keyof DsChartBar & keyof DsChartBarAttributes]?: DsChartBar[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `attr:${K}`]?: DsChartBarAttributes[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `prop:${K}`]?: DsChartBar[K] };
|
|
3315
3408
|
"ds-chart-donut": Omit<DsChartDonut, keyof DsChartDonutAttributes> & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes]?: DsChartDonut[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `attr:${K}`]?: DsChartDonutAttributes[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `prop:${K}`]?: DsChartDonut[K] };
|
|
@@ -3320,7 +3413,6 @@ declare namespace LocalJSX {
|
|
|
3320
3413
|
"ds-divider": Omit<DsDivider, keyof DsDividerAttributes> & { [K in keyof DsDivider & keyof DsDividerAttributes]?: DsDivider[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `attr:${K}`]?: DsDividerAttributes[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `prop:${K}`]?: DsDivider[K] };
|
|
3321
3414
|
"ds-empty-state": Omit<DsEmptyState, keyof DsEmptyStateAttributes> & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes]?: DsEmptyState[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `attr:${K}`]?: DsEmptyStateAttributes[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `prop:${K}`]?: DsEmptyState[K] };
|
|
3322
3415
|
"ds-field": Omit<DsField, keyof DsFieldAttributes> & { [K in keyof DsField & keyof DsFieldAttributes]?: DsField[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `attr:${K}`]?: DsFieldAttributes[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `prop:${K}`]?: DsField[K] } & OneOf<"label", DsField["label"], DsFieldAttributes["label"]>;
|
|
3323
|
-
"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] };
|
|
3324
3416
|
"ds-icon": Omit<DsIcon, keyof DsIconAttributes> & { [K in keyof DsIcon & keyof DsIconAttributes]?: DsIcon[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `attr:${K}`]?: DsIconAttributes[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `prop:${K}`]?: DsIcon[K] };
|
|
3325
3417
|
"ds-input": Omit<DsInput, keyof DsInputAttributes> & { [K in keyof DsInput & keyof DsInputAttributes]?: DsInput[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `attr:${K}`]?: DsInputAttributes[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `prop:${K}`]?: DsInput[K] };
|
|
3326
3418
|
"ds-loader": Omit<DsLoader, keyof DsLoaderAttributes> & { [K in keyof DsLoader & keyof DsLoaderAttributes]?: DsLoader[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `attr:${K}`]?: DsLoaderAttributes[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `prop:${K}`]?: DsLoader[K] };
|
|
@@ -3330,7 +3422,6 @@ declare namespace LocalJSX {
|
|
|
3330
3422
|
"ds-panel-nav": Omit<DsPanelNav, keyof DsPanelNavAttributes> & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes]?: DsPanelNav[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `attr:${K}`]?: DsPanelNavAttributes[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `prop:${K}`]?: DsPanelNav[K] };
|
|
3331
3423
|
"ds-panel-tools": Omit<DsPanelTools, keyof DsPanelToolsAttributes> & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes]?: DsPanelTools[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `attr:${K}`]?: DsPanelToolsAttributes[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `prop:${K}`]?: DsPanelTools[K] };
|
|
3332
3424
|
"ds-radio-group": Omit<DsRadioGroup, keyof DsRadioGroupAttributes> & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes]?: DsRadioGroup[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `attr:${K}`]?: DsRadioGroupAttributes[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `prop:${K}`]?: DsRadioGroup[K] };
|
|
3333
|
-
"ds-scrollbar": Omit<DsScrollbar, keyof DsScrollbarAttributes> & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes]?: DsScrollbar[K] } & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes as `attr:${K}`]?: DsScrollbarAttributes[K] } & { [K in keyof DsScrollbar & keyof DsScrollbarAttributes as `prop:${K}`]?: DsScrollbar[K] };
|
|
3334
3425
|
"ds-select": Omit<DsSelect, keyof DsSelectAttributes> & { [K in keyof DsSelect & keyof DsSelectAttributes]?: DsSelect[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `attr:${K}`]?: DsSelectAttributes[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `prop:${K}`]?: DsSelect[K] };
|
|
3335
3426
|
"ds-shell-gradient-picker": Omit<DsShellGradientPicker, keyof DsShellGradientPickerAttributes> & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes]?: DsShellGradientPicker[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `attr:${K}`]?: DsShellGradientPickerAttributes[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `prop:${K}`]?: DsShellGradientPicker[K] };
|
|
3336
3427
|
"ds-shell-gradient-swatch": Omit<DsShellGradientSwatch, keyof DsShellGradientSwatchAttributes> & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes]?: DsShellGradientSwatch[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `attr:${K}`]?: DsShellGradientSwatchAttributes[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `prop:${K}`]?: DsShellGradientSwatch[K] };
|
|
@@ -3357,11 +3448,15 @@ declare module "@stencil/core" {
|
|
|
3357
3448
|
"ds-button-filled": LocalJSX.IntrinsicElements["ds-button-filled"] & JSXBase.HTMLAttributes<HTMLDsButtonFilledElement>;
|
|
3358
3449
|
"ds-button-unfilled": LocalJSX.IntrinsicElements["ds-button-unfilled"] & JSXBase.HTMLAttributes<HTMLDsButtonUnfilledElement>;
|
|
3359
3450
|
/**
|
|
3360
|
-
*
|
|
3361
|
-
*
|
|
3362
|
-
|
|
3451
|
+
* Shared card chrome — width + matching min-height tokens, header (title + actions),
|
|
3452
|
+
* and a flex body that fills leftover space. Compose this from settings / data-viz cards.
|
|
3453
|
+
*/
|
|
3454
|
+
"ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Donut data-viz card — shared `ds-card` chrome with a fill chart region and
|
|
3457
|
+
* content-sized legend. Hover sync between chart and legend stays here.
|
|
3363
3458
|
*/
|
|
3364
|
-
"ds-card-data-viz": LocalJSX.IntrinsicElements["ds-card-data-viz"] & JSXBase.HTMLAttributes<
|
|
3459
|
+
"ds-card-data-viz-donut": LocalJSX.IntrinsicElements["ds-card-data-viz-donut"] & JSXBase.HTMLAttributes<HTMLDsCardDataVizDonutElement>;
|
|
3365
3460
|
"ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
|
|
3366
3461
|
"ds-chart-bar": LocalJSX.IntrinsicElements["ds-chart-bar"] & JSXBase.HTMLAttributes<HTMLDsChartBarElement>;
|
|
3367
3462
|
"ds-chart-donut": LocalJSX.IntrinsicElements["ds-chart-donut"] & JSXBase.HTMLAttributes<HTMLDsChartDonutElement>;
|
|
@@ -3384,7 +3479,6 @@ declare module "@stencil/core" {
|
|
|
3384
3479
|
"ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
|
|
3385
3480
|
"ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
|
|
3386
3481
|
"ds-field": LocalJSX.IntrinsicElements["ds-field"] & JSXBase.HTMLAttributes<HTMLDsFieldElement>;
|
|
3387
|
-
"ds-header": LocalJSX.IntrinsicElements["ds-header"] & JSXBase.HTMLAttributes<HTMLDsHeaderElement>;
|
|
3388
3482
|
"ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
|
|
3389
3483
|
"ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
|
|
3390
3484
|
"ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
|
|
@@ -3394,7 +3488,10 @@ declare module "@stencil/core" {
|
|
|
3394
3488
|
"ds-panel-nav": LocalJSX.IntrinsicElements["ds-panel-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelNavElement>;
|
|
3395
3489
|
"ds-panel-tools": LocalJSX.IntrinsicElements["ds-panel-tools"] & JSXBase.HTMLAttributes<HTMLDsPanelToolsElement>;
|
|
3396
3490
|
"ds-radio-group": LocalJSX.IntrinsicElements["ds-radio-group"] & JSXBase.HTMLAttributes<HTMLDsRadioGroupElement>;
|
|
3397
|
-
|
|
3491
|
+
/**
|
|
3492
|
+
* Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
|
|
3493
|
+
* control-density sizes, with `ds-menu` for the option list.
|
|
3494
|
+
*/
|
|
3398
3495
|
"ds-select": LocalJSX.IntrinsicElements["ds-select"] & JSXBase.HTMLAttributes<HTMLDsSelectElement>;
|
|
3399
3496
|
"ds-shell-gradient-picker": LocalJSX.IntrinsicElements["ds-shell-gradient-picker"] & JSXBase.HTMLAttributes<HTMLDsShellGradientPickerElement>;
|
|
3400
3497
|
"ds-shell-gradient-swatch": LocalJSX.IntrinsicElements["ds-shell-gradient-swatch"] & JSXBase.HTMLAttributes<HTMLDsShellGradientSwatchElement>;
|
|
@@ -3429,6 +3526,3 @@ declare module "@stencil/core" {
|
|
|
3429
3526
|
}
|
|
3430
3527
|
}
|
|
3431
3528
|
}
|
|
3432
|
-
// --- menu placement re-exports (patch-components-d-exports.mjs) ---
|
|
3433
|
-
export { PANEL_NAV_USER_MENU_PLACEMENT, type MenuPlacement } from "./components/Menu/menu-types";
|
|
3434
|
-
|