efficient-storefront-blocks 0.37.1 → 0.38.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.0 — 2026-10-16
4
+
5
+ - **A left/right SET card draws the left wheel and its right-hand twin, and
6
+ the /wheels listing draws the same SET card** (Lewis approved the design on
7
+ 2026-10-16, GG's four points; Stealth on hartesmetal.com). Measured live
8
+ before: both wheels were the same LEFT render; on a 390 phone each wheel was
9
+ 104px, because the plate's inline `width` beat its `max-[800px]:w-[252px]`;
10
+ the listing drew Stealth as a one-slot "each" card; the price read "the
11
+ set" under a per-wheel figure.
12
+ - The second wheel is `Finish.srcRight` (efficient-backend #3297; contract
13
+ efficient-storefront #1692; `lib/api/types.ts` regenerated), only when the
14
+ first wheel is that finish's own `src` (`setSecondSrc`, `lib/wheels/set-mode`).
15
+ With no twin the band draws the first picture twice, as before.
16
+ - Phone (option A): each plate is the band's full width, stacked and level.
17
+ The 38px shift and `SET_PHONE_SHIFT_PX` are gone. The side-by-side width
18
+ rides `--sf-set-plate-w`, so the phone class can replace it.
19
+ - `PlpCard` uses the shared set rules: two slots (`wide`), the Set chip
20
+ (`withSetChip`, one copy now), the set words in the accent, the right-hand
21
+ twin, and its plate gap follows the listing gutter (`setGridGap`).
22
+ - Price word: `PER_WHEEL_UNIT` ("per wheel"), also read by the product page.
23
+ - ⚠️ Storefront: `scripts/test-set-card-two-slots.tsx` imports
24
+ `SET_PHONE_SHIFT_PX` and pins the 38px classes; the bump to 0.38.0 must
25
+ move it to option A.
26
+ Guard: `scripts/test-set-card-right-wheel.tsx`.
27
+
3
28
  ## 0.37.1 — 2026-10-16
4
29
 
5
30
  - **The Customer Photo Grid shows or hides each part of its tiles, per