@sc-360-v2/storefront-cms-library 0.4.39 → 0.4.41

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.
@@ -31,7 +31,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
31
31
  align-items: center;
32
32
  align-self: stretch;
33
33
  border-radius: 4px;
34
- border: 0.5px solid #d0d5dd;
34
+ border: 0.5px solid var(--_thm-cs-be-se-3);
35
35
  background: #fff;
36
36
  // gap: var(--_ctm-lt-im-gp);
37
37
  padding: var(--_ctm-lt-pg);
@@ -48,26 +48,25 @@ $resizeActive: '[data-cms-element-resizer="true"]';
48
48
  --_ctm-mob-dn-hr-cr-bd-cr,
49
49
  var(--_ctm-tab-dn-hr-cr-bd-cr, var(--_ctm-dn-hr-cr-bd-cr))
50
50
  );
51
- border-bottom: 0.5px solid #d0d5dd;
52
- // border-color: var(
51
+ // border-bottom: 0.5px solid var(--_thm-cs-be-se-3);
52
+ border-color: prepareMediaVariable(--_ctm-dn-hr-cr-br-cr);
53
+ // var(
53
54
  // --_ctm-mob-dn-hr-cr-br-cr,
54
55
  // var(--_ctm-tab-dn-hr-cr-br-cr, var(--_ctm-dn-hr-cr-br-cr))
55
56
  // );
56
- // border-style: var(
57
+ border-style: prepareMediaVariable(--_ctm-dn-hr-cr-br-se);
58
+ // var(
57
59
  // --_ctm-mob-dn-hr-cr-br-se,
58
60
  // var(--_ctm-tab-dn-hr-cr-br-se, var(--_ctm-dn-hr-cr-br-se))
59
61
  // );
60
- // border-width: var(
62
+ border-width: prepareMediaVariable(--_ctm-dn-hr-cr-br-wh);
63
+ // var(
61
64
  // --_ctm-mob-dn-hr-cr-br-wh,
62
65
  // var(--_ctm-tab-dn-hr-cr-br-wh, var(--_ctm-dn-hr-cr-br-wh))
63
66
  // );
