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

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 (106) hide show
  1. package/dist/add-products-tab-details.scss +3 -0
  2. package/dist/allocation-header-quota-details.scss +520 -0
  3. package/dist/allocationDetails.scss +608 -396
  4. package/dist/allocations-quota-details.scss +173 -170
  5. package/dist/allocations.scss +8 -112
  6. package/dist/amount-estimator.scss +1088 -1083
  7. package/dist/badge.scss +396 -388
  8. package/dist/breadcrumbs.scss +17 -0
  9. package/dist/builder.js +1 -1
  10. package/dist/bulk-variant-picker.scss +4 -0
  11. package/dist/bundle copy.scss +26 -0
  12. package/dist/bundle.scss +10 -0
  13. package/dist/bundleDetails.scss +14 -0
  14. package/dist/button copy.scss +2 -0
  15. package/dist/button.scss +2 -0
  16. package/dist/buyForHeaders.scss +19 -0
  17. package/dist/cart-details.scss +101 -18
  18. package/dist/cart-summary.scss +18 -0
  19. package/dist/cart.scss +2 -0
  20. package/dist/cartAttributes.scss +4 -0
  21. package/dist/category-groups-quota-details.scss +124 -38
  22. package/dist/checkout.scss +6 -0
  23. package/dist/countdown.scss +2 -0
  24. package/dist/coupon.scss +8 -0
  25. package/dist/embroidery.scss +2 -0
  26. package/dist/employee-bulk-order.scss +5 -0
  27. package/dist/faq.scss +9 -0
  28. package/dist/filters.scss +2 -0
  29. package/dist/form-zindex-module.scss +24 -24
  30. package/dist/gallery-slider-temp.scss +205 -14
  31. package/dist/hotspot.scss +4 -0
  32. package/dist/icon-list.scss +2 -0
  33. package/dist/kitDetails.scss +2 -0
  34. package/dist/kits.scss +2 -0
  35. package/dist/language-selector.scss +6 -4
  36. package/dist/last-x-orders.scss +5 -0
  37. package/dist/login.scss +14 -0
  38. package/dist/map.scss +6 -0
  39. package/dist/mega-menu.scss +41 -0
  40. package/dist/menu-v2.scss +83 -6
  41. package/dist/past-orders.scss +989 -975
  42. package/dist/pickup-locations.scss +1172 -1167
  43. package/dist/product-image-allocation.scss +59 -0
  44. package/dist/product-inventory.scss +1381 -1378
  45. package/dist/product-promotions.scss +2768 -2759
  46. package/dist/product-sizechart.scss +4 -0
  47. package/dist/profile.scss +8 -0
  48. package/dist/quantity-selector.scss +4 -0
  49. package/dist/quick-inventory-check.scss +5 -0
  50. package/dist/quick-order-pad.scss +5 -0
  51. package/dist/quota-details.scss +99 -15
  52. package/dist/repeater copy.scss +3 -0
  53. package/dist/repeater-grid-toggle.scss +2 -0
  54. package/dist/repeater-item.scss +2 -2
  55. package/dist/repeater.scss +2 -0
  56. package/dist/request-for-quotes.scss +1 -1
  57. package/dist/rfqs.scss +10 -0
  58. package/dist/scroll.scss +46 -0
  59. package/dist/search.scss +4 -0
  60. package/dist/shipping-payments.scss +4 -0
  61. package/dist/social.scss +5 -0
  62. package/dist/store-locations.scss +1402 -1398
  63. package/dist/tab-v2.scss +2 -0
  64. package/dist/table-common.scss +509 -506
  65. package/dist/table.scss +687 -685
  66. package/dist/types/builder/tools/element-edit/addProductsTab.d.ts +28 -0
  67. package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +5 -0
  68. package/dist/types/builder/tools/element-edit/allocations.d.ts +1 -0
  69. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +5 -0
  70. package/dist/types/builder/tools/element-edit/bundle.d.ts +40 -0
  71. package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +20 -0
  72. package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +18 -0
  73. package/dist/types/builder/tools/element-edit/buyForWithTab.d.ts +1 -0
  74. package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +9 -0
  75. package/dist/types/builder/tools/element-edit/cartDetails.d.ts +79 -1
  76. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +72 -0
  77. package/dist/types/builder/tools/element-edit/categoryGroups.d.ts +28 -0
  78. package/dist/types/builder/tools/element-edit/checkout.d.ts +1 -0
  79. package/dist/types/builder/tools/element-edit/common.d.ts +23 -0
  80. package/dist/types/builder/tools/element-edit/countdown.d.ts +1 -0
  81. package/dist/types/builder/tools/element-edit/coupon.d.ts +19 -0
  82. package/dist/types/builder/tools/element-edit/embroidery.d.ts +9 -0
  83. package/dist/types/builder/tools/element-edit/filterResults.d.ts +10 -0
  84. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +19 -0
  85. package/dist/types/builder/tools/element-edit/icon-list.d.ts +9 -0
  86. package/dist/types/builder/tools/element-edit/iconInstace.d.ts +1 -0
  87. package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +2 -7
  88. package/dist/types/builder/tools/element-edit/kitDetails.d.ts +19 -0
  89. package/dist/types/builder/tools/element-edit/kits.d.ts +9 -0
  90. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +19 -0
  91. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +10 -0
  92. package/dist/types/builder/tools/element-edit/quotaDetails.d.ts +1 -0
  93. package/dist/types/builder/tools/element-edit/rfqs.d.ts +5 -0
  94. package/dist/types/builder/tools/element-edit/scroll.d.ts +1 -0
  95. package/dist/types/builder/tools/element-edit/shipping-payments.d.ts +2 -0
  96. package/dist/types/builder/tools/element-edit/social.d.ts +1 -0
  97. package/dist/types/builder/tools/element-edit/table.d.ts +1 -0
  98. package/dist/types/builder/tools/element-edit/tabs.d.ts +18 -0
  99. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +17 -0
  100. package/dist/types/builder/tools/element-edit/userElements.d.ts +5 -0
  101. package/dist/types/builder/tools/element-edit/video.d.ts +2 -0
  102. package/dist/user-elements.scss +10 -0
  103. package/dist/variant-picker.scss +2 -0
  104. package/dist/video.scss +2 -0
  105. package/dist/volume-pricing.scss +3 -0
  106. package/package.json +1 -1
