Releases: Flyer53/jsPanel4
Releases · Flyer53/jsPanel4
jsPanel v4.9.1
This release fixes a typo in the js files of the folder es6module
. Other files are not affected.
jsPanel v4.9.0
- bugfix in option
onwindowresize
- bugfix in
dragit.disableOnMaximized
- bugfix in
dragit.snap
feature - bugfix in option
resizeit
- bugfix in option
syncMargins
- bugfix in and updated
layout extension
- bugfix in method
.setHeaderLogo()
- added jsPanel events: implemented event property
panel
referring to the panel firing the event - added
dragit.snap
parameteractive
- added almost all option
dragit
andresizeit
parameters are now editable for already existing panels - added option
maximizedMargin
is now editable for existing panels - added first implementation of
dragit.drop
allowing to move a panel from its current parent element to another one - added SHIFT modifier key action to the resizeit interaction
- updated option
resizeit
modifier key functionality - updated options
dragit
andresizeit
: the start, drag/resize and stop callbacks now receive the same
argument paneldata (instead of args position/size) with css left, top, width and height data - improved handling of
contentSize:"auto"
/panelSize:"auto"
when combined withautoclose
jsPanel v4.8.0
- bugfix in option
resizeit
and panel methodresize()
- bugfix in method
jsPanel.close()
- added setting
"content"
to parameteraspectRatio
of optionresizeit
in order to maintain
the aspect ratio of the content section while resizing a panel - added support for Font Awesome duotone icons to option
iconfont
- added modifier keys to the
resizeit
feature - updated z-index handling in
modal extension
- updated handling of
iframes
in the content section while dragging/resizing a panel - updated event sequence:
jspanelcloseduser
is now fired beforejspanelclosed
- updated option
onclosed
callback receives a second argumentclosedByUser
set totrue
if the panel is closed by user action - updated option
onbeforeclose
callback receives a third argumentclosedByUser
set totrue
if the panel is closed by user action - updated modal extension due to the updated method
jsPanel.close()
jsPanel v4.7.0
- bugfix in option
dragit
- bugfix in option
resizeit
- bugfix in method
normalize()
- bugfix in method
resize()
- bugfix in
jsPanel.addScript()
- bugfix in the
contextmenu
extension - bugfix in the
dock
extension - completely recoded methods handling option
position
- completely recoded options
onwindowresize
andonparentresize
- added option
addCloseControl
to add an additional close control to the
panel (might be handy if the header section is removed) - added a customizable progressbar to option
autoclose
- added method
addControl()
to add custom controls to the controlbar of existing panels - added tooltip method
remove()
in order to remove a handler triggering a specific tooltip - added polyfill
Number.isInteger()
to support IE11 - updated option
headerControls
in order to add custom controls - option theme: when
theme: "none"
or the methodsetTheme()
is used
properties assigned via optionsborder
and/orborderRadius
remain untouched - reworked SVG icons for the controls
- updated methods
setBorder()
andsetBorderRadius()
are now available to
existing panels in order to set/change CSS border/borderRadius - updated options
border
andborderRadius
- updated tooltip extension: due to new positioning methods
- updated layout extension: added optional use of
sessionStorage
instead oflocalStorage
- updated hint extension: due to updated header controls
- various internal bugfixes
jsPanel v4.6.0
- bugfix in
option.dragit.snap
concerning use oftrigger: 'pointer'
- bugfix concerning
jspaneldragstop/jspanelresizestop
events - bugfix in method
front()
- bugfix in tooltip extension
- added theme modifier
'filleddark'
- added parameter
size
to optionheaderControls
in order to set size of controls - added some more return values to method
overlaps()
- added
jsPanel.errorReporting
to turn off/on error jsPanel reporting - various minor fixes and improvements
jsPanel v4.5.0
- jsPanel now uses pointer events if supported
- bugfix - recoded the complete
close()
function to fix a long standing bug - bugfix in
jsPanel.position()
concerning the use of the dock extension - bugfix in
minimize()
concerning the use of an image as background - bugfix in option
dragit
- bugfix in
tooltip
extension - jsPanel themes got numerous updates:
- additional built-in themes
- updated built-in theme colors
- all built-in themes are are now "normal" color themes → less CSS
- recoded bootstrap theme support → no more bootstrap adjustments in jspanel.css needed
- option theme can now be used with an object as value → more theming options and better support of images (includes css gradients) as panel background
- reworked built-in controls icons, updated CSS accordingly and changed hover effect of controls
- added option
onparentresize
to autoreposition childpanels on various resize actions of the parentpanel - added parameter
status
to the callbacksonbeforemaximize
,onmaximized
etc. - added parameter options
'hide'
and'show'
to panel methodsetControlStatus()
parameteraction
- added optional callback function to panel method
getChildpanels()
and the method now returns a NodeList (instead of an array) - added optional callback function to panel method
isChildpanel()
- added support for setting
option.position.of
in a position shorthand string - various minor fixes/improvements in js and css
jsPanel v4.4.0
- added theme modifier
fillcolor
to specify a custom background color for the content section - updated option
border
accepts all color names usable with optiontheme
- updated method
.overlaps()
- bugfix in option
resizeit
- bugfix in option
onwindowresize
- bugfix in option
dragit
concerning optiononwindowresize
- updated
start
,stop
,drag/resize
callbacks in optionsdragit/resizeit
now additionally get theevent object
as argument - added polyfill for
String.prototype.includes()
- added CommonJS module exports
jsPanel v4.3.0
- added event
jspanelcloseduser
which is fired when a panel is closed using the header control - added panel method
.overlaps()
- added parameter
aspectRatio
to optionresizeit
- updated panel method
.close()
- it now has a return value depending on whether the panel was closed successfully or not option.container
default value is changed to'window'
. This might need a change in existing code whencontainer: doccument.body
is used even though this was the default previouslyoption.maximizedMargin
now accepts a function as valueoption.theme
supports color names derived from the Material Design Color System like'bluegray700'
,'orangeA400'
etc.- options
position
,dragit
andresizeit
now correctly position, drag and resize panels appended to a container using csstransform: scale()
if both container and panel are scaled - bugfix in global color methods
- modal extension: minor bugfixes
- tooltip extension:
- added method
jsPanel.tooltip.reposition()
to reposition existing tooltips - added parameter
autoshow
for tooltips - added support for tooltips positioned relative to another element than target
- improved tooltip connectors
- a few bugfixes in the tooltip extension
- tooltip extension will load a
MouseEvent()
polyfill for IE11
- added method
- various tweaks in css and js
jsPanel v4.2.1
- fix in methods
setHeaderLogo()
andsetHeaderTitle()
- logo and title are now updated in minimized replacement as well - fix in css concerning only IE11 when using very long title texts (controls were pushed out of panel boundaries)
- fix in options
dragit
andresizeit
- see #53 - added: All parameters of option
position
now accept a function as value
jsPanel v4.1.2
- fix in options
dragit
andresizeit
- handler was not unbound when mouse cursor came over a<object>
tag in content section of a jsPanel - added - click on modal backdrop will close a modal jsPanel
- changed -
option.closeOnEscape
is set totrue
by default for a modal jPanel