@alfadocs/ui-kit 0.66.0 → 0.67.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 (153) hide show
  1. package/dist/_chunks/{agenda-card-Bl-SBiCh.js → agenda-card-BxSFkqgY.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bh1KfEOG.js → agenda-tray-T-BumlGZ.js} +2 -2
  3. package/dist/_chunks/{ai-consent-banner-Btzmk8OH.js → ai-consent-banner-Dxtx_WAh.js} +2 -2
  4. package/dist/_chunks/{ai-tools-rail-DAfaW8eA.js → ai-tools-rail-DfmewPUN.js} +57 -50
  5. package/dist/_chunks/{alia-sidebar-CN8pA6c-.js → alia-sidebar-Ckv0yCKi.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-qeLYRG79.js → anamnesis-card-N8pIKWuS.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-BfzFjEyb.js → antenatal-schedule-timeline-35ebkcZT.js} +2 -2
  8. package/dist/_chunks/{appointment-tray-BQnJEora.js → appointment-tray-CQJ3Nbi5.js} +4 -4
  9. package/dist/_chunks/{badge-zsf5i5bH.js → badge-CqGsX32l.js} +46 -42
  10. package/dist/_chunks/{bishop-score-DPN4Ched.js → bishop-score-CjsB9bM-.js} +2 -2
  11. package/dist/_chunks/{bmi-calculator-DuUneHuZ.js → bmi-calculator-n-823_1V.js} +2 -2
  12. package/dist/_chunks/{care-plan-card-D42WD4-T.js → care-plan-card-CJei-nl9.js} +4 -4
  13. package/dist/_chunks/{care-plan-entry-card-BukNI7Uy.js → care-plan-entry-card-EmfrbHu8.js} +4 -4
  14. package/dist/_chunks/{clinical-note-card-BYo437dU.js → clinical-note-card-gtrxv6zn.js} +2 -2
  15. package/dist/_chunks/{color-picker-9tL7pz5y.js → color-picker-B7xsn6tX.js} +186 -167
  16. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  17. package/dist/_chunks/{cycle-calculator-D6LTmtQt.js → cycle-calculator-BF0ointe.js} +2 -2
  18. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  19. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  20. package/dist/_chunks/{due-date-calculator-CIG194vq.js → due-date-calculator-DU9AEWNy.js} +3 -3
  21. package/dist/_chunks/{editable-currency-cell-renderer-f3d0Rhue.js → editable-currency-cell-renderer-BVJ04DkB.js} +956 -897
  22. package/dist/_chunks/{fetal-weight-Xf8-ZoDy.js → fetal-weight-BVSzOhuR.js} +2 -2
  23. package/dist/_chunks/{gestational-age-calculator-BGsZaWXW.js → gestational-age-calculator-DBlFdoiP.js} +3 -3
  24. package/dist/_chunks/{hcg-doubling-LH5i6oM7.js → hcg-doubling-if4Q8aSX.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-Cou6XnMJ.js → marketplace-app-shell-Bu-HD3fy.js} +3 -3
  26. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  27. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  28. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  29. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  30. package/dist/_chunks/{patient-shell-Tgpv0HND.js → patient-shell-DrV_iekt.js} +2 -2
  31. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-ByfIU8N0.js} +4 -4
  32. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-yTjzKQCU.js} +3 -3
  33. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  34. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  35. package/dist/_chunks/{pregnancy-dating-f9aJbiAk.js → pregnancy-dating-QY-sqpvj.js} +3 -3
  36. package/dist/_chunks/{pregnancy-weight-gain-BMRBeA8V.js → pregnancy-weight-gain-DOJXXNYP.js} +2 -2
  37. package/dist/_chunks/rich-text-editor-BOQr5lHx.js +1970 -0
  38. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-eccd_Uf-.js} +38 -28
  39. package/dist/_chunks/{sidebar-BFwbx74W.js → sidebar-CGjIk_FQ.js} +25 -22
  40. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  41. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  42. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  43. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-BrW8P50O.js} +19 -19
  44. package/dist/_chunks/{workflow-map-Bt4Of5dT.js → workflow-map-JAZryZJr.js} +2 -2
  45. package/dist/agent-catalog.json +1 -1
  46. package/dist/components/agenda-card/index.js +1 -1
  47. package/dist/components/agenda-tray/index.js +1 -1
  48. package/dist/components/ai-consent-banner/index.js +1 -1
  49. package/dist/components/ai-tools-rail/index.js +1 -1
  50. package/dist/components/anamnesis-card/index.js +1 -1
  51. package/dist/components/appointment-card/index.js +1 -1
  52. package/dist/components/badge/index.js +1 -1
  53. package/dist/components/bishop-score/index.js +1 -1
  54. package/dist/components/bmi-calculator/index.js +1 -1
  55. package/dist/components/care-plan-card/index.js +1 -1
  56. package/dist/components/care-plan-entry-card/index.js +1 -1
  57. package/dist/components/clinical-note-card/index.js +1 -1
  58. package/dist/components/color-picker/index.js +1 -1
  59. package/dist/components/contact-profile-card/index.js +1 -1
  60. package/dist/components/cycle-calculator/index.js +1 -1
  61. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  62. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  63. package/dist/components/data-table/data-table.d.ts +1 -1
  64. package/dist/components/data-table/index.d.ts +2 -0
  65. package/dist/components/data-table/index.js +13 -12
  66. package/dist/components/data-table/toolbar.d.ts +5 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/document-scanner/index.js +1 -1
  69. package/dist/components/due-date-calculator/index.js +2 -2
  70. package/dist/components/fetal-weight/index.js +1 -1
  71. package/dist/components/gestational-age-calculator/index.js +1 -1
  72. package/dist/components/hcg-doubling/index.js +1 -1
  73. package/dist/components/message-card/index.js +1 -1
  74. package/dist/components/message-tray/index.js +1 -1
  75. package/dist/components/operator-hero/index.js +1 -1
  76. package/dist/components/patient-search/index.js +1 -1
  77. package/dist/components/patient-summary-card/index.js +1 -1
  78. package/dist/components/payment-card/index.js +1 -1
  79. package/dist/components/periodontal-chart-card/index.js +1 -1
  80. package/dist/components/practice-results/index.js +1 -1
  81. package/dist/components/pregnancy-dating/index.js +1 -1
  82. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  83. package/dist/components/rich-text-editor/editor-toolbar.d.ts +25 -1
  84. package/dist/components/rich-text-editor/index.js +1 -1
  85. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  86. package/dist/components/scroll-area/index.js +1 -1
  87. package/dist/components/sidebar/index.js +1 -1
  88. package/dist/components/suggestion-chip/index.js +1 -1
  89. package/dist/components/tab-bar/index.js +1 -1
  90. package/dist/components/tag/index.js +1 -1
  91. package/dist/components/transaction-chip/index.js +1 -1
  92. package/dist/components/workflow/index.js +1 -1
  93. package/dist/i18n/locales/ar.d.ts +10 -0
  94. package/dist/i18n/locales/ar.js +11 -1
  95. package/dist/i18n/locales/de.d.ts +10 -0
  96. package/dist/i18n/locales/de.js +11 -1
  97. package/dist/i18n/locales/el.d.ts +10 -0
  98. package/dist/i18n/locales/el.js +11 -1
  99. package/dist/i18n/locales/en.d.ts +10 -0
  100. package/dist/i18n/locales/en.js +11 -1
  101. package/dist/i18n/locales/es.d.ts +10 -0
  102. package/dist/i18n/locales/es.js +11 -1
  103. package/dist/i18n/locales/fr.d.ts +10 -0
  104. package/dist/i18n/locales/fr.js +11 -1
  105. package/dist/i18n/locales/hi.d.ts +10 -0
  106. package/dist/i18n/locales/hi.js +11 -1
  107. package/dist/i18n/locales/it.d.ts +10 -0
  108. package/dist/i18n/locales/it.js +11 -1
  109. package/dist/i18n/locales/ja.d.ts +10 -0
  110. package/dist/i18n/locales/ja.js +11 -1
  111. package/dist/i18n/locales/nl.d.ts +10 -0
  112. package/dist/i18n/locales/nl.js +9 -1
  113. package/dist/i18n/locales/pl.d.ts +10 -0
  114. package/dist/i18n/locales/pl.js +11 -1
  115. package/dist/i18n/locales/pt.d.ts +10 -0
  116. package/dist/i18n/locales/pt.js +11 -1
  117. package/dist/i18n/locales/ro.d.ts +10 -0
  118. package/dist/i18n/locales/ro.js +11 -1
  119. package/dist/i18n/locales/ru.d.ts +10 -0
  120. package/dist/i18n/locales/ru.js +11 -1
  121. package/dist/i18n/locales/sq.d.ts +10 -0
  122. package/dist/i18n/locales/sq.js +11 -1
  123. package/dist/i18n/locales/sv.d.ts +10 -0
  124. package/dist/i18n/locales/sv.js +9 -1
  125. package/dist/i18n/locales/tr.d.ts +10 -0
  126. package/dist/i18n/locales/tr.js +11 -1
  127. package/dist/i18n/locales/zh.d.ts +10 -0
  128. package/dist/i18n/locales/zh.js +9 -1
  129. package/dist/index.js +508 -507
  130. package/dist/locales/ar.json +11 -1
  131. package/dist/locales/de.json +11 -1
  132. package/dist/locales/el.json +11 -1
  133. package/dist/locales/en.json +11 -1
  134. package/dist/locales/es.json +11 -1
  135. package/dist/locales/fr.json +11 -1
  136. package/dist/locales/hi.json +11 -1
  137. package/dist/locales/it.json +11 -1
  138. package/dist/locales/ja.json +11 -1
  139. package/dist/locales/nl.json +11 -1
  140. package/dist/locales/pl.json +11 -1
  141. package/dist/locales/pt.json +11 -1
  142. package/dist/locales/ro.json +11 -1
  143. package/dist/locales/ru.json +11 -1
  144. package/dist/locales/sq.json +11 -1
  145. package/dist/locales/sv.json +11 -1
  146. package/dist/locales/tr.json +11 -1
  147. package/dist/locales/zh.json +11 -1
  148. package/dist/patterns/alia-assistant/index.js +1 -1
  149. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  150. package/dist/patterns/patient-shell/index.js +1 -1
  151. package/dist/tokens.css +6 -3
  152. package/package.json +1 -1
  153. package/dist/_chunks/rich-text-editor-B5XQNxe8.js +0 -1586
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as g } from "react/jsx-runtime";
2
2
  import { forwardRef as v, useRef as z } from "react";
