@pixerate/editor-react 0.113.0 → 0.113.1

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.
@@ -382,6 +382,7 @@ var ImageEditorCanvas = ({
382
382
  viewportWidth: viewport.width,
383
383
  viewportHeight: viewport.height,
384
384
  pixelRatio: viewport.pixelRatio,
385
+ hostScale: viewport.hostScale,
385
386
  fit,
386
387
  showCropOverlay: mode === "crop",
387
388
  showSelectionOverlay: true,
@@ -489,6 +489,7 @@ var ImageEditorCanvas = ({
489
489
  viewportWidth: viewport.width,
490
490
  viewportHeight: viewport.height,
491
491
  pixelRatio: viewport.pixelRatio,
492
+ hostScale: viewport.hostScale,
492
493
  fit,
493
494
  showCropOverlay: mode === "crop",
494
495
  showSelectionOverlay: true,
@@ -25,7 +25,7 @@ import {
25
25
  useImageEditorControls,
26
26
  useImageEffectsTools,
27
27
  useImageHistogram
28
- } from "../chunk-HWZHG6GV.js";
28
+ } from "../chunk-CVYTRTFT.js";
29
29
  import "../chunk-AJCWF6SN.js";
30
30
  import "../chunk-BWEARAWR.js";
31
31
  import "../chunk-5LFQ2UQZ.js";
package/dist/index.cjs CHANGED
@@ -4199,6 +4199,7 @@ var ImageEditorCanvas = ({
4199
4199
  viewportWidth: viewport.width,
4200
4200
  viewportHeight: viewport.height,
4201
4201
  pixelRatio: viewport.pixelRatio,
4202
+ hostScale: viewport.hostScale,
4202
4203
  fit,
4203
4204
  showCropOverlay: mode === "crop",
4204
4205
  showSelectionOverlay: true,
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ import {
49
49
  useImageEditorControls,
50
50
  useImageEffectsTools,
51
51
  useImageHistogram
52
- } from "./chunk-HWZHG6GV.js";
52
+ } from "./chunk-CVYTRTFT.js";
53
53
  import "./chunk-AJCWF6SN.js";
54
54
  import "./chunk-BWEARAWR.js";
55
55
  import "./chunk-5LFQ2UQZ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-react",
3
- "version": "0.113.0",
3
+ "version": "0.113.1",
4
4
  "description": "React bindings and prompt/rich-text components for @pixerate/editor",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -258,7 +258,7 @@
258
258
  },
259
259
  "peerDependencies": {
260
260
  "@dagrejs/dagre": "^1.1.8",
261
- "@pixerate/editor": ">=0.169.0 <1.0.0-0",
261
+ "@pixerate/editor": ">=0.170.0 <1.0.0-0",
262
262
  "@tiptap/core": "^2.27.3",
263
263
  "@tiptap/pm": "^2.27.3",
264
264
  "@tiptap/react": "^2.27.3",
@@ -285,7 +285,7 @@
285
285
  "tsup": "^9.0.0",
286
286
  "typescript": "^5.7.3",
287
287
  "vitest": "^5.0.5",
288
- "@pixerate/editor": "0.169.0"
288
+ "@pixerate/editor": "0.170.0"
289
289
  },
290
290
  "scripts": {
291
291
  "build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",