@uxf/wysiwyg 12.2.1 → 12.7.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/hooks.d.ts CHANGED
@@ -69,7 +69,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
69
69
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
70
70
  getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | "state">(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends "state" ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
71
71
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
72
- getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").ZustandStoreApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
72
+ getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
73
73
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
74
74
  node: any;
75
75
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
@@ -1049,7 +1049,7 @@ export declare const useUxfEditorRef: () => {
1049
1049
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
1050
1050
  getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | "state">(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends "state" ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
1051
1051
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
1052
- getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").ZustandStoreApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
1052
+ getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
1053
1053
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
1054
1054
  node: any;
1055
1055
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/wysiwyg",
3
- "version": "12.2.1",
3
+ "version": "12.7.0",
4
4
  "description": "UXF Wysiwyg editor",
5
5
  "author": "Robin Dvorak <dvorak@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/wysiwyg",
@@ -18,10 +18,10 @@
18
18
  "@platejs/link": "53.3.5",
19
19
  "@platejs/list-classic": "53.0.0",
20
20
  "@platejs/media": "53.1.4",
21
- "@uxf/core": "11.129.0",
22
- "@uxf/core-react": "12.0.0",
23
- "@uxf/ui": "12.2.1",
24
- "platejs": "53.3.9",
21
+ "@uxf/core": "12.7.0",
22
+ "@uxf/core-react": "12.7.0",
23
+ "@uxf/ui": "12.7.0",
24
+ "platejs": "53.3.15",
25
25
  "react": ">=18.2.0",
26
26
  "react-dom": ">=18.2.0"
27
27
  },
@@ -33,10 +33,10 @@
33
33
  "@platejs/media": "53.1.4",
34
34
  "@types/react": "18.3.31",
35
35
  "@types/react-dom": "18.3.7",
36
- "@uxf/core": "11.129.0",
37
- "@uxf/core-react": "12.0.0",
38
- "@uxf/ui": "12.2.1",
39
- "platejs": "53.3.9",
36
+ "@uxf/core": "12.7.0",
37
+ "@uxf/core-react": "12.7.0",
38
+ "@uxf/ui": "12.7.0",
39
+ "platejs": "53.3.15",
40
40
  "react": "18.3.1",
41
41
  "react-dom": "18.3.1"
42
42
  }
@@ -73,7 +73,7 @@ export declare const useLinkActions: () => {
73
73
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
74
74
  getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | "state">(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends "state" ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
75
75
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
76
- getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").ZustandStoreApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
76
+ getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
77
77
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
78
78
  node: any;
79
79
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {