toggle-components-library 1.24.11 → 1.24.13
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/dist/img/airship-audiences-hover.7197407c.svg +9 -0
- package/dist/img/airship-audiences.e7477e19.svg +9 -0
- package/dist/toggle-components-library.common.js +15 -19
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +15 -19
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/airship-audiences-hover.svg +9 -0
- package/src/assets/icons/airship-audiences.svg +9 -0
- package/src/components/metrics/ToggleMetricSingleMetric.vue +2 -4
- package/src/components/metrics/ToggleMetricSparkLine.vue +1 -3
- package/src/sass/includes/_as_navs.scss +11 -0
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="94.135" height="72.864" viewBox="0 0 94.135 72.864">
|
|
2
|
+
<g id="Group_340" data-name="Group 340" transform="translate(-5223.304 -1302)">
|
|
3
|
+
<path id="Path_215" data-name="Path 215" d="M5543.056,1319.05a17.05,17.05,0,1,0-17.049,17.05A17.049,17.049,0,0,0,5543.056,1319.05Zm-46.887,48.525a4.608,4.608,0,0,0,4.614,4.618l50.443,2.664c3.059.143,4.617-2.068,4.617-4.618,0-12.747-9.95-25.742-23.084-25.748h-13.506A23.086,23.086,0,0,0,5496.169,1367.575Z" transform="translate(-238.405)" fill="#477ef6"/>
|
|
4
|
+
<g id="Group_338" data-name="Group 338" transform="translate(5223.304 1308.662)">
|
|
5
|
+
<path id="Path_216" data-name="Path 216" d="M5251.644,1659.237a27.462,27.462,0,0,1,8.065-19.469,27.911,27.911,0,0,1,2.373-2.115,19.2,19.2,0,0,0-8.212-1.833h-11.283c-10.972,0-19.283,10.86-19.283,21.509a3.555,3.555,0,0,0,3.856,3.858l24.509-1.294C5251.655,1659.674,5251.644,1659.456,5251.644,1659.237Z" transform="translate(-5223.304 -1600.324)" fill="#477ef6"/>
|
|
6
|
+
<circle id="Ellipse_112" data-name="Ellipse 112" cx="14.243" cy="14.243" r="14.243" transform="translate(10.682 0)" fill="#477ef6"/>
|
|
7
|
+
</g>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="94.135" height="72.864" viewBox="0 0 94.135 72.864">
|
|
2
|
+
<g id="Group_339" data-name="Group 339" transform="translate(-5223.304 -1302)">
|
|
3
|
+
<path id="Path_215" data-name="Path 215" d="M5543.056,1319.05a17.05,17.05,0,1,0-17.049,17.05A17.049,17.049,0,0,0,5543.056,1319.05Zm-46.887,48.525a4.608,4.608,0,0,0,4.614,4.618l50.443,2.664c3.059.143,4.617-2.068,4.617-4.618,0-12.747-9.95-25.742-23.084-25.748h-13.506A23.086,23.086,0,0,0,5496.169,1367.575Z" transform="translate(-238.405)" fill="#354b64"/>
|
|
4
|
+
<g id="Group_338" data-name="Group 338" transform="translate(5223.304 1308.662)">
|
|
5
|
+
<path id="Path_216" data-name="Path 216" d="M5251.644,1659.237a27.462,27.462,0,0,1,8.065-19.469,27.911,27.911,0,0,1,2.373-2.115,19.2,19.2,0,0,0-8.212-1.833h-11.283c-10.972,0-19.283,10.86-19.283,21.509a3.555,3.555,0,0,0,3.856,3.858l24.509-1.294C5251.655,1659.674,5251.644,1659.456,5251.644,1659.237Z" transform="translate(-5223.304 -1600.324)" fill="#354b64"/>
|
|
6
|
+
<circle id="Ellipse_112" data-name="Ellipse 112" cx="14.243" cy="14.243" r="14.243" transform="translate(10.682 0)" fill="#354b64"/>
|
|
7
|
+
</g>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -48,7 +48,6 @@ export default {
|
|
|
48
48
|
*/
|
|
49
49
|
currencyCode:{
|
|
50
50
|
type:String,
|
|
51
|
-
required:false,
|
|
52
51
|
default:'GBP'
|
|
53
52
|
},
|
|
54
53
|
/**
|
|
@@ -56,7 +55,6 @@ export default {
|
|
|
56
55
|
*/
|
|
57
56
|
currencyLocale:{
|
|
58
57
|
type:String,
|
|
59
|
-
required:false,
|
|
60
58
|
default:'en-GB'
|
|
61
59
|
},
|
|
62
60
|
/**
|
|
@@ -64,7 +62,7 @@ export default {
|
|
|
64
62
|
*/
|
|
65
63
|
currencyDenomination: {
|
|
66
64
|
type: Number,
|
|
67
|
-
default:
|
|
65
|
+
default: 1
|
|
68
66
|
}
|
|
69
67
|
},
|
|
70
68
|
computed: {
|
|
@@ -73,7 +71,7 @@ export default {
|
|
|
73
71
|
* @return String
|
|
74
72
|
*/
|
|
75
73
|
metricValue() {
|
|
76
|
-
if (this.value
|
|
74
|
+
if (this.value === null) {
|
|
77
75
|
return "-";
|
|
78
76
|
}
|
|
79
77
|
|
|
@@ -83,7 +83,6 @@ export default {
|
|
|
83
83
|
*/
|
|
84
84
|
currencyCode:{
|
|
85
85
|
type:String,
|
|
86
|
-
required:false,
|
|
87
86
|
default:'GBP'
|
|
88
87
|
},
|
|
89
88
|
/**
|
|
@@ -91,7 +90,6 @@ export default {
|
|
|
91
90
|
*/
|
|
92
91
|
currencyLocale:{
|
|
93
92
|
type:String,
|
|
94
|
-
required:false,
|
|
95
93
|
default:'en-GB'
|
|
96
94
|
},
|
|
97
95
|
/**
|
|
@@ -99,7 +97,7 @@ export default {
|
|
|
99
97
|
*/
|
|
100
98
|
currencyDenomination: {
|
|
101
99
|
type: Number,
|
|
102
|
-
default:
|
|
100
|
+
default: 1
|
|
103
101
|
},
|
|
104
102
|
/**
|
|
105
103
|
* Percentage base used to calculate the trend impact
|
|
@@ -495,6 +495,17 @@
|
|
|
495
495
|
background-image: url("../assets/icons/airship-hat-hover.svg");
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
+
&.airship-audiences-icon a::before,
|
|
499
|
+
&.airship-audiences-icon span::before {
|
|
500
|
+
background-image: url("../assets/icons/airship-audiences.svg");
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
&.airship-audiences-icon a:hover::before,
|
|
504
|
+
&.airship-audiences-icon span:hover::before {
|
|
505
|
+
animation: tilt-shake 0.4s;
|
|
506
|
+
background-image: url("../assets/icons/airship-audiences-hover.svg");
|
|
507
|
+
}
|
|
508
|
+
|
|
498
509
|
}
|
|
499
510
|
}
|
|
500
511
|
|