@pixerate/editor-react 0.94.0 → 0.96.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 (56) hide show
  1. package/README.md +3 -1
  2. package/dist/animation-editor/index.cjs +1240 -195
  3. package/dist/animation-editor/index.js +4 -2
  4. package/dist/canvas/index.cjs +1419 -372
  5. package/dist/canvas/index.js +9 -4
  6. package/dist/canvas/useMermaidDiagram.d.cts +7 -1
  7. package/dist/canvas/useMermaidDiagram.d.ts +7 -1
  8. package/dist/chunk-3I7FOSLF.js +988 -0
  9. package/dist/{chunk-OTGJEYHV.js → chunk-5LFQ2UQZ.js} +75 -68
  10. package/dist/{chunk-5R67YSSD.js → chunk-GLSOQNQR.js} +1 -1
  11. package/dist/{chunk-6YRSQW2V.js → chunk-IY6YOY5B.js} +1 -1
  12. package/dist/chunk-KIRIU53A.js +72 -0
  13. package/dist/{chunk-NNM633RN.js → chunk-R7MEGRPV.js} +23 -0
  14. package/dist/color/ColorPicker.d.cts +30 -0
  15. package/dist/color/ColorPicker.d.ts +30 -0
  16. package/dist/color/DualColorPicker.d.cts +29 -0
  17. package/dist/color/DualColorPicker.d.ts +29 -0
  18. package/dist/color/index.cjs +1067 -0
  19. package/dist/color/index.d.cts +7 -0
  20. package/dist/color/index.d.ts +7 -0
  21. package/dist/color/index.js +14 -0
  22. package/dist/color/useColorScheme.d.cts +16 -0
  23. package/dist/color/useColorScheme.d.ts +16 -0
  24. package/dist/effects/index.cjs +1169 -124
  25. package/dist/effects/index.js +4 -2
  26. package/dist/gradient/FillPicker.d.cts +27 -0
  27. package/dist/gradient/FillPicker.d.ts +27 -0
  28. package/dist/gradient/GradientEditor.d.cts +21 -0
  29. package/dist/gradient/GradientEditor.d.ts +21 -0
  30. package/dist/gradient/index.cjs +1601 -0
  31. package/dist/gradient/index.d.cts +6 -0
  32. package/dist/gradient/index.d.ts +6 -0
  33. package/dist/gradient/index.js +617 -0
  34. package/dist/gradient/useGradientController.d.cts +10 -0
  35. package/dist/gradient/useGradientController.d.ts +10 -0
  36. package/dist/image-editor/index.cjs +1742 -697
  37. package/dist/image-editor/index.js +5 -3
  38. package/dist/index.cjs +2181 -1115
  39. package/dist/index.js +9 -5
  40. package/dist/paint-editor/index.cjs +1233 -188
  41. package/dist/paint-editor/index.js +4 -2
  42. package/dist/parameters/fields.d.cts +1 -1
  43. package/dist/parameters/fields.d.ts +1 -1
  44. package/dist/parameters/index.cjs +1218 -173
  45. package/dist/parameters/index.js +3 -1
  46. package/dist/persistence/index.cjs +25 -4
  47. package/dist/persistence/index.d.cts +1 -0
  48. package/dist/persistence/index.d.ts +1 -0
  49. package/dist/persistence/index.js +5 -3
  50. package/dist/persistence/useEditorAutosave.d.cts +17 -0
  51. package/dist/persistence/useEditorAutosave.d.ts +17 -0
  52. package/dist/vector/index.cjs +1219 -174
  53. package/dist/vector/index.js +4 -2
  54. package/dist/video-editor/index.cjs +1230 -185
  55. package/dist/video-editor/index.js +4 -2
  56. package/package.json +29 -3
@@ -3,8 +3,10 @@ import {
3
3
  EffectsBrowser,
4
4
  useEffectDescription,
5
5
  useEffects
6
- } from "../chunk-5R67YSSD.js";
7
- import "../chunk-OTGJEYHV.js";
6
+ } from "../chunk-GLSOQNQR.js";
7
+ import "../chunk-5LFQ2UQZ.js";
8
+ import "../chunk-KIRIU53A.js";
9
+ import "../chunk-3I7FOSLF.js";
8
10
  import {
9
11
  PresenceLayer,
10
12
  useAgentPlayback,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-react",
3
- "version": "0.94.0",
3
+ "version": "0.96.0",
4
4
  "description": "React bindings and prompt/rich-text components for @pixerate/editor",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -163,6 +163,26 @@
163
163
  "types": "./dist/video-editor/index.d.cts",
164
164
  "default": "./dist/video-editor/index.cjs"
165
165
  }
166
+ },
167
+ "./color": {
168
+ "import": {
169
+ "types": "./dist/color/index.d.ts",
170
+ "default": "./dist/color/index.js"
171
+ },
172
+ "require": {
173
+ "types": "./dist/color/index.d.cts",
174
+ "default": "./dist/color/index.cjs"
175
+ }
176
+ },
177
+ "./gradient": {
178
+ "import": {
179
+ "types": "./dist/gradient/index.d.ts",
180
+ "default": "./dist/gradient/index.js"
181
+ },
182
+ "require": {
183
+ "types": "./dist/gradient/index.d.cts",
184
+ "default": "./dist/gradient/index.cjs"
185
+ }
166
186
  }
167
187
  },
168
188
  "typesVersions": {
@@ -205,6 +225,12 @@
205
225
  ],
206
226
  "video-editor": [
207
227
  "./dist/video-editor/index.d.ts"
228
+ ],
229
+ "color": [
230
+ "./dist/color/index.d.ts"
231
+ ],
232
+ "gradient": [
233
+ "./dist/gradient/index.d.ts"
208
234
  ]
209
235
  }
210
236
  },
@@ -219,7 +245,7 @@
219
245
  },
220
246
  "peerDependencies": {
221
247
  "@dagrejs/dagre": "^1.1.8",
222
- "@pixerate/editor": ">=0.145.0 <1.0.0-0",
248
+ "@pixerate/editor": ">=0.147.0 <1.0.0-0",
223
249
  "@tiptap/core": "^2.27.3",
224
250
  "@tiptap/pm": "^2.27.3",
225
251
  "@tiptap/react": "^2.27.3",
@@ -246,7 +272,7 @@
246
272
  "tsup": "^9.0.0",
247
273
  "typescript": "^5.7.3",
248
274
  "vitest": "^5.0.5",
249
- "@pixerate/editor": "0.145.0"
275
+ "@pixerate/editor": "0.147.0"
250
276
  },
251
277
  "scripts": {
252
278
  "build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",