@duro-app/ui 3.4.2 → 3.6.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 (31) hide show
  1. package/dist/{Table-P-UHkEqJ.js → Table-B4F8XyqK.js} +222 -216
  2. package/dist/{Table-P-UHkEqJ.js.map → Table-B4F8XyqK.js.map} +1 -1
  3. package/dist/components/Icon/Icon.d.ts +1 -1
  4. package/dist/components/Icon/Icon.d.ts.map +1 -1
  5. package/dist/components/InputGroup/InputGroup.stories.d.ts +1 -0
  6. package/dist/components/InputGroup/InputGroup.stories.d.ts.map +1 -1
  7. package/dist/components/Tree/Tree.d.ts +35 -0
  8. package/dist/components/Tree/Tree.d.ts.map +1 -0
  9. package/dist/components/Tree/Tree.meta.d.ts +3 -0
  10. package/dist/components/Tree/Tree.meta.d.ts.map +1 -0
  11. package/dist/components/Tree/Tree.stories.d.ts +9 -0
  12. package/dist/components/Tree/Tree.stories.d.ts.map +1 -0
  13. package/dist/components/Tree/TreeContext.d.ts +18 -0
  14. package/dist/components/Tree/TreeContext.d.ts.map +1 -0
  15. package/dist/components/Tree/styles.css.d.ts +84 -0
  16. package/dist/components/Tree/styles.css.d.ts.map +1 -0
  17. package/dist/index.css +1 -1
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +2525 -2215
  21. package/dist/index.js.map +1 -1
  22. package/dist/table.js +1 -1
  23. package/package.json +2 -2
  24. package/src/components/Icon/Icon.tsx +20 -0
  25. package/src/components/InputGroup/InputGroup.stories.tsx +21 -0
  26. package/src/components/Tree/Tree.meta.ts +41 -0
  27. package/src/components/Tree/Tree.stories.tsx +151 -0
  28. package/src/components/Tree/Tree.tsx +304 -0
  29. package/src/components/Tree/TreeContext.ts +26 -0
  30. package/src/components/Tree/styles.css.ts +96 -0
  31. package/src/index.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  import { jsx as T, jsxs as Y, Fragment as be } from "react/jsx-runtime";
2
- import xe, { useContext as B, createContext as F, useState as te, useId as oe, useRef as O, useEffect as V, Children as J, isValidElement as $e } from "react";
2
+ import xe, { useContext as G, createContext as F, useState as te, useId as oe, useRef as O, useEffect as V, Children as J, isValidElement as $e } from "react";
3
3
  /**
4
4
  * @license react-strict-dom
5
5
  * Copyright (c) Meta Platforms, Inc. and affiliates.
@@ -12,7 +12,7 @@ Object.defineProperty(ne, "__esModule", {
12
12
  value: !0
13
13
  });
14
14
  var ge = ne.styleq = void 0, we = /* @__PURE__ */ new WeakMap(), Te = "$$css";
