@versini/ui-table 1.1.0 → 1.2.0

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 +20 -20
  2. package/package.json +7 -7
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.0
5
+ @versini/ui-table v1.2.0
6
6
  © 2024 gizmette.com
7
7
  */
8
8
  try {
9
9
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
10
- version: "1.1.0",
11
- buildTime: "11/19/2024 10:59 AM EST",
10
+ version: "1.2.0",
11
+ buildTime: "12/18/2024 12:35 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
- }, j = ({
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
- }), P = ({
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.11
328
+ @versini/ui-button v1.2.0
329
329
  © 2024 gizmette.com
330
330
  */
331
331
  try {
332
332
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
333
- version: "1.1.11",
334
- buildTime: "11/19/2024 10:59 AM EST",
333
+ version: "1.2.0",
334
+ buildTime: "12/18/2024 12:35 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
- }), A = l({
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
- }), H = z ? l(
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: H, children: /* @__PURE__ */ v(
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: A, children: e }),
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.18
462
+ @versini/ui-private v1.5.0
463
463
  © 2024 gizmette.com
464
464
  */
465
465
  try {
466
466
  window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
467
- version: "1.4.18",
468
- buildTime: "11/19/2024 10:59 AM EST",
467
+ version: "1.5.0",
468
+ buildTime: "12/18/2024 12:34 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.2
560
+ @versini/ui-icons v1.16.0
561
561
  © 2024 gizmette.com
562
562
  */
563
563
  try {
564
564
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
565
- version: "1.15.2",
566
- buildTime: "11/19/2024 10:59 AM EST",
565
+ version: "1.16.0",
566
+ buildTime: "12/18/2024 12:35 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 = j({
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 = P({
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.0",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -34,19 +34,19 @@
34
34
  "test": "vitest run"
35
35
  },
36
36
  "peerDependencies": {
37
- "react": "^18.3.1",
38
- "react-dom": "^18.3.1"
37
+ "react": "^18.3.1 || ^19.0.0",
38
+ "react-dom": "^18.3.1 || ^19.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@tailwindcss/typography": "0.5.15",
42
- "@versini/ui-button": "1.1.11",
43
- "@versini/ui-icons": "1.15.2",
44
- "@versini/ui-private": "1.4.18",
42
+ "@versini/ui-button": "1.2.0",
43
+ "@versini/ui-icons": "1.16.0",
44
+ "@versini/ui-private": "1.5.0",
45
45
  "clsx": "2.1.1",
46
46
  "tailwindcss": "3.4.15"
47
47
  },
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "a1eda2c717accc8904a7b0552489690d4da5dece"
51
+ "gitHead": "413e5c7cd8228d2f135f54fa897101401207229b"
52
52
  }