@alfadocs/ui-kit 1.12.6 → 1.14.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 (182) hide show
  1. package/dist/_chunks/actions-cell-renderer-yy03OgRL.js +137 -0
  2. package/dist/_chunks/{address-fields-CZP4Wncx.js → address-fields-CZ0pEdEI.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-DnbfEJnr.js → ai-prompt-input-CrHr-5H8.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-BfhxWPO3.js → anamnesis-summary-rows-CRWO8x8g.js} +4 -4
  5. package/dist/_chunks/{audio-recorder-EWBCNIsd.js → audio-recorder-DXG6LTtO.js} +2 -2
  6. package/dist/_chunks/{autocomplete-BrONKN8l.js → autocomplete-MpBhz-fG.js} +86 -74
  7. package/dist/_chunks/{balance-badge-cell-7L6nzB29.js → balance-badge-cell-CgkxYO96.js} +9 -8
  8. package/dist/_chunks/{bishop-score-Cnu0xs-z.js → bishop-score-CJUVBfAu.js} +2 -2
  9. package/dist/_chunks/{booking-CBHKdsZl.js → booking-DQbo6mQF.js} +609 -591
  10. package/dist/_chunks/{calendar-B4Gnyu1C.js → calendar-CHT9Rm3M.js} +2 -2
  11. package/dist/_chunks/{calendar-event-card-Bjdbik8G.js → calendar-event-card-BjdHZaqz.js} +18 -14
  12. package/dist/_chunks/calendar-plus-BFrIRE4r.js +19 -0
  13. package/dist/_chunks/calendar-workspace-DI49_t6t.js +7429 -0
  14. package/dist/_chunks/{care-plan-card-aDN4oem9.js → care-plan-card-D-FMfDKH.js} +2 -2
  15. package/dist/_chunks/{care-plan-entry-card-BEhANdBE.js → care-plan-entry-card-Bvw_9T-d.js} +2 -2
  16. package/dist/_chunks/{care-plan-header-CkpPyQqG.js → care-plan-header-B5CBE0zu.js} +2 -2
  17. package/dist/_chunks/{city-input-towzBenY.js → city-input-DaQc-Hbj.js} +2 -2
  18. package/dist/_chunks/clipboard-list-rSzfIYZB.js +25 -0
  19. package/dist/_chunks/{color-picker-oZ6zYks8.js → color-picker-CU303VjY.js} +4 -2
  20. package/dist/_chunks/{combobox-DiMLItyu.js → combobox-D7_NLE2Z.js} +89 -81
  21. package/dist/_chunks/{contact-profile-card-BMIBr5s9.js → contact-profile-card-BZqi8Hck.js} +38 -36
  22. package/dist/_chunks/{country-select-UEF9BEeQ.js → country-select-DzbPFktV.js} +2 -2
  23. package/dist/_chunks/data-table-DC5rO3Ty.js +1817 -0
  24. package/dist/_chunks/{document-preview-oyx9RhCo.js → document-preview-CDb-n_W7.js} +2 -2
  25. package/dist/_chunks/{face-scheme-CZaKm6fG.js → face-scheme-DA2vjqaM.js} +2 -2
  26. package/dist/_chunks/{field-value-DG8zaZvo.js → field-value-D-vkX9uL.js} +120 -140
  27. package/dist/_chunks/{file-manager-C0y7HBAN.js → file-manager-DJMeB3V8.js} +138 -153
  28. package/dist/_chunks/folder-plus-CutOs4DP.js +22 -0
  29. package/dist/_chunks/{gestational-age-calculator-CxZelpu2.js → gestational-age-calculator-CiOQjzgx.js} +2 -2
  30. package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
  31. package/dist/_chunks/key-value-pair-BIBdZBLg.js +188 -0
  32. package/dist/_chunks/{link-cell-renderer-CenJx-_7.js → link-cell-renderer-CIASXsVM.js} +4 -4
  33. package/dist/_chunks/{multi-select-DqL4o0qV.js → multi-select-DYOvx2SJ.js} +56 -48
  34. package/dist/_chunks/{muscle-scheme-yfzP_xoJ.js → muscle-scheme-BSJsI4-I.js} +2 -2
  35. package/dist/_chunks/{notes-panel-CymneXtl.js → notes-panel-DYAtlq_i.js} +2 -2
  36. package/dist/_chunks/{optical-prescription-Dj3Eh5Ok.js → optical-prescription-BvwuqTpl.js} +2 -2
  37. package/dist/_chunks/{patient-details-xrqe13az.js → patient-details-BfzvFnxQ.js} +75 -94
  38. package/dist/_chunks/{patient-search-D5ufYoRc.js → patient-search-HeEUB-_X.js} +2 -2
  39. package/dist/_chunks/{patient-summary-card-CBfuDvJ5.js → patient-summary-card-D5Vfa321.js} +3 -3
  40. package/dist/_chunks/{payment-request-card-YVCcCZ25.js → payment-request-card-lmKLwsDs.js} +2 -2
  41. package/dist/_chunks/{periodontal-chart-BatZEFar.js → periodontal-chart-B9fphroR.js} +2 -2
  42. package/dist/_chunks/{periodontal-chart-card-BBpY_rBc.js → periodontal-chart-card-qEZPXj83.js} +2 -2
  43. package/dist/_chunks/{practice-results-D7ygCj_W.js → practice-results-DL_ExLYE.js} +159 -172
  44. package/dist/_chunks/{pregnancy-dating-DtToyMyc.js → pregnancy-dating-D2wchD11.js} +2 -2
  45. package/dist/_chunks/{province-select-BDywtmL-.js → province-select-BBc7s7vR.js} +2 -2
  46. package/dist/_chunks/{rich-text-editor-BDfFtK4H.js → rich-text-editor-DtbcA6s1.js} +2 -2
  47. package/dist/_chunks/{select-BW5ecXlX.js → select-Bi8zril7.js} +165 -136
  48. package/dist/_chunks/signature-CpFNpsVK.js +21 -0
  49. package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-CEiPe-vX.js} +19 -34
  50. package/dist/_chunks/{signature-request-DVDTKLjM.js → signature-request-CUe903hj.js} +2 -2
  51. package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
  52. package/dist/_chunks/{tabs-CBb2AidH.js → tabs-DqKtTIjZ.js} +2 -2
  53. package/dist/_chunks/{tasks-panel-Do5SFp-j.js → tasks-panel-DPCNaRko.js} +2 -2
  54. package/dist/_chunks/{toast.agent-D1tdg6DS.js → toast-YZz2sBzB.js} +160 -212
  55. package/dist/_chunks/toast.agent-DNQ0JYGv.js +56 -0
  56. package/dist/_chunks/{tooth-scheme-WdyVymQ1.js → tooth-scheme-2IsmbE6w.js} +2 -2
  57. package/dist/_chunks/{unit-converter-BPumXMA6.js → unit-converter-C6jMjqL9.js} +2 -2
  58. package/dist/_chunks/{workflow-map-DE_ribRM.js → workflow-map-dNzJjBWG.js} +104 -113
  59. package/dist/agent-catalog.json +867 -1
  60. package/dist/agent-i18n/en.json +27 -0
  61. package/dist/components/_shared/option.d.ts +1 -0
  62. package/dist/components/address-fields/index.js +1 -1
  63. package/dist/components/ai-prompt-input/index.js +1 -1
  64. package/dist/components/audio-recorder/index.js +1 -1
  65. package/dist/components/autocomplete/index.js +1 -1
  66. package/dist/components/bishop-score/index.js +1 -1
  67. package/dist/components/booking/index.js +1 -1
  68. package/dist/components/calendar/index.js +1 -1
  69. package/dist/components/calendar-event-card/index.js +1 -1
  70. package/dist/components/care-plan-card/index.js +1 -1
  71. package/dist/components/care-plan-entry-card/index.js +1 -1
  72. package/dist/components/care-plan-header/index.js +1 -1
  73. package/dist/components/city-input/index.js +1 -1
  74. package/dist/components/color-picker/index.js +1 -1
  75. package/dist/components/combobox/index.js +1 -1
  76. package/dist/components/contact-profile-card/index.js +1 -1
  77. package/dist/components/country-select/index.js +1 -1
  78. package/dist/components/data-table/index.js +39 -38
  79. package/dist/components/document-preview/index.js +1 -1
  80. package/dist/components/face-scheme/index.js +1 -1
  81. package/dist/components/file-manager/index.js +1 -1
  82. package/dist/components/gestational-age-calculator/index.js +1 -1
  83. package/dist/components/index.d.ts +1 -0
  84. package/dist/components/key-value-pair/index.js +1 -1
  85. package/dist/components/key-value-pair/key-value-pair.d.ts +16 -0
  86. package/dist/components/multi-select/index.js +1 -1
  87. package/dist/components/muscle-scheme/index.js +1 -1
  88. package/dist/components/notes-panel/index.js +1 -1
  89. package/dist/components/optical-prescription/index.js +1 -1
  90. package/dist/components/patient-details/index.js +1 -1
  91. package/dist/components/patient-search/index.js +1 -1
  92. package/dist/components/patient-summary-card/index.js +1 -1
  93. package/dist/components/patient-table/index.js +1 -1
  94. package/dist/components/payment-card/index.js +1 -1
  95. package/dist/components/periodontal-chart/index.js +1 -1
  96. package/dist/components/periodontal-chart-card/index.js +1 -1
  97. package/dist/components/practice-results/index.js +1 -1
  98. package/dist/components/pregnancy-dating/index.js +1 -1
  99. package/dist/components/province-select/index.js +1 -1
  100. package/dist/components/rich-text-editor/index.js +1 -1
  101. package/dist/components/select/index.js +1 -1
  102. package/dist/components/select/select.d.ts +24 -0
  103. package/dist/components/signature-field/index.js +1 -1
  104. package/dist/components/skeleton-scheme/index.js +1 -1
  105. package/dist/components/tabs/index.js +1 -1
  106. package/dist/components/tasks-panel/index.js +1 -1
  107. package/dist/components/toast/index.js +7 -6
  108. package/dist/components/tooth-scheme/index.js +1 -1
  109. package/dist/components/unit-converter/index.js +1 -1
  110. package/dist/components/workflow/index.js +1 -1
  111. package/dist/i18n/locales/ar.d.ts +680 -0
  112. package/dist/i18n/locales/ar.js +680 -0
  113. package/dist/i18n/locales/de.d.ts +680 -0
  114. package/dist/i18n/locales/de.js +680 -0
  115. package/dist/i18n/locales/el.d.ts +680 -0
  116. package/dist/i18n/locales/el.js +680 -0
  117. package/dist/i18n/locales/en.d.ts +680 -0
  118. package/dist/i18n/locales/en.js +680 -0
  119. package/dist/i18n/locales/es.d.ts +680 -0
  120. package/dist/i18n/locales/es.js +680 -0
  121. package/dist/i18n/locales/fr.d.ts +680 -0
  122. package/dist/i18n/locales/fr.js +680 -0
  123. package/dist/i18n/locales/hi.d.ts +680 -0
  124. package/dist/i18n/locales/hi.js +680 -0
  125. package/dist/i18n/locales/it.d.ts +680 -0
  126. package/dist/i18n/locales/it.js +680 -0
  127. package/dist/i18n/locales/ja.d.ts +680 -0
  128. package/dist/i18n/locales/ja.js +680 -0
  129. package/dist/i18n/locales/nl.d.ts +680 -0
  130. package/dist/i18n/locales/nl.js +680 -0
  131. package/dist/i18n/locales/pl.d.ts +680 -0
  132. package/dist/i18n/locales/pl.js +680 -0
  133. package/dist/i18n/locales/pt.d.ts +680 -0
  134. package/dist/i18n/locales/pt.js +680 -0
  135. package/dist/i18n/locales/ro.d.ts +680 -0
  136. package/dist/i18n/locales/ro.js +680 -0
  137. package/dist/i18n/locales/ru.d.ts +680 -0
  138. package/dist/i18n/locales/ru.js +680 -0
  139. package/dist/i18n/locales/sq.d.ts +680 -0
  140. package/dist/i18n/locales/sq.js +680 -0
  141. package/dist/i18n/locales/sv.d.ts +680 -0
  142. package/dist/i18n/locales/sv.js +680 -0
  143. package/dist/i18n/locales/tr.d.ts +680 -0
  144. package/dist/i18n/locales/tr.js +680 -0
  145. package/dist/i18n/locales/zh.d.ts +680 -0
  146. package/dist/i18n/locales/zh.js +680 -0
  147. package/dist/index.js +830 -812
  148. package/dist/locales/ar.json +680 -0
  149. package/dist/locales/de.json +680 -0
  150. package/dist/locales/el.json +680 -0
  151. package/dist/locales/en.json +680 -0
  152. package/dist/locales/es.json +680 -0
  153. package/dist/locales/fr.json +680 -0
  154. package/dist/locales/hi.json +680 -0
  155. package/dist/locales/it.json +680 -0
  156. package/dist/locales/ja.json +680 -0
  157. package/dist/locales/nl.json +680 -0
  158. package/dist/locales/pl.json +680 -0
  159. package/dist/locales/pt.json +680 -0
  160. package/dist/locales/ro.json +680 -0
  161. package/dist/locales/ru.json +680 -0
  162. package/dist/locales/sq.json +680 -0
  163. package/dist/locales/sv.json +680 -0
  164. package/dist/locales/tr.json +680 -0
  165. package/dist/locales/zh.json +680 -0
  166. package/dist/patterns/anamnesis/index.js +1 -1
  167. package/dist/patterns/calendar/calendar-workspace.d.ts +62 -0
  168. package/dist/patterns/calendar/calendar-workspace.model.d.ts +358 -0
  169. package/dist/patterns/calendar/calendar.data.d.ts +122 -0
  170. package/dist/patterns/calendar/calendar.host.d.ts +10 -0
  171. package/dist/patterns/calendar/calendar.journey.d.ts +119 -0
  172. package/dist/patterns/calendar/calendar.model.d.ts +684 -0
  173. package/dist/patterns/calendar/calendar.preferences.d.ts +74 -0
  174. package/dist/patterns/calendar/calendar.sheets.d.ts +398 -0
  175. package/dist/patterns/calendar/calendar.surface.d.ts +77 -0
  176. package/dist/patterns/calendar/calendar.types.d.ts +413 -0
  177. package/dist/patterns/calendar/index.d.ts +13 -0
  178. package/dist/patterns/calendar/index.js +19 -0
  179. package/dist/patterns/signature-request/index.js +1 -1
  180. package/package.json +5 -1
  181. package/dist/_chunks/actions-cell-renderer-DnSLrgQD.js +0 -1945
  182. package/dist/_chunks/key-value-pair-BubG4fUa.js +0 -144
