@alfadocs/ui-kit 0.30.1 → 0.30.3

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/{agenda-card-CznB7K8e.js → agenda-card-DO9_yogb.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-C_bha7oK.js → agenda-tray-WLbfMip6.js} +3 -3
  3. package/dist/_chunks/{ai-prompt-input-Bka3jX3i.js → ai-prompt-input-BXlwNnWe.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CnvXq95r.js → alia-sidebar-C-232sD7.js} +4 -4
  5. package/dist/_chunks/{audio-recorder-OB6IV9B1.js → audio-recorder-DL800PE_.js} +2 -2
  6. package/dist/_chunks/{badge-cLYVGlMh.js → badge-CIjQ1Us1.js} +2 -2
  7. package/dist/_chunks/{benefit-card-CjYM8vNr.js → benefit-card-CLPNpiQE.js} +14 -3
  8. package/dist/_chunks/{booking-Bw9eOU4k.js → booking-DiyuLsQV.js} +496 -464
  9. package/dist/_chunks/{carousel.agent-C9swH-Uf.js → carousel.agent-C2Icc9_T.js} +2 -2
  10. package/dist/_chunks/{chat-input-BfDcz1Yi.js → chat-input-cyl_y9bh.js} +2 -2
  11. package/dist/_chunks/{checkbox-mwbrPZDY.js → checkbox-Dgp_cfUr.js} +2 -2
  12. package/dist/_chunks/{checkbox-group-Bwmt1ovQ.js → checkbox-group-eVowqKcT.js} +2 -2
  13. package/dist/_chunks/{description-list-yl3y3QKg.js → description-list-CWjnaDGn.js} +2 -2
  14. package/dist/_chunks/{dialog-BBXqpZIt.js → dialog-C-lTGVkB.js} +2 -2
  15. package/dist/_chunks/{editable-currency-cell-renderer-DSReCae7.js → editable-currency-cell-renderer-CztRy_21.js} +8 -8
  16. package/dist/_chunks/{header-CkMb1TZS.js → header-DDj7uGD-.js} +2 -2
  17. package/dist/_chunks/{icon-button-BRHSSFmZ.js → icon-button-DPEqBKBQ.js} +2 -2
  18. package/dist/_chunks/{key-value-pair-CqeKiP__.js → key-value-pair-BvDY3zuc.js} +2 -2
  19. package/dist/_chunks/{locale-picker-BHxbTNmR.js → locale-picker-CY89MChR.js} +3 -3
  20. package/dist/_chunks/{message-card-DjRtA8GG.js → message-card-D6iyPacd.js} +2 -2
  21. package/dist/_chunks/{message-tray-DfsAMncP.js → message-tray-Bh-0ra-Y.js} +3 -3
  22. package/dist/_chunks/{multi-select-CyspR5ZF.js → multi-select-dSe6Xtc4.js} +2 -2
  23. package/dist/_chunks/{notification-card-B_847w5g.js → notification-card-vaMaA7Wa.js} +2 -2
  24. package/dist/_chunks/{notification-tray-6f7smmT1.js → notification-tray-Cnum6LwM.js} +3 -3
  25. package/dist/_chunks/{patient-search-DuSoGG2t.js → patient-search-ZpHN-pgJ.js} +520 -475
  26. package/dist/_chunks/{patient-shell-CAXYzbRw.js → patient-shell-CYaNkbA1.js} +4 -4
  27. package/dist/_chunks/{popover-D0slaBB9.js → popover-BfHSBEKq.js} +2 -2
  28. package/dist/_chunks/{privacy-lock-BI4vi9Ud.js → privacy-lock-C6Ra5m3p.js} +2 -2
  29. package/dist/_chunks/{public-header.agent-5U3S9QiC.js → public-header.agent-B-B0WDAi.js} +3 -3
  30. package/dist/_chunks/{radio-group-BHZOxrIK.js → radio-group-CTlGc36r.js} +2 -2
  31. package/dist/_chunks/{radio-DvF59ThA.js → radio-i4ogu3cq.js} +2 -2
  32. package/dist/_chunks/{reviews-panel-CFttsfuC.js → reviews-panel-bKEUKSic.js} +198 -178
  33. package/dist/_chunks/{sheet-D8M8hf8B.js → sheet-D8Yl0nKR.js} +2 -2
  34. package/dist/_chunks/{slot-grid-B2zprPcv.js → slot-grid-Q94gVmhn.js} +2 -2
  35. package/dist/_chunks/{tag-CQmHRM4Y.js → tag-bBPAvXyh.js} +2 -2
  36. package/dist/_chunks/{task-tray-Bcmrrs8m.js → task-tray-6NlryfMJ.js} +2 -2
  37. package/dist/_chunks/{theme-toggle-nPzb378f.js → theme-toggle-JoeMs_ws.js} +2 -2
  38. package/dist/_chunks/{toast.agent-CTF6nIj5.js → toast.agent-DVpKt38p.js} +2 -2
  39. package/dist/_chunks/{tooltip-DHik5yRI.js → tooltip-ClJd0ciy.js} +31 -19
  40. package/dist/_chunks/{workflow-map-BKsKdYvZ.js → workflow-map-DlWBJJBt.js} +4 -4
  41. package/dist/agent-catalog.json +1 -1
  42. package/dist/components/agenda-card/index.js +1 -1
  43. package/dist/components/agenda-tray/index.js +1 -1
  44. package/dist/components/ai-prompt-input/index.js +1 -1
  45. package/dist/components/audio-recorder/index.js +1 -1
  46. package/dist/components/badge/index.js +1 -1
  47. package/dist/components/benefit-card/index.js +1 -1
  48. package/dist/components/booking/booking-types.d.ts +16 -0
  49. package/dist/components/booking/index.js +1 -1
  50. package/dist/components/button/index.js +1 -1
  51. package/dist/components/carousel/index.js +1 -1
  52. package/dist/components/chat-input/index.js +1 -1
  53. package/dist/components/checkbox/index.js +1 -1
  54. package/dist/components/checkbox-group/index.js +1 -1
  55. package/dist/components/data-table/index.js +1 -1
  56. package/dist/components/description-list/index.js +1 -1
  57. package/dist/components/dialog/index.js +1 -1
  58. package/dist/components/header/index.js +1 -1
  59. package/dist/components/header-settings/index.js +2 -2
  60. package/dist/components/icon-button/index.js +1 -1
  61. package/dist/components/key-value-pair/index.js +1 -1
  62. package/dist/components/locale-picker/index.js +1 -1
  63. package/dist/components/message-card/index.js +1 -1
  64. package/dist/components/message-tray/index.js +1 -1
  65. package/dist/components/multi-select/index.js +1 -1
  66. package/dist/components/notification-card/index.js +1 -1
  67. package/dist/components/notification-tray/index.js +1 -1
  68. package/dist/components/patient-search/index.js +1 -1
  69. package/dist/components/popover/index.js +1 -1
  70. package/dist/components/privacy-lock/index.js +1 -1
  71. package/dist/components/public-header/index.js +1 -1
  72. package/dist/components/radio/index.js +1 -1
  73. package/dist/components/radio-group/index.js +2 -2
  74. package/dist/components/reviews-panel/index.js +1 -1
  75. package/dist/components/reviews-panel/reviews-panel.d.ts +8 -0
  76. package/dist/components/sheet/index.js +1 -1
  77. package/dist/components/slot-grid/index.js +1 -1
  78. package/dist/components/tag/index.js +1 -1
  79. package/dist/components/task-tray/index.js +1 -1
  80. package/dist/components/theme-toggle/index.js +1 -1
  81. package/dist/components/toast/index.js +1 -1
  82. package/dist/components/tooltip/index.js +1 -1
  83. package/dist/components/workflow/index.js +1 -1
  84. package/dist/index.js +39 -39
  85. package/dist/patterns/alia-assistant/index.js +1 -1
  86. package/dist/patterns/patient-shell/index.js +1 -1
  87. package/dist/tokens.css +1 -1
  88. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { forwardRef as v } from "react";
