Release v5.21.0
This commit is contained in:
parent
260a428249
commit
c7a29d74c5
|
@ -3,7 +3,7 @@
|
||||||
https://github.com/josdejong/jsoneditor
|
https://github.com/josdejong/jsoneditor
|
||||||
|
|
||||||
|
|
||||||
## not yet released, version 5.21.0
|
## 2018-08-12, version 5.21.0
|
||||||
|
|
||||||
- Show validation errors inline instead of at the bottom when in code
|
- Show validation errors inline instead of at the bottom when in code
|
||||||
mode. Thanks @meirotstein.
|
mode. Thanks @meirotstein.
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -501,6 +501,34 @@ div.jsoneditor-tree .jsoneditor-schema-error {
|
||||||
|
|
||||||
/* JSON schema errors displayed at the bottom of the editor in mode text and code */
|
/* JSON schema errors displayed at the bottom of the editor in mode text and code */
|
||||||
|
|
||||||
|
.jsoneditor .jsoneditor-validation-errors-container {
|
||||||
|
max-height: 130px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jsoneditor .jsoneditor-additional-errors {
|
||||||
|
position: absolute;
|
||||||
|
margin: auto;
|
||||||
|
bottom: 31px;
|
||||||
|
left: calc(50% - 92px);
|
||||||
|
color: #808080;
|
||||||
|
background-color: #ebebeb;
|
||||||
|
padding: 7px 15px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jsoneditor .jsoneditor-additional-errors.visible {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
transition: opacity 2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jsoneditor .jsoneditor-additional-errors.hidden {
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
transition: visibility 0s 2s, opacity 2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
.jsoneditor .jsoneditor-text-errors {
|
.jsoneditor .jsoneditor-text-errors {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
@ -521,6 +549,53 @@ div.jsoneditor-tree .jsoneditor-schema-error {
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
background: url("img/jsoneditor-icons.svg") -168px -48px;
|
background: url("img/jsoneditor-icons.svg") -168px -48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fadein {
|
||||||
|
-webkit-animation: fadein .3s;
|
||||||
|
animation: fadein .3s;
|
||||||
|
-moz-animation: fadein .3s;
|
||||||
|
-o-animation: fadein .3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes fadein {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@-moz-keyframes fadein {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadein {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@-o-keyframes fadein {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* ContextMenu - main menu */
|
/* ContextMenu - main menu */
|
||||||
|
|
||||||
div.jsoneditor-contextmenu-root {
|
div.jsoneditor-contextmenu-root {
|
||||||
|
@ -1292,6 +1367,20 @@ div.jsoneditor-statusbar > .jsoneditor-curserinfo-val {
|
||||||
div.jsoneditor-statusbar > .jsoneditor-curserinfo-count {
|
div.jsoneditor-statusbar > .jsoneditor-curserinfo-count {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.jsoneditor-statusbar > .jsoneditor-validation-error-icon {
|
||||||
|
float: right;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 1px;
|
||||||
|
background: url("img/jsoneditor-icons.svg") -168px -48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.jsoneditor-statusbar > .jsoneditor-validation-error-count {
|
||||||
|
float: right;
|
||||||
|
margin: 0 4px 0 0;
|
||||||
|
}
|
||||||
div.jsoneditor-navigation-bar {
|
div.jsoneditor-navigation-bar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.20.0",
|
"version": "5.21.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.20.0",
|
"version": "5.21.0",
|
||||||
"main": "./index",
|
"main": "./index",
|
||||||
"description": "A web-based tool to view, edit, format, and validate JSON",
|
"description": "A web-based tool to view, edit, format, and validate JSON",
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|
Loading…
Reference in New Issue