@alfadocs/ui-kit 1.93.1 → 1.95.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 (142) hide show
  1. package/dist/_chunks/{ai-prompt-input-DH_rnV-F.js → ai-prompt-input-CG9BEggs.js} +2 -2
  2. package/dist/_chunks/{anamnesis-summary-rows-EKPfVCmh.js → anamnesis-summary-rows-DTZ3per6.js} +4 -4
  3. package/dist/_chunks/{audio-recorder-m7Jqvvcl.js → audio-recorder-BOm2FgEu.js} +2 -2
  4. package/dist/_chunks/{balance-badge-cell-BtJvre1-.js → balance-badge-cell-vZxbOFgP.js} +4 -4
  5. package/dist/_chunks/{bishop-score-C5di6oAV.js → bishop-score-BBYuyk2k.js} +2 -2
  6. package/dist/_chunks/{calendar-appointment-editor-dialog-sJKLoVJ2.js → calendar-appointment-editor-dialog-WDKc3jMA.js} +6 -6
  7. package/dist/_chunks/chart-pMkQN-qy.js +1550 -0
  8. package/dist/_chunks/{data-table-CqQgoNsU.js → data-table-C_nnpJ-Q.js} +2 -2
  9. package/dist/_chunks/{date-time-picker-n-yrlMJq.js → date-time-picker-cwsWiB4q.js} +2 -2
  10. package/dist/_chunks/{document-preview-QEbr7jp1.js → document-preview-ytR1FcWA.js} +2 -2
  11. package/dist/_chunks/{file-manager-BnI1ZWZu.js → file-manager-CAIbuaSs.js} +2 -2
  12. package/dist/_chunks/{gestational-age-calculator-Dr9hdDta.js → gestational-age-calculator-Dn8IOXHB.js} +2 -2
  13. package/dist/_chunks/{hcg-doubling-K41Wy7LB.js → hcg-doubling-DQe1ptNB.js} +2 -2
  14. package/dist/_chunks/{heatmap-fCxwNz2o.js → heatmap-DdF8qTTV.js} +2 -2
  15. package/dist/_chunks/{kit-extensions-a0G4COFH.js → kit-extensions-44gudqqq.js} +3 -3
  16. package/dist/_chunks/{link-cell-renderer-BS3V4LA6.js → link-cell-renderer-OmvrkUeN.js} +2 -2
  17. package/dist/_chunks/{muscle-scheme-C66WlCxG.js → muscle-scheme-B7qMW0ho.js} +2 -2
  18. package/dist/_chunks/{operator-hero-C_5B-8Qp.js → operator-hero-D_0KoEuJ.js} +31 -31
  19. package/dist/_chunks/{optical-prescription-CMM1Y6Xg.js → optical-prescription-BGVeDVSP.js} +2 -2
  20. package/dist/_chunks/{patient-details-BjcUpD9S.js → patient-details-DTlpBYHJ.js} +2 -2
  21. package/dist/_chunks/{patient-field-row-B0tdiaWi.js → patient-field-row-DWTKV1hF.js} +2 -2
  22. package/dist/_chunks/{patient-summary-card-Cvv6_Ugk.js → patient-summary-card-C61AR4Tn.js} +2 -2
  23. package/dist/_chunks/{pregnancy-dating-BHvfDxz4.js → pregnancy-dating-CuVj9KGR.js} +2 -2
  24. package/dist/_chunks/{registration-form-CRm6DaB9.js → registration-form-BygI73vG.js} +2 -2
  25. package/dist/_chunks/{reserved.agent-DnPwaa4u.js → reserved.agent-BvwjDyne.js} +3 -3
  26. package/dist/_chunks/{select-4S-eYZUf.js → select-BBDRYxJl.js} +247 -241
  27. package/dist/_chunks/signature-request-BVGeF0qB.js +2774 -0
  28. package/dist/_chunks/{slot-grid-B-IAFX3C.js → slot-grid-BhjaLJ0o.js} +229 -214
  29. package/dist/_chunks/{tabs-BTj-2qMZ.js → tabs-BmxQu-TJ.js} +2 -2
  30. package/dist/_chunks/{task-editor-CI1SKUNc.js → task-editor-Cv7xSakv.js} +3 -3
  31. package/dist/_chunks/{tasks-panel-BkjtgjQ8.js → tasks-panel-BTCYGLGA.js} +2 -2
  32. package/dist/_chunks/time-picker-DSt-ns5F.js +914 -0
  33. package/dist/_chunks/{unit-converter-BH5ueIhT.js → unit-converter-C95sa5y8.js} +2 -2
  34. package/dist/_chunks/{use-appointment-details-read-D8vDg0sg.js → use-appointment-details-read-B6uhmNdV.js} +2 -2
  35. package/dist/_chunks/{voice-control-panel-BP0otrID.js → voice-control-panel-BGJjUwnY.js} +2 -2
  36. package/dist/agent-catalog.json +20 -8
  37. package/dist/agent-i18n/en.json +6 -6
  38. package/dist/apexcharts.css +4 -1
  39. package/dist/components/_shared/group-options.d.ts +2 -2
  40. package/dist/components/ai-prompt-input/index.js +1 -1
  41. package/dist/components/appointment-details-panel/index.js +1 -1
  42. package/dist/components/audio-recorder/index.js +1 -1
  43. package/dist/components/bishop-score/index.js +1 -1
  44. package/dist/components/booking/index.js +1 -1
  45. package/dist/components/chart/chart-axis-scale.d.ts +21 -0
  46. package/dist/components/chart/chart.d.ts +55 -0
  47. package/dist/components/chart/index.d.ts +1 -1
  48. package/dist/components/chart/index.js +1 -1
  49. package/dist/components/data-table/index.js +2 -2
  50. package/dist/components/date-time-picker/index.js +1 -1
  51. package/dist/components/document-preview/index.js +1 -1
  52. package/dist/components/file-manager/index.js +1 -1
  53. package/dist/components/gestational-age-calculator/index.js +1 -1
  54. package/dist/components/hcg-doubling/index.js +1 -1
  55. package/dist/components/heatmap/index.js +1 -1
  56. package/dist/components/muscle-scheme/index.js +1 -1
  57. package/dist/components/operator-hero/index.js +1 -1
  58. package/dist/components/operator-hero/operator-hero.d.ts +3 -2
  59. package/dist/components/optical-prescription/index.js +1 -1
  60. package/dist/components/patient-details/index.js +1 -1
  61. package/dist/components/patient-summary-card/index.js +1 -1
  62. package/dist/components/patient-table/index.js +1 -1
  63. package/dist/components/pregnancy-dating/index.js +1 -1
  64. package/dist/components/rich-text-editor/index.js +1 -1
  65. package/dist/components/select/index.js +1 -1
  66. package/dist/components/select/select.d.ts +13 -1
  67. package/dist/components/skeleton-scheme/index.js +1 -1
  68. package/dist/components/slot-grid/index.js +1 -1
  69. package/dist/components/tabs/index.js +1 -1
  70. package/dist/components/task-editor/index.js +1 -1
  71. package/dist/components/tasks-panel/index.js +1 -1
  72. package/dist/components/time-picker/index.js +1 -1
  73. package/dist/components/time-picker/time-picker.d.ts +15 -8
  74. package/dist/components/unit-converter/index.js +1 -1
  75. package/dist/components/voice-control-panel/index.js +1 -1
  76. package/dist/core.css +1 -1
  77. package/dist/i18n/locales/ar.d.ts +8 -1
  78. package/dist/i18n/locales/ar.js +10 -3
  79. package/dist/i18n/locales/de.d.ts +9 -2
  80. package/dist/i18n/locales/de.js +11 -4
  81. package/dist/i18n/locales/el.d.ts +9 -2
  82. package/dist/i18n/locales/el.js +11 -4
  83. package/dist/i18n/locales/en.d.ts +9 -2
  84. package/dist/i18n/locales/en.js +10 -3
  85. package/dist/i18n/locales/es.d.ts +9 -2
  86. package/dist/i18n/locales/es.js +11 -4
  87. package/dist/i18n/locales/fr.d.ts +8 -1
  88. package/dist/i18n/locales/fr.js +10 -3
  89. package/dist/i18n/locales/hi.d.ts +9 -2
  90. package/dist/i18n/locales/hi.js +11 -4
  91. package/dist/i18n/locales/it.d.ts +9 -2
  92. package/dist/i18n/locales/it.js +11 -4
  93. package/dist/i18n/locales/ja.d.ts +9 -2
  94. package/dist/i18n/locales/ja.js +11 -4
  95. package/dist/i18n/locales/nl.d.ts +9 -2
  96. package/dist/i18n/locales/nl.js +11 -4
  97. package/dist/i18n/locales/pl.d.ts +9 -2
  98. package/dist/i18n/locales/pl.js +11 -4
  99. package/dist/i18n/locales/pt.d.ts +8 -1
  100. package/dist/i18n/locales/pt.js +10 -3
  101. package/dist/i18n/locales/ro.d.ts +9 -2
  102. package/dist/i18n/locales/ro.js +11 -4
  103. package/dist/i18n/locales/ru.d.ts +9 -2
  104. package/dist/i18n/locales/ru.js +11 -4
  105. package/dist/i18n/locales/sq.d.ts +9 -2
  106. package/dist/i18n/locales/sq.js +11 -4
  107. package/dist/i18n/locales/sv.d.ts +9 -2
  108. package/dist/i18n/locales/sv.js +11 -4
  109. package/dist/i18n/locales/tr.d.ts +9 -2
  110. package/dist/i18n/locales/tr.js +11 -4
  111. package/dist/i18n/locales/zh.d.ts +9 -2
  112. package/dist/i18n/locales/zh.js +11 -4
  113. package/dist/index.js +34 -34
  114. package/dist/locales/ar.json +10 -3
  115. package/dist/locales/de.json +11 -4
  116. package/dist/locales/el.json +11 -4
  117. package/dist/locales/en.json +10 -3
  118. package/dist/locales/es.json +11 -4
  119. package/dist/locales/fr.json +10 -3
  120. package/dist/locales/hi.json +11 -4
  121. package/dist/locales/it.json +11 -4
  122. package/dist/locales/ja.json +11 -4
  123. package/dist/locales/nl.json +11 -4
  124. package/dist/locales/pl.json +11 -4
  125. package/dist/locales/pt.json +10 -3
  126. package/dist/locales/ro.json +11 -4
  127. package/dist/locales/ru.json +11 -4
  128. package/dist/locales/sq.json +11 -4
  129. package/dist/locales/sv.json +11 -4
  130. package/dist/locales/tr.json +11 -4
  131. package/dist/locales/zh.json +11 -4
  132. package/dist/patterns/anamnesis/index.js +1 -1
  133. package/dist/patterns/calendar/index.js +1 -1
  134. package/dist/patterns/registration-form/index.js +1 -1
  135. package/dist/patterns/signature-request/index.js +1 -1
  136. package/dist/patterns/signature-request/required-documents.d.ts +2 -1
  137. package/dist/patterns/signature-request/signature-request.d.ts +61 -0
  138. package/dist/tokens.css +4 -1
  139. package/package.json +1 -1
  140. package/dist/_chunks/chart-D4huJSru.js +0 -1340
  141. package/dist/_chunks/signature-request-DvhyrRpn.js +0 -2448
  142. package/dist/_chunks/time-picker-DVfyAR81.js +0 -871
