@rjsf/antd 5.24.8 → 5.24.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rjsf/antd",
|
|
3
|
-
"version": "5.24.
|
|
3
|
+
"version": "5.24.9",
|
|
4
4
|
"description": "Ant Design theme, fields and widgets for react-jsonschema-form",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"@babel/preset-env": "^7.23.9",
|
|
85
85
|
"@babel/preset-react": "^7.23.3",
|
|
86
86
|
"@babel/preset-typescript": "^7.23.3",
|
|
87
|
-
"@rjsf/core": "^5.24.
|
|
88
|
-
"@rjsf/snapshot-tests": "^5.24.
|
|
89
|
-
"@rjsf/utils": "^5.24.
|
|
90
|
-
"@rjsf/validator-ajv8": "^5.24.
|
|
87
|
+
"@rjsf/core": "^5.24.9",
|
|
88
|
+
"@rjsf/snapshot-tests": "^5.24.9",
|
|
89
|
+
"@rjsf/utils": "^5.24.9",
|
|
90
|
+
"@rjsf/validator-ajv8": "^5.24.9",
|
|
91
91
|
"@rollup/plugin-replace": "^5.0.5",
|
|
92
92
|
"@types/jest": "^29.5.12",
|
|
93
93
|
"@types/lodash": "^4.14.202",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"publishConfig": {
|
|
135
135
|
"access": "public"
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "c5d47c86b6065718c2dc0fd96c0a4cf1d67c0b55"
|
|
138
138
|
}
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from '@rjsf/utils';
|
|
15
15
|
import { MouseEventHandler } from 'react';
|
|
16
16
|
|
|
17
|
-
// The `type` for IconButtonProps collides with
|
|
17
|
+
// The `type` and `color` for IconButtonProps collides with props of `ButtonProps` so omit it to avoid Typescript issue
|
|
18
18
|
export type AntdIconButtonProps<
|
|
19
19
|
T = any,
|
|
20
20
|
S extends StrictRJSFSchema = RJSFSchema,
|
|
21
21
|
F extends FormContextType = any
|
|
22
|
-
> = Omit<IconButtonProps<T, S, F>, 'type'>;
|
|
22
|
+
> = Omit<IconButtonProps<T, S, F>, 'type' | 'color'>;
|
|
23
23
|
|
|
24
24
|
export default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(
|
|
25
25
|
props: AntdIconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>
|