@rjsf/chakra-ui 4.2.3 → 5.0.0-beta.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/README.md +6 -4
- package/dist/chakra-ui.cjs.development.js +420 -541
- package/dist/chakra-ui.cjs.development.js.map +1 -1
- package/dist/chakra-ui.cjs.production.min.js +1 -1
- package/dist/chakra-ui.cjs.production.min.js.map +1 -1
- package/dist/chakra-ui.esm.js +343 -483
- package/dist/chakra-ui.esm.js.map +1 -1
- package/dist/chakra-ui.umd.development.js +421 -544
- package/dist/chakra-ui.umd.development.js.map +1 -1
- package/dist/chakra-ui.umd.production.min.js +1 -1
- package/dist/chakra-ui.umd.production.min.js.map +1 -1
- package/dist/index.d.ts +78 -11
- package/package.json +47 -34
- package/dist/AddButton/AddButton.d.ts +0 -5
- package/dist/AddButton/index.d.ts +0 -2
- package/dist/AltDateTimeWidget/AltDateTimeWidget.d.ts +0 -14
- package/dist/AltDateTimeWidget/index.d.ts +0 -2
- package/dist/AltDateWidget/AltDateWidget.d.ts +0 -13
- package/dist/AltDateWidget/index.d.ts +0 -2
- package/dist/ArrayFieldTemplate/ArrayFieldTemplate.d.ts +0 -3
- package/dist/ArrayFieldTemplate/index.d.ts +0 -2
- package/dist/ChakraFrameProvider.d.ts +0 -1
- package/dist/CheckboxWidget/CheckboxWidget.d.ts +0 -3
- package/dist/CheckboxWidget/index.d.ts +0 -2
- package/dist/CheckboxesWidget/CheckboxesWidget.d.ts +0 -3
- package/dist/CheckboxesWidget/index.d.ts +0 -2
- package/dist/ColorWidget/ColorWidget.d.ts +0 -3
- package/dist/ColorWidget/index.d.ts +0 -2
- package/dist/CssReset.d.ts +0 -23
- package/dist/DateTimeWidget/DateTimeWidget.d.ts +0 -3
- package/dist/DateTimeWidget/index.d.ts +0 -2
- package/dist/DateWidget/DateWidget.d.ts +0 -3
- package/dist/DateWidget/index.d.ts +0 -2
- package/dist/DescriptionField/DescriptionField.d.ts +0 -3
- package/dist/DescriptionField/index.d.ts +0 -2
- package/dist/EmailWidget/EmailWidget.d.ts +0 -3
- package/dist/EmailWidget/index.d.ts +0 -2
- package/dist/ErrorList/ErrorList.d.ts +0 -3
- package/dist/ErrorList/index.d.ts +0 -2
- package/dist/FieldTemplate/FieldTemplate.d.ts +0 -3
- package/dist/FieldTemplate/WrapIfAdditional.d.ts +0 -16
- package/dist/FieldTemplate/index.d.ts +0 -2
- package/dist/Fields/Fields.d.ts +0 -6
- package/dist/Fields/index.d.ts +0 -2
- package/dist/Form/Form.d.ts +0 -4
- package/dist/Form/index.d.ts +0 -2
- package/dist/IconButton/IconButton.d.ts +0 -17
- package/dist/IconButton/index.d.ts +0 -2
- package/dist/ObjectFieldTemplate/ObjectFieldTemplate.d.ts +0 -3
- package/dist/ObjectFieldTemplate/index.d.ts +0 -2
- package/dist/PasswordWidget/PasswordWidget.d.ts +0 -3
- package/dist/PasswordWidget/index.d.ts +0 -2
- package/dist/RadioWidget/RadioWidget.d.ts +0 -3
- package/dist/RadioWidget/index.d.ts +0 -2
- package/dist/RangeWidget/RangeWidget.d.ts +0 -3
- package/dist/RangeWidget/index.d.ts +0 -2
- package/dist/SelectWidget/SelectWidget.d.ts +0 -3
- package/dist/SelectWidget/index.d.ts +0 -2
- package/dist/SubmitButton/SubmitButton.d.ts +0 -3
- package/dist/SubmitButton/index.d.ts +0 -2
- package/dist/TextWidget/TextWidget.d.ts +0 -3
- package/dist/TextWidget/index.d.ts +0 -2
- package/dist/TextareaWidget/TextareaWidget.d.ts +0 -3
- package/dist/TextareaWidget/index.d.ts +0 -2
- package/dist/Theme/Theme.d.ts +0 -3
- package/dist/Theme/index.d.ts +0 -2
- package/dist/TitleField/TitleField.d.ts +0 -3
- package/dist/TitleField/index.d.ts +0 -2
- package/dist/URLWidget/URLWidget.d.ts +0 -3
- package/dist/URLWidget/index.d.ts +0 -2
- package/dist/UpDownWidget/UpDownWidget.d.ts +0 -3
- package/dist/UpDownWidget/index.d.ts +0 -2
- package/dist/Widgets/Widgets.d.ts +0 -43
- package/dist/Widgets/index.d.ts +0 -2
- package/dist/utils.d.ts +0 -16
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<p align="center">
|
|
17
17
|
Chakra UI theme, fields and widgets for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
|
|
18
18
|
<br />
|
|
19
|
-
<a href="https://react-jsonschema-form.readthedocs.io/en/
|
|
19
|
+
<a href="https://react-jsonschema-form.readthedocs.io/en/stable/"><strong>Explore the docs »</strong></a>
|
|
20
20
|
<br />
|
|
21
21
|
<br />
|
|
22
22
|
<a href="https://rjsf-team.github.io/react-jsonschema-form/">View Playground</a>
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
- [Prerequisites](#prerequisites)
|
|
39
39
|
- [Installation](#installation)
|
|
40
40
|
- [Usage](#usage)
|
|
41
|
+
- [Optional Chakra UI Theme properties](#optional-chakra-ui-theme-properties)
|
|
42
|
+
- [Custom Chakra uiSchema Chakra Property](#custom-chakra-uischema-chakra-property)
|
|
41
43
|
- [Roadmap](#roadmap)
|
|
42
44
|
- [Contributing](#contributing)
|
|
43
45
|
- [Contact](#contact)
|
|
@@ -67,7 +69,7 @@ Exports `chakra-ui` theme, fields and widgets for `react-jsonschema-form`.
|
|
|
67
69
|
- `framer-motion >= 5.0.0`
|
|
68
70
|
- `@rjsf/core >= 2.0.0`
|
|
69
71
|
|
|
70
|
-
Refer to the [rjsf installation guide](https://react-jsonschema-form.readthedocs.io/en/
|
|
72
|
+
Refer to the [rjsf installation guide](https://react-jsonschema-form.readthedocs.io/en/stable/#installation) and [chakra-ui installation guide](https://chakra-ui.com/docs/getting-started#installation) and for more details.
|
|
71
73
|
|
|
72
74
|
---
|
|
73
75
|
|
|
@@ -102,7 +104,7 @@ const Form = withTheme(ChakraUITheme);
|
|
|
102
104
|
|
|
103
105
|
## Optional Chakra UI Theme properties
|
|
104
106
|
|
|
105
|
-
- To pass additional properties to widgets, see this [guide](https://react-jsonschema-form.readthedocs.io/en/
|
|
107
|
+
- To pass additional properties to widgets, see this [guide](https://react-jsonschema-form.readthedocs.io/en/stable/form-customization/#object-additional-properties).
|
|
106
108
|
|
|
107
109
|
You can use `ChakraProvider`, to customize the components at a theme level.\
|
|
108
110
|
And, `uiSchema` allows for the use of a `"chakra"` `"ui:option"` to customize the styling of the form widgets.
|
|
@@ -135,7 +137,7 @@ See the [open issues](https://github.com/rjsf-team/react-jsonschema-form/issues)
|
|
|
135
137
|
|
|
136
138
|
## Contributing
|
|
137
139
|
|
|
138
|
-
Read our [contributors' guide](https://react-jsonschema-form.readthedocs.io/en/
|
|
140
|
+
Read our [contributors' guide](https://react-jsonschema-form.readthedocs.io/en/stable/contributing/) to get started.
|
|
139
141
|
|
|
140
142
|
<!-- CONTACT -->
|
|
141
143
|
|