@plyaz/ui 0.1.19 → 0.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.
- package/dist/types/App.d.ts +2 -1
- package/dist/types/App.d.ts.map +1 -0
- package/dist/types/components/Box/Box.d.ts +2 -1
- package/dist/types/components/Box/Box.d.ts.map +1 -0
- package/dist/types/components/Box/Box.stories.d.ts +2 -1
- package/dist/types/components/Box/Box.stories.d.ts.map +1 -0
- package/dist/types/components/Container/Container.d.ts +2 -1
- package/dist/types/components/Container/Container.d.ts.map +1 -0
- package/dist/types/components/Container/Container.stories.d.ts +2 -1
- package/dist/types/components/Container/Container.stories.d.ts.map +1 -0
- package/dist/types/components/ExternalLink/ExternalLink.d.ts +2 -1
- package/dist/types/components/ExternalLink/ExternalLink.d.ts.map +1 -0
- package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts +2 -1
- package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts.map +1 -0
- package/dist/types/components/Flex/Flex.d.ts +6 -5
- package/dist/types/components/Flex/Flex.d.ts.map +1 -0
- package/dist/types/components/Flex/Flex.stories.d.ts +2 -1
- package/dist/types/components/Flex/Flex.stories.d.ts.map +1 -0
- package/dist/types/components/Grid/Grid.d.ts +3 -17
- package/dist/types/components/Grid/Grid.d.ts.map +1 -0
- package/dist/types/components/Grid/Grid.stories.d.ts +2 -1
- package/dist/types/components/Grid/Grid.stories.d.ts.map +1 -0
- package/dist/types/components/Heading/Heading.d.ts +6 -5
- package/dist/types/components/Heading/Heading.d.ts.map +1 -0
- package/dist/types/components/Heading/Heading.stories.d.ts +2 -1
- package/dist/types/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/types/components/Paragraph/Paragraph.d.ts +2 -1
- package/dist/types/components/Paragraph/Paragraph.d.ts.map +1 -0
- package/dist/types/components/Paragraph/Paragraph.stories.d.ts +2 -1
- package/dist/types/components/Paragraph/Paragraph.stories.d.ts.map +1 -0
- package/dist/types/components/Section/Section.d.ts +2 -1
- package/dist/types/components/Section/Section.d.ts.map +1 -0
- package/dist/types/components/Section/Section.stories.d.ts +2 -1
- package/dist/types/components/Section/Section.stories.d.ts.map +1 -0
- package/dist/types/components/Stack/Stack.d.ts +3 -2
- package/dist/types/components/Stack/Stack.d.ts.map +1 -0
- package/dist/types/components/Stack/Stack.stories.d.ts +2 -1
- package/dist/types/components/Stack/Stack.stories.d.ts.map +1 -0
- package/dist/types/components/Text/Text.d.ts +13 -12
- package/dist/types/components/Text/Text.d.ts.map +1 -0
- package/dist/types/components/Text/Text.stories.d.ts +2 -1
- package/dist/types/components/Text/Text.stories.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/constants/constant.d.ts +17 -0
- package/dist/types/constants/constant.d.ts.map +1 -0
- package/dist/types/docs/DocTemplate.d.ts +2 -1
- package/dist/types/docs/DocTemplate.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/main.d.ts.map +1 -0
- package/dist/types/types/type.d.ts +2 -1
- package/dist/types/types/type.d.ts.map +1 -0
- package/dist/types/utils/cn.d.ts +3 -0
- package/dist/types/utils/cn.d.ts.map +1 -0
- package/dist/ui.cjs10.js +1 -1
- package/dist/ui.cjs11.js +1 -1
- package/dist/ui.cjs12.js +1 -1
- package/dist/ui.cjs14.js +1 -1
- package/dist/ui.cjs15.js +1 -1
- package/dist/ui.cjs16.js +1 -9
- package/dist/ui.cjs17.js +3 -8
- package/dist/ui.cjs18.js +14 -1
- package/dist/ui.cjs2.js +1 -1
- package/dist/ui.cjs20.js +1 -0
- package/dist/ui.cjs3.js +5 -1
- package/dist/ui.cjs4.js +1 -1
- package/dist/ui.cjs5.js +1 -1
- package/dist/ui.cjs6.js +1 -1
- package/dist/ui.cjs7.js +7 -1
- package/dist/ui.cjs8.js +1 -1
- package/dist/ui.cjs9.js +4 -1
- package/dist/ui.es10.js +5 -14
- package/dist/ui.es11.js +9 -12
- package/dist/ui.es12.js +1 -1
- package/dist/ui.es14.js +17 -8
- package/dist/ui.es15.js +8 -2
- package/dist/ui.es16.js +2 -33
- package/dist/ui.es17.js +23 -235
- package/dist/ui.es18.js +245 -2
- package/dist/ui.es19.js +2 -2
- package/dist/ui.es2.js +3 -9
- package/dist/ui.es20.js +4 -0
- package/dist/ui.es3.js +17 -16
- package/dist/ui.es4.js +7 -8
- package/dist/ui.es5.js +26 -42
- package/dist/ui.es6.js +10 -17
- package/dist/ui.es7.js +12 -12
- package/dist/ui.es8.js +7 -13
- package/dist/ui.es9.js +14 -13
- package/package.json +63 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plyaz/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
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": [
|
|
@@ -15,14 +15,19 @@
|
|
|
15
15
|
"require": "./dist/ui.cjs.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=22.4.0",
|
|
20
|
+
"pnpm": ">=8.0.0"
|
|
21
|
+
},
|
|
18
22
|
"dependencies": {
|
|
19
|
-
"@plyaz/devtools": "^1.2
|
|
23
|
+
"@plyaz/devtools": "^1.3.2",
|
|
20
24
|
"@tailwindcss/vite": "^4.1.8",
|
|
21
25
|
"@testing-library/jest-dom": "^6.6.3",
|
|
22
26
|
"@testing-library/user-event": "^14.6.1",
|
|
23
27
|
"clsx": "^2.1.1",
|
|
24
28
|
"react": "^19.1.0",
|
|
25
29
|
"react-dom": "^19.1.0",
|
|
30
|
+
"tailwind-merge": "^3.3.1",
|
|
26
31
|
"tailwindcss": "^4.1.8"
|
|
27
32
|
},
|
|
28
33
|
"peerDependencies": {
|
|
@@ -30,7 +35,13 @@
|
|
|
30
35
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
31
36
|
},
|
|
32
37
|
"devDependencies": {
|
|
33
|
-
"@
|
|
38
|
+
"@changesets/cli": "^2.29.5",
|
|
39
|
+
"@darraghor/eslint-plugin-nestjs-typed": "^6.6.2",
|
|
40
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
41
|
+
"@eslint/js": "^9.15.0",
|
|
42
|
+
"@eslint/markdown": "^6.5.0",
|
|
43
|
+
"@nestjs/common": "^11.1.3",
|
|
44
|
+
"@next/eslint-plugin-next": "^15.0.3",
|
|
34
45
|
"@storybook/addon-a11y": "^8.6.12",
|
|
35
46
|
"@storybook/addon-controls": "^8.6.12",
|
|
36
47
|
"@storybook/addon-docs": "^8.6.12",
|
|
@@ -44,8 +55,10 @@
|
|
|
44
55
|
"@storybook/react-vite": "^8.6.12",
|
|
45
56
|
"@storybook/test": "^8.6.12",
|
|
46
57
|
"@storybook/theming": "^8.6.12",
|
|
58
|
+
"@tailwindcss/postcss": "^4.1.8",
|
|
47
59
|
"@testing-library/dom": "^10.4.0",
|
|
48
60
|
"@testing-library/react": "^16.3.0",
|
|
61
|
+
"@types/node": "^22.4.0",
|
|
49
62
|
"@types/react": "^19.1.2",
|
|
50
63
|
"@types/react-dom": "^19.1.2",
|
|
51
64
|
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
@@ -54,20 +67,47 @@
|
|
|
54
67
|
"@vitest/coverage-v8": "3.1.3",
|
|
55
68
|
"autoprefixer": "^10.4.21",
|
|
56
69
|
"chromatic": "^11.28.2",
|
|
57
|
-
"eslint": "^9.
|
|
58
|
-
"eslint-
|
|
70
|
+
"eslint": "^9.29.0",
|
|
71
|
+
"eslint-config-next": "^15.3.3",
|
|
72
|
+
"eslint-config-prettier": "^9.1.0",
|
|
73
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
74
|
+
"eslint-mdx": "^3.5.0",
|
|
75
|
+
"eslint-plugin-better-tailwindcss": "3.2.1",
|
|
76
|
+
"eslint-plugin-functional": "^4.4.1",
|
|
77
|
+
"eslint-plugin-import": "^2.32.0",
|
|
78
|
+
"eslint-plugin-jest": "^28.13.5",
|
|
79
|
+
"eslint-plugin-jsdoc": "^50.8.0",
|
|
80
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
81
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
82
|
+
"eslint-plugin-markdownlint": "^0.9.0",
|
|
83
|
+
"eslint-plugin-mdx": "^3.5.0",
|
|
84
|
+
"eslint-plugin-n": "^17.20.0",
|
|
85
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
86
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
87
|
+
"eslint-plugin-react": "^7.37.2",
|
|
88
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
59
89
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
90
|
+
"eslint-plugin-regexp": "^2.9.0",
|
|
91
|
+
"eslint-plugin-security": "^3.0.1",
|
|
92
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
93
|
+
"eslint-plugin-sonarjs": "^0.23.0",
|
|
60
94
|
"eslint-plugin-storybook": "^0.12.0",
|
|
95
|
+
"eslint-plugin-testing-library": "^6.5.0",
|
|
96
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
97
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
61
98
|
"globals": "^16.0.0",
|
|
62
99
|
"happy-dom": "^17.4.7",
|
|
63
100
|
"jiti": "^2.4.2",
|
|
64
101
|
"plop": "^4.0.1",
|
|
65
102
|
"postcss": "^8.5.3",
|
|
103
|
+
"prettier": "^3.5.3",
|
|
66
104
|
"standard-version": "^9.5.0",
|
|
67
105
|
"storybook": "^8.6.12",
|
|
68
106
|
"storybook-addon-tailwind-autodocs": "^1.0.8",
|
|
107
|
+
"tailwindcss": "^4.1.8",
|
|
69
108
|
"ts-node": "^10.9.2",
|
|
70
109
|
"typescript": "~5.8.3",
|
|
110
|
+
"typescript-eslint": "^8.34.0",
|
|
71
111
|
"vite": "^6.3.5",
|
|
72
112
|
"vite-plugin-dts": "^4.5.3",
|
|
73
113
|
"vitest": "^3.1.3"
|
|
@@ -82,15 +122,27 @@
|
|
|
82
122
|
"dev": "vite",
|
|
83
123
|
"build": "vite build",
|
|
84
124
|
"preview": "vite preview",
|
|
85
|
-
"lint": "eslint .",
|
|
86
125
|
"storybook": "storybook dev -p 6006",
|
|
87
126
|
"build-storybook": "storybook build",
|
|
127
|
+
"lint": "eslint ./src",
|
|
128
|
+
"lint:fix": "eslint ./src --fix",
|
|
129
|
+
"format": "prettier --write './**/*.{ts,tsx,js,jsx}'",
|
|
130
|
+
"format:check": "prettier --check './**/*.{ts,tsx,js,jsx}'",
|
|
131
|
+
"type:check": "tsc --noEmit",
|
|
88
132
|
"generate": "plop",
|
|
89
|
-
"test": "vitest",
|
|
90
|
-
"
|
|
133
|
+
"test": "vitest run --no-watch",
|
|
134
|
+
"test:ci": "vitest run --no-watch",
|
|
135
|
+
"test:watch": "vitest --watch",
|
|
136
|
+
"test:coverage": "vitest run --coverage",
|
|
137
|
+
"test:ui": "vitest --ui",
|
|
91
138
|
"chromatic": "chromatic",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
139
|
+
"clean": "rm -rf dist",
|
|
140
|
+
"audit": "pnpm audit",
|
|
141
|
+
"audit:moderate": "pnpm audit --audit-level moderate",
|
|
142
|
+
"audit:high": "pnpm audit --audit-level high",
|
|
143
|
+
"audit:critical": "pnpm audit --audit-level critical",
|
|
144
|
+
"audit:fix": "pnpm audit --fix",
|
|
145
|
+
"audit:enhanced": "npx audit-ci --moderate",
|
|
146
|
+
"security:check": "pnpm audit:moderate && npx audit-ci --moderate"
|
|
95
147
|
}
|
|
96
148
|
}
|