toggle-components-library 1.32.0-beta.1 → 1.32.0-beta.11

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.
Files changed (37) hide show
  1. package/dist/toggle-components-library.common.js +121 -4940
  2. package/dist/toggle-components-library.common.js.map +1 -1
  3. package/dist/toggle-components-library.css +1 -1
  4. package/dist/toggle-components-library.umd.js +121 -4940
  5. package/dist/toggle-components-library.umd.js.map +1 -1
  6. package/dist/toggle-components-library.umd.min.js +6 -27
  7. package/dist/toggle-components-library.umd.min.js.map +1 -1
  8. package/package-lock.json +1 -11
  9. package/package.json +76 -78
  10. package/src/components/metrics/ToggleMetricFunnelChart.vue +8 -27
  11. package/src/components/metrics/ToggleMetricSingleMetric.vue +2 -15
  12. package/src/components/statusbar/ToggleStatusBar.vue +39 -0
  13. package/src/index.js +2 -4
  14. package/src/sass/includes/_as_badges.scss +0 -78
  15. package/src/sass/includes/_as_buttons.scss +1 -99
  16. package/src/sass/includes/_as_metrics.scss +3 -20
  17. package/src/sass/includes/_as_statusbar.scss +60 -0
  18. package/src/sass/main.scss +1 -2
  19. package/dist/img/clock-solid.fdaf024d.svg +0 -1
  20. package/dist/img/contacts-greyblue.ef6f8a9a.svg +0 -1
  21. package/dist/img/contacts-white.95d07c7a.svg +0 -1
  22. package/dist/img/view_email.508021c9.svg +0 -7
  23. package/dist/img/view_heatmap.f9058fdb.svg +0 -1
  24. package/src/assets/icons/clock-solid.svg +0 -1
  25. package/src/assets/icons/contacts-greyblue.svg +0 -1
  26. package/src/assets/icons/contacts-white.svg +0 -1
  27. package/src/assets/icons/contacts.svg +0 -1
  28. package/src/assets/icons/view_email.svg +0 -7
  29. package/src/assets/icons/view_heatmap.svg +0 -1
  30. package/src/components/badges/ToggleCalculateBadge.vue +0 -13
  31. package/src/components/badges/TogglePodiumBadge.vue +0 -32
  32. package/src/components/buttons/ToggleMetricsButton.vue +0 -36
  33. package/src/components/cards/ToggleRewardsCard.vue +0 -80
  34. package/src/components/carousel/ToggleCarousel.vue +0 -94
  35. package/src/components/carousel/ToggleCarouselSlide.vue +0 -26
  36. package/src/sass/includes/_as_cards.scss +0 -103
  37. package/src/sass/includes/_as_carousels.scss +0 -83
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.32.0-beta.1",
3
+ "version": "1.32.0-beta.11",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -17086,11 +17086,6 @@
17086
17086
  }
17087
17087
  }
17088
17088
  },
17089
- "swiper": {
17090
- "version": "10.3.1",
17091
- "resolved": "https://registry.npmjs.org/swiper/-/swiper-10.3.1.tgz",
17092
- "integrity": "sha512-24Wk3YUdZHxjc9faID97GTu6xnLNia+adMt6qMTZG/HgdSUt4fS0REsGUXJOgpTED0Amh/j+gRGQxsLayJUlBQ=="
17093
- },
17094
17089
  "symbol.prototype.description": {
17095
17090
  "version": "1.0.5",
17096
17091
  "resolved": "https://registry.npmjs.org/symbol.prototype.description/-/symbol.prototype.description-1.0.5.tgz",
@@ -18474,11 +18469,6 @@
18474
18469
  "resolved": "https://registry.npmjs.org/vue-apexcharts/-/vue-apexcharts-1.6.2.tgz",
18475
18470
  "integrity": "sha512-9HS3scJwWgKjmkcWIf+ndNDR0WytUJD8Ju0V2ZYcjYtlTLwJAf2SKUlBZaQTkDmwje/zMgulvZRi+MXmi+WkKw=="
18476
18471
  },
