@sc-360-v2/storefront-cms-library 0.4.50 → 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.
Files changed (39) hide show
  1. package/dist/allocationDetails.scss +2253 -2247
  2. package/dist/builder.js +1 -1
  3. package/dist/cart-details.scss +3207 -3207
  4. package/dist/cart.scss +271 -269
  5. package/dist/cartAttributes.scss +932 -935
  6. package/dist/checkout.scss +6496 -6460
  7. package/dist/dropdownTemplate.scss +4 -1
  8. package/dist/filters.scss +2450 -2418
  9. package/dist/functions.scss +91 -1
  10. package/dist/icon-list.scss +277 -268
  11. package/dist/language-selector.scss +702 -528
  12. package/dist/layouter.scss +307 -294
  13. package/dist/login.scss +1605 -1473
  14. package/dist/menu-v2.scss +752 -730
  15. package/dist/my-templates.scss +464 -463
  16. package/dist/myTemplates.scss +5 -5
  17. package/dist/order-status.scss +1877 -1856
  18. package/dist/product-image-allocation.scss +1365 -0
  19. package/dist/product-image.scss +2 -1
  20. package/dist/product-sizechart.scss +1826 -1826
  21. package/dist/profile.scss +23 -20
  22. package/dist/repeater-embla-controls.scss +6 -0
  23. package/dist/repeater.scss +920 -915
  24. package/dist/search.scss +361 -296
  25. package/dist/section.scss +210 -209
  26. package/dist/static-global.scss +5 -0
  27. package/dist/types/builder/tools/element-edit/bundle.d.ts +13 -2
  28. package/dist/types/builder/tools/element-edit/cart.d.ts +1 -0
  29. package/dist/types/builder/tools/element-edit/common.d.ts +5 -0
  30. package/dist/types/builder/tools/element-edit/icon-list.d.ts +17 -0
  31. package/dist/types/builder/tools/element-edit/language-menu.d.ts +1 -0
  32. package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
  33. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +39 -0
  34. package/dist/types/builder/tools/element-edit/repeater.d.ts +2 -0
  35. package/dist/types/builder/tools/element-edit/resetPassword.d.ts +2 -1
  36. package/dist/types/builder/tools/element-edit/search.d.ts +28 -0
  37. package/dist/types/builder/tools/element-edit/userElements.d.ts +48 -88
  38. package/dist/user-elements.scss +2555 -2471
  39. package/package.json +1 -1
@@ -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
  }