@pibit.ai/cure-design-system 0.3.24 → 0.3.26

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAKV,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAUjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AAyHjB,eAAO,MAAM,YAAY,8GAylCxB,CAAC"}
1
+ {"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAKV,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAUjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AA8HjB,eAAO,MAAM,YAAY,8GAylCxB,CAAC"}
@@ -1,110 +1,114 @@
1
- import { jsx as i, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as Bt, useState as J, useMemo as u, useCallback as V, useRef as Jt, useEffect as Vt, useLayoutEffect as Xt } from "react";
3
- import { ChevronRight as Yt } from "@untitledui/icons";
1
+ import { jsx as s, jsxs as S } from "react/jsx-runtime";
2
+ import { forwardRef as Jt, useState as B, useMemo as u, useCallback as J, useRef as Vt, useEffect as Xt, useLayoutEffect as Yt } from "react";
3
+ import { ChevronRight as Ht } from "@untitledui/icons";
4
4
  import { cx as c } from "../../utils/cn.js";
5
- import { TableCard as Ht, Table as d } from "./table.js";
6
- import { TablePagination as Qt } from "./TablePagination.js";
7
- import { getEffectiveAlignment as ot, resolveColumnLabel as Zt, alignmentClass as Kt } from "./toolbar/tableToolbarHelpers.js";
8
- import { findGridCell as er, isWithinCellEditor as tr, getGridNeighbor as rr, getGridTabNeighbor as nr, focusGridCell as ir, GridNavProvider as sr } from "./useGridKeyboardNavigation.js";
9
- import { BulkActionBar as ar } from "./toolbar/BulkActionBar.js";
10
- import { TableToolbar as lr } from "./toolbar/TableToolbar.js";
11
- import { Checkbox as nt } from "../../primitives/checkbox/checkbox.js";
12
- import { ColumnHeaderMenu as or } from "./toolbar/ColumnHeaderMenu.js";
13
- import { Button as dr } from "../../primitives/button/button.js";
14
- import { SummaryFooterRow as cr } from "./toolbar/SummaryFooter.js";
15
- import { RowActionsMenu as fr } from "./toolbar/RowActionsMenu.js";
16
- import { Icon as hr } from "../../primitives/icon/icon.js";
17
- import { ShimmerLine as ur } from "../../primitives/shimmer/shimmer.js";
18
- const yr = 5, pr = "__all__", it = {
5
+ import { TableCard as Qt, Table as d } from "./table.js";
6
+ import { TablePagination as Zt } from "./TablePagination.js";
7
+ import { getEffectiveAlignment as dt, resolveColumnLabel as Kt, alignmentClass as er } from "./toolbar/tableToolbarHelpers.js";
8
+ import { findGridCell as tr, isWithinCellEditor as rr, getGridNeighbor as nr, getGridTabNeighbor as ir, focusGridCell as sr, GridNavProvider as ar } from "./useGridKeyboardNavigation.js";
9
+ import { BulkActionBar as lr } from "./toolbar/BulkActionBar.js";
10
+ import { TableToolbar as or } from "./toolbar/TableToolbar.js";
11
+ import { Checkbox as it } from "../../primitives/checkbox/checkbox.js";
12
+ import { ColumnHeaderMenu as dr } from "./toolbar/ColumnHeaderMenu.js";
13
+ import { Button as cr } from "../../primitives/button/button.js";
14
+ import { SummaryFooterRow as fr } from "./toolbar/SummaryFooter.js";
15
+ import { RowActionsMenu as hr } from "./toolbar/RowActionsMenu.js";
16
+ import { Icon as ur } from "../../primitives/icon/icon.js";
17
+ import { ShimmerLine as yr } from "../../primitives/shimmer/shimmer.js";
18
+ const wr = 5, pr = "__all__", st = {
19
19
  ArrowUp: "up",
20
20
  ArrowDown: "down",
21
21
  ArrowLeft: "left",
22
22
  ArrowRight: "right"
23
- }, X = (t) => t.__rowId ?? t.id ?? t.rule_id ?? String(t);
24
- function st(t, a) {
25
- return t === "all" ? new Set(a) : t ?? /* @__PURE__ */ new Set();
23
+ }, V = (t) => t.__rowId ?? t.id ?? t.rule_id ?? String(t);
24
+ function at(t, i) {
25
+ return t === "all" ? new Set(i) : t ?? /* @__PURE__ */ new Set();
26
26
  }
27
- function wr(t, a, l) {
28
- return t ? t === "all" ? l.includes(a) : t.has(a) : !1;
27
+ function xr(t, i, l) {
28
+ return t ? t === "all" ? l.includes(i) : t.has(i) : !1;
29
29
  }
30
- function xr(t, a) {
31
- return t ? t === "all" ? a.length : t.size : 0;
30
+ function gr(t, i) {
31
+ return t ? t === "all" ? i.length : t.size : 0;
32
32
  }
33
- function gr(t, a) {
34
- return a.length === 0 ? !1 : t === "all" ? !0 : a.every((l) => (t == null ? void 0 : t.has(l)) ?? !1);
33
+ function br(t, i) {
34
+ return i.length === 0 ? !1 : t === "all" ? !0 : i.every((l) => (t == null ? void 0 : t.has(l)) ?? !1);
35
35
  }
36
- function br(t, a) {
37
- return t === "all" ? a.length > 0 : a.some((l) => (t == null ? void 0 : t.has(l)) ?? !1);
36
+ function mr(t, i) {
37
+ return t === "all" ? i.length > 0 : i.some((l) => (t == null ? void 0 : t.has(l)) ?? !1);
38
38
  }
39
- function mr(t) {
39
+ function Nr(t) {
40
40
  if (t)
41
- return (a) => {
42
- t(a === "all" ? "all" : new Set([...a].map(String)));
41
+ return (i) => {
42
+ t(i === "all" ? "all" : new Set([...i].map(String)));
43
43
  };
44
44
  }
45
- function Nr(t) {
46
- var a;
47
- return t != null && t.length ? t.length > 1 ? !0 : ((a = t[0]) == null ? void 0 : a.key) !== pr : !1;
45
+ function kr(t) {
46
+ var i;
47
+ return t != null && t.length ? t.length > 1 ? !0 : ((i = t[0]) == null ? void 0 : i.key) !== pr : !1;
48
48
  }
49
- function at(t, a, l) {
50
- return l ? ot(l, a ?? /* @__PURE__ */ new Map()) : (a == null ? void 0 : a.get(t)) ?? "left";
49
+ function lt(t, i, l) {
50
+ return l ? dt(l, i ?? /* @__PURE__ */ new Map()) : (i == null ? void 0 : i.get(t)) ?? "left";
51
51
  }
52
- const Oe = "300px", Te = (t) => {
52
+ const Le = "300px", Te = (t) => {
53
53
  if (!t) return 0;
54
- const a = t.match(/^(\d+(?:\.\d+)?)px$/);
55
- return a ? Number(a[1]) : 0;
56
- }, G = (t) => !!(t.maxWidth && t.sticky === "right"), kr = (t) => ({
57
- maxWidth: t.maxWidth ?? Oe,
58
- minWidth: t.minWidth
59
- }), lt = (t) => G(t) && t.maxWidth ? {
60
- minWidth: t.maxWidth,
61
- width: t.maxWidth,
62
- maxWidth: t.maxWidth
63
- } : {
64
- minWidth: t.minWidth,
65
- maxWidth: t.maxWidth ?? Oe
66
- }, Mr = Bt(
54
+ const i = t.match(/^(\d+(?:\.\d+)?)px$/);
55
+ return i ? Number(i[1]) : 0;
56
+ }, X = (t) => !!t.width || !!(t.maxWidth && t.sticky === "right"), Oe = (t) => t.width ?? (t.maxWidth && t.sticky === "right" ? t.maxWidth : void 0), Cr = (t) => ({
57
+ width: t.width,
58
+ maxWidth: t.maxWidth ?? Le,
59
+ minWidth: t.minWidth ?? t.width
60
+ }), ot = (t) => {
61
+ const i = Oe(t);
62
+ return i ? {
63
+ minWidth: i,
64
+ width: i,
65
+ maxWidth: t.maxWidth ?? i
66
+ } : {
67
+ minWidth: t.minWidth,
68
+ maxWidth: t.maxWidth ?? Le
69
+ };
70
+ }, Dr = Jt(
67
71
  function({
68
- data: a,
72
+ data: i,
69
73
  columns: l,
70
- renderRowCell: Le,
74
+ renderRowCell: ze,
71
75
  onRowClick: Y,
72
76
  onRowHover: O,
73
- arialabel: dt,
74
- size: ze = "sm",
75
- allowDefaultRowClass: ct = !1,
76
- centeredHeaders: ft = [],
77
- rootClassName: ht,
78
- removeBorders: Ae,
79
- headerClassName: ut,
80
- isRowExpandable: Ge,
81
- renderExpandedContent: yt,
77
+ arialabel: ct,
78
+ size: Ae = "sm",
79
+ allowDefaultRowClass: ft = !1,
80
+ centeredHeaders: ht = [],
81
+ rootClassName: ut,
82
+ removeBorders: Ge,
83
+ headerClassName: yt,
84
+ isRowExpandable: $e,
85
+ renderExpandedContent: wt,
82
86
  loading: P = !1,
83
- loadingRowCount: $e = yr,
87
+ loadingRowCount: je = wr,
84
88
  renderHeaderCell: ce,
85
89
  tableClassName: pt,
86
90
  getRowClassName: fe,
87
- selectionMode: $ = "none",
91
+ selectionMode: G = "none",
88
92
  selectedKeys: k,
89
- onSelectionChange: w,
93
+ onSelectionChange: p,
90
94
  inlineSelection: he = !1,
91
95
  toolbar: h,
92
- showToolbar: wt,
93
- toolbarTitle: je,
94
- toolbarTrailing: Fe,
96
+ showToolbar: xt,
97
+ toolbarTitle: Fe,
98
+ toolbarTrailing: Me,
95
99
  disableExtendedTools: ue,
96
100
  pagination: x,
97
101
  showBorders: H,
98
- emptyState: Me,
102
+ emptyState: De,
99
103
  editChrome: v,
100
- showEditActions: xt = !1,
101
- searchCollapsible: De,
102
- isEditable: gt,
104
+ showEditActions: gt = !1,
105
+ searchCollapsible: Ue,
106
+ isEditable: bt,
103
107
  toolbarSlot: ye,
104
- rowHeightClass: Ue,
108
+ rowHeightClass: qe,
105
109
  groupedData: L,
106
- showSummaryFooter: bt,
107
- summaryFooterProps: pe,
110
+ showSummaryFooter: mt,
111
+ summaryFooterProps: we,
108
112
  bulkActionBar: Q,
109
113
  renderBulkActionBar: Z,
110
114
  onBulkDuplicate: K,
@@ -112,79 +116,79 @@ const Oe = "300px", Te = (t) => {
112
116
  bulkActionBusy: te,
113
117
  columnAlignments: z,
114
118
  onColumnHeaderAction: re,
115
- showColumnHeaderMenu: mt,
116
- columnMenuCapabilities: Nt,
117
- renderGroupHeader: qe,
118
- columnMenuSchema: j,
119
- columnSchema: F,
120
- labelMeta: kt,
121
- renderColumnHeaderMenuExtraItems: Ct,
122
- fillWidth: p = !1,
123
- rowActions: we,
119
+ showColumnHeaderMenu: Nt,
120
+ columnMenuCapabilities: kt,
121
+ renderGroupHeader: Be,
122
+ columnMenuSchema: $,
123
+ columnSchema: j,
124
+ labelMeta: Ct,
125
+ renderColumnHeaderMenuExtraItems: St,
126
+ fillWidth: w = !1,
127
+ rowActions: pe,
124
128
  onCellActivate: xe
125
- }, M) {
126
- const [ne, St] = J(
129
+ }, F) {
130
+ const [ne, vt] = B(
127
131
  () => /* @__PURE__ */ new Set()
128
- ), [vt, Wt] = J(
132
+ ), [Wt, Rt] = B(
129
133
  null
130
- ), [b, ge] = J(null), [A, Rt] = J(null), ie = $ === "single" || $ === "multiple", be = !!we, W = ie && !he, me = Nr(L), It = u(() => j != null && j.length ? new Map(j.map((e) => [e.key, e])) : /* @__PURE__ */ new Map(), [j]), Be = u(() => F != null && F.length ? new Map(F.map((e) => [e.value, e])) : /* @__PURE__ */ new Map(), [F]), se = u(
134
+ ), [b, ge] = B(null), [A, It] = B(null), ie = G === "single" || G === "multiple", be = !!pe, W = ie && !he, me = kr(L), _t = u(() => $ != null && $.length ? new Map($.map((e) => [e.key, e])) : /* @__PURE__ */ new Map(), [$]), Je = u(() => j != null && j.length ? new Map(j.map((e) => [e.value, e])) : /* @__PURE__ */ new Map(), [j]), se = u(
131
135
  () => l.map((e) => e.key),
132
136
  [l]
133
- ), _t = V((e) => {
134
- St((r) => {
137
+ ), Et = J((e) => {
138
+ vt((r) => {
135
139
  const n = new Set(r);
136
140
  return n.has(e) ? n.delete(e) : n.add(e), n;
137
141
  });
138
- }, []), ae = u(() => P ? Array.from({ length: $e }, (e, r) => ({
142
+ }, []), ae = u(() => P ? Array.from({ length: je }, (e, r) => ({
139
143
  id: `loading-${r}`
140
- })) : a.map((e) => {
144
+ })) : i.map((e) => {
141
145
  const r = e;
142
146
  if (r.__rowId != null)
143
147
  return r;
144
- const n = X(r);
148
+ const n = V(r);
145
149
  return r.id != null && String(r.id) === n ? r : { ...r, id: n };
146
- }), [P, a, $e]), g = u(() => P ? [] : me && L ? L.flatMap(
147
- (e) => ne.has(e.key) ? [] : e.rows.map((r) => X(r))
148
- ) : ae.map((e) => X(e)), [P, me, L, ne, ae]), Ne = u(
149
- () => st(k, g),
150
+ }), [P, i, je]), g = u(() => P ? [] : me && L ? L.flatMap(
151
+ (e) => ne.has(e.key) ? [] : e.rows.map((r) => V(r))
152
+ ) : ae.map((e) => V(e)), [P, me, L, ne, ae]), Ne = u(
153
+ () => at(k, g),
150
154
  [k, g]
151
- ), ke = xr(k, g), Ce = ke > 0, Je = Ce && !!(Q ?? Z ?? K ?? ee), D = u(() => {
155
+ ), ke = gr(k, g), Ce = ke > 0, Ve = Ce && !!(Q ?? Z ?? K ?? ee), M = u(() => {
152
156
  if (!Ce) return;
153
- const e = a.filter(
154
- (r) => Ne.has(X(r))
157
+ const e = i.filter(
158
+ (r) => Ne.has(V(r))
155
159
  );
156
160
  return {
157
161
  selectedKeys: Ne,
158
162
  selectedRows: e,
159
- clearSelection: () => w == null ? void 0 : w(/* @__PURE__ */ new Set()),
163
+ clearSelection: () => p == null ? void 0 : p(/* @__PURE__ */ new Set()),
160
164
  busy: te
161
165
  };
162
166
  }, [
163
167
  Ce,
164
168
  Ne,
165
- a,
166
- w,
169
+ i,
170
+ p,
167
171
  te
168
- ]), Ve = u(() => {
172
+ ]), Xe = u(() => {
169
173
  if (ye != null) return ye;
170
- if (Je) {
174
+ if (Ve) {
171
175
  if (Q != null) return Q;
172
- if (Z && D)
173
- return Z(D);
174
- if (D && (K || ee))
175
- return /* @__PURE__ */ i(
176
- ar,
176
+ if (Z && M)
177
+ return Z(M);
178
+ if (M && (K || ee))
179
+ return /* @__PURE__ */ s(
180
+ lr,
177
181
  {
178
182
  count: ke,
179
183
  onDuplicate: K,
180
184
  onDelete: ee,
181
- onClearSelection: D.clearSelection,
185
+ onClearSelection: M.clearSelection,
182
186
  busy: te
183
187
  }
184
188
  );
185
189
  }
186
- return h ? /* @__PURE__ */ i(
187
- lr,
190
+ return h ? /* @__PURE__ */ s(
191
+ or,
188
192
  {
189
193
  sort: h.sort,
190
194
  filter: h.filter,
@@ -196,9 +200,9 @@ const Oe = "300px", Te = (t) => {
196
200
  summary: h.summary,
197
201
  sortContent: h.sortContent,
198
202
  filterContent: h.filterContent,
199
- fallbackTitle: je,
200
- trailing: Fe,
201
- searchCollapsible: De,
203
+ fallbackTitle: Fe,
204
+ trailing: Me,
205
+ searchCollapsible: Ue,
202
206
  disableExtendedTools: ue,
203
207
  undoRedo: h.undoRedo ? {
204
208
  ...h.undoRedo,
@@ -208,32 +212,32 @@ const Oe = "300px", Te = (t) => {
208
212
  ) : null;
209
213
  }, [
210
214
  ye,
211
- Je,
215
+ Ve,
212
216
  Q,
213
217
  Z,
214
- D,
218
+ M,
215
219
  K,
216
220
  ee,
217
221
  te,
218
222
  ke,
219
223
  h,
220
- je,
221
224
  Fe,
222
- De,
225
+ Me,
226
+ Ue,
223
227
  ue
224
- ]), Xe = Ve != null && wt !== !1, Ye = !!x && (x == null ? void 0 : x.showPagination) !== !1, Et = Xe || Ye, He = !P && a.length === 0 && Me != null, m = !!(xt && v), Se = !!(v != null && v.showFooterRow), T = gt ?? (m || Se || be), Pt = He && !(Se && v), U = l.length + (W ? 1 : 0) + (m ? 1 : 0), Tt = !!(bt && pe), y = H ? "border-r border-secondary last:border-r-0" : void 0, I = u(() => {
225
- if (!p) return null;
228
+ ]), Ye = Xe != null && xt !== !1, He = !!x && (x == null ? void 0 : x.showPagination) !== !1, Pt = Ye || He, Qe = !P && i.length === 0 && De != null, m = !!(gt && v), Se = !!(v != null && v.showFooterRow), T = bt ?? (m || Se || be), Tt = Qe && !(Se && v), D = l.length + (W ? 1 : 0) + (m ? 1 : 0), Ot = !!(mt && we), y = H ? "border-r border-secondary last:border-r-0" : void 0, I = u(() => {
229
+ if (!w) return null;
226
230
  const e = l.reduce(
227
- (s, f) => G(f) ? s + Te(f.maxWidth) : s,
231
+ (a, f) => X(f) ? a + Te(Oe(f)) : a,
228
232
  0
229
233
  );
230
234
  return { minTableWidth: l.filter(
231
- (s) => !G(s)
235
+ (a) => !X(a)
232
236
  ).reduce(
233
- (s, f) => s + Te(f.minWidth),
237
+ (a, f) => a + Te(f.minWidth),
234
238
  0
235
239
  ) + e };
236
- }, [l, p]), Ot = u(() => {
240
+ }, [l, w]), Lt = u(() => {
237
241
  const e = /* @__PURE__ */ new Map();
238
242
  return re && l.forEach((r) => {
239
243
  e.set(
@@ -241,26 +245,26 @@ const Oe = "300px", Te = (t) => {
241
245
  (n) => re(r.key, n)
242
246
  );
243
247
  }), e;
244
- }, [l, re]), R = Jt(null), [q, Qe] = J(null), ve = V(
248
+ }, [l, re]), R = Vt(null), [U, Ze] = B(null), ve = J(
245
249
  (e, r, n) => {
246
250
  var f;
247
- let s = n ?? null;
248
- if (s == null) {
249
- const N = (f = er(
251
+ let a = n ?? null;
252
+ if (a == null) {
253
+ const N = (f = tr(
250
254
  R.current,
251
255
  e,
252
256
  r
253
257
  )) == null ? void 0 : f.getAttribute("data-grid-source-index"), _ = N != null && N !== "" ? Number(N) : NaN;
254
- s = Number.isNaN(_) ? null : _;
258
+ a = Number.isNaN(_) ? null : _;
255
259
  }
256
- ge({ rowId: e, columnKey: r, sourceIndex: s });
260
+ ge({ rowId: e, columnKey: r, sourceIndex: a });
257
261
  },
258
262
  []
259
- ), Lt = V(
263
+ ), zt = J(
260
264
  (e) => {
261
265
  var le, oe, de;
262
- const r = e.key in it;
263
- if (e.key !== "Enter" && e.key !== "Tab" && e.key !== "Escape" && !r || tr(e.target)) return;
266
+ const r = e.key in st;
267
+ if (e.key !== "Enter" && e.key !== "Tab" && e.key !== "Escape" && !r || rr(e.target)) return;
264
268
  if (e.key === "Escape") {
265
269
  if (!b) return;
266
270
  e.preventDefault(), e.stopPropagation(), ge(null), (le = R.current) != null && le.contains(document.activeElement) && document.activeElement.blur();
@@ -269,10 +273,10 @@ const Oe = "300px", Te = (t) => {
269
273
  const n = (de = (oe = e.target).closest) == null ? void 0 : de.call(
270
274
  oe,
271
275
  "[data-grid-cell]"
272
- ), s = n == null ? void 0 : n.getAttribute("data-grid-row-id"), f = n == null ? void 0 : n.getAttribute("data-grid-col-key"), N = n == null ? void 0 : n.getAttribute(
276
+ ), a = n == null ? void 0 : n.getAttribute("data-grid-row-id"), f = n == null ? void 0 : n.getAttribute("data-grid-col-key"), N = n == null ? void 0 : n.getAttribute(
273
277
  "data-grid-source-index"
274
- ), _ = N != null && N !== "" ? Number(N) : NaN, o = Number.isNaN(_) ? null : _, C = b ?? (s && f ? {
275
- rowId: s,
278
+ ), _ = N != null && N !== "" ? Number(N) : NaN, o = Number.isNaN(_) ? null : _, C = b ?? (a && f ? {
279
+ rowId: a,
276
280
  columnKey: f,
277
281
  sourceIndex: o
278
282
  } : null);
@@ -286,14 +290,14 @@ const Oe = "300px", Te = (t) => {
286
290
  });
287
291
  return;
288
292
  }
289
- const E = r ? rr(
293
+ const E = r ? nr(
290
294
  R.current,
291
295
  g,
292
296
  se,
293
297
  C.rowId,
294
298
  C.columnKey,
295
- it[e.key]
296
- ) : nr(
299
+ st[e.key]
300
+ ) : ir(
297
301
  R.current,
298
302
  g,
299
303
  se,
@@ -306,7 +310,7 @@ const Oe = "300px", Te = (t) => {
306
310
  return;
307
311
  }
308
312
  e.preventDefault(), e.stopPropagation(), ve(E.rowId, E.columnKey, E.sourceIndex), requestAnimationFrame(
309
- () => ir(
313
+ () => sr(
310
314
  R.current,
311
315
  E.rowId,
312
316
  E.columnKey
@@ -315,7 +319,7 @@ const Oe = "300px", Te = (t) => {
315
319
  },
316
320
  [b, g, se, xe, ve]
317
321
  );
318
- Vt(() => {
322
+ Xt(() => {
319
323
  if (!T || !b) return;
320
324
  const e = (r) => {
321
325
  const n = R.current;
@@ -323,32 +327,32 @@ const Oe = "300px", Te = (t) => {
323
327
  };
324
328
  return document.addEventListener("pointerdown", e, !0), () => document.removeEventListener("pointerdown", e, !0);
325
329
  }, [T, b]);
326
- const Ze = u(() => {
330
+ const Ke = u(() => {
327
331
  let e = 0;
328
332
  return W && (e += 40), m && (e += 56), l.forEach((r) => {
329
- G(r) && (e += Te(r.maxWidth));
333
+ X(r) && (e += Te(Oe(r)));
330
334
  }), e;
331
335
  }, [l, m, W]), We = u(
332
- () => l.filter((e) => !G(e)).length,
336
+ () => l.filter((e) => !X(e)).length,
333
337
  [l]
334
338
  ), Re = u(() => {
335
- if (!p || !I) return null;
339
+ if (!w || !I) return null;
336
340
  const { minTableWidth: e } = I;
337
- return q ? Math.max(q, e) : e;
338
- }, [q, p, I]), Ie = !!(p && I && q && q < I.minTableWidth), _e = u(() => !Re || We === 0 ? null : Math.max(
341
+ return U ? Math.max(U, e) : e;
342
+ }, [U, w, I]), Ie = !!(w && I && U && U < I.minTableWidth), _e = u(() => !Re || We === 0 ? null : Math.max(
339
343
  0,
340
- (Re - Ze) / We
341
- ), [Re, Ze, We]);
342
- Xt(() => {
343
- if (!p) {
344
- Qe(null);
344
+ (Re - Ke) / We
345
+ ), [Re, Ke, We]);
346
+ Yt(() => {
347
+ if (!w) {
348
+ Ze(null);
345
349
  return;
346
350
  }
347
351
  const e = R.current;
348
352
  if (!e) return;
349
353
  const r = () => {
350
- const s = e.clientWidth;
351
- s > 0 && Qe((f) => f === s ? f : s);
354
+ const a = e.clientWidth;
355
+ a > 0 && Ze((f) => f === a ? f : a);
352
356
  };
353
357
  r();
354
358
  const n = new ResizeObserver(r);
@@ -357,21 +361,21 @@ const Oe = "300px", Te = (t) => {
357
361
  };
358
362
  }, [
359
363
  l.length,
360
- a.length,
361
- p,
364
+ i.length,
365
+ w,
362
366
  P,
363
367
  m,
364
368
  W
365
369
  ]);
366
- const Ee = V(
367
- (e) => p ? G(e) && e.maxWidth ? lt(e) : _e != null ? {
370
+ const Ee = J(
371
+ (e) => w ? X(e) ? ot(e) : _e != null ? {
368
372
  width: `${_e}px`,
369
373
  minWidth: e.minWidth,
370
- maxWidth: e.maxWidth ?? Oe
371
- } : lt(e) : kr(e),
372
- [p, _e]
373
- ), zt = u(() => {
374
- if (!(!p || !I))
374
+ maxWidth: e.maxWidth ?? Le
375
+ } : ot(e) : Cr(e),
376
+ [w, _e]
377
+ ), At = u(() => {
378
+ if (!(!w || !I))
375
379
  return Ie ? {
376
380
  width: `${I.minTableWidth}px`,
377
381
  tableLayout: "fixed"
@@ -379,66 +383,66 @@ const Oe = "300px", Te = (t) => {
379
383
  width: "100%",
380
384
  tableLayout: "fixed"
381
385
  };
382
- }, [p, I, Ie]), At = V(
386
+ }, [w, I, Ie]), Gt = J(
383
387
  (e) => {
384
- R.current = e, typeof M == "function" ? M(e) : M && (M.current = e);
388
+ R.current = e, typeof F == "function" ? F(e) : F && (F.current = e);
385
389
  },
386
- [M]
387
- ), Gt = ie ? {
388
- selectionMode: $,
390
+ [F]
391
+ ), $t = ie ? {
392
+ selectionMode: G,
389
393
  selectedKeys: k === "all" ? "all" : k,
390
- onSelectionChange: mr(w)
391
- } : {}, $t = (e) => {
394
+ onSelectionChange: Nr(p)
395
+ } : {}, jt = (e) => {
392
396
  const r = e.__sourceIndex;
393
397
  return typeof r == "number" ? r : 0;
394
- }, Pe = ie && gr(k, g), jt = ie && br(k, g), Ft = () => {
395
- if (w) {
398
+ }, Pe = ie && br(k, g), Ft = ie && mr(k, g), Mt = () => {
399
+ if (p) {
396
400
  if (Pe) {
397
- w(/* @__PURE__ */ new Set());
401
+ p(/* @__PURE__ */ new Set());
398
402
  return;
399
403
  }
400
- w("all");
404
+ p("all");
401
405
  }
402
- }, Mt = (e, r) => {
403
- if (!w) return;
404
- if ($ === "single") {
405
- w(r ? /* @__PURE__ */ new Set([e]) : /* @__PURE__ */ new Set());
406
+ }, Dt = (e, r) => {
407
+ if (!p) return;
408
+ if (G === "single") {
409
+ p(r ? /* @__PURE__ */ new Set([e]) : /* @__PURE__ */ new Set());
406
410
  return;
407
411
  }
408
- const n = k === "all" ? new Set(g) : new Set(st(k, g));
409
- r ? n.add(e) : n.delete(e), w(n);
410
- }, Dt = (e) => {
412
+ const n = k === "all" ? new Set(g) : new Set(at(k, g));
413
+ r ? n.add(e) : n.delete(e), p(n);
414
+ }, Ut = (e) => {
411
415
  const r = ne.has(e.key);
412
- return qe ? /* @__PURE__ */ i(
416
+ return Be ? /* @__PURE__ */ s(
413
417
  d.Row,
414
418
  {
415
419
  id: `group-${e.key}`,
416
420
  highlightSelectedRow: !1,
417
421
  className: "bg-secondary_subtle hover:bg-secondary_subtle",
418
- children: /* @__PURE__ */ i(d.Cell, { colSpan: U, className: c(y), children: qe(e) })
422
+ children: /* @__PURE__ */ s(d.Cell, { colSpan: D, className: c(y), children: Be(e) })
419
423
  },
420
424
  `group-${e.key}`
421
- ) : /* @__PURE__ */ i(
425
+ ) : /* @__PURE__ */ s(
422
426
  d.Row,
423
427
  {
424
428
  id: `group-${e.key}`,
425
429
  highlightSelectedRow: !1,
426
430
  className: "bg-secondary_subtle hover:bg-secondary_subtle",
427
- children: /* @__PURE__ */ i(
431
+ children: /* @__PURE__ */ s(
428
432
  d.Cell,
429
433
  {
430
- colSpan: U,
434
+ colSpan: D,
431
435
  className: c("py-1.5", y),
432
436
  children: /* @__PURE__ */ S(
433
437
  "button",
434
438
  {
435
439
  type: "button",
436
440
  className: "flex w-full items-center gap-2 px-2 text-left text-xs font-medium text-secondary",
437
- onClick: () => _t(e.key),
441
+ onClick: () => Et(e.key),
438
442
  "aria-expanded": !r,
439
443
  children: [
440
- /* @__PURE__ */ i(
441
- Yt,
444
+ /* @__PURE__ */ s(
445
+ Ht,
442
446
  {
443
447
  className: c(
444
448
  "size-4 shrink-0 text-fg-quaternary transition-transform",
@@ -446,7 +450,7 @@ const Oe = "300px", Te = (t) => {
446
450
  )
447
451
  }
448
452
  ),
449
- /* @__PURE__ */ i("span", { className: "truncate", children: e.label || "(Empty)" }),
453
+ /* @__PURE__ */ s("span", { className: "truncate", children: e.label || "(Empty)" }),
450
454
  /* @__PURE__ */ S("span", { className: "text-tertiary", children: [
451
455
  "(",
452
456
  e.rows.length,
@@ -460,48 +464,48 @@ const Oe = "300px", Te = (t) => {
460
464
  },
461
465
  `group-${e.key}`
462
466
  );
463
- }, Ke = (e, r) => {
464
- const n = Ge ? Ge(e) : !1, s = X(e), f = $t(e), N = wr(k, s, g), _ = vt === s;
467
+ }, et = (e, r) => {
468
+ const n = $e ? $e(e) : !1, a = V(e), f = jt(e), N = xr(k, a, g), _ = Wt === a;
465
469
  return /* @__PURE__ */ S(
466
470
  d.Row,
467
471
  {
468
472
  onAction: () => Y == null ? void 0 : Y(e),
469
473
  onMouseEnter: () => O == null ? void 0 : O(e, !0),
470
474
  onMouseLeave: () => O == null ? void 0 : O(e, !1),
471
- id: s,
475
+ id: a,
472
476
  value: e,
473
477
  columns: l,
474
- expandedColSpan: U,
478
+ expandedColSpan: D,
475
479
  isExpandable: n,
476
480
  highlightSelectedRow: !he,
477
- renderExpandedContent: n ? yt : void 0,
481
+ renderExpandedContent: n ? wt : void 0,
478
482
  className: c(
479
483
  Y && "cursor-pointer",
480
- ct ? "prose" : "",
481
- Ae && "[&>td]:after:hidden",
484
+ ft ? "prose" : "",
485
+ Ge && "[&>td]:after:hidden",
482
486
  be && "group/rowactions",
483
487
  _ && "bg-utility-brand-25 hover:bg-utility-brand-25",
484
- Ue,
488
+ qe,
485
489
  fe == null ? void 0 : fe(e)
486
490
  ),
487
491
  children: [
488
- W && /* @__PURE__ */ i(
492
+ W && /* @__PURE__ */ s(
489
493
  d.Cell,
490
494
  {
491
495
  className: c("relative w-10 text-center", y),
492
496
  style: { minWidth: "40px", width: "40px" },
493
- children: /* @__PURE__ */ i(
497
+ children: /* @__PURE__ */ s(
494
498
  "div",
495
499
  {
496
500
  className: "flex items-center justify-center",
497
501
  onClick: (o) => o.stopPropagation(),
498
502
  onKeyDown: (o) => o.stopPropagation(),
499
- children: /* @__PURE__ */ i(
500
- nt,
503
+ children: /* @__PURE__ */ s(
504
+ it,
501
505
  {
502
506
  checked: N,
503
- onCheckedChange: (o) => Mt(s, o === !0),
504
- "aria-label": `Select row ${s}`,
507
+ onCheckedChange: (o) => Dt(a, o === !0),
508
+ "aria-label": `Select row ${a}`,
505
509
  className: "items-center justify-center"
506
510
  }
507
511
  )
@@ -510,19 +514,19 @@ const Oe = "300px", Te = (t) => {
510
514
  }
511
515
  ),
512
516
  l.map((o, C) => {
513
- const E = Be.get(o.key), le = at(
517
+ const E = Je.get(o.key), le = lt(
514
518
  o.key,
515
519
  z,
516
520
  E
517
- ), oe = (A == null ? void 0 : A.rowId) === s && (A == null ? void 0 : A.columnKey) === o.key, de = T && !oe && (b == null ? void 0 : b.rowId) === s && (b == null ? void 0 : b.columnKey) === o.key;
518
- return /* @__PURE__ */ i(
521
+ ), oe = (A == null ? void 0 : A.rowId) === a && (A == null ? void 0 : A.columnKey) === o.key, de = T && !oe && (b == null ? void 0 : b.rowId) === a && (b == null ? void 0 : b.columnKey) === o.key;
522
+ return /* @__PURE__ */ s(
519
523
  d.Cell,
520
524
  {
521
525
  sticky: o.sticky,
522
526
  stickyOffset: o.stickyOffset,
523
527
  style: Ee(o),
524
528
  "data-grid-cell": "",
525
- "data-grid-row-id": s,
529
+ "data-grid-row-id": a,
526
530
  "data-grid-col-key": o.key,
527
531
  "data-grid-source-index": f,
528
532
  className: c(
@@ -533,54 +537,54 @@ const Oe = "300px", Te = (t) => {
533
537
  // border pseudo-element so it doesn't overlap the ring's bottom edge.
534
538
  de && "z-1 outline-hidden ring-2 ring-inset ring-brand after:opacity-0",
535
539
  o.cellClassName,
536
- Kt(le),
540
+ er(le),
537
541
  y
538
542
  ),
539
543
  children: (() => {
540
- const rt = C === 0 && (n || be) ? /* @__PURE__ */ S("div", { className: "flex items-center", children: [
541
- we && /* @__PURE__ */ i(
544
+ const nt = C === 0 && (n || be) ? /* @__PURE__ */ S("div", { className: "flex items-center", children: [
545
+ pe && /* @__PURE__ */ s(
542
546
  "div",
543
547
  {
544
548
  className: "flex items-center justify-center",
545
- onClick: (B) => B.stopPropagation(),
546
- onKeyDown: (B) => B.stopPropagation(),
547
- children: /* @__PURE__ */ i(
548
- fr,
549
+ onClick: (q) => q.stopPropagation(),
550
+ onKeyDown: (q) => q.stopPropagation(),
551
+ children: /* @__PURE__ */ s(
552
+ hr,
549
553
  {
550
- config: we,
554
+ config: pe,
551
555
  sourceRowIndex: f,
552
556
  item: e,
553
557
  triggerClassName: c(
554
558
  "transition-opacity group-hover/rowactions:opacity-100 focus-visible:opacity-100",
555
559
  _ ? "opacity-100" : "opacity-0"
556
560
  ),
557
- onOpenChange: (B) => Wt(B ? s : null)
561
+ onOpenChange: (q) => Rt(q ? a : null)
558
562
  }
559
563
  )
560
564
  }
561
565
  ),
562
- /* @__PURE__ */ i("div", { className: "flex-1 min-w-0", children: Le(o.key, e[o.key], e) })
563
- ] }) : Le(o.key, e[o.key], e);
564
- return T ? /* @__PURE__ */ i(
566
+ /* @__PURE__ */ s("div", { className: "flex-1 min-w-0", children: ze(o.key, e[o.key], e) })
567
+ ] }) : ze(o.key, e[o.key], e);
568
+ return T ? /* @__PURE__ */ s(
565
569
  "div",
566
570
  {
567
571
  "data-grid-focus": !0,
568
572
  tabIndex: -1,
569
573
  className: "outline-hidden",
570
- children: rt
574
+ children: nt
571
575
  }
572
- ) : rt;
576
+ ) : nt;
573
577
  })()
574
578
  },
575
579
  o.key
576
580
  );
577
581
  }),
578
- m && v && /* @__PURE__ */ i(
582
+ m && v && /* @__PURE__ */ s(
579
583
  d.Cell,
580
584
  {
581
585
  className: c("relative w-14 text-center", y),
582
586
  style: { minWidth: "56px", width: "56px" },
583
- children: /* @__PURE__ */ i(
587
+ children: /* @__PURE__ */ s(
584
588
  "button",
585
589
  {
586
590
  type: "button",
@@ -590,30 +594,30 @@ const Oe = "300px", Te = (t) => {
590
594
  onClick: (o) => {
591
595
  o.stopPropagation(), v.onDeleteRow(f);
592
596
  },
593
- children: /* @__PURE__ */ i(hr, { name: "Trash02", className: "size-3" })
597
+ children: /* @__PURE__ */ s(ur, { name: "Trash02", className: "size-3" })
594
598
  }
595
599
  )
596
600
  }
597
601
  )
598
602
  ]
599
603
  },
600
- s
604
+ a
601
605
  );
602
- }, Ut = (e) => /* @__PURE__ */ S(
606
+ }, qt = (e) => /* @__PURE__ */ S(
603
607
  d.Row,
604
608
  {
605
609
  id: String(e.id),
606
610
  isExpandable: !1,
607
- className: c(Ae && "[&>td]:after:hidden", Ue),
611
+ className: c(Ge && "[&>td]:after:hidden", qe),
608
612
  children: [
609
- W && /* @__PURE__ */ i(
613
+ W && /* @__PURE__ */ s(
610
614
  d.Cell,
611
615
  {
612
616
  className: c("relative w-10", y),
613
617
  style: { minWidth: "40px", width: "40px" }
614
618
  }
615
619
  ),
616
- l.map((r) => /* @__PURE__ */ i(
620
+ l.map((r) => /* @__PURE__ */ s(
617
621
  d.Cell,
618
622
  {
619
623
  sticky: r.sticky,
@@ -624,11 +628,11 @@ const Oe = "300px", Te = (t) => {
624
628
  r.cellClassName,
625
629
  y
626
630
  ),
627
- children: /* @__PURE__ */ i(ur, { height: "14px", width: "75%", className: "rounded" })
631
+ children: /* @__PURE__ */ s(yr, { height: "14px", width: "75%", className: "rounded" })
628
632
  },
629
633
  r.key
630
634
  )),
631
- m && /* @__PURE__ */ i(
635
+ m && /* @__PURE__ */ s(
632
636
  d.Cell,
633
637
  {
634
638
  className: c("w-14", y),
@@ -638,35 +642,35 @@ const Oe = "300px", Te = (t) => {
638
642
  ]
639
643
  },
640
644
  String(e.id)
641
- ), qt = () => P ? ae.map((e) => Ut(e)) : me && L ? L.flatMap((e) => {
645
+ ), Bt = () => P ? ae.map((e) => qt(e)) : me && L ? L.flatMap((e) => {
642
646
  const r = ne.has(e.key);
643
647
  return [
644
- Dt(e),
645
- ...r ? [] : e.rows.map((n) => Ke(n))
648
+ Ut(e),
649
+ ...r ? [] : e.rows.map((n) => et(n))
646
650
  ];
647
- }) : ae.map((e) => Ke(e)), et = /* @__PURE__ */ i(
648
- Ht.Root,
651
+ }) : ae.map((e) => et(e)), tt = /* @__PURE__ */ s(
652
+ Qt.Root,
649
653
  {
650
- ref: At,
651
- onKeyDownCapture: T ? Lt : void 0,
654
+ ref: Gt,
655
+ onKeyDownCapture: T ? zt : void 0,
652
656
  className: c(
653
657
  "w-full",
654
- !p || Ie ? "overflow-x-auto" : "overflow-x-hidden",
658
+ !w || Ie ? "overflow-x-auto" : "overflow-x-hidden",
655
659
  H && "border border-secondary rounded-xl",
656
660
  "[&_tr:hover>td]:!bg-secondary_subtle",
657
- ht
661
+ ut
658
662
  ),
659
- size: ze,
663
+ size: Ae,
660
664
  children: /* @__PURE__ */ S(
661
665
  d,
662
666
  {
663
- "aria-label": dt,
664
- size: ze,
667
+ "aria-label": ct,
668
+ size: Ae,
665
669
  isEditable: T,
666
670
  inlineSelection: he,
667
- className: c(p && "min-w-full", pt),
668
- style: zt,
669
- ...Gt,
671
+ className: c(w && "min-w-full", pt),
672
+ style: At,
673
+ ...$t,
670
674
  children: [
671
675
  /* @__PURE__ */ S(
672
676
  d.Header,
@@ -674,10 +678,10 @@ const Oe = "300px", Te = (t) => {
674
678
  className: c(
675
679
  "sticky top-0",
676
680
  H && "[&>tr>th:first-child]:rounded-bl-none [&>tr>th:last-child]:rounded-br-none z-1",
677
- ut
681
+ yt
678
682
  ),
679
683
  children: [
680
- W && /* @__PURE__ */ i(
684
+ W && /* @__PURE__ */ s(
681
685
  d.Head,
682
686
  {
683
687
  label: "",
@@ -686,11 +690,11 @@ const Oe = "300px", Te = (t) => {
686
690
  style: { minWidth: "40px", width: "40px" },
687
691
  className: c(y),
688
692
  headerCellClass: "justify-center",
689
- children: $ === "multiple" && w && /* @__PURE__ */ i("div", { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ i(
690
- nt,
693
+ children: G === "multiple" && p && /* @__PURE__ */ s("div", { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ s(
694
+ it,
691
695
  {
692
- checked: Pe ? !0 : jt && !Pe ? "indeterminate" : !1,
693
- onCheckedChange: () => Ft(),
696
+ checked: Pe ? !0 : Ft && !Pe ? "indeterminate" : !1,
697
+ onCheckedChange: () => Mt(),
694
698
  "aria-label": "Select all rows",
695
699
  className: "items-center justify-center"
696
700
  }
@@ -699,12 +703,12 @@ const Oe = "300px", Te = (t) => {
699
703
  "selection"
700
704
  ),
701
705
  l.map((e, r) => {
702
- const n = mt ? It.get(e.key) : void 0, s = Be.get(e.key), f = at(
706
+ const n = Nt ? _t.get(e.key) : void 0, a = Je.get(e.key), f = lt(
703
707
  e.key,
704
708
  z,
705
- s
706
- ), N = ft.includes(e.key) || f === "center" ? "justify-center" : f === "right" ? "justify-end" : "";
707
- return /* @__PURE__ */ i(
709
+ a
710
+ ), N = ht.includes(e.key) || f === "center" ? "justify-center" : f === "right" ? "justify-end" : "";
711
+ return /* @__PURE__ */ s(
708
712
  d.Head,
709
713
  {
710
714
  sticky: e.sticky,
@@ -720,19 +724,19 @@ const Oe = "300px", Te = (t) => {
720
724
  e.headClassName,
721
725
  y
722
726
  ),
723
- headerAction: n && re ? /* @__PURE__ */ i(
724
- or,
727
+ headerAction: n && re ? /* @__PURE__ */ s(
728
+ dr,
725
729
  {
726
730
  column: n,
727
- columnLabel: n.label ?? (s ? Zt(s, kt) : e.label),
728
- currentAlignment: s ? ot(
729
- s,
731
+ columnLabel: n.label ?? (a ? Kt(a, Ct) : e.label),
732
+ currentAlignment: a ? dt(
733
+ a,
730
734
  z ?? /* @__PURE__ */ new Map()
731
735
  ) : (z == null ? void 0 : z.get(e.key)) ?? "left",
732
- capabilities: Nt,
736
+ capabilities: kt,
733
737
  hideDisabled: l.length <= 1,
734
- onAction: Ot.get(e.key),
735
- renderExtraItems: Ct,
738
+ onAction: Lt.get(e.key),
739
+ renderExtraItems: St,
736
740
  showOnHeaderHover: !0
737
741
  }
738
742
  ) : void 0,
@@ -741,7 +745,7 @@ const Oe = "300px", Te = (t) => {
741
745
  e.key
742
746
  );
743
747
  }),
744
- m && /* @__PURE__ */ i(
748
+ m && /* @__PURE__ */ s(
745
749
  d.Head,
746
750
  {
747
751
  label: "",
@@ -756,21 +760,21 @@ const Oe = "300px", Te = (t) => {
756
760
  }
757
761
  ),
758
762
  /* @__PURE__ */ S(d.Body, { children: [
759
- !He && qt(),
760
- Pt && /* @__PURE__ */ i(
763
+ !Qe && Bt(),
764
+ Tt && /* @__PURE__ */ s(
761
765
  d.Row,
762
766
  {
763
767
  id: "empty-state",
764
768
  highlightSelectedRow: !1,
765
- children: /* @__PURE__ */ i(
769
+ children: /* @__PURE__ */ s(
766
770
  d.Cell,
767
771
  {
768
- colSpan: U,
772
+ colSpan: D,
769
773
  className: c(
770
774
  "text-left text-placeholder_subtle border-b border-secondary py-3",
771
775
  y
772
776
  ),
773
- children: Me
777
+ children: De
774
778
  }
775
779
  )
776
780
  },
@@ -782,13 +786,13 @@ const Oe = "300px", Te = (t) => {
782
786
  id: "add-row-footer",
783
787
  highlightSelectedRow: !1,
784
788
  children: [
785
- /* @__PURE__ */ i(
789
+ /* @__PURE__ */ s(
786
790
  d.Cell,
787
791
  {
788
- colSpan: U - (m ? 1 : 0),
792
+ colSpan: D - (m ? 1 : 0),
789
793
  className: c(y),
790
- children: /* @__PURE__ */ i(
791
- dr,
794
+ children: /* @__PURE__ */ s(
795
+ cr,
792
796
  {
793
797
  color: "tertiary",
794
798
  className: "bg-secondary text-primary",
@@ -799,7 +803,7 @@ const Oe = "300px", Te = (t) => {
799
803
  )
800
804
  }
801
805
  ),
802
- m && /* @__PURE__ */ i(
806
+ m && /* @__PURE__ */ s(
803
807
  d.Cell,
804
808
  {
805
809
  className: c("w-14", y),
@@ -810,10 +814,10 @@ const Oe = "300px", Te = (t) => {
810
814
  },
811
815
  "add-row-footer"
812
816
  ),
813
- Tt && pe && /* @__PURE__ */ i(
814
- cr,
817
+ Ot && we && /* @__PURE__ */ s(
818
+ fr,
815
819
  {
816
- ...pe,
820
+ ...we,
817
821
  hasActionsColumn: m,
818
822
  hasSelectionColumn: W,
819
823
  showBorders: !!H
@@ -824,22 +828,22 @@ const Oe = "300px", Te = (t) => {
824
828
  }
825
829
  )
826
830
  }
827
- ), tt = T ? /* @__PURE__ */ i(
828
- sr,
831
+ ), rt = T ? /* @__PURE__ */ s(
832
+ ar,
829
833
  {
830
834
  rowIds: g,
831
835
  columnKeys: se,
832
836
  containerRef: R,
833
837
  onSelectCell: ve,
834
- onEditingCellChange: Rt,
835
- children: et
838
+ onEditingCellChange: It,
839
+ children: tt
836
840
  }
837
- ) : et;
838
- return Et ? /* @__PURE__ */ S("div", { className: "flex flex-col gap-3", children: [
839
- Xe && Ve,
840
- tt,
841
- Ye && x && /* @__PURE__ */ i(
842
- Qt,
841
+ ) : tt;
842
+ return Pt ? /* @__PURE__ */ S("div", { className: "flex flex-col gap-3", children: [
843
+ Ye && Xe,
844
+ rt,
845
+ He && x && /* @__PURE__ */ s(
846
+ Zt,
843
847
  {
844
848
  currentPage: x.currentPage,
845
849
  pageSize: x.pageSize,
@@ -850,9 +854,9 @@ const Oe = "300px", Te = (t) => {
850
854
  showPagination: x.showPagination
851
855
  }
852
856
  )
853
- ] }) : tt;
857
+ ] }) : rt;
854
858
  }
855
859
  );
856
860
  export {
857
- Mr as TableWrapper
861
+ Dr as TableWrapper
858
862
  };
@@ -71,6 +71,7 @@ export type ColumnConfig = {
71
71
  sticky?: "left" | "right";
72
72
  stickyOffset?: number;
73
73
  allowsSorting?: boolean;
74
+ width?: string;
74
75
  maxWidth?: string;
75
76
  minWidth?: string;
76
77
  headClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC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IAChD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,SAAS,CAAC;IAC5E,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC3C,sEAAsE;IACtE,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IAClG,gCAAgC,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,SAAS,CAAC;CACjF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pibit.ai/cure-design-system",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "CURE Design System - React component library",
5
5
  "author": "Pibit",
6
6
  "license": "MIT",