@intlayer/editor-react 7.3.7 → 7.3.9

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 react1 from "react";
2
+ import * as react3 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, react1.Dispatch<react1.SetStateAction<boolean>>, () => void];
9
+ declare const useEditorEnabledState: (options?: CrossFrameStateOptions) => [boolean, react3.Dispatch<react3.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 react3 from "react";
2
+ import * as react5 from "react";
3
3
 
4
4
  //#region src/useCrossURLPathState.d.ts
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];
5
+ declare const useCrossURLPathState: (initialState?: string, options?: CrossFrameStateOptions) => [string, react5.Dispatch<react5.SetStateAction<string>>, () => void];
6
+ declare const useCrossURLPathSetter: (initialState?: string) => [string, react5.Dispatch<react5.SetStateAction<string>>, () => void];
7
7
  //#endregion
8
8
  export { useCrossURLPathSetter, useCrossURLPathState };
9
9
  //# sourceMappingURL=useCrossURLPathState.d.ts.map
@@ -1,9 +1,9 @@
1
- import * as react7 from "react";
1
+ import * as react9 from "react";
2
2
  import { Locale } from "@intlayer/types";
3
3
 
4
4
  //#region src/useEditorLocale.d.ts
5
5
  declare const useEditorLocale: () => Locale;
6
- declare const useSetEditorLocale: () => [Locale, react7.Dispatch<react7.SetStateAction<Locale>>, () => void];
6
+ declare const useSetEditorLocale: () => [Locale, react9.Dispatch<react9.SetStateAction<Locale>>, () => void];
7
7
  //#endregion
8
8
  export { useEditorLocale, useSetEditorLocale };
9
9
  //# sourceMappingURL=useEditorLocale.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import { FileContent } from "./FocusDictionaryContext.js";
2
- import * as react9 from "react";
2
+ import * as react1 from "react";
3
3
  import { KeyPath } from "@intlayer/types";
4
4
 
5
5
  //#region src/useFocusUnmergedDictionary.d.ts
6
6
  declare const useFocusUnmergedDictionary: () => {
7
7
  focusedContent: FileContent;
8
- setFocusedContent: react9.Dispatch<react9.SetStateAction<FileContent>>;
8
+ setFocusedContent: react1.Dispatch<react1.SetStateAction<FileContent>>;
9
9
  setFocusedContentKeyPath: (keyPath: KeyPath[]) => void;
10
10
  };
11
11
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/editor-react",
3
- "version": "7.3.7",
3
+ "version": "7.3.9",
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.3.7",
75
- "@intlayer/core": "7.3.7",
76
- "@intlayer/editor": "7.3.7",
77
- "@intlayer/types": "7.3.7",
78
- "@intlayer/unmerged-dictionaries-entry": "7.3.7"
74
+ "@intlayer/config": "7.3.9",
75
+ "@intlayer/core": "7.3.9",
76
+ "@intlayer/editor": "7.3.9",
77
+ "@intlayer/types": "7.3.9",
78
+ "@intlayer/unmerged-dictionaries-entry": "7.3.9"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@types/node": "24.10.1",