@ds-mo/ui 11.1.0 → 12.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 (204) hide show
  1. package/README.md +1 -1
  2. package/dist/.build-stamp +1 -1
  3. package/dist/agent-patterns.json +150 -9
  4. package/dist/agent.json +481 -174
  5. package/dist/angular/ds-bar-title.d.ts +28 -0
  6. package/dist/angular/ds-bar-title.js +48 -0
  7. package/dist/angular/ds-panel-nav.d.ts +1 -1
  8. package/dist/angular/{ds-app-shell.d.ts → ds-shell-app.d.ts} +5 -5
  9. package/dist/angular/{ds-app-shell.js → ds-shell-app.js} +10 -10
  10. package/dist/angular/ds-shell-page.d.ts +12 -0
  11. package/dist/angular/ds-shell-page.js +38 -0
  12. package/dist/angular/index.d.ts +1 -1
  13. package/dist/angular/index.js +3 -1
  14. package/dist/angular/proxies.d.ts +3 -1
  15. package/dist/angular/proxies.js +3 -1
  16. package/dist/components/ds-agent-activity.js +1 -1
  17. package/dist/components/ds-agent-response.js +1 -1
  18. package/dist/components/ds-agent-response.js.map +1 -1
  19. package/dist/components/ds-agent-source-list.js +1 -1
  20. package/dist/components/ds-agent-tool-call.js +1 -1
  21. package/dist/components/ds-attachment-list.js +1 -1
  22. package/dist/components/ds-avatar.js +1 -1
  23. package/dist/components/ds-avatar.js.map +1 -1
  24. package/dist/components/ds-badge.js +1 -1
  25. package/dist/components/ds-bar-nav.js +1 -1
  26. package/dist/components/ds-bar-nav.js.map +1 -1
  27. package/dist/components/{ds-app-shell.d.ts → ds-bar-title.d.ts} +4 -4
  28. package/dist/components/ds-bar-title.js +2 -0
  29. package/dist/components/ds-bar-title.js.map +1 -0
  30. package/dist/components/ds-button-filled.js +1 -1
  31. package/dist/components/ds-button-unfilled.js +1 -1
  32. package/dist/components/ds-card-data-viz-donut.js +1 -1
  33. package/dist/components/ds-card-setting.js +1 -1
  34. package/dist/components/ds-card-shell-data-viz.js +1 -1
  35. package/dist/components/ds-chart-bar.js +1 -1
  36. package/dist/components/ds-chart-donut.js +1 -1
  37. package/dist/components/ds-chart-legend.js +1 -1
  38. package/dist/components/ds-chart-line.js +1 -1
  39. package/dist/components/ds-checkbox.js +1 -1
  40. package/dist/components/ds-chip.js +1 -1
  41. package/dist/components/ds-code-block.js +1 -1
  42. package/dist/components/ds-conversation-list-item.js +1 -1
  43. package/dist/components/ds-conversation-list-item.js.map +1 -1
  44. package/dist/components/ds-conversation-list-section.js +1 -1
  45. package/dist/components/ds-conversation-list.js +1 -1
  46. package/dist/components/ds-empty-state.js +1 -1
  47. package/dist/components/ds-field.js +1 -1
  48. package/dist/components/ds-input.js +1 -1
  49. package/dist/components/ds-markdown.js +1 -1
  50. package/dist/components/ds-menu.js +1 -1
  51. package/dist/components/ds-message-composer.js +1 -1
  52. package/dist/components/ds-message-composer.js.map +1 -1
  53. package/dist/components/ds-message-scroller.js +1 -1
  54. package/dist/components/ds-message-scroller.js.map +1 -1
  55. package/dist/components/ds-message.js +1 -1
  56. package/dist/components/ds-modal.js +1 -1
  57. package/dist/components/ds-modal.js.map +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-panel-sub-nav.js +1 -1
  61. package/dist/components/ds-panel-sub-nav.js.map +1 -1
  62. package/dist/components/ds-panel-tool-header.js +1 -1
  63. package/dist/components/ds-panel-tool-search.js +1 -1
  64. package/dist/components/ds-panel-tool-search.js.map +1 -1
  65. package/dist/components/ds-panel-tools.js +1 -1
  66. package/dist/components/ds-panel-tools.js.map +1 -1
  67. package/dist/components/ds-radio.js +1 -1
  68. package/dist/components/ds-select-multi.js +1 -1
  69. package/dist/components/ds-select-multi.js.map +1 -1
  70. package/dist/components/ds-select.js +1 -1
  71. package/dist/components/ds-select.js.map +1 -1
  72. package/dist/components/ds-shell-app.d.ts +11 -0
  73. package/dist/components/ds-shell-app.js +2 -0
  74. package/dist/components/ds-shell-app.js.map +1 -0
  75. package/dist/components/ds-shell-gradient-picker.js +1 -1
  76. package/dist/components/ds-shell-gradient-picker.js.map +1 -1
  77. package/dist/components/ds-shell-gradient-swatch.js +1 -1
  78. package/dist/components/ds-shell-page.d.ts +11 -0
  79. package/dist/components/ds-shell-page.js +2 -0
  80. package/dist/components/ds-shell-page.js.map +1 -0
  81. package/dist/components/ds-skeleton.js +1 -1
  82. package/dist/components/ds-slider.js +1 -1
  83. package/dist/components/ds-slider.js.map +1 -1
  84. package/dist/components/ds-swatch-picker.js +1 -1
  85. package/dist/components/ds-switch.js +1 -1
  86. package/dist/components/ds-tab-group.js +1 -1
  87. package/dist/components/ds-tag.js +1 -1
  88. package/dist/components/ds-text.js +1 -1
  89. package/dist/components/ds-toast.js +1 -1
  90. package/dist/components/ds-tooltip-data-viz.js +1 -1
  91. package/dist/components/ds-tooltip.js +1 -1
  92. package/dist/components/ds-typing-indicator.js +1 -1
  93. package/dist/components/{p-DJ78wdNv.js → p-6vj4kh70.js} +2 -2
  94. package/dist/components/{p-bNpFhP5L.js → p-B3YvoGjS.js} +2 -2
  95. package/dist/components/{p-BEWtqFX7.js → p-BH3es4p7.js} +2 -2
  96. package/dist/components/{p-BaZRP4Oo.js → p-BUmDHPr3.js} +2 -2
  97. package/dist/components/p-BYHKdFzV.js +2 -0
  98. package/dist/components/p-BYHKdFzV.js.map +1 -0
  99. package/dist/components/p-BZZwQfmN.js +2 -0
  100. package/dist/components/{p-B_qVPsEU.js.map → p-BZZwQfmN.js.map} +1 -1
  101. package/dist/components/{p-Dh4q5TSS.js → p-BhKhX1er.js} +2 -2
  102. package/dist/components/{p-CZZYGqKz.js → p-Bs6SS34m.js} +2 -2
  103. package/dist/components/p-CUik7PCi.js +2 -0
  104. package/dist/components/p-CUik7PCi.js.map +1 -0
  105. package/dist/components/{p-CyoHRqy6.js → p-Cf-i-6aE.js} +2 -2
  106. package/dist/components/p-Cf2J9MEo.js +2 -0
  107. package/dist/components/{p-Bet_UjML.js.map → p-Cf2J9MEo.js.map} +1 -1
  108. package/dist/components/{p-P_4vE1ub.js → p-CwTVEAl2.js} +2 -2
  109. package/dist/components/p-Cy04lXlc.js +2 -0
  110. package/dist/components/p-Cy04lXlc.js.map +1 -0
  111. package/dist/components/{p-BKhG2xrW.js → p-D2x17ei-.js} +1 -1
  112. package/dist/components/{p-BKhG2xrW.js.map → p-D2x17ei-.js.map} +1 -1
  113. package/dist/components/{p-CjP8sYlo.js → p-DABj3qTX.js} +2 -2
  114. package/dist/components/{p-DTqCBjUj.js → p-DUHcJWTQ.js} +2 -2
  115. package/dist/components/{p-CPPAndX2.js → p-DVk0wxxX.js} +2 -2
  116. package/dist/components/p-DfIch2Dk.js +2 -0
  117. package/dist/components/{p-BCCt2eT_.js.map → p-DfIch2Dk.js.map} +1 -1
  118. package/dist/components/{p-CrwU83-g.js → p-Dg3xLna0.js} +2 -2
  119. package/dist/components/{p-DrDHC7V6.js → p-DxeHimqk.js} +2 -2
  120. package/dist/components/{p-DrDHC7V6.js.map → p-DxeHimqk.js.map} +1 -1
  121. package/dist/components/{p-CLn7QnE0.js → p-Dy_sZ-dI.js} +2 -2
  122. package/dist/components/{p-0kEg-Z4f.js → p-liMPkhUP.js} +2 -2
  123. package/dist/components/p-xFbUt9Tc.js +2 -0
  124. package/dist/components/p-xFbUt9Tc.js.map +1 -0
  125. package/dist/docs/components.json +1082 -336
  126. package/dist/lib/shell/chrome-transition.d.ts +1 -1
  127. package/dist/lib/shell/index.js +1 -1
  128. package/dist/lib/shell/index.js.map +1 -1
  129. package/dist/lib/shell/shell-gradient.d.ts +2 -2
  130. package/dist/mcp-data/registry/avatar.json +1 -1
  131. package/dist/mcp-data/registry/badge.json +4 -4
  132. package/dist/mcp-data/registry/bar-nav.json +8 -8
  133. package/dist/mcp-data/registry/bar-title.json +431 -0
  134. package/dist/mcp-data/registry/code-block.json +4 -3
  135. package/dist/mcp-data/registry/menu.json +1 -1
  136. package/dist/mcp-data/registry/message-composer.json +7 -5
  137. package/dist/mcp-data/registry/message-scroller.json +4 -3
  138. package/dist/mcp-data/registry/modal.json +5 -4
  139. package/dist/mcp-data/registry/panel-nav.json +8 -8
  140. package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
  141. package/dist/mcp-data/registry/panel-tool-header.json +4 -3
  142. package/dist/mcp-data/registry/panel-tool-search.json +6 -5
  143. package/dist/mcp-data/registry/panel-tools.json +13 -13
  144. package/dist/mcp-data/registry/registry.json +489 -176
  145. package/dist/mcp-data/registry/select-multi.json +2 -1
  146. package/dist/mcp-data/registry/select.json +2 -1
  147. package/dist/mcp-data/registry/shell-app.json +213 -0
  148. package/dist/mcp-data/registry/shell-gradient-picker.json +8 -8
  149. package/dist/mcp-data/registry/shell-gradient-swatch.json +2 -2
  150. package/dist/mcp-data/registry/shell-page.json +199 -0
  151. package/dist/mcp-data/registry/swatch-picker.json +1 -1
  152. package/dist/react/components.d.ts +3 -1
  153. package/dist/react/components.js +3 -1
  154. package/dist/react/ds-bar-title.d.ts +14 -0
  155. package/dist/react/ds-bar-title.js +16 -0
  156. package/dist/react/{ds-app-shell.d.ts → ds-shell-app.d.ts} +3 -3
  157. package/dist/react/ds-shell-app.js +12 -0
  158. package/dist/react/ds-shell-page.d.ts +9 -0
  159. package/dist/react/ds-shell-page.js +12 -0
  160. package/dist/types/components/Badge/Badge.d.ts +1 -1
  161. package/dist/types/components/BarTitle/BarTitle.d.ts +71 -0
  162. package/dist/types/components/BarTitle/bar-title-types.d.ts +29 -0
  163. package/dist/types/components/BarTitle/index.d.ts +2 -0
  164. package/dist/types/components/Menu/Menu.d.ts +5 -0
  165. package/dist/types/components/PanelNav/PanelNav.d.ts +1 -1
  166. package/dist/types/components/{AppShell/AppShell.d.ts → ShellApp/ShellApp.d.ts} +3 -3
  167. package/dist/types/components/ShellPage/ShellPage.d.ts +37 -0
  168. package/dist/types/components/ShellPage/index.d.ts +3 -0
  169. package/dist/types/components/ShellPage/shell-page-responsive.d.ts +12 -0
  170. package/dist/types/components/ShellPage/shell-page-types.d.ts +5 -0
  171. package/dist/types/components.d.ts +267 -55
  172. package/dist/types/shell/chrome-transition.d.ts +1 -1
  173. package/dist/types/shell/shell-gradient.d.ts +2 -2
  174. package/dist/types/shell/shell-shortcuts.d.ts +1 -1
  175. package/package.json +1 -1
  176. package/dist/components/ds-app-shell.js +0 -2
  177. package/dist/components/ds-app-shell.js.map +0 -1
  178. package/dist/components/p-BCCt2eT_.js +0 -2
  179. package/dist/components/p-B_qVPsEU.js +0 -2
  180. package/dist/components/p-Bet_UjML.js +0 -2
  181. package/dist/components/p-BsnezUUC.js +0 -2
  182. package/dist/components/p-BsnezUUC.js.map +0 -1
  183. package/dist/components/p-C1K5QGUZ.js +0 -2
  184. package/dist/components/p-C1K5QGUZ.js.map +0 -1
  185. package/dist/components/p-CKaJx0IX.js +0 -2
  186. package/dist/components/p-CKaJx0IX.js.map +0 -1
  187. package/dist/components/p-ZTugT4as.js +0 -2
  188. package/dist/components/p-ZTugT4as.js.map +0 -1
  189. package/dist/mcp-data/registry/app-shell.json +0 -210
  190. package/dist/react/ds-app-shell.js +0 -12
  191. /package/dist/components/{p-DJ78wdNv.js.map → p-6vj4kh70.js.map} +0 -0
  192. /package/dist/components/{p-bNpFhP5L.js.map → p-B3YvoGjS.js.map} +0 -0
  193. /package/dist/components/{p-BEWtqFX7.js.map → p-BH3es4p7.js.map} +0 -0
  194. /package/dist/components/{p-BaZRP4Oo.js.map → p-BUmDHPr3.js.map} +0 -0
  195. /package/dist/components/{p-Dh4q5TSS.js.map → p-BhKhX1er.js.map} +0 -0
  196. /package/dist/components/{p-CZZYGqKz.js.map → p-Bs6SS34m.js.map} +0 -0
  197. /package/dist/components/{p-CyoHRqy6.js.map → p-Cf-i-6aE.js.map} +0 -0
  198. /package/dist/components/{p-P_4vE1ub.js.map → p-CwTVEAl2.js.map} +0 -0
  199. /package/dist/components/{p-CjP8sYlo.js.map → p-DABj3qTX.js.map} +0 -0
  200. /package/dist/components/{p-DTqCBjUj.js.map → p-DUHcJWTQ.js.map} +0 -0
  201. /package/dist/components/{p-CPPAndX2.js.map → p-DVk0wxxX.js.map} +0 -0
  202. /package/dist/components/{p-CrwU83-g.js.map → p-Dg3xLna0.js.map} +0 -0
  203. /package/dist/components/{p-CLn7QnE0.js.map → p-Dy_sZ-dI.js.map} +0 -0
  204. /package/dist/components/{p-0kEg-Z4f.js.map → p-liMPkhUP.js.map} +0 -0
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was automatically generated by the Stencil React Output Target.
3
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
+ */
5
+ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
6
+ import { type DsBarTitleCustomEvent } from "@ds-mo/ui";
7
+ import type { Components } from "@ds-mo/ui/dist/components";
8
+ import { DsBarTitle as DsBarTitleElement } from "@ds-mo/ui/dist/components/ds-bar-title.js";
9
+ export type DsBarTitleEvents = {
10
+ onDsBack: EventName<DsBarTitleCustomEvent<MouseEvent>>;
11
+ onDsSectionChange: EventName<DsBarTitleCustomEvent<string>>;
12
+ onDsAction: EventName<DsBarTitleCustomEvent<string>>;
13
+ };
14
+ export declare const DsBarTitle: StencilReactComponent<DsBarTitleElement, DsBarTitleEvents, Components.DsBarTitle, 'heading'>;
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import React from 'react';
4
+ import { DsBarTitle as DsBarTitleElement, defineCustomElement as defineDsBarTitle } from "@ds-mo/ui/dist/components/ds-bar-title.js";
5
+ export const DsBarTitle = /*@__PURE__*/ createComponent({
6
+ tagName: 'ds-bar-title',
7
+ elementClass: DsBarTitleElement,
8
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
9
+ react: React,
10
+ events: {
11
+ onDsBack: 'dsBack',
12
+ onDsSectionChange: 'dsSectionChange',
13
+ onDsAction: 'dsAction'
14
+ },
15
+ defineCustomElement: defineDsBarTitle
16
+ });
@@ -4,6 +4,6 @@
4
4
  */
