Skip to content

Latest commit

 

History

History
332 lines (151 loc) · 7.68 KB

CHANGELOG.md

File metadata and controls

332 lines (151 loc) · 7.68 KB

1.3.5 (2017-08-09)

Fixes

  • position: Position within viewport instead of body

1.3.4 (2017-07-12)

Fixes

  • hotkey: Ignore hotkeys when focus is in an editable element

1.3.3 (2017-06-30)

Fixes

  • hotkey: ArrowLeft hotkey only active when context menu focused

1.3.2 (2017-06-30)

Fixes

  • hotkey: Hotkeys only active when context menu focused

1.3.1 (2017-06-29)

Fixes

  • bootstrap4: active class set correctly

1.3.0 (2017-06-28)

Features

  • hotkey: Keyboard shortcuts to use the context menu

1.2.1 (2017-06-21)

Fixes

  • hotkey: Esc key binding throws error when no context menu visible

1.2.0 (2017-06-12)

Features

  • submenus: Add submenus
  • autoFocus: Autofocus the context menu ul when it opens
  • contextmenu: [disabled] input on
  • contextmenu: Close context menu when window is resized

1.1.0 (2017-05-18)

Features

  • output: Emit an event on open

1.0.5 (2017-05-18)

Bug Fixes

  • type definitions: Fix some type definition errors

1.0.4 (2017-04-26)

Bug Fixes

  • execute: Handle errors gracefully during menuItem execution

1.0.3 (2017-04-11)

Bug Fixes

  • close: Unsubscribe when closing context menu

1.0.2 (2017-04-11)

Bug Fixes

  • close: Actually fire close event
  • item: Allow undefined subject/item

1.0.1 (2017-03-31)

Documentation

  • doc: Remove references to angular2-contextmenu

BREAKING CHANGES

  • styles: Styles should reference the ngx-contextmenu class instead of angular2-contextmenu

1.0.0 (2017-03-31)

BREAKING CHANGES

  • position: Context menu is injected on the root app element to avoid having to compensate for css positioning
  • dependencies: Depends on Angular 4+
  • template: Use ng-template instead of template
  • declarative: No imperative way of declaring context menus. i.e. can't passing actions into contextMenuService.show.next({})

0.8.1 (2017-02-28)

Bug Fixes

  • position: Default to 100x100 size if menuElement is undefined

0.8.0 (2017-02-27)

Features

  • passive: Add a passive menuitem that will not close the menu when clicked

0.7.7 (2017-02-10)

Bug Fixes

  • position: Use getComputedStyle to calculate offsetParent style

0.7.6 (2017-02-06)

Bug Fixes

  • position: Don't offset context menu when inside fixed positioned element

0.7.5 (2017-02-01)

Bug Fixes

  • position: Don't offset context menu when inside absolute positioned element

0.7.4 (2017-01-30)

Bug Fixes

  • position: Recover when context menu offsetParent is undefined

0.7.3 (2017-01-27)

Bug Fixes

  • position: Position contextmenu when parent element has 3d transform

0.7.2 (2017-01-27)

Bad build - ignore

0.7.1 (2017-01-18)

Bug Fixes

  • closing: Close context menu with esc key in Safari

0.7.0 (2017-01-05)

Features

  • dividers: Add appropriate divider class for bootstrap 4
  • position: Position context menu to the left or above the mouse location, if the menu goes outside the body element
  • closing: Hide the context menu on escape keydown or window scroll events

0.6.0 (2016-12-08)

Features

  • dividers: Add the ability to create dividers in the context menu (c050ae5)

0.5.3 (2016-12-02)

Bug Fixes

  • styles: Remove invisible context menu items from the DOM instead of using [hidden] attribute (1a7121e)

0.5.1 (2016-10-20)

  • Add forRoot function to globally set useBootstrap4

0.4.1 (2016-10-12)

  • Fix bug [enabled] as a function not blocking execution

0.4.0 (2016-10-11)

  • [contextMenu] and [contextMenuSubject] to automate wiring up the context menu
  • [visible] and [enabled] can be booleans or functions
  • Can have multiple context menus per component

0.2.1 (2016-09-12)

  • Fix type definition for ContextMenuService to make actions optional

0.2.0 (2016-09-12)

  • Add ContextMenuItemComponent for declarative configuration

0.1.11 (2016-07-28)

0.1.10 (2016-07-28)

0.1.10 (2016-07-26)

0.1.5 (2016-05-25)

0.1.4 (2016-05-25)

0.1.3 (2016-05-25)

0.1.2 (2016-05-25)

0.1.1 (2016-05-25)