3
3
  import { c as h } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as b } from "react-i18next";
5
5
  import { A as x } from "./avatar-D_H4emLo.js";
6
- import { B as y } from "./badge-cLYVGlMh.js";
6
+ import { B as y } from "./badge-CIjQ1Us1.js";
7
7
  import { C as N } from "./chevron-right-BrpYejk0.js";
8
8
  const C = h(
9
9
  [
@@ -138,4 +138,4 @@ export {
138
138
  T as A,
139
139
  w as i
140
140
  };
141
- //# sourceMappingURL=agenda-card-CznB7K8e.js.map
141
+ //# sourceMappingURL=agenda-card-DO9_yogb.js.map
@@ -2,10 +2,10 @@ import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
2
  import { forwardRef as R, useRef as f, useImperativeHandle as z, useMemo as C } from "react";
3
3
  import { c as S } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as j } from "react-i18next";
5
- import { I as _ } from "./icon-button-BRHSSFmZ.js";
5
+ import { I as _ } from "./icon-button-DPEqBKBQ.js";
6
6
  import { S as E } from "./skeleton-CZbwyJAA.js";
7
7
  import { E as P } from "./empty-state-BLy7tigq.js";
8
- import { A as H } from "./agenda-card-CznB7K8e.js";
8
+ import { A as H } from "./agenda-card-DO9_yogb.js";
9
9
  import { u as K } from "./registry-C9nwlNyL.js";
10
10
  import { c as L } from "./createLucideIcon-CrFbzy84.js";
11
11
  import { P as V } from "./plus-CYKNmfuA.js";
@@ -178,4 +178,4 @@ export {
178
178
  G as A,
179
179
  D as a
180
180
  };
181
- //# sourceMappingURL=agenda-tray-C_bha7oK.js.map
181
+ //# sourceMappingURL=agenda-tray-WLbfMip6.js.map
@@ -6,7 +6,7 @@ import { u as J } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as Re } from "./registry-C9nwlNyL.js";
7
7
  import { _ as g } from "./index-4xgbg-sn.js";
