@json-editor/json-editor 2.5.4 → 2.6.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 +21 -14
- package/README.md +1 -2
- package/dist/jsoneditor.js +2 -2
- package/dist/nonmin/jsoneditor.js +3041 -3198
- package/dist/nonmin/jsoneditor.js.map +1 -1
- package/docs/meta_schema.json +0 -1
- package/package.json +27 -26
- package/release-notes.md +3 -3
- package/src/editor.js +5 -1
- package/src/editors/multiple.js +2 -0
- package/src/editors/object.js +7 -2
- package/src/editors/radio.js +6 -1
- package/src/editors/string.js +3 -1
- package/src/editors/table.js +1 -0
- package/src/schemaloader.js +1 -1
- package/src/theme.js +5 -2
- package/src/themes/bootstrap3.js +2 -2
- package/src/themes/bootstrap4.js +7 -0
- package/src/validator.js +29 -13
- package/tests/codeceptjs/editors/button_test.js +1 -1
- package/tests/codeceptjs/editors/object_test.js +55 -4
- package/tests/codeceptjs/editors/stepper_test.js +12 -0
- package/tests/codeceptjs/editors/validation_test.js +1 -1
- package/tests/fixtures/validation.json +207 -0
- package/tests/pages/meta_schema.json +0 -1
- package/tests/pages/object-required-properties.html +30 -7
- package/tests/pages/object-show-opt-in.html +110 -0
- package/tests/pages/stepper-manual.html +57 -0
- package/tests/unit/validator.spec.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
###
|
|
2
|
-
|
|
1
|
+
### Unreleased
|
|
2
|
+
|
|
3
|
+
### 2.6.0
|
|
4
|
+
|
|
5
|
+
- set show_opt_in per object editor
|
|
6
|
+
- stepper manual set init fix
|
|
7
|
+
- don't validate dependant editors when not visible (dependency not fulfilled)
|
|
8
|
+
- hardened tests
|
|
9
|
+
- bootstra3 tabs fix
|
|
10
|
+
- removed datetime from metaschema and readmy (deprecated)
|
|
11
|
+
- not forced required for radios
|
|
12
|
+
- audit fixes
|
|
3
13
|
- pass additional pathDepth parameter to getHeader() to allow themes to render headings hierarchically
|
|
4
14
|
- add Open Iconic iconlib
|
|
5
|
-
- read-only base64 editors respect enum values when calling setValue()
|
|
6
|
-
- Added autocomplete example
|
|
7
|
-
- fix #976 falsy values and use_default_values = false
|
|
8
|
-
- Updated CONTRIBUTING.md
|
|
9
|
-
- Added URN support
|
|
10
|
-
- Added support for multiple values in dependencies
|
|
11
|
-
- Added support for const
|
|
12
|
-
- fix #848 oneOf and anyOf error messages
|
|
13
|
-
- fixes #379 and #923 - strip #fragment from URI so json pointers resolve correctly
|
|
14
|
-
- Human readable error_required message #914
|
|
15
15
|
- switched CI to Github Actions
|
|
16
|
-
-
|
|
16
|
+
- read-only base64 editors respect enum values when calling setValue()
|
|
17
|
+
- fix bug in validator.fitTest where anyOf schemata were not handled correctly
|
|
18
|
+
- fixes accessibility support for thead that consist of an empty string
|
|
19
|
+
- fix bug in validation where invalid schemata with a good fitTestResult were preferred to valid schemata
|
|
20
|
+
|
|
21
|
+
### 2.5.4
|
|
22
|
+
|
|
23
|
+
- fixes #997 add accessibility support for string input types
|
|
17
24
|
|
|
18
25
|
### 2.5.3
|
|
19
26
|
|
|
@@ -81,7 +88,7 @@
|
|
|
81
88
|
- Fix of #701 - editors/number.js and editors/integer.js don't change values when validation is failed
|
|
82
89
|
- Fix of #716 - add ignore for allOf to fall in line with existing ignores of anyOf/oneOf for additionalProperties validation
|
|
83
90
|
- Fix of #714 - Checkboxes inside object tables duplicate labels from heading
|
|
84
|
-
- Added copy button to arrays in table format
|
|
91
|
+
- Added copy button to arrays in table format
|
|
85
92
|
|
|
86
93
|
### 2.1.0
|
|
87
94
|
- fixed vulnerability in "http-server" package (origin/feature/merges-20200227, feature/merges-20200227) - using latest node LTS
|
package/README.md
CHANGED
|
@@ -676,7 +676,6 @@ JSON Editor uses HTML5 input types, so some of these may render as basic text in
|
|
|
676
676
|
|
|
677
677
|
* color
|
|
678
678
|
* date
|
|
679
|
-
* datetime
|
|
680
679
|
* datetime-local
|
|
681
680
|
* email
|
|
682
681
|
* month
|
|
@@ -1516,7 +1515,7 @@ By default, all instances of JSON Editor will use the `en` language. To overrid
|
|
|
1516
1515
|
JSONEditor.defaults.language = "es";
|
|
1517
1516
|
```
|
|
1518
1517
|
|
|
1519
|
-
Button
|
|
1518
|
+
Button Customization
|
|
1520
1519
|
-----------------
|
|
1521
1520
|
|
|
1522
1521
|
All buttons have classnames in the format `json-editor-btntype-*`. Using these classnames you can choose if the button should have icon or label hidden. The icon is wrapped in an `I` tag, the label is wrapped in a `SPAN` tag.
|