@ds-mo/ui 6.0.1 → 8.0.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.
Files changed (195) hide show
  1. package/README.md +3 -3
  2. package/dist/.build-stamp +1 -1
  3. package/dist/agent.json +978 -147
  4. package/dist/angular/ds-button-filled.d.ts +1 -1
  5. package/dist/angular/ds-button-filled.js +3 -3
  6. package/dist/angular/ds-button-unfilled.d.ts +1 -1
  7. package/dist/angular/ds-button-unfilled.js +3 -3
  8. package/dist/angular/ds-chip.d.ts +1 -1
  9. package/dist/angular/ds-chip.js +3 -3
  10. package/dist/angular/ds-divider.d.ts +1 -1
  11. package/dist/angular/ds-divider.js +3 -3
  12. package/dist/angular/ds-icon.d.ts +1 -1
  13. package/dist/angular/ds-icon.js +3 -3
  14. package/dist/angular/ds-panel-sub-nav.d.ts +15 -0
  15. package/dist/angular/{ds-tab-group-nav.js → ds-panel-sub-nav.js} +13 -17
  16. package/dist/angular/ds-skeleton.d.ts +1 -1
  17. package/dist/angular/ds-skeleton.js +3 -3
  18. package/dist/angular/ds-tab-group.d.ts +1 -1
  19. package/dist/angular/ds-tab-group.js +3 -3
  20. package/dist/angular/ds-tag.d.ts +8 -2
  21. package/dist/angular/ds-tag.js +9 -5
  22. package/dist/angular/index.d.ts +1 -1
  23. package/dist/angular/index.js +1 -1
  24. package/dist/angular/proxies.d.ts +1 -1
  25. package/dist/angular/proxies.js +1 -1
  26. package/dist/components/ds-app-shell.js +1 -1
  27. package/dist/components/ds-app-shell.js.map +1 -1
  28. package/dist/components/ds-badge.js +1 -1
  29. package/dist/components/ds-banner.js +1 -1
  30. package/dist/components/ds-bar-nav.js +1 -1
  31. package/dist/components/ds-bar-nav.js.map +1 -1
  32. package/dist/components/ds-button-filled.js +1 -1
  33. package/dist/components/ds-button-unfilled.js +1 -1
  34. package/dist/components/ds-card-data-viz-donut.js +1 -1
  35. package/dist/components/ds-card-data-viz-donut.js.map +1 -1
  36. package/dist/components/ds-card-setting.js +1 -1
  37. package/dist/components/ds-card-setting.js.map +1 -1
  38. package/dist/components/ds-card.js +1 -1
  39. package/dist/components/ds-chart-bar.js +1 -1
  40. package/dist/components/ds-chart-donut.js +1 -1
  41. package/dist/components/ds-chart-legend.js +1 -1
  42. package/dist/components/ds-chart-legend.js.map +1 -1
  43. package/dist/components/ds-chart-line.js +1 -1
  44. package/dist/components/ds-checkbox.js +1 -1
  45. package/dist/components/ds-chip.js +1 -1
  46. package/dist/components/ds-chip.js.map +1 -1
  47. package/dist/components/ds-divider.js +1 -1
  48. package/dist/components/ds-divider.js.map +1 -1
  49. package/dist/components/ds-empty-state.js +1 -1
  50. package/dist/components/ds-field.js +1 -1
  51. package/dist/components/ds-icon.js +1 -1
  52. package/dist/components/ds-input.js +1 -1
  53. package/dist/components/ds-loader.js +1 -1
  54. package/dist/components/ds-loader.js.map +1 -1
  55. package/dist/components/ds-menu.js +1 -1
  56. package/dist/components/ds-modal.js +1 -1
  57. package/dist/components/ds-pagination.js +1 -1
  58. package/dist/components/ds-panel-nav.js +1 -1
  59. package/dist/components/ds-panel-nav.js.map +1 -1
  60. package/dist/components/{ds-tab-group-nav.d.ts → ds-panel-sub-nav.d.ts} +4 -4
  61. package/dist/components/ds-panel-sub-nav.js +2 -0
  62. package/dist/components/ds-panel-sub-nav.js.map +1 -0
  63. package/dist/components/ds-panel-tools.js +1 -1
  64. package/dist/components/ds-panel-tools.js.map +1 -1
  65. package/dist/components/ds-radio-group.js +1 -1
  66. package/dist/components/ds-select.js +1 -1
  67. package/dist/components/ds-select.js.map +1 -1
  68. package/dist/components/ds-shell-gradient-picker.js +1 -1
  69. package/dist/components/ds-shell-gradient-swatch.js +1 -1
  70. package/dist/components/ds-skeleton.js +1 -1
  71. package/dist/components/ds-slider.js +1 -1
  72. package/dist/components/ds-switch.js +1 -1
  73. package/dist/components/ds-tab-group.js +1 -1
  74. package/dist/components/ds-tab-group.js.map +1 -1
  75. package/dist/components/ds-table.js +1 -1
  76. package/dist/components/ds-tag.js +1 -1
  77. package/dist/components/ds-tag.js.map +1 -1
  78. package/dist/components/ds-text.js +1 -1
  79. package/dist/components/ds-tooltip-data-viz.js +1 -1
  80. package/dist/components/ds-tooltip.js +1 -1
  81. package/dist/components/{p-BmiNX9Mc.js → p-3bRWSqaN.js} +2 -2
  82. package/dist/components/p-B8ERbwc9.js +2 -0
  83. package/dist/components/{p-DhgDNluD.js.map → p-B8ERbwc9.js.map} +1 -1
  84. package/dist/components/p-BKhG2xrW.js.map +1 -1
  85. package/dist/components/p-BQq26pt9.js.map +1 -1
  86. package/dist/components/{p-bl7d1jB2.js → p-CPD_mML6.js} +2 -2
  87. package/dist/components/p-Ca1H1HPf.js +2 -0
  88. package/dist/components/p-Ca1H1HPf.js.map +1 -0
  89. package/dist/components/p-CpX87AQy.js +2 -0
  90. package/dist/components/p-CpX87AQy.js.map +1 -0
  91. package/dist/components/p-CyMmsNCF.js +2 -0
  92. package/dist/components/p-CyMmsNCF.js.map +1 -0
  93. package/dist/components/p-D0B9uDTP.js.map +1 -1
  94. package/dist/components/{p-DHwtgzjP.js → p-DavEAOUa.js} +2 -2
  95. package/dist/components/{p-DHwtgzjP.js.map → p-DavEAOUa.js.map} +1 -1
  96. package/dist/components/{p-9Qu1ls2y.js → p-DoZU8RH0.js} +2 -2
  97. package/dist/components/p-DoZU8RH0.js.map +1 -0
  98. package/dist/components/p-DsiueSMI.js +2 -0
  99. package/dist/components/p-DsiueSMI.js.map +1 -0
  100. package/dist/components/{p-CWd8L7Fk.js → p-Dt0XnMxc.js} +2 -2
  101. package/dist/components/p-Dt0XnMxc.js.map +1 -0
  102. package/dist/components/p-Mx6VFEQc.js +2 -0
  103. package/dist/components/p-Mx6VFEQc.js.map +1 -0
  104. package/dist/components/{p-RBe9XqjU.js → p-clDpFcdU.js} +2 -2
  105. package/dist/components/p-drBA73M_.js.map +1 -1
  106. package/dist/components/p-wxw8arTd.js +2 -0
  107. package/dist/components/p-wxw8arTd.js.map +1 -0
  108. package/dist/docs/components.json +878 -941
  109. package/dist/lib/components/Icon/icon-cache.d.ts +2 -2
  110. package/dist/lib/components/Text/text-types.d.ts +1 -1
  111. package/dist/lib/{nav → shell}/index.js +7 -7
  112. package/dist/lib/{nav → shell}/index.js.map +2 -2
  113. package/dist/lib/utils/index.js +1 -1
  114. package/dist/lib/utils/index.js.map +2 -2
  115. package/dist/react/components.d.ts +1 -1
  116. package/dist/react/components.js +1 -1
  117. package/dist/react/ds-panel-sub-nav.d.ts +12 -0
  118. package/dist/react/ds-panel-sub-nav.js +12 -0
  119. package/dist/react/ds-tag.d.ts +5 -2
  120. package/dist/react/ds-tag.js +1 -1
  121. package/dist/types/components/AppShell/AppShell.d.ts +2 -2
  122. package/dist/types/components/Badge/Badge.d.ts +4 -4
  123. package/dist/types/components/BarNav/BarNav.d.ts +11 -5
  124. package/dist/types/components/BarNav/index.d.ts +1 -1
  125. package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +3 -0
  126. package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +5 -9
  127. package/dist/types/components/ButtonUnfilled/index.d.ts +1 -1
  128. package/dist/types/components/Chip/Chip.d.ts +0 -5
  129. package/dist/types/components/Chip/index.d.ts +1 -1
  130. package/dist/types/components/Divider/Divider.d.ts +3 -3
  131. package/dist/types/components/Divider/index.d.ts +1 -1
  132. package/dist/types/components/Icon/Icon.d.ts +2 -4
  133. package/dist/types/components/Icon/icon-cache.d.ts +2 -2
  134. package/dist/types/components/Loader/Loader.d.ts +1 -1
  135. package/dist/types/components/Menu/Menu.d.ts +1 -1
  136. package/dist/types/components/Menu/menu-types.d.ts +1 -1
  137. package/dist/types/components/PanelNav/PanelNav.d.ts +2 -2
  138. package/dist/types/components/PanelNav/index.d.ts +1 -1
  139. package/dist/types/components/PanelNav/panel-nav-types.d.ts +1 -2
  140. package/dist/types/components/PanelNav/panel-nav-utils.d.ts +2 -2
  141. package/dist/types/components/PanelSubNav/PanelSubNav.d.ts +27 -0
  142. package/dist/types/components/PanelSubNav/panel-sub-nav-types.d.ts +10 -0
  143. package/dist/types/components/PanelTools/PanelTools.d.ts +1 -1
  144. package/dist/types/components/ShellGradientSwatch/shell-gradient-swatch-types.d.ts +2 -2
  145. package/dist/types/components/Skeleton/Skeleton.d.ts +3 -3
  146. package/dist/types/components/Skeleton/index.d.ts +1 -1
  147. package/dist/types/components/TabGroup/TabGroup.d.ts +3 -4
  148. package/dist/types/components/TabGroup/tab-item-utils.d.ts +14 -0
  149. package/dist/types/components/Tag/Tag.d.ts +14 -0
  150. package/dist/types/components/Text/Text.d.ts +1 -1
  151. package/dist/types/components/Text/text-types.d.ts +1 -1
  152. package/dist/types/components.d.ts +242 -214
  153. package/package.json +7 -7
  154. package/dist/angular/ds-tab-group-nav.d.ts +0 -20
  155. package/dist/components/ds-tab-group-nav.js +0 -2
  156. package/dist/components/ds-tab-group-nav.js.map +0 -1
  157. package/dist/components/p-9Qu1ls2y.js.map +0 -1
  158. package/dist/components/p-B5kfuVQz.js +0 -2
  159. package/dist/components/p-B5kfuVQz.js.map +0 -1
  160. package/dist/components/p-BeIuJQO9.js +0 -2
  161. package/dist/components/p-BeIuJQO9.js.map +0 -1
  162. package/dist/components/p-CWd8L7Fk.js.map +0 -1
  163. package/dist/components/p-CxOQaZ4f.js +0 -2
  164. package/dist/components/p-CxOQaZ4f.js.map +0 -1
  165. package/dist/components/p-D5wc8lKR.js +0 -2
  166. package/dist/components/p-D5wc8lKR.js.map +0 -1
  167. package/dist/components/p-DPxfMUfH.js +0 -2
  168. package/dist/components/p-DPxfMUfH.js.map +0 -1
  169. package/dist/components/p-DhgDNluD.js +0 -2
  170. package/dist/components/p-cgo-rgl4.js +0 -2
  171. package/dist/components/p-cgo-rgl4.js.map +0 -1
  172. package/dist/react/ds-tab-group-nav.d.ts +0 -13
  173. package/dist/react/ds-tab-group-nav.js +0 -15
  174. package/dist/types/components/BarNav/bar-nav-dom-utils.d.ts +0 -11
  175. package/dist/types/components/TabGroupNav/TabGroupNav.d.ts +0 -46
  176. /package/dist/components/{p-BmiNX9Mc.js.map → p-3bRWSqaN.js.map} +0 -0
  177. /package/dist/components/{p-bl7d1jB2.js.map → p-CPD_mML6.js.map} +0 -0
  178. /package/dist/components/{p-RBe9XqjU.js.map → p-clDpFcdU.js.map} +0 -0
  179. /package/dist/lib/{nav → shell}/badge-gradient-ring.d.ts +0 -0
  180. /package/dist/lib/{nav → shell}/chrome-transition.d.ts +0 -0
  181. /package/dist/lib/{nav → shell}/index.d.ts +0 -0
  182. /package/dist/lib/{nav → shell}/nav-chrome.d.ts +0 -0
  183. /package/dist/lib/{nav → shell}/shell-chrome-metrics.d.ts +0 -0
  184. /package/dist/lib/{nav → shell}/shell-gradient-presets.d.ts +0 -0
  185. /package/dist/lib/{nav → shell}/shell-gradient.d.ts +0 -0
  186. /package/dist/lib/{nav → shell}/shell-view-transition.d.ts +0 -0
  187. /package/dist/types/{nav → shell}/badge-gradient-ring.d.ts +0 -0
  188. /package/dist/types/{nav → shell}/chrome-transition.d.ts +0 -0
  189. /package/dist/types/{nav → shell}/index.d.ts +0 -0
  190. /package/dist/types/{nav → shell}/nav-chrome.d.ts +0 -0
  191. /package/dist/types/{nav → shell}/shell-chrome-metrics.d.ts +0 -0
  192. /package/dist/types/{nav → shell}/shell-gradient-presets.d.ts +0 -0
  193. /package/dist/types/{nav → shell}/shell-gradient.d.ts +0 -0
  194. /package/dist/types/{nav → shell}/shell-shortcuts.d.ts +0 -0
  195. /package/dist/types/{nav → shell}/shell-view-transition.d.ts +0 -0
@@ -1,7 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { type ControlWidth } from '../../utils';
3
- export type ButtonUnfilledOnBackgroundContrast = 'default' | 'medium' | 'bold' | 'strong';
4
- export type ButtonUnfilledBackground = 'always-dark' | 'navigation';
3
+ export type ButtonUnfilledBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'translucent' | 'inverted' | 'media' | 'always-dark';
5
4
  export type ButtonUnfilledVariant = 'icon' | 'label' | 'icon-label';
6
5
  export type ButtonUnfilledSize = 'md' | 'sm' | 'xs';
7
6
  export type ButtonUnfilledWidth = ControlWidth;
@@ -34,15 +33,13 @@ export declare class ButtonUnfilled {
34
33
  dot: boolean;
35
34
  /** Disables interaction. */
36
35
  isInactive: boolean;
36
+ /** Shows an inline loader and prevents interaction without applying inactive opacity. */
37
+ isLoading: boolean;
37
38
  /** Native button type. */
38
39
  type: 'button' | 'submit' | 'reset';
39
- /**
40
- * Foreground and interaction tokens when the button sits on a contrasting parent
41
- * background (default, medium, bold, or strong).
42
- */
43
- backgroundContrast?: ButtonUnfilledOnBackgroundContrast;
44
- /** Parent surface context for navigation and always-dark chrome. */
40
+ /** Actual parent surface context. Omit on primary and secondary surfaces. */
45
41
  background: ButtonUnfilledBackground | undefined;
42
+ /** Accessible name override. Required for icon-only buttons. */
46
43
  ariaLabel: string | null;
47
44
  controls: string | undefined;
48
45
  expanded: boolean | undefined;
@@ -58,7 +55,6 @@ export declare class ButtonUnfilled {
58
55
  private buttonEl;
59
56
  setFocus(): Promise<void>;
60
57
  private handleClick;
61
- private effectiveContrast;
62
58
  private get showIcon();
63
59
  private get showLabel();
64
60
  private get showDot();
@@ -1,2 +1,2 @@
1
- export type { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth, } from './ButtonUnfilled';
1
+ export type { ButtonUnfilledBackground, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth, } from './ButtonUnfilled';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -8,7 +8,6 @@ import { EventEmitter } from '../../stencil-public-runtime';
8
8
  */
9
9
  export type ChipState = 'default' | 'active' | 'error' | 'caution';
10
10
  export type ChipSize = 'md' | 'sm' | 'xs';
11
- export type ChipBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'always-dark';
12
11
  /**
13
12
  * Removable chip — same density recipe as Tag, but colored by semantic `state`
14
13
  * (not intent × contrast). Not a toggle/select control; the only intentional
@@ -20,12 +19,8 @@ export declare class Chip {
20
19
  state: ChipState;
21
20
  size: ChipSize;
22
21
  rounded: boolean;
23
- /** When true (default), shows the trailing dismiss control. */
24
- removable: boolean;
25
22
  maxWidth: string | number | undefined;
26
23
  isInactive: boolean;
27
- /** Surface context for interaction-fill tokens when the chip sits on a non-default surface. */
28
- background: ChipBackground | undefined;
29
24
  /** Accessible remove action. Use `{label}` as the chip-label placeholder. */
30
25
  removeLabel: string;
31
26
  /** Fired when the remove button is clicked. */
@@ -1,2 +1,2 @@
1
- export type { ChipState, ChipSize, ChipBackground } from './Chip';
1
+ export type { ChipState, ChipSize } from './Chip';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,13 +1,13 @@
1
1
  export type DividerOrientation = 'horizontal' | 'vertical';
2
- export type DividerSurface = 'default' | 'on-bold-background' | 'on-strong-background' | 'on-medium-background' | 'on-translucent-background' | 'navigation' | 'media' | 'always-dark' | 'inverted';
2
+ export type DividerBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'translucent' | 'inverted' | 'media' | 'navigation' | 'always-dark';
3
3
  export type DividerInsetToken = 'space-000' | 'space-012' | 'space-025' | 'space-050' | 'space-075' | 'space-100' | 'space-125' | 'space-150' | 'space-175' | 'space-200' | 'space-250' | 'space-300' | 'space-400' | 'space-600' | 'space-800';
4
4
  export type DividerInset = 'none' | DividerInsetToken | (string & {});
5
5
  export type DividerLength = 'auto' | 'full' | (string & {});
6
6
  export declare class Divider {
7
7
  /** Direction of the divider line. Defaults to 'horizontal'. */
8
8
  orientation: DividerOrientation;
9
- /** Surface context so the divider uses the right TokoMo divider token. */
10
- surface: DividerSurface;
9
+ /** Actual parent surface context. Omit on primary and secondary surfaces. */
10
+ background: DividerBackground | undefined;
11
11
  /** Insets the divider from its start/end edges. Accepts spacing token names or any CSS length. */
12
12
  inset: DividerInset;
13
13
  /** Visual line length. Defaults to filling the available axis. Accepts any CSS length. */
@@ -1,2 +1,2 @@
1
- export type { DividerOrientation } from './Divider';
1
+ export type { DividerBackground, DividerInset, DividerInsetToken, DividerLength, DividerOrientation, } from './Divider';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -3,16 +3,14 @@ export type IconColorToken = 'primary' | 'secondary' | 'tertiary' | 'quaternary'
3
3
  export type IconColor = IconColorToken | `var(--${string})`;
4
4
  export declare class Icon {
5
5
  el: HTMLElement;
6
- /** Name of the system icon (e.g. `"Gear"`, `"ArrowRight"`) or flag (e.g. `"US"`) */
6
+ /** Exact canonical IcoMo export name, including the `Flag` prefix for flags. */
7
7
  name: string;
8
8
  /** Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px. */
9
9
  size: IconSize;
10
10
  /** Semantic foreground color token, or a raw CSS var reference. */
11
- color: IconColor | undefined;
11
+ color: IconColor;
12
12
  /** Accessible label. Sets `role="img"` and `aria-label`. Omit for decorative icons. */
13
13
  label: string | undefined;
14
- /** Set `true` to look up from the flag icon set instead of the system icon set. */
15
- flag: boolean;
16
14
  /** Resolved SVG markup — set synchronously on cache hit, async after a lazy load. */
17
15
  private svg;
18
16
  /** Guards against out-of-order async resolutions when `name`/`flag` change quickly. */
@@ -8,11 +8,11 @@ export declare function iconCache(): IconCacheMap;
8
8
  *
9
9
  * ```ts
10
10
  * import { Bell } from '@ds-mo/icons/svg/Bell';
11
- * import { US } from '@ds-mo/icons/svg/flags/US';
11
+ * import { FlagUnitedStates } from '@ds-mo/icons/svg/flags/FlagUnitedStates';
12
12
  * import { registerIcons } from '@ds-mo/ui/utils';
13
13
  *
14
14
  * registerIcons({ Bell });
15
- * registerIcons({ US }, { flag: true });
15
+ * registerIcons({ FlagUnitedStates });
16
16
  * ```
17
17
  *
18
18
  * Icons that are not registered still work — they lazy-load on first render
@@ -5,7 +5,7 @@ export declare class Loader {
5
5
  /** Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px. */
6
6
  size: LoaderSize;
7
7
  /** Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`. */
8
- color: LoaderColor | undefined;
8
+ color: LoaderColor;
9
9
  /**
10
10
  * Accessible label for standalone usage. Wraps the spinner in a live region
11
11
  * and renders the label visually-hidden. Omit when the host element already
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { type MenuAlign, type MenuSide } from './menu-position';
3
3
  import type { MenuItemData, MenuSection } from './menu-types';
4
- import type { ShellGradientPreset } from '../../nav/shell-gradient-presets';
4
+ import type { ShellGradientPreset } from '../../shell/shell-gradient-presets';
5
5
  export declare class Menu {
6
6
  el: HTMLElement;
7
7
  open: boolean;
@@ -1,4 +1,4 @@
1
- import type { ShellGradientPreset } from '../../nav/shell-gradient-presets';
1
+ import type { ShellGradientPreset } from '../../shell/shell-gradient-presets';
2
2
  export type { MenuAlign, MenuSide } from './menu-position';
3
3
  export { PANEL_NAV_USER_MENU_PLACEMENT, type MenuPlacement, } from './menu-placement';
4
4
  export interface MenuItemData {
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import type { ChromeTransitionDetail } from '../../nav/chrome-transition';
3
- import type { NavChromeStyle } from '../../nav/nav-chrome';
2
+ import type { ChromeTransitionDetail } from '../../shell/chrome-transition';
3
+ import type { NavChromeStyle } from '../../shell/nav-chrome';
4
4
  import { type PanelNavGroup, type PanelNavRouterMode, type PanelNavUserActionDetail } from './panel-nav-types';
5
5
  export declare class PanelNav {
6
6
  /** Style slot: `dashboard` or `settings`. Colors match for now;
@@ -1,5 +1,5 @@
1
1
  export type { PanelNavRouterMode, PanelNavItem, PanelNavGroup, PanelNavUserActionDetail, } from './panel-nav-types';
2
2
  export { PANEL_NAV_USER_MENU_ANCHOR_ID, PANEL_NAV_USER_MENU_PLACEMENT } from './panel-nav-types';
3
- export type { NavChromeStyle } from '../../nav/nav-chrome';
3
+ export type { NavChromeStyle } from '../../shell/nav-chrome';
4
4
  export { NAV_STYLE_HINT_ATTR, setNavStyleHint, clearNavStyleHint, resolvePanelNavStyle, shouldResyncPanelNavStyle, deriveActiveIdFromUrl, parsePanelNavGroups, } from './panel-nav-utils';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { MenuPlacement } from '../Menu/menu-placement';
2
2
  import { PANEL_NAV_USER_MENU_PLACEMENT } from '../Menu/menu-placement';
3
- import type { NavChromeStyle } from '../../nav/nav-chrome';
3
+ import type { NavChromeStyle } from '../../shell/nav-chrome';
4
4
  export type { NavChromeStyle };
5
5
  export type PanelNavRouterMode = 'anchor' | 'event';
6
6
  export interface PanelNavItem {
@@ -9,7 +9,6 @@ export interface PanelNavItem {
9
9
  label: string;
10
10
  /** Show a notification dot badge on the item */
11
11
  dot?: boolean;
12
- flag?: boolean;
13
12
  /** Route path used for `currentUrl` matching. In `anchor` mode also sets `<a href>`.
14
13
  * In `event` mode navigation is delegated to the host via `dsNavSelect`. */
15
14
  href?: string;
@@ -1,6 +1,6 @@
1
1
  import type { PanelNavGroup, PanelNavItem } from './panel-nav-types';
2
- import { NAV_STYLE_HINT_ATTR, clearNavStyleHint, readNavStyleAttr, resolveNavChromeStyle, setNavStyleHint, shouldResyncNavChromeStyle } from '../../nav/nav-chrome';
3
- export type { NavChromeStyle } from '../../nav/nav-chrome';
2
+ import { NAV_STYLE_HINT_ATTR, clearNavStyleHint, readNavStyleAttr, resolveNavChromeStyle, setNavStyleHint, shouldResyncNavChromeStyle } from '../../shell/nav-chrome';
3
+ export type { NavChromeStyle } from '../../shell/nav-chrome';
4
4
  export { NAV_STYLE_HINT_ATTR, readNavStyleAttr, setNavStyleHint, clearNavStyleHint, resolveNavChromeStyle as resolvePanelNavStyle, shouldResyncNavChromeStyle as shouldResyncPanelNavStyle, };
5
5
  /** Whether `path` matches `href` at a segment boundary (exact or child path). */
6
6
  export declare function hrefMatchesPath(path: string, href: string): boolean;
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import type { PanelSubNavItem } from './panel-sub-nav-types';
3
+ export type PanelSubNavBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'translucent' | 'inverted' | 'media' | 'always-dark';
4
+ export declare class PanelSubNav {
5
+ el: HTMLElement;
6
+ /** Required selected item id when enabled items exist. Keep synchronized with the visible panel. */
7
+ value: string;
8
+ /**
9
+ * Local panel tabs. Assign this array through the JavaScript property.
10
+ * Replace the array reference when items change.
11
+ */
12
+ items: PanelSubNavItem[];
13
+ /** Actual parent surface context. Omit on primary and secondary surfaces. */
14
+ background: PanelSubNavBackground | undefined;
15
+ ariaLabel: string | null;
16
+ ariaLabelledby: string | undefined;
17
+ dsChange: EventEmitter<string>;
18
+ private get enabledItems();
19
+ private get focusableId();
20
+ private selectItem;
21
+ private focusItem;
22
+ onValueChange(next: string, previous: string | undefined): void;
23
+ private findEnabled;
24
+ handleKeyDown(event: KeyboardEvent): void;
25
+ render(): any;
26
+ }
27
+ //# sourceMappingURL=PanelSubNav.d.ts.map
@@ -0,0 +1,10 @@
1
+ export interface PanelSubNavItem {
2
+ /** Unique tab id. Also used by the controlled panel's aria-labelledby. */
3
+ id: string;
4
+ label: string;
5
+ /** ID of the tabpanel controlled by this item. */
6
+ panelId: string;
7
+ /** Prevent selection and remove the item from keyboard navigation. */
8
+ isInactive?: boolean;
9
+ }
10
+ //# sourceMappingURL=panel-sub-nav-types.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import type { ChromeTransitionDetail } from '../../nav/chrome-transition';
2
+ import type { ChromeTransitionDetail } from '../../shell/chrome-transition';
3
3
  import { type PanelToolsItem, type PanelToolsToolId } from './panel-tools-types';
4
4
  export declare class PanelTools {
5
5
  el: HTMLElement;
@@ -1,4 +1,4 @@
1
- import type { ShellGradientPreset } from '../../nav/shell-gradient-presets';
1
+ import type { ShellGradientPreset } from '../../shell/shell-gradient-presets';
2
2
  export type { ShellGradientPreset };
3
- export { DEFAULT_SHELL_GRADIENT_PRESET, SHELL_GRADIENT_PRESETS, SHELL_GRADIENT_WASH_PRESETS, SHELL_GRADIENT_PRESET_LABELS, buildShellRadialGradientForPreset, buildShellRadialGradientFromStops, isShellGradientPreset, normalizeShellGradientPreset, shellGradientPresetOpacity, shellGradientPresetRecipe, shellGradientPresetStopToken, } from '../../nav/shell-gradient-presets';
3
+ export { DEFAULT_SHELL_GRADIENT_PRESET, SHELL_GRADIENT_PRESETS, SHELL_GRADIENT_WASH_PRESETS, SHELL_GRADIENT_PRESET_LABELS, buildShellRadialGradientForPreset, buildShellRadialGradientFromStops, isShellGradientPreset, normalizeShellGradientPreset, shellGradientPresetOpacity, shellGradientPresetRecipe, shellGradientPresetStopToken, } from '../../shell/shell-gradient-presets';
4
4
  //# sourceMappingURL=shell-gradient-swatch-types.d.ts.map
@@ -2,7 +2,7 @@ import type { IconSize } from '../Icon/Icon';
2
2
  import type { TextVariant } from '../Text/text-types';
3
3
  import type { ControlSize } from '../../utils/control-text';
4
4
  export type SkeletonVariant = 'text' | 'icon' | 'control';
5
- export type SkeletonSurface = 'default' | 'on-bold-background' | 'on-strong-background' | 'on-medium-background' | 'on-translucent-background' | 'navigation' | 'media' | 'always-dark' | 'inverted';
5
+ export type SkeletonBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'translucent' | 'inverted' | 'media' | 'navigation' | 'always-dark';
6
6
  export declare class Skeleton {
7
7
  variant: SkeletonVariant;
8
8
  /** Text metric recipe whose line-height defines the text canvas. */
@@ -17,8 +17,8 @@ export declare class Skeleton {
17
17
  rounded: boolean;
18
18
  /** Whether to show the shimmer animation. */
19
19
  shimmer: boolean;
20
- /** Surface context used to select the matching foreground base and shimmer tokens. */
21
- surface: SkeletonSurface;
20
+ /** Actual parent surface context. Omit on primary and secondary surfaces. */
21
+ background: SkeletonBackground | undefined;
22
22
  private get widthCss();
23
23
  render(): any;
24
24
  }
@@ -1,2 +1,2 @@
1
- export type { SkeletonSurface, SkeletonVariant } from './Skeleton';
1
+ export type { SkeletonBackground, SkeletonVariant } from './Skeleton';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,14 +1,13 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { type TabItem } from './tab-item-utils';
3
- export type TabBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'always-dark';
2
+ import { type TabGroupItem } from './tab-item-utils';
3
+ export type TabBackground = 'faint' | 'medium' | 'bold' | 'strong' | 'translucent' | 'inverted' | 'media' | 'always-dark';
4
4
  export declare class TabGroup {
5
5
  el: HTMLElement;
6
6
  value: string;
7
- tabs: TabItem[];
7
+ tabs: TabGroupItem[];
8
8
  background: TabBackground | undefined;
9
9
  ariaLabel: string | null;
10
10
  ariaLabelledby: string | undefined;
11
- orientation: 'horizontal' | 'vertical';
12
11
  dsChange: EventEmitter<string>;
13
12
  private get selectableTabs();
14
13
  private selectTab;
@@ -12,6 +12,20 @@ export interface TabItemTab {
12
12
  dot?: boolean;
13
13
  }
14
14
  export type TabItem = TabItemTab | TabItemDivider;
15
+ export type TabGroupItemVariant = 'label' | 'icon' | 'icon-label';
16
+ export interface TabGroupItemLabel extends TabItemTab {
17
+ variant?: 'label';
18
+ icon?: never;
19
+ }
20
+ export interface TabGroupItemIcon extends TabItemTab {
21
+ variant: 'icon';
22
+ icon: string;
23
+ }
24
+ export interface TabGroupItemIconLabel extends TabItemTab {
25
+ variant: 'icon-label';
26
+ icon: string;
27
+ }
28
+ export type TabGroupItem = TabGroupItemLabel | TabGroupItemIcon | TabGroupItemIconLabel | TabItemDivider;
15
29
  export declare function isTabDivider(item: TabItem): item is TabItemDivider;
16
30
  /** Tab entries that participate in selection, keyboard nav, and URL matching. */
17
31
  export declare function getSelectableTabs(tabs: TabItem[]): TabItemTab[];
@@ -1,13 +1,27 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
1
2
  export type TagIntent = 'neutral' | 'brand' | 'ai' | 'negative' | 'warning' | 'caution' | 'positive';
2
3
  export type TagContrast = 'strong' | 'bold' | 'medium' | 'faint';
3
4
  export type TagSize = 'md' | 'sm' | 'xs';
4
5
  export declare class Tag {
5
6
  label: string;
7
+ /** Canonical icon name rendered before the visible label. */
8
+ icon: string;
6
9
  intent: TagIntent;
7
10
  contrast: TagContrast;
8
11
  size: TagSize;
9
12
  rounded: boolean;
10
13
  maxWidth: string | number | undefined;
14
+ /** Render a menu-trigger button with a fixed ChevronUpDown suffix. */
15
+ interactive: boolean;
16
+ /** Controlled open state for the menu triggered by an interactive Tag. */
17
+ expanded: boolean;
18
+ /** ID of the menu controlled by an interactive Tag. */
19
+ ariaControls: string | undefined;
20
+ /** Disable an interactive Tag and apply the shared inactive treatment. */
21
+ isInactive: boolean;
22
+ /** Fired when the interactive Tag button is activated. */
23
+ dsClick: EventEmitter<MouseEvent>;
24
+ private handleClick;
11
25
  render(): any;
12
26
  }
13
27
  //# sourceMappingURL=Tag.d.ts.map
@@ -8,7 +8,7 @@ export declare class Text {
8
8
  * `true`: display bold, title/caption semibold, body medium.
9
9
  */
10
10
  emphasis: boolean;
11
- color: TextColor | undefined;
11
+ color: TextColor;
12
12
  decoration: TextDecoration | undefined;
13
13
  italic: boolean;
14
14
  /** Animate the visible glyphs with the shared loading shimmer treatment. */
@@ -3,7 +3,7 @@ export type TextColorToken = 'primary' | 'secondary' | 'tertiary' | 'brand' | 'n
3
3
  export type TextColor = TextColorToken | `var(--${string})`;
4
4
  export type TextDecoration = 'none' | 'underline' | 'dotted-underline';
5
5
  export type TextAlign = 'left' | 'center' | 'right';
6
- export type LineTruncation = 1 | 2 | 3 | 4 | 5 | 'none';
6
+ export type LineTruncation = 1 | 2 | 3 | 4 | 5 | '1' | '2' | '3' | '4' | '5' | 'none';
7
7
  export type TextWrap = 'wrap' | 'nowrap' | 'balance' | 'pretty';
8
8
  export type TextElement = 'p' | 'span' | 'div' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
9
9
  export type TextFontFeature = 'normal' | 'tabular-nums';