@alfadocs/ui-kit 0.84.1 → 0.86.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 (126) hide show
  1. package/dist/_chunks/{ai-consent-banner-DUhr1yNj.js → ai-consent-banner-BXD7W6FI.js} +2 -2
  2. package/dist/_chunks/{alert-KJbsPYkI.js → alert-Cxaqd-QO.js} +12 -12
  3. package/dist/_chunks/{audio-recorder-Cc3KuL9y.js → audio-recorder-BjnB7V8n.js} +2 -2
  4. package/dist/_chunks/{booking-CLmeXtGv.js → booking-BvCu2XWY.js} +2 -2
  5. package/dist/_chunks/{document-preview-nwfulDEs.js → document-preview-DXl9migE.js} +2 -2
  6. package/dist/_chunks/{document-scanner-B6h1Ir56.js → document-scanner-cS_ispQs.js} +3 -3
  7. package/dist/_chunks/{entity-summary--vP698Jn.js → entity-summary-BILN4wEG.js} +2 -2
  8. package/dist/_chunks/{field-value-DHG6gEKS.js → field-value-BRVbZJej.js} +133 -144
  9. package/dist/_chunks/{file-manager-DLJlinIO.js → file-manager-B9LZzT5E.js} +129 -129
  10. package/dist/_chunks/{file-upload-DENvuhfs.js → file-upload-CwxdqkMK.js} +134 -146
  11. package/dist/_chunks/{freemium-paywall-CmV642PA.js → freemium-paywall-Dr2342_S.js} +2 -2
  12. package/dist/_chunks/info-tip-Bxk3w6UM.js +166 -0
  13. package/dist/_chunks/{marketplace-app-shell-Br2yebEK.js → marketplace-app-shell-Chcj4q4z.js} +2 -2
  14. package/dist/_chunks/message-square-Bye4ATvx.js +20 -0
  15. package/dist/_chunks/{notes-panel-Cvdp818a.js → notes-panel-BLjlYBt-.js} +2 -2
  16. package/dist/_chunks/{patient-details-COvYWp2e.js → patient-details-B9LCdyWW.js} +2 -2
  17. package/dist/_chunks/{patient-search-BaUJ_Y-N.js → patient-search-vtRTSdf6.js} +2 -2
  18. package/dist/_chunks/{patient-summary-card-D6kgdTNn.js → patient-summary-card-vn1H4xWj.js} +2 -2
  19. package/dist/_chunks/{patient-table-BHzmUbzu.js → patient-table-B6AKMTm3.js} +182 -196
  20. package/dist/_chunks/{payment-form-DL9xk9BA.js → payment-form-BoGxEmGn.js} +2 -2
  21. package/dist/_chunks/{payment-request-card-d-RmzsUd.js → payment-request-card-CygO1anM.js} +72 -70
  22. package/dist/_chunks/{pdf-viewer-DF3VMaPo.js → pdf-viewer-CcOuR2wj.js} +2 -2
  23. package/dist/_chunks/{practice-results-BCr7jMt1.js → practice-results-yKbwIxqa.js} +2 -2
  24. package/dist/_chunks/{radiograph-panel.agent-CxF9pVxd.js → radiograph-panel.agent-M9XD4ze4.js} +2 -2
  25. package/dist/_chunks/{rich-text-editor-CCWjNkbx.js → rich-text-editor-RRkBN_WB.js} +2 -2
  26. package/dist/_chunks/{session-countdown-C8AsE072.js → session-countdown-Bc70VXN1.js} +58 -48
  27. package/dist/_chunks/{sign-document-Bfk0WpWV.js → sign-document-DI561d1C.js} +2 -2
  28. package/dist/_chunks/{signature-request-CEOrCDyk.js → signature-request-D_6jgDZd.js} +60 -77
  29. package/dist/_chunks/{task-tray-Br3vc0O1.js → task-tray-CLIqIXUZ.js} +58 -70
  30. package/dist/_chunks/{toast.agent-uV8CeAy6.js → toast.agent-Iw2jWdce.js} +2 -2
  31. package/dist/_chunks/{warning-stack-BlG_Ujy3.js → warning-stack-CAHQ0xxS.js} +2 -2
  32. package/dist/_chunks/{workflow-map-C643Q43h.js → workflow-map-SIfAhmWz.js} +2 -2
  33. package/dist/agent-catalog.json +45 -1
  34. package/dist/agent-i18n/en.json +9 -0
  35. package/dist/components/ai-consent-banner/index.js +1 -1
  36. package/dist/components/alert/index.js +1 -1
  37. package/dist/components/audio-recorder/index.js +1 -1
  38. package/dist/components/booking/index.js +1 -1
  39. package/dist/components/document-preview/index.js +1 -1
  40. package/dist/components/document-scanner/index.js +1 -1
  41. package/dist/components/entity-summary/index.js +1 -1
  42. package/dist/components/file-manager/index.js +1 -1
  43. package/dist/components/file-upload/index.js +1 -1
  44. package/dist/components/freemium-paywall/index.js +1 -1
  45. package/dist/components/index.d.ts +1 -0
  46. package/dist/components/info-tip/index.d.ts +4 -0
  47. package/dist/components/info-tip/index.js +6 -0
  48. package/dist/components/info-tip/info-tip.agent.d.ts +4 -0
  49. package/dist/components/info-tip/info-tip.d.ts +42 -0
  50. package/dist/components/notes-panel/index.js +1 -1
  51. package/dist/components/patient-details/index.js +1 -1
  52. package/dist/components/patient-search/index.js +1 -1
  53. package/dist/components/patient-summary-card/index.js +1 -1
  54. package/dist/components/patient-table/index.js +1 -1
  55. package/dist/components/payment-card/index.js +1 -1
  56. package/dist/components/payment-form/index.js +1 -1
  57. package/dist/components/pdf-viewer/index.js +1 -1
  58. package/dist/components/practice-results/index.js +1 -1
  59. package/dist/components/radiograph-panel/index.js +1 -1
  60. package/dist/components/rich-text-editor/index.js +1 -1
  61. package/dist/components/session-countdown/index.js +1 -1
  62. package/dist/components/sign-document/index.js +1 -1
  63. package/dist/components/task-tray/index.js +1 -1
  64. package/dist/components/toast/index.js +1 -1
  65. package/dist/components/warning-stack/index.js +1 -1
  66. package/dist/components/workflow/index.js +1 -1
  67. package/dist/i18n/locales/ar.d.ts +3 -0
  68. package/dist/i18n/locales/ar.js +3 -0
  69. package/dist/i18n/locales/de.d.ts +3 -0
  70. package/dist/i18n/locales/de.js +3 -0
  71. package/dist/i18n/locales/el.d.ts +3 -0
  72. package/dist/i18n/locales/el.js +3 -0
  73. package/dist/i18n/locales/en.d.ts +3 -0
  74. package/dist/i18n/locales/en.js +3 -0
  75. package/dist/i18n/locales/es.d.ts +3 -0
  76. package/dist/i18n/locales/es.js +3 -0
  77. package/dist/i18n/locales/fr.d.ts +3 -0
  78. package/dist/i18n/locales/fr.js +3 -0
  79. package/dist/i18n/locales/hi.d.ts +3 -0
  80. package/dist/i18n/locales/hi.js +3 -0
  81. package/dist/i18n/locales/it.d.ts +3 -0
  82. package/dist/i18n/locales/it.js +3 -0
  83. package/dist/i18n/locales/ja.d.ts +3 -0
  84. package/dist/i18n/locales/ja.js +3 -0
  85. package/dist/i18n/locales/nl.d.ts +3 -0
  86. package/dist/i18n/locales/nl.js +3 -0
  87. package/dist/i18n/locales/pl.d.ts +3 -0
  88. package/dist/i18n/locales/pl.js +3 -0
  89. package/dist/i18n/locales/pt.d.ts +3 -0
  90. package/dist/i18n/locales/pt.js +3 -0
  91. package/dist/i18n/locales/ro.d.ts +3 -0
  92. package/dist/i18n/locales/ro.js +3 -0
  93. package/dist/i18n/locales/ru.d.ts +3 -0
  94. package/dist/i18n/locales/ru.js +3 -0
  95. package/dist/i18n/locales/sq.d.ts +3 -0
  96. package/dist/i18n/locales/sq.js +3 -0
  97. package/dist/i18n/locales/sv.d.ts +3 -0
  98. package/dist/i18n/locales/sv.js +3 -0
  99. package/dist/i18n/locales/tr.d.ts +3 -0
  100. package/dist/i18n/locales/tr.js +3 -0
  101. package/dist/i18n/locales/zh.d.ts +3 -0
  102. package/dist/i18n/locales/zh.js +3 -0
  103. package/dist/index.js +715 -723
  104. package/dist/locales/ar.json +3 -0
  105. package/dist/locales/de.json +3 -0
  106. package/dist/locales/el.json +3 -0
  107. package/dist/locales/en.json +3 -0
  108. package/dist/locales/es.json +3 -0
  109. package/dist/locales/fr.json +3 -0
  110. package/dist/locales/hi.json +3 -0
  111. package/dist/locales/it.json +3 -0
  112. package/dist/locales/ja.json +3 -0
  113. package/dist/locales/nl.json +3 -0
  114. package/dist/locales/pl.json +3 -0
  115. package/dist/locales/pt.json +3 -0
  116. package/dist/locales/ro.json +3 -0
  117. package/dist/locales/ru.json +3 -0
  118. package/dist/locales/sq.json +3 -0
  119. package/dist/locales/sv.json +3 -0
  120. package/dist/locales/tr.json +3 -0
  121. package/dist/locales/zh.json +3 -0
  122. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  123. package/dist/patterns/signature-request/index.js +1 -1
  124. package/dist/tokens.css +1 -1
  125. package/package.json +9 -3
  126. package/dist/_chunks/circle-x-W8Enq3i4.js +0 -16
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useState as k, useRef as q, useMemo as I } from "react";
3
3
  import { c as L } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as R } from "react-i18next";
