Publish `v5.19.1`
This commit is contained in:
parent
91241c6684
commit
53b42184a3
|
@ -24,8 +24,8 @@
|
||||||
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
||||||
*
|
*
|
||||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||||
* @version 5.19.0
|
* @version 5.19.1
|
||||||
* @date 2018-07-11
|
* @date 2018-07-28
|
||||||
*/
|
*/
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
if(typeof exports === 'object' && typeof module === 'object')
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
|
@ -1831,9 +1831,18 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
}
|
}
|
||||||
this.contentOuter = contentOuter;
|
this.contentOuter = contentOuter;
|
||||||
|
|
||||||
|
this.scrollableContent = document.createElement('div');
|
||||||
|
this.scrollableContent.className = 'jsoneditor-tree';
|
||||||
|
contentOuter.appendChild(this.scrollableContent);
|
||||||
|
|
||||||
|
// the jsoneditor-tree-inner div with bottom padding is here to
|
||||||
|
// keep space for the action menu dropdown. It's created as a
|
||||||
|
// separate div instead of using scrollableContent to work around
|
||||||
|
// and issue in the Chrome browser showing scrollable contents outside of the div
|
||||||
|
// see https://github.com/josdejong/jsoneditor/issues/557
|
||||||
this.content = document.createElement('div');
|
this.content = document.createElement('div');
|
||||||
this.content.className = 'jsoneditor-tree';
|
this.content.className = 'jsoneditor-tree-inner';
|
||||||
contentOuter.appendChild(this.content);
|
this.scrollableContent.appendChild(this.content);
|
||||||
|
|
||||||
this.table = document.createElement('table');
|
this.table = document.createElement('table');
|
||||||
this.table.className = 'jsoneditor-tree';
|
this.table.className = 'jsoneditor-tree';
|
||||||
|
@ -11890,7 +11899,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
|
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
|
||||||
selectrSelectFields.on('selectr.change', generateQueryFromWizard);
|
selectrSelectFields.on('selectr.change', generateQueryFromWizard);
|
||||||
|
|
||||||
wizard.onclick = function (event) {
|
elem.querySelector('.pico-modal-contents').onclick = function (event) {
|
||||||
// prevent the first clear button from getting focus when clicking anywhere in the modal
|
// prevent the first clear button from getting focus when clicking anywhere in the modal
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -235,8 +235,10 @@ div.jsoneditor-tree table.jsoneditor-tree {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 0 300px;
|
}
|
||||||
/* keep space for the action menu dropdown */
|
|
||||||
|
div.jsoneditor-tree div.jsoneditor-tree-inner {
|
||||||
|
padding-bottom: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.jsoneditor-outer {
|
div.jsoneditor-outer {
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
||||||
*
|
*
|
||||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||||
* @version 5.19.0
|
* @version 5.19.1
|
||||||
* @date 2018-07-11
|
* @date 2018-07-28
|
||||||
*/
|
*/
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
if(typeof exports === 'object' && typeof module === 'object')
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
|
@ -9389,9 +9389,18 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
}
|
}
|
||||||
this.contentOuter = contentOuter;
|
this.contentOuter = contentOuter;
|
||||||
|
|
||||||
|
this.scrollableContent = document.createElement('div');
|
||||||
|
this.scrollableContent.className = 'jsoneditor-tree';
|
||||||
|
contentOuter.appendChild(this.scrollableContent);
|
||||||
|
|
||||||
|
// the jsoneditor-tree-inner div with bottom padding is here to
|
||||||
|
// keep space for the action menu dropdown. It's created as a
|
||||||
|
// separate div instead of using scrollableContent to work around
|
||||||
|
// and issue in the Chrome browser showing scrollable contents outside of the div
|
||||||
|
// see https://github.com/josdejong/jsoneditor/issues/557
|
||||||
this.content = document.createElement('div');
|
this.content = document.createElement('div');
|
||||||
this.content.className = 'jsoneditor-tree';
|
this.content.className = 'jsoneditor-tree-inner';
|
||||||
contentOuter.appendChild(this.content);
|
this.scrollableContent.appendChild(this.content);
|
||||||
|
|
||||||
this.table = document.createElement('table');
|
this.table = document.createElement('table');
|
||||||
this.table.className = 'jsoneditor-tree';
|
this.table.className = 'jsoneditor-tree';
|
||||||
|
@ -19448,7 +19457,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
|
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
|
||||||
selectrSelectFields.on('selectr.change', generateQueryFromWizard);
|
selectrSelectFields.on('selectr.change', generateQueryFromWizard);
|
||||||
|
|
||||||
wizard.onclick = function (event) {
|
elem.querySelector('.pico-modal-contents').onclick = function (event) {
|
||||||
// prevent the first clear button from getting focus when clicking anywhere in the modal
|
// prevent the first clear button from getting focus when clicking anywhere in the modal
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
};
|
};
|
||||||
|
|
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
|
@ -33,13 +33,8 @@ correct date and version number in the header.
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
Test whether the npm library is ok by installing it locally:
|
Test whether the npm library is ok by opening some examples, and check whether
|
||||||
|
the files under `dists` are created and have contents.
|
||||||
cd ../tmp-folder
|
|
||||||
npm install ./path/to/jsoneditor
|
|
||||||
|
|
||||||
Check whether the examples in the library work ok, and whether the necessary
|
|
||||||
files are included.
|
|
||||||
|
|
||||||
|
|
||||||
## Commit
|
## Commit
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.18.0",
|
"version": "5.19.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.19.0",
|
"version": "5.19.1",
|
||||||
"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