Skip to content

Releases: adopted-ember-addons/ember-burger-menu

Release 4.0.0

03 Jun 03:14
Compare
Choose a tag to compare

💥 Breaking Change

Committers: 2

v3.3.4

26 May 01:17
Compare
Choose a tag to compare
  • setup events after state that caused them (#128) a4a5f21

v3.3.3...v3.3.4

v3.0.0

26 Jun 22:16
Compare
Choose a tag to compare

Pull Requests

Release Notes

  • Hard dependency on sass (now required in the host application)
    • Allows to override various variables
    • Allows to selective import only the sass files you need
  • More fine grain selector matching to support multi-level nested burger menus
  • [BREAKING] slide-shrink renamed to squeeze
  • [BREAKING] Menu item class has now been moved to the top level ember-burger-menu element. It can now be accessed via .ember-burger-menu.bm-item--stack
  • [BREAKING] Please see Custom Animations for the new sass structure for custom animations

Sass

Installing ember-burger-menu should also install ember-cli-sass and automatically create a scss file under app/styles/app.scss with

// app/styles/app.scss

@import 'ember-burger-menu';

Overriding Variables

Using sass, you can override default variables and easily change the default behavior of ember-burger-menu.
See variables.scss for a list of variables you can change.

// app/styles/app.scss

// Burger Menu Overrides
$bm-transition-duration: 0.3s;
$bm-overlay-background: rgba(0, 0, 0, 0.7);

// Import all the styles!
@import 'ember-burger-menu';

Import Only What You Need

Using sass, you can import only the styles you need for the animations you use.

// Core Styles
@import 'ember-burger-menu/variables';
@import 'ember-burger-menu/structure';

// Animations
@import 'ember-burger-menu/animations/push';
@import 'ember-burger-menu/animations/menu-item/stack';

v2.0.1

29 May 04:46
Compare
Choose a tag to compare

Pull Requests

v2.0.0

20 May 04:42
Compare
Choose a tag to compare

Pull Requests

Release Notes

  • Multiple menus can now co-exist in your application
  • Improved event listeners
  • [BREAKING] Removed burger-menu service as it was used to back a single menu state and no longer makes sense to have.
  • [BREAKING] When the menu is in a locked state, actions can no longer change the state of the menu.
  • [BREAKING] The default height is no longer set to 100vh, instead it is set to 100%. If you upgrade and your menu is no longer visible, please check the available viewport height.

v1.1.3

08 May 23:47
Compare
Choose a tag to compare

Pull Requests

  • #69 [BUGFIX] Remove preventDefault from passive event listener touchM

v1.1.2

13 Apr 22:48
Compare
Choose a tag to compare

Pull Requests

v1.1.0

08 Feb 01:36
Compare
Choose a tag to compare

Pull Requests

  • #29 [FEATURE] Locked + gesturesEnabled + use ember-lifeline by @offirgolan

v1.0.2

12 Jan 03:23
Compare
Choose a tag to compare

Pull Requests

v1.0.1

21 Dec 02:29
Compare
Choose a tag to compare

Pull Requests