5
5
  import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
6
6
  import type { Components } from "@ds-mo/ui/dist/components";
7
- import { DsAppShell as DsAppShellElement } from "@ds-mo/ui/dist/components/ds-app-shell.js";
8
- export type DsAppShellEvents = NonNullable<unknown>;
9
- export declare const DsAppShell: StencilReactComponent<DsAppShellElement, DsAppShellEvents, Components.DsAppShell>;
7
+ import { DsShellApp as DsShellAppElement } from "@ds-mo/ui/dist/components/ds-shell-app.js";
8
+ export type DsShellAppEvents = NonNullable<unknown>;
9
+ export declare const DsShellApp: StencilReactComponent<DsShellAppElement, DsShellAppEvents, Components.DsShellApp>;
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import React from 'react';
4
+ import { DsShellApp as DsShellAppElement, defineCustomElement as defineDsShellApp } from "@ds-mo/ui/dist/components/ds-shell-app.js";
5
+ export const DsShellApp = /*@__PURE__*/ createComponent({
6
+ tagName: 'ds-shell-app',
7
+ elementClass: DsShellAppElement,
8
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
9
+ react: React,
10
+ events: {},
11
+ defineCustomElement: defineDsShellApp
12
+ });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was automatically generated by the Stencil React Output Target.
3
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
+ */
5
+ import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
6
+ import type { Components } from "@ds-mo/ui/dist/components";
7
+ import { DsShellPage as DsShellPageElement } from "@ds-mo/ui/dist/components/ds-shell-page.js";
8
+ export type DsShellPageEvents = NonNullable<unknown>;
9
+ export declare const DsShellPage: StencilReactComponent<DsShellPageElement, DsShellPageEvents, Components.DsShellPage>;
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import React from 'react';
4
+ import { DsShellPage as DsShellPageElement, defineCustomElement as defineDsShellPage } from "@ds-mo/ui/dist/components/ds-shell-page.js";
5
+ export const DsShellPage = /*@__PURE__*/ createComponent({
6
+ tagName: 'ds-shell-page',
7
+ elementClass: DsShellPageElement,
8
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
9
+ react: React,
10
+ events: {},
11
+ defineCustomElement: defineDsShellPage
12
+ });
@@ -16,7 +16,7 @@ export declare class Badge {
16
16
  hasRing: boolean;
17
17
  /**
18
18
  * Ring samples the shell gradient stack (base fill + wash) instead of a flat
19
- * `box-shadow`. Auto-enabled under an AppShell with an active gradient preset;
19
+ * `box-shadow`. Auto-enabled under an ShellApp with an active gradient preset;
20
20
  * set `gradient-background` to opt in/out explicitly.
21
21
  *
22
22
  * The attribute must NOT start with `on` — Stencil's setAccessor routes any
@@ -0,0 +1,71 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { type BarTitleActionItem, type BarTitlePrimaryAction, type BarTitleSectionItem, type BarTitleVariant } from './bar-title-types';
3
+ export declare class BarTitle {
4
+ /** The page's single visible h1. */
5
+ heading: string;
6
+ /** Optional supporting copy shown in the expanded presentation. */
7
+ description: string;
8
+ /** Show the leading page-level Back action. */
9
+ showBack: boolean;
10
+ /** Accessible name for the leading Back action. */
11
+ backAriaLabel: string;
12
+ /** Visible parent-page label used by the expanded Back breadcrumb. */
13
+ backLabel: string;
14
+ /** Optional page sections exposed through the active-section menu. */
15
+ sections: BarTitleSectionItem[];
16
+ /** Id of the active page section. */
17
+ value: string;
18
+ /** Accessible name for the page-section menu. */
19
+ sectionsAriaLabel: string;
20
+ /** The one highest-emphasis page action. */
21
+ primaryAction: BarTitlePrimaryAction | null;
22
+ /** Secondary page actions shown in the overflow menu. Dividers create groups. */
23
+ actions: BarTitleActionItem[];
24
+ /** Accessible name for the page-actions menu. */
25
+ actionsAriaLabel: string;
26
+ /** Explicit visual/capacity variant. ShellPage owns automatic selection. */
27
+ variant: BarTitleVariant;
28
+ /** Emitted when the leading Back action is activated. */
29
+ dsBack: EventEmitter<MouseEvent>;
30
+ /** Emitted with the newly selected page-section id. */
31
+ dsSectionChange: EventEmitter<string>;
32
+ /** Emitted with the activated primary or overflow action id. */
33
+ dsAction: EventEmitter<string>;
34
+ private sectionMenuOpen;
35
+ private actionMenuOpen;
36
+ private sectionMenuInitialFocusVisible;
37
+ private actionMenuInitialFocusVisible;
38
+ private readonly instanceId;
39
+ private readonly sectionMenuTriggerId;
40
+ private readonly sectionMenuId;
41
+ private readonly actionMenuTriggerId;
42
+ private readonly actionMenuId;
43
+ private sectionTriggerEl;
44
+ private actionTriggerEl;
45
+ handleSectionsChange(): void;
46
+ handleActionsChange(): void;
47
+ private get compact();
48
+ private get primaryCollapsed();
49
+ private get selectableSections();
50
+ private get hasSectionSelector();
51
+ private get effectiveValue();
52
+ private get selectedSectionLabel();
53
+ private get sectionTriggerAriaLabel();
54
+ private groupsFromItems;
55
+ private get sectionMenuSections();
56
+ private get selectableActions();
57
+ private get showActionMenuTrigger();
58
+ private actionMenuItem;
59
+ private get actionMenuSections();
60
+ private toggleSectionMenu;
61
+ private closeSectionMenu;
62
+ private handleSectionSelect;
63
+ private toggleActionMenu;
64
+ private closeActionMenu;
65
+ private handleActionSelect;
66
+ private renderSectionSelector;
67
+ private renderActions;
68
+ private renderBack;
69
+ render(): any;
70
+ }
71
+ //# sourceMappingURL=BarTitle.d.ts.map
@@ -0,0 +1,29 @@
1
+ import type { ButtonFilledContrast, ButtonFilledIntent } from '../ButtonFilled/ButtonFilled';
2
+ export interface BarTitleSection {
3
+ id: string;
4
+ label: string;
5
+ isInactive?: boolean;
6
+ }
7
+ export interface BarTitleDivider {
8
+ type: 'divider';
9
+ }
10
+ export type BarTitleSectionItem = BarTitleSection | BarTitleDivider;
11
+ export interface BarTitleAction {
12
+ id: string;
13
+ label: string;
14
+ isInactive?: boolean;
15
+ isDestructive?: boolean;
16
+ }
17
+ export interface BarTitlePrimaryAction extends BarTitleAction {
18
+ icon?: string;
19
+ intent?: ButtonFilledIntent;
20
+ contrast?: ButtonFilledContrast;
21
+ isLoading?: boolean;
22
+ type?: 'button' | 'submit' | 'reset';
23
+ collapse?: BarTitlePrimaryActionCollapse;
24
+ }
25
+ export type BarTitleActionItem = BarTitleAction | BarTitleDivider;
26
+ export type BarTitleVariant = 'expanded' | 'compact' | 'constrained';
27
+ export type BarTitlePrimaryActionCollapse = 'auto' | 'never';
28
+ export declare function isBarTitleDivider(item: BarTitleSectionItem | BarTitleActionItem): item is BarTitleDivider;
29
+ //# sourceMappingURL=bar-title-types.d.ts.map
@@ -0,0 +1,2 @@
1
+ export type { BarTitleAction, BarTitleActionItem, BarTitleDivider, BarTitlePrimaryActionCollapse, BarTitlePrimaryAction, BarTitleSection, BarTitleSectionItem, BarTitleVariant, } from './bar-title-types';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -48,11 +48,13 @@ export declare class Menu {
48
48
  private closeTimer;
49
49
  private itemEls;
50
50
  private positionRetryRaf;
51
+ private livePositionRaf;
51
52
  private listenersReady;
52
53
  /** Last content actually painted while open; retained unchanged through exit motion. */
53
54
  private lastRenderedSections;
54
55
  private closingSections;
55
56
  componentDidLoad(): void;
57
+ componentDidRender(): void;
56
58
  disconnectedCallback(): void;
57
59
  onOpenChange(isOpen: boolean): void;
58
60
  onAnchorChange(): void;
@@ -75,6 +77,9 @@ export declare class Menu {
75
77
  /** Rich preference content is a non-modal dialog, not an ARIA action menu. */
76
78
  private get hasCompositeSections();
77
79
  private cancelPositionRetry;
80
+ private cancelLivePositionUpdate;
81
+ /** Reposition after the current scroll/layout frame without hiding the open popup. */
82
+ private scheduleLivePositionUpdate;
78
83
  /** Retry until anchor + popup exist — do not reveal at 0,0 on a failed first pass. */
79
84
  private schedulePositionUpdate;
80
85
  /** @returns `true` when anchor and popup were found and `pos` was updated. */
@@ -47,7 +47,7 @@ export declare class PanelNav {
47
47
  dsNavSelect: EventEmitter<string>;
48
48
  /** Emitted when the collapse toggle is clicked. Detail = new collapsed state. */
49
49
  dsNavToggle: EventEmitter<boolean>;
50
- /** Bubbling lifecycle — `ds-app-shell` pauses chrome metrics during width motion. */
50
+ /** Bubbling lifecycle — `ds-shell-app` pauses chrome metrics during width motion. */
51
51
  dsChromeTransitionStart: EventEmitter<ChromeTransitionDetail>;
52
52
  dsChromeTransitionEnd: EventEmitter<ChromeTransitionDetail>;
53
53
  /** Emitted when the footer left button (gear / dashboard) is clicked. */
@@ -1,6 +1,6 @@
1
1
  import type { NavChromeStyle } from '../../shell/nav-chrome';
2
2
  import { type ShellGradientPreset } from '../../shell/shell-gradient-presets';
3
- export declare class AppShell {
3
+ export declare class ShellApp {
4
4
  /** Chrome style propagated to slotted `ds-panel-nav` and `ds-bar-nav`. */
5
5
  navStyle: NavChromeStyle;
6
6
  /**
@@ -8,7 +8,7 @@ export declare class AppShell {
8
8
  * presets use token-based washes that adapt to the active color theme.
9
9
  */
10
10
  gradientPreset: ShellGradientPreset;
11
- /** When `true` (default), registers global shell keyboard shortcuts. `[` toggles panel nav; `]` closes tools; K/A/S/M/N/? toggle tool drawers. Modifiers are ignored so browser chords like ⌘N stay native. */
11
+ /** When `true` (default), registers global shell keyboard shortcuts. `[` toggles panel nav; `]` closes tools; K, A, S, M, N, and / toggle tool drawers. Modifiers are ignored so browser chords like ⌘N stay native. */
12
12
  shortcutsEnabled: boolean;
13
13
  el: HTMLElement;
14
14
  private toolsFullscreen;
@@ -47,4 +47,4 @@ export declare class AppShell {
47
47
  private syncChrome;
48
48
  render(): any;
49
49
  }
50
- //# sourceMappingURL=AppShell.d.ts.map
50
+ //# sourceMappingURL=ShellApp.d.ts.map
@@ -0,0 +1,37 @@
1
+ import type { ShellPageContentInset, ShellPageHeaderPresentation } from './shell-page-types';
2
+ export declare class ShellPage {
3
+ el: HTMLElement;
4
+ /** Automatic container/scroll behavior, or an explicit header variant override. */
5
+ headerPresentation: ShellPageHeaderPresentation;
6
+ /** Standard page gutters, or no inset for full-bleed page content. */
7
+ contentInset: ShellPageContentInset;
8
+ private capacity;
9
+ private pageTopVisible;
10
+ private sentinelEl;
11
+ private spacerEl;
12
+ private headerEl;
13
+ private expandedHeaderHeight;
14
+ private resizeObserver;
15
+ private headerResizeObserver;
16
+ private scrollRoot;
17
+ private readonly layoutCoalescer;
18
+ componentDidLoad(): void;
19
+ componentDidRender(): void;
20
+ disconnectedCallback(): void;
21
+ private get effectiveVariant();
22
+ private get isScrollCompacted();
23
+ private connectObservers;
24
+ private composedParent;
25
+ private findScrollRoot;
26
+ private connectScrollRoot;
27
+ private handleScroll;
28
+ private findHeader;
29
+ private syncCapacity;
30
+ private get compactHeaderHeight();
31
+ private setSpacerHeight;
32
+ private syncHeaderVariant;
33
+ private observeHeader;
34
+ private handleHeaderSlotChange;
35
+ render(): any;
36
+ }
37
+ //# sourceMappingURL=ShellPage.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { ShellPage } from './ShellPage';
2
+ export type { ShellPageCapacity, ShellPageContentInset, ShellPageHeaderPresentation, } from './shell-page-types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import type { ShellPageCapacity, ShellPageHeaderPresentation } from './shell-page-types';
2
+ import type { BarTitleVariant } from '../BarTitle/bar-title-types';
3
+ export interface ShellPageCapacityOptions {
4
+ inlineSize: number;
5
+ compactAt: number;
6
+ constrainedAt: number;
7
+ hysteresis: number;
8
+ previous: ShellPageCapacity | null;
9
+ }
10
+ export declare function resolveShellPageCapacity({ inlineSize, compactAt, constrainedAt, hysteresis, previous, }: ShellPageCapacityOptions): ShellPageCapacity;
11
+ export declare function resolveShellPageHeaderVariant(presentation: ShellPageHeaderPresentation, capacity: ShellPageCapacity, pageTopVisible: boolean): BarTitleVariant;
12
+ //# sourceMappingURL=shell-page-responsive.d.ts.map
@@ -0,0 +1,5 @@
1
+ import type { BarTitleVariant } from '../BarTitle/bar-title-types';
2
+ export type ShellPageHeaderPresentation = 'auto' | BarTitleVariant;
3
+ export type ShellPageContentInset = 'default' | 'none';
4
+ export type ShellPageCapacity = 'roomy' | 'compact' | 'constrained';
5
+ //# sourceMappingURL=shell-page-types.d.ts.map