@sc-360-v2/storefront-cms-library 0.3.53 → 0.3.55
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/add-order.scss +3 -0
- package/dist/add-products-tab.scss +15 -1
- package/dist/builder.js +1 -1
- package/dist/buy-for-tab.scss +15 -15
- package/dist/buyForHeaders.scss +6 -7
- package/dist/cart-details.scss +32 -42
- package/dist/cart-products-sidebar.scss +32 -16
- package/dist/cart-summary.scss +2 -4
- package/dist/cartDropdownOverlay.scss +3 -1
- package/dist/checkout.scss +4 -0
- package/dist/confirmationModal.scss +48 -0
- package/dist/container.scss +15 -15
- package/dist/customization-tree.scss +5 -1
- package/dist/dropdownTemplate.scss +5 -2
- package/dist/employee-bulk-order.scss +3233 -319
- package/dist/grid.scss +36 -0
- package/dist/icons.js +1 -1
- package/dist/image-temp.scss +47 -22
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +1 -1
- package/dist/layouter-pro.scss +5 -5
- package/dist/modal.scss +357 -16
- package/dist/order-status.scss +49 -5
- package/dist/section.scss +5 -1
- package/dist/shareCartSideBar.scss +10 -8
- package/dist/shipping-payments.scss +19 -15
- package/dist/store-locations.scss +252 -160
- package/dist/tab-v2.scss +15 -15
- package/dist/text-temp.scss +4 -1
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +36 -0
- package/dist/types/builder/tools/element-edit/grid.d.ts +26 -0
- package/dist/types/builder/tools/element-edit/language-menu.d.ts +77 -0
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +4 -0
- package/dist/types/builder/tools/element-edit/userElements.d.ts +407 -0
- package/dist/user-elements.scss +1449 -490
- package/package.json +1 -1
package/dist/buy-for-tab.scss
CHANGED
|
@@ -560,20 +560,20 @@ $tabBodyWrapper: #{$tabBody}__wrapper;
|
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
&[data-view-state="full"] {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
563
|
+
// &[data-view-state="full"] {
|
|
564
|
+
// width: auto;
|
|
565
|
+
// margin: 0;
|
|
566
|
+
// justify-self: stretch !important;
|
|
567
|
+
// align-self: stretch !important;
|
|
568
|
+
// cursor: auto;
|
|
569
|
+
// &:is(#{$activeElementSelector}) {
|
|
570
|
+
// & > div {
|
|
571
|
+
// &[data-div-type="wrapper__layer"] {
|
|
572
|
+
// --_sf-vt-zz: visible;
|
|
573
|
+
// --_sf-op-zz: 1;
|
|
574
|
+
// }
|
|
575
|
+
// }
|
|
576
|
+
// }
|
|
577
|
+
// }
|
|
578
578
|
}
|
|
579
579
|
}
|
package/dist/buyForHeaders.scss
CHANGED
|
@@ -334,10 +334,10 @@
|
|
|
334
334
|
--_ctm-mob-buy-dn-by-fr-hr-me-ee-tt-an,
|
|
335
335
|
var(--_ctm-tab-buy-dn-by-fr-hr-me-ee-tt-an, var(--_ctm-buy-dn-by-fr-hr-me-ee-tt-an))
|
|
336
336
|
);
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
cursor: pointer;
|
|
338
|
+
&:hover {
|
|
339
|
+
text-decoration: underline;
|
|
340
|
+
}
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.employee-switch {
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
display: flex;
|
|
695
695
|
gap: 24px;
|
|
696
696
|
// border-block: 1px solid var(--_gray-200);
|
|
697
|
-
padding-block: 24px;
|
|
697
|
+
padding-block: 24px !important;
|
|
698
698
|
|
|
699
699
|
.cart__section {
|
|
700
700
|
display: flex;
|
|
@@ -1152,11 +1152,10 @@
|
|
|
1152
1152
|
background: #ffd700;
|
|
1153
1153
|
border-radius: 4px;
|
|
1154
1154
|
left: 12px;
|
|
1155
|
-
padding: 2px
|
|
1155
|
+
padding: 2px 4px;
|
|
1156
1156
|
line-height: normal;
|
|
1157
1157
|
color: var(--_gray-900);
|
|
1158
1158
|
font-weight: 400;
|
|
1159
|
-
font-size: 12px;
|
|
1160
1159
|
}
|
|
1161
1160
|
}
|
|
1162
1161
|
|
package/dist/cart-details.scss
CHANGED
|
@@ -570,51 +570,14 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
570
570
|
flex-wrap: wrap;
|
|
571
571
|
|
|
572
572
|
span {
|
|
573
|
-
color: var(
|
|
574
|
-
|
|
575
|
-
var(--_ctm-tab-dn-pt-in-ss-cr, var(--_ctm-dn-pt-in-ss-cr))
|
|
576
|
-
);
|
|
577
|
-
font-family: var(
|
|
578
|
-
--_sf-hr-ff,
|
|
579
|
-
var(
|
|
580
|
-
--_ctm-mob-dn-pt-in-ss-ft-fy,
|
|
581
|
-
var(--_ctm-tab-dn-pt-in-ss-ft-fy, var(--_ctm-dn-pt-in-ss-ft-fy))
|
|
582
|
-
)
|
|
583
|
-
);
|
|
584
|
-
font-size: var(
|
|
585
|
-
--_ctm-mob-dn-pt-in-ss-ft-se,
|
|
586
|
-
var(--_ctm-tab-dn-pt-in-ss-ft-se, var(--_ctm-dn-pt-in-ss-ft-se))
|
|
587
|
-
);
|
|
588
|
-
font-weight: var(
|
|
589
|
-
--_ctm-mob-dn-pt-in-ss-ft-wt,
|
|
590
|
-
var(--_ctm-tab-dn-pt-in-ss-ft-wt, var(--_ctm-dn-pt-in-ss-ft-wt))
|
|
591
|
-
);
|
|
592
|
-
font-style: var(
|
|
593
|
-
--_ctm-mob-dn-pt-in-ss-ft-se-ic,
|
|
594
|
-
var(--_ctm-tab-dn-pt-in-ss-ft-se-ic, var(--_ctm-dn-pt-in-ss-ft-se-ic))
|
|
595
|
-
);
|
|
596
|
-
text-align: var(
|
|
597
|
-
--_ctm-mob-dn-pt-in-ss-tt-an,
|
|
598
|
-
var(--_ctm-tab-dn-pt-in-ss-tt-an, var(--_ctm-dn-pt-in-ss-tt-an))
|
|
599
|
-
);
|
|
600
|
-
letter-spacing: var(
|
|
601
|
-
--_ctm-mob-dn-pt-in-ss-lr-sg,
|
|
602
|
-
var(--_ctm-tab-dn-pt-in-ss-lr-sg, var(--_ctm-dn-pt-in-ss-lr-sg))
|
|
603
|
-
);
|
|
604
|
-
line-height: var(
|
|
605
|
-
--_ctm-mob-dn-pt-in-ss-le-ht,
|
|
606
|
-
var(--_ctm-tab-dn-pt-in-ss-le-ht, var(--_ctm-dn-pt-in-ss-le-ht))
|
|
607
|
-
);
|
|
608
|
-
text-decoration: var(
|
|
609
|
-
--_ctm-mob-dn-pt-in-ss-ue,
|
|
610
|
-
var(--_ctm-tab-dn-pt-in-ss-ue, var(--_ctm-dn-pt-in-ss-ue))
|
|
611
|
-
);
|
|
612
|
-
&::after {
|
|
573
|
+
color: var(--_gray-600);
|
|
574
|
+
&:not(:last-child)::after {
|
|
613
575
|
content: "";
|
|
614
576
|
display: inline-block;
|
|
615
577
|
height: 10px;
|
|
616
|
-
|
|
617
|
-
|
|
578
|
+
margin-inline: 8px;
|
|
579
|
+
width: 1px;
|
|
580
|
+
background-color: var(--_gray-400);
|
|
618
581
|
}
|
|
619
582
|
|
|
620
583
|
&:last-of-type::after {
|
|
@@ -942,7 +905,32 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
942
905
|
display: flex;
|
|
943
906
|
align-items: center;
|
|
944
907
|
gap: 16px;
|
|
908
|
+
& > * {
|
|
909
|
+
display: flex;
|
|
910
|
+
align-items: center;
|
|
911
|
+
justify-content: center;
|
|
912
|
+
}
|
|
913
|
+
button {
|
|
914
|
+
display: flex;
|
|
915
|
+
}
|
|
916
|
+
& > a,
|
|
917
|
+
& > span {
|
|
918
|
+
width: 24px;
|
|
919
|
+
height: 24px;
|
|
920
|
+
border-radius: 4px;
|
|
921
|
+
|
|
922
|
+
&:hover {
|
|
923
|
+
background-color: var(--_gray-100);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
span:hover {
|
|
927
|
+
background-color: var(--_gray-100);
|
|
928
|
+
}
|
|
929
|
+
.delete_cart_icon:hover {
|
|
930
|
+
background-color: var(--_error-50);
|
|
931
|
+
}
|
|
945
932
|
.edit_icon {
|
|
933
|
+
cursor: pointer;
|
|
946
934
|
svg {
|
|
947
935
|
width: var(
|
|
948
936
|
--_ctm-mob-dn-pt-an-pt-an-et-in-se,
|
|
@@ -979,6 +967,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
979
967
|
}
|
|
980
968
|
}
|
|
981
969
|
.wishlist_icon {
|
|
970
|
+
cursor: pointer;
|
|
982
971
|
svg {
|
|
983
972
|
width: var(
|
|
984
973
|
--_ctm-mob-dn-pt-an-pt-an-wt-in-se,
|
|
@@ -1016,6 +1005,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
1016
1005
|
}
|
|
1017
1006
|
|
|
1018
1007
|
.delete_cart_icon {
|
|
1008
|
+
cursor: pointer;
|
|
1019
1009
|
svg {
|
|
1020
1010
|
width: var(
|
|
1021
1011
|
--_ctm-mob-dn-pt-an-pt-an-de-in-se,
|
|
@@ -103,6 +103,9 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
103
103
|
color: var(--_gray-600);
|
|
104
104
|
width: 100%;
|
|
105
105
|
text-align: center;
|
|
106
|
+
font-size: 12px;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
line-height: 18px;
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
|
|
@@ -112,17 +115,21 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
112
115
|
// Cart Popup
|
|
113
116
|
.cart_popup {
|
|
114
117
|
background-color: #fff;
|
|
115
|
-
border-radius: 8px;
|
|
118
|
+
// border-radius: 8px;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
gap: 16px;
|
|
122
|
+
padding: 16px;
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
.cart_item {
|
|
119
126
|
display: flex;
|
|
120
127
|
flex-direction: column;
|
|
121
128
|
align-items: center;
|
|
122
|
-
margin-bottom: 8px;
|
|
129
|
+
// margin-bottom: 8px;
|
|
123
130
|
text-align: center;
|
|
124
|
-
padding:
|
|
125
|
-
border-bottom: 1px solid var(--_base-white);
|
|
131
|
+
// padding: 16px;
|
|
132
|
+
// border-bottom: 1px solid var(--_base-white);
|
|
126
133
|
&:hover {
|
|
127
134
|
background-color: var(--_gray-50);
|
|
128
135
|
}
|
|
@@ -136,25 +143,31 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
136
143
|
font-size: 12px;
|
|
137
144
|
font-weight: 500;
|
|
138
145
|
color: var(--_gray-600);
|
|
139
|
-
margin-bottom:
|
|
146
|
+
margin-bottom: 4px;
|
|
147
|
+
line-height: 18px;
|
|
140
148
|
}
|
|
141
149
|
|
|
142
150
|
.item_price {
|
|
143
151
|
font-size: 12px;
|
|
144
152
|
font-weight: 700;
|
|
145
153
|
color: var(--_gray-900);
|
|
154
|
+
line-height: 18px;
|
|
146
155
|
}
|
|
147
156
|
|
|
148
157
|
.item_image {
|
|
149
|
-
max-width:
|
|
150
|
-
height:
|
|
151
|
-
border-radius:
|
|
158
|
+
max-width: 64px;
|
|
159
|
+
height: 64px;
|
|
160
|
+
border-radius: 1px;
|
|
161
|
+
object-fit: contain;
|
|
152
162
|
}
|
|
153
163
|
.item_action_btn {
|
|
154
|
-
padding:
|
|
164
|
+
padding: 8px;
|
|
155
165
|
color: var(--_primary-400);
|
|
156
|
-
margin-top:
|
|
157
|
-
border-radius:
|
|
166
|
+
// margin-top: 4px;
|
|
167
|
+
border-radius: 4px;
|
|
168
|
+
font-size: 14px;
|
|
169
|
+
font-weight: 400;
|
|
170
|
+
line-height: 18px;
|
|
158
171
|
|
|
159
172
|
&:hover {
|
|
160
173
|
background-color: var(--_primary-50);
|
|
@@ -203,16 +216,19 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
203
216
|
display: flex;
|
|
204
217
|
flex-direction: column;
|
|
205
218
|
align-items: center;
|
|
219
|
+
gap: 4px;
|
|
206
220
|
.total_label {
|
|
207
|
-
font-size:
|
|
208
|
-
font-weight:
|
|
221
|
+
font-size: 12px;
|
|
222
|
+
font-weight: 500;
|
|
209
223
|
color: var(--_gray-600);
|
|
224
|
+
line-height: 18px;
|
|
210
225
|
}
|
|
211
226
|
|
|
212
227
|
.total_price {
|
|
213
|
-
font-size:
|
|
214
|
-
font-weight:
|
|
228
|
+
font-size: 12px;
|
|
229
|
+
font-weight: 700;
|
|
215
230
|
color: var(--_gray-900);
|
|
231
|
+
line-height: 18px;
|
|
216
232
|
}
|
|
217
233
|
|
|
218
234
|
.view_cart_btn {
|
|
@@ -222,7 +238,7 @@ $shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
222
238
|
border: none;
|
|
223
239
|
border-radius: 4px;
|
|
224
240
|
cursor: pointer;
|
|
225
|
-
margin-
|
|
241
|
+
margin-bottom: 12px;
|
|
226
242
|
|
|
227
243
|
&:hover {
|
|
228
244
|
background-color: var(--_primary-500);
|
package/dist/cart-summary.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
|
+
@use "./functions.scss" as *;
|
|
3
4
|
|
|
4
5
|
$resizerId: "[data-cms-tool='cms-element-resizer']";
|
|
5
6
|
$resizeActive: '[data-cms-element-resizer="true"]';
|
|
@@ -132,10 +133,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
132
133
|
--_ctm-mob-dn-hr-cr-ft-wt,
|
|
133
134
|
var(--_ctm-tab-dn-hr-cr-ft-wt, var(--_ctm-dn-hr-cr-ft-wt))
|
|
134
135
|
);
|
|
135
|
-
font-size:
|
|
136
|
-
--_ctm-mob-dn-hr-cr-ft-se,
|
|
137
|
-
var(--_ctm-tab-dn-hr-cr-ft-se, var(--_ctm-dn-hr-cr-ft-se))
|
|
138
|
-
);
|
|
136
|
+
font-size: prepareMediaVariable(--_ctm-dn-hr-cr-ft-se);
|
|
139
137
|
text-decoration: var(
|
|
140
138
|
--_ctm-mob-dn-hr-cr-ue,
|
|
141
139
|
var(--_ctm-tab-dn-hr-cr-ue, var(--_ctm-dn-hr-cr-ue))
|
package/dist/checkout.scss
CHANGED
|
@@ -697,6 +697,10 @@ $dark-color: #343a40;
|
|
|
697
697
|
display: flex;
|
|
698
698
|
flex-direction: column;
|
|
699
699
|
gap: var(--_ctm-lt-pt-os-gp-bn-cs);
|
|
700
|
+
.gift_crd_chk_payment_option {
|
|
701
|
+
border: 1px solid var(--_gray-300);
|
|
702
|
+
border-radius: 4px;
|
|
703
|
+
}
|
|
700
704
|
.payment_program {
|
|
701
705
|
// padding: 0 12px;
|
|
702
706
|
.payment_program_header {
|
|
@@ -42,6 +42,54 @@
|
|
|
42
42
|
text-align: left;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
+
.shp-type {
|
|
46
|
+
display: flex;
|
|
47
|
+
gap: 24px;
|
|
48
|
+
padding: 24px;
|
|
49
|
+
border: 1px solid var(--_gray-200);
|
|
50
|
+
border-radius: 6px;
|
|
51
|
+
margin-block-end: 24px;
|
|
52
|
+
label {
|
|
53
|
+
display: flex;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
align-items: center;
|
|
57
|
+
position: relative;
|
|
58
|
+
|
|
59
|
+
input[type="radio"] {
|
|
60
|
+
appearance: none;
|
|
61
|
+
width: 16px;
|
|
62
|
+
height: 16px;
|
|
63
|
+
border: 2px solid var(--_gray-300);
|
|
64
|
+
border-radius: 50%;
|
|
65
|
+
position: relative;
|
|
66
|
+
transition: all 0.2s ease-in-out;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
background-color: transparent;
|
|
69
|
+
|
|
70
|
+
&:checked {
|
|
71
|
+
border-color: var(--_primary-400);
|
|
72
|
+
background-color: var(--_primary-400); // Changed from white for visibility
|
|
73
|
+
|
|
74
|
+
&::after {
|
|
75
|
+
content: "";
|
|
76
|
+
position: absolute;
|
|
77
|
+
top: 1px;
|
|
78
|
+
left: 1px;
|
|
79
|
+
width: 10px;
|
|
80
|
+
height: 10px;
|
|
81
|
+
background: var(--_base-white);
|
|
82
|
+
border-radius: 50%;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
span {
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
color: #333;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
45
93
|
|
|
46
94
|
.actions {
|
|
47
95
|
display: flex;
|
package/dist/container.scss
CHANGED
|
@@ -108,20 +108,20 @@ $activeElementSelector: "[data-has-clicked='true']";
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
&[data-view-state="full"] {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
111
|
+
// &[data-view-state="full"] {
|
|
112
|
+
// width: auto;
|
|
113
|
+
// margin: 0;
|
|
114
|
+
// justify-self: stretch !important;
|
|
115
|
+
// align-self: stretch !important;
|
|
116
|
+
// cursor: auto;
|
|
117
|
+
// &:is(#{$activeElementSelector}) {
|
|
118
|
+
// & > div {
|
|
119
|
+
// &[data-div-type="wrapper__layer"] {
|
|
120
|
+
// --_sf-vt-zz: visible;
|
|
121
|
+
// --_sf-op-zz: 1;
|
|
122
|
+
// }
|
|
123
|
+
// }
|
|
124
|
+
// }
|
|
125
|
+
// }
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -88,10 +88,14 @@ $link-color: #243dc6;
|
|
|
88
88
|
}
|
|
89
89
|
.itemValue {
|
|
90
90
|
display: flex;
|
|
91
|
-
color:
|
|
91
|
+
color: var(--_gray-900);
|
|
92
92
|
font-size: 14px;
|
|
93
93
|
font-weight: 500;
|
|
94
94
|
line-height: 20px;
|
|
95
|
+
& > span {
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
color: var(--_gray-900);
|
|
98
|
+
}
|
|
95
99
|
.link {
|
|
96
100
|
color: $link-color;
|
|
97
101
|
font-size: 14px;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
border: 1px solid #ddd;
|
|
100
100
|
border-radius: 6px;
|
|
101
101
|
max-height: 200px;
|
|
102
|
-
overflow-y: auto;
|
|
102
|
+
// overflow-y: auto;
|
|
103
103
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
104
104
|
z-index: 10;
|
|
105
105
|
min-width: 240px;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
// bottom: 0;
|
|
196
196
|
width: 100%;
|
|
197
197
|
background: #fff;
|
|
198
|
-
border-top: 1px solid
|
|
198
|
+
border-top: 1px solid var(--_gray-200);
|
|
199
199
|
.opts_selection_action {
|
|
200
200
|
width: 50%;
|
|
201
201
|
height: 100%;
|
|
@@ -204,6 +204,9 @@
|
|
|
204
204
|
align-items: center;
|
|
205
205
|
justify-content: center;
|
|
206
206
|
cursor: pointer;
|
|
207
|
+
&:not(:last-child) {
|
|
208
|
+
border-right: 1px solid var(--_gray-200);
|
|
209
|
+
}
|
|
207
210
|
&.discard_selection {
|
|
208
211
|
&:hover {
|
|
209
212
|
background-color: var(--_gray-50);
|