@@ -1,6 +1,9 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
3
  @use "./functions.scss" as *;
4
+
5
+ $overflowSelector: ".flex__overflow";
6
+
4
7
  [data-div-type="element"] {
5
8
  &[data-element-type="gallerySlider"] {
6
9
  // width: var(--_sf-nw-wh, var(--_tst-lt-wh));
@@ -235,6 +238,24 @@
235
238
  --_ctm-mob-dn-gy-wt-se-ue,
236
239
  var(--_ctm-tab-dn-gy-wt-se-ue, var(--_ctm-dn-gy-wt-se-ue))
237
240
  );
241
+ text-transform: var(
242
+ --_ctm-mob-dn-gy-wt-se-tt-tm,
243
+ var(--_ctm-tab-dn-gy-wt-se-tt-tm, var(--_ctm-dn-gy-wt-se-tt-tm, none))
244
+ );
245
+ word-wrap: var(
246
+ --_ctm-mob-dn-gy-wt-se-wd-wp,
247
+ var(--_ctm-tab-dn-gy-wt-se-wd-wp, var(--_ctm-dn-gy-wt-se-wd-wp, normal))
248
+ );
249
+ word-break: var(
250
+ --_ctm-mob-dn-gy-wt-se-wd-bk,
251
+ var(--_ctm-tab-dn-gy-wt-se-wd-bk, var(--_ctm-dn-gy-wt-se-wd-bk, normal))
252
+ );
253
+
254
+ // Text Overflow toggle in the typography panel; the line count rides in on
255
+ // --_sf-line-clamp from the element.
256
+ &#{$overflowSelector} {
257
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
258
+ }
238
259
  }
239
260
 
240
261
  & p {
@@ -274,6 +295,22 @@
274
295
  --_ctm-mob-dn-gy-wt-se-ue-dc,
275
296
  var(--_ctm-tab-dn-gy-wt-se-ue-dc, var(--_ctm-dn-gy-wt-se-ue-dc))
276
297
  );
