@lime-bundles/widget 4.6.7 → 4.6.8

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/index.cjs CHANGED
@@ -6663,14 +6663,14 @@ var BUNDLE_BOGO_CSS = `/* Lime Bundles \u2014 BOGO (Buy X Get Y) bundle styles *
6663
6663
  opacity: 0.6;
6664
6664
  }
6665
6665
 
6666
- /* The reward row's struck original is emitted empty and filled on hydration,
6667
- so anything sharing its line moves when it appears. The count is the only
6668
- such thing, and it is a count, not part of the price phrase: pinning it to
6669
- the row's right edge makes its position independent of the price text \u2014 the
6670
- same right-slot treatment the fixed widget gives its quantity chip. */
6671
- .lb-bogo .lb-bundle-qty-inline {
6672
- margin-left: auto;
6673
- }
6666
+ /* The count sits beside the price, like every other inline-quantity widget
6667
+ (mix & match, multi-step). It used to be pinned to the row's right edge:
6668
+ this row's prices are emitted empty and filled on hydration, so a
6669
+ server-rendered count was painted and then shoved sideways when the price
6670
+ landed beside it. Pinning bought zero layout shift at the cost of a number
6671
+ floating in space, unattached to the figure it multiplies. The count is now
6672
+ emitted empty and filled with the rest of the price line, so it has no
6673
+ first-paint position to be moved from and needs no pinning. */
6674
6674
  `;
6675
6675
  var BUNDLE_MULTI_STEP_CSS = `/**
6676
6676
  * Lime Bundles \u2014 Multi-step bundle widget styles (wizard chrome ONLY).
package/dist/index.js CHANGED
@@ -6673,14 +6673,14 @@ var BUNDLE_BOGO_CSS = `/* Lime Bundles \u2014 BOGO (Buy X Get Y) bundle styles *
6673
6673
  opacity: 0.6;
6674
6674
  }
6675
6675
 
6676
- /* The reward row's struck original is emitted empty and filled on hydration,
6677
- so anything sharing its line moves when it appears. The count is the only
6678
- such thing, and it is a count, not part of the price phrase: pinning it to
6679
- the row's right edge makes its position independent of the price text \u2014 the
6680
- same right-slot treatment the fixed widget gives its quantity chip. */
6681
- .lb-bogo .lb-bundle-qty-inline {
6682
- margin-left: auto;
6683
- }
6676
+ /* The count sits beside the price, like every other inline-quantity widget
6677
+ (mix & match, multi-step). It used to be pinned to the row's right edge:
6678
+ this row's prices are emitted empty and filled on hydration, so a
6679
+ server-rendered count was painted and then shoved sideways when the price
6680
+ landed beside it. Pinning bought zero layout shift at the cost of a number
6681
+ floating in space, unattached to the figure it multiplies. The count is now
6682
+ emitted empty and filled with the rest of the price line, so it has no
6683
+ first-paint position to be moved from and needs no pinning. */
6684
6684
  `;
6685
6685
  var BUNDLE_MULTI_STEP_CSS = `/**
6686
6686
  * Lime Bundles \u2014 Multi-step bundle widget styles (wizard chrome ONLY).
@@ -2459,14 +2459,14 @@ a.lb-bundle-product-name:focus-visible {
2459
2459
  opacity: 0.6;
2460
2460
  }
2461
2461
 
2462
- /* The reward row's struck original is emitted empty and filled on hydration,
2463
- so anything sharing its line moves when it appears. The count is the only
2464
- such thing, and it is a count, not part of the price phrase: pinning it to
2465
- the row's right edge makes its position independent of the price text \u2014 the
2466
- same right-slot treatment the fixed widget gives its quantity chip. */
2467
- .lb-bogo .lb-bundle-qty-inline {
2468
- margin-left: auto;
2469
- }
2462
+ /* The count sits beside the price, like every other inline-quantity widget
2463
+ (mix & match, multi-step). It used to be pinned to the row's right edge:
2464
+ this row's prices are emitted empty and filled on hydration, so a
2465
+ server-rendered count was painted and then shoved sideways when the price
2466
+ landed beside it. Pinning bought zero layout shift at the cost of a number
2467
+ floating in space, unattached to the figure it multiplies. The count is now
2468
+ emitted empty and filled with the rest of the price line, so it has no
2469
+ first-paint position to be moved from and needs no pinning. */
2470
2470
  `,Yr=`/**
2471
2471
  * Lime Bundles \u2014 Multi-step bundle widget styles (wizard chrome ONLY).
2472
2472
  *