@zvoove/unity-ui 2.26.0 → 2.26.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zvoove/unity-ui",
3
- "version": "2.26.0",
3
+ "version": "2.26.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/zvoove-org/unity-ui.git"
@@ -33,18 +33,6 @@
33
33
  "!**/*.md",
34
34
  "dist/bin/templates"
35
35
  ],
36
- "scripts": {
37
- "build": "tsc && vite build && npm run build:cli",
38
- "build:cli": "esbuild bin/cli.mjs bin/generate-skills.mjs --bundle --platform=node --format=esm --banner:js='#!/usr/bin/env node' --outdir=dist/bin",
39
- "test": "vitest",
40
- "storybook": "cross-env VITE_CJS_IGNORE_WARNING=true storybook dev -p 6006",
41
- "build-storybook": "storybook build",
42
- "prepare": "husky",
43
- "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
44
- "create": "node bin/cli.mjs create --",
45
- "commit": "cz",
46
- "generate-skills": "node bin/cli.mjs skills"
47
- },
48
36
  "peerDependencies": {
49
37
  "react": ">=18.0.0",
50
38
  "react-dom": ">=18.0.0"
@@ -53,16 +41,15 @@
53
41
  "@chromatic-com/storybook": "^5.0.1",
54
42
  "@commitlint/cli": "^20.4.3",
55
43
  "@commitlint/config-conventional": "^20.5.0",
56
- "@eslint/compat": "^2.0.4",
44
+ "@eslint/compat": "^2.0.5",
57
45
  "@eslint/eslintrc": "^3.3.5",
58
- "@eslint/js": "^9.39.4",
46
+ "@eslint/js": "^10.0.1",
59
47
  "@phosphor-icons/react": "^2.1.10",
60
48
  "@storybook/addon-a11y": "^10.3.5",
61
49
  "@storybook/addon-docs": "^10.3.5",
62
50
  "@storybook/addon-links": "^10.3.5",
63
51
  "@storybook/addon-themes": "^10.3.5",
64
52
  "@storybook/react-vite": "^10.3.5",
65
- "@storybook/testing-library": "^0.2.2",
66
53
  "@tailwindcss/postcss": "^4.2.1",
67
54
  "@tailwindcss/vite": "^4.2.2",
68
55
  "@testing-library/dom": "^10.4.1",
@@ -75,28 +62,28 @@
75
62
  "@types/react": "^19.2.14",
76
63
  "@types/react-dom": "^19.2.3",
77
64
  "@types/react-syntax-highlighter": "^15.5.13",
78
- "@typescript-eslint/eslint-plugin": "^8.56.1",
79
- "@typescript-eslint/parser": "^8.56.1",
80
- "@vitejs/plugin-react": "^5.1.4",
65
+ "@typescript-eslint/eslint-plugin": "^8.59.0",
66
+ "@typescript-eslint/parser": "^8.59.0",
67
+ "@vitejs/plugin-react": "^6.0.1",
81
68
  "@vitest/coverage-v8": "^4.0.18",
82
69
  "@vitest/ui": "^4.0.7",
83
- "chromatic": "^16.3.0",
70
+ "chromatic": "^16.5.0",
84
71
  "commander": "^14.0.3",
85
72
  "commitizen": "^4.3.1",
86
73
  "cross-env": "^10.1.0",
87
74
  "cz-conventional-changelog": "^3.3.0",
88
75
  "enzyme": "^3.11.0",
89
- "esbuild": "0.25.0",
90
- "eslint": "^9.39.4",
76
+ "esbuild": "0.28.0",
77
+ "eslint": "^10.2.1",
91
78
  "eslint-config-prettier": "^10.1.8",
92
79
  "eslint-plugin-jsx-a11y": "^6.10.2",
93
80
  "eslint-plugin-prettier": "^5.5.5",
94
- "eslint-plugin-react-hooks": "7.0.1",
95
- "eslint-plugin-react-refresh": "^0.4.26",
96
- "eslint-plugin-storybook": "^10.2.16",
97
- "globals": "^17.4.0",
81
+ "eslint-plugin-react-hooks": "^7.1.1",
82
+ "eslint-plugin-react-refresh": "^0.5.2",
83
+ "eslint-plugin-storybook": "^10.3.5",
84
+ "globals": "^17.5.0",
98
85
  "husky": "^9.1.7",
99
- "jsdom": "^28.1.0",
86
+ "jsdom": "^29.0.2",
100
87
  "prettier": "^3.8.1",
101
88
  "react": "^19.2.4",
102
89
  "react-dom": "^19.2.4",
@@ -109,19 +96,11 @@
109
96
  "tailwindcss": "^4.2.1",
110
97
  "terser": "^5.46.0",
111
98
  "typescript": "^5.9.3",
112
- "vite": "^7.3.1",
99
+ "vite": "^8.0.10",
113
100
  "vite-plugin-dts": "^4.5.4",
114
- "vite-plugin-static-copy": "^3.2.0",
101
+ "vite-plugin-static-copy": "^4.1.0",
115
102
  "vitest": "^4.0.7"
116
103
  },
