@sc-360-v2/storefront-cms-library 0.4.56 → 0.4.57

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 (150) hide show
  1. package/dist/add-existing-form.scss +66 -66
  2. package/dist/add-order.scss +377 -377
  3. package/dist/add-products-tab copy.scss +1132 -1132
  4. package/dist/allocations.scss +1603 -1603
  5. package/dist/amount-estimator.scss +1083 -1083
  6. package/dist/animation-control.scss +23 -23
  7. package/dist/badge.scss +388 -388
  8. package/dist/brand-basic-elements.scss +292 -292
  9. package/dist/brand.scss +93 -93
  10. package/dist/breadcrumbs.scss +802 -802
  11. package/dist/builder.js +1 -1
  12. package/dist/bulk-order-pad.scss +677 -677
  13. package/dist/bulk-variant-picker copy.scss +1121 -1121
  14. package/dist/bulk-variant-picker.scss +3294 -3294
  15. package/dist/bundle copy.scss +2805 -2805
  16. package/dist/bundle.scss +2383 -2383
  17. package/dist/bundleDetails copy.scss +1431 -1431
  18. package/dist/button copy.scss +271 -271
  19. package/dist/button.scss +292 -292
  20. package/dist/buy-for-tab-container.scss +90 -90
  21. package/dist/buy-for-tabs-container-item.scss +80 -80
  22. package/dist/buyForHeaders.scss +6718 -6718
  23. package/dist/cart-products-sidebar.scss +211 -211
  24. package/dist/cart-summary.scss +2728 -2728
  25. package/dist/cart-wrapper.scss +127 -127
  26. package/dist/cartGrouping.scss +89 -89
  27. package/dist/category-groups-element.scss +138 -138
  28. package/dist/category.scss +73 -73
  29. package/dist/categoryDetails.scss +61 -61
  30. package/dist/categoryWidget.scss +34 -34
  31. package/dist/checkbox-radio.scss +124 -124
  32. package/dist/code-temp.scss +58 -58
  33. package/dist/colorpicker_v2.scss +52 -52
  34. package/dist/common-element.scss +35 -35
  35. package/dist/confirm-modal.scss +351 -351
  36. package/dist/confirmationModal.scss +139 -139
  37. package/dist/contact-us.scss +105 -105
  38. package/dist/container.scss +114 -114
  39. package/dist/countdown.scss +751 -751
  40. package/dist/coupon.scss +1254 -1254
  41. package/dist/custom-fonts.scss +100 -100
  42. package/dist/customization-tree.scss +160 -160
  43. package/dist/default-dropdown.scss +240 -240
  44. package/dist/editCartItem.scss +111 -111
  45. package/dist/embed-temp.scss +72 -72
  46. package/dist/embroider-preview-element.scss +94 -94
  47. package/dist/embroider-template-1-v2.scss +937 -937
  48. package/dist/embroider-template-1.scss +482 -482
  49. package/dist/embroidery.scss +213 -213
  50. package/dist/employee-bulk-order.scss +4057 -4057
  51. package/dist/emtpy-templates.scss +165 -165
  52. package/dist/faq.scss +564 -564
  53. package/dist/fb-dropdown.scss +125 -125
  54. package/dist/filter-results.scss +323 -323
  55. package/dist/flex-text-editor.scss +271 -271
  56. package/dist/form-preview.scss +290 -290
  57. package/dist/form-zindex-module.scss +24 -24
  58. package/dist/gallery-slider-temp.scss +1234 -1234
  59. package/dist/global-styles.scss +86 -86
  60. package/dist/grid.scss +119 -119
  61. package/dist/hotspot.scss +397 -397
  62. package/dist/icon-library.scss +74 -74
  63. package/dist/image-for-product.scss +21 -21
  64. package/dist/image-temp.scss +168 -168
  65. package/dist/item-stock.scss +87 -87
  66. package/dist/layouter-item.scss +89 -89
  67. package/dist/layouter-pro-item.scss +80 -80
  68. package/dist/layouter-pro.scss +88 -88
  69. package/dist/light-box-v2.scss +105 -105
  70. package/dist/lightbox.scss +78 -78
  71. package/dist/line.scss +166 -166
  72. package/dist/loader.scss +37 -37
  73. package/dist/map.scss +962 -962
  74. package/dist/marchandiserSets.scss +60 -60
  75. package/dist/mega-menu-container.scss +99 -99
  76. package/dist/mega-menu.scss +838 -838
  77. package/dist/menu-item.scss +19 -19
  78. package/dist/menu.scss +162 -162
  79. package/dist/modal.scss +2267 -2267
  80. package/dist/multi-select-dropdown.scss +282 -282
  81. package/dist/my-wishlist.scss +17 -17
  82. package/dist/option-bar.scss +845 -845
  83. package/dist/order-processing.scss +61 -61
  84. package/dist/overflow-module.scss +63 -63
  85. package/dist/past-orders.scss +975 -975
  86. package/dist/payment-methods.scss +289 -289
  87. package/dist/pickup-locations.scss +1167 -1167
  88. package/dist/position-module.scss +95 -95
  89. package/dist/prefix-list.scss +86 -86
  90. package/dist/product-actions copy.scss +2765 -2765
  91. package/dist/product-actions.scss +2286 -2286
  92. package/dist/product-basic-elements.scss +770 -770
  93. package/dist/product-customizations.scss +149 -149
  94. package/dist/product-highlights copy.scss +217 -217
  95. package/dist/product-highlights.scss +311 -311
  96. package/dist/product-image copy.scss +787 -787
  97. package/dist/product-inventory.scss +1378 -1378
  98. package/dist/product-options.scss +1144 -1144
  99. package/dist/product-price.scss +2598 -2598
  100. package/dist/product-promotions.scss +2759 -2759
  101. package/dist/product.scss +97 -97
  102. package/dist/productDetails.scss +70 -70
  103. package/dist/quick-links.scss +552 -552
  104. package/dist/quick-order-pad.scss +237 -237
  105. package/dist/quota-details.scss +263 -263
  106. package/dist/quotes.scss +737 -737
  107. package/dist/repeater copy.scss +635 -635
  108. package/dist/repeater-grid-toggle.scss +58 -58
  109. package/dist/repeater-item.scss +90 -90
  110. package/dist/request-for-quotes.scss +746 -746
  111. package/dist/responsive-behaviour.scss +29 -29
  112. package/dist/rfqs.scss +736 -736
  113. package/dist/scroll.scss +222 -222
  114. package/dist/search-results-heading.scss +279 -279
  115. package/dist/shareCartSideBar.scss +254 -254
  116. package/dist/shipping-estimator.scss +41 -41
  117. package/dist/shipping-payments.scss +2467 -2467
  118. package/dist/simple-list.scss +259 -259
  119. package/dist/skeleton.scss +74 -74
  120. package/dist/social.scss +276 -276
  121. package/dist/sort.scss +89 -89
  122. package/dist/spotlight.scss +1663 -1663
  123. package/dist/stack.scss +129 -129
  124. package/dist/static-text.scss +52 -52
  125. package/dist/stockStatus.scss +64 -64
  126. package/dist/store-locations.scss +1398 -1398
  127. package/dist/sub-category.scss +74 -74
  128. package/dist/submit-quote.scss +275 -275
  129. package/dist/tab-container-item.scss +80 -80
  130. package/dist/tab-container.scss +89 -89
  131. package/dist/tab-v2.scss +583 -583
  132. package/dist/table-common.scss +506 -506
  133. package/dist/table.scss +685 -685
  134. package/dist/tabs.scss +395 -395
  135. package/dist/text-temp-v2.scss +139 -139
  136. package/dist/text-temp.scss +109 -109
  137. package/dist/toaster.scss +350 -350
  138. package/dist/toggle-button.scss +32 -32
  139. package/dist/transform-properties-module.scss +20 -20
  140. package/dist/types/builder/tools/element-edit/layouter.d.ts +2 -0
  141. package/dist/uom-selector.scss +1169 -1169
  142. package/dist/user-elements copy.scss +1437 -1437
  143. package/dist/variant-picker.scss +2384 -2384
  144. package/dist/video.scss +476 -476
  145. package/dist/volume-pricing copy 2.scss +1468 -1468
  146. package/dist/volume-pricing copy.scss +1077 -1077
  147. package/dist/volume-pricing.scss +1175 -1175
  148. package/dist/widget.scss +148 -148
  149. package/dist/wishlist-overlay.scss +48 -48
  150. package/package.json +1 -1
