@pixerate/editor-react 0.199.0 → 0.201.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.
Files changed (39) hide show
  1. package/dist/animation-editor/index.cjs +3 -3
  2. package/dist/animation-editor/index.js +1 -1
  3. package/dist/brushes/BrushEditor.d.cts +1 -1
  4. package/dist/brushes/BrushEditor.d.ts +1 -1
  5. package/dist/brushes/BrushLibraryBrowser.d.cts +1 -1
  6. package/dist/brushes/BrushLibraryBrowser.d.ts +1 -1
  7. package/dist/brushes/index.cjs +8 -5
  8. package/dist/brushes/index.js +2 -2
  9. package/dist/canvas/index.cjs +3 -3
  10. package/dist/canvas/index.js +1 -1
  11. package/dist/{chunk-BICTULEJ.js → chunk-HOFRSMB6.js} +3 -3
  12. package/dist/{chunk-GUBRH2OO.js → chunk-IYYUBI3M.js} +8 -5
  13. package/dist/{chunk-2QXGKOVK.js → chunk-QYARM2FN.js} +1 -1
  14. package/dist/{chunk-W6UZ7PVT.js → chunk-WTW6HRFI.js} +3 -3
  15. package/dist/effects/EffectsBrowser.d.cts +3 -1
  16. package/dist/effects/EffectsBrowser.d.ts +3 -1
  17. package/dist/effects/index.cjs +3 -3
  18. package/dist/effects/index.js +1 -1
  19. package/dist/image-editor/index.cjs +11 -8
  20. package/dist/image-editor/index.js +4 -4
  21. package/dist/index.cjs +11 -8
  22. package/dist/index.js +4 -4
  23. package/dist/paint-editor/BrushPanel.d.cts +5 -1
  24. package/dist/paint-editor/BrushPanel.d.ts +5 -1
  25. package/dist/paint-editor/PaintEditor.d.cts +3 -2
  26. package/dist/paint-editor/PaintEditor.d.ts +3 -2
  27. package/dist/paint-editor/PaperPanel.d.cts +2 -1
  28. package/dist/paint-editor/PaperPanel.d.ts +2 -1
  29. package/dist/paint-editor/SpecialtyPanel.d.cts +24 -0
  30. package/dist/paint-editor/SpecialtyPanel.d.ts +24 -0
  31. package/dist/paint-editor/index.cjs +910 -838
  32. package/dist/paint-editor/index.d.cts +1 -0
  33. package/dist/paint-editor/index.d.ts +1 -0
  34. package/dist/paint-editor/index.js +557 -490
  35. package/dist/vector/index.cjs +11 -8
  36. package/dist/vector/index.js +3 -3
  37. package/dist/video-editor/index.cjs +3 -3
  38. package/dist/video-editor/index.js +1 -1
  39. package/package.json +3 -3
@@ -1108,7 +1108,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
1108
1108
  var import_react13 = require("react");
1109
1109
  var import_effects2 = require("@pixerate/editor/effects");
1110
1110
  var import_jsx_runtime13 = require("react/jsx-runtime");
1111
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
1111
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
1112
1112
  const [all, setAll] = (0, import_react13.useState)([]);
1113
1113
  const [query, setQuery] = (0, import_react13.useState)("");
1114
1114
  const [category, setCategory] = (0, import_react13.useState)("");
@@ -1134,8 +1134,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
1134
1134
  live = false;
1135
1135
  };
1136
1136
  }, [provider, query, category, use]);
1137
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses);
1138
- const categories = (0, import_react13.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
1137
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses) && (!filter || filter(e));
1138
+ const categories = (0, import_react13.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
1139
1139
  const shown = found.filter(allowed);
1140
1140
  if (!provider)
1141
1141
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -4,7 +4,7 @@ import {
4
4
  EffectsBrowser,
5
5
  useEffectDescription,
6
6
  useEffects
7
- } from "../chunk-W6UZ7PVT.js";
7
+ } from "../chunk-WTW6HRFI.js";
8
8
  import "../chunk-5RPB4WGT.js";
9
9
  import "../chunk-KIRIU53A.js";
10
10
  import "../chunk-3I7FOSLF.js";
@@ -38,7 +38,7 @@ export interface BrushEditorProps {
38
38
  }
