@jsonui/core 0.4.0 → 0.4.2

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.
@@ -27,5 +27,6 @@ export declare const REDUX_PATHS = "$$reduxPaths";
27
27
  export declare const V_CHILDREN_PREFIX = "$child";
28
28
  export declare const PARENT_PROP_NAME = "__parentprop";
29
29
  export declare const CURRENT_PATH_NAME = "__currentPaths";
30
+ export declare const UNDEFINED_COMP_NAME = "_Undefined";
30
31
  export declare const PRIMITIVE_COMP_NAME = "_PrimitiveProp";
31
32
  export declare const FRAGMENT_COMP_NAME = "Fragment";
@@ -18,7 +18,7 @@ export declare const getRootWrapperProps: (props: PropsType, stock: InstanceType
18
18
  [x: string]: import("../utils/types").PropValue;
19
19
  $pathModifiers?: PathModifiersType | undefined;
20
20
  };
21
- export declare const isChildrenProps: (propName?: string | undefined) => boolean;
21
+ export declare const isChildrenProp: (propName?: string | undefined) => boolean;
22
22
  export declare const getParentProps: (props: PropsType) => PropsType;
23
23
  export declare const getPropsChildrenFilter: ({ props, filter }: {
24
24
  props: PropsType;
@@ -27,5 +27,6 @@ export declare const getPropsChildrenFilter: ({ props, filter }: {
27
27
  export declare const getChildrensForRoot: (props: PropsType, children: any, Wrapper: WrapperType) => JSX.Element | JSX.Element[] | undefined;
28
28
  export declare const generateChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => import("../utils/types").PropValue | JSX.Element;
29
29
  export declare const generateNewChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => JSX.Element | JSX.Element[] | undefined;
30
+ export declare const isTechnicalProp: (propName: string) => boolean;
30
31
  export declare const removeTechnicalProps: (changeableProps: any) => any;
31
32
  export {};
package/dist/index.d.ts CHANGED
@@ -99,6 +99,7 @@ declare const REDUX_PATHS = "$$reduxPaths";
99
99
  declare const V_CHILDREN_PREFIX = "$child";
100
100
  declare const PARENT_PROP_NAME = "__parentprop";
101
101
  declare const CURRENT_PATH_NAME = "__currentPaths";
102
+ declare const UNDEFINED_COMP_NAME = "_Undefined";
102
103
  declare const PRIMITIVE_COMP_NAME = "_PrimitiveProp";
103
104
  declare const FRAGMENT_COMP_NAME = "Fragment";
104
105
 
@@ -131,6 +132,7 @@ declare const constants_d_REDUX_PATHS: typeof REDUX_PATHS;
131
132
  declare const constants_d_V_CHILDREN_PREFIX: typeof V_CHILDREN_PREFIX;
132
133
  declare const constants_d_PARENT_PROP_NAME: typeof PARENT_PROP_NAME;
133
134
  declare const constants_d_CURRENT_PATH_NAME: typeof CURRENT_PATH_NAME;
135
+ declare const constants_d_UNDEFINED_COMP_NAME: typeof UNDEFINED_COMP_NAME;
134
136
  declare const constants_d_PRIMITIVE_COMP_NAME: typeof PRIMITIVE_COMP_NAME;
135
137
  declare const constants_d_FRAGMENT_COMP_NAME: typeof FRAGMENT_COMP_NAME;
136
138
  declare namespace constants_d {
@@ -164,6 +166,7 @@ declare namespace constants_d {
164
166
  constants_d_V_CHILDREN_PREFIX as V_CHILDREN_PREFIX,
165
167
  constants_d_PARENT_PROP_NAME as PARENT_PROP_NAME,
166
168
  constants_d_CURRENT_PATH_NAME as CURRENT_PATH_NAME,
169
+ constants_d_UNDEFINED_COMP_NAME as UNDEFINED_COMP_NAME,
167
170
  constants_d_PRIMITIVE_COMP_NAME as PRIMITIVE_COMP_NAME,
168
171
  constants_d_FRAGMENT_COMP_NAME as FRAGMENT_COMP_NAME,
169
172
  };
@@ -185,7 +188,7 @@ declare const getRootWrapperProps: (props: PropsType, stock: InstanceType<typeof
185
188
  [x: string]: PropValue;
186
189
  $pathModifiers?: PathModifiersType | undefined;
187
190
  };
188
- declare const isChildrenProps: (propName?: string | undefined) => boolean;
191
+ declare const isChildrenProp: (propName?: string | undefined) => boolean;
189
192
  declare const getParentProps: (props: PropsType) => PropsType;
190
193
  declare const getPropsChildrenFilter: ({ props, filter }: {
191
194
  props: PropsType;
@@ -194,6 +197,7 @@ declare const getPropsChildrenFilter: ({ props, filter }: {
194
197
  declare const getChildrensForRoot: (props: PropsType, children: any, Wrapper: WrapperType) => JSX.Element | JSX.Element[] | undefined;
195
198
  declare const generateChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => PropValue | JSX.Element;
196
199
  declare const generateNewChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => JSX.Element | JSX.Element[] | undefined;
200
+ declare const isTechnicalProp: (propName: string) => boolean;
197
201
  declare const removeTechnicalProps: (changeableProps: any) => any;
198
202
 
199
203
  declare const wrapperUtil_d_getFilteredPath: typeof getFilteredPath;
@@ -202,12 +206,13 @@ declare const wrapperUtil_d_calculatePropsFromModifier: typeof calculatePropsFro
202
206
  declare const wrapperUtil_d_getCurrentPaths: typeof getCurrentPaths;
203
207
  declare const wrapperUtil_d_normalisePrimitives: typeof normalisePrimitives;
204
208
  declare const wrapperUtil_d_getRootWrapperProps: typeof getRootWrapperProps;
205
- declare const wrapperUtil_d_isChildrenProps: typeof isChildrenProps;
209
+ declare const wrapperUtil_d_isChildrenProp: typeof isChildrenProp;
206
210
  declare const wrapperUtil_d_getParentProps: typeof getParentProps;
207
211
  declare const wrapperUtil_d_getPropsChildrenFilter: typeof getPropsChildrenFilter;
208
212
  declare const wrapperUtil_d_getChildrensForRoot: typeof getChildrensForRoot;
209
213
  declare const wrapperUtil_d_generateChildren: typeof generateChildren;
210
214
  declare const wrapperUtil_d_generateNewChildren: typeof generateNewChildren;
215
+ declare const wrapperUtil_d_isTechnicalProp: typeof isTechnicalProp;
211
216
  declare const wrapperUtil_d_removeTechnicalProps: typeof removeTechnicalProps;
212
217
  declare namespace wrapperUtil_d {
213
218
  export {
@@ -217,12 +222,13 @@ declare namespace wrapperUtil_d {
217
222
  wrapperUtil_d_getCurrentPaths as getCurrentPaths,
218
223
  wrapperUtil_d_normalisePrimitives as normalisePrimitives,
219
224
  wrapperUtil_d_getRootWrapperProps as getRootWrapperProps,
220
- wrapperUtil_d_isChildrenProps as isChildrenProps,
225
+ wrapperUtil_d_isChildrenProp as isChildrenProp,
221
226
  wrapperUtil_d_getParentProps as getParentProps,
222
227
  wrapperUtil_d_getPropsChildrenFilter as getPropsChildrenFilter,
223
228
  wrapperUtil_d_getChildrensForRoot as getChildrensForRoot,
224
229
  wrapperUtil_d_generateChildren as generateChildren,
225
230
  wrapperUtil_d_generateNewChildren as generateNewChildren,
231
+ wrapperUtil_d_isTechnicalProp as isTechnicalProp,
226
232
  wrapperUtil_d_removeTechnicalProps as removeTechnicalProps,
227
233
  };
228
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonui/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/cjs/index.js",
@@ -56,5 +56,5 @@
56
56
  "rollup-plugin-visualizer": "^5.5.4",
57
57
  "ts-jest": "^27.1.3"
58
58
  },
59
- "gitHead": "db3f8b12f78c0ea9d4abbcac2cc9921558fba2d3"
59
+ "gitHead": "b87557fff3e0b23846c62263230e33eca6b1f945"
60
60
  }