@octanejs/image-crop 0.0.16 → 0.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/image-crop",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "react-image-crop for Octane with matching crop interaction behavior.",
5
5
  "license": "ISC",
6
6
  "type": "module",
@@ -40,12 +40,12 @@
40
40
  "./package.json": "./package.json"
41
41
  },
42
42
  "peerDependencies": {
43
- "octane": "^0.9.0"
43
+ "octane": "^0.10.0"
44
44
  },
45
45
  "devDependencies": {
46
+ "octane": "0.10.0",
46
47
  "typescript": "^5.9.3",
47
- "vitest": "^4.1.10",
48
- "octane": "0.9.0"
48
+ "vitest": "^4.1.10"
49
49
  },
50
50
  "scripts": {
51
51
  "test": "vitest run --root ../.. --project image-crop",
@@ -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<