@alfadocs/ui-kit 0.25.1 → 0.30.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 (205) hide show
  1. package/dist/_chunks/{agenda-card-BmpaUG1h.js → agenda-card-CznB7K8e.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-DiInnVqk.js → agenda-tray-C_bha7oK.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-B5MdixzR.js → ai-prompt-input-Bka3jX3i.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CUi2UCbY.js → alia-sidebar-CnvXq95r.js} +92 -109
  5. package/dist/_chunks/{audio-recorder-D4xM3H5i.js → audio-recorder-OB6IV9B1.js} +2 -2
  6. package/dist/_chunks/{autocomplete-C7xq06bP.js → autocomplete-CUh0f7Dj.js} +2 -2
  7. package/dist/_chunks/{avatar-BpFohgWG.js → avatar-D_H4emLo.js} +7 -7
  8. package/dist/_chunks/{benefit-card-DXmrAyfn.js → benefit-card-CjYM8vNr.js} +29 -29
  9. package/dist/_chunks/booking-BYuc_8HV.js +2250 -0
  10. package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-WWNx448i.js} +114 -142
  11. package/dist/_chunks/{card-C353dU-H.js → card-DKTMLVrw.js} +11 -11
  12. package/dist/_chunks/{carousel.agent-DnPiqijR.js → carousel.agent-C9swH-Uf.js} +2 -2
  13. package/dist/_chunks/{chat-input-B3XmFGDw.js → chat-input-BfDcz1Yi.js} +2 -2
  14. package/dist/_chunks/{chat-message-W3k8rLOA.js → chat-message-fg221-yx.js} +2 -2
  15. package/dist/_chunks/{command-palette-DkL-aW4O.js → command-palette-11BieSNq.js} +2 -2
  16. package/dist/_chunks/{contact-card-CjG7c-1q.js → contact-card-DYbp--s-.js} +3 -3
  17. package/dist/_chunks/{date-picker-BIoSLRly.js → date-picker-D0Ry1dMz.js} +26 -27
  18. package/dist/_chunks/{date-range-picker-9gANFNG9.js → date-range-picker-DYgHzMOo.js} +19 -20
  19. package/dist/_chunks/{date-time-picker-DG7BiGdb.js → date-time-picker-CGmGtcyc.js} +10 -11
  20. package/dist/_chunks/{description-list-Bsga4IW8.js → description-list-yl3y3QKg.js} +34 -24
  21. package/dist/_chunks/{dialog-DUomPCRS.js → dialog-BBXqpZIt.js} +2 -2
  22. package/dist/_chunks/{editable-currency-cell-renderer-DJB5MxAI.js → editable-currency-cell-renderer-DSReCae7.js} +7 -7
  23. package/dist/_chunks/{empty-state-3CLJIXSj.js → empty-state-BLy7tigq.js} +13 -33
  24. package/dist/_chunks/eye-LHlSU38h.js +21 -0
  25. package/dist/_chunks/{freemium-paywall-CM6V1zNf.js → freemium-paywall-B9c8Ylww.js} +11 -11
  26. package/dist/_chunks/{header-DqmKROIY.js → header-CkMb1TZS.js} +24 -24
  27. package/dist/_chunks/heart-pulse-CvuyFKHB.js +21 -0
  28. package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
  29. package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
  30. package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
  31. package/dist/_chunks/{link-DmM5IevO.js → link-DrD_cRUg.js} +50 -45
  32. package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
  33. package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
  34. package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
  35. package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
  36. package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
  37. package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
  38. package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
  39. package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
  40. package/dist/_chunks/parseISO-Dk4xa7q6.js +120 -0
  41. package/dist/_chunks/patient-search-BhlxYAI3.js +1102 -0
  42. package/dist/_chunks/patient-shell-CAXYzbRw.js +173 -0
  43. package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
  44. package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
  45. package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
  46. package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
  47. package/dist/_chunks/public-footer.agent-CA29gxHJ.js +516 -0
  48. package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
  49. package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
  50. package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
  51. package/dist/_chunks/reviews-panel-CFttsfuC.js +513 -0
  52. package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
  53. package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
  54. package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
  55. package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
  56. package/dist/_chunks/slot-grid-B2zprPcv.js +387 -0
  57. package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
  58. package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
  59. package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
  60. package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
  61. package/dist/_chunks/stethoscope-DT5qCW8Y.js +18 -0
  62. package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
  63. package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
  64. package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
  65. package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
  66. package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
  67. package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
  68. package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
  69. package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
  70. package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
  71. package/dist/agent-catalog.json +151 -51
  72. package/dist/components/agenda-card/index.js +1 -1
  73. package/dist/components/agenda-tray/index.js +1 -1
  74. package/dist/components/ai-prompt-input/index.js +1 -1
  75. package/dist/components/audio-recorder/index.js +1 -1
  76. package/dist/components/autocomplete/index.js +1 -1
  77. package/dist/components/avatar/index.js +1 -1
  78. package/dist/components/benefit-card/index.js +1 -1
  79. package/dist/components/booking/booking-types.d.ts +145 -0
  80. package/dist/components/booking/booking.agent.d.ts +4 -0
  81. package/dist/components/booking/booking.d.ts +6 -0
  82. package/dist/components/booking/cascade.d.ts +96 -0
  83. package/dist/components/booking/details-form.d.ts +32 -0
  84. package/dist/components/booking/index.d.ts +5 -0
  85. package/dist/components/booking/index.js +8 -0
  86. package/dist/components/button/index.js +1 -1
  87. package/dist/components/calendar/index.js +1 -1
  88. package/dist/components/card/index.js +1 -1
  89. package/dist/components/carousel/index.js +1 -1
  90. package/dist/components/chat-input/index.js +1 -1
  91. package/dist/components/chat-message/index.js +1 -1
  92. package/dist/components/checkbox/checkbox.d.ts +6 -2
  93. package/dist/components/command-palette/index.js +1 -1
  94. package/dist/components/contact-card/index.js +1 -1
  95. package/dist/components/data-table/index.js +1 -1
  96. package/dist/components/date-picker/index.js +1 -1
  97. package/dist/components/date-range-picker/index.js +1 -1
  98. package/dist/components/date-time-picker/index.js +1 -1
  99. package/dist/components/description-list/index.js +1 -1
  100. package/dist/components/dialog/index.js +1 -1
  101. package/dist/components/empty-state/index.js +1 -1
  102. package/dist/components/freemium-paywall/index.js +1 -1
  103. package/dist/components/header/index.js +1 -1
  104. package/dist/components/header-settings/index.js +16 -15
  105. package/dist/components/icon-button/index.js +1 -1
  106. package/dist/components/index.d.ts +4 -1
  107. package/dist/components/key-value-pair/index.js +1 -1
  108. package/dist/components/link/index.js +1 -1
  109. package/dist/components/link/link.d.ts +7 -0
  110. package/dist/components/locale-picker/index.js +1 -1
  111. package/dist/components/map-view/index.js +1 -1
  112. package/dist/components/matrix-rain/index.js +1 -1
  113. package/dist/components/message-card/index.js +1 -1
  114. package/dist/components/message-tray/index.js +1 -1
  115. package/dist/components/notification-card/index.js +1 -1
  116. package/dist/components/notification-tray/index.js +1 -1
  117. package/dist/components/password-input/index.js +1 -1
  118. package/dist/components/patient-search/index.d.ts +4 -0
  119. package/dist/components/patient-search/index.js +6 -0
  120. package/dist/components/patient-search/patient-search.agent.d.ts +4 -0
  121. package/dist/components/patient-search/patient-search.d.ts +103 -0
  122. package/dist/components/payment-form/index.js +1 -1
  123. package/dist/components/pdf-viewer/index.js +1 -1
  124. package/dist/components/popover/index.js +1 -1
  125. package/dist/components/privacy-lock/index.js +1 -1
  126. package/dist/components/public-footer/index.d.ts +6 -0
  127. package/dist/components/public-footer/index.js +10 -0
  128. package/dist/components/public-footer/legal-urls.d.ts +18 -0
  129. package/dist/components/public-footer/public-footer.agent.d.ts +4 -0
  130. package/dist/components/public-footer/public-footer.d.ts +51 -0
  131. package/dist/components/public-footer/socials.d.ts +9 -0
  132. package/dist/components/public-header/index.js +1 -1
  133. package/dist/components/recaptcha-widget/index.js +1 -1
  134. package/dist/components/reviews-panel/index.d.ts +4 -0
  135. package/dist/components/reviews-panel/index.js +6 -0
  136. package/dist/components/reviews-panel/reviews-panel.agent.d.ts +4 -0
  137. package/dist/components/reviews-panel/reviews-panel.d.ts +76 -0
  138. package/dist/components/search-bar/index.js +1 -1
  139. package/dist/components/search-input/index.js +1 -1
  140. package/dist/components/sheet/index.js +1 -1
  141. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  142. package/dist/components/slot-grid/index.js +1 -1
  143. package/dist/components/spinner/index.js +1 -1
  144. package/dist/components/stepper-accordion/index.js +4 -3
  145. package/dist/components/task-tray/index.js +1 -1
  146. package/dist/components/theme-toggle/index.js +1 -1
  147. package/dist/components/timeline/index.js +1 -1
  148. package/dist/components/toast/index.js +1 -1
  149. package/dist/components/transcript-panel/index.js +1 -1
  150. package/dist/components/workflow/index.js +1 -1
  151. package/dist/hooks/index.js +1 -1
  152. package/dist/i18n/config.js +4923 -49
  153. package/dist/i18n/locales/ar.d.ts +272 -0
  154. package/dist/i18n/locales/de.d.ts +272 -0
  155. package/dist/i18n/locales/el.d.ts +272 -0
  156. package/dist/i18n/locales/es.d.ts +272 -0
  157. package/dist/i18n/locales/fr.d.ts +272 -0
  158. package/dist/i18n/locales/hi.d.ts +272 -0
  159. package/dist/i18n/locales/ja.d.ts +272 -0
  160. package/dist/i18n/locales/nl.d.ts +272 -0
  161. package/dist/i18n/locales/pl.d.ts +272 -0
  162. package/dist/i18n/locales/pt.d.ts +272 -0
  163. package/dist/i18n/locales/ro.d.ts +272 -0
  164. package/dist/i18n/locales/ru.d.ts +272 -0
  165. package/dist/i18n/locales/sq.d.ts +272 -0
  166. package/dist/i18n/locales/sv.d.ts +272 -0
  167. package/dist/i18n/locales/tr.d.ts +272 -0
  168. package/dist/i18n/locales/zh.d.ts +272 -0
  169. package/dist/i18n/resources.d.ts +544 -0
  170. package/dist/index.js +364 -348
  171. package/dist/locales/ar.json +273 -1
  172. package/dist/locales/de.json +273 -1
  173. package/dist/locales/el.json +273 -1
  174. package/dist/locales/en.json +273 -1
  175. package/dist/locales/es.json +273 -1
  176. package/dist/locales/fr.json +273 -1
  177. package/dist/locales/hi.json +273 -1
  178. package/dist/locales/it.json +273 -1
  179. package/dist/locales/ja.json +273 -1
  180. package/dist/locales/nl.json +273 -1
  181. package/dist/locales/pl.json +273 -1
  182. package/dist/locales/pt.json +273 -1
  183. package/dist/locales/ro.json +273 -1
  184. package/dist/locales/ru.json +273 -1
  185. package/dist/locales/sq.json +273 -1
  186. package/dist/locales/sv.json +273 -1
  187. package/dist/locales/tr.json +273 -1
  188. package/dist/locales/zh.json +273 -1
  189. package/dist/patterns/alia-assistant/index.js +1 -1
  190. package/dist/patterns/patient-shell/index.js +1 -1
  191. package/dist/tokens.css +1 -1
  192. package/package.json +17 -1
  193. package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
  194. package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
  195. package/dist/_chunks/patient-shell-B164drIa.js +0 -173
  196. package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
  197. package/dist/_chunks/slot-grid-CgpYgBkW.js +0 -502
  198. package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
  199. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
  200. package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
  201. package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
  202. package/dist/components/stepper-calendar/index.d.ts +0 -4
  203. package/dist/components/stepper-calendar/index.js +0 -6
  204. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
  205. package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