117
- "overrides": {
118
- "esbuild": "0.25.0",
119
- "storybook": "$storybook",
120
- "@microsoft/api-extractor": {
121
- "minimatch": ">=10.2.3"
122
- },
123
- "lodash": ">=4.17.23"
124
- },
125
104
  "config": {
126
105
  "commitizen": {
127
106
  "path": "./node_modules/cz-conventional-changelog"
@@ -129,5 +108,16 @@
129
108
  },
130
109
  "optionalDependencies": {
131
110
  "lightningcss-linux-x64-gnu": "^1.32.0"
111
+ },
112
+ "scripts": {
113
+ "build": "tsc && vite build && pnpm run build:cli",
114
+ "build:cli": "esbuild bin/cli.mjs bin/generate-skills.mjs --bundle --platform=node --format=esm --out-extension:.js=.mjs --banner:js='#!/usr/bin/env node' --outdir=dist/bin",
115
+ "test": "vitest",
116
+ "storybook": "cross-env VITE_CJS_IGNORE_WARNING=true storybook dev -p 6006",
117
+ "build-storybook": "storybook build",
118
+ "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
119
+ "create": "node bin/cli.mjs create --",
120
+ "commit": "cz",
121
+ "generate-skills": "node bin/cli.mjs skills"
132
122
  }
133
- }
123
+ }
@@ -1,36 +0,0 @@
1
- import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks';
2
-
3
- import { __COMPONENT_NAME__ } from '.';
4
- import * as __COMPONENT_NAME__Stories from './__COMPONENT_NAME__.stories';
5
-
6
- <Meta of={__COMPONENT_NAME__Stories} />
7
-
8
- # **COMPONENT_NAME**
9
-
10
- The `__COMPONENT_NAME__` component is a auto generated component using the `npm run create <componentName>` script.
11
-
12
- <Canvas sourceState="none" of={__COMPONENT_NAME__Stories.Default} />
13
-
14
- <Controls of={__COMPONENT_NAME__Stories.Default} />
15
-
16
- ## Usage
17
-
18
- ```jsx
19
- import { __COMPONENT_NAME__ } from '@zvoove/unity-ui';
20
-
21
- <__COMPONENT_NAME__ />;
22
- ```
23
-
24
- ## Variants
25
-
26
- ### Default
27
-
28
- The default `__COMPONENT_NAME__` component has the following features:
29
-
30
- <Canvas sourceState="none" of={__COMPONENT_NAME__Stories.Default} />
31
-
32
- ```jsx
33
- import { __COMPONENT_NAME__ } from '@zvoove/unity-ui';
34
-
35
- <__COMPONENT_NAME__ />;
36
- ```
File without changes
File without changes
File without changes
File without changes
File without changes