5
- import { A as d } from "./alert-KJbsPYkI.js";
5
+ import { A as d } from "./alert-Cxaqd-QO.js";
6
6
  import { B as w } from "./badge-DCOqV9mI.js";
7
7
  import { B as T } from "./button-CPGiR_bH.js";
8
8
  import { C as V } from "./checkbox-BuZ1u__2.js";
@@ -167,4 +167,4 @@ export {
167
167
  P as A,
168
168
  K as a
169
169
  };
170
- //# sourceMappingURL=ai-consent-banner-DUhr1yNj.js.map
170
+ //# sourceMappingURL=ai-consent-banner-BXD7W6FI.js.map
@@ -1,13 +1,13 @@
1
1
  import { jsxs as k, jsx as e, Fragment as U } from "react/jsx-runtime";
2
- import { forwardRef as v, useState as I, useRef as M, useCallback as _, Children as P, isValidElement as W, useContext as O, useId as X, createContext as G } from "react";
3
- import { c as H } from "./index-D2ZczOXr.js";
2
+ import { forwardRef as v, useState as I, useRef as M, useCallback as _, Children as P, isValidElement as W, useContext as O, useId as G, createContext as H } from "react";
3
+ import { c as X } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as R } from "react-i18next";
5
5
  import { u as $ } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as S } from "./use-clamp-overflow-DQE2kwZ9.js";
