@sc-360-v2/storefront-cms-library 0.5.50 → 0.5.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 (58) hide show
  1. package/dist/add-order.scss +62 -13
  2. package/dist/brand-basic-elements.scss +109 -46
  3. package/dist/brand.scss +6 -0
  4. package/dist/breadcrumbs.scss +157 -51
  5. package/dist/builder.js +1 -1
  6. package/dist/bundle copy.scss +2805 -0
  7. package/dist/bundle.scss +74 -48
  8. package/dist/bundleDetails.scss +1360 -275
  9. package/dist/button copy.scss +271 -0
  10. package/dist/cart-details.scss +214 -0
  11. package/dist/cart.scss +124 -41
  12. package/dist/category-groups-product-image.scss +72 -21
  13. package/dist/category.scss +25 -4
  14. package/dist/container.scss +20 -17
  15. package/dist/embed-temp.scss +2 -2
  16. package/dist/hotspot.scss +153 -77
  17. package/dist/icon-library.scss +78 -74
  18. package/dist/image-temp.scss +2 -1
  19. package/dist/language-selector.scss +215 -55
  20. package/dist/light-box-v2.scss +4 -3
  21. package/dist/line.scss +54 -36
  22. package/dist/login.scss +225 -69
  23. package/dist/map.scss +354 -147
  24. package/dist/marchandiserSets.scss +34 -0
  25. package/dist/menu-v2.scss +51 -3
  26. package/dist/modal.scss +251 -28
  27. package/dist/product-actions.scss +53 -0
  28. package/dist/product-basic-elements.scss +44 -244
  29. package/dist/product-image-allocation.scss +51 -15
  30. package/dist/product-image-bundles.scss +72 -15
  31. package/dist/product-image.scss +178 -19
  32. package/dist/productDetails.scss +33 -0
  33. package/dist/quick-links.scss +23 -2
  34. package/dist/repeater copy.scss +635 -0
  35. package/dist/repeater-embla-controls.scss +9 -1
  36. package/dist/repeater-grid-toggle.scss +121 -7
  37. package/dist/repeater-item.scss +5 -1
  38. package/dist/repeater.scss +69 -102
  39. package/dist/review-cart.scss +7 -1
  40. package/dist/scroll.scss +52 -11
  41. package/dist/search.scss +46 -6
  42. package/dist/skeleton.scss +24 -35
  43. package/dist/styles.css +1 -1
  44. package/dist/tab-container.scss +14 -12
  45. package/dist/tab-v2.scss +834 -583
  46. package/dist/text-temp-v2.scss +18 -1
  47. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +26 -5
  48. package/dist/types/builder/tools/element-edit/cart.d.ts +7 -0
  49. package/dist/types/builder/tools/element-edit/map.d.ts +0 -1
  50. package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
  51. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +6 -0
  52. package/dist/types/builder/tools/element-edit/repeater.d.ts +1 -1
  53. package/dist/types/builder/tools/element-edit/search.d.ts +4 -61
  54. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +164 -1
  55. package/dist/types/builder/tools/element-edit/video.d.ts +32 -0
  56. package/dist/upload-media.scss +14 -2
  57. package/dist/video.scss +548 -476
  58. package/package.json +1 -1
@@ -97,6 +97,39 @@ $resizeActive: '[data-cms-element-resizer="true"]';
97
97
  // );
98
98
  min-height: var(--_ctm-mob-prod-lt-ht, var(--_ctm-tab-prod-lt-ht, var(--_ctm-prod-lt-ht)));
99
99
 
