@worksafevictoria/wcl7.5 1.1.0-beta.101 → 1.1.0-beta.103
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
|
@@ -23,26 +23,11 @@
|
|
|
23
23
|
[`card-grid-item-icon--icon-bordered-${iconSize}`]: iconIsBordered
|
|
24
24
|
}"
|
|
25
25
|
:glyph="glyphSrc"
|
|
26
|
+
:key="computedIconSize"
|
|
26
27
|
icon-alt="alt"
|
|
27
|
-
:height="
|
|
28
|
-
iconSize === 'xsmall'
|
|
29
|
-
? 16
|
|
30
|
-
: iconSize === 'small'
|
|
31
|
-
? 32
|
|
32
|
-
: iconSize === 'medium'
|
|
33
|
-
? 64
|
|
34
|
-
: 80
|
|
35
|
-
"
|
|
36
|
-
:width="
|
|
37
|
-
iconSize === 'xsmall'
|
|
38
|
-
? 16
|
|
39
|
-
: iconSize === 'small'
|
|
40
|
-
? 32
|
|
41
|
-
: iconSize === 'medium'
|
|
42
|
-
? 64
|
|
43
|
-
: 80
|
|
44
|
-
"
|
|
45
28
|
:bordered="iconIsBordered"
|
|
29
|
+
:height="computedIconSize"
|
|
30
|
+
:width="computedIconSize"
|
|
46
31
|
/>
|
|
47
32
|
<component
|
|
48
33
|
:is="glyphComponent"
|
|
@@ -98,6 +83,17 @@ export default {
|
|
|
98
83
|
type: Boolean
|
|
99
84
|
}
|
|
100
85
|
},
|
|
86
|
+
computed: {
|
|
87
|
+
computedIconSize() {
|
|
88
|
+
return this.iconSize === 'xsmall'
|
|
89
|
+
? 16
|
|
90
|
+
: this.iconSize === 'small'
|
|
91
|
+
? 32
|
|
92
|
+
: this.iconSize === 'medium'
|
|
93
|
+
? 64
|
|
94
|
+
: 80;
|
|
95
|
+
}
|
|
96
|
+
},
|
|
101
97
|
data() {
|
|
102
98
|
return {
|
|
103
99
|
arrowRight,
|
|
@@ -257,6 +257,9 @@ $whitesmoke: #f3f3f3 !default;
|
|
|
257
257
|
:deep(path) {
|
|
258
258
|
fill: white;
|
|
259
259
|
}
|
|
260
|
+
:deep(.icon) {
|
|
261
|
+
filter: invert(100%) sepia(5%) saturate(49%) hue-rotate(165deg) brightness(119%) contrast(100%);
|
|
262
|
+
}
|
|
260
263
|
}
|
|
261
264
|
|
|
262
265
|
@media screen and (max-width: 767px) {
|