@versini/ui-table 2.0.1 → 2.0.2
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 +24 -24
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import d from "clsx";
|
|
2
|
-
import { jsx as l, jsxs as k, Fragment as
|
|
2
|
+
import { jsx as l, 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.
|
|
5
|
+
@versini/ui-table v2.0.2
|
|
6
6
|
© 2024 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "2.0.
|
|
11
|
-
buildTime: "12/30/2024
|
|
10
|
+
version: "2.0.2",
|
|
11
|
+
buildTime: "12/30/2024 12:27 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: r,
|
|
23
23
|
wrapperClassName: t,
|
|
@@ -48,7 +48,7 @@ const _ = "thead", C = "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", C = "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
|
|
@@ -374,13 +374,13 @@ const _ = "thead", C = "tfoot", u = "tbody", f = {
|
|
|
374
374
|
});
|
|
375
375
|
S.displayName = "BaseButton";
|
|
376
376
|
/*!
|
|
377
|
-
@versini/ui-button v2.
|
|
377
|
+
@versini/ui-button v2.2.0
|
|
378
378
|
© 2024 gizmette.com
|
|
379
379
|
*/
|
|
380
380
|
try {
|
|
381
381
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
382
|
-
version: "2.
|
|
383
|
-
buildTime: "12/30/2024
|
|
382
|
+
version: "2.2.0",
|
|
383
|
+
buildTime: "12/30/2024 12:27 PM EST",
|
|
384
384
|
homepage: "https://github.com/aversini/ui-components",
|
|
385
385
|
license: "MIT"
|
|
386
386
|
});
|
|
@@ -423,12 +423,12 @@ const E = N.forwardRef(
|
|
|
423
423
|
noBackground: x,
|
|
424
424
|
align: w,
|
|
425
425
|
radius: R
|
|
426
|
-
}),
|
|
426
|
+
}), H = d({
|
|
427
427
|
"text-copy-accent-dark": t === "light" && !c,
|
|
428
428
|
"text-copy-light": t === "dark" && !c,
|
|
429
429
|
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !c,
|
|
430
430
|
"text-copy-light dark:text-copy-accent-dark": t === "system" && !c
|
|
431
|
-
}),
|
|
431
|
+
}), U = z ? d(
|
|
432
432
|
"relative",
|
|
433
433
|
"focus-within:static",
|
|
434
434
|
"focus-within:after:border-transparent",
|
|
@@ -445,7 +445,7 @@ const E = N.forwardRef(
|
|
|
445
445
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
446
446
|
}
|
|
447
447
|
) : "";
|
|
448
|
-
return /* @__PURE__ */ l("div", { className:
|
|
448
|
+
return /* @__PURE__ */ l("div", { className: U, children: /* @__PURE__ */ k(
|
|
449
449
|
S,
|
|
450
450
|
{
|
|
451
451
|
ref: L,
|
|
@@ -456,7 +456,7 @@ const E = N.forwardRef(
|
|
|
456
456
|
...V,
|
|
457
457
|
children: [
|
|
458
458
|
y && /* @__PURE__ */ l("span", { className: "pr-2", children: y }),
|
|
459
|
-
/* @__PURE__ */ l("div", { className:
|
|
459
|
+
/* @__PURE__ */ l("div", { className: H, children: e }),
|
|
460
460
|
h && /* @__PURE__ */ l("span", { className: "pl-2", children: h })
|
|
461
461
|
]
|
|
462
462
|
}
|
|
@@ -476,7 +476,7 @@ const T = ({
|
|
|
476
476
|
...g
|
|
477
477
|
}) => {
|
|
478
478
|
const n = d(a || i);
|
|
479
|
-
return /* @__PURE__ */ k(
|
|
479
|
+
return /* @__PURE__ */ k(P, { children: [
|
|
480
480
|
/* @__PURE__ */ l(
|
|
481
481
|
"svg",
|
|
482
482
|
{
|
|
@@ -495,13 +495,13 @@ const T = ({
|
|
|
495
495
|
] });
|
|
496
496
|
};
|
|
497
497
|
/*!
|
|
498
|
-
@versini/ui-svgicon v2.0.
|
|
498
|
+
@versini/ui-svgicon v2.0.2
|
|
499
499
|
© 2024 gizmette.com
|
|
500
500
|
*/
|
|
501
501
|
try {
|
|
502
502
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
503
|
-
version: "2.0.
|
|
504
|
-
buildTime: "12/30/2024
|
|
503
|
+
version: "2.0.2",
|
|
504
|
+
buildTime: "12/30/2024 12:27 PM EST",
|
|
505
505
|
homepage: "https://github.com/aversini/ui-components",
|
|
506
506
|
license: "MIT"
|
|
507
507
|
});
|
|
@@ -587,13 +587,13 @@ const te = ({
|
|
|
587
587
|
}
|
|
588
588
|
);
|
|
589
589
|
/*!
|
|
590
|
-
@versini/ui-icons v2.0.
|
|
590
|
+
@versini/ui-icons v2.0.2
|
|
591
591
|
© 2024 gizmette.com
|
|
592
592
|
*/
|
|
593
593
|
try {
|
|
594
594
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
595
|
-
version: "2.0.
|
|
596
|
-
buildTime: "12/30/2024
|
|
595
|
+
version: "2.0.2",
|
|
596
|
+
buildTime: "12/30/2024 12:27 PM EST",
|
|
597
597
|
homepage: "https://github.com/aversini/ui-components",
|
|
598
598
|
license: "MIT"
|
|
599
599
|
});
|
|
@@ -618,7 +618,7 @@ const v = N.createContext({
|
|
|
618
618
|
stickyFooter: n,
|
|
619
619
|
...b
|
|
620
620
|
}) => {
|
|
621
|
-
const m =
|
|
621
|
+
const m = A({
|
|
622
622
|
mode: r,
|
|
623
623
|
className: i,
|
|
624
624
|
wrapperClassName: s,
|
|
@@ -651,7 +651,7 @@ const v = N.createContext({
|
|
|
651
651
|
}) => {
|
|
652
652
|
const a = p(v);
|
|
653
653
|
a.cellWrapper = _;
|
|
654
|
-
const o =
|
|
654
|
+
const o = O({
|
|
655
655
|
className: r,
|
|
656
656
|
mode: a.mode,
|
|
657
657
|
stickyHeader: a.stickyHeader
|
|
@@ -664,7 +664,7 @@ const v = N.createContext({
|
|
|
664
664
|
}) => {
|
|
665
665
|
const a = p(v);
|
|
666
666
|
a.cellWrapper = C;
|
|
667
|
-
const o =
|
|
667
|
+
const o = W({
|
|
668
668
|
className: r,
|
|
669
669
|
mode: a.mode,
|
|
670
670
|
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.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "2.
|
|
43
|
-
"@versini/ui-icons": "2.0.
|
|
44
|
-
"@versini/ui-types": "2.
|
|
42
|
+
"@versini/ui-button": "2.2.0",
|
|
43
|
+
"@versini/ui-icons": "2.0.2",
|
|
44
|
+
"@versini/ui-types": "2.2.0",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.17"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "914bac4e3074de68e54cd84fe91e6fe50c38b554"
|
|
52
52
|
}
|