@rjsf/utils 5.0.0-beta.2 → 5.0.0-beta.6

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 (60) hide show
  1. package/README.md +13 -9
  2. package/dist/index.d.ts +1221 -38
  3. package/dist/utils.cjs.development.js +5 -5
  4. package/dist/utils.cjs.development.js.map +1 -1
  5. package/dist/utils.cjs.production.min.js +1 -1
  6. package/dist/utils.cjs.production.min.js.map +1 -1
  7. package/dist/utils.esm.js +4 -4
  8. package/dist/utils.esm.js.map +1 -1
  9. package/dist/utils.umd.development.js +8 -8
  10. package/dist/utils.umd.development.js.map +1 -1
  11. package/dist/utils.umd.production.min.js +1 -1
  12. package/dist/utils.umd.production.min.js.map +1 -1
  13. package/package.json +3 -3
  14. package/dist/allowAdditionalItems.d.ts +0 -8
  15. package/dist/asNumber.d.ts +0 -10
  16. package/dist/canExpand.d.ts +0 -11
  17. package/dist/constants.d.ts +0 -27
  18. package/dist/createSchemaUtils.d.ts +0 -9
  19. package/dist/dataURItoBlob.d.ts +0 -10
  20. package/dist/deepEquals.d.ts +0 -8
  21. package/dist/findSchemaDefinition.d.ts +0 -20
  22. package/dist/getInputProps.d.ts +0 -10
  23. package/dist/getSchemaType.d.ts +0 -13
  24. package/dist/getSubmitButtonOptions.d.ts +0 -10
  25. package/dist/getTemplate.d.ts +0 -10
  26. package/dist/getUiOptions.d.ts +0 -8
  27. package/dist/getWidget.d.ts +0 -13
  28. package/dist/guessType.d.ts +0 -7
  29. package/dist/hasWidget.d.ts +0 -10
  30. package/dist/isConstant.d.ts +0 -8
  31. package/dist/isCustomWidget.d.ts +0 -7
  32. package/dist/isFixedItems.d.ts +0 -8
  33. package/dist/isObject.d.ts +0 -7
  34. package/dist/localToUTC.d.ts +0 -6
  35. package/dist/mergeDefaultsWithFormData.d.ts +0 -15
  36. package/dist/mergeObjects.d.ts +0 -9
  37. package/dist/mergeSchemas.d.ts +0 -10
  38. package/dist/optionsList.d.ts +0 -10
  39. package/dist/orderProperties.d.ts +0 -11
  40. package/dist/pad.d.ts +0 -7
  41. package/dist/parseDateString.d.ts +0 -9
  42. package/dist/processSelectValue.d.ts +0 -11
  43. package/dist/rangeSpec.d.ts +0 -9
  44. package/dist/schema/getDefaultFormState.d.ts +0 -47
  45. package/dist/schema/getDisplayLabel.d.ts +0 -11
  46. package/dist/schema/getMatchingOption.d.ts +0 -10
  47. package/dist/schema/index.d.ts +0 -11
  48. package/dist/schema/isFilesArray.d.ts +0 -10
  49. package/dist/schema/isMultiSelect.d.ts +0 -9
  50. package/dist/schema/isSelect.d.ts +0 -9
  51. package/dist/schema/mergeValidationData.d.ts +0 -12
  52. package/dist/schema/retrieveSchema.d.ts +0 -98
  53. package/dist/schema/toIdSchema.d.ts +0 -13
  54. package/dist/schema/toPathSchema.d.ts +0 -11
  55. package/dist/schemaRequiresTrueValue.d.ts +0 -11
  56. package/dist/shouldRender.d.ts +0 -10
  57. package/dist/toConstant.d.ts +0 -9
  58. package/dist/toDateString.d.ts +0 -9
  59. package/dist/types.d.ts +0 -755
  60. package/dist/utcToLocal.d.ts +0 -6
package/README.md CHANGED
@@ -8,13 +8,13 @@
8
8
  <br />
9
9
  <p align="center">
10
10
  <a href="https://github.com/rjsf-team/react-jsonschema-form">
11
- <img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/59a8206e148474bea854bbb004f624143fbcbac8/packages/utils/logo.png" alt="Logo" width="120" height="120">
11
+ <img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/7ebc86621d8df8c21f0c39bcca6d476f6f7a2051/packages/utils/logo.png" alt="Logo" width="120" height="120">
12
12
  </a>
13
13
 
14
14
  <h3 align="center">@rjsf/utils</h3>
15
15
 
16
16
  <p align="center">
17
- AJV-6 based validator plugin for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
17
+ Utility functions for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
18
18
  <br />
19
19
  <a href="https://react-jsonschema-form.readthedocs.io/en/stable/"><strong>Explore the docs »</strong></a>
20
20
  <br />
@@ -31,7 +31,9 @@
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)
@@ -44,12 +46,11 @@
44
46
 
45
47
  ## About The Project
46
48
 
47
- Exports `utils` plugin for `react-jsonschema-form`.
49
+ Exports `utils` functions for `react-jsonschema-form`.
48
50
 
49
51
  ### Built With
50
52
 
51
53
  - [react-jsonschema-form](https://github.com/rjsf-team/react-jsonschema-form/)
52
- - [AJV](https://github.com/ajv-validator/ajv/)
53
54
  - [TypeScript](https://www.typescriptlang.org/)
54
55
 
55
56
  <!-- GETTING STARTED -->
@@ -70,6 +71,10 @@ yarn add @rjsf/utils
70
71
  import * as Utils from '@rjsf/utils';
71
72
  ```
72
73
 
74
+ ## Documentation
75
+
76
+ [Utility function documentation](https://react-jsonschema-form.readthedocs.io/en/stable/api-reference/utility-functions/)
77
+
73
78
  <!-- ROADMAP -->
74
79
 
75
80
  ## Roadmap
@@ -99,8 +104,7 @@ GitHub repository: [https://github.com/rjsf-team/react-jsonschema-form](https://
99
104
  [contributors-url]: https://github.com/rjsf-team/react-jsonschema-form/graphs/contributors
100
105
  [license-shield]: https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat-square
101
106
  [license-url]: https://choosealicense.com/licenses/apache-2.0/
102
- [npm-shield]: https://img.shields.io/npm/v/@rjsf/material-ui/latest.svg?style=flat-square
103
- [npm-url]: https://www.npmjs.com/package/@rjsf/material-ui
104
- [npm-dl-shield]: https://img.shields.io/npm/dm/@rjsf/material-ui.svg?style=flat-square
105
- [npm-dl-url]: https://www.npmjs.com/package/@rjsf/material-ui
106
- [product-screenshot]: https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/e2e1181d1020f18cad0c80c661ddae28edb9794e/packages/material-ui/screenshot5.png
107
+ [npm-shield]: https://img.shields.io/npm/v/@rjsf/utils/latest.svg?style=flat-square
108
+ [npm-url]: https://www.npmjs.com/package/@rjsf/utils
109
+ [npm-dl-shield]: https://img.shields.io/npm/dm/@rjsf/utils.svg?style=flat-square
110
+ [npm-dl-url]: https://www.npmjs.com/package/@rjsf/utils