@everchron/ec-shards 7.5.21 → 7.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "7.5.21",
3
+ "version": "7.5.23",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -13,7 +13,8 @@
13
13
  :required="required"
14
14
  :disabled="disabled"
15
15
  :checked="checked"
16
- @change="handleClick">
16
+ @change="handleClick"
17
+ @click.shift="handleShiftClick">
17
18
 
18
19
  <label
19
20
  class="ecs-form-check-label"
@@ -134,6 +135,10 @@
134
135
  this.indeterminateState = false
135
136
  this.checked = !this.checked
136
137
  this.$emit('input', this.checked ? this.valueWhenTrue : this.valueWhenFalse, this.id)
138
+ },
139
+
140
+ handleShiftClick(){
141
+ this.$emit('shiftClick')
137
142
  }
138
143
  }
139
144
  }
@@ -60,6 +60,7 @@ export default {
60
60
  opacity: .7;
61
61
  transition: .2s;
62
62
  padding: 0;
63
+ cursor: pointer;
63
64
  background: svg-uri('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><g fill="none" fill-rule="evenodd"><circle cx="6" cy="6" r="6" fill="#858E9E"/><rect width="8" height="1.5" x="2" y="5.5" fill="#FFFFFF" rx=".75" transform="rotate(45 6 6.25)"/><rect width="8" height="1.5" x="2" y="5.5" fill="#FFFFFF" rx=".75" transform="rotate(-45 6 6.25)"/></g></svg>');
64
65
 
65
66
  &:hover{
Binary file
Binary file
Binary file