@sc-360-v2/storefront-cms-library 0.5.54 → 0.5.58

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 (109) hide show
  1. package/dist/add-order.scss +3 -4
  2. package/dist/add-products-tab-details.scss +3 -0
  3. package/dist/allocation-header-quota-details.scss +520 -0
  4. package/dist/allocationDetails.scss +608 -396
  5. package/dist/allocations-quota-details.scss +173 -170
  6. package/dist/allocations.scss +8 -112
  7. package/dist/amount-estimator.scss +1088 -1083
  8. package/dist/badge.scss +396 -388
  9. package/dist/breadcrumbs.scss +17 -0
  10. package/dist/builder.js +1 -1
  11. package/dist/bulk-variant-picker.scss +4 -0
  12. package/dist/bundle copy.scss +26 -0
  13. package/dist/bundle.scss +2584 -2557
  14. package/dist/bundleDetails.scss +14 -0
  15. package/dist/button copy.scss +4 -2
  16. package/dist/button.scss +4 -1
  17. package/dist/buyForHeaders.scss +19 -0
  18. package/dist/cart-details.scss +101 -18
  19. package/dist/cart-summary.scss +18 -0
  20. package/dist/cart.scss +2 -0
  21. package/dist/cartAttributes.scss +4 -0
  22. package/dist/category-groups-quota-details.scss +124 -38
  23. package/dist/checkout.scss +6 -0
  24. package/dist/countdown.scss +2 -0
  25. package/dist/coupon.scss +8 -0
  26. package/dist/embroidery.scss +2 -0
  27. package/dist/employee-bulk-order.scss +5 -0
  28. package/dist/faq.scss +9 -0
  29. package/dist/filters.scss +2 -0
  30. package/dist/form-zindex-module.scss +24 -24
  31. package/dist/gallery-slider-temp.scss +205 -14
  32. package/dist/hotspot.scss +17 -4
  33. package/dist/icon-list.scss +2 -0
  34. package/dist/kitDetails.scss +2 -0
  35. package/dist/kits.scss +2 -0
  36. package/dist/language-selector.scss +7 -5
  37. package/dist/last-x-orders.scss +5 -0
  38. package/dist/login.scss +14 -0
  39. package/dist/map.scss +6 -0
  40. package/dist/mega-menu.scss +35 -0
  41. package/dist/menu-v2.scss +83 -10
  42. package/dist/order-status.scss +16 -5
  43. package/dist/past-orders.scss +989 -975
  44. package/dist/pickup-locations.scss +1172 -1167
  45. package/dist/product-image-allocation.scss +59 -0
  46. package/dist/product-inventory.scss +1381 -1378
  47. package/dist/product-promotions.scss +2768 -2759
  48. package/dist/product-sizechart.scss +4 -0
  49. package/dist/profile.scss +121 -42
  50. package/dist/quantity-selector.scss +4 -0
  51. package/dist/quick-inventory-check.scss +5 -0
  52. package/dist/quick-order-pad.scss +5 -0
  53. package/dist/quota-details.scss +99 -15
  54. package/dist/repeater copy.scss +3 -0
  55. package/dist/repeater-grid-toggle.scss +2 -0
  56. package/dist/repeater-item.scss +2 -2
  57. package/dist/repeater.scss +2 -0
  58. package/dist/request-for-quotes.scss +1 -1
  59. package/dist/rfqs.scss +10 -0
  60. package/dist/scroll.scss +70 -0
  61. package/dist/search.scss +4 -0
  62. package/dist/shipping-payments.scss +4 -0
  63. package/dist/social.scss +5 -0
  64. package/dist/store-locations.scss +1402 -1398
  65. package/dist/tab-v2.scss +2 -0
  66. package/dist/table-common.scss +509 -506
  67. package/dist/table.scss +687 -685
  68. package/dist/types/builder/tools/element-edit/addProductsTab.d.ts +43 -15
  69. package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +5 -0
  70. package/dist/types/builder/tools/element-edit/allocations.d.ts +1 -0
  71. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +5 -0
  72. package/dist/types/builder/tools/element-edit/bundle.d.ts +60 -10
  73. package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +35 -15
  74. package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +243 -0
  75. package/dist/types/builder/tools/element-edit/buyForWithTab.d.ts +1 -0
  76. package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +9 -0
  77. package/dist/types/builder/tools/element-edit/cartDetails.d.ts +79 -1
  78. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +107 -35
  79. package/dist/types/builder/tools/element-edit/categoryGroups.d.ts +28 -0
  80. package/dist/types/builder/tools/element-edit/checkout.d.ts +1 -0
  81. package/dist/types/builder/tools/element-edit/common.d.ts +23 -0
  82. package/dist/types/builder/tools/element-edit/countdown.d.ts +1 -0
  83. package/dist/types/builder/tools/element-edit/coupon.d.ts +29 -10
  84. package/dist/types/builder/tools/element-edit/embroidery.d.ts +9 -0
  85. package/dist/types/builder/tools/element-edit/filterResults.d.ts +10 -0
  86. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +19 -0
  87. package/dist/types/builder/tools/element-edit/icon-list.d.ts +9 -0
  88. package/dist/types/builder/tools/element-edit/iconInstace.d.ts +1 -0
  89. package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +2 -7
  90. package/dist/types/builder/tools/element-edit/kitDetails.d.ts +252 -31
  91. package/dist/types/builder/tools/element-edit/kits.d.ts +9 -0
  92. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +52 -0
  93. package/dist/types/builder/tools/element-edit/profile.d.ts +7 -0
  94. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +10 -0
  95. package/dist/types/builder/tools/element-edit/quotaDetails.d.ts +1 -0
  96. package/dist/types/builder/tools/element-edit/rfqs.d.ts +5 -0
  97. package/dist/types/builder/tools/element-edit/scroll.d.ts +19 -0
  98. package/dist/types/builder/tools/element-edit/shipping-payments.d.ts +2 -0
  99. package/dist/types/builder/tools/element-edit/social.d.ts +1 -0
  100. package/dist/types/builder/tools/element-edit/table.d.ts +1 -0
  101. package/dist/types/builder/tools/element-edit/tabs.d.ts +18 -0
  102. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +17 -0
  103. package/dist/types/builder/tools/element-edit/userElements.d.ts +5 -0
  104. package/dist/types/builder/tools/element-edit/video.d.ts +17 -0
  105. package/dist/user-elements.scss +10 -0
  106. package/dist/variant-picker.scss +2 -0
  107. package/dist/video.scss +2 -0
  108. package/dist/volume-pricing.scss +3 -0
  109. package/package.json +131 -131
