@rjsf/utils 5.0.0 → 5.0.2

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 CHANGED
@@ -16,7 +16,7 @@
16
16
  <p align="center">
17
17
  Utility functions 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/stable/"><strong>Explore the docs »</strong></a>
19
+ <a href="https://rjsf-team.github.io/react-jsonschema-form/docs/"><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>
@@ -73,7 +73,7 @@ import * as Utils from '@rjsf/utils';
73
73
 
74
74
  ## Documentation
75
75
 
76
- [Utility function documentation](https://react-jsonschema-form.readthedocs.io/en/stable/api-reference/utility-functions/)
76
+ [Utility function documentation](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/utility-functions/)
77
77
 
78
78
  <!-- ROADMAP -->
79
79
 
@@ -85,7 +85,7 @@ See the [open issues](https://github.com/rjsf-team/react-jsonschema-form/issues)
85
85
 
86
86
  ## Contributing
87
87
 
88
- Read our [contributors' guide](https://react-jsonschema-form.readthedocs.io/en/stable/contributing/) to get started.
88
+ Read our [contributors' guide](https://rjsf-team.github.io/react-jsonschema-form/docs/contributing/) to get started.
89
89
 
90
90
  <!-- CONTACT -->
91
91
 
package/dist/index.d.ts CHANGED
@@ -265,6 +265,16 @@ interface FieldProps<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends
265
265
  required?: boolean;
266
266
  /** The unique name of the field, usually derived from the name of the property in the JSONSchema */
267
267
  name: string;
268
+ /** To avoid collisions with existing ids in the DOM, it is possible to change the prefix used for ids;
269
+ * Default is `root`
270
+ */
271
+ idPrefix?: string;
272
+ /** To avoid using a path separator that is present in field names, it is possible to change the separator used for
273
+ * ids (Default is `_`)
274
+ */
275
+ idSeparator?: string;
276
+ /** An array of strings listing all generated error messages from encountered errors for this field */
277
+ rawErrors?: string[];
268
278
  /** The `registry` object */
269
279
  registry: Registry<T, S, F>;
270
280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rjsf/utils",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/utils.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -75,5 +75,5 @@
75
75
  "url": "git+https://github.com/rjsf-team/react-jsonschema-form.git"
76
76
  },
77
77
  "license": "Apache-2.0",
78
- "gitHead": "251bdbc60d2efdbab3a2b4058a2338d0d4794942"
78
+ "gitHead": "8fa3d2a7c18bc508ca5f61328400c5508238df82"
79
79
  }