@alfadocs/ui-kit 1.89.0 → 1.90.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.89.0",
3
+ "packageVersion": "1.90.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-BlONA1rP.js";
1
+ import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-D7EGpqOn.js";
2
2
  import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-rWYiF4EI.js";
3
3
  import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-C0ynDik7.js";
4
4
  import { A as X, a as j } from "../../_chunks/actions-cell-renderer-B1yaOfQM.js";
@@ -1,4 +1,4 @@
1
- import { F as r, f } from "../../_chunks/file-manager-C9iJjDZt.js";
1
+ import { F as r, f } from "../../_chunks/file-manager-DQbWBTfk.js";
2
2
  export {
3
3
  r as FileManager,
4
4
  f as fileManagerAgent
@@ -1,4 +1,4 @@
1
- import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-C2Rg-SV_.js";
1
+ import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-BJB6V9yJ.js";
2
2
  export {
3
3
  t as Heatmap,
4
4
  p as HeatmapLegend,
@@ -1,4 +1,4 @@
1
- import { P as t, p as r } from "../../_chunks/patient-search-BPjP2__L.js";
1
+ import { P as t, p as r } from "../../_chunks/patient-search-CCOUZABE.js";
2
2
  export {
3
3
  t as PatientSearch,
4
4
  r as patientSearchAgent
@@ -86,6 +86,14 @@ export interface PatientSearchProps extends Omit<ComponentPropsWithoutRef<'div'>
86
86
  /** Reverse-geocode lat/lng → human label. Optional. */
87
87
  reverseGeocode?: (lat: number, lng: number) => Promise<string>;
88
88
  discoveryCards?: DiscoveryCard[];
89
+ /**
90
+ * Heading level (`h2`, `h3` or `h4`) of the discovery section title.
91
+ * Pick the level that follows the heading above the search on the host
92
+ * page, so the page keeps a correct heading order. Used by the
93
+ * `discovery` variant only.
94
+ * @default 3
95
+ */
96
+ discoveryHeadingLevel?: 2 | 3 | 4;
89
97
  /** Forwarded to the consumer's loaders if they want to constrain by country. */
90
98
  countryCode?: 'it' | 'de' | string;
91
99
  value: SearchValue;
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-BHXJS8Ga.js";
1
+ import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-C9-hyfxy.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
package/dist/index.js CHANGED
@@ -93,7 +93,7 @@ import { C as Fo, c as Lo } from "./_chunks/carousel.agent-CkDXR3-8.js";
93
93
  import { C as Mo, c as yo } from "./_chunks/connection-status-CVyCqxiY.js";
94
94
  import { C as Bo } from "./_chunks/contact-card-Czu60UvU.js";
95
95
  import { C as vo } from "./_chunks/counter-WsvRuum1.js";
96
- import { D as Wo, E as wo, T as Uo, a as Vo, b as Ko, c as Yo, d as Xo, e as qo, f as zo, i as jo, g as Qo } from "./_chunks/data-table-BlONA1rP.js";
96
+ import { D as Wo, E as wo, T as Uo, a as Vo, b as Ko, c as Yo, d as Xo, e as qo, f as zo, i as jo, g as Qo } from "./_chunks/data-table-D7EGpqOn.js";
97
97
  import { B as Jo, C as $o, a as at, E as et, b as st, R as rt, T as ot, c as tt, r as nt, u as it } from "./_chunks/editable-currency-cell-renderer-rWYiF4EI.js";
98
98
  import { D as mt, a as lt, b as dt, I as At, L as ft, N as ct, c as St, S as gt, d as Ct, e as Tt, T as xt, f as ut, g as Pt, U as Et } from "./_chunks/link-cell-renderer-C0ynDik7.js";
99
99
  import { A as Rt, a as _t } from "./_chunks/actions-cell-renderer-B1yaOfQM.js";
@@ -102,7 +102,7 @@ import { C as ht, c as Mt } from "./_chunks/clinical-note-card-Caidqcwa.js";
102
102
  import { N as kt, n as Bt } from "./_chunks/note-timeline-KzL52MmB.js";
103
103
  import { D as vt } from "./_chunks/description-list-BxzDN9o2.js";
104
104
  import { E as Wt } from "./_chunks/empty-state-DwJ5YNzz.js";
105
- import { F as Ut, f as Vt } from "./_chunks/file-manager-C9iJjDZt.js";
105
+ import { F as Ut, f as Vt } from "./_chunks/file-manager-DQbWBTfk.js";
106
106
  import { F as Yt, a as Xt, h as qt } from "./_chunks/flag-DVBE6DnB.js";
107
107
  import { K as jt, k as Qt } from "./_chunks/kbd-Bx7eQv9f.js";
108
108
  import { K as Jt, a as $t } from "./_chunks/key-value-pair-BoXOtBL1.js";
@@ -198,7 +198,7 @@ import { T as tA } from "./_chunks/theme-root-BOO73p5t.js";
198
198
  import { C as iA, U as pA, a as mA, b as lA, c as dA } from "./_chunks/unit-converter-BH5ueIhT.js";
199
199
  import { V as fA } from "./_chunks/visually-hidden-BHxEUGyT.js";
200
200
  import { C as SA, c as gA, a as CA } from "./_chunks/chart-D4huJSru.js";
201
- import { H as xA, a as uA, b as PA, h as EA } from "./_chunks/heatmap-C2Rg-SV_.js";
201
+ import { H as xA, a as uA, b as PA, h as EA } from "./_chunks/heatmap-BJB6V9yJ.js";
202
202
  import { A as RA, a as _A } from "./_chunks/ai-prompt-input-DH_rnV-F.js";
203
203
  import { A as NA } from "./_chunks/ai-sparkle-D23NT8Z_.js";
204
204
  import { A as OA, a as FA } from "./_chunks/audio-recorder-m7Jqvvcl.js";
@@ -227,10 +227,10 @@ import { C as Dc, c as Oc } from "./_chunks/care-plan-header-BzsAg6oY.js";
227
227
  import { O as Lc, o as hc } from "./_chunks/operator-hero-6aAIQaFZ.js";
228
228
  import { P as yc, p as kc } from "./_chunks/practice-profile-hero-qfrsFQI_.js";
229
229
  import { P as Gc, p as vc } from "./_chunks/patient-details-D0P5eog5.js";
230
- import { P as Wc, p as wc } from "./_chunks/patient-search-BPjP2__L.js";
230
+ import { P as Wc, p as wc } from "./_chunks/patient-search-CCOUZABE.js";
231
231
  import { P as Vc, p as Kc } from "./_chunks/patient-summary-card-6U74-ivO.js";
232
232
  import { A as Xc, a as qc } from "./_chunks/anamnesis-summary-card-DQ3iE1gD.js";
233
- import { B as jc, C as Qc, N as Zc, P as Jc, a as $c, T as aS, b as eS, g as sS, u as rS } from "./_chunks/balance-badge-cell-BHXJS8Ga.js";
233
+ import { B as jc, C as Qc, N as Zc, P as Jc, a as $c, T as aS, b as eS, g as sS, u as rS } from "./_chunks/balance-badge-cell-C9-hyfxy.js";
234
234
  import { B as tS, M as nS, P as iS, a as pS, b as mS, c as lS, d as dS, S as AS, e as fS, f as cS, g as SS, h as gS, p as CS, i as TS, j as xS, k as uS, s as PS, t as ES, l as IS } from "./_chunks/periodontal-chart-_y4Ck7_P.js";
235
235
  import { P as _S, a as bS, p as NS } from "./_chunks/periodontal-chart-card-Bx6PeS3b.js";
236
236
  import { D as OS, P as FS, a as LS, b as hS, c as MS, S as yS, e as kS, i as BS, p as GS } from "./_chunks/periodontal-diagnosis-B9YmmVmM.js";
@@ -261,8 +261,8 @@ import { A as vT, a as HT, i as WT, u as wT } from "./_chunks/appointment-workfl
261
261
  import { C as VT, W as KT, a as YT, b as XT, c as qT, i as zT, l as jT, m as QT, r as ZT, w as JT, d as $T, e as ax, f as ex } from "./_chunks/workflow-map-BcfOwsSB.js";
262
262
  import { AliaAsteroidIcon as rx } from "./alia-asteroid-icon/index.js";
263
263
  import { A as tx, a as nx, b as ix, c as px } from "./_chunks/alia-sidebar-CsTRAxC8.js";
264
- import { A as lx, a as dx, L as Ax, P as fx, S as cx, T as Sx, b as gx, c as Cx, d as Tx, e as xx, f as ux, g as Px, h as Ex, i as Ix, j as Rx, k as _x, l as bx, m as Nx, n as Dx, o as Ox, p as Fx, r as Lx, q as hx, s as Mx, t as yx, u as kx } from "./_chunks/anamnesis-summary-rows-DjM_HkCS.js";
265
- import { A as Gx, C as vx, a as Hx, b as Wx, c as wx, D as Ux, d as Vx, S as Kx, V as Yx, W as Xx, e as qx, i as zx, m as jx, r as Qx, u as Zx, f as Jx, g as $x } from "./_chunks/calendar-appointment-editor-dialog-BuumJbcv.js";
264
+ import { A as lx, a as dx, L as Ax, P as fx, S as cx, T as Sx, b as gx, c as Cx, d as Tx, e as xx, f as ux, g as Px, h as Ex, i as Ix, j as Rx, k as _x, l as bx, m as Nx, n as Dx, o as Ox, p as Fx, r as Lx, q as hx, s as Mx, t as yx, u as kx } from "./_chunks/anamnesis-summary-rows-DUMERHK3.js";
265
+ import { A as Gx, C as vx, a as Hx, b as Wx, c as wx, D as Ux, d as Vx, S as Kx, V as Yx, W as Xx, e as qx, i as zx, m as jx, r as Qx, u as Zx, f as Jx, g as $x } from "./_chunks/calendar-appointment-editor-dialog-D8Wkbm8_.js";
266
266
  import { E as eu, a as su, b as ru, e as ou, r as tu } from "./_chunks/error-page-Bhai-spN.js";
267
267
  import { E as iu } from "./_chunks/error-page-illustration-BdJLuMdV.js";
268
268
  import { F as mu, a as lu } from "./_chunks/forgot-password-form-BQPvDS7i.js";
@@ -1,4 +1,4 @@
1
- import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-DjM_HkCS.js";
1
+ import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-DUMERHK3.js";
2
2
  export {
3
3
  e as Anamnesis,
4
4
  i as AnamnesisConfigEditor,
@@ -1,4 +1,4 @@
1
- import { A as s, C as r, a as o, b as t, c as E, D as P, d as S, S as i, V as A, W as C, e as d, i as n, m as D, r as l, u as p, f as W, g as _ } from "../../_chunks/calendar-appointment-editor-dialog-BuumJbcv.js";
1
+ import { A as s, C as r, a as o, b as t, c as E, D as P, d as S, S as i, V as A, W as C, e as d, i as n, m as D, r as l, u as p, f as W, g as _ } from "../../_chunks/calendar-appointment-editor-dialog-D8Wkbm8_.js";
2
2
  export {
3
3
  s as AppointmentEditorDialog,
4
4
  r as CALENDAR_PREFERENCE_KEYS,
@@ -1,6 +1,6 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import s from "../_chunks/purify.es-Cm3utOpm.js";
3
- import { forwardRef as a, useMemo as m } from "react";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import i from "../_chunks/purify.es-Lo4sC_pz.js";
3
+ import { forwardRef as s, useMemo as m } from "react";
4
4
  const c = {
5
5
  ALLOWED_TAGS: [
6
6
  "a",
@@ -57,15 +57,15 @@ function _(t) {
57
57
  }
58
58
  }
59
59
  function u(t, e) {
60
- return s.sanitize(t, _(e));
60
+ return i.sanitize(t, _(e));
61
61
  }
62
- const A = a(
62
+ const A = s(
63
63
  ({ html: t, profile: e = "markdown", ...o }, r) => {
64
64
  const n = m(
65
65
  () => u(t, e),
66
66
  [t, e]
67
67
  );
68
- return /* @__PURE__ */ i(
68
+ return /* @__PURE__ */ a(
69
69
  "div",
70
70
  {
71
71
  ref: r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.89.0",
3
+ "version": "1.90.0",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",
@@ -1192,6 +1192,11 @@
1192
1192
  "optional": true
1193
1193
  }
1194
1194
  },
1195
+ "overrides": {
1196
+ "exceljs": {
1197
+ "uuid": "^11.1.1"
1198
+ }
1199
+ },
1195
1200
  "dependencies": {
1196
1201
  "@radix-ui/react-accordion": "^1.2.12",
1197
1202
  "@radix-ui/react-alert-dialog": "^1.1.15",
@@ -1215,9 +1220,8 @@
1215
1220
  "cmdk": "^1.1.1",
1216
1221
  "country-flag-icons": "^1.6.16",
1217
1222
  "date-fns": "^4.1.0",
1218
- "dompurify": "^3.4.0",
1223
+ "dompurify": "^3.4.16",
1219
1224
  "embla-carousel-react": "8.6.0",
1220
- "exceljs": "^4.4.0",
1221
1225
  "jspdf": "^4.2.1",
1222
1226
  "jspdf-autotable": "^5.0.8",
1223
1227
  "lucide-react": "^1.22.0",
@@ -1280,6 +1284,7 @@
1280
1284
  "eslint-plugin-jsx-a11y": "^6.10.2",
1281
1285
  "eslint-plugin-react": "^7.37.5",
1282
1286
  "eslint-plugin-react-hooks": "^5.2.0",
1287
+ "exceljs": "^4.4.0",
1283
1288
  "globals": "^17.6.0",
1284
1289
  "i18next": "^26.0.4",
1285
1290
  "jsqr": "^1.4.0",