@sc-360-v2/storefront-cms-library 0.4.51 → 0.4.52
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/allocationDetails.scss +2253 -2247
- package/dist/builder.js +1 -1
- package/dist/cart-details.scss +3207 -3207
- package/dist/cart.scss +271 -269
- package/dist/cartAttributes.scss +932 -935
- package/dist/checkout.scss +6496 -6460
- package/dist/dropdownTemplate.scss +4 -1
- package/dist/filters.scss +36 -4
- package/dist/functions.scss +91 -1
- package/dist/icon-list.scss +277 -268
- package/dist/language-selector.scss +702 -528
- package/dist/layouter.scss +307 -294
- package/dist/login.scss +1605 -1473
- package/dist/menu-v2.scss +752 -730
- package/dist/my-templates.scss +464 -463
- package/dist/myTemplates.scss +5 -5
- package/dist/order-status.scss +1877 -1856
- package/dist/product-image-allocation.scss +1365 -0
- package/dist/product-image.scss +2 -1
- package/dist/product-sizechart.scss +1826 -1826
- package/dist/profile.scss +23 -20
- package/dist/repeater-embla-controls.scss +6 -0
- package/dist/repeater.scss +920 -915
- package/dist/search.scss +361 -296
- package/dist/static-global.scss +5 -0
- package/dist/types/builder/tools/element-edit/bundle.d.ts +13 -2
- package/dist/types/builder/tools/element-edit/cart.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/common.d.ts +5 -0
- package/dist/types/builder/tools/element-edit/icon-list.d.ts +17 -0
- package/dist/types/builder/tools/element-edit/language-menu.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +39 -0
- package/dist/types/builder/tools/element-edit/repeater.d.ts +2 -0
- package/dist/types/builder/tools/element-edit/resetPassword.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/search.d.ts +28 -0
- package/dist/types/builder/tools/element-edit/userElements.d.ts +48 -88
- package/dist/user-elements.scss +2555 -2471
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
font-size: 14px;
|
|
28
28
|
font-weight: 500;
|
|
29
29
|
line-height: 20px;
|
|
30
|
-
color:
|
|
30
|
+
color: var(--_thm-cs-be-se-1);
|
|
31
31
|
.svg_icon {
|
|
32
32
|
vertical-align: middle;
|
|
33
33
|
display: flex;
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
+
&:hover {
|
|
58
|
+
color: var(--_thm-ty-p1-tt-cr);
|
|
59
|
+
}
|
|
57
60
|
}
|
|
58
61
|
.multi-selected-display {
|
|
59
62
|
display: flex;
|
package/dist/filters.scss
CHANGED
|
@@ -106,7 +106,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
106
106
|
padding-block: 12px;
|
|
107
107
|
// padding-right: 10px;
|
|
108
108
|
&.divider_filter {
|
|
109
|
-
border-bottom: 1px solid var(--
|
|
109
|
+
border-bottom: 1px solid var(--_thm-cs-be-se-3);
|
|
110
110
|
}
|
|
111
111
|
&:last-child {
|
|
112
112
|
border-bottom: none !important;
|
|
@@ -295,7 +295,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
295
295
|
flex-wrap: wrap;
|
|
296
296
|
gap: 10px;
|
|
297
297
|
align-items: center;
|
|
298
|
-
margin-top: 10px;
|
|
298
|
+
// margin-top: 10px;
|
|
299
299
|
.selected__category {
|
|
300
300
|
display: flex;
|
|
301
301
|
align-items: center;
|
|
@@ -322,7 +322,9 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
322
322
|
border-radius: 30px;
|
|
323
323
|
padding: 6px 12px;
|
|
324
324
|
align-items: center;
|
|
325
|
-
|
|
325
|
+
transition:
|
|
326
|
+
background-color 400ms,
|
|
327
|
+
border-color 400ms ease-in-out;
|
|
326
328
|
background-color: var(
|
|
327
329
|
--_sf-hr-bd-cr,
|
|
328
330
|
var(
|
|
@@ -587,6 +589,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
587
589
|
|
|
588
590
|
.option__group__header {
|
|
589
591
|
@include flex($justifyItems: space-between);
|
|
592
|
+
gap: 8px;
|
|
590
593
|
h2 {
|
|
591
594
|
font-size: var(--_fs-14);
|
|
592
595
|
font-weight: var(--_fw-600);
|
|
@@ -634,6 +637,10 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
634
637
|
--_ctm-mob-dn-on-ls-ue,
|
|
635
638
|
var(--_ctm-tab-dn-on-ls-ue, var(--_ctm-dn-on-ls-ue))
|
|
636
639
|
);
|
|
640
|
+
display: -webkit-box;
|
|
641
|
+
-webkit-line-clamp: 1;
|
|
642
|
+
-webkit-box-orient: vertical;
|
|
643
|
+
overflow: hidden;
|
|
637
644
|
}
|
|
638
645
|
.reset__btn {
|
|
639
646
|
font-size: 12px;
|
|
@@ -714,6 +721,15 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
714
721
|
|
|
715
722
|
ul {
|
|
716
723
|
margin-top: 10px;
|
|
724
|
+
transition: all 400ms ease-in-out;
|
|
725
|
+
&.show__panel {
|
|
726
|
+
animation: slideUp 0.4s ease-in-out;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
&.hide__panel {
|
|
730
|
+
animation: slideDown 0.4s ease-in-out;
|
|
731
|
+
pointer-events: none;
|
|
732
|
+
}
|
|
717
733
|
&:not(:last-child) {
|
|
718
734
|
border-bottom: 1px solid var(--_gray-300);
|
|
719
735
|
}
|
|
@@ -1396,6 +1412,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
1396
1412
|
--_ctm-mob-dn-cx-ud-se-dt-se-br-rs,
|
|
1397
1413
|
var(--_ctm-tab-dn-cx-ud-se-dt-se-br-rs, var(--_ctm-dn-cx-ud-se-dt-se-br-rs))
|
|
1398
1414
|
);
|
|
1415
|
+
transition: background-color 400ms ease-in-out;
|
|
1399
1416
|
&[data-show-default-unchecked-shadow="true"] {
|
|
1400
1417
|
box-shadow: var(
|
|
1401
1418
|
--_show-shadow-clear-all,
|
|
@@ -1528,6 +1545,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
1528
1545
|
--_ctm-mob-dn-cx-cd-se-dt-se-br-rs,
|
|
1529
1546
|
var(--_ctm-tab-dn-cx-cd-se-dt-se-br-rs, var(--_ctm-dn-cx-cd-se-dt-se-br-rs))
|
|
1530
1547
|
);
|
|
1548
|
+
transition: background-color 400ms ease-in-out;
|
|
1531
1549
|
&[data-show-default-checked-shadow="true"] {
|
|
1532
1550
|
box-shadow: var(
|
|
1533
1551
|
--_show-shadow-clear-all,
|
|
@@ -2231,6 +2249,12 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
2231
2249
|
var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-pe-re-sr-tb-dt-se-sw-cr));
|
|
2232
2250
|
position: relative;
|
|
2233
2251
|
z-index: 2; /* Ensure thumbs appear above the track */
|
|
2252
|
+
transition:
|
|
2253
|
+
background-color 400ms,
|
|
2254
|
+
border-color 400ms ease-in-out;
|
|
2255
|
+
&:hover {
|
|
2256
|
+
border: 1px solid var(--_thm-cs-be-se-1);
|
|
2257
|
+
}
|
|
2234
2258
|
}
|
|
2235
2259
|
|
|
2236
2260
|
input[type="range"]::-moz-range-thumb {
|
|
@@ -2276,12 +2300,20 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
2276
2300
|
position: absolute;
|
|
2277
2301
|
top: -35px;
|
|
2278
2302
|
font-size: 12px;
|
|
2279
|
-
color:
|
|
2303
|
+
color: var(--_thm-cs-be-se-1);
|
|
2280
2304
|
// background-color: #fff;
|
|
2281
2305
|
border: 1px solid var(--_thm-cs-be-se-3);
|
|
2282
2306
|
border-radius: 5px;
|
|
2283
2307
|
white-space: nowrap;
|
|
2284
2308
|
padding-inline: 15px;
|
|
2309
|
+
span {
|
|
2310
|
+
margin-right: 4px;
|
|
2311
|
+
svg {
|
|
2312
|
+
path {
|
|
2313
|
+
stroke: var(--_thm-cs-be-se-1);
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2285
2317
|
}
|
|
2286
2318
|
|
|
2287
2319
|
.min-tooltip {
|
package/dist/functions.scss
CHANGED
|
@@ -25,6 +25,22 @@
|
|
|
25
25
|
$breakPointsV2: (
|
|
26
26
|
desktop: (
|
|
27
27
|
min: 768px,
|
|
28
|
+
// ---> 1024px
|
|
29
|
+
max: 99999px,
|
|
30
|
+
),
|
|
31
|
+
mobile: (
|
|
32
|
+
min: 10px,
|
|
33
|
+
max: 767px,
|
|
34
|
+
),
|
|
35
|
+
laptop: (
|
|
36
|
+
min: 768px,
|
|
37
|
+
max: 1023px,
|
|
38
|
+
),
|
|
39
|
+
);
|
|
40
|
+
$breakPointsV3: (
|
|
41
|
+
desktop: (
|
|
42
|
+
min: 1024px,
|
|
43
|
+
// ---> 1024px
|
|
28
44
|
max: 99999px,
|
|
29
45
|
),
|
|
30
46
|
mobile: (
|
|
@@ -48,7 +64,6 @@ $breakPointsV2: (
|
|
|
48
64
|
@each $mediaKey, $mediaValue in $breakPointsV2 {
|
|
49
65
|
$maxWidth: safe-map-get($mediaValue, max);
|
|
50
66
|
$minWidth: safe-map-get($mediaValue, min);
|
|
51
|
-
|
|
52
67
|
@if $maxWidth != null and $minWidth != null {
|
|
53
68
|
@media only screen and (max-width: #{$maxWidth}) and (min-width: #{$minWidth}) {
|
|
54
69
|
@each $key, $value in $list {
|
|
@@ -197,6 +212,66 @@ $breakPointsV2: (
|
|
|
197
212
|
}
|
|
198
213
|
}
|
|
199
214
|
|
|
215
|
+
@mixin prepareCustomClassCSSPropsV2($props) {
|
|
216
|
+
@each $key, $value in $props {
|
|
217
|
+
@if ($key == class) {
|
|
218
|
+
@each $classKey, $classValue in $value {
|
|
219
|
+
.#{$classKey} {
|
|
220
|
+
@each $key1, $value1 in $classValue {
|
|
221
|
+
@if ($key1 == common) {
|
|
222
|
+
@each $key2, $value2 in $value1 {
|
|
223
|
+
#{$key2}: #{$value2};
|
|
224
|
+
}
|
|
225
|
+
} @else {
|
|
226
|
+
$mediaValue: safe-map-get($breakPointsV3, $key1);
|
|
227
|
+
$maxWidth: safe-map-get($mediaValue, max);
|
|
228
|
+
$minWidth: safe-map-get($mediaValue, min);
|
|
229
|
+
// @media only screen and (max-width: #{map.get(map.get($breakPointsV2, $key1), max)}) and (min-width: #{map.get(map.get($breakPointsV2, $key1), min)}) {
|
|
230
|
+
// @each $key2, $value2 in $value1 {
|
|
231
|
+
// #{$key2}: #{$value2};
|
|
232
|
+
// }
|
|
233
|
+
// }
|
|
234
|
+
@if $maxWidth != null and $minWidth != null {
|
|
235
|
+
@media only screen and (max-width: #{$maxWidth}) and (min-width: #{$minWidth}) {
|
|
236
|
+
@each $key2, $value2 in $value1 {
|
|
237
|
+
#{$key2}: #{$value2};
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
// @include getcssprops($classValue, $breakPoints);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
} @else {
|
|
247
|
+
#{$key} {
|
|
248
|
+
@each $key1, $value1 in $value {
|
|
249
|
+
@if ($key1 == common) {
|
|
250
|
+
@each $key2, $value2 in $value1 {
|
|
251
|
+
#{$key2}: #{$value2};
|
|
252
|
+
}
|
|
253
|
+
} @else {
|
|
254
|
+
// @media only screen and (max-width: #{map.get(map.get($breakPoints, $key1), max)}) and (min-width: #{map.get(map.get($breakPoints, $key1), min)}) {
|
|
255
|
+
// @each $key2, $value2 in $value1 {
|
|
256
|
+
// #{$key2}: #{$value2};
|
|
257
|
+
// }
|
|
258
|
+
// }
|
|
259
|
+
$mediaValue: safe-map-get($breakPointsV3, $key1);
|
|
260
|
+
$maxWidth: safe-map-get($mediaValue, max);
|
|
261
|
+
$minWidth: safe-map-get($mediaValue, min);
|
|
262
|
+
@media only screen and (max-width: #{$maxWidth}) and (min-width: #{$minWidth}) {
|
|
263
|
+
@each $key2, $value2 in $value1 {
|
|
264
|
+
#{$key2}: #{$value2};
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
// @include getcssprops($value, $breakPoints);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
200
275
|
@function prepareMediaVariable($full-var, $common: inherit) {
|
|
201
276
|
$prefix: "--_ctm-";
|
|
202
277
|
$core-name: string.slice($full-var, string.length($prefix) + 1); // removes --_ctm-
|
|
@@ -277,6 +352,21 @@ $breakPointsV2: (
|
|
|
277
352
|
}
|
|
278
353
|
}
|
|
279
354
|
|
|
355
|
+
@mixin scrollbarHoverMixin() {
|
|
356
|
+
&::-webkit-scrollbar-thumb {
|
|
357
|
+
background-color: var(--_sf-hr-bg, transparent);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
&::-webkit-scrollbar-track {
|
|
361
|
+
background: var(--_sf-hr-tr, transparent); /* Background color of the track */
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
&:hover {
|
|
365
|
+
--_sf-hr-bg: var(--_primary-200);
|
|
366
|
+
--_sf-hr-tr: var(--_white-v1);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
280
370
|
@mixin BgColorLighter($value, $percent: 10%) {
|
|
281
371
|
background-color: color-mix(in srgb, #{$value} #{$percent}, transparent);
|
|
282
372
|
}
|