@intlayer/editor-react 5.0.5 → 5.1.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/dist/cjs/ChangedContentContext.cjs +2 -2
- package/dist/cjs/ChangedContentContext.cjs.map +1 -1
- package/dist/cjs/CommunicatorContext.cjs +20 -10
- package/dist/cjs/CommunicatorContext.cjs.map +1 -1
- package/dist/cjs/ConfigurationContext.cjs +1 -1
- package/dist/cjs/ConfigurationContext.cjs.map +1 -1
- package/dist/cjs/DictionariesRecordContext.cjs +19 -29
- package/dist/cjs/DictionariesRecordContext.cjs.map +1 -1
- package/dist/cjs/EditedContentContext.cjs +12 -7
- package/dist/cjs/EditedContentContext.cjs.map +1 -1
- package/dist/cjs/EditorEnabledContext.cjs +1 -1
- package/dist/cjs/EditorEnabledContext.cjs.map +1 -1
- package/dist/cjs/EditorProvider.cjs +3 -4
- package/dist/cjs/EditorProvider.cjs.map +1 -1
- package/dist/cjs/FocusDictionaryContext.cjs +2 -2
- package/dist/cjs/FocusDictionaryContext.cjs.map +1 -1
- package/dist/cjs/useCrossFrameMessageListener.cjs +9 -7
- package/dist/cjs/useCrossFrameMessageListener.cjs.map +1 -1
- package/dist/cjs/useCrossFrameState.cjs +15 -9
- package/dist/cjs/useCrossFrameState.cjs.map +1 -1
- package/dist/cjs/useCrossURLPathState.cjs.map +1 -1
- package/dist/esm/ChangedContentContext.mjs +2 -2
- package/dist/esm/ChangedContentContext.mjs.map +1 -1
- package/dist/esm/CommunicatorContext.mjs +23 -11
- package/dist/esm/CommunicatorContext.mjs.map +1 -1
- package/dist/esm/ConfigurationContext.mjs +5 -2
- package/dist/esm/ConfigurationContext.mjs.map +1 -1
- package/dist/esm/DictionariesRecordContext.mjs +21 -30
- package/dist/esm/DictionariesRecordContext.mjs.map +1 -1
- package/dist/esm/EditedContentContext.mjs +12 -7
- package/dist/esm/EditedContentContext.mjs.map +1 -1
- package/dist/esm/EditorEnabledContext.mjs +1 -1
- package/dist/esm/EditorEnabledContext.mjs.map +1 -1
- package/dist/esm/EditorProvider.mjs +3 -4
- package/dist/esm/EditorProvider.mjs.map +1 -1
- package/dist/esm/FocusDictionaryContext.mjs +2 -2
- package/dist/esm/FocusDictionaryContext.mjs.map +1 -1
- package/dist/esm/useCrossFrameMessageListener.mjs +10 -8
- package/dist/esm/useCrossFrameMessageListener.mjs.map +1 -1
- package/dist/esm/useCrossFrameState.mjs +15 -9
- package/dist/esm/useCrossFrameState.mjs.map +1 -1
- package/dist/esm/useCrossURLPathState.mjs.map +1 -1
- package/dist/types/CommunicatorContext.d.ts +3 -1
- package/dist/types/CommunicatorContext.d.ts.map +1 -1
- package/dist/types/ConfigurationContext.d.ts +2 -2
- package/dist/types/ConfigurationContext.d.ts.map +1 -1
- package/dist/types/DictionariesRecordContext.d.ts +3 -3
- package/dist/types/DictionariesRecordContext.d.ts.map +1 -1
- package/dist/types/EditedContentContext.d.ts +2 -2
- package/dist/types/EditedContentContext.d.ts.map +1 -1
- package/dist/types/EditorEnabledContext.d.ts +1 -1
- package/dist/types/EditorEnabledContext.d.ts.map +1 -1
- package/dist/types/EditorProvider.d.ts +4 -4
- package/dist/types/EditorProvider.d.ts.map +1 -1
- package/dist/types/useCrossFrameMessageListener.d.ts.map +1 -1
- package/dist/types/useCrossFrameState.d.ts.map +1 -1
- package/dist/types/useCrossURLPathState.d.ts.map +1 -1
- package/package.json +13 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type IntlayerConfig } from '@intlayer/config/client';
|
|
2
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { type FC, type PropsWithChildren } from 'react';
|
|
3
3
|
export declare const useConfigurationState: () => [IntlayerConfig, import("react").Dispatch<import("react").SetStateAction<IntlayerConfig>>];
|
|
4
4
|
export type ConfigurationProviderProps = {
|
|
5
|
-
configuration
|
|
5
|
+
configuration?: IntlayerConfig;
|
|
6
6
|
};
|
|
7
7
|
export declare const ConfigurationProvider: FC<PropsWithChildren<ConfigurationProviderProps>>;
|
|
8
8
|
export declare const useConfiguration: () => IntlayerConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationContext.d.ts","sourceRoot":"","sources":["../../src/ConfigurationContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"ConfigurationContext.d.ts","sourceRoot":"","sources":["../../src/ConfigurationContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAOf,eAAO,MAAM,qBAAqB,kGAI9B,CAAC;AAEL,MAAM,MAAM,0BAA0B,GAAG;IACvC,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CACpC,iBAAiB,CAAC,0BAA0B,CAAC,CAK9C,CAAC;AAEF,eAAO,MAAM,gBAAgB,sBAU5B,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Dictionary } from '@intlayer/core';
|
|
2
|
-
import { type FC, type PropsWithChildren } from 'react';
|
|
2
|
+
import { type Dispatch, type SetStateAction, type FC, type PropsWithChildren } from 'react';
|
|
3
3
|
export type DictionaryContent = Record<Dictionary['key'], Dictionary>;
|
|
4
4
|
type DictionariesRecordActionsContextType = {
|
|
5
|
-
setLocaleDictionaries:
|
|
5
|
+
setLocaleDictionaries: Dispatch<SetStateAction<DictionaryContent>>;
|
|
6
6
|
setLocaleDictionary: (dictionary: Dictionary) => void;
|
|
7
7
|
};
|
|
8
8
|
export declare const DictionariesRecordProvider: FC<PropsWithChildren>;
|
|
9
9
|
export declare const useDictionariesRecordActions: () => DictionariesRecordActionsContextType;
|
|
10
10
|
export declare const useDictionariesRecord: () => {
|
|
11
|
-
setLocaleDictionaries:
|
|
11
|
+
setLocaleDictionaries: Dispatch<SetStateAction<DictionaryContent>>;
|
|
12
12
|
setLocaleDictionary: (dictionary: Dictionary) => void;
|
|
13
13
|
localeDictionaries: DictionaryContent;
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DictionariesRecordContext.d.ts","sourceRoot":"","sources":["../../src/DictionariesRecordContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAGL,KAAK,EAAE,EACP,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"DictionariesRecordContext.d.ts","sourceRoot":"","sources":["../../src/DictionariesRecordContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,EAAE,EACP,KAAK,iBAAiB,EAEvB,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAKtE,KAAK,oCAAoC,GAAG;IAC1C,qBAAqB,EAAE,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnE,mBAAmB,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CACvD,CAAC;AASF,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC,iBAAiB,CAoC5D,CAAC;AAEF,eAAO,MAAM,4BAA4B,4CACK,CAAC;AAE/C,eAAO,MAAM,qBAAqB;2BApDT,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;yBAC7C,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI;wBAJjC,iBAAiB;CAkEtC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { type DictionaryContent } from './DictionariesRecordContext';
|
|
|
4
4
|
type EditedContentActionsContextType = {
|
|
5
5
|
setEditedContentState: (editedContent: Record<Dictionary['key'], Dictionary>) => void;
|
|
6
6
|
setEditedContent: (dictionaryKey: Dictionary['key'], newValue: Dictionary['content']) => void;
|
|
7
|
-
addEditedContent: (dictionaryKey: Dictionary['key'], newValue: ContentNode
|
|
7
|
+
addEditedContent: (dictionaryKey: Dictionary['key'], newValue: ContentNode<any>, keyPath?: KeyPath[], overwrite?: boolean) => void;
|
|
8
8
|
renameEditedContent: (dictionaryKey: Dictionary['key'], newKey: KeyPath['key'], keyPath?: KeyPath[]) => void;
|
|
9
9
|
removeEditedContent: (dictionaryKey: Dictionary['key'], keyPath: KeyPath[]) => void;
|
|
10
10
|
restoreEditedContent: (dictionaryKey: Dictionary['key']) => void;
|
|
@@ -18,7 +18,7 @@ export declare const useEditedContentActions: () => EditedContentActionsContextT
|
|
|
18
18
|
export declare const useEditedContent: () => {
|
|
19
19
|
setEditedContentState: (editedContent: Record<Dictionary["key"], Dictionary>) => void;
|
|
20
20
|
setEditedContent: (dictionaryKey: Dictionary["key"], newValue: Dictionary["content"]) => void;
|
|
21
|
-
addEditedContent: (dictionaryKey: Dictionary["key"], newValue: ContentNode
|
|
21
|
+
addEditedContent: (dictionaryKey: Dictionary["key"], newValue: ContentNode<any>, keyPath?: KeyPath[], overwrite?: boolean) => void;
|
|
22
22
|
renameEditedContent: (dictionaryKey: Dictionary["key"], newKey: KeyPath["key"], keyPath?: KeyPath[]) => void;
|
|
23
23
|
removeEditedContent: (dictionaryKey: Dictionary["key"], keyPath: KeyPath[]) => void;
|
|
24
24
|
restoreEditedContent: (dictionaryKey: Dictionary["key"]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditedContentContext.d.ts","sourceRoot":"","sources":["../../src/EditedContentContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,OAAO,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EAChC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,EACtB,OAAO,CAAC,EAAE,OAAO,EAAE,KAChB,IAAI;yBACY,CACnB,aAAa,EAAE,UAAU,CAAC,KAAK,CAAC,EAChC,OAAO,EAAE,OAAO,EAAE,KACf,IAAI;0BACa,CAAC,aAAa,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,IAAI;kCAClC,CAAC,aAAa,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,IAAI;wBACpD,MAAM,IAAI;2BACP,CACrB,aAAa,EAAE,UAAU,CAAC,KAAK,CAAC,EAChC,OAAO,EAAE,OAAO,EAAE,KACf,WAAW,GAAG,SAAS;mBApCb,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,SAAS;CAuQjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorEnabledContext.d.ts","sourceRoot":"","sources":["../../src/EditorEnabledContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,sBAAsB,
|
|
1
|
+
{"version":3,"file":"EditorEnabledContext.d.ts","sourceRoot":"","sources":["../../src/EditorEnabledContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAMF,eAAO,MAAM,qBAAqB,aAAc,sBAAsB,iFACP,CAAC;AAEhE,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,iBAAiB,CAWvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,+BAO5B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type FC, type PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { ConfigurationProviderProps } from './ConfigurationContext';
|
|
4
|
-
type EditorProviderEnabledProps = {
|
|
2
|
+
import { type CommunicatorProviderProps } from './CommunicatorContext';
|
|
3
|
+
import { type ConfigurationProviderProps } from './ConfigurationContext';
|
|
4
|
+
type EditorProviderEnabledProps = CommunicatorProviderProps & {
|
|
5
5
|
mode: 'editor' | 'client';
|
|
6
6
|
};
|
|
7
|
-
export type EditorProviderProps =
|
|
7
|
+
export type EditorProviderProps = EditorProviderEnabledProps & ConfigurationProviderProps;
|
|
8
8
|
export declare const EditorProvider: FC<PropsWithChildren<EditorProviderProps>>;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=EditorProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorProvider.d.ts","sourceRoot":"","sources":["../../src/EditorProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,
|
|
1
|
+
{"version":3,"file":"EditorProvider.d.ts","sourceRoot":"","sources":["../../src/EditorProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,wBAAwB,CAAC;AAShC,KAAK,0BAA0B,GAAG,yBAAyB,GAAG;IAC5D,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC3B,CAAC;AAoBF,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAC1D,0BAA0B,CAAC;AAE7B,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAUrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCrossFrameMessageListener.d.ts","sourceRoot":"","sources":["../../src/useCrossFrameMessageListener.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,GAAI,CAAC,OACvC,GAAG,UAAU,EAAE,GAAG,GAAG,UAAU,OAAO,GAAG,GAAG,UAAU,MAAM,qBAC9C,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"useCrossFrameMessageListener.d.ts","sourceRoot":"","sources":["../../src/useCrossFrameMessageListener.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,GAAI,CAAC,OACvC,GAAG,UAAU,EAAE,GAAG,GAAG,UAAU,OAAO,GAAG,GAAG,UAAU,MAAM,qBAC9C,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,YAoDH,CAAC,KAAK,IAQxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCrossFrameState.d.ts","sourceRoot":"","sources":["../../src/useCrossFrameState.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAOF;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,OAC7B,GAAG,UAAU,EAAE,iBACL,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,YAClB,sBAAsB,KAC/B,CAAC,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useCrossFrameState.d.ts","sourceRoot":"","sources":["../../src/useCrossFrameState.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAOF;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,OAC7B,GAAG,UAAU,EAAE,iBACL,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,YAClB,sBAAsB,KAC/B,CAAC,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CA2FjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCrossURLPathState.d.ts","sourceRoot":"","sources":["../../src/useCrossURLPathState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCrossURLPathState.d.ts","sourceRoot":"","sources":["../../src/useCrossURLPathState.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,oBAAoB,kBAChB,MAAM,YACX,sBAAsB,+EAgEjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/editor-react",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.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": [
|
|
@@ -51,18 +51,19 @@
|
|
|
51
51
|
"./package.json"
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"
|
|
55
|
-
"@intlayer/
|
|
56
|
-
"@intlayer/
|
|
54
|
+
"uuid": "^11.0.5",
|
|
55
|
+
"@intlayer/config": "^5.1.0",
|
|
56
|
+
"@intlayer/core": "5.1.0",
|
|
57
|
+
"@intlayer/editor": "5.1.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@types/node": "^22.10.6",
|
|
60
|
-
"@types/react": "^
|
|
61
|
-
"@types/react-dom": "^
|
|
62
|
-
"@typescript-eslint/parser": "^8.
|
|
61
|
+
"@types/react": "^19.0.0",
|
|
62
|
+
"@types/react-dom": "^19.0.0",
|
|
63
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
63
64
|
"concurrently": "^9.1.2",
|
|
64
|
-
"eslint": "^9.
|
|
65
|
-
"prettier": "^3.
|
|
65
|
+
"eslint": "^9.20.0",
|
|
66
|
+
"prettier": "^3.5.0",
|
|
66
67
|
"rimraf": "^6.0.1",
|
|
67
68
|
"tsc-alias": "^1.8.10",
|
|
68
69
|
"tsup": "^8.3.5",
|
|
@@ -75,9 +76,9 @@
|
|
|
75
76
|
"peerDependencies": {
|
|
76
77
|
"react": ">=16.0.0",
|
|
77
78
|
"react-dom": ">=16.0.0",
|
|
78
|
-
"@intlayer/config": "5.0
|
|
79
|
-
"@intlayer/editor": "5.0
|
|
80
|
-
"@intlayer/core": "^5.0
|
|
79
|
+
"@intlayer/config": "5.1.0",
|
|
80
|
+
"@intlayer/editor": "5.1.0",
|
|
81
|
+
"@intlayer/core": "^5.1.0"
|
|
81
82
|
},
|
|
82
83
|
"engines": {
|
|
83
84
|
"node": ">=14.18"
|