@versini/ui-table 4.0.1 → 4.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.
Files changed (2) hide show
  1. package/dist/index.js +27 -27
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -2,19 +2,19 @@ import l from "clsx";
2
2
  import { jsx as i, jsxs as _, Fragment as se } from "react/jsx-runtime";
3
3
  import I, { useRef as w, useLayoutEffect as D, useMemo as q, useState as le, useEffect as G, useCallback as oe, useContext as N } from "react";
4
4
  /*!
5
- @versini/ui-table v4.0.1
5
+ @versini/ui-table v4.0.3
6
6
  © 2025 gizmette.com
7
7
  */
8
8
  try {
9
9
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
10
- version: "4.0.1",
11
- buildTime: "03/19/2025 08:57 AM EDT",
10
+ version: "4.0.3",
11
+ buildTime: "03/19/2025 06:10 PM EDT",
12
12
  homepage: "https://github.com/aversini/ui-components",
13
13
  license: "MIT"
14
14
  });
15
15
  } catch {
16
16
  }
17
- const R = "thead", U = "tfoot", p = "tbody", B = {
17
+ const R = "thead", P = "tfoot", p = "tbody", B = {
18
18
  ASC: "asc",
19
19
  DESC: "desc"
20
20
  }, ie = ({
@@ -82,7 +82,7 @@ const R = "thead", U = "tfoot", p = "tbody", B = {
82
82
  mode: e,
83
83
  className: a,
84
84
  cellWrapper: t
85
- }) => t === R || t === U ? l(
85
+ }) => t === R || t === P ? l(
86
86
  {
87
87
  "bg-table-head-dark": e === "dark" || e === "system",
88
88
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -121,7 +121,7 @@ const R = "thead", U = "tfoot", p = "tbody", B = {
121
121
  "text-copy-dark": r === "light" || r === "alt-system",
122
122
  "dark:text-copy-dark": r === "system",
123
123
  "dark:text-copy-light": r === "alt-system",
124
- "px-4 py-3": !t && (e === R || e === U),
124
+ "px-4 py-3": !t && (e === R || e === P),
125
125
  "p-4": !t && e === p,
126
126
  "px-2 py-1.5": t
127
127
  },
@@ -529,7 +529,7 @@ const Re = {
529
529
  radius: C,
530
530
  variant: J,
531
531
  animated: k
532
- }), ae = xe({ mode: t, raw: d, iconClassName: K }), P = we({ animated: k }), [u, V] = A(), [f, M] = A(), [T, W] = A(), L = w(0), v = w(null), re = Be([ee, v]);
532
+ }), ae = xe({ mode: t, raw: d, iconClassName: K }), j = we({ animated: k }), [u, V] = A(), [f, M] = A(), [T, W] = A(), L = w(0), v = w(null), re = Be([ee, v]);
533
533
  return D(() => {
534
534
  T && T.current && k && (L.current = W.width + Ee[h] + (c ? 0 : Se));
535
535
  }, [W, T, h, c, k]), D(() => {
@@ -558,7 +558,7 @@ const Re = {
558
558
  {
559
559
  label: y,
560
560
  labelRef: f,
561
- labelClass: P,
561
+ labelClass: j,
562
562
  labelInnerClass: "pr-2"
563
563
  }
564
564
  ),
@@ -568,7 +568,7 @@ const Re = {
568
568
  {
569
569
  label: b,
570
570
  labelRef: u,
571
- labelClass: P,
571
+ labelClass: j,
572
572
  labelInnerClass: "pl-2"
573
573
  }
574
574
  )
@@ -584,13 +584,13 @@ const Re = {
584
584
  }) => /* @__PURE__ */ i("span", { ref: e, className: a, children: t && /* @__PURE__ */ i("span", { className: r, children: t }) });
585
585
  Y.displayName = "ButtonIcon";
586
586
  /*!
587
- @versini/ui-button v6.0.1
587
+ @versini/ui-button v6.0.3
588
588
  © 2025 gizmette.com
589
589
  */
590
590
  try {
591
591
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
592
- version: "6.0.1",
593
- buildTime: "03/19/2025 08:57 AM EDT",
592
+ version: "6.0.3",
593
+ buildTime: "03/19/2025 06:10 PM EDT",
594
594
  homepage: "https://github.com/aversini/ui-components",
595
595
  license: "MIT"
596
596
  });
@@ -635,7 +635,7 @@ const Z = I.forwardRef(
635
635
  }
636
636
  );
