@sc-360-v2/storefront-cms-library 0.5.1 → 0.5.3

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 (115) hide show
  1. package/dist/add-existing-form.scss +66 -66
  2. package/dist/amount-estimator.scss +1083 -1083
  3. package/dist/animation-control.scss +23 -23
  4. package/dist/badge.scss +388 -388
  5. package/dist/brand.scss +93 -93
  6. package/dist/breadcrumbs.scss +802 -802
  7. package/dist/builder.js +1 -1
  8. package/dist/bulk-variant-picker copy.scss +1121 -1121
  9. package/dist/bundleDetails copy.scss +1431 -1431
  10. package/dist/button copy.scss +271 -271
  11. package/dist/buy-for-tab-container.scss +90 -90
  12. package/dist/buy-for-tabs-container-item.scss +80 -80
  13. package/dist/buyForHeaders.scss +5 -4
  14. package/dist/cart-products-sidebar.scss +211 -211
  15. package/dist/cart-summary.scss +2 -0
  16. package/dist/cart-wrapper.scss +127 -127
  17. package/dist/cartDropdownOverlay.scss +2 -1
  18. package/dist/cartGrouping.scss +89 -89
  19. package/dist/category.scss +73 -73
  20. package/dist/categoryDetails.scss +61 -61
  21. package/dist/categoryWidget.scss +34 -34
  22. package/dist/checkbox-radio.scss +124 -124
  23. package/dist/code-temp.scss +58 -58
  24. package/dist/common-element.scss +35 -35
  25. package/dist/confirmationModal.scss +139 -139
  26. package/dist/coupon.scss +7 -3
  27. package/dist/custom-fonts.scss +100 -100
  28. package/dist/customization-tree.scss +4 -3
  29. package/dist/dropdownTemplate.scss +3 -1
  30. package/dist/embed-temp.scss +72 -72
  31. package/dist/embroider-preview-element.scss +94 -94
  32. package/dist/embroider-template-1.scss +482 -482
  33. package/dist/emtpy-templates.scss +165 -165
  34. package/dist/faq.scss +564 -564
  35. package/dist/fb-dropdown.scss +125 -125
  36. package/dist/filter-results.scss +323 -323
  37. package/dist/flex-text-editor.scss +271 -271
  38. package/dist/form-zindex-module.scss +24 -24
  39. package/dist/global-styles.scss +86 -86
  40. package/dist/grid.scss +119 -119
  41. package/dist/hotspot.scss +397 -397
  42. package/dist/icon-library.scss +74 -74
  43. package/dist/image-for-product.scss +21 -21
  44. package/dist/item-stock.scss +87 -87
  45. package/dist/language-selector.scss +9 -8
  46. package/dist/layouter-pro.scss +88 -88
  47. package/dist/light-box-v2.scss +105 -105
  48. package/dist/lightbox.scss +78 -78
  49. package/dist/line.scss +166 -166
  50. package/dist/loader.scss +37 -37
  51. package/dist/marchandiserSets.scss +60 -60
  52. package/dist/mega-menu-container.scss +5 -1
  53. package/dist/mega-menu.scss +2 -1
  54. package/dist/menu-item.scss +19 -19
  55. package/dist/menu.scss +162 -162
  56. package/dist/modal.scss +8 -1
  57. package/dist/multi-select-dropdown.scss +3 -2
  58. package/dist/my-templates.scss +2 -1
  59. package/dist/my-wishlist.scss +17 -17
  60. package/dist/option-bar.scss +4 -1
  61. package/dist/order-processing.scss +61 -61
  62. package/dist/order-status.scss +110 -1
  63. package/dist/overflow-module.scss +63 -63
  64. package/dist/past-orders.scss +975 -975
  65. package/dist/payment-methods.scss +289 -289
  66. package/dist/phone-input.scss +3 -3
  67. package/dist/pickup-locations.scss +1167 -1167
  68. package/dist/position-module.scss +95 -95
  69. package/dist/prefix-list.scss +86 -86
  70. package/dist/product-actions copy.scss +2765 -2765
  71. package/dist/product-customizations.scss +149 -149
  72. package/dist/product-image copy.scss +787 -787
  73. package/dist/product-image.scss +73 -0
  74. package/dist/product-inventory.scss +1378 -1378
  75. package/dist/product-promotions.scss +2759 -2759
  76. package/dist/product.scss +97 -97
  77. package/dist/productDetails.scss +70 -70
  78. package/dist/quick-order-pad.scss +4 -4
  79. package/dist/quota-details.scss +263 -263
  80. package/dist/quotes.scss +737 -737
  81. package/dist/repeater copy.scss +635 -635
  82. package/dist/responsive-behaviour.scss +29 -29
  83. package/dist/rfqs.scss +736 -736
  84. package/dist/search-results-heading.scss +279 -279
  85. package/dist/shareCartSideBar.scss +254 -254
  86. package/dist/shipping-estimator.scss +41 -41
  87. package/dist/simple-list.scss +259 -259
  88. package/dist/social.scss +276 -276
  89. package/dist/sort.scss +89 -89
  90. package/dist/stack.scss +129 -129
  91. package/dist/static-global.scss +1 -1
  92. package/dist/static-text.scss +52 -52
  93. package/dist/stockStatus.scss +64 -64
  94. package/dist/store-locations.scss +1398 -1398
  95. package/dist/sub-category.scss +74 -74
  96. package/dist/submit-quote.scss +275 -275
  97. package/dist/tab-container-item.scss +80 -80
  98. package/dist/tab-container.scss +89 -89
  99. package/dist/tab-v2.scss +583 -583
  100. package/dist/table-common.scss +506 -506
  101. package/dist/table.scss +685 -685
  102. package/dist/tabs.scss +395 -395
  103. package/dist/text-temp-v2.scss +139 -139
  104. package/dist/text-temp.scss +109 -109
  105. package/dist/toaster.scss +350 -350
  106. package/dist/toggle-button.scss +32 -32
  107. package/dist/transform-properties-module.scss +20 -20
  108. package/dist/types/website/constants/data-connector-souces.d.ts +25 -6
  109. package/dist/user-elements copy.scss +1437 -1437
  110. package/dist/user-elements.scss +9 -0
  111. package/dist/video.scss +476 -476
  112. package/dist/website.js +1 -1
  113. package/dist/widget.scss +148 -148
  114. package/dist/wishlist-overlay.scss +48 -48
  115. 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
+ }