@jsonui/react 0.7.2 → 0.7.3
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/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/tests/redux.test.d.ts +13 -0
- package/dist/cjs/types/types.d.ts +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/tests/redux.test.d.ts +13 -0
- package/dist/esm/types/types.d.ts +3 -3
- package/dist/index.d.ts +4 -4
- package/package.json +3 -3
|
@@ -5,3 +5,4 @@ import { MessageHandlerContext, MessageHandler } from './MessageReceiverContext'
|
|
|
5
5
|
declare const JsonUI: (props: ViewerProps) => JSX.Element;
|
|
6
6
|
export { JsonUI, MessageHandlerContext, MessageHandler };
|
|
7
7
|
export type { ViewerProps as JsonUIProps, JSONValue, ChangeDefaultValueFuncProp, JsonUIFunctions, JsonUIFunctionType, JsonUIComponentsType };
|
|
8
|
+
export default JsonUI;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
/**
|
|
3
|
+
* TODO:
|
|
4
|
+
* - check actions (with nested ,promise and sync )
|
|
5
|
+
* - check modification (with nested ,promise and sync )
|
|
6
|
+
* - check modification order for example redux vs. simple function
|
|
7
|
+
* - check children and no children component with children prop
|
|
8
|
+
* - check data manipulation with mutability situation
|
|
9
|
+
* - check error boundary how works
|
|
10
|
+
* Low:
|
|
11
|
+
* - check performance or memory leak???
|
|
12
|
+
|
|
13
|
+
* */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { JsonUIComponentsType, JsonUIFunctions } from '@jsonui/core';
|
|
3
3
|
export declare type JSONPrimitive = string | number | boolean | null;
|
|
4
|
-
export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
|
|
5
4
|
export declare type JSONObject = {
|
|
6
|
-
[member: string]:
|
|
5
|
+
[member: string]: any;
|
|
7
6
|
};
|
|
8
|
-
export declare type JSONArray = Array<
|
|
7
|
+
export declare type JSONArray = Array<any>;
|
|
8
|
+
export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
|
|
9
9
|
export interface ChangeDefaultValueFuncProp {
|
|
10
10
|
store: string;
|
|
11
11
|
path: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import * as react from 'react';
|
|
|
5
5
|
import { ChangeDefaultValueFunc } from 'types';
|
|
6
6
|
|
|
7
7
|
declare type JSONPrimitive = string | number | boolean | null;
|
|
8
|
-
declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
|
|
9
8
|
declare type JSONObject = {
|
|
10
|
-
[member: string]:
|
|
9
|
+
[member: string]: any;
|
|
11
10
|
};
|
|
12
|
-
declare type JSONArray = Array<
|
|
11
|
+
declare type JSONArray = Array<any>;
|
|
12
|
+
declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
|
|
13
13
|
interface ChangeDefaultValueFuncProp {
|
|
14
14
|
store: string;
|
|
15
15
|
path: string;
|
|
@@ -36,4 +36,4 @@ declare const MessageHandlerContext: react.Context<MessageHandler | null>;
|
|
|
36
36
|
|
|
37
37
|
declare const JsonUI: (props: ViewerProps) => JSX.Element;
|
|
38
38
|
|
|
39
|
-
export { ChangeDefaultValueFuncProp, JSONValue, JsonUI, ViewerProps as JsonUIProps, MessageHandler, MessageHandlerContext };
|
|
39
|
+
export { ChangeDefaultValueFuncProp, JSONValue, JsonUI, ViewerProps as JsonUIProps, MessageHandler, MessageHandlerContext, JsonUI as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonui/react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"author": "Istvan Fodor <fodori@jsonui.org>",
|
|
5
5
|
"contributors": [],
|
|
6
6
|
"bugs": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@emotion/react": "^11.13.3",
|
|
40
|
-
"@jsonui/core": "^0.7.
|
|
40
|
+
"@jsonui/core": "^0.7.3",
|
|
41
41
|
"batchflow": "^0.4.0",
|
|
42
42
|
"jsonata": "^1.8.5",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"last 1 safari version"
|
|
113
113
|
]
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "136965af95ea9c92991ad247d36d3941140f024f"
|
|
116
116
|
}
|