@versini/ui-table 2.0.8 → 2.0.9
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.
- package/dist/index.js +26 -26
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import d from "clsx";
|
|
2
|
-
import { jsx as i, jsxs as k, Fragment as
|
|
2
|
+
import { jsx as i, jsxs as k, Fragment as P } from "react/jsx-runtime";
|
|
3
3
|
import N, { useContext as p } from "react";
|
|
4
4
|
/*!
|
|
5
|
-
@versini/ui-table v2.0.
|
|
6
|
-
©
|
|
5
|
+
@versini/ui-table v2.0.9
|
|
6
|
+
© 2025 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "2.0.
|
|
11
|
-
buildTime: "
|
|
10
|
+
version: "2.0.9",
|
|
11
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
12
12
|
homepage: "https://github.com/aversini/ui-components",
|
|
13
13
|
license: "MIT"
|
|
14
14
|
});
|
|
@@ -17,7 +17,7 @@ try {
|
|
|
17
17
|
const _ = "thead", T = "tfoot", u = "tbody", f = {
|
|
18
18
|
ASC: "asc",
|
|
19
19
|
DESC: "desc"
|
|
20
|
-
},
|
|
20
|
+
}, A = ({
|
|
21
21
|
mode: e,
|
|
22
22
|
className: r,
|
|
23
23
|
wrapperClassName: t,
|
|
@@ -48,7 +48,7 @@ const _ = "thead", T = "tfoot", u = "tbody", f = {
|
|
|
48
48
|
"text-copy-light dark:text-copy-dark": e === "system",
|
|
49
49
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
50
50
|
})
|
|
51
|
-
}),
|
|
51
|
+
}), O = ({
|
|
52
52
|
className: e,
|
|
53
53
|
stickyHeader: r,
|
|
54
54
|
mode: t
|
|
@@ -61,7 +61,7 @@ const _ = "thead", T = "tfoot", u = "tbody", f = {
|
|
|
61
61
|
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": r && t === "alt-system"
|
|
62
62
|
},
|
|
63
63
|
e
|
|
64
|
-
),
|
|
64
|
+
), W = ({
|
|
65
65
|
className: e,
|
|
66
66
|
stickyFooter: r,
|
|
67
67
|
mode: t
|
|
@@ -380,13 +380,13 @@ const _ = "thead", T = "tfoot", u = "tbody", f = {
|
|
|
380
380
|
});
|
|
381
381
|
I.displayName = "BaseButton";
|
|
382
382
|
/*!
|
|
383
|
-
@versini/ui-button v3.2.
|
|
384
|
-
©
|
|
383
|
+
@versini/ui-button v3.2.1
|
|
384
|
+
© 2025 gizmette.com
|
|
385
385
|
*/
|
|
386
386
|
try {
|
|
387
387
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
388
|
-
version: "3.2.
|
|
389
|
-
buildTime: "
|
|
388
|
+
version: "3.2.1",
|
|
389
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
390
390
|
homepage: "https://github.com/aversini/ui-components",
|
|
391
391
|
license: "MIT"
|
|
392
392
|
});
|
|
@@ -429,12 +429,12 @@ const S = N.forwardRef(
|
|
|
429
429
|
noBackground: x,
|
|
430
430
|
align: w,
|
|
431
431
|
radius: R
|
|
432
|
-
}),
|
|
432
|
+
}), H = d({
|
|
433
433
|
"text-copy-accent-dark": t === "light" && !c,
|
|
434
434
|
"text-copy-light": t === "dark" && !c,
|
|
435
435
|
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !c,
|
|
436
436
|
"text-copy-light dark:text-copy-accent-dark": t === "system" && !c
|
|
437
|
-
}),
|
|
437
|
+
}), U = E ? d(
|
|
438
438
|
"relative",
|
|
439
439
|
"focus-within:static",
|
|
440
440
|
"focus-within:after:border-transparent",
|
|
@@ -451,7 +451,7 @@ const S = N.forwardRef(
|
|
|
451
451
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
452
452
|
}
|
|
453
453
|
) : "";
|
|
454
|
-
return /* @__PURE__ */ i("div", { className:
|
|
454
|
+
return /* @__PURE__ */ i("div", { className: U, children: /* @__PURE__ */ k(
|
|
455
455
|
I,
|
|
456
456
|
{
|
|
457
457
|
ref: L,
|
|
@@ -462,7 +462,7 @@ const S = N.forwardRef(
|
|
|
462
462
|
...V,
|
|
463
463
|
children: [
|
|
464
464
|
y && /* @__PURE__ */ i("span", { className: "pr-2", children: y }),
|
|
465
|
-
/* @__PURE__ */ i("div", { className:
|
|
465
|
+
/* @__PURE__ */ i("div", { className: H, children: e }),
|
|
466
466
|
h && /* @__PURE__ */ i("span", { className: "pl-2", children: h })
|
|
467
467
|
]
|
|
468
468
|
}
|
|
@@ -482,7 +482,7 @@ const C = ({
|
|
|
482
482
|
...g
|
|
483
483
|
}) => {
|
|
484
484
|
const n = d(l, a);
|
|
485
|
-
return /* @__PURE__ */ k(
|
|
485
|
+
return /* @__PURE__ */ k(P, { children: [
|
|
486
486
|
/* @__PURE__ */ i(
|
|
487
487
|
"svg",
|
|
488
488
|
{
|
|
@@ -502,12 +502,12 @@ const C = ({
|
|
|
502
502
|
};
|
|
503
503
|
/*!
|
|
504
504
|
@versini/ui-svgicon v3.0.2
|
|
505
|
-
©
|
|
505
|
+
© 2025 gizmette.com
|
|
506
506
|
*/
|
|
507
507
|
try {
|
|
508
508
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
509
509
|
version: "3.0.2",
|
|
510
|
-
buildTime: "
|
|
510
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
511
511
|
homepage: "https://github.com/aversini/ui-components",
|
|
512
512
|
license: "MIT"
|
|
513
513
|
});
|
|
@@ -593,13 +593,13 @@ const te = ({
|
|
|
593
593
|
}
|
|
594
594
|
);
|
|
595
595
|
/*!
|
|
596
|
-
@versini/ui-icons v3.0
|
|
597
|
-
©
|
|
596
|
+
@versini/ui-icons v3.1.0
|
|
597
|
+
© 2025 gizmette.com
|
|
598
598
|
*/
|
|
599
599
|
try {
|
|
600
600
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
601
|
-
version: "3.0
|
|
602
|
-
buildTime: "
|
|
601
|
+
version: "3.1.0",
|
|
602
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
603
603
|
homepage: "https://github.com/aversini/ui-components",
|
|
604
604
|
license: "MIT"
|
|
605
605
|
});
|
|
@@ -624,7 +624,7 @@ const v = N.createContext({
|
|
|
624
624
|
stickyFooter: n,
|
|
625
625
|
...b
|
|
626
626
|
}) => {
|
|
627
|
-
const m =
|
|
627
|
+
const m = A({
|
|
628
628
|
mode: r,
|
|
629
629
|
className: l,
|
|
630
630
|
wrapperClassName: s,
|
|
@@ -657,7 +657,7 @@ const v = N.createContext({
|
|
|
657
657
|
}) => {
|
|
658
658
|
const a = p(v);
|
|
659
659
|
a.cellWrapper = _;
|
|
660
|
-
const o =
|
|
660
|
+
const o = O({
|
|
661
661
|
className: r,
|
|
662
662
|
mode: a.mode,
|
|
663
663
|
stickyHeader: a.stickyHeader
|
|
@@ -670,7 +670,7 @@ const v = N.createContext({
|
|
|
670
670
|
}) => {
|
|
671
671
|
const a = p(v);
|
|
672
672
|
a.cellWrapper = T;
|
|
673
|
-
const o =
|
|
673
|
+
const o = W({
|
|
674
674
|
className: r,
|
|
675
675
|
mode: a.mode,
|
|
676
676
|
stickyFooter: a.stickyFooter
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-table",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "3.2.
|
|
43
|
-
"@versini/ui-icons": "3.0
|
|
42
|
+
"@versini/ui-button": "3.2.1",
|
|
43
|
+
"@versini/ui-icons": "3.1.0",
|
|
44
44
|
"@versini/ui-types": "3.0.2",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.17"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d052f6a22a228e03504ab6eef71c817bd53dd656"
|
|
52
52
|
}
|