@@ -1,10 +1,10 @@
1
- import { jsx as s, jsxs as t, Fragment as _ } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as i, Fragment as _ } from "react/jsx-runtime";
2
2
  import { forwardRef as h, useId as Q, useState as y, useCallback as M, useImperativeHandle as U, useContext as N, useEffect as B, useRef as D, createContext as Z } from "react";
3
3
  import { c as C } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ss } from "react-i18next";
5
5
  import * as m from "@radix-ui/react-navigation-menu";
6
- import { I as es } from "./icon-button-C4CGcYuz.js";
7
- import { S as f } from "./sheet-BT0izeoI.js";
6
+ import { I as es } from "./icon-button-BRHSSFmZ.js";
7
+ import { S as f } from "./sheet-D8M8hf8B.js";
8
8
  import { C as I } from "./chevron-down-BX_NP2Yh.js";
9
9
  import { X as ds } from "./x-CCcI3eJp.js";
10
10
  import { M as as } from "./menu-XRhW3_99.js";
@@ -28,18 +28,25 @@ const g = Z("desktop"), ns = C(
28
28
  "ds:bg-transparent ds:text-[var(--foreground)]",
29
29
  "ds:data-[stuck=true]:bg-[var(--card)]",
30
30
  "ds:data-[stuck=true]:shadow-[var(--shadow-md)]",
31
+ // Once stuck, pair the elevation shadow with a tokenized
32
+ // block-end border so the header has a clear edge against the
33
+ // page below it — shadow alone fades to a faint halo on dark
34
+ // surfaces, leaving the bar reading as unbounded.
35
+ "ds:data-[stuck=true]:border-block-end ds:data-[stuck=true]:border-[color:var(--border)]",
31
36
  "ds:forced-colors:border-b ds:forced-colors:border-[CanvasText]"
32
37
  ].join(" "),
