toggle-components-library 1.34.0-beta.6 → 1.34.0-beta.7
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-feedback-hover.a207c947.svg +10 -0
- package/dist/img/airship-feedback.1f7c858c.svg +10 -0
- package/dist/toggle-components-library.common.js +238 -201
- 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 +238 -201
- 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-lock.json +89 -70
- package/package.json +1 -1
- package/src/assets/icons/airship-feedback-hover.svg +10 -0
- package/src/assets/icons/airship-feedback.svg +10 -0
- package/src/components/boosters/ToggleBoosterButton.vue +13 -27
- package/src/components/buttons/ToggleButton.vue +9 -39
- package/src/components/buttons/ToggleMetricsButton.vue +18 -2
- package/src/components/cards/ToggleCommentCard.vue +66 -0
- package/src/components/metrics/ToggleMetricSingleMetric.vue +6 -5
- package/src/components/metrics/ToggleMetricSparkLine.vue +1 -1
- package/src/components/tables/ToggleTableRow.vue +2 -20
- package/src/index.js +3 -1
- package/src/sass/includes/_as_boosters.scss +0 -34
- package/src/sass/includes/_as_buttons.scss +30 -76
- package/src/sass/includes/_as_cards.scss +28 -0
- package/src/sass/includes/_as_metrics.scss +6 -0
- package/src/sass/includes/_as_navs.scss +16 -0
- package/src/sass/includes/_as_table.scss +2 -4
- package/dist/img/contacts-greyblue.ef6f8a9a.svg +0 -1
- package/dist/img/contacts-white.95d07c7a.svg +0 -1
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
&:hover .contacts-icon {
|
|
398
|
-
background-
|
|
398
|
+
background-color: white;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
//icons
|
|
@@ -418,9 +418,11 @@
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.contacts-icon {
|
|
421
|
-
|
|
422
|
-
background-
|
|
423
|
-
|
|
421
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='.9em' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cstyle%3Esvg%7Bfill:%23fff%7D%3C/style%3E%3Cpath 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'/%3E%3C/svg%3E");
|
|
422
|
+
background-color: #6d90b4;
|
|
423
|
+
-webkit-mask: var(--svg);
|
|
424
|
+
mask: var(--svg);
|
|
425
|
+
mask-repeat: no-repeat;
|
|
424
426
|
margin-right: 6px;
|
|
425
427
|
width: 14px;
|
|
426
428
|
height: 14px;
|
|
@@ -428,82 +430,34 @@
|
|
|
428
430
|
}
|
|
429
431
|
}
|
|
430
432
|
|
|
431
|
-
.toggle-button-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
background-repeat: no-repeat;
|
|
442
|
-
animation: shimmer 4s infinite;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.toggle-button-booster-image-badge {
|
|
446
|
-
width: 6rem;
|
|
447
|
-
height: 2rem;
|
|
448
|
-
display: flex;
|
|
449
|
-
align-items: center;
|
|
450
|
-
justify-content: center;
|
|
451
|
-
border-radius: 4px;
|
|
452
|
-
margin: 0 0 0 20px;
|
|
453
|
-
padding: 0px 8px 0px 8px;
|
|
454
|
-
width: 6rem;
|
|
455
|
-
height: 1.8rem;
|
|
456
|
-
.toggle-button-booster-image {
|
|
457
|
-
width: 100%;
|
|
458
|
-
height: 100%;
|
|
433
|
+
.toggle-metrics-button-small {
|
|
434
|
+
padding: 0px 13px;
|
|
435
|
+
font-size: 12px;
|
|
436
|
+
&.mini-contacts {
|
|
437
|
+
font-size: 0.65rem;
|
|
438
|
+
padding: 5px 12px;
|
|
439
|
+
}
|
|
440
|
+
.heatmap-icon {
|
|
441
|
+
width: 21px;
|
|
442
|
+
height: 21px;
|
|
459
443
|
}
|
|
460
|
-
|
|
461
|
-
|
|
444
|
+
.email-icon {
|
|
445
|
+
width: 25px;
|
|
446
|
+
height: 25px;
|
|
462
447
|
}
|
|
463
|
-
|
|
464
|
-
|
|
448
|
+
.contacts-icon {
|
|
449
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='.8em' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cstyle%3Esvg%7Bfill:%23fff%7D%3C/style%3E%3Cpath 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'/%3E%3C/svg%3E");
|
|
450
|
+
-webkit-mask: var(--svg);
|
|
451
|
+
mask: var(--svg);
|
|
452
|
+
mask-repeat: no-repeat;
|
|
465
453
|
}
|
|
466
454
|
}
|
|
467
455
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
/* Tooltip text */
|
|
476
|
-
.toggle-button-tooltip-container .toggle-button-tooltip-text {
|
|
477
|
-
visibility: hidden;
|
|
478
|
-
width: 120px;
|
|
479
|
-
height: fit-content;
|
|
480
|
-
background-color: black;
|
|
481
|
-
color: #fff;
|
|
482
|
-
text-align: center;
|
|
483
|
-
padding: 5px;
|
|
484
|
-
border-radius: 6px;
|
|
485
|
-
position: absolute;
|
|
486
|
-
z-index: 999;
|
|
487
|
-
top: 100%;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.toggle-button-tooltip-text {
|
|
491
|
-
font-family: $toggle-font-family;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
.toggle-button-tooltip-container:hover .toggle-button-tooltip-text {
|
|
495
|
-
visibility: visible;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
// Shimmer animation for booster badge
|
|
499
|
-
@keyframes shimmer {
|
|
500
|
-
0% {
|
|
501
|
-
mask-position: right;
|
|
502
|
-
}
|
|
503
|
-
30% {
|
|
504
|
-
mask-position: left;
|
|
505
|
-
}
|
|
506
|
-
100% {
|
|
507
|
-
mask-position: left;
|
|
456
|
+
.toggle-metrics-button-large {
|
|
457
|
+
padding: 23px 27px;
|
|
458
|
+
font-size: 17px;
|
|
459
|
+
&.mini-contacts {
|
|
460
|
+
font-size: .92rem;
|
|
461
|
+
padding: 10px 25px;
|
|
508
462
|
}
|
|
509
463
|
}
|
|
@@ -164,3 +164,31 @@
|
|
|
164
164
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
.toggle-comment-card {
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-direction: row;
|
|
170
|
+
max-width: 750px;
|
|
171
|
+
height: 250px;
|
|
172
|
+
border-radius: 18px;
|
|
173
|
+
margin: 16px;
|
|
174
|
+
font-size: $toggle-font-size-regular;
|
|
175
|
+
font-family: $toggle-font-family;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.toggle-comment-card-info {
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
justify-content: space-between;
|
|
182
|
+
padding: 40px 20px 20px 20px;
|
|
183
|
+
color: white;
|
|
184
|
+
border-radius: 30px;
|
|
185
|
+
|
|
186
|
+
.toggle-comment-card-text {
|
|
187
|
+
text-align: left;
|
|
188
|
+
line-height: 1.5rem;
|
|
189
|
+
|
|
190
|
+
p {
|
|
191
|
+
margin: 0
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -342,6 +342,11 @@
|
|
|
342
342
|
&.airship-hat-icon span::before {
|
|
343
343
|
background-image: url("../assets/icons/airship-hat-hover.svg");
|
|
344
344
|
}
|
|
345
|
+
|
|
346
|
+
&.airship-feedback-icon a::before,
|
|
347
|
+
&.airship-feedback-icon span::before {
|
|
348
|
+
background-image: url("../assets/icons/airship-feedback-hover.svg");
|
|
349
|
+
}
|
|
345
350
|
}
|
|
346
351
|
}
|
|
347
352
|
|
|
@@ -506,6 +511,17 @@
|
|
|
506
511
|
animation: tilt-shake 0.4s;
|
|
507
512
|
background-image: url("../assets/icons/airship-audiences-hover.svg");
|
|
508
513
|
}
|
|
514
|
+
// add feedbacl
|
|
515
|
+
&.airship-feedback-icon a::before,
|
|
516
|
+
&.airship-feedback-icon span::before {
|
|
517
|
+
background-image: url("../assets/icons/airship-feedback.svg");
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
&.airship-feedback-icon a:hover::before,
|
|
521
|
+
&.airship-feedback-icon span:hover::before {
|
|
522
|
+
animation: tilt-shake 0.4s;
|
|
523
|
+
background-image: url("../assets/icons/airship-feedback-hover.svg");
|
|
524
|
+
}
|
|
509
525
|
|
|
510
526
|
}
|
|
511
527
|
}
|
|
@@ -117,7 +117,9 @@ table.toggle-table {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
|
|
120
121
|
tr.toggle-tablee-tr {
|
|
122
|
+
|
|
121
123
|
&:hover {
|
|
122
124
|
background-color: #FFF;
|
|
123
125
|
.arrow-order {
|
|
@@ -144,10 +146,6 @@ table.toggle-table {
|
|
|
144
146
|
|
|
145
147
|
|
|
146
148
|
}
|
|
147
|
-
tr.toggle-tablee-tr.tr-disabled * {
|
|
148
|
-
opacity: 0.5;
|
|
149
|
-
cursor: not-allowed;
|
|
150
|
-
}
|
|
151
149
|
|
|
152
150
|
}
|
|
153
151
|
|
|
@@ -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>
|