@pixerate/editor-react 0.141.0 → 0.142.0
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/dist/{chunk-DD2SZVT2.js → chunk-ULBLX67B.js} +3 -1
- package/dist/image-editor/ContentAwareFillWorkspace.d.cts +1 -1
- package/dist/image-editor/ContentAwareFillWorkspace.d.ts +1 -1
- package/dist/image-editor/index.cjs +3 -1
- package/dist/image-editor/index.js +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -3054,6 +3054,7 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
3054
3054
|
Math.round(zoom * 100),
|
|
3055
3055
|
"%"
|
|
3056
3056
|
] }),
|
|
3057
|
+
!session.showsWholeImage && /* @__PURE__ */ jsx16("button", { type: "button", className: button2, title: "Show (and sample from) more of the image around the selection", onClick: () => session.expandView(), children: "Expand View" }),
|
|
3057
3058
|
session.computing && /* @__PURE__ */ jsx16("span", { role: "status", className: "text-muted-foreground", children: "Updating preview\u2026" })
|
|
3058
3059
|
] }),
|
|
3059
3060
|
/* @__PURE__ */ jsxs14("div", { className: "flex-1 grid grid-cols-2 gap-2 p-2 min-h-0", children: [
|
|
@@ -3125,7 +3126,8 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
3125
3126
|
value: settings.output,
|
|
3126
3127
|
options: [
|
|
3127
3128
|
{ value: "new-layer", label: "New Layer" },
|
|
3128
|
-
{ value: "current", label: "Current Layer" }
|
|
3129
|
+
{ value: "current", label: "Current Layer" },
|
|
3130
|
+
{ value: "duplicate-layer", label: "Duplicate Layer" }
|
|
3129
3131
|
],
|
|
3130
3132
|
onChange: (v) => set({ output: v })
|
|
3131
3133
|
}
|
|
@@ -4988,6 +4988,7 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
4988
4988
|
Math.round(zoom * 100),
|
|
4989
4989
|
"%"
|
|
4990
4990
|
] }),
|
|
4991
|
+
!session.showsWholeImage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("button", { type: "button", className: button3, title: "Show (and sample from) more of the image around the selection", onClick: () => session.expandView(), children: "Expand View" }),
|
|
4991
4992
|
session.computing && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { role: "status", className: "text-muted-foreground", children: "Updating preview\u2026" })
|
|
4992
4993
|
] }),
|
|
4993
4994
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex-1 grid grid-cols-2 gap-2 p-2 min-h-0", children: [
|
|
@@ -5059,7 +5060,8 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
5059
5060
|
value: settings.output,
|
|
5060
5061
|
options: [
|
|
5061
5062
|
{ value: "new-layer", label: "New Layer" },
|
|
5062
|
-
{ value: "current", label: "Current Layer" }
|
|
5063
|
+
{ value: "current", label: "Current Layer" },
|
|
5064
|
+
{ value: "duplicate-layer", label: "Duplicate Layer" }
|
|
5063
5065
|
],
|
|
5064
5066
|
onChange: (v) => set({ output: v })
|
|
5065
5067
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -8702,6 +8702,7 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
8702
8702
|
Math.round(zoom * 100),
|
|
8703
8703
|
"%"
|
|
8704
8704
|
] }),
|
|
8705
|
+
!session.showsWholeImage && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("button", { type: "button", className: button3, title: "Show (and sample from) more of the image around the selection", onClick: () => session.expandView(), children: "Expand View" }),
|
|
8705
8706
|
session.computing && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { role: "status", className: "text-muted-foreground", children: "Updating preview\u2026" })
|
|
8706
8707
|
] }),
|
|
8707
8708
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-1 grid grid-cols-2 gap-2 p-2 min-h-0", children: [
|
|
@@ -8773,7 +8774,8 @@ var ContentAwareFillWorkspace = ({ controller, onClose, className = "" }) => {
|
|
|
8773
8774
|
value: settings.output,
|
|
8774
8775
|
options: [
|
|
8775
8776
|
{ value: "new-layer", label: "New Layer" },
|
|
8776
|
-
{ value: "current", label: "Current Layer" }
|
|
8777
|
+
{ value: "current", label: "Current Layer" },
|
|
8778
|
+
{ value: "duplicate-layer", label: "Duplicate Layer" }
|
|
8777
8779
|
],
|
|
8778
8780
|
onChange: (v) => set({ output: v })
|
|
8779
8781
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.142.0",
|
|
4
4
|
"description": "React bindings and prompt/rich-text components for @pixerate/editor",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"dependencies": {},
|
|
255
255
|
"peerDependencies": {
|
|
256
256
|
"@dagrejs/dagre": "^1.1.8",
|
|
257
|
-
"@pixerate/editor": ">=0.
|
|
257
|
+
"@pixerate/editor": ">=0.212.0 <1.0.0-0",
|
|
258
258
|
"@tiptap/core": "^2.27.3",
|
|
259
259
|
"@tiptap/extension-bubble-menu": "^2.27.3",
|
|
260
260
|
"@tiptap/extension-placeholder": "^2.27.3",
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"tsup": "^9.0.0",
|
|
306
306
|
"typescript": "^5.7.3",
|
|
307
307
|
"vitest": "^5.0.5",
|
|
308
|
-
"@pixerate/editor": "0.
|
|
308
|
+
"@pixerate/editor": "0.212.0"
|
|
309
309
|
},
|
|
310
310
|
"scripts": {
|
|
311
311
|
"build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",
|