@thewhatmatters/wmds 0.4.28 → 0.4.30

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 (239) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/CONSUMING.md +2 -1
  3. package/dist/components/atoms/Badge/Badge.js +1 -1
  4. package/dist/components/atoms/Badge/badgeStyles.d.ts +1 -1
  5. package/dist/components/atoms/Badge/badgeStyles.js +1 -1
  6. package/dist/components/atoms/Band/Band.d.ts +1 -1
  7. package/dist/components/atoms/Band/Band.d.ts.map +1 -1
  8. package/dist/components/atoms/Band/bandStyles.d.ts +4 -1
  9. package/dist/components/atoms/Band/bandStyles.d.ts.map +1 -1
  10. package/dist/components/atoms/Band/bandStyles.js +1 -1
  11. package/dist/components/atoms/Button/Button.d.ts +22 -4
  12. package/dist/components/atoms/Button/Button.d.ts.map +1 -1
  13. package/dist/components/atoms/Button/Button.js +132 -124
  14. package/dist/components/atoms/Button/buttonStyles.d.ts +3 -1
  15. package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -1
  16. package/dist/components/atoms/Button/buttonStyles.js +5 -4
  17. package/dist/components/atoms/IconButton/IconButton.d.ts +5 -0
  18. package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -1
  19. package/dist/components/atoms/IconButton/IconButton.js +4 -3
  20. package/dist/components/atoms/SectionCaption/SectionCaption.d.ts +5 -1
  21. package/dist/components/atoms/SectionCaption/SectionCaption.d.ts.map +1 -1
  22. package/dist/components/atoms/SectionCaption/SectionCaption.js +1 -1
  23. package/dist/components/atoms/TextLink/TextLink.d.ts +10 -2
  24. package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -1
  25. package/dist/components/atoms/TextLink/TextLink.js +18 -14
  26. package/dist/components/molecules/Accordion/Accordion.d.ts +9 -4
  27. package/dist/components/molecules/Accordion/Accordion.d.ts.map +1 -1
  28. package/dist/components/molecules/Accordion/Accordion.js +58 -51
  29. package/dist/components/molecules/Accordion/accordionStyles.d.ts +5 -0
  30. package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -1
  31. package/dist/components/molecules/Accordion/accordionStyles.js +5 -2
  32. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.d.ts +4 -1
  33. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.d.ts.map +1 -1
  34. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.js +1 -1
  35. package/dist/components/molecules/HeroIntro/HeroIntro.d.ts +16 -8
  36. package/dist/components/molecules/HeroIntro/HeroIntro.d.ts.map +1 -1
  37. package/dist/components/molecules/HeroIntro/HeroIntro.js +21 -17
  38. package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts +12 -3
  39. package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts.map +1 -1
  40. package/dist/components/molecules/HeroIntro/heroIntroStyles.js +2 -2
  41. package/dist/components/molecules/LinkTile/LinkTile.d.ts +6 -4
  42. package/dist/components/molecules/LinkTile/LinkTile.d.ts.map +1 -1
  43. package/dist/components/molecules/LinkTile/LinkTile.js +29 -29
  44. package/dist/components/molecules/PageHeader/PageHeader.d.ts +8 -1
  45. package/dist/components/molecules/PageHeader/PageHeader.d.ts.map +1 -1
  46. package/dist/components/molecules/PageHeader/PageHeader.js +19 -15
  47. package/dist/components/organisms/FooterReveal/FooterReveal.d.ts +4 -2
  48. package/dist/components/organisms/FooterReveal/FooterReveal.d.ts.map +1 -1
  49. package/dist/components/organisms/FooterReveal/FooterReveal.js +85 -85
  50. package/dist/components/organisms/FooterReveal/FooterRevealRuled.d.ts.map +1 -1
  51. package/dist/components/organisms/FooterReveal/FooterRevealRuled.js +49 -50
  52. package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts +9 -7
  53. package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts.map +1 -1
  54. package/dist/components/organisms/FooterReveal/footerRevealStyles.js +2 -9
  55. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts +2 -1
  56. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts.map +1 -1
  57. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.js +1 -1
  58. package/dist/components/organisms/Sheet/Sheet.d.ts +3 -1
  59. package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -1
  60. package/dist/components/organisms/Sheet/Sheet.js +51 -49
  61. package/dist/components/organisms/SiteNav/SiteNav.d.ts +4 -2
  62. package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -1
  63. package/dist/components/organisms/SiteNav/SiteNav.js +191 -187
  64. package/dist/components/organisms/SiteNav/siteNavStyles.d.ts +2 -2
  65. package/dist/components/organisms/SiteNav/siteNavStyles.d.ts.map +1 -1
  66. package/dist/components/organisms/SiteNav/siteNavStyles.js +3 -3
  67. package/dist/index.d.ts +2 -2
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +107 -107
  70. package/dist/lib/motion.d.ts +2 -1
  71. package/dist/lib/motion.d.ts.map +1 -1
  72. package/dist/lib/motion.js +1 -1
  73. package/dist/lib/typography.d.ts +2 -2
  74. package/dist/lib/typography.d.ts.map +1 -1
  75. package/dist/lib/typography.js +14 -3
  76. package/dist/styles.css +1 -1
  77. package/dist/typography.css +46 -11
  78. package/docs/components.md +5 -5
  79. package/docs/exports.json +1 -1
  80. package/docs/patterns/components-accordion--flush.tsx +1 -1
  81. package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +1 -1
  82. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  83. package/docs/patterns/components-badge--outline-tags.tsx +1 -1
  84. package/docs/patterns/components-badge--status-pill.tsx +1 -1
  85. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  86. package/docs/patterns/components-band--page-in-bands.tsx +1 -1
  87. package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
  88. package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
  89. package/docs/patterns/components-breadcrumb--path.tsx +1 -1
  90. package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
  91. package/docs/patterns/components-button-button--copy-button.tsx +1 -1
  92. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  93. package/docs/patterns/components-button-button--external-link.tsx +1 -1
  94. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  95. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  96. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  97. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  98. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  99. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  100. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  101. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  102. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  103. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  104. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  105. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  106. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  107. package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
  108. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  109. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  110. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  111. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  112. package/docs/patterns/components-card-card--terminal-frame.tsx +1 -1
  113. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  114. package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
  115. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  116. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  117. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  118. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  119. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  120. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  121. package/docs/patterns/components-chart--revenue-by-line.tsx +1 -1
  122. package/docs/patterns/components-chart--segmented-ring-pattern.tsx +1 -1
  123. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  124. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
  125. package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
  126. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  127. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  128. package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
  129. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  130. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  131. package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
  132. package/docs/patterns/components-copyfield--clipboard-blocked.tsx +1 -1
  133. package/docs/patterns/components-copyfield--copied.tsx +1 -1
  134. package/docs/patterns/components-copyfield--copy-key.tsx +1 -1
  135. package/docs/patterns/components-copyfield--on-navy.tsx +1 -1
  136. package/docs/patterns/components-descriptionlist--details.tsx +1 -1
  137. package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
  138. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  139. package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +1 -1
  140. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  141. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  142. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  143. package/docs/patterns/components-displaycontrols--theme-switch.tsx +1 -1
  144. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  145. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  146. package/docs/patterns/components-field--multi-control.tsx +1 -1
  147. package/docs/patterns/components-filterpanel--panel.tsx +1 -1
  148. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +6 -6
  149. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +2 -2
  150. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +6 -6
  151. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +5 -5
  152. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  153. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +5 -5
  154. package/docs/patterns/components-herointro--two-line-intro.tsx +3 -3
  155. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +3 -3
  156. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +2 -2
  157. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +3 -3
  158. package/docs/patterns/components-indexlist--post-index.tsx +1 -1
  159. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  160. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  161. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  162. package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
  163. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  164. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  165. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  166. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  167. package/docs/patterns/components-linktile--resource-tile.tsx +2 -2
  168. package/docs/patterns/components-linktile--router-link.tsx +1 -1
  169. package/docs/patterns/components-logview--detail-pane.tsx +1 -1
  170. package/docs/patterns/components-logview--log-viewer.tsx +1 -1
  171. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  172. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  173. package/docs/patterns/components-navlist--app-sidebar.tsx +1 -1
  174. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  175. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  176. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  177. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  178. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  179. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  180. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  181. package/docs/patterns/components-prose--article-body.tsx +1 -1
  182. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  183. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  184. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  185. package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
  186. package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
  187. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  188. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  189. package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +1 -1
  190. package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +1 -1
  191. package/docs/patterns/components-sheet--side-sheet.tsx +1 -1
  192. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  193. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  194. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  195. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  196. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  197. package/docs/patterns/components-stat--hero-stat.tsx +1 -1
  198. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  199. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  200. package/docs/patterns/components-switch--default.tsx +1 -1
  201. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  202. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  203. package/docs/patterns/components-table--approvals-with-sheet.tsx +1 -1
  204. package/docs/patterns/components-table--approvals.tsx +1 -1
  205. package/docs/patterns/components-table--basic.tsx +1 -1
  206. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  207. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  208. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  209. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  210. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  211. package/docs/patterns/components-taskrows--needs-you-table.tsx +1 -1
  212. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  213. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  214. package/docs/patterns/components-textarea--save-status.tsx +1 -1
  215. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  216. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  217. package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
  218. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  219. package/docs/patterns/components-textsequence--default.tsx +1 -1
  220. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  221. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  222. package/docs/patterns/components-tilegrid--masonry.tsx +2 -2
  223. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  224. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  225. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  226. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  227. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  228. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  229. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  230. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  231. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  232. package/docs/patterns/guides-filter-panel--filtered-grid.tsx +2 -2
  233. package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
  234. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  235. package/docs/patterns/guides-post-page--post-page.tsx +1 -1
  236. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  237. package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
  238. package/docs/patterns/index.json +1 -1
  239. package/package.json +1 -1
