@yorab/react-paint 0.15.0 → 0.16.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/canvas/components/Canvas.d.ts +1 -0
- package/dist/canvas/constants/shapes.d.ts +2 -0
- package/dist/canvas/hooks/useDrawableCanvas.d.ts +2 -1
- package/dist/canvas/hooks/useReactPaint.d.ts +34 -0
- package/dist/canvas/hooks/useShapes.d.ts +25 -0
- package/dist/canvas/utils/file.d.ts +4 -0
- package/dist/canvas/utils/selection/groupSelection.d.ts +3 -2
- package/dist/canvas/utils/selection/rectSelection.d.ts +3 -1
- package/dist/canvas/utils/shapes/brush.d.ts +6 -2
- package/dist/canvas/utils/shapes/circle.d.ts +5 -2
- package/dist/canvas/utils/shapes/curve.d.ts +0 -1
- package/dist/canvas/utils/shapes/ellipse.d.ts +5 -2
- package/dist/canvas/utils/shapes/group.d.ts +33 -0
- package/dist/canvas/utils/shapes/index.d.ts +6 -12
- package/dist/canvas/utils/shapes/line.d.ts +5 -2
- package/dist/canvas/utils/shapes/path.d.ts +2 -2
- package/dist/canvas/utils/shapes/picture.d.ts +5 -2
- package/dist/canvas/utils/shapes/polygon.d.ts +0 -1
- package/dist/canvas/utils/shapes/rectangle.d.ts +7 -44
- package/dist/canvas/utils/shapes/text.d.ts +5 -2
- package/dist/common/types/Mode.d.ts +1 -0
- package/dist/common/types/Shapes.d.ts +4 -0
- package/dist/common/utils/object.d.ts +1 -1
- package/dist/editor/components/settings/RangeField.d.ts +2 -1
- package/dist/editor/components/settings/SettingsBar.d.ts +2 -1
- package/dist/react-paint.js +1303 -1301
- package/dist/react-paint.umd.cjs +1 -1
- package/package.json +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yorab/react-paint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Yohann Rabatel",
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
"dist/"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@biomejs/biome": "2.3.
|
|
26
|
+
"@biomejs/biome": "2.3.13",
|
|
27
27
|
"@rollup/plugin-terser": "0.4.4",
|
|
28
|
-
"@storybook/addon-docs": "10.2.
|
|
29
|
-
"@storybook/addon-links": "10.2.
|
|
30
|
-
"@storybook/addon-vitest": "10.2.
|
|
31
|
-
"@storybook/react-vite": "10.2.
|
|
32
|
-
"@types/node": "25.0
|
|
33
|
-
"@types/react": "19.2.
|
|
28
|
+
"@storybook/addon-docs": "10.2.3",
|
|
29
|
+
"@storybook/addon-links": "10.2.3",
|
|
30
|
+
"@storybook/addon-vitest": "10.2.3",
|
|
31
|
+
"@storybook/react-vite": "10.2.3",
|
|
32
|
+
"@types/node": "25.2.0",
|
|
33
|
+
"@types/react": "19.2.10",
|
|
34
34
|
"@types/react-dom": "19.2.3",
|
|
35
|
-
"@vitejs/plugin-react": "5.1.
|
|
36
|
-
"jsdom": "
|
|
35
|
+
"@vitejs/plugin-react": "5.1.3",
|
|
36
|
+
"jsdom": "28.0.0",
|
|
37
37
|
"lightningcss": "1.31.1",
|
|
38
38
|
"react": "18.3.1",
|
|
39
39
|
"react-dom": "18.3.1",
|
|
40
|
-
"storybook": "10.2.
|
|
40
|
+
"storybook": "10.2.3",
|
|
41
41
|
"typescript": "5.9.3",
|
|
42
42
|
"vite": "7.3.1",
|
|
43
|
-
"vite-tsconfig-paths": "6.0.
|
|
43
|
+
"vite-tsconfig-paths": "6.0.5",
|
|
44
44
|
"vitest": "4.0.18",
|
|
45
|
-
"playwright": "1.58.
|
|
45
|
+
"playwright": "1.58.1",
|
|
46
46
|
"@vitest/browser-playwright": "4.0.18",
|
|
47
47
|
"@vitest/coverage-v8": "4.0.18"
|
|
48
48
|
},
|