39
39
  /**
40
40
  * Edits a brush by its facets (`brushEditorSections`): Medium, Shape, Marks, Feel, Behaviour,
41
- * Light, Motion and Colour, each control a facet, with a live preview stroke, "Save" and "Save
41
+ * Light, Specialty (opt-in specialty paint, with how to use each once it is on), Motion and Colour, each control a facet, with a live preview stroke, "Save" and "Save
42
42
  * as". It needs no editor controller, so every host that paints uses it. Only what the host
43
43
  * profile uses is shown; what the brush has for other hosts is kept and named
44
44
  * (`brushEditorScope`). `BrushLibraryEditor` wires it to a brush library.
@@ -38,7 +38,7 @@ export interface BrushEditorProps {
38
38
  }
39
39
  /**
40
40
  * Edits a brush by its facets (`brushEditorSections`): Medium, Shape, Marks, Feel, Behaviour,
41
- * Light, Motion and Colour, each control a facet, with a live preview stroke, "Save" and "Save
41
+ * Light, Specialty (opt-in specialty paint, with how to use each once it is on), Motion and Colour, each control a facet, with a live preview stroke, "Save" and "Save
42
42
  * as". It needs no editor controller, so every host that paints uses it. Only what the host
43
43
  * profile uses is shown; what the brush has for other hosts is kept and named
44
44
  * (`brushEditorScope`). `BrushLibraryEditor` wires it to a brush library.
@@ -19,6 +19,6 @@ export interface BrushLibraryBrowserProps {
19
19
  thumbnailHeight?: number;
20
20
  className?: string;
21
21
  }
22
- /** The brush library grouped by medium, then variety, with tools as their own group, and a filter (`brushLibraryGroups`). */
22
+ /** The brush library grouped by medium, then variety, with specialty paint (by kind) and tools as their own groups, and a filter (`brushLibraryGroups`). */
23
23
  export declare const BrushLibraryBrowser: React.FC<BrushLibraryBrowserProps>;
24
24
  export {};
@@ -19,6 +19,6 @@ export interface BrushLibraryBrowserProps {
19
19
  thumbnailHeight?: number;
20
20
  className?: string;
21
21
  }
22
- /** The brush library grouped by medium, then variety, with tools as their own group, and a filter (`brushLibraryGroups`). */
22
+ /** The brush library grouped by medium, then variety, with specialty paint (by kind) and tools as their own groups, and a filter (`brushLibraryGroups`). */
23
23
  export declare const BrushLibraryBrowser: React.FC<BrushLibraryBrowserProps>;
24
24
  export {};
@@ -141,6 +141,7 @@ var BrushEditor = ({ brush, profile = import_brushes.PAINT_PROFILE, onChange, pr
141
141
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "font-medium text-slate-300", children: s.title }),
142
142
  s.controls.map((c) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.default.Fragment, { children: [
143
143
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(EditorControl, { control: c, onSet: set }),
144
+ c.hint && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: "text-[10px] leading-snug text-slate-400", "data-hint": c.path, children: c.hint }),
144
145
  addSource && (c.path === "tip.stamps" || c.path === "tip.grain.source") && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AddImage, { label: c.path === "tip.stamps" ? "Add image tip\u2026" : "Add grain image\u2026", onFile: (f) => addSource(f, c.path === "tip.stamps" ? "tip" : "grain") })
145
146
  ] }, c.path)),
146
147
  renderExtra?.(s.id)
@@ -266,10 +267,12 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
266
267
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: `flex flex-col gap-1 ${className ?? ""}`, "data-testid": "brush-library", children: [
267
268
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("input", { type: "search", value: text, placeholder: "Find a brush", "aria-label": "Find a brush", onChange: (e) => setText(e.target.value), className: "rounded bg-slate-800 px-1.5 py-0.5" }),
268
269
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex flex-col gap-1.5", role: "listbox", "aria-label": "Brushes", children: [
269
- groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { role: "group", "aria-label": g.title, className: "flex flex-col gap-0.5", children: [
270
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-[10px] uppercase tracking-wide text-slate-500", children: g.title }),
271
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap(
272
- (v) => v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
270
+ groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { role: "group", "aria-label": g.title, "data-group": g.id, className: `flex flex-col gap-0.5 ${g.id === "specialty" ? "mt-1 border-t border-indigo-500/40 pt-1" : ""}`, children: [
271
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: `text-[10px] uppercase tracking-wide ${g.id === "specialty" ? "text-indigo-300" : "text-slate-500"}`, children: g.title }),
272
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap((v) => [
273
+ // Specialty paint is listed by kind (Ferrofluid, UV-fluorescent…).
274
+ ...g.id === "specialty" ? [/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "col-span-2 text-[10px] text-slate-400", children: v.title }, `kind-${v.variety}`)] : [],
275
+ ...v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
273
276
  "button",
274
277
  {
275
278
  type: "button",
@@ -285,7 +288,7 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
285
288
  },
286
289
  e.brush.id
287
290
  ))
288
- ) })
291
+ ]) })
289
292
  ] }, g.id)),
290
293
  !groups.length && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-slate-500", children: "No brush matches." })
291
294
  ] })
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  BrushLibraryEditor,
3
3
  useBrushLibrary