298
+ text-transform: var(
299
+ --_ctm-mob-dn-gy-wt-se-tt-tm-dc,
300
+ var(--_ctm-tab-dn-gy-wt-se-tt-tm-dc, var(--_ctm-dn-gy-wt-se-tt-tm-dc, none))
301
+ );
302
+ word-wrap: var(
303
+ --_ctm-mob-dn-gy-wt-se-wd-wp-dc,
304
+ var(--_ctm-tab-dn-gy-wt-se-wd-wp-dc, var(--_ctm-dn-gy-wt-se-wd-wp-dc, normal))
305
+ );
306
+ word-break: var(
307
+ --_ctm-mob-dn-gy-wt-se-wd-bk-dc,
308
+ var(--_ctm-tab-dn-gy-wt-se-wd-bk-dc, var(--_ctm-dn-gy-wt-se-wd-bk-dc, normal))
309
+ );
310
+
311
+ &#{$overflowSelector} {
312
+ @include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
313
+ }
277
314
  }
278
315
 
279
316
  // h3 {
@@ -595,7 +632,12 @@
595
632
  }
596
633
  }
597
634
  :is(.left-button, .right-button) {
598
- background: prepareMediaVariable(--_ctm-dn-pn-as-bd-cr);
635
+ // background: prepareMediaVariable(--_ctm-dn-pn-as-bd-cr);
636
+ @include BgColorLighter(var(--_ctm-dn-pn-as-bd-cr), 10%);
637
+
638
+ &:not(:disabled):hover {
639
+ @include BgColorLighter(var(--_ctm-dn-pn-as-bd-cr), 20%);
640
+ }
599
641
  }
600
642
  .left-button {
601
643
  padding: 10px;
@@ -690,7 +732,19 @@
690
732
  .left-button,
691
733
  .right-button {
692
734
  // background-color: #f2f5f5;
693
- box-sizing: 0 4px 8px rgba(0, 0, 0, 0.1);
735
+ // box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
736
+ }
737
+ }
738
+ &[data-background-shape="None"] {
739
+ .left-button,
740
+ .right-button {
741
+ border-radius: 0;
742
+ }
743
+ }
744
+ &[data-background-shape="Square"] {
745
+ .left-button,
746
+ .right-button {
747
+ border-radius: 4px;
694
748
  }
695
749
  }
696
750
 
@@ -805,6 +859,36 @@
805
859
  transform: translateX(-50%);
806
860
  width: 75%;
807
861
  }
862
+ // Pagination Dots (design > Pagination Dots). Border and shadow go on the
863
+ // ::after overlay — that pseudo-element is the visible dot, the button behind it
864
+ // is only the hit area. There is deliberately no radius control: dots stay
865
+ // circles, so the 50% is fixed. The Pagination Line variant overrides these.
866
+ &[data-dots-show-border="false"] {
867
+ --_show-pn-ds-border: none;
868
+ }
869
+ // A transparent shadow rather than `none`, so the selected dot can list this
870
+ // next to its inset ring without the whole declaration going invalid.
871
+ &[data-dots-show-shadow="false"] {
872
+ --_show-pn-ds-shadow: 0 0 0 0 transparent;
873
+ }
874
+
875
+ $pnDsShadow: var(
876
+ --_show-pn-ds-shadow,
877
+ var(--_ctm-mob-dn-pn-ds-sw-ae, var(--_ctm-tab-dn-pn-ds-sw-ae, var(--_ctm-dn-pn-ds-sw-ae)))
878
+ var(
879
+ --_ctm-mob-dn-pn-ds-sw-br,
880
+ var(--_ctm-tab-dn-pn-ds-sw-br, var(--_ctm-dn-pn-ds-sw-br))
881
+ )
882
+ var(
883
+ --_ctm-mob-dn-pn-ds-sw-sd,
884
+ var(--_ctm-tab-dn-pn-ds-sw-sd, var(--_ctm-dn-pn-ds-sw-sd))
885
+ )
886
+ var(
887
+ --_ctm-mob-dn-pn-ds-sw-cr,
888
+ var(--_ctm-tab-dn-pn-ds-sw-cr, var(--_ctm-dn-pn-ds-sw-cr))
889
+ )
890
+ );
891
+
808
892
  .embla__dot {
809
893
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
810
894
  -webkit-appearance: none;
@@ -848,19 +932,59 @@
848
932
  var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
849
933
  );
850
934
 
