@alfadocs/ui-kit 0.65.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 (159) 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-JnlTqfS4.js → ai-tools-rail-DfmewPUN.js} +92 -76
  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-x2fNqbuZ.js → bishop-score-CjsB9bM-.js} +3 -3
  11. package/dist/_chunks/{bmi-calculator-C3roxbqD.js → bmi-calculator-n-823_1V.js} +3 -3
  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/columns-2-BTOBZbep.js +15 -0
  17. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  18. package/dist/_chunks/{cycle-calculator-DrVXbIB4.js → cycle-calculator-BF0ointe.js} +3 -3
  19. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  20. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  21. package/dist/_chunks/{due-date-calculator-D4K1BnE2.js → due-date-calculator-DU9AEWNy.js} +4 -4
  22. package/dist/_chunks/{editable-currency-cell-renderer-CFqQc56y.js → editable-currency-cell-renderer-BVJ04DkB.js} +914 -865
  23. package/dist/_chunks/{fetal-weight-B_pBjlO7.js → fetal-weight-BVSzOhuR.js} +3 -3
  24. package/dist/_chunks/{gestational-age-calculator-BETQAVkA.js → gestational-age-calculator-DBlFdoiP.js} +4 -4
  25. package/dist/_chunks/{hcg-doubling-8zXCJgAQ.js → hcg-doubling-if4Q8aSX.js} +3 -3
  26. package/dist/_chunks/{type-DZ5OMRA2.js → image-C6RM5hfF.js} +4 -16
  27. package/dist/_chunks/{insert-result-DIAG3ltJ.js → insert-result-njqBthzT.js} +68 -57
  28. package/dist/_chunks/{marketplace-app-shell-BXfRMiRk.js → marketplace-app-shell-Bu-HD3fy.js} +3 -3
  29. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  30. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  31. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  32. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  33. package/dist/_chunks/{patient-shell-CF_qon7C.js → patient-shell-DrV_iekt.js} +2 -2
  34. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-ByfIU8N0.js} +4 -4
  35. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-yTjzKQCU.js} +3 -3
  36. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  37. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  38. package/dist/_chunks/{pregnancy-dating-BuzLTwjy.js → pregnancy-dating-QY-sqpvj.js} +4 -4
  39. package/dist/_chunks/{pregnancy-weight-gain-aicn7qs7.js → pregnancy-weight-gain-DOJXXNYP.js} +3 -3
  40. package/dist/_chunks/rich-text-editor-BOQr5lHx.js +1970 -0
  41. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-eccd_Uf-.js} +38 -28
  42. package/dist/_chunks/{sidebar-DPEHzxLZ.js → sidebar-CGjIk_FQ.js} +36 -22
  43. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  44. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  45. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  46. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-BrW8P50O.js} +19 -19
  47. package/dist/_chunks/trash-2-rPAKaRgB.js +18 -0
  48. package/dist/_chunks/{unit-converter-CHN2cZ4b.js → unit-converter-C1V3ACM9.js} +2 -2
  49. package/dist/_chunks/{workflow-map-BX3JY1Bu.js → workflow-map-JAZryZJr.js} +137 -149
  50. package/dist/agent-catalog.json +1 -1
  51. package/dist/components/agenda-card/index.js +1 -1
  52. package/dist/components/agenda-tray/index.js +1 -1
  53. package/dist/components/ai-consent-banner/index.js +1 -1
  54. package/dist/components/ai-tools-rail/index.js +1 -1
  55. package/dist/components/anamnesis-card/index.js +1 -1
  56. package/dist/components/appointment-card/index.js +1 -1
  57. package/dist/components/badge/index.js +1 -1
  58. package/dist/components/bishop-score/index.js +1 -1
  59. package/dist/components/bmi-calculator/index.js +1 -1
  60. package/dist/components/care-plan-card/index.js +1 -1
  61. package/dist/components/care-plan-entry-card/index.js +1 -1
  62. package/dist/components/clinical-note-card/index.js +1 -1
  63. package/dist/components/color-picker/index.js +1 -1
  64. package/dist/components/contact-profile-card/index.js +1 -1
  65. package/dist/components/cycle-calculator/index.js +1 -1
  66. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  67. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  68. package/dist/components/data-table/data-table.d.ts +1 -1
  69. package/dist/components/data-table/index.d.ts +2 -0
  70. package/dist/components/data-table/index.js +13 -12
  71. package/dist/components/data-table/toolbar.d.ts +5 -1
  72. package/dist/components/dependent-selector/index.js +1 -1
  73. package/dist/components/document-scanner/index.js +1 -1
  74. package/dist/components/due-date-calculator/index.js +2 -2
  75. package/dist/components/fetal-weight/index.js +1 -1
  76. package/dist/components/gestational-age-calculator/index.js +1 -1
  77. package/dist/components/hcg-doubling/index.js +1 -1
  78. package/dist/components/message-card/index.js +1 -1
  79. package/dist/components/message-tray/index.js +1 -1
  80. package/dist/components/operator-hero/index.js +1 -1
  81. package/dist/components/patient-search/index.js +1 -1
  82. package/dist/components/patient-summary-card/index.js +1 -1
  83. package/dist/components/payment-card/index.js +1 -1
  84. package/dist/components/periodontal-chart-card/index.js +1 -1
  85. package/dist/components/practice-results/index.js +1 -1
  86. package/dist/components/pregnancy-dating/index.js +1 -1
  87. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  88. package/dist/components/rich-text-editor/editor-toolbar.d.ts +36 -2
  89. package/dist/components/rich-text-editor/index.js +1 -1
  90. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  91. package/dist/components/scroll-area/index.js +1 -1
  92. package/dist/components/sidebar/index.js +1 -1
  93. package/dist/components/suggestion-chip/index.js +1 -1
  94. package/dist/components/tab-bar/index.js +1 -1
  95. package/dist/components/tag/index.js +1 -1
  96. package/dist/components/transaction-chip/index.js +1 -1
  97. package/dist/components/unit-converter/index.js +1 -1
  98. package/dist/components/workflow/index.js +1 -1
  99. package/dist/i18n/locales/ar.d.ts +26 -0
  100. package/dist/i18n/locales/ar.js +27 -1
  101. package/dist/i18n/locales/de.d.ts +26 -0
  102. package/dist/i18n/locales/de.js +27 -1
  103. package/dist/i18n/locales/el.d.ts +26 -0
  104. package/dist/i18n/locales/el.js +27 -1
  105. package/dist/i18n/locales/en.d.ts +26 -0
  106. package/dist/i18n/locales/en.js +27 -1
  107. package/dist/i18n/locales/es.d.ts +26 -0
  108. package/dist/i18n/locales/es.js +27 -1
  109. package/dist/i18n/locales/fr.d.ts +26 -0
  110. package/dist/i18n/locales/fr.js +27 -1
  111. package/dist/i18n/locales/hi.d.ts +26 -0
  112. package/dist/i18n/locales/hi.js +27 -1
  113. package/dist/i18n/locales/it.d.ts +26 -0
  114. package/dist/i18n/locales/it.js +27 -1
  115. package/dist/i18n/locales/ja.d.ts +26 -0
  116. package/dist/i18n/locales/ja.js +27 -1
  117. package/dist/i18n/locales/nl.d.ts +26 -0
  118. package/dist/i18n/locales/nl.js +25 -1
  119. package/dist/i18n/locales/pl.d.ts +26 -0
  120. package/dist/i18n/locales/pl.js +27 -1
  121. package/dist/i18n/locales/pt.d.ts +26 -0
  122. package/dist/i18n/locales/pt.js +27 -1
  123. package/dist/i18n/locales/ro.d.ts +26 -0
  124. package/dist/i18n/locales/ro.js +27 -1
  125. package/dist/i18n/locales/ru.d.ts +26 -0
  126. package/dist/i18n/locales/ru.js +27 -1
  127. package/dist/i18n/locales/sq.d.ts +26 -0
  128. package/dist/i18n/locales/sq.js +27 -1
  129. package/dist/i18n/locales/sv.d.ts +26 -0
  130. package/dist/i18n/locales/sv.js +25 -1
  131. package/dist/i18n/locales/tr.d.ts +26 -0
  132. package/dist/i18n/locales/tr.js +27 -1
  133. package/dist/i18n/locales/zh.d.ts +26 -0
  134. package/dist/i18n/locales/zh.js +25 -1
  135. package/dist/index.js +509 -508
  136. package/dist/locales/ar.json +27 -1
  137. package/dist/locales/de.json +27 -1
  138. package/dist/locales/el.json +27 -1
  139. package/dist/locales/en.json +27 -1
  140. package/dist/locales/es.json +27 -1
  141. package/dist/locales/fr.json +27 -1
  142. package/dist/locales/hi.json +27 -1
  143. package/dist/locales/it.json +27 -1
  144. package/dist/locales/ja.json +27 -1
  145. package/dist/locales/nl.json +27 -1
  146. package/dist/locales/pl.json +27 -1
  147. package/dist/locales/pt.json +27 -1
  148. package/dist/locales/ro.json +27 -1
  149. package/dist/locales/ru.json +27 -1
  150. package/dist/locales/sq.json +27 -1
  151. package/dist/locales/sv.json +27 -1
  152. package/dist/locales/tr.json +27 -1
  153. package/dist/locales/zh.json +27 -1
  154. package/dist/patterns/alia-assistant/index.js +1 -1
  155. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  156. package/dist/patterns/patient-shell/index.js +1 -1
  157. package/dist/tokens.css +6 -3
  158. package/package.json +1 -1
  159. package/dist/_chunks/rich-text-editor-u36FqSWz.js +0 -1190
