@alfadocs/ui-kit 1.90.1 → 1.90.2

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 (88) hide show
  1. package/dist/_chunks/address-autocomplete-DR4Xn23Z.js +519 -0
  2. package/dist/_chunks/{address-fields-CfnXK8RT.js → address-fields-qxQkGwPf.js} +5 -5
  3. package/dist/_chunks/{ai-permission-notice-CoW22jx1.js → ai-permission-notice-VNh3W57L.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js → anamnesis-summary-rows-EKPfVCmh.js} +2 -2
  5. package/dist/_chunks/autocomplete-BXMcNoa3.js +562 -0
  6. package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js → balance-badge-cell-D9VhFp0L.js} +3 -3
  7. package/dist/_chunks/{booking-C0FoW8Yx.js → booking-CcE_oviI.js} +1896 -1859
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js → calendar-appointment-editor-dialog-CiAGAX2t.js} +7 -7
  9. package/dist/_chunks/{checkbox-BjDv-r3o.js → checkbox-a7Sh-dXb.js} +32 -31
  10. package/dist/_chunks/{checkbox-group-Cw2H5qaq.js → checkbox-group-eGdv9fZc.js} +2 -2
  11. package/dist/_chunks/{city-input-CJVGswxp.js → city-input-CA59CjnV.js} +2 -2
  12. package/dist/_chunks/{combobox-CDPm_n0p.js → combobox-D-gpgEDy.js} +314 -294
  13. package/dist/_chunks/{country-select-DQ8q7ypA.js → country-select-BfmX9y5i.js} +2 -2
  14. package/dist/_chunks/{data-table-B_IcS0Ke.js → data-table-CqQgoNsU.js} +2 -2
  15. package/dist/_chunks/{face-scheme-BgJGFDTa.js → face-scheme-BKSE98bo.js} +2 -2
  16. package/dist/_chunks/{file-manager-C9YOT-Dn.js → file-manager-BnI1ZWZu.js} +2 -2
  17. package/dist/_chunks/{header-settings-BVhjndtV.js → header-settings-BeA2fnol.js} +24 -23
  18. package/dist/_chunks/{heatmap-HTz3Jvzy.js → heatmap-fCxwNz2o.js} +2 -2
  19. package/dist/_chunks/{link-cell-renderer-C0ynDik7.js → link-cell-renderer-CnCgudvq.js} +3 -3
  20. package/dist/_chunks/{login-dev-card-DYwbL5sD.js → login-dev-card-BZBR58mu.js} +2 -2
  21. package/dist/_chunks/{map-view-Bvi06RVh.js → map-view-UrNgxBy3.js} +260 -237
  22. package/dist/_chunks/{index.modern-BeRXQVdc.js → maps-core-gate-DkNqGkm3.js} +360 -319
  23. package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js → marketplace-app-shell-CmZx0Oam.js} +2 -2
  24. package/dist/_chunks/{notes-panel-CZO1qsD-.js → notes-panel-Dywo6R55.js} +2 -2
  25. package/dist/_chunks/{patient-details-D0P5eog5.js → patient-details-BUr7Oemx.js} +2 -2
  26. package/dist/_chunks/{patient-field-row-R73dZJY6.js → patient-field-row-bJk8Q_qr.js} +5 -5
  27. package/dist/_chunks/patient-search-Ca9j5cWb.js +1306 -0
  28. package/dist/_chunks/{patient-summary-card-6U74-ivO.js → patient-summary-card-CCQZ8X37.js} +2 -2
  29. package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js → periodontal-diagnosis-DD3hrg9X.js} +2 -2
  30. package/dist/_chunks/{permission-matrix-BoQjENGV.js → permission-matrix-BJ6sg3Zp.js} +3 -3
  31. package/dist/_chunks/{practice-results-B61krlwu.js → practice-results-DQuOfqej.js} +2 -2
  32. package/dist/_chunks/{province-select-CPdTwEob.js → province-select-D64whw0m.js} +2 -2
  33. package/dist/_chunks/{registration-form-DmP3YUfp.js → registration-form-CRm6DaB9.js} +2 -2
  34. package/dist/_chunks/{reviews-panel-UzQQLb-z.js → reviews-panel-B7InBORU.js} +42 -41
  35. package/dist/_chunks/{rich-text-editor-BZTyxQBd.js → rich-text-editor-BfEu57dk.js} +3 -3
  36. package/dist/_chunks/{slot-grid-Bb13H9Rl.js → slot-grid-DrwynKeN.js} +91 -89
  37. package/dist/_chunks/{task-editor-BOETWbjU.js → task-editor-CI1SKUNc.js} +2 -2
  38. package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js → use-appointment-details-read-BytPq3Ux.js} +2 -2
  39. package/dist/_chunks/{voice-control-panel-BziKE-KK.js → voice-control-panel-BP0otrID.js} +2 -2
  40. package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js → workflow-webhook-action-B_nBJ_ht.js} +2 -2
  41. package/dist/agent-catalog.json +2 -2
  42. package/dist/agent-i18n/en.json +1 -1
  43. package/dist/components/_shared/maps-core-gate.d.ts +18 -0
  44. package/dist/components/address-autocomplete/index.js +1 -1
  45. package/dist/components/address-fields/index.js +1 -1
  46. package/dist/components/ai-permission-notice/index.js +1 -1
  47. package/dist/components/appointment-details-panel/index.js +1 -1
  48. package/dist/components/autocomplete/index.js +1 -1
  49. package/dist/components/booking/index.js +1 -1
  50. package/dist/components/checkbox/index.js +1 -1
  51. package/dist/components/checkbox-group/index.js +1 -1
  52. package/dist/components/city-input/index.js +1 -1
  53. package/dist/components/combobox/index.js +1 -1
  54. package/dist/components/country-select/index.js +1 -1
  55. package/dist/components/data-table/index.js +2 -2
  56. package/dist/components/face-scheme/index.js +1 -1
  57. package/dist/components/file-manager/index.js +1 -1
  58. package/dist/components/header-settings/header-settings.d.ts +2 -1
  59. package/dist/components/header-settings/index.js +1 -1
  60. package/dist/components/heatmap/index.js +1 -1
  61. package/dist/components/map-view/index.js +1 -1
  62. package/dist/components/notes-panel/index.js +1 -1
  63. package/dist/components/patient-details/index.js +1 -1
  64. package/dist/components/patient-search/index.js +1 -1
  65. package/dist/components/patient-summary-card/index.js +1 -1
  66. package/dist/components/patient-table/index.js +1 -1
  67. package/dist/components/periodontal-diagnosis/index.js +1 -1
  68. package/dist/components/permission-matrix/index.js +1 -1
  69. package/dist/components/practice-results/index.js +1 -1
  70. package/dist/components/province-select/index.js +1 -1
  71. package/dist/components/reviews-panel/index.js +1 -1
  72. package/dist/components/rich-text-editor/index.js +1 -1
  73. package/dist/components/slot-grid/index.js +1 -1
  74. package/dist/components/task-editor/index.js +1 -1
  75. package/dist/components/voice-control-panel/index.js +1 -1
  76. package/dist/host-compat.css +1 -10
  77. package/dist/index.js +37 -37
  78. package/dist/patterns/anamnesis/index.js +1 -1
  79. package/dist/patterns/calendar/index.js +1 -1
  80. package/dist/patterns/login-form/index.js +1 -1
  81. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  82. package/dist/patterns/registration-form/index.js +1 -1
  83. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  84. package/dist/tokens.css +1 -1
  85. package/package.json +1 -1
  86. package/dist/_chunks/address-autocomplete-bPR2mNBt.js +0 -498
  87. package/dist/_chunks/autocomplete-CnB1mHGc.js +0 -539
  88. package/dist/_chunks/patient-search-CCOUZABE.js +0 -1196
@@ -9,18 +9,18 @@ import { B as ot } from "./badge-BUk4RjTS.js";
9
9
  import { S as Hn, C as Ci } from "./skeleton-tTWJpvAq.js";
10
10
  import { S as Sr } from "./stethoscope-sZXGC43m.js";
11
11
  import { A as Gs, a as Ni } from "./entity-card-fpm-KUKc.js";
12
- import { T as Oo, P as Ro, E as xi, S as Mo } from "./task-editor-BOETWbjU.js";
12
+ import { T as Oo, P as Ro, E as xi, S as Mo } from "./task-editor-CI1SKUNc.js";
13
13
  import { C as Wo, a as Po, u as Di, d as Bo } from "./control-room-rail-DcJpHbp4.js";
14
14
  import { S as ms } from "./scroll-area-CY5SLYNw.js";
15
15
  import { d as vt, c as qs, b as ra } from "./toast-BNoN8Qjh.js";
16
16
  import { T as Ga, a as Si } from "./tooltip-uEBdD1-5.js";
17
17
  import { A as he } from "./alert-9kEwDza3.js";
18
18
  import { B as ge } from "./button-DohK_Ak_.js";
19
- import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-CWN-nJCZ.js";
19
+ import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-BytPq3Ux.js";
20
20
  import { V as va } from "./visually-hidden-BHxEUGyT.js";