935
+ // The overlay is sized to the button, so the border has to grow inwards or the
936
+ // dot would render larger than its configured Dot Size.
937
+ box-sizing: border-box;
938
+ border-color: var(
939
+ --_show-pn-ds-border,
940
+ var(
941
+ --_ctm-mob-dn-pn-ds-br-cr,
942
+ var(--_ctm-tab-dn-pn-ds-br-cr, var(--_ctm-dn-pn-ds-br-cr))
943
+ )
944
+ );
945
+ border-style: var(
946
+ --_show-pn-ds-border,
947
+ var(
948
+ --_ctm-mob-dn-pn-ds-br-se,
949
+ var(--_ctm-tab-dn-pn-ds-br-se, var(--_ctm-dn-pn-ds-br-se))
950
+ )
951
+ );
952
+ border-width: var(
953
+ --_show-pn-ds-border,
954
+ var(
955
+ --_ctm-mob-dn-pn-ds-br-wh,
956
+ var(--_ctm-tab-dn-pn-ds-br-wh, var(--_ctm-dn-pn-ds-br-wh))
957
+ )
958
+ );
959
+ box-shadow: $pnDsShadow;
960
+
851
961
  border-radius: 50%;
852
962
  display: flex;
853
963
  align-items: center;
854
964
  content: "";
855
965
  }
856
966
  .embla__dot--selected:after {
857
- box-shadow: inset 0 0 0 1px var(--text-body);
967
+ // Keeps the existing 1px ring on the active dot and still honours a configured
968
+ // shadow — this rule would otherwise shadow the one above it entirely.
969
+ box-shadow: $pnDsShadow;
858
970
  background-color: var(
859
971
  --_ctm-mob-dn-pn-ds-ct-dt-cr,
860
972
  var(--_ctm-tab-dn-pn-ds-ct-dt-cr, var(--_ctm-dn-pn-ds-ct-dt-cr))
861
973
  );
862
974
  }
