@pixerate/editor-react 0.157.0 → 0.159.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.
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  EffectAuthoringEditor,
3
3
  EffectParameters,
4
+ EffectTemplates,
4
5
  EffectsBrowser,
5
6
  useEffectDescription,
6
7
  useEffects
7
- } from "../chunk-IDUWADYT.js";
8
+ } from "../chunk-TOYSB4DK.js";
8
9
  import "../chunk-5RPB4WGT.js";
9
10
  import "../chunk-KIRIU53A.js";
10
11
  import "../chunk-3I7FOSLF.js";
@@ -1753,6 +1754,7 @@ function VideoEffectsPanel({ controller, className = "" }) {
1753
1754
  ] }),
1754
1755
  !provider && /* @__PURE__ */ jsx11("p", { className: "text-[11px] text-muted-foreground", children: "No effects provider is registered. Effects in the project are kept and drawn as placeholders." }),
1755
1756
  browse === "generator" && /* @__PURE__ */ jsx11(EffectsBrowser, { provider, uses: ["generator", "title", "overlay"], title: "Generators and titles", onPick: (e) => (setBrowse(null), addEffectClip(e.id)) }),
1757
+ /* @__PURE__ */ jsx11(EffectTemplates, { provider, disabled, fillLabel: "Insert template", onFill: (t, v) => controller.fillTemplate(t, v, { at: Math.round(state.time) }).then((r) => (r.ok && r.notes.length && setMessage(r.notes.join(" ")), r)) }),
1756
1758
  !clip && /* @__PURE__ */ jsx11("p", { className: "text-[11px] text-muted-foreground", children: "Select a clip to see its effects." }),
1757
1759
  clip && /* @__PURE__ */ jsxs10(Fragment6, { children: [
1758
1760
  clip.type === "effect" && /* @__PURE__ */ jsxs10("div", { className: "space-y-1", "data-effect-part": "generator", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-react",
3
- "version": "0.157.0",
3
+ "version": "0.159.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.233.0 <1.0.0-0",
257
+ "@pixerate/editor": ">=0.235.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.233.0"
308
+ "@pixerate/editor": "0.235.0"
309
309
  },
310
310
  "scripts": {
311
311
  "build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",