Skip to content

Releases: scssyworks/context-builder

v0.5.1

23 Aug 13:01
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Type fixes

v0.5.0

23 Aug 12:09
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  1. OnClick handler can now return a Promise
  2. Build optimization

v0.4.2

20 Aug 13:08
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Context menu UI is now inserted in body element by default to avoid style conflicts.

v0.4.1

18 Aug 05:56
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Window object is now referred from document.defaultView

v0.4.0

17 Aug 20:01
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  1. Added ability to bind events using <ContextMenu>.on method rather than passing it as configuration.
  2. Added remove method to ContextList and ContextItem classes. Now you can also remove the context menu children dynamically.
  3. Major bugfixes

v0.3.0

13 Aug 16:31
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  1. Added support for onBeforeCleanup handler
  2. Cleanup method now returns a Promise<void>
  3. Updated dependencies to their latest versions

v0.2.4

13 Aug 15:37
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release
  1. On cleanup call, active context menu is now removed from DOM
  2. Library now supports onContextMenu handler to capture the target where context menu was activated.

v0.2.2

11 Aug 14:36
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  1. Added data attributes to targets for better element separation

v0.2.1

10 Aug 21:04
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  1. This version addresses and fixes more issues related to context menu not closing when clicked outside target area.

v0.2.0

10 Aug 20:56
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  1. Create multiple context menu instances for different sections of UI
  2. Fixed an issue with context menu not re-opening under certain circumstances
  3. Context menu is dismissed on body click (always). Previously the target element was considered. This behaviour will be further improved in next version.