975
+ // Pagination Line (design > Pagination Line). Border, border radius and shadow
976
+ // sit on the line itself. The two toggles arrive as data attributes from the
977
+ // element; `none` short-circuits the whole var chain the way Item Style does.
978
+ // The 6px radius fallback keeps pages saved before Border Radius existed
979
+ // looking as they did.
863
980
  &[data-slider-control="Pagination Line"] {
981
+ &[data-line-show-border="false"] {
982
+ --_show-pn-le-border: none;
983
+ }
984
+ &[data-line-show-shadow="false"] {
985
+ --_show-pn-le-shadow: none;
986
+ }
987
+
864
988
  .embla__dot {
865
989
  width: var(
866
990
  --_ctm-mob-dn-pn-le-le-wh,
@@ -870,24 +994,75 @@
870
994
  --_ctm-mob-dn-pn-le-le-ht,
871
995
  var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
872
996
  );
997
+ // Draw the border inside the configured Line Width / Height rather than
998
+ // adding to it, so the track stays the size set in the panel.
999
+ box-sizing: border-box;
873
1000
  background-color: var(
874
1001
  --_ctm-mob-dn-pn-le-or-le-cr,
875
1002
  var(--_ctm-tab-dn-pn-le-or-le-cr, var(--_ctm-dn-pn-le-or-le-cr))
876
1003
  );
877
- border-radius: 6px;
878
- }
879
1004
 
880
- .embla__dot--selected:after {
881
- box-shadow: inset 0 0 0 1px var(--text-body);
882
- border-radius: 6px;
883
- width: var(
884
- --_ctm-mob-dn-pn-le-le-wh,
885
- var(--_ctm-tab-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh))
1005
+ border-color: var(
1006
+ --_show-pn-le-border,
1007
+ var(
1008
+ --_ctm-mob-dn-pn-le-br-cr,
1009
+ var(--_ctm-tab-dn-pn-le-br-cr, var(--_ctm-dn-pn-le-br-cr))
1010
+ )
886
1011
  );
887
- height: var(
888
- --_ctm-mob-dn-pn-le-le-ht,
889
- var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
1012
+ border-style: var(
1013
+ --_show-pn-le-border,
1014
+ var(
1015
+ --_ctm-mob-dn-pn-le-br-se,
1016
+ var(--_ctm-tab-dn-pn-le-br-se, var(--_ctm-dn-pn-le-br-se))
1017
+ )
1018
+ );
1019
+ border-width: var(
1020
+ --_show-pn-le-border,
1021
+ var(
1022
+ --_ctm-mob-dn-pn-le-br-wh,
1023
+ var(--_ctm-tab-dn-pn-le-br-wh, var(--_ctm-dn-pn-le-br-wh))
1024
+ )
1025
+ );
1026
+ border-radius: var(
1027
+ --_ctm-mob-dn-pn-le-br-rs,
1028
+ var(--_ctm-tab-dn-pn-le-br-rs, var(--_ctm-dn-pn-le-br-rs, 6px))
1029
+ );
1030
+
1031
+ box-shadow: var(
1032
+ --_show-pn-le-shadow,
1033
+ var(
1034
+ --_ctm-mob-dn-pn-le-sw-ae,
1035
+ var(--_ctm-tab-dn-pn-le-sw-ae, var(--_ctm-dn-pn-le-sw-ae))
1036
+ )
1037
+ var(
1038
+ --_ctm-mob-dn-pn-le-sw-br,
1039
+ var(--_ctm-tab-dn-pn-le-sw-br, var(--_ctm-dn-pn-le-sw-br))
1040
+ )
1041
+ var(
1042
+ --_ctm-mob-dn-pn-le-sw-sd,
1043
+ var(--_ctm-tab-dn-pn-le-sw-sd, var(--_ctm-dn-pn-le-sw-sd))
1044
+ )
1045
+ var(
1046
+ --_ctm-mob-dn-pn-le-sw-cr,
1047
+ var(--_ctm-tab-dn-pn-le-sw-cr, var(--_ctm-dn-pn-le-sw-cr))
1048
+ )
890
1049
  );
1050
+ }
1051
+
1052
+ // The Pagination Dots rules above style `.embla__dot:after` unscoped, so the
1053
+ // line's overlay would otherwise inherit the Dots' border, circular radius and
1054
+ // shadow — a second, wrongly-shaped outline on top of the line's own border.
1055
+ // The line carries its border on the track, so the overlay just fills whatever
1056
+ // the border leaves.
1057
+ .embla__dot:after {
1058
+ width: 100%;
1059
+ height: 100%;
1060
+ border: 0;
1061
+ box-shadow: none;
1062
+ border-radius: inherit;
1063
+ }
1064
+
1065
+ .embla__dot--selected:after {
891
1066
  background-color: var(
892
1067
  --_ctm-mob-dn-pn-le-ct-le-cr,
893
1068
  var(--_ctm-tab-dn-pn-le-ct-le-cr, var(--_ctm-dn-pn-le-ct-le-cr))
@@ -975,6 +1150,18 @@
975
1150
  }
976
1151
  }
977
1152
  }
1153
+ &[data-background-shape="None"] {
1154
+ .thumb-prev-button,
1155
+ .thumb-next-button {
1156
+ border-radius: 0;
1157
+ }
1158
+ }
1159
+ &[data-background-shape="Square"] {
1160
+ .thumb-prev-button,
1161
+ .thumb-next-button {
1162
+ border-radius: 4px;
1163
+ }
1164
+ }
978
1165
 
979
1166
  .embla__thumbs__viewport {
980
1167
  width: 100%;
@@ -1165,6 +1352,10 @@
1165
1352
  var(--_ctm-tab-dn-im-lt-gy-tt-ad-im-sg, var(--_ctm-dn-im-lt-gy-tt-ad-im-sg))
1166
1353
  );
1167
1354
 
1355
+ // Clip the image to the item's border radius; without this the img's
1356
+ // square corners paint over the rounded container.
1357
+ overflow: hidden;
1358
+
1168
1359
  .gallery-header {
1169
1360
  // text-align: var(--_ctm-dn-gy-lt-an, var(--_tst-dn-gy-lt-an));
1170
1361
  // line-height: var(--_ctm-dn-gy-lt-tt-ad-dn-sg, var(--_tst-dn-gy-lt-tt-ad-dn-sg));
package/dist/hotspot.scss CHANGED
@@ -478,6 +478,8 @@ $data: (
478
478
 
479
479
  path {
480
480
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-in-c1));
481
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
482
+ stroke-width: prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-se-wh, 1.25);
481
483
  }
482
484
  }
483
485
  }
@@ -732,6 +734,8 @@ $data: (
732
734
 
733
735
  path {
734
736
  stroke: prepareMediaVariable(--_ctm-dn-ht-se-in-c1);
737
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
738
+ stroke-width: prepareMediaVariable(--_ctm-dn-ht-se-se-wh, 1.25);
735
739
  }
736
740
  }
737
741
  }