@@ -8,7 +8,7 @@ import { R as j } from "./radio-group-rXDJADzW.js";
8
8
  import { F as f } from "./form-field-CahJzTxp.js";
9
9
  import { D as V } from "./date-picker-CepI_oI2.js";
10
10
  import { N as H } from "./number-input-Cgu2TtA8.js";
11
- import { S as Ce } from "./select-BW5ecXlX.js";
11
+ import { S as Ce } from "./select-Bi8zril7.js";
12
12
  import { S as je } from "./switch-OILsBLWo.js";
13
13
  import { C as ie } from "./card-DPmk26CL.js";
14
14
  import { B as $ } from "./badge-sTusUqZD.js";
@@ -767,4 +767,4 @@ Ue.displayName = "PregnancyDating";
767
767
  export {
768
768
  Ue as P
769
769
  };
770
- //# sourceMappingURL=pregnancy-dating-DtToyMyc.js.map
770
+ //# sourceMappingURL=pregnancy-dating-D2wchD11.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useMemo as p, useCallback as O, useRef as h, useEffect as z } from "react";
3
3
  import { useTranslation as U } from "react-i18next";
4
- import { C as F } from "./combobox-DiMLItyu.js";
4
+ import { C as F } from "./combobox-D7_NLE2Z.js";
5
5
  import { u as y } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as G } from "./registry-DvAUVLHh.js";