637
637
  Z.displayName = "ButtonSort";
638
- const j = ({
638
+ const U = ({
639
639
  children: e,
640
640
  fill: a,
641
641
  viewBox: t,
@@ -666,13 +666,13 @@ const j = ({
666
666
  ) });
667
667
  };
668
668
  /*!
669
- @versini/ui-svgicon v4.1.1
669
+ @versini/ui-svgicon v4.2.0
670
670
  © 2025 gizmette.com
671
671
  */
672
672
  try {
673
673
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
674
- version: "4.1.1",
675
- buildTime: "02/27/2025 03:46 PM EST",
674
+ version: "4.2.0",
675
+ buildTime: "03/19/2025 05:27 PM EDT",
676
676
  homepage: "https://github.com/aversini/ui-components",
677
677
  license: "MIT"
678
678
  });
@@ -685,7 +685,7 @@ const ze = ({
685
685
  monotone: r,
686
686
  ...s
687
687
  }) => /* @__PURE__ */ _(
688
- j,
688
+ U,
689
689
  {
690
690
  defaultViewBox: "0 0 576 512",
691
691
  size: "size-5",
@@ -711,7 +711,7 @@ const ze = ({
711
711
  monotone: r,
712
712
  ...s
713
713
  }) => /* @__PURE__ */ _(
714
- j,
714
+ U,
715
715
  {
716
716
  defaultViewBox: "0 0 576 512",
717
717
  size: "size-5",
@@ -737,7 +737,7 @@ const ze = ({
737
737
  monotone: r,
738
738
  ...s
739
739
  }) => /* @__PURE__ */ _(
740
- j,
740
+ U,
741
741
  {
742
742
  defaultViewBox: "0 0 576 512",
743
743
  size: "size-5",
@@ -758,13 +758,13 @@ const ze = ({
758
758
  }
759
759
  );
760
760
  /*!
761
- @versini/ui-icons v4.8.1
761
+ @versini/ui-icons v4.8.2
762
762
  © 2025 gizmette.com
763
763
  */
764
764
  try {
765
765
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
766
- version: "4.8.1",
767
- buildTime: "02/27/2025 03:46 PM EST",
766
+ version: "4.8.2",
767
+ buildTime: "03/19/2025 05:27 PM EDT",
768
768
  homepage: "https://github.com/aversini/ui-components",
769
769
  license: "MIT"
770
770
  });
@@ -776,7 +776,7 @@ const x = I.createContext({
776
776
  stickyHeader: !1,
777
777
  stickyFooter: !1,
778
778
  compact: !1
779
- }), je = ({
779
+ }), Ue = ({
780
780
  children: e,
781
781
  mode: a = "system",
782
782
  caption: t,
@@ -815,7 +815,7 @@ const x = I.createContext({
815
815
  )
816
816
  }
817
817
  );
818
- }, Pe = ({
818
+ }, je = ({
819
819
  children: e,
820
820
  className: a,
821
821
  ...t
@@ -834,7 +834,7 @@ const x = I.createContext({
834
834
  ...t
835
835
  }) => {
836
836
  const r = N(x);
837
- r.cellWrapper = U;
837
+ r.cellWrapper = P;
838
838
  const s = ce({
839
839
  className: a,
840
840
  mode: r.mode,
@@ -912,12 +912,12 @@ const x = I.createContext({
912
912
  );
913
913
  };
914
914
  export {
915
- je as Table,
915
+ Ue as Table,
916
916
  De as TableBody,
917
917
  Le as TableCell,
918
918
  He as TableCellSort,
919
919
  B as TableCellSortDirections,
920
920
  We as TableFooter,
921
- Pe as TableHead,
921
+ je as TableHead,
922
922
  Fe as TableRow
923
923
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-table",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -43,13 +43,13 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@tailwindcss/typography": "0.5.16",
46
- "@versini/ui-button": "6.0.1",
47
- "@versini/ui-icons": "4.8.1",
46
+ "@versini/ui-button": "6.0.3",
47
+ "@versini/ui-icons": "4.8.2",
48
48
  "clsx": "2.1.1",
49
49
  "tailwindcss": "4.0.14"
50
50
  },
51
51
  "sideEffects": [
52
52
  "**/*.css"
53
53
  ],
54
- "gitHead": "b379f52530a05cd4b81c4e121f40134458b2a9ac"
54
+ "gitHead": "b49e510e164843553df3b3dd194c17b7e122e986"
55
55
  }