toggle-components-library 1.34.0-beta.5 → 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 -77
- 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,83 +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
|
-
z-index: 99;
|
|
447
|
-
width: 6rem;
|
|
448
|
-
height: 2rem;
|
|
449
|
-
display: flex;
|
|
450
|
-
align-items: center;
|
|
451
|
-
justify-content: center;
|
|
452
|
-
border-radius: 4px;
|
|
453
|
-
margin: 0 0 0 20px;
|
|
454
|
-
padding: 0px 8px 0px 8px;
|
|
455
|
-
width: 6rem;
|
|
456
|
-
height: 1.8rem;
|
|
457
|
-
.toggle-button-booster-image {
|
|
458
|
-
width: 100%;
|
|
459
|
-
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;
|
|
460
443
|
}
|
|
461
|
-
|
|
462
|
-
|
|
444
|
+
.email-icon {
|
|
445
|
+
width: 25px;
|
|
446
|
+
height: 25px;
|
|
463
447
|
}
|
|
464
|
-
|
|
465
|
-
|
|
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;
|
|
466
453
|
}
|
|
467
454
|
}
|
|
468
455
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
/* Tooltip text */
|
|
477
|
-
.toggle-button-tooltip-container .toggle-button-tooltip-text {
|
|
478
|
-
visibility: hidden;
|
|
479
|
-
width: 120px;
|
|
480
|
-
height: fit-content;
|
|
481
|
-
background-color: black;
|
|
482
|
-
color: #fff;
|
|
483
|
-
text-align: center;
|
|
484
|
-
padding: 5px;
|
|
485
|
-
border-radius: 6px;
|
|
486
|
-
position: absolute;
|
|
487
|
-
z-index: 999;
|
|
488
|
-
top: 100%;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.toggle-button-tooltip-text {
|
|
492
|
-
font-family: $toggle-font-family;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.toggle-button-tooltip-container:hover .toggle-button-tooltip-text {
|
|
496
|
-
visibility: visible;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
// Shimmer animation for booster badge
|
|
500
|
-
@keyframes shimmer {
|
|
501
|
-
0% {
|
|
502
|
-
mask-position: right;
|
|
503
|
-
}
|
|
504
|
-
30% {
|
|
505
|
-
mask-position: left;
|
|
506
|
-
}
|
|
507
|
-
100% {
|
|
508
|
-
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;
|
|
509
462
|
}
|
|
510
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>
|