@versini/ui-table 3.0.2 → 3.0.3
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 +22 -22
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import s from "clsx";
|
|
|
2
2
|
import { jsx as i, jsxs as y, Fragment as j } from "react/jsx-runtime";
|
|
3
3
|
import T, { useContext as p } from "react";
|
|
4
4
|
/*!
|
|
5
|
-
@versini/ui-table v3.0.
|
|
5
|
+
@versini/ui-table v3.0.3
|
|
6
6
|
© 2025 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "3.0.
|
|
11
|
-
buildTime: "01/04/2025
|
|
10
|
+
version: "3.0.3",
|
|
11
|
+
buildTime: "01/04/2025 01:33 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", C = "tfoot", u = "tbody", f = {
|
|
18
18
|
ASC: "asc",
|
|
19
19
|
DESC: "desc"
|
|
20
|
-
},
|
|
20
|
+
}, A = ({
|
|
21
21
|
mode: e,
|
|
22
22
|
className: a,
|
|
23
23
|
wrapperClassName: t,
|
|
@@ -52,7 +52,7 @@ const _ = "thead", C = "tfoot", u = "tbody", f = {
|
|
|
52
52
|
"text-copy-light dark:text-copy-dark": e === "system",
|
|
53
53
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
54
54
|
})
|
|
55
|
-
}),
|
|
55
|
+
}), W = ({
|
|
56
56
|
className: e,
|
|
57
57
|
stickyHeader: a,
|
|
58
58
|
mode: t
|
|
@@ -412,13 +412,13 @@ const _ = "thead", C = "tfoot", u = "tbody", f = {
|
|
|
412
412
|
});
|
|
413
413
|
E.displayName = "BaseButton";
|
|
414
414
|
/*!
|
|
415
|
-
@versini/ui-button v4.0.
|
|
415
|
+
@versini/ui-button v4.0.2
|
|
416
416
|
© 2025 gizmette.com
|
|
417
417
|
*/
|
|
418
418
|
try {
|
|
419
419
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
420
|
-
version: "4.0.
|
|
421
|
-
buildTime: "01/04/2025
|
|
420
|
+
version: "4.0.2",
|
|
421
|
+
buildTime: "01/04/2025 01:33 PM EST",
|
|
422
422
|
homepage: "https://github.com/aversini/ui-components",
|
|
423
423
|
license: "MIT"
|
|
424
424
|
});
|
|
@@ -445,8 +445,8 @@ const R = T.forwardRef(
|
|
|
445
445
|
active: V = !1,
|
|
446
446
|
radius: L = "large",
|
|
447
447
|
...M
|
|
448
|
-
},
|
|
449
|
-
const
|
|
448
|
+
}, H) => {
|
|
449
|
+
const U = ae({
|
|
450
450
|
type: B,
|
|
451
451
|
mode: t,
|
|
452
452
|
focusMode: r,
|
|
@@ -461,12 +461,12 @@ const R = T.forwardRef(
|
|
|
461
461
|
noBackground: x,
|
|
462
462
|
align: w,
|
|
463
463
|
radius: L
|
|
464
|
-
}),
|
|
464
|
+
}), O = s({
|
|
465
465
|
"text-copy-accent-dark": t === "light" && !d,
|
|
466
466
|
"text-copy-light": t === "dark" && !d,
|
|
467
467
|
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !d,
|
|
468
468
|
"text-copy-light dark:text-copy-accent-dark": t === "system" && !d
|
|
469
|
-
}),
|
|
469
|
+
}), P = V ? s(
|
|
470
470
|
"relative",
|
|
471
471
|
"focus-within:static",
|
|
472
472
|
"focus-within:after:border-transparent",
|
|
@@ -483,18 +483,18 @@ const R = T.forwardRef(
|
|
|
483
483
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
484
484
|
}
|
|
485
485
|
) : "";
|
|
486
|
-
return /* @__PURE__ */ i("div", { className:
|
|
486
|
+
return /* @__PURE__ */ i("div", { className: P, children: /* @__PURE__ */ y(
|
|
487
487
|
E,
|
|
488
488
|
{
|
|
489
|
-
ref:
|
|
490
|
-
className:
|
|
489
|
+
ref: H,
|
|
490
|
+
className: U,
|
|
491
491
|
disabled: a,
|
|
492
492
|
type: c,
|
|
493
493
|
"aria-label": g || b,
|
|
494
494
|
...M,
|
|
495
495
|
children: [
|
|
496
496
|
v && /* @__PURE__ */ i("span", { className: "pr-2", children: v }),
|
|
497
|
-
/* @__PURE__ */ i("div", { className:
|
|
497
|
+
/* @__PURE__ */ i("div", { className: O, children: e }),
|
|
498
498
|
h && /* @__PURE__ */ i("span", { className: "pl-2", children: h })
|
|
499
499
|
]
|
|
500
500
|
}
|
|
@@ -539,7 +539,7 @@ const z = ({
|
|
|
539
539
|
try {
|
|
540
540
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
541
541
|
version: "4.0.0",
|
|
542
|
-
buildTime: "01/04/2025
|
|
542
|
+
buildTime: "01/04/2025 01:33 PM EST",
|
|
543
543
|
homepage: "https://github.com/aversini/ui-components",
|
|
544
544
|
license: "MIT"
|
|
545
545
|
});
|
|
@@ -625,13 +625,13 @@ const oe = ({
|
|
|
625
625
|
}
|
|
626
626
|
);
|
|
627
627
|
/*!
|
|
628
|
-
@versini/ui-icons v4.
|
|
628
|
+
@versini/ui-icons v4.1.0
|
|
629
629
|
© 2025 gizmette.com
|
|
630
630
|
*/
|
|
631
631
|
try {
|
|
632
632
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
633
|
-
version: "4.
|
|
634
|
-
buildTime: "01/04/2025
|
|
633
|
+
version: "4.1.0",
|
|
634
|
+
buildTime: "01/04/2025 01:33 PM EST",
|
|
635
635
|
homepage: "https://github.com/aversini/ui-components",
|
|
636
636
|
license: "MIT"
|
|
637
637
|
});
|
|
@@ -656,7 +656,7 @@ const k = T.createContext({
|
|
|
656
656
|
stickyFooter: g,
|
|
657
657
|
...b
|
|
658
658
|
}) => {
|
|
659
|
-
const m =
|
|
659
|
+
const m = A({
|
|
660
660
|
mode: a,
|
|
661
661
|
className: l,
|
|
662
662
|
wrapperClassName: c,
|
|
@@ -689,7 +689,7 @@ const k = T.createContext({
|
|
|
689
689
|
}) => {
|
|
690
690
|
const r = p(k);
|
|
691
691
|
r.cellWrapper = _;
|
|
692
|
-
const o =
|
|
692
|
+
const o = W({
|
|
693
693
|
className: a,
|
|
694
694
|
mode: r.mode,
|
|
695
695
|
stickyHeader: r.stickyHeader
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-table",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
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": "4.0.
|
|
43
|
-
"@versini/ui-icons": "4.
|
|
42
|
+
"@versini/ui-button": "4.0.2",
|
|
43
|
+
"@versini/ui-icons": "4.1.0",
|
|
44
44
|
"@versini/ui-types": "4.0.0",
|
|
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": "bf6b0d285a70c47a5efc225f32756b95cb963a49"
|
|
52
52
|
}
|