@pixerate/editor-react 0.73.0 → 0.74.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-VNZKHFEM.js → chunk-LWMUV5TC.js} +7 -2
- package/dist/{chunk-VNZKHFEM.js.map → chunk-LWMUV5TC.js.map} +1 -1
- package/dist/image-editor/index.cjs +5 -0
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +2 -2
- package/dist/image-editor/index.d.ts +2 -2
- package/dist/image-editor/index.js +1 -1
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -185,8 +185,8 @@ interface ColorProfilePanelProps {
|
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* Colour management: the document's profile (working space) with Assign Profile and Convert to
|
|
188
|
-
* Profile (intent, black point compensation),
|
|
189
|
-
* paper, gamut warning).
|
|
188
|
+
* Profile (intent, black point compensation), Image › Mode (RGB, CMYK, Lab), and View › Proof
|
|
189
|
+
* Setup (profile, intent, simulate paper, gamut warning).
|
|
190
190
|
*/
|
|
191
191
|
declare const ColorProfilePanel: React__default.FC<ColorProfilePanelProps>;
|
|
192
192
|
|
|
@@ -185,8 +185,8 @@ interface ColorProfilePanelProps {
|
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* Colour management: the document's profile (working space) with Assign Profile and Convert to
|
|
188
|
-
* Profile (intent, black point compensation),
|
|
189
|
-
* paper, gamut warning).
|
|
188
|
+
* Profile (intent, black point compensation), Image › Mode (RGB, CMYK, Lab), and View › Proof
|
|
189
|
+
* Setup (profile, intent, simulate paper, gamut warning).
|
|
190
190
|
*/
|
|
191
191
|
declare const ColorProfilePanel: React__default.FC<ColorProfilePanelProps>;
|
|
192
192
|
|
package/dist/index.cjs
CHANGED
|
@@ -5076,6 +5076,11 @@ var ColorProfilePanel = ({ controller, className }) => {
|
|
|
5076
5076
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-slate-400", children: "Profile" }),
|
|
5077
5077
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { "data-testid": "color-profile-name", children: view.profileName })
|
|
5078
5078
|
] }),
|
|
5079
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-wrap items-center gap-1", role: "group", "aria-label": "Colour mode", children: [
|
|
5080
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-slate-400", children: "Mode" }),
|
|
5081
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("select", { "aria-label": "Colour mode", className: select, value: view.mode, onChange: (e) => attempt(() => controller.setColorMode(e.target.value)), children: import_image_editor9.COLOR_MODE_OPTIONS.map((o) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("option", { value: o.id, title: o.title, children: o.label }, o.id)) }),
|
|
5082
|
+
view.cmykProfileName && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-slate-400", children: view.cmykProfileName })
|
|
5083
|
+
] }),
|
|
5079
5084
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-wrap items-center gap-1", role: "group", "aria-label": "Assign or convert", children: [
|
|
5080
5085
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("select", { "aria-label": "Target profile", className: select, value: target, onChange: (e) => setTarget(e.target.value), children: import_image_editor9.WORKING_SPACE_OPTIONS.map((o) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("option", { value: o.id, children: o.label }, o.id)) }),
|
|
5081
5086
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("select", { "aria-label": "Rendering intent", className: select, value: intent, onChange: (e) => setIntent(e.target.value), children: import_image_editor9.INTENT_OPTIONS.map((o) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("option", { value: o.id, title: o.title, children: o.label }, o.id)) }),
|