33
38
  // `dark` flips its own scope into the dark token set so nav
34
- // links + buttons inside read off-white text on the blue-800
39
+ // links + buttons inside read off-white text on the dark
35
40
  // surface. Without the `theme-dark` scope the children inherit
36
- // the light-theme `--foreground` (blue-500) and fail
37
- // color-contrast at ~1.3:1.
41
+ // the light-theme `--foreground` and fail color-contrast at
42
+ // ~1.3:1. `--background` already resolves to a dark step under
43
+ // `theme-dark`, so we compose the surface from the standard
44
+ // theme token rather than locking to a raw ramp step.
38
45
  dark: [
39
46
  "ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
40
47
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:sm:ps-[var(--spacing-lg)] ds:sm:pe-[var(--spacing-lg)]",
41
48
  "ds:h-14 ds:md:h-16",
42
- "theme-dark ds:bg-[var(--color-blue-800)] ds:text-[var(--foreground)]"
49
+ "theme-dark ds:bg-[var(--background)] ds:text-[var(--foreground)]"
43
50
  ].join(" "),
44
51
  // `pill` matches alfadocs.com's floating rounded-pill header.
45
52
  // The outer header is fully transparent (no border, no bg) and
@@ -89,7 +96,8 @@ const g = Z("desktop"), ns = C(
89
96
  "ds:inline-flex ds:items-center",
90
97
  "type-body-sm ds:font-medium",
91
98
  // Muted-foreground reads as secondary text and matches alfadocs.com's
92
- // nav-link colour (`#545875`). `--foreground` was too dark vs the ref.
99
+ // nav-link colour (the reference's slate-grey). `--foreground` was too
100
+ // dark vs the ref.
93
101
  "ds:text-[var(--muted-foreground)]",
94
102
  "ds:rounded-[var(--radius-sm)]",
95
103
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:py-[var(--spacing-xs)]",
@@ -100,7 +108,7 @@ const g = Z("desktop"), ns = C(
100
108
  "ds:data-[active=true]:text-[var(--primary)]",
101
109
  "ds:data-[active=true]:[box-shadow:inset_0_-2px_0_var(--primary)]"
102
110
  ].join(" ")
103
- ), is = [
111
+ ), ts = [
104
112
  "ds:group ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
105
113
  "type-body-sm ds:font-medium",
106
114
  // Mirror the navLinkVariants colour + inline padding so triggers and
@@ -114,7 +122,7 @@ const g = Z("desktop"), ns = C(
114
122
  "ds:hover:text-[var(--primary)]",
115
123
  "ds:data-[state=open]:text-[var(--primary)]",
116
124
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
117
- ].join(" "), ts = [
125
+ ].join(" "), is = [
118
126
  "ds:size-3 ds:shrink-0",
119
127
  "ds:transition-transform ds:duration-[var(--animation-duration)]",
120
128
  "ds:group-data-[state=open]:rotate-180",
@@ -199,13 +207,13 @@ function ps() {
199
207
  }, []), e;
200
208
  }
