@octanejs/image-crop 0.0.16 → 0.0.17
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 +2 -2
- package/src/ReactCrop.tsrx +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/image-crop",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "react-image-crop for Octane with matching crop interaction behavior.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"vitest": "^4.1.10",
|
|
48
|
-
"octane": "0.9.
|
|
48
|
+
"octane": "0.9.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run --root ../.. --project image-crop",
|
package/src/ReactCrop.tsrx
CHANGED
|
@@ -126,7 +126,6 @@ export function ReactCrop(props: ReactCropProps): OctaneNode {
|
|
|
126
126
|
const componentRef = useRef<HTMLDivElement | null>(null);
|
|
127
127
|
const mediaRef = useRef<HTMLDivElement | null>(null);
|
|
128
128
|
const resizeObserverRef = useRef<ResizeObserver | undefined>(undefined);
|
|
129
|
-
const initChangeCalledRef = useRef(false);
|
|
130
129
|
const instanceIdRef = useRef<string | null>(null);
|
|
131
130
|
const previousCropRef = useRef<Crop | undefined>(props.crop);
|
|
132
131
|
const docListenersRef = useRef<
|