@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.
Files changed (192) hide show
  1. package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
  2. package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
  4. package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
  5. package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
  6. package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
  7. package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
  8. package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
  9. package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
  10. package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
  11. package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
  12. package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
  13. package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
  14. package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
  15. package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
  16. package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
  17. package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
  18. package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
  19. package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
  20. package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
  21. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
  22. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
  23. package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
  24. package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
  25. package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-D7orCfJT.js} +2 -2
  26. package/dist/_chunks/map-view-Bny79cWa.js +856 -0
  27. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
  28. package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
  29. package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
  30. package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
  31. package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DdtXBNjt.js} +2 -2
  32. package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
  33. package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-CGHz-Bvm.js} +2 -2
  34. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
  35. package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
  36. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
  37. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
  38. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
  39. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
  40. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
  41. package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
  42. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
  43. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
  44. package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
  45. package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
  46. package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
  47. package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-Lw9T7IXr.js} +2 -2
  48. package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-D2jwJPac.js} +21 -31
  49. package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
  50. package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
  51. package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
  52. package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DfbTjrEK.js} +2 -2
  53. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
  54. package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
  55. package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
  56. package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
  57. package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
  58. package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
  59. package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
  60. package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
  61. package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
  62. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
  63. package/dist/agent-catalog.json +6 -6
  64. package/dist/agent-i18n/en.json +2 -2
  65. package/dist/components/_shared/motion-is-off.d.ts +7 -0
  66. package/dist/components/anamnesis-card/index.js +1 -1
  67. package/dist/components/anamnesis-summary-card/index.js +1 -1
  68. package/dist/components/appointment-details-panel/index.js +1 -1
  69. package/dist/components/bishop-score/index.js +1 -1
  70. package/dist/components/bmi-calculator/index.js +1 -1
  71. package/dist/components/booking/index.js +1 -1
  72. package/dist/components/booking/step-focus.d.ts +0 -6
  73. package/dist/components/card/index.js +1 -1
  74. package/dist/components/clinical-note-card/index.js +1 -1
  75. package/dist/components/connection-status/index.js +1 -1
  76. package/dist/components/contact-card/index.js +1 -1
  77. package/dist/components/contact-profile-card/index.js +1 -1
  78. package/dist/components/cycle-calculator/index.js +1 -1
  79. package/dist/components/document-preview/index.js +1 -1
  80. package/dist/components/due-date-calculator/index.js +2 -2
  81. package/dist/components/entity-summary/index.js +1 -1
  82. package/dist/components/face-scheme/index.js +1 -1
  83. package/dist/components/fetal-weight/index.js +1 -1
  84. package/dist/components/finished-terminal/index.js +1 -1
  85. package/dist/components/gestational-age-calculator/index.js +1 -1
  86. package/dist/components/hcg-doubling/index.js +1 -1
  87. package/dist/components/heatmap/index.js +1 -1
  88. package/dist/components/map-view/index.js +1 -1
  89. package/dist/components/map-view/map-view.d.ts +16 -0
  90. package/dist/components/notes-panel/index.js +1 -1
  91. package/dist/components/operator-hero/index.js +1 -1
  92. package/dist/components/patient-details/index.js +1 -1
  93. package/dist/components/patient-search/index.js +1 -1
  94. package/dist/components/patient-search/patient-search.d.ts +6 -2
  95. package/dist/components/patient-summary-card/index.js +1 -1
  96. package/dist/components/payment-card/index.js +1 -1
  97. package/dist/components/periodontal-chart/index.js +1 -1
  98. package/dist/components/periodontal-chart-card/index.js +1 -1
  99. package/dist/components/periodontal-diagnosis/index.js +1 -1
  100. package/dist/components/periodontal-risk-chart/index.js +1 -1
  101. package/dist/components/practice-profile-hero/index.js +1 -1
  102. package/dist/components/practice-results/index.js +1 -1
  103. package/dist/components/practice-results/practice-results.d.ts +15 -2
  104. package/dist/components/pregnancy-dating/index.js +1 -1
  105. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  106. package/dist/components/public-footer/index.js +1 -1
  107. package/dist/components/public-footer/public-footer.d.ts +23 -0
  108. package/dist/components/public-header/index.js +1 -1
  109. package/dist/components/public-header/public-header.d.ts +7 -0
  110. package/dist/components/reviews-panel/index.js +1 -1
  111. package/dist/components/rich-text-editor/index.js +1 -1
  112. package/dist/components/section-card/index.js +1 -1
  113. package/dist/components/stat/index.js +1 -1
  114. package/dist/components/stat/stat.d.ts +7 -0
  115. package/dist/components/task-card/index.js +1 -1
  116. package/dist/components/task-editor/index.js +1 -1
  117. package/dist/components/task-tray/index.js +1 -1
  118. package/dist/components/tasks-panel/index.js +1 -1
  119. package/dist/components/timeline/index.js +1 -1
  120. package/dist/components/workflow/index.js +1 -1
  121. package/dist/core.css +1 -1
  122. package/dist/host-compat.css +4 -1
  123. package/dist/i18n/locales/ar.d.ts +1 -0
  124. package/dist/i18n/locales/ar.js +2 -1
  125. package/dist/i18n/locales/de.d.ts +1 -0
  126. package/dist/i18n/locales/de.js +2 -1
  127. package/dist/i18n/locales/el.d.ts +1 -0
  128. package/dist/i18n/locales/el.js +2 -1
  129. package/dist/i18n/locales/en.d.ts +1 -0
  130. package/dist/i18n/locales/en.js +1 -0
  131. package/dist/i18n/locales/es.d.ts +1 -0
  132. package/dist/i18n/locales/es.js +2 -1
  133. package/dist/i18n/locales/fr.d.ts +1 -0
  134. package/dist/i18n/locales/fr.js +2 -1
  135. package/dist/i18n/locales/hi.d.ts +1 -0
  136. package/dist/i18n/locales/hi.js +2 -1
  137. package/dist/i18n/locales/it.d.ts +1 -0
  138. package/dist/i18n/locales/it.js +2 -1
  139. package/dist/i18n/locales/ja.d.ts +1 -0
  140. package/dist/i18n/locales/ja.js +2 -1
  141. package/dist/i18n/locales/nl.d.ts +1 -0
  142. package/dist/i18n/locales/nl.js +2 -1
  143. package/dist/i18n/locales/pl.d.ts +1 -0
  144. package/dist/i18n/locales/pl.js +2 -1
  145. package/dist/i18n/locales/pt.d.ts +1 -0
  146. package/dist/i18n/locales/pt.js +2 -1
  147. package/dist/i18n/locales/ro.d.ts +1 -0
  148. package/dist/i18n/locales/ro.js +2 -1
  149. package/dist/i18n/locales/ru.d.ts +1 -0
  150. package/dist/i18n/locales/ru.js +2 -1
  151. package/dist/i18n/locales/sq.d.ts +1 -0
  152. package/dist/i18n/locales/sq.js +2 -1
  153. package/dist/i18n/locales/sv.d.ts +1 -0
  154. package/dist/i18n/locales/sv.js +2 -1
  155. package/dist/i18n/locales/tr.d.ts +1 -0
  156. package/dist/i18n/locales/tr.js +2 -1
  157. package/dist/i18n/locales/zh.d.ts +1 -0
  158. package/dist/i18n/locales/zh.js +2 -1
  159. package/dist/index.js +60 -60
  160. package/dist/locales/ar.json +2 -1
  161. package/dist/locales/de.json +2 -1
  162. package/dist/locales/el.json +2 -1
  163. package/dist/locales/en.json +1 -0
  164. package/dist/locales/es.json +2 -1
  165. package/dist/locales/fr.json +2 -1
  166. package/dist/locales/hi.json +2 -1
  167. package/dist/locales/it.json +2 -1
  168. package/dist/locales/ja.json +2 -1
  169. package/dist/locales/nl.json +2 -1
  170. package/dist/locales/pl.json +2 -1
  171. package/dist/locales/pt.json +2 -1
  172. package/dist/locales/ro.json +2 -1
  173. package/dist/locales/ru.json +2 -1
  174. package/dist/locales/sq.json +2 -1
  175. package/dist/locales/sv.json +2 -1
  176. package/dist/locales/tr.json +2 -1
  177. package/dist/locales/zh.json +2 -1
  178. package/dist/patterns/anamnesis/index.js +1 -1
  179. package/dist/patterns/calendar/index.js +1 -1
  180. package/dist/patterns/forgot-password-form/index.js +1 -1
  181. package/dist/patterns/login-form/index.js +1 -1
  182. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  183. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  184. package/dist/patterns/registration-form/index.js +1 -1
  185. package/dist/patterns/reset-password-form/index.js +1 -1
  186. package/dist/patterns/send-registration-link-form/index.js +1 -1
  187. package/dist/patterns/signed-out-frame/index.js +1 -1
  188. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  189. package/dist/tokens.css +1 -1
  190. package/package.json +1 -1
  191. package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
  192. package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
