@alfadocs/ui-kit 0.25.0 → 0.25.2

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 (178) 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-CXngC-1u.js +1743 -0
  10. package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-9eOXumpH.js} +113 -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-CeEfEAxh.js} +2 -2
  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-B8V_sNPy.js} +2 -2
  27. package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
  28. package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
  29. package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
  30. package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
  31. package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
  32. package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
  33. package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
  34. package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
  35. package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
  36. package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
  37. package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
  38. package/dist/_chunks/patient-shell-Bq8CjRYF.js +173 -0
  39. package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
  40. package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
  41. package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
  42. package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
  43. package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
  44. package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
  45. package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
  46. package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
  47. package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
  48. package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
  49. package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
  50. package/dist/_chunks/{slot-grid-CgpYgBkW.js → slot-grid-DoodeQGZ.js} +4 -4
  51. package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
  52. package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
  53. package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
  54. package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
  55. package/dist/_chunks/stethoscope-B8kpbtjh.js +35 -0
  56. package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
  57. package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
  58. package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
  59. package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
  60. package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
  61. package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
  62. package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
  63. package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
  64. package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
  65. package/dist/agent-catalog.json +56 -51
  66. package/dist/components/agenda-card/index.js +1 -1
  67. package/dist/components/agenda-tray/index.js +1 -1
  68. package/dist/components/ai-prompt-input/index.js +1 -1
  69. package/dist/components/audio-recorder/index.js +1 -1
  70. package/dist/components/autocomplete/index.js +1 -1
  71. package/dist/components/avatar/index.js +1 -1
  72. package/dist/components/benefit-card/index.js +1 -1
  73. package/dist/components/booking/booking.agent.d.ts +4 -0
  74. package/dist/components/booking/booking.d.ts +91 -0
  75. package/dist/components/booking/index.d.ts +4 -0
  76. package/dist/components/booking/index.js +6 -0
  77. package/dist/components/button/index.js +1 -1
  78. package/dist/components/calendar/index.js +1 -1
  79. package/dist/components/card/index.js +1 -1
  80. package/dist/components/carousel/index.js +1 -1
  81. package/dist/components/chat-input/index.js +1 -1
  82. package/dist/components/chat-message/index.js +1 -1
  83. package/dist/components/command-palette/index.js +1 -1
  84. package/dist/components/contact-card/index.js +1 -1
  85. package/dist/components/data-table/index.js +1 -1
  86. package/dist/components/date-picker/index.js +1 -1
  87. package/dist/components/date-range-picker/index.js +1 -1
  88. package/dist/components/date-time-picker/index.js +1 -1
  89. package/dist/components/description-list/index.js +1 -1
  90. package/dist/components/dialog/index.js +1 -1
  91. package/dist/components/empty-state/index.js +1 -1
  92. package/dist/components/freemium-paywall/index.js +1 -1
  93. package/dist/components/header/index.js +1 -1
  94. package/dist/components/header-settings/index.js +60 -48
  95. package/dist/components/icon-button/index.js +1 -1
  96. package/dist/components/index.d.ts +1 -1
  97. package/dist/components/key-value-pair/index.js +1 -1
  98. package/dist/components/locale-picker/index.js +1 -1
  99. package/dist/components/map-view/index.js +1 -1
  100. package/dist/components/matrix-rain/index.js +1 -1
  101. package/dist/components/message-card/index.js +1 -1
  102. package/dist/components/message-tray/index.js +1 -1
  103. package/dist/components/notification-card/index.js +1 -1
  104. package/dist/components/notification-tray/index.js +1 -1
  105. package/dist/components/password-input/index.js +1 -1
  106. package/dist/components/payment-form/index.js +1 -1
  107. package/dist/components/pdf-viewer/index.js +1 -1
  108. package/dist/components/popover/index.js +1 -1
  109. package/dist/components/privacy-lock/index.js +1 -1
  110. package/dist/components/public-header/index.js +1 -1
  111. package/dist/components/recaptcha-widget/index.js +1 -1
  112. package/dist/components/search-bar/index.js +1 -1
  113. package/dist/components/search-input/index.js +1 -1
  114. package/dist/components/sheet/index.js +1 -1
  115. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  116. package/dist/components/slot-grid/index.js +1 -1
  117. package/dist/components/spinner/index.js +1 -1
  118. package/dist/components/stepper-accordion/index.js +4 -3
  119. package/dist/components/task-tray/index.js +1 -1
  120. package/dist/components/theme-toggle/index.js +1 -1
  121. package/dist/components/timeline/index.js +1 -1
  122. package/dist/components/toast/index.js +1 -1
  123. package/dist/components/transcript-panel/index.js +1 -1
  124. package/dist/components/workflow/index.js +1 -1
  125. package/dist/hooks/index.js +1 -1
  126. package/dist/i18n/config.js +1090 -46
  127. package/dist/i18n/locales/ar.d.ts +58 -0
  128. package/dist/i18n/locales/de.d.ts +58 -0
  129. package/dist/i18n/locales/el.d.ts +58 -0
  130. package/dist/i18n/locales/es.d.ts +58 -0
  131. package/dist/i18n/locales/fr.d.ts +58 -0
  132. package/dist/i18n/locales/hi.d.ts +58 -0
  133. package/dist/i18n/locales/ja.d.ts +58 -0
  134. package/dist/i18n/locales/nl.d.ts +58 -0
  135. package/dist/i18n/locales/pl.d.ts +58 -0
  136. package/dist/i18n/locales/pt.d.ts +58 -0
  137. package/dist/i18n/locales/ro.d.ts +58 -0
  138. package/dist/i18n/locales/ru.d.ts +58 -0
  139. package/dist/i18n/locales/sq.d.ts +58 -0
  140. package/dist/i18n/locales/sv.d.ts +58 -0
  141. package/dist/i18n/locales/tr.d.ts +58 -0
  142. package/dist/i18n/locales/zh.d.ts +58 -0
  143. package/dist/i18n/resources.d.ts +116 -0
  144. package/dist/index.js +270 -269
  145. package/dist/locales/ar.json +59 -1
  146. package/dist/locales/de.json +59 -1
  147. package/dist/locales/el.json +59 -1
  148. package/dist/locales/en.json +59 -1
  149. package/dist/locales/es.json +59 -1
  150. package/dist/locales/fr.json +59 -1
  151. package/dist/locales/hi.json +59 -1
  152. package/dist/locales/it.json +59 -1
  153. package/dist/locales/ja.json +59 -1
  154. package/dist/locales/nl.json +59 -1
  155. package/dist/locales/pl.json +59 -1
  156. package/dist/locales/pt.json +59 -1
  157. package/dist/locales/ro.json +59 -1
  158. package/dist/locales/ru.json +59 -1
  159. package/dist/locales/sq.json +59 -1
  160. package/dist/locales/sv.json +59 -1
  161. package/dist/locales/tr.json +59 -1
  162. package/dist/locales/zh.json +59 -1
  163. package/dist/patterns/alia-assistant/index.js +1 -1
  164. package/dist/patterns/patient-shell/index.js +1 -1
  165. package/dist/tokens.css +1 -1
  166. package/package.json +5 -1
  167. package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
  168. package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
  169. package/dist/_chunks/patient-shell-B164drIa.js +0 -173
  170. package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
  171. package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
  172. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
  173. package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
  174. package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
  175. package/dist/components/stepper-calendar/index.d.ts +0 -4
  176. package/dist/components/stepper-calendar/index.js +0 -6
  177. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
  178. package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
