@alfadocs/ui-kit 1.127.1 → 1.128.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 (78) hide show
  1. package/dist/_chunks/{bill-line-table-BRxX0Awq.js → bill-line-table-CzYzg-Qh.js} +8 -5
  2. package/dist/_chunks/{calendar-appointment-editor-dialog-B-zYgCgH.js → calendar-appointment-editor-dialog-CGDDGMdo.js} +2 -2
  3. package/dist/_chunks/{data-grid-bzvkQ3kc.js → data-grid-C9xlUMLt.js} +9 -5
  4. package/dist/_chunks/{default-tabs-yEfqAPuT.js → default-tabs-DOuHEKI5.js} +3 -3
  5. package/dist/_chunks/{invoice-upload-list-CgS_TBuX.js → invoice-upload-list-tJY7W1g_.js} +6 -4
  6. package/dist/_chunks/{notes-panel-BOwlTz2-.js → notes-panel-n1JFNQ5u.js} +2 -2
  7. package/dist/_chunks/{rich-text-editor-BLEdXJ0l.js → rich-text-editor-TnX0SYdq.js} +1866 -1766
  8. package/dist/_chunks/{toolbar-Co46MEn9.js → toolbar-CC-Ls_eC.js} +2 -2
  9. package/dist/agent-catalog.json +1 -1
  10. package/dist/browser-support.js +1 -1
  11. package/dist/components/bill-line-table/bill-line-table.columns.d.ts +7 -3
  12. package/dist/components/bill-line-table/index.js +1 -1
  13. package/dist/components/bill-table/index.js +1 -1
  14. package/dist/components/data-grid/index.js +2 -2
  15. package/dist/components/invoice-upload-list/index.js +1 -1
  16. package/dist/components/notes-panel/index.js +1 -1
  17. package/dist/components/rich-text-editor/editor-toolbar.d.ts +1 -0
  18. package/dist/components/rich-text-editor/index.js +1 -1
  19. package/dist/core.css +1 -1
  20. package/dist/host-legacy.css +22 -0
  21. package/dist/i18n/locales/ar.d.ts +7 -0
  22. package/dist/i18n/locales/ar.js +7 -0
  23. package/dist/i18n/locales/de.d.ts +7 -0
  24. package/dist/i18n/locales/de.js +7 -0
  25. package/dist/i18n/locales/el.d.ts +7 -0
  26. package/dist/i18n/locales/el.js +7 -0
  27. package/dist/i18n/locales/en.d.ts +7 -0
  28. package/dist/i18n/locales/en.js +7 -0
  29. package/dist/i18n/locales/es.d.ts +7 -0
  30. package/dist/i18n/locales/es.js +7 -0
  31. package/dist/i18n/locales/fr.d.ts +7 -0
  32. package/dist/i18n/locales/fr.js +7 -0
  33. package/dist/i18n/locales/hi.d.ts +7 -0
  34. package/dist/i18n/locales/hi.js +7 -0
  35. package/dist/i18n/locales/it.d.ts +7 -0
  36. package/dist/i18n/locales/it.js +7 -0
  37. package/dist/i18n/locales/ja.d.ts +7 -0
  38. package/dist/i18n/locales/ja.js +7 -0
  39. package/dist/i18n/locales/nl.d.ts +7 -0
  40. package/dist/i18n/locales/nl.js +7 -0
  41. package/dist/i18n/locales/pl.d.ts +7 -0
  42. package/dist/i18n/locales/pl.js +7 -0
  43. package/dist/i18n/locales/pt.d.ts +7 -0
  44. package/dist/i18n/locales/pt.js +7 -0
  45. package/dist/i18n/locales/ro.d.ts +7 -0
  46. package/dist/i18n/locales/ro.js +7 -0
  47. package/dist/i18n/locales/ru.d.ts +7 -0
  48. package/dist/i18n/locales/ru.js +7 -0
  49. package/dist/i18n/locales/sq.d.ts +7 -0
  50. package/dist/i18n/locales/sq.js +7 -0
  51. package/dist/i18n/locales/sv.d.ts +7 -0
  52. package/dist/i18n/locales/sv.js +7 -0
  53. package/dist/i18n/locales/tr.d.ts +7 -0
  54. package/dist/i18n/locales/tr.js +7 -0
  55. package/dist/i18n/locales/zh.d.ts +7 -0
  56. package/dist/i18n/locales/zh.js +7 -0
  57. package/dist/index.js +8 -8
  58. package/dist/locales/ar.json +7 -0
  59. package/dist/locales/de.json +7 -0
  60. package/dist/locales/el.json +7 -0
  61. package/dist/locales/en.json +7 -0
  62. package/dist/locales/es.json +7 -0
  63. package/dist/locales/fr.json +7 -0
  64. package/dist/locales/hi.json +7 -0
  65. package/dist/locales/it.json +7 -0
  66. package/dist/locales/ja.json +7 -0
  67. package/dist/locales/nl.json +7 -0
  68. package/dist/locales/pl.json +7 -0
  69. package/dist/locales/pt.json +7 -0
  70. package/dist/locales/ro.json +7 -0
  71. package/dist/locales/ru.json +7 -0
  72. package/dist/locales/sq.json +7 -0
  73. package/dist/locales/sv.json +7 -0
  74. package/dist/locales/tr.json +7 -0
  75. package/dist/locales/zh.json +7 -0
  76. package/dist/patterns/calendar/index.js +1 -1
  77. package/dist/tokens.css +1 -1
  78. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as r, Fragment as Je } from "react/jsx-runtime";
2
2
  import { createContext as Mt, useContext as ge, useRef as k, useLayoutEffect as Tn, useMemo as w, forwardRef as In, useEffect as je, useState as _e, useCallback as C, useImperativeHandle as Nn, useId as wn } from "react";
3
3
  import { useTranslation as Pt } from "react-i18next";
4
4
  import { u as kn } from "./registry-DvAUVLHh.js";
5
- import { e as xn } from "./data-grid-bzvkQ3kc.js";
5
+ import { e as xn } from "./data-grid-C9xlUMLt.js";
6
6
  import { a as q } from "./format-number-DdzqwMs1.js";
7
7
  import { i as _n } from "./is-development-CLUAnsU7.js";
8
8
  import { B as Ft } from "./badge-BUk4RjTS.js";
@@ -1215,7 +1215,8 @@ function Bi(e) {
1215
1215
  align: "end",
1216
1216
  cell: (i) => ki(i, e),
1217
1217
  exportValue: (i) => i.line.unitPrice,
1218
- size: 128,
1218
+ // 112 px of text: "EENHEIDSPRIJS" (nl) is the longest word.
1219
+ size: 144,
1219
1220
  hideable: !1,
1220
1221
  reorderable: !1
1221
1222
  },
@@ -1239,7 +1240,8 @@ function Bi(e) {
1239
1240
  exportValue: (i) => i.line.adjustments.map(
1240
1241
  (a) => `${a.type === "discount" ? "-" : "+"}${a.percent !== null ? `${a.percent}%` : a.amount ?? ""}`
1241
1242
  ).join(", ") || null,
1242
- size: 128,
1243
+ // 112 px of text: "MAGGIORAZIONE" (it) is the longest word.
1244
+ size: 144,
1243
1245
  hideable: !1,
1244
1246
  reorderable: !1
1245
1247
  },
@@ -1248,7 +1250,8 @@ function Bi(e) {
1248
1250
  header: t("billLineTable.column.supplierCode", "Supplier code"),
1249
1251
  cell: (i) => i.line.supplierCode === null ? null : /* @__PURE__ */ r("span", { dir: "ltr", className: Ue(), children: i.line.supplierCode }),
1250
1252
  exportValue: (i) => i.line.supplierCode,
1251
- size: 112,
1253
+ // 136 px of text: "LEVERANCIERSCODE" (nl) is the longest word.
1254
+ size: 168,
1252
1255
  hideable: !1,
1253
1256
  reorderable: !1
1254
1257
  }
@@ -1751,4 +1754,4 @@ export {
1751
1754
  oi as s,
1752
1755
  Ot as t
1753
1756
  };
1754
- //# sourceMappingURL=bill-line-table-BRxX0Awq.js.map
1757
+ //# sourceMappingURL=bill-line-table-CzYzg-Qh.js.map
@@ -76,7 +76,7 @@ import { createPortal as lc } from "react-dom";
76
76
  import { G as Ya, h as Js, c as uc, A as hc, C as _i } from "./color-picker-AcaWuKah.js";
77
77
  import { s as mc, S as pc } from "./signature-status-chip-pIoQjvH8.js";
78
78
  import { b as gc } from "./appointment-workflow-status-DMjuIK90.js";
79
- import { N as vc } from "./notes-panel-BOwlTz2-.js";
79
+ import { N as vc } from "./notes-panel-n1JFNQ5u.js";
80
80
  import { C as vs } from "./combobox-BBCVQS-S.js";
81
81
  import { S as fc } from "./state-backed-text-input-DVETOhSS.js";
82
82
  import { N as ns } from "./number-input-DUSvP7Dq.js";
@@ -10971,4 +10971,4 @@ export {
10971
10971
  pp as r,
10972
10972
  Vn as u
10973
10973
  };
10974
- //# sourceMappingURL=calendar-appointment-editor-dialog-B-zYgCgH.js.map
10974
+ //# sourceMappingURL=calendar-appointment-editor-dialog-CGDDGMdo.js.map
@@ -5160,10 +5160,14 @@ const Tl = [
5160
5160
  // The eyebrow, as DataTable's header. CJK has no capitals to track.
5161
5161
  "ds:[font-size:var(--data-grid-eyebrow-size,var(--font-size-xs))] ds:[font-weight:var(--font-weight-bold)] ds:uppercase ds:tracking-[0.04em] ds:text-[color:var(--data-grid-eyebrow-ink,var(--muted-foreground))]",
5162
5162
  "ds:[&:lang(ja)]:tracking-normal ds:[&:lang(ko)]:tracking-normal ds:[&:lang(zh)]:tracking-normal",
5163
- // A word longer than a fixed column ("LIEFERANTENCODE") breaks
5164
- // inside its own cell, hyphenated where the language allows,
5165
- // instead of running under the next header.
5166
- "ds:hyphens-auto ds:wrap-break-word",
5163
+ // Header text wraps between words and is not hyphenated by the
5164
+ // browser: a column must be wide enough for the longest word of
5165
+ // its header in every language. A word that still does not fit
5166
+ // breaks inside its own cell, as a last resort, instead of
5167
+ // running under the next header. The accessible themes, whose
5168
+ // eyebrow is larger, set `--data-grid-header-hyphens: auto` so
5169
+ // that such a break is at least hyphenated.
5170
+ "ds:[hyphens:var(--data-grid-header-hyphens,manual)] ds:wrap-break-word",
5167
5171
  // Printed headers repeat on every page; sticky would pin them once.
5168
5172
  "ds:print:static"
5169
5173
  ],
