@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.
Files changed (71) hide show
  1. package/README.md +8 -3
  2. package/dist/index.d.ts +32 -9
  3. package/dist/semantic-ui.cjs.development.js +934 -1299
  4. package/dist/semantic-ui.cjs.development.js.map +1 -1
  5. package/dist/semantic-ui.cjs.production.min.js +1 -1
  6. package/dist/semantic-ui.cjs.production.min.js.map +1 -1
  7. package/dist/semantic-ui.esm.js +928 -1294
  8. package/dist/semantic-ui.esm.js.map +1 -1
  9. package/dist/semantic-ui.umd.development.js +936 -1303
  10. package/dist/semantic-ui.umd.development.js.map +1 -1
  11. package/dist/semantic-ui.umd.production.min.js +1 -1
  12. package/dist/semantic-ui.umd.production.min.js.map +1 -1
  13. package/package.json +43 -73
  14. package/dist/AddButton/AddButton.d.ts +0 -2
  15. package/dist/AddButton/index.d.ts +0 -2
  16. package/dist/ArrayFieldTemplate/ArrayFieldTemplate.d.ts +0 -2
  17. package/dist/ArrayFieldTemplate/index.d.ts +0 -2
  18. package/dist/CheckboxWidget/CheckboxWidget.d.ts +0 -2
  19. package/dist/CheckboxWidget/index.d.ts +0 -2
  20. package/dist/CheckboxesWidget/CheckboxesWidget.d.ts +0 -2
  21. package/dist/CheckboxesWidget/index.d.ts +0 -2
  22. package/dist/DateTimeWidget/DateTimeWidget.d.ts +0 -2
  23. package/dist/DateTimeWidget/index.d.ts +0 -2
  24. package/dist/DateWidget/DateWidget.d.ts +0 -2
  25. package/dist/DateWidget/index.d.ts +0 -2
  26. package/dist/DescriptionField/DescriptionField.d.ts +0 -5
  27. package/dist/DescriptionField/index.d.ts +0 -2
  28. package/dist/EmailWidget/EmailWidget.d.ts +0 -2
  29. package/dist/EmailWidget/index.d.ts +0 -2
  30. package/dist/ErrorList/ErrorList.d.ts +0 -27
  31. package/dist/ErrorList/index.d.ts +0 -2
  32. package/dist/FieldTemplate/FieldTemplate.d.ts +0 -14
  33. package/dist/FieldTemplate/WrapIfAdditional.d.ts +0 -14
  34. package/dist/FieldTemplate/index.d.ts +0 -2
  35. package/dist/Fields/Fields.d.ts +0 -7
  36. package/dist/Fields/index.d.ts +0 -2
  37. package/dist/HelpField/HelpField.d.ts +0 -15
  38. package/dist/HelpField/index.d.ts +0 -2
  39. package/dist/IconButton/IconButton.d.ts +0 -9
  40. package/dist/IconButton/index.d.ts +0 -2
  41. package/dist/ObjectFieldTemplate/ObjectFieldTemplate.d.ts +0 -16
  42. package/dist/ObjectFieldTemplate/index.d.ts +0 -2
  43. package/dist/PasswordWidget/PasswordWidget.d.ts +0 -2
  44. package/dist/PasswordWidget/index.d.ts +0 -2
  45. package/dist/RadioWidget/RadioWidget.d.ts +0 -2
  46. package/dist/RadioWidget/index.d.ts +0 -2
  47. package/dist/RangeWidget/RangeWidget.d.ts +0 -2
  48. package/dist/RangeWidget/index.d.ts +0 -2
  49. package/dist/RawErrors/RawErrors.d.ts +0 -41
  50. package/dist/RawErrors/index.d.ts +0 -2
  51. package/dist/SelectWidget/SelectWidget.d.ts +0 -2
  52. package/dist/SelectWidget/index.d.ts +0 -2
  53. package/dist/SemanticUIForm/SemanticUIForm.d.ts +0 -3
  54. package/dist/SemanticUIForm/index.d.ts +0 -2
  55. package/dist/SubmitButton/SubmitButton.d.ts +0 -4
  56. package/dist/SubmitButton/index.d.ts +0 -2
  57. package/dist/TextWidget/TextWidget.d.ts +0 -2
  58. package/dist/TextWidget/index.d.ts +0 -2
  59. package/dist/TextareaWidget/TextareaWidget.d.ts +0 -2
  60. package/dist/TextareaWidget/index.d.ts +0 -2
  61. package/dist/Theme/Theme.d.ts +0 -35
  62. package/dist/Theme/index.d.ts +0 -2
  63. package/dist/TitleField/TitleField.d.ts +0 -20
  64. package/dist/TitleField/index.d.ts +0 -2
  65. package/dist/URLWidget/URLWidget.d.ts +0 -2
  66. package/dist/URLWidget/index.d.ts +0 -2
  67. package/dist/UpDownWidget/UpDownWidget.d.ts +0 -2
  68. package/dist/UpDownWidget/index.d.ts +0 -2
  69. package/dist/Widgets/Widgets.d.ts +0 -31
  70. package/dist/Widgets/index.d.ts +0 -2
  71. 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/latest/"><strong>Explore the docs »</strong></a>
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/latest/form-customization/#object-additional-properties).
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/latest/contributing/) to get started.
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
- export { default as Fields } from "./Fields";
2
- export { default as FieldTemplate } from "./FieldTemplate";
3
- export { default as SemanticUIForm } from "./SemanticUIForm";
4
- export { default as ObjectFieldTemplate } from "./ObjectFieldTemplate";
5
- export { default as ArrayFieldTemplate } from "./ArrayFieldTemplate";
6
- export { default as Theme } from "./Theme";
7
- export { default as Widgets } from "./Widgets";
8
- export default SemanticUIForm;
9
- import SemanticUIForm from "./SemanticUIForm/SemanticUIForm";
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 };