@@ -184,6 +184,8 @@ $pos2: (
184
184
 
185
185
  path {
186
186
  stroke: var(--_in-hr-cr, prepareMediaVariable(--_ctm-dn-in-dt-se-in-c1));
187
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
188
+ stroke-width: prepareMediaVariable(--_ctm-dn-in-dt-se-se-wh, 1.25);
187
189
  }
188
190
  }
189
191
  }
@@ -5366,6 +5366,8 @@ $defaultValues: (
5366
5366
  height: prepareMediaVariable(--_ctm-dn-er-me-in-se);
5367
5367
  path {
5368
5368
  stroke: prepareMediaVariable(--_ctm-dn-er-me-in-c1);
5369
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
5370
+ stroke-width: prepareMediaVariable(--_ctm-dn-er-me-se-wh, 1.25);
5369
5371
  }
5370
5372
  }
5371
5373
  }
package/dist/kits.scss CHANGED
@@ -183,6 +183,8 @@ $dataShowBorder: "[data-sw-br='true']";
183
183
 
184
184
  path {
185
185
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-vw-kt-se-dt-se-in-c1));
186
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
187
+ stroke-width: prepareMediaVariable(--_ctm-dn-vw-kt-se-dt-se-se-wh, 1.25);
186
188
  }
187
189
  }
188
190
  }
@@ -10,7 +10,7 @@
10
10
  // Deliberately no final fallback inside these chains: an untouched property stays
11
11
  // invalid at computed-value time, which is what lets the consumers fall back to
12
12
  // `--_ctm-dn-wt-pr-tt-*`. Those come from the retired Widget Placeholder Text
13
- // section — Widget Style absorbed it, so the fallback exists only for pages saved
13
+ // section — Widget Style absorbed it, so the fallback exists only for pages saved
14
14
  // before the merge. Same shape the divider already uses for its
15
15
  // hover-falls-back-to-default chain below.
16
16
  $widgetFontProps:
@@ -581,7 +581,7 @@ $widgetFontProps:
581
581
  min-width: 0;
582
582
 
583
583
  // Widget Style > padding (was Widget Placeholder Text > padding). It used to sit
584
- // on `.value__selected__new` only, which is the *empty* state — as soon as an
584
+ // on `.value__selected__new` only, which is the *empty* state — as soon as an
585
585
  // option was selected the markup switched to this branch and the padding
586
586
  // appeared to do nothing.
587
587
  padding: var(--_sf-wt-pg, prepareMediaVariable(--_ctm-dn-wt-pr-tt-pg));
@@ -651,7 +651,7 @@ $widgetFontProps:
651
651
  // padding: 8px 12px;
652
652
  // text-align: left;
653
653
  // Same order as `.option_select .language__name` above: Widget Style's per-state
654
- // typography first, Widget Placeholder Text second. This is the empty branch —
654
+ // typography first, Widget Placeholder Text second. This is the empty branch —
655
655
  // the two swap in the markup as soon as an option is picked, so they have to
656
656
  // resolve identically or the text would jump on first selection.
657
657
  font-family: var(--_sf-wt-ft-fy, prepareMediaVariable(--_ctm-dn-wt-pr-tt-ft-fy));
@@ -811,7 +811,7 @@ $widgetFontProps:
811
811
 
812
812
  // Widget Style > Hover > Text Overflow. The clamp pair reaches the DOM as an
813
813
  // inline style (it is `controls`, not CSS), so hover cannot be expressed by
814
- // the variable cascade above — the element publishes both pairs on the label
814
+ // the variable cascade above — the element publishes both pairs on the label
815
815
  // and this rule chooses the hovered one, falling back to the default pair.
816
816
  // Safe to scope on the wrapper: the options list is its sibling, not a
817
817
  // descendant, so option labels keep their own Item Style clamp.
@@ -864,6 +864,8 @@ $widgetFontProps:
864
864
  --_ctm-mob-dn-te-in-in-c1,
865
865
  var(--_ctm-tab-dn-te-in-cr, var(--_ctm-dn-te-in-in-c1))
866
866
  );
867
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
868
+ stroke-width: prepareMediaVariable(--_ctm-dn-te-in-se-wh, 1.25);
867
869
  }
868
870
  }
869
871
  }
@@ -1,3 +1,4 @@
1
+ @use "./functions.scss" as *;
1
2
  @use "sass:map";