100
+ // Layout padding, and the design section's border and shadow. None of these were
101
+ // consumed here before — the schema declares all of them, but this stylesheet only
102
+ // handled width, margin, min-height and the background, so Padding, Border Style,
103
+ // Border Radius and Box Shadow each had nothing reading the value they wrote.
104
+ // Every variable carries an explicit fallback so elements saved before this keep
105
+ // rendering bare rather than inheriting the parent's border or background.
106
+ padding: prepareMediaVariable(--_ctm-prod-lt-pg, 0);
107
+ // Padding and border are drawn inside the width and height set in layout instead of
108
+ // adding to them, so the element keeps the size the user asked for.
109
+ box-sizing: border-box;
110
+
111
+ border-color: prepareMediaVariable(--_ctm-prod-dn-br-cr, transparent);
112
+ border-style: prepareMediaVariable(--_ctm-prod-dn-br-se, none);
113
+ border-width: prepareMediaVariable(--_ctm-prod-dn-br-wh, 0);
114
+ border-radius: prepareMediaVariable(--_ctm-prod-dn-br-rs, 0);
115
+
116
+ box-shadow: var(
117
+ --_show-shadow,
118
+ prepareMediaVariable(--_ctm-prod-dn-sw-ae, 0 0) prepareMediaVariable(--_ctm-prod-dn-sw-br, 0)
119
+ prepareMediaVariable(--_ctm-prod-dn-sw-sd, 0)
120
+ prepareMediaVariable(--_ctm-prod-dn-sw-cr, transparent)
121
+ );
122
+
123
+ // "Show Border" / "Show Shadow" switches, surfaced as data attributes by the
124
+ // element since the properties above are painted from variables.
125
+ &[data-show-border="false"] {
126
+ border-width: 0;
127
+ border-style: none;
128
+ }
129
+ &[data-show-shadow="false"] {
130
+ --_show-shadow: none;
131
+ }
132
+
100
133
  // &:not(:has(#{$resizerId}#{$resizeActive})) {
101
134
  // min-height: 100px !important;
102
135
  // }
@@ -78,7 +78,6 @@
78
78
  border-width: prepareMediaVariable(--_ctm-dn-im-se-dt-se-br-wh);
79
79
  border-color: prepareMediaVariable(--_ctm-dn-im-se-dt-se-br-cr);
80
80
  border-style: prepareMediaVariable(--_ctm-dn-im-se-dt-se-br-se);
81
- border-radius: prepareMediaVariable(--_ctm-dn-im-se-dt-se-br-rs);
82
81
  }
83
82
  }
84
83
 
@@ -94,7 +93,6 @@
94
93
  border-width: prepareMediaVariable(--_ctm-dn-im-se-hr-se-br-wh);
95
94
  border-color: prepareMediaVariable(--_ctm-dn-im-se-hr-se-br-cr);
96
95
  border-style: prepareMediaVariable(--_ctm-dn-im-se-hr-se-br-se);
97
- border-radius: prepareMediaVariable(--_ctm-dn-im-se-hr-se-br-rs);
98
96
  }
99
97
  }
100
98
 
@@ -185,6 +183,7 @@
185
183
  gap: var(--_ctm-mob-lt-gp-bn-is, var(--_ctm-tab-gp-bn-is, var(--_ctm-lt-gp-bn-is)));
186
184
  }
187
185
  }
186
+
188
187
  &[data-display-style="Wrap Horizontal"] {
189
188
  .quick__links__container .items__container {
190
189
  display: flex;
@@ -199,45 +198,54 @@
199
198
  flex-direction: column;
200
199
  }
201
200
  }
201
+
202
202
  &[data-text-position="bottom"] {
203
203
  .quick__links__container {
204
204
  flex-direction: column-reverse;
205
205
  }
206
206
  }
207
+
207
208
  &[data-text-position="left"] {
208
209
  .quick__links__container {
209
210
  flex-direction: row;
210
211
  }
212
+
211
213
  &[data-widget-alignment="top"] {
212
214
  .quick__links__container {
213
215
  align-items: flex-start;
214
216
  }
215
217
  }
218
+
216
219
  &[data-widget-alignment="center"] {
217
220
  .quick__links__container {
218
221
  align-items: center;
219
222
  }
220
223
  }
224
+
221
225
  &[data-widget-alignment="bottom"] {
222
226
  .quick__links__container {
223
227
  align-items: flex-end;
224
228
  }
225
229
  }
226
230
  }