18477
- "vue-awesome-swiper": {
18478
- "version": "4.1.1",
18479
- "resolved": "https://registry.npmjs.org/vue-awesome-swiper/-/vue-awesome-swiper-4.1.1.tgz",
18480
- "integrity": "sha512-50um10t6N+lJaORkpwSi1wWuMmBI1sgFc9Znsi5oUykw2cO5DzLaBHcO2JNX21R+Ue4TGoIJDhhxjBHtkFrTEQ=="
18481
- },
18482
18472
  "vue-color": {
18483
18473
  "version": "2.8.1",
18484
18474
  "resolved": "https://registry.npmjs.org/vue-color/-/vue-color-2.8.1.tgz",
package/package.json CHANGED
@@ -1,83 +1,81 @@
1
1
  {
2
- "name": "toggle-components-library",
3
- "version": "1.32.0-beta.1",
4
- "private": false,
5
- "scripts": {
6
- "serve": "vue-cli-service serve",
7
- "build": "vue-cli-service build --target lib --name toggle-components-library src/index.js",
8
- "lint": "vue-cli-service lint",
9
- "storybook": "start-storybook -p 6006",
10
- "build-storybook": "build-storybook",
11
- "build-publish": "vue-cli-service build --target lib --name toggle-components-library src/index.js && npm publish"
2
+ "name": "toggle-components-library",
3
+ "version": "1.32.0-beta.11",
4
+ "private": false,
5
+ "scripts": {
6
+ "serve": "vue-cli-service serve",
7
+ "build": "vue-cli-service build --target lib --name toggle-components-library src/index.js",
8
+ "lint": "vue-cli-service lint",
9
+ "storybook": "start-storybook -p 6006",
10
+ "build-storybook": "build-storybook",
11
+ "build-publish": "vue-cli-service build --target lib --name toggle-components-library src/index.js && npm publish"
12
+ },
13
+ "main": "dist/toggle-components-library.common.js",
14
+ "module": "dist/toggle-components-library.esm.js",
15
+ "unpkg": "dist/toggle-components-library.umd.min.js",
16
+ "browser": {
17
+ "./sfc": "src/toggle-components-library.vue"
18
+ },
19
+ "files": [
20
+ "dist/*",
21
+ "src/*",
22
+ "public/*",
23
+ "*.json",
24
+ "*.js"
25
+ ],
26
+ "dependencies": {
27
+ "apexcharts": "^3.36.3",
28
+ "core-js": "^3.25.0",
29
+ "countries-list": "^2.6.1",
30
+ "date-fns": "^1.30.1",
31
+ "storybook-vue-router": "^1.0.7",
32
+ "vue": "^2.7.10",
33
+ "vue-airbnb-style-datepicker": "^2.7.1",
34
+ "vue-apexcharts": "^1.6.2",
35
+ "vue-color": "^2.7.1",
36
+ "vue-moment": "^4.1.0",
37
+ "vue-multiselect": "^2.0.8",
38
+ "vue-router": "^3.6.4",
39
+ "vue2-dropzone": "^3.6.0",
40
+ "vuedraggable": "^2.24.3",
41
+ "webfontloader": "^1.6.28"
42
+ },
43
+ "devDependencies": {
44
+ "@babel/core": "^7.18.13",
45
+ "@storybook/addon-actions": "^6.5.10",
46
+ "@storybook/addon-docs": "^6.5.10",
47
+ "@storybook/vue": "^6.5.10",
48
+ "@vue/cli-plugin-babel": "^4.5.3",
49
+ "@vue/cli-plugin-eslint": "^4.5.3",
50
+ "@vue/cli-service": "^4.5.3",
51
+ "babel-eslint": "^10.1.0",
52
+ "babel-loader": "^8.1.0",
53
+ "babel-preset-vue": "^2.0.2",
54
+ "eslint": "^6.7.2",
55
+ "eslint-plugin-vue": "^6.2.2",
56
+ "react": "^16.13.1",
57
+ "react-is": "^16.13.1",
58
+ "sass": "^1.54.5",
59
+ "sass-loader": "^8.0.2",
60
+ "vue-template-compiler": "^2.7.10"
61
+ },
62
+ "eslintConfig": {
63
+ "root": true,
64
+ "env": {
65
+ "node": true
12
66
  },
13
- "main": "dist/toggle-components-library.common.js",
14
- "module": "dist/toggle-components-library.esm.js",
15
- "unpkg": "dist/toggle-components-library.umd.min.js",
16
- "browser": {
17
- "./sfc": "src/toggle-components-library.vue"
18
- },
19
- "files": [
20
- "dist/*",
21
- "src/*",
22
- "public/*",
23
- "*.json",
24
- "*.js"
67
+ "extends": [
68
+ "plugin:vue/essential",
69
+ "eslint:recommended"
25
70
  ],
26
- "dependencies": {
27
- "apexcharts": "^3.36.3",
28
- "core-js": "^3.25.0",
29
- "countries-list": "^2.6.1",
30
- "date-fns": "^1.30.1",
31
- "storybook-vue-router": "^1.0.7",
32
- "swiper": "^10.3.0",
33
- "vue": "^2.7.10",
34
- "vue-airbnb-style-datepicker": "^2.7.1",
35
- "vue-apexcharts": "^1.6.2",
36
- "vue-awesome-swiper": "^4.1.1",
37
- "vue-color": "^2.7.1",
38
- "vue-moment": "^4.1.0",
39
- "vue-multiselect": "^2.0.8",
40
- "vue-router": "^3.6.4",
41
- "vue2-dropzone": "^3.6.0",
42
- "vuedraggable": "^2.24.3",
43
- "webfontloader": "^1.6.28"
44
- },
45
- "devDependencies": {
46
- "@babel/core": "^7.18.13",
47
- "@storybook/addon-actions": "^6.5.10",
48
- "@storybook/addon-docs": "^6.5.10",
49
- "@storybook/vue": "^6.5.10",
50
- "@vue/cli-plugin-babel": "^4.5.3",
51
- "@vue/cli-plugin-eslint": "^4.5.3",
52
- "@vue/cli-service": "^4.5.3",
53
- "babel-eslint": "^10.1.0",
54
- "babel-loader": "^8.1.0",
55
- "babel-preset-vue": "^2.0.2",
56
- "eslint": "^6.7.2",
57
- "eslint-plugin-vue": "^6.2.2",
58
- "react": "^16.13.1",
59
- "react-is": "^16.13.1",
60
- "sass": "^1.54.5",
61
- "sass-loader": "^8.0.2",
62
- "vue-template-compiler": "^2.7.10"
63
- },
64
- "eslintConfig": {
65
- "root": true,
66
- "env": {
67
- "node": true
68
- },
69
- "extends": [
70
- "plugin:vue/essential",
71
- "eslint:recommended"
72
- ],
73
- "parserOptions": {
74
- "parser": "babel-eslint"
75
- },
76
- "rules": {}
71
+ "parserOptions": {
72
+ "parser": "babel-eslint"
77
73
  },
78
- "browserslist": [
79
- "> 1%",
80
- "last 2 versions",
81
- "not dead"
82
- ]
74
+ "rules": {}
75
+ },
76
+ "browserslist": [
77
+ "> 1%",
78
+ "last 2 versions",
79
+ "not dead"
80
+ ]
83
81
  }
@@ -3,17 +3,17 @@
3
3
 
4
4
  <div class="funnel-grid-svg"></div>
5
5
 
6
- <div :class="{'funnel-spark-line funnel-grid-1': true, 'increase-padding-bottom': noSparkLine}">
7
- <slot :name="emailInsight ? 'metric1' : 'sparkLine1'"></slot>
6
+ <div class="funnel-spark-line funnel-grid-1">
7
+ <slot name="sparkLine1"></slot>
8
8
  </div>
9
- <div :class="{'funnel-spark-line funnel-grid-2': true, 'increase-padding-bottom': noSparkLine}">
10
- <slot :name="emailInsight ? 'metric2' : 'sparkLine2'"></slot>
9
+ <div class="funnel-spark-line funnel-grid-2">
10
+ <slot name="sparkLine2"></slot>
11
11
  </div>
12
- <div :class="{'funnel-spark-line funnel-grid-3': true, 'increase-padding-bottom': noSparkLine}">
13
- <slot :name="emailInsight ? 'metric3' : 'sparkLine3'"></slot>
12
+ <div class="funnel-spark-line funnel-grid-3">
13
+ <slot name="sparkLine3"></slot>
14
14
  </div>
15
- <div :class="{'funnel-spark-line funnel-grid-4': true, 'increase-padding-bottom': noSparkLine}">
16
- <slot :name="emailInsight ? 'metric4' : 'sparkLine4'"></slot>
15
+ <div class="funnel-spark-line funnel-grid-4">
16
+ <slot name="sparkLine4"></slot>
17
17
  </div>
18
18
 
19
19
  <div class="funnel-single-metric funnel-grid-5">
@@ -56,25 +56,6 @@ export default {
56
56
  name: {
57
57
  type: String,
58
58
  default: "ToggleMetricFunnelChart"
59
- },
60
- /**
61
- * If no SparkLine components are used in funnel
62
- * set to true to increase distance between
63
- * funnel and metrics
64
- */
65
- noSparkLine: {
66
- type: Boolean,
67
- default: false
68
- },
69
- /**
70
- * If funnel is used without SparkLine,
71
- * set prop to true
72
- * and name slots metric1, metric2 etc
73
- * for more generic use
74
- */
75
- emailInsight: {
76
- type: Boolean,
77
- default: false
78
59
  }
79
60
  }
80
61
  }
@@ -1,23 +1,17 @@
1
1
  <template>
2
2
  <div>
3
3
  <h3 class="toggle-metric metric-label">{{label}}</h3>
4
- <ToggleCalculateBadge v-if="pendingBadge && label.length" class="single-metric-badge"> 14 days until spend is calculated</ToggleCalculateBadge>
5
- <div class="single-metric-icon" v-else-if="pendingBadge && label.length == 0"></div>
6
- <h1 class="toggle-metric metric-value" v-else>{{metricValue}}</h1>
4
+ <h1 class="toggle-metric metric-value">{{metricValue}}</h1>
7
5
  </div>
8
6
  </template>
9
7
 
10
8
  <script>
11
9
 
12
- import { mixins } from '../mixins/mixins';
13
- import ToggleCalculateBadge from '../badges/ToggleCalculateBadge.vue';
10
+ import { mixins } from '../mixins/mixins'
14
11
 
15
12
 
16
13
  export default {
17
14
  mixins:[mixins],
18
- components: {
19
- ToggleCalculateBadge,
20
- },
21
15
  props: {
22
16
  /**
23
17
  * Component's name
@@ -69,13 +63,6 @@ export default {
69
63
  currencyDenomination: {
70
64
  type: Number,
71
65
  default: 1
72
- },
73
- /**
74
- * Displays badge or clock if metrics are still pending
75
- */
76
- pendingBadge: {
77
- type: Boolean,
78
- default: false
79
66
  }
80
67
  },
81
68
  computed: {
@@ -0,0 +1,39 @@
1
+ <template>
2
+ <div>
3
+ <div :class="['toggle-status-bar-container', statusColours]">
4
+ <label class="toggle-status-bar-label">
5
+ <span class="toggle-status-bar-dot" v-if="showDot">&#9679;</span>
6
+ {{ statusName }}
7
+ </label>
8
+ </div>
9
+ </div>
10
+ </template>
11
+
12
+ <script>
13
+ export default {
14
+ name: 'StatusBar',
15
+ props: {
16
+ status: {
17
+ type: String,
18
+ required: true,
19
+ validator: function (value) {
20
+ return ['draft', 'processing', 'complete', 'inactive', 'active'].indexOf(value) !== -1;
21
+ },
22
+ }
23
+ },
24
+ computed: {
25
+ // Capitalise the first letter of the status
26
+ statusName() {
27
+ return this.status.charAt(0).toUpperCase() + this.status.slice(1);
28
+ },
29
+ // Add the status to the class name
30
+ statusColours() {
31
+ return 'toggle-status-bar-' + this.status;
32
+ },
33
+ // Show the dot if the status is active or processing
34
+ showDot() {
35
+ return this.status === 'active' || this.status === 'processing';
36
+ }
37
+ }
38
+ }
39
+ </script>
package/src/index.js CHANGED
@@ -80,8 +80,7 @@ import ToggleMetricFunnelChart from "./components/metrics/ToggleMetricFunnelChar
80
80
  import ToggleThreeDots from "./components/threedots/ToggleThreeDots.vue";
81
81
  import ToggleThreeDotsButton from "./components/threedots/ToggleThreeDotsButton.vue";
82
82
 
83
- import ToggleCarousel from "./components/carousel/ToggleCarousel.vue";
84
- import ToggleCarouselSlide from "./components/carousel/ToggleCarouselSlide.vue";
83
+ import ToggleStatusBar from "./components/statusbar/ToggleStatusBar.vue";
85
84
 
86
85
 
87
86
  import './sass/main.scss';
@@ -149,8 +148,7 @@ const Components = {
149
148
  ToggleBoosterBasicButton,
150
149
  ToggleBoosterModal,
151
150
  ToggleContactSearch,
152
- ToggleCarousel,
153
- ToggleCarouselSlide
151
+ ToggleStatusBar
154
152
  }
155
153
 
156
154
  Object.keys(Components).forEach(name => {
@@ -32,82 +32,4 @@
32
32
  &.empty {
33
33
  background-color: $toggle-placeholder-grey;
34
34
  }
35
- }
36
-
37
- .toggle-podium-badge {
38
- @include toggle-global-font-config;
39
- display: inline-flex;
40
- justify-content: center;
41
- align-items: center;
42
- width: fit-content;
43
- border-radius: 20px;
44
- color: white;
45
- font-size: $toggle-font-size-regular;
46
- font-weight: 900;
47
- padding: 5px 18px 5px 10px;
48
-
49
- &.first {
50
- background-color: #efd028;
51
- }
52
-
53
- &.second{
54
- background-color: #adb4c9;
55
-
56
- }
57
-
58
- &.third {
59
- background-color: #d99a0c;
60
- }
61
-
62
- }
63
-
64
- .podium-number {
65
- display: flex;
66
- justify-content: center;
67
- align-items: center;
68
- opacity: 1;
69
- width: 26px;
70
- height: 26px;
71
- border-radius: 50%;
72
- text-align: center;
73
- margin-right: 20px;
74
- margin-left: -4px;
75
- }
76
-
77
- .first .podium-number{
78
- background: transparent linear-gradient(132deg, #FFD700 0%, #F0E4A2 100%) 0% 0% no-repeat padding-box;
79
- color: #CBAF15;
80
- }
81
-
82
- .second .podium-number{
83
- background: transparent linear-gradient(132deg, #C6C9D5 0%, #DEE2EF 100%) 0% 0% no-repeat padding-box;
84
- color: #8C92A3;
85
- }
86
-
87
- .third .podium-number{
88
- background: transparent linear-gradient(132deg, #E8B33C 0%, #F8CE6E 100%) 0% 0% no-repeat padding-box;
89
- color: #C18A0E;
90
- }
91
-
92
- .toggle-calculate-badge{
93
- display: inline-flex;
94
- justify-content: space-between;
95
- align-items: center;
96
- width: fit-content;
97
- background-color: #E4EBED;
98
- color: #6D90B4;
99
- border-radius: 50px;
100
- padding: 10px 20px 10px 15px;
101
- font-family: $toggle-font-family;
102
- font-size: 0.8rem;
103
- font-weight:lighter;
104
-
105
- .clock-icon {
106
- background-image: url('../assets/icons/clock-solid.svg');
107
- background-repeat:no-repeat;
108
- background-size:contain;
109
- height: 22px;
110
- width: 22px;
111
- margin-right: 15px;
112
- }
113
35
  }
@@ -328,102 +328,4 @@
328
328
  top: 50%;
329
329
  margin-top: -0.5rem;
330
330
  box-sizing: content-box;
331
- }
332
-
333
- .toggle-metrics-button {
334
- display: inline-flex;
335
- border-radius: 50px;
336
- padding: 5px 20px;
337
- justify-content: center;
338
- align-items: center;
339
- cursor: pointer;
340
-
341
-
342
- &.heatmap{
343
- background-image: linear-gradient(to right, #fbb415 0%, #f75d05 51%, #d01d2c 100%);
344
- border: none;
345
- color: #ffeab2;
346
- height: 40px;
347
- width: fit-content;
348
- font-weight: 600;
349
- transition: all .2s ease-in-out;
350
-
351
- &:hover {
352
- background-image: linear-gradient(to right, #ffc341 0%, #ff7b2e 51%, #d23e4a 100%);
353
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
354
-
355
- .heatmap-icon {
356
- transform: scale(1.1);
357
- transition: transform 0.2s ease-in-out;
358
- }
359
- }
360
- }
361
-
362
- &.email {
363
- background-color: #257de5;
364
- color: white;
365
- border: none;
366
- height: 40px;
367
- width: fit-content;
368
- font-weight: 600;
369
- transition: all 0.2s ease-in-out;
370
-
371
- &:hover {
372
- background-color: #4196ff;
373
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
374
-
375
- .email-icon {
376
- transform: scale(1.1);
377
- transition: transform 0.2s ease-in-out;
378
- }
379
- }
380
- }
381
-
382
- &.mini-contacts {
383
- border: 2px solid #6d90b4;
384
- color: #6d90b4;
385
- background-color: white;
386
- padding: 7px 14px;
387
- width: fit-content;
388
- transition: all 0.2s ease-in-out;
389
- font-weight: 600;
390
- font-size: 0.7rem;
391
-
392
- &:hover {
393
- background-color: #6d90b4;
394
- color: white;
395
- }
396
-
397
- &:hover .contacts-icon {
398
- background-image: url("../assets/icons/contacts-white.svg");
399
- }
400
- }
401
- //icons
402
- .heatmap-icon {
403
- background-image: url("../assets/icons/view_heatmap.svg");
404
- background-repeat:no-repeat;
405
- background-size:contain;
406
- margin-right: 15px;
407
- width: 25px;
408
- height: 25px;
409
- }
410
-
411
- .email-icon {
412
- background-image: url("../assets/icons/view_email.svg");
413
- background-repeat:no-repeat;
414
- background-size:contain;
415
- margin-right: 15px;
416
- width: 30px;
417
- height: 30px;
418
- }
419
-
420
- .contacts-icon {
421
- background-image: url("../assets/icons/contacts-greyblue.svg");
422
- background-repeat:no-repeat;
423
- background-size:contain;
424
- margin-right: 6px;
425
- width: 14px;
426
- height: 14px;
427
- transition: all 0.2s ease-in-out;
428
- }
429
- }
331
+ }
@@ -16,7 +16,6 @@
16
16
  font-size: 275%;
17
17
  color: $toggle-metric-label-black;
18
18
  }
19
-
20
19
  }
21
20
 
22
21
 
@@ -26,7 +25,7 @@
26
25
  grid-template-columns: 1fr 1fr 1fr 1fr;
27
26
  display: grid;
28
27
  grid-auto-flow: column;
29
-
28
+
30
29
  }
31
30
 
32
31
  .funnel-grid-svg {
@@ -80,7 +79,7 @@
80
79
  grid-column-start: 2;
81
80
  grid-row-end: 3;
82
81
  grid-column-end: 3;
83
- display: flex;
82
+ display: flex;
84
83
  }
85
84
 
86
85
  .funnel-grid-7 {
@@ -102,7 +101,7 @@
102
101
  .funnel-spark-line, .funnel-single-metric {
103
102
  margin-right: 1rem;
104
103
  border-right: 1px solid #BCDBEE;
105
-
104
+
106
105
  &:nth-child(5), &:last-child {
107
106
  border: 0;
108
107
  }
@@ -118,20 +117,4 @@
118
117
  align-items: center;
119
118
  justify-content: center;
120
119
  width: 100%;
121
- }
122
-
123
- .single-metric-badge {
124
- margin-top: 0.6rem;
125
- }
126
-
127
- .single-metric-icon {
128
- background-image: url('../assets/icons/clock-solid.svg');
129
- background-repeat:no-repeat;
130
- background-size:contain;
131
- height: 25px;
132
- width: 25px;
133
- }
134
-
135
- .increase-padding-bottom {
136
- padding-bottom: 3rem !important;
137
120
  }
@@ -0,0 +1,60 @@
1
+ .toggle-status-bar-container {
2
+ font-family: $toggle-font-family;
3
+ display: flex;
4
+ justify-content: center;
5
+ align-items: center;
6
+ height: 50px;
7
+ width: 100%;
8
+ border-radius: 7px;
9
+ }
10
+
11
+ // Draft colours
12
+ .toggle-status-bar-draft {
13
+ background-color: #FFB88D;
14
+
15
+ .toggle-status-bar-label {
16
+ color: #A34308;
17
+ }
18
+ }
19
+
20
+ // Processing colours
21
+ .toggle-status-bar-processing {
22
+ background-color: #D7E9F2;
23
+
24
+ .toggle-status-bar-label {
25
+ color: #269BE3;
26
+ }
27
+ }
28
+
29
+ // Complete colours
30
+ .toggle-status-bar-complete {
31
+ background-color: #B3E49F;
32
+
33
+ .toggle-status-bar-label {
34
+ color: #3BB40B;
35
+ }
36
+ }
37
+
38
+ // Inactive colours
39
+ .toggle-status-bar-inactive {
40
+ background-color: #D7E9F2;
41
+
42
+ .toggle-status-bar-label {
43
+ color: #269BE3;
44
+ }
45
+ }
46
+
47
+ // Active colours
48
+ .toggle-status-bar-active {
49
+ background-color: #D7E9F2;
50
+ border: 1px solid #FF4848;
51
+
52
+ .toggle-status-bar-label {
53
+ color: #FF4848;
54
+ }
55
+ }
56
+
57
+ .toggle-status-bar-dot {
58
+ font-size: 20px;
59
+ margin: 0 3px 0 0;
60
+ }
@@ -21,5 +21,4 @@
21
21
  @import "./includes/_as_metrics.scss";
22
22
  @import "./includes/_as_threedots.scss";
23
23
  @import "./includes/_as_boosters.scss";
24
- @import "./includes/_as_cards.scss";
25
- @import "./includes/_as_carousels.scss";
24
+ @import "./includes/_as_statusbar.scss";
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#6D90B4}</style><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#6d90b4}</style><path d="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#fff}</style><path d="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"/></svg>
@@ -1,7 +0,0 @@
1
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
-
3
- <svg width="800px" height="800px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" fill="#000000">
4
-
5
-
6
-
7
-
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#ffeab2}</style><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></svg>