@@ -1,26 +1,26 @@
1
- import { jsx as e, jsxs as i, Fragment as A } from "react/jsx-runtime";
2
- import { forwardRef as b, useId as oe, useState as h, useCallback as H, useImperativeHandle as ie, useContext as k, useEffect as j, useRef as _, createContext as ce } from "react";
3
- import { c as M } from "./index-D2ZczOXr.js";
4
- import { useTranslation as le } from "react-i18next";
5
- import * as m from "@radix-ui/react-navigation-menu";
6
- import { I as ue } from "./icon-button-S8_weU3g.js";
7
- import { S as f } from "./sheet-uZZXaO_S.js";
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 B } from "./chevron-down-DWE7GSq9.js";
10
- import { X as me } from "./x-B5YnXwCz.js";
11
- import { M as ve } from "./menu-Op71AWIC.js";
12
- const O = "--sticky-header-clearance", N = /* @__PURE__ */ new Map();
13
- let T = "";
14
- function V(s, n) {
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
- n === null ? N.delete(s) : N.set(s, n);
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 === T) return;
19
- T = d;
20
- const a = document.documentElement;
21
- d ? a.style.setProperty(O, d) : a.style.removeProperty(O);
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 g = ce("desktop"), fe = M(
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
- ), ge = [
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(" "), he = M(
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
- ), be = [
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(" "), xe = [
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(" "), we = M(
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
- ), ye = [
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(" "), S = [
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(" "), Ne = [
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(" "), ke = [
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 Ce() {
226
- const [s, n] = h(() => typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
227
- return j(() => {
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)"), a = () => n(d.matches);
230
- return d.addEventListener("change", a), () => d.removeEventListener("change", a);
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 He(s, n, d) {
234
- const [a, t] = h(!1), [o, r] = h(!1), l = _(0), u = _(!1);
235
- return j(() => {
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
- l.current = window.scrollY;
238
- const v = () => {
237
+ i.current = window.scrollY;
238
+ const l = () => {
239
239
  const p = window.scrollY;
240
- if (t(p > d), n === "scroll-up") {
241
- const x = p - l.current;
242
- x > 4 && p > d ? r(!0) : (x < -4 || p <= d) && r(!1);
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
- l.current = p, u.current = !1;
245
- }, c = () => {
246
- u.current || (u.current = !0, window.requestAnimationFrame(v));
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", c, { passive: !0 }), v(), () => {
249
- window.removeEventListener("scroll", c);
248
+ return window.addEventListener("scroll", u, { passive: !0 }), l(), () => {
249
+ window.removeEventListener("scroll", u);
250
250
  };
251
- }, [s, n, d]), { stuck: a, hidden: o };
251
+ }, [s, a, d]), { stuck: n, hidden: c };
252
252
  }
253
- function je(s, n) {
254
- j(() => {
255
- if (!s || !n) return;
256
- const d = {}, a = () => {
257
- const o = parseFloat(getComputedStyle(s).top) || 0;
258
- V(d, o + s.offsetHeight);
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
- a();
261
- const t = typeof ResizeObserver > "u" ? null : new ResizeObserver(a);
262
- return t == null || t.observe(s), () => {
263
- t == null || t.disconnect(), V(d, null);
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, n]);
265
+ }, [s, a]);
266
266
  }
267
- function Y({
267
+ function A({
268
268
  logo: s,
269
- homeHref: n,
270
- resolvedHomeLabel: d,
271
- resolvedNavLabel: a,
272
- resolvedMenuLabel: t,
273
- navSlot: o,
274
- actionsSlot: r,
275
- persistActions: l,
276
- menuOpen: u,
277
- setMenuOpen: v,
278
- sheetId: c
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 p = !!o || !!r && !l;
281
- return /* @__PURE__ */ i(A, { children: [
281
+ const f = !!t || !!i && !m;
282
+ return /* @__PURE__ */ o(j, { children: [
282
283
  /* @__PURE__ */ e(
283
284
  "a",
284
285
  {
285
- href: n,
286
- "aria-label": d,
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: s
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
- o ? /* @__PURE__ */ e(g.Provider, { value: "desktop", children: /* @__PURE__ */ i(
292
- m.Root,
295
+ t ? /* @__PURE__ */ e(h.Provider, { value: "desktop", children: /* @__PURE__ */ o(
296
+ v.Root,
293
297
  {
294
- "aria-label": a,
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(m.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: o }),
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(m.Viewport, { className: ye }) }) })
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
- r ? /* @__PURE__ */ e(
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
- l ? "ds:flex" : "ds:hidden ds:md:flex",
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: r
320
+ children: i
313
321
  }
314
322
  ) : null,
315
- p ? /* @__PURE__ */ i(f, { open: u, onOpenChange: v, children: [
316
- /* @__PURE__ */ e(f.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
317
- ue,
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: u ? /* @__PURE__ */ e(me, { "aria-hidden": "true" }) : /* @__PURE__ */ e(ve, { "aria-hidden": "true" }),
323
- "aria-controls": c,
324
- "aria-expanded": u,
325
- "aria-label": t
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__ */ i(f.Content, { side: "end", size: "md", id: c, children: [
329
- /* @__PURE__ */ e(f.Header, { children: /* @__PURE__ */ e(f.Title, { children: a }) }),
330
- /* @__PURE__ */ e(f.Body, { children: /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
331
- o ? /* @__PURE__ */ e(g.Provider, { value: "mobile", children: /* @__PURE__ */ e(
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": a,
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: o
345
+ children: t
338
346
  }
339
347
  ) }) : null,
340
- r && !l ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:mt-[var(--spacing-md)]", children: r }) : null
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 = b(
354
+ const K = x(
347
355
  ({
348
356
  logo: s,
349
- homeHref: n = "/",
350
- homeLabel: d,
351
- navSlot: a,
352
- actionsSlot: t,
353
- variant: o = "pill",
354
- sticky: r = "none",
355
- stickyOffset: l = 80,
356
- menuLabel: u,
357
- navLabel: v,
358
- persistActions: c = !1,
359
- id: p,
360
- className: x,
361
- ...X
362
- }, G) => {
363
- const { t: w } = le("ui"), P = Ce(), J = oe(), Q = `${p ?? J}-sheet`, [y, C] = h(!1), U = o === "transparent" || r === "scroll-up", { stuck: Z, hidden: ee } = He(
364
- U,
365
- r,
366
- l
367
- ), L = P ? !1 : ee, R = pe({
368
- disabled: r === "none" || L
369
- }), [se, de] = h(null), ae = H(
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
- R(I), de(I);
380
+ D(I), ne(I);
372
381
  },
373
- [R]
382
+ [D]
374
383
  );
375
- je(se, r !== "none");
376
- const D = H(() => C(!0), []), E = H(() => C(!1), []);
377
- ie(
378
- G,
384
+ Me(de, i !== "none");
385
+ const _ = H(() => C(!0), []), E = H(() => C(!1), []);
386
+ ce(
387
+ J,
379
388
  () => ({
380
- openMenu: D,
389
+ openMenu: _,
381
390
  closeMenu: E,
382
391
  getMenuOpen: () => y
383
392
  }),
384
- [D, E, y]
393
+ [_, E, y]
385
394
  );
386
- const ne = d ?? w("publicHeader.homeLabel", "AlfaDocs — home"), re = v ?? w("publicHeader.primaryNavLabel", "Primary"), te = u ?? (y ? w("publicHeader.closeMenu", "Close menu") : w("publicHeader.openMenu", "Open menu")), z = {
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
- homeHref: n,
389
- resolvedHomeLabel: ne,
390
- resolvedNavLabel: re,
391
- resolvedMenuLabel: te,
392
- navSlot: a,
393
- actionsSlot: t,
394
- persistActions: c,
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: Q
407
+ sheetId: U
398
408
  };
399
409
  return /* @__PURE__ */ e(
400
410
  "header",
401
411
  {
402
- ...X,
412
+ ...G,
403
413
  ref: ae,
404
414
  "data-component": "public-header",
405
- "data-component-id": p,
406
- "data-variant": o,
407
- "data-sticky": r === "none" ? void 0 : r,
408
- "data-stuck": Z ? "true" : void 0,
409
- "data-hidden": L ? "true" : void 0,
410
- "data-state": P ? "reduced-motion" : void 0,
411
- className: fe({ variant: o, sticky: r, className: x }),
412
- children: o === "pill" ? /* @__PURE__ */ e(
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: ge,
417
- children: /* @__PURE__ */ e(Y, { ...z })
426
+ className: he,
427
+ children: /* @__PURE__ */ e(A, { ...z })
418
428
  }
419
- ) : /* @__PURE__ */ e(Y, { ...z })
429
+ ) : /* @__PURE__ */ e(A, { ...z })
420
430
  }
421
431
  );
422
432
  }
423
433
  );
424
434
  K.displayName = "PublicHeader";
425
- const F = b(({ active: s, className: n, children: d, ...a }, t) => k(g) === "mobile" ? /* @__PURE__ */ e(
435
+ const F = x(({ active: s, className: a, children: d, ...n }, r) => k(h) === "mobile" ? /* @__PURE__ */ e(
426
436
  "a",
427
437
  {
428
- ref: t,
429
- ...a,
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
- n
453
+ a
444
454
  ].filter(Boolean).join(" "),
445
455
  children: d
446
456
  }
447
- ) : /* @__PURE__ */ e(m.Item, { children: /* @__PURE__ */ e(m.Link, { asChild: !0, active: s, children: /* @__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: t,
451
- ...a,
460
+ ref: r,
461
+ ...n,
452
462
  "data-active": s ? "true" : void 0,
453
463
  "aria-current": s ? "page" : void 0,
454
- className: [he(), n].filter(Boolean).join(" "),
464
+ className: [be(), a].filter(Boolean).join(" "),
455
465
  children: d
456
466
  }
457
467
  ) }) }));
458
468
  F.displayName = "PublicHeader.NavLink";
459
- const q = b(({ label: s, wide: n = !1, children: d, id: a }, t) => k(g) === "mobile" ? /* @__PURE__ */ i(
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: a,
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__ */ i(
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
- B,
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__ */ i(m.Item, { "data-component": "public-header-nav-dropdown", children: [
493
- /* @__PURE__ */ i(
494
- m.Trigger,
502
+ ) : /* @__PURE__ */ o(v.Item, { "data-component": "public-header-nav-dropdown", children: [
503
+ /* @__PURE__ */ o(
504
+ v.Trigger,
495
505
  {
496
- ref: t,
497
- id: a,
498
- className: be,
506
+ ref: r,
507
+ id: n,
508
+ className: xe,
499
509
  children: [
500
510
  s,
501
- /* @__PURE__ */ e(B, { "aria-hidden": "true", className: xe })
511
+ /* @__PURE__ */ e(O, { "aria-hidden": "true", className: we })
502
512
  ]
503
513
  }
504
514
  ),
505
515
  /* @__PURE__ */ e(
506
- m.Content,
516
+ v.Content,
507
517
  {
508
- className: we({ wide: n }),
518
+ className: ye({ wide: a }),
509
519
  children: d
510
520
  }
511
521
  )
512
522
  ] }));
513
523
  q.displayName = "PublicHeader.NavDropdown";
514
- const W = b(({ href: s, title: n, subtitle: d, children: a }, t) => {
515
- const o = k(g), r = /* @__PURE__ */ e(
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: n
530
+ children: a
521
531
  }
522
- ), v = /* @__PURE__ */ i(A, { children: [
523
- /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
524
- r,
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__ */ i(
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 c;
555
- return s ? o === "mobile" ? c = /* @__PURE__ */ e("a", { href: s, className: S, children: v }) : c = /* @__PURE__ */ e(m.Link, { asChild: !0, children: /* @__PURE__ */ e("a", { href: s, className: S, children: v }) }) : c = /* @__PURE__ */ i("div", { className: Ne, children: [
556
- r,
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__ */ i(
568
+ ] }), /* @__PURE__ */ o(
559
569
  "div",
560
570
  {
561
- ref: t,
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
- c,
566
- a ? /* @__PURE__ */ e("ul", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:list-none ds:m-0 ds:ps-0", children: a }) : null
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 $ = b(({ active: s, className: n, children: d, ...a }, t) => {
573
- const o = k(g), r = /* @__PURE__ */ e(
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: t,
577
- ...a,
586
+ ref: r,
587
+ ...n,
578
588
  "data-active": s ? "true" : void 0,
579
589
  "aria-current": s ? "page" : void 0,
580
- className: [ke, n].filter(Boolean).join(" "),
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: o === "mobile" ? r : /* @__PURE__ */ e(m.Link, { asChild: !0, active: s, children: r }) });
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 Oe = Object.assign(K, {
597
+ const Te = Object.assign(K, {
588
598
  NavLink: F,
589
599
  NavDropdown: q,
590
600
  DropdownCard: W,
591
601
  DropdownLink: $
592
- }), Te = {
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
- Oe as P,
634
- Te as p
643
+ Te as P,
644
+ Ve as p
635
645
  };
636
- //# sourceMappingURL=public-header.agent-_ArDD1Xr.js.map
646
+ //# sourceMappingURL=public-header.agent-Db4wm6_S.js.map