@plyaz/ui 0.1.18 → 0.1.20

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.
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
package/dist/ui.es3.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as x } from "./ui.es12.js";
2
2
  import "react";
3
- import { clsx as s } from "./ui.es13.js";
4
3
  import { Box as p } from "./ui.es2.js";
5
- const n = ({
4
+ import { cn as s } from "./ui.es13.js";
5
+ const f = ({
6
6
  className: o = "",
7
7
  children: m,
8
8
  element: r,
@@ -17,6 +17,6 @@ const n = ({
17
17
  }
18
18
  );
19
19
  export {
20
- n as Container,
21
- n as default
20
+ f as Container,
21
+ f as default
22
22
  };
package/dist/ui.es4.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as t } from "./ui.es12.js";
2
2
  import "react";
3
- import { clsx as a } from "./ui.es13.js";
4
- import { Box as w } from "./ui.es2.js";
5
- import { JUASTIFY_MAPPER as P, ALIGN_MAPPER as c } from "./ui.es5.js";
3
+ import { Box as a } from "./ui.es2.js";
4
+ import { ALIGN_MAPPER as w, JUASTIFY_MAPPER as P } from "./ui.es5.js";
5
+ import { cn as c } from "./ui.es13.js";
6
6
  const A = {
7
7
  row: "flex-row",
8
8
  col: "flex-col",
@@ -23,14 +23,14 @@ const A = {
23
23
  element: p,
24
24
  ...m
25
25
  }) => /* @__PURE__ */ t.jsx(
26
- w,
26
+ a,
27
27
  {
28
28
  element: p,
29
- className: a(
29
+ className: c(
30
30
  "flex",
31
31
  r && A[r],
32
32
  e && P[e],
33
- o && c[o],
33
+ o && w[o],
34
34
  s && R[s],
35
35
  x,
36
36
  f
package/dist/ui.es5.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as a } from "./ui.es12.js";
2
2
  import "react";
3
- import { clsx as u } from "./ui.es13.js";
4
- import { Box as f } from "./ui.es2.js";
3
+ import { Box as u } from "./ui.es2.js";
4
+ import { cn as f } from "./ui.es13.js";
5
5
  const d = {
6
6
  start: "justify-start",
7
7
  end: "justify-end",
@@ -27,10 +27,10 @@ const d = {
27
27
  element: m,
28
28
  ...c
29
29
  }) => /* @__PURE__ */ a.jsx(
30
- f,
30
+ u,
31
31
  {
32
32
  element: m,
33
- className: u(
33
+ className: f(
34
34
  "grid",
35
35
  n,
36
36
  i,
package/dist/ui.es7.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { j as o } from "./ui.es12.js";
2
2
  import "react";
3
- import { clsx as a } from "./ui.es13.js";
3
+ import { cn as a } from "./ui.es13.js";
4
4
  const u = ({
5
5
  children: e,
6
6
  className: t,
@@ -14,7 +14,7 @@ const u = ({
14
14
  rel: "noopener noreferrer",
15
15
  "data-testid": "link",
16
16
  className: a(
17
- "text-blue-600 hover:underline visited:text-purple-600 active:text-blue-900 focus:outline-none ",
17
+ "text-blue-600 hover:underline visited:text-purple-600 active:text-blue-900 focus:outline-none ",
18
18
  t
19
19
  ),
20
20
  ...n,
package/dist/ui.es9.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as r } from "./ui.es12.js";
2
2
  import "react";
3
- import { clsx as s } from "./ui.es13.js";
4
3
  import { Box as e } from "./ui.es2.js";
4
+ import { cn as s } from "./ui.es13.js";
5
5
  const a = ({
6
6
  className: m = "",
7
7
  children: o,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "A reusable, accessible, and themeable component library powering the Plyaz Web App interface. Built with performance and consistency in mind, @plyaz/ui delivers modular React components aligned with the Plyaz design system — enabling seamless development across fan-facing features, quests, NFTs, and loyalty flows in the Web3 ecosystem.",
5
5
  "type": "module",
6
6
  "files": [
@@ -16,13 +16,14 @@
16
16
  }
17
17
  },
18
18
  "dependencies": {
19
- "@plyaz/devtools": "^1.2.0",
19
+ "@plyaz/devtools": "^1.2.37",
20
20
  "@tailwindcss/vite": "^4.1.8",
21
21
  "@testing-library/jest-dom": "^6.6.3",
22
22
  "@testing-library/user-event": "^14.6.1",
23
23
  "clsx": "^2.1.1",
24
24
  "react": "^19.1.0",
25
25
  "react-dom": "^19.1.0",
26
+ "tailwind-merge": "^3.3.1",
26
27
  "tailwindcss": "^4.1.8"
27
28
  },
28
29
  "peerDependencies": {
@@ -48,6 +49,8 @@
48
49
  "@testing-library/react": "^16.3.0",
49
50
  "@types/react": "^19.1.2",
50
51
  "@types/react-dom": "^19.1.2",
52
+ "@typescript-eslint/eslint-plugin": "^8.34.0",
53
+ "@typescript-eslint/parser": "^8.34.0",
51
54
  "@vitejs/plugin-react": "^4.4.1",
52
55
  "@vitest/coverage-v8": "3.1.3",
53
56
  "autoprefixer": "^10.4.21",
@@ -58,6 +61,7 @@
58
61
  "eslint-plugin-storybook": "^0.12.0",
59
62
  "globals": "^16.0.0",
60
63
  "happy-dom": "^17.4.7",
64
+ "jiti": "^2.4.2",
61
65
  "plop": "^4.0.1",
62
66
  "postcss": "^8.5.3",
63
67
  "standard-version": "^9.5.0",