@alfadocs/ui-kit 0.73.0 → 0.75.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 (190) hide show
  1. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
  2. package/dist/_chunks/{ai-prompt-input-DFm58UjY.js → ai-prompt-input-DziJCGLe.js} +2 -2
  3. package/dist/_chunks/{audio-recorder-CjAY0GAc.js → audio-recorder-Cc3KuL9y.js} +2 -2
  4. package/dist/_chunks/{bishop-score-Bs6t6Zv1.js → bishop-score-DDW5-gb9.js} +2 -2
  5. package/dist/_chunks/{booking-CWnZhZ5g.js → booking-B1Qkcl3c.js} +2 -2
  6. package/dist/_chunks/{care-plan-card-CfIP3Vc1.js → care-plan-card-BrwhyIJI.js} +2 -2
  7. package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js → care-plan-entry-card-DWEdCQM3.js} +2 -2
  8. package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
  9. package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
  10. package/dist/_chunks/{document-scanner-BE6Jz4Ob.js → document-scanner-B6h1Ir56.js} +2 -2
  11. package/dist/_chunks/{field-value-DCXJXKab.js → field-value-DHG6gEKS.js} +2 -2
  12. package/dist/_chunks/file-Cwe9VC1A.js +40 -0
  13. package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
  14. package/dist/_chunks/{file-upload-B2SXhRiN.js → file-upload-DENvuhfs.js} +98 -129
  15. package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js → gestational-age-calculator-BpYw-WF-.js} +2 -2
  16. package/dist/_chunks/{header-settings-CRQDCYgr.js → header-settings-4cwQzeFc.js} +2 -2
  17. package/dist/_chunks/{icon-picker-BePK27S-.js → icon-picker-CM9ubkew.js} +2 -2
  18. package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
  19. package/dist/_chunks/{locale-picker-Cbfqc0_N.js → locale-picker-GNF3lo8K.js} +2 -2
  20. package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js → marketplace-app-shell-D_1tF4La.js} +3 -3
  21. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
  22. package/dist/_chunks/{notes-panel-B_8-Mebz.js → notes-panel-Cvdp818a.js} +2 -2
  23. package/dist/_chunks/{optical-prescription-BQ75_kf6.js → optical-prescription-BEjYQjiO.js} +2 -2
  24. package/dist/_chunks/{patient-details-JkOI3Ijd.js → patient-details-DP4wKyq4.js} +3 -3
  25. package/dist/_chunks/{patient-summary-card-CQOLMH3E.js → patient-summary-card-D6kgdTNn.js} +2 -2
  26. package/dist/_chunks/{patient-table-B_mOe-ZT.js → patient-table-DweKjiXg.js} +122 -118
  27. package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
  28. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
  29. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
  30. package/dist/_chunks/{popover-DGTKfLWh.js → popover-Cc0a69sw.js} +31 -28
  31. package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js → pregnancy-dating-msMl_6wz.js} +2 -2
  32. package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js → radiograph-panel.agent-CxF9pVxd.js} +2 -2
  33. package/dist/_chunks/{rich-text-editor-CgA2bYwi.js → rich-text-editor-CCWjNkbx.js} +186 -177
  34. package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
  35. package/dist/_chunks/{sidebar-CtU35PIX.js → sidebar-C0PbwJBc.js} +357 -320
  36. package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
  37. package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
  38. package/dist/_chunks/{tasks-panel-LCK5ZXvU.js → tasks-panel-CjGAhIN8.js} +2 -2
  39. package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
  40. package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
  41. package/dist/_chunks/{unit-converter-3uL_tMCm.js → unit-converter-CSLWFDQh.js} +2 -2
  42. package/dist/agent-catalog.json +1282 -213
  43. package/dist/agent-i18n/en.json +84 -5
  44. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  45. package/dist/components/ai-prompt-input/index.js +1 -1
  46. package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
  47. package/dist/components/appointment-card/appointment-card.d.ts +1 -1
  48. package/dist/components/audio-recorder/index.js +1 -1
  49. package/dist/components/bishop-score/index.js +1 -1
  50. package/dist/components/booking/index.js +1 -1
  51. package/dist/components/card/card.d.ts +1 -1
  52. package/dist/components/care-plan-card/index.js +1 -1
  53. package/dist/components/care-plan-entry-card/index.js +1 -1
  54. package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
  55. package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
  56. package/dist/components/data-table/index.js +35 -34
  57. package/dist/components/data-table/toolbar.d.ts +1 -1
  58. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
  59. package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
  60. package/dist/components/data-table-tabs/index.d.ts +5 -0
  61. package/dist/components/data-table-tabs/index.js +8 -0
  62. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
  63. package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
  64. package/dist/components/document-preview/document-preview.d.ts +41 -0
  65. package/dist/components/document-preview/index.d.ts +4 -0
  66. package/dist/components/document-preview/index.js +6 -0
  67. package/dist/components/document-scanner/index.js +1 -1
  68. package/dist/components/file-manager/dialogs.d.ts +48 -0
  69. package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
  70. package/dist/components/file-manager/file-manager.d.ts +82 -0
  71. package/dist/components/file-manager/folder-tree.d.ts +12 -0
  72. package/dist/components/file-manager/index.d.ts +5 -0
  73. package/dist/components/file-manager/index.js +6 -0
  74. package/dist/components/file-manager/list-view.d.ts +49 -0
  75. package/dist/components/file-manager/toolbar.d.ts +15 -0
  76. package/dist/components/file-manager/types.d.ts +167 -0
  77. package/dist/components/file-manager/utils.d.ts +34 -0
  78. package/dist/components/file-upload/index.js +1 -1
  79. package/dist/components/gestational-age-calculator/index.js +1 -1
  80. package/dist/components/header-settings/index.js +1 -1
  81. package/dist/components/icon-picker/index.js +1 -1
  82. package/dist/components/index.d.ts +7 -0
  83. package/dist/components/locale-picker/index.js +1 -1
  84. package/dist/components/message-card/message-card.d.ts +1 -1
  85. package/dist/components/muscle-scheme/index.js +1 -1
  86. package/dist/components/notes-panel/index.js +1 -1
  87. package/dist/components/notification-card/notification-card.d.ts +1 -1
  88. package/dist/components/operator-hero/operator-hero.d.ts +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-summary-card/index.js +1 -1
  92. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  93. package/dist/components/patient-table/index.js +1 -1
  94. package/dist/components/payment-card/payment-card.d.ts +1 -1
  95. package/dist/components/payment-card/payment-request-card.d.ts +1 -1
  96. package/dist/components/periodontal-chart/index.d.ts +6 -0
  97. package/dist/components/periodontal-chart/index.js +22 -0
  98. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
  99. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
  100. package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
  101. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
  102. package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
  103. package/dist/components/periodontal-diagnosis/index.js +13 -0
  104. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
  105. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
  106. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
  107. package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
  108. package/dist/components/periodontal-risk-chart/index.js +9 -0
  109. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
  110. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
  111. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
  112. package/dist/components/popover/index.js +1 -1
  113. package/dist/components/popover/popover.d.ts +1 -0
  114. package/dist/components/pregnancy-dating/index.js +1 -1
  115. package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
  116. package/dist/components/radiograph-panel/index.js +1 -1
  117. package/dist/components/rich-text-editor/index.js +1 -1
  118. package/dist/components/select/index.js +1 -1
  119. package/dist/components/sidebar/index.js +1 -1
  120. package/dist/components/sidebar/sidebar.d.ts +9 -0
  121. package/dist/components/skeleton-scheme/index.js +5 -13
  122. package/dist/components/stat/stat.d.ts +1 -1
  123. package/dist/components/tabs/index.js +1 -1
  124. package/dist/components/tasks-panel/index.js +1 -1
  125. package/dist/components/tooth-scheme/index.js +29 -28
  126. package/dist/components/unit-converter/index.js +1 -1
  127. package/dist/i18n/locales/ar.d.ts +320 -0
  128. package/dist/i18n/locales/ar.js +320 -0
  129. package/dist/i18n/locales/de.d.ts +320 -0
  130. package/dist/i18n/locales/de.js +320 -0
  131. package/dist/i18n/locales/el.d.ts +320 -0
  132. package/dist/i18n/locales/el.js +320 -0
  133. package/dist/i18n/locales/en.d.ts +320 -0
  134. package/dist/i18n/locales/en.js +320 -0
  135. package/dist/i18n/locales/es.d.ts +320 -0
  136. package/dist/i18n/locales/es.js +320 -0
  137. package/dist/i18n/locales/fr.d.ts +320 -0
  138. package/dist/i18n/locales/fr.js +320 -0
  139. package/dist/i18n/locales/hi.d.ts +320 -0
  140. package/dist/i18n/locales/hi.js +320 -0
  141. package/dist/i18n/locales/it.d.ts +320 -0
  142. package/dist/i18n/locales/it.js +320 -0
  143. package/dist/i18n/locales/ja.d.ts +320 -0
  144. package/dist/i18n/locales/ja.js +320 -0
  145. package/dist/i18n/locales/nl.d.ts +320 -0
  146. package/dist/i18n/locales/nl.js +320 -0
  147. package/dist/i18n/locales/pl.d.ts +320 -0
  148. package/dist/i18n/locales/pl.js +320 -0
  149. package/dist/i18n/locales/pt.d.ts +320 -0
  150. package/dist/i18n/locales/pt.js +320 -0
  151. package/dist/i18n/locales/ro.d.ts +320 -0
  152. package/dist/i18n/locales/ro.js +320 -0
  153. package/dist/i18n/locales/ru.d.ts +320 -0
  154. package/dist/i18n/locales/ru.js +320 -0
  155. package/dist/i18n/locales/sq.d.ts +320 -0
  156. package/dist/i18n/locales/sq.js +320 -0
  157. package/dist/i18n/locales/sv.d.ts +320 -0
  158. package/dist/i18n/locales/sv.js +320 -0
  159. package/dist/i18n/locales/tr.d.ts +320 -0
  160. package/dist/i18n/locales/tr.js +320 -0
  161. package/dist/i18n/locales/zh.d.ts +320 -0
  162. package/dist/i18n/locales/zh.js +320 -0
  163. package/dist/index.js +832 -782
  164. package/dist/locales/ar.json +320 -0
  165. package/dist/locales/de.json +320 -0
  166. package/dist/locales/el.json +320 -0
  167. package/dist/locales/en.json +320 -0
  168. package/dist/locales/es.json +320 -0
  169. package/dist/locales/fr.json +320 -0
  170. package/dist/locales/hi.json +320 -0
  171. package/dist/locales/it.json +320 -0
  172. package/dist/locales/ja.json +320 -0
  173. package/dist/locales/nl.json +320 -0
  174. package/dist/locales/pl.json +320 -0
  175. package/dist/locales/pt.json +320 -0
  176. package/dist/locales/ro.json +320 -0
  177. package/dist/locales/ru.json +320 -0
  178. package/dist/locales/sq.json +320 -0
  179. package/dist/locales/sv.json +320 -0
  180. package/dist/locales/tr.json +320 -0
  181. package/dist/locales/zh.json +320 -0
  182. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  183. package/dist/patterns/signature-request/index.d.ts +3 -0
  184. package/dist/patterns/signature-request/index.js +5 -0
  185. package/dist/patterns/signature-request/signature-request.d.ts +81 -0
  186. package/dist/tokens.css +1 -1
  187. package/package.json +29 -1
  188. package/dist/_chunks/columns-2-8lq4-b8e.js +0 -15
  189. package/dist/_chunks/link-cell-renderer-CLI7sBkX.js +0 -2210
  190. package/dist/_chunks/tooth-scheme-CX49GycY.js +0 -2133
