@remoteoss/json-schema-form 0.11.13-dev.20250502172456 → 0.11.14-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/CHANGELOG.md +17 -0
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/standalone.js +4 -4
- package/package.json +1 -1
- package/src/tests/helpers.js +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
#### 0.11.14-beta.0 (2025-05-14)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **next:** Type JSONSchema enum as unknown for better type safety ([#184](https://github.com/remoteoss/json-schema-form/pull/184)) ([e745444c](https://github.com/remoteoss/json-schema-form/commit/e745444c112337c22def693a924eae49f575c14d))
|
|
6
|
+
* **scripts:** Reminder to publish GitHub release ([#183](https://github.com/remoteoss/json-schema-form/pull/183)) ([adfa8c14](https://github.com/remoteoss/json-schema-form/commit/adfa8c14ca118b1012642f39c8388cf2ba1614c9))
|
|
7
|
+
|
|
8
|
+
##### New Features
|
|
9
|
+
|
|
10
|
+
* **next:** group-array field support ([#177](https://github.com/remoteoss/json-schema-form/pull/177)) ([e32f69b7](https://github.com/remoteoss/json-schema-form/commit/e32f69b771ab245583c3f4e167ab67b8f36b9a3f))
|
|
11
|
+
|
|
12
|
+
#### 0.11.13-beta.0 (2025-05-05)
|
|
13
|
+
|
|
14
|
+
##### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Fields accept any key starting with x-* ([#180](https://github.com/remoteoss/json-schema-form/pull/180)) ([c22aee0a](https://github.com/remoteoss/json-schema-form/commit/c22aee0a211afb0109257bd9e7265a0e91aef118))
|
|
17
|
+
|
|
1
18
|
#### 0.11.12-beta.0 (2025-04-15)
|
|
2
19
|
|
|
3
20
|
##### Chores
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2025 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.11.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.11.14-beta.0
|
|
5
|
+
Generated: Wed, 14 May 2025 12:13:40 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -1518,8 +1518,8 @@ function extractParametersFromNode(schemaNode) {
|
|
|
1518
1518
|
anyOf: node.anyOf,
|
|
1519
1519
|
allOf: node.allOf,
|
|
1520
1520
|
errorMessage,
|
|
1521
|
-
// Pass down all x-
|
|
1522
|
-
...(0, import_pickBy.default)(node, (
|
|
1521
|
+
// Pass down all x-* keys except x-jsf-*, as those are handled above.
|
|
1522
|
+
...(0, import_pickBy.default)(node, (_, key) => key.startsWith("x-") && !key.startsWith("x-jsf-"))
|
|
1523
1523
|
},
|
|
1524
1524
|
import_isNil.default
|
|
1525
1525
|
);
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2025 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.11.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.11.14-beta.0
|
|
5
|
+
Generated: Wed, 14 May 2025 12:13:40 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -1481,8 +1481,8 @@ function extractParametersFromNode(schemaNode) {
|
|
|
1481
1481
|
anyOf: node.anyOf,
|
|
1482
1482
|
allOf: node.allOf,
|
|
1483
1483
|
errorMessage,
|
|
1484
|
-
// Pass down all x-
|
|
1485
|
-
...pickBy(node, (
|
|
1484
|
+
// Pass down all x-* keys except x-jsf-*, as those are handled above.
|
|
1485
|
+
...pickBy(node, (_, key) => key.startsWith("x-") && !key.startsWith("x-jsf-"))
|
|
1486
1486
|
},
|
|
1487
1487
|
isNil
|
|
1488
1488
|
);
|
package/dist/standalone.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2025 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.11.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.11.14-beta.0
|
|
5
|
+
Generated: Wed, 14 May 2025 12:13:40 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
|
@@ -12997,8 +12997,8 @@ function extractParametersFromNode(schemaNode) {
|
|
|
12997
12997
|
anyOf: node.anyOf,
|
|
12998
12998
|
allOf: node.allOf,
|
|
12999
12999
|
errorMessage,
|
|
13000
|
-
// Pass down all x-
|
|
13001
|
-
...(0, import_pickBy.default)(node, (
|
|
13000
|
+
// Pass down all x-* keys except x-jsf-*, as those are handled above.
|
|
13001
|
+
...(0, import_pickBy.default)(node, (_, key) => key.startsWith("x-") && !key.startsWith("x-jsf-"))
|
|
13002
13002
|
},
|
|
13003
13003
|
import_isNil.default
|
|
13004
13004
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteoss/json-schema-form",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.14-beta.0",
|
|
4
4
|
"description": "Headless UI form powered by JSON Schemas",
|
|
5
5
|
"author": "Remote.com <engineering@remote.com> (https://remote.com/)",
|
|
6
6
|
"license": "MIT",
|
package/src/tests/helpers.js
CHANGED
|
@@ -448,20 +448,19 @@ export const mockGroupArrayInput = {
|
|
|
448
448
|
sex: {
|
|
449
449
|
description:
|
|
450
450
|
'We know sex is non-binary but for insurance and payroll purposes, we need to collect this information.',
|
|
451
|
-
enum: ['female', 'male'],
|
|
452
451
|
'x-jsf-presentation': {
|
|
453
452
|
inputType: 'radio',
|
|
454
|
-
options: [
|
|
455
|
-
{
|
|
456
|
-
label: 'Male',
|
|
457
|
-
value: 'male',
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
label: 'Female',
|
|
461
|
-
value: 'female',
|
|
462
|
-
},
|
|
463
|
-
],
|
|
464
453
|
},
|
|
454
|
+
oneOf: [
|
|
455
|
+
{
|
|
456
|
+
const: 'male',
|
|
457
|
+
title: 'Male',
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
const: 'female',
|
|
461
|
+
title: 'Female',
|
|
462
|
+
},
|
|
463
|
+
],
|
|
465
464
|
title: 'Child Sex',
|
|
466
465
|
type: 'string',
|
|
467
466
|
},
|