8
8
  import { u as De } from "./index-BcMWc8W2.js";
9
- import { I as te } from "./icon-button-BRHSSFmZ.js";
9
+ import { I as te } from "./icon-button-DPEqBKBQ.js";
10
10
  import { S as _e } from "./select-C92AT_OZ.js";
11
11
  import { S as Ae } from "./send-CySZIRPJ.js";
12
12
  import { X as Le } from "./x-CCcI3eJp.js";
@@ -477,4 +477,4 @@ export {
477
477
  Ze as A,
478
478
  Ue as a
479
479
  };
480
- //# sourceMappingURL=ai-prompt-input-Bka3jX3i.js.map
480
+ //# sourceMappingURL=ai-prompt-input-BXlwNnWe.js.map
@@ -3,15 +3,15 @@ import { forwardRef as C, useMemo as U } from "react";
3
3
  import * as ee from "@radix-ui/react-dialog";
4
4
  import { useTranslation as z } from "react-i18next";
5
5
  import { F as se } from "./floating-action-button-pojvb9gG.js";
6
- import { I as B } from "./icon-button-BRHSSFmZ.js";
7
- import { S as E } from "./sheet-D8M8hf8B.js";
6
+ import { I as B } from "./icon-button-DPEqBKBQ.js";
7
+ import { S as E } from "./sheet-D8Yl0nKR.js";
8
8
  import { X as ae } from "./x-CCcI3eJp.js";
9
9
  import { S as P } from "./sparkles-CuYXqQLg.js";
10
10
  import { A as k } from "./avatar-D_H4emLo.js";
11
11
  import { B as D } from "./button-DD_0Xdmr.js";
12
12
  import { C as de } from "./chat-container-izziXViv.js";
13
13
  import { C as ie } from "./chat-message-fg221-yx.js";
14
- import { C as re } from "./chat-input-BfDcz1Yi.js";
14
+ import { C as re } from "./chat-input-cyl_y9bh.js";
15
15
  import { S as le } from "./streaming-text-BgjCTVOw.js";