15
- function fe(t) {
15
+ function ke(t) {
16
16
  var e, i, o;
17
17
  return t != null && (e = t.disableCache === !0, i = t.disableMix === !0, o = t.transform), function() {
18
18
  for (var d = [], l = "", s = null, n = "", r = e ? null : we, b = new Array(arguments.length), a = 0; a < arguments.length; a++)
@@ -64,13 +64,13 @@ function fe(t) {
64
64
  return H;
65
65
  };
66
66
  }
67
- var Ce = ge = ne.styleq = fe();
68
- Ce.factory = fe;
69
- const Re = ge.factory({
67
+ var Ce = ge = ne.styleq = ke();
68
+ Ce.factory = ke;
69
+ const Se = ge.factory({
70
70
  disableMix: !0
71
71
  });
72
72
  function R(...t) {
73
- const [e, i, o] = Re(t), c = {};
73
+ const [e, i, o] = Se(t), c = {};
74
74
  if (e != null && e !== "" && (c.className = e), i != null && (c.style = i), o != null && o !== "") {
75
75
  const d = o.split(";"), l = {};
76
76
  for (const s of d) {
@@ -81,7 +81,7 @@ function R(...t) {
81
81
  }
82
82
  return c;
83
83
  }
84
- const W = {
84
+ const S = {
85
85
  block: {
86
86
  "margin-kogj98": "margin-x1ghz6dp",
87
87
  "padding-kmVPX3": "padding-x1717udv",
@@ -115,14 +115,18 @@ const W = {
115
115
  "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
116
116
  $$css: ".pnpm:web/runtime.js:202"
117
117
  },
118
+ list: {
119
+ "listStyle-kB88ic": "listStyle-xe8uvvx",
120
+ $$css: ".pnpm:web/runtime.js:206"
121
+ },
118
122
  textarea: {
119
123
  "borderWidth-kMzoRj": "borderWidth-xmkeg23",
120
124
  "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
121
125
  "resize-kHenm0": "resize-x288g5",
122
126
  $$css: ".pnpm:web/runtime.js:212"
123
127
  }
124
- }, Se = W.inline, We = [W.inlineblock, W.button], Me = W.block, je = W.block, _ = [W.block, W.heading], ze = W.block, Ie = [W.inlineblock, W.input], qe = W.inline, Ee = W.block, Oe = W.block, De = W.block, Pe = W.inline, Ae = [W.inlineblock, W.textarea], S = {
125
- a: Se,
128
+ }, Re = S.inline, We = [S.inlineblock, S.button], Me = S.block, je = S.block, _ = [S.block, S.heading], ze = S.block, Ie = [S.inlineblock, S.input], qe = S.inline, Ee = S.block, Oe = S.block, De = S.block, Pe = S.block, Ae = S.inline, Le = [S.inlineblock, S.textarea], He = [S.list, S.block], W = {
129
+ a: Re,
126
130
  button: We,
127
131
  div: Me,
128
132
  form: je,
@@ -135,11 +139,13 @@ const W = {
135
139
  header: ze,
136
140
  input: Ie,
137
141
  label: qe,
138
- main: Ee,
139
- nav: Oe,
140
- p: De,
141
- span: Pe,
142
- textarea: Ae
142
+ li: Ee,
143
+ main: Oe,
144
+ nav: De,
145
+ p: Pe,
146
+ span: Ae,
147
+ textarea: Le,
148
+ ul: He
143
149
  };
144
150
  var U = { exports: {} }, Z = {};
145
151
  /**
@@ -152,7 +158,7 @@ var U = { exports: {} }, Z = {};
152
158
  * LICENSE file in the root directory of this source tree.
153
159
  */
154
160
  var ae;
155
- function Le() {
161
+ function _e() {
156
162
  if (ae) return Z;
157
163
  ae = 1;
158
164
  var t = xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
@@ -171,7 +177,7 @@ var ee = {};
171
177
  * LICENSE file in the root directory of this source tree.
172
178
  */
173
179
  var ce;
174
- function He() {
180
+ function Be() {
175
181
  return ce || (ce = 1, process.env.NODE_ENV !== "production" && (function() {
176
182
  var t = xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
177
183
  ee.c = function(e) {
@@ -185,10 +191,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
185
191
  })()), ee;
186
192
  }
187
193
  var de;
188
- function _e() {
189
- return de || (de = 1, process.env.NODE_ENV === "production" ? U.exports = Le() : U.exports = He()), U.exports;
194
+ function Ge() {
195
+ return de || (de = 1, process.env.NODE_ENV === "production" ? U.exports = _e() : U.exports = Be()), U.exports;
190
196
  }
191
- var I = _e();
197
+ var I = Ge();
192
198
  const D = {
193
199
  root: {
194
200
  "position-kVAEAm": "position-x1n2onr6",
@@ -273,14 +279,14 @@ const D = {
273
279
  "color-kMwMTN": "color-x95150z color-xtolcfe",
274
280
  $$css: "Menu/styles.css.ts:83"
275
281
  }
276
- }, ke = F(null);
282
+ }, me = F(null);
277
283
  function X() {
278
- const t = B(ke);
284
+ const t = G(me);
279
285
  if (!t)
280
286
  throw new Error("Menu compound components must be used within Menu.Root");
281
287
  return t;
282
288
  }
283
- function Ge() {
289
+ function Ve() {
284
290
  const t = I.c(15), [e, i] = te(!1), [o, c] = te(null), d = oe(), l = O(null), s = O(null);
285
291
  let n;
286
292
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ new Map(), t[0] = n) : n = t[0];
@@ -378,19 +384,19 @@ function Ge() {
378
384
  rootRef: l
379
385
  }, t[11] = o, t[12] = d, t[13] = e, t[14] = z) : z = t[14], z;
380
386
  }
381
- function Be(t) {
387
+ function Fe(t) {
382
388
  const e = I.c(6), {
383
389
  children: i
384
390
  } = t, {
385
391
  ctx: o,
386
392
  rootRef: c
387
- } = Ge();
393
+ } = Ve();
388
394
  let d;
389
- e[0] !== i || e[1] !== c ? (d = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:17", ref: c, ...R(S.div, D.root), children: i }), e[0] = i, e[1] = c, e[2] = d) : d = e[2];
395
+ e[0] !== i || e[1] !== c ? (d = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:17", ref: c, ...R(W.div, D.root), children: i }), e[0] = i, e[1] = c, e[2] = d) : d = e[2];
390
396
  let l;
391
- return e[3] !== o || e[4] !== d ? (l = /* @__PURE__ */ T(ke.Provider, { value: o, children: d }), e[3] = o, e[4] = d, e[5] = l) : l = e[5], l;
397
+ return e[3] !== o || e[4] !== d ? (l = /* @__PURE__ */ T(me.Provider, { value: o, children: d }), e[3] = o, e[4] = d, e[5] = l) : l = e[5], l;
392
398
  }
393
- function Ve(t) {
399
+ function Ne(t) {
394
400
  const e = I.c(7), {
395
401
  children: i
396
402
  } = t, {
@@ -405,9 +411,9 @@ function Ve(t) {
405
411
  }, e[0] = l, e[1] = n) : n = e[1], V(n);
406
412
  const r = o ? d : void 0;
407
413
  let b;
408
- return e[2] !== i || e[3] !== o || e[4] !== r || e[5] !== c ? (b = /* @__PURE__ */ T("button", { "data-element-src": "Menu/Menu.tsx:35", ref: s, type: "button", onClick: c, "aria-expanded": o, "aria-haspopup": "menu", "aria-controls": r, ...R(S.button, D.trigger), children: i }), e[2] = i, e[3] = o, e[4] = r, e[5] = c, e[6] = b) : b = e[6], b;
414
+ return e[2] !== i || e[3] !== o || e[4] !== r || e[5] !== c ? (b = /* @__PURE__ */ T("button", { "data-element-src": "Menu/Menu.tsx:35", ref: s, type: "button", onClick: c, "aria-expanded": o, "aria-haspopup": "menu", "aria-controls": r, ...R(W.button, D.trigger), children: i }), e[2] = i, e[3] = o, e[4] = r, e[5] = c, e[6] = b) : b = e[6], b;
409
415
  }
410
- function Fe(t) {
416
+ function Ue(t) {
411
417
  const e = I.c(12), {
412
418
  children: i,
413
419
  align: o
@@ -420,19 +426,19 @@ function Fe(t) {
420
426
  if (!d)
421
427
  return null;
422
428
  let r;
423
- e[0] !== l ? (r = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:62", ...R(S.div, D.backdrop), onClick: l }), e[0] = l, e[1] = r) : r = e[1];
429
+ e[0] !== l ? (r = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:62", ...R(W.div, D.backdrop), onClick: l }), e[0] = l, e[1] = r) : r = e[1];
424
430
  const b = n ?? void 0, a = c === "end" && D.popupEnd;
425
431
  let u;
426
432
  e[2] !== a ? (u = [D.popup, a], e[2] = a, e[3] = u) : u = e[3];
427
433
  let p;
428
- e[4] !== i || e[5] !== s || e[6] !== b || e[7] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:63", id: s, role: "menu", "aria-activedescendant": b, ...R(S.div, u), children: i }), e[4] = i, e[5] = s, e[6] = b, e[7] = u, e[8] = p) : p = e[8];
434
+ e[4] !== i || e[5] !== s || e[6] !== b || e[7] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:63", id: s, role: "menu", "aria-activedescendant": b, ...R(W.div, u), children: i }), e[4] = i, e[5] = s, e[6] = b, e[7] = u, e[8] = p) : p = e[8];
429
435
  let x;
430
436
  return e[9] !== r || e[10] !== p ? (x = /* @__PURE__ */ Y(be, { children: [
431
437
  r,
432
438
  p
433
439
  ] }), e[9] = r, e[10] = p, e[11] = x) : x = e[11], x;
434
440
  }
435
- function Ne(t) {
441
+ function Ye(t) {
436
442
  const e = I.c(18), {
437
443
  onClick: i,
438
444
  children: o
@@ -459,9 +465,9 @@ function Ne(t) {
459
465
  let y;
460
466
  e[10] !== v ? (y = [D.item, v], e[10] = v, e[11] = y) : y = e[11];
461
467
  let h;
462
- return e[12] !== o || e[13] !== x || e[14] !== n || e[15] !== g || e[16] !== y ? (h = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:99", ref: r, id: n, role: "menuitem", onClick: x, onPointerEnter: g, ...R(S.div, y), children: o }), e[12] = o, e[13] = x, e[14] = n, e[15] = g, e[16] = y, e[17] = h) : h = e[17], h;
468
+ return e[12] !== o || e[13] !== x || e[14] !== n || e[15] !== g || e[16] !== y ? (h = /* @__PURE__ */ T("div", { "data-element-src": "Menu/Menu.tsx:99", ref: r, id: n, role: "menuitem", onClick: x, onPointerEnter: g, ...R(W.div, y), children: o }), e[12] = o, e[13] = x, e[14] = n, e[15] = g, e[16] = y, e[17] = h) : h = e[17], h;
463
469
  }
464
- function Ue(t) {
470
+ function Je(t) {
465
471
  const e = I.c(16), {
466
472
  href: i,
467
473
  children: o
@@ -483,14 +489,14 @@ function Ue(t) {
483
489
  let g;
484
490
  e[7] !== x ? (g = [D.item, D.linkItem, x], e[7] = x, e[8] = g) : g = e[8];
485
491
  let v;
486
- return e[9] !== o || e[10] !== c || e[11] !== i || e[12] !== n || e[13] !== p || e[14] !== g ? (v = /* @__PURE__ */ T("a", { "data-element-src": "Menu/Menu.tsx:131", ref: r, id: n, href: i, onClick: c, role: "menuitem", onPointerEnter: p, ...R(S.a, g), children: o }), e[9] = o, e[10] = c, e[11] = i, e[12] = n, e[13] = p, e[14] = g, e[15] = v) : v = e[15], v;
492
+ return e[9] !== o || e[10] !== c || e[11] !== i || e[12] !== n || e[13] !== p || e[14] !== g ? (v = /* @__PURE__ */ T("a", { "data-element-src": "Menu/Menu.tsx:131", ref: r, id: n, href: i, onClick: c, role: "menuitem", onPointerEnter: p, ...R(W.a, g), children: o }), e[9] = o, e[10] = c, e[11] = i, e[12] = n, e[13] = p, e[14] = g, e[15] = v) : v = e[15], v;
487
493
  }
488
- const sn = {
489
- Root: Be,
490
- Trigger: Ve,
491
- Popup: Fe,
492
- Item: Ne,
493
- LinkItem: Ue
494
+ const an = {
495
+ Root: Fe,
496
+ Trigger: Ne,
497
+ Popup: Ue,
498
+ Item: Ye,
499
+ LinkItem: Je
494
500
  };
495
501
  /**
496
502
  * @license react-strict-dom
@@ -500,22 +506,22 @@ const sn = {
500
506
  * LICENSE file in the root directory of this source tree.
501
507
  */
502
508
  const ue = {};
503
- function Ye(t) {
509
+ function Xe(t) {
504
510
  process.env.NODE_ENV !== "test" && ue[t] || (ue[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
505
511
  }
506
- const Je = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
507
- function Xe(t) {
508
- return Je.has(t) || t.indexOf("data-") > -1;
512
+ const Ke = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
513
+ function Qe(t) {
514
+ return Ke.has(t) || t.indexOf("data-") > -1;
509
515
  }
510
516
  var re = {};
511
517
  Object.defineProperty(re, "__esModule", {
512
518
  value: !0
513
519
  });
514
- var me = re.styleq = void 0, Ke = /* @__PURE__ */ new WeakMap(), Qe = "$$css";
520
+ var fe = re.styleq = void 0, Ze = /* @__PURE__ */ new WeakMap(), et = "$$css";
515
521
  function he(t) {
516
522
  var e, i, o;
517
523
  return t != null && (e = t.disableCache === !0, i = t.disableMix === !0, o = t.transform), function() {
518
- for (var d = [], l = "", s = null, n = "", r = e ? null : Ke, b = new Array(arguments.length), a = 0; a < arguments.length; a++)
524
+ for (var d = [], l = "", s = null, n = "", r = e ? null : Ze, b = new Array(arguments.length), a = 0; a < arguments.length; a++)
519
525
  b[a] = arguments[a];
520
526
  for (; b.length > 0; ) {
521
527
  var u = b.pop();
@@ -535,7 +541,7 @@ function he(t) {
535
541
  var y = [];
536
542
  for (var h in x) {
537
543
  var w = x[h];
538
- if (h === Qe) {
544
+ if (h === et) {
539
545
  var P = x[h];
540
546
  P !== !0 && (n = n ? P + "; " + n : P);
541
547
  continue;
@@ -564,13 +570,13 @@ function he(t) {
564
570
  return H;
565
571
  };
566
572
  }
567
- var Ze = me = re.styleq = he();
568
- Ze.factory = he;
569
- const et = me.factory({
573
+ var tt = fe = re.styleq = he();
574
+ tt.factory = he;
575
+ const ot = fe.factory({
570
576
  disableMix: !0
571
577
  });
572
- function tt(...t) {
573
- const [e, i, o] = et(t), c = {};
578
+ function nt(...t) {
579
+ const [e, i, o] = ot(t), c = {};
574
580
  if (e != null && e !== "" && (c.className = e), i != null && (c.style = i), o != null && o !== "") {
575
581
  const d = o.split(";"), l = {};
576
582
  for (const s of d) {
@@ -581,12 +587,12 @@ function tt(...t) {
581
587
  }
582
588
  return c;
583
589
  }
584
- function ot(t) {
590
+ function rt(t) {
585
591
  Object.keys(t).forEach((e) => {
586
- Xe(e) || (Ye(`invalid prop "${e}"`), delete t[e]);
592
+ Qe(e) || (Xe(`invalid prop "${e}"`), delete t[e]);
587
593
  });
588
594
  }
589
- function f(t, e) {
595
+ function k(t, e) {
590
596
  const i = {
591
597
  $$css: !0,
592
598
  "debug::name": `html-${t}`
@@ -600,8 +606,8 @@ function f(t, e) {
600
606
  style: s,
601
607
  ...n
602
608
  } = d, r = n;
603
- ot(r), l != null && (r.htmlFor = l), d.role != null && (r.role = d.role === "none" ? "presentation" : d.role), t === "button" ? r.type = r.type ? r.type : "button" : (t === "input" || t === "textarea") && (r.dir = r.dir ? r.dir : "auto");
604
- const b = tt([i, e, s]);
609
+ rt(r), l != null && (r.htmlFor = l), d.role != null && (r.role = d.role === "none" ? "presentation" : d.role), t === "button" ? r.type = r.type ? r.type : "button" : (t === "input" || t === "textarea") && (r.dir = r.dir ? r.dir : "auto");
610
+ const b = nt([i, e, s]);
605
611
  return T(t, {
606
612
  ...r,
607
613
  ...b,
@@ -610,7 +616,7 @@ function f(t, e) {
610
616
  }
611
617
  return o.displayName = `html.${t}`, o;
612
618
  }
613
- const m = {
619
+ const f = {
614
620
  block: {
615
621
  "margin-kogj98": "margin-x1ghz6dp",
616
622
  "padding-kmVPX3": "padding-x1717udv",
@@ -678,110 +684,110 @@ const m = {
678
684
  "resize-kHenm0": "resize-x288g5",
679
685
  $$css: ".pnpm:web/index.js:276"
680
686
  }
681
- }, nt = m.inline, rt = m.block, it = m.block, st = m.inline, lt = m.inline, at = m.inline, ct = m.block, dt = null, ut = [m.inlineblock, m.button], pt = [m.inline, m.codePre], bt = null, xt = m.block, gt = m.inline, ft = m.block, kt = m.block, mt = m.block, G = [m.block, m.heading], ht = m.block, vt = [m.block, m.hr], yt = m.inline, $t = m.img, wt = [m.inlineblock, m.input], Tt = null, Ct = null, Rt = m.inline, St = m.block, Wt = m.block, Mt = m.inline, jt = m.block, zt = [m.list, m.block], It = null, qt = null, Et = m.block, Ot = [m.block, m.codePre], Dt = null, Pt = m.block, At = m.inlineblock, Lt = m.inline, Ht = [m.inline, m.strong], _t = m.inline, Gt = m.inline, Bt = [m.inlineblock, m.textarea], Vt = null, Ft = [m.list, m.block], k = {
682
- a: nt,
683
- article: rt,
684
- aside: it,
685
- b: st,
686
- bdi: lt,
687
- bdo: at,
688
- blockquote: ct,
689
- br: dt,
690
- button: ut,
691
- code: pt,
692
- del: bt,
693
- div: xt,
694
- em: gt,
687
+ }, it = f.inline, st = f.block, lt = f.block, at = f.inline, ct = f.inline, dt = f.inline, ut = f.block, pt = null, bt = [f.inlineblock, f.button], xt = [f.inline, f.codePre], gt = null, kt = f.block, mt = f.inline, ft = f.block, ht = f.block, vt = f.block, B = [f.block, f.heading], yt = f.block, $t = [f.block, f.hr], wt = f.inline, Tt = f.img, Ct = [f.inlineblock, f.input], St = null, Rt = null, Wt = f.inline, Mt = f.block, jt = f.block, zt = f.inline, It = f.block, qt = [f.list, f.block], Et = null, Ot = null, Dt = f.block, Pt = [f.block, f.codePre], At = null, Lt = f.block, Ht = f.inlineblock, _t = f.inline, Bt = [f.inline, f.strong], Gt = f.inline, Vt = f.inline, Ft = [f.inlineblock, f.textarea], Nt = null, Ut = [f.list, f.block], m = {
688
+ a: it,
689
+ article: st,
690
+ aside: lt,
691
+ b: at,
692
+ bdi: ct,
693
+ bdo: dt,
694
+ blockquote: ut,
695
+ br: pt,
696
+ button: bt,
697
+ code: xt,
698
+ del: gt,
699
+ div: kt,
700
+ em: mt,
695
701
  fieldset: ft,
696
- footer: kt,
697
- form: mt,
698
- h1: G,
699
- h2: G,
700
- h3: G,
701
- h4: G,
702
- h5: G,
703
- h6: G,
704
- header: ht,
705
- hr: vt,
706
- i: yt,
707
- img: $t,
708
- input: wt,
709
- ins: Tt,
710
- kbd: Ct,
711
- label: Rt,
712
- li: St,
713
- main: Wt,
714
- mark: Mt,
715
- nav: jt,
716
- ol: zt,
717
- optgroup: It,
718
- option: qt,
719
- p: Et,
720
- pre: Ot,
721
- s: Dt,
722
- section: Pt,
723
- select: At,
724
- span: Lt,
725
- strong: Ht,
726
- sub: _t,
727
- sup: Gt,
728
- textarea: Bt,
729
- u: Vt,
730
- ul: Ft
731
- }, Nt = f("a", k.a), Ut = f("article", k.article), Yt = f("aside", k.aside), Jt = f("b", k.b), Xt = f("bdi", k.bdi), Kt = f("bdo", k.bdo), Qt = f("blockquote", k.blockquote), Zt = f("br", k.br), eo = f("button", k.button), to = f("code", k.code), oo = f("del", k.del), no = f("div", k.div), ro = f("em", k.em), io = f("fieldset", k.fieldset), so = f("footer", k.footer), lo = f("form", k.form), ao = f("h1", k.h1), co = f("h2", k.h2), uo = f("h3", k.h3), po = f("h4", k.h4), bo = f("h5", k.h5), xo = f("h6", k.h6), go = f("header", k.header), fo = f("hr", k.hr), ko = f("i", k.i), mo = f("img", k.img), ho = f("input", k.input), vo = f("ins", k.ins), yo = f("kbd", k.kbd), $o = f("label", k.label), wo = f("li", k.li), To = f("main", k.main), Co = f("mark", k.mark), Ro = f("nav", k.nav), So = f("ol", k.ol), Wo = f("optgroup", k.optgroup), Mo = f("option", k.option), jo = f("p", k.p), zo = f("pre", k.pre), Io = f("s", k.s), qo = f("section", k.section), Eo = f("select", k.select), Oo = f("span", k.span), Do = f("strong", k.strong), Po = f("sub", k.sub), Ao = f("sup", k.sup), Lo = f("textarea", k.textarea), Ho = f("u", k.u), _o = f("ul", k.ul);
732
- var Go = /* @__PURE__ */ Object.freeze({
702
+ footer: ht,
703
+ form: vt,
704
+ h1: B,
705
+ h2: B,
706
+ h3: B,
707
+ h4: B,
708
+ h5: B,
709
+ h6: B,
710
+ header: yt,
711
+ hr: $t,
712
+ i: wt,
713
+ img: Tt,
714
+ input: Ct,
715
+ ins: St,
716
+ kbd: Rt,
717
+ label: Wt,
718
+ li: Mt,
719
+ main: jt,
720
+ mark: zt,
721
+ nav: It,
722
+ ol: qt,
723
+ optgroup: Et,
724
+ option: Ot,
725
+ p: Dt,
726
+ pre: Pt,
727
+ s: At,
728
+ section: Lt,
729
+ select: Ht,
730
+ span: _t,
731
+ strong: Bt,
732
+ sub: Gt,
733
+ sup: Vt,
734
+ textarea: Ft,
735
+ u: Nt,
736
+ ul: Ut
737
+ }, Yt = k("a", m.a), Jt = k("article", m.article), Xt = k("aside", m.aside), Kt = k("b", m.b), Qt = k("bdi", m.bdi), Zt = k("bdo", m.bdo), eo = k("blockquote", m.blockquote), to = k("br", m.br), oo = k("button", m.button), no = k("code", m.code), ro = k("del", m.del), io = k("div", m.div), so = k("em", m.em), lo = k("fieldset", m.fieldset), ao = k("footer", m.footer), co = k("form", m.form), uo = k("h1", m.h1), po = k("h2", m.h2), bo = k("h3", m.h3), xo = k("h4", m.h4), go = k("h5", m.h5), ko = k("h6", m.h6), mo = k("header", m.header), fo = k("hr", m.hr), ho = k("i", m.i), vo = k("img", m.img), yo = k("input", m.input), $o = k("ins", m.ins), wo = k("kbd", m.kbd), To = k("label", m.label), Co = k("li", m.li), So = k("main", m.main), Ro = k("mark", m.mark), Wo = k("nav", m.nav), Mo = k("ol", m.ol), jo = k("optgroup", m.optgroup), zo = k("option", m.option), Io = k("p", m.p), qo = k("pre", m.pre), Eo = k("s", m.s), Oo = k("section", m.section), Do = k("select", m.select), Po = k("span", m.span), Ao = k("strong", m.strong), Lo = k("sub", m.sub), Ho = k("sup", m.sup), _o = k("textarea", m.textarea), Bo = k("u", m.u), Go = k("ul", m.ul);
738
+ var Vo = /* @__PURE__ */ Object.freeze({
733
739
  __proto__: null,
734
- a: Nt,
735
- article: Ut,
736
- aside: Yt,
737
- b: Jt,
738
- bdi: Xt,
739
- bdo: Kt,
740
- blockquote: Qt,
741
- br: Zt,
742
- button: eo,
743
- code: to,
744
- del: oo,
745
- div: no,
746
- em: ro,
747
- fieldset: io,
748
- footer: so,
749
- form: lo,
750
- h1: ao,
751
- h2: co,
752
- h3: uo,
753
- h4: po,
754
- h5: bo,
755
- h6: xo,
756
- header: go,
740
+ a: Yt,
741
+ article: Jt,
742
+ aside: Xt,
743
+ b: Kt,
744
+ bdi: Qt,
745
+ bdo: Zt,
746
+ blockquote: eo,
747
+ br: to,
748
+ button: oo,
749
+ code: no,
750
+ del: ro,
751
+ div: io,
752
+ em: so,
753
+ fieldset: lo,
754
+ footer: ao,
755
+ form: co,
756
+ h1: uo,
757
+ h2: po,
758
+ h3: bo,
759
+ h4: xo,
760
+ h5: go,
761
+ h6: ko,
762
+ header: mo,
757
763
  hr: fo,
758
- i: ko,
759
- img: mo,
760
- input: ho,
761
- ins: vo,
762
- kbd: yo,
763
- label: $o,
764
- li: wo,
765
- main: To,
766
- mark: Co,
767
- nav: Ro,
768
- ol: So,
769
- optgroup: Wo,
770
- option: Mo,
771
- p: jo,
772
- pre: zo,
773
- s: Io,
774
- section: qo,
775
- select: Eo,
776
- span: Oo,
777
- strong: Do,
778
- sub: Po,
779
- sup: Ao,
780
- textarea: Lo,
781
- u: Ho,
782
- ul: _o
764
+ i: ho,
765
+ img: vo,
766
+ input: yo,
767
+ ins: $o,
768
+ kbd: wo,
769
+ label: To,
770
+ li: Co,
771
+ main: So,
772
+ mark: Ro,
773
+ nav: Wo,
774
+ ol: Mo,
775
+ optgroup: jo,
776
+ option: zo,
777
+ p: Io,
778
+ pre: qo,
779
+ s: Eo,
780
+ section: Oo,
781
+ select: Do,
782
+ span: Po,
783
+ strong: Ao,
784
+ sub: Lo,
785
+ sup: Ho,
786
+ textarea: _o,
787
+ u: Bo,
788
+ ul: Go
783
789
  });
784
- const ln = {
790
+ const cn = {
785
791
  xs: 480,
786
792
  sm: 640,
787
793
  md: 768,
@@ -998,29 +1004,29 @@ const ln = {
998
1004
  }]
999
1005
  }, ve = F(null);
1000
1006
  function K() {
1001
- const t = B(ve);
1007
+ const t = G(ve);
1002
1008
  if (!t)
1003
1009
  throw new Error("Table compound components must be used within Table.Root");
1004
1010
  return t;
1005
1011
  }
1006
- const ie = F(!1), Bo = typeof process < "u" && process.env?.NODE_ENV === "production", pe = /* @__PURE__ */ new Set();
1007
- function Vo(t, e) {
1008
- Bo || pe.has(t) || (pe.add(t), console.warn(`[duro-app/ui Table] ${e}`));
1012
+ const ie = F(!1), Fo = typeof process < "u" && process.env?.NODE_ENV === "production", pe = /* @__PURE__ */ new Set();
1013
+ function No(t, e) {
1014
+ Fo || pe.has(t) || (pe.add(t), console.warn(`[duro-app/ui Table] ${e}`));
1009
1015
  }
1010
- function Fo(t) {
1016
+ function Uo(t) {
1011
1017
  const e = I.c(2), {
1012
1018
  children: i
1013
1019
  } = t;
1014
1020
  let o;
1015
- return e[0] !== i ? (o = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:66", ...R(S.div, $.container), children: i }), e[0] = i, e[1] = o) : o = e[1], o;
1021
+ return e[0] !== i ? (o = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:66", ...R(W.div, $.container), children: i }), e[0] = i, e[1] = o) : o = e[1], o;
1016
1022
  }
1017
- function No(t) {
1023
+ function Yo(t) {
1018
1024
  let e = "";
1019
1025
  return J.forEach(t, (i) => {
1020
1026
  (typeof i == "string" || typeof i == "number") && (e += String(i));
1021
1027
  }), e;
1022
1028
  }
1023
- function Uo(t) {
1029
+ function Jo(t) {
1024
1030
  let e = t;
1025
1031
  for (let i = 0; i < 8 && e && typeof e == "object"; i++) {
1026
1032
  const o = e.type ?? e.render;
@@ -1029,17 +1035,17 @@ function Uo(t) {
1029
1035
  }
1030
1036
  return e;
1031
1037
  }
1032
- function Yo(t, e) {
1038
+ function Xo(t, e) {
1033
1039
  const i = [], o = [], c = [];
1034
1040
  function d(l) {
1035
1041
  J.forEach(l, (s) => {
1036
1042
  if (!$e(s)) return;
1037
- const n = s.props, r = Uo(s.type), b = r?.displayName || r?.name || "";
1043
+ const n = s.props, r = Jo(s.type), b = r?.displayName || r?.name || "";
1038
1044
  if (r === le || b === "HeaderCell") {
1039
1045
  const a = n.width || `minmax(${e}px, 1fr)`;
1040
1046
  i.push(a), o.push(n.compactWidth || a);
1041
- const u = typeof n.label == "string" ? n.label : void 0, p = No(n.children).trim(), x = u ?? p;
1042
- !u && p === "" && n.children != null && Vo("headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(x);
1047
+ const u = typeof n.label == "string" ? n.label : void 0, p = Yo(n.children).trim(), x = u ?? p;
1048
+ !u && p === "" && n.children != null && No("headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(x);
1043
1049
  } else n.children && d(n.children);
1044
1050
  });
1045
1051
  }
@@ -1049,7 +1055,7 @@ function Yo(t, e) {
1049
1055
  labels: c
1050
1056
  };
1051
1057
  }
1052
- function Jo(t) {
1058
+ function Ko(t) {
1053
1059
  const e = I.c(13), {
1054
1060
  children: i
1055
1061
  } = t, o = O(null);
@@ -1080,21 +1086,21 @@ function Jo(t) {
1080
1086
  };
1081
1087
  }, n = [], e[1] = s, e[2] = n) : (s = e[1], n = e[2]), V(s, n);
1082
1088
  let r;
1083
- e[3] !== i ? (r = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:204", ref: o, ...R(S.div, $.scrollX), children: i }), e[3] = i, e[4] = r) : r = e[4];
1089
+ e[3] !== i ? (r = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:204", ref: o, ...R(W.div, $.scrollX), children: i }), e[3] = i, e[4] = r) : r = e[4];
1084
1090
  const b = d.start && $.edgeFadeVisible;
1085
1091
  let a;
1086
- e[5] !== b ? (a = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:207", "aria-hidden": !0, ...R(S.div, $.edgeFade, $.edgeFadeLeft, b) }), e[5] = b, e[6] = a) : a = e[6];
1092
+ e[5] !== b ? (a = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:207", "aria-hidden": !0, ...R(W.div, $.edgeFade, $.edgeFadeLeft, b) }), e[5] = b, e[6] = a) : a = e[6];
1087
1093
  const u = d.end && $.edgeFadeVisible;
1088
1094
  let p;
1089
- e[7] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:211", "aria-hidden": !0, ...R(S.div, $.edgeFade, $.edgeFadeRight, u) }), e[7] = u, e[8] = p) : p = e[8];
1095
+ e[7] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:211", "aria-hidden": !0, ...R(W.div, $.edgeFade, $.edgeFadeRight, u) }), e[7] = u, e[8] = p) : p = e[8];
1090
1096
  let x;
1091
- return e[9] !== r || e[10] !== a || e[11] !== p ? (x = /* @__PURE__ */ Y("div", { "data-element-src": "Table/Table.tsx:203", ...R(S.div, $.scrollFrame), children: [
1097
+ return e[9] !== r || e[10] !== a || e[11] !== p ? (x = /* @__PURE__ */ Y("div", { "data-element-src": "Table/Table.tsx:203", ...R(W.div, $.scrollFrame), children: [
1092
1098
  r,
1093
1099
  a,
1094
1100
  p
1095
1101
  ] }), e[9] = r, e[10] = a, e[11] = p, e[12] = x) : x = e[12], x;
1096
1102
  }
1097
- function Xo({
1103
+ function Qo({
1098
1104
  children: t,
1099
1105
  variant: e = "default",
1100
1106
  size: i = "md",
@@ -1107,10 +1113,10 @@ function Xo({
1107
1113
  template: n,
1108
1114
  compactTemplate: r,
1109
1115
  labels: b
1110
- } = Yo(t, c);
1116
+ } = Xo(t, c);
1111
1117
  n && (s.current = n);
1112
1118
  const a = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:264", role: "table", ...R(
1113
- S.div,
1119
+ W.div,
1114
1120
  $.root,
1115
1121
  // When responsive, use gridColumnsResponsive so the explicit column
1116
1122
  // template and the stack-mode @container override live in one StyleX
@@ -1122,7 +1128,7 @@ function Xo({
1122
1128
  o && $.rootResponsive
1123
1129
  ), children: t }), p = /* @__PURE__ */ Y(be, { children: [
1124
1130
  d,
1125
- o ? /* @__PURE__ */ T(Jo, { children: a }) : a,
1131
+ o ? /* @__PURE__ */ T(Ko, { children: a }) : a,
1126
1132
  l
1127
1133
  ] });
1128
1134
  return /* @__PURE__ */ T(ve.Provider, { value: {
@@ -1131,16 +1137,16 @@ function Xo({
1131
1137
  responsive: o,
1132
1138
  labels: b,
1133
1139
  inferredTemplateRef: s
1134
- }, children: o ? /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:306", ...R(S.div, $.rootContainer), children: p }) : p });
1140
+ }, children: o ? /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:306", ...R(W.div, $.rootContainer), children: p }) : p });
1135
1141
  }
1136
- function Ko(t) {
1142
+ function Zo(t) {
1137
1143
  const e = I.c(2), {
1138
1144
  children: i
1139
1145
  } = t;
1140
1146
  let o;
1141
- return e[0] !== i ? (o = /* @__PURE__ */ T(ie.Provider, { value: !0, children: /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:316", role: "rowgroup", ...R(S.div, $.header), children: i }) }), e[0] = i, e[1] = o) : o = e[1], o;
1147
+ return e[0] !== i ? (o = /* @__PURE__ */ T(ie.Provider, { value: !0, children: /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:316", role: "rowgroup", ...R(W.div, $.header), children: i }) }), e[0] = i, e[1] = o) : o = e[1], o;
1142
1148
  }
1143
- function Qo(t) {
1149
+ function en(t) {
1144
1150
  const e = I.c(19), {
1145
1151
  children: i
1146
1152
  } = t, {
@@ -1149,7 +1155,7 @@ function Qo(t) {
1149
1155
  let c, d, l, s, n, r;
1150
1156
  if (e[0] !== i || e[1] !== o) {
1151
1157
  const u = J.toArray(i);
1152
- d = ie.Provider, r = !1, c = Go.div, l = "rowgroup", s = $.body;
1158
+ d = ie.Provider, r = !1, c = Vo.div, l = "rowgroup", s = $.body;
1153
1159
  let p;
1154
1160
  e[8] !== o ? (p = (x, g) => o !== "striped" ? x : /* @__PURE__ */ T(ye.Provider, { value: g, children: x }, x.key ?? g), e[8] = o, e[9] = p) : p = e[9], n = u.map(p), e[0] = i, e[1] = o, e[2] = c, e[3] = d, e[4] = l, e[5] = s, e[6] = n, e[7] = r;
1155
1161
  } else
@@ -1159,22 +1165,22 @@ function Qo(t) {
1159
1165
  let a;
1160
1166
  return e[15] !== d || e[16] !== r || e[17] !== b ? (a = /* @__PURE__ */ T(d, { value: r, children: b }), e[15] = d, e[16] = r, e[17] = b, e[18] = a) : a = e[18], a;
1161
1167
  }
1162
- const ye = F(-1), Zo = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
1163
- function en(t) {
1168
+ const ye = F(-1), tn = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
1169
+ function on(t) {
1164
1170
  const e = I.c(17), {
1165
1171
  children: i,
1166
1172
  onClick: o,
1167
1173
  "aria-label": c
1168
1174
  } = t, {
1169
1175
  variant: d
1170
- } = K(), l = B(ie), s = B(ye), n = s >= 0 && s % 2 === 1;
1176
+ } = K(), l = G(ie), s = G(ye), n = s >= 0 && s % 2 === 1;
1171
1177
  let r;
1172
1178
  if (e[0] !== c || e[1] !== i || e[2] !== n || e[3] !== l || e[4] !== o || e[5] !== d) {
1173
1179
  const b = J.toArray(i), a = o !== void 0 && !l;
1174
1180
  let u;
1175
1181
  e[7] !== a || e[8] !== o ? (u = a ? (h) => {
1176
1182
  const w = h.target;
1177
- w instanceof Element && w.closest(Zo) || o();
1183
+ w instanceof Element && w.closest(tn) || o();
1178
1184
  } : void 0, e[7] = a, e[8] = o, e[9] = u) : u = e[9];
1179
1185
  let p;
1180
1186
  e[10] !== a || e[11] !== o ? (p = a ? (h) => {
@@ -1182,7 +1188,7 @@ function en(t) {
1182
1188
  } : void 0, e[10] = a, e[11] = o, e[12] = p) : p = e[12];
1183
1189
  const x = !l && $.bodyRow, g = !l && d === "striped" && n && $.stripedEven, v = a && $.clickableRow;
1184
1190
  let y;
1185
- e[13] !== x || e[14] !== g || e[15] !== v ? (y = [$.row, x, g, v], e[13] = x, e[14] = g, e[15] = v, e[16] = y) : y = e[16], r = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:388", role: "row", tabIndex: a ? 0 : void 0, "aria-label": a ? c : void 0, onClick: u, onKeyDown: p, ...R(S.div, y), children: b.map((h, w) => /* @__PURE__ */ T(se.Provider, { value: {
1191
+ e[13] !== x || e[14] !== g || e[15] !== v ? (y = [$.row, x, g, v], e[13] = x, e[14] = g, e[15] = v, e[16] = y) : y = e[16], r = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:388", role: "row", tabIndex: a ? 0 : void 0, "aria-label": a ? c : void 0, onClick: u, onKeyDown: p, ...R(W.div, y), children: b.map((h, w) => /* @__PURE__ */ T(se.Provider, { value: {
1186
1192
  index: w,
1187
1193
  total: b.length
1188
1194
  }, children: h }, h.key ?? w)) }), e[0] = c, e[1] = i, e[2] = n, e[3] = l, e[4] = o, e[5] = d, e[6] = r;
@@ -1204,14 +1210,14 @@ function le(t) {
1204
1210
  } = K(), {
1205
1211
  index: l,
1206
1212
  total: s
1207
- } = B(se), n = d === "bordered" && l === s - 1, r = c === "sm" ? $.cellSm : $.cellMd, b = d === "bordered" && $.borderedCell, a = n && $.borderedCellLast;
1213
+ } = G(se), n = d === "bordered" && l === s - 1, r = c === "sm" ? $.cellSm : $.cellMd, b = d === "bordered" && $.borderedCell, a = n && $.borderedCellLast;
1208
1214
  let u;
1209
1215
  e[0] !== r || e[1] !== b || e[2] !== a ? (u = [$.headerCell, r, b, a], e[0] = r, e[1] = b, e[2] = a, e[3] = u) : u = e[3];
1210
1216
  let p;
1211
- return e[4] !== o || e[5] !== i || e[6] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:474", role: "columnheader", "aria-label": o, ...R(S.div, u), children: i }), e[4] = o, e[5] = i, e[6] = u, e[7] = p) : p = e[7], p;
1217
+ return e[4] !== o || e[5] !== i || e[6] !== u ? (p = /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:474", role: "columnheader", "aria-label": o, ...R(W.div, u), children: i }), e[4] = o, e[5] = i, e[6] = u, e[7] = p) : p = e[7], p;
1212
1218
  }
1213
1219
  le.displayName = "HeaderCell";
1214
- function tn(t) {
1220
+ function nn(t) {
1215
1221
  const e = I.c(16), {
1216
1222
  children: i,
1217
1223
  isActions: o
@@ -1223,43 +1229,43 @@ function tn(t) {
1223
1229
  } = K(), {
1224
1230
  index: n,
1225
1231
  total: r
1226
- } = B(se), b = d === "bordered" && n === r - 1, a = l[n] ?? "", u = c === "sm" ? $.cellSm : $.cellMd, p = d === "bordered" && $.borderedCell, x = b && $.borderedCellLast, g = o && $.cellActions;
1232
+ } = G(se), b = d === "bordered" && n === r - 1, a = l[n] ?? "", u = c === "sm" ? $.cellSm : $.cellMd, p = d === "bordered" && $.borderedCell, x = b && $.borderedCellLast, g = o && $.cellActions;
1227
1233
  let v;
1228
1234
  e[0] !== u || e[1] !== p || e[2] !== x || e[3] !== g ? (v = [$.cell, u, p, x, g], e[0] = u, e[1] = p, e[2] = x, e[3] = g, e[4] = v) : v = e[4];
1229
1235
  let y;
1230
- e[5] !== o || e[6] !== a || e[7] !== s ? (y = s && !o && a !== "" ? /* @__PURE__ */ T("span", { "data-element-src": "Table/Table.tsx:514", ...R(S.span, $.cellLabel), children: a }) : null, e[5] = o, e[6] = a, e[7] = s, e[8] = y) : y = e[8];
1236
+ e[5] !== o || e[6] !== a || e[7] !== s ? (y = s && !o && a !== "" ? /* @__PURE__ */ T("span", { "data-element-src": "Table/Table.tsx:514", ...R(W.span, $.cellLabel), children: a }) : null, e[5] = o, e[6] = a, e[7] = s, e[8] = y) : y = e[8];
1231
1237
  let h;
1232
- e[9] !== i || e[10] !== o ? (h = o ? i : /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:516", ...R(S.div, $.cellValue), children: i }), e[9] = i, e[10] = o, e[11] = h) : h = e[11];
1238
+ e[9] !== i || e[10] !== o ? (h = o ? i : /* @__PURE__ */ T("div", { "data-element-src": "Table/Table.tsx:516", ...R(W.div, $.cellValue), children: i }), e[9] = i, e[10] = o, e[11] = h) : h = e[11];
1233
1239
  let w;
1234
- return e[12] !== v || e[13] !== y || e[14] !== h ? (w = /* @__PURE__ */ Y("div", { "data-element-src": "Table/Table.tsx:503", role: "cell", ...R(S.div, v), children: [
1240
+ return e[12] !== v || e[13] !== y || e[14] !== h ? (w = /* @__PURE__ */ Y("div", { "data-element-src": "Table/Table.tsx:503", role: "cell", ...R(W.div, v), children: [
1235
1241
  y,
1236
1242
  h
1237
1243
  ] }), e[12] = v, e[13] = y, e[14] = h, e[15] = w) : w = e[15], w;
1238
1244
  }
1239
- const on = {
1245
+ const rn = {
1240
1246
  /** @deprecated Wrap behaviour is built into Table.Root. Drop this wrapper from new code. */
1241
- Container: Fo,
1242
- Root: Xo,
1243
- Header: Ko,
1244
- Body: Qo,
1245
- Row: en,
1247
+ Container: Uo,
1248
+ Root: Qo,
1249
+ Header: Zo,
1250
+ Body: en,
1251
+ Row: on,
1246
1252
  HeaderCell: le,
1247
- Cell: tn
1248
- }, an = on;
1253
+ Cell: nn
1254
+ }, dn = rn;
1249
1255
  export {
1250
- Qo as B,
1251
- tn as C,
1256
+ en as B,
1257
+ nn as C,
1252
1258
  le as H,
1253
- sn as M,
1254
- en as R,
1255
- an as T,
1256
- Ko as a,
1257
- ln as b,
1259
+ an as M,
1260
+ on as R,
1261
+ dn as T,
1262
+ Zo as a,
1263
+ cn as b,
1258
1264
  I as c,
1259
- S as d,
1260
- Xo as e,
1261
- on as f,
1265
+ W as d,
1266
+ Qo as e,
1267
+ rn as f,
1262
1268
  R as m,
1263
1269
  $ as s
1264
1270
  };
1265
- //# sourceMappingURL=Table-P-UHkEqJ.js.map
1271
+ //# sourceMappingURL=Table-B4F8XyqK.js.map