@rjsf/core 5.0.0-beta.16 → 5.0.0-beta.17
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/core.cjs.development.js +66 -59
- package/dist/core.cjs.development.js.map +1 -1
- package/dist/core.cjs.production.min.js +1 -1
- package/dist/core.cjs.production.min.js.map +1 -1
- package/dist/core.esm.js +66 -59
- package/dist/core.esm.js.map +1 -1
- package/dist/core.umd.development.js +69 -62
- package/dist/core.umd.development.js.map +1 -1
- package/dist/core.umd.production.min.js +1 -1
- package/dist/core.umd.production.min.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -291,7 +291,7 @@ declare class Form<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends F
|
|
|
291
291
|
/** The properties for the `withTheme` function, essentially a subset of properties from the `FormProps` that can be
|
|
292
292
|
* overridden while creating a theme
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
type ThemeProps<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any> = Pick<FormProps<T, S, F>, "fields" | "templates" | "widgets" | "_internalFormWrapper"> & {
|
|
295
295
|
ref?: React.Ref<Form<T, S, F>>;
|
|
296
296
|
};
|
|
297
297
|
/** A Higher-Order component that creates a wrapper around a `Form` with the overrides from the `WithThemeProps` */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rjsf/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.17",
|
|
4
4
|
"description": "A simple React component capable of building HTML forms out of a JSON schema.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && dts build --rollupTypes --format cjs,esm,umd",
|
|
@@ -43,33 +43,33 @@
|
|
|
43
43
|
"prop-types": "^15.7.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@babel/cli": "^7.
|
|
47
|
-
"@babel/core": "^7.
|
|
46
|
+
"@babel/cli": "^7.20.7",
|
|
47
|
+
"@babel/core": "^7.20.12",
|
|
48
48
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
49
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
49
|
+
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
|
|
50
50
|
"@babel/plugin-transform-object-assign": "^7.18.6",
|
|
51
|
-
"@babel/plugin-transform-react-jsx": "^7.
|
|
52
|
-
"@babel/preset-env": "^7.
|
|
51
|
+
"@babel/plugin-transform-react-jsx": "^7.20.7",
|
|
52
|
+
"@babel/preset-env": "^7.20.2",
|
|
53
53
|
"@babel/preset-react": "^7.18.6",
|
|
54
54
|
"@babel/register": "^7.18.9",
|
|
55
|
-
"@rjsf/utils": "^5.0.0-beta.
|
|
56
|
-
"@rjsf/validator-ajv6": "^5.0.0-beta.
|
|
57
|
-
"@rjsf/validator-ajv8": "^5.0.0-beta.
|
|
58
|
-
"@types/lodash": "^4.14.
|
|
55
|
+
"@rjsf/utils": "^5.0.0-beta.17",
|
|
56
|
+
"@rjsf/validator-ajv6": "^5.0.0-beta.17",
|
|
57
|
+
"@rjsf/validator-ajv8": "^5.0.0-beta.17",
|
|
58
|
+
"@types/lodash": "^4.14.191",
|
|
59
59
|
"@types/react": "^17.0.39",
|
|
60
60
|
"@types/react-dom": "^17.0.11",
|
|
61
|
-
"ajv": "^8.
|
|
61
|
+
"ajv": "^8.12.0",
|
|
62
62
|
"atob": "^2.1.2",
|
|
63
63
|
"chai": "^3.3.0",
|
|
64
|
-
"dts-cli": "^1.6.
|
|
65
|
-
"eslint": "^8.
|
|
64
|
+
"dts-cli": "^1.6.3",
|
|
65
|
+
"eslint": "^8.31.0",
|
|
66
66
|
"html": "^1.0.0",
|
|
67
67
|
"jsdom": "^20.0.1",
|
|
68
|
-
"mocha": "^10.
|
|
68
|
+
"mocha": "^10.2.0",
|
|
69
69
|
"react": "^17.0.2",
|
|
70
70
|
"react-dom": "^17.0.2",
|
|
71
71
|
"react-portal": "^4.2.2",
|
|
72
|
-
"rimraf": "^
|
|
72
|
+
"rimraf": "^4.0.4",
|
|
73
73
|
"sinon": "^9.0.2"
|
|
74
74
|
},
|
|
75
75
|
"directories": {
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"publishConfig": {
|
|
94
94
|
"access": "public"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "b0163ffdb06df1dea51cda3141bf4ca1889f8e49"
|
|
97
97
|
}
|