@versini/ui-table 1.0.12 → 1.0.13
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 +16 -16
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import l from "clsx";
|
|
|
2
2
|
import { jsx as d, jsxs as v, Fragment as U } from "react/jsx-runtime";
|
|
3
3
|
import N, { useContext as y } from "react";
|
|
4
4
|
/*!
|
|
5
|
-
@versini/ui-table v1.0.
|
|
5
|
+
@versini/ui-table v1.0.13
|
|
6
6
|
© 2024 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "1.0.
|
|
11
|
-
buildTime: "10/
|
|
10
|
+
version: "1.0.13",
|
|
11
|
+
buildTime: "10/06/2024 10:49 AM EDT",
|
|
12
12
|
homepage: "https://github.com/aversini/ui-components",
|
|
13
13
|
license: "MIT"
|
|
14
14
|
});
|
|
@@ -26,7 +26,7 @@ const $ = (e) => {
|
|
|
26
26
|
}, _ = "thead", T = "tfoot", p = "tbody", f = {
|
|
27
27
|
ASC: "asc",
|
|
28
28
|
DESC: "desc"
|
|
29
|
-
},
|
|
29
|
+
}, j = ({
|
|
30
30
|
mode: e,
|
|
31
31
|
className: a,
|
|
32
32
|
wrapperClassName: t,
|
|
@@ -59,7 +59,7 @@ const $ = (e) => {
|
|
|
59
59
|
"text-copy-light dark:text-copy-dark": e === "system",
|
|
60
60
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
61
61
|
})
|
|
62
|
-
}),
|
|
62
|
+
}), P = ({
|
|
63
63
|
className: e,
|
|
64
64
|
stickyHeader: a,
|
|
65
65
|
mode: t
|
|
@@ -329,7 +329,7 @@ I.displayName = "BaseButton";
|
|
|
329
329
|
try {
|
|
330
330
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
331
331
|
version: "1.1.10",
|
|
332
|
-
buildTime: "10/
|
|
332
|
+
buildTime: "10/06/2024 10:49 AM EDT",
|
|
333
333
|
homepage: "https://github.com/aversini/ui-components",
|
|
334
334
|
license: "MIT"
|
|
335
335
|
});
|
|
@@ -372,12 +372,12 @@ const R = N.forwardRef(
|
|
|
372
372
|
spacing: x,
|
|
373
373
|
noBackground: w,
|
|
374
374
|
align: z
|
|
375
|
-
}),
|
|
375
|
+
}), A = l({
|
|
376
376
|
"text-copy-accent-dark": t === "light" && !s,
|
|
377
377
|
"text-copy-light": t === "dark" && !s,
|
|
378
378
|
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !s,
|
|
379
379
|
"text-copy-light dark:text-copy-accent-dark": t === "system" && !s
|
|
380
|
-
}),
|
|
380
|
+
}), H = S ? l(
|
|
381
381
|
"relative",
|
|
382
382
|
"focus-within:static",
|
|
383
383
|
"focus-within:after:border-transparent",
|
|
@@ -394,7 +394,7 @@ const R = N.forwardRef(
|
|
|
394
394
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
395
395
|
}
|
|
396
396
|
) : "";
|
|
397
|
-
return /* @__PURE__ */ d("div", { className:
|
|
397
|
+
return /* @__PURE__ */ d("div", { className: H, children: /* @__PURE__ */ v(
|
|
398
398
|
I,
|
|
399
399
|
{
|
|
400
400
|
ref: L,
|
|
@@ -405,7 +405,7 @@ const R = N.forwardRef(
|
|
|
405
405
|
...V,
|
|
406
406
|
children: [
|
|
407
407
|
h && /* @__PURE__ */ d("span", { className: "pr-2", children: h }),
|
|
408
|
-
/* @__PURE__ */ d("div", { className:
|
|
408
|
+
/* @__PURE__ */ d("div", { className: A, children: e }),
|
|
409
409
|
m && /* @__PURE__ */ d("span", { className: "pl-2", children: m })
|
|
410
410
|
]
|
|
411
411
|
}
|
|
@@ -463,7 +463,7 @@ const ae = (e) => {
|
|
|
463
463
|
try {
|
|
464
464
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
465
465
|
version: "1.4.17",
|
|
466
|
-
buildTime: "10/
|
|
466
|
+
buildTime: "10/06/2024 10:48 AM EDT",
|
|
467
467
|
homepage: "https://github.com/aversini/ui-components",
|
|
468
468
|
license: "MIT"
|
|
469
469
|
});
|
|
@@ -555,13 +555,13 @@ const re = ({
|
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
557
|
/*!
|
|
558
|
-
@versini/ui-icons v1.15.
|
|
558
|
+
@versini/ui-icons v1.15.1
|
|
559
559
|
© 2024 gizmette.com
|
|
560
560
|
*/
|
|
561
561
|
try {
|
|
562
562
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
563
|
-
version: "1.15.
|
|
564
|
-
buildTime: "10/
|
|
563
|
+
version: "1.15.1",
|
|
564
|
+
buildTime: "10/06/2024 10:49 AM EDT",
|
|
565
565
|
homepage: "https://github.com/aversini/ui-components",
|
|
566
566
|
license: "MIT"
|
|
567
567
|
});
|
|
@@ -587,7 +587,7 @@ const k = N.createContext({
|
|
|
587
587
|
spacing: b,
|
|
588
588
|
...u
|
|
589
589
|
}) => {
|
|
590
|
-
const m =
|
|
590
|
+
const m = j({
|
|
591
591
|
mode: a,
|
|
592
592
|
className: i,
|
|
593
593
|
wrapperClassName: c,
|
|
@@ -621,7 +621,7 @@ const k = N.createContext({
|
|
|
621
621
|
}) => {
|
|
622
622
|
const r = y(k);
|
|
623
623
|
r.cellWrapper = _;
|
|
624
|
-
const o =
|
|
624
|
+
const o = P({
|
|
625
625
|
className: a,
|
|
626
626
|
mode: r.mode,
|
|
627
627
|
stickyHeader: r.stickyHeader
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-table",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
42
|
"@versini/ui-button": "1.1.10",
|
|
43
|
-
"@versini/ui-icons": "1.15.
|
|
43
|
+
"@versini/ui-icons": "1.15.1",
|
|
44
44
|
"@versini/ui-private": "1.4.17",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.13"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "2e61f052d256a2e92b0cbccbf2f6fb47f4f95d2f"
|
|
52
52
|
}
|