@remoteoss/json-schema-form 0.11.11-dev.20250220174843 → 1.0.0-beta.0
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/.nvmrc +1 -0
- package/.vscode/settings.json +51 -0
- package/README.md +29 -24
- package/babel.config.mjs +14 -0
- package/eslint.config.mjs +3 -0
- package/jest.config.mjs +52 -0
- package/package.json +27 -71
- package/src/form.ts +3 -0
- package/src/index.ts +1 -0
- package/src/utils.ts +24 -0
- package/test/form.test.ts +11 -0
- package/tsconfig.json +13 -0
- package/tsup.config.json +10 -0
- package/CHANGELOG.md +0 -320
- package/LICENSE +0 -21
- package/dist/index.cjs +0 -2171
- package/dist/index.js +0 -2140
- package/dist/standalone.js +0 -13656
- package/json-schema-form.d.ts +0 -175
- package/json-schema-form.schema.json +0 -188
- package/src/tests/checkIfConditionMatches.test.js +0 -65
- package/src/tests/conditions.test.js +0 -938
- package/src/tests/const.test.js +0 -236
- package/src/tests/createHeadlessForm.customValidations.test.js +0 -803
- package/src/tests/createHeadlessForm.test.js +0 -4324
- package/src/tests/helpers.custom.js +0 -222
- package/src/tests/helpers.js +0 -2385
- package/src/tests/internals.helpers.test.js +0 -175
- package/src/tests/jsonLogic.fixtures.js +0 -986
- package/src/tests/jsonLogic.test.js +0 -588
- package/src/tests/modify.test.js +0 -939
- package/src/tests/testUtils.js +0 -11
- package/src/tests/utils.test.jsx +0 -32
package/CHANGELOG.md
DELETED
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
#### 0.11.10-beta.0 (2025-01-22)
|
|
2
|
-
|
|
3
|
-
##### Bug Fixes
|
|
4
|
-
|
|
5
|
-
* **checkbox:** Boolean - allow nullable values, and throw friendly error message ([#109](https://github.com/remoteoss/json-schema-form/pull/109)) ([63286eee](https://github.com/remoteoss/json-schema-form/commit/63286eee57591b97c9c5bbbcfbf9231cfabde864))
|
|
6
|
-
|
|
7
|
-
##### Chores
|
|
8
|
-
|
|
9
|
-
* **conditionals:** Highlight bugs related to validations and conditional fields ([#107](https://github.com/remoteoss/json-schema-form/pull/107)) ([85dc3d6d](https://github.com/remoteoss/json-schema-form/commit/85dc3d6dbb0a0483a32479563ef9cd65cd36a210))
|
|
10
|
-
* Update eslint dependencies ([#99](https://github.com/remoteoss/json-schema-form/pull/99)) ([ff2e6ed5](https://github.com/remoteoss/json-schema-form/commit/ff2e6ed56ba96d911ccc36dc50485d8cb6ec764b))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
##### Build System / Dependencies
|
|
15
|
-
|
|
16
|
-
* **next:**
|
|
17
|
-
* Add build step ([#110](https://github.com/remoteoss/json-schema-form/pull/110)) ([6c00ce32](https://github.com/remoteoss/json-schema-form/commit/6c00ce32f6e5edba328d5cdede38a82c330f5f14))
|
|
18
|
-
* Set up lint ([#108](https://github.com/remoteoss/json-schema-form/pull/108)) ([038efcfc](https://github.com/remoteoss/json-schema-form/commit/038efcfcda6cb7b31852e7bc80c9524bffdb94f5))
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
#### 0.11.9-beta.0 (2024-12-17)
|
|
22
|
-
|
|
23
|
-
##### Bug Fixes
|
|
24
|
-
|
|
25
|
-
* Add support for boolean values in the if condition ([#100](https://github.com/remoteoss/json-schema-form/pull/100)) ([b3dca67d](https://github.com/remoteoss/json-schema-form/commit/b3dca67da14a7e4f5339a14a1e2f14ac014d2b92))
|
|
26
|
-
|
|
27
|
-
#### 0.11.8-beta.0 (2024-11-20)
|
|
28
|
-
|
|
29
|
-
##### Bug Fixes
|
|
30
|
-
|
|
31
|
-
* **integer:** support integer field type ([#11](https://github.com/remoteoss/json-schema-form/pull/11)) ([14f34971](https://github.com/remoteoss/json-schema-form/commit/14f349714ce7b294ae710801168b017692c659af))
|
|
32
|
-
|
|
33
|
-
#### 0.11.7-beta.0 (2024-11-14)
|
|
34
|
-
|
|
35
|
-
##### Bug Fixes
|
|
36
|
-
|
|
37
|
-
* **validation:** validate radio with string-y types; ([#94](https://github.com/remoteoss/json-schema-form/pull/94)) ([606913d8](https://github.com/remoteoss/json-schema-form/commit/606913d8412a02d9a38a43e903add58b8e11a7e4))
|
|
38
|
-
|
|
39
|
-
#### 0.11.6-beta.0 (2024-10-15)
|
|
40
|
-
|
|
41
|
-
##### Bug Fixes
|
|
42
|
-
|
|
43
|
-
* **modify:** Support json schemas without allOf ([#93](https://github.com/remoteoss/json-schema-form/pull/93)) ([03795d0a](https://github.com/remoteoss/json-schema-form/commit/03795d0ac1a7ae0d523cd8418b83342676f221cf))
|
|
44
|
-
|
|
45
|
-
#### 0.11.5-beta.0 (2024-08-22)
|
|
46
|
-
|
|
47
|
-
##### Bug Fixes
|
|
48
|
-
|
|
49
|
-
* **validation:** Validate null field type correctly ([#91](https://github.com/remoteoss/json-schema-form/pull/91)) ([1cb8b61f](https://github.com/remoteoss/json-schema-form/commit/1cb8b61fec06d851832f9e76b3156d6f574b5d41))
|
|
50
|
-
* **files:** accept object value with `name` property ([#91](https://github.com/remoteoss/json-schema-form/pull/91)) ([1cb8b61f](https://github.com/remoteoss/json-schema-form/commit/1cb8b61fec06d851832f9e76b3156d6f574b5d41))
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
#### 0.11.4-beta.0 (2024-08-20)
|
|
54
|
-
|
|
55
|
-
##### Bug Fixes
|
|
56
|
-
|
|
57
|
-
* **file:** Validate the value is an instance of File ([#87](https://github.com/remoteoss/json-schema-form/pull/87)) ([8361df0d](https://github.com/remoteoss/json-schema-form/commit/8361df0d4e9f7d83342cdc91c41efb493e391307))
|
|
58
|
-
|
|
59
|
-
##### Chores
|
|
60
|
-
|
|
61
|
-
* **tests:** Move code in global test scope to inside beforeAll ([#90](https://github.com/remoteoss/json-schema-form/pull/90)) ([88f7d3c9](https://github.com/remoteoss/json-schema-form/commit/88f7d3c95330c828fc2539962b878c43b61ca8a0))
|
|
62
|
-
|
|
63
|
-
#### 0.11.3-beta.0 (2024-08-19)
|
|
64
|
-
|
|
65
|
-
##### Bug Fixes
|
|
66
|
-
|
|
67
|
-
* **select/radio:** Add support for options with boolean type ([#89](https://github.com/remoteoss/json-schema-form/pull/89)) ([127f70b3](https://github.com/remoteoss/json-schema-form/commit/127f70b3b19974a404e710548b83d4e4b17e1339))
|
|
68
|
-
|
|
69
|
-
#### 0.11.2-beta.0 (2024-07-30)
|
|
70
|
-
|
|
71
|
-
##### Bug Fixes
|
|
72
|
-
|
|
73
|
-
- **modify:**
|
|
74
|
-
|
|
75
|
-
- Support x-jsf shorthands in all methods, fix TS declarations; ([#85](https://github.com/remoteoss/json-schema-form/pull/85)) ([9a87c19b](https://github.com/remoteoss/json-schema-form/commit/9a87c19b6d373a8f660dd24b20a48725f3dbe8d0))
|
|
76
|
-
|
|
77
|
-
- **createHeadlessForm:**
|
|
78
|
-
|
|
79
|
-
- mark createHeadlessForm config.customProperties as deprecated ([#85](https://github.com/remoteoss/json-schema-form/pull/85)) ([9a87c19b](https://github.com/remoteoss/json-schema-form/commit/9a87c19b6d373a8f660dd24b20a48725f3dbe8d0))
|
|
80
|
-
- support custom attributes as functions (do not execute them) ([#86](https://github.com/remoteoss/json-schema-form/pull/86)) ([3674fc87](https://github.com/remoteoss/json-schema-form/commit/3674fc87d44df44a5ba9b13b40465c2ccda448ca))
|
|
81
|
-
|
|
82
|
-
#### 0.11.1-beta.0 (2024-07-26)
|
|
83
|
-
|
|
84
|
-
##### Chores
|
|
85
|
-
|
|
86
|
-
- **modify:** Add missing Typescript declarations ([#84](https://github.com/remoteoss/json-schema-form/pull/84)) ([86b3af2a](https://github.com/remoteoss/json-schema-form/commit/86b3af2a31981718ad349ac8d08fbdce3aa86acf))
|
|
87
|
-
|
|
88
|
-
#### 0.11.0-beta.0 (2024-07-25)
|
|
89
|
-
|
|
90
|
-
##### Breaking changes
|
|
91
|
-
|
|
92
|
-
- **modify:**
|
|
93
|
-
- Change the return result to include warnings ([#83](https://github.com/remoteoss/json-schema-form/pull/83)) ([e07fcec8](https://github.com/remoteoss/json-schema-form/commit/e07fcec8e11cfcba2b477e5e6339cebbcc42038c))
|
|
94
|
-
|
|
95
|
-
##### New Features
|
|
96
|
-
|
|
97
|
-
- **modify:**
|
|
98
|
-
- Allow picking fields ([#79](https://github.com/remoteoss/json-schema-form/pull/79)) ([2e044021](https://github.com/remoteoss/json-schema-form/commit/2e044021f30292be81cede3805eefb4f1ea96dd9))
|
|
99
|
-
- Add x-jsf-presentation shorthand ([#81](https://github.com/remoteoss/json-schema-form/pull/81)) ([7cfaab0b](https://github.com/remoteoss/json-schema-form/commit/7cfaab0bdbb05a1555f6c1d74b26b1e6d7fa8c43))
|
|
100
|
-
- Allow creating fields ([#80](https://github.com/remoteoss/json-schema-form/pull/80)) ([8a82254d](https://github.com/remoteoss/json-schema-form/commit/8a82254d7cf5799471fa0bf2d3d09179f1327187))
|
|
101
|
-
- Allow customize fields order ([#78](https://github.com/remoteoss/json-schema-form/pull/78)) ([adc88179](https://github.com/remoteoss/json-schema-form/commit/adc88179a5d1e5bd85371c0cc581b35964bf6edf))
|
|
102
|
-
|
|
103
|
-
##### Bug Fixes
|
|
104
|
-
|
|
105
|
-
- **modify:** Customize attrs as Array now overrides the value ([#82](https://github.com/remoteoss/json-schema-form/pull/82)) ([7cc0853e](https://github.com/remoteoss/json-schema-form/commit/7cc0853e30f0c06ff160d8a3e4c4b4e402a1e520))
|
|
106
|
-
|
|
107
|
-
#### 0.10.1-beta.0 (2024-07-23)
|
|
108
|
-
|
|
109
|
-
##### Chores
|
|
110
|
-
|
|
111
|
-
- **Text field docs:** Change naming of ID number property ([#74](https://github.com/remoteoss/json-schema-form/pull/74)) ([338ddd2a](https://github.com/remoteoss/json-schema-form/commit/338ddd2a5f008ec089f38db834f075100b856001))
|
|
112
|
-
|
|
113
|
-
#### 0.10.0-beta.0 (2024-06-20)
|
|
114
|
-
|
|
115
|
-
Adds `modify` utility for better customizations ([#75](https://github.com/remoteoss/json-schema-form/pull/75))
|
|
116
|
-
|
|
117
|
-
#### 0.9.1-beta.0 (2024-03-26)
|
|
118
|
-
|
|
119
|
-
##### Bug Fixes
|
|
120
|
-
|
|
121
|
-
- **select/radio:** Allow numbers in oneOf ([#49](https://github.com/remoteoss/json-schema-form/pull/49)) ([04c2598a](https://github.com/remoteoss/json-schema-form/commit/04c2598a3f4e31d8a9495e0d69c0427b6b8c9f56))
|
|
122
|
-
|
|
123
|
-
#### 0.9.0-beta.0 (2024-03-11)
|
|
124
|
-
|
|
125
|
-
##### Breaking changes
|
|
126
|
-
|
|
127
|
-
- Rename `value` -> `forcedValue`. This is in regards to the `json-logic`, where a "forced value" will now be returned in each relevant field (i.e. fields where the schema `const` and `default` are the same) with `forcedValue` over `value`. ([#66](https://github.com/remoteoss/json-schema-form/pull/66)) ([77c445a9](https://github.com/remoteoss/json-schema-form/commit/77c445a9dce657a7648642312f22c18f972187c7))
|
|
128
|
-
|
|
129
|
-
#### 0.8.2-beta.0 (2024-02-13)
|
|
130
|
-
|
|
131
|
-
##### Bug Fixes
|
|
132
|
-
|
|
133
|
-
- **helpers:** getFieldOptions - return empty array if oneOf missing in radio ([#67](https://github.com/remoteoss/json-schema-form/pull/67)) ([6511330f](https://github.com/remoteoss/json-schema-form/commit/6511330f55a2accedb1c58a61ff915a3a0186dbb))
|
|
134
|
-
|
|
135
|
-
#### 0.8.1-beta.0 (2024-02-12)
|
|
136
|
-
|
|
137
|
-
##### Bug Fixes
|
|
138
|
-
|
|
139
|
-
- **conditionals:** Certain conditions in a JSON schema were failing. This bugfix adds missing field context to the evaluation to prevent the error. ([#65](https://github.com/remoteoss/json-schema-form/pull/65)) ([6755a2fd](https://github.com/remoteoss/json-schema-form/commit/6755a2fd29f3f806a57ba19e29ad7e21daf9e51b))
|
|
140
|
-
|
|
141
|
-
#### 0.8.0-beta.0 (2024-02-01)
|
|
142
|
-
|
|
143
|
-
##### Bug Fixes
|
|
144
|
-
|
|
145
|
-
- **fieldset:** Support customProperties with sub-fields clashing with reserved words. ([#64](https://github.com/remoteoss/json-schema-form/pull/64)) ([8340cdea](https://github.com/remoteoss/json-schema-form/commit/8340cdea27b711064079055af939a595d1c38031))
|
|
146
|
-
|
|
147
|
-
#### 0.7.6-beta.0 (2024-01-23)
|
|
148
|
-
|
|
149
|
-
##### Chores
|
|
150
|
-
|
|
151
|
-
BREAKING CHANGES:
|
|
152
|
-
|
|
153
|
-
- **select:** Remove creatable logic ([#62](https://github.com/remoteoss/json-schema-form/pull/62)) ([0a6273c6](https://github.com/remoteoss/json-schema-form/commit/0a6273c63049a2f03bcf0b212dec6455ab48b5e5)) Added in 0.7.1
|
|
154
|
-
|
|
155
|
-
#### 0.7.5-beta.0 (2023-11-15)
|
|
156
|
-
|
|
157
|
-
##### Chores
|
|
158
|
-
|
|
159
|
-
- Follow-up of #57. Ignore internal attributes from conditional attributes removal (`visibilityCondition`) ([#59](https://github.com/remoteoss/json-schema-form/pull/59)) ([57fe4468](https://github.com/remoteoss/json-schema-form/commit/57fe446834636d727a5da5a91f7e5f3cc4eab8f8))
|
|
160
|
-
|
|
161
|
-
#### 0.7.4-beta.0 (2023-11-07)
|
|
162
|
-
|
|
163
|
-
##### Chores
|
|
164
|
-
|
|
165
|
-
- Follow-up of #57. Ignore internal attributes from conditional attributes removal (`Component`, `calculateDynamicProperties`) ([#58](https://github.com/remoteoss/json-schema-form/pull/58)) ([ee762c2e](https://github.com/remoteoss/json-schema-form/commit/ee762c2e90834a9ec0d7b88af47cefe1e3a03dd1))
|
|
166
|
-
|
|
167
|
-
#### 0.7.3-beta.0 (2023-11-07)
|
|
168
|
-
|
|
169
|
-
##### Bug Fixes
|
|
170
|
-
|
|
171
|
-
- Remove conditional attributes after the condition is unmatched ([#57](https://github.com/remoteoss/json-schema-form/pull/57)) ([8bac7145](https://github.com/remoteoss/json-schema-form/commit/8bac7145dfdd4136c0613044389666a614eb12f7))
|
|
172
|
-
|
|
173
|
-
#### 0.7.2-beta.0 (2023-11-06)
|
|
174
|
-
|
|
175
|
-
##### Bug Fixes
|
|
176
|
-
|
|
177
|
-
- **select/radio:** Support oneOf[].pattern validation ([#47](https://github.com/remoteoss/json-schema-form/pull/47)) ([5a4bb592](https://github.com/remoteoss/json-schema-form/commit/5a4bb59266ff595a9cb65f5b261a4ae2f3ad279f))
|
|
178
|
-
|
|
179
|
-
#### 0.7.1-beta.0 (2023-10-31)
|
|
180
|
-
|
|
181
|
-
##### Bug Fixes
|
|
182
|
-
|
|
183
|
-
- **select:** support string type ([#54](https://github.com/remoteoss/json-schema-form/pull/54)) ([b00f8776](https://github.com/remoteoss/json-schema-form/commit/b00f8776aa244803375ba64fbdd52c8fff9b9bd8))
|
|
184
|
-
|
|
185
|
-
#### 0.7.0-beta.0 (2023-10-23)
|
|
186
|
-
|
|
187
|
-
##### Chores
|
|
188
|
-
|
|
189
|
-
BREAKING CHANGES:
|
|
190
|
-
|
|
191
|
-
- **Description/Extra/Statement fields:** We have removed the sorrounding spans that we output in these fields ([#17](https://github.com/remoteoss/json-schema-form/pull/27)) ([6257533](https://github.com/remoteoss/json-schema-form/commit/6257533bead9c0f7391f240c2e5bacc801a90af7))
|
|
192
|
-
|
|
193
|
-
```diff
|
|
194
|
-
-description: '<span class="jsf-description">Write in <b>hh:ss</b> format</span>',
|
|
195
|
-
+description: 'Write in <b>hh:ss</b> format',
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
#### 0.6.6-beta.0 (2023-10-17)
|
|
199
|
-
|
|
200
|
-
##### Chores
|
|
201
|
-
|
|
202
|
-
- **github:** Add template for issues and pull requests ([#45](https://github.com/remoteoss/json-schema-form/pull/45)) ([621e3338](https://github.com/remoteoss/json-schema-form/commit/621e33389638541e771d2229c91655e430ea7ec4))
|
|
203
|
-
|
|
204
|
-
##### Bug Fixes
|
|
205
|
-
|
|
206
|
-
- allow 0 in const validation ([#48](https://github.com/remoteoss/json-schema-form/pull/48)) ([cde19fc9](https://github.com/remoteoss/json-schema-form/commit/cde19fc960c4eacdde476ddcdd8c650a4ff5ce96))
|
|
207
|
-
|
|
208
|
-
#### 0.6.5-beta.0 (2023-09-18)
|
|
209
|
-
|
|
210
|
-
##### Changes
|
|
211
|
-
|
|
212
|
-
- json-logic: Add conditional logic checking. ([#41](https://github.com/remoteoss/json-schema-form/pull/41)) ([6292b01e](https://github.com/remoteoss/json-schema-form/commit/6292b01e3f77a9038328d7375080ffc4cb30dbc8))
|
|
213
|
-
|
|
214
|
-
###### Full API additions now supported from 0.6.5 onwards.
|
|
215
|
-
|
|
216
|
-
- New custom JSON Schema keyword `x-jsf-logic` added to support cross-field validations. Built on top of [JsonLogic](https://jsonlogic.com/).
|
|
217
|
-
|
|
218
|
-
- `x-jsf-logic` can contain:
|
|
219
|
-
|
|
220
|
-
- `validations` - JsonLogic rules that validate fields and return booleans
|
|
221
|
-
- `computedValues` - JsonLogic rules that compute dynamic values
|
|
222
|
-
- `allOf.if/then/else` - Conditional logic using validations and computedValues
|
|
223
|
-
|
|
224
|
-
- New property `x-jsf-logic-validations` added to individual schema properties. Lists the validation names that should run on that property.
|
|
225
|
-
- New property `x-jsf-logic-computedAttrs` added to individual schema properties. Allows computed values to be used for attributes like `title`, `description`, `const`, etc.
|
|
226
|
-
- Computed values and validations defined in `x-jsf-logic` can reference schema properties using `vars` and any syntax supported from [JsonLogic](https://jsonlogic.com/).
|
|
227
|
-
|
|
228
|
-
- Conditional logic blocks allow selectively requiring fields or applying attributes based on validations/computed values.
|
|
229
|
-
|
|
230
|
-
While docs are underway, you can read examples from all the [tests](https://github.com/remoteoss/json-schema-form/blob/main/src/tests/jsonLogic.test.js) along with the [sample schemas](https://github.com/remoteoss/json-schema-form/blob/main/src/tests/jsonLogic.fixtures.js).
|
|
231
|
-
|
|
232
|
-
In short: `x-jsf-logic` is added to support complex conditional cross-field validations. Properties like `x-jsf-logic-validations` allow hooking those up to individual fields.
|
|
233
|
-
|
|
234
|
-
#### 0.6.4-beta.0 (2023-09-15)
|
|
235
|
-
|
|
236
|
-
##### Changes
|
|
237
|
-
|
|
238
|
-
- json-logic: computedAttrs - handle inline rules ([#40](https://github.com/remoteoss/json-schema-form/pull/40)) ([860ad91b](https://github.com/remoteoss/json-schema-form/commit/860ad91b034ab35d4d4bc51c0c04675f102bf278))
|
|
239
|
-
|
|
240
|
-
#### 0.6.1-beta.0 (2023-09-13)
|
|
241
|
-
|
|
242
|
-
##### Changes
|
|
243
|
-
|
|
244
|
-
- json-logic: Computed string based values ([#37](https://github.com/remoteoss/json-schema-form/pull/37)) ([6e042ea5](https://github.com/remoteoss/json-schema-form/commit/6e042ea579497ea573710c307a6ff7ee2f19b931))
|
|
245
|
-
|
|
246
|
-
#### 0.5.0-beta.0 (2023-09-12)
|
|
247
|
-
|
|
248
|
-
##### Changes
|
|
249
|
-
|
|
250
|
-
- json-logic: Computed Attributes ([#36](https://github.com/remoteoss/json-schema-form/pull/36)) ([80c29589](https://github.com/remoteoss/json-schema-form/commit/80c29589ac0972e0f33add70a59df15a46db1b43))
|
|
251
|
-
- json-logic: Initial skeleton implementation ([#35](https://github.com/remoteoss/json-schema-form/pull/35)) ([63149ae8](https://github.com/remoteoss/json-schema-form/commit/63149ae863cf1b5ad76a3b2a49c7f343e55ce07b))
|
|
252
|
-
|
|
253
|
-
#### 0.4.5-beta.0 (2023-08-31)
|
|
254
|
-
|
|
255
|
-
##### Bug fixes
|
|
256
|
-
|
|
257
|
-
- Validate values based on `const` key ([#34](https://github.com/remoteoss/json-schema-form/pull/34)) ([bf07870d](https://github.com/remoteoss/json-schema-form/commit/bf07870d407d9b9b078882a078b9e4c7928df868))
|
|
258
|
-
|
|
259
|
-
#### 0.4.4-beta.0 (2023-08-30)
|
|
260
|
-
|
|
261
|
-
##### Chores
|
|
262
|
-
|
|
263
|
-
- **fieldset:** ignore values not matching the field type ([#44](https://github.com/remoteoss/json-schema-form/pull/44)) ([f0af54e5](https://github.com/remoteoss/json-schema-form/commit/f0af54e5d425fb78524ab150bb31629d00369a61))
|
|
264
|
-
|
|
265
|
-
#### 0.4.3-beta.0 (2023-08-09)
|
|
266
|
-
|
|
267
|
-
##### Bug fixes
|
|
268
|
-
|
|
269
|
-
- **conditions:** Validate a deeply nested if (e.g. checking an object with a number property) in an if property now doesn't break the form. ([#33](https://github.com/remoteoss/json-schema-form/pull/33)) ([e34cfcc](https://github.com/remoteoss/json-schema-form/commit/e34cfccaf45f1460b346f3cff0c797b3d11259e3))
|
|
270
|
-
|
|
271
|
-
#### 0.4.2-beta.0 (2023-07-20)
|
|
272
|
-
|
|
273
|
-
##### Bug Fixes
|
|
274
|
-
|
|
275
|
-
- **date:** Validate based on minDate and maxDate ([#30](https://github.com/remoteoss/json-schema-form/pull/30)) ([01c0143e](https://github.com/remoteoss/json-schema-form/commit/01c0143ea4a3775f9489ae6cb8fd99a90b3f1394))
|
|
276
|
-
|
|
277
|
-
#### 0.4.1-beta.0 (2023-07-03)
|
|
278
|
-
|
|
279
|
-
##### Bug Fixes
|
|
280
|
-
|
|
281
|
-
- **fieldset:** support root conditionals for fieldsets ([#23](https://github.com/remoteoss/json-schema-form/pull/23)) ([65d87b3a](https://github.com/remoteoss/json-schema-form/commit/65d87b3a93018f0729aed565000eb2a2ce1f2ce7))
|
|
282
|
-
- **select/radio:** Accept just the values in options (plus `''` and `null` for backward-compatibility) ([#18](https://github.com/remoteoss/json-schema-form/pull/18)) ([37501d2d](https://github.com/remoteoss/json-schema-form/commit/37501d2ddafdd5e207b34d2ca3f6b7b7a1006e9d))
|
|
283
|
-
|
|
284
|
-
#### 0.4.0-beta.0 (2023-06-22)
|
|
285
|
-
|
|
286
|
-
##### New Features
|
|
287
|
-
|
|
288
|
-
BREAKING CHANGES:
|
|
289
|
-
|
|
290
|
-
- **Radio/Select:** In each option, spread `x-jsf-presentation` value to option root ([#17](https://github.com/remoteoss/json-schema-form/pull/17)) ([367688c2](https://github.com/remoteoss/json-schema-form/commit/367688c24e212c1a0a1d2e7b19cbd7efa7021a15))
|
|
291
|
-
|
|
292
|
-
#### 0.3.0-beta.0 (2023-06-21)
|
|
293
|
-
|
|
294
|
-
##### Fixes
|
|
295
|
-
|
|
296
|
-
- **Text:** Fix validation to only accept strings ([#12](https://github.com/remoteoss/json-schema-form/pull/12)) ([00017c0](https://github.com/remoteoss/json-schema-form/commit/00017c056d8a3583d56d9fefc4d3c7e0f4c1dd99))
|
|
297
|
-
|
|
298
|
-
##### Chores
|
|
299
|
-
|
|
300
|
-
- Update Yup to v.0.30.0 ([#12](https://github.com/remoteoss/json-schema-form/pull/12)) ([00017c0](https://github.com/remoteoss/json-schema-form/commit/00017c056d8a3583d56d9fefc4d3c7e0f4c1dd99))
|
|
301
|
-
|
|
302
|
-
#### 0.2.0-beta.0 (2023-06-20)
|
|
303
|
-
|
|
304
|
-
##### New Features
|
|
305
|
-
|
|
306
|
-
- Add Typescript declarations to the library ([2404188c](https://github.com/remoteoss/json-schema-form/commit/2404188cba52a5a665f257430a65a0ebb938dd44))
|
|
307
|
-
|
|
308
|
-
##### Fixes
|
|
309
|
-
|
|
310
|
-
- **Number:** Support maximum 0 ([#10](https://github.com/remoteoss/json-schema-form/pull/10)) ([1e9d6cf9](https://github.com/remoteoss/json-schema-form/commit/1e9d6cf96436cf16018e045b351567c643e10dac))
|
|
311
|
-
|
|
312
|
-
##### Chores
|
|
313
|
-
|
|
314
|
-
- Add json-schema-form meta schema ([#6](https://github.com/remoteoss/json-schema-form/pull/6)) ([414a5fe2](https://github.com/remoteoss/json-schema-form/commit/414a5fe2cf2b015a8761f554f03bbb507fae1784))
|
|
315
|
-
|
|
316
|
-
#### 0.1.0-beta.0 (2023-05-18)
|
|
317
|
-
|
|
318
|
-
##### New Features
|
|
319
|
-
|
|
320
|
-
- Initial release ([#1](https://github.com/remoteoss/json-schema-form/pull/1)) ([9a687351](https://github.com/remoteoss/json-schema-form/commit/9a6873513445a7a53e9f9222d457c5ce585cbbd8) and ([#5](https://github.com/remoteoss/json-schema-form/pull/5)) ([ceb6f47b](https://github.com/remoteoss/json-schema-form/commit/ceb6f47b3d1ff031e1789a504af32ecc36834d8e))
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|