@rjsf/semantic-ui 4.2.3 → 5.0.0-beta.10
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 +8 -3
- package/dist/index.d.ts +32 -9
- package/dist/semantic-ui.cjs.development.js +934 -1299
- package/dist/semantic-ui.cjs.development.js.map +1 -1
- package/dist/semantic-ui.cjs.production.min.js +1 -1
- package/dist/semantic-ui.cjs.production.min.js.map +1 -1
- package/dist/semantic-ui.esm.js +928 -1294
- package/dist/semantic-ui.esm.js.map +1 -1
- package/dist/semantic-ui.umd.development.js +936 -1303
- package/dist/semantic-ui.umd.development.js.map +1 -1
- package/dist/semantic-ui.umd.production.min.js +1 -1
- package/dist/semantic-ui.umd.production.min.js.map +1 -1
- package/package.json +43 -73
- package/dist/AddButton/AddButton.d.ts +0 -2
- package/dist/AddButton/index.d.ts +0 -2
- package/dist/ArrayFieldTemplate/ArrayFieldTemplate.d.ts +0 -2
- package/dist/ArrayFieldTemplate/index.d.ts +0 -2
- package/dist/CheckboxWidget/CheckboxWidget.d.ts +0 -2
- package/dist/CheckboxWidget/index.d.ts +0 -2
- package/dist/CheckboxesWidget/CheckboxesWidget.d.ts +0 -2
- package/dist/CheckboxesWidget/index.d.ts +0 -2
- package/dist/DateTimeWidget/DateTimeWidget.d.ts +0 -2
- package/dist/DateTimeWidget/index.d.ts +0 -2
- package/dist/DateWidget/DateWidget.d.ts +0 -2
- package/dist/DateWidget/index.d.ts +0 -2
- package/dist/DescriptionField/DescriptionField.d.ts +0 -5
- package/dist/DescriptionField/index.d.ts +0 -2
- package/dist/EmailWidget/EmailWidget.d.ts +0 -2
- package/dist/EmailWidget/index.d.ts +0 -2
- package/dist/ErrorList/ErrorList.d.ts +0 -27
- package/dist/ErrorList/index.d.ts +0 -2
- package/dist/FieldTemplate/FieldTemplate.d.ts +0 -14
- package/dist/FieldTemplate/WrapIfAdditional.d.ts +0 -14
- package/dist/FieldTemplate/index.d.ts +0 -2
- package/dist/Fields/Fields.d.ts +0 -7
- package/dist/Fields/index.d.ts +0 -2
- package/dist/HelpField/HelpField.d.ts +0 -15
- package/dist/HelpField/index.d.ts +0 -2
- package/dist/IconButton/IconButton.d.ts +0 -9
- package/dist/IconButton/index.d.ts +0 -2
- package/dist/ObjectFieldTemplate/ObjectFieldTemplate.d.ts +0 -16
- package/dist/ObjectFieldTemplate/index.d.ts +0 -2
- package/dist/PasswordWidget/PasswordWidget.d.ts +0 -2
- package/dist/PasswordWidget/index.d.ts +0 -2
- package/dist/RadioWidget/RadioWidget.d.ts +0 -2
- package/dist/RadioWidget/index.d.ts +0 -2
- package/dist/RangeWidget/RangeWidget.d.ts +0 -2
- package/dist/RangeWidget/index.d.ts +0 -2
- package/dist/RawErrors/RawErrors.d.ts +0 -41
- package/dist/RawErrors/index.d.ts +0 -2
- package/dist/SelectWidget/SelectWidget.d.ts +0 -2
- package/dist/SelectWidget/index.d.ts +0 -2
- package/dist/SemanticUIForm/SemanticUIForm.d.ts +0 -3
- package/dist/SemanticUIForm/index.d.ts +0 -2
- package/dist/SubmitButton/SubmitButton.d.ts +0 -4
- package/dist/SubmitButton/index.d.ts +0 -2
- package/dist/TextWidget/TextWidget.d.ts +0 -2
- package/dist/TextWidget/index.d.ts +0 -2
- package/dist/TextareaWidget/TextareaWidget.d.ts +0 -2
- package/dist/TextareaWidget/index.d.ts +0 -2
- package/dist/Theme/Theme.d.ts +0 -35
- package/dist/Theme/index.d.ts +0 -2
- package/dist/TitleField/TitleField.d.ts +0 -20
- package/dist/TitleField/index.d.ts +0 -2
- package/dist/URLWidget/URLWidget.d.ts +0 -2
- package/dist/URLWidget/index.d.ts +0 -2
- package/dist/UpDownWidget/UpDownWidget.d.ts +0 -2
- package/dist/UpDownWidget/index.d.ts +0 -2
- package/dist/Widgets/Widgets.d.ts +0 -31
- package/dist/Widgets/index.d.ts +0 -2
- package/dist/util.d.ts +0 -62
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<p align="center">
|
|
17
17
|
Semantic 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>
|
|
@@ -31,11 +31,16 @@
|
|
|
31
31
|
|
|
32
32
|
## Table of Contents
|
|
33
33
|
|
|
34
|
+
- [Table of Contents](#table-of-contents)
|
|
34
35
|
- [About The Project](#about-the-project)
|
|
36
|
+
- [Built With](#built-with)
|
|
35
37
|
- [Getting Started](#getting-started)
|
|
36
38
|
- [Prerequisites](#prerequisites)
|
|
37
39
|
- [Installation](#installation)
|
|
38
40
|
- [Usage](#usage)
|
|
41
|
+
- [Optional Semantic UI Theme properties](#optional-semantic-ui-theme-properties)
|
|
42
|
+
- [Semantic Widget Optional Properties](#semantic-widget-optional-properties)
|
|
43
|
+
- [Custom Semantic Widget Properties](#custom-semantic-widget-properties)
|
|
39
44
|
- [Roadmap](#roadmap)
|
|
40
45
|
- [Contributing](#contributing)
|
|
41
46
|
- [Contact](#contact)
|
|
@@ -93,7 +98,7 @@ const Form = withTheme(SemanticUITheme);
|
|
|
93
98
|
```
|
|
94
99
|
|
|
95
100
|
## Optional Semantic UI Theme properties
|
|
96
|
-
- To pass additional properties to widgets, see this [guide](https://react-jsonschema-form.readthedocs.io/en/
|
|
101
|
+
- To pass additional properties to widgets, see this [guide](https://react-jsonschema-form.readthedocs.io/en/stable/form-customization/#object-additional-properties).
|
|
97
102
|
|
|
98
103
|
#### Semantic Widget Optional Properties
|
|
99
104
|
- [Semantic props for TextWidget](https://react.semantic-ui.com/elements/input/)
|
|
@@ -133,7 +138,7 @@ See the [open issues](https://github.com/rjsf-team/react-jsonschema-form/issues)
|
|
|
133
138
|
|
|
134
139
|
## Contributing
|
|
135
140
|
|
|
136
|
-
Read our [contributors' guide](https://react-jsonschema-form.readthedocs.io/en/
|
|
141
|
+
Read our [contributors' guide](https://react-jsonschema-form.readthedocs.io/en/stable/contributing/) to get started.
|
|
137
142
|
|
|
138
143
|
<!-- CONTACT -->
|
|
139
144
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormProps, ThemeProps } from '@rjsf/core';
|
|
3
|
+
import { TemplatesType, WidgetProps } from '@rjsf/utils';
|
|
4
|
+
|
|
5
|
+
declare const SemanticUIForm: React.ComponentType<FormProps>;
|
|
6
|
+
|
|
7
|
+
declare const Templates: Partial<TemplatesType>;
|
|
8
|
+
|
|
9
|
+
declare const Theme: ThemeProps;
|
|
10
|
+
|
|
11
|
+
declare function CheckboxWidget(props: WidgetProps): JSX.Element;
|
|
12
|
+
|
|
13
|
+
declare function CheckboxesWidget(props: WidgetProps): JSX.Element;
|
|
14
|
+
|
|
15
|
+
declare function RadioWidget(props: WidgetProps): JSX.Element;
|
|
16
|
+
|
|
17
|
+
declare function RangeWidget(props: WidgetProps): JSX.Element;
|
|
18
|
+
|
|
19
|
+
declare function SelectWidget(props: WidgetProps): JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare function TextareaWidget(props: WidgetProps): JSX.Element;
|
|
22
|
+
|
|
23
|
+
declare const _default: {
|
|
24
|
+
CheckboxWidget: typeof CheckboxWidget;
|
|
25
|
+
CheckboxesWidget: typeof CheckboxesWidget;
|
|
26
|
+
RadioWidget: typeof RadioWidget;
|
|
27
|
+
RangeWidget: typeof RangeWidget;
|
|
28
|
+
SelectWidget: typeof SelectWidget;
|
|
29
|
+
TextareaWidget: typeof TextareaWidget;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { SemanticUIForm as Form, Templates, Theme, _default as Widgets, SemanticUIForm as default };
|