@pixerate/editor-react 0.114.0 → 0.114.1

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/index.cjs CHANGED
@@ -43,7 +43,7 @@ __export(src_exports, {
43
43
  CommentsPanel: () => CommentsPanel,
44
44
  ControlSlider: () => ControlSlider,
45
45
  CurvesEditor: () => CurvesEditor,
46
- DirtyTracker: () => import_editor22.DirtyTracker,
46
+ DirtyTracker: () => import_editor23.DirtyTracker,
47
47
  EditorContent: () => EditorContent,
48
48
  EditorSlotsProvider: () => EditorSlotsProvider,
49
49
  ExportDocxButton: () => ExportDocxButton,
@@ -53,7 +53,7 @@ __export(src_exports, {
53
53
  GenerationHistory: () => GenerationHistory,
54
54
  GenerationSettings: () => GenerationSettings,
55
55
  Histogram: () => Histogram,
56
- HistoryManager: () => import_editor22.HistoryManager,
56
+ HistoryManager: () => import_editor23.HistoryManager,
57
57
  ImageCheckbox: () => ImageCheckbox,
58
58
  ImageEditor: () => ImageEditor,
59
59
  ImageEditorCanvas: () => ImageEditorCanvas,
@@ -91,11 +91,12 @@ __export(src_exports, {
91
91
  TrackedChangesList: () => TrackedChangesList,
92
92
  TypeOptionsBar: () => TypeOptionsBar,
93
93
  VariableForm: () => VariableForm,
94
- bindDirtyToHistory: () => import_editor22.bindDirtyToHistory,
95
- createDirtyTracker: () => import_editor22.createDirtyTracker,
96
- createHistoryManager: () => import_editor22.createHistoryManager,
94
+ bindDirtyToHistory: () => import_editor23.bindDirtyToHistory,
95
+ createDirtyTracker: () => import_editor23.createDirtyTracker,
96
+ createHistoryManager: () => import_editor23.createHistoryManager,
97
97
  createReactChartNodeView: () => createReactChartNodeView,
98
- defaultIsEqual: () => import_editor22.defaultIsEqual,
98
+ defaultIsEqual: () => import_editor23.defaultIsEqual,
99
+ formatCommandsFor: () => import_editor22.formatCommandsFor,
99
100
  useAgentPlayback: () => useAgentPlayback,
100
101
  useAgentToolProvider: () => useAgentToolProvider,
101
102
  useAutosave: () => useAutosave,
@@ -139,7 +140,7 @@ __export(src_exports, {
139
140
  useToolBridge: () => useToolBridge,
140
141
  useToolRegistryView: () => useToolRegistryView,
141
142
  useTrackChanges: () => useTrackChanges,
142
- withoutDirty: () => import_editor22.withoutDirty
143
+ withoutDirty: () => import_editor23.withoutDirty
143
144
  });
144
145
  module.exports = __toCommonJS(src_exports);
145
146
 
@@ -404,6 +405,9 @@ function useEditor2(options = {}) {
404
405
  });
405
406
  }
406
407
 
408
+ // src/index.ts
409
+ var import_editor22 = require("@pixerate/editor");
410
+
407
411
  // src/hooks/useNavigationGuard.ts
408
412
  var import_react4 = require("react");
409
413
  function useNavigationGuard({
@@ -1693,7 +1697,7 @@ var StylesGallery = ({
1693
1697
  };
1694
1698
 
1695
1699
  // src/index.ts
1696
- var import_editor22 = require("@pixerate/editor");
1700
+ var import_editor23 = require("@pixerate/editor");
1697
1701
 
1698
1702
  // src/spreadsheet/useSpreadsheetEditor.ts
1699
1703
  var import_react28 = require("react");
@@ -12320,6 +12324,7 @@ function StyleFindings({ report, onSelect, title = "House style", className = ""
12320
12324
  createHistoryManager,
12321
12325
  createReactChartNodeView,
12322
12326
  defaultIsEqual,
12327
+ formatCommandsFor,
12323
12328
  useAgentPlayback,
12324
12329
  useAgentToolProvider,
12325
12330
  useAutosave,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./hooks/usePromptEditor.cjs";
2
2
  export * from "./hooks/useEditor.cjs";
3
+ export { formatCommandsFor, type FormatManifest, type FormatManifestCommand, type CodeLanguageOption, type FormatCommandOptions } from "@pixerate/editor";
3
4
  export * from "./hooks/useNavigationGuard.cjs";
4
5
  export * from "./hooks/useDismissGuard.cjs";
5
6
  export * from "./hooks/useHistory.cjs";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./hooks/usePromptEditor.js";
2
2
  export * from "./hooks/useEditor.js";
3
+ export { formatCommandsFor, type FormatManifest, type FormatManifestCommand, type CodeLanguageOption, type FormatCommandOptions } from "@pixerate/editor";
3
4
  export * from "./hooks/useNavigationGuard.js";
4
5
  export * from "./hooks/useDismissGuard.js";
5
6
  export * from "./hooks/useHistory.js";
package/dist/index.js CHANGED
@@ -354,6 +354,9 @@ function useEditor2(options = {}) {
354
354
  });
355
355
  }
356
356
 
357
+ // src/index.ts
358
+ import { formatCommandsFor } from "@pixerate/editor";
359
+
357
360
  // src/hooks/useNavigationGuard.ts
358
361
  import { useState, useEffect as useEffect2, useCallback, useRef as useRef2 } from "react";
359
362
  function useNavigationGuard({
@@ -2585,6 +2588,7 @@ export {
2585
2588
  createHistoryManager2 as createHistoryManager,
2586
2589
  createReactChartNodeView,
2587
2590
  defaultIsEqual,
2591
+ formatCommandsFor,
2588
2592
  useAgentPlayback,
2589
2593
  useAgentToolProvider,
2590
2594
  useAutosave,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-react",
3
- "version": "0.114.0",
3
+ "version": "0.114.1",
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.172.0 <1.0.0-0",
257
+ "@pixerate/editor": ">=0.174.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.172.0"
308
+ "@pixerate/editor": "0.174.0"
309
309
  },
310
310
  "scripts": {
311
311
  "build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",