@rjsf/mui 5.0.0-beta.11 → 5.0.0-beta.12

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +19 -19
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -24,37 +24,37 @@ declare function FieldErrorTemplate(props: FieldErrorProps): JSX.Element | null;
24
24
  declare function FieldHelpTemplate(props: FieldHelpProps): JSX.Element | null;
25
25
 
26
26
  declare const _default$1: {
27
- ArrayFieldItemTemplate: (props: _rjsf_utils.ArrayFieldTemplateItemType<any, any>) => JSX.Element;
28
- ArrayFieldTemplate: (props: _rjsf_utils.ArrayFieldTemplateProps<any, any>) => JSX.Element;
29
- BaseInputTemplate: ({ id, placeholder, required, readonly, disabled, type, label, value, onChange, onBlur, onFocus, autofocus, options, schema, uiSchema, rawErrors, formContext, registry, ...textFieldProps }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
27
+ ArrayFieldItemTemplate: (props: _rjsf_utils.ArrayFieldTemplateItemType<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
28
+ ArrayFieldTemplate: (props: _rjsf_utils.ArrayFieldTemplateProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
29
+ BaseInputTemplate: ({ id, placeholder, required, readonly, disabled, type, label, value, onChange, onBlur, onFocus, autofocus, options, schema, uiSchema, rawErrors, formContext, registry, ...textFieldProps }: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
30
30
  ButtonTemplates: {
31
- AddButton: react.ComponentType<_rjsf_utils.IconButtonProps<any, any>>;
31
+ AddButton: react.ComponentType<_rjsf_utils.IconButtonProps<any, _rjsf_utils.RJSFSchema, any>>;
32
32
  MoveDownButton: typeof MoveDownButton;
33
33
  MoveUpButton: typeof MoveUpButton;
34
34
  RemoveButton: typeof RemoveButton;
35
- SubmitButton: react.ComponentType<_rjsf_utils.SubmitButtonProps<any, any>>;
35
+ SubmitButton: react.ComponentType<_rjsf_utils.SubmitButtonProps<any, _rjsf_utils.RJSFSchema, any>>;
36
36
  };
37
- DescriptionFieldTemplate: ({ description, id }: _rjsf_utils.DescriptionFieldProps<any, any>) => JSX.Element | null;
38
- ErrorListTemplate: ({ errors }: _rjsf_utils.ErrorListProps<any, any>) => JSX.Element;
37
+ DescriptionFieldTemplate: ({ description, id }: _rjsf_utils.DescriptionFieldProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element | null;
38
+ ErrorListTemplate: ({ errors }: _rjsf_utils.ErrorListProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
39
39
  FieldErrorTemplate: typeof FieldErrorTemplate;
40
40
  FieldHelpTemplate: typeof FieldHelpTemplate;
41
- FieldTemplate: ({ id, children, classNames, disabled, displayLabel, hidden, label, onDropPropertyClick, onKeyChange, readonly, required, rawErrors, errors, help, rawDescription, schema, uiSchema, registry, }: _rjsf_utils.FieldTemplateProps<any, any>) => JSX.Element;
42
- ObjectFieldTemplate: ({ description, title, properties, required, disabled, readonly, uiSchema, idSchema, schema, formData, onAddClick, registry, }: _rjsf_utils.ObjectFieldTemplateProps<any, any>) => JSX.Element;
43
- TitleFieldTemplate: ({ id, title }: _rjsf_utils.TitleFieldProps<any, any>) => JSX.Element;
44
- WrapIfAdditionalTemplate: ({ children, classNames, disabled, id, label, onDropPropertyClick, onKeyChange, readonly, required, schema, uiSchema, registry, }: _rjsf_utils.WrapIfAdditionalTemplateProps<any, any>) => JSX.Element;
41
+ FieldTemplate: ({ id, children, classNames, disabled, displayLabel, hidden, label, onDropPropertyClick, onKeyChange, readonly, required, rawErrors, errors, help, rawDescription, schema, uiSchema, registry, }: _rjsf_utils.FieldTemplateProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
42
+ ObjectFieldTemplate: ({ description, title, properties, required, disabled, readonly, uiSchema, idSchema, schema, formData, onAddClick, registry, }: _rjsf_utils.ObjectFieldTemplateProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
43
+ TitleFieldTemplate: ({ id, title }: _rjsf_utils.TitleFieldProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
44
+ WrapIfAdditionalTemplate: ({ children, classNames, disabled, id, label, onDropPropertyClick, onKeyChange, readonly, required, schema, uiSchema, registry, }: _rjsf_utils.WrapIfAdditionalTemplateProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
45
45
  };
46
46
 
47
47
  declare const Theme: ThemeProps;
48
48
 
49
49
  declare const _default: {
50
- CheckboxWidget: (props: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
51
- CheckboxesWidget: ({ schema, label, id, disabled, options, value, autofocus, readonly, required, onChange, onBlur, onFocus, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
52
- DateWidget: (props: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
53
- DateTimeWidget: (props: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
54
- RadioWidget: ({ id, schema, options, value, required, disabled, readonly, label, onChange, onBlur, onFocus, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
55
- RangeWidget: ({ value, readonly, disabled, onBlur, onFocus, options, schema, onChange, required, label, id, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
56
- SelectWidget: ({ schema, id, options, label, required, disabled, readonly, value, multiple, autofocus, onChange, onBlur, onFocus, rawErrors, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
57
- TextareaWidget: (props: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
50
+ CheckboxWidget: (props: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
51
+ CheckboxesWidget: ({ schema, label, id, disabled, options, value, autofocus, readonly, required, onChange, onBlur, onFocus, }: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
52
+ DateWidget: (props: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
53
+ DateTimeWidget: (props: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
54
+ RadioWidget: ({ id, schema, options, value, required, disabled, readonly, label, onChange, onBlur, onFocus, }: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
55
+ RangeWidget: ({ value, readonly, disabled, onBlur, onFocus, options, schema, onChange, required, label, id, }: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
56
+ SelectWidget: ({ schema, id, options, label, required, disabled, readonly, value, multiple, autofocus, onChange, onBlur, onFocus, rawErrors, }: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
57
+ TextareaWidget: (props: _rjsf_utils.WidgetProps<any, _rjsf_utils.RJSFSchema, any>) => JSX.Element;
58
58
  };
59
59
 
60
60
  export { MuiForm as Form, _default$1 as Templates, Theme, _default as Widgets, MuiForm as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rjsf/mui",
3
- "version": "5.0.0-beta.11",
3
+ "version": "5.0.0-beta.12",
4
4
  "module": "./dist/mui.esm.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -48,9 +48,9 @@
48
48
  "@emotion/styled": "^11.10.0",
49
49
  "@mui/icons-material": "^5.10.2",
50
50
  "@mui/material": "^5.10.2",
51
- "@rjsf/core": "^5.0.0-beta.11",
52
- "@rjsf/utils": "^5.0.0-beta.11",
53
- "@rjsf/validator-ajv6": "^5.0.0-beta.11",
51
+ "@rjsf/core": "^5.0.0-beta.12",
52
+ "@rjsf/utils": "^5.0.0-beta.12",
53
+ "@rjsf/validator-ajv8": "^5.0.0-beta.12",
54
54
  "@types/react": "^17.0.37",
55
55
  "@types/react-dom": "^17.0.11",
56
56
  "@types/react-test-renderer": "^17.0.1",
@@ -88,5 +88,5 @@
88
88
  "url": "git+https://github.com/rjsf-team/react-jsonschema-form.git"
89
89
  },
90
90
  "license": "Apache-2.0",
91
- "gitHead": "40b37e064796e4def11f50500ebaf11839191632"
91
+ "gitHead": "d0068284cf667418ea236fd4f5c4708f51740961"
92
92
  }