Skip to content

Releases: tech-systems/panes

1.1.94

14 Nov 17:05
Compare
Choose a tag to compare

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

Features

  • Added preventDismiss() method. Using in pair with onWillDismiss() callback to prevent pane from destroy on custom conditions #82
const settings = {
  ...
  onWillDismiss: () => {
    if (disallowDismiss) {
      drawer.preventDismiss();
    }
  }
}

1.1.93

29 Oct 15:49
Compare
Choose a tag to compare

Extra

  • Z-Deminsion Stack demo available

Features

  • Added fastSwipeClose for close pane with fast drag to bottom direction #78
  • Added fastSwipeSensivity property to regulate how long should a swipe event being for automaticaly swipe into next point #78
  • Added pushYOffset property to realize Z-Deminsion Stack

1.1.92

17 Oct 10:10
Compare
Choose a tag to compare

Features

  • Added moveToHeight(val: **number**) method. Allow to move pane into exact height position. #73

Bug Fixes

  • Removed excesive padding from inversed top-to-bottom overscrolls. #75

1.1.9

10 Oct 15:13
Compare
Choose a tag to compare

Features

  • Added inverse property which allows to use top-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

28 Aug 18:49
Compare
Choose a tag to compare

BREAKING CHANGES

  • Property offset for breaks are not more under support. Renamed with height
breaks: {
    ...
    middle: {
      enabled: true,
      height: 400
    }
}

Features

  • Added upperThanTop settings property
  • Added touchMoveStopPropagation settings property. Set true 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 as ion-item-sliding #23
  • Added 3d push effect within pushElement and pushMinHeight 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

1.1.7

22 Jul 12:23
Compare
Choose a tag to compare

Features

  • Changelog created to keep user informed #47
  • Better issues templates #48
  • Show/Hide backdrop method #43
  • Element or selector on class creation #40

Bug Fixes

  • Mobile chrome pull-to-refresh function disabled with overscroll-behavior-y #46
  • Resize frame after hide keyboard on Android device with Ionic apps #49