4
- } from "../chunk-2QXGKOVK.js";
4
+ } from "../chunk-QYARM2FN.js";
5
5
  import {
6
6
  BrushEditor,
7
7
  BrushLibraryBrowser
8
- } from "../chunk-GUBRH2OO.js";
8
+ } from "../chunk-IYYUBI3M.js";
9
9
  export {
10
10
  BrushEditor,
11
11
  BrushLibraryBrowser,
@@ -2069,7 +2069,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
2069
2069
  var import_react23 = require("react");
2070
2070
  var import_effects2 = require("@pixerate/editor/effects");
2071
2071
  var import_jsx_runtime8 = require("react/jsx-runtime");
2072
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
2072
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
2073
2073
  const [all, setAll] = (0, import_react23.useState)([]);
2074
2074
  const [query, setQuery] = (0, import_react23.useState)("");
2075
2075
  const [category, setCategory] = (0, import_react23.useState)("");
@@ -2095,8 +2095,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
2095
2095
  live = false;
2096
2096
  };
2097
2097
  }, [provider, query, category, use]);
2098
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses);
2099
- const categories = (0, import_react23.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
2098
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses) && (!filter || filter(e));
2099
+ const categories = (0, import_react23.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
2100
2100
  const shown = found.filter(allowed);
2101
2101
  if (!provider)
2102
2102
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -2,7 +2,7 @@ import {
2
2
  EffectParameters,
3
3
  EffectsBrowser,
4
4
  useEffectDescription
5
- } from "../chunk-W6UZ7PVT.js";
5
+ } from "../chunk-WTW6HRFI.js";
6
6
  import "../chunk-5RPB4WGT.js";
7
7
  import "../chunk-KIRIU53A.js";
8
8
  import "../chunk-3I7FOSLF.js";
@@ -31,7 +31,7 @@ import {
31
31
  EffectsBrowser,
32
32
  useEffectDescription,
33
33
  useEffects
34
- } from "./chunk-W6UZ7PVT.js";
34
+ } from "./chunk-WTW6HRFI.js";
35
35
  import {
36
36
  resolveParameterComponents,
37
37
  useParameterComponents
@@ -44,10 +44,10 @@ import {
44
44
  import {
45
45
  BrushLibraryEditor,
46
46
  useBrushLibrary
47
- } from "./chunk-2QXGKOVK.js";
47
+ } from "./chunk-QYARM2FN.js";
48
48
  import {
49
49
  BrushLibraryBrowser
50
- } from "./chunk-GUBRH2OO.js";
50
+ } from "./chunk-IYYUBI3M.js";
51
51
 
52
52
  // src/image-editor/useImageEditor.ts
53
53
  import { useRef, useState, useEffect, useCallback, useMemo } from "react";
@@ -23,10 +23,12 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
23
23
  return /* @__PURE__ */ jsxs("div", { className: `flex flex-col gap-1 ${className ?? ""}`, "data-testid": "brush-library", children: [
24
24
  /* @__PURE__ */ jsx("input", { type: "search", value: text, placeholder: "Find a brush", "aria-label": "Find a brush", onChange: (e) => setText(e.target.value), className: "rounded bg-slate-800 px-1.5 py-0.5" }),
25
25
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", role: "listbox", "aria-label": "Brushes", children: [
26
- groups.map((g) => /* @__PURE__ */ jsxs("div", { role: "group", "aria-label": g.title, className: "flex flex-col gap-0.5", children: [
27
- /* @__PURE__ */ jsx("span", { className: "text-[10px] uppercase tracking-wide text-slate-500", children: g.title }),
28
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap(
29
- (v) => v.entries.map((e) => /* @__PURE__ */ jsxs(
26
+ groups.map((g) => /* @__PURE__ */ jsxs("div", { role: "group", "aria-label": g.title, "data-group": g.id, className: `flex flex-col gap-0.5 ${g.id === "specialty" ? "mt-1 border-t border-indigo-500/40 pt-1" : ""}`, children: [
27
+ /* @__PURE__ */ jsx("span", { className: `text-[10px] uppercase tracking-wide ${g.id === "specialty" ? "text-indigo-300" : "text-slate-500"}`, children: g.title }),
28
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap((v) => [
29
+ // Specialty paint is listed by kind (Ferrofluid, UV-fluorescent…).
30
+ ...g.id === "specialty" ? [/* @__PURE__ */ jsx("span", { className: "col-span-2 text-[10px] text-slate-400", children: v.title }, `kind-${v.variety}`)] : [],
31
+ ...v.entries.map((e) => /* @__PURE__ */ jsxs(
30
32
  "button",
31
33
  {
32
34
  type: "button",
@@ -42,7 +44,7 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
42
44
  },
43
45
  e.brush.id
44
46
  ))
45
- ) })
47
+ ]) })
46
48
  ] }, g.id)),
47
49
  !groups.length && /* @__PURE__ */ jsx("span", { className: "text-slate-500", children: "No brush matches." })
48
50
  ] })
@@ -178,6 +180,7 @@ var BrushEditor = ({ brush, profile = PAINT_PROFILE, onChange, preview, previewB
178
180
  /* @__PURE__ */ jsx3("span", { className: "font-medium text-slate-300", children: s.title }),
179
181
  s.controls.map((c) => /* @__PURE__ */ jsxs3(React3.Fragment, { children: [
180
182
  /* @__PURE__ */ jsx3(EditorControl, { control: c, onSet: set }),
183
+ c.hint && /* @__PURE__ */ jsx3("p", { className: "text-[10px] leading-snug text-slate-400", "data-hint": c.path, children: c.hint }),
181
184
  addSource && (c.path === "tip.stamps" || c.path === "tip.grain.source") && /* @__PURE__ */ jsx3(AddImage, { label: c.path === "tip.stamps" ? "Add image tip\u2026" : "Add grain image\u2026", onFile: (f) => addSource(f, c.path === "tip.stamps" ? "tip" : "grain") })
182
185
  ] }, c.path)),
183
186
  renderExtra?.(s.id)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BrushEditor,
3
3
  button
4
- } from "./chunk-GUBRH2OO.js";
4
+ } from "./chunk-IYYUBI3M.js";
5
5
 
6
6
  // src/brushes/BrushLibraryEditor.tsx
7
7
  import { useEffect, useMemo, useState } from "react";
@@ -68,7 +68,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
68
68
  import { useEffect as useEffect3, useMemo, useState as useState3 } from "react";
69
69
  import { EFFECT_USE_LABELS, effectOffered } from "@pixerate/editor/effects";
70
70
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
71
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
71
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
72
72
  const [all, setAll] = useState3([]);
73
73
  const [query, setQuery] = useState3("");
74
74
  const [category, setCategory] = useState3("");
@@ -94,8 +94,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
94
94
  live = false;
95
95
  };
96
96
  }, [provider, query, category, use]);