21
21
  import { C as Xo } from "./calendar-ClB-jWH1.js";
22
22
  import { C as lr } from "./card-BA4Ig_kn.js";
23
- import { C as zn } from "./checkbox-BjDv-r3o.js";
23
+ import { C as zn } from "./checkbox-a7Sh-dXb.js";
24
24
  import { a as Ua } from "./key-value-pair-BoXOtBL1.js";
25
25
  import { K as Jo } from "./kbd-Bx7eQv9f.js";
26
26
  import { R as Zo } from "./resource-chip-DB5jDwUO.js";
@@ -74,12 +74,12 @@ import { createPortal as lc } from "react-dom";
74
74
  import { G as Ya, h as Js, c as uc, A as hc, C as _i } from "./color-picker-AcaWuKah.js";
75
75
  import { s as mc, S as pc } from "./signature-status-chip-pIoQjvH8.js";
76
76
  import { b as gc } from "./appointment-workflow-status-DMjuIK90.js";
77
- import { N as vc } from "./notes-panel-CZO1qsD-.js";
78
- import { C as vs } from "./combobox-CDPm_n0p.js";
77
+ import { N as vc } from "./notes-panel-Dywo6R55.js";
78
+ import { C as vs } from "./combobox-D-gpgEDy.js";
79
79
  import { S as fc } from "./state-backed-text-input-Cgh4ms3p.js";
80
80
  import { N as ns } from "./number-input-CVwI1ltI.js";
81
81
  import { T as bc } from "./time-picker-DVfyAR81.js";
82
- import { D as kc } from "./data-table-B_IcS0Ke.js";
82
+ import { D as kc } from "./data-table-CqQgoNsU.js";
83
83
  import { T as fs } from "./timestamp-DPLDWdxA.js";
84
84
  import { I as Zs } from "./icon-button-group-CRKFR48b.js";
85
85
  import { C as Ic, b as yc, a as Cc } from "./collapsible-DVPM46bq.js";
@@ -10983,4 +10983,4 @@ export {
10983
10983
  hp as r,
10984
10984
  Vn as u
10985
10985
  };
10986
- //# sourceMappingURL=calendar-appointment-editor-dialog-C1v2MNE4.js.map
10986
+ //# sourceMappingURL=calendar-appointment-editor-dialog-CiAGAX2t.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsxs as S, jsx as s } from "react/jsx-runtime";
2
2
  import { createContext as T, useContext as _, forwardRef as M, useId as G, useRef as K, useMemo as V } from "react";
3
- import * as b from "@radix-ui/react-checkbox";
3
+ import * as g from "@radix-ui/react-checkbox";
4
4
  import { c as A } from "./index-D2ZczOXr.js";
5
5
  import { u as B } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { T as F } from "./tooltip-uEBdD1-5.js";
@@ -65,7 +65,7 @@ const D = {
65
65
  description: "Sourced from the id prop."
66
66
  }
67
67
  }
68
- }, g = [
68
+ }, b = [
69
69
  "ds:[stroke-dasharray:1] ds:[stroke-dashoffset:1]",
70
70
  "ds:animate-[checkbox-indicator-draw_var(--animation-duration)_ease-out_forwards]"
71
71
  ].join(" ");
