@thewhatmatters/wmds 0.4.28 → 0.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/components/organisms/Sheet/Sheet.d.ts +3 -1
- package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/organisms/Sheet/Sheet.js +51 -49
- package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -1
- package/dist/components/organisms/SiteNav/SiteNav.js +219 -216
- package/docs/components.md +1 -1
- package/docs/exports.json +1 -1
- package/docs/patterns/components-accordion--flush.tsx +1 -1
- package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +1 -1
- package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
- package/docs/patterns/components-badge--outline-tags.tsx +1 -1
- package/docs/patterns/components-badge--status-pill.tsx +1 -1
- package/docs/patterns/components-badge--with-avatar.tsx +1 -1
- package/docs/patterns/components-band--page-in-bands.tsx +1 -1
- package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
- package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
- package/docs/patterns/components-breadcrumb--path.tsx +1 -1
- package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
- package/docs/patterns/components-button-button--copy-button.tsx +1 -1
- package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
- package/docs/patterns/components-button-button--external-link.tsx +1 -1
- package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
- package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
- package/docs/patterns/components-button-button--link-render.tsx +1 -1
- package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
- package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
- package/docs/patterns/components-button-button--primary-action.tsx +1 -1
- package/docs/patterns/components-button-button--row-hug.tsx +1 -1
- package/docs/patterns/components-button-button--row-layout.tsx +1 -1
- package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
- package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
- package/docs/patterns/components-button-button--with-count.tsx +1 -1
- package/docs/patterns/components-button-button--with-icon.tsx +1 -1
- package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
- package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
- package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
- package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
- package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
- package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
- package/docs/patterns/components-card-card--terminal-frame.tsx +1 -1
- package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
- package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
- package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
- package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
- package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
- package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
- package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
- package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
- package/docs/patterns/components-chart--revenue-by-line.tsx +1 -1
- package/docs/patterns/components-chart--segmented-ring-pattern.tsx +1 -1
- package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
- package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
- package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
- package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
- package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
- package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
- package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
- package/docs/patterns/components-copyfield--clipboard-blocked.tsx +1 -1
- package/docs/patterns/components-copyfield--copied.tsx +1 -1
- package/docs/patterns/components-copyfield--copy-key.tsx +1 -1
- package/docs/patterns/components-copyfield--on-navy.tsx +1 -1
- package/docs/patterns/components-descriptionlist--details.tsx +1 -1
- package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
- package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
- package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +1 -1
- package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
- package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
- package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
- package/docs/patterns/components-displaycontrols--theme-switch.tsx +1 -1
- package/docs/patterns/components-field--horizontal-input.tsx +1 -1
- package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
- package/docs/patterns/components-field--multi-control.tsx +1 -1
- package/docs/patterns/components-filterpanel--panel.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
- package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
- package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
- package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
- package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
- package/docs/patterns/components-indexlist--post-index.tsx +1 -1
- package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
- package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
- package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
- package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
- package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
- package/docs/patterns/components-kbd--command-row.tsx +1 -1
- package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
- package/docs/patterns/components-kbd--shortcut.tsx +1 -1
- package/docs/patterns/components-linktile--resource-tile.tsx +1 -1
- package/docs/patterns/components-linktile--router-link.tsx +1 -1
- package/docs/patterns/components-logview--detail-pane.tsx +1 -1
- package/docs/patterns/components-logview--log-viewer.tsx +1 -1
- package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
- package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
- package/docs/patterns/components-navlist--app-sidebar.tsx +1 -1
- package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
- package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
- package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
- package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
- package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
- package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
- package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
- package/docs/patterns/components-prose--article-body.tsx +1 -1
- package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
- package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
- package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
- package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
- package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
- package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
- package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +1 -1
- package/docs/patterns/components-sheet--side-sheet.tsx +1 -1
- package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
- package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
- package/docs/patterns/components-sitenav--compact.tsx +1 -1
- package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
- package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
- package/docs/patterns/components-stat--hero-stat.tsx +1 -1
- package/docs/patterns/components-stat--insights-row.tsx +1 -1
- package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
- package/docs/patterns/components-switch--default.tsx +1 -1
- package/docs/patterns/components-switch--settings-row.tsx +1 -1
- package/docs/patterns/components-tab--settings-pages.tsx +1 -1
- package/docs/patterns/components-table--approvals-with-sheet.tsx +1 -1
- package/docs/patterns/components-table--approvals.tsx +1 -1
- package/docs/patterns/components-table--basic.tsx +1 -1
- package/docs/patterns/components-taskrows--action-details.tsx +1 -1
- package/docs/patterns/components-taskrows--capsules.tsx +1 -1
- package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
- package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
- package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
- package/docs/patterns/components-taskrows--needs-you-table.tsx +1 -1
- package/docs/patterns/components-taskrows--status-list.tsx +1 -1
- package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
- package/docs/patterns/components-textarea--save-status.tsx +1 -1
- package/docs/patterns/components-textlink--external-destination.tsx +1 -1
- package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
- package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
- package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
- package/docs/patterns/components-textsequence--default.tsx +1 -1
- package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
- package/docs/patterns/components-textsequence--shapes.tsx +1 -1
- package/docs/patterns/components-tilegrid--masonry.tsx +1 -1
- package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
- package/docs/patterns/components-tooltip--controlled.tsx +1 -1
- package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
- package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
- package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
- package/docs/patterns/components-tooltip--placement.tsx +1 -1
- package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
- package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
- package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
- package/docs/patterns/guides-filter-panel--filtered-grid.tsx +1 -1
- package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
- package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
- package/docs/patterns/guides-post-page--post-page.tsx +1 -1
- package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
- package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
- package/docs/patterns/index.json +1 -1
- package/package.json +1 -1
|
@@ -7,22 +7,22 @@ import { TextLink as i } from "../../atoms/TextLink/TextLink.js";
|
|
|
7
7
|
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
|
-
import { textOf as l, useOverflowMenu as
|
|
11
|
-
import { siteNavBarBaseClasses as
|
|
12
|
-
import { useSiteNavCollapse as
|
|
13
|
-
import { Children as
|
|
14
|
-
import { ChevronDown as
|
|
15
|
-
import { Fragment as Se, jsx as
|
|
16
|
-
import { AnimatePresence as
|
|
17
|
-
import { createPortal as
|
|
10
|
+
import { textOf as l, useOverflowMenu as ee } from "../../molecules/Dropdown/useOverflowMenu.js";
|
|
11
|
+
import { siteNavBarBaseClasses as u, siteNavBarCompactLayoutClasses as d, siteNavBarStateClasses as f, siteNavBrandClasses as p, siteNavCompactLayouts as m, siteNavContainerClasses as h, siteNavDefaultCollapseAt as g, siteNavDefaultCollapseRatio as _, siteNavEndClasses as te, siteNavExpandedHeightClasses as ne, siteNavLinkClasses as v, siteNavLinkListClasses as y, siteNavLinksRootClasses as b, siteNavMeasureItemClasses as x, siteNavMeasureMoreClasses as S, siteNavMeasureRailClasses as C, siteNavMenuBackdropClasses as w, siteNavMenuContentClasses as T, siteNavMenuLinkClasses as E, siteNavMenuLinkGridClasses as D, siteNavMenuPopupClasses as O, 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
|
|
21
|
-
function
|
|
22
|
-
return t && (e || n) ? r ?
|
|
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
|
|
25
|
-
|
|
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
|
|
34
|
-
let
|
|
33
|
+
function Ae({ start: n, middle: i, end: a, mobile: o, mobileTitle: s = "Menu", collapseAt: l, state: ee, onStateChange: p, compactLayout: m = "hug", placement: g = "fixed", scrollContainer: _, "aria-label": v = "Site", className: y }) {
|
|
34
|
+
let b = be(null), x = Te() ?? !1, { state: S, compact: C } = me({
|
|
35
35
|
collapseAt: l,
|
|
36
|
-
scrollContainer:
|
|
37
|
-
controlledState:
|
|
38
|
-
placement:
|
|
39
|
-
onStateChange:
|
|
40
|
-
}), [
|
|
36
|
+
scrollContainer: _,
|
|
37
|
+
controlledState: ee,
|
|
38
|
+
placement: g,
|
|
39
|
+
onStateChange: p
|
|
40
|
+
}), [w, T] = J(!1), E = ve(), [D, O] = J(!1), k = C && m === "hug", A = {
|
|
41
41
|
y: -72,
|
|
42
42
|
opacity: 0
|
|
43
43
|
}, j = {
|
|
44
44
|
y: 0,
|
|
45
45
|
opacity: 1
|
|
46
|
-
}, M =
|
|
46
|
+
}, M = x ? { duration: 0 } : {
|
|
47
47
|
...t("medium"),
|
|
48
48
|
type: "tween"
|
|
49
|
-
}, N =
|
|
50
|
-
|
|
51
|
-
let F = o != null, I = n != null, L = i != null, R = a != null || F, z = F ? /* @__PURE__ */
|
|
52
|
-
icon: /* @__PURE__ */
|
|
53
|
-
"aria-label": "Open menu",
|
|
49
|
+
}, N = _ != null, P = g === "fixed" || N;
|
|
50
|
+
ke(P && C, _);
|
|
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": w ? "Close menu" : "Open menu",
|
|
54
54
|
title: "",
|
|
55
55
|
size: "sm",
|
|
56
|
-
className:
|
|
57
|
-
"aria-
|
|
58
|
-
|
|
56
|
+
className: ce,
|
|
57
|
+
"aria-haspopup": "dialog",
|
|
58
|
+
"aria-expanded": w,
|
|
59
|
+
"aria-controls": w ? E : void 0,
|
|
60
|
+
onClick: () => T((e) => !e)
|
|
59
61
|
}) : null;
|
|
60
62
|
function B(e) {
|
|
61
|
-
return /* @__PURE__ */
|
|
62
|
-
className:
|
|
63
|
+
return /* @__PURE__ */ Z("div", {
|
|
64
|
+
className: Oe(I, L, R, e),
|
|
63
65
|
children: [
|
|
64
|
-
I ? /* @__PURE__ */
|
|
65
|
-
className:
|
|
66
|
+
I ? /* @__PURE__ */ X("div", {
|
|
67
|
+
className: pe,
|
|
66
68
|
children: n
|
|
67
69
|
}) : null,
|
|
68
|
-
L ? /* @__PURE__ */
|
|
69
|
-
className: F ? e ?
|
|
70
|
+
L ? /* @__PURE__ */ X("div", {
|
|
71
|
+
className: F ? e ? ae : oe : e ? ie : re,
|
|
70
72
|
children: i
|
|
71
73
|
}) : null,
|
|
72
|
-
R ? /* @__PURE__ */
|
|
73
|
-
className:
|
|
74
|
+
R ? /* @__PURE__ */ Z("div", {
|
|
75
|
+
className: te,
|
|
74
76
|
children: [a, z]
|
|
75
77
|
}) : null
|
|
76
78
|
]
|
|
77
79
|
});
|
|
78
80
|
}
|
|
79
|
-
let V = e(
|
|
81
|
+
let V = e(u, f.compact, d[m]), H = /* @__PURE__ */ X("div", {
|
|
80
82
|
"data-state": "expanded",
|
|
81
|
-
className: e(
|
|
83
|
+
className: e(u, f.expanded),
|
|
82
84
|
children: B(!1)
|
|
83
|
-
}), U = /* @__PURE__ */
|
|
84
|
-
ref:
|
|
85
|
-
className: e(
|
|
86
|
-
children: /* @__PURE__ */
|
|
85
|
+
}), U = /* @__PURE__ */ X("div", {
|
|
86
|
+
ref: b,
|
|
87
|
+
className: e(h, "px-[var(--grid-margin)]"),
|
|
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: !
|
|
94
|
+
initial: !x && A,
|
|
93
95
|
animate: j,
|
|
94
|
-
exit:
|
|
96
|
+
exit: x ? j : A,
|
|
95
97
|
transition: M
|
|
96
|
-
},
|
|
97
|
-
return /* @__PURE__ */
|
|
98
|
+
}, G = N ? e(fe, "h-0 w-full overflow-visible") : le;
|
|
99
|
+
return /* @__PURE__ */ Z(De.Provider, {
|
|
98
100
|
value: {
|
|
99
|
-
state:
|
|
100
|
-
anchorRef:
|
|
101
|
-
menuOpen:
|
|
102
|
-
setMenuOpen:
|
|
101
|
+
state: S,
|
|
102
|
+
anchorRef: b,
|
|
103
|
+
menuOpen: D,
|
|
104
|
+
setMenuOpen: O
|
|
103
105
|
},
|
|
104
|
-
children: [P ? /* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
+
children: [P ? /* @__PURE__ */ Z(Se, { children: [
|
|
107
|
+
/* @__PURE__ */ X(Ce, { children: C ? /* @__PURE__ */ X(we.div, {
|
|
106
108
|
...W,
|
|
107
|
-
className: e(
|
|
108
|
-
children: /* @__PURE__ */
|
|
109
|
-
"aria-label":
|
|
109
|
+
className: e(G, !N && y),
|
|
110
|
+
children: /* @__PURE__ */ X("header", {
|
|
111
|
+
"aria-label": v,
|
|
110
112
|
"data-state": "compact",
|
|
111
|
-
"data-menu":
|
|
112
|
-
className: e(N && e("w-full",
|
|
113
|
+
"data-menu": D ? "open" : "closed",
|
|
114
|
+
className: e(N && e("w-full", y)),
|
|
113
115
|
children: U
|
|
114
116
|
})
|
|
115
117
|
}, "site-nav-compact") : null }),
|
|
116
|
-
|
|
117
|
-
className: e(
|
|
118
|
+
C ? /* @__PURE__ */ X("div", {
|
|
119
|
+
className: e(ne, "w-full"),
|
|
118
120
|
"aria-hidden": !0
|
|
119
121
|
}) : null,
|
|
120
|
-
|
|
121
|
-
"aria-label":
|
|
122
|
+
C ? null : /* @__PURE__ */ X("header", {
|
|
123
|
+
"aria-label": v,
|
|
122
124
|
"data-state": "expanded",
|
|
123
|
-
"data-menu":
|
|
124
|
-
className: e(
|
|
125
|
-
children: /* @__PURE__ */
|
|
126
|
-
ref:
|
|
127
|
-
className:
|
|
125
|
+
"data-menu": D ? "open" : "closed",
|
|
126
|
+
className: e(ue, y),
|
|
127
|
+
children: /* @__PURE__ */ X("div", {
|
|
128
|
+
ref: b,
|
|
129
|
+
className: h,
|
|
128
130
|
children: H
|
|
129
131
|
})
|
|
130
132
|
})
|
|
131
|
-
] }) : /* @__PURE__ */
|
|
132
|
-
"aria-label":
|
|
133
|
-
"data-state":
|
|
134
|
-
"data-menu":
|
|
135
|
-
className: e(
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
-
ref:
|
|
138
|
-
className: e(
|
|
139
|
-
children: /* @__PURE__ */
|
|
133
|
+
] }) : /* @__PURE__ */ X("header", {
|
|
134
|
+
"aria-label": v,
|
|
135
|
+
"data-state": S,
|
|
136
|
+
"data-menu": D ? "open" : "closed",
|
|
137
|
+
className: e(de, y),
|
|
138
|
+
children: /* @__PURE__ */ X("div", {
|
|
139
|
+
ref: b,
|
|
140
|
+
className: e(h, C && "px-[var(--grid-margin)]"),
|
|
141
|
+
children: /* @__PURE__ */ X(Ce, {
|
|
140
142
|
initial: !1,
|
|
141
143
|
mode: "popLayout",
|
|
142
|
-
children:
|
|
143
|
-
initial: !
|
|
144
|
+
children: C ? /* @__PURE__ */ X(we.div, {
|
|
145
|
+
initial: !x && A,
|
|
144
146
|
animate: j,
|
|
145
|
-
exit:
|
|
147
|
+
exit: x ? j : A,
|
|
146
148
|
transition: M,
|
|
147
149
|
"data-state": "compact",
|
|
148
150
|
className: V,
|
|
149
151
|
children: B(!0)
|
|
150
|
-
}, "compact") : /* @__PURE__ */
|
|
152
|
+
}, "compact") : /* @__PURE__ */ X("div", { children: H }, "expanded")
|
|
151
153
|
})
|
|
152
154
|
})
|
|
153
|
-
}), F ? /* @__PURE__ */
|
|
154
|
-
open:
|
|
155
|
-
onOpenChange:
|
|
156
|
-
children: /* @__PURE__ */
|
|
155
|
+
}), F ? /* @__PURE__ */ X(c, {
|
|
156
|
+
open: w,
|
|
157
|
+
onOpenChange: T,
|
|
158
|
+
children: /* @__PURE__ */ X(c.Content, {
|
|
159
|
+
id: E,
|
|
157
160
|
side: "end",
|
|
158
161
|
title: s,
|
|
159
|
-
children: /* @__PURE__ */
|
|
160
|
-
className:
|
|
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
|
|
168
|
-
let o = t ?? (
|
|
169
|
-
return o == null ? /* @__PURE__ */
|
|
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__ */
|
|
175
|
+
render: /* @__PURE__ */ X("a", { href: e }),
|
|
173
176
|
"aria-label": a,
|
|
174
|
-
className:
|
|
177
|
+
className: p,
|
|
175
178
|
children: i
|
|
176
|
-
}) : /* @__PURE__ */
|
|
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__ */
|
|
183
|
-
className:
|
|
185
|
+
render: /* @__PURE__ */ X("a", { href: e }),
|
|
186
|
+
className: p
|
|
184
187
|
});
|
|
185
188
|
}
|
|
186
|
-
function
|
|
187
|
-
return
|
|
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
|
|
196
|
+
function Ne(e) {
|
|
194
197
|
let t = e.props;
|
|
195
198
|
return t.label ?? t.children;
|
|
196
199
|
}
|
|
197
|
-
function
|
|
200
|
+
function Pe(e) {
|
|
198
201
|
return "label" in e.props && !("href" in e.props);
|
|
199
202
|
}
|
|
200
|
-
function
|
|
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
|
|
205
|
-
let s =
|
|
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]), u = new Map(c.map((e) => [$(e), e])), d = (e) => e.flatMap((e) => u.get(e) ?? []), f = (e) => d(e).flatMap(_), p = ee({
|
|
206
209
|
ids: c.map($),
|
|
207
|
-
activeId:
|
|
208
|
-
toMenuRows: (e) =>
|
|
210
|
+
activeId: Fe(c),
|
|
211
|
+
toMenuRows: (e) => f(e).map((e) => ({
|
|
209
212
|
label: l(e.label),
|
|
210
213
|
disabled: e.href == null
|
|
211
214
|
}))
|
|
212
|
-
}), { menu:
|
|
213
|
-
function
|
|
214
|
-
if (!
|
|
215
|
+
}), { menu: m } = p, h = d(p.visibleIds), g = f(p.overflowIds);
|
|
216
|
+
function _(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
|
-
|
|
226
|
-
if (!
|
|
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,97 +241,97 @@ 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:
|
|
244
|
+
label: Ne(e)
|
|
242
245
|
}), t;
|
|
243
246
|
}
|
|
244
|
-
return /* @__PURE__ */
|
|
245
|
-
...
|
|
246
|
-
className:
|
|
247
|
+
return /* @__PURE__ */ Z("div", {
|
|
248
|
+
...p.rowProps,
|
|
249
|
+
className: b,
|
|
247
250
|
children: [
|
|
248
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ Z(Q.Root, {
|
|
249
252
|
"aria-label": r,
|
|
250
253
|
delay: i,
|
|
251
254
|
closeDelay: o,
|
|
252
|
-
className:
|
|
255
|
+
className: z,
|
|
253
256
|
onValueChange: (e) => s?.setMenuOpen(e != null),
|
|
254
|
-
children: [/* @__PURE__ */
|
|
255
|
-
className:
|
|
256
|
-
children:
|
|
257
|
-
}), /* @__PURE__ */
|
|
257
|
+
children: [/* @__PURE__ */ X(Q.List, {
|
|
258
|
+
className: y,
|
|
259
|
+
children: h
|
|
260
|
+
}), /* @__PURE__ */ Z(Q.Portal, { children: [/* @__PURE__ */ X(Q.Backdrop, { className: w }), /* @__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:
|
|
265
|
-
children: /* @__PURE__ */
|
|
266
|
-
className:
|
|
267
|
-
children: /* @__PURE__ */
|
|
267
|
+
className: k,
|
|
268
|
+
children: /* @__PURE__ */ X(Q.Popup, {
|
|
269
|
+
className: O,
|
|
270
|
+
children: /* @__PURE__ */ X(Q.Viewport, { className: F })
|
|
268
271
|
})
|
|
269
272
|
})] })]
|
|
270
273
|
}),
|
|
271
|
-
|
|
272
|
-
ref:
|
|
274
|
+
p.overflowIds.length > 0 ? /* @__PURE__ */ X(n, {
|
|
275
|
+
ref: p.moreRef,
|
|
273
276
|
role: "ghost",
|
|
274
277
|
size: "sm",
|
|
275
278
|
"aria-haspopup": "menu",
|
|
276
|
-
"aria-expanded":
|
|
277
|
-
"aria-controls":
|
|
278
|
-
"data-state":
|
|
279
|
-
className:
|
|
280
|
-
onClick:
|
|
281
|
-
children: /* @__PURE__ */
|
|
282
|
-
className:
|
|
283
|
-
children: ["More", /* @__PURE__ */
|
|
284
|
-
className:
|
|
285
|
-
"data-state":
|
|
286
|
-
children: /* @__PURE__ */ Y
|
|
279
|
+
"aria-expanded": m.open,
|
|
280
|
+
"aria-controls": m.triggerProps["aria-controls"],
|
|
281
|
+
"data-state": m.open ? "open" : "closed",
|
|
282
|
+
className: R,
|
|
283
|
+
onClick: m.toggle,
|
|
284
|
+
children: /* @__PURE__ */ Z("span", {
|
|
285
|
+
className: G,
|
|
286
|
+
children: ["More", /* @__PURE__ */ X("span", {
|
|
287
|
+
className: L,
|
|
288
|
+
"data-state": m.open ? "open" : "closed",
|
|
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__ */
|
|
294
|
-
className:
|
|
296
|
+
/* @__PURE__ */ Z("div", {
|
|
297
|
+
className: C,
|
|
295
298
|
"aria-hidden": !0,
|
|
296
299
|
children: [c.map((t) => {
|
|
297
|
-
let n = $(t), r =
|
|
298
|
-
return /* @__PURE__ */
|
|
299
|
-
ref:
|
|
300
|
-
className: e(
|
|
301
|
-
children: [r, i ? /* @__PURE__ */ Y
|
|
300
|
+
let n = $(t), r = Ne(t), i = Pe(t);
|
|
301
|
+
return /* @__PURE__ */ Z("span", {
|
|
302
|
+
ref: p.measureRef(n),
|
|
303
|
+
className: e(x, i ? U : v),
|
|
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__ */
|
|
307
|
-
ref:
|
|
308
|
-
className: e(
|
|
309
|
-
children: ["More", /* @__PURE__ */ Y
|
|
309
|
+
}), /* @__PURE__ */ Z("span", {
|
|
310
|
+
ref: p.moreMeasureRef,
|
|
311
|
+
className: e(R, S),
|
|
312
|
+
children: ["More", /* @__PURE__ */ X(Y, {
|
|
310
313
|
className: "size-3.5",
|
|
311
314
|
strokeWidth: 2
|
|
312
315
|
})]
|
|
313
316
|
})]
|
|
314
317
|
}),
|
|
315
|
-
|
|
316
|
-
...
|
|
318
|
+
m.open && m.menuStyle != null ? Ee(/* @__PURE__ */ X(a.Menu, {
|
|
319
|
+
...m.menuProps,
|
|
317
320
|
role: "menu",
|
|
318
321
|
"aria-label": `${r} overflow`,
|
|
319
|
-
children:
|
|
322
|
+
children: g.map((e, t) => /* @__PURE__ */ X("li", {
|
|
320
323
|
role: "presentation",
|
|
321
|
-
children: /* @__PURE__ */
|
|
322
|
-
...
|
|
324
|
+
children: /* @__PURE__ */ X(a.Item, {
|
|
325
|
+
...m.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__ */
|
|
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
|
}),
|
|
331
|
-
onClick: () =>
|
|
334
|
+
onClick: () => m.close(),
|
|
332
335
|
children: e.label
|
|
333
336
|
})
|
|
334
337
|
}, e.id))
|
|
@@ -336,122 +339,122 @@ function Fe({ children: t, "aria-label": r = "Primary", delay: i = 100, closeDel
|
|
|
336
339
|
]
|
|
337
340
|
});
|
|
338
341
|
}
|
|
339
|
-
function
|
|
340
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
349
|
+
render: /* @__PURE__ */ X(n, {
|
|
347
350
|
role: "ghost",
|
|
348
351
|
size: "sm",
|
|
349
|
-
render: /* @__PURE__ */
|
|
350
|
-
className:
|
|
352
|
+
render: /* @__PURE__ */ X("a", {}),
|
|
353
|
+
className: v,
|
|
351
354
|
children: t
|
|
352
355
|
})
|
|
353
356
|
})
|
|
354
357
|
});
|
|
355
358
|
}
|
|
356
|
-
function
|
|
359
|
+
function Re({ label: e, children: t, value: r }) {
|
|
357
360
|
let i = r ?? (typeof e == "string" ? e : void 0);
|
|
358
|
-
return /* @__PURE__ */
|
|
361
|
+
return /* @__PURE__ */ Z(Q.Item, {
|
|
359
362
|
value: i,
|
|
360
|
-
children: [/* @__PURE__ */
|
|
363
|
+
children: [/* @__PURE__ */ X(Q.Trigger, { render: /* @__PURE__ */ X(n, {
|
|
361
364
|
role: "ghost",
|
|
362
365
|
size: "sm",
|
|
363
|
-
className:
|
|
364
|
-
children: /* @__PURE__ */
|
|
365
|
-
className:
|
|
366
|
-
children: [e, /* @__PURE__ */
|
|
367
|
-
className:
|
|
368
|
-
children: /* @__PURE__ */ Y
|
|
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__ */
|
|
375
|
-
className:
|
|
377
|
+
}) }), /* @__PURE__ */ X(Q.Content, {
|
|
378
|
+
className: T,
|
|
376
379
|
children: t
|
|
377
380
|
})]
|
|
378
381
|
});
|
|
379
382
|
}
|
|
380
|
-
function
|
|
381
|
-
return /* @__PURE__ */
|
|
382
|
-
className: e(
|
|
383
|
-
children: [t == null ? null : /* @__PURE__ */
|
|
384
|
-
className:
|
|
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
|
|
390
|
-
return /* @__PURE__ */
|
|
392
|
+
function Be({ href: e, children: t, icon: r, external: i = !1, size: a = "sm" }) {
|
|
393
|
+
return /* @__PURE__ */ X(Q.Link, {
|
|
391
394
|
href: e,
|
|
392
395
|
target: i ? "_blank" : void 0,
|
|
393
396
|
rel: i ? "noopener noreferrer" : void 0,
|
|
394
|
-
render: /* @__PURE__ */
|
|
397
|
+
render: /* @__PURE__ */ Z(n, {
|
|
395
398
|
role: "ghost",
|
|
396
399
|
size: a,
|
|
397
|
-
render: /* @__PURE__ */
|
|
398
|
-
className:
|
|
400
|
+
render: /* @__PURE__ */ X("a", {}),
|
|
401
|
+
className: E,
|
|
399
402
|
icon: r,
|
|
400
|
-
children: [t, i ? /* @__PURE__ */
|
|
403
|
+
children: [t, i ? /* @__PURE__ */ X("span", {
|
|
401
404
|
className: "sr-only",
|
|
402
405
|
children: " (opens in a new tab)"
|
|
403
406
|
}) : null]
|
|
404
407
|
})
|
|
405
408
|
});
|
|
406
409
|
}
|
|
407
|
-
function
|
|
408
|
-
return /* @__PURE__ */
|
|
409
|
-
className:
|
|
410
|
+
function Ve({ children: e }) {
|
|
411
|
+
return /* @__PURE__ */ X("div", {
|
|
412
|
+
className: D,
|
|
410
413
|
children: e
|
|
411
414
|
});
|
|
412
415
|
}
|
|
413
|
-
function
|
|
414
|
-
return /* @__PURE__ */
|
|
416
|
+
function He({ label: t, variant: n = "thumb", className: r }) {
|
|
417
|
+
return /* @__PURE__ */ X("div", {
|
|
415
418
|
role: "img",
|
|
416
419
|
"aria-label": t,
|
|
417
|
-
className: e(s, o, n === "featured" ? "aspect-[16/10] w-full" :
|
|
420
|
+
className: e(s, o, n === "featured" ? "aspect-[16/10] w-full" : j, r)
|
|
418
421
|
});
|
|
419
422
|
}
|
|
420
|
-
function
|
|
421
|
-
return /* @__PURE__ */
|
|
423
|
+
function Ue({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
|
|
424
|
+
return /* @__PURE__ */ Z("div", {
|
|
422
425
|
className: "flex flex-col gap-1 type-body",
|
|
423
426
|
children: [
|
|
424
427
|
e,
|
|
425
|
-
/* @__PURE__ */
|
|
428
|
+
/* @__PURE__ */ X("h2", {
|
|
426
429
|
className: "type-heading-2 text-fg",
|
|
427
430
|
children: t
|
|
428
431
|
}),
|
|
429
|
-
n == null ? null : /* @__PURE__ */
|
|
432
|
+
n == null ? null : /* @__PURE__ */ X("p", {
|
|
430
433
|
className: "text-muted",
|
|
431
434
|
children: n
|
|
432
435
|
}),
|
|
433
|
-
/* @__PURE__ */
|
|
436
|
+
/* @__PURE__ */ X(i, {
|
|
434
437
|
href: r,
|
|
435
438
|
children: a
|
|
436
439
|
})
|
|
437
440
|
]
|
|
438
441
|
});
|
|
439
442
|
}
|
|
440
|
-
function
|
|
441
|
-
return /* @__PURE__ */
|
|
442
|
-
className:
|
|
443
|
-
children: [e, /* @__PURE__ */
|
|
443
|
+
function We({ media: e, title: t, description: n, href: r, linkLabel: a = "Read now" }) {
|
|
444
|
+
return /* @__PURE__ */ Z("div", {
|
|
445
|
+
className: A,
|
|
446
|
+
children: [e, /* @__PURE__ */ Z("div", {
|
|
444
447
|
className: "flex min-w-0 flex-col gap-1 type-body",
|
|
445
448
|
children: [
|
|
446
|
-
/* @__PURE__ */
|
|
449
|
+
/* @__PURE__ */ X("h3", {
|
|
447
450
|
className: "type-heading-3 text-fg",
|
|
448
451
|
children: t
|
|
449
452
|
}),
|
|
450
|
-
n == null ? null : /* @__PURE__ */
|
|
453
|
+
n == null ? null : /* @__PURE__ */ X("p", {
|
|
451
454
|
className: "text-muted",
|
|
452
455
|
children: n
|
|
453
456
|
}),
|
|
454
|
-
/* @__PURE__ */
|
|
457
|
+
/* @__PURE__ */ X(i, {
|
|
455
458
|
href: r,
|
|
456
459
|
children: a
|
|
457
460
|
})
|
|
@@ -459,28 +462,28 @@ function Ue({ media: e, title: t, description: n, href: r, linkLabel: a = "Read
|
|
|
459
462
|
})]
|
|
460
463
|
});
|
|
461
464
|
}
|
|
462
|
-
function
|
|
463
|
-
return /* @__PURE__ */
|
|
465
|
+
function Ge({ href: e, children: t, current: r = !1 }) {
|
|
466
|
+
return /* @__PURE__ */ X(n, {
|
|
464
467
|
role: "ghost",
|
|
465
468
|
size: "md",
|
|
466
|
-
render: /* @__PURE__ */
|
|
469
|
+
render: /* @__PURE__ */ X("a", { href: e }),
|
|
467
470
|
"aria-current": r ? "page" : void 0,
|
|
468
|
-
className:
|
|
471
|
+
className: I,
|
|
469
472
|
children: t
|
|
470
473
|
});
|
|
471
474
|
}
|
|
472
|
-
var
|
|
473
|
-
Brand:
|
|
474
|
-
Links:
|
|
475
|
-
Link:
|
|
476
|
-
Menu:
|
|
477
|
-
MenuSection:
|
|
478
|
-
MenuLink:
|
|
479
|
-
MenuLinkGrid:
|
|
480
|
-
MenuMedia:
|
|
481
|
-
Featured:
|
|
482
|
-
ReadRow:
|
|
483
|
-
MobileLink:
|
|
475
|
+
var Ke = Object.assign(Ae, {
|
|
476
|
+
Brand: je,
|
|
477
|
+
Links: Ie,
|
|
478
|
+
Link: Le,
|
|
479
|
+
Menu: Re,
|
|
480
|
+
MenuSection: ze,
|
|
481
|
+
MenuLink: Be,
|
|
482
|
+
MenuLinkGrid: Ve,
|
|
483
|
+
MenuMedia: He,
|
|
484
|
+
Featured: Ue,
|
|
485
|
+
ReadRow: We,
|
|
486
|
+
MobileLink: Ge
|
|
484
487
|
});
|
|
485
488
|
//#endregion
|
|
486
|
-
export {
|
|
489
|
+
export { Ke as SiteNav, m as siteNavCompactLayouts, g as siteNavDefaultCollapseAt, _ as siteNavDefaultCollapseRatio, ne as siteNavExpandedHeightClasses, A as siteNavMenuReadRowClasses, j as siteNavMenuReadThumbClasses, B as siteNavPlacements, H as siteNavStates };
|