@@ -8,21 +8,21 @@ import { Dropdown as a } from "../../molecules/Dropdown/Dropdown.js";
8
8
  import { cardLayoutBodyOccupantRadiusClasses as o, cardLayoutBodyOccupantWellClasses as s } from "../../molecules/Card/cardStyles.js";
9
9
  import { Sheet as c } from "../Sheet/Sheet.js";
10
10
  import { textOf as l, useOverflowMenu as u } from "../../molecules/Dropdown/useOverflowMenu.js";
11
- import { siteNavBarBaseClasses as d, siteNavBarCompactLayoutClasses as f, siteNavBarStateClasses as p, siteNavBrandClasses as m, siteNavCompactLayouts as h, siteNavContainerClasses as g, siteNavDefaultCollapseAt as _, siteNavDefaultCollapseRatio as v, siteNavEndClasses as ee, siteNavExpandedHeightClasses as y, siteNavLinkClasses as b, siteNavLinkListClasses as x, siteNavLinksRootClasses as S, siteNavMeasureItemClasses as C, siteNavMeasureMoreClasses as w, siteNavMeasureRailClasses as T, siteNavMenuBackdropClasses as E, siteNavMenuContentClasses as D, siteNavMenuLinkClasses as O, siteNavMenuLinkGridClasses as te, siteNavMenuPopupClasses as k, siteNavMenuPositionerClasses as A, siteNavMenuReadRowClasses as j, siteNavMenuReadThumbClasses as M, siteNavMenuSectionClasses as N, siteNavMenuSectionLabelClasses as P, siteNavMenuSectionSpanClasses as F, siteNavMenuViewportClasses as I, siteNavMiddleClasses as ne, siteNavMiddleHugClasses as re, siteNavMiddleHugResponsiveClasses as ie, siteNavMiddleResponsiveClasses as ae, siteNavMobileLinkClasses as L, siteNavMobileListClasses as oe, siteNavMobileTriggerClasses as se, siteNavMoreIconClasses as R, siteNavMoreTriggerClasses as z, siteNavNavigationRootClasses as B, siteNavPlacements as V, siteNavRootFixedClasses as ce, siteNavRootFlowClasses as le, siteNavRootInlineClasses as ue, siteNavRootStickyClasses as de, siteNavSlotsClasses as H, siteNavStartClasses as fe, siteNavStates as U, siteNavTriggerClasses as W, siteNavTriggerIconClasses as pe, siteNavTriggerLabelClasses as me } from "./siteNavStyles.js";
12
- import { useSiteNavCollapse as he } from "./useSiteNavCollapse.js";
13
- import { Children as G, createContext as ge, isValidElement as K, useContext as _e, useEffect as ve, useMemo as ye, useRef as be, useState as q } from "react";
14
- import { ChevronDown as J, Menu as xe } from "lucide-react";
15
- import { Fragment as Se, jsx as Y, jsxs as X } from "react/jsx-runtime";
16
- import { AnimatePresence as Z, motion as Ce, useReducedMotion as we } from "motion/react";
17
- import { createPortal as Te } from "react-dom";
11
+ import { siteNavBarBaseClasses as d, siteNavBarCompactLayoutClasses as f, siteNavBarStateClasses as p, siteNavBrandClasses as m, siteNavCompactLayouts as h, siteNavContainerClasses as g, siteNavDefaultCollapseAt as _, siteNavDefaultCollapseRatio as v, siteNavEndClasses as ee, siteNavExpandedHeightClasses as te, siteNavLinkClasses as y, siteNavLinkListClasses as b, siteNavLinksRootClasses as x, siteNavMeasureItemClasses as S, siteNavMeasureMoreClasses as C, siteNavMeasureRailClasses as w, siteNavMenuBackdropClasses as T, siteNavMenuContentClasses as E, siteNavMenuLinkClasses as D, siteNavMenuLinkGridClasses as O, siteNavMenuPopupClasses as ne, siteNavMenuPositionerClasses as k, siteNavMenuReadRowClasses as A, siteNavMenuReadThumbClasses as j, siteNavMenuSectionClasses as M, siteNavMenuSectionLabelClasses as N, siteNavMenuSectionSpanClasses as P, siteNavMenuViewportClasses as F, siteNavMiddleClasses as re, siteNavMiddleHugClasses as ie, siteNavMiddleHugResponsiveClasses as ae, siteNavMiddleResponsiveClasses as oe, siteNavMobileLinkClasses as I, siteNavMobileListClasses as se, siteNavMobileTriggerClasses as ce, siteNavMoreIconClasses as L, siteNavMoreTriggerClasses as R, siteNavNavigationRootClasses as z, siteNavPlacements as B, siteNavRootFixedClasses as le, siteNavRootFlowClasses as ue, siteNavRootInlineClasses as de, siteNavRootStickyClasses as fe, siteNavSlotsClasses as V, siteNavStartClasses as pe, siteNavStates as H, siteNavTriggerClasses as U, siteNavTriggerIconClasses as W, siteNavTriggerLabelClasses as G } from "./siteNavStyles.js";
12
+ import { useSiteNavCollapse as me } from "./useSiteNavCollapse.js";
13
+ import { Children as K, createContext as he, isValidElement as q, useContext as ge, useEffect as _e, useId as ve, useMemo as ye, useRef as be, useState as J } from "react";
14
+ import { ChevronDown as Y, Menu as xe } from "lucide-react";
15
+ import { Fragment as Se, jsx as X, jsxs as Z } from "react/jsx-runtime";
16
+ import { AnimatePresence as Ce, motion as we, useReducedMotion as Te } from "motion/react";
17
+ import { createPortal as Ee } from "react-dom";
18
18
  import { NavigationMenu as Q } from "@base-ui/react/navigation-menu";