@@ -9,8 +9,8 @@ import { g as Se } from "./group-options-BvKhQ3xb.js";
9
9
  import { C as xe } from "./chevron-up-umRGgtJA.js";
10
10
  import { C as L } from "./chevron-down-DWE7GSq9.js";
11
11
  import { C as Ne } from "./check-DrFSN__t.js";
12
- import { u as Ce } from "./use-direction-Dp8h70PP.js";
13
- import { X as we } from "./x-B5YnXwCz.js";
12
+ import { u as we } from "./use-direction-Dp8h70PP.js";
13
+ import { X as Ce } from "./x-B5YnXwCz.js";
14
14
  const ze = {
15
15
  id: "select",
16
16
  // Persisted single choice (value state + set_value) → select_single + set_value,
@@ -302,9 +302,9 @@ const E = a(function({
302
302
  }, ee) {
303
303
  const { t: N } = ve(), u = be(), p = fe(ye) !== null, [te, b] = G(
304
304
  n ?? r ?? ""
305
- ), m = n !== void 0, v = m ? n : te, [C, w] = G(!1), O = q(v);
305
+ ), m = n !== void 0, v = m ? n : te, [w, C] = G(!1), O = q(v);
306
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 = Ce(z), d = l, re = (i) => {
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
308
  m || b(i), d == null || d(i);
309
309
  }, le = (i) => {
310
310
  var y;
@@ -318,19 +318,19 @@ const E = a(function({
318
318
  clear: () => {
319
319
  m || b(""), d == null || d("");
320
320
  },
321
- open: () => w(!0),
322
- close: () => w(!1),
323
- isOpen: () => C
321
+ open: () => C(!0),
322
+ close: () => C(!1),
323
+ isOpen: () => w
324
324
  }),
325
- [d, m, C]
325
+ [d, m, w]
326
326
  );
327
327
  return he(ze, pe, x), /* @__PURE__ */ g(
328
328
  o.Root,
329
329
  {
330
330
  value: v === "" ? void 0 : v,
331
331
  onValueChange: re,
332
- open: C,
333
- onOpenChange: w,
332
+ open: w,
333
+ onOpenChange: C,
334
334
  disabled: D,
335
335
  required: oe,
336
336
  name: J,
@@ -353,7 +353,7 @@ const E = a(function({
353
353
  className: Y
354
354
  }),
355
355
  children: [
356
- /* @__PURE__ */ t(o.Value, { placeholder: K }),
356
+ /* @__PURE__ */ t("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ t(o.Value, { placeholder: K }) }),
357
357
  /* @__PURE__ */ g("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
358
358
  ce ? /* @__PURE__ */ t(
359
359
  "button",
@@ -373,7 +373,7 @@ const E = a(function({
373
373
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
374
374
  "ds:size-4"
375
375
  ].join(" "),
376
- children: /* @__PURE__ */ t(we, { "aria-hidden": "true", className: "ds:size-3.5" })
376
+ children: /* @__PURE__ */ t(Ce, { "aria-hidden": "true", className: "ds:size-3.5" })
377
377
  }
378
378
  ) : null,
379
379
  /* @__PURE__ */ t(o.Icon, { asChild: !0, children: /* @__PURE__ */ t(
@@ -439,4 +439,4 @@ export {
439
439
  H as i,
440
440
  V as j
441
441
  };
442
- //# sourceMappingURL=select-BmCbJMJS.js.map
442
+ //# sourceMappingURL=select-BW5ecXlX.js.map