97
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && effectOffered(e, uses);
98
- const categories = useMemo(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
97
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && effectOffered(e, uses) && (!filter || filter(e));
98
+ const categories = useMemo(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
99
99
  const shown = found.filter(allowed);
100
100
  if (!provider)
101
101
  return /* @__PURE__ */ jsx2("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -7,6 +7,8 @@ export interface EffectsBrowserProps {
7
7
  uses?: readonly EffectUse[];
8
8
  /** Only effects of these kinds (default: any). */
9
9
  kinds?: readonly EffectKind[];
10
+ /** Only effects this also keeps (e.g. `paintEffectOffered` for the paint editor's paint, which honours provider paint hints). */
11
+ filter?: (effect: EffectSummary) => boolean;
10
12
  /** Called with the effect the user picks. */
11
13
  onPick: (effect: EffectSummary) => void;
12
14
  /** Draw previews with the provider's renderer (default true). */
@@ -19,4 +21,4 @@ export interface EffectsBrowserProps {
19
21
  * Browses a provider's effects: a search box, a category filter (and a use filter when more than
20
22
  * one use is allowed), and a grid of effects with previews. Picking one calls `onPick`.
21
23
  */
22
- export declare function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails, title, className }: EffectsBrowserProps): React.JSX.Element;
24
+ export declare function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails, title, className }: EffectsBrowserProps): React.JSX.Element;
@@ -7,6 +7,8 @@ export interface EffectsBrowserProps {
7
7
  uses?: readonly EffectUse[];
8
8
  /** Only effects of these kinds (default: any). */
9
9
  kinds?: readonly EffectKind[];
10
+ /** Only effects this also keeps (e.g. `paintEffectOffered` for the paint editor's paint, which honours provider paint hints). */
11
+ filter?: (effect: EffectSummary) => boolean;
10
12
  /** Called with the effect the user picks. */
11
13
  onPick: (effect: EffectSummary) => void;
12
14
  /** Draw previews with the provider's renderer (default true). */
@@ -19,4 +21,4 @@ export interface EffectsBrowserProps {
19
21
  * Browses a provider's effects: a search box, a category filter (and a use filter when more than
20
22
  * one use is allowed), and a grid of effects with previews. Picking one calls `onPick`.
21
23
  */
22
- export declare function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails, title, className }: EffectsBrowserProps): React.JSX.Element;
24
+ export declare function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails, title, className }: EffectsBrowserProps): React.JSX.Element;
@@ -105,7 +105,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
105
105
  var import_react3 = require("react");
106
106
  var import_effects2 = require("@pixerate/editor/effects");
107
107
  var import_jsx_runtime2 = require("react/jsx-runtime");
108
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
108
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
109
109
  const [all, setAll] = (0, import_react3.useState)([]);
110
110
  const [query, setQuery] = (0, import_react3.useState)("");
