@thewhatmatters/wmds 0.4.37 → 0.4.38

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 (169) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/organisms/AppShell/AppShell.d.ts +6 -3
  3. package/dist/components/organisms/AppShell/AppShell.d.ts.map +1 -1
  4. package/dist/components/organisms/AppShell/AppShell.js +180 -152
  5. package/dist/styles.css +1 -1
  6. package/docs/components.md +1 -1
  7. package/docs/exports.json +1 -1
  8. package/docs/patterns/components-accordion--flush.tsx +1 -1
  9. package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +1 -1
  10. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  11. package/docs/patterns/components-badge--outline-tags.tsx +1 -1
  12. package/docs/patterns/components-badge--status-pill.tsx +1 -1
  13. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  14. package/docs/patterns/components-band--page-in-bands.tsx +1 -1
  15. package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
  16. package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
  17. package/docs/patterns/components-breadcrumb--path.tsx +1 -1
  18. package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
  19. package/docs/patterns/components-button-button--copy-button.tsx +1 -1
  20. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  21. package/docs/patterns/components-button-button--external-link.tsx +1 -1
  22. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  23. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  24. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  25. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  26. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  27. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  28. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  29. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  30. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  31. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  32. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  33. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  34. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  35. package/docs/patterns/components-calembed--pattern-skip-above.tsx +1 -1
  36. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  37. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  38. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  39. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  40. package/docs/patterns/components-card-card--terminal-frame.tsx +1 -1
  41. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  42. package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
  43. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  44. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  45. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  46. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  47. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  48. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  49. package/docs/patterns/components-chart--revenue-by-line.tsx +1 -1
  50. package/docs/patterns/components-chart--segmented-ring-pattern.tsx +1 -1
  51. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  52. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
  53. package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
  54. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  55. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  56. package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
  57. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  58. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  59. package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
  60. package/docs/patterns/components-copyfield--clipboard-blocked.tsx +1 -1
  61. package/docs/patterns/components-copyfield--copied.tsx +1 -1
  62. package/docs/patterns/components-copyfield--copy-key.tsx +1 -1
  63. package/docs/patterns/components-copyfield--on-navy.tsx +1 -1
  64. package/docs/patterns/components-descriptionlist--details.tsx +1 -1
  65. package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
  66. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  67. package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +1 -1
  68. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  69. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  70. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  71. package/docs/patterns/components-displaycontrols--theme-switch.tsx +1 -1
  72. package/docs/patterns/components-errorsummary--contact-form.tsx +1 -1
  73. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  74. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  75. package/docs/patterns/components-field--multi-control.tsx +1 -1
  76. package/docs/patterns/components-filterpanel--panel.tsx +1 -1
  77. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
  78. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
  79. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
  80. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
  81. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  82. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
  83. package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
  84. package/docs/patterns/components-herointro--with-actions.tsx +1 -1
  85. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
  86. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
  87. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
  88. package/docs/patterns/components-indexlist--post-index.tsx +1 -1
  89. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  90. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  91. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  92. package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
  93. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  94. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  95. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  96. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  97. package/docs/patterns/components-linktile--resource-tile.tsx +1 -1
  98. package/docs/patterns/components-linktile--router-link.tsx +1 -1
  99. package/docs/patterns/components-logview--detail-pane.tsx +1 -1
  100. package/docs/patterns/components-logview--log-viewer.tsx +1 -1
  101. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  102. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  103. package/docs/patterns/components-navlist--app-sidebar.tsx +1 -1
  104. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  105. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  106. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  107. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  108. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  109. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  110. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  111. package/docs/patterns/components-prose--article-body.tsx +1 -1
  112. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  113. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  114. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  115. package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
  116. package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
  117. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  118. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  119. package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +1 -1
  120. package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +1 -1
  121. package/docs/patterns/components-sheet--side-sheet.tsx +1 -1
  122. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  123. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  124. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  125. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  126. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  127. package/docs/patterns/components-stat--hero-stat.tsx +1 -1
  128. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  129. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  130. package/docs/patterns/components-switch--default.tsx +1 -1
  131. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  132. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  133. package/docs/patterns/components-table--approvals-with-sheet.tsx +1 -1
  134. package/docs/patterns/components-table--approvals.tsx +1 -1
  135. package/docs/patterns/components-table--basic.tsx +1 -1
  136. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  137. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  138. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  139. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  140. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  141. package/docs/patterns/components-taskrows--needs-you-table.tsx +1 -1
  142. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  143. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  144. package/docs/patterns/components-textarea--save-status.tsx +1 -1
  145. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  146. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  147. package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
  148. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  149. package/docs/patterns/components-textsequence--default.tsx +1 -1
  150. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  151. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  152. package/docs/patterns/components-tilegrid--masonry.tsx +1 -1
  153. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  154. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  155. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  156. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  157. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  158. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  159. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  160. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  161. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  162. package/docs/patterns/guides-filter-panel--filtered-grid.tsx +1 -1
  163. package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
  164. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  165. package/docs/patterns/guides-post-page--post-page.tsx +1 -1
  166. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  167. package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
  168. package/docs/patterns/index.json +1 -1
  169. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ Every release of `@thewhatmatters/wmds` is listed here, newest first.
