@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.
- package/dist/add-order.scss +62 -13
- package/dist/brand-basic-elements.scss +109 -46
- package/dist/brand.scss +6 -0
- package/dist/breadcrumbs.scss +157 -51
- package/dist/builder.js +1 -1
- package/dist/bundle copy.scss +2805 -0
- package/dist/bundle.scss +74 -48
- package/dist/bundleDetails.scss +1360 -275
- package/dist/button copy.scss +271 -0
- package/dist/cart-details.scss +214 -0
- package/dist/cart.scss +124 -41
- package/dist/category-groups-product-image.scss +72 -21
- package/dist/category.scss +25 -4
- package/dist/container.scss +20 -17
- package/dist/embed-temp.scss +2 -2
- package/dist/hotspot.scss +153 -77
- package/dist/icon-library.scss +78 -74
- package/dist/image-temp.scss +2 -1
- package/dist/language-selector.scss +215 -55
- package/dist/light-box-v2.scss +4 -3
- package/dist/line.scss +54 -36
- package/dist/login.scss +225 -69
- package/dist/map.scss +354 -147
- package/dist/marchandiserSets.scss +34 -0
- package/dist/menu-v2.scss +51 -3
- package/dist/modal.scss +251 -28
- package/dist/product-actions.scss +53 -0
- package/dist/product-basic-elements.scss +44 -244
- package/dist/product-image-allocation.scss +51 -15
- package/dist/product-image-bundles.scss +72 -15
- package/dist/product-image.scss +178 -19
- package/dist/productDetails.scss +33 -0
- package/dist/quick-links.scss +23 -2
- package/dist/repeater copy.scss +635 -0
- package/dist/repeater-embla-controls.scss +9 -1
- package/dist/repeater-grid-toggle.scss +121 -7
- package/dist/repeater-item.scss +5 -1
- package/dist/repeater.scss +69 -102
- package/dist/review-cart.scss +7 -1
- package/dist/scroll.scss +52 -11
- package/dist/search.scss +46 -6
- package/dist/skeleton.scss +24 -35
- package/dist/styles.css +1 -1
- package/dist/tab-container.scss +14 -12
- package/dist/tab-v2.scss +834 -583
- package/dist/text-temp-v2.scss +18 -1
- package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +26 -5
- package/dist/types/builder/tools/element-edit/cart.d.ts +7 -0
- package/dist/types/builder/tools/element-edit/map.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +6 -0
- package/dist/types/builder/tools/element-edit/repeater.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/search.d.ts +4 -61
- package/dist/types/builder/tools/element-edit/tabsV2.d.ts +164 -1
- package/dist/types/builder/tools/element-edit/video.d.ts +32 -0
- package/dist/upload-media.scss +14 -2
- package/dist/video.scss +548 -476
- package/package.json +1 -1
|
@@ -89,6 +89,40 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
89
89
|
// );
|
|
90
90
|
min-height: var(--_ctm-mob-march-lt-ht, var(--_ctm-tab-march-lt-ht, var(--_ctm-march-lt-ht)));
|
|
91
91
|
|
|
92
|
+
// Layout padding, and the design section's border and shadow. None of these were
|
|
93
|
+
// consumed here before — the schema declares all of them, but this stylesheet only
|
|
94
|
+
// handled width, margin, min-height and the background, so Padding, Border Style,
|
|
95
|
+
// Border Radius and Box Shadow each had nothing reading the value they wrote.
|
|
96
|
+
// Every variable carries an explicit fallback so elements saved before this keep
|
|
97
|
+
// rendering bare rather than inheriting the parent's border or background.
|
|
98
|
+
padding: prepareMediaVariable(--_ctm-march-lt-pg, 0);
|
|
99
|
+
// Padding and border are drawn inside the width and height set in layout instead of
|
|
100
|
+
// adding to them, so the element keeps the size the user asked for.
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
|
|
103
|
+
border-color: prepareMediaVariable(--_ctm-march-dn-br-cr, transparent);
|
|
104
|
+
border-style: prepareMediaVariable(--_ctm-march-dn-br-se, none);
|
|
105
|
+
border-width: prepareMediaVariable(--_ctm-march-dn-br-wh, 0);
|
|
106
|
+
border-radius: prepareMediaVariable(--_ctm-march-dn-br-rs, 0);
|
|
107
|
+
|
|
108
|
+
box-shadow: var(
|
|
109
|
+
--_show-shadow,
|
|
110
|
+
prepareMediaVariable(--_ctm-march-dn-sw-ae, 0 0)
|
|
111
|
+
prepareMediaVariable(--_ctm-march-dn-sw-br, 0)
|
|
112
|
+
prepareMediaVariable(--_ctm-march-dn-sw-sd, 0)
|
|
113
|
+
prepareMediaVariable(--_ctm-march-dn-sw-cr, transparent)
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
// "Show Border" / "Show Shadow" switches, surfaced as data attributes by the
|
|
117
|
+
// element since the properties above are painted from variables.
|
|
118
|
+
&[data-show-border="false"] {
|
|
119
|
+
border-width: 0;
|
|
120
|
+
border-style: none;
|
|
121
|
+
}
|
|
122
|
+
&[data-show-shadow="false"] {
|
|
123
|
+
--_show-shadow: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
92
126
|
// &:not(:has(#{$resizerId}#{$resizeActive})) {
|
|
93
127
|
// min-height: 100px !important;
|
|
94
128
|
// }
|
package/dist/menu-v2.scss
CHANGED
|
@@ -34,6 +34,7 @@ $defaultValues: (
|
|
|
34
34
|
position: relative;
|
|
35
35
|
display: var(--_d-flex);
|
|
36
36
|
justify-content: prepareMediaVariable(--_ctm-dn-hr-os-vl-at);
|
|
37
|
+
|
|
37
38
|
& > div {
|
|
38
39
|
&#{$wrapper} {
|
|
39
40
|
position: absolute;
|
|
@@ -73,6 +74,7 @@ $defaultValues: (
|
|
|
73
74
|
width: 100%;
|
|
74
75
|
flex-direction: column;
|
|
75
76
|
gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
|
|
77
|
+
|
|
76
78
|
& > #{$subMenuContainer} {
|
|
77
79
|
width: 100% !important;
|
|
78
80
|
position: static !important;
|
|
@@ -161,12 +163,14 @@ $defaultValues: (
|
|
|
161
163
|
border-width: prepareMediaVariable(--_ctm-dn-mu-cr-br-wh);
|
|
162
164
|
border-style: prepareMediaVariable(--_ctm-dn-mu-cr-br-se);
|
|
163
165
|
}
|
|
166
|
+
|
|
164
167
|
&:is([data-show-boxshadow="true"] > *) {
|
|
165
168
|
box-shadow: prepareMediaVariable(--_ctm-dn-mu-cr-sw-ae)
|
|
166
169
|
prepareMediaVariable(--_ctm-dn-mu-cr-sw-br)
|
|
167
170
|
prepareMediaVariable(--_ctm-dn-mu-cr-sw-sd)
|
|
168
171
|
prepareMediaVariable(--_ctm-dn-mu-cr-sw-cr);
|
|
169
172
|
}
|
|
173
|
+
|
|
170
174
|
& > div {
|
|
171
175
|
&#{$menuItem} {
|
|
172
176
|
position: relative;
|
|
@@ -184,11 +188,13 @@ $defaultValues: (
|
|
|
184
188
|
);
|
|
185
189
|
display: var(--_d-flex);
|
|
186
190
|
align-items: center;
|
|
191
|
+
|
|
187
192
|
&:is(#{$vtl} *) {
|
|
188
193
|
align-items: flex-start;
|
|
189
194
|
flex-direction: column;
|
|
190
195
|
gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
|
|
191
196
|
}
|
|
197
|
+
|
|
192
198
|
&:hover {
|
|
193
199
|
--_sf-it-hr-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-pg)};
|
|
194
200
|
--_sf-it-hr-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-bd-cr)};
|
|
@@ -212,7 +218,13 @@ $defaultValues: (
|
|
|
212
218
|
--_sf-it-hr-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-tt-an)};
|
|
213
219
|
--_sf-it-hr-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-lr-sg)};
|
|
214
220
|
--_sf-it-hr-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-le-ht)};
|
|
221
|
+
|
|
222
|
+
// Dropdown icon (size/color) hover overrides — consumed by
|
|
223
|
+
// the .flex__menu__item__icon svg cascade below.
|
|
224
|
+
--_sf-it-hr-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-se)};
|
|
225
|
+
--_sf-it-hr-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-c1)};
|
|
215
226
|
}
|
|
227
|
+
|
|
216
228
|
&.active {
|
|
217
229
|
--_sf-it-at-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-pg)};
|
|
218
230
|
--_sf-it-at-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-bd-cr)};
|
|
@@ -235,6 +247,10 @@ $defaultValues: (
|
|
|
235
247
|
--_sf-it-at-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-tt-an)};
|
|
236
248
|
--_sf-it-at-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-lr-sg)};
|
|
237
249
|
--_sf-it-at-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-le-ht)};
|
|
250
|
+
|
|
251
|
+
// Dropdown icon (size/color) selected-state overrides.
|
|
252
|
+
--_sf-it-at-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-se)};
|
|
253
|
+
--_sf-it-at-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-c1)};
|
|
238
254
|
}
|
|
239
255
|
|
|
240
256
|
&[data-show-border="true"] {
|
|
@@ -251,6 +267,7 @@ $defaultValues: (
|
|
|
251
267
|
var(--_sf-it-hr-bs, prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-se))
|
|
252
268
|
);
|
|
253
269
|
}
|
|
270
|
+
|
|
254
271
|
&[data-show-boxshadow="true"] {
|
|
255
272
|
box-shadow: var(
|
|
256
273
|
--_sf-it-at-bsa,
|
|
@@ -275,6 +292,7 @@ $defaultValues: (
|
|
|
275
292
|
justify-content: space-between;
|
|
276
293
|
align-items: center;
|
|
277
294
|
gap: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-gp);
|
|
295
|
+
|
|
278
296
|
& > span {
|
|
279
297
|
display: var(--_d-flex);
|
|
280
298
|
font-family: var(
|
|
@@ -321,15 +339,34 @@ $defaultValues: (
|
|
|
321
339
|
&[data-rotate="true"] {
|
|
322
340
|
--_sf-svg-tr: 180deg;
|
|
323
341
|
}
|
|
342
|
+
|
|
324
343
|
svg {
|
|
325
|
-
width:
|
|
326
|
-
|
|
344
|
+
width: var(
|
|
345
|
+
--_sf-it-at-isz,
|
|
346
|
+
var(
|
|
347
|
+
--_sf-it-hr-isz,
|
|
348
|
+
#{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
|
|
349
|
+
)
|
|
350
|
+
);
|
|
351
|
+
height: var(
|
|
352
|
+
--_sf-it-at-isz,
|
|
353
|
+
var(
|
|
354
|
+
--_sf-it-hr-isz,
|
|
355
|
+
#{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
|
|
356
|
+
)
|
|
357
|
+
);
|
|
327
358
|
transform: rotate(#{var(--_sf-svg-tr, 0deg)});
|
|
328
359
|
transition: transform var(--_transition-duration)
|
|
329
360
|
var(--_transition-timing-function);
|
|
330
361
|
|
|
331
362
|
path {
|
|
332
|
-
stroke:
|
|
363
|
+
stroke: var(
|
|
364
|
+
--_sf-it-at-icr,
|
|
365
|
+
var(
|
|
366
|
+
--_sf-it-hr-icr,
|
|
367
|
+
#{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-c1)}
|
|
368
|
+
)
|
|
369
|
+
);
|
|
333
370
|
}
|
|
334
371
|
}
|
|
335
372
|
}
|
|
@@ -356,6 +393,7 @@ $defaultValues: (
|
|
|
356
393
|
transform: translateX(-50%);
|
|
357
394
|
z-index: 2;
|
|
358
395
|
}
|
|
396
|
+
|
|
359
397
|
&:is(#{$vtl} *) {
|
|
360
398
|
width: 100%;
|
|
361
399
|
}
|
|
@@ -379,6 +417,7 @@ $defaultValues: (
|
|
|
379
417
|
border-color: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-cr);
|
|
380
418
|
border-style: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-se);
|
|
381
419
|
}
|
|
420
|
+
|
|
382
421
|
&[data-show-boxshadow="true"] {
|
|
383
422
|
box-shadow: prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-ae)
|
|
384
423
|
prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-br)
|
|
@@ -436,6 +475,7 @@ $defaultValues: (
|
|
|
436
475
|
)
|
|
437
476
|
);
|
|
438
477
|
}
|
|
478
|
+
|
|
439
479
|
&[data-show-boxshadow="true"] {
|
|
440
480
|
box-shadow: var(
|
|
441
481
|
--_sf-sb-it-at-bsa,
|
|
@@ -524,6 +564,7 @@ $defaultValues: (
|
|
|
524
564
|
--_ctm-dn-sb-mu-im-se-hr-se-le-ht
|
|
525
565
|
)};
|
|
526
566
|
}
|
|
567
|
+
|
|
527
568
|
&.active {
|
|
528
569
|
--_sf-sb-it-at-pd: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-sd-se-pg)};
|
|
529
570
|
--_sf-sb-it-at-bd: #{prepareMediaVariable(
|
|
@@ -590,6 +631,8 @@ $defaultValues: (
|
|
|
590
631
|
display: var(--_d-flex);
|
|
591
632
|
|
|
592
633
|
&#{$subMenuItemText} {
|
|
634
|
+
width: 100%;
|
|
635
|
+
flex: 1 1 auto;
|
|
593
636
|
font-family: var(
|
|
594
637
|
--_sf-it-at-ff,
|
|
595
638
|
var(
|
|
@@ -668,6 +711,7 @@ $defaultValues: (
|
|
|
668
711
|
}
|
|
669
712
|
}
|
|
670
713
|
}
|
|
714
|
+
|
|
671
715
|
& > #{$hamburger} {
|
|
672
716
|
display: var(--_d-none);
|
|
673
717
|
padding: var(--_sf-hm-hr-pd, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-pg)});
|
|
@@ -690,13 +734,16 @@ $defaultValues: (
|
|
|
690
734
|
&:hover {
|
|
691
735
|
& > span {
|
|
692
736
|
}
|
|
737
|
+
|
|
693
738
|
svg {
|
|
694
739
|
--_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
|
|
740
|
+
|
|
695
741
|
path {
|
|
696
742
|
--_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
|
|
697
743
|
--_sf-hm-hr-ic-swh: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-se-wh)};
|
|
698
744
|
}
|
|
699
745
|
}
|
|
746
|
+
|
|
700
747
|
// --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
|
|
701
748
|
// --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
|
|
702
749
|
|
|
@@ -719,6 +766,7 @@ $defaultValues: (
|
|
|
719
766
|
align-items: center;
|
|
720
767
|
justify-content: center;
|
|
721
768
|
}
|
|
769
|
+
|
|
722
770
|
svg {
|
|
723
771
|
width: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
|
|
724
772
|
height: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
|