-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4.14.1 release
- Loading branch information
Showing
31 changed files
with
156 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "jspanel4x", | ||
"version": "4.14.0", | ||
"version": "4.14.1", | ||
"authors": [ | ||
"Stefan Straesser <[email protected]> (http://jspanel.de/)" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
@@ -26,8 +26,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" = | |
// noinspection JSVoidFunctionReturnValueUsed | ||
// eslint-disable-next-line no-redeclare | ||
var jsPanel = { | ||
version: '4.14.0', | ||
date: '2022-04-20 15:57', | ||
version: '4.14.1', | ||
date: '2022-05-17 15:53', | ||
ajaxAlwaysCallbacks: [], | ||
autopositionSpacing: 4, | ||
closeOnEscape: function () { | ||
|
@@ -4147,7 +4147,19 @@ var jsPanel = { | |
}, evt); | ||
} | ||
|
||
self.front(); | ||
self.front(); // if panel is maximized on resize start set status to normalized and swap maximize/normalize buttons | ||
|
||
if (self.status === 'maximized') { | ||
self.status = 'normalized'; | ||
|
||
if (self.controlbar.querySelector('.jsPanel-btn-maximize')) { | ||
self.setControlStatus('maximize', 'show'); | ||
} | ||
|
||
if (self.controlbar.querySelector('.jsPanel-btn-normalize')) { | ||
self.setControlStatus('normalize', 'hide'); | ||
} | ||
} | ||
|
||
if (elmtRect.height > startHeight + 5) { | ||
self.status = 'normalized'; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* jsPanel - A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu | ||
* @version v4.14.0 | ||
* @version v4.14.1 | ||
* @homepage https://jspanel.de/ | ||
* @license MIT | ||
* @author Stefan Sträßer - [email protected] | ||
|
@@ -11,8 +11,8 @@ export // eslint-disable-next-line no-redeclare | |
// noinspection JSVoidFunctionReturnValueUsed | ||
// eslint-disable-next-line no-redeclare | ||
let jsPanel = { | ||
version: '4.14.0', | ||
date: '2022-04-20 15:57', | ||
version: '4.14.1', | ||
date: '2022-05-17 15:53', | ||
ajaxAlwaysCallbacks: [], | ||
autopositionSpacing: 4, | ||
closeOnEscape: (() => { | ||
|
@@ -1887,7 +1887,6 @@ let jsPanel = { | |
values.height += 'px'; | ||
} | ||
} | ||
|
||
return values; // return value must be an object {width: xxx, height: xxx} | ||
}, | ||
pOborder(border) { | ||
|
@@ -2477,7 +2476,6 @@ let jsPanel = { | |
jsPanel.perceivedBrightness(themeDetails.filling) <= jsPanel.colorBrightnessThreshold ? '#fff' : '#000'; | ||
} | ||
} | ||
|
||
return self; | ||
}; | ||
self.applyCustomTheme = (theme) => { | ||
|
@@ -4008,6 +4006,18 @@ let jsPanel = { | |
); | ||
} | ||
self.front(); | ||
|
||
// if panel is maximized on resize start set status to normalized and swap maximize/normalize buttons | ||
if (self.status === 'maximized') { | ||
self.status = 'normalized'; | ||
if (self.controlbar.querySelector('.jsPanel-btn-maximize')) { | ||
self.setControlStatus('maximize', 'show'); | ||
} | ||
if (self.controlbar.querySelector('.jsPanel-btn-normalize')) { | ||
self.setControlStatus('normalize', 'hide'); | ||
} | ||
} | ||
|
||
if (elmtRect.height > startHeight + 5) { | ||
self.status = 'normalized'; | ||
self.setControls(['.jsPanel-btn-normalize']); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "jspanel4", | ||
"version": "4.14.0", | ||
"version": "4.14.1", | ||
"description": "A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu", | ||
"keywords": [ | ||
"jsPanel", | ||
|
@@ -39,26 +39,26 @@ | |
"email": "[email protected]" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.17.6", | ||
"@babel/core": "^7.17.9", | ||
"@babel/preset-env": "^7.16.11", | ||
"eslint": "^8.13.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"@babel/cli": "^7.17.10", | ||
"@babel/core": "^7.17.12", | ||
"@babel/preset-env": "^7.17.12", | ||
"eslint": "^8.15.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"gulp": "^4.0.2", | ||
"gulp-babel": "^8.0.0", | ||
"gulp-babel-minify": "^0.5.1", | ||
"gulp-babel-minify": "^0.5.2", | ||
"gulp-clean-css": "^4.3.0", | ||
"gulp-footer": "^2.1.0", | ||
"gulp-header": "^2.0.9", | ||
"gulp-minify": "^3.1.0", | ||
"gulp-rename": "^2.0.0", | ||
"gulp-sass": "^5.1.0", | ||
"node-sass": "^7.0.1", | ||
"npm": "^8.7.0", | ||
"npm": "^8.10.0", | ||
"prettier": "^2.6.2" | ||
}, | ||
"prettier": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.