package/dist/scroll.scss CHANGED
@@ -142,6 +142,20 @@ $max-items: 20;
142
142
  --_ctm-dn-i#{$i}-ue,
143
143
  #{prepareMediaVariable(--_ctm-dn-i1-ue)}
144
144
  );
145
+ // All three inherit, so setting them on the item is enough for the text node
146
+ // (and the `.scroll-item__text` span the clamp uses) to pick them up.
147
+ text-transform: prepareMediaVariable(
148
+ --_ctm-dn-i#{$i}-tt-tm,
149
+ #{prepareMediaVariable(--_ctm-dn-i1-tt-tm)}
150
+ );
151
+ word-wrap: prepareMediaVariable(
152
+ --_ctm-dn-i#{$i}-wd-wr,
153
+ #{prepareMediaVariable(--_ctm-dn-i1-wd-wr)}
154
+ );
155
+ word-break: prepareMediaVariable(
156
+ --_ctm-dn-i#{$i}-wd-bk,
157
+ #{prepareMediaVariable(--_ctm-dn-i1-wd-bk)}
158
+ );
145
159
 
146
160
  .icon {
147
161
  svg {
@@ -158,6 +172,8 @@ $max-items: 20;
158
172
  --_ctm-dn-i#{$i}-in-c1,
159
173
  #{prepareMediaVariable(--_ctm-dn-i1-in-c1)}
160
174
  );
175
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
176
+ stroke-width: prepareMediaVariable(--_ctm-dn-i1-se-wh, 1.25);
161
177
  }
162
178
  }
163
179
  }
@@ -178,6 +194,41 @@ $max-items: 20;
178
194
  animation-direction: reverse;
179
195
  }
180
196
 
197
+ // Vertical scroll. The horizontal marquee translates on X and lays the items out
198
+ // in a row; both have to flip for a vertical run, so the two vertical directions
199
+ // share this block and only differ by `animation-direction` below.
200
+ &[data-scroll-direction="topToBottom"],
201
+ &[data-scroll-direction="bottomToTop"] {
202
+ // `nowrap` is what keeps the horizontal run on one line; it fights a column stack.
203
+ white-space: normal;
204
+
205
+ .scrolling {
206
+ flex-direction: column;
207
+ animation-name: marquee-vertical;
208
+ padding-right: 0;
209
+ padding-bottom: 10px;
210
+ }
211
+
212
+ // The container is sized with `min-height`, which is right for a row (content
213
+ // never exceeds it) but wrong for a column: the stack would simply grow the box,
214
+ // nothing would overflow, and the marquee would look frozen. Pin the height.
215
+ .scroll__container {
216
+ height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
217
+ align-items: flex-start;
218
+ }
219
+ }
220
+
221
+ // `marquee-vertical` translates upward, which reads as bottom-to-top on screen —
222
+ // so that is the `normal` case and top-to-bottom is the reversed one. Same trick
223
+ // as the horizontal pair above.
224
+ &[data-scroll-direction="bottomToTop"] .scrolling {
225
+ animation-direction: normal;
226
+ }
227
+
228
+ &[data-scroll-direction="topToBottom"] .scrolling {
229
+ animation-direction: reverse;
230
+ }
231
+
181
232
  &[data-scroll-speed="0.5x"] .scrolling {
182
233
  animation-duration: 40s;
183
234
  }
