@everchron/ec-shards 0.7.3 → 0.7.4

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": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -6,6 +6,7 @@
6
6
  hasLabel,
7
7
  subtle ? 'subtle' : '',
8
8
  pale ? 'pale' : '',
9
+ unreactive ? 'unreactive' : '',
9
10
  sizeClass
10
11
  ]"
11
12
  :disabled="disabled"
@@ -55,6 +56,10 @@
55
56
  chevron: {
56
57
  type: Boolean,
57
58
  default: false
59
+ },
60
+ unreactive: {
61
+ type: Boolean,
62
+ default: false
58
63
  }
59
64
  },
60
65
 
@@ -160,7 +165,7 @@
160
165
  pointer-events: none;
161
166
  }
162
167
 
163
- &:hover{
168
+ &:not(.unreactive):hover{
164
169
  background: transparent;
165
170
 
166
171
  &:after{
@@ -170,7 +175,7 @@
170
175
  }
171
176
  }
172
177
 
173
- &:hover{
178
+ &:not(.unreactive):hover{
174
179
  background: rgba($gray-8, .2);
175
180
 
176
181
  .icon{
@@ -194,7 +199,7 @@
194
199
  color: $gray-6;
195
200
  }
196
201
 
197
- &:hover{
202
+ &:not(.unreactive):hover{
198
203
  color: $gray-11;
199
204
  background: rgba($gray-7, .14);
200
205
 
@@ -213,6 +218,10 @@
213
218
  }
214
219
  }
215
220
 
221
+ &.unreactive{
222
+ cursor: default;
223
+ }
224
+
216
225
  &:disabled{
217
226
  opacity: .5;
218
227
  cursor: default;
@@ -8,6 +8,7 @@ export default {
8
8
  export const text = () => ({
9
9
  components: { EcsButtonTable },
10
10
  template: `<main>
11
+ <ecs-button-table size="md" icon="parties" label="5" />
11
12
  <ecs-button-table size="md" icon="parties" label="5" />
12
13
  <ecs-button-table size="sml" icon="parties" label="5" />
13
14
  <ecs-button-table size="md" chevron pale icon="parties" label="5" />