@remoteoss/json-schema-form 0.12.4-dev.20260622162258 → 0.12.5-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 +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/standalone.js +2 -2
- package/json-schema-form.d.ts +12 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
#### 0.12.5-beta.0 (2026-09-17)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **v0:** export type aliases used in json-schema-form.d.ts public API ([#275](https://github.com/remoteoss/json-schema-form/pull/275)) ([17932f50](https://github.com/remoteoss/json-schema-form/commit/17932f508e9b335fcbd1eb91cc62fe2cee3911c3))
|
|
6
|
+
|
|
7
|
+
#### 0.12.4-beta.0 (2026-06-23)
|
|
8
|
+
|
|
9
|
+
##### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **v0:** validation was crashing when a conditional reaches into a undefined fieldset value ([#261](https://github.com/remoteoss/json-schema-form/pull/261)) ([0d0041ca](https://github.com/remoteoss/json-schema-form/commit/0d0041cab5983f1159c2eb3461b81a96490af8e9))
|
|
12
|
+
|
|
1
13
|
#### 0.12.3-beta.0 (2026-01-21)
|
|
2
14
|
|
|
3
15
|
##### Chores
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2026 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.12.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.12.5-beta.0
|
|
5
|
+
Generated: Thu, 17 Sep 2026 06:08:21 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2026 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.12.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.12.5-beta.0
|
|
5
|
+
Generated: Thu, 17 Sep 2026 06:08:21 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/dist/standalone.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2026 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.12.
|
|
5
|
-
Generated:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.12.5-beta.0
|
|
5
|
+
Generated: Thu, 17 Sep 2026 06:08:21 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/json-schema-form.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Shorthand to lookup for keys with `x-jsf-*` preffix.
|
|
3
3
|
*/
|
|
4
4
|
export function pickXKey(node: Object, key: 'presentation' | 'errorMessage'): Object | undefined;
|
|
5
|
-
type ValidationTypes =
|
|
5
|
+
export type ValidationTypes =
|
|
6
6
|
| 'type'
|
|
7
7
|
| 'minimum'
|
|
8
8
|
| 'maximum'
|
|
@@ -13,7 +13,7 @@ type ValidationTypes =
|
|
|
13
13
|
| 'accept'
|
|
14
14
|
| 'required';
|
|
15
15
|
|
|
16
|
-
type JSFConfig = {
|
|
16
|
+
export type JSFConfig = {
|
|
17
17
|
/**
|
|
18
18
|
* Initial json values to prefill the form fields.
|
|
19
19
|
* This influences the initial visibility of conditional fields.
|
|
@@ -46,9 +46,9 @@ type JSFConfig = {
|
|
|
46
46
|
errorMessage?: Partial<Record<ValidationTypes, string>>;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
type Fields = Record<string, unknown>[]; //TODO: Type the field based on the given JSON Schema properties.
|
|
49
|
+
export type Fields = Record<string, unknown>[]; //TODO: Type the field based on the given JSON Schema properties.
|
|
50
50
|
|
|
51
|
-
type $TSFixMe = any;
|
|
51
|
+
export type $TSFixMe = any;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Returns the Yup schema structure of given fields.
|
|
@@ -57,7 +57,7 @@ type $TSFixMe = any;
|
|
|
57
57
|
*/
|
|
58
58
|
export function buildCompleteYupSchema(fields: Fields, config: JSFConfig): $TSFixMe; //TODO: We need to update Yup to 1.0 which supports TS.
|
|
59
59
|
|
|
60
|
-
type HeadlessFormOutput = {
|
|
60
|
+
export type HeadlessFormOutput = {
|
|
61
61
|
/**
|
|
62
62
|
* List of Fields. Each Field corresponds to a form input from the json schema.
|
|
63
63
|
* @example
|
|
@@ -102,11 +102,11 @@ type HeadlessFormOutput = {
|
|
|
102
102
|
error?: Error;
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
type JSONSchemaObjectType = Record<string, unknown>;
|
|
106
|
-
type FieldName = string;
|
|
107
|
-
type FieldAttrs = Record<string, unknown>;
|
|
105
|
+
export type JSONSchemaObjectType = Record<string, unknown>;
|
|
106
|
+
export type FieldName = string;
|
|
107
|
+
export type FieldAttrs = Record<string, unknown>;
|
|
108
108
|
|
|
109
|
-
type ModifyConfig = {
|
|
109
|
+
export type ModifyConfig = {
|
|
110
110
|
/**
|
|
111
111
|
* An object with the fields to be modified with the returned attributes.
|
|
112
112
|
*/
|
|
@@ -133,19 +133,19 @@ type ModifyConfig = {
|
|
|
133
133
|
muteLogging?: boolean;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
type WarningType =
|
|
136
|
+
export type WarningType =
|
|
137
137
|
| 'FIELD_TO_CHANGE_NOT_FOUND'
|
|
138
138
|
| 'ORDER_MISSING_FIELDS'
|
|
139
139
|
| 'FIELD_TO_CREATE_EXISTS'
|
|
140
140
|
| 'PICK_MISSED_FIELD';
|
|
141
141
|
|
|
142
|
-
type Warning = {
|
|
142
|
+
export type Warning = {
|
|
143
143
|
message: string;
|
|
144
144
|
type: WarningType;
|
|
145
145
|
meta?: Record<string, unknown>;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
type ModifyOutput = {
|
|
148
|
+
export type ModifyOutput = {
|
|
149
149
|
schema: JSONSchemaObjectType;
|
|
150
150
|
warnings: Warning[];
|
|
151
151
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteoss/json-schema-form",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5-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",
|