2
3
  @use "sass:list";
3
4
 
@@ -193,6 +194,8 @@
193
194
  --_ctm-mob-dn-qa-lt-in-c1,
194
195
  var(--_ctm-tab-dn-qa-lt-in-c1, var(--_ctm-dn-qa-lt-in-c1))
195
196
  );
197
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
198
+ stroke-width: prepareMediaVariable(--_ctm-dn-qa-lt-se-wh, 1.25);
196
199
  }
197
200
  }
198
201
  }
@@ -253,6 +256,8 @@
253
256
  --_ctm-mob-dn-ds-lt-in-c1,
254
257
  var(--_ctm-tab-dn-ds-lt-in-c1, var(--_ctm-dn-ds-lt-in-c1))
255
258
  );
259
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
260
+ stroke-width: prepareMediaVariable(--_ctm-dn-ds-lt-se-wh, 1.25);
256
261
  }
257
262
  }
258
263
  }
package/dist/login.scss CHANGED
@@ -537,6 +537,8 @@
537
537
  --_sf-hr-in-c1,
538
538
  prepareMediaVariable(--_ctm-dn-fm-as-rt-bn-dt-se-in-c1)
539
539
  );
540
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
541
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-as-rt-bn-dt-se-se-wh, 1.25);
540
542
  }
541
543
  }
542
544
  }
@@ -701,6 +703,8 @@
701
703
 
702
704
  path {
703
705
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-fm-is-in-c1));
706
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
707
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-is-se-wh, 1.25);
704
708
  }
705
709
  }
706
710
 
@@ -718,6 +722,8 @@
718
722
 
719
723
  path {
720
724
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-fm-is-in-c1));
725
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
726
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-is-se-wh, 1.25);
721
727
  }
722
728
  }
723
729
  }
@@ -748,6 +754,8 @@
748
754
 
749
755
  path {
750
756
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-fm-is-in-c1));
757
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
758
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-is-se-wh, 1.25);
751
759
  }
752
760
  }
753
761
  }
@@ -855,6 +863,8 @@
855
863
 
856
864
  path {
857
865
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-fm-is-in-c1));
866
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
867
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-is-se-wh, 1.25);
858
868
  }
859
869
  }
860
870
  }
@@ -1057,6 +1067,8 @@
1057
1067
 
1058
1068
  path {
1059
1069
  stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-fm-bn-dt-se-in-c1));
1070
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
1071
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-bn-dt-se-se-wh, 1.25);
1060
1072
  }
1061
1073
  }
1062
1074
  }
@@ -1494,6 +1506,8 @@
1494
1506
  --_sf-hr-in-c1,
1495
1507
  prepareMediaVariable(--_ctm-dn-fm-as-go-bk-to-ln-dt-se-in-c1)
1496
1508
  );
1509
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
1510
+ stroke-width: prepareMediaVariable(--_ctm-dn-fm-as-go-bk-to-ln-dt-se-se-wh, 1.25);
1497
1511
  }
1498
1512
  }
1499
1513
  }
package/dist/map.scss CHANGED
@@ -674,6 +674,8 @@ $data: (
674
674
  }
675
675
  path[stroke] {
676
676
  stroke: prepareMediaVariable(--_ctm-dn-pn-se-in-c1);
677
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
678
+ stroke-width: prepareMediaVariable(--_ctm-dn-pn-se-se-wh, 1.25);
677
679
  }
678
680
  }
679
681
 
@@ -934,6 +936,8 @@ $data: (
934
936
  // --_ctm-mob-dn-pn-se-in-c1,
935
937
  // var(--_ctm-tab-dn-pn-se-in-c1, var(--_ctm-dn-pn-se-in-c1))
936
938
  // );
939
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
940
+ stroke-width: prepareMediaVariable(--_ctm-dn-pn-se-se-wh, 1.25);
937
941
  // fill: var(
938
942
  // --_ctm-mob-dn-pn-se-in-c1,
939
943
  // var(--_ctm-tab-dn-pn-se-in-c1, var(--_ctm-dn-pn-se-in-c1))
@@ -1041,6 +1045,8 @@ $data: (
1041
1045
  // --_ctm-mob-dn-pn-se-in-c1,
1042
1046
  // var(--_ctm-tab-dn-pn-se-in-c1, var(--_ctm-dn-pn-se-in-c1))
1043
1047
  // );
1048
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
1049
+ stroke-width: prepareMediaVariable(--_ctm-dn-pn-se-se-wh, 1.25);
1044
1050
  // }
1045
1051
  // }
1046
1052
  // }
@@ -226,6 +226,9 @@ $defaultValues: (
226
226
  --_sf-it-hr-tae: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-tt-an)};
227
227
  --_sf-it-hr-ls: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-lr-sg)};
