2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-12 02:52:23 +03:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
rawilk
2020-08-29 21:45:43 -05:00
8 changed files with 2288 additions and 476 deletions
-22
View File
@@ -1,22 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 5
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+9
View File
@@ -2,6 +2,15 @@
All notable changes to this project will be documented here.
<a name="6.0.0"></a>
## [6.0.0](https://github.com/rawilk/vue-context/releases/6.0.0)
Released 2020-08-03
### Changed
- **Breaking Change:** Remove named export from entry point ([#60](https://github.com/rawilk/vue-context/issues/60)).
- Change submenu chevron character code in style sheet.
<a name="5.2.0"></a>
## [5.2.0](https://github.com/rawilk/vue-context/releases/tag/5.2.0)
+1 -1
View File
@@ -32,7 +32,7 @@ Import the component and use it in your app.
```js
import Vue from 'vue';
import { VueContext } from 'vue-context';
import VueContext from 'vue-context';
new Vue({
components: {
+1 -1
View File
@@ -1 +1 @@
.v-context,.v-context ul{background-color:#fff;background-clip:padding-box;border-radius:.25rem;border:1px solid rgba(0,0,0,.15);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);display:block;margin:0;padding:10px 0;min-width:10rem;z-index:1500;position:fixed;list-style:none;box-sizing:border-box;max-height:calc(100% - 50px);overflow-y:auto}.v-context>li,.v-context ul>li{margin:0;position:relative}.v-context>li>a,.v-context ul>li>a{display:block;padding:.5rem 1.5rem;font-weight:400;color:#212529;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.v-context>li>a:focus,.v-context>li>a:hover,.v-context ul>li>a:focus,.v-context ul>li>a:hover{text-decoration:none;color:#212529;background-color:#f8f9fa}.v-context:focus,.v-context>li>a:focus,.v-context ul:focus,.v-context ul>li>a:focus{outline:0}.v-context__sub>a:after{content:"\2BC8";float:right;padding-left:1rem}.v-context__sub>ul{display:none}
.v-context,.v-context ul{background-color:#fff;background-clip:padding-box;border-radius:.25rem;border:1px solid rgba(0,0,0,.15);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);display:block;margin:0;padding:10px 0;min-width:10rem;z-index:1500;position:fixed;list-style:none;box-sizing:border-box;max-height:calc(100% - 50px);overflow-y:auto}.v-context>li,.v-context ul>li{margin:0;position:relative}.v-context>li>a,.v-context ul>li>a{display:block;padding:.5rem 1.5rem;font-weight:400;color:#212529;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.v-context>li>a:focus,.v-context>li>a:hover,.v-context ul>li>a:focus,.v-context ul>li>a:hover{text-decoration:none;color:#212529;background-color:#f8f9fa}.v-context:focus,.v-context>li>a:focus,.v-context ul:focus,.v-context ul>li>a:focus{outline:0}.v-context__sub>a:after{content:"\203A";float:right;padding-left:1rem}.v-context__sub>ul{display:none}
+2273 -447
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "vue-context",
"version": "5.2.0",
"version": "6.0.0",
"description": "A simple vue context menu component.",
"main": "src/js/index.js",
"scripts": {
@@ -29,11 +29,11 @@
"vue-clickaway": "^2.2.2"
},
"devDependencies": {
"@babel/preset-env": "^7.8.7",
"@babel/preset-env": "^7.11.0",
"cross-env": "^5.2.1",
"laravel-mix": "^4.1.4",
"resolve-url-loader": "^2.3.2",
"sass": "^1.26.3",
"sass": "^1.26.10",
"sass-loader": "^7.3.1",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11"
-1
View File
@@ -1,2 +1 @@
export { default } from './vue-context';
export { default as VueContext } from './vue-context';
+1 -1
View File
@@ -52,7 +52,7 @@
&__sub {
> a:after {
content: "\2bc8";
content: "\203A";
float: right;
padding-left: 1rem;
}