@intlayer/editor-react 7.5.4 → 7.5.6
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,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types";
|
|
4
4
|
|
|
5
5
|
//#region src/ConfigurationContext.d.ts
|
|
6
|
-
declare const useConfigurationState: () => [IntlayerConfig,
|
|
6
|
+
declare const useConfigurationState: () => [IntlayerConfig, react0.Dispatch<react0.SetStateAction<IntlayerConfig>>, () => void];
|
|
7
7
|
type ConfigurationProviderProps = {
|
|
8
8
|
configuration?: IntlayerConfig;
|
|
9
9
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CrossFrameStateOptions } from "./useCrossFrameState.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react9 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,
|
|
9
|
+
declare const useEditorEnabledState: (options?: CrossFrameStateOptions) => [boolean, react9.Dispatch<react9.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
|
-
import * as
|
|
1
|
+
import * as react5 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,
|
|
6
|
+
declare const useSetEditorLocale: () => [Locale, react5.Dispatch<react5.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
|
|
2
|
+
import * as react7 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:
|
|
8
|
+
setFocusedContent: react7.Dispatch<react7.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.5.
|
|
3
|
+
"version": "7.5.6",
|
|
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.
|
|
75
|
-
"@intlayer/core": "7.5.
|
|
76
|
-
"@intlayer/editor": "7.5.
|
|
77
|
-
"@intlayer/types": "7.5.
|
|
78
|
-
"@intlayer/unmerged-dictionaries-entry": "7.5.
|
|
74
|
+
"@intlayer/config": "7.5.6",
|
|
75
|
+
"@intlayer/core": "7.5.6",
|
|
76
|
+
"@intlayer/editor": "7.5.6",
|
|
77
|
+
"@intlayer/types": "7.5.6",
|
|
78
|
+
"@intlayer/unmerged-dictionaries-entry": "7.5.6"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@types/node": "25.0.3",
|