@sc-360-v2/storefront-cms-library 0.5.64 → 0.5.66
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/allocationDetails.scss +34 -53
- package/dist/builder.js +1 -1
- package/dist/cart-summary.scss +12 -0
- package/dist/category-groups-product-options.scss +36 -24
- package/dist/countdown.scss +47 -4
- package/dist/filters.scss +345 -84
- package/dist/icons-builder.js +1 -1
- package/dist/icons-website.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/login.scss +6 -2
- package/dist/map.scss +25 -0
- package/dist/product-actions.scss +2872 -2585
- package/dist/product-highlights.scss +48 -50
- package/dist/product-image-allocation.scss +35 -59
- package/dist/product-options.scss +120 -24
- package/dist/quotes.scss +84 -3
- package/dist/search-results-heading.scss +4 -10
- package/dist/table.scss +141 -39
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +11 -20
- package/dist/types/builder/tools/element-edit/countdown.d.ts +8 -2
- package/dist/types/builder/tools/element-edit/filters.d.ts +3 -0
- package/dist/types/builder/tools/element-edit/productActions.d.ts +3 -0
- package/dist/types/builder/tools/element-edit/quotes.d.ts +50 -0
- package/dist/types/builder/tools/element-edit/searchResultsHeading.d.ts +33 -59
- package/dist/types/builder/tools/element-edit/table.d.ts +14 -0
- package/dist/uploadMedia.js +1 -1
- package/package.json +1 -1
|
@@ -540,11 +540,9 @@ $ad-slider-arrows: "--_ctm-dn-sr-pn-as"; // design.slider.paginationArrows
|
|
|
540
540
|
// so the rules come from a rebound copy of the card stylesheet rather than
|
|
541
541
|
// being written out again here.
|
|
542
542
|
.showcase__title {
|
|
543
|
-
//
|
|
544
|
-
//
|
|
545
|
-
//
|
|
546
|
-
// taller text column — in a row, align-self IS the vertical axis, which
|
|
547
|
-
// is what Top / Center / Bottom means.
|
|
543
|
+
// Name and quota only — the view switcher moved back up to
|
|
544
|
+
// `.main__header`, where it is drawn once for the whole element instead
|
|
545
|
+
// of once per allocation.
|
|
548
546
|
display: flex;
|
|
549
547
|
align-items: flex-start;
|
|
550
548
|
justify-content: space-between;
|
|
@@ -719,9 +717,9 @@ $ad-slider-arrows: "--_ctm-dn-sr-pn-as"; // design.slider.paginationArrows
|
|
|
719
717
|
}
|
|
720
718
|
}
|
|
721
719
|
|
|
722
|
-
// The view switcher
|
|
723
|
-
//
|
|
724
|
-
//
|
|
720
|
+
// The view switcher sits in `.main__header`, once for the whole element.
|
|
721
|
+
// These rules stay at showcase level rather than nested under that header, so
|
|
722
|
+
// they keep reaching it wherever it ends up.
|
|
725
723
|
.button__group {
|
|
726
724
|
display: flex;
|
|
727
725
|
gap: 12px;
|
|
@@ -2152,48 +2150,44 @@ $ad-slider-arrows: "--_ctm-dn-sr-pn-as"; // design.slider.paginationArrows
|
|
|
2152
2150
|
margin-top: 10px;
|
|
2153
2151
|
}
|
|
2154
2152
|
}
|
|
2155
|
-
// Profiles Slider > Pagination Arrows
|
|
2153
|
+
// Profiles Slider > Pagination Arrows, styled the way the Gallery Slider
|
|
2154
|
+
// element styles its own: the button is a plain 10px-padded circle, sized by
|
|
2155
|
+
// Arrow Size, and the only fill it carries is the chosen Background Color
|
|
2156
|
+
// mixed down to 10% (20% on hover). These rules used to read
|
|
2156
2157
|
// `--_ctm-dn-pn-as-*`, a `design.paginationArrows` node that does not exist
|
|
2157
|
-
// on this element
|
|
2158
|
-
//
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
background-color: prepareMediaVariable(#{$ad-slider-arrows}-bd-cr, transparent);
|
|
2165
|
-
}
|
|
2166
|
-
}
|
|
2167
|
-
&[data-background-shape="Round"] {
|
|
2168
|
-
.left-button,
|
|
2169
|
-
.right-button {
|
|
2170
|
-
background-color: prepareMediaVariable(#{$ad-slider-arrows}-bd-cr, #f2f5f5);
|
|
2171
|
-
box-sizing: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
2158
|
+
// on this element, so the panel could not reach the strip's arrows at all;
|
|
2159
|
+
// they now read design.slider.paginationArrows.
|
|
2160
|
+
:is(.left-button, .right-button) {
|
|
2161
|
+
@include BgColorLighter(var(#{$ad-slider-arrows}-bd-cr), 10%);
|
|
2162
|
+
|
|
2163
|
+
&:not(:disabled):hover {
|
|
2164
|
+
@include BgColorLighter(var(#{$ad-slider-arrows}-bd-cr), 20%);
|
|
2172
2165
|
}
|
|
2173
2166
|
}
|
|
2174
2167
|
.left-button,
|
|
2175
2168
|
.right-button {
|
|
2176
|
-
padding:
|
|
2177
|
-
border
|
|
2178
|
-
border-
|
|
2179
|
-
|
|
2180
|
-
//
|
|
2181
|
-
//
|
|
2182
|
-
|
|
2169
|
+
padding: 10px;
|
|
2170
|
+
border: none;
|
|
2171
|
+
border-radius: 50%;
|
|
2172
|
+
|
|
2173
|
+
// Background Shape: a circle by default, squared off by "None" and given
|
|
2174
|
+
// the gallery's 4px rounding by "Square". Keyed off the BUTTON, not the
|
|
2175
|
+
// `.embla` container — EmblaCarouselBasic, which renders this strip, only
|
|
2176
|
+
// publishes the attribute on the buttons.
|
|
2177
|
+
&[data-background-shape="None"] {
|
|
2178
|
+
border-radius: 0;
|
|
2179
|
+
}
|
|
2180
|
+
&[data-background-shape="Round"] {
|
|
2181
|
+
border-radius: 50%;
|
|
2182
|
+
}
|
|
2183
|
+
&[data-background-shape="Square"] {
|
|
2184
|
+
border-radius: 4px;
|
|
2185
|
+
}
|
|
2183
2186
|
// 20px, not prepareMediaVariable's `inherit` tail — inheriting the strip's
|
|
2184
2187
|
// width here would blow the buttons out. 20 is also the schema default, so
|
|
2185
2188
|
// a strip saved before this node existed matches a fresh one.
|
|
2186
2189
|
width: prepareMediaVariable(#{$ad-slider-arrows}-aw-se, 20px);
|
|
2187
2190
|
height: prepareMediaVariable(#{$ad-slider-arrows}-aw-se, 20px);
|
|
2188
|
-
// Opt-in, like the gallery's: these arrows have never cast a shadow.
|
|
2189
|
-
box-shadow: none;
|
|
2190
|
-
|
|
2191
|
-
&[data-show-shadow="true"] {
|
|
2192
|
-
box-shadow: prepareMediaVariable(#{$ad-slider-arrows}-sw-ae, 0 0)
|
|
2193
|
-
prepareMediaVariable(#{$ad-slider-arrows}-sw-br, 0)
|
|
2194
|
-
prepareMediaVariable(#{$ad-slider-arrows}-sw-sd, 0)
|
|
2195
|
-
prepareMediaVariable(#{$ad-slider-arrows}-sw-cr, transparent);
|
|
2196
|
-
}
|
|
2197
2191
|
|
|
2198
2192
|
display: flex;
|
|
2199
2193
|
align-items: center;
|
|
@@ -2201,19 +2195,6 @@ $ad-slider-arrows: "--_ctm-dn-sr-pn-as"; // design.slider.paginationArrows
|
|
|
2201
2195
|
cursor: pointer;
|
|
2202
2196
|
outline: none;
|
|
2203
2197
|
|
|
2204
|
-
&[data-show-border="false"] {
|
|
2205
|
-
border: none;
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
// Background Shape overrides the configured radius when it names one;
|
|
2209
|
-
// "None" leaves the radius alone.
|
|
2210
|
-
&[data-background-shape="Round"] {
|
|
2211
|
-
border-radius: 50%;
|
|
2212
|
-
}
|
|
2213
|
-
&[data-background-shape="Square"] {
|
|
2214
|
-
border-radius: 0;
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
2198
|
&:disabled {
|
|
2218
2199
|
& svg {
|
|
2219
2200
|
path {
|