228
228
  --_sf-it-hr-lh: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-le-ht)};
229
+ --_sf-it-hr-ttm: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-tt-tm)};
230
+ --_sf-it-hr-wwp: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-wd-wp)};
231
+ --_sf-it-hr-wbk: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-wd-bk)};
229
232
  --_sf-it-hr-in-cr: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-in-c1)};
230
233
  --_sf-it-hr-in-se: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-hr-se-in-se)};
231
234
  }
@@ -251,6 +254,9 @@ $defaultValues: (
251
254
  --_sf-it-at-tae: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-tt-an)};
252
255
  --_sf-it-at-ls: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-lr-sg)};
253
256
  --_sf-it-at-lh: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-le-ht)};
257
+ --_sf-it-at-ttm: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-tt-tm)};
258
+ --_sf-it-at-wwp: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-wd-wp)};
259
+ --_sf-it-at-wbk: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-wd-bk)};
254
260
  --_sf-it-at-in-cr: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-in-c1)};
255
261
  --_sf-it-at-in-se: #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-sd-se-in-se)};
256
262
  }
@@ -370,6 +376,27 @@ $defaultValues: (
370
376
  #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-dt-se-le-ht)}
371
377
  )
372
378
  );
379
+ text-transform: var(
380
+ --_sf-it-at-ttm,
381
+ var(
382
+ --_sf-it-hr-ttm,
383
+ #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-dt-se-tt-tm, none)}
384
+ )
385
+ );
386
+ word-wrap: var(
387
+ --_sf-it-at-wwp,
388
+ var(
389
+ --_sf-it-hr-wwp,
390
+ #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-dt-se-wd-wp, normal)}
391
+ )
392
+ );
393
+ word-break: var(
394
+ --_sf-it-at-wbk,
395
+ var(
396
+ --_sf-it-hr-wbk,
397
+ #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-dt-se-wd-bk, keep-all)}
398
+ )
399
+ );
373
400
 
374
401
  &.flex__menu__item__icon {
375
402
  pointer-events: all;
@@ -403,6 +430,11 @@ $defaultValues: (
403
430
  #{prepareMediaVariable(--_ctm-meg-dn-mu-im-se-dt-se-in-c1)}
404
431
  )
405
432
  );
433
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
434
+ stroke-width: prepareMediaVariable(
435
+ --_ctm-meg-dn-mu-im-se-dt-se-se-wh,
436
+ 1.25
437
+ );
406
438
  }
407
439
  }
408
440
  }
@@ -807,6 +839,7 @@ $defaultValues: (
807
839
  &:hover {
808
840
  --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-meg-dn-hr-se-hr-se-in-se)};
809
841
  --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-meg-dn-hr-se-hr-se-in-c1)};
842
+ --_sf-hm-hr-ic-swh: #{prepareMediaVariable(--_ctm-meg-dn-hr-se-hr-se-se-wh)};
810
843
 
811
844
  --_sf-hm-hr-pd: #{prepareMediaVariable(--_ctm-meg-dn-hr-se-hr-se-pg)};
812
845
  --_sf-hm-hr-br: #{prepareMediaVariable(--_ctm-meg-dn-hr-se-hr-se-br-rs)};
@@ -840,6 +873,14 @@ $defaultValues: (
840
873
  --_sf-hm-hr-ic-clr,
841
874
  #{prepareMediaVariable(--_ctm-meg-dn-hr-se-dt-se-in-c1)}
842
875
  );
876
+ // Overrides the stroke-width presentation attribute baked into the icon
877
+ // markup. `--_sf-hm-hr-ic-swh` is published by the :hover block so the
878
+ // hover state carries its own width; unset otherwise, so the default
879
+ // state's value applies.
880
+ stroke-width: var(
881
+ --_sf-hm-hr-ic-swh,
882
+ #{prepareMediaVariable(--_ctm-meg-dn-hr-se-dt-se-se-wh)}
883
+ );
843
884
  }
844
885
  }
845
886
  }