@versini/ui-table 1.1.0 → 1.1.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.
- package/dist/index.js +20 -20
- package/package.json +5 -5
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.1.
|
|
5
|
+
@versini/ui-table v1.1.1
|
|
6
6
|
© 2024 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "1.1.
|
|
11
|
-
buildTime: "
|
|
10
|
+
version: "1.1.1",
|
|
11
|
+
buildTime: "12/12/2024 05:56 PM EST",
|
|
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
|
+
}, A = ({
|
|
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
|
+
}), j = ({
|
|
63
63
|
className: e,
|
|
64
64
|
stickyHeader: a,
|
|
65
65
|
mode: t
|
|
@@ -325,13 +325,13 @@ const $ = (e) => {
|
|
|
325
325
|
});
|
|
326
326
|
I.displayName = "BaseButton";
|
|
327
327
|
/*!
|
|
328
|
-
@versini/ui-button v1.1.
|
|
328
|
+
@versini/ui-button v1.1.12
|
|
329
329
|
© 2024 gizmette.com
|
|
330
330
|
*/
|
|
331
331
|
try {
|
|
332
332
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
333
|
-
version: "1.1.
|
|
334
|
-
buildTime: "
|
|
333
|
+
version: "1.1.12",
|
|
334
|
+
buildTime: "12/12/2024 05:56 PM EST",
|
|
335
335
|
homepage: "https://github.com/aversini/ui-components",
|
|
336
336
|
license: "MIT"
|
|
337
337
|
});
|
|
@@ -374,12 +374,12 @@ const R = N.forwardRef(
|
|
|
374
374
|
spacing: x,
|
|
375
375
|
noBackground: w,
|
|
376
376
|
align: S
|
|
377
|
-
}),
|
|
377
|
+
}), H = l({
|
|
378
378
|
"text-copy-accent-dark": t === "light" && !s,
|
|
379
379
|
"text-copy-light": t === "dark" && !s,
|
|
380
380
|
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !s,
|
|
381
381
|
"text-copy-light dark:text-copy-accent-dark": t === "system" && !s
|
|
382
|
-
}),
|
|
382
|
+
}), P = z ? l(
|
|
383
383
|
"relative",
|
|
384
384
|
"focus-within:static",
|
|
385
385
|
"focus-within:after:border-transparent",
|
|
@@ -396,7 +396,7 @@ const R = N.forwardRef(
|
|
|
396
396
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
397
397
|
}
|
|
398
398
|
) : "";
|
|
399
|
-
return /* @__PURE__ */ d("div", { className:
|
|
399
|
+
return /* @__PURE__ */ d("div", { className: P, children: /* @__PURE__ */ v(
|
|
400
400
|
I,
|
|
401
401
|
{
|
|
402
402
|
ref: L,
|
|
@@ -407,7 +407,7 @@ const R = N.forwardRef(
|
|
|
407
407
|
...V,
|
|
408
408
|
children: [
|
|
409
409
|
m && /* @__PURE__ */ d("span", { className: "pr-2", children: m }),
|
|
410
|
-
/* @__PURE__ */ d("div", { className:
|
|
410
|
+
/* @__PURE__ */ d("div", { className: H, children: e }),
|
|
411
411
|
b && /* @__PURE__ */ d("span", { className: "pl-2", children: b })
|
|
412
412
|
]
|
|
413
413
|
}
|
|
@@ -459,13 +459,13 @@ const re = (e) => {
|
|
|
459
459
|
] });
|
|
460
460
|
};
|
|
461
461
|
/*!
|
|
462
|
-
@versini/ui-private v1.4.
|
|
462
|
+
@versini/ui-private v1.4.19
|
|
463
463
|
© 2024 gizmette.com
|
|
464
464
|
*/
|
|
465
465
|
try {
|
|
466
466
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
467
|
-
version: "1.4.
|
|
468
|
-
buildTime: "
|
|
467
|
+
version: "1.4.19",
|
|
468
|
+
buildTime: "12/12/2024 05:56 PM EST",
|
|
469
469
|
homepage: "https://github.com/aversini/ui-components",
|
|
470
470
|
license: "MIT"
|
|
471
471
|
});
|
|
@@ -557,13 +557,13 @@ const oe = ({
|
|
|
557
557
|
}
|
|
558
558
|
);
|
|
559
559
|
/*!
|
|
560
|
-
@versini/ui-icons v1.15.
|
|
560
|
+
@versini/ui-icons v1.15.3
|
|
561
561
|
© 2024 gizmette.com
|
|
562
562
|
*/
|
|
563
563
|
try {
|
|
564
564
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
565
|
-
version: "1.15.
|
|
566
|
-
buildTime: "
|
|
565
|
+
version: "1.15.3",
|
|
566
|
+
buildTime: "12/12/2024 05:56 PM EST",
|
|
567
567
|
homepage: "https://github.com/aversini/ui-components",
|
|
568
568
|
license: "MIT"
|
|
569
569
|
});
|
|
@@ -589,7 +589,7 @@ const k = N.createContext({
|
|
|
589
589
|
spacing: h,
|
|
590
590
|
...u
|
|
591
591
|
}) => {
|
|
592
|
-
const b =
|
|
592
|
+
const b = A({
|
|
593
593
|
mode: a,
|
|
594
594
|
className: i,
|
|
595
595
|
wrapperClassName: n,
|
|
@@ -623,7 +623,7 @@ const k = N.createContext({
|
|
|
623
623
|
}) => {
|
|
624
624
|
const r = y(k);
|
|
625
625
|
r.cellWrapper = _;
|
|
626
|
-
const o =
|
|
626
|
+
const o = j({
|
|
627
627
|
className: a,
|
|
628
628
|
mode: r.mode,
|
|
629
629
|
stickyHeader: r.stickyHeader
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-table",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
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": "1.1.
|
|
43
|
-
"@versini/ui-icons": "1.15.
|
|
44
|
-
"@versini/ui-private": "1.4.
|
|
42
|
+
"@versini/ui-button": "1.1.12",
|
|
43
|
+
"@versini/ui-icons": "1.15.3",
|
|
44
|
+
"@versini/ui-private": "1.4.19",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.15"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "678eb92e8c1d2db9cd7d01616750305b5a7588df"
|
|
52
52
|
}
|