111
111
  const [category, setCategory] = (0, import_react3.useState)("");
@@ -131,8 +131,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
131
131
  live = false;
132
132
  };
133
133
  }, [provider, query, category, use]);
134
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses);
135
- const categories = (0, import_react3.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
134
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses) && (!filter || filter(e));
135
+ const categories = (0, import_react3.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
136
136
  const shown = found.filter(allowed);
137
137
  if (!provider)
138
138
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -7,7 +7,7 @@ import {
7
7
  useEffectAuthoring,
8
8
  useEffectDescription,
9
9
  useEffects
10
- } from "../chunk-W6UZ7PVT.js";
10
+ } from "../chunk-WTW6HRFI.js";
11
11
  import "../chunk-5RPB4WGT.js";
12
12
  import "../chunk-KIRIU53A.js";
13
13
  import "../chunk-3I7FOSLF.js";
@@ -2449,7 +2449,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
2449
2449
  var import_react16 = require("react");
2450
2450
  var import_effects2 = require("@pixerate/editor/effects");
2451
2451
  var import_jsx_runtime14 = require("react/jsx-runtime");
2452
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
2452
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
2453
2453
  const [all, setAll] = (0, import_react16.useState)([]);
2454
2454
  const [query, setQuery] = (0, import_react16.useState)("");
2455
2455
  const [category, setCategory] = (0, import_react16.useState)("");
@@ -2475,8 +2475,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
2475
2475
  live = false;
2476
2476
  };
2477
2477
  }, [provider, query, category, use]);
2478
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses);
2479
- const categories = (0, import_react16.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
2478
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses) && (!filter || filter(e));
2479
+ const categories = (0, import_react16.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
2480
2480
  const shown = found.filter(allowed);
2481
2481
  if (!provider)
2482
2482
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -4616,10 +4616,12 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
4616
4616
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: `flex flex-col gap-1 ${className ?? ""}`, "data-testid": "brush-library", children: [
4617
4617
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("input", { type: "search", value: text, placeholder: "Find a brush", "aria-label": "Find a brush", onChange: (e) => setText(e.target.value), className: "rounded bg-slate-800 px-1.5 py-0.5" }),
4618
4618
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-1.5", role: "listbox", "aria-label": "Brushes", children: [
4619
- groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { role: "group", "aria-label": g.title, className: "flex flex-col gap-0.5", children: [
4620
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-[10px] uppercase tracking-wide text-slate-500", children: g.title }),
4621
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap(
4622
- (v) => v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
4619
+ groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { role: "group", "aria-label": g.title, "data-group": g.id, className: `flex flex-col gap-0.5 ${g.id === "specialty" ? "mt-1 border-t border-indigo-500/40 pt-1" : ""}`, children: [
4620
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `text-[10px] uppercase tracking-wide ${g.id === "specialty" ? "text-indigo-300" : "text-slate-500"}`, children: g.title }),
4621
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap((v) => [
4622
+ // Specialty paint is listed by kind (Ferrofluid, UV-fluorescent…).
4623
+ ...g.id === "specialty" ? [/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "col-span-2 text-[10px] text-slate-400", children: v.title }, `kind-${v.variety}`)] : [],
4624
+ ...v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
4623
4625
  "button",
4624
4626
  {
4625
4627
  type: "button",
@@ -4635,7 +4637,7 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
4635
4637
  },
4636
4638
  e.brush.id
4637
4639
  ))
4638
- ) })
4640
+ ]) })
4639
4641
  ] }, g.id)),
4640
4642
  !groups.length && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-slate-500", children: "No brush matches." })
4641
4643
  ] })
@@ -4748,6 +4750,7 @@ var BrushEditor = ({ brush, profile = import_brushes2.PAINT_PROFILE, onChange, p
4748
4750
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "font-medium text-slate-300", children: s.title }),
4749
4751
  s.controls.map((c) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react27.default.Fragment, { children: [
4750
4752
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EditorControl, { control: c, onSet: set }),
4753
+ c.hint && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-[10px] leading-snug text-slate-400", "data-hint": c.path, children: c.hint }),
4751
4754
  addSource && (c.path === "tip.stamps" || c.path === "tip.grain.source") && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(AddImage, { label: c.path === "tip.stamps" ? "Add image tip\u2026" : "Add grain image\u2026", onFile: (f) => addSource(f, c.path === "tip.stamps" ? "tip" : "grain") })
4752
4755
  ] }, c.path)),
4753
4756
  renderExtra?.(s.id)