@@ -82,7 +82,7 @@ function P({ className: t }) {
82
82
  "aria-hidden": "true",
83
83
  "data-slot": "checkbox-check-icon",
84
84
  className: t,
85
- children: /* @__PURE__ */ s("path", { pathLength: "1", d: "M5 12l5 5L20 7", className: g })
85
+ children: /* @__PURE__ */ s("path", { pathLength: "1", d: "M5 12l5 5L20 7", className: b })
86
86
  }
87
87
  );
88
88
  }
@@ -98,13 +98,14 @@ function E({ className: t }) {
98
98
  "aria-hidden": "true",
99
99
  "data-slot": "checkbox-indeterminate-icon",
100
100
  className: t,
101
- children: /* @__PURE__ */ s("path", { pathLength: "1", d: "M5 12h14", className: g })
101
+ children: /* @__PURE__ */ s("path", { pathLength: "1", d: "M5 12h14", className: b })
102
102
  }
103
103
  );
104
104
  }
105
105
  const J = A(
106
106
  [
107
107
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
108
+ "ds:min-w-[var(--spacing-lg)] ds:min-h-[var(--spacing-lg)] ds:p-[var(--spacing-2xs)]",
108
109
  // The off-state edge is all that marks the box, so `--border` is
109
110
  // re-pointed at the 3:1 `--control-border` here. A host still on an
110
111
  // older token sheet lacks this class and keeps the soft edge.
@@ -125,9 +126,9 @@ const J = A(
125
126
  // label wraps, because the wrapper uses `items-start` so children
126
127
  // align to the top edge rather than the multi-line block's centre.
127
128
  size: {
128
- sm: "ds:size-3.5 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-0.875rem)/2)]",
129
- md: "ds:size-4 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-1rem)/2)]",
130
- lg: "ds:size-5 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-1.25rem)/2)]"
129
+ sm: "ds:size-3.5 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-var(--spacing-lg))/2)]",
130
+ md: "ds:size-4 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-var(--spacing-lg))/2)]",
131
+ lg: "ds:size-5 ds:mt-[calc((var(--type-label-size)*var(--type-label-line-height)-var(--spacing-lg))/2)]"
131
132
  }
132
133
  },
133
134
  defaultVariants: {
@@ -143,44 +144,44 @@ const J = A(
143
144
  disabled: x,
144
145
  disabledReason: m,
145
146
  name: C,
146
- value: o,
147
+ value: n,
147
148
  id: u,
148
149
  className: y,
149
150
  ...w
150
151
  }, z) => {
151
- const j = G(), k = u ?? j, e = q(), a = e !== null && o !== void 0, [N, i] = B({
152
+ const j = G(), p = u ?? j, e = q(), r = e !== null && n !== void 0, [N, i] = B({
152
153
  value: l,
153
154
  defaultValue: !1,
154
155
  onChange: v
155
- }), c = a ? e.value.has(o) : N ?? !1, I = a ? () => e.toggle(o) : (n) => {
156
- i(n);
157
- }, L = (e == null ? void 0 : e.name) ?? C, d = (e == null ? void 0 : e.disabled) || x, r = K(
156
+ }), c = r ? e.value.has(n) : N ?? !1, I = r ? () => e.toggle(n) : (o) => {
157
+ i(o);
158
+ }, L = (e == null ? void 0 : e.name) ?? C, d = (e == null ? void 0 : e.disabled) || x, a = K(
158
159
  c ?? !1
159
160
  );
160
- r.current = c ?? !1;
161
+ a.current = c ?? !1;
161
162
  const R = V(
162
163
  () => ({
163
- getChecked: () => r.current,
164
- setChecked: (n) => {
165
- if (a) {
166
- (r.current === !0 || r.current === "indeterminate") !== (n === !0 || n === "indeterminate") && e.toggle(o);
164
+ getChecked: () => a.current,
165
+ setChecked: (o) => {
166
+ if (r) {
167
+ (a.current === !0 || a.current === "indeterminate") !== (o === !0 || o === "indeterminate") && e.toggle(n);
167
168
  return;
168
169
  }
169
- i(n);
170
+ i(o);
170
171
  },
171
172
  toggle: () => {
172
- if (a) {
173
- e.toggle(o);
173
+ if (r) {
174
+ e.toggle(n);
174
175
  return;
175
176
  }
176
- const n = !(r.current === !0 || r.current === "indeterminate");
177
- i(n);
177
+ const o = !(a.current === !0 || a.current === "indeterminate");
178
+ i(o);
178
179
  }
179
180
  }),
180
- [a, e, o, i]
181
+ [r, e, n, i]
181
182
  );
182
183
  H(D, R, u);
183
- const p = [
184
+ const k = [
184
185
  "ds:text-primary-foreground",
185
186
  h === "sm" ? "ds:size-3" : h === "lg" ? "ds:size-4" : "ds:size-3.5"
186
187
  ].join(" "), O = [
@@ -191,26 +192,26 @@ const J = A(
191
192
  {
192
193
  "data-component": "checkbox",
193
194
  "data-component-id": u,
194
- "data-option-id": o,
195
+ "data-option-id": n,
195
196
  className: "ds:inline-flex ds:items-start ds:gap-[var(--spacing-sm)]",
196
197
  children: [
197
198
  /* @__PURE__ */ s(
198
- b.Root,
199
+ g.Root,
199
200
  {
200
201
  ref: z,
201
- id: k,
202
+ id: p,
202
203
  checked: c,
203
204
  onCheckedChange: I,
204
205
  disabled: d,
205
206
  "aria-disabled": d || void 0,
206
207
  name: L,
207
- value: o,
208
+ value: n,
208
209
  className: J({ size: h, className: y }),
209
210
  ...w,
210
- children: /* @__PURE__ */ s(b.Indicator, { children: c === "indeterminate" ? /* @__PURE__ */ s(E, { className: p }) : /* @__PURE__ */ s(P, { className: p }) })
211
+ children: /* @__PURE__ */ s(g.Indicator, { children: c === "indeterminate" ? /* @__PURE__ */ s(E, { className: k }) : /* @__PURE__ */ s(P, { className: k }) })
211
212
  }
212
213
  ),
213
- /* @__PURE__ */ s("label", { htmlFor: k, className: O, children: t })
214
+ /* @__PURE__ */ s("label", { htmlFor: p, className: O, children: t })
214
215
  ]
215
216
  }
216
217
  );
@@ -223,4 +224,4 @@ export {
223
224
  W as a,
224
225
  q as u
225
226
  };
226
- //# sourceMappingURL=checkbox-BjDv-r3o.js.map
227
+ //# sourceMappingURL=checkbox-a7Sh-dXb.js.map
@@ -3,7 +3,7 @@ import { forwardRef as O, useId as Q, useMemo as S, useState as T, useRef as W,
3
3
  import { c as Z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as V } from "react-i18next";
5
5
  import { u as ee } from "./use-controllable-state-BiY4xTzM.js";
6
- import { C as M, a as te } from "./checkbox-BjDv-r3o.js";
6
+ import { C as M, a as te } from "./checkbox-a7Sh-dXb.js";
7
7
  import { u as se } from "./registry-DvAUVLHh.js";
8
8
  import { C as ce } from "./circle-alert-rGDZ73Wh.js";
9
9
  const re = {
@@ -210,4 +210,4 @@ oe.displayName = "CheckboxGroup";
210
210
  export {
211
211
  oe as C
212
212
  };
213
- //# sourceMappingURL=checkbox-group-Cw2H5qaq.js.map
213
+ //# sourceMappingURL=checkbox-group-eGdv9fZc.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { forwardRef as G, useRef as d, useMemo as K, useCallback as m, useEffect as J } from "react";
3
3
  import { useTranslation as O } from "react-i18next";
4
- import { A as Q } from "./autocomplete-CnB1mHGc.js";
4
+ import { A as Q } from "./autocomplete-BXMcNoa3.js";
5
5
  import { T as X } from "./text-input-CaG9ApoE.js";
6
6
  import { c as Y } from "./compose-refs-C0k0tdqF.js";
7
7
  import { w as Z } from "./use-state-backed-input-DhRQo6gM.js";
@@ -182,4 +182,4 @@ export {
182
182
  te as C,
183
183
  ee as c
184
184
  };
185
- //# sourceMappingURL=city-input-CJVGswxp.js.map
185
+ //# sourceMappingURL=city-input-CA59CjnV.js.map