201
209
  function vs(e, n, d) {
202
- const [a, i] = y(!1), [r, o] = y(!1), c = D(0), p = D(!1);
210
+ const [a, t] = y(!1), [r, o] = y(!1), c = D(0), p = D(!1);
203
211
  return B(() => {
204
212
  if (!e || typeof window > "u") return;
205
213
  c.current = window.scrollY;
206
214
  const l = () => {
207
215
  const v = window.scrollY;
208
- if (i(v > d), n === "scroll-up") {
216
+ if (t(v > d), n === "scroll-up") {
209
217
  const b = v - c.current;
210
218
  b > 4 && v > d ? o(!0) : (b < -4 || v <= d) && o(!1);
211
219
  }
@@ -223,14 +231,14 @@ function R({
223
231
  homeHref: n,
224
232
  resolvedHomeLabel: d,
225
233
  resolvedNavLabel: a,
226
- resolvedMenuLabel: i,
234
+ resolvedMenuLabel: t,
227
235
  navSlot: r,
228
236
  actionsSlot: o,
229
237
  menuOpen: c,
230
238
  setMenuOpen: p,
231
239
  sheetId: l
232
240
  }) {
233
- return /* @__PURE__ */ t(_, { children: [
241
+ return /* @__PURE__ */ i(_, { children: [
234
242
  /* @__PURE__ */ s(
235
243
  "a",
236
244
  {
@@ -240,7 +248,7 @@ function R({
240
248
  children: e
241
249
  }
242
250
  ),
243
- r ? /* @__PURE__ */ s(g.Provider, { value: "desktop", children: /* @__PURE__ */ t(
251
+ r ? /* @__PURE__ */ s(g.Provider, { value: "desktop", children: /* @__PURE__ */ i(
244
252
  m.Root,
245
253
  {
246
254
  "aria-label": a,
@@ -253,7 +261,7 @@ function R({
253
261
  }
254
262
  ) }) : null,
255
263
  o ? /* @__PURE__ */ s("div", { className: "ds:hidden ds:md:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:ms-auto", children: o }) : null,
256
- /* @__PURE__ */ t(f, { open: c, onOpenChange: p, children: [
264
+ /* @__PURE__ */ i(f, { open: c, onOpenChange: p, children: [
257
265
  /* @__PURE__ */ s(f.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
258
266
  es,
259
267
  {
@@ -263,12 +271,12 @@ function R({
263
271
  icon: c ? /* @__PURE__ */ s(ds, { "aria-hidden": "true" }) : /* @__PURE__ */ s(as, { "aria-hidden": "true" }),
264
272
  "aria-controls": l,
265
273
  "aria-expanded": c,
266
- "aria-label": i
274
+ "aria-label": t
267
275
  }
268
276
  ) }),
269
- /* @__PURE__ */ t(f.Content, { side: "end", size: "md", id: l, children: [
277
+ /* @__PURE__ */ i(f.Content, { side: "end", size: "md", id: l, children: [
270
278
  /* @__PURE__ */ s(f.Header, { children: /* @__PURE__ */ s(f.Title, { children: a }) }),
271
- /* @__PURE__ */ s(f.Body, { children: /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
279
+ /* @__PURE__ */ s(f.Body, { children: /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
272
280
  r ? /* @__PURE__ */ s(g.Provider, { value: "mobile", children: /* @__PURE__ */ s(
273
281
  "nav",
274
282
  {
@@ -290,7 +298,7 @@ const E = h(
290
298
  homeHref: n = "/",
291
299
  homeLabel: d,
292
300
  navSlot: a,
293
- actionsSlot: i,
301
+ actionsSlot: t,
294
302
  variant: r = "pill",
295
303
  sticky: o = "none",
296
304
  stickyOffset: c = 80,
@@ -321,7 +329,7 @@ const E = h(
321
329
  resolvedNavLabel: J,
322
330
  resolvedMenuLabel: K,
323
331
  navSlot: a,
324
- actionsSlot: i,
332
+ actionsSlot: t,
325
333
  menuOpen: w,
326
334
  setMenuOpen: k,
327
335
  sheetId: q
@@ -350,10 +358,10 @@ const E = h(
350
358
  }
351
359
  );
352
360
  E.displayName = "PublicHeader";
353
- const T = h(({ active: e, className: n, children: d, ...a }, i) => N(g) === "mobile" ? /* @__PURE__ */ s(
361
+ const T = h(({ active: e, className: n, children: d, ...a }, t) => N(g) === "mobile" ? /* @__PURE__ */ s(
354
362
  "a",
355
363
  {
356
- ref: i,
364
+ ref: t,
357
365
  ...a,
358
366
  "data-active": e ? "true" : void 0,
359
367
  "aria-current": e ? "page" : void 0,
@@ -375,7 +383,7 @@ const T = h(({ active: e, className: n, children: d, ...a }, i) => N(g) === "mob
375
383
  ) : /* @__PURE__ */ s(m.Item, { children: /* @__PURE__ */ s(m.Link, { asChild: !0, active: e, children: /* @__PURE__ */ s(
376
384
  "a",
377
385
  {
378
- ref: i,
386
+ ref: t,
379
387
  ...a,
380
388
  "data-active": e ? "true" : void 0,
381
389
  "aria-current": e ? "page" : void 0,
@@ -384,14 +392,14 @@ const T = h(({ active: e, className: n, children: d, ...a }, i) => N(g) === "mob
384
392
  }
385
393
  ) }) }));
386
394
  T.displayName = "PublicHeader.NavLink";
387
- const V = h(({ label: e, wide: n = !1, children: d, id: a }, i) => N(g) === "mobile" ? /* @__PURE__ */ t(
395
+ const V = h(({ label: e, wide: n = !1, children: d, id: a }, t) => N(g) === "mobile" ? /* @__PURE__ */ i(
388
396
  "details",
389
397
  {
390
398
  id: a,
391
399
  "data-component": "public-header-nav-dropdown",
392
400
  className: "ds:group ds:border-b ds:border-[color:var(--border)]",
393
401
  children: [
394
- /* @__PURE__ */ t(
402
+ /* @__PURE__ */ i(
395
403
  "summary",
396
404
  {
397
405
  className: [
@@ -417,16 +425,16 @@ const V = h(({ label: e, wide: n = !1, children: d, id: a }, i) => N(g) === "mob
417
425
  /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]", children: d })
418
426
  ]
419
427
  }
420
- ) : /* @__PURE__ */ t(m.Item, { "data-component": "public-header-nav-dropdown", children: [
421
- /* @__PURE__ */ t(
428
+ ) : /* @__PURE__ */ i(m.Item, { "data-component": "public-header-nav-dropdown", children: [
429
+ /* @__PURE__ */ i(
422
430
  m.Trigger,
423
431
  {
424
- ref: i,
432
+ ref: t,
425
433
  id: a,
426
- className: is,
434
+ className: ts,
427
435
  children: [
428
436
  e,
429
- /* @__PURE__ */ s(I, { "aria-hidden": "true", className: ts })
437
+ /* @__PURE__ */ s(I, { "aria-hidden": "true", className: is })
430
438
  ]
431
439
  }
432
440
  ),
@@ -439,7 +447,7 @@ const V = h(({ label: e, wide: n = !1, children: d, id: a }, i) => N(g) === "mob
439
447
  )
440
448
  ] }));
441
449
  V.displayName = "PublicHeader.NavDropdown";
442
- const O = h(({ href: e, title: n, subtitle: d, children: a }, i) => {
450
+ const O = h(({ href: e, title: n, subtitle: d, children: a }, t) => {
443
451
  const r = N(g), o = /* @__PURE__ */ s(
444
452
  "span",
445
453
  {
@@ -447,8 +455,8 @@ const O = h(({ href: e, title: n, subtitle: d, children: a }, i) => {
447
455
  className: "type-title-card ds:text-[var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
448
456
  children: n
449
457
  }
450
- ), l = /* @__PURE__ */ t(_, { children: [
451
- /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
458
+ ), l = /* @__PURE__ */ i(_, { children: [
459
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
452
460
  o,
453
461
  d ? /* @__PURE__ */ s("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: d }) : null
454
462
  ] }),
@@ -458,7 +466,7 @@ const O = h(({ href: e, title: n, subtitle: d, children: a }, i) => {
458
466
  "data-card-arrow": !0,
459
467
  "aria-hidden": "true",
460
468
  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",
461
- children: /* @__PURE__ */ t(
469
+ children: /* @__PURE__ */ i(
462
470
  "svg",
463
471
  {
464
472
  xmlns: "http://www.w3.org/2000/svg",
@@ -480,13 +488,13 @@ const O = h(({ href: e, title: n, subtitle: d, children: a }, i) => {
480
488
  )
481
489
  ] });
482
490
  let u;
483
- return e ? r === "mobile" ? u = /* @__PURE__ */ s("a", { href: e, className: z, children: l }) : u = /* @__PURE__ */ s(m.Link, { asChild: !0, children: /* @__PURE__ */ s("a", { href: e, className: z, children: l }) }) : u = /* @__PURE__ */ t("div", { className: us, children: [
491
+ return e ? r === "mobile" ? u = /* @__PURE__ */ s("a", { href: e, className: z, children: l }) : u = /* @__PURE__ */ s(m.Link, { asChild: !0, children: /* @__PURE__ */ s("a", { href: e, className: z, children: l }) }) : u = /* @__PURE__ */ i("div", { className: us, children: [
484
492
  o,
485
493
  d ? /* @__PURE__ */ s("span", { className: "ds:block type-body-sm ds:text-[var(--muted-foreground)] ds:mt-[var(--spacing-xs)]", children: d }) : null
486
- ] }), /* @__PURE__ */ t(
494
+ ] }), /* @__PURE__ */ i(
487
495
  "div",
488
496
  {
489
- ref: i,
497
+ ref: t,
490
498
  "data-component": "public-header-dropdown-card",
491
499
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
492
500
  children: [
@@ -497,11 +505,11 @@ const O = h(({ href: e, title: n, subtitle: d, children: a }, i) => {
497
505
  );
498
506
  });
499
507
  O.displayName = "PublicHeader.DropdownCard";
500
- const S = h(({ active: e, className: n, children: d, ...a }, i) => {
508
+ const S = h(({ active: e, className: n, children: d, ...a }, t) => {
501
509
  const r = N(g), o = /* @__PURE__ */ s(
502
510
  "a",
503
511
  {
504
- ref: i,
512
+ ref: t,
505
513
  ...a,
506
514
  "data-active": e ? "true" : void 0,
507
515
  "aria-current": e ? "page" : void 0,
@@ -556,4 +564,4 @@ export {
556
564
  Cs as P,
557
565
  js as p
558
566
  };
559
- //# sourceMappingURL=public-header.agent-BQ3r6Hgq.js.map
567
+ //# sourceMappingURL=public-header.agent-5U3S9QiC.js.map