@alfadocs/ui-kit 1.113.0 → 1.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
- package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
- package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
- package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
- package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
- package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
- package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
- package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
- package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
- package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
- package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-D7orCfJT.js} +2 -2
- package/dist/_chunks/map-view-Bny79cWa.js +856 -0
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
- package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
- package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
- package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
- package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DdtXBNjt.js} +2 -2
- package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
- package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-CGHz-Bvm.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
- package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
- package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
- package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
- package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
- package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
- package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-Lw9T7IXr.js} +2 -2
- package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-D2jwJPac.js} +21 -31
- package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
- package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
- package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DfbTjrEK.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
- package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
- package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
- package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
- package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
- package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
- package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
- package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
- package/dist/agent-catalog.json +6 -6
- package/dist/agent-i18n/en.json +2 -2
- package/dist/components/_shared/motion-is-off.d.ts +7 -0
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/step-focus.d.ts +0 -6
- package/dist/components/card/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +16 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +6 -2
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +15 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +23 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +7 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -0
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +2 -1
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +2 -1
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +2 -1
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +2 -1
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +2 -1
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +2 -1
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +2 -1
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +2 -1
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +2 -1
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +2 -1
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +2 -1
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +2 -1
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +2 -1
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +2 -1
- package/dist/index.js +60 -60
- package/dist/locales/ar.json +2 -1
- package/dist/locales/de.json +2 -1
- package/dist/locales/el.json +2 -1
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +2 -1
- package/dist/locales/fr.json +2 -1
- package/dist/locales/hi.json +2 -1
- package/dist/locales/it.json +2 -1
- package/dist/locales/ja.json +2 -1
- package/dist/locales/nl.json +2 -1
- package/dist/locales/pl.json +2 -1
- package/dist/locales/pt.json +2 -1
- package/dist/locales/ro.json +2 -1
- package/dist/locales/ru.json +2 -1
- package/dist/locales/sq.json +2 -1
- package/dist/locales/sv.json +2 -1
- package/dist/locales/tr.json +2 -1
- package/dist/locales/zh.json +2 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
- package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import * as
|
|
6
|
-
import { I as
|
|
7
|
-
import { S as
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as j } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, useId as oe, useState as b, useCallback as H, useImperativeHandle as ce, useContext as k, useEffect as M, useRef as B, createContext as le } from "react";
|
|
3
|
+
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ue } from "react-i18next";
|
|
5
|
+
import * as v from "@radix-ui/react-navigation-menu";
|
|
6
|
+
import { I as me } from "./icon-button-S8_weU3g.js";
|
|
7
|
+
import { S as g } from "./sheet-uZZXaO_S.js";
|
|
8
8
|
import { u as pe } from "./use-visual-viewport-pin-ChurOsHM.js";
|
|
9
|
-
import { C as
|
|
10
|
-
import { X as
|
|
11
|
-
import { M as
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
function
|
|
9
|
+
import { C as O } from "./chevron-down-DWE7GSq9.js";
|
|
10
|
+
import { X as ve } from "./x-B5YnXwCz.js";
|
|
11
|
+
import { M as fe } from "./menu-Op71AWIC.js";
|
|
12
|
+
const T = "--sticky-header-clearance", N = /* @__PURE__ */ new Map();
|
|
13
|
+
let V = "";
|
|
14
|
+
function S(s, a) {
|
|
15
15
|
if (typeof document > "u") return;
|
|
16
|
-
|
|
16
|
+
a === null ? N.delete(s) : N.set(s, a);
|
|
17
17
|
const d = N.size === 0 ? "" : `${Math.ceil(Math.max(...N.values()))}px`;
|
|
18
|
-
if (d ===
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
d ?
|
|
18
|
+
if (d === V) return;
|
|
19
|
+
V = d;
|
|
20
|
+
const n = document.documentElement;
|
|
21
|
+
d ? n.style.setProperty(T, d) : n.style.removeProperty(T);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const h = le("desktop"), ge = P(
|
|
24
24
|
[
|
|
25
25
|
"ds:w-full ds:z-[var(--z-sticky)]",
|
|
26
26
|
"ds:transition-[background-color,box-shadow,transform] ds:duration-[var(--animation-duration)]",
|
|
@@ -95,7 +95,7 @@ const g = ce("desktop"), fe = M(
|
|
|
95
95
|
},
|
|
96
96
|
defaultVariants: { variant: "pill", sticky: "none" }
|
|
97
97
|
}
|
|
98
|
-
),
|
|
98
|
+
), he = [
|
|
99
99
|
"ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
|
|
100
100
|
"ds:w-full ds:max-w-[1400px] ds:mx-auto",
|
|
101
101
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:sm:ps-[var(--spacing-lg)] ds:sm:pe-[var(--spacing-lg)]",
|
|
@@ -113,7 +113,7 @@ const g = ce("desktop"), fe = M(
|
|
|
113
113
|
"ds:border ds:border-[color:var(--card-border)]",
|
|
114
114
|
"ds:transition-colors ds:duration-[var(--animation-duration)]",
|
|
115
115
|
"ds:motion-reduce:transition-none"
|
|
116
|
-
].join(" "),
|
|
116
|
+
].join(" "), be = P(
|
|
117
117
|
[
|
|
118
118
|
"ds:inline-flex ds:items-center",
|
|
119
119
|
"type-body-sm ds:font-medium",
|
|
@@ -130,7 +130,7 @@ const g = ce("desktop"), fe = M(
|
|
|
130
130
|
"ds:data-[active=true]:text-[var(--primary)]",
|
|
131
131
|
"ds:data-[active=true]:[box-shadow:inset_0_-2px_0_var(--primary)]"
|
|
132
132
|
].join(" ")
|
|
133
|
-
),
|
|
133
|
+
), xe = [
|
|
134
134
|
"ds:group ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
135
135
|
"type-body-sm ds:font-medium",
|
|
136
136
|
// Mirror the navLinkVariants colour + inline padding so triggers and
|
|
@@ -144,12 +144,12 @@ const g = ce("desktop"), fe = M(
|
|
|
144
144
|
"ds:hover:text-[var(--primary)]",
|
|
145
145
|
"ds:data-[state=open]:text-[var(--primary)]",
|
|
146
146
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
147
|
-
].join(" "),
|
|
147
|
+
].join(" "), we = [
|
|
148
148
|
"ds:size-3 ds:shrink-0",
|
|
149
149
|
"ds:transition-transform ds:duration-[var(--animation-duration)]",
|
|
150
150
|
"ds:group-data-[state=open]:rotate-180",
|
|
151
151
|
"ds:motion-reduce:transition-none"
|
|
152
|
-
].join(" "),
|
|
152
|
+
].join(" "), ye = P(
|
|
153
153
|
[
|
|
154
154
|
// Radix portals Content into the Viewport; sizing + position is
|
|
155
155
|
// governed by the Viewport — keep Content's own paint to padding
|
|
@@ -175,7 +175,7 @@ const g = ce("desktop"), fe = M(
|
|
|
175
175
|
},
|
|
176
176
|
defaultVariants: { wide: !1 }
|
|
177
177
|
}
|
|
178
|
-
),
|
|
178
|
+
), Ne = [
|
|
179
179
|
// Position the Viewport flush below the pill / nav row. Radix sets
|
|
180
180
|
// `--radix-navigation-menu-viewport-width` and `…-height` so the
|
|
181
181
|
// panel sizes itself to whichever Content is currently active.
|
|
@@ -194,7 +194,7 @@ const g = ce("desktop"), fe = M(
|
|
|
194
194
|
"ds:data-[state=open]:zoom-in-95 ds:data-[state=closed]:zoom-out-95",
|
|
195
195
|
"ds:origin-top ds:transition-[width,height] ds:duration-[var(--animation-duration)]",
|
|
196
196
|
"ds:motion-reduce:animate-none ds:motion-reduce:transition-none"
|
|
197
|
-
].join(" "),
|
|
197
|
+
].join(" "), Y = [
|
|
198
198
|
"ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]",
|
|
199
199
|
"ds:no-underline ds:text-[var(--foreground)]",
|
|
200
200
|
"ds:pb-[var(--spacing-sm)]",
|
|
@@ -208,10 +208,10 @@ const g = ce("desktop"), fe = M(
|
|
|
208
208
|
"ds:hover:[&_[data-card-arrow]]:text-[var(--primary)]",
|
|
209
209
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
210
210
|
"ds:group/cardlink"
|
|
211
|
-
].join(" "),
|
|
211
|
+
].join(" "), ke = [
|
|
212
212
|
"ds:pb-[var(--spacing-sm)]"
|
|
213
213
|
// Match the linked-card variant: no separator rule under the title.
|
|
214
|
-
].join(" "),
|
|
214
|
+
].join(" "), Ce = [
|
|
215
215
|
"ds:block ds:no-underline",
|
|
216
216
|
"type-body-sm ds:font-medium ds:text-[var(--muted-foreground)]",
|
|
217
217
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -222,211 +222,221 @@ const g = ce("desktop"), fe = M(
|
|
|
222
222
|
"ds:data-[active=true]:text-[var(--primary)]",
|
|
223
223
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
224
224
|
].join(" ");
|
|
225
|
-
function
|
|
226
|
-
const [s,
|
|
227
|
-
return
|
|
225
|
+
function He() {
|
|
226
|
+
const [s, a] = b(() => typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
227
|
+
return M(() => {
|
|
228
228
|
if (typeof window > "u" || !window.matchMedia) return;
|
|
229
|
-
const d = window.matchMedia("(prefers-reduced-motion: reduce)"),
|
|
230
|
-
return d.addEventListener("change",
|
|
229
|
+
const d = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => a(d.matches);
|
|
230
|
+
return d.addEventListener("change", n), () => d.removeEventListener("change", n);
|
|
231
231
|
}, []), s;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
const [
|
|
235
|
-
return
|
|
233
|
+
function je(s, a, d) {
|
|
234
|
+
const [n, r] = b(!1), [c, t] = b(!1), i = B(0), m = B(!1);
|
|
235
|
+
return M(() => {
|
|
236
236
|
if (!s || typeof window > "u") return;
|
|
237
|
-
|
|
238
|
-
const
|
|
237
|
+
i.current = window.scrollY;
|
|
238
|
+
const l = () => {
|
|
239
239
|
const p = window.scrollY;
|
|
240
|
-
if (
|
|
241
|
-
const
|
|
242
|
-
|
|
240
|
+
if (r(p > d), a === "scroll-up") {
|
|
241
|
+
const f = p - i.current;
|
|
242
|
+
f > 4 && p > d ? t(!0) : (f < -4 || p <= d) && t(!1);
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
},
|
|
246
|
-
|
|
244
|
+
i.current = p, m.current = !1;
|
|
245
|
+
}, u = () => {
|
|
246
|
+
m.current || (m.current = !0, window.requestAnimationFrame(l));
|
|
247
247
|
};
|
|
248
|
-
return window.addEventListener("scroll",
|
|
249
|
-
window.removeEventListener("scroll",
|
|
248
|
+
return window.addEventListener("scroll", u, { passive: !0 }), l(), () => {
|
|
249
|
+
window.removeEventListener("scroll", u);
|
|
250
250
|
};
|
|
251
|
-
}, [s,
|
|
251
|
+
}, [s, a, d]), { stuck: n, hidden: c };
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
|
|
255
|
-
if (!s || !
|
|
256
|
-
const d = {},
|
|
257
|
-
const
|
|
258
|
-
|
|
253
|
+
function Me(s, a) {
|
|
254
|
+
M(() => {
|
|
255
|
+
if (!s || !a) return;
|
|
256
|
+
const d = {}, n = () => {
|
|
257
|
+
const c = parseFloat(getComputedStyle(s).top) || 0;
|
|
258
|
+
S(d, c + s.offsetHeight);
|
|
259
259
|
};
|
|
260
|
-
|
|
261
|
-
const
|
|
262
|
-
return
|
|
263
|
-
|
|
260
|
+
n();
|
|
261
|
+
const r = typeof ResizeObserver > "u" ? null : new ResizeObserver(n);
|
|
262
|
+
return r == null || r.observe(s), () => {
|
|
263
|
+
r == null || r.disconnect(), S(d, null);
|
|
264
264
|
};
|
|
265
|
-
}, [s,
|
|
265
|
+
}, [s, a]);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function A({
|
|
268
268
|
logo: s,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
269
|
+
compactLogo: a,
|
|
270
|
+
homeHref: d,
|
|
271
|
+
resolvedHomeLabel: n,
|
|
272
|
+
resolvedNavLabel: r,
|
|
273
|
+
resolvedMenuLabel: c,
|
|
274
|
+
navSlot: t,
|
|
275
|
+
actionsSlot: i,
|
|
276
|
+
persistActions: m,
|
|
277
|
+
menuOpen: l,
|
|
278
|
+
setMenuOpen: u,
|
|
279
|
+
sheetId: p
|
|
279
280
|
}) {
|
|
280
|
-
const
|
|
281
|
-
return /* @__PURE__ */
|
|
281
|
+
const f = !!t || !!i && !m;
|
|
282
|
+
return /* @__PURE__ */ o(j, { children: [
|
|
282
283
|
/* @__PURE__ */ e(
|
|
283
284
|
"a",
|
|
284
285
|
{
|
|
285
|
-
href:
|
|
286
|
-
"aria-label":
|
|
286
|
+
href: d,
|
|
287
|
+
"aria-label": n,
|
|
287
288
|
className: "ds:inline-flex ds:items-center ds:rounded-[var(--radius-sm)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
288
|
-
children:
|
|
289
|
+
children: a ? /* @__PURE__ */ o(j, { children: [
|
|
290
|
+
/* @__PURE__ */ e("span", { className: "ds:inline-flex ds:items-center ds:sm:hidden", children: a }),
|
|
291
|
+
/* @__PURE__ */ e("span", { className: "ds:hidden ds:items-center ds:sm:inline-flex", children: s })
|
|
292
|
+
] }) : s
|
|
289
293
|
}
|
|
290
294
|
),
|
|
291
|
-
|
|
292
|
-
|
|
295
|
+
t ? /* @__PURE__ */ e(h.Provider, { value: "desktop", children: /* @__PURE__ */ o(
|
|
296
|
+
v.Root,
|
|
293
297
|
{
|
|
294
|
-
"aria-label":
|
|
298
|
+
"aria-label": r,
|
|
295
299
|
className: "ds:hidden ds:md:flex ds:relative ds:items-center ds:ms-[var(--spacing-lg)] ds:flex-1 ds:[&>div:first-of-type]:flex ds:[&>div:first-of-type]:flex-1",
|
|
296
300
|
delayDuration: 150,
|
|
297
301
|
children: [
|
|
298
|
-
/* @__PURE__ */ e(
|
|
299
|
-
/* @__PURE__ */ e("div", { className: "ds:absolute ds:top-full ds:start-0 ds:end-0 ds:flex ds:justify-center ds:pointer-events-none", children: /* @__PURE__ */ e("div", { className: "ds:pointer-events-auto", children: /* @__PURE__ */ e(
|
|
302
|
+
/* @__PURE__ */ e(v.List, { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:gap-[var(--spacing-md)] ds:list-none ds:m-0 ds:ps-0", children: t }),
|
|
303
|
+
/* @__PURE__ */ e("div", { className: "ds:absolute ds:top-full ds:start-0 ds:end-0 ds:flex ds:justify-center ds:pointer-events-none", children: /* @__PURE__ */ e("div", { className: "ds:pointer-events-auto", children: /* @__PURE__ */ e(v.Viewport, { className: Ne }) }) })
|
|
300
304
|
]
|
|
301
305
|
}
|
|
302
306
|
) }) : null,
|
|
303
|
-
|
|
307
|
+
i ? /* @__PURE__ */ e(
|
|
304
308
|
"div",
|
|
305
309
|
{
|
|
306
310
|
className: [
|
|
307
311
|
// Pinned actions stay inline at every breakpoint; otherwise they
|
|
308
312
|
// are hidden < md and collapse into the mobile menu below.
|
|
309
|
-
|
|
313
|
+
// Pinned actions may shrink on a phone: a Button inside gives up its
|
|
314
|
+
// `shrink-0` and ellipsises its label rather than push the bar wider
|
|
315
|
+
// than the screen. Only the child that holds a Button may shrink; a
|
|
316
|
+
// wrapped settings or avatar control keeps its width.
|
|
317
|
+
m ? "ds:flex ds:min-w-0 ds:[&>*:has([data-component=button])]:min-w-0 ds:[&_[data-component=button]]:min-w-0 ds:[&_[data-component=button]]:shrink" : "ds:hidden ds:md:flex",
|
|
310
318
|
"ds:items-center ds:gap-[var(--spacing-sm)] ds:ms-auto"
|
|
311
319
|
].join(" "),
|
|
312
|
-
children:
|
|
320
|
+
children: i
|
|
313
321
|
}
|
|
314
322
|
) : null,
|
|
315
|
-
|
|
316
|
-
/* @__PURE__ */ e(
|
|
317
|
-
|
|
323
|
+
f ? /* @__PURE__ */ o(g, { open: l, onOpenChange: u, children: [
|
|
324
|
+
/* @__PURE__ */ e(g.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
325
|
+
me,
|
|
318
326
|
{
|
|
319
327
|
size: "md",
|
|
320
328
|
intent: "ghost",
|
|
321
329
|
className: "ds:ms-auto ds:md:hidden",
|
|
322
|
-
icon:
|
|
323
|
-
"aria-controls":
|
|
324
|
-
"aria-expanded":
|
|
325
|
-
"aria-label":
|
|
330
|
+
icon: l ? /* @__PURE__ */ e(ve, { "aria-hidden": "true" }) : /* @__PURE__ */ e(fe, { "aria-hidden": "true" }),
|
|
331
|
+
"aria-controls": p,
|
|
332
|
+
"aria-expanded": l,
|
|
333
|
+
"aria-label": c
|
|
326
334
|
}
|
|
327
335
|
) }),
|
|
328
|
-
/* @__PURE__ */
|
|
329
|
-
/* @__PURE__ */ e(
|
|
330
|
-
/* @__PURE__ */ e(
|
|
331
|
-
|
|
336
|
+
/* @__PURE__ */ o(g.Content, { side: "end", size: "md", id: p, children: [
|
|
337
|
+
/* @__PURE__ */ e(g.Header, { children: /* @__PURE__ */ e(g.Title, { children: r }) }),
|
|
338
|
+
/* @__PURE__ */ e(g.Body, { children: /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
339
|
+
t ? /* @__PURE__ */ e(h.Provider, { value: "mobile", children: /* @__PURE__ */ e(
|
|
332
340
|
"nav",
|
|
333
341
|
{
|
|
334
|
-
"aria-label":
|
|
342
|
+
"aria-label": r,
|
|
335
343
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
336
344
|
"data-mobile-nav": "true",
|
|
337
|
-
children:
|
|
345
|
+
children: t
|
|
338
346
|
}
|
|
339
347
|
) }) : null,
|
|
340
|
-
|
|
348
|
+
i && !m ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:mt-[var(--spacing-md)]", children: i }) : null
|
|
341
349
|
] }) })
|
|
342
350
|
] })
|
|
343
351
|
] }) : null
|
|
344
352
|
] });
|
|
345
353
|
}
|
|
346
|
-
const K =
|
|
354
|
+
const K = x(
|
|
347
355
|
({
|
|
348
356
|
logo: s,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
357
|
+
compactLogo: a,
|
|
358
|
+
homeHref: d = "/",
|
|
359
|
+
homeLabel: n,
|
|
360
|
+
navSlot: r,
|
|
361
|
+
actionsSlot: c,
|
|
362
|
+
variant: t = "pill",
|
|
363
|
+
sticky: i = "none",
|
|
364
|
+
stickyOffset: m = 80,
|
|
365
|
+
menuLabel: l,
|
|
366
|
+
navLabel: u,
|
|
367
|
+
persistActions: p = !1,
|
|
368
|
+
id: f,
|
|
369
|
+
className: X,
|
|
370
|
+
...G
|
|
371
|
+
}, J) => {
|
|
372
|
+
const { t: w } = ue("ui"), L = He(), Q = oe(), U = `${f ?? Q}-sheet`, [y, C] = b(!1), Z = t === "transparent" || i === "scroll-up", { stuck: ee, hidden: se } = je(
|
|
373
|
+
Z,
|
|
374
|
+
i,
|
|
375
|
+
m
|
|
376
|
+
), R = L ? !1 : se, D = pe({
|
|
377
|
+
disabled: i === "none" || R
|
|
378
|
+
}), [de, ne] = b(null), ae = H(
|
|
370
379
|
(I) => {
|
|
371
|
-
|
|
380
|
+
D(I), ne(I);
|
|
372
381
|
},
|
|
373
|
-
[
|
|
382
|
+
[D]
|
|
374
383
|
);
|
|
375
|
-
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
|
|
384
|
+
Me(de, i !== "none");
|
|
385
|
+
const _ = H(() => C(!0), []), E = H(() => C(!1), []);
|
|
386
|
+
ce(
|
|
387
|
+
J,
|
|
379
388
|
() => ({
|
|
380
|
-
openMenu:
|
|
389
|
+
openMenu: _,
|
|
381
390
|
closeMenu: E,
|
|
382
391
|
getMenuOpen: () => y
|
|
383
392
|
}),
|
|
384
|
-
[
|
|
393
|
+
[_, E, y]
|
|
385
394
|
);
|
|
386
|
-
const
|
|
395
|
+
const re = n ?? w("publicHeader.homeLabel", "AlfaDocs — home"), te = u ?? w("publicHeader.primaryNavLabel", "Primary"), ie = l ?? (y ? w("publicHeader.closeMenu", "Close menu") : w("publicHeader.openMenu", "Open menu")), z = {
|
|
387
396
|
logo: s,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
397
|
+
compactLogo: a,
|
|
398
|
+
homeHref: d,
|
|
399
|
+
resolvedHomeLabel: re,
|
|
400
|
+
resolvedNavLabel: te,
|
|
401
|
+
resolvedMenuLabel: ie,
|
|
402
|
+
navSlot: r,
|
|
403
|
+
actionsSlot: c,
|
|
404
|
+
persistActions: p,
|
|
395
405
|
menuOpen: y,
|
|
396
406
|
setMenuOpen: C,
|
|
397
|
-
sheetId:
|
|
407
|
+
sheetId: U
|
|
398
408
|
};
|
|
399
409
|
return /* @__PURE__ */ e(
|
|
400
410
|
"header",
|
|
401
411
|
{
|
|
402
|
-
...
|
|
412
|
+
...G,
|
|
403
413
|
ref: ae,
|
|
404
414
|
"data-component": "public-header",
|
|
405
|
-
"data-component-id":
|
|
406
|
-
"data-variant":
|
|
407
|
-
"data-sticky":
|
|
408
|
-
"data-stuck":
|
|
409
|
-
"data-hidden":
|
|
410
|
-
"data-state":
|
|
411
|
-
className:
|
|
412
|
-
children:
|
|
415
|
+
"data-component-id": f,
|
|
416
|
+
"data-variant": t,
|
|
417
|
+
"data-sticky": i === "none" ? void 0 : i,
|
|
418
|
+
"data-stuck": ee ? "true" : void 0,
|
|
419
|
+
"data-hidden": R ? "true" : void 0,
|
|
420
|
+
"data-state": L ? "reduced-motion" : void 0,
|
|
421
|
+
className: ge({ variant: t, sticky: i, className: X }),
|
|
422
|
+
children: t === "pill" ? /* @__PURE__ */ e(
|
|
413
423
|
"div",
|
|
414
424
|
{
|
|
415
425
|
"data-component": "public-header-container",
|
|
416
|
-
className:
|
|
417
|
-
children: /* @__PURE__ */ e(
|
|
426
|
+
className: he,
|
|
427
|
+
children: /* @__PURE__ */ e(A, { ...z })
|
|
418
428
|
}
|
|
419
|
-
) : /* @__PURE__ */ e(
|
|
429
|
+
) : /* @__PURE__ */ e(A, { ...z })
|
|
420
430
|
}
|
|
421
431
|
);
|
|
422
432
|
}
|
|
423
433
|
);
|
|
424
434
|
K.displayName = "PublicHeader";
|
|
425
|
-
const F =
|
|
435
|
+
const F = x(({ active: s, className: a, children: d, ...n }, r) => k(h) === "mobile" ? /* @__PURE__ */ e(
|
|
426
436
|
"a",
|
|
427
437
|
{
|
|
428
|
-
ref:
|
|
429
|
-
...
|
|
438
|
+
ref: r,
|
|
439
|
+
...n,
|
|
430
440
|
"data-active": s ? "true" : void 0,
|
|
431
441
|
"aria-current": s ? "page" : void 0,
|
|
432
442
|
className: [
|
|
@@ -440,30 +450,30 @@ const F = b(({ active: s, className: n, children: d, ...a }, t) => k(g) === "mob
|
|
|
440
450
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
441
451
|
"ds:data-[active=true]:text-[var(--primary)]",
|
|
442
452
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
443
|
-
|
|
453
|
+
a
|
|
444
454
|
].filter(Boolean).join(" "),
|
|
445
455
|
children: d
|
|
446
456
|
}
|
|
447
|
-
) : /* @__PURE__ */ e(
|
|
457
|
+
) : /* @__PURE__ */ e(v.Item, { children: /* @__PURE__ */ e(v.Link, { asChild: !0, active: s, children: /* @__PURE__ */ e(
|
|
448
458
|
"a",
|
|
449
459
|
{
|
|
450
|
-
ref:
|
|
451
|
-
...
|
|
460
|
+
ref: r,
|
|
461
|
+
...n,
|
|
452
462
|
"data-active": s ? "true" : void 0,
|
|
453
463
|
"aria-current": s ? "page" : void 0,
|
|
454
|
-
className: [
|
|
464
|
+
className: [be(), a].filter(Boolean).join(" "),
|
|
455
465
|
children: d
|
|
456
466
|
}
|
|
457
467
|
) }) }));
|
|
458
468
|
F.displayName = "PublicHeader.NavLink";
|
|
459
|
-
const q =
|
|
469
|
+
const q = x(({ label: s, wide: a = !1, children: d, id: n }, r) => k(h) === "mobile" ? /* @__PURE__ */ o(
|
|
460
470
|
"details",
|
|
461
471
|
{
|
|
462
|
-
id:
|
|
472
|
+
id: n,
|
|
463
473
|
"data-component": "public-header-nav-dropdown",
|
|
464
474
|
className: "ds:group ds:border-b ds:border-[color:var(--border)]",
|
|
465
475
|
children: [
|
|
466
|
-
/* @__PURE__ */
|
|
476
|
+
/* @__PURE__ */ o(
|
|
467
477
|
"summary",
|
|
468
478
|
{
|
|
469
479
|
className: [
|
|
@@ -477,7 +487,7 @@ const q = b(({ label: s, wide: n = !1, children: d, id: a }, t) => k(g) === "mob
|
|
|
477
487
|
children: [
|
|
478
488
|
/* @__PURE__ */ e("span", { children: s }),
|
|
479
489
|
/* @__PURE__ */ e(
|
|
480
|
-
|
|
490
|
+
O,
|
|
481
491
|
{
|
|
482
492
|
"aria-hidden": "true",
|
|
483
493
|
className: "ds:size-3 ds:shrink-0 ds:transition-transform ds:duration-[var(--animation-duration)] ds:group-[[open]]:rotate-180 ds:motion-reduce:transition-none"
|
|
@@ -489,39 +499,39 @@ const q = b(({ label: s, wide: n = !1, children: d, id: a }, t) => k(g) === "mob
|
|
|
489
499
|
/* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]", children: d })
|
|
490
500
|
]
|
|
491
501
|
}
|
|
492
|
-
) : /* @__PURE__ */
|
|
493
|
-
/* @__PURE__ */
|
|
494
|
-
|
|
502
|
+
) : /* @__PURE__ */ o(v.Item, { "data-component": "public-header-nav-dropdown", children: [
|
|
503
|
+
/* @__PURE__ */ o(
|
|
504
|
+
v.Trigger,
|
|
495
505
|
{
|
|
496
|
-
ref:
|
|
497
|
-
id:
|
|
498
|
-
className:
|
|
506
|
+
ref: r,
|
|
507
|
+
id: n,
|
|
508
|
+
className: xe,
|
|
499
509
|
children: [
|
|
500
510
|
s,
|
|
501
|
-
/* @__PURE__ */ e(
|
|
511
|
+
/* @__PURE__ */ e(O, { "aria-hidden": "true", className: we })
|
|
502
512
|
]
|
|
503
513
|
}
|
|
504
514
|
),
|
|
505
515
|
/* @__PURE__ */ e(
|
|
506
|
-
|
|
516
|
+
v.Content,
|
|
507
517
|
{
|
|
508
|
-
className:
|
|
518
|
+
className: ye({ wide: a }),
|
|
509
519
|
children: d
|
|
510
520
|
}
|
|
511
521
|
)
|
|
512
522
|
] }));
|
|
513
523
|
q.displayName = "PublicHeader.NavDropdown";
|
|
514
|
-
const W =
|
|
515
|
-
const
|
|
524
|
+
const W = x(({ href: s, title: a, subtitle: d, children: n }, r) => {
|
|
525
|
+
const c = k(h), t = /* @__PURE__ */ e(
|
|
516
526
|
"span",
|
|
517
527
|
{
|
|
518
528
|
"data-card-title": !0,
|
|
519
529
|
className: "type-title-card ds:text-[var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
520
|
-
children:
|
|
530
|
+
children: a
|
|
521
531
|
}
|
|
522
|
-
),
|
|
523
|
-
/* @__PURE__ */
|
|
524
|
-
|
|
532
|
+
), l = /* @__PURE__ */ o(j, { children: [
|
|
533
|
+
/* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
534
|
+
t,
|
|
525
535
|
d ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: d }) : null
|
|
526
536
|
] }),
|
|
527
537
|
/* @__PURE__ */ e(
|
|
@@ -530,7 +540,7 @@ const W = b(({ href: s, title: n, subtitle: d, children: a }, t) => {
|
|
|
530
540
|
"data-card-arrow": !0,
|
|
531
541
|
"aria-hidden": "true",
|
|
532
542
|
className: "ds:flex-none ds:text-[var(--muted-foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none ds:rtl:-scale-x-100",
|
|
533
|
-
children: /* @__PURE__ */
|
|
543
|
+
children: /* @__PURE__ */ o(
|
|
534
544
|
"svg",
|
|
535
545
|
{
|
|
536
546
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -551,45 +561,45 @@ const W = b(({ href: s, title: n, subtitle: d, children: a }, t) => {
|
|
|
551
561
|
}
|
|
552
562
|
)
|
|
553
563
|
] });
|
|
554
|
-
let
|
|
555
|
-
return s ?
|
|
556
|
-
|
|
564
|
+
let u;
|
|
565
|
+
return s ? c === "mobile" ? u = /* @__PURE__ */ e("a", { href: s, className: Y, children: l }) : u = /* @__PURE__ */ e(v.Link, { asChild: !0, children: /* @__PURE__ */ e("a", { href: s, className: Y, children: l }) }) : u = /* @__PURE__ */ o("div", { className: ke, children: [
|
|
566
|
+
t,
|
|
557
567
|
d ? /* @__PURE__ */ e("span", { className: "ds:block type-body-sm ds:text-[var(--muted-foreground)] ds:mt-[var(--spacing-xs)]", children: d }) : null
|
|
558
|
-
] }), /* @__PURE__ */
|
|
568
|
+
] }), /* @__PURE__ */ o(
|
|
559
569
|
"div",
|
|
560
570
|
{
|
|
561
|
-
ref:
|
|
571
|
+
ref: r,
|
|
562
572
|
"data-component": "public-header-dropdown-card",
|
|
563
573
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
564
574
|
children: [
|
|
565
|
-
|
|
566
|
-
|
|
575
|
+
u,
|
|
576
|
+
n ? /* @__PURE__ */ e("ul", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:list-none ds:m-0 ds:ps-0", children: n }) : null
|
|
567
577
|
]
|
|
568
578
|
}
|
|
569
579
|
);
|
|
570
580
|
});
|
|
571
581
|
W.displayName = "PublicHeader.DropdownCard";
|
|
572
|
-
const $ =
|
|
573
|
-
const
|
|
582
|
+
const $ = x(({ active: s, className: a, children: d, ...n }, r) => {
|
|
583
|
+
const c = k(h), t = /* @__PURE__ */ e(
|
|
574
584
|
"a",
|
|
575
585
|
{
|
|
576
|
-
ref:
|
|
577
|
-
...
|
|
586
|
+
ref: r,
|
|
587
|
+
...n,
|
|
578
588
|
"data-active": s ? "true" : void 0,
|
|
579
589
|
"aria-current": s ? "page" : void 0,
|
|
580
|
-
className: [
|
|
590
|
+
className: [Ce, a].filter(Boolean).join(" "),
|
|
581
591
|
children: d
|
|
582
592
|
}
|
|
583
593
|
);
|
|
584
|
-
return /* @__PURE__ */ e("li", { "data-component": "public-header-dropdown-link", children:
|
|
594
|
+
return /* @__PURE__ */ e("li", { "data-component": "public-header-dropdown-link", children: c === "mobile" ? t : /* @__PURE__ */ e(v.Link, { asChild: !0, active: s, children: t }) });
|
|
585
595
|
});
|
|
586
596
|
$.displayName = "PublicHeader.DropdownLink";
|
|
587
|
-
const
|
|
597
|
+
const Te = Object.assign(K, {
|
|
588
598
|
NavLink: F,
|
|
589
599
|
NavDropdown: q,
|
|
590
600
|
DropdownCard: W,
|
|
591
601
|
DropdownLink: $
|
|
592
|
-
}),
|
|
602
|
+
}), Ve = {
|
|
593
603
|
id: "public-header",
|
|
594
604
|
capabilities: ["open", "close"],
|
|
595
605
|
state: {
|
|
@@ -630,7 +640,7 @@ const Oe = Object.assign(K, {
|
|
|
630
640
|
}
|
|
631
641
|
};
|
|
632
642
|
export {
|
|
633
|
-
|
|
634
|
-
|
|
643
|
+
Te as P,
|
|
644
|
+
Ve as p
|
|
635
645
|
};
|
|
636
|
-
//# sourceMappingURL=public-header.agent-
|
|
646
|
+
//# sourceMappingURL=public-header.agent-Db4wm6_S.js.map
|