3
- import * as o from "@radix-ui/react-scroll-area";
3
+ import * as r from "@radix-ui/react-scroll-area";
4
4
  import { c as b } from "./index-D2ZczOXr.js";
5
5
  import { u as p } from "./use-direction-Dp8h70PP.js";
6
6
  const u = b(
@@ -43,72 +43,82 @@ const u = b(
43
43
  'ds:before:absolute ds:before:content-[""] ds:before:inset-inline-[calc((var(--min-target-size)-100%)/-2)]',
44
44
  "ds:before:inset-block-[calc((var(--min-target-size)-100%)/-2)]"
45
45
  ].join(" ")
46
- ), w = (r) => r === "auto" || r === void 0 ? "hover" : r, S = {
46
+ ), w = (o) => o === "auto" || o === void 0 ? "hover" : o, S = {
47
47
  vertical: "ds:overflow-y-auto",
48
48
  horizontal: "ds:overflow-x-auto",
49
49
  both: "ds:overflow-auto"
50
50
  }, m = v(
51
51
  ({
52
- orientation: r = "vertical",
52
+ orientation: o = "vertical",
53
53
  size: e = "md",
54
- type: i = "auto",
55
- className: l,
54
+ type: l = "auto",
55
+ className: i,
56
56
  children: t,
57
57
  scrollHideDelay: n,
58
58
  ...d
59
59
  }, c) => {
60
60
  const a = z(null), h = p(a);
61
61
  return /* @__PURE__ */ g(
62
- o.Root,
62
+ r.Root,
63
63
  {
64
64
  ref: a,
65
- type: w(i),
65
+ type: w(l),
66
66
  dir: h,
67
67
  scrollHideDelay: n,
68
68
  "data-component": "scroll-area",
69
69
  className: [
70
70
  "ds:relative ds:overflow-hidden",
71
71
  "ds:min-w-0 ds:min-h-0",
72
- l
72
+ i
73
73
  ].filter(Boolean).join(" "),
74
74
  ...d,
75
75
  children: [
76
76
  /* @__PURE__ */ s(
77
- o.Viewport,
77
+ r.Viewport,
78
78
  {
79
79
  ref: c,
80
80
  tabIndex: 0,
81
81
  className: [
82
82
  "ds:h-full ds:w-full ds:rounded-[inherit]",
83
+ // Radix wraps the viewport content in an inline
84
+ // `display:table; min-width:100%` div that grows to the content's
85
+ // MAX-content width. In a vertical-only scroll area the Root's
86
+ // overflow-x is hidden, so anything wider than the viewport is
87
+ // silently CLIPPED — not scrollable (seen in the AiToolsRail inbox
88
+ // panel once accessible-mode type pushed content past the panel
89
+ // width). Forcing that wrapper to `block` makes content wrap to the
90
+ // viewport width instead. Horizontal / both keep the table wrapper
91
+ // so they can still scroll on the x-axis.
92
+ o === "vertical" ? "ds:[&>div]:!block" : "",
83
93
  // keyboard focus ring on the scroll container
84
94
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
85
95
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
86
96
  "ds:forced-colors:focus-visible:outline-[Highlight]"
87
- ].join(" "),
97
+ ].filter(Boolean).join(" "),
88
98
  children: t
89
99
  }
90
100
  ),
91
- (r === "vertical" || r === "both") && // forceMount keeps the element in the DOM so CSS opacity transition
101
+ (o === "vertical" || o === "both") && // forceMount keeps the element in the DOM so CSS opacity transition
92
102
  // can animate the show/hide instead of mount/unmount snapping.
93
103
  /* @__PURE__ */ s(
94
- o.Scrollbar,
104
+ r.Scrollbar,
95
105
  {
96
106
  forceMount: !0,
97
107
  orientation: "vertical",
98
108
  className: u({ size: e }),
99
- children: /* @__PURE__ */ s(o.Thumb, { className: f() })
109
+ children: /* @__PURE__ */ s(r.Thumb, { className: f() })
100
110
  }
101
111
  ),
102
- (r === "horizontal" || r === "both") && /* @__PURE__ */ s(
103
- o.Scrollbar,
112
+ (o === "horizontal" || o === "both") && /* @__PURE__ */ s(
113
+ r.Scrollbar,
104
114
  {
105
115
  forceMount: !0,
106
116
  orientation: "horizontal",
107
117
  className: u({ size: e }),
108
- children: /* @__PURE__ */ s(o.Thumb, { className: f() })
118
+ children: /* @__PURE__ */ s(r.Thumb, { className: f() })
109
119
  }
110
120
  ),
111
- /* @__PURE__ */ s(o.Corner, {})
121
+ /* @__PURE__ */ s(r.Corner, {})
112
122
  ]
113
123
  }
114
124
  );
@@ -116,24 +126,24 @@ const u = b(
116
126
  );
117
127
  m.displayName = "RadixScrollArea";
118
128
  const x = v(
119
- (r, e) => {
129
+ (o, e) => {
120
130
  const {
121
- orientation: i = "vertical",
122
- type: l = "auto",
131
+ orientation: l = "vertical",
132
+ type: i = "auto",
123
133
  className: t,
124
134
  children: n,
125
135
  scrollHideDelay: d,
126
136
  size: c,
127
137
  ...a
128
- } = r;
129
- return l === "native" ? /* @__PURE__ */ s(
138
+ } = o;
139
+ return i === "native" ? /* @__PURE__ */ s(
130
140
  "div",
131
141
  {
132
142
  ref: e,
133
143
  "data-component": "scroll-area",
134
144
  tabIndex: 0,
135
145
  className: [
136
- S[i],
146
+ S[l],
137
147
  "ds:min-w-0 ds:min-h-0",
138
148
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
139
149
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
@@ -143,17 +153,17 @@ const x = v(
143
153
  ...a,
144
154
  children: n
145
155
  }
146
- ) : /* @__PURE__ */ s(m, { ref: e, ...r });
156
+ ) : /* @__PURE__ */ s(m, { ref: e, ...o });
147
157
  }
148
158
  );
149
159
  x.displayName = "ScrollArea";
150
- const R = o.Root, T = o.Viewport, V = o.Scrollbar, H = o.Thumb, B = o.Corner;
160
+ const R = r.Root, T = r.Viewport, V = r.Scrollbar, B = r.Thumb, H = r.Corner;
151
161
  export {
152
162
  x as S,
153
- B as a,
163
+ H as a,
154
164
  R as b,
155
165
  V as c,
156
- H as d,
166
+ B as d,
157
167
  T as e
158
168
  };
159
- //# sourceMappingURL=scroll-area-BWqCkEGz.js.map
169
+ //# sourceMappingURL=scroll-area-eccd_Uf-.js.map
@@ -1,8 +1,8 @@
1
1
  import { jsx as s, jsxs as c, Fragment as $ } from "react/jsx-runtime";
2
- import { forwardRef as g, useState as _, useEffect as W, useCallback as J, useRef as U, useMemo as O, useId as is, useContext as Q, createContext as ss } from "react";
2
+ import { forwardRef as g, useState as P, useEffect as W, useCallback as J, useRef as U, useMemo as O, useId as is, useContext as Q, createContext as ss } from "react";
3
3
  import * as R from "@radix-ui/react-dialog";
4
4
  import * as K from "@radix-ui/react-collapsible";
5
- import * as P from "@radix-ui/react-accordion";
5
+ import * as E from "@radix-ui/react-accordion";
6
6
  import * as b from "@radix-ui/react-tooltip";
7
7
  import { a as ns } from "./accordion-9lJSMMsZ.js";
8
8
  import { Slot as os } from "@radix-ui/react-slot";
@@ -119,6 +119,9 @@ const X = T(
119
119
  // solid background (e.g. AppFrame's `<main>` surface), otherwise
120
120
  // the shadow that projects towards the inline-end gets covered.
121
121
  "ds:relative ds:z-[1] ds:shadow-[var(--shadow-md)]",
122
+ // Accessible (AAA) theme prefers a solid border over a soft shadow as the
123
+ // separation cue — swap the resting elevation for a real 1px `border-e`.
124
+ "ds:[.theme-accessible_&]:border-e ds:[.theme-accessible_&]:shadow-none",
122
125
  "ds:h-full",
123
126
  "ds:transition-[inline-size] ds:duration-[var(--animation-duration)]",
124
127
  "ds:motion-reduce:transition-none",
@@ -170,7 +173,7 @@ const X = T(
170
173
  id: p,
171
174
  ...h
172
175
  }, N) => {
173
- const { t: x } = B(), d = e !== void 0, [w, z] = _(
176
+ const { t: x } = B(), d = e !== void 0, [w, z] = P(
174
177
  () => d ? e : ws(a)
175
178
  ), v = d ? e : w;
176
179
  W(() => {
@@ -196,7 +199,7 @@ const X = T(
196
199
  [S]
197
200
  );
198
201
  cs(ys, F, p);
199
- const D = U(null), A = O(() => ls(N, D), [N]), { separatorProps: L, isResizing: E } = ts({
202
+ const D = U(null), A = O(() => ls(N, D), [N]), { separatorProps: L, isResizing: _ } = ts({
200
203
  edge: "inline-end",
201
204
  targetRef: D,
202
205
  cssProperty: "--sidebar-modern-expanded-size",
@@ -289,7 +292,7 @@ const X = T(
289
292
  "data-component-id": p,
290
293
  "data-mode": v,
291
294
  "data-density": i,
292
- "data-resizing": E ? "" : void 0,
295
+ "data-resizing": _ ? "" : void 0,
293
296
  className: [
294
297
  X({ mode: v, density: i }),
295
298
  i === "compact" ? "ds:density-compact" : "",
@@ -303,7 +306,7 @@ const X = T(
303
306
  {
304
307
  ...L,
305
308
  "aria-label": x("navigation.sidebar.resize"),
306
- "data-resizing": E ? "" : void 0,
309
+ "data-resizing": _ ? "" : void 0,
307
310
  className: ks
308
311
  }
309
312
  ) : null
@@ -435,7 +438,7 @@ const Bs = [
435
438
  ] });
436
439
  const d = "section";
437
440
  return /* @__PURE__ */ s(
438
- P.Root,
441
+ E.Root,
439
442
  {
440
443
  type: "single",
441
444
  collapsible: !0,
@@ -443,8 +446,8 @@ const Bs = [
443
446
  value: n === void 0 ? void 0 : n ? d : "",
444
447
  onValueChange: t ? (w) => t(w === d) : void 0,
445
448
  asChild: !0,
446
- children: /* @__PURE__ */ s("div", { ref: f, className: x, ...u, children: /* @__PURE__ */ c(P.Item, { value: d, children: [
447
- /* @__PURE__ */ s(P.Header, { className: "ds:flex", children: /* @__PURE__ */ c(P.Trigger, { className: Bs, children: [
449
+ children: /* @__PURE__ */ s("div", { ref: f, className: x, ...u, children: /* @__PURE__ */ c(E.Item, { value: d, children: [
450
+ /* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ c(E.Trigger, { className: Bs, children: [
448
451
  a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Y, children: a }) : null,
449
452
  /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-start", children: e }),
450
453
  /* @__PURE__ */ s(
@@ -547,7 +550,7 @@ const Ds = [
547
550
  }
548
551
  );
549
552
  As.displayName = "SidebarGroup";
550
- const Es = T(
553
+ const _s = T(
551
554
  [
552
555
  // Every row is a pin-hover parent so inline pin / reorder affordances can
553
556
  // fade in on hover of the whole row — keep `group/item` on this selector.
@@ -626,7 +629,7 @@ const Es = T(
626
629
  ref: f,
627
630
  "aria-current": a ? "page" : void 0,
628
631
  "aria-label": o,
629
- className: Es({
632
+ className: _s({
630
633
  mode: p,
631
634
  density: h,
632
635
  isActive: a,
@@ -679,7 +682,7 @@ const Es = T(
679
682
  }
680
683
  );
681
684
  rs.displayName = "SidebarItem";
682
- const Ps = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
685
+ const Es = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
683
686
  "span",
684
687
  {
685
688
  ref: i,
@@ -700,8 +703,8 @@ const Ps = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
700
703
  children: a
701
704
  }
702
705
  ));
703
- Ps.displayName = "SidebarItemIcon";
704
- const _s = g(({ className: e, children: a, ...r }, i) => {
706
+ Es.displayName = "SidebarItemIcon";
707
+ const Ps = g(({ className: e, children: a, ...r }, i) => {
705
708
  const { mode: n } = y();
706
709
  return /* @__PURE__ */ s(
707
710
  "span",
@@ -719,7 +722,7 @@ const _s = g(({ className: e, children: a, ...r }, i) => {
719
722
  }
720
723
  );
721
724
  });
722
- _s.displayName = "SidebarItemLabel";
725
+ Ps.displayName = "SidebarItemLabel";
723
726
  const Hs = g(({ className: e, children: a, ...r }, i) => {
724
727
  const { mode: n } = y(), t = n === "icon";
725
728
  return /* @__PURE__ */ s(
@@ -907,7 +910,7 @@ const Ks = [
907
910
  Z.displayName = "SidebarPinButton";
908
911
  const ds = ss(null), Us = () => Q(ds), Os = g(
909
912
  ({ heading: e, emptyMessage: a, onReorder: r, className: i, children: n, ...t }, l) => {
910
- const { t: o } = B(), u = e ?? o("navigation.sidebar.favorites", "Favourites"), f = Array.isArray(n) ? n.filter(Boolean) : n ? [n] : [], p = f.length, h = p > 0, [N, x] = _(null), [d, w] = _(""), z = U(!1), v = J((j) => {
913
+ const { t: o } = B(), u = e ?? o("navigation.sidebar.favorites", "Favourites"), f = Array.isArray(n) ? n.filter(Boolean) : n ? [n] : [], p = f.length, h = p > 0, [N, x] = P(null), [d, w] = P(""), z = U(!1), v = J((j) => {
911
914
  z.current = !z.current, w(z.current ? j : `${j}​`);
912
915
  }, []), S = O(
913
916
  () => ({ onReorder: r, count: p, dragSource: N, setDragSource: x, announce: v }),
@@ -976,7 +979,7 @@ const Gs = T(
976
979
  children: f,
977
980
  ...p
978
981
  }, h) => {
979
- const { t: N } = B(), { mode: x } = y(), d = Us(), [w, z] = _(!1), v = !!(d != null && d.onReorder) && x !== "icon", S = i ?? o ?? "", j = is(), k = (m, I) => {
982
+ const { t: N } = B(), { mode: x } = y(), d = Us(), [w, z] = P(!1), v = !!(d != null && d.onReorder) && x !== "icon", S = i ?? o ?? "", j = is(), k = (m, I) => {
980
983
  if (!(d != null && d.onReorder)) return;
981
984
  const V = Math.max(0, Math.min(d.count - 1, I));
982
985
  V !== m && (d.onReorder(m, V), d.announce(
@@ -994,7 +997,7 @@ const Gs = T(
994
997
  d == null || d.setDragSource(null), z(!1);
995
998
  }, L = (m) => {
996
999
  !v || (d == null ? void 0 : d.dragSource) === null || (m.preventDefault(), m.dataTransfer && (m.dataTransfer.dropEffect = "move"), z(!0));
997
- }, E = () => z(!1), M = (m) => {
1000
+ }, _ = () => z(!1), M = (m) => {
998
1001
  if (!v) return;
999
1002
  m.preventDefault();
1000
1003
  const I = d == null ? void 0 : d.dragSource;
@@ -1011,7 +1014,7 @@ const Gs = T(
1011
1014
  onDragStart: v ? D : void 0,
1012
1015
  onDragEnd: v ? A : void 0,
1013
1016
  onDragOver: L,
1014
- onDragLeave: E,
1017
+ onDragLeave: _,
1015
1018
  onDrop: M,
1016
1019
  children: [
1017
1020
  /* @__PURE__ */ s(
@@ -1272,8 +1275,8 @@ export {
1272
1275
  Ts as g,
1273
1276
  rs as h,
1274
1277
  Hs as i,
1275
- Ps as j,
1276
- _s as k,
1278
+ Es as j,
1279
+ Ps as k,
1277
1280
  Z as l,
1278
1281
  Vs as m,
1279
1282
  Ws as n,
@@ -1283,4 +1286,4 @@ export {
1283
1286
  ys as s,
1284
1287
  y as u
1285
1288
  };
1286
- //# sourceMappingURL=sidebar-BFwbx74W.js.map
1289
+ //# sourceMappingURL=sidebar-CGjIk_FQ.js.map
@@ -23,9 +23,9 @@ const Q = q(
23
23
  {
24
24
  variants: {
25
25
  intent: {
26
- default: "ds:bg-muted/20 ds:text-foreground ds:border-transparent ds:hover:bg-accent/10",
27
- suggestion: "ds:bg-[color:var(--primary)]/10 ds:text-foreground ds:border-transparent ds:hover:bg-[color:var(--primary)]/15",
28
- followup: "ds:bg-muted/30 ds:text-foreground ds:border-transparent ds:hover:bg-muted/40"
26
+ default: "ds:bg-muted/20 ds:text-foreground ds:border-[color:var(--border)] ds:hover:bg-accent/10",
27
+ suggestion: "ds:bg-[color:var(--primary)]/10 ds:text-foreground ds:border-[color:var(--foreground)] ds:hover:bg-[color:var(--primary)]/15",
28
+ followup: "ds:bg-muted/30 ds:text-foreground ds:border-[color:var(--border)] ds:hover:bg-muted/40"
29
29
  },
30
30
  // Weight, family, tracking, line-height all come from `.type-label` on the base.
31
31
  // Size variants override --type-label-size to shift the ramp step.
@@ -38,34 +38,34 @@ const Q = q(
38
38
  defaultVariants: { intent: "default", size: "md" }
39
39
  }
40
40
  ), F = B(null), W = V(({ label: k, className: I, children: A, ...C }, g) => {
41
- const { t: p, i18n: a } = J(), v = a.dir() === "rtl", [n, m] = T([]), [i, d] = T(null), l = j(/* @__PURE__ */ new Map()), x = f((t) => {
41
+ const { t: p, i18n: d } = J(), v = d.dir() === "rtl", [o, m] = T([]), [i, a] = T(null), l = j(/* @__PURE__ */ new Map()), x = f((t) => {
42
42
  m((r) => r.includes(t) ? r : [...r, t]);
43
43
  }, []), z = f((t) => {
44
44
  m((r) => r.filter((u) => u !== t)), l.current.delete(t);
45
- }, []), o = f((t) => d(t), []);
45
+ }, []), n = f((t) => a(t), []);
46
46
  G(() => {
47
- !i && n.length > 0 && d(n[0]), i && !n.includes(i) && d(n[0] ?? null);
48
- }, [i, n]);
47
+ !i && o.length > 0 && a(o[0]), i && !o.includes(i) && a(o[0] ?? null);
48
+ }, [i, o]);
49
49
  const e = f(
50
50
  (t, r) => {
51
- const u = n.indexOf(t);
51
+ const u = o.indexOf(t);
52
52
  if (u === -1) return;
53
53
  let c = u;
54
- r === "next" && (c = (u + 1) % n.length), r === "prev" && (c = (u - 1 + n.length) % n.length), r === "first" && (c = 0), r === "last" && (c = n.length - 1);
55
- const b = n[c];
56
- d(b);
54
+ r === "next" && (c = (u + 1) % o.length), r === "prev" && (c = (u - 1 + o.length) % o.length), r === "first" && (c = 0), r === "last" && (c = o.length - 1);
55
+ const b = o[c];
56
+ a(b);
57
57
  const w = l.current.get(b);
58
58
  w == null || w.focus();
59
59
  },
60
- [n]
60
+ [o]
61
61
  ), h = f(
62
62
  (t, r) => {
63
63
  r ? l.current.set(t, r) : l.current.delete(t);
64
64
  },
65
65
  []
66
66
  ), N = U(
67
- () => ({ register: x, unregister: z, focusedId: i, setFocus: o, onArrowMove: e, isRTL: v }),
68
- [x, z, i, o, e, v]
67
+ () => ({ register: x, unregister: z, focusedId: i, setFocus: n, onArrowMove: e, isRTL: v }),
68
+ [x, z, i, n, e, v]
69
69
  );
70
70
  return /* @__PURE__ */ y(E.Provider, { value: h, children: /* @__PURE__ */ y(F.Provider, { value: N, children: /* @__PURE__ */ y(
71
71
  "div",
@@ -92,28 +92,28 @@ const E = B(null), X = V(
92
92
  startIcon: C,
93
93
  children: g,
94
94
  onSelect: p,
95
- onRemove: a,
95
+ onRemove: d,
96
96
  keepOnSelect: v = !1,
97
- className: n,
97
+ className: o,
98
98
  disabled: m,
99
99
  onKeyDown: i,
100
- onFocus: d,
100
+ onFocus: a,
101
101
  onClick: l,
102
102
  ...x
103
103
  }, z) => {
104
- const o = O(), e = L(F), h = L(E), [N, t] = T(!1), r = j(null), u = (s) => {
105
- r.current = s, h == null || h(o, s);
104
+ const n = O(), e = L(F), h = L(E), [N, t] = T(!1), r = j(null), u = (s) => {
105
+ r.current = s, h == null || h(n, s);
106
106
  }, c = j(e);
107
107
  c.current = e, G(() => {
108
108
  const s = c.current;
109
109
  if (s)
110
- return s.register(o), () => s.unregister(o);
111
- }, [o]);
112
- const b = e ? e.focusedId === o : !0, w = e ? b ? 0 : -1 : 0, M = typeof A == "string" ? A : typeof g == "string" ? g : "", R = f(() => {
113
- p == null || p(M), a ? a() : v || t(!0);
114
- }, [p, M, a, v]), D = f(() => {
115
- a ? a() : t(!0);
116
- }, [a]);
110
+ return s.register(n), () => s.unregister(n);
111
+ }, [n]);
112
+ const b = e ? e.focusedId === n : !0, w = e ? b ? 0 : -1 : 0, M = typeof A == "string" ? A : typeof g == "string" ? g : "", R = f(() => {
113
+ p == null || p(M), d ? d() : v || t(!0);
114
+ }, [p, M, d, v]), D = f(() => {
115
+ d ? d() : t(!0);
116
+ }, [d]);
117
117
  return S(
118
118
  z,
119
119
  () => ({
@@ -135,14 +135,14 @@ const E = B(null), X = V(
135
135
  onKeyDown: (s) => {
136
136
  if (i == null || i(s), !e) return;
137
137
  const H = e.isRTL ? "ArrowLeft" : "ArrowRight", P = e.isRTL ? "ArrowRight" : "ArrowLeft";
138
- s.key === H || s.key === "ArrowDown" ? (s.preventDefault(), e.onArrowMove(o, "next")) : s.key === P || s.key === "ArrowUp" ? (s.preventDefault(), e.onArrowMove(o, "prev")) : s.key === "Home" ? (s.preventDefault(), e.onArrowMove(o, "first")) : s.key === "End" && (s.preventDefault(), e.onArrowMove(o, "last"));
138
+ s.key === H || s.key === "ArrowDown" ? (s.preventDefault(), e.onArrowMove(n, "next")) : s.key === P || s.key === "ArrowUp" ? (s.preventDefault(), e.onArrowMove(n, "prev")) : s.key === "Home" ? (s.preventDefault(), e.onArrowMove(n, "first")) : s.key === "End" && (s.preventDefault(), e.onArrowMove(n, "last"));
139
139
  },
140
140
  onFocus: (s) => {
141
- d == null || d(s), e && !b && e.setFocus(o);
141
+ a == null || a(s), e && !b && e.setFocus(n);
142
142
  },
143
143
  "data-component": "suggestion-chip",
144
144
  "data-component-id": x.id,
145
- className: Q({ intent: k, size: I, className: n }),
145
+ className: Q({ intent: k, size: I, className: o }),
146
146
  ...x,
147
147
  children: [
148
148
  C ? /* @__PURE__ */ y(
@@ -164,4 +164,4 @@ export {
164
164
  X as S,
165
165
  W as a
166
166
  };
167
- //# sourceMappingURL=suggestion-chip-C4kxWUIs.js.map
167
+ //# sourceMappingURL=suggestion-chip-Bk4PmYTg.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u, Fragment as b } from "react/jsx-runtime";
2
2
  import { forwardRef as h, Fragment as x } from "react";
3
3
  import { c as o } from "./index-D2ZczOXr.js";
4
- import { B as C } from "./badge-zsf5i5bH.js";
4
+ import { B as C } from "./badge-CqGsX32l.js";
5
5
  function w(r) {
6
6
  return r > 99 ? "99+" : String(r);
7
7
  }
@@ -102,4 +102,4 @@ j.displayName = "TabBar";
102
102
  export {
103
103
  j as T
104
104
  };
105
- //# sourceMappingURL=tab-bar-Xetknddo.js.map
105
+ //# sourceMappingURL=tab-bar-B1ovILzh.js.map