Releases: tech-systems/panes
Releases Β· tech-systems/panes
1.1.94
BREAKING CHANGES
- Implemented auto-keyboard handler for cordova applications. Keyboard now will push pane for exact keyboard height. If you would like handle this part by yourself, set option
handleKeyboard: false
.
Extra
- Prevent dismiss demo available
Features
- Added
preventDismiss()
method. Using in pair withonWillDismiss()
callback to prevent pane from destroy on custom conditions #82
const settings = {
...
onWillDismiss: () => {
if (disallowDismiss) {
drawer.preventDismiss();
}
}
}
1.1.93
Extra
- Z-Deminsion Stack demo available
Features
1.1.92
1.1.9
Features
- Added
inverse
property which allows to usetop-to-bottom
direction. #58
let settings: CupertinoSettings = {
inverse: true
};
- Added
.setDarkMode({enable: true})
method, to helps maintain color scheme after pane initialization #68 - Added
.setBreakpoints(breakpoints: PaneBreaks)
method. Method updates breakpoints configuration for rendered Pane. #69 - Improved
lowerThanBottom
configuration and become accessable in default mode
Bug Fixes
- Fixed Commonjs bundle. No more line required on import:
<script>var exports = {"__esModule": true};</script>
1.1.8
BREAKING CHANGES
- Property
offset
for breaks are not more under support. Renamed withheight
breaks: {
...
middle: {
enabled: true,
height: 400
}
}
Features
- Added
upperThanTop
settings property - Added
touchMoveStopPropagation
settings property. Settrue
to prevent all move events behind pane and backdrop #55 - Added
bounce
property for breakpoints (transition in apple stocks style)
breaks: {
...
middle: {
enabled: true,
height: 400,
bounce: true
}
}
- Added
touchAngle
settings property which allow user set possible pane move angle. Helps to handle horizontal slider elements inside pane such asion-item-sliding
#23 - Added 3d push effect within
pushElement
andpushMinHeight
properties Example
const settings = {
...
parentElement: 'ion-tabs',
pushElement: 'app-home',
pushMinHeight: 350
}
Bug Fixes
- Improved drag top gesture
- Auto-preventing accidental unwanted clicks events during pane move gestures by
preventClicks
parameter - Close button touch area fixed