64
- // border-bottom: 1px solid
65
- // var(--_ctm-mob-dn-hr-cr-br-wh, var(--_ctm-tab-dn-hr-cr-br-wh, var(--_ctm-dn-hr-cr-br-wh)));
66
- // border-radius: var(
67
- // --_ctm-mob-dn-hr-cr-br-rs,
68
- // var(--_ctm-tab-dn-hr-cr-br-rs, var(--_ctm-dn-hr-cr-br-rs))
69
- // );
70
- padding: var(--_ctm-mob-dn-hr-cr-pg, var(--_ctm-tab-dn-hr-cr-pg, var(--_ctm-dn-hr-cr-pg)));
67
+ padding: prepareMediaVariable(
68
+ --_ctm-dn-hr-cr-pg
69
+ ); // var(--_ctm-mob-dn-hr-cr-pg, var(--_ctm-tab-dn-hr-cr-pg, var(--_ctm-dn-hr-cr-pg)))
71
70
  box-shadow: var(
72
71
  var(
73
72
  --_ctm-mob-dn-hr-cr-sw-ae,
@@ -167,7 +166,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
167
166
  // padding: calc(var(--_ctm-lt-by-pg) / 2) var(--_ctm-lt-by-pg);
168
167
  // padding: var(--_ctm-lt-by-pg);
169
168
  // gap: var(--_ctm-lt-im-gp);
170
- border-top: 1px solid var(--_gray-300);
169
+ border-top: 1px solid var(--_thm-cs-be-se-3);
171
170
  background-color: var(
172
171
  --_ctm-mob-dn-ct-by-wt-bd-cr,
173
172
  var(--_ctm-tab-dn-ct-by-wt-bd-cr, var(--_ctm-dn-ct-by-wt-bd-cr))
@@ -592,6 +591,86 @@ $resizeActive: '[data-cms-element-resizer="true"]';
592
591
  var(--_ctm-tab-dn-nr-of-is-tt-an-dc, var(--_ctm-dn-nr-of-is-tt-an-dc))
593
592
  );
594
593
  }
594
+ .cart_summary_show_coupon_text {
595
+ // color: var(--_gray-500);
596
+ // font-size: 14px;
597
+ // font-weight: 400;
598
+ font-family: var(
599
+ --_ctm-mob-dn-sw-cn-ce-ft-fy,
600
+ var(--_ctm-tab-dn-sw-cn-ce-ft-fy, var(--_ctm-dn-sw-cn-ce-ft-fy))
601
+ );
602
+ color: var(
603
+ --_ctm-mob-dn-sw-cn-ce-cr,
604
+ var(--_ctm-tab-dn-sw-cn-ce-cr, var(--_ctm-dn-sw-cn-ce-cr))
605
+ );
606
+ font-weight: var(
607
+ --_ctm-mob-dn-sw-cn-ce-ft-wt,
608
+ var(--_ctm-tab-dn-sw-cn-ce-ft-wt, var(--_ctm-dn-sw-cn-ce-ft-wt))
609
+ );
610
+ font-size: var(
611
+ --_ctm-mob-dn-sw-cn-ce-ft-se,
612
+ var(--_ctm-tab-dn-sw-cn-ce-ft-se, var(--_ctm-dn-sw-cn-ce-ft-se))
613
+ );
614
+ // font-size: 14px;
615
+ text-decoration: var(
616
+ --_ctm-mob-dn-sw-cn-ce-ue,
617
+ var(--_ctm-tab-dn-sw-cn-ce-ue, var(--_ctm-dn-sw-cn-ce-ue))
618
+ );
619
+ letter-spacing: var(
620
+ --_ctm-mob-dn-sw-cn-ce-lr-sg,
621
+ var(--_ctm-tab-dn-sw-cn-ce-lr-sg, var(--_ctm-dn-sw-cn-ce-lr-sg))
622
+ );
623
+ line-height: var(
624
+ --_ctm-mob-dn-sw-cn-ce-le-ht,
625
+ var(--_ctm-tab-dn-sw-cn-ce-le-ht, var(--_ctm-dn-sw-cn-ce-le-ht))
626
+ );
627
+ font-style: var(
628
+ --_ctm-mob-dn-sw-cn-ce-ft-se-ic,
629
+ var(--_ctm-tab-dn-sw-cn-ce-ft-se-ic, var(--_ctm-dn-sw-cn-ce-ft-se-ic))
630
+ );
631
+ text-align: var(
632
+ --_ctm-mob-dn-sw-cn-ce-tt-an,
633
+ var(--_ctm-tab-dn-sw-cn-ce-tt-an, var(--_ctm-dn-sw-cn-ce-tt-an))
634
+ );
635
+ }
636
+ .cart_summary_show_coupon_value {
637
+ font-family: var(
638
+ --_ctm-mob-dn-sw-cn-ce-ft-fy-dc,
639
+ var(--_ctm-tab-dn-sw-cn-ce-ft-fy-dc, var(--_ctm-dn-sw-cn-ce-ft-fy-dc))
640
+ );
641
+ color: var(
642
+ --_ctm-mob-dn-sw-cn-ce-cr-dc,
643
+ var(--_ctm-tab-dn-sw-cn-ce-cr-dc, var(--_ctm-dn-sw-cn-ce-cr-dc))
644
+ );
645
+ font-weight: var(
646
+ --_ctm-mob-dn-sw-cn-ce-ft-wt-dc,
647
+ var(--_ctm-tab-dn-sw-cn-ce-ft-wt-dc, var(--_ctm-dn-sw-cn-ce-ft-wt-dc))
648
+ );
649
+ font-size: var(
650
+ --_ctm-mob-dn-sw-cn-ce-ft-se-dc,
651
+ var(--_ctm-tab-dn-sw-cn-ce-ft-se-dc, var(--_ctm-dn-sw-cn-ce-ft-se-dc))
652
+ );
653
+ text-decoration: var(
654
+ --_ctm-mob-dn-sw-cn-ce-ue-dc,
655
+ var(--_ctm-tab-dn-sw-cn-ce-ue-dc, var(--_ctm-dn-sw-cn-ce-ue-dc))
656
+ );
657
+ letter-spacing: var(
658
+ --_ctm-mob-dn-sw-cn-ce-lr-sg-dc,
659
+ var(--_ctm-tab-dn-sw-cn-ce-lr-sg-dc, var(--_ctm-dn-sw-cn-ce-lr-sg-dc))
660
+ );
661
+ line-height: var(
662
+ --_ctm-mob-dn-sw-cn-ce-le-ht-dc,
663
+ var(--_ctm-tab-dn-sw-cn-ce-le-ht-dc, var(--_ctm-dn-sw-cn-ce-le-ht-dc))
664
+ );
665
+ font-style: var(
666
+ --_ctm-mob-dn-sw-cn-ce-ft-se-ic-dc,
667
+ var(--_ctm-tab-dn-sw-cn-ce-ft-se-ic-dc, var(--_ctm-dn-sw-cn-ce-ft-se-ic-dc))
668
+ );
669
+ text-align: var(
670
+ --_ctm-mob-dn-sw-cn-ce-tt-an-dc,
671
+ var(--_ctm-tab-dn-sw-cn-ce-tt-an-dc, var(--_ctm-dn-sw-cn-ce-tt-an-dc))
672
+ );
673
+ }
595
674
  }