@@ -29,7 +29,7 @@ import {
29
29
  useImageEditor,
30
30
  useImageEffectsTools,
31
31
  useImageHistogram
32
- } from "../chunk-BICTULEJ.js";
32
+ } from "../chunk-HOFRSMB6.js";
33
33
  import {
34
34
  ImageCheckbox,
35
35
  ImageColor,
@@ -39,13 +39,13 @@ import {
39
39
  LayerEffectsPanel,
40
40
  useImageEditorControls
41
41
  } from "../chunk-EP6C5N54.js";
42
- import "../chunk-W6UZ7PVT.js";
42
+ import "../chunk-WTW6HRFI.js";
43
43
  import "../chunk-5RPB4WGT.js";
44
44
  import "../chunk-KIRIU53A.js";
45
45
  import "../chunk-3I7FOSLF.js";
46
46
  import "../chunk-W5CMGX3I.js";
47
- import "../chunk-2QXGKOVK.js";
48
- import "../chunk-GUBRH2OO.js";
47
+ import "../chunk-QYARM2FN.js";
48
+ import "../chunk-IYYUBI3M.js";
49
49
  export {
50
50
  AdjustmentLayersPanel,
51
51
  BrushOptionsBar,
package/dist/index.cjs CHANGED
@@ -6006,7 +6006,7 @@ function EffectThumbnail({ provider, effect, width = 96, height = 54, className
6006
6006
  var import_react52 = require("react");
6007
6007
  var import_effects2 = require("@pixerate/editor/effects");
6008
6008
  var import_jsx_runtime31 = require("react/jsx-runtime");
6009
- function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, title = "Effects", className = "" }) {
6009
+ function EffectsBrowser({ provider, uses, kinds, filter, onPick, thumbnails = true, title = "Effects", className = "" }) {
6010
6010
  const [all, setAll] = (0, import_react52.useState)([]);
6011
6011
  const [query, setQuery] = (0, import_react52.useState)("");
6012
6012
  const [category, setCategory] = (0, import_react52.useState)("");
@@ -6032,8 +6032,8 @@ function EffectsBrowser({ provider, uses, kinds, onPick, thumbnails = true, titl
6032
6032
  live = false;
6033
6033
  };
6034
6034
  }, [provider, query, category, use]);
6035
- const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses);
6036
- const categories = (0, import_react52.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds]);
6035
+ const allowed = (e) => (!kinds || kinds.includes(e.kind)) && (0, import_effects2.effectOffered)(e, uses) && (!filter || filter(e));
6036
+ const categories = (0, import_react52.useMemo)(() => [...new Set(all.filter(allowed).map((e) => e.category))], [all, uses, kinds, filter]);
6037
6037
  const shown = found.filter(allowed);
6038
6038
  if (!provider)
6039
6039
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `rounded-md border border-dashed border-border p-3 text-xs text-muted-foreground ${className}`, "data-effects-browser": "", "data-effects-unavailable": "", children: "No effects provider is registered, so effects cannot be added. Effects already in the document are kept." });
@@ -8173,10 +8173,12 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
8173
8173
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: `flex flex-col gap-1 ${className ?? ""}`, "data-testid": "brush-library", children: [
8174
8174
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("input", { type: "search", value: text, placeholder: "Find a brush", "aria-label": "Find a brush", onChange: (e) => setText(e.target.value), className: "rounded bg-slate-800 px-1.5 py-0.5" }),
8175
8175
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col gap-1.5", role: "listbox", "aria-label": "Brushes", children: [
8176
- groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { role: "group", "aria-label": g.title, className: "flex flex-col gap-0.5", children: [
8177
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-[10px] uppercase tracking-wide text-slate-500", children: g.title }),
8178
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap(
8179
- (v) => v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
8176
+ groups.map((g) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { role: "group", "aria-label": g.title, "data-group": g.id, className: `flex flex-col gap-0.5 ${g.id === "specialty" ? "mt-1 border-t border-indigo-500/40 pt-1" : ""}`, children: [
8177
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: `text-[10px] uppercase tracking-wide ${g.id === "specialty" ? "text-indigo-300" : "text-slate-500"}`, children: g.title }),
8178
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "grid grid-cols-2 gap-1", children: g.varieties.flatMap((v) => [
8179
+ // Specialty paint is listed by kind (Ferrofluid, UV-fluorescent…).
8180
+ ...g.id === "specialty" ? [/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "col-span-2 text-[10px] text-slate-400", children: v.title }, `kind-${v.variety}`)] : [],
8181
+ ...v.entries.map((e) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
8180
8182
  "button",
8181
8183
  {
8182
8184
  type: "button",
@@ -8192,7 +8194,7 @@ var BrushLibraryBrowser = ({ entries, activeId, onSelect, profile, thumbnail, th
8192
8194
  },
8193
8195
  e.brush.id
8194
8196
  ))
8195
- ) })
8197
+ ]) })
8196
8198
  ] }, g.id)),
8197
8199
  !groups.length && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-slate-500", children: "No brush matches." })
8198
8200
  ] })
