@knotx/react 0.5.8 → 0.5.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.
package/dist/index.d.cts CHANGED
@@ -55,7 +55,7 @@ type KnotxProps<TPlugins extends Plugin[] = Plugin[], TNode extends IRecord = IR
55
55
  } : {});
56
56
 
57
57
  declare const Knotx: {
58
- <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
58
+ <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref?: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
59
59
  displayName?: string | undefined;
60
60
  };
61
61
 
package/dist/index.d.mts CHANGED
@@ -55,7 +55,7 @@ type KnotxProps<TPlugins extends Plugin[] = Plugin[], TNode extends IRecord = IR
55
55
  } : {});
56
56
 
57
57
  declare const Knotx: {
58
- <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
58
+ <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref?: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
59
59
  displayName?: string | undefined;
60
60
  };
61
61
 
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ type KnotxProps<TPlugins extends Plugin[] = Plugin[], TNode extends IRecord = IR
55
55
  } : {});
56
56
 
57
57
  declare const Knotx: {
58
- <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
58
+ <TPlugins extends Plugin[], TNode extends IRecord, TEdge extends IRecord>(props: KnotxProps<TPlugins, TNode, TEdge>, ref?: ForwardedRef<KnotxInstance<TNode, TEdge>>): ReactElement | null;
59
59
  displayName?: string | undefined;
60
60
  };
61
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/react",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "React for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -33,19 +33,19 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "rxjs": "^7.8.1",
36
- "@knotx/core": "0.5.8",
37
- "@knotx/jsx": "0.5.8",
38
- "@knotx/plugins-base-render": "0.5.8"
36
+ "@knotx/jsx": "0.5.9",
37
+ "@knotx/plugins-base-render": "0.5.9",
38
+ "@knotx/core": "0.5.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/react": "^17.0.0",
42
42
  "@types/react-dom": "^17.0.0",
43
43
  "react": "^17.0.0",
44
44
  "react-dom": "^17.0.0",
45
- "@knotx/build-config": "0.5.8",
46
- "@knotx/eslint-config": "0.5.8",
47
- "@knotx/jsx": "0.5.8",
48
- "@knotx/typescript-config": "0.5.8"
45
+ "@knotx/build-config": "0.5.9",
46
+ "@knotx/eslint-config": "0.5.9",
47
+ "@knotx/jsx": "0.5.9",
48
+ "@knotx/typescript-config": "0.5.9"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "unbuild",