react-screenshots 0.5.15 → 0.5.16

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.
Files changed (61) hide show
  1. package/package.json +2 -2
  2. package/electron/assets/index.7793f29e.js +0 -222
  3. package/electron/assets/index.78c5dcbf.css +0 -1
  4. package/electron/electron.html +0 -14
  5. package/lib/react-screenshots.cjs.js +0 -14
  6. package/lib/react-screenshots.es.js +0 -3166
  7. package/lib/style.css +0 -1
  8. package/lib/types/ScreenshotsBackground/getBoundsByPoints.d.ts +0 -2
  9. package/lib/types/ScreenshotsBackground/index.d.ts +0 -4
  10. package/lib/types/ScreenshotsButton/index.d.ts +0 -12
  11. package/lib/types/ScreenshotsCanvas/getBoundsByPoints.d.ts +0 -2
  12. package/lib/types/ScreenshotsCanvas/getPoints.d.ts +0 -2
  13. package/lib/types/ScreenshotsCanvas/index.d.ts +0 -15
  14. package/lib/types/ScreenshotsCanvas/isPointInDraw.d.ts +0 -2
  15. package/lib/types/ScreenshotsColor/index.d.ts +0 -8
  16. package/lib/types/ScreenshotsContext.d.ts +0 -29
  17. package/lib/types/ScreenshotsMagnifier/index.d.ts +0 -8
  18. package/lib/types/ScreenshotsOperations/index.d.ts +0 -6
  19. package/lib/types/ScreenshotsOption/index.d.ts +0 -15
  20. package/lib/types/ScreenshotsSize/index.d.ts +0 -8
  21. package/lib/types/ScreenshotsSizeColor/index.d.ts +0 -10
  22. package/lib/types/ScreenshotsTextarea/calculateNodeSize.d.ts +0 -17
  23. package/lib/types/ScreenshotsTextarea/index.d.ts +0 -15
  24. package/lib/types/composeImage.d.ts +0 -10
  25. package/lib/types/exports.d.ts +0 -3
  26. package/lib/types/hooks/useBounds.d.ts +0 -7
  27. package/lib/types/hooks/useCall.d.ts +0 -2
  28. package/lib/types/hooks/useCanvasContextRef.d.ts +0 -2
  29. package/lib/types/hooks/useCanvasMousedown.d.ts +0 -1
  30. package/lib/types/hooks/useCanvasMousemove.d.ts +0 -1
  31. package/lib/types/hooks/useCanvasMouseup.d.ts +0 -1
  32. package/lib/types/hooks/useCursor.d.ts +0 -6
  33. package/lib/types/hooks/useDispatcher.d.ts +0 -2
  34. package/lib/types/hooks/useDrawSelect.d.ts +0 -2
  35. package/lib/types/hooks/useEmiter.d.ts +0 -8
  36. package/lib/types/hooks/useHistory.d.ts +0 -16
  37. package/lib/types/hooks/useLang.d.ts +0 -2
  38. package/lib/types/hooks/useOperation.d.ts +0 -6
  39. package/lib/types/hooks/useReset.d.ts +0 -2
  40. package/lib/types/hooks/useStore.d.ts +0 -2
  41. package/lib/types/index.d.ts +0 -13
  42. package/lib/types/operations/Arrow/draw.d.ts +0 -11
  43. package/lib/types/operations/Arrow/index.d.ts +0 -22
  44. package/lib/types/operations/Brush/draw.d.ts +0 -3
  45. package/lib/types/operations/Brush/index.d.ts +0 -14
  46. package/lib/types/operations/Cancel/index.d.ts +0 -2
  47. package/lib/types/operations/Ellipse/draw.d.ts +0 -11
  48. package/lib/types/operations/Ellipse/index.d.ts +0 -28
  49. package/lib/types/operations/Mosaic/index.d.ts +0 -11
  50. package/lib/types/operations/Ok/index.d.ts +0 -2
  51. package/lib/types/operations/Rectangle/draw.d.ts +0 -11
  52. package/lib/types/operations/Rectangle/index.d.ts +0 -28
  53. package/lib/types/operations/Redo/index.d.ts +0 -2
  54. package/lib/types/operations/Save/index.d.ts +0 -2
  55. package/lib/types/operations/Text/index.d.ts +0 -22
  56. package/lib/types/operations/Undo/index.d.ts +0 -2
  57. package/lib/types/operations/index.d.ts +0 -3
  58. package/lib/types/operations/utils.d.ts +0 -4
  59. package/lib/types/types.d.ts +0 -39
  60. package/lib/types/useGetLoadedImage.d.ts +0 -1
  61. package/lib/types/zh_CN.d.ts +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-screenshots",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
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",
@@ -64,5 +64,5 @@
64
64
  "typescript": "^4.5.5",
65
65
  "vite": "^2.7.13"
66
66
  },
67
- "gitHead": "d93a013b046e1e03f2b408b33685af390111b2fb"
67
+ "gitHead": "b6dda67da28477ae0d2f6a826fb1bc929a912637"
68
68
  }