7
7
  const w = [
@@ -258,4 +258,4 @@ export {
258
258
  k as P,
259
259
  _ as p
260
260
  };
261
- //# sourceMappingURL=province-select-BDywtmL-.js.map
261
+ //# sourceMappingURL=province-select-BBc7s7vR.js.map
@@ -19,7 +19,7 @@ import { a as pt } from "./tooltip-DvmfrNvB.js";
19
19
  import { P as q } from "./popover-Cqcjx-Ny.js";
20
20
  import { D as Ae } from "./dropdown-menu-DU-Hrf33.js";
21
21
  import { D as B } from "./dialog-UbKJCi1X.js";
22
- import { C as We } from "./color-picker-oZ6zYks8.js";
22
+ import { C as We } from "./color-picker-CU303VjY.js";
23
23
  import { T as Ie } from "./text-input-CUvCb6ST.js";
24
24
  import { C as Xt } from "./checkbox-BuZ1u__2.js";
25
25
  import { F as Ut } from "./file-upload-CwxdqkMK.js";
@@ -2626,4 +2626,4 @@ export {
2626
2626
  hn as r,
2627
2627
  Qn as w
2628
2628
  };
2629
- //# sourceMappingURL=rich-text-editor-BDfFtK4H.js.map
2629
+ //# sourceMappingURL=rich-text-editor-DtbcA6s1.js.map
@@ -1,13 +1,13 @@
1
- import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
- import { forwardRef as a, useContext as fe, useState as G, useRef as q, useMemo as ge } from "react";
1
+ import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
+ import { forwardRef as i, useContext as fe, useState as q, useRef as L, useMemo as ge } from "react";
3
3
  import { u as he } from "./registry-DvAUVLHh.js";
4
4
  import * as o from "@radix-ui/react-select";
5
- import { c as I } from "./index-D2ZczOXr.js";
5
+ import { c as j } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as ve } from "react-i18next";
7
7
  import { u as be, F as ye } from "./form-field-context-B3APVHKx.js";