@@ -1,4 +1,4 @@
1
- import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-BTj-2qMZ.js";
1
+ import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-BmxQu-TJ.js";
2
2
  export {
3
3
  t as Tabs,
4
4
  b as TabsContent,
@@ -1,4 +1,4 @@
1
- import { T as o, t as r } from "../../_chunks/task-editor-CI1SKUNc.js";
1
+ import { T as o, t as r } from "../../_chunks/task-editor-Cv7xSakv.js";
2
2
  export {
3
3
  o as TaskEditor,
4
4
  r as taskEditorAgent
@@ -1,4 +1,4 @@
1
- import { T as e, t } from "../../_chunks/tasks-panel-BkjtgjQ8.js";
1
+ import { T as e, t } from "../../_chunks/tasks-panel-BTCYGLGA.js";
2
2
  export {
3
3
  e as TasksPanel,
4
4
  t as tasksPanelAgent
@@ -1,4 +1,4 @@
1
- import { T as r, t } from "../../_chunks/time-picker-DVfyAR81.js";
1
+ import { T as r, t } from "../../_chunks/time-picker-DSt-ns5F.js";
2
2
  export {
3
3
  r as TimePicker,
4
4
  t as timePickerAgent
@@ -9,7 +9,7 @@ export interface TimePickerHandle {
9
9
  getValue: () => TimeValue | null;
10
10
  /** Set the time value. Hours are kept within 0–23 and minutes within 0–59. */
11
11
  setValue: (value: TimeValue) => void;
12
- /** Clear the value (resets to 00:00). */
12
+ /** Clear to null with allowEmpty; otherwise reset to 00:00. */
13
13
  clear: () => void;
14
14
  /** Whether the time dropdown is open. Always false unless `dropdown` is on. */
15
15
  isOpen: () => boolean;
@@ -25,13 +25,7 @@ declare const wrapperVariants: (props?: ({
25
25
  opensOnClick?: boolean | null | undefined;
26
26
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
27
  type MinuteStep = 1 | 5 | 10 | 15 | 30;
28
- export interface TimePickerProps extends Pick<VariantProps<typeof wrapperVariants>, 'size'> {
29
- /** Current value — controlled. */
30
- value?: TimeValue;
31
- /** Default value — uncontrolled. */
32
- defaultValue?: TimeValue;
33
- /** Called when the value changes. */
34
- onChange?: (value: TimeValue) => void;
28
+ interface TimePickerBaseProps extends Pick<VariantProps<typeof wrapperVariants>, 'size'> {
35
29
  /** Force 12h/24h mode. Defaults to locale detection. */
36
30
  hour12?: boolean;
37
31
  /** Minute increment step. */
@@ -69,6 +63,19 @@ export interface TimePickerProps extends Pick<VariantProps<typeof wrapperVariant
69
63
  /** Accessible name by reference. Wins over `aria-label` and the FormField label. */
70
64
  'aria-labelledby'?: string;
71
65
  }
66
+ /** Empty values are opt-in, keeping existing onChange callbacks non-nullable. */
67
+ export type TimePickerProps = TimePickerBaseProps & ({
68
+ allowEmpty?: false;
69
+ value?: TimeValue;
70
+ defaultValue?: TimeValue;
71
+ onChange?: (value: TimeValue) => void;
72
+ } | {
73
+ /** Start unset and allow clearing to null, distinct from midnight. */
74
+ allowEmpty: true;
75
+ value?: TimeValue | null;
76
+ defaultValue?: TimeValue | null;
77
+ onChange?: (value: TimeValue | null) => void;
78
+ });
72
79
  export declare const TimePicker: import("react").ForwardRefExoticComponent<TimePickerProps & import("react").RefAttributes<HTMLDivElement>>;
73
80
  export {};
74
81
  //# sourceMappingURL=time-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-BH5ueIhT.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-C95sa5y8.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,
@@ -1,4 +1,4 @@
1
- import { V as n, v as a } from "../../_chunks/voice-control-panel-BP0otrID.js";
1
+ import { V as n, v as a } from "../../_chunks/voice-control-panel-BGJjUwnY.js";
2
2
  export {
3
3
  n as VoiceControlPanel,
4
4
  a as voiceControlPanelAgent