@jsonui/react 0.4.2 → 0.4.4
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 +52 -24
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/stock/components/Button.d.ts +1 -1
- package/dist/cjs/types/stock/components/Fragment.d.ts +1 -5
- package/dist/cjs/types/stock/components/PrimitiveProp.d.ts +1 -4
- package/dist/cjs/types/stock/components/Text.d.ts +1 -1
- package/dist/cjs/types/stock/components/View.d.ts +1 -1
- package/dist/cjs/types/stock/components.d.ts +18 -0
- package/dist/cjs/types/stock/stockToRenderer.d.ts +20 -0
- package/dist/esm/index.js +53 -25
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/stock/components/Button.d.ts +1 -1
- package/dist/esm/types/stock/components/Fragment.d.ts +1 -5
- package/dist/esm/types/stock/components/PrimitiveProp.d.ts +1 -4
- package/dist/esm/types/stock/components/Text.d.ts +1 -1
- package/dist/esm/types/stock/components/View.d.ts +1 -1
- package/dist/esm/types/stock/components.d.ts +18 -0
- package/dist/esm/types/stock/stockToRenderer.d.ts +20 -0
- package/package.json +3 -3
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { constants as c } from '@jsonui/core';
|
|
3
|
-
declare const Fragment: ({ [c.V_CHILDREN_NAME]: props, ...a }: {
|
|
4
|
-
[c.V_CHILDREN_NAME]: any;
|
|
5
|
-
}) => JSX.Element;
|
|
1
|
+
declare const Fragment: ({ children }: any) => any;
|
|
6
2
|
export default Fragment;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
declare function PrimitiveProp({ [c.V_CHILDREN_NAME]: children }: {
|
|
4
|
-
[c.V_CHILDREN_NAME]: any;
|
|
5
|
-
}): JSX.Element;
|
|
2
|
+
declare function PrimitiveProp({ children }: any): JSX.Element;
|
|
6
3
|
export default PrimitiveProp;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Text from './components/Text';
|
|
2
|
+
import Button from './components/Button';
|
|
3
|
+
import Edit from './components/Edit';
|
|
4
|
+
import View from './components/View';
|
|
5
|
+
import Image from './components/Image';
|
|
6
|
+
import _Undefined from './components/Undefined';
|
|
7
|
+
import _PrimitiveProp from './components/PrimitiveProp';
|
|
8
|
+
declare const Components: {
|
|
9
|
+
View: typeof View;
|
|
10
|
+
_PrimitiveProp: typeof _PrimitiveProp;
|
|
11
|
+
_Undefined: typeof _Undefined;
|
|
12
|
+
Fragment: ({ children }: any) => any;
|
|
13
|
+
Image: typeof Image;
|
|
14
|
+
Text: typeof Text;
|
|
15
|
+
Button: typeof Button;
|
|
16
|
+
Edit: typeof Edit;
|
|
17
|
+
};
|
|
18
|
+
export default Components;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Stock } from '@jsonui/core';
|
|
2
|
+
export declare const getStock: (stockInit: any, model: any, Wrapper: any, reduxStore: any) => Stock;
|
|
3
|
+
declare const stock: {
|
|
4
|
+
components: {
|
|
5
|
+
View: typeof import("./components/View").default;
|
|
6
|
+
_PrimitiveProp: typeof import("./components/PrimitiveProp").default;
|
|
7
|
+
_Undefined: typeof import("./components/Undefined").default;
|
|
8
|
+
Fragment: ({ children }: any) => any;
|
|
9
|
+
Image: typeof import("./components/Image").default;
|
|
10
|
+
Text: typeof import("./components/Text").default;
|
|
11
|
+
Button: typeof import("./components/Button").default;
|
|
12
|
+
Edit: typeof import("./components/Edit").default;
|
|
13
|
+
};
|
|
14
|
+
functions: {
|
|
15
|
+
getStateValue: (attr: any, props: any, callerArgs: any, stock: any) => any;
|
|
16
|
+
get: (attr: any, props: any, callerArgs: any, stock: any) => any;
|
|
17
|
+
set: (attr: any, props: any, callerArgs: any, stock: any) => any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default stock;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonui/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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.7.1",
|
|
40
|
-
"@jsonui/core": "^0.4.
|
|
40
|
+
"@jsonui/core": "^0.4.4",
|
|
41
41
|
"batchflow": "^0.4.0",
|
|
42
42
|
"jsonata": "^1.8.5",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"last 1 safari version"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "bd8d7759fb0c8bec66cdc73d87585832f07ae894"
|
|
117
117
|
}
|