7
7
  - **Pasted patterns:** when a release changes a **Pattern — …** story's Show code, it is named under Consumer actions so apps re-copy it.
8
8
  - **How to add an entry** (contributors): add your change to the top entry. If that version is already on npm (`npm view @thewhatmatters/wmds versions`), start a new entry above it and bump `version` in `package.json` to match. `npm run check:changelog` enforces the format.
9
9
 
10
+ ## 0.4.38
11
+
12
+ **AppShell: a page picker on the phone menu button.**
13
+
14
+ - **AppShell** `menuButton="picker"` (new): below `lg` the menu button shows the icon, the current page (`title`, truncating) and a chevron, standing in for the title, so a long page name isn't cut to one word ("Hero — Feature Center ▾"). Its name is `labels.menu: title`. The `h1` stays in the page for screen readers and is visible from `lg`.
15
+ - Story **AppShell → State — phone, page picker**, with an interaction test.
16
+
17
+ ### Consumer actions
18
+
19
+ - None.
20
+
10
21
  ## 0.4.37
11
22
 
12
23
  **AppShell: a docked aside you can use while watching the page, a labelled phone menu button, and titles that end in an ellipsis.**
@@ -15,7 +15,7 @@ export interface AppShellLabels {
15
15
  }
16
16
  export declare const appShellAsideModes: readonly ["overlay", "docked"];
17
17
  export type AppShellAsideMode = (typeof appShellAsideModes)[number];
18
- export declare const appShellMenuButtons: readonly ["icon", "label"];
18
+ export declare const appShellMenuButtons: readonly ["icon", "label", "picker"];
19
19
  export type AppShellMenuButton = (typeof appShellMenuButtons)[number];
