@sc-360-v2/storefront-cms-library 0.5.51 → 0.5.53

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 (50) hide show
  1. package/dist/add-order.scss +62 -13
  2. package/dist/allocationDetails.scss +438 -224
  3. package/dist/allocations.scss +172 -13
  4. package/dist/breadcrumbs.scss +13 -0
  5. package/dist/builder.js +1 -1
  6. package/dist/cart-details.scss +214 -0
  7. package/dist/cart-summary.scss +237 -854
  8. package/dist/cart.scss +57 -55
  9. package/dist/category-groups-product-image.scss +72 -21
  10. package/dist/faq.scss +48 -5
  11. package/dist/hotspot.scss +141 -74
  12. package/dist/icon-library.scss +78 -74
  13. package/dist/icon-list.scss +19 -1
  14. package/dist/image-temp.scss +17 -3
  15. package/dist/language-selector.scss +260 -76
  16. package/dist/light-box-v2.scss +4 -3
  17. package/dist/menu-v2.scss +51 -3
  18. package/dist/modal.scss +251 -28
  19. package/dist/my-templates.scss +11 -2
  20. package/dist/my-wishlist.scss +27 -17
  21. package/dist/product-basic-elements.scss +0 -246
  22. package/dist/product-image-allocation.scss +51 -15
  23. package/dist/product-image-bundles.scss +72 -15
  24. package/dist/product-image.scss +178 -19
  25. package/dist/profile.scss +44 -19
  26. package/dist/quota-details.scss +111 -11
  27. package/dist/repeater-embla-controls.scss +9 -1
  28. package/dist/repeater-grid-toggle.scss +42 -18
  29. package/dist/repeater-item.scss +34 -22
  30. package/dist/repeater.scss +69 -102
  31. package/dist/request-for-quotes.scss +15 -1
  32. package/dist/scroll.scss +52 -11
  33. package/dist/search.scss +1 -1
  34. package/dist/skeleton.scss +24 -35
  35. package/dist/tab-container.scss +14 -12
  36. package/dist/tab-v2.scss +178 -68
  37. package/dist/text-temp-v2.scss +11 -0
  38. package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +17 -1
  39. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +0 -5
  40. package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +7 -1
  41. package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +0 -1
  42. package/dist/types/builder/tools/element-edit/language-menu.d.ts +0 -14
  43. package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
  44. package/dist/types/builder/tools/element-edit/repeater.d.ts +1 -1
  45. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +55 -1
  46. package/dist/types/builder/tools/element-edit/userElements.d.ts +5 -0
  47. package/dist/types/builder/tools/element-edit/video.d.ts +32 -0
  48. package/dist/user-elements.scss +6 -0
  49. package/dist/video.scss +548 -476
  50. package/package.json +1 -1
@@ -6,34 +6,35 @@
6
6
  &[data-show-shadow="false"] {
7
7
  --_show-shadow: none;
8
8
  }
