@alfadocs/ui-kit 1.94.0 → 1.95.1

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 (175) hide show
  1. package/dist/_chunks/{actions-cell-renderer-B1yaOfQM.js → actions-cell-renderer-BVn3vDTg.js} +3 -3
  2. package/dist/_chunks/{anamnesis-summary-rows-IMohuz0D.js → anamnesis-summary-rows-krsCC-F4.js} +5 -5
  3. package/dist/_chunks/{appointment-card-Bstc1p7a.js → appointment-card-Csx4544A.js} +2 -2
  4. package/dist/_chunks/{appointment-peek-C0kKqnFk.js → appointment-peek-CcDCWb-F.js} +2 -2
  5. package/dist/_chunks/{appointment-timeline-rbt9AwHO.js → appointment-timeline-DW6FN6u8.js} +3 -3
  6. package/dist/_chunks/{appointment-tray-6zd8RLIL.js → appointment-tray-CZfXwHWz.js} +2 -2
  7. package/dist/_chunks/{balance-badge-cell-vZxbOFgP.js → balance-badge-cell-DbgEQsou.js} +3 -3
  8. package/dist/_chunks/{button-group-ZVb1Q-w4.js → button-group-CUnNnt8a.js} +2 -2
  9. package/dist/_chunks/{calendar-appointment-editor-dialog-CsVWoRcP.js → calendar-appointment-editor-dialog-D3tQ8N34.js} +12 -12
  10. package/dist/_chunks/{care-plan-card-DD9rEWYN.js → care-plan-card-YWKV8Kjq.js} +2 -2
  11. package/dist/_chunks/{care-plan-entry-card-4VaY2c96.js → care-plan-entry-card-CApivtMW.js} +2 -2
  12. package/dist/_chunks/{care-plan-header-CXUJQt8Q.js → care-plan-header-BBh0X7EO.js} +2 -2
  13. package/dist/_chunks/chart-bddVIElM.js +1550 -0
  14. package/dist/_chunks/{dashboard-grid-DwJ_HV3d.js → dashboard-grid-DrOkTtya.js} +2 -2
  15. package/dist/_chunks/{data-table-C_nnpJ-Q.js → data-table-Bh9_IEj4.js} +3 -3
  16. package/dist/_chunks/{date-time-picker-n-yrlMJq.js → date-time-picker-cwsWiB4q.js} +2 -2
  17. package/dist/_chunks/{document-preview-ytR1FcWA.js → document-preview-CL1xsnLS.js} +2 -2
  18. package/dist/_chunks/{dropdown-menu-D1we7oAY.js → dropdown-menu-CqxBthww.js} +2 -2
  19. package/dist/_chunks/{editable-currency-cell-renderer-rWYiF4EI.js → editable-currency-cell-renderer-BQYL5GjP.js} +2 -2
  20. package/dist/_chunks/{face-scheme-BKSE98bo.js → face-scheme-DyHc3zPt.js} +4 -4
  21. package/dist/_chunks/{file-manager-CAIbuaSs.js → file-manager-Cgf2yc10.js} +4 -4
  22. package/dist/_chunks/{hcg-doubling-K41Wy7LB.js → hcg-doubling-DQe1ptNB.js} +2 -2
  23. package/dist/_chunks/{header-settings-BeA2fnol.js → header-settings-DittkpqU.js} +2 -2
  24. package/dist/_chunks/{heatmap-DdF8qTTV.js → heatmap-9Ql8Ny9d.js} +2 -2
  25. package/dist/_chunks/{icon-button-group-CRKFR48b.js → icon-button-group-mXvYDaba.js} +2 -2
  26. package/dist/_chunks/{marketplace-app-shell-CJQtx3sv.js → marketplace-app-shell-C8nHixB8.js} +4 -4
  27. package/dist/_chunks/{message-tray-Cllf-v0G.js → message-tray-18_TrLCy.js} +2 -2
  28. package/dist/_chunks/{muscle-scheme-B7qMW0ho.js → muscle-scheme-CznhrQlo.js} +2 -2
  29. package/dist/_chunks/{notes-panel-ib7I3aNf.js → notes-panel-D6YhNGHU.js} +2 -2
  30. package/dist/_chunks/{notification-tray-0OkA2duS.js → notification-tray-CQK3lw87.js} +2 -2
  31. package/dist/_chunks/{patient-details-DTlpBYHJ.js → patient-details-DQQpgx4A.js} +2 -2
  32. package/dist/_chunks/{patient-field-row-DWTKV1hF.js → patient-field-row-Cb5jUd5Q.js} +2 -2
  33. package/dist/_chunks/{patient-search-Ca9j5cWb.js → patient-search-Cp2efqHs.js} +2 -2
  34. package/dist/_chunks/{patient-summary-card-C61AR4Tn.js → patient-summary-card-BvMI0eMu.js} +2 -2
  35. package/dist/_chunks/{practice-results-BWX9y6mS.js → practice-results-ZOVlrb43.js} +3 -3
  36. package/dist/_chunks/{product-hub-panel-bHi7lkVD.js → product-hub-panel-CqRJlmb7.js} +2 -2
  37. package/dist/_chunks/{public-footer-IoRWoAMz.js → public-footer-BiPiU_lk.js} +2 -2
  38. package/dist/_chunks/{reserved.agent-XU88crNW.js → reserved.agent-BvwjDyne.js} +2 -2
  39. package/dist/_chunks/{rich-text-editor-BfEu57dk.js → rich-text-editor-iw2tJLKA.js} +2 -2
  40. package/dist/_chunks/{separator-CYU_bGFn.js → separator-Bdc9bqoJ.js} +18 -19
  41. package/dist/_chunks/{signature-request-BVGeF0qB.js → signature-request-CLtMgQKi.js} +3 -3
  42. package/dist/_chunks/{signed-out-frame-CgRXOUzi.js → signed-out-frame-CRwVTCjY.js} +2 -2
  43. package/dist/_chunks/{slot-grid-B-IAFX3C.js → slot-grid-BhjaLJ0o.js} +229 -214
  44. package/dist/_chunks/{tab-bar-BEODTG6k.js → tab-bar-C_pggqVr.js} +2 -2
  45. package/dist/_chunks/{tabs-BmxQu-TJ.js → tabs-DYHgRVSJ.js} +2 -2
  46. package/dist/_chunks/{task-editor-BZeSBxwU.js → task-editor-BlGdXR9F.js} +3 -3
  47. package/dist/_chunks/{tasks-panel-BTCYGLGA.js → tasks-panel-Q0CiEAff.js} +2 -2
  48. package/dist/_chunks/{theme-toggle-DKpzb0-M.js → theme-toggle-jZRbAidE.js} +3 -3
  49. package/dist/_chunks/time-picker-DSt-ns5F.js +914 -0
  50. package/dist/_chunks/{token-insert-menu-DtAnBd0x.js → token-insert-menu-Dl3x2ekR.js} +2 -2
  51. package/dist/_chunks/{tooth-scheme-COJJkdsi.js → tooth-scheme-Bd7xECuj.js} +2 -2
  52. package/dist/_chunks/{use-appointment-details-read-B6uhmNdV.js → use-appointment-details-read-CpXRSfPI.js} +5 -5
  53. package/dist/_chunks/{workflow-map-BcfOwsSB.js → workflow-map-BWJhlZbC.js} +2 -2
  54. package/dist/_chunks/{workflow-status-Dc_CyEz5.js → workflow-status-HQ6ziE46.js} +2 -2
  55. package/dist/_chunks/{workflow-webhook-action-B_nBJ_ht.js → workflow-webhook-action-Uhyfr6_6.js} +2 -2
  56. package/dist/agent-catalog.json +12 -4
  57. package/dist/agent-i18n/en.json +2 -2
  58. package/dist/apexcharts.css +4 -1
  59. package/dist/components/appointment-card/index.js +2 -2
  60. package/dist/components/appointment-details-panel/index.js +1 -1
  61. package/dist/components/appointment-peek/index.js +1 -1
  62. package/dist/components/appointment-timeline/index.js +1 -1
  63. package/dist/components/booking/index.js +1 -1
  64. package/dist/components/button-group/index.js +1 -1
  65. package/dist/components/care-plan-card/index.js +1 -1
  66. package/dist/components/care-plan-entry-card/index.js +1 -1
  67. package/dist/components/care-plan-header/index.js +1 -1
  68. package/dist/components/chart/chart-axis-scale.d.ts +21 -0
  69. package/dist/components/chart/chart.d.ts +55 -0
  70. package/dist/components/chart/index.d.ts +1 -1
  71. package/dist/components/chart/index.js +1 -1
  72. package/dist/components/dashboard-grid/index.js +1 -1
  73. package/dist/components/data-table/index.js +3 -3
  74. package/dist/components/date-time-picker/index.js +1 -1
  75. package/dist/components/document-preview/index.js +1 -1
  76. package/dist/components/dropdown-menu/index.js +1 -1
  77. package/dist/components/face-scheme/index.js +1 -1
  78. package/dist/components/file-manager/index.js +1 -1
  79. package/dist/components/hcg-doubling/index.js +1 -1
  80. package/dist/components/header-settings/index.js +1 -1
  81. package/dist/components/heatmap/index.js +1 -1
  82. package/dist/components/icon-button-group/index.js +1 -1
  83. package/dist/components/message-tray/index.js +1 -1
  84. package/dist/components/muscle-scheme/index.js +1 -1
  85. package/dist/components/notes-panel/index.js +1 -1
  86. package/dist/components/notification-tray/index.js +1 -1
  87. package/dist/components/patient-details/index.js +1 -1
  88. package/dist/components/patient-search/index.js +1 -1
  89. package/dist/components/patient-summary-card/index.js +1 -1
  90. package/dist/components/patient-table/index.js +1 -1
  91. package/dist/components/practice-results/index.js +1 -1
  92. package/dist/components/product-hub-tray/index.js +1 -1
  93. package/dist/components/public-footer/index.js +1 -1
  94. package/dist/components/rich-text-editor/index.js +1 -1
  95. package/dist/components/separator/index.js +1 -1
  96. package/dist/components/skeleton-scheme/index.js +1 -1
  97. package/dist/components/slot-grid/index.js +1 -1
  98. package/dist/components/tab-bar/index.js +1 -1
  99. package/dist/components/tabs/index.js +1 -1
  100. package/dist/components/task-editor/index.js +1 -1
  101. package/dist/components/tasks-panel/index.js +1 -1
  102. package/dist/components/theme-toggle/index.js +1 -1
  103. package/dist/components/time-picker/index.js +1 -1
  104. package/dist/components/time-picker/time-picker.d.ts +15 -8
  105. package/dist/components/token-insert-menu/index.js +1 -1
  106. package/dist/components/tooth-scheme/index.js +1 -1
  107. package/dist/components/workflow/index.js +1 -1
  108. package/dist/components/workflow-status/index.js +1 -1
  109. package/dist/core.css +1 -1
  110. package/dist/host-compat.css +4 -1
  111. package/dist/i18n/locales/ar.d.ts +4 -1
  112. package/dist/i18n/locales/ar.js +6 -3
  113. package/dist/i18n/locales/de.d.ts +5 -2
  114. package/dist/i18n/locales/de.js +7 -4
  115. package/dist/i18n/locales/el.d.ts +5 -2
  116. package/dist/i18n/locales/el.js +7 -4
  117. package/dist/i18n/locales/en.d.ts +5 -2
  118. package/dist/i18n/locales/en.js +6 -3
  119. package/dist/i18n/locales/es.d.ts +5 -2
  120. package/dist/i18n/locales/es.js +7 -4
  121. package/dist/i18n/locales/fr.d.ts +4 -1
  122. package/dist/i18n/locales/fr.js +6 -3
  123. package/dist/i18n/locales/hi.d.ts +5 -2
  124. package/dist/i18n/locales/hi.js +7 -4
  125. package/dist/i18n/locales/it.d.ts +5 -2
  126. package/dist/i18n/locales/it.js +7 -4
  127. package/dist/i18n/locales/ja.d.ts +5 -2
  128. package/dist/i18n/locales/ja.js +7 -4
  129. package/dist/i18n/locales/nl.d.ts +5 -2
  130. package/dist/i18n/locales/nl.js +7 -4
  131. package/dist/i18n/locales/pl.d.ts +5 -2
  132. package/dist/i18n/locales/pl.js +7 -4
  133. package/dist/i18n/locales/pt.d.ts +4 -1
  134. package/dist/i18n/locales/pt.js +6 -3
  135. package/dist/i18n/locales/ro.d.ts +5 -2
  136. package/dist/i18n/locales/ro.js +7 -4
  137. package/dist/i18n/locales/ru.d.ts +5 -2
  138. package/dist/i18n/locales/ru.js +7 -4
  139. package/dist/i18n/locales/sq.d.ts +5 -2
  140. package/dist/i18n/locales/sq.js +7 -4
  141. package/dist/i18n/locales/sv.d.ts +5 -2
  142. package/dist/i18n/locales/sv.js +7 -4
  143. package/dist/i18n/locales/tr.d.ts +5 -2
  144. package/dist/i18n/locales/tr.js +7 -4
  145. package/dist/i18n/locales/zh.d.ts +5 -2
  146. package/dist/i18n/locales/zh.js +7 -4
  147. package/dist/index.js +53 -53
  148. package/dist/locales/ar.json +6 -3
  149. package/dist/locales/de.json +7 -4
  150. package/dist/locales/el.json +7 -4
  151. package/dist/locales/en.json +6 -3
  152. package/dist/locales/es.json +7 -4
  153. package/dist/locales/fr.json +6 -3
  154. package/dist/locales/hi.json +7 -4
  155. package/dist/locales/it.json +7 -4
  156. package/dist/locales/ja.json +7 -4
  157. package/dist/locales/nl.json +7 -4
  158. package/dist/locales/pl.json +7 -4
  159. package/dist/locales/pt.json +6 -3
  160. package/dist/locales/ro.json +7 -4
  161. package/dist/locales/ru.json +7 -4
  162. package/dist/locales/sq.json +7 -4
  163. package/dist/locales/sv.json +7 -4
  164. package/dist/locales/tr.json +7 -4
  165. package/dist/locales/zh.json +7 -4
  166. package/dist/patterns/anamnesis/index.js +1 -1
  167. package/dist/patterns/calendar/index.js +1 -1
  168. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  169. package/dist/patterns/signature-request/index.js +1 -1
  170. package/dist/patterns/signed-out-frame/index.js +1 -1
  171. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  172. package/dist/tokens.css +4 -1
  173. package/package.json +1 -1
  174. package/dist/_chunks/chart-D4huJSru.js +0 -1340
  175. package/dist/_chunks/time-picker-DVfyAR81.js +0 -871
