mirror of
https://github.com/tenrok/vue-context.git
synced 2026-05-17 04:29:35 +03:00
6.3 KiB
6.3 KiB
Changelog
All notable changes to this project will be documented here.
5.1.0
Released 2020-03-19
Added
- Add prop
subMenuOffsetfor users to specify a custom offset (#50).
Updated
- Update dev dependencies.
5.0.0
Released 2019-11-14
Added
Changes
- Update entry point to source (#33).
- No longer build component with webpack (#33).
- Component source is available through npm now, including the sass files.
Release notes
- Even though there shouldn't be any breaking changes in this release, it's a major release because breaking changes were introduced in version 4.1.0, which should have been a major release instead.
4.1.1
Released 2019-10-20
Bug Fixes
- Fix bug of "Unknown custom element" (#40).
4.1.0
Released 2019-10-11
Breaking Changes
- Move menu styles from js to its own stylesheet (#36)
Changes
- Remove core-js as a dependency in favor of local polyfills for a smaller build size (#33)
4.0.3
Released 2019-07-28
Bug Fixes
- Make
localItemSelectorreactive to changes fromitemSelectorprop (#30).
Updates
- Update dev dependencies
4.0.2
Released 2019-06-22
Bug Fixes
4.0.1
Released 2019-06-03
Bug Fixes
- Always emit the close event on click. See issue #23
4.0.0
Released 2019-05-18
Added
- Added support for keyboard navigation (up and down arrows).
- Added ability to close menu on esc.
- Added
lazyprop as an alternative tov-show. - Added
tagprop to specify menu tag (defaults to<ul>).
Changes
- Default menu tag is now
<ul>and menu is now the top-level element. - Changed how the menu is styled.
Updates
- Updated build process and project structure.
- Ran
npm audit fixto fix vulnerabilities found from dependencies.
3.4.2
Released 2019-04-05
Bug Fixes
- Only add scroll event listener on
closeOnScrollprop value change if the menu is open.
3.4.1
Released 2019-04-03
Updates
- Scroll Listener: Only attach the close scroll event listener when opened and immediately remove it when menu is closed to prevent it being called unnecessarily.
- Dependencies: Removed Vue as a dependency as it never really was one since v3.0.0.
- Dependencies: Ran
npm audit fixto fix vulnerabilities found from dependencies.
3.4.0
Released 2018-11-19
Bug fixes
- Close event: only emit the event if menu is actually open (fixes #13)
3.3.1
Released 2018-10-23
Changes
Updates
- Updated vue and other dev dependencies.
3.3.0
Released 2018-10-15
Features
- Events: both open and close events are now emitted by the component. (#10)
3.2.0
Released 2018-09-12
Features
- Close on click prop: added a prop to prevent closing the context menu on click. (#8)
3.1.1
Released 2018-06-23
Updates
- Updated README.md
- Added code comments
3.1.0
Released 2018-05-29
Features
- Scroll prop: added a prop to close the context menu automatically on window scroll. (#2)
3.0.2
Released 2018-05-29
Updates
- Updated documentation
Added
- Added demos for the component.
3.0.0
Released 2018-05-26
Breaking changes
- Changed slot scope definition from
userDatato justdata. - Component gets imported as
{ VueContext }instead ofVContextnow.
Updates
- Updated dependencies
- Updated documentation
Changes
- Changed code structure and build process.
2.0.1
Released 2017-08-18
Added
- License file
- Changelog file
Removed
- Removed bottom border from context menu line items.
2.0.0
Released 2017-08-17
- Initial release