9
- &[data-icon-position="left"] {
10
- .add_order_button {
11
- flex-direction: row;
9
+ // Icon Position. These used to target `.add_order_button`, which no longer exists —
10
+ // the button is rendered by the shared ButtonComponent as `.btn__with__text`, so none
11
+ // of these rules matched and the control did nothing. `.btn__with__text` resolves its
12
+ // direction through `--_sf-jc`, which nothing was setting either, so it fell back to
13
+ // the initial `row` whatever the control said.
14
+ &[data-icon-position="left"],
15
+ &[data-icon-position="center"] {
16
+ .btn__with__text {
17
+ --_sf-jc: row;
12
18
  }
13
19
  }
14
20
  &[data-icon-position="right"] {
15
- .add_order_button {
16
- flex-direction: row-reverse;
17
- }
18
- }
19
- &[data-icon-position="center"] {
20
- .add_order_button {
21
- flex-direction: row;
21
+ .btn__with__text {
22
+ --_sf-jc: row-reverse;
22
23
  }
23
24
  }
24
25
  &[data-element-style="Icon"] {
25
26
  &[data-icon-position="left"] {
26
- .add_order_button {
27
+ .btn__with__text {
27
28
  justify-content: start;
28
29
  }
29
30
  }
30
31
  &[data-icon-position="right"] {
31
- .add_order_button {
32
+ .btn__with__text {
32
33
  justify-content: end;
33
34
  }
34
35
  }
35
36
  &[data-icon-position="center"] {
36
- .add_order_button {
37
+ .btn__with__text {
37
38
  justify-content: center;
38
39
  }
39
40
  }
@@ -144,10 +145,58 @@
144
145
  --_ctm-mob-dn-dt-se-in-c1,
145
146
  var(--_ctm-tab-dn-dt-se-in-c1, var(--_ctm-dn-dt-se-in-c1))
146
147
  );
148
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
149
+ // `--_sf-hr-se-wh` is published by the :hover block so the hover state can carry
150
+ // its own width; it is unset otherwise and the default state's value applies.
151
+ stroke-width: var(--_sf-hr-se-wh, prepareMediaVariable(--_ctm-dn-dt-se-se-wh, 1));
147
152
  }
148
153
  }
149
154
 
150
155
  &:hover {
156
+ // The label lives in a child (`.txt`, from ButtonComponent) which sets its own
157
+ // typography as `var(--_sf-hr-*, <default state>)`. Declaring color/font directly
158
+ // on the button below therefore never reached it — the child always won with the
159
+ // default-state values, which is why the Hover state's text properties appeared
160
+ // dead. Publishing the hover values as those custom properties is what `.txt`
161
+ // is written to consume, and matches how product-actions.scss does it.
162
+ --_sf-hr-cr: var(
163
+ --_ctm-mob-dn-hr-se-cr,
164
+ var(--_ctm-tab-dn-hr-se-cr, var(--_ctm-dn-hr-se-cr))
165
+ );
166
+ --_sf-hr-ft-fy: var(
167
+ --_ctm-mob-dn-hr-se-ft-fy,
168
+ var(--_ctm-tab-dn-hr-se-ft-fy, var(--_ctm-dn-hr-se-ft-fy))
169
+ );
170
+ --_sf-hr-ft-se: var(
171
+ --_ctm-mob-dn-hr-se-ft-se,
172
+ var(--_ctm-tab-dn-hr-se-ft-se, var(--_ctm-dn-hr-se-ft-se))
173
+ );
174
+ --_sf-hr-ft-wt: var(
175
+ --_ctm-mob-dn-hr-se-ft-wt,
176
+ var(--_ctm-tab-dn-hr-se-ft-wt, var(--_ctm-dn-hr-se-ft-wt))
177
+ );
178
+ --_sf-hr-ft-se-ic: var(
179
+ --_ctm-mob-dn-hr-se-ft-se-ic,
180
+ var(--_ctm-tab-dn-hr-se-ft-se-ic, var(--_ctm-dn-hr-se-ft-se-ic))
181
+ );
182
+ --_sf-hr-tt-an: var(
183
+ --_ctm-mob-dn-hr-se-tt-an,
184
+ var(--_ctm-tab-dn-hr-se-tt-an, var(--_ctm-dn-hr-se-tt-an))
185
+ );
186
+ --_sf-hr-lr-sg: var(
187
+ --_ctm-mob-dn-hr-se-lr-sg,
188
+ var(--_ctm-tab-dn-hr-se-lr-sg, var(--_ctm-dn-hr-se-lr-sg))
189
+ );
190
+ --_sf-hr-le-ht: var(
191
+ --_ctm-mob-dn-hr-se-le-ht,
192
+ var(--_ctm-tab-dn-hr-se-le-ht, var(--_ctm-dn-hr-se-le-ht))
193
+ );
194
+ --_sf-hr-ue: var(
195
+ --_ctm-mob-dn-hr-se-ue,
196
+ var(--_ctm-tab-dn-hr-se-ue, var(--_ctm-dn-hr-se-ue))
197
+ );
198
+ --_sf-hr-se-wh: prepareMediaVariable(--_ctm-dn-hr-se-se-wh, 1);
199
+
151
200
  background-color: var(
152
201
  --_ctm-mob-dn-hr-se-bd-cr,
153
202
  var(--_ctm-tab-dn-hr-se-bd-cr, var(--_ctm-dn-hr-se-bd-cr))