@ds-mo/ui 2.11.1 → 2.12.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 +13 -13
- 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-banner.js.map +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-accordion.d.ts → ds-button-unfilled.d.ts} +4 -4
- package/dist/components/ds-button-unfilled.js +2 -0
- package/dist/components/ds-card-data-viz.js +1 -1
- package/dist/components/ds-card-data-viz.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card-setting.js.map +1 -1
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-bar.js.map +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-donut.js.map +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-legend.js.map +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-checkbox.js.map +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-chip.js.map +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-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-header.js +1 -1
- package/dist/components/ds-header.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-loader.js.map +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-pagination.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-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-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-select.js.map +1 -1
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-skeleton.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-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-toggle.js +1 -1
- package/dist/components/ds-toggle.js.map +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js.map +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-tooltip.js.map +1 -1
- package/dist/components/p-B9dHCgY-.js +2 -0
- package/dist/components/p-B9dHCgY-.js.map +1 -0
- package/dist/components/p-BPK76IsW.js +2 -0
- package/dist/components/p-BPK76IsW.js.map +1 -0
- package/dist/components/p-BQq26pt9.js.map +1 -1
- package/dist/components/p-BTC9Njj6.js +2 -0
- package/dist/components/p-BTC9Njj6.js.map +1 -0
- package/dist/components/p-BZIOTcnM.js +2 -0
- package/dist/components/p-BZIOTcnM.js.map +1 -0
- package/dist/components/{p-DdFUTZ3y.js → p-C3ORQUOp.js} +2 -2
- package/dist/components/{p-8Nt92j1-.js → p-CyFVn2Sc.js} +2 -2
- package/dist/components/p-DKdI8T8v.js +2 -0
- package/dist/components/p-DKdI8T8v.js.map +1 -0
- package/dist/components/{p-DOU4cbpc.js → p-DRqxVEye.js} +2 -2
- package/dist/components/p-DkcH8mRl.js +2 -0
- package/dist/components/p-DkcH8mRl.js.map +1 -0
- package/dist/components/p-DusYu-if.js +2 -0
- package/dist/components/p-DusYu-if.js.map +1 -0
- package/dist/components/p-EK1hOP19.js.map +1 -1
- package/dist/components/p-UbKTMQjv.js +2 -0
- package/dist/components/p-UbKTMQjv.js.map +1 -0
- package/dist/lib/nav/index.js +3 -0
- package/dist/lib/nav/index.js.map +2 -2
- package/dist/lib/utils/index.js +6 -0
- package/dist/lib/utils/index.js.map +2 -2
- package/dist/lib/utils/token-defaults.d.ts +3 -0
- package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +17 -3
- package/dist/types/components/ButtonFilled/index.d.ts +1 -1
- package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +66 -0
- package/dist/types/components/ButtonUnfilled/index.d.ts +2 -0
- package/dist/types/components/CardDataViz/CardDataViz.d.ts +5 -1
- package/dist/types/components/CardSetting/CardSetting.d.ts +1 -1
- package/dist/types/components/ChartDonut/ChartDonut.d.ts +7 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +18 -14
- package/dist/types/components/Chip/index.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/PanelNav/PanelNav.d.ts +2 -0
- package/dist/types/components/PanelTools/panel-tools-types.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/Select/Select.d.ts +2 -2
- package/dist/types/components/ShellGradientSwatch/ShellGradientSwatch.d.ts +1 -1
- package/dist/types/components/Slider/Slider.d.ts +1 -1
- package/dist/types/components/TabGroup/TabGroup.d.ts +1 -1
- package/dist/types/components/TabGroup/tab-item-utils.d.ts +2 -1
- package/dist/types/components/TabGroupNav/TabGroupNav.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +0 -2
- package/dist/types/components/Tag/index.d.ts +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +25 -6
- package/dist/types/components/TooltipDataViz/TooltipDataViz.d.ts +18 -0
- package/dist/types/components.d.ts +277 -476
- package/dist/types/utils/token-defaults.d.ts +3 -0
- package/package.json +6 -3
- package/src/angular/index.ts +1 -6
- package/src/angular/proxies.ts +33 -170
- package/src/react/components.ts +1 -6
- package/src/react/ds-button-unfilled.ts +33 -0
- package/src/react/ds-chip.ts +2 -10
- package/src/wc/components/BarNav/BarNav.tsx +3 -2
- package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +1 -1
- package/src/wc/components/ButtonFilled/ButtonFilled.tsx +90 -11
- package/src/wc/components/ButtonFilled/index.ts +6 -1
- package/src/wc/components/ButtonUnfilled/ButtonUnfilled.tsx +223 -0
- package/src/wc/components/ButtonUnfilled/index.ts +6 -0
- package/src/wc/components/CardDataViz/CardDataViz.tsx +36 -2
- package/src/wc/components/CardSetting/CardSetting.tsx +4 -6
- package/src/wc/components/ChartDonut/ChartDonut.tsx +50 -3
- package/src/wc/components/ChartLegend/ChartLegend.tsx +3 -0
- package/src/wc/components/Checkbox/Checkbox.tsx +5 -5
- package/src/wc/components/Chip/Chip.tsx +50 -67
- package/src/wc/components/Chip/index.ts +1 -1
- package/src/wc/components/Input/Input.tsx +4 -4
- package/src/wc/components/Menu/Menu.tsx +7 -4
- package/src/wc/components/Pagination/Pagination.tsx +6 -6
- package/src/wc/components/PanelNav/PanelNav.tsx +77 -48
- package/src/wc/components/PanelTools/PanelTools.tsx +19 -16
- package/src/wc/components/PanelTools/panel-tools-types.ts +1 -1
- package/src/wc/components/PanelTools/panel-tools-utils.ts +1 -1
- package/src/wc/components/RadioGroup/RadioGroup.tsx +7 -7
- package/src/wc/components/Select/Select.tsx +5 -5
- package/src/wc/components/ShellGradientSwatch/ShellGradientSwatch.tsx +4 -3
- package/src/wc/components/Slider/Slider.tsx +7 -3
- package/src/wc/components/TabGroup/TabGroup.tsx +13 -7
- package/src/wc/components/TabGroup/tab-item-utils.ts +2 -1
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +14 -13
- package/src/wc/components/Tag/Tag.tsx +25 -24
- package/src/wc/components/Tag/index.ts +1 -1
- package/src/wc/components/Toggle/Toggle.tsx +6 -6
- package/src/wc/components/Tooltip/Tooltip.tsx +166 -64
- package/src/wc/components/TooltipDataViz/TooltipDataViz.tsx +57 -2
- package/src/wc/components.d.ts +277 -476
- package/src/wc/utils/control-density.css +42 -0
- package/src/wc/utils/control-inactive.css +20 -0
- package/src/wc/utils/interaction-fill.css +162 -0
- package/src/wc/utils/scroll-edge-fade.css +5 -0
- package/src/wc/utils/token-defaults.ts +6 -0
- package/dist/components/ds-accordion.js +0 -2
- package/dist/components/ds-accordion.js.map +0 -1
- package/dist/components/ds-breadcrumb.d.ts +0 -11
- package/dist/components/ds-breadcrumb.js +0 -2
- package/dist/components/ds-breadcrumb.js.map +0 -1
- package/dist/components/ds-button-unfilled-icon.d.ts +0 -11
- package/dist/components/ds-button-unfilled-icon.js +0 -2
- package/dist/components/ds-fade.d.ts +0 -11
- package/dist/components/ds-fade.js +0 -2
- package/dist/components/ds-fade.js.map +0 -1
- package/dist/components/ds-surface.d.ts +0 -11
- package/dist/components/ds-surface.js +0 -2
- package/dist/components/ds-surface.js.map +0 -1
- package/dist/components/ds-toast-provider.d.ts +0 -11
- package/dist/components/ds-toast-provider.js +0 -2
- package/dist/components/ds-toast-provider.js.map +0 -1
- package/dist/components/p-BMQbEIrQ.js +0 -2
- package/dist/components/p-BMQbEIrQ.js.map +0 -1
- package/dist/components/p-BSFgy5r6.js +0 -2
- package/dist/components/p-BSFgy5r6.js.map +0 -1
- package/dist/components/p-CBUIn8dk.js +0 -2
- package/dist/components/p-CBUIn8dk.js.map +0 -1
- package/dist/components/p-ChVwCVHy.js +0 -2
- package/dist/components/p-ChVwCVHy.js.map +0 -1
- package/dist/components/p-CpNIQXz6.js +0 -2
- package/dist/components/p-CpNIQXz6.js.map +0 -1
- package/dist/components/p-CvgHQfvT.js +0 -2
- package/dist/components/p-CvgHQfvT.js.map +0 -1
- package/dist/components/p-bDf6yBQd.js +0 -2
- package/dist/components/p-bDf6yBQd.js.map +0 -1
- package/dist/types/components/Accordion/Accordion.d.ts +0 -28
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +0 -16
- package/dist/types/components/ButtonUnfilledIcon/ButtonUnfilledIcon.d.ts +0 -45
- package/dist/types/components/ButtonUnfilledIcon/index.d.ts +0 -2
- package/dist/types/components/Fade/Fade.d.ts +0 -22
- package/dist/types/components/Fade/index.d.ts +0 -2
- package/dist/types/components/Surface/Surface.d.ts +0 -22
- package/dist/types/components/Toast/Toast.d.ts +0 -16
- package/dist/types/components/Toast/toast-service.d.ts +0 -24
- package/src/react/ds-accordion.ts +0 -27
- package/src/react/ds-breadcrumb.ts +0 -27
- package/src/react/ds-button-unfilled-icon.ts +0 -33
- package/src/react/ds-fade.ts +0 -26
- package/src/react/ds-surface.ts +0 -26
- package/src/react/ds-toast-provider.ts +0 -26
- package/src/wc/components/Accordion/Accordion.tsx +0 -144
- package/src/wc/components/Breadcrumb/Breadcrumb.tsx +0 -61
- package/src/wc/components/ButtonUnfilledIcon/ButtonUnfilledIcon.tsx +0 -129
- package/src/wc/components/ButtonUnfilledIcon/index.ts +0 -1
- package/src/wc/components/Fade/Fade.tsx +0 -58
- package/src/wc/components/Fade/index.ts +0 -1
- package/src/wc/components/Surface/Surface.tsx +0 -81
- package/src/wc/components/Toast/Toast.tsx +0 -179
- package/src/wc/components/Toast/toast-service.ts +0 -67
- /package/dist/components/{ds-button-unfilled-icon.js.map → ds-button-unfilled.js.map} +0 -0
- /package/dist/components/{p-DdFUTZ3y.js.map → p-C3ORQUOp.js.map} +0 -0
- /package/dist/components/{p-8Nt92j1-.js.map → p-CyFVn2Sc.js.map} +0 -0
- /package/dist/components/{p-DOU4cbpc.js.map → p-DRqxVEye.js.map} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type ButtonUnfilledOnBackgroundContrast = 'default' | 'medium' | 'bold' | 'strong';
|
|
3
|
+
export type ButtonUnfilledBackground = 'always-dark' | 'navigation';
|
|
4
|
+
export type ButtonUnfilledVariant = 'icon' | 'label' | 'icon-label';
|
|
5
|
+
export type ButtonUnfilledSize = 'md' | 'sm' | 'xs';
|
|
6
|
+
export declare class ButtonUnfilled {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
/**
|
|
9
|
+
* Content layout. Default is label-only; pass `icon` for icon-only chrome
|
|
10
|
+
* (nav / tool rails) or `icon-label` for leading icon + text.
|
|
11
|
+
*/
|
|
12
|
+
variant: ButtonUnfilledVariant;
|
|
13
|
+
/** Control density (height, padding, icon, type). */
|
|
14
|
+
size: ButtonUnfilledSize;
|
|
15
|
+
/** Visible text for `label` / `icon-label` variants. */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Icon name passed to <ds-icon> for `icon` / `icon-label` variants. */
|
|
18
|
+
icon: string;
|
|
19
|
+
/** Active/selected visual state. */
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* When active, render the selected interaction fill.
|
|
23
|
+
* Default `true` for general UI. Shell chrome (nav / tool rails) should pass
|
|
24
|
+
* `false` so selection is foreground-only.
|
|
25
|
+
*/
|
|
26
|
+
activeFill: boolean;
|
|
27
|
+
/** Show a 1px tertiary inset border. Default on; shell chrome can pass `false`. */
|
|
28
|
+
hasBorder: boolean;
|
|
29
|
+
/** Show a notification dot at the top-right of the icon zone (icon variant only). */
|
|
30
|
+
dot: boolean;
|
|
31
|
+
/** Disables interaction. */
|
|
32
|
+
isInactive: boolean;
|
|
33
|
+
/** Native button type. */
|
|
34
|
+
type: 'button' | 'submit' | 'reset';
|
|
35
|
+
/**
|
|
36
|
+
* Foreground and interaction tokens when the button sits on a contrasting parent
|
|
37
|
+
* background (default, medium, bold, or strong).
|
|
38
|
+
*/
|
|
39
|
+
backgroundContrast?: ButtonUnfilledOnBackgroundContrast;
|
|
40
|
+
/** Parent surface context for navigation and always-dark chrome. */
|
|
41
|
+
background: ButtonUnfilledBackground | undefined;
|
|
42
|
+
ariaLabel: string | undefined;
|
|
43
|
+
controls: string | undefined;
|
|
44
|
+
expanded: boolean | undefined;
|
|
45
|
+
haspopup: string | undefined;
|
|
46
|
+
pressed: boolean | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Native `tabindex` for roving keyboard groups in shell chrome.
|
|
49
|
+
* Omit for the default button tab stop (`0`).
|
|
50
|
+
*/
|
|
51
|
+
focusTabIndex?: number;
|
|
52
|
+
dsClick: EventEmitter<MouseEvent>;
|
|
53
|
+
dsChange: EventEmitter<boolean>;
|
|
54
|
+
private buttonEl;
|
|
55
|
+
setFocus(): Promise<void>;
|
|
56
|
+
private handleClick;
|
|
57
|
+
private effectiveContrast;
|
|
58
|
+
private get showIcon();
|
|
59
|
+
private get showLabel();
|
|
60
|
+
private get showDot();
|
|
61
|
+
/** Knock-out ring: selected fill → active wash; otherwise surface token. */
|
|
62
|
+
private get dotRing();
|
|
63
|
+
private get accessibleName();
|
|
64
|
+
render(): any;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=ButtonUnfilled.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type CardDataVizWidth = '
|
|
1
|
+
export type CardDataVizWidth = 'sm' | 'md' | 'lg';
|
|
2
2
|
/**
|
|
3
3
|
* Copied from CardSetting as a starting scaffold — header edit affordance removed for now
|
|
4
4
|
* (data-viz widgets don't have an obvious "edit" action the way settings fields do); revisit
|
|
@@ -13,6 +13,10 @@ export declare class CardDataViz {
|
|
|
13
13
|
private hasChartSlot;
|
|
14
14
|
private hasLegendSlot;
|
|
15
15
|
componentWillRender(): void;
|
|
16
|
+
componentDidLoad(): void;
|
|
17
|
+
disconnectedCallback(): void;
|
|
18
|
+
private handleChartHover;
|
|
19
|
+
private handleLegendHover;
|
|
16
20
|
render(): any;
|
|
17
21
|
}
|
|
18
22
|
//# sourceMappingURL=CardDataViz.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export type CardSettingWidth = '
|
|
2
|
+
export type CardSettingWidth = 'sm' | 'md' | 'lg';
|
|
3
3
|
export declare class CardSetting {
|
|
4
4
|
/** Section heading shown in the card header. */
|
|
5
5
|
heading: string;
|
|
@@ -18,9 +18,13 @@ export declare class ChartDonut {
|
|
|
18
18
|
* Externally controlled highlight, matched by `label` — e.g. drive this from a sibling
|
|
19
19
|
* `ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync.
|
|
20
20
|
* Falls back to this component's own pointer/focus hover when unset.
|
|
21
|
+
* External sync dims slices only — the data-viz tooltip is reserved for this
|
|
22
|
+
* component's own pointer/keyboard interaction.
|
|
21
23
|
*/
|
|
22
24
|
activeLabel: string | null;
|
|
23
25
|
private hoveredLabel;
|
|
26
|
+
/** Own-hover tooltip (cursor-following). Cleared on leave; not driven by `activeLabel`. */
|
|
27
|
+
private tooltip;
|
|
24
28
|
/** Center text, truncated with an ellipsis if it doesn't fit inside the inner circle. */
|
|
25
29
|
private displayedValueText;
|
|
26
30
|
private displayedCaptionText;
|
|
@@ -28,7 +32,10 @@ export declare class ChartDonut {
|
|
|
28
32
|
dsSliceHover: EventEmitter<ChartDatum | null>;
|
|
29
33
|
private valueTextEl?;
|
|
30
34
|
private captionTextEl?;
|
|
35
|
+
private wrapperEl?;
|
|
31
36
|
private handleHover;
|
|
37
|
+
private handleSliceMove;
|
|
38
|
+
private updateTooltip;
|
|
32
39
|
componentDidRender(): void;
|
|
33
40
|
render(): any;
|
|
34
41
|
}
|
|
@@ -1,29 +1,33 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Semantic chip state — replaces Tag’s intent × contrast matrix.
|
|
4
|
+
* - `default` — neutral faint
|
|
5
|
+
* - `active` — brand faint
|
|
6
|
+
* - `error` — negative faint
|
|
7
|
+
* - `caution` — caution faint
|
|
8
|
+
*/
|
|
9
|
+
export type ChipState = 'default' | 'active' | 'error' | 'caution';
|
|
5
10
|
export type ChipSize = 'md' | 'sm' | 'xs';
|
|
6
11
|
export type ChipBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'always-dark';
|
|
12
|
+
/**
|
|
13
|
+
* Removable chip — same density recipe as Tag, but colored by semantic `state`
|
|
14
|
+
* (not intent × contrast). Not a toggle/select control; the only intentional
|
|
15
|
+
* action is remove.
|
|
16
|
+
*/
|
|
7
17
|
export declare class Chip {
|
|
8
18
|
label: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
elevation: ChipElevation;
|
|
19
|
+
/** Semantic color state. @default 'default' */
|
|
20
|
+
state: ChipState;
|
|
12
21
|
size: ChipSize;
|
|
13
22
|
rounded: boolean;
|
|
23
|
+
/** When true (default), shows the trailing dismiss control. */
|
|
14
24
|
removable: boolean;
|
|
15
25
|
maxWidth: string | number | undefined;
|
|
16
|
-
|
|
26
|
+
isInactive: boolean;
|
|
27
|
+
/** Surface context for interaction-fill tokens when the chip sits on a non-default surface. */
|
|
17
28
|
background: ChipBackground | undefined;
|
|
18
|
-
pressed: boolean;
|
|
19
29
|
/** Fired when the remove button is clicked. */
|
|
20
30
|
dsRemove: EventEmitter<void>;
|
|
21
|
-
/** Fired when an interactive chip is clicked. */
|
|
22
|
-
dsClick: EventEmitter<void>;
|
|
23
|
-
/** Fired when the pressed state toggles. */
|
|
24
|
-
dsPressedChange: EventEmitter<boolean>;
|
|
25
|
-
private handleClick;
|
|
26
|
-
private handleKeyDown;
|
|
27
31
|
private handleRemove;
|
|
28
32
|
render(): any;
|
|
29
33
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { ChipState, ChipSize, ChipBackground } from './Chip';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -105,6 +105,8 @@ export declare class PanelNav {
|
|
|
105
105
|
private handleResizeHandleMouseEnter;
|
|
106
106
|
private handleResizeHandleMouseLeave;
|
|
107
107
|
private handleResizeHandleMouseDown;
|
|
108
|
+
private renderFooterAction;
|
|
109
|
+
private renderFooterUser;
|
|
108
110
|
private renderNavItem;
|
|
109
111
|
render(): any;
|
|
110
112
|
}
|
|
@@ -2,14 +2,14 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
export interface RadioOption {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
|
-
|
|
5
|
+
isInactive?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare class RadioGroup {
|
|
8
8
|
el: HTMLElement;
|
|
9
9
|
options: RadioOption[];
|
|
10
10
|
value: string;
|
|
11
11
|
direction: 'vertical' | 'horizontal';
|
|
12
|
-
|
|
12
|
+
isInactive: boolean;
|
|
13
13
|
ariaLabel: string | undefined;
|
|
14
14
|
ariaLabelledby: string | undefined;
|
|
15
15
|
dsChange: EventEmitter<string>;
|
|
@@ -14,8 +14,8 @@ export declare class Select {
|
|
|
14
14
|
value: string;
|
|
15
15
|
/** Placeholder shown when no value is selected. */
|
|
16
16
|
placeholder: string;
|
|
17
|
-
/** Disables interaction. */
|
|
18
|
-
|
|
17
|
+
/** Disables interaction (25% opacity via ds-control-inactive). */
|
|
18
|
+
isInactive: boolean;
|
|
19
19
|
ariaLabel: string | undefined;
|
|
20
20
|
ariaLabelledby: string | undefined;
|
|
21
21
|
/** Emits the selected value string. */
|
|
@@ -5,7 +5,7 @@ export declare class ShellGradientSwatch {
|
|
|
5
5
|
preset: ShellGradientPreset;
|
|
6
6
|
/** Selected — brand stroke + halo over inner fill/border/interaction stack. */
|
|
7
7
|
selected: boolean;
|
|
8
|
-
|
|
8
|
+
isInactive: boolean;
|
|
9
9
|
ariaLabel: string | undefined;
|
|
10
10
|
dsSelect: EventEmitter<ShellGradientPreset>;
|
|
11
11
|
private handleClick;
|
|
@@ -6,7 +6,7 @@ export declare class Slider {
|
|
|
6
6
|
max: number;
|
|
7
7
|
step: number;
|
|
8
8
|
label: string;
|
|
9
|
-
|
|
9
|
+
isInactive: boolean;
|
|
10
10
|
valueText: string | undefined;
|
|
11
11
|
/** Associates with an external <label>. Defaults to an auto-generated ID. */
|
|
12
12
|
inputId: string | undefined;
|
|
@@ -16,7 +16,7 @@ export declare class TabGroup {
|
|
|
16
16
|
/** Keep focus on the selected tab when value changes externally (e.g. BarNav menu). */
|
|
17
17
|
onValueChange(next: string, prev: string | undefined): void;
|
|
18
18
|
/**
|
|
19
|
-
* Find the next non-
|
|
19
|
+
* Find the next non-inactive tab index relative to `from`, stepping by `step`.
|
|
20
20
|
* Returns `from` unchanged if no other enabled tab exists.
|
|
21
21
|
*/
|
|
22
22
|
private findEnabled;
|
|
@@ -4,7 +4,8 @@ export interface TabItemDivider {
|
|
|
4
4
|
export interface TabItemTab {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
|
-
|
|
7
|
+
/** Disables the tab (same meaning as control `isInactive`). */
|
|
8
|
+
isInactive?: boolean;
|
|
8
9
|
/** id of the tabpanel this tab controls */
|
|
9
10
|
panelId?: string;
|
|
10
11
|
/** Show a notification dot (brand) on the tab — no count, matching panel-nav. */
|
|
@@ -32,7 +32,7 @@ export declare class TabGroupNav {
|
|
|
32
32
|
private getFocusedIndex;
|
|
33
33
|
private findEnabledLinear;
|
|
34
34
|
/**
|
|
35
|
-
* Find the next non-
|
|
35
|
+
* Find the next non-inactive tab index relative to `from`, stepping by `step`.
|
|
36
36
|
* Returns `from` unchanged if no other enabled tab exists.
|
|
37
37
|
*/
|
|
38
38
|
private findEnabled;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export type TagIntent = 'neutral' | 'brand' | 'ai' | 'negative' | 'warning' | 'caution' | 'positive';
|
|
2
2
|
export type TagContrast = 'strong' | 'bold' | 'medium' | 'faint';
|
|
3
|
-
export type TagElevation = 'none' | 'flat' | 'elevated';
|
|
4
3
|
export type TagSize = 'md' | 'sm' | 'xs';
|
|
5
4
|
export declare class Tag {
|
|
6
5
|
label: string;
|
|
7
6
|
intent: TagIntent;
|
|
8
7
|
contrast: TagContrast;
|
|
9
|
-
elevation: TagElevation;
|
|
10
8
|
size: TagSize;
|
|
11
9
|
rounded: boolean;
|
|
12
10
|
maxWidth: string | number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { TagIntent, TagContrast,
|
|
1
|
+
export type { TagIntent, TagContrast, TagSize } from './Tag';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,33 +1,47 @@
|
|
|
1
1
|
export type TooltipSide = 'top' | 'right' | 'bottom' | 'left';
|
|
2
2
|
export type TooltipAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export type TooltipSize = 'md' | 'sm' | 'xs';
|
|
4
|
+
/**
|
|
5
|
+
* Imperative body portal for the popup.
|
|
6
|
+
* Stencil must not own the portaled node — moving a VDOM child to `document.body`
|
|
7
|
+
* causes recreate → re-portal → @State loops that freeze the page.
|
|
8
|
+
*/
|
|
3
9
|
export declare class Tooltip {
|
|
4
10
|
el: HTMLElement;
|
|
5
11
|
label: string;
|
|
12
|
+
/** Control density (height, padding, type). */
|
|
13
|
+
size: TooltipSize;
|
|
6
14
|
side: TooltipSide;
|
|
7
15
|
align: TooltipAlign;
|
|
8
16
|
/** Gap between anchor and tooltip — number (px) or TokoMo length. */
|
|
9
17
|
sideOffset: number | string;
|
|
10
18
|
/** Cross-axis offset — number (px) or TokoMo length. */
|
|
11
19
|
alignOffset: number | string;
|
|
12
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Hover show delay before the tooltip appears.
|
|
22
|
+
* Default: `--effect-animation-delay-medium-3` (1000ms). Accepts a number (ms)
|
|
23
|
+
* or a TokoMo time token / `var(--effect-animation-delay-*)`. Applies to the
|
|
24
|
+
* initial hover/focus show only — after a recent dismiss, reopen is instant.
|
|
25
|
+
* Prefer the default; override only for denser chrome or rare/destructive actions.
|
|
26
|
+
*/
|
|
13
27
|
delay: number | string;
|
|
14
28
|
shortcutKey: string | undefined;
|
|
15
29
|
shortcutKeyPosition: 'start' | 'end';
|
|
16
|
-
private visible;
|
|
17
|
-
private closing;
|
|
18
|
-
private pos;
|
|
19
30
|
private tooltipId;
|
|
20
31
|
private delayTimer;
|
|
21
32
|
private closeTimer;
|
|
22
33
|
private anchor;
|
|
23
|
-
private
|
|
34
|
+
private popupEl;
|
|
35
|
+
private skipEnterAnimation;
|
|
36
|
+
private isOpen;
|
|
24
37
|
private mouseEnterHandler;
|
|
25
38
|
private mouseLeaveHandler;
|
|
39
|
+
/** focusin/focusout so nested focus targets (e.g. ds-button-* inner button) still open the tip. */
|
|
26
40
|
private focusHandler;
|
|
27
41
|
private blurHandler;
|
|
28
42
|
componentDidLoad(): void;
|
|
29
43
|
disconnectedCallback(): void;
|
|
30
|
-
|
|
44
|
+
onContentOrPositionChange(): void;
|
|
31
45
|
private get viewportPadPx();
|
|
32
46
|
private get sideOffsetPx();
|
|
33
47
|
private get alignOffsetPx();
|
|
@@ -39,8 +53,13 @@ export declare class Tooltip {
|
|
|
39
53
|
private bindAnchor;
|
|
40
54
|
private unbindAnchor;
|
|
41
55
|
private clearTimers;
|
|
56
|
+
private destroyPopup;
|
|
57
|
+
/** Drop the open tip immediately (warm handoff to another tooltip). */
|
|
58
|
+
private hideInstant;
|
|
42
59
|
private show;
|
|
43
60
|
private hide;
|
|
61
|
+
private mountPopup;
|
|
62
|
+
private renderPopupContent;
|
|
44
63
|
private calculatePosition;
|
|
45
64
|
render(): any;
|
|
46
65
|
}
|
|
@@ -10,6 +10,9 @@ export type TooltipDataVizAlign = 'top' | 'bottom';
|
|
|
10
10
|
* with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
|
|
11
11
|
* of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
|
|
12
12
|
* keeps it on-screen.
|
|
13
|
+
*
|
|
14
|
+
* Mount (or remount) when a hover session starts so `delay` applies once per hover;
|
|
15
|
+
* keep the instance mounted while the cursor moves so tracking stays instant.
|
|
13
16
|
*/
|
|
14
17
|
export declare class TooltipDataViz {
|
|
15
18
|
el: HTMLElement;
|
|
@@ -18,10 +21,25 @@ export declare class TooltipDataViz {
|
|
|
18
21
|
/** Anchor point in px, relative to the nearest `position: relative` ancestor — e.g. the cursor. */
|
|
19
22
|
x: number;
|
|
20
23
|
y: number;
|
|
24
|
+
/**
|
|
25
|
+
* Show delay after mount before the callout appears.
|
|
26
|
+
* Default: `--effect-animation-delay-instant` (0ms). Accepts a number (ms)
|
|
27
|
+
* or a TokoMo time token / `var(--effect-animation-delay-*)`. Charts need
|
|
28
|
+
* immediate feedback while scrubbing; prefer the default. Mount once per
|
|
29
|
+
* hover session so any non-zero delay runs once, then track `x`/`y` instantly.
|
|
30
|
+
*/
|
|
31
|
+
delay: number | string;
|
|
21
32
|
private side;
|
|
22
33
|
private align;
|
|
34
|
+
private visible;
|
|
35
|
+
private delayTimer;
|
|
23
36
|
componentDidLoad(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
24
38
|
onAnchorChange(): void;
|
|
39
|
+
onDelayChange(): void;
|
|
40
|
+
private get showDelayMs();
|
|
41
|
+
private clearDelayTimer;
|
|
42
|
+
private scheduleShow;
|
|
25
43
|
private calculatePlacement;
|
|
26
44
|
render(): any;
|
|
27
45
|
}
|