@@ -1,9 +1,9 @@
1
- import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
- import { forwardRef as q, useRef as F, useState as E, useEffect as G } from "react";
1
+ import { jsx as e, jsxs as f } from "react/jsx-runtime";
2
+ import { forwardRef as X, useRef as q, useState as E, useEffect as F } from "react";
3
3
  import { c as B } from "./index-D2ZczOXr.js";
4
- import { useTranslation as H } from "react-i18next";
4
+ import { useTranslation as G } from "react-i18next";
5
5
  import { T as v } from "./tooltip-DvmfrNvB.js";
6
- import { X as J } from "./x-CCcI3eJp.js";
6
+ import { X as H } from "./x-CCcI3eJp.js";
7
7
  const V = B(
8
8
  [
9
9
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
@@ -26,7 +26,10 @@ const V = B(
26
26
  brand: ""
27
27
  },
28
28
  fill: {
29
- solid: "",
29
+ // Solid chips carry a subtle, theme-aware border (a low-opacity
30
+ // foreground mix) so they read as a defined chip on any surface, not a
31
+ // floating fill — works across every colour variant, light and dark.
32
+ solid: "ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)]",
30
33
  outline: "ds:border ds:border-[color:var(--border)] ds:bg-transparent"
31
34
  },
32
35
  size: {
@@ -43,7 +46,7 @@ const V = B(
43
46
  {
44
47
  fill: "solid",
45
48
  variant: "neutral",
46
- className: "ds:bg-muted/20 ds:text-muted-foreground"
49
+ className: "ds:bg-muted/20 ds:text-muted-foreground ds:border-[color:var(--border)]"
47
50
  },
48
51
  {
49
52
  fill: "solid",
@@ -74,7 +77,7 @@ const V = B(
74
77
  {
75
78
  fill: "outline",
76
79
  variant: "neutral",
77
- className: "ds:border-muted ds:text-muted-foreground"
80
+ className: "ds:border-[color:var(--border)] ds:text-muted-foreground"
78
81
  },
79
82
  {
80
83
  fill: "outline",
@@ -108,7 +111,7 @@ const V = B(
108
111
  size: "md"
109
112
  }
110
113
  }
111
- ), L = B(
114
+ ), J = B(
112
115
  [
113
116
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0 ds:rounded-full",
114
117
  // Negative end margin keeps the button flush with the pill edge
@@ -129,48 +132,48 @@ const V = B(
129
132
  },
130
133
  defaultVariants: { size: "md" }
131
134
  }
132
- ), M = q(
135
+ ), L = X(
133
136
  ({
134
137
  label: o,
135
138
  variant: g = "neutral",
136
139
  fill: p = "solid",
137
- size: a = "md",
140
+ size: t = "md",
138
141
  leading: m,
139
- onRemove: t,
142
+ onRemove: a,
140
143
  onClick: b,
141
- disabled: e = !1,
144
+ disabled: r = !1,
142
145
  maxInlineSize: n = "none",
143
146
  className: h
144
147
  }, i) => {
145
- const { t: w } = H(), y = F(null), [D, C] = E(!1), [O, R] = E("");
146
- G(() => {
148
+ const { t: w } = G(), y = q(null), [D, C] = E(!1), [O, R] = E("");
149
+ F(() => {
147
150
  const s = y.current;
148
151
  if (!s || n === "none") return;
149
152
  const z = () => C(s.scrollWidth > s.clientWidth), j = new ResizeObserver(z);
150
153
  return j.observe(s), z(), () => j.disconnect();
151
154
  }, [n]);
152
155
  const W = (s) => {
153
- (s.key === "Backspace" || s.key === "Delete") && t && !e && (s.preventDefault(), x(), setTimeout(t, 100));
156
+ (s.key === "Backspace" || s.key === "Delete") && a && !r && (s.preventDefault(), x(), setTimeout(a, 100));
154
157
  }, x = () => {
155
158
  R(w("tag.removed", { label: o }));
156
159
  }, K = () => {
157
- !e && t && (x(), setTimeout(t, 100));
158
- }, d = !!t, N = !!b && !d, T = V({
160
+ !r && a && (x(), setTimeout(a, 100));
161
+ }, d = !!a, N = !!b && !d, T = V({
159
162
  variant: g,
160
163
  fill: p,
161
- size: a,
164
+ size: t,
162
165
  className: [
163
- N && !e ? "ds:hover:brightness-90 ds:cursor-pointer" : "",
166
+ N && !r ? "ds:hover:brightness-90 ds:cursor-pointer" : "",
164
167
  h ?? ""
165
168
  ].filter(Boolean).join(" ")
166
- }), l = m ? /* @__PURE__ */ r(
169
+ }), l = m ? /* @__PURE__ */ e(
167
170
  "span",
168
171
  {
169
172
  "aria-hidden": "true",
170
173
  className: "ds:shrink-0 ds:inline-flex ds:items-center ds:[&>svg]:size-3.5",
171
174
  children: m
172
175
  }
173
- ) : null, c = /* @__PURE__ */ r(
176
+ ) : null, c = /* @__PURE__ */ e(
174
177
  "span",
175
178
  {
176
179
  ref: y,
@@ -178,16 +181,16 @@ const V = B(
178
181
  style: n !== "none" ? { maxInlineSize: n } : void 0,
179
182
  children: o
180
183
  }
181
- ), A = /* @__PURE__ */ r("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: O }), X = d ? /* @__PURE__ */ r(
184
+ ), _ = /* @__PURE__ */ e("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: O }), A = d ? /* @__PURE__ */ e(
182
185
  "button",
183
186
  {
184
187
  type: "button",
185
188
  "aria-label": w("tag.remove", { label: o }),
186
189
  onClick: K,
187
- disabled: e,
190
+ disabled: r,
188
191
  tabIndex: -1,
189
- className: L({ size: a }),
190
- children: /* @__PURE__ */ r(J, { "aria-hidden": "true" })
192
+ className: J({ size: t }),
193
+ children: /* @__PURE__ */ e(H, { "aria-hidden": "true" })
191
194
  }
192
195
  ) : null, u = n !== "none" && D;
193
196
  if (N) {
@@ -196,8 +199,8 @@ const V = B(
196
199
  {
197
200
  ref: i,
198
201
  type: "button",
199
- onClick: e ? void 0 : b,
200
- disabled: e,
202
+ onClick: r ? void 0 : b,
203
+ disabled: r,
201
204
  "data-component": "tag",
202
205
  className: T,
203
206
  children: [
@@ -206,7 +209,7 @@ const V = B(
206
209
  ]
207
210
  }
208
211
  );
209
- return u ? /* @__PURE__ */ r(v, { label: o, children: s }) : s;
212
+ return u ? /* @__PURE__ */ e(v, { label: o, children: s }) : s;
210
213
  }
211
214
  if (d) {
212
215
  const s = (
@@ -217,39 +220,39 @@ const V = B(
217
220
  ref: i,
218
221
  role: "group",
219
222
  "aria-label": o,
220
- tabIndex: e ? -1 : 0,
221
- "aria-disabled": e || void 0,
223
+ tabIndex: r ? -1 : 0,
224
+ "aria-disabled": r || void 0,
222
225
  onKeyDown: W,
223
226
  "data-component": "tag",
224
227
  className: T,
225
228
  children: [
226
- A,
229
+ _,
227
230
  l,
228
231
  c,
229
- X
232
+ A
230
233
  ]
231
234
  }
232
235
  )
233
236
  );
234
- return u ? /* @__PURE__ */ r(v, { label: o, children: s }) : s;
237
+ return u ? /* @__PURE__ */ e(v, { label: o, children: s }) : s;
235
238
  }
236
239
  const k = /* @__PURE__ */ f(
237
240
  "span",
238
241
  {
239
242
  ref: i,
240
243
  "data-component": "tag",
241
- className: V({ variant: g, fill: p, size: a, className: h }),
244
+ className: V({ variant: g, fill: p, size: t, className: h }),
242
245
  children: [
243
246
  l,
244
247
  c
245
248
  ]
246
249
  }
247
250
  );
248
- return u ? /* @__PURE__ */ r(v, { label: o, children: k }) : k;
251
+ return u ? /* @__PURE__ */ e(v, { label: o, children: k }) : k;
249
252
  }
250
253
  );
251
- M.displayName = "Tag";
254
+ L.displayName = "Tag";
252
255
  export {
253
- M as T
256
+ L as T
254
257
  };
255
- //# sourceMappingURL=tag-CdA0s_VV.js.map
258
+ //# sourceMappingURL=tag-BQXwuJq1.js.map
@@ -65,15 +65,15 @@ const L = [
65
65
  // Text uses the deeper `*-foreground` token (matching Badge / Tag) so
66
66
  // small chip text clears WCAG AA (4.5:1) against the 10% tinted
67
67
  // background. The surface and border use the lighter alias.
68
- debt: "ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-destructive/20",
69
- credit: "ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-success/20",
68
+ debt: "ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-[color:var(--error-foreground)]",
69
+ credit: "ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-[color:var(--success-foreground)]",
70
70
  // The orange "to-invoice" tint has no kit-wide semantic alias — see
71
71
  // src/tokens/index.css §Transaction-chip-scoped tokens. The component
72
72
  // owns the alias because the customer-anchored "Da fatturare" orange
73
73
  // is distinct from `--warning` (yellow) and from `--destructive`.
74
- "to-invoice": "ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-transaction-chip-to-invoice/20",
75
- "to-deliver": "ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-info/20",
76
- settled: "ds:bg-muted/30 ds:text-muted-foreground ds:border-muted/40"
74
+ "to-invoice": "ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-[color:var(--transaction-chip-to-invoice-foreground)]",
75
+ "to-deliver": "ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-[color:var(--info-foreground)]",
76
+ settled: "ds:bg-muted/30 ds:text-muted-foreground ds:border-[color:var(--border)]"
77
77
  },
78
78
  size: {
79
79
  // Heights tuned for table-cell density (sm), default app surfaces (md),
@@ -116,24 +116,24 @@ const L = [
116
116
  ), G = T(
117
117
  ({
118
118
  state: e,
119
- amount: m,
120
- currency: t = D,
121
- locale: v,
122
- size: r = "md",
119
+ amount: v,
120
+ currency: r = D,
121
+ locale: m,
122
+ size: t = "md",
123
123
  showLabel: f = !1,
124
- className: p,
125
- "aria-label": u,
124
+ className: u,
125
+ "aria-label": p,
126
126
  ...g
127
127
  }, b) => {
128
- const { t: o, i18n: h } = C(), a = v ?? h.language ?? "en", x = F[e], i = M[e], n = Math.abs(m), y = new Intl.NumberFormat(a, {
128
+ const { t: o, i18n: h } = C(), a = m ?? h.language ?? "en", x = F[e], i = M[e], n = Math.abs(v), y = new Intl.NumberFormat(a, {
129
129
  style: "currency",
130
- currency: t,
130
+ currency: r,
131
131
  signDisplay: "never"
132
132
  }).format(n), d = o(`financial.state.${S[e]}`), w = new Intl.NumberFormat(a, {
133
133
  style: "currency",
134
- currency: t,
134
+ currency: r,
135
135
  signDisplay: e === "debt" ? "always" : "auto"
136
- }).format(n * V[e]), z = u ?? o("financial.aria.label", {
136
+ }).format(n * V[e]), z = p ?? o("financial.aria.label", {
137
137
  state: d,
138
138
  amount: w
139
139
  });
@@ -147,13 +147,13 @@ const L = [
147
147
  "data-state": e,
148
148
  className: U({
149
149
  state: e,
150
- size: r,
150
+ size: t,
151
151
  bold: e !== "settled",
152
- className: p
152
+ className: u
153
153
  }),
154
154
  ...g,
155
155
  children: [
156
- /* @__PURE__ */ s("span", { "aria-hidden": "true", className: j({ size: r }), children: /* @__PURE__ */ s(x, {}) }),
156
+ /* @__PURE__ */ s("span", { "aria-hidden": "true", className: j({ size: t }), children: /* @__PURE__ */ s(x, {}) }),
157
157
  f && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: "type-eyebrow", children: d }),
158
158
  i && /* @__PURE__ */ s(
159
159
  "span",
@@ -182,4 +182,4 @@ export {
182
182
  G as T,
183
183
  R as a
184
184
  };
185
- //# sourceMappingURL=transaction-chip-BZCa6XDn.js.map
185
+ //# sourceMappingURL=transaction-chip-BrW8P50O.js.map
@@ -0,0 +1,18 @@
1
+ import { c as a } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const t = [
9
+ ["path", { d: "M10 11v6", key: "nco0om" }],
10
+ ["path", { d: "M14 11v6", key: "outv1u" }],
11
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
12
+ ["path", { d: "M3 6h18", key: "d0wm0j" }],
13
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
14
+ ], o = a("trash-2", t);
15
+ export {
16
+ o as T
17
+ };
18
+ //# sourceMappingURL=trash-2-rPAKaRgB.js.map
@@ -5,7 +5,7 @@ import { useTranslation as j } from "react-i18next";
5
5
  import { F as v } from "./form-field-BOm9hK35.js";
6
6
  import { N as B } from "./number-input-Dj5L3pXK.js";
7
7
  import { S as C } from "./select-CEtRcon5.js";
8
- import { I as L } from "./insert-result-DIAG3ltJ.js";
8
+ import { I as L } from "./insert-result-njqBthzT.js";
9
9
  const _ = {
10
10
  // weight → base kg
11
11
  kg: { id: "kg", category: "weight", factor: 1, offset: 0 },
@@ -193,4 +193,4 @@ export {
193
193
  P as b,
194
194
  K as c
195
195
  };
196
- //# sourceMappingURL=unit-converter-CHN2cZ4b.js.map
196
+ //# sourceMappingURL=unit-converter-C1V3ACM9.js.map