@@ -1,95 +1,95 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
-
4
- @use "./functions.scss" as *;
5
- @use "./prefix-list.scss" as *;
6
-
7
- $elementDragging: "[data-cms-new-element-dragging-v2='true']";
8
- $dataResizerTrue: '[data-cms-element-resizer="true"]';
9
- $activeElementSelector: "[data-has-clicked='true']";
10
- $editor: '[data-page-id="cms__template__editor"]';
11
- $var: "--_sf-width-rsp-psn";
12
-
13
- @function convertListToCommaSeparateString($list) {
14
- $items: ();
15
- @each $key, $value in $list {
16
- $sl: ".#{$value}";
17
- $items: list.append($items, $sl, comma);
18
- }
19
-
20
- @return $items;
21
- }
22
-
23
- $position: (
24
- class: (
25
- absolute: "flx-abs",
26
- fixed: "flx-fxd",
27
- sticky: "flx-stk",
28
- relative: "flx-rel",
29
- ),
30
- zIndex: "--_ctm-flex-z-index",
31
- attributes: (
32
- horizontal: "data-position-horizonal",
33
- vertical: "data-position-vertical",
34
- ),
35
- data: (
36
- horizontal: (
37
- right: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
38
- left: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
39
- ),
40
- vertical: (
41
- top: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
42
- bottom: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
43
- ),
44
- ),
45
- );
46
-
47
- @mixin FlexPositionModuleStyles() {
48
- $cls: map.get($position, class);
49
- $zIndex: map.get($position, zIndex);
50
- $attributes: map.get($position, attributes);
51
- $data: map.get($position, data);
52
- $pa: map.get($cls, absolute);
53
- $pr: map.get($cls, relative);
54
-
55
- :is(#{convertListToCommaSeparateString($cls)}) {
56
- @each $key, $value in $data {
57
- @each $key1, $value1 in $value {
58
- &[#{map.get($attributes, $key)}="#{$key1}"] {
59
- #{$key1}: #{$value1};
60
- }
61
- }
62
- }
63
- // @if(){
64
-
65
- // }
66
- // z-index: var(#{$zIndex});
67
- &:is(.#{$pr}, .#{pa}) {
68
- &:is(#{$editor} *) {
69
- &#{$activeElementSelector} {
70
- z-index: var(#{$zIndex});
71
- }
72
- }
73
- &:not(#{$editor} *) {
74
- z-index: var(#{$zIndex});
75
- }
76
- }
77
- &:not(.#{$pr}, .#{pa}) {
78
- z-index: var(#{$zIndex});
79
- }
80
- @each $key, $value in $cls {
81
- &.#{$value} {
82
- &:is(:not(#{$elementDragging}, #{$dataResizerTrue})) {
83
- position: var(--_p-#{$key}) !important;
84
- @if ($key == fixed) {
85
- @include FlexUpdatedPrefixCSSVariable($var);
86
- width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
87
- }
88
- @if not list.index((sticky, relative), $key) {
89
- margin: 0px !important;
90
- }
91
- }
92
- }
93
- }
94
- }
95
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ @use "./functions.scss" as *;
5
+ @use "./prefix-list.scss" as *;
6
+
7
+ $elementDragging: "[data-cms-new-element-dragging-v2='true']";
8
+ $dataResizerTrue: '[data-cms-element-resizer="true"]';
9
+ $activeElementSelector: "[data-has-clicked='true']";
10
+ $editor: '[data-page-id="cms__template__editor"]';
11
+ $var: "--_sf-width-rsp-psn";
12
+
13
+ @function convertListToCommaSeparateString($list) {
14
+ $items: ();
15
+ @each $key, $value in $list {
16
+ $sl: ".#{$value}";
17
+ $items: list.append($items, $sl, comma);
18
+ }
19
+
20
+ @return $items;
21
+ }
22
+
23
+ $position: (
24
+ class: (
25
+ absolute: "flx-abs",
26
+ fixed: "flx-fxd",
27
+ sticky: "flx-stk",
28
+ relative: "flx-rel",
29
+ ),
30
+ zIndex: "--_ctm-flex-z-index",
31
+ attributes: (
32
+ horizontal: "data-position-horizonal",
33
+ vertical: "data-position-vertical",
34
+ ),
35
+ data: (
36
+ horizontal: (
37
+ right: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
38
+ left: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
39
+ ),
40
+ vertical: (
41
+ top: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
42
+ bottom: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
43
+ ),
44
+ ),
45
+ );
46
+
47
+ @mixin FlexPositionModuleStyles() {
48
+ $cls: map.get($position, class);
49
+ $zIndex: map.get($position, zIndex);
50
+ $attributes: map.get($position, attributes);
51
+ $data: map.get($position, data);
52
+ $pa: map.get($cls, absolute);
53
+ $pr: map.get($cls, relative);
54
+
55
+ :is(#{convertListToCommaSeparateString($cls)}) {
56
+ @each $key, $value in $data {
57
+ @each $key1, $value1 in $value {
58
+ &[#{map.get($attributes, $key)}="#{$key1}"] {
59
+ #{$key1}: #{$value1};
60
+ }
61
+ }
62
+ }
63
+ // @if(){
64
+
65
+ // }
66
+ // z-index: var(#{$zIndex});
67
+ &:is(.#{$pr}, .#{pa}) {
68
+ &:is(#{$editor} *) {
69
+ &#{$activeElementSelector} {
70
+ z-index: var(#{$zIndex});
71
+ }
72
+ }
73
+ &:not(#{$editor} *) {
74
+ z-index: var(#{$zIndex});
75
+ }
76
+ }
77
+ &:not(.#{$pr}, .#{pa}) {
78
+ z-index: var(#{$zIndex});
79
+ }
80
+ @each $key, $value in $cls {
81
+ &.#{$value} {
82
+ &:is(:not(#{$elementDragging}, #{$dataResizerTrue})) {
83
+ position: var(--_p-#{$key}) !important;
84
+ @if ($key == fixed) {
85
+ @include FlexUpdatedPrefixCSSVariable($var);
86
+ width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
87
+ }
88
+ @if not list.index((sticky, relative), $key) {
89
+ margin: 0px !important;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
@@ -1,86 +1,86 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
-
4
- @use "./functions.scss" as *;
5
-
6
- $dataElementType: "data-element-type";
7
- $elementSelector: "[data-div-type='element']";
8
- $dataLayerElementType: "data-layer-element-type";
9
-
10
- $prefixList: (
11
- section: sec,
12
- grid: gri,
13
- container: con,
14
- stack: sta,
15
- repeater: rep,
16
- repeater-item: repe,
17
- product: pro,
18
- category: cat,
19
- categoryWidget: cate,
20
- brand: bran,
21
- subCategory: subc,
22
- productDetails: prod,
23
- categoryDetails: categ,
24
- lightboxv2: lig,
25
- layouter: lay,
26
- layouter-item: layo,
27
- layouter-pro: layou,
28
- layouter-pro-item: layout,
29
- tbs-v2: tbs,
30
- tbsContainer: tbsco,
31
- marchandiserSets: march,
32
- buyForWithTabs: buy,
33
- buyForTabsContainer: buyFo,
34
- spotlight: spo,
35
- categoryGroups: catego,
36
- mega-menu: meg,
37
- mgContainer: mgcon,
38
- cartWrapper: cartw,
39
- );
40
-
41
- $VariableTypes: (
42
- width: "lt-wh",
43
- maxHeight: "lt-mx-ht",
44
- transform: "trsnf-vl",
45
- );
46
-
47
- @function convertListToCommaSeparateString($list) {
48
- $items: ();
49
- @each $key, $value in $list {
50
- $sl: "[#{$dataElementType}=#{$key}]";
51
- $items: list.append($items, $sl, comma);
52
- }
53
-
54
- @return $items;
55
- }
56
-
57
- @function convertIntoActualVariable($prefix, $type) {
58
- // $types: (
59
- // width: "lt-wh",
60
- // maxHeight: "lt-mx-ht",
61
- // transform: "trsnf-vl",
62
- // );
63
- $suffix: map.get($VariableTypes, $type);
64
- @return --_ctm-#{$prefix}-#{$suffix};
65
- }
66
-
67
- @mixin FlexUpdatedPrefixCSSVariable($var, $isLayer: false, $type: width, $defaultValue: inherit) {
68
- $selector: "";
69
- @if ($isLayer == false) {
70
- $selector: $dataElementType;
71
- } @else {
72
- $selector: $dataLayerElementType;
73
- }
74
- @each $key, $value in $prefixList {
75
- &[#{$selector}="#{$key}"] {
76
- #{$var}: #{prepareMediaVariable(convertIntoActualVariable($value, $type), $defaultValue)};
77
- }
78
- }
79
- @if ($type != maxHeight) {
80
- &#{$elementSelector} {
81
- &:is(:not(#{convertListToCommaSeparateString($prefixList)})) {
82
- #{$var}: #{prepareMediaVariable(--_ctm-#{map.get($VariableTypes, $type)}, $defaultValue)};
83
- }
84
- }
85
- }
86
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ @use "./functions.scss" as *;
5
+
6
+ $dataElementType: "data-element-type";
7
+ $elementSelector: "[data-div-type='element']";
8
+ $dataLayerElementType: "data-layer-element-type";
9
+
10
+ $prefixList: (
11
+ section: sec,
12
+ grid: gri,
13
+ container: con,
14
+ stack: sta,
15
+ repeater: rep,
16
+ repeater-item: repe,
17
+ product: pro,
18
+ category: cat,
19
+ categoryWidget: cate,
20
+ brand: bran,
21
+ subCategory: subc,
22
+ productDetails: prod,
23
+ categoryDetails: categ,
24
+ lightboxv2: lig,
25
+ layouter: lay,
26
+ layouter-item: layo,
27
+ layouter-pro: layou,
28
+ layouter-pro-item: layout,
29
+ tbs-v2: tbs,
30
+ tbsContainer: tbsco,
31
+ marchandiserSets: march,
32
+ buyForWithTabs: buy,
33
+ buyForTabsContainer: buyFo,
34
+ spotlight: spo,
35
+ categoryGroups: catego,
36
+ mega-menu: meg,
37
+ mgContainer: mgcon,
38
+ cartWrapper: cartw,
39
+ );
40
+
41
+ $VariableTypes: (
42
+ width: "lt-wh",
43
+ maxHeight: "lt-mx-ht",
44
+ transform: "trsnf-vl",
45
+ );
46
+
47
+ @function convertListToCommaSeparateString($list) {
48
+ $items: ();
49
+ @each $key, $value in $list {
50
+ $sl: "[#{$dataElementType}=#{$key}]";
51
+ $items: list.append($items, $sl, comma);
52
+ }
53
+
54
+ @return $items;
55
+ }
56
+
57
+ @function convertIntoActualVariable($prefix, $type) {
58
+ // $types: (
59
+ // width: "lt-wh",
60
+ // maxHeight: "lt-mx-ht",
61
+ // transform: "trsnf-vl",
62
+ // );
63
+ $suffix: map.get($VariableTypes, $type);
64
+ @return --_ctm-#{$prefix}-#{$suffix};
65
+ }
66
+
67
+ @mixin FlexUpdatedPrefixCSSVariable($var, $isLayer: false, $type: width, $defaultValue: inherit) {
68
+ $selector: "";
69
+ @if ($isLayer == false) {
70
+ $selector: $dataElementType;
71
+ } @else {
72
+ $selector: $dataLayerElementType;
73
+ }
74
+ @each $key, $value in $prefixList {
75
+ &[#{$selector}="#{$key}"] {
76
+ #{$var}: #{prepareMediaVariable(convertIntoActualVariable($value, $type), $defaultValue)};
77
+ }
78
+ }
79
+ @if ($type != maxHeight) {
80
+ &#{$elementSelector} {
81
+ &:is(:not(#{convertListToCommaSeparateString($prefixList)})) {
82
+ #{$var}: #{prepareMediaVariable(--_ctm-#{map.get($VariableTypes, $type)}, $defaultValue)};
83
+ }
84
+ }
85
+ }
86
+ }