@@ -8305,6 +8307,7 @@ var BrushEditor = ({ brush, profile = import_brushes2.PAINT_PROFILE, onChange, p
8305
8307
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "font-medium text-slate-300", children: s.title }),
8306
8308
  s.controls.map((c) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_react63.default.Fragment, { children: [
8307
8309
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EditorControl, { control: c, onSet: set }),
8310
+ c.hint && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-[10px] leading-snug text-slate-400", "data-hint": c.path, children: c.hint }),
8308
8311
  addSource && (c.path === "tip.stamps" || c.path === "tip.grain.source") && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AddImage, { label: c.path === "tip.stamps" ? "Add image tip\u2026" : "Add grain image\u2026", onFile: (f) => addSource(f, c.path === "tip.stamps" ? "tip" : "grain") })
8309
8312
  ] }, c.path)),
8310
8313
  renderExtra?.(s.id)
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  useImageEditor,
63
63
  useImageEffectsTools,
64
64
  useImageHistogram
65
- } from "./chunk-BICTULEJ.js";
65
+ } from "./chunk-HOFRSMB6.js";
66
66
  import {
67
67
  ImageCheckbox,
68
68
  ImageColor,
@@ -72,7 +72,7 @@ import {
72
72
  LayerEffectsPanel,
73
73
  useImageEditorControls
74
74
  } from "./chunk-EP6C5N54.js";
75
- import "./chunk-W6UZ7PVT.js";
75
+ import "./chunk-WTW6HRFI.js";
76
76
  import "./chunk-5RPB4WGT.js";
77
77
  import "./chunk-KIRIU53A.js";
78
78
  import "./chunk-3I7FOSLF.js";
@@ -82,8 +82,8 @@ import {
82
82
  useAgentPlayback,
83
83
  usePlaybackSurface
84
84
  } from "./chunk-W5CMGX3I.js";
85
- import "./chunk-2QXGKOVK.js";
86
- import "./chunk-GUBRH2OO.js";
85
+ import "./chunk-QYARM2FN.js";
86
+ import "./chunk-IYYUBI3M.js";
87
87
  import {
88
88
  CommandPalette,
89
89
  useCommandPalette,
@@ -5,11 +5,15 @@ export interface BrushPanelProps {
5
5
  /** Thumbnail size in px (default 112 × 32). */
6
6
  thumbnailWidth?: number;
7
7
  thumbnailHeight?: number;
8
+ /** With it, the specialty guide card has an "Open Specialty panel" button (the paint editor's Specialty tab). */
9
+ onOpenSpecialtyPanel?: () => void;
8
10
  className?: string;
9
11
  }
10
12
  /**
11
13
  * The brush library (`BrushLibraryBrowser`: thumbnails of a test stroke on the current paper,
12
- * grouped by medium and variety, tools apart) and the active brush in the `BrushEditor`: its
14
+ * grouped by medium and variety, specialty paint and tools apart), a guide card for a specialty
15
+ * brush (`SpecialtyGuideCard`: how to use it, the canvas's status, one-click setup) and the active
16
+ * brush in the `BrushEditor`: its
13
17
  * facets with a live preview, and "Save brush" into the editor's brush library. The paint
14
18
  * editor adds the brush's own gradient, the sticker stamps, what the brush carries (Load /
15
19
  * Clean), and import and export of library files; import also reads brush packs (`.abr`,
@@ -5,11 +5,15 @@ export interface BrushPanelProps {
5
5
  /** Thumbnail size in px (default 112 × 32). */
6
6
  thumbnailWidth?: number;
7
7
  thumbnailHeight?: number;
8
+ /** With it, the specialty guide card has an "Open Specialty panel" button (the paint editor's Specialty tab). */
9
+ onOpenSpecialtyPanel?: () => void;
8
10
  className?: string;
9
11
  }
10
12
  /**
11
13
  * The brush library (`BrushLibraryBrowser`: thumbnails of a test stroke on the current paper,
12
- * grouped by medium and variety, tools apart) and the active brush in the `BrushEditor`: its
14
+ * grouped by medium and variety, specialty paint and tools apart), a guide card for a specialty
15
+ * brush (`SpecialtyGuideCard`: how to use it, the canvas's status, one-click setup) and the active
16
+ * brush in the `BrushEditor`: its
13
17
  * facets with a live preview, and "Save brush" into the editor's brush library. The paint
14
18
  * editor adds the brush's own gradient, the sticker stamps, what the brush carries (Load /
15
19
  * Clean), and import and export of library files; import also reads brush packs (`.abr`,
@@ -29,7 +29,8 @@ export interface PaintEditorProps {
29
29
  }
30
30
  /**
31
31
  * The paint editor: toolbar, brush library on the left, the canvas, and colour (wheel,
32
- * harmonies, swatches, mixing pad), wet media, paper and layers on the right, and provider effects
33
- * when an effects provider is registered.
32
+ * harmonies, swatches, mixing pad), wet media, paper, specialty paint (UV blacklight, heat,
33
+ * magnets, view tilt; marked while a specialty brush or effect is in play) and layers on the right,
34
+ * and provider effects when an effects provider is registered.
34
35
  */
35
36
  export declare const PaintEditor: React.FC<PaintEditorProps>;
@@ -29,7 +29,8 @@ export interface PaintEditorProps {
29
29
  }
30
30
  /**
31
31
  * The paint editor: toolbar, brush library on the left, the canvas, and colour (wheel,
32
- * harmonies, swatches, mixing pad), wet media, paper and layers on the right, and provider effects
33
- * when an effects provider is registered.
32
+ * harmonies, swatches, mixing pad), wet media, paper, specialty paint (UV blacklight, heat,
33
+ * magnets, view tilt; marked while a specialty brush or effect is in play) and layers on the right,
34
+ * and provider effects when an effects provider is registered.
34
35
  */
35
36
  export declare const PaintEditor: React.FC<PaintEditorProps>;
@@ -8,6 +8,7 @@ export interface PaperPanelProps {
8
8
  * The paper library by family (each a generated grain preview) and the current paper's colour,
9
9
  * grain depth, scale, shading and contrast, the wet-media properties, metallic sheen and backlight
10
10
  * with its colour (each change one undo step; sliders commit on release); then the light for thick paint and metallic
11
- * paper (not an undo step) and Flatten relief for the active layer.
11
+ * paper (not an undo step) and Flatten relief for the active layer. The UV blacklight, heat, magnets
12
+ * and view tilt for specialty paint are in `SpecialtyPanel`.
12
13
  */
13
14
  export declare const PaperPanel: React.FC<PaperPanelProps>;
@@ -8,6 +8,7 @@ export interface PaperPanelProps {
8
8
  * The paper library by family (each a generated grain preview) and the current paper's colour,
9
9
  * grain depth, scale, shading and contrast, the wet-media properties, metallic sheen and backlight
10
10
  * with its colour (each change one undo step; sliders commit on release); then the light for thick paint and metallic
11
- * paper (not an undo step) and Flatten relief for the active layer.
11
+ * paper (not an undo step) and Flatten relief for the active layer. The UV blacklight, heat, magnets
12
+ * and view tilt for specialty paint are in `SpecialtyPanel`.
12
13
  */
13
14
  export declare const PaperPanel: React.FC<PaperPanelProps>;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { type PaintEditorController } from '@pixerate/editor/paint-editor';
3
+ export interface SpecialtyGuideCardProps {
4
+ controller: PaintEditorController;
5
+ /** With it, an "Open Specialty panel" button (the paint editor switches to its Specialty tab). */
6
+ onOpenSpecialtyPanel?: () => void;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * How to use the active brush's specialty paint (`brushSpecialtyGuides`): one card per specialty
11
+ * with its how-to, the canvas's live status and one-click setup actions (UV blacklight, heat,
12
+ * magnets, view tilt, seeding). Renders nothing for a standard brush.
13
+ */
14
+ export declare const SpecialtyGuideCard: React.FC<SpecialtyGuideCardProps>;
15
+ export interface SpecialtyPanelProps {
16
+ controller: PaintEditorController;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * The canvas environment for specialty paint: the active brush's guide (or a quick pick of
21
+ * specialty brushes while a standard one is active), the UV blacklight and heat for UV-fluorescent
22
+ * and thermochromic ink, magnets for ferrofluid, and the view tilt for thin-film iridescence.
23
+ */
24
+ export declare const SpecialtyPanel: React.FC<SpecialtyPanelProps>;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { type PaintEditorController } from '@pixerate/editor/paint-editor';
3
+ export interface SpecialtyGuideCardProps {
4
+ controller: PaintEditorController;
5
+ /** With it, an "Open Specialty panel" button (the paint editor switches to its Specialty tab). */
6
+ onOpenSpecialtyPanel?: () => void;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * How to use the active brush's specialty paint (`brushSpecialtyGuides`): one card per specialty
11
+ * with its how-to, the canvas's live status and one-click setup actions (UV blacklight, heat,
12
+ * magnets, view tilt, seeding). Renders nothing for a standard brush.
13
+ */
14
+ export declare const SpecialtyGuideCard: React.FC<SpecialtyGuideCardProps>;
15
+ export interface SpecialtyPanelProps {
16
+ controller: PaintEditorController;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * The canvas environment for specialty paint: the active brush's guide (or a quick pick of
21
+ * specialty brushes while a standard one is active), the UV blacklight and heat for UV-fluorescent
22
+ * and thermochromic ink, magnets for ferrofluid, and the view tilt for thin-film iridescence.
23
+ */
24
+ export declare const SpecialtyPanel: React.FC<SpecialtyPanelProps>;