@sc-360-v2/storefront-cms-library 0.4.25 → 0.4.27

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 (49) hide show
  1. package/dist/add-order.scss +8 -8
  2. package/dist/add-products-tab.scss +50 -0
  3. package/dist/allocationDetails.scss +2 -2
  4. package/dist/allocations.scss +6 -6
  5. package/dist/builder.js +1 -1
  6. package/dist/bundle.scss +3 -1
  7. package/dist/bundleDetails copy.scss +1431 -0
  8. package/dist/bundleDetails.scss +3054 -107
  9. package/dist/button.scss +5 -2
  10. package/dist/buy-for-tab-container.scss +2 -1
  11. package/dist/buy-for-tab.scss +32 -21
  12. package/dist/buyForHeaders.scss +4543 -4081
  13. package/dist/buyForPopup.scss +140 -116
  14. package/dist/cart-details.scss +1 -1
  15. package/dist/cart-products-sidebar.scss +18 -56
  16. package/dist/cart-summary.scss +12 -11
  17. package/dist/dropdownTemplate.scss +5 -0
  18. package/dist/functions.js +1 -1
  19. package/dist/functions.scss +4 -0
  20. package/dist/global-styles.scss +86 -0
  21. package/dist/icons.js +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/language-selector.scss +4 -1
  24. package/dist/modal.scss +37 -27
  25. package/dist/multi-select-dropdown.scss +241 -0
  26. package/dist/option-bar.scss +2 -2
  27. package/dist/order-status.scss +18 -14
  28. package/dist/product-actions.scss +27 -27
  29. package/dist/product-price.scss +1908 -1428
  30. package/dist/product-sizechart.scss +5 -2
  31. package/dist/quantity-selector.scss +6 -6
  32. package/dist/quick-order-pad.scss +106 -42
  33. package/dist/repeater-embla-controls.scss +4 -2
  34. package/dist/repeater.scss +3 -3
  35. package/dist/search.scss +11 -1
  36. package/dist/section.scss +9 -9
  37. package/dist/shipping-payments.scss +5 -0
  38. package/dist/text-temp-v2.scss +1 -2
  39. package/dist/types/builder/elements/common.d.ts +1 -0
  40. package/dist/types/builder/elements/light-box-v2/index.d.ts +1 -0
  41. package/dist/types/builder/elements/section/index.d.ts +1 -0
  42. package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +5 -0
  43. package/dist/types/builder/tools/element-edit/language-menu.d.ts +1 -0
  44. package/dist/types/builder/tools/element-edit/productPrice.d.ts +2 -1
  45. package/dist/types/builder/tools/element-edit/variantPicker.d.ts +2 -0
  46. package/dist/types/website/constants/data-connector-souces.d.ts +13 -6
  47. package/dist/website.js +1 -1
  48. package/dist/widget.scss +2 -0
  49. package/package.json +1 -1
@@ -276,3 +276,7 @@ $breakPointsV2: (
276
276
  }
277
277
  }
278
278
  }
279
+
280
+ @mixin BgColorLighter($value, $percent: 10%) {
281
+ background-color: color-mix(in srgb, #{$value} #{$percent}, transparent);
282
+ }
@@ -0,0 +1,86 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+
5
+ .custom-upload {
6
+ display: flex;
7
+ &:has(.preview_image_container) {
8
+ justify-content: space-between;
9
+ }
10
+ align-items: center;
11
+ border: 1px solid var(--_gray-300);
12
+ background-color: var(--_base-white);
13
+ padding: 16px;
14
+ border-radius: 4px;
15
+ gap: 12px;
16
+ .preview_image_container {
17
+ width: 100%;
18
+ display: flex;
19
+ align-items: center;
20
+ gap: 12px;
21
+ .image_title {
22
+ font-size: 14px;
23
+ margin-top: 3px;
24
+ .label {
25
+ color: var(--_thm-cs-at-sy);
26
+ @include restrictToLinesShow(1);
27
+ }
28
+ }
29
+ .preview_image {
30
+ height: 36px;
31
+ width: 36px;
32
+ border-radius: 50%;
33
+ padding: 4px;
34
+ background: var(--_base-white);
35
+ border: 1px solid var(--_gray-300);
36
+ img {
37
+ width: 100%;
38
+ width: 100%;
39
+ object-fit: contain;
40
+ }
41
+ }
42
+ }
43
+ .clear_upload_icon {
44
+ svg {
45
+ width: 18px;
46
+ height: 18px;
47
+ }
48
+ }
49
+ .uploadicon {
50
+ padding: 8px;
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ background: var(--_gray-200);
55
+ outline: 6px solid var(--_gray-100);
56
+ border-radius: 50%;
57
+ height: 36px;
58
+ width: 36px;
59
+ .svg_icon {
60
+ svg {
61
+ width: 20px;
62
+ height: 20px;
63
+ path {
64
+ stroke: var(--_gray-700);
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ .file_upload_text {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 8px;
74
+ .label {
75
+ @include restrictToLinesShow(1);
76
+ }
77
+ p {
78
+ color: var(--_thm-cs-at-py);
79
+ font-weight: 600;
80
+ }
81
+ span {
82
+ color: var(--_thm-cs-at-sy);
83
+ font-size: 14px;
84
+ }
85
+ }
86
+ }