Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cupertino-pane

Package Overview
Dependencies
Maintainers
0
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cupertino-pane - npm Package Versions

1
11

1.2.92

Diff

roman-rr
published 1.2.91 •

roman-rr
published 1.2.82 •

roman-rr
published 1.2.81 •

roman-rr
published 1.2.8 •

Changelog

Source

1.2.8 (2021-12-06)

Bug Fixes

  • draggable: reduced zIndex to prevent overlapping (#169) (6196a4e)
  • events: android fast drag was interpreted as tap event (#154) (ac7093e)
  • events: fixed unexpected jumps on fast drag (1b0d082)
  • events: prevent hidden pane to be visible on keyboard (#112) (bf34a24)
  • events: touchmove position while transition (7c367a3)
  • inverse: calcFitHeight for inverse pane cause animation swing (91359a0)
  • keyboard: detach resize from keyboard events (#112) (5d574d7)
  • events: unlock mode show hidden pane on Android #159
  • keyboard: fixed keyboard for fitHeight panes - #155

Refactor

  • core: add classes for transitions and z-stack

Enhancements

  • gestures: topperThanTop gesture smooth on backward
  • gestures: scroll events remastered for smooth entry scrolls
  • core: implemented proper UMD and EMS bundle system
  • ci: async build and face typings with public-api
  • events: default touchAngle is 45

Features

  • destroy: allow to destroy without DOM element (#163) (44a0d18)
  • docs: commits standards and changelogs
roman-rr
published 1.2.7 •

Changelog

Source

[1.2.7] - 2021-05-08

Extra

Features

  • Functions .present() and .destroy() enhanced to using Promise like functins. #144
    await myPane.present({animate: true});
    myPane.destroy({animate: true}).then(...);

Bug Fixes

  • Fixed slow drag gesture with velocity when first touchmove not firing
roman-rr
published 1.2.61 •

roman-rr
published 1.2.6 •

Changelog

Source

[1.2.6] - 2021-03-18

BREAKING CHANGES

  • All Z-Stack and 3D Push properties was merged into zStack object. Readme
let settings = {
  ...
  zStack: {
    pushElements: string[];
    minPushHeight?: number;
    cardYOffset?: number;
    cardZScale?: number;
    cardContrast?: number;
    stackZAngle?: number;
  }
}

Extra

Features

  • 3D Push transitions and gestures now available as cumulative options with pushElements property. Define array of elements which will be pushed when main element execute transitions. All styles from all elements will be accumulated together.
let settings = {
  ...
  zStack: {
    pushElements: ['.card-1', '.card-2', '.card-3']
  }
}

Bug Fixes

  • Click to elements fixed with .disableDrag() method #140
  • Fixed css variable --cupertino-pane-icon-close-color #139
  • Fixed pane jump on drag with positive scroll from lower breakpoints #135
roman-rr
published 1.2.5 •

Changelog

Source

[1.2.5] - 2021-02-20

BREAKING CHANGES

  • Added cssClass property to settings. Pass custom class for .cupertino-pane-wrapper here to style later, instead of picking custom class from your element.
  • Removed darkmode property and setDarkmode() method. Proper way you can style darkmode with variables:
body.dark {
  --cupertino-pane-icon-close-color: #a8a7ae;
  --cupertino-pane-background: #1c1c1d;
  --cupertino-pane-color: #ffffff;
  --cupertino-pane-shadow: 0 4px 16px rgb(0 0 0 / 12%);
  --cupertino-pane-border-radius: 20px;
  --cupertino-pane-move-background: #424246;
  --cupertino-pane-destroy-button-background: #424246;
}

Extra

Features

  • CSS variables available Readme

Bug Fixes

  • Fixed styles for few panes in single DOM #133
  • Fixed with internal styles injector in DOM. Minified styles now injected once inside <head> tag.
  • Fixed backdrop with { animate:false }
roman-rr
published 1.2.4 •

Changelog

Source

[1.2.4] - 2021-01-28

Enhancements

  • Keyboard will move pane up, only if focused element is child of Pane
  • window.resize events are now automatically managed #127

Bug Fixes

  • Fixed currentBreak() method
  • Fixed and improved keyboard events #125
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc