@versini/ui-table 4.0.18 → 5.0.1

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,27 +1,161 @@
1
- import { jsx as l, jsxs as f } from "react/jsx-runtime";
2
- import { ButtonSort_private as C } from "@versini/ui-button";
3
- import { IconSortUp as w, IconSortDown as v, IconSort as T } from "@versini/ui-icons";
4
- import N, { useContext as m } from "react";
1
+ import { jsxs as y, jsx as l } from "react/jsx-runtime";
2
+ import { ButtonSort_private as v } from "@versini/ui-button";
3
+ import C, { useContext as p } from "react";
5
4
  import o from "clsx";
6
- import { TableCellSortDirections as k } from "../TableConstants/TableConstants.js";
7
- const y = N.createContext({
5
+ import { TableCellSortDirections as x } from "../TableConstants/TableConstants.js";
6
+ const u = ({
7
+ children: t,
8
+ fill: s,
9
+ viewBox: e,
10
+ className: a,
11
+ defaultViewBox: r,
12
+ size: n,
13
+ title: _,
14
+ semantic: i = !1,
15
+ ...c
16
+ }) => {
17
+ const d = o(n, a);
18
+ return /* @__PURE__ */ y(
19
+ "svg",
20
+ {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ className: d,
23
+ viewBox: e || r,
24
+ fill: s || "currentColor",
25
+ role: "img",
26
+ "aria-hidden": !i,
27
+ focusable: !1,
28
+ ...c,
29
+ children: [
30
+ _ && i && /* @__PURE__ */ l("title", { children: _ }),
31
+ t
32
+ ]
33
+ }
34
+ );
35
+ };
36
+ /*!
37
+ @versini/ui-svgicon v4.2.1
38
+ © 2025 gizmette.com
39
+ */
40
+ try {
41
+ window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
42
+ version: "4.2.1",
43
+ buildTime: "08/27/2025 08:27 AM EDT",
44
+ homepage: "https://github.com/aversini/ui-components",
45
+ license: "MIT"
46
+ });
47
+ } catch {
48
+ }
49
+ const N = ({
50
+ className: t,
51
+ viewBox: s,
52
+ title: e,
53
+ monotone: a,
54
+ ...r
55
+ }) => /* @__PURE__ */ y(
56
+ u,
57
+ {
58
+ defaultViewBox: "0 0 576 512",
59
+ size: "size-5",
60
+ viewBox: s,
61
+ className: t,
62
+ title: e || "Sort",
63
+ ...r,
64
+ children: [
65
+ /* @__PURE__ */ l(
66
+ "path",
67
+ {
68
+ d: "M297.4 137.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l41.3-41.4V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0 6.2-6.2 9.4-14.4 9.4-22.6s-3.1-16.4-9.4-22.6l-96-96c-6.3-6.4-14.5-9.5-22.7-9.5s-16.4 3.1-22.6 9.4z",
69
+ opacity: a ? "1" : "0.4"
70
+ }
71
+ ),
72
+ /* @__PURE__ */ l("path", { d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z" })
73
+ ]
74
+ }
75
+ ), T = ({
76
+ className: t,
77
+ viewBox: s,
78
+ title: e,
79
+ monotone: a,
80
+ ...r
81
+ }) => /* @__PURE__ */ y(
82
+ u,
83
+ {
84
+ defaultViewBox: "0 0 576 512",
85
+ size: "size-5",
86
+ viewBox: s,
87
+ className: t,
88
+ title: e || "Sort Down",
89
+ ...r,
90
+ children: [
91
+ /* @__PURE__ */ l(
92
+ "path",
93
+ {
94
+ d: "M288 64c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32",
95
+ opacity: a ? "1" : "0.4"
96
+ }
97
+ ),
98
+ /* @__PURE__ */ l("path", { d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4" })
99
+ ]
100
+ }
101
+ ), S = ({
102
+ className: t,
103
+ viewBox: s,
104
+ title: e,
105
+ monotone: a,
106
+ ...r
107
+ }) => /* @__PURE__ */ y(
108
+ u,
109
+ {
110
+ defaultViewBox: "0 0 576 512",
111
+ size: "size-5",
112
+ viewBox: s,
113
+ className: t,
114
+ title: e || "Sort Up",
115
+ ...r,
116
+ children: [
117
+ /* @__PURE__ */ l(
118
+ "path",
119
+ {
120
+ d: "M288 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32",
121
+ opacity: a ? "1" : "0.4"
122
+ }
123
+ ),
124
+ /* @__PURE__ */ l("path", { d: "M128 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L160 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3l-32.4 35.3c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C110.5 35.8 119 32 128 32" })
125
+ ]
126
+ }
127
+ );
128
+ /*!
129
+ @versini/ui-icons v4.11.0
130
+ © 2025 gizmette.com
131
+ */
132
+ try {
133
+ window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
134
+ version: "4.11.0",
135
+ buildTime: "08/27/2025 08:28 AM EDT",
136
+ homepage: "https://github.com/aversini/ui-components",
137
+ license: "MIT"
138
+ });
139
+ } catch {
140
+ }
141
+ const g = C.createContext({
8
142
  mode: "light",
9
143
  cellWrapper: "thead",
10
144
  stickyHeader: !1,
11
145
  stickyFooter: !1,
12
146
  compact: !1
13
- }), p = "thead", x = "tfoot", h = "tbody", R = ({
147
+ }), k = "thead", w = "tfoot", b = "tbody", B = ({
14
148
  mode: t,
15
- className: a,
149
+ className: s,
16
150
  wrapperClassName: e,
17
- stickyHeader: r,
18
- stickyFooter: s
151
+ stickyHeader: a,
152
+ stickyFooter: r
19
153
  }) => ({
20
154
  wrapper: o(
21
155
  "not-prose relative w-full rounded-lg shadow-md",
22
156
  {
23
- "overflow-x-auto": !r && !s,
24
- "overflow-y-scroll": r || s,
157
+ "overflow-x-auto": !a && !r,
158
+ "overflow-y-scroll": a || r,
25
159
  "bg-surface-darker": t === "dark" || t === "system",
26
160
  "bg-surface-light": t === "light" || t === "alt-system",
27
161
  "dark:bg-surface-light": t === "system",
@@ -33,7 +167,7 @@ const y = N.createContext({
33
167
  },
34
168
  e
35
169
  ),
36
- table: o("my-0 w-full text-left text-sm", a, {
170
+ table: o("my-0 w-full text-left text-sm", s, {
37
171
  "text-copy-light": t === "dark",
38
172
  "text-copy-dark": t === "light",
39
173
  "text-copy-light dark:text-copy-dark": t === "system",
@@ -45,224 +179,224 @@ const y = N.createContext({
45
179
  "text-copy-light dark:text-copy-dark": t === "system",
46
180
  "text-copy-dark dark:text-copy-light": t === "alt-system"
47
181
  })
48
- }), S = ({
182
+ }), E = ({
49
183
  className: t,
50
- stickyHeader: a,
184
+ stickyHeader: s,
51
185
  mode: e
52
186
  }) => o(
53
187
  {
54
- "sticky top-0 z-10": a,
55
- "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && e === "dark",
56
- "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": a && e === "system",
57
- "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": a && e === "light",
58
- "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && e === "alt-system"
188
+ "sticky top-0 z-10": s,
189
+ "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": s && e === "dark",
190
+ "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": s && e === "system",
191
+ "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": s && e === "light",
192
+ "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": s && e === "alt-system"
59
193
  },
60
194
  t
61
- ), E = ({
195
+ ), V = ({
62
196
  className: t,
63
- stickyFooter: a,
197
+ stickyFooter: s,
64
198
  mode: e
65
199
  }) => o(
66
200
  {
67
- "sticky bottom-0 z-10": a,
68
- "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": a && e === "dark",
69
- "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": a && e === "system",
70
- "shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": a && e === "light",
71
- "shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": a && e === "alt-system"
201
+ "sticky bottom-0 z-10": s,
202
+ "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": s && e === "dark",
203
+ "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": s && e === "system",
204
+ "shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": s && e === "light",
205
+ "shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": s && e === "alt-system"
72
206
  },
73
207
  t
74
- ), A = ({
208
+ ), I = ({
75
209
  mode: t,
76
- className: a,
210
+ className: s,
77
211
  cellWrapper: e
78
- }) => e === p || e === x ? o(
212
+ }) => e === k || e === w ? o(
79
213
  {
80
214
  "bg-table-head-dark": t === "dark" || t === "system",
81
215
  "bg-table-head-light": t === "light" || t === "alt-system",
82
216
  "dark:bg-table-head-light": t === "system",
83
217
  "dark:bg-table-head-dark": t === "alt-system"
84
218
  },
85
- a
219
+ s
86
220
  ) : o(
87
221
  "border-b last:border-0",
88
222
  {
89
223
  "border-table-dark": t === "dark" || t === "system",
90
- "odd:bg-table-dark-odd even:bg-table-dark-even": e === h && t === "dark",
224
+ "odd:bg-table-dark-odd even:bg-table-dark-even": e === b && t === "dark",
91
225
  "border-table-light": t === "light" || t === "alt-system",
92
- "odd:bg-table-light-odd even:bg-table-light-even": e === h && t === "light",
226
+ "odd:bg-table-light-odd even:bg-table-light-even": e === b && t === "light",
93
227
  "dark:border-table-light": t === "system",
94
- "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": e === h && t === "system",
228
+ "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": e === b && t === "system",
95
229
  "dark:border-table-dark": t === "alt-system",
96
- "odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": e === h && t === "alt-system"
230
+ "odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": e === b && t === "alt-system"
97
231
  },
98
- a
99
- ), L = ({
232
+ s
233
+ ), R = ({
100
234
  cellWrapper: t,
101
- className: a,
235
+ className: s,
102
236
  compact: e,
103
- mode: r,
104
- align: s
237
+ mode: a,
238
+ align: r
105
239
  }) => ({
106
240
  alignClasses: o({
107
- "flex justify-start text-left": s === "left",
108
- "flex justify-center text-center": s === "center",
109
- "flex justify-end text-right": s === "right"
241
+ "flex justify-start text-left": r === "left",
242
+ "flex justify-center text-center": r === "center",
243
+ "flex justify-end text-right": r === "right"
110
244
  }),
111
245
  mainClasses: o(
112
246
  {
113
- "text-copy-light": r === "dark" || r === "system",
114
- "text-copy-dark": r === "light" || r === "alt-system",
115
- "dark:text-copy-dark": r === "system",
116
- "dark:text-copy-light": r === "alt-system",
117
- "px-4 py-3": !e && (t === p || t === x),
118
- "p-4": !e && t === h,
247
+ "text-copy-light": a === "dark" || a === "system",
248
+ "text-copy-dark": a === "light" || a === "alt-system",
249
+ "dark:text-copy-dark": a === "system",
250
+ "dark:text-copy-light": a === "alt-system",
251
+ "px-4 py-3": !e && (t === k || t === w),
252
+ "p-4": !e && t === b,
119
253
  "px-2 py-1.5": e
120
254
  },
121
- a
255
+ s
122
256
  )
123
- }), P = ({
257
+ }), z = ({
124
258
  buttonClassName: t
125
- }) => o("rounded-none text-sm", t), U = ({
259
+ }) => o("rounded-none text-sm", t), j = ({
126
260
  children: t,
127
- mode: a = "system",
261
+ mode: s = "system",
128
262
  caption: e,
129
- compact: r,
130
- summary: s,
131
- className: c,
132
- wrapperClassName: g,
133
- maxHeight: b,
134
- stickyHeader: n,
263
+ compact: a,
264
+ summary: r,
265
+ className: n,
266
+ wrapperClassName: _,
267
+ maxHeight: i,
268
+ stickyHeader: c,
135
269
  stickyFooter: d,
136
- ..._
270
+ ...h
137
271
  }) => {
138
- const i = R({
139
- mode: a,
140
- className: c,
141
- wrapperClassName: g,
142
- stickyHeader: n,
272
+ const m = B({
273
+ mode: s,
274
+ className: n,
275
+ wrapperClassName: _,
276
+ stickyHeader: c,
143
277
  stickyFooter: d
144
278
  });
145
279
  return /* @__PURE__ */ l(
146
- y.Provider,
280
+ g.Provider,
147
281
  {
148
- value: { mode: a, stickyHeader: n, stickyFooter: d, compact: r },
282
+ value: { mode: s, stickyHeader: c, stickyFooter: d, compact: a },
149
283
  children: /* @__PURE__ */ l(
150
284
  "div",
151
285
  {
152
- className: i.wrapper,
153
- ...b && {
154
- style: { maxHeight: b }
286
+ className: m.wrapper,
287
+ ...i && {
288
+ style: { maxHeight: i }
155
289
  },
156
- children: /* @__PURE__ */ f("table", { className: i.table, summary: s, ..._, children: [
157
- e && /* @__PURE__ */ l("caption", { className: i.caption, children: e }),
290
+ children: /* @__PURE__ */ y("table", { className: m.table, summary: r, ...h, children: [
291
+ e && /* @__PURE__ */ l("caption", { className: m.caption, children: e }),
158
292
  t
159
293
  ] })
160
294
  }
161
295
  )
162
296
  }
163
297
  );
164
- }, Y = ({
298
+ }, D = ({
165
299
  children: t,
166
- className: a,
300
+ className: s,
167
301
  ...e
168
302
  }) => {
169
- const r = m(y);
170
- r.cellWrapper = p;
171
- const s = S({
172
- className: a,
173
- mode: r.mode,
174
- stickyHeader: r.stickyHeader
303
+ const a = p(g);
304
+ a.cellWrapper = k;
305
+ const r = E({
306
+ className: s,
307
+ mode: a.mode,
308
+ stickyHeader: a.stickyHeader
175
309
  });
176
- return /* @__PURE__ */ l("thead", { className: s, ...e, children: t });
177
- }, q = ({
310
+ return /* @__PURE__ */ l("thead", { className: r, ...e, children: t });
311
+ }, U = ({
178
312
  children: t,
179
- className: a,
313
+ className: s,
180
314
  ...e
181
315
  }) => {
182
- const r = m(y);
183
- r.cellWrapper = x;
184
- const s = E({
185
- className: a,
186
- mode: r.mode,
187
- stickyFooter: r.stickyFooter
316
+ const a = p(g);
317
+ a.cellWrapper = w;
318
+ const r = V({
319
+ className: s,
320
+ mode: a.mode,
321
+ stickyFooter: a.stickyFooter
188
322
  });
189
- return /* @__PURE__ */ l("tfoot", { className: s, ...e, children: t });
190
- }, G = ({ children: t, ...a }) => {
191
- const e = m(y);
192
- return e.cellWrapper = h, /* @__PURE__ */ l("tbody", { ...a, children: t });
193
- }, H = ({
323
+ return /* @__PURE__ */ l("tfoot", { className: r, ...e, children: t });
324
+ }, H = ({ children: t, ...s }) => {
325
+ const e = p(g);
326
+ return e.cellWrapper = b, /* @__PURE__ */ l("tbody", { ...s, children: t });
327
+ }, G = ({
194
328
  children: t,
195
- className: a,
329
+ className: s,
196
330
  ...e
197
331
  }) => {
198
- const r = m(y), s = A({
199
- mode: r.mode,
200
- cellWrapper: r.cellWrapper,
201
- className: a
332
+ const a = p(g), r = I({
333
+ mode: a.mode,
334
+ cellWrapper: a.cellWrapper,
335
+ className: s
202
336
  });
203
- return /* @__PURE__ */ l("tr", { className: s, ...e, children: t });
204
- }, W = ({
337
+ return /* @__PURE__ */ l("tr", { className: r, ...e, children: t });
338
+ }, M = ({
205
339
  children: t,
206
- component: a,
340
+ component: s,
207
341
  className: e,
208
- align: r,
209
- ...s
342
+ align: a,
343
+ ...r
210
344
  }) => {
211
- const c = m(y), g = a || (c.cellWrapper === p ? "th" : "td"), { mainClasses: b, alignClasses: n } = L({
212
- cellWrapper: c.cellWrapper,
345
+ const n = p(g), _ = s || (n.cellWrapper === k ? "th" : "td"), { mainClasses: i, alignClasses: c } = R({
346
+ cellWrapper: n.cellWrapper,
213
347
  className: e,
214
- mode: c.mode,
215
- compact: c.compact,
216
- align: r
348
+ mode: n.mode,
349
+ compact: n.compact,
350
+ align: a
217
351
  });
218
- return r ? /* @__PURE__ */ l(g, { className: b, ...s, children: /* @__PURE__ */ l("div", { className: n, children: t }) }) : /* @__PURE__ */ l(g, { className: b, ...s, children: t });
219
- }, J = ({
352
+ return a ? /* @__PURE__ */ l(_, { className: i, ...r, children: /* @__PURE__ */ l("div", { className: c, children: t }) }) : /* @__PURE__ */ l(_, { className: i, ...r, children: t });
353
+ }, F = ({
220
354
  align: t,
221
- children: a,
355
+ children: s,
222
356
  buttonClassName: e,
223
- className: r,
224
- component: s,
225
- focusMode: c = "alt-system",
226
- mode: g = "alt-system",
227
- onClick: b,
228
- sortDirection: n,
357
+ className: a,
358
+ component: r,
359
+ focusMode: n = "alt-system",
360
+ mode: _ = "alt-system",
361
+ onClick: i,
362
+ sortDirection: c,
229
363
  sortedCell: d,
230
- cellId: _,
231
- ...i
364
+ cellId: h,
365
+ ...m
232
366
  }) => {
233
- const u = P({ buttonClassName: e });
367
+ const f = z({ buttonClassName: e });
234
368
  return /* @__PURE__ */ l(
235
- W,
369
+ M,
236
370
  {
237
- component: s,
238
- className: r,
371
+ component: r,
372
+ className: a,
239
373
  role: "columnheader",
240
- "aria-sort": n === k.ASC && d === _ ? "ascending" : n === k.DESC && d === _ ? "descending" : "other",
241
- ...i,
374
+ "aria-sort": c === x.ASC && d === h ? "ascending" : c === x.DESC && d === h ? "descending" : "other",
375
+ ...m,
242
376
  children: /* @__PURE__ */ l(
243
- C,
377
+ v,
244
378
  {
245
- active: d === _,
246
- className: u,
247
- onClick: b,
379
+ active: d === h,
380
+ className: f,
381
+ onClick: i,
248
382
  align: t,
249
383
  noBorder: !0,
250
- focusMode: c,
251
- mode: g,
384
+ focusMode: n,
385
+ mode: _,
252
386
  fullWidth: !0,
253
- labelRight: a,
254
- children: n === k.ASC && d === _ ? /* @__PURE__ */ l(w, { className: "size-4", monotone: !0 }) : n === k.DESC && d === _ ? /* @__PURE__ */ l(v, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ l(T, { className: "size-4", monotone: !0 })
387
+ labelRight: s,
388
+ children: c === x.ASC && d === h ? /* @__PURE__ */ l(S, { className: "size-4", monotone: !0 }) : c === x.DESC && d === h ? /* @__PURE__ */ l(T, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ l(N, { className: "size-4", monotone: !0 })
255
389
  }
256
390
  )
257
391
  }
258
392
  );
259
393
  };
260
394
  export {
261
- U as Table,
262
- G as TableBody,
263
- W as TableCell,
264
- J as TableCellSort,
265
- q as TableFooter,
266
- Y as TableHead,
267
- H as TableRow
395
+ j as Table,
396
+ H as TableBody,
397
+ M as TableCell,
398
+ F as TableCellSort,
399
+ U as TableFooter,
400
+ D as TableHead,
401
+ G as TableRow
268
402
  };
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { Table as r, TableBody as i, TableCell as T, TableCellSort as a, TableFooter as t, TableHead as _, TableRow as b } from "./components/Table/Table.js";
2
2
  import { TableCellSortDirections as I } from "./components/TableConstants/TableConstants.js";
3
3
  /*!
4
- @versini/ui-table v4.0.18
4
+ @versini/ui-table v5.0.1
5
5
  © 2025 gizmette.com
6
6
  */
7
7
  try {
8
8
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
9
- version: "4.0.18",
10
- buildTime: "09/01/2025 02:20 PM EDT",
9
+ version: "5.0.1",
10
+ buildTime: "09/01/2025 04:02 PM EDT",
11
11
  homepage: "https://github.com/aversini/ui-components",
12
12
  license: "MIT"
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-table",
3
- "version": "4.0.18",
3
+ "version": "5.0.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -51,22 +51,22 @@
51
51
  "test": "vitest run"
52
52
  },
53
53
  "peerDependencies": {
54
- "react": "^18.3.1 || ^19.0.0",
55
- "react-dom": "^18.3.1 || ^19.0.0"
54
+ "react": "^19.1.0",
55
+ "react-dom": "^19.1.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@testing-library/jest-dom": "6.8.0",
59
- "@versini/ui-types": "5.0.7"
59
+ "@versini/ui-types": "6.0.1"
60
60
  },
61
61
  "dependencies": {
62
62
  "@tailwindcss/typography": "0.5.16",
63
- "@versini/ui-button": "7.1.6",
64
- "@versini/ui-icons": "4.10.0",
63
+ "@versini/ui-button": "8.0.1",
64
+ "@versini/ui-icons": "4.11.0",
65
65
  "clsx": "2.1.1",
66
66
  "tailwindcss": "4.1.12"
67
67
  },
68
68
  "sideEffects": [
69
69
  "**/*.css"
70
70
  ],
71
- "gitHead": "c577149643ec36cad454587166e62410a77aed38"
71
+ "gitHead": "dcc216644c8c3e7d43a49ea655a22aed21fa4b83"
72
72
  }