mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-06 15:12:22 +03:00
157 lines
4.5 KiB
Markdown
157 lines
4.5 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented here.
|
|
|
|
<a name="4.0.2"></a>
|
|
## [4.0.2](https://github.com/rawilk/vue-context/releases/tag/4.0.2)
|
|
|
|
Released 2019-06-22
|
|
|
|
### Bug Fixes 4.0.2
|
|
- Fix menu item width issues ([#26](https://github.com/rawilk/vue-context/issues/26)).
|
|
- Remove outline from menu and menu items when given focus ([#26](https://github.com/rawilk/vue-context/issues/26)).
|
|
|
|
<a name="4.0.1"></a>
|
|
## [4.0.1](https://github.com/rawilk/vue-context/releases/tag/4.0.1)
|
|
|
|
Released 2019-06-03
|
|
|
|
### Bug Fixes 4.0.1
|
|
- Always emit the close event on click. See issue [#23](https://github.com/rawilk/vue-context/issues/23)
|
|
|
|
<a name="4.0.0"></a>
|
|
## [4.0.0](https://github.com/rawilk/vue-context/releases/tag/4.0.0)
|
|
|
|
Released 2019-05-18
|
|
|
|
### Added 4.0.0
|
|
- Added support for keyboard navigation (up and down arrows).
|
|
- Added ability to close menu on esc.
|
|
- Added `lazy` prop as an alternative to `v-show`.
|
|
- Added `tag` prop to specify menu tag (defaults to `<ul>`).
|
|
|
|
### Changes 4.0.0
|
|
- Default menu tag is now `<ul>` and menu is now the top-level element.
|
|
- Changed how the menu is styled.
|
|
|
|
### Updates 4.0.0
|
|
- Updated build process and project structure.
|
|
- Ran `npm audit fix` to fix vulnerabilities found from dependencies.
|
|
|
|
<a name="3.4.2"></a>
|
|
## [3.4.2](https://github.com/rawilk/vue-context/releases/tag/3.4.2)
|
|
|
|
Released 2019-04-05
|
|
|
|
### Bug Fixes 3.4.2
|
|
- Only add scroll event listener on `closeOnScroll` prop value change if the menu is open.
|
|
|
|
<a name="3.4.1"></a>
|
|
## [3.4.1](https://github.com/rawilk/vue-context/releases/tag/3.4.1)
|
|
|
|
Released 2019-04-03
|
|
|
|
### Updates 3.4.1
|
|
- **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 fix` to fix vulnerabilities found from dependencies.
|
|
|
|
<a name="3.4.0"></a>
|
|
## [3.4.0](https://github.com/rawilk/vue-context/releases/tag/3.4.0)
|
|
|
|
Released 2018-11-19
|
|
|
|
### Bug fixes 3.4.0
|
|
- **Close event:** only emit the event if menu is actually open (fixes [#13](https://github.com/rawilk/vue-context/issues/13))
|
|
|
|
<a name="3.3.1"></a>
|
|
## [3.3.1](https://github.com/rawilk/vue-context/releases/tag/3.3.1)
|
|
|
|
Released 2018-10-23
|
|
|
|
### Changes 3.3.1
|
|
- Context menu now closes via [clickaway](https://github.com/simplesmiler/vue-clickaway) instead of a blur event. Credit: [robjbrain](https://github.com/robjbrain)
|
|
|
|
### Updates 3.3.1
|
|
- Updated vue and other dev dependencies.
|
|
|
|
<a name="3.3.0"></a>
|
|
## [3.3.0](https://github.com/rawilk/vue-context/releases/tag/3.3.0)
|
|
|
|
Released 2018-10-15
|
|
|
|
### Features 3.3.0
|
|
- **Events:** both open and close events are now emitted by the component. ([#10](https://github.com/rawilk/vue-context/issues/10))
|
|
|
|
<a name="3.2.0"></a>
|
|
## [3.2.0](https://github.com/rawilk/vue-context/releases/tag/3.2.0)
|
|
|
|
Released 2018-09-12
|
|
|
|
### Features 3.2.0
|
|
- **Close on click prop:** added a prop to prevent closing the context menu on click. ([#8](https://github.com/rawilk/vue-context/issues/8))
|
|
|
|
<a name="3.1.1"></a>
|
|
## [3.1.1](https://github.com/rawilk/vue-context/releases/tag/3.1.1)
|
|
|
|
Released 2018-06-23
|
|
|
|
### Updates 3.1.1
|
|
- Updated README.md
|
|
- Added code comments
|
|
|
|
<a name="3.1.0"></a>
|
|
## [3.1.0](https://github.com/rawilk/vue-context/releases/tag/3.1.0)
|
|
|
|
Released 2018-05-29
|
|
|
|
### Features 3.1.0
|
|
- **Scroll prop:** added a prop to close the context menu automatically on window scroll. ([#2](https://github.com/rawilk/vue-context/issues/2))
|
|
|
|
<a name="3.0.2"></a>
|
|
## [3.0.2](https://github.com/rawilk/vue-context/releases/tag/3.0.2)
|
|
|
|
Released 2018-05-29
|
|
|
|
### Updates 3.0.2
|
|
- Updated documentation
|
|
|
|
### Added 3.0.2
|
|
- Added [demos](https://vue-context.randallwilk.com) for the component.
|
|
|
|
<a name="3.0.0"></a>
|
|
## [3.0.0](https://github.com/rawilk/vue-context/releases/tag/3.0.0)
|
|
|
|
Released 2018-05-26
|
|
|
|
### Breaking changes 3.0.0
|
|
- Changed slot scope definition from `userData` to just `data`.
|
|
- Component gets imported as `{ VueContext }` instead of `VContext` now.
|
|
|
|
### Updates 3.0.0
|
|
- Updated dependencies
|
|
- Updated documentation
|
|
|
|
### Changes 3.0.0
|
|
- Changed code structure and build process.
|
|
|
|
<a name="2.0.1"></a>
|
|
## [2.0.1](https://github.com/rawilk/vue-context/releases/tag/2.0.1)
|
|
|
|
Released 2017-08-18
|
|
|
|
### Added 2.0.1
|
|
- License file
|
|
- Changelog file
|
|
|
|
### Removed 2.0.1
|
|
- Removed bottom border from context menu line items.
|
|
|
|
<a name="2.0.0"></a>
|
|
## [2.0.0](https://github.com/rawilk/vue-context/releases/tag/2.0.0)
|
|
|
|
Released 2017-08-17
|
|
|
|
- Initial release
|