@@ -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 { T as t, t as o } from "../../_chunks/token-insert-menu-DtAnBd0x.js";
1
+ import { T as t, t as o } from "../../_chunks/token-insert-menu-Dl3x2ekR.js";
2
2
  export {
3
3
  t as TokenInsertMenu,
4
4
  o as tokenInsertMenuAgent
@@ -1,4 +1,4 @@
1
- import { T as s, t, r as e } from "../../_chunks/tooth-scheme-COJJkdsi.js";
1
+ import { T as s, t, r as e } from "../../_chunks/tooth-scheme-Bd7xECuj.js";
2
2
  import { C as i, a as T, b as S, c as l, d as r, e as I, F as O, f as N, g as _, h as c, I as E, P as C, i as A, S as m, j as L, k as d, l as h, m as D, n as F, T as y, o as P, p as b, q as R, r as U, s as p, t as M, u, v as K, w as f, x as B, y as Y, z as H, A as g, B as z, D as w, E as x, G as V, H as k, J as G, K as j, L as q, M as v, N as J, O as Q, Q as W, R as X, U as Z, V as $, W as aa, X as oa, Y as sa, Z as ta, _ as ea, $ as na } from "../../_chunks/tooth-data-DR8Kdnup.js";
3
3
  export {
4
4
  i as CONDITION_COLORS,
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-BcfOwsSB.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-BWJhlZbC.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -1,4 +1,4 @@
1
- import { W as o, a as s, w as r } from "../../_chunks/workflow-status-Dc_CyEz5.js";
1
+ import { W as o, a as s, w as r } from "../../_chunks/workflow-status-HQ6ziE46.js";
2
2
  import { A as T, a as e, i as l, u } from "../../_chunks/appointment-workflow-status-DMjuIK90.js";
3
3
  export {
4
4
  T as APPOINTMENT_NO_STATUS,