@intlayer/editor-react 7.5.2-canary.0 → 7.5.2

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,12 +1,12 @@
1
1
  import { CrossFrameStateOptions } from "./useCrossFrameState.js";
2
- import * as react5 from "react";
2
+ import * as react1 from "react";
3
3
  import { FC, PropsWithChildren } from "react";
4
4
 
5
5
  //#region src/EditorEnabledContext.d.ts
6
6
  type EditorEnabledStateProps = {
7
7
  enabled: boolean;
8
8
  };
9
- declare const useEditorEnabledState: (options?: CrossFrameStateOptions) => [boolean, react5.Dispatch<react5.SetStateAction<boolean>>, () => void];
9
+ declare const useEditorEnabledState: (options?: CrossFrameStateOptions) => [boolean, react1.Dispatch<react1.SetStateAction<boolean>>, () => void];
10
10
  declare const usePostEditorEnabledState: <S>(onEventTriggered?: (data: S) => void) => (data?: S) => void;
11
11
  declare const useGetEditorEnabledState: <S>(onEventTriggered?: (data: S) => void) => (data?: S) => void;
12
12
  declare const EditorEnabledProvider: FC<PropsWithChildren>;
@@ -1,9 +1,9 @@
1
1
  import { CrossFrameStateOptions } from "./useCrossFrameState.js";
2
- import * as react1 from "react";
2
+ import * as react3 from "react";
3
3
 
4
4
  //#region src/useCrossURLPathState.d.ts
5
- declare const useCrossURLPathState: (initialState?: string, options?: CrossFrameStateOptions) => [string, react1.Dispatch<react1.SetStateAction<string>>, () => void];
6
- declare const useCrossURLPathSetter: (initialState?: string) => [string, react1.Dispatch<react1.SetStateAction<string>>, () => void];
5
+ declare const useCrossURLPathState: (initialState?: string, options?: CrossFrameStateOptions) => [string, react3.Dispatch<react3.SetStateAction<string>>, () => void];
6
+ declare const useCrossURLPathSetter: (initialState?: string) => [string, react3.Dispatch<react3.SetStateAction<string>>, () => void];
7
7
  //#endregion
8
8
  export { useCrossURLPathSetter, useCrossURLPathState };
9
9
  //# sourceMappingURL=useCrossURLPathState.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/editor-react",
3
- "version": "7.5.2-canary.0",
3
+ "version": "7.5.2",
4
4
  "private": false,
5
5
  "description": "Provides the states, contexts, hooks and components to interact with the Intlayer editor for a React application",
6
6
  "keywords": [
@@ -71,11 +71,11 @@
71
71
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
72
72
  },
73
73
  "dependencies": {
74
- "@intlayer/config": "7.5.2-canary.0",
75
- "@intlayer/core": "7.5.2-canary.0",
76
- "@intlayer/editor": "7.5.2-canary.0",
77
- "@intlayer/types": "7.5.2-canary.0",
78
- "@intlayer/unmerged-dictionaries-entry": "7.5.2-canary.0"
74
+ "@intlayer/config": "7.5.2",
75
+ "@intlayer/core": "7.5.2",
76
+ "@intlayer/editor": "7.5.2",
77
+ "@intlayer/types": "7.5.2",
78
+ "@intlayer/unmerged-dictionaries-entry": "7.5.2"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@types/node": "25.0.3",
@@ -87,7 +87,7 @@
87
87
  "react": ">=16.0.0",
88
88
  "react-dom": ">=16.0.0",
89
89
  "rimraf": "6.1.2",
90
- "tsdown": "0.18.1",
90
+ "tsdown": "0.18.2",
91
91
  "typescript": "5.9.3",
92
92
  "vitest": "4.0.16"
93
93
  },