@intlayer/editor-react 7.3.1 → 7.3.2-canary.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.
package/README.md
CHANGED
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
<a href="https://github.com/aymericzip/intlayer/blob/main/LICENSE" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/license/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="license"/></a>
|
|
25
25
|
<a href="https://github.com/aymericzip/intlayer/commits/main" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/last-commit/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="last commit"/>
|
|
26
26
|
</a>
|
|
27
|
-
<a href="https://bountyhub.dev/bounties?repo=intlayer" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/badge/Bounties-on%20BountyHub-yellow?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="Bounties on BountyHub"/>
|
|
28
|
-
</a>
|
|
29
27
|
</p>
|
|
30
28
|
|
|
31
29
|

|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react7 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, react7.Dispatch<react7.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 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,
|
|
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
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/useCrossURLPathState.d.ts
|
|
5
|
-
declare const useCrossURLPathState: (initialState?: string, options?: CrossFrameStateOptions) => [string,
|
|
6
|
-
declare const useCrossURLPathSetter: (initialState?: string) => [string,
|
|
5
|
+
declare const useCrossURLPathState: (initialState?: string, options?: CrossFrameStateOptions) => [string, react0.Dispatch<react0.SetStateAction<string>>, () => void];
|
|
6
|
+
declare const useCrossURLPathSetter: (initialState?: string) => [string, react0.Dispatch<react0.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
|
|
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,
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/editor-react",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2-canary.0",
|
|
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": [
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"./package.json"
|
|
53
53
|
],
|
|
54
54
|
"scripts": {
|
|
55
|
+
"_prepublish": "cp -f ../../../README.md ./README.md",
|
|
55
56
|
"build": "tsdown --config tsdown.config.ts",
|
|
56
57
|
"build:ci": "tsdown --config tsdown.config.ts",
|
|
57
58
|
"clean": "rimraf ./dist .turbo",
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"lint": "biome lint .",
|
|
62
63
|
"lint:fix": "biome lint --write .",
|
|
63
64
|
"process-files": "ts-node src/transpiler/processFilesCLI.ts --dir $npm_config_dir --extension $npm_config_extension --no-node-snapshot",
|
|
64
|
-
"prepublish": "
|
|
65
|
+
"prepublish": "echo prepublish temporally disabled to avoid rewrite readme",
|
|
65
66
|
"publish": "bun publish || true",
|
|
66
67
|
"publish:canary": "bun publish --access public --tag canary || true",
|
|
67
68
|
"publish:latest": "bun publish --access public --tag latest || true",
|
|
@@ -70,11 +71,11 @@
|
|
|
70
71
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
71
72
|
},
|
|
72
73
|
"dependencies": {
|
|
73
|
-
"@intlayer/config": "7.3.
|
|
74
|
-
"@intlayer/core": "7.3.
|
|
75
|
-
"@intlayer/editor": "7.3.
|
|
76
|
-
"@intlayer/types": "7.3.
|
|
77
|
-
"@intlayer/unmerged-dictionaries-entry": "7.3.
|
|
74
|
+
"@intlayer/config": "7.3.2-canary.0",
|
|
75
|
+
"@intlayer/core": "7.3.2-canary.0",
|
|
76
|
+
"@intlayer/editor": "7.3.2-canary.0",
|
|
77
|
+
"@intlayer/types": "7.3.2-canary.0",
|
|
78
|
+
"@intlayer/unmerged-dictionaries-entry": "7.3.2-canary.0"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
81
|
"@types/node": "24.10.1",
|