Skip to content

Commit c3f64aa

Browse files
author
Stefan Sträßer
committed
v4.12.0
v4.12.0 release
1 parent 0ea53cc commit c3f64aa

32 files changed

Lines changed: 172 additions & 139 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## <span style='color:#563D7C;'>CHANGELOG</span>
22

3+
### <span style='color:#563D7C;'>Version 4.12.0 *2021-07-09*</span>
4+
5+
+ updated CSS files to **bugfix** a minor issue in `option.minimizeTo`
6+
+ **bugfix** in `resizeit` interaction
7+
+ **added** string value `'closed'` to panel property `status`. Since a closed panel is removed from the DOM this value is only available when a panel reference is saved.
8+
+ **added** option to use a custom callback function as setting for `option.closeOnEscape` instead of just boolean true/false
9+
310
### <span style='color:#563D7C;'>Version 4.11.4 *2021-04-10*</span>
411

512
+ **bugfix** in `dragit` interaction

Gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const { series, src, dest } = require('gulp');
33
const babel = require('gulp-babel');
44
const minify = require('gulp-minify');
5-
const sass = require('gulp-sass');
5+
const sass = require('gulp-sass')(require('node-sass'));
66
const cleanCSS = require('gulp-clean-css');
77
const rename = require('gulp-rename');
88
const header = require('gulp-header');

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<img alt="NPM license" src="https://img.shields.io/npm/l/jspanel4"> <img alt="npm version" src="https://img.shields.io/npm/v/jspanel4?color=0677b8"> <img alt="npm downloads" src="https://img.shields.io/npm/dm/jspanel4?color=0677b8">
22

33

4-
## [jsPanel 4.11.4 released 2021-04-10](#)
4+
## [jsPanel 4.12.0 released 2021-07-09](#)
55

66
> As of v4.11.0-beta methods `jsPanel.ajax()` and `jsPanel.fetch()` are updated. That also affects options `contentAjax` and `contentFetch`. These updates might break existing code. So please check the docs for this beta release on https://jspanel.de/
77

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jspanel4x",
3-
"version": "4.11.4",
3+
"version": "4.12.0",
44
"authors": [
55
"Stefan Straesser <info@jspanel.de> (http://jspanel.de/)"
66
],

dist/extensions/contextmenu/jspanel.contextmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
3-
* @version v4.11.4
3+
* @version v4.12.0
44
* @homepage https://jspanel.de/
55
* @license MIT
66
* @author Stefan Sträßer - info@jspanel.de

dist/extensions/datepicker/jspanel.datepicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
22
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
3-
* @version v4.11.4
3+
* @version v4.12.0
44
* @homepage https://jspanel.de/
55
* @license MIT
66
* @author Stefan Sträßer - info@jspanel.de
77
* @github https://github.com/Flyer53/jsPanel4.git
88
*/
99

1010
'use strict';
11-
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
11+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
1212

1313
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1414

dist/extensions/datepicker/jspanel.datepicker.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/extensions/datepicker/theme/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
3-
* @version v4.11.4
3+
* @version v4.12.0
44
* @homepage https://jspanel.de/
55
* @license MIT
66
* @author Stefan Sträßer - info@jspanel.de

dist/extensions/dock/jspanel.dock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
3-
* @version v4.11.4
3+
* @version v4.12.0
44
* @homepage https://jspanel.de/
55
* @license MIT
66
* @author Stefan Sträßer - info@jspanel.de

dist/extensions/hint/jspanel.hint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
3-
* @version v4.11.4
3+
* @version v4.12.0
44
* @homepage https://jspanel.de/
55
* @license MIT
66
* @author Stefan Sträßer - info@jspanel.de

0 commit comments

Comments
 (0)