19
19
  //#region src/components/organisms/SiteNav/SiteNav.tsx
20
- var Ee = ge(null);
21
- function De(e, t, n, r) {
22
- return t && (e || n) ? r ? H.threeHug : H.three : t ? H.middleOnly : e && n ? H.ends : e ? H.startOnly : H.endOnly;
20
+ var De = he(null);
21
+ function Oe(e, t, n, r) {
22
+ return t && (e || n) ? r ? V.threeHug : V.three : t ? V.middleOnly : e && n ? V.ends : e ? V.startOnly : V.endOnly;
23
23
  }
24
- function Oe(e, t) {
25
- ve(() => {
24
+ function ke(e, t) {
25
+ _e(() => {
26
26
  if (!e || typeof document > "u") return;
27
27
  let n = t?.current ?? document.documentElement, r = n.style.scrollPaddingTop;
28
28
  return n.style.scrollPaddingTop = "calc(var(--site-nav-height) + var(--spacing) * 4)", () => {
@@ -30,188 +30,191 @@ function Oe(e, t) {
30
30
  };
31
31
  }, [e, t]);
32
32
  }
33
- function ke({ start: n, middle: i, end: a, mobile: o, mobileTitle: s = "Menu", collapseAt: l, state: u, onStateChange: m, compactLayout: h = "hug", placement: _ = "fixed", scrollContainer: v, "aria-label": b = "Site", className: x }) {
34
- let S = be(null), C = we() ?? !1, { state: w, compact: T } = he({
33
+ function Ae({ start: n, middle: i, end: a, mobile: o, mobileTitle: s = "Menu", collapseAt: l, state: u, onStateChange: m, compactLayout: h = "hug", placement: _ = "fixed", scrollContainer: v, "aria-label": y = "Site", className: b }) {
34
+ let x = be(null), S = Te() ?? !1, { state: C, compact: w } = me({
35
35
  collapseAt: l,
36
36
  scrollContainer: v,
37
37
  controlledState: u,
38
38
  placement: _,
39
39
  onStateChange: m
40
- }), [E, D] = q(!1), [O, te] = q(!1), k = T && h === "hug", A = {
40
+ }), [T, E] = J(!1), D = ve(), [O, ne] = J(!1), k = w && h === "hug", A = {
41
41
  y: -72,
42
42
  opacity: 0
43
43
  }, j = {
44
44
  y: 0,
45
45
  opacity: 1
46
- }, M = C ? { duration: 0 } : {
46
+ }, M = S ? { duration: 0 } : {
47
47
  ...t("medium"),
48
48
  type: "tween"
49
49
  }, N = v != null, P = _ === "fixed" || N;
50
- Oe(P && T, v);
51
- let F = o != null, I = n != null, L = i != null, R = a != null || F, z = F ? /* @__PURE__ */ Y(r, {
52
- icon: /* @__PURE__ */ Y(xe, { strokeWidth: 2 }),
53
- "aria-label": "Open menu",
50
+ ke(P && w, v);
51
+ let F = o != null, I = n != null, L = i != null, R = a != null || F, z = F ? /* @__PURE__ */ X(r, {
52
+ icon: /* @__PURE__ */ X(xe, { strokeWidth: 2 }),
53
+ "aria-label": T ? "Close menu" : "Open menu",
54
54
  title: "",
55
55
  size: "sm",
56
- className: se,
57
- "aria-expanded": E,
58
- onClick: () => D(!0)
56
+ className: ce,
57
+ "aria-haspopup": "dialog",
58
+ "aria-expanded": T,
59
+ "aria-controls": T ? D : void 0,
60
+ onClick: () => E((e) => !e)
59
61
  }) : null;
60
62
  function B(e) {
61
- return /* @__PURE__ */ X("div", {
62
- className: De(I, L, R, e),
63
+ return /* @__PURE__ */ Z("div", {
64
+ className: Oe(I, L, R, e),
63
65
  children: [
64
- I ? /* @__PURE__ */ Y("div", {
65
- className: fe,
66
+ I ? /* @__PURE__ */ X("div", {
67
+ className: pe,
66
68
  children: n
67
69
  }) : null,
68
- L ? /* @__PURE__ */ Y("div", {
69
- className: F ? e ? ie : ae : e ? re : ne,
70
+ L ? /* @__PURE__ */ X("div", {
71
+ className: F ? e ? ae : oe : e ? ie : re,
70
72
  children: i
71
73
  }) : null,
72
- R ? /* @__PURE__ */ X("div", {
74
+ R ? /* @__PURE__ */ Z("div", {
73
75
  className: ee,
74
76
  children: [a, z]
75
77
  }) : null
76
78
  ]
77
79
  });
78
80
  }
79
- let V = e(d, p.compact, f[h]), H = /* @__PURE__ */ Y("div", {
81
+ let V = e(d, p.compact, f[h]), H = /* @__PURE__ */ X("div", {
80
82
  "data-state": "expanded",
81
83
  className: e(d, p.expanded),
82
84
  children: B(!1)
83
- }), U = /* @__PURE__ */ Y("div", {
84
- ref: S,
85
+ }), U = /* @__PURE__ */ X("div", {
86
+ ref: x,
85
87
  className: e(g, "px-[var(--grid-margin)]"),
86
- children: /* @__PURE__ */ Y("div", {
88
+ children: /* @__PURE__ */ X("div", {
87
89
  "data-state": "compact",
88
90
  className: V,
89
91
  children: B(k)
90
92
  })
91
93
  }), W = {
92
- initial: !C && A,
94
+ initial: !S && A,
93
95
  animate: j,
94
- exit: C ? j : A,
96
+ exit: S ? j : A,
95
97
  transition: M
96
- }, pe = N ? e(de, "h-0 w-full overflow-visible") : ce;
97
- return /* @__PURE__ */ X(Ee.Provider, {
98
+ }, G = N ? e(fe, "h-0 w-full overflow-visible") : le;
99
+ return /* @__PURE__ */ Z(De.Provider, {
98
100
  value: {
99
- state: w,
100
- anchorRef: S,
101
+ state: C,
102
+ anchorRef: x,
101
103
  menuOpen: O,
102
- setMenuOpen: te
104
+ setMenuOpen: ne
103
105
  },
104
- children: [P ? /* @__PURE__ */ X(Se, { children: [
105
- /* @__PURE__ */ Y(Z, { children: T ? /* @__PURE__ */ Y(Ce.div, {
106
+ children: [P ? /* @__PURE__ */ Z(Se, { children: [
107
+ /* @__PURE__ */ X(Ce, { children: w ? /* @__PURE__ */ X(we.div, {
106
108
  ...W,
107
- className: e(pe, !N && x),
108
- children: /* @__PURE__ */ Y("header", {
109
- "aria-label": b,
109
+ className: e(G, !N && b),
110
+ children: /* @__PURE__ */ X("header", {
111
+ "aria-label": y,
110
112
  "data-state": "compact",
111
113
  "data-menu": O ? "open" : "closed",
112
- className: e(N && e("w-full", x)),
114
+ className: e(N && e("w-full", b)),
113
115
  children: U
114
116
  })
115
117
  }, "site-nav-compact") : null }),
116
- T ? /* @__PURE__ */ Y("div", {
117
- className: e(y, "w-full"),
118
+ w ? /* @__PURE__ */ X("div", {
119
+ className: e(te, "w-full"),
118
120
  "aria-hidden": !0
119
121
  }) : null,
120
- T ? null : /* @__PURE__ */ Y("header", {
121
- "aria-label": b,
122
+ w ? null : /* @__PURE__ */ X("header", {
123
+ "aria-label": y,
122
124
  "data-state": "expanded",
123
125
  "data-menu": O ? "open" : "closed",
124
- className: e(le, x),
125
- children: /* @__PURE__ */ Y("div", {
126
- ref: S,
126
+ className: e(ue, b),
127
+ children: /* @__PURE__ */ X("div", {
128
+ ref: x,
127
129
  className: g,
128
130
  children: H
129
131
  })
130
132
  })
131
- ] }) : /* @__PURE__ */ Y("header", {
132
- "aria-label": b,
133
- "data-state": w,
133
+ ] }) : /* @__PURE__ */ X("header", {
134
+ "aria-label": y,
135
+ "data-state": C,
134
136
  "data-menu": O ? "open" : "closed",
135
- className: e(ue, x),
136
- children: /* @__PURE__ */ Y("div", {
137
- ref: S,
138
- className: e(g, T && "px-[var(--grid-margin)]"),
139
- children: /* @__PURE__ */ Y(Z, {
137
+ className: e(de, b),
138
+ children: /* @__PURE__ */ X("div", {
139
+ ref: x,
140
+ className: e(g, w && "px-[var(--grid-margin)]"),
141
+ children: /* @__PURE__ */ X(Ce, {
140
142
  initial: !1,
141
143
  mode: "popLayout",
142
- children: T ? /* @__PURE__ */ Y(Ce.div, {
143
- initial: !C && A,
144
+ children: w ? /* @__PURE__ */ X(we.div, {
145
+ initial: !S && A,
144
146
  animate: j,
145
- exit: C ? j : A,
147
+ exit: S ? j : A,
146
148
  transition: M,
147
149
  "data-state": "compact",
148
150
  className: V,
149
151
  children: B(!0)
150
- }, "compact") : /* @__PURE__ */ Y("div", { children: H }, "expanded")
152
+ }, "compact") : /* @__PURE__ */ X("div", { children: H }, "expanded")
151
153
  })
152
154
  })
153
- }), F ? /* @__PURE__ */ Y(c, {
154
- open: E,
155
- onOpenChange: D,
156
- children: /* @__PURE__ */ Y(c.Content, {
155
+ }), F ? /* @__PURE__ */ X(c, {
156
+ open: T,
157
+ onOpenChange: E,
158
+ children: /* @__PURE__ */ X(c.Content, {
159
+ id: D,
157
160
  side: "end",
158
161
  title: s,
159
- children: /* @__PURE__ */ Y("div", {
160
- className: oe,
162
+ children: /* @__PURE__ */ X("div", {
163
+ className: se,
161
164
  children: o
162
165
  })
163
166
  })
164
167
  }) : null]
165
168
  });
166
169
  }
167
- function Ae({ href: e, icon: t, children: i, "aria-label": a }) {
168
- let o = t ?? (K(i) && i.type !== void 0 ? i : null);
169
- return o == null ? /* @__PURE__ */ Y(n, {
170
+ function je({ href: e, icon: t, children: i, "aria-label": a }) {
171
+ let o = t ?? (q(i) && i.type !== void 0 ? i : null);
172
+ return o == null ? /* @__PURE__ */ X(n, {
170
173
  role: "ghost",
171
174
  size: "sm",
172
- render: /* @__PURE__ */ Y("a", { href: e }),
175
+ render: /* @__PURE__ */ X("a", { href: e }),
173
176
  "aria-label": a,
174
177
  className: m,
175
178
  children: i
176
- }) : /* @__PURE__ */ Y(r, {
179
+ }) : /* @__PURE__ */ X(r, {
177
180
  icon: o,
178
181
  "aria-label": a ?? "Home",
179
182
  role: "ghost",
180
183
  size: "sm",
181
184
  title: "",
182
- render: /* @__PURE__ */ Y("a", { href: e }),
185
+ render: /* @__PURE__ */ X("a", { href: e }),
183
186
  className: m
184
187
  });
185
188
  }
186
- function je(e) {
187
- return G.toArray(e).filter(K);
189
+ function Me(e) {
190
+ return K.toArray(e).filter(q);
188
191
  }
189
192
  function $(e) {
190
193
  let t = e.props;
191
194
  return typeof t.value == "string" && t.value.length > 0 ? t.value : typeof t.href == "string" ? t.href : typeof t.label == "string" ? t.label : "item";
192
195
  }
193
- function Me(e) {
196
+ function Ne(e) {
194
197
  let t = e.props;
195
198
  return t.label ?? t.children;
196
199
  }
197
- function Ne(e) {
200
+ function Pe(e) {
198
201
  return "label" in e.props && !("href" in e.props);
199
202
  }
200
- function Pe(e) {
203
+ function Fe(e) {
201
204
  for (let t of e) if (t.props.current) return $(t);
202
205
  return e[0] == null ? "" : $(e[0]);
203
206
  }
204
- function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDelay: o = 150 }) {
205
- let s = _e(Ee), c = ye(() => je(t), [t]), d = new Map(c.map((e) => [$(e), e])), f = (e) => e.flatMap((e) => d.get(e) ?? []), p = (e) => f(e).flatMap(v), m = u({
207
+ function Ie({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDelay: o = 150 }) {
208
+ let s = ge(De), c = ye(() => Me(t), [t]), d = new Map(c.map((e) => [$(e), e])), f = (e) => e.flatMap((e) => d.get(e) ?? []), p = (e) => f(e).flatMap(v), m = u({
206
209
  ids: c.map($),
207
- activeId: Pe(c),
210
+ activeId: Fe(c),
208
211
  toMenuRows: (e) => p(e).map((e) => ({
209
212
  label: l(e.label),
210
213
  disabled: e.href == null
211
214
  }))
212
215
  }), { menu: h } = m, g = f(m.visibleIds), _ = p(m.overflowIds);
213
216
  function v(e) {
214
- if (!Ne(e)) {
217
+ if (!Pe(e)) {
215
218
  let t = e.props;
216
219
  return [{
217
220
  id: $(e),
@@ -222,8 +225,8 @@ function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDel
222
225
  }
223
226
  let t = [];
224
227
  function n(e) {
225
- G.forEach(e, (e) => {
226
- if (!K(e)) return;
228
+ K.forEach(e, (e) => {
229
+ if (!q(e)) return;
227
230
  let r = e.props;
228
231
  if (typeof r.href == "string" && r.label == null) {
229
232
  t.push({
@@ -238,37 +241,37 @@ function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDel
238
241
  }
239
242
  return n(e.props.children), t.length === 0 && t.push({
240
243
  id: $(e),
241
- label: Me(e)
244
+ label: Ne(e)
242
245
  }), t;
243
246
  }
244
- return /* @__PURE__ */ X("div", {
247
+ return /* @__PURE__ */ Z("div", {
245
248
  ...m.rowProps,
246
- className: S,
249
+ className: x,
247
250
  children: [
248
- /* @__PURE__ */ X(Q.Root, {
251
+ /* @__PURE__ */ Z(Q.Root, {
249
252
  "aria-label": r,
250
253
  delay: i,
251
254
  closeDelay: o,
252
- className: B,
255
+ className: z,
253
256
  onValueChange: (e) => s?.setMenuOpen(e != null),
254
- children: [/* @__PURE__ */ Y(Q.List, {
255
- className: x,
257
+ children: [/* @__PURE__ */ X(Q.List, {
258
+ className: b,
256
259
  children: g
257
- }), /* @__PURE__ */ X(Q.Portal, { children: [/* @__PURE__ */ Y(Q.Backdrop, { className: E }), /* @__PURE__ */ Y(Q.Positioner, {
260
+ }), /* @__PURE__ */ Z(Q.Portal, { children: [/* @__PURE__ */ X(Q.Backdrop, { className: T }), /* @__PURE__ */ X(Q.Positioner, {
258
261
  anchor: s?.anchorRef,
259
262
  positionMethod: "fixed",
260
263
  side: "bottom",
261
264
  align: "center",
262
265
  sideOffset: 8,
263
266
  collisionPadding: 8,
264
- className: A,
265
- children: /* @__PURE__ */ Y(Q.Popup, {
266
- className: k,
267
- children: /* @__PURE__ */ Y(Q.Viewport, { className: I })
267
+ className: k,
268
+ children: /* @__PURE__ */ X(Q.Popup, {
269
+ className: ne,
270
+ children: /* @__PURE__ */ X(Q.Viewport, { className: F })
268
271
  })
269
272
  })] })]
270
273
  }),
271
- m.overflowIds.length > 0 ? /* @__PURE__ */ Y(n, {
274
+ m.overflowIds.length > 0 ? /* @__PURE__ */ X(n, {
272
275
  ref: m.moreRef,
273
276
  role: "ghost",
274
277
  size: "sm",
@@ -276,55 +279,55 @@ function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDel
276
279
  "aria-expanded": h.open,
277
280
  "aria-controls": h.triggerProps["aria-controls"],
278
281
  "data-state": h.open ? "open" : "closed",
279
- className: z,
282
+ className: R,
280
283
  onClick: h.toggle,
281
- children: /* @__PURE__ */ X("span", {
282
- className: me,
283
- children: ["More", /* @__PURE__ */ Y("span", {
284
- className: R,
284
+ children: /* @__PURE__ */ Z("span", {
285
+ className: G,
286
+ children: ["More", /* @__PURE__ */ X("span", {
287
+ className: L,
285
288
  "data-state": h.open ? "open" : "closed",
286
- children: /* @__PURE__ */ Y(J, {
289
+ children: /* @__PURE__ */ X(Y, {
287
290
  strokeWidth: 2,
288
291
  "aria-hidden": !0
289
292
  })
290
293
  })]
291
294
  })
292
295
  }) : null,
293
- /* @__PURE__ */ X("div", {
294
- className: T,
296
+ /* @__PURE__ */ Z("div", {
297
+ className: w,
295
298
  "aria-hidden": !0,
296
299
  children: [c.map((t) => {
297
- let n = $(t), r = Me(t), i = Ne(t);
298
- return /* @__PURE__ */ X("span", {
300
+ let n = $(t), r = Ne(t), i = Pe(t);
301
+ return /* @__PURE__ */ Z("span", {
299
302
  ref: m.measureRef(n),
300
- className: e(C, i ? W : b),
301
- children: [r, i ? /* @__PURE__ */ Y(J, {
303
+ className: e(S, i ? U : y),
304
+ children: [r, i ? /* @__PURE__ */ X(Y, {
302
305
  className: "ml-1 size-3.5",
303
306
  strokeWidth: 2
304
307
  }) : null]
305
308
  }, n);
306
- }), /* @__PURE__ */ X("span", {
309
+ }), /* @__PURE__ */ Z("span", {
307
310
  ref: m.moreMeasureRef,
308
- className: e(z, w),
309
- children: ["More", /* @__PURE__ */ Y(J, {
311
+ className: e(R, C),
312
+ children: ["More", /* @__PURE__ */ X(Y, {
310
313
  className: "size-3.5",
311
314
  strokeWidth: 2
312
315
  })]
313
316
  })]
314
317
  }),
315
- h.open && h.menuStyle != null ? Te(/* @__PURE__ */ Y(a.Menu, {
318
+ h.open && h.menuStyle != null ? Ee(/* @__PURE__ */ X(a.Menu, {
316
319
  ...h.menuProps,
317
320
  role: "menu",
318
321
  "aria-label": `${r} overflow`,
319
- children: _.map((e, t) => /* @__PURE__ */ Y("li", {
322
+ children: _.map((e, t) => /* @__PURE__ */ X("li", {
320
323
  role: "presentation",
321
- children: /* @__PURE__ */ Y(a.Item, {
324
+ children: /* @__PURE__ */ X(a.Item, {
322
325
  ...h.rowProps(t),
323
326
  role: "menuitem",
324
327
  truncate: !1,
325
328
  selected: !!e.current,
326
329
  disabled: e.href == null,
327
- render: e.href == null ? void 0 : /* @__PURE__ */ Y("a", {
330
+ render: e.href == null ? void 0 : /* @__PURE__ */ X("a", {
328
331
  href: e.href,
329
332
  "aria-current": e.current ? "page" : void 0
330
333
  }),
@@ -336,122 +339,123 @@ function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDel
336
339
  ]
337
340
  });
338
341
  }
339
- function Ie({ href: e, children: t, current: r = !1, value: i }) {
340
- return /* @__PURE__ */ Y(Q.Item, {
342
+ function Le({ href: e, children: t, current: r = !1, value: i }) {
343
+ return /* @__PURE__ */ X(Q.Item, {
341
344
  value: i ?? e,
342
- children: /* @__PURE__ */ Y(Q.Link, {
345
+ children: /* @__PURE__ */ X(Q.Link, {
343
346
  href: e,
344
347
  active: r,
345
348
  "aria-current": r ? "page" : void 0,
346
- render: /* @__PURE__ */ Y(n, {
349
+ render: /* @__PURE__ */ X(n, {
347
350
  role: "ghost",
348
351
  size: "sm",
349
- render: /* @__PURE__ */ Y("a", {}),
350
- className: b,
352
+ render: /* @__PURE__ */ X("a", {}),
353
+ className: y,
351
354
  children: t
352
355
  })
353
356
  })
354
357
  });
355
358
  }
356
- function Le({ label: e, children: t, value: r }) {
359
+ function Re({ label: e, children: t, value: r }) {
357
360
  let i = r ?? (typeof e == "string" ? e : void 0);
358
- return /* @__PURE__ */ X(Q.Item, {
361
+ return /* @__PURE__ */ Z(Q.Item, {
359
362
  value: i,
360
- children: [/* @__PURE__ */ Y(Q.Trigger, { render: /* @__PURE__ */ Y(n, {
363
+ children: [/* @__PURE__ */ X(Q.Trigger, { render: /* @__PURE__ */ X(n, {
361
364
  role: "ghost",
362
365
  size: "sm",
363
- className: W,
364
- children: /* @__PURE__ */ X("span", {
365
- className: me,
366
- children: [e, /* @__PURE__ */ Y(Q.Icon, {
367
- className: pe,
368
- children: /* @__PURE__ */ Y(J, {
366
+ className: U,
367
+ children: /* @__PURE__ */ Z("span", {
368
+ className: G,
369
+ children: [e, /* @__PURE__ */ X(Q.Icon, {
370
+ className: W,
371
+ children: /* @__PURE__ */ X(Y, {
369
372
  strokeWidth: 2,
370
373
  "aria-hidden": !0
371
374
  })
372
375
  })]
373
376
  })
374
- }) }), /* @__PURE__ */ Y(Q.Content, {
375
- className: D,
377
+ }) }), /* @__PURE__ */ X(Q.Content, {
378
+ className: E,
376
379
  children: t
377
380
  })]
378
381
  });
379
382
  }
380
- function Re({ label: t, span: n = 1, children: r }) {
381
- return /* @__PURE__ */ X("section", {
382
- className: e(N, F[n]),
383
- children: [t == null ? null : /* @__PURE__ */ Y("h3", {
384
- className: P,
383
+ function ze({ label: t, span: n = 1, children: r }) {
384
+ return /* @__PURE__ */ Z("section", {
385
+ className: e(M, P[n]),
386
+ children: [t == null ? null : /* @__PURE__ */ X("h3", {
387
+ className: N,
385
388
  children: t
386
389
  }), r]
387
390
  });
388
391
  }
389
- function ze({ href: e, children: t, icon: r, external: i = !1, size: a = "sm" }) {
390
- return /* @__PURE__ */ Y(Q.Link, {
392
+ function Be({ href: e, children: t, icon: r, external: i = !1, newTab: a = !1, size: o = "sm" }) {
393
+ let s = i && a;
394
+ return /* @__PURE__ */ X(Q.Link, {
391
395
  href: e,
392
- target: i ? "_blank" : void 0,
393
- rel: i ? "noopener noreferrer" : void 0,
394
- render: /* @__PURE__ */ X(n, {
396
+ target: s ? "_blank" : void 0,
397
+ rel: s ? "noopener noreferrer" : void 0,
398
+ render: /* @__PURE__ */ Z(n, {
395
399
  role: "ghost",
396
- size: a,
397
- render: /* @__PURE__ */ Y("a", {}),
398
- className: O,
400
+ size: o,
401
+ render: /* @__PURE__ */ X("a", {}),
402
+ className: D,
399
403
  icon: r,
400
- children: [t, i ? /* @__PURE__ */ Y("span", {
404
+ children: [t, s ? /* @__PURE__ */ X("span", {
401
405
  className: "sr-only",
402
406
  children: " (opens in a new tab)"
403
407
  }) : null]
404
408
  })
405
409
  });
406
410
  }
407
- function Be({ children: e }) {
408
- return /* @__PURE__ */ Y("div", {
409
- className: te,
411
+ function Ve({ children: e }) {
412
+ return /* @__PURE__ */ X("div", {
413
+ className: O,
410
414
  children: e
411
415
  });
412
416
  }
413
- function Ve({ label: t, variant: n = "thumb", className: r }) {
414
- return /* @__PURE__ */ Y("div", {
417
+ function He({ label: t, variant: n = "thumb", className: r }) {
418
+ return /* @__PURE__ */ X("div", {
415
419
  role: "img",
416
420
  "aria-label": t,
417
- className: e(s, o, n === "featured" ? "aspect-[16/10] w-full" : M, r)
421
+ className: e(s, o, n === "featured" ? "aspect-[16/10] w-full" : j, r)
418
422
  });
419
423
  }
420
- function He({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
421
- return /* @__PURE__ */ X("div", {
424
+ function Ue({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
425
+ return /* @__PURE__ */ Z("div", {
422
426
  className: "flex flex-col gap-1 type-body",
423
427
  children: [
424
428
  e,
425
- /* @__PURE__ */ Y("h2", {
429
+ /* @__PURE__ */ X("h2", {
426
430
  className: "type-heading-2 text-fg",
427
431
  children: t
428
432
  }),
429
- n == null ? null : /* @__PURE__ */ Y("p", {
433
+ n == null ? null : /* @__PURE__ */ X("p", {
430
434
  className: "text-muted",
431
435
  children: n
432
436
  }),
433
- /* @__PURE__ */ Y(i, {
437
+ /* @__PURE__ */ X(i, {
434
438
  href: r,
435
439
  children: a
436
440
  })
437
441
  ]
438
442
  });
439
443
  }
440
- function Ue({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
441
- return /* @__PURE__ */ X("div", {
442
- className: j,
443
- children: [e, /* @__PURE__ */ X("div", {
444
+ function We({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
445
+ return /* @__PURE__ */ Z("div", {
446
+ className: A,
447
+ children: [e, /* @__PURE__ */ Z("div", {
444
448
  className: "flex min-w-0 flex-col gap-1 type-body",
445
449
  children: [
446
- /* @__PURE__ */ Y("h3", {
450
+ /* @__PURE__ */ X("h3", {
447
451
  className: "type-heading-3 text-fg",
448
452
  children: t
449
453
  }),
450
- n == null ? null : /* @__PURE__ */ Y("p", {
454
+ n == null ? null : /* @__PURE__ */ X("p", {
451
455
  className: "text-muted",
452
456
  children: n
453
457
  }),
454
- /* @__PURE__ */ Y(i, {
458
+ /* @__PURE__ */ X(i, {
455
459
  href: r,
456
460
  children: a
457
461
  })
@@ -459,28 +463,28 @@ function Ue({ media: e, title: t, description: n, href: r, linkLabel: a = "Read
459
463
  })]
460
464
  });
461
465
  }
462
- function We({ href: e, children: t, current: r = !1 }) {
463
- return /* @__PURE__ */ Y(n, {
466
+ function Ge({ href: e, children: t, current: r = !1 }) {
467
+ return /* @__PURE__ */ X(n, {
464
468
  role: "ghost",
465
469
  size: "md",
466
- render: /* @__PURE__ */ Y("a", { href: e }),
470
+ render: /* @__PURE__ */ X("a", { href: e }),
467
471
  "aria-current": r ? "page" : void 0,
468
- className: L,
472
+ className: I,
469
473
  children: t
470
474
  });
471
475
  }
472
- var Ge = Object.assign(ke, {
473
- Brand: Ae,
474
- Links: Fe,
475
- Link: Ie,
476
- Menu: Le,
477
- MenuSection: Re,
478
- MenuLink: ze,
479
- MenuLinkGrid: Be,
480
- MenuMedia: Ve,
481
- Featured: He,
482
- ReadRow: Ue,
483
- MobileLink: We
476
+ var Ke = Object.assign(Ae, {
477
+ Brand: je,
478
+ Links: Ie,
479
+ Link: Le,
480
+ Menu: Re,
481
+ MenuSection: ze,
482
+ MenuLink: Be,
483
+ MenuLinkGrid: Ve,
484
+ MenuMedia: He,
485
+ Featured: Ue,
486
+ ReadRow: We,
487
+ MobileLink: Ge
484
488
  });
485
489
  //#endregion
486
- export { Ge as SiteNav, h as siteNavCompactLayouts, _ as siteNavDefaultCollapseAt, v as siteNavDefaultCollapseRatio, y as siteNavExpandedHeightClasses, j as siteNavMenuReadRowClasses, M as siteNavMenuReadThumbClasses, V as siteNavPlacements, U as siteNavStates };
490
+ export { Ke as SiteNav, h as siteNavCompactLayouts, _ as siteNavDefaultCollapseAt, v as siteNavDefaultCollapseRatio, te as siteNavExpandedHeightClasses, A as siteNavMenuReadRowClasses, j as siteNavMenuReadThumbClasses, B as siteNavPlacements, H as siteNavStates };