@yorab/react-paint 0.11.7 → 0.11.21
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/README.md +1 -1
- package/dist/canvas/constants/app.d.ts +2 -2
- package/dist/canvas/hooks/useReactPaint.d.ts +5 -5
- package/dist/canvas/hooks/useShapes.d.ts +1 -1
- package/dist/canvas/utils/file.d.ts +2 -2
- package/dist/common/types/Shapes.d.ts +1 -0
- package/dist/common/utils/array.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/react-paint.js +373 -372
- package/dist/react-paint.umd.cjs +1 -1
- package/package.json +24 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yorab/react-paint",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Yohann Rabatel",
|
|
@@ -23,27 +23,29 @@
|
|
|
23
23
|
"dist/"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@biomejs/biome": "1.
|
|
26
|
+
"@biomejs/biome": "1.9.4",
|
|
27
|
+
"@chromatic-com/storybook": "3.2.2",
|
|
27
28
|
"@rollup/plugin-terser": "0.4.4",
|
|
28
|
-
"@storybook/addon-essentials": "8.1
|
|
29
|
-
"@storybook/addon-interactions": "8.1
|
|
30
|
-
"@storybook/addon-links": "8.1
|
|
31
|
-
"@storybook/blocks": "8.1
|
|
32
|
-
"@storybook/react": "8.1
|
|
33
|
-
"@storybook/react-vite": "8.1
|
|
34
|
-
"@storybook/test": "8.1
|
|
35
|
-
"@
|
|
36
|
-
"@types/
|
|
37
|
-
"@types/react": "18.3.
|
|
38
|
-
"@
|
|
39
|
-
"
|
|
40
|
-
"lightningcss": "1.
|
|
29
|
+
"@storybook/addon-essentials": "8.4.1",
|
|
30
|
+
"@storybook/addon-interactions": "8.4.1",
|
|
31
|
+
"@storybook/addon-links": "8.4.1",
|
|
32
|
+
"@storybook/blocks": "8.4.1",
|
|
33
|
+
"@storybook/react": "8.4.1",
|
|
34
|
+
"@storybook/react-vite": "8.4.1",
|
|
35
|
+
"@storybook/test": "8.4.1",
|
|
36
|
+
"@types/node": "22.8.7",
|
|
37
|
+
"@types/react": "18.3.12",
|
|
38
|
+
"@types/react-dom": "18.3.1",
|
|
39
|
+
"@vitejs/plugin-react": "4.3.3",
|
|
40
|
+
"jsdom": "25.0.1",
|
|
41
|
+
"lightningcss": "1.27.0",
|
|
41
42
|
"react": "18.3.1",
|
|
42
43
|
"react-dom": "18.3.1",
|
|
43
|
-
"storybook": "8.1
|
|
44
|
-
"typescript": "5.
|
|
45
|
-
"vite": "5.
|
|
46
|
-
"vite-tsconfig-paths": "
|
|
44
|
+
"storybook": "8.4.1",
|
|
45
|
+
"typescript": "5.6.3",
|
|
46
|
+
"vite": "5.4.10",
|
|
47
|
+
"vite-tsconfig-paths": "5.0.1",
|
|
48
|
+
"vitest": "2.1.4"
|
|
47
49
|
},
|
|
48
50
|
"peerDependencies": {
|
|
49
51
|
"react": "18.x",
|
|
@@ -53,9 +55,9 @@
|
|
|
53
55
|
"declarationfiles": "pnpm tsc --project tsconfig.prod.json && node fixDtsPath.js",
|
|
54
56
|
"start": "storybook dev -p 6006",
|
|
55
57
|
"build-storybook": "storybook build",
|
|
56
|
-
"test": "
|
|
57
|
-
"build": "vite build
|
|
58
|
-
"lint": "pnpm biome check --write src stories",
|
|
58
|
+
"test": "vitest",
|
|
59
|
+
"build": "vite build",
|
|
60
|
+
"lint": "pnpm biome check --write src stories tests",
|
|
59
61
|
"publishnpm": "pnpm publish --access public"
|
|
60
62
|
}
|
|
61
63
|
}
|