231
+
227
232
  &[data-text-position="right"] {
228
233
  .quick__links__container {
229
234
  flex-direction: row-reverse;
230
235
  }
236
+
231
237
  &[data-widget-alignment="top"] {
232
238
  .quick__links__container {
233
239
  align-items: flex-start;
234
240
  }
235
241
  }
242
+
236
243
  &[data-widget-alignment="center"] {
237
244
  .quick__links__container {
238
245
  align-items: center;
239
246
  }
240
247
  }
248
+
241
249
  &[data-widget-alignment="bottom"] {
242
250
  .quick__links__container {
243
251
  align-items: flex-end;
@@ -297,11 +305,13 @@
297
305
  &[data-content-shadow="false"] {
298
306
  --_show-text-content-shadow: none;
299
307
  }
308
+
300
309
  &[data-icon-background-shape="circle"] {
301
310
  .video__icon {
302
311
  border-radius: 50%;
303
312
  }
304
313
  }
314
+
305
315
  &[data-icon-background-shape="rectange"] {
306
316
  .video__icon {
307
317
  border-radius: 6px;
@@ -398,6 +408,7 @@
398
408
  var(--_ctm-tab-dn-qk-ls-tt-cr-dn-sw-cr, var(--_ctm-dn-qk-ls-tt-cr-dn-sw-cr))
399
409
  )
400
410
  );
411
+
401
412
  h3 {
402
413
  font-family: prepareMediaVariable(--_ctm-dn-qk-ls-wt-dn-ft-fy);
403
414
  font-size: prepareMediaVariable(--_ctm-dn-qk-ls-wt-dn-ft-se);
@@ -502,6 +513,10 @@
502
513
  }
503
514
 
504
515
  .items__container {
516
+ .dropdown__container {
517
+ width: prepareMediaVariable(--_ctm-lt-dn-wh);
518
+ }
519
+
505
520
  .links__item,
506
521
  .dropdown__container .est__dropdown__main .est__dropdown .list .list__option {
507
522
  display: block;
@@ -517,6 +532,7 @@
517
532
  background-color: prepareMediaVariable(--_ctm-dn-im-se-dt-se-bd-cr);
518
533
  padding: prepareMediaVariable(--_ctm-dn-im-se-dt-se-pg);
519
534
  width: fit-content;
535
+ border-radius: prepareMediaVariable(--_ctm-dn-im-se-dt-se-br-rs);
520
536
 
521
537
  &:hover {
522
538
  font-family: prepareMediaVariable(--_ctm-dn-im-se-hr-se-ft-fy);
@@ -530,9 +546,11 @@
530
546
  line-height: prepareMediaVariable(--_ctm-dn-im-se-hr-se-le-ht);
531
547
  background-color: prepareMediaVariable(--_ctm-dn-im-se-hr-se-bd-cr);
532
548
  padding: prepareMediaVariable(--_ctm-dn-im-se-hr-se-pg);
549
+ border-radius: prepareMediaVariable(--_ctm-dn-im-se-hr-se-br-rs);
533
550
  }
534
551
  }
535
552
  }
553
+
536
554
  .placeholder__text {
537
555
  display: flex !important;
538
556
  justify-content: space-between !important;
@@ -543,12 +561,14 @@
543
561
  background-color: #fff !important;
544
562
  width: 100% !important;
545
563
  }
564
+
546
565
  .est__dropdown .list {
547
566
  gap: var(
548
567
  --_ctm-mob-lt-dn-gp-bn-is,
549
568
  var(--_ctm-tab-lt-dn-gp-bn-is, var(--_ctm-lt-dn-gp-bn-is))
550
569
  );
551
570
  }
571
+
552
572
  .items__container {
553
573
  .dropdown__container {
554
574
  .est__dropdown__main {
@@ -561,6 +581,7 @@
561
581
  padding: 0px !important;
562
582
  background-color: transparent;
563
583
  }
584
+
564
585
  .list {
565
586
  width: var(
566
587
  --_ctm-mob-lt-dn-wh,