596
675
  .cart_summary_content_details_wrapper {
597
676
  display: flex;
@@ -2645,5 +2724,5 @@ $resizeActive: '[data-cms-element-resizer="true"]';
2645
2724
  }
2646
2725
 
2647
2726
  .border_dashed {
2648
- border: 1px dashed var(--_gray-300);
2727
+ border: 1px dashed var(--_thm-cs-be-se-3);
2649
2728
  }
@@ -11,13 +11,13 @@
11
11
  display: flex;
12
12
  justify-content: space-between;
13
13
  padding: 0px 12px;
14
- border-radius: 6px;
14
+ border-radius: 4px;
15
15
  width: 100%;
16
16
  align-items: center;
17
17
  height: 40px;
18
18
  line-height: 40px;
19
19
  outline: 2px solid var(--_base-white);
20
- border: 1px solid var(--_gray-300);
20
+ border: 1px solid var(--_thm-cs-be-se-3);
21
21
 
22
22
  .selected-display {
23
23
  .selected-item {
@@ -49,7 +49,7 @@
49
49
  align-items: center;
50
50
  gap: 8px;
51
51
  .selected-item {
52
- border: 1px solid var(--_gray-300);
52
+ border: 1px solid var(--_thm-cs-be-se-3);
53
53
  border-radius: 4px;
54
54
  padding: 2px 4px;
55
55
  font-size: 12px;
@@ -91,7 +91,7 @@
91
91
  user-select: none;
92
92
 
93
93
  input {
94
- background-color: #f5f5f5;
94
+ background-color: var(--_thm-cs-be-se-2);
95
95
  cursor: not-allowed;
96
96
  }
97
97
  }
@@ -106,7 +106,7 @@
106
106
  min-width: 88%;
107
107
  overflow: hidden;
108
108
  .dropdown-chip {
109
- background: #e2e2e2;
109
+ background: var(--_thm-cs-be-se-2);
110
110
  padding: 4px 8px;
111
111
  border-radius: 12px;
112
112
  font-size: 12px;
@@ -142,8 +142,11 @@
142
142
  .readonly-input,
143
143
  .dropdown__clear__icon,
144
144
  .dropdown__icon {
145
+ // transition: transform 0.4s ease-in-out;
145
146
  .icon {
147
+ // transition: transform 0.4s ease-in-out;
146
148
  display: flex;
149
+ // transform: rotate(0deg);
147
150
  &:hover {
148
151
  svg path {
149
152
  stroke: var(--_gray-700);
@@ -153,6 +156,12 @@
153
156
  width: 16px;
154
157
  height: 16px;
155
158
  }
159
+ // &.up {
160
+ // transform: rotate(0deg);
161
+ // }
162
+ // &.down {
163
+ // transform: rotate(180deg);
164
+ // }
156
165
  &.up,
157
166
  &.down {
158
167
  svg {
@@ -200,8 +209,8 @@
200
209
  position: fixed;
201
210
  width: 100%;
202
211
  background: white;
203
- border: 1px solid var(--_gray-200);
204
- border-radius: 6px;
212
+ border: 1px solid var(--_thm-cs-be-se-3);
213
+ border-radius: 4px;
205
214
  max-height: 200px;
206
215
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
207
216
  z-index: 10;
@@ -222,7 +231,7 @@
222
231
  .dropdown_template_panel_search {
223
232
  background: none;
224
233
  padding: 8px;
225
- border-bottom: 1px solid var(--_gray-100);
234
+ border-bottom: 1px solid var(--_thm-cs-be-se-3);
226
235
  height: max-content !important;
227
236
  position: relative;
228
237
  &:hover {
@@ -233,7 +242,7 @@
233
242
  width: 100%;
234
243
  padding-inline: 10px;
235
244
  border-radius: 4px;
236
- border: 1px solid var(--_gray-200);
245
+ border: 1px solid var(--_thm-cs-be-se-3);
237
246
  height: 40px;
238
247
  &:focus {
239
248
  border: 1px solid var(--_gray-300);
@@ -333,7 +342,7 @@
333
342
  height: 32px;
334
343
  border-radius: 50%;
335
344
  overflow: hidden;
336
- background-color: var(--_gray-200);
345
+ background-color: var(--_thm-cs-be-se-3);
337
346
  display: flex;
338
347
  justify-content: center;
339
348
  align-items: center;
@@ -479,7 +488,7 @@
479
488
  // bottom: 0;
480
489
  width: 100%;
481
490
  background: #fff;
482
- border-top: 1px solid var(--_gray-200);
491
+ border-top: 1px solid var(--_thm-cs-be-se-3);
483
492
  .opts_selection_action {
484
493
  width: 50%;
485
494
  height: 100%;
@@ -497,7 +506,7 @@
497
506
  }
498
507
  }
499
508
  &:not(:last-child) {
500
- border-right: 1px solid var(--_gray-200);
509
+ border-right: 1px solid var(--_thm-cs-be-se-3);
501
510
  }
502
511
  &.discard_selection {
503
512
  &:hover {
package/dist/filters.scss CHANGED
@@ -2099,7 +2099,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
2099
2099
  // padding: 20px;
2100
2100
  width: 100%;
2101
2101
  max-width: 300px;
2102
- margin: auto;
2102
+ // margin: auto;
2103
2103
  }
2104
2104
 
2105
2105
  .range-slider {
@@ -422,10 +422,6 @@
422
422
 
423
423
  width: 100%;
424
424
 
425
- &.open .list {
426
- display: flex;
427
- animation: slideDown 0.8s ease-in-out;
428
- }
429
425
  .dropdown__button__wrapper {
430
426
  width: 100%;
431
427
  padding: var(--_ctm-mob-lt-im-pg, var(--_ctm-tab-lt-im-pg, var(--_ctm-lt-im-pg)));
@@ -452,10 +448,10 @@
452
448
  right: 0;
453
449
  transition: transform 0.4s ease-in-out;
454
450
  display: flex;
455
- &.open {
451
+ &.rotate__180 {
456
452
  transform: rotate(180deg);
457
453
  }
458
- &.close {
454
+ &.rotate__0 {
459
455
  transform: rotate(0deg);
460
456
  }
461
457
  width: prepareMediaVariable(--_ctm-dn-te-in-in-se);
@@ -475,8 +471,6 @@
475
471
  }
476
472
 
477
473
  .list {
478
- animation: slideDown 0.8s ease-in-out;
479
- display: none;
480
474
  flex-direction: column;
481
475
  border: 1px solid var(--_gray-200);
482
476
  border-radius: 6px;
@@ -514,6 +508,14 @@
514
508
  // border-radius: 4px;
515
509
  // }
516
510
  }
511
+ &.show__panel {
512
+ animation: slideUp 0.4s ease-in-out;
513
+ }
514
+
515
+ &.hide__panel {
516
+ animation: slideDown 0.4s ease-in-out;
517
+ pointer-events: none;
518
+ }
517
519
  }
518
520
  }
519
521
  }
@@ -522,23 +524,31 @@
522
524
  }
523
525
 
524
526
  @keyframes slideUp {
525
- 0% {
526
- transform: translateY(0px);
527
- opacity: 1;
528
- }
529
- 100% {
530
- transform: translateY(20px);
527
+ from {
528
+ transform: translateY(10px);
531
529
  opacity: 0;
530
+ visibility: hidden;
531
+ pointer-events: none;
532
+ }
533
+ to {
534
+ transform: translateY(0);
535
+ opacity: 1;
536
+ visibility: visible;
537
+ pointer-events: auto;
532
538
  }
533
539
  }
534
540
 
535
541
  @keyframes slideDown {
536
- 0% {
537
- transform: translateY(20px);
538
- opacity: 0;
542
+ from {
543
+ transform: translateY(10);
544
+ opacity: 1;
545
+ visibility: visible;
546
+ pointer-events: auto;
539
547
  }
540
- 100% {
548
+ to {
541
549
  transform: translateY(0px);
542
- opacity: 1;
550
+ opacity: 0;
551
+ visibility: hidden;
552
+ pointer-events: none;
543
553
  }
544
554
  }