20
20
  export interface AppShellProps {
21
21
  /** Page title — the `h1` in the title bar. */
@@ -49,8 +49,11 @@ export interface AppShellProps {
49
49
  onAsideOpenChange?: (open: boolean) => void;
50
50
  labels?: Partial<AppShellLabels>;
51
51
  /**
52
- * The phone menu button (below `lg`): `icon` (default) or `label`, the icon plus `labels.menu` as visible
53
- * text ("Patterns"), when the glyph alone wouldn't say what the menu holds.
52
+ * The phone menu button (below `lg`): `icon` (default); `label`, the icon plus `labels.menu` as visible
53
+ * text ("Patterns"), when the glyph alone wouldn't say what the menu holds; or `picker`, the icon plus the
54
+ * current page (`title`) and a chevron, standing in for the title on phones, when the menu is a list of
55
+ * pages and the button should say which one you're on ("Hero — Feature Center ▾"). With `picker` the
56
+ * `h1` stays in the page for screen readers but is only visible from `lg`.
54
57
  */
55
58
  menuButton?: AppShellMenuButton;
56
59
  /** Page content. **AppShell.Brand**, **Sidebar**, **Header**, and **Aside** children fill their slots instead. */
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms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KAAK,IAAI,CAAC;IACtC,qFAAqF;IACrF,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAID,oFAAoF;AACpF,wBAAgB,WAAW,IAAI,oBAAoB,CAMlD;AAkDD,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,WAAW,EACpB,aAAa,EAAE,iBAAiB,EAChC,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,SAAS,EAChB,UAAU,EACV,gBAAgB,EAChB,WAAW,EAAE,eAAe,EAC5B,kBAAyB,EACzB,mBAAmB,EACnB,SAAS,EAAE,aAAa,EACxB,gBAAwB,EACxB,iBAAiB,EACjB,SAAqB,EACrB,UAAmB,EACnB,MAAM,EAAE,UAAU,EAClB,QAAQ,EACR,SAAS,GACV,EAAE,aAAa,+BA6Qf;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;CAMnB,CAAC"}
1
+ {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/AppShell/AppShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AA6Bf,uDAAuD;AACvD,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAC;IACjB,yFAAyF;IACzF,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,aAAa,EAAE,MAAM,CAAC;CACvB;AAUD,eAAO,MAAM,kBAAkB,gCAAiC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,mBAAmB,sCAAuC,CAAC;AACxE,MAAM,MAAM,kBA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 -4,260 +4,288 @@ import { Button as t } from "../../atoms/Button/Button.js";
4
4
  import { IconButton as n } from "../../atoms/IconButton/IconButton.js";
5
5
  import { Kbd as r } from "../../atoms/Kbd/Kbd.js";
6
6
  import { Tooltip as i } from "../../atoms/Tooltip/Tooltip.js";
7
- import { PageHeader as ee } from "../../molecules/PageHeader/PageHeader.js";
7
+ import { pageHeaderTitleClasses as ee } from "../../molecules/PageHeader/pageHeaderStyles.js";
8
+ import { PageHeader as a } from "../../molecules/PageHeader/PageHeader.js";
8
9
  import { overlayPanelBodyScrollClasses as te, overlayPanelSectionStackClasses as ne } from "../Dialog/dialogStyles.js";
9
10
  import { OverlayPanelHeader as re } from "../Dialog/OverlayPanelHeader.js";
10
11
  import { Panel as ie } from "../Panel/Panel.js";
11
12
  import { Sheet as ae } from "../Sheet/Sheet.js";
12
- import { appShellAsideDockedClasses as oe, appShellBrandClasses as se, appShellCanvasClasses as ce, appShellMainClasses as le, appShellRootClasses as ue, appShellSheetBodyClasses as de, appShellSidebarBodyClasses as a, appShellSidebarClasses as fe, appShellSidebarFooterClasses as pe, appShellSkipLinkClasses as me, appShellSurfaceClasses as he, appShellToggleDesktopClasses as ge, appShellToggleMobileClasses as o } from "./appShellStyles.js";
13
- import { Children as s, createContext as c, isValidElement as l, useCallback as u, useContext as d, useEffect as f, useId as _e, useMemo as ve, useRef as p, useState as m } from "react";
14
- import { PanelLeft as h } from "lucide-react";
15
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
13
+ import { appShellAsideDockedClasses as oe, appShellBrandClasses as se, appShellCanvasClasses as ce, appShellMainClasses as le, appShellRootClasses as ue, appShellSheetBodyClasses as de, appShellSidebarBodyClasses as o, appShellSidebarClasses as fe, appShellSidebarFooterClasses as pe, appShellSkipLinkClasses as me, appShellSurfaceClasses as he, appShellToggleDesktopClasses as ge, appShellToggleMobileClasses as s } from "./appShellStyles.js";
14
+ import { Children as c, createContext as _e, isValidElement as ve, useCallback as l, useContext as ye, useEffect as u, useId as be, useMemo as xe, useRef as d, useState as f } from "react";
15
+ import { ChevronDown as Se, PanelLeft as p } from "lucide-react";
16
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
16
17
  //#region src/components/organisms/AppShell/AppShell.tsx
17
- var ye = {
18
+ var Ce = {
18
19
  collapse: "Collapse sidebar",
19
20
  expand: "Expand sidebar",
20
21
  menu: "Menu",
21
22
  aside: "Details",
22
23
  skipToContent: "Skip to content"
23
- }, y = ["overlay", "docked"], b = ["icon", "label"];
24
+ }, _ = ["overlay", "docked"], v = [
25
+ "icon",
26
+ "label",
27
+ "picker"
28
+ ];
29
+ function y({ children: e }) {
30
+ return /* @__PURE__ */ h(m, { children: e });
31
+ }
32
+ function b({ children: e }) {
33
+ return /* @__PURE__ */ h(m, { children: e });
34
+ }
24
35
  function x({ children: e }) {
25
- return /* @__PURE__ */ _(g, { children: e });
36
+ return /* @__PURE__ */ h(m, { children: e });
26
37
  }
27
38
  function S({ children: e }) {
28
- return /* @__PURE__ */ _(g, { children: e });
39
+ return /* @__PURE__ */ h(m, { children: e });
29
40
  }
30
41
  function C({ children: e }) {
31
- return /* @__PURE__ */ _(g, { children: e });
32
- }
33
- function w({ children: e }) {
34
- return /* @__PURE__ */ _(g, { children: e });
42
+ return /* @__PURE__ */ h(m, { children: e });
35
43
  }
36
- function T({ children: e }) {
37
- return /* @__PURE__ */ _(g, { children: e });
38
- }
39
- var E = c(null);
40
- function D() {
41
- let e = d(E);
44
+ var w = _e(null);
45
+ function T() {
46
+ let e = ye(w);
42
47
  if (e == null) throw Error("useAppShell must be used inside <AppShell>.");
43
48
  return e;
44
49
  }
45
- function O(e, t, n) {
46
- let [r, i] = m(t);
47
- return [e ?? r, u((t) => {
50
+ function E(e, t, n) {
51
+ let [r, i] = f(t);
52
+ return [e ?? r, l((t) => {
48
53
  e ?? i(t), n?.(t);
49
54
  }, [e, n])];
50
55
  }
51
- var k = "(min-width: 1024px)";
52
- function be(e) {
56
+ var D = "(min-width: 1024px)";
57
+ function we(e) {
53
58
  return e instanceof HTMLElement && e.isContentEditable;
54
59
  }
55
- function xe(e) {
60
+ function Te(e) {
56
61
  let t = { content: [] };
57
- return s.forEach(e, (e) => {
58
- if (!l(e)) {
62
+ return c.forEach(e, (e) => {
63
+ if (!ve(e)) {
59
64
  e != null && e !== !1 && t.content.push(e);
60
65
  return;
61
66
  }
62
- e.type === x ? t.brand = e.props.children : e.type === S ? t.sidebar = e.props.children : e.type === C ? t.sidebarFooter = e.props.children : e.type === w ? t.header = e.props.children : e.type === T ? t.aside = e.props : t.content.push(e);
67
+ e.type === y ? t.brand = e.props.children : e.type === b ? t.sidebar = e.props.children : e.type === x ? t.sidebarFooter = e.props.children : e.type === S ? t.header = e.props.children : e.type === C ? t.aside = e.props : t.content.push(e);
63
68
  }), t;
64
69
  }
65
- function A({ title: s, brand: c, sidebar: l, sidebarFooter: d, header: g, aside: y, asideTitle: b, asideDescription: x, sidebarOpen: S, defaultSidebarOpen: C = !0, onSidebarOpenChange: w, asideOpen: T, defaultAsideOpen: D = !1, onAsideOpenChange: A, asideMode: j = "overlay", menuButton: Se = "icon", labels: Ce, children: we, className: Te }) {
66
- let M = {
67
- ...ye,
68
- ...Ce
69
- }, N = xe(we), P = c ?? N.brand, F = l ?? N.sidebar, I = d ?? N.sidebarFooter, Ee = g ?? N.header, L = y ?? N.aside?.children, R = F != null, z = L != null, [B, V] = O(S, C, w), [H, U] = O(T, D, A), [W, G] = m(!1), [De, Oe] = m(!1), K = _e(), ke = p(null), q = p(null), J = u((e) => {
70
- !e && ke.current?.contains(document.activeElement) && q.current?.focus(), V(e);
71
- }, [V]), Y = u(() => {
72
- window.matchMedia(k).matches ? J(!B) : G((e) => !e);
73
- }, [J, B]);
74
- f(() => {
75
- let e = window.matchMedia(k);
76
- Oe(e.matches);
70
+ function O({ title: c, brand: _e, sidebar: ve, sidebarFooter: ye, header: _, aside: v, asideTitle: y, asideDescription: b, sidebarOpen: x, defaultSidebarOpen: S = !0, onSidebarOpenChange: C, asideOpen: T, defaultAsideOpen: O = !1, onAsideOpenChange: k, asideMode: Ee = "overlay", menuButton: A = "icon", labels: De, children: Oe, className: ke }) {
71
+ let j = {
72
+ ...Ce,
73
+ ...De
74
+ }, M = Te(Oe), N = _e ?? M.brand, P = ve ?? M.sidebar, F = ye ?? M.sidebarFooter, I = _ ?? M.header, L = v ?? M.aside?.children, R = P != null, z = L != null, [B, Ae] = E(x, S, C), [V, H] = E(T, O, k), [U, W] = f(!1), [je, G] = f(!1), K = be(), Me = d(null), Ne = d(null), q = l((e) => {
75
+ !e && Me.current?.contains(document.activeElement) && Ne.current?.focus(), Ae(e);
76
+ }, [Ae]), J = l(() => {
77
+ window.matchMedia(D).matches ? q(!B) : W((e) => !e);
78
+ }, [q, B]);
79
+ u(() => {
80
+ let e = window.matchMedia(D);
81
+ G(e.matches);
77
82
  function t(e) {
78
- Oe(e.matches), e.matches && G(!1);
83
+ G(e.matches), e.matches && W(!1);
79
84
  }
80
85
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
81
- }, []), f(() => {
86
+ }, []), u(() => {
82
87
  if (!R) return;
83
88
  function e(e) {
84
- e.defaultPrevented || e.altKey || e.shiftKey || !(e.metaKey || e.ctrlKey) || e.key.toLowerCase() !== "b" || be(e.target) || (e.preventDefault(), Y());
89
+ e.defaultPrevented || e.altKey || e.shiftKey || !(e.metaKey || e.ctrlKey) || e.key.toLowerCase() !== "b" || we(e.target) || (e.preventDefault(), J());
85
90
  }
86
91
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
87
- }, [R, Y]);
88
- let Ae = ve(() => ({
92
+ }, [R, J]);
93
+ let Pe = xe(() => ({
89
94
  sidebarOpen: B,
90
- setSidebarOpen: J,
91
- menuOpen: W,
92
- setMenuOpen: G,
93
- asideOpen: H,
94
- setAsideOpen: U,
95
- toggleSidebar: Y
95
+ setSidebarOpen: q,
96
+ menuOpen: U,
97
+ setMenuOpen: W,
98
+ asideOpen: V,
99
+ setAsideOpen: H,
100
+ toggleSidebar: J
96
101
  }), [
97
- H,
98
- W,
102
+ V,
99
103
  U,
100
- J,
104
+ H,
105
+ q,
101
106
  B,
102
- Y
107
+ J
103
108
  ]);
104
- function je(e) {
105
- e.target.closest("nav a[href], nav button") != null && G(!1);
109
+ function Fe(e) {
110
+ e.target.closest("nav a[href], nav button") != null && W(!1);
106
111
  }
107
- let X = z && j === "docked" && De, Z = `${K}-aside`, Me = p(null), Q = p(null);
108
- f(() => {
109
- X && (H ? Q.current = document.activeElement : Q.current = null);
110
- }, [H, X]);
111
- function Ne() {
112
- let e = Q.current, t = Me.current?.contains(document.activeElement) ?? !1;
113
- U(!1), t && (e?.isConnected ? e.focus() : document.getElementById(`${K}-main`)?.focus());
112
+ let Y = z && Ee === "docked" && je, X = `${K}-aside`, Ie = d(null), Z = d(null);
113
+ u(() => {
114
+ Y && (V ? Z.current = document.activeElement : Z.current = null);
115
+ }, [V, Y]);
116
+ function Le() {
117
+ let e = Z.current, t = Ie.current?.contains(document.activeElement) ?? !1;
118
+ H(!1), t && (e?.isConnected ? e.focus() : document.getElementById(`${K}-main`)?.focus());
114
119
  }
115
- let Pe = B ? M.collapse : M.expand, $ = `${K}-main`, Fe = P == null ? null : /* @__PURE__ */ _("div", {
120
+ let Re = B ? j.collapse : j.expand, Q = `${K}-main`, ze = N == null ? null : /* @__PURE__ */ h("div", {
116
121
  className: se,
117
- children: P
118
- }), Ie = I == null ? null : /* @__PURE__ */ _("div", {
122
+ children: N
123
+ }), Be = F == null ? null : /* @__PURE__ */ h("div", {
119
124
  className: pe,
120
- children: I
121
- }), Le = R ? /* @__PURE__ */ v(i.Provider, { children: [/* @__PURE__ */ v(i, { children: [/* @__PURE__ */ _(i.Trigger, { render: /* @__PURE__ */ _(n, {
122
- ref: q,
125
+ children: F
126
+ }), $ = R ? /* @__PURE__ */ g(i.Provider, { children: [/* @__PURE__ */ g(i, { children: [/* @__PURE__ */ h(i.Trigger, { render: /* @__PURE__ */ h(n, {
127
+ ref: Ne,
123
128
  role: "ghost",
124
129
  size: "sm",
125
130
  title: "",
126
- icon: /* @__PURE__ */ _(h, { strokeWidth: 2 }),
127
- "aria-label": Pe,
131
+ icon: /* @__PURE__ */ h(p, { strokeWidth: 2 }),
132
+ "aria-label": Re,
128
133
  "aria-expanded": B,
129
134
  "aria-controls": K,
130
135
  "aria-keyshortcuts": "Control+B Meta+B",
131
136
  className: ge,
132
- onClick: () => J(!B)
133
- }) }), /* @__PURE__ */ _(i.Content, { children: /* @__PURE__ */ v("span", {
137
+ onClick: () => q(!B)
138
+ }) }), /* @__PURE__ */ h(i.Content, { children: /* @__PURE__ */ g("span", {
134
139
  className: "inline-flex items-center gap-2",
135
140
  children: [
136
- Pe,
137
- /* @__PURE__ */ _(r, {
141
+ Re,
142
+ /* @__PURE__ */ h(r, {
138
143
  size: "sm",
139
144
  children: "Ctrl"
140
145
  }),
141
- /* @__PURE__ */ _(r, {
146
+ /* @__PURE__ */ h(r, {
142
147
  size: "sm",
143
148
  children: "B"
144
149
  })
145
150
  ]
146
- }) })] }), Se === "label" ? /* @__PURE__ */ _(t, {
151
+ }) })] }), A === "picker" ? /* @__PURE__ */ h(t, {
147
152
  role: "ghost",
148
153
  size: "sm",
149
- icon: /* @__PURE__ */ _(h, { strokeWidth: 2 }),
150
- "aria-expanded": W,
154
+ icon: /* @__PURE__ */ h(p, { strokeWidth: 2 }),
155
+ endIcon: /* @__PURE__ */ h(Se, { strokeWidth: 2 }),
156
+ "aria-label": `${j.menu}: ${c}`,
157
+ "aria-expanded": U,
151
158
  "aria-haspopup": "dialog",
152
159
  "aria-keyshortcuts": "Control+B Meta+B",
153
- className: e(o, "shrink-0"),
154
- onClick: () => G(!0),
155
- children: M.menu
156
- }) : /* @__PURE__ */ _(n, {
160
+ className: e(s, "min-w-0 max-w-full"),
161
+ onClick: () => W(!0),
162
+ children: /* @__PURE__ */ h("span", {
163
+ className: "min-w-0 truncate",
164
+ children: c
165
+ })
166
+ }) : A === "label" ? /* @__PURE__ */ h(t, {
167
+ role: "ghost",
168
+ size: "sm",
169
+ icon: /* @__PURE__ */ h(p, { strokeWidth: 2 }),
170
+ "aria-expanded": U,
171
+ "aria-haspopup": "dialog",
172
+ "aria-keyshortcuts": "Control+B Meta+B",
173
+ className: e(s, "shrink-0"),
174
+ onClick: () => W(!0),
175
+ children: j.menu
176
+ }) : /* @__PURE__ */ h(n, {
157
177
  role: "ghost",
158
178
  size: "sm",
159
- icon: /* @__PURE__ */ _(h, { strokeWidth: 2 }),
160
- "aria-label": M.menu,
161
- "aria-expanded": W,
179
+ icon: /* @__PURE__ */ h(p, { strokeWidth: 2 }),
180
+ "aria-label": j.menu,
181
+ "aria-expanded": U,
162
182
  "aria-haspopup": "dialog",
163
183
  "aria-keyshortcuts": "Control+B Meta+B",
164
- className: o,
165
- onClick: () => G(!0)
184
+ className: s,
185
+ onClick: () => W(!0)
166
186
  })] }) : null;
167
- return /* @__PURE__ */ _(E.Provider, {
168
- value: Ae,
169
- children: /* @__PURE__ */ v("div", {
170
- className: e(ue, Te),
187
+ return /* @__PURE__ */ h(w.Provider, {
188
+ value: Pe,
189
+ children: /* @__PURE__ */ g("div", {
190
+ className: e(ue, ke),
171
191
  children: [
172
- /* @__PURE__ */ _("a", {
173
- href: `#${$}`,
192
+ /* @__PURE__ */ h("a", {
193
+ href: `#${Q}`,
174
194
  className: me,
175
195
  onClick: (e) => {
176
- e.preventDefault(), document.getElementById($)?.focus();
196
+ e.preventDefault(), document.getElementById(Q)?.focus();
177
197
  },
178
- children: M.skipToContent
198
+ children: j.skipToContent
179
199
  }),
180
- R ? /* @__PURE__ */ v("div", {
181
- ref: ke,
200
+ R ? /* @__PURE__ */ g("div", {
201
+ ref: Me,
182
202
  id: K,
183
203
  className: e(fe, !B && "lg:!hidden"),
184
204
  children: [
185
- Fe,
186
- /* @__PURE__ */ _("div", {
187
- className: a,
188
- children: F
205
+ ze,
206
+ /* @__PURE__ */ h("div", {
207
+ className: o,
208
+ children: P
189
209
  }),
190
- Ie
210
+ Be
191
211
  ]
192
212
  }) : null,
193
- /* @__PURE__ */ v("div", {
213
+ /* @__PURE__ */ g("div", {
194
214
  className: ce,
195
- children: [/* @__PURE__ */ v("div", {
215
+ children: [/* @__PURE__ */ g("div", {
196
216
  className: he,
197
- children: [/* @__PURE__ */ _(ee, {
217
+ children: [A === "picker" ? /* @__PURE__ */ h(a, {
218
+ variant: "app",
219
+ "aria-label": c,
220
+ start: /* @__PURE__ */ g(m, { children: [$, /* @__PURE__ */ h("h1", {
221
+ className: e(ee.app, "max-lg:sr-only"),
222
+ children: c
223
+ })] }),
224
+ end: I
225
+ }) : /* @__PURE__ */ h(a, {
198
226
  variant: "app",
199
- title: s,
200
- "aria-label": s,
201
- start: Le,
202
- end: Ee
203
- }), /* @__PURE__ */ _("main", {
204
- id: $,
227
+ title: c,
228
+ "aria-label": c,
229
+ start: $,
230
+ end: I
231
+ }), /* @__PURE__ */ h("main", {
232
+ id: Q,
205
233
  tabIndex: -1,
206
234
  className: le,
207
- children: N.content
235
+ children: M.content
208
236
  })]
209
- }), X && H ? /* @__PURE__ */ _("aside", {
210
- ref: Me,
211
- id: Z,
212
- "aria-labelledby": `${Z}-title`,
237
+ }), Y && V ? /* @__PURE__ */ h("aside", {
238
+ ref: Ie,
239
+ id: X,
240
+ "aria-labelledby": `${X}-title`,
213
241
  className: oe,
214
242
  onKeyDown: (e) => {
215
- e.key === "Escape" && !e.defaultPrevented && (e.preventDefault(), Ne());
243
+ e.key === "Escape" && !e.defaultPrevented && (e.preventDefault(), Le());
216
244
  },
217
- children: /* @__PURE__ */ v("div", {
245
+ children: /* @__PURE__ */ g("div", {
218
246
  className: ne,
219
- children: [/* @__PURE__ */ _(re, {
220
- titleId: `${Z}-title`,
221
- descriptionId: `${Z}-description`,
222
- title: b ?? N.aside?.title ?? M.aside,
223
- description: x ?? N.aside?.description,
247
+ children: [/* @__PURE__ */ h(re, {
248
+ titleId: `${X}-title`,
249
+ descriptionId: `${X}-description`,
250
+ title: y ?? M.aside?.title ?? j.aside,
251
+ description: b ?? M.aside?.description,
224
252
  closeLabel: "Close panel",
225
- onClose: Ne,
253
+ onClose: Le,
226
254
  delineated: !0
227
- }), /* @__PURE__ */ _("div", {
255
+ }), /* @__PURE__ */ h("div", {
228
256
  className: e(te, "pb-4"),
229
257
  children: L
230
258
  })]
231
259
  })
232
260
  }) : null]
233
261
  }),
234
- R ? /* @__PURE__ */ _(ae, {
235
- open: W,
236
- onOpenChange: G,
237
- children: /* @__PURE__ */ _(ae.Content, {
262
+ R ? /* @__PURE__ */ h(ae, {
263
+ open: U,
264
+ onOpenChange: W,
265
+ children: /* @__PURE__ */ h(ae.Content, {
238
266
  side: "start",
239
- title: M.menu,
240
- children: /* @__PURE__ */ v("div", {
267
+ title: j.menu,
268
+ children: /* @__PURE__ */ g("div", {
241
269
  className: de,
242
- onClick: je,
270
+ onClick: Fe,
243
271
  children: [
244
- Fe,
245
- /* @__PURE__ */ _("div", {
246
- className: a,
247
- children: F
272
+ ze,
273
+ /* @__PURE__ */ h("div", {
274
+ className: o,
275
+ children: P
248
276
  }),
249
- Ie
277
+ Be
250
278
  ]
251
279
  })
252
280
  })
253
281
  }) : null,
254
- z && !X ? /* @__PURE__ */ _(ie, {
255
- open: H,
256
- onOpenChange: U,
257
- children: /* @__PURE__ */ _(ie.Content, {
282
+ z && !Y ? /* @__PURE__ */ h(ie, {
283
+ open: V,
284
+ onOpenChange: H,
285
+ children: /* @__PURE__ */ h(ie.Content, {
258
286
  side: "end",
259
- title: b ?? N.aside?.title ?? M.aside,
260
- description: x ?? N.aside?.description,
287
+ title: y ?? M.aside?.title ?? j.aside,
288
+ description: b ?? M.aside?.description,
261
289
  children: L
262
290
  })
263
291
  }) : null
@@ -265,12 +293,12 @@ function A({ title: s, brand: c, sidebar: l, sidebarFooter: d, header: g, aside:
265
293
  })
266
294
  });
267
295
  }
268
- var j = Object.assign(A, {
269
- Brand: x,
270
- Sidebar: S,
271
- SidebarFooter: C,
272
- Header: w,
273
- Aside: T
296
+ var k = Object.assign(O, {
297
+ Brand: y,
298
+ Sidebar: b,
299
+ SidebarFooter: x,
300
+ Header: S,
301
+ Aside: C
274
302
  });
275
303
  //#endregion
276
- export { j as AppShell, y as appShellAsideModes, b as appShellMenuButtons, D as useAppShell };
304
+ export { k as AppShell, _ as appShellAsideModes, v as appShellMenuButtons, T as useAppShell };