@@ -2,7 +2,7 @@ import { jsxs as U, jsx as L } from "react/jsx-runtime";
2
2
  import { forwardRef as q, useRef as u, useState as E, useEffect as G, useMemo as J, useImperativeHandle as K } from "react";
3
3
  import { useTranslation as Q } from "react-i18next";
4
4
  import { u as X } from "./form-field-context-B3APVHKx.js";
5
- import { u as Y } from "./use-theme-B1cwAXJR.js";
5
+ import { u as Y } from "./use-theme-C2dHKUAN.js";
6
6
  import { u as Z } from "./registry-C9nwlNyL.js";
7
7
  const z = {
8
8
  id: "recaptcha-widget",
@@ -189,4 +189,4 @@ export {
189
189
  oe as R,
190
190
  z as r
191
191
  };
192
- //# sourceMappingURL=recaptcha-widget-Kp1XntuE.js.map
192
+ //# sourceMappingURL=recaptcha-widget-BtBNb6tB.js.map
@@ -3,7 +3,7 @@ import { forwardRef as te, useState as _, useEffect as F, useRef as j, useMemo a
3
3
  import { c as A } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as U } from "react-i18next";
5
5
  import * as q from "@radix-ui/react-popover";
6
- import { S as oe } from "./search-input-BtEJAJHa.js";
6
+ import { S as oe } from "./search-input-CIA6pPfn.js";
7
7
  import { u as W } from "./registry-C9nwlNyL.js";
8
8
  import { n as O } from "./normalize-diacritics-BNGbFNlJ.js";
9
9
  import { S as ie } from "./search-BonnQsHv.js";
@@ -582,4 +582,4 @@ export {
582
582
  Ie as f,
583
583
  J as s
584
584
  };
585
- //# sourceMappingURL=search-bar-DORSAzNt.js.map
585
+ //# sourceMappingURL=search-bar-BRMW1-WG.js.map
@@ -3,7 +3,7 @@ import { forwardRef as ie, useState as F, useRef as K, useLayoutEffect as oe, us
3
3
  import { c as x } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ce } from "react-i18next";
5
5
  import { T as ue } from "./text-input-CakysYnD.js";
6
- import { S as fe } from "./spinner-DirtWZNG.js";
6
+ import { S as fe } from "./spinner-CCByyvcb.js";
7
7
  import { u as me } from "./form-field-context-B3APVHKx.js";
8
8
  import { u as be } from "./use-debounced-callback-BisrB-Fq.js";
9
9
  import { S as L } from "./search-BonnQsHv.js";
@@ -233,4 +233,4 @@ Ee.displayName = "SearchInput";
233
233
  export {
234
234
  Ee as S
235
235
  };
236
- //# sourceMappingURL=search-input-BtEJAJHa.js.map
236
+ //# sourceMappingURL=search-input-CIA6pPfn.js.map
@@ -3,7 +3,7 @@ import { useState as R, useRef as B, useEffect as T, useCallback as I, useMemo a
3
3
  import * as d from "@radix-ui/react-dialog";
4
4
  import { c as H } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as E } from "react-i18next";
6
- import { I as F } from "./icon-button-C4CGcYuz.js";
6
+ import { I as F } from "./icon-button-BRHSSFmZ.js";
7
7
  import { u as L } from "./registry-C9nwlNyL.js";
8
8
  import { X as V } from "./x-CCcI3eJp.js";
9
9
  const P = {
@@ -268,4 +268,4 @@ export {
268
268
  W as S,
269
269
  P as s
270
270
  };
271
- //# sourceMappingURL=sheet-BT0izeoI.js.map
271
+ //# sourceMappingURL=sheet-D8M8hf8B.js.map
@@ -3,7 +3,7 @@ import { forwardRef as L, useRef as c, useEffect as b } from "react";
3
3
  import { useTranslation as y } from "react-i18next";
4
4
  import { B as E } from "./button-DD_0Xdmr.js";
5
5
  import { L as I } from "./logo-_Z-jLq80.js";
6
- import { S as g } from "./spinner-DirtWZNG.js";
6
+ import { S as g } from "./spinner-CCByyvcb.js";
7
7
  const A = /* @__PURE__ */ new Set([
8
8
  "primary",
9
9
  "secondary",
@@ -46,4 +46,4 @@ B.displayName = "SignInWithAlfadocsButton";
46
46
  export {
47
47
  B as S
48
48
  };
49
- //# sourceMappingURL=sign-in-with-alfadocs-button-4zZC-I6y.js.map
49
+ //# sourceMappingURL=sign-in-with-alfadocs-button-BI0fVonM.js.map
@@ -3,10 +3,10 @@ import { forwardRef as pe, useId as ve, useState as he, useCallback as S } from
3
3
  import { c as b } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as be } from "react-i18next";
5
5
  import { B as Y } from "./button-DD_0Xdmr.js";
6
- import { I as A } from "./icon-button-C4CGcYuz.js";
7
- import { E as xe } from "./empty-state-3CLJIXSj.js";
6
+ import { I as A } from "./icon-button-BRHSSFmZ.js";
7
+ import { E as xe } from "./empty-state-BLy7tigq.js";
8
8
  import { S as B } from "./skeleton-CZbwyJAA.js";
9
- import { t as W, c as De, m as K, a as Z, i as ye } from "./isSameDay-ecuM8PBB.js";
9
+ import { t as W, c as De, m as K, a as Z, i as ye } from "./isSameDay-DHG8Xade.js";
10
10
  function Ne(t, e) {
11
11
  const s = () => De(e == null ? void 0 : e.in, NaN), r = Te(t);
12
12
  let d;
@@ -499,4 +499,4 @@ export {
499
499
  nt as i,
500
500
  Ne as p
501
501
  };
502
- //# sourceMappingURL=slot-grid-CgpYgBkW.js.map
502
+ //# sourceMappingURL=slot-grid-DoodeQGZ.js.map
@@ -0,0 +1,23 @@
1
+ import { c as a } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ [
10
+ "path",
11
+ {
12
+ d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
13
+ key: "1s2grr"
14
+ }
15
+ ],
16
+ ["path", { d: "M20 2v4", key: "1rf3ol" }],
17
+ ["path", { d: "M22 4h-4", key: "gwowj6" }],
18
+ ["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
19
+ ], l = a("sparkles", e);
20
+ export {
21
+ l as S
22
+ };
23
+ //# sourceMappingURL=sparkles-CuYXqQLg.js.map
@@ -105,7 +105,7 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
105
105
  variant: {
106
106
  pulse: "ds:animate-[spinner-pulse_var(--spinner-duration)_ease-in-out_infinite]",
107
107
  chase: "ds:animate-[spinner-chase_var(--spinner-duration)_ease-out_infinite]",
108
- prism: "ds:animate-[spinner-prism_var(--spinner-duration)_linear_infinite] ds:motion-reduce:fill-[var(--color-violet-500)]"
108
+ prism: "ds:animate-[spinner-prism_var(--spinner-duration)_linear_infinite] ds:motion-reduce:fill-[var(--primary)]"
109
109
  },
110
110
  position: {
111
111
  top: "ds:[--spinner-position:0]",
@@ -213,4 +213,4 @@ v.displayName = "Spinner";
213
213
  export {
214
214
  v as S
215
215
  };
216
- //# sourceMappingURL=spinner-DirtWZNG.js.map
216
+ //# sourceMappingURL=spinner-CCByyvcb.js.map
@@ -0,0 +1,257 @@
1
+ import { jsx as e, jsxs as i, Fragment as x } from "react/jsx-runtime";
2
+ import { forwardRef as E, useMemo as P, useImperativeHandle as R } from "react";
3
+ import * as m from "@radix-ui/react-accordion";
4
+ import { c as v } from "./index-D2ZczOXr.js";
5
+ import { useTranslation as B } from "react-i18next";
6
+ import { C as D } from "./chevron-down-BX_NP2Yh.js";
7
+ import { c as G } from "./createLucideIcon-CrFbzy84.js";
8
+ /**
9
+ * @license lucide-react v1.8.0 - ISC
10
+ *
11
+ * This source code is licensed under the ISC license.
12
+ * See the LICENSE file in the root directory of this source tree.
13
+ */
14
+ const H = [
15
+ ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
16
+ ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
17
+ ], U = G("lock", H);
18
+ function W(a, c, r) {
19
+ return r === "error" ? "error" : a === c ? "current" : r === "completed" || a < c ? "completed" : "upcoming";
20
+ }
21
+ const k = "step-", y = (a) => `${k}${a}`, O = (a) => Number(a.slice(k.length)), p = [
22
+ "ds:[stroke-dasharray:1] ds:[stroke-dashoffset:1]",
23
+ "ds:animate-[stepper-icon-draw_var(--animation-duration)_var(--ease-out)_forwards]",
24
+ "ds:motion-reduce:animate-none ds:motion-reduce:[stroke-dashoffset:0]"
25
+ ].join(" ");
26
+ function X() {
27
+ return /* @__PURE__ */ e(
28
+ "svg",
29
+ {
30
+ viewBox: "0 0 24 24",
31
+ fill: "none",
32
+ stroke: "currentColor",
33
+ strokeWidth: "3",
34
+ strokeLinecap: "round",
35
+ strokeLinejoin: "round",
36
+ "aria-hidden": "true",
37
+ className: "ds:size-4",
38
+ children: /* @__PURE__ */ e("path", { pathLength: "1", d: "M5 12l5 5L20 7", className: p })
39
+ }
40
+ );
41
+ }
42
+ function q() {
43
+ return /* @__PURE__ */ i(
44
+ "svg",
45
+ {
46
+ viewBox: "0 0 24 24",
47
+ fill: "none",
48
+ stroke: "currentColor",
49
+ strokeWidth: "3",
50
+ strokeLinecap: "round",
51
+ strokeLinejoin: "round",
52
+ "aria-hidden": "true",
53
+ className: "ds:size-4",
54
+ children: [
55
+ /* @__PURE__ */ e("path", { pathLength: "1", d: "M6 6l12 12", className: p }),
56
+ /* @__PURE__ */ e("path", { pathLength: "1", d: "M18 6l-12 12", className: p })
57
+ ]
58
+ }
59
+ );
60
+ }
61
+ const J = [
62
+ "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
63
+ "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
64
+ "ds:size-[var(--min-target-size)]",
65
+ "ds:rounded-[var(--radius-full)]",
66
+ "ds:text-[var(--font-size-sm)] ds:font-[var(--font-weight-semibold)]",
67
+ "ds:border ds:border-[var(--border)]",
68
+ "ds:transition-[background-color,border-color,color]",
69
+ "ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
70
+ "ds:motion-reduce:transition-none"
71
+ ].join(" "), K = v(J, {
72
+ variants: {
73
+ state: {
74
+ upcoming: "ds:bg-[var(--background)] ds:text-[var(--muted-foreground)]",
75
+ current: [
76
+ "ds:border-[var(--primary)] ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)]",
77
+ "ds:animate-[stepper-indicator-pop_var(--animation-duration)_var(--ease-out)_both]",
78
+ "ds:motion-reduce:animate-none"
79
+ ].join(" "),
80
+ completed: "ds:border-[var(--primary)] ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)]",
81
+ error: [
82
+ "ds:border-[var(--destructive)] ds:bg-[var(--destructive)] ds:text-[var(--destructive-foreground)]",
83
+ "ds:animate-[stepper-indicator-pop_var(--animation-duration)_var(--ease-out)_both]",
84
+ "ds:motion-reduce:animate-none"
85
+ ].join(" ")
86
+ }
87
+ }
88
+ }), Q = v(
89
+ [
90
+ "ds:group/item ds:overflow-hidden ds:rounded-[var(--radius-md)]",
91
+ "ds:border ds:border-[var(--border)] ds:bg-[var(--card)]",
92
+ "ds:data-[state=open]:border-[var(--primary)]",
93
+ "ds:transition-[border-color] ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
94
+ "ds:motion-reduce:transition-none"
95
+ ].join(" "),
96
+ {
97
+ variants: {
98
+ tone: {
99
+ neutral: "",
100
+ error: "ds:data-[state=open]:border-[var(--destructive)]"
101
+ }
102
+ },
103
+ defaultVariants: { tone: "neutral" }
104
+ }
105
+ ), Y = [
106
+ "ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)]",
107
+ "ds:min-h-[var(--min-target-size)]",
108
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
109
+ "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]",
110
+ "ds:text-start",
111
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
112
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
113
+ "ds:disabled:cursor-not-allowed",
114
+ "ds:transition-[background-color] ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
115
+ "ds:motion-reduce:transition-none",
116
+ "ds:hover:enabled:bg-[var(--muted)]/40"
117
+ ].join(" "), Z = (a) => [
118
+ "type-body-sm",
119
+ a === "current" || a === "error" ? "ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]" : a === "completed" ? "ds:text-[var(--foreground)]" : "ds:text-[var(--muted-foreground)]"
120
+ ].join(" "), S = [
121
+ "type-meta ds:text-[var(--muted-foreground)]",
122
+ "ds:mt-[var(--spacing-xs)]"
123
+ ].join(" "), N = [
124
+ "type-meta",
125
+ "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
126
+ "ds:text-[var(--muted-foreground)]"
127
+ ].join(" "), ee = [
128
+ "ds:size-4 ds:shrink-0 ds:text-[var(--muted-foreground)]",
129
+ "ds:transition-transform ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
130
+ "ds:motion-reduce:transition-none",
131
+ "ds:group-data-[state=open]/item:rotate-180"
132
+ ].join(" "), re = [
133
+ "type-meta ds:text-[var(--muted-foreground)]",
134
+ "ds:ps-[calc(var(--min-target-size)+var(--spacing-md)+var(--spacing-sm))]",
135
+ "ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-sm)]",
136
+ "ds:group-data-[state=open]/item:hidden"
137
+ ].join(" "), se = [
138
+ "ds:overflow-hidden",
139
+ "ds:data-[state=open]:animate-[accordion-down_var(--animation-duration)_var(--ease-out)]",
140
+ "ds:data-[state=closed]:animate-[accordion-up_var(--animation-duration)_var(--ease-in)]"
141
+ ].join(" "), ae = [
142
+ "ds:ps-[calc(var(--min-target-size)+var(--spacing-md)+var(--spacing-sm))]",
143
+ "ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-md)]"
144
+ ].join(" "), te = v("ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", {
145
+ variants: {}
146
+ }), ne = E(
147
+ ({
148
+ activeStep: a,
149
+ steps: c,
150
+ onStepChange: r,
151
+ "aria-label": w,
152
+ id: f,
153
+ className: j,
154
+ ..._
155
+ }, C) => {
156
+ const { t: d } = B(), l = c.length, o = Math.max(0, Math.min(a, l - 1)), z = w ?? d("navigation.stepper.label"), g = d("navigation.stepper.edit"), L = d("navigation.stepper.locked"), M = d("navigation.stepper.completed"), V = d("navigation.stepper.error"), A = (t) => {
157
+ if (!t) return;
158
+ const s = O(t);
159
+ Number.isFinite(s) && s !== o && (r == null || r(s));
160
+ }, h = P(
161
+ () => ({
162
+ getCurrentStep: () => o,
163
+ getTotalSteps: () => l,
164
+ getOpenSteps: () => [o],
165
+ gotoStep: (t) => {
166
+ if (!r) return;
167
+ const s = Math.max(0, Math.min(t, Math.max(l - 1, 0)));
168
+ s !== o && r(s);
169
+ },
170
+ next: () => {
171
+ r && o < l - 1 && r(o + 1);
172
+ },
173
+ previous: () => {
174
+ r && o > 0 && r(o - 1);
175
+ }
176
+ }),
177
+ [o, l, r]
178
+ );
179
+ return R(C, () => h, [h]), /* @__PURE__ */ e(
180
+ m.Root,
181
+ {
182
+ type: "single",
183
+ value: y(o),
184
+ onValueChange: A,
185
+ collapsible: !1,
186
+ "aria-label": z,
187
+ id: f,
188
+ "data-component": "stepper-accordion",
189
+ "data-component-id": f,
190
+ className: te({ className: j }),
191
+ ..._,
192
+ children: c.map((t, s) => {
193
+ const n = W(s, o, t.status), u = n === "current" || n === "error", F = n === "upcoming", I = n === "error" ? "error" : "neutral", b = d("navigation.stepper.stepN", { n: s + 1 }), T = n === "completed" ? /* @__PURE__ */ i(x, { children: [
194
+ /* @__PURE__ */ e(X, {}),
195
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: M })
196
+ ] }) : n === "error" ? /* @__PURE__ */ i(x, { children: [
197
+ /* @__PURE__ */ e(q, {}),
198
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: V })
199
+ ] }) : /* @__PURE__ */ e("span", { children: s + 1 }), $ = n === "completed" ? /* @__PURE__ */ e("span", { className: N, children: g }) : n === "upcoming" ? /* @__PURE__ */ i("span", { className: N, children: [
200
+ /* @__PURE__ */ e(U, { "aria-hidden": "true", className: "ds:size-3" }),
201
+ L
202
+ ] }) : null;
203
+ return /* @__PURE__ */ i(
204
+ m.Item,
205
+ {
206
+ value: y(s),
207
+ "data-step-id": String(s),
208
+ className: Q({ tone: I }),
209
+ children: [
210
+ /* @__PURE__ */ e(m.Header, { className: "ds:flex", children: /* @__PURE__ */ i(
211
+ m.Trigger,
212
+ {
213
+ disabled: F,
214
+ "aria-disabled": u || void 0,
215
+ "aria-label": n === "completed" ? `${b}, ${g}` : b,
216
+ "aria-current": u ? "step" : void 0,
217
+ className: Y,
218
+ children: [
219
+ /* @__PURE__ */ e(
220
+ "span",
221
+ {
222
+ "aria-hidden": "true",
223
+ className: K({ state: n }),
224
+ children: T
225
+ }
226
+ ),
227
+ /* @__PURE__ */ i("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
228
+ /* @__PURE__ */ e("span", { className: Z(n), children: t.label }),
229
+ t.description ? /* @__PURE__ */ e("span", { className: S, children: t.description }) : null
230
+ ] }),
231
+ $,
232
+ u ? null : /* @__PURE__ */ e(
233
+ D,
234
+ {
235
+ "aria-hidden": "true",
236
+ className: ee
237
+ }
238
+ )
239
+ ]
240
+ }
241
+ ) }),
242
+ t.summary && n === "completed" ? /* @__PURE__ */ e("div", { className: re, children: t.summary }) : null,
243
+ /* @__PURE__ */ e(m.Content, { className: se, children: /* @__PURE__ */ e("div", { className: ae, children: t.content }) })
244
+ ]
245
+ },
246
+ s
247
+ );
248
+ })
249
+ }
250
+ );
251
+ }
252
+ );
253
+ ne.displayName = "StepperAccordion";
254
+ export {
255
+ ne as S
256
+ };
257
+ //# sourceMappingURL=stepper-accordion-BfS6lUB9.js.map
@@ -0,0 +1,71 @@
1
+ const o = {
2
+ id: "stepper-accordion",
3
+ capabilities: ["expand", "navigate"],
4
+ state: {
5
+ currentStep: {
6
+ type: "number",
7
+ descriptionKey: "ui.agent.stepperAccordion.state.currentStep",
8
+ description: "Zero-indexed active step.",
9
+ read: (e) => e.getCurrentStep()
10
+ },
11
+ totalSteps: {
12
+ type: "number",
13
+ descriptionKey: "ui.agent.stepperAccordion.state.totalSteps",
14
+ description: "Total number of steps in the flow.",
15
+ read: (e) => e.getTotalSteps()
16
+ },
17
+ openSteps: {
18
+ type: "number[]",
19
+ descriptionKey: "ui.agent.stepperAccordion.state.openSteps",
20
+ description: "Indices of currently-open step panels (singleton under Radix single mode).",
21
+ read: (e) => e.getOpenSteps()
22
+ }
23
+ },
24
+ actions: {
25
+ goto_step: {
26
+ safety: "read",
27
+ argsType: "{ step: number }",
28
+ descriptionKey: "ui.agent.stepperAccordion.actions.gotoStep",
29
+ description: "Activate the given step. Upcoming steps are gated by the consumer’s validation in onStepChange.",
30
+ invoke: (e, t) => {
31
+ e.gotoStep(t.step);
32
+ }
33
+ },
34
+ next: {
35
+ safety: "read",
36
+ descriptionKey: "ui.agent.stepperAccordion.actions.next",
37
+ description: "Advance to the next step. Subject to the consumer’s onStepChange validation.",
38
+ invoke: (e) => {
39
+ e.next();
40
+ }
41
+ },
42
+ previous: {
43
+ safety: "read",
44
+ descriptionKey: "ui.agent.stepperAccordion.actions.previous",
45
+ description: "Return to the previous step (re-opens a completed step in edit mode).",
46
+ invoke: (e) => {
47
+ e.previous();
48
+ }
49
+ }
50
+ },
51
+ domHooks: {
52
+ root: {
53
+ attr: "data-component",
54
+ value: "stepper-accordion",
55
+ description: "Marks the StepperAccordion root."
56
+ },
57
+ instanceId: {
58
+ attr: "data-component-id",
59
+ sourceProp: "id",
60
+ description: "Sourced from the id prop."
61
+ },
62
+ item: {
63
+ attr: "data-step-id",
64
+ description: "Stable opaque id of a step (the zero-indexed step number as a string)."
65
+ }
66
+ }
67
+ };
68
+ export {
69
+ o as s
70
+ };
71
+ //# sourceMappingURL=stepper-accordion.agent-C4quJ-MD.js.map
@@ -0,0 +1,35 @@
1
+ import { c as e } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const t = [
9
+ [
10
+ "path",
11
+ {
12
+ d: "M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",
13
+ key: "mvr1a0"
14
+ }
15
+ ],
16
+ ["path", { d: "M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27", key: "auskq0" }]
17
+ ], o = e("heart-pulse", t);
18
+ /**
19
+ * @license lucide-react v1.8.0 - ISC
20
+ *
21
+ * This source code is licensed under the ISC license.
22
+ * See the LICENSE file in the root directory of this source tree.
23
+ */
24
+ const a = [
25
+ ["path", { d: "M11 2v2", key: "1539x4" }],
26
+ ["path", { d: "M5 2v2", key: "1yf1q8" }],
27
+ ["path", { d: "M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1", key: "rb5t3r" }],
28
+ ["path", { d: "M8 15a6 6 0 0 0 12 0v-3", key: "x18d4x" }],
29
+ ["circle", { cx: "20", cy: "10", r: "2", key: "ts1r5v" }]
30
+ ], s = e("stethoscope", a);
31
+ export {
32
+ o as H,
33
+ s as S
34
+ };
35
+ //# sourceMappingURL=stethoscope-B8kpbtjh.js.map
@@ -6,17 +6,6 @@ import { c as t } from "./createLucideIcon-CrFbzy84.js";
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  const e = [
9
- ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
10
- ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
11
- ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
12
- ], y = t("monitor", e);
13
- /**
14
- * @license lucide-react v1.8.0 - ISC
15
- *
16
- * This source code is licensed under the ISC license.
17
- * See the LICENSE file in the root directory of this source tree.
18
- */
19
- const o = [
20
9
  [
21
10
  "path",
22
11
  {
@@ -24,7 +13,7 @@ const o = [
24
13
  key: "kfwtm"
25
14
  }
26
15
  ]
27
- ], a = t("moon", o);
16
+ ], a = t("moon", e);
28
17
  /**
29
18
  * @license lucide-react v1.8.0 - ISC
30
19
  *
@@ -44,7 +33,6 @@ const c = [
44
33
  ], h = t("sun", c);
45
34
  export {
46
35
  a as M,
47
- h as S,
48
- y as a
36
+ h as S
49
37
  };
50
- //# sourceMappingURL=sun-Eweh5fvi.js.map
38
+ //# sourceMappingURL=sun-BuXE0xUS.js.map
@@ -2,9 +2,9 @@ import { jsx as a, jsxs as p } from "react/jsx-runtime";
2
2
  import { forwardRef as q, useRef as k, useMemo as z, useImperativeHandle as M } from "react";
3
3
  import { c as S } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as _ } from "react-i18next";
5
- import { I as C } from "./icon-button-C4CGcYuz.js";
5
+ import { I as C } from "./icon-button-BRHSSFmZ.js";
6
6
  import { S as K } from "./skeleton-CZbwyJAA.js";
7
- import { E } from "./empty-state-3CLJIXSj.js";
7
+ import { E } from "./empty-state-BLy7tigq.js";
8
8
  import { T as L } from "./task-card-BUVMh6HN.js";
9
9
  import { u as P } from "./registry-C9nwlNyL.js";
10
10
  import { c as H } from "./createLucideIcon-CrFbzy84.js";
@@ -192,4 +192,4 @@ export {
192
192
  Q as T,
193
193
  G as t
194
194
  };
195
- //# sourceMappingURL=task-tray-B3A2fRGR.js.map
195
+ //# sourceMappingURL=task-tray-Bcmrrs8m.js.map