8
8
  import { g as Se } from "./group-options-BvKhQ3xb.js";
9
9
  import { C as xe } from "./chevron-up-umRGgtJA.js";
10
- import { C as L } from "./chevron-down-DWE7GSq9.js";
10
+ import { C as $ } from "./chevron-down-DWE7GSq9.js";
11
11
  import { C as Ne } from "./check-DrFSN__t.js";
12
12
  import { u as we } from "./use-direction-Dp8h70PP.js";
13
13
  import { X as Ce } from "./x-B5YnXwCz.js";
@@ -95,7 +95,7 @@ const ze = {
95
95
  description: "Stable opaque option value emitted on each rendered option."
96
96
  }
97
97
  }
98
- }, $ = I(
98
+ }, A = j(
99
99
  [
100
100
  "ds:group ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full",
101
101
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input",
@@ -125,7 +125,7 @@ const ze = {
125
125
  tone: "default"
126
126
  }
127
127
  }
128
- ), Ie = I(
128
+ ), Ie = j(
129
129
  [
130
130
  "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
131
131
  "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
@@ -137,7 +137,7 @@ const ze = {
137
137
  "ds:data-[side=top]:slide-in-from-bottom-2",
138
138
  "ds:motion-reduce:animate-none"
139
139
  ].join(" ")
140
- ), je = I(
140
+ ), je = j(
141
141
  [
142
142
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
143
143
  "ds:rounded-[var(--radius-sm)]",
@@ -157,11 +157,11 @@ const ze = {
157
157
  size: "md"
158
158
  }
159
159
  }
160
- ), Ve = [
160
+ ), ke = [
161
161
  "ds:ps-8 ds:pe-3 ds:py-1.5",
162
162
  "type-eyebrow ds:text-muted-foreground",
163
163
  "ds:sticky ds:top-0 ds:bg-background"
164
- ].join(" "), ke = {
164
+ ].join(" "), Ve = {
165
165
  sm: "ds:size-3.5",
166
166
  md: "ds:size-4",
167
167
  lg: "ds:size-5"
@@ -176,23 +176,23 @@ function Re(...e) {
176
176
  n && (typeof n == "function" ? n(s) : n.current = s);
177
177
  };
178
178
  }
179
- const A = (e) => /* @__PURE__ */ t(o.Root, { ...e });
180
- A.displayName = "Select.Root";
181
- const _ = a(
179
+ const _ = (e) => /* @__PURE__ */ t(o.Root, { ...e });
180
+ _.displayName = "Select.Root";
181
+ const H = i(
182
182
  ({ size: e, tone: s, className: n, children: r, ...l }, c) => /* @__PURE__ */ t(
183
183
  o.Trigger,
184
184
  {
185
185
  ref: c,
186
- className: $({ size: e, tone: s, className: n }),
186
+ className: A({ size: e, tone: s, className: n }),
187
187
  ...l,
188
188
  children: r
189
189
  }
190
190
  )
191
191
  );
192
- _.displayName = "Select.Trigger";
193
- const H = a((e, s) => /* @__PURE__ */ t(o.Value, { ref: s, ...e }));
194
- H.displayName = "Select.Value";
195
- const j = a(
192
+ H.displayName = "Select.Trigger";
193
+ const M = i((e, s) => /* @__PURE__ */ t(o.Value, { ref: s, ...e }));
194
+ M.displayName = "Select.Value";
195
+ const k = i(
196
196
  ({
197
197
  className: e,
198
198
  children: s,
@@ -200,7 +200,7 @@ const j = a(
200
200
  sideOffset: r = 4,
201
201
  container: l,
202
202
  ...c
203
- }, h) => /* @__PURE__ */ t(o.Portal, { container: l ?? void 0, children: /* @__PURE__ */ g(
203
+ }, h) => /* @__PURE__ */ t(o.Portal, { container: l ?? void 0, children: /* @__PURE__ */ f(
204
204
  o.Content,
205
205
  {
206
206
  ref: h,
@@ -212,13 +212,13 @@ const j = a(
212
212
  children: [
213
213
  /* @__PURE__ */ t(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t(xe, { "aria-hidden": "true", className: "ds:size-4" }) }),
214
214
  s,
215
- /* @__PURE__ */ t(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t(L, { "aria-hidden": "true", className: "ds:size-4" }) })
215
+ /* @__PURE__ */ t(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t($, { "aria-hidden": "true", className: "ds:size-4" }) })
216
216
  ]
217
217
  }
218
218
  ) })
219
219
  );
220
- j.displayName = "Select.Content";
221
- const V = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
220
+ k.displayName = "Select.Content";
221
+ const V = i(({ className: e, ...s }, n) => /* @__PURE__ */ t(
222
222
  o.Viewport,
223
223
  {
224
224
  ref: n,
@@ -227,54 +227,82 @@ const V = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
227
227
  }
228
228
  ));
229
229
  V.displayName = "Select.Viewport";
230
- const k = a(({ size: e = "md", className: s, children: n, startAdornment: r, ...l }, c) => {
231
- const h = Te[e ?? "md"], S = ke[e ?? "md"];
232
- return /* @__PURE__ */ g(
233
- o.Item,
234
- {
235
- ref: c,
236
- className: je({ size: e, className: s }),
237
- ...l,
238
- children: [
239
- /* @__PURE__ */ t(
240
- "span",
241
- {
242
- className: `ds:absolute ${h} ds:inline-flex ds:items-center ds:justify-center`,
243
- "aria-hidden": "true",
244
- children: /* @__PURE__ */ t(o.ItemIndicator, { children: /* @__PURE__ */ t(Ne, { className: S }) })
245
- }
246
- ),
247
- r ? (
248
- // Decorative by contract — accessible name comes from the item text.
230
+ const T = i(
231
+ ({ size: e = "md", className: s, children: n, startAdornment: r, endContent: l, ...c }, h) => {
232
+ const S = Te[e ?? "md"], x = Ve[e ?? "md"];
233
+ return /* @__PURE__ */ f(
234
+ o.Item,
235
+ {
236
+ ref: h,
237
+ className: je({ size: e, className: s }),
238
+ ...c,
239
+ children: [
249
240
  /* @__PURE__ */ t(
250
241
  "span",
251
242
  {
243
+ className: `ds:absolute ${S} ds:inline-flex ds:items-center ds:justify-center`,
252
244
  "aria-hidden": "true",
253
- className: "ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)]",
254
- children: r
245
+ children: /* @__PURE__ */ t(o.ItemIndicator, { children: /* @__PURE__ */ t(Ne, { className: x }) })
255
246
  }
256
- )
257
- ) : null,
258
- /* @__PURE__ */ t(o.ItemText, { children: n })
259
- ]
260
- }
261
- );
262
- });
263
- k.displayName = "Select.Item";
264
- const M = a((e, s) => /* @__PURE__ */ t(o.ItemText, { ref: s, ...e }));
265
- M.displayName = "Select.ItemText";
266
- const U = a((e, s) => /* @__PURE__ */ t(o.Group, { ref: s, ...e }));
267
- U.displayName = "Select.Group";
268
- const T = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
247
+ ),
248
+ r ? (
249
+ // Decorative by contract — accessible name comes from the item text.
250
+ /* @__PURE__ */ t(
251
+ "span",
252
+ {
253
+ "aria-hidden": "true",
254
+ className: "ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)]",
255
+ children: r
256
+ }
257
+ )
258
+ ) : null,
259
+ l ? (
260
+ // Radix points the item's `aria-labelledby` at `ItemText`, so
261
+ // anything rendered outside it is dropped from the accessible
262
+ // name — a price there would be visible but never announced.
263
+ // It therefore goes INSIDE `ItemText`, wrapped in a flex row so
264
+ // `ms-auto` still pins it to the inline-end (and flips in RTL).
265
+ //
266
+ // The trade-off is deliberate: Radix mirrors `ItemText` into the
267
+ // closed trigger, so the selected item's trailing content shows
268
+ // there too. For the case this exists for — a price — that reads
269
+ // as a feature, not a leak. The wrapper is rendered ONLY when
270
+ // `endContent` is supplied, so every existing item keeps its
271
+ // previous DOM exactly.
272
+ //
273
+ // `asChild` is required, not stylistic. `SelectItemText`
274
+ // destructures `className` and `style` off its props and never
275
+ // applies them, so styling it directly is silently discarded.
276
+ // It must also GROW: as a plain flex item of the row it sizes to
277
+ // its content, leaving `ms-auto` no free space to absorb, and the
278
+ // chip would sit against the label instead of the row's end —
279
+ // the ragged column this change exists to remove. `asChild` makes
280
+ // our own span become the ItemText element, so `flex-1` lands.
281
+ /* @__PURE__ */ t(o.ItemText, { asChild: !0, children: /* @__PURE__ */ f("span", { className: "ds:flex ds:flex-1 ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
282
+ /* @__PURE__ */ t("span", { className: "ds:min-w-0 ds:truncate", children: n }),
283
+ /* @__PURE__ */ t("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: l })
284
+ ] }) })
285
+ ) : /* @__PURE__ */ t(o.ItemText, { children: n })
286
+ ]
287
+ }
288
+ );
289
+ }
290
+ );
291
+ T.displayName = "Select.Item";
292
+ const U = i((e, s) => /* @__PURE__ */ t(o.ItemText, { ref: s, ...e }));
293
+ U.displayName = "Select.ItemText";
294
+ const W = i((e, s) => /* @__PURE__ */ t(o.Group, { ref: s, ...e }));
295
+ W.displayName = "Select.Group";
296
+ const R = i(({ className: e, ...s }, n) => /* @__PURE__ */ t(
269
297
  o.Label,
270
298
  {
271
299
  ref: n,
272
- className: [Ve, e].filter(Boolean).join(" "),
300
+ className: [ke, e].filter(Boolean).join(" "),
273
301
  ...s
274
302
  }
275
303
  ));
276
- T.displayName = "Select.Label";
277
- const W = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
304
+ R.displayName = "Select.Label";
305
+ const E = i(({ className: e, ...s }, n) => /* @__PURE__ */ t(
278
306
  o.Separator,
279
307
  {
280
308
  ref: n,
@@ -282,8 +310,8 @@ const W = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
282
310
  ...s
283
311
  }
284
312
  ));
285
- W.displayName = "Select.Separator";
286
- const E = a(function({
313
+ E.displayName = "Select.Separator";
314
+ const X = i(function({
287
315
  options: s,
288
316
  value: n,
289
317
  defaultValue: r,
@@ -291,79 +319,79 @@ const E = a(function({
291
319
  placeholder: c,
292
320
  clearable: h = !1,
293
321
  disabled: S,
294
- required: X,
322
+ required: x,
295
323
  name: J,
296
- id: x,
297
- size: R = "md",
324
+ id: N,
325
+ size: B = "md",
298
326
  tone: Q = "default",
299
327
  className: Y,
300
328
  container: Z,
301
- "aria-label": B
329
+ "aria-label": O
302
330
  }, ee) {
303
- const { t: N } = ve(), u = be(), p = fe(ye) !== null, [te, b] = G(
331
+ const { t: w } = ve(), u = be(), p = fe(ye) !== null, [te, b] = q(
304
332
  n ?? r ?? ""
305
- ), m = n !== void 0, v = m ? n : te, [w, C] = G(!1), O = q(v);
306
- O.current = v;
307
- const se = x ?? (p ? u.id : void 0), D = (p ? u.disabled : !1) || !!S, oe = (p ? u.required : !1) || !!X, F = p ? u.invalid : !1, ne = F ? "error" : Q, ie = p && u.describedBy ? u.describedBy : void 0, z = q(null), de = Re(ee, z), ae = we(z), d = l, re = (i) => {
308
- m || b(i), d == null || d(i);
309
- }, le = (i) => {
333
+ ), g = n !== void 0, v = g ? n : te, [C, z] = q(!1), D = L(v);
334
+ D.current = v;
335
+ const se = N ?? (p ? u.id : void 0), F = (p ? u.disabled : !1) || !!S, oe = (p ? u.required : !1) || !!x, K = p ? u.invalid : !1, ne = K ? "error" : Q, de = p && u.describedBy ? u.describedBy : void 0, I = L(null), ae = Re(ee, I), ie = we(I), a = l, re = (d) => {
336
+ g || b(d), a == null || a(d);
337
+ }, le = (d) => {
310
338
  var y;
311
- i.preventDefault(), i.stopPropagation(), m || b(""), d == null || d(""), (y = z.current) == null || y.focus();
312
- }, K = c ?? N("inputs.select.placeholder", "Select…"), ce = h && !!v && !D, ue = Se(s), pe = ge(
339
+ d.preventDefault(), d.stopPropagation(), g || b(""), a == null || a(""), (y = I.current) == null || y.focus();
340
+ }, P = c ?? w("inputs.select.placeholder", "Select…"), ce = h && !!v && !F, ue = Se(s), pe = ge(
313
341
  () => ({
314
- getValue: () => O.current,
315
- setValue: (i) => {
316
- m || b(i), d == null || d(i);
342
+ getValue: () => D.current,
343
+ setValue: (d) => {
344
+ g || b(d), a == null || a(d);
317
345
  },
318
346
  clear: () => {
319
- m || b(""), d == null || d("");
347
+ g || b(""), a == null || a("");
320
348
  },
321
- open: () => C(!0),
322
- close: () => C(!1),
323
- isOpen: () => w
349
+ open: () => z(!0),
350
+ close: () => z(!1),
351
+ isOpen: () => C
324
352
  }),
325
- [d, m, w]
353
+ [a, g, C]
326
354
  );
327
- return he(ze, pe, x), /* @__PURE__ */ g(
355
+ return he(ze, pe, N), /* @__PURE__ */ f(
328
356
  o.Root,
329
357
  {
330
358
  value: v === "" ? void 0 : v,
331
359
  onValueChange: re,
332
- open: w,
333
- onOpenChange: C,
334
- disabled: D,
360
+ open: C,
361
+ onOpenChange: z,
362
+ disabled: F,
335
363
  required: oe,
336
364
  name: J,
337
- dir: ae,
365
+ dir: ie,
338
366
  children: [
339
- /* @__PURE__ */ g(
367
+ /* @__PURE__ */ f(
340
368
  o.Trigger,
341
369
  {
342
- ref: de,
370
+ ref: ae,
343
371
  id: se,
344
- "aria-label": B ?? (p ? void 0 : K),
345
- "aria-labelledby": !B && p ? `${u.id}-label` : void 0,
346
- "aria-describedby": ie,
347
- "aria-invalid": F || void 0,
372
+ "aria-label": O ?? (p ? void 0 : P),
373
+ "aria-labelledby": !O && p ? `${u.id}-label` : void 0,
374
+ "aria-describedby": de,
375
+ "aria-invalid": K || void 0,
348
376
  "data-component": "select",
349
- "data-component-id": x,
350
- className: $({
351
- size: R,
377
+ "data-component-id": N,
378
+ className: A({
379
+ size: B,
352
380
  tone: ne,
353
381
  className: Y
354
382
  }),
355
383
  children: [
356
- /* @__PURE__ */ t("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ t(o.Value, { placeholder: K }) }),
357
- /* @__PURE__ */ g("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
384
+ /* @__PURE__ */ t("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ t(o.Value, { placeholder: P }) }),
385
+ /* @__PURE__ */ f("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
358
386
  ce ? /* @__PURE__ */ t(
359
387
  "button",
360
388
  {
361
389
  type: "button",
362
- "aria-label": N("inputs.select.clear", "Clear selection"),
390
+ "aria-label": w("inputs.select.clear", "Clear selection"),
363
391
  onClick: le,
364
- onPointerDown: (i) => i.stopPropagation(),
365
- onKeyDown: (i) => {
366
- (i.key === "Enter" || i.key === " ") && i.stopPropagation();
392
+ onPointerDown: (d) => d.stopPropagation(),
393
+ onKeyDown: (d) => {
394
+ (d.key === "Enter" || d.key === " ") && d.stopPropagation();
367
395
  },
368
396
  className: [
369
397
  "ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)]",
@@ -377,7 +405,7 @@ const E = a(function({
377
405
  }
378
406
  ) : null,
379
407
  /* @__PURE__ */ t(o.Icon, { asChild: !0, children: /* @__PURE__ */ t(
380
- L,
408
+ $,
381
409
  {
382
410
  "aria-hidden": "true",
383
411
  className: [
@@ -391,52 +419,53 @@ const E = a(function({
391
419
  ]
392
420
  }
393
421
  ),
394
- /* @__PURE__ */ t(j, { container: Z, children: /* @__PURE__ */ t(V, { children: s.length === 0 ? /* @__PURE__ */ t("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: N("inputs.select.noOptions", "No options") }) : ue.map(({ group: i, items: y }, me) => {
395
- const P = y.map((f) => /* @__PURE__ */ t(
396
- k,
422
+ /* @__PURE__ */ t(k, { container: Z, children: /* @__PURE__ */ t(V, { children: s.length === 0 ? /* @__PURE__ */ t("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: w("inputs.select.noOptions", "No options") }) : ue.map(({ group: d, items: y }, me) => {
423
+ const G = y.map((m) => /* @__PURE__ */ t(
424
+ T,
397
425
  {
398
- value: f.value,
399
- disabled: f.disabled,
400
- size: R,
401
- "data-option-id": f.value,
402
- startAdornment: f.startAdornment,
403
- children: f.label
426
+ value: m.value,
427
+ disabled: m.disabled,
428
+ size: B,
429
+ "data-option-id": m.value,
430
+ startAdornment: m.startAdornment,
431
+ endContent: m.endContent,
432
+ children: m.label
404
433
  },
405
- f.value
434
+ m.value
406
435
  ));
407
- return i ? /* @__PURE__ */ g(o.Group, { children: [
408
- /* @__PURE__ */ t(T, { children: i }),
409
- P
410
- ] }, `group-${i}`) : /* @__PURE__ */ t(o.Group, { children: P }, `group-${me}`);
436
+ return d ? /* @__PURE__ */ f(o.Group, { children: [
437
+ /* @__PURE__ */ t(R, { children: d }),
438
+ G
439
+ ] }, `group-${d}`) : /* @__PURE__ */ t(o.Group, { children: G }, `group-${me}`);
411
440
  }) }) })
412
441
  ]
413
442
  }
414
443
  );
415
444
  });
416
- E.displayName = "Select";
417
- const Be = Object.assign(E, {
418
- Root: A,
419
- Trigger: _,
420
- Value: H,
421
- Content: j,
445
+ X.displayName = "Select";
446
+ const Be = Object.assign(X, {
447
+ Root: _,
448
+ Trigger: H,
449
+ Value: M,
450
+ Content: k,
422
451
  Viewport: V,
423
- Item: k,
424
- ItemText: M,
425
- Group: U,
426
- Label: T,
427
- Separator: W
452
+ Item: T,
453
+ ItemText: U,
454
+ Group: W,
455
+ Label: R,
456
+ Separator: E
428
457
  }), Me = Be;
429
458
  export {
430
459
  Me as S,
431
- j as a,
432
- U as b,
433
- k as c,
434
- M as d,
435
- T as e,
436
- A as f,
437
- W as g,
438
- _ as h,
439
- H as i,
460
+ k as a,
461
+ W as b,
462
+ T as c,
463
+ U as d,
464
+ R as e,
465
+ _ as f,
466
+ E as g,
467
+ H as h,
468
+ M as i,
440
469
  V as j
441
470
  };
442
- //# sourceMappingURL=select-BW5ecXlX.js.map
471
+ //# sourceMappingURL=select-Bi8zril7.js.map
@@ -0,0 +1,21 @@
1
+ import { c as a } from "./createLucideIcon-DhHxpK9K.js";
2
+ /**
3
+ * @license lucide-react v1.22.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: "m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",
13
+ key: "y32ogt"
14
+ }
15
+ ],
16
+ ["path", { d: "M3 21h18", key: "itz85i" }]
17
+ ], e = a("signature", t);
18
+ export {
19
+ e as S
20
+ };
21
+ //# sourceMappingURL=signature-CpFNpsVK.js.map
@@ -1,27 +1,12 @@
1
1
  import { jsx as s, jsxs as m, Fragment as v } from "react/jsx-runtime";
2
2
  import { forwardRef as k } from "react";
3
- import { c as C } from "./index-D2ZczOXr.js";
4
- import { useTranslation as _ } from "react-i18next";
3
+ import { c as y } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as S } from "react-i18next";
5
5
  import { S as T } from "./spinner-hbwuKwMf.js";
6
- import { C as w } from "./check-DrFSN__t.js";
7
- import { c as S } from "./createLucideIcon-DhHxpK9K.js";
6
+ import { C as _ } from "./check-DrFSN__t.js";
7
+ import { S as w } from "./signature-CpFNpsVK.js";
8
8
  import { P as $ } from "./pen-line-D0De5zdl.js";
9
- /**
10
- * @license lucide-react v1.22.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */
15
- const P = [
16
- [
17
- "path",
18
- {
19
- d: "m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",
20
- key: "y32ogt"
21
- }
22
- ],
23
- ["path", { d: "M3 21h18", key: "itz85i" }]
24
- ], V = S("signature", P), B = C(
9
+ const P = y(
25
10
  [
26
11
  // Overlay fields are always absolutely positioned within the
27
12
  // renderPageOverlay box; the percent geometry rides the inline style.
@@ -100,7 +85,7 @@ const P = [
100
85
  },
101
86
  defaultVariants: { state: "unsigned", active: !1 }
102
87
  }
103
- ), D = k(
88
+ ), V = k(
104
89
  ({
105
90
  state: e = "unsigned",
106
91
  insetInlineStart: o,
@@ -117,12 +102,12 @@ const P = [
117
102
  className: h,
118
103
  ...x
119
104
  }, z) => {
120
- const { t: i } = _(), f = p || e === "signing", n = {};
105
+ const { t: i } = S(), f = p || e === "signing", n = {};
121
106
  o !== void 0 && (n.insetInlineStart = `${o}%`), a !== void 0 && (n.insetBlockStart = `${a}%`), t !== void 0 && (n.inlineSize = `${t}%`), l !== void 0 && (n.blockSize = `${l}%`);
122
- const F = r ?? i("signatureField.prompt"), N = e === "signing" ? r ? i("signatureField.signingNamed", { label: r }) : i("signatureField.signing") : e === "signed" ? r ? i("signatureField.signedNamed", { label: r }) : i("signatureField.signed") : r ?? i("signatureField.unsigned");
123
- function j(y) {
107
+ const F = r ?? i("signatureField.prompt"), j = e === "signing" ? r ? i("signatureField.signingNamed", { label: r }) : i("signatureField.signing") : e === "signed" ? r ? i("signatureField.signedNamed", { label: r }) : i("signatureField.signed") : r ?? i("signatureField.unsigned");
108
+ function N(C) {
124
109
  if (f) {
125
- y.preventDefault();
110
+ C.preventDefault();
126
111
  return;
127
112
  }
128
113
  d == null || d();
@@ -137,11 +122,11 @@ const P = [
137
122
  "data-component-id": b,
138
123
  "data-state": e,
139
124
  "data-active": g || void 0,
140
- "aria-label": N,
125
+ "aria-label": j,
141
126
  "aria-disabled": f || void 0,
142
127
  "aria-busy": e === "signing" || void 0,
143
- onClick: j,
144
- className: [B({ state: e, active: g }), h].filter(Boolean).join(" "),
128
+ onClick: N,
129
+ className: [P({ state: e, active: g }), h].filter(Boolean).join(" "),
145
130
  style: n,
146
131
  children: e === "signing" ? (
147
132
  // Decorative: the button's aria-label + aria-busy are the single
@@ -170,7 +155,7 @@ const P = [
170
155
  ) })
171
156
  ) : /* @__PURE__ */ m(v, { children: [
172
157
  /* @__PURE__ */ s(
173
- w,
158
+ _,
174
159
  {
175
160
  "aria-hidden": "true",
176
161
  className: "ds:block-size-4 ds:inline-size-4 ds:text-[var(--success)]"
@@ -180,7 +165,7 @@ const P = [
180
165
  ] }) : u ? (
181
166
  // Glyph-only unsigned prompt — the Signature squiggle reads as
182
167
  // "sign here" on its own, where the pen + caption would overflow.
183
- /* @__PURE__ */ s(V, { "aria-hidden": "true", className: "ds:size-5" })
168
+ /* @__PURE__ */ s(w, { "aria-hidden": "true", className: "ds:size-5" })
184
169
  ) : /* @__PURE__ */ m(v, { children: [
185
170
  /* @__PURE__ */ s(
186
171
  $,
@@ -195,9 +180,9 @@ const P = [
195
180
  );
196
181
  }
197
182
  );
198
- D.displayName = "SignatureField";
183
+ V.displayName = "SignatureField";
199
184
  export {
200
- D as S,
201
- B as s
185
+ V as S,
186
+ P as s
202
187
  };
203
- //# sourceMappingURL=signature-field-0rFODJlW.js.map
188
+ //# sourceMappingURL=signature-field-CEiPe-vX.js.map
@@ -6,7 +6,7 @@ import { B as z } from "./button-nJaPh_HC.js";
6
6
  import { I as xe } from "./icon-button-DA2CAGHZ.js";
7
7
  import { C as Y } from "./checkbox-BuZ1u__2.js";
8
8
  import { a as Re } from "./whatsapp-button-CuFIHJzG.js";
9
- import { S as Z } from "./select-BW5ecXlX.js";
9
+ import { S as Z } from "./select-Bi8zril7.js";
10
10
  import { S as be } from "./switch-OILsBLWo.js";
11
11
  import { A as _ } from "./alert-CiJT540z.js";
12
12
  import { I as Ne } from "./info-tip-C119cwQl.js";
@@ -414,4 +414,4 @@ Me.displayName = "SignatureRequestModal";
414
414
  export {
415
415
  Me as S
416
416
  };
417
- //# sourceMappingURL=signature-request-DVDTKLjM.js.map
417
+ //# sourceMappingURL=signature-request-CUe903hj.js.map