react-screenshots 0.5.16 → 0.5.18
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/electron/assets/index.0d61ff16.js +222 -0
- package/electron/assets/index.78c5dcbf.css +1 -0
- package/electron/electron.html +14 -0
- package/lib/react-screenshots.cjs.js +14 -0
- package/lib/react-screenshots.es.js +3166 -0
- package/lib/style.css +1 -0
- package/lib/types/ScreenshotsBackground/getBoundsByPoints.d.ts +2 -0
- package/lib/types/ScreenshotsBackground/index.d.ts +4 -0
- package/lib/types/ScreenshotsButton/index.d.ts +12 -0
- package/lib/types/ScreenshotsCanvas/getBoundsByPoints.d.ts +2 -0
- package/lib/types/ScreenshotsCanvas/getPoints.d.ts +2 -0
- package/lib/types/ScreenshotsCanvas/index.d.ts +15 -0
- package/lib/types/ScreenshotsCanvas/isPointInDraw.d.ts +2 -0
- package/lib/types/ScreenshotsColor/index.d.ts +8 -0
- package/lib/types/ScreenshotsContext.d.ts +29 -0
- package/lib/types/ScreenshotsMagnifier/index.d.ts +8 -0
- package/lib/types/ScreenshotsOperations/index.d.ts +6 -0
- package/lib/types/ScreenshotsOption/index.d.ts +15 -0
- package/lib/types/ScreenshotsSize/index.d.ts +8 -0
- package/lib/types/ScreenshotsSizeColor/index.d.ts +10 -0
- package/lib/types/ScreenshotsTextarea/calculateNodeSize.d.ts +17 -0
- package/lib/types/ScreenshotsTextarea/index.d.ts +15 -0
- package/lib/types/composeImage.d.ts +10 -0
- package/lib/types/exports.d.ts +3 -0
- package/lib/types/hooks/useBounds.d.ts +7 -0
- package/lib/types/hooks/useCall.d.ts +2 -0
- package/lib/types/hooks/useCanvasContextRef.d.ts +2 -0
- package/lib/types/hooks/useCanvasMousedown.d.ts +1 -0
- package/lib/types/hooks/useCanvasMousemove.d.ts +1 -0
- package/lib/types/hooks/useCanvasMouseup.d.ts +1 -0
- package/lib/types/hooks/useCursor.d.ts +6 -0
- package/lib/types/hooks/useDispatcher.d.ts +2 -0
- package/lib/types/hooks/useDrawSelect.d.ts +2 -0
- package/lib/types/hooks/useEmiter.d.ts +8 -0
- package/lib/types/hooks/useHistory.d.ts +16 -0
- package/lib/types/hooks/useLang.d.ts +2 -0
- package/lib/types/hooks/useOperation.d.ts +6 -0
- package/lib/types/hooks/useReset.d.ts +2 -0
- package/lib/types/hooks/useStore.d.ts +2 -0
- package/lib/types/index.d.ts +13 -0
- package/lib/types/operations/Arrow/draw.d.ts +11 -0
- package/lib/types/operations/Arrow/index.d.ts +22 -0
- package/lib/types/operations/Brush/draw.d.ts +3 -0
- package/lib/types/operations/Brush/index.d.ts +14 -0
- package/lib/types/operations/Cancel/index.d.ts +2 -0
- package/lib/types/operations/Ellipse/draw.d.ts +11 -0
- package/lib/types/operations/Ellipse/index.d.ts +28 -0
- package/lib/types/operations/Mosaic/index.d.ts +11 -0
- package/lib/types/operations/Ok/index.d.ts +2 -0
- package/lib/types/operations/Rectangle/draw.d.ts +11 -0
- package/lib/types/operations/Rectangle/index.d.ts +28 -0
- package/lib/types/operations/Redo/index.d.ts +2 -0
- package/lib/types/operations/Save/index.d.ts +2 -0
- package/lib/types/operations/Text/index.d.ts +22 -0
- package/lib/types/operations/Undo/index.d.ts +2 -0
- package/lib/types/operations/index.d.ts +3 -0
- package/lib/types/operations/utils.d.ts +4 -0
- package/lib/types/types.d.ts +39 -0
- package/lib/types/useGetLoadedImage.d.ts +1 -0
- package/lib/types/zh_CN.d.ts +16 -0
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-screenshots",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"description": "a screenshot cropper tool by react",
|
|
5
5
|
"main": "./lib/react-screenshots.cjs.js",
|
|
6
6
|
"module": "./lib/react-screenshots.es.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"registry": "https://registry.npmjs.org/"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"react": "^17.0
|
|
43
|
-
"react-dom": "^17.0
|
|
42
|
+
"react": "^16.8 || ^17.0",
|
|
43
|
+
"react-dom": "^16.8 || ^17.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/react": "^17.0.38",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"typescript": "^4.5.5",
|
|
65
65
|
"vite": "^2.7.13"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "f4324d64f0d8952205d68cd1de999ab7f67a47b6"
|
|
68
68
|
}
|