7
7
  import { T as q } from "./tooltip-DvmfrNvB.js";
8
8
  import { X as J } from "./x-B5YnXwCz.js";
9
9
  import { c as K } from "./createLucideIcon-DhHxpK9K.js";
10
- import { C as Q } from "./circle-x-W8Enq3i4.js";
10
+ import { C as Q } from "./circle-alert-rGDZ73Wh.js";
11
11
  import { T as Y } from "./triangle-alert-CBnO6nq_.js";
12
12
  import { C as Z } from "./circle-check-BN6rz4NV.js";
13
13
  import { I as ee } from "./info-CGn22peZ.js";
@@ -21,7 +21,7 @@ const te = [
21
21
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
22
22
  ["path", { d: "m16 12-4-4-4 4", key: "177agl" }],
23
23
  ["path", { d: "M12 16V8", key: "1sbj14" }]
24
- ], se = K("circle-arrow-up", te), C = G(!1), oe = [
24
+ ], se = K("circle-arrow-up", te), C = H(!1), oe = [
25
25
  // Full-opacity `text-current` so it matches the body text's contrast (an
26
26
  // `opacity` dim would drop the variant-tinted text below AA). Underline
27
27
  // carries the affordance instead. No `--min-target-size` floor: this is an
@@ -34,7 +34,7 @@ const te = [
34
34
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
35
35
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
36
36
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
37
- ].join(" "), re = H(
37
+ ].join(" "), re = X(
38
38
  [
39
39
  // Default `items-center` keeps the icon + dismiss optically aligned
40
40
  // with a single-line description. The `data-[has-title=true]`
@@ -177,7 +177,7 @@ const te = [
177
177
  );
178
178
  y.displayName = "Alert.Title";
179
179
  const L = v(({ className: a, children: i, ...s }, o) => {
180
- const t = O(C), { t: n } = R(), d = X(), [r, m] = I(!1), { ref: l, isOverflowing: f } = S(t && !r), c = _(
180
+ const t = O(C), { t: n } = R(), d = G(), [r, m] = I(!1), { ref: l, isOverflowing: f } = S(t && !r), c = _(
181
181
  (u) => {
182
182
  l.current = u, typeof o == "function" ? o(u) : o && (o.current = u);
183
183
  },
@@ -243,7 +243,7 @@ const z = v(
243
243
  value: s,
244
244
  defaultValue: !0,
245
245
  onChange: o
246
- }), B = g ?? !0, [w, T] = I(!1), b = M(null), D = _(() => {
246
+ }), B = g ?? !0, [w, A] = I(!1), b = M(null), D = _(() => {
247
247
  if (typeof window > "u") return 200;
248
248
  const p = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration");
249
249
  if (!p) return 200;
@@ -251,11 +251,11 @@ const z = v(
251
251
  return Number.isFinite(h) ? j.endsWith("ms") ? h : h * 1e3 : 200;
252
252
  }, []);
253
253
  if (!B) return null;
254
- const x = ie[a], A = t !== void 0 ? t : x.icon, N = P.toArray(m).some(
254
+ const x = ie[a], T = t !== void 0 ? t : x.icon, N = P.toArray(m).some(
255
255
  (p) => W(p) && p.type === y
256
256
  ), F = () => {
257
- w || (T(!0), b.current && clearTimeout(b.current), b.current = setTimeout(() => {
258
- T(!1), u(!1);
257
+ w || (A(!0), b.current && clearTimeout(b.current), b.current = setTimeout(() => {
258
+ A(!1), u(!1);
259
259
  }, D()));
260
260
  };
261
261
  return /* @__PURE__ */ k(
@@ -284,7 +284,7 @@ const z = v(
284
284
  ].join(" "),
285
285
  ...l,
286
286
  children: [
287
- A ? /* @__PURE__ */ e("span", { className: N ? ae : E, children: A }) : null,
287
+ T ? /* @__PURE__ */ e("span", { className: N ? ae : E, children: T }) : null,
288
288
  /* @__PURE__ */ e("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ e(C.Provider, { value: d, children: m }) }),
289
289
  i ? /* @__PURE__ */ e(
290
290
  "button",
@@ -311,4 +311,4 @@ const Ce = Object.assign(z, {
311
311
  export {
312
312
  Ce as A
313
313
  };
314
- //# sourceMappingURL=alert-KJbsPYkI.js.map
314
+ //# sourceMappingURL=alert-Cxaqd-QO.js.map
@@ -6,7 +6,7 @@ import { B as G } from "./button-CPGiR_bH.js";
6
6
  import { I as D } from "./icon-button-C_kbcd7I.js";
7
7
  import { S as pe } from "./select-BW5ecXlX.js";
8
8
  import { A as le } from "./audio-visualiser-l6zPd0AG.js";
9
- import { A as F } from "./alert-KJbsPYkI.js";
9
+ import { A as F } from "./alert-Cxaqd-QO.js";
10
10
  import { u as me } from "./registry-DvAUVLHh.js";
11
11
  import { M as fe } from "./mic-CUklMZGF.js";
12
12
  import { c as J } from "./createLucideIcon-DhHxpK9K.js";
@@ -447,4 +447,4 @@ export {
447
447
  De as A,
448
448
  Re as a
449
449
  };
450
- //# sourceMappingURL=audio-recorder-Cc3KuL9y.js.map
450
+ //# sourceMappingURL=audio-recorder-BjnB7V8n.js.map
@@ -3,7 +3,7 @@ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef
3
3
  import { c as Pe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as O, Trans as Pt } from "react-i18next";
5
5
  import { u as Ot } from "./registry-DvAUVLHh.js";
6
- import { A as z } from "./alert-KJbsPYkI.js";
6
+ import { A as z } from "./alert-Cxaqd-QO.js";
7
7
  import { B as ie } from "./button-CPGiR_bH.js";
8
8
  import { C as Ke } from "./checkbox-BuZ1u__2.js";
9
9
  import { C as Bt } from "./checkbox-group-CfqMv57d.js";
@@ -2692,4 +2692,4 @@ export {
2692
2692
  X as O,
2693
2693
  Cs as b
2694
2694
  };
2695
- //# sourceMappingURL=booking-CLmeXtGv.js.map
2695
+ //# sourceMappingURL=booking-BvCu2XWY.js.map
@@ -6,7 +6,7 @@ import { B as b } from "./badge-DCOqV9mI.js";
6
6
  import { C as B } from "./card-DPmk26CL.js";
7
7
  import { E as G } from "./empty-state-CrLsi0XI.js";
8
8
  import { P as Y } from "./panel-header-D313n_9-.js";
9
- import { P as J } from "./pdf-viewer-DF3VMaPo.js";
9
+ import { P as J } from "./pdf-viewer-CcOuR2wj.js";
10
10
  import { T as O, b as Q, c as X, a as Z } from "./tabs-CVTukWRD.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { F as ie, a as te } from "./file-Cwe9VC1A.js";
@@ -287,4 +287,4 @@ export {
287
287
  ue as D,
288
288
  de as d
289
289
  };
290
- //# sourceMappingURL=document-preview-nwfulDEs.js.map
290
+ //# sourceMappingURL=document-preview-DXl9migE.js.map
@@ -3,8 +3,8 @@ import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as
3
3
  import { c as k } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ye } from "react-i18next";
5
5
  import { B as K } from "./button-CPGiR_bH.js";
6
- import { A as ae } from "./alert-KJbsPYkI.js";
7
- import { L as he, F as Xe } from "./file-upload-DENvuhfs.js";
6
+ import { A as ae } from "./alert-Cxaqd-QO.js";
7
+ import { L as he, F as Xe } from "./file-upload-CwxdqkMK.js";
8
8
  import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as $e } from "./registry-DvAUVLHh.js";
10
10
  import { R as Ge } from "./rotate-ccw-BBQnIVTr.js";
@@ -676,4 +676,4 @@ export {
676
676
  or as D,
677
677
  Qe as d
678
678
  };
679
- //# sourceMappingURL=document-scanner-B6h1Ir56.js.map
679
+ //# sourceMappingURL=document-scanner-cS_ispQs.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as e, Fragment as _ } from "react/jsx-runtime";
2
2
  import { forwardRef as q, useId as w, useRef as f, useImperativeHandle as K, useMemo as P } from "react";
3
3
  import { useTranslation as D } from "react-i18next";
4
- import { A as I } from "./alert-KJbsPYkI.js";
4
+ import { A as I } from "./alert-Cxaqd-QO.js";
5
5
  import { A as H } from "./avatar-BNQNhoyL.js";
6
6
  import { B as $ } from "./button-CPGiR_bH.js";
7
7
  import { I as O } from "./icon-button-C_kbcd7I.js";
@@ -274,4 +274,4 @@ function ae({ section: t }) {
274
274
  export {
275
275
  be as E
276
276
  };
277
- //# sourceMappingURL=entity-summary--vP698Jn.js.map
277
+ //# sourceMappingURL=entity-summary-BILN4wEG.js.map