@pixerate/editor-react 0.73.0 → 0.75.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/dist/paint-editor/index.cjs +216 -19
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +31 -6
- package/dist/paint-editor/index.d.ts +31 -6
- package/dist/paint-editor/index.js +244 -34
- package/dist/paint-editor/index.js.map +1 -1
- package/dist/vector/index.cjs +298 -174
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +22 -1
- package/dist/vector/index.d.ts +22 -1
- package/dist/vector/index.js +282 -160
- package/dist/vector/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1477,7 +1477,7 @@ var BrushOptionsBar = ({ controller, className }) => {
|
|
|
1477
1477
|
|
|
1478
1478
|
// src/image-editor/ColorProfilePanel.tsx
|
|
1479
1479
|
import { useEffect as useEffect7, useState as useState8 } from "react";
|
|
1480
|
-
import { INTENT_OPTIONS, PROOF_PROFILE_OPTIONS, WORKING_SPACE_OPTIONS, colorPanelView } from "@pixerate/editor/image-editor";
|
|
1480
|
+
import { COLOR_MODE_OPTIONS, INTENT_OPTIONS, PROOF_PROFILE_OPTIONS, WORKING_SPACE_OPTIONS, colorPanelView } from "@pixerate/editor/image-editor";
|
|
1481
1481
|
import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1482
1482
|
var chip2 = "px-2 py-1 rounded text-[11px] bg-slate-800 text-slate-300 hover:text-white";
|
|
1483
1483
|
var select = "rounded bg-slate-800 px-1 py-0.5 text-[11px] text-slate-200";
|
|
@@ -1514,6 +1514,11 @@ var ColorProfilePanel = ({ controller, className }) => {
|
|
|
1514
1514
|
/* @__PURE__ */ jsx8("span", { className: "text-slate-400", children: "Profile" }),
|
|
1515
1515
|
/* @__PURE__ */ jsx8("span", { "data-testid": "color-profile-name", children: view.profileName })
|
|
1516
1516
|
] }),
|
|
1517
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex flex-wrap items-center gap-1", role: "group", "aria-label": "Colour mode", children: [
|
|
1518
|
+
/* @__PURE__ */ jsx8("span", { className: "text-slate-400", children: "Mode" }),
|
|
1519
|
+
/* @__PURE__ */ jsx8("select", { "aria-label": "Colour mode", className: select, value: view.mode, onChange: (e) => attempt(() => controller.setColorMode(e.target.value)), children: COLOR_MODE_OPTIONS.map((o) => /* @__PURE__ */ jsx8("option", { value: o.id, title: o.title, children: o.label }, o.id)) }),
|
|
1520
|
+
view.cmykProfileName && /* @__PURE__ */ jsx8("span", { className: "text-slate-400", children: view.cmykProfileName })
|
|
1521
|
+
] }),
|
|
1517
1522
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-wrap items-center gap-1", role: "group", "aria-label": "Assign or convert", children: [
|
|
1518
1523
|
/* @__PURE__ */ jsx8("select", { "aria-label": "Target profile", className: select, value: target, onChange: (e) => setTarget(e.target.value), children: WORKING_SPACE_OPTIONS.map((o) => /* @__PURE__ */ jsx8("option", { value: o.id, children: o.label }, o.id)) }),
|
|
1519
1524
|
/* @__PURE__ */ jsx8("select", { "aria-label": "Rendering intent", className: select, value: intent, onChange: (e) => setIntent(e.target.value), children: INTENT_OPTIONS.map((o) => /* @__PURE__ */ jsx8("option", { value: o.id, title: o.title, children: o.label }, o.id)) }),
|
|
@@ -3784,4 +3789,4 @@ export {
|
|
|
3784
3789
|
TypeOptionsBar,
|
|
3785
3790
|
ImageEditor
|
|
3786
3791
|
};
|
|
3787
|
-
//# sourceMappingURL=chunk-
|
|
3792
|
+
//# sourceMappingURL=chunk-LWMUV5TC.js.map
|