From a799c3788ac65bf48778029046e7dde5d9e2f877 Mon Sep 17 00:00:00 2001 From: Randall Wilk <22842525+rawilk@users.noreply.github.com> Date: Thu, 14 Nov 2019 13:38:00 -0600 Subject: [PATCH] Release/v5 (#43) --- .gitignore | 3 +- .npmignore | 2 - CHANGELOG.md | 70 +++++++----- README.md | 10 ++ build/webpack-styles.mix.js | 5 - build/webpack.mix.js | 13 +-- dist/css/vue-context.css | 2 +- dist/js/vue-context.js | 1 - package.json | 5 +- src/js/index.js | 1 + src/js/utils.js | 14 ++- src/js/vue-context.js | 128 +++++++++++++++++++-- src/sass/vue-context.scss | 83 ++++++++------ test/index.html | 59 +++++++++- test/js/dist/index.css | 46 -------- test/js/dist/index.js | 214 ------------------------------------ test/js/src/index.js | 3 +- 17 files changed, 303 insertions(+), 356 deletions(-) delete mode 100644 build/webpack-styles.mix.js delete mode 100644 dist/js/vue-context.js delete mode 100644 test/js/dist/index.css delete mode 100644 test/js/dist/index.js diff --git a/.gitignore b/.gitignore index fa95921..5c288db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules/ .idea npm-debug.log* -**/mix-manifest.json \ No newline at end of file +**/mix-manifest.json +test/js/dist/ diff --git a/.npmignore b/.npmignore index 9507131..66439dc 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,3 @@ -docs/ -src/ test/ build/ .idea diff --git a/CHANGELOG.md b/CHANGELOG.md index c910c79..5e19af2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,30 @@ All notable changes to this project will be documented here. + +## [5.0.0](https://github.com/rawilk/vue-context/releases/tag/5.0.0) + +Released 2019-11-14 + +### Added +- Add default export in entry point ([#41](https://github.com/rawilk/vue-context/issues/41)). +- Add support for nested context menus ([#37](https://github.com/rawilk/vue-context/pull/37)). + +### Changes +- Update entry point to source ([#33](https://github.com/rawilk/vue-context/issues/33)). +- No longer build component with webpack ([#33](https://github.com/rawilk/vue-context/issues/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](https://github.com/rawilk/vue-context/releases/tag/4.1.1) Released 2019-10-20 -### Bug Fixes 4.1.1 +### Bug Fixes - Fix bug of "Unknown custom element" ([#40](https://github.com/rawilk/vue-context/issues/40)). @@ -15,10 +33,10 @@ Released 2019-10-20 Released 2019-10-11 -### Breaking Changes 4.1.0 +### Breaking Changes - Move menu styles from js to its own stylesheet ([#36](https://github.com/rawilk/vue-context/issues/36)) -### Changes 4.1.0 +### Changes - Remove core-js as a dependency in favor of local polyfills for a smaller build size ([#33](https://github.com/rawilk/vue-context/issues/33)) @@ -26,10 +44,10 @@ Released 2019-10-11 Released 2019-07-28 -### Bug Fixes 4.0.3 +### Bug Fixes - Make `localItemSelector` reactive to changes from `itemSelector` prop ([#30](https://github.com/rawilk/vue-context/issues/30)). -### Updates 4.0.3 +### Updates - Update dev dependencies @@ -37,7 +55,7 @@ Released 2019-07-28 Released 2019-06-22 -### Bug Fixes 4.0.2 +### Bug Fixes - 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)). @@ -46,7 +64,7 @@ Released 2019-06-22 Released 2019-06-03 -### Bug Fixes 4.0.1 +### Bug Fixes - Always emit the close event on click. See issue [#23](https://github.com/rawilk/vue-context/issues/23) @@ -54,17 +72,17 @@ Released 2019-06-03 Released 2019-05-18 -### Added 4.0.0 +### Added - 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 `