16
16
  import { a as O, S as Q } from "./suggestion-chip-C4kxWUIs.js";
17
17
  import { T as te } from "./typing-indicator-DHeVN4ob.js";
@@ -739,4 +739,4 @@ export {
739
739
  ze as b,
740
740
  Ce as c
741
741
  };
742
- //# sourceMappingURL=alia-sidebar-CnvXq95r.js.map
742
+ //# sourceMappingURL=alia-sidebar-C-232sD7.js.map
@@ -3,7 +3,7 @@ import { forwardRef as se, useReducer as ae, useState as x, useRef as m, useEffe
3
3
  import { c as ce } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as oe } from "react-i18next";
5
5
  import { B as G } from "./button-DD_0Xdmr.js";
6
- import { I as N } from "./icon-button-BRHSSFmZ.js";
6
+ import { I as N } from "./icon-button-DPEqBKBQ.js";
7
7
  import { S as ue } from "./select-C92AT_OZ.js";
8
8
  import { A as pe } from "./audio-visualiser-I-T4Z7EU.js";
9
9
  import { A as F } from "./alert-ywPR59NE.js";
@@ -454,4 +454,4 @@ export {
454
454
  Ne as A,
455
455
  Re as a
456
456
  };
457
- //# sourceMappingURL=audio-recorder-OB6IV9B1.js.map
457
+ //# sourceMappingURL=audio-recorder-DL800PE_.js.map
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as e, Fragment as x } from "react/jsx-runtime";
2
2
  import { forwardRef as w } from "react";
3
3
  import { c as r } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as h } from "react-i18next";
5
- import { T as y } from "./tooltip-DHik5yRI.js";
5
+ import { T as y } from "./tooltip-ClJd0ciy.js";
6
6
  const z = r(
7
7
  [
8
8
  "ds:inline-flex ds:items-center ds:gap-1",
@@ -105,4 +105,4 @@ j.displayName = "Badge";
105
105
  export {
106
106
  j as B
107
107
  };
108
- //# sourceMappingURL=badge-cLYVGlMh.js.map
108
+ //# sourceMappingURL=badge-CIjQ1Us1.js.map
@@ -34,7 +34,12 @@ const _ = [
34
34
  {
35
35
  variants: {
36
36
  variant: {
37
- elevated: "ds:shadow-[var(--shadow-card)]",
37
+ // The accessible theme demands a visible boundary at ≥3:1 shadow
38
+ // alone doesn't clear that against the light page wash. Always
39
+ // emit a `--card-border` outline; light/dark themes use the
40
+ // soft 14% / 32% values (subtle but present) while accessible
41
+ // bumps to 50% black / 50% white for the strict-AA edge weight.
42
+ elevated: "ds:shadow-[var(--shadow-card)] ds:border ds:border-[color:var(--card-border)]",
38
43
  outlined: "ds:border ds:border-[color:var(--card-border)]"
39
44
  }
40
45
  },
@@ -106,7 +111,13 @@ const _ = [
106
111
  [
107
112
  "type-eyebrow",
108
113
  "ds:rounded-[var(--radius-full)]",
109
- "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]"
114
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
115
+ // Accessible theme: the per-variant `30% primary` border is too
116
+ // washed out for the ≥3:1 non-text contrast bar. Swap to
117
+ // currentColor (which resolves to the brand-700 / -200 text colour
118
+ // of the variant — same hue, fully opaque). Descendant selector
119
+ // outweighs the per-variant declaration via specificity.
120
+ "ds:[.theme-accessible_&]:[border-color:currentColor]"
110
121
  ].join(" "),
111
122
  {
112
123
  variants: {
@@ -216,4 +227,4 @@ const H = Object.assign(x, {
216
227
  export {
217
228
  H as B
218
229
  };
219
- //# sourceMappingURL=benefit-card-CjYM8vNr.js.map
230
+ //# sourceMappingURL=benefit-card-CLPNpiQE.js.map