@@ -261,6 +312,16 @@ $max-items: 20;
261
312
  animation-timing-function: linear;
262
313
  }
263
314
 
315
+ // Text Overflow. The item's text sits in its own span so the clamp gets a block
316
+ // box of its own — clamping `.scroll-item` itself would swap its `display: flex`
317
+ // for `-webkit-box` and break the icon/text row. `white-space` has to be reset
318
+ // because `.wrapper` sets `nowrap`, and a clamp on a non-wrapping node can only
319
+ // ever show one line.
320
+ .scroll-item__text.flex__overflow {
321
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
322
+ white-space: normal;
323
+ }
324
+
264
325
  .divider {
265
326
  background-color: var(
266
327
  --_ctm-mob-dn-dr-se-bd-cr,
@@ -305,6 +366,15 @@ $max-items: 20;
305
366
  transform: translateX(var(--_marquee-tx, -50%));
306
367
  }
307
368
  }
369
+
370
+ @keyframes marquee-vertical {
371
+ 0% {
372
+ transform: translateY(0);
373
+ }
374
+ 100% {
375
+ transform: translateY(var(--_marquee-ty, -50%));
376
+ }
377
+ }
308
378
  }
309
379
  }
310
380
  }
package/dist/search.scss CHANGED
@@ -279,6 +279,8 @@
279
279
 
280
280
  path {
281
281
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-in-c1));
282
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
283
+ stroke-width: prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-se-wh, 1.25);
282
284
  }
283
285
  }
284
286
  }
@@ -521,6 +523,8 @@
521
523
  --_ctm-mob-dn-sh-in-in-c1,
522
524
  var(--_ctm-tab-dn-sh-in-in-c1, var(--_ctm-dn-sh-in-in-c1))
523
525
  );
526
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
527
+ stroke-width: prepareMediaVariable(--_ctm-dn-sh-in-se-wh, 1.25);
524
528
  }
525
529
  }
526
530
 
@@ -445,6 +445,8 @@ $activeElementSelector: "[data-has-clicked='true']";
445
445
  height: var(--_ctm-dn-me-sg-as-dn-dd-in-in-se);
446
446
  path {
447
447
  stroke: var(--_ctm-dn-me-sg-as-dn-dd-in-in-c1);
448
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
449
+ stroke-width: prepareMediaVariable(--_ctm-dn-me-sg-as-dn-dd-in-se-wh, 1.25);
448
450
  }
449
451
  }
450
452
  &:hover {
@@ -2063,6 +2065,8 @@ $activeElementSelector: "[data-has-clicked='true']";
2063
2065
  height: var(--_ctm-dn-pt-os-dn-ne-dn-in-se);
2064
2066
  path {
2065
2067
  stroke: var(--_ctm-dn-pt-os-dn-ne-dn-in-c1);
2068
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
2069
+ stroke-width: prepareMediaVariable(--_ctm-dn-pt-os-dn-ne-dn-se-wh, 1.25);
2066
2070
  }
2067
2071
  }
2068
2072
  }
package/dist/social.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @use "./functions.scss" as *;
1
2
  @use "sass:map";
2
3
  @use "sass:list";
3
4
 
@@ -127,6 +128,8 @@
127
128
  & svg {
128
129
  path {
129
130
  stroke: var(--_ctm-dn-im-se-in-c1, var(--_tst-dn-im-se-in-c1));
131
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
132
+ stroke-width: prepareMediaVariable(--_ctm-dn-im-se-se-wh, 1.25);
130
133
  }
131
134
  }
132
135
  }
@@ -218,6 +221,8 @@
218
221
  // --_ctm-mob-dn-im-se-in-c1,
219
222
  // var(--_ctm-tab-dn-im-se-in-c1, var(--_ctm-dn-im-se-in-c1))
220
223
  // );
224
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
225
+ stroke-width: prepareMediaVariable(--_ctm-dn-im-se-se-wh, 1.25);
221
226
  // }
222
227
  }
223
228