@@ -9838,4 +9842,4 @@ export {
9838
9842
  Cm as f,
9839
9843
  _h as g
9840
9844
  };
9841
- //# sourceMappingURL=data-grid-bzvkQ3kc.js.map
9845
+ //# sourceMappingURL=data-grid-C9xlUMLt.js.map
@@ -2,8 +2,8 @@ import { jsxs as T, jsx as l, Fragment as ne } from "react/jsx-runtime";
2
2
  import { useId as Pe, useMemo as M, createElement as mt, forwardRef as ft, useRef as K, useState as yt, useImperativeHandle as ht, useCallback as gt } from "react";
3
3
  import { useTranslation as v } from "react-i18next";
4
4
  import { u as Tt } from "./registry-DvAUVLHh.js";
5
- import { D as St, e as vt } from "./data-grid-bzvkQ3kc.js";
6
- import { D as N } from "./toolbar-Co46MEn9.js";
5
+ import { D as St, e as vt } from "./data-grid-C9xlUMLt.js";
6
+ import { D as N } from "./toolbar-CC-Ls_eC.js";
7
7
  import { I as wt } from "./icon-button-group-BKtkVZ1W.js";
8
8
  import { c as w } from "./index-D2ZczOXr.js";
9
9
  import { b as It, a as kt } from "./accessible-target-D3j6F-AG.js";
@@ -2211,4 +2211,4 @@ export {
2211
2211
  ii as m,
2212
2212
  Ka as u
2213
2213
  };
2214
- //# sourceMappingURL=default-tabs-yEfqAPuT.js.map
2214
+ //# sourceMappingURL=default-tabs-DOuHEKI5.js.map
@@ -4,8 +4,8 @@ import { useTranslation as L } from "react-i18next";
4
4
  import { u as Ve } from "./registry-DvAUVLHh.js";
5
5
  import { B as Be } from "./button-DohK_Ak_.js";
6
6
  import { V as x } from "./visually-hidden-BHxEUGyT.js";
7
- import { e as Me } from "./data-grid-bzvkQ3kc.js";
8
- import { D as g } from "./toolbar-Co46MEn9.js";
7
+ import { e as Me } from "./data-grid-C9xlUMLt.js";
8
+ import { D as g } from "./toolbar-CC-Ls_eC.js";
9
9
  import { a as se } from "./format-number-DdzqwMs1.js";
10
10
  import { c as v } from "./index-D2ZczOXr.js";
11
11
  import { R as Fe } from "./row-actions-Dpf9CrCP.js";
@@ -522,7 +522,9 @@ function Rt({
522
522
  id: "total",
523
523
  header: s("invoiceUploadList.column.total", "Total"),
524
524
  align: "end",
525
- size: 96,
525
+ // Room for the longest header word, "GESAMTBETRAG" (de): headers are
526
+ // not hyphenated, and a sortable header does not break its word.
527
+ size: 128,
526
528
  responsiveTier: 1,
527
529
  value: (t) => {
528
530
  const r = de(t.total);
@@ -949,4 +951,4 @@ export {
949
951
  kt as d,
950
952
  et as i
951
953
  };
952
- //# sourceMappingURL=invoice-upload-list-CgS_TBuX.js.map
954
+ //# sourceMappingURL=invoice-upload-list-tJY7W1g_.js.map
@@ -5,7 +5,7 @@ import { useTranslation as kn } from "react-i18next";
5
5
  import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
6
6
  import { u as zn } from "./registry-DvAUVLHh.js";
7
7
  import { C as Hn } from "./clinical-note-card-DHn5W_bv.js";
8
- import { R as Mn } from "./rich-text-editor-BLEdXJ0l.js";
8
+ import { R as Mn } from "./rich-text-editor-TnX0SYdq.js";
9
9
  import { T as Wn } from "./text-area-COMVJ1yE.js";
10
10
  import { A as j } from "./alert-C4WKViaS.js";
11
11
  import { B as te } from "./button-DohK_Ak_.js";
@@ -1109,4 +1109,4 @@ const jr = qn(
1109
1109
  export {
1110
1110
  jr as N
1111
1111
  };
1112
- //# sourceMappingURL=notes-panel-BOwlTz2-.js.map
1112
+ //# sourceMappingURL=notes-panel-n1JFNQ5u.js.map