efficient-storefront-blocks 0.32.0 → 0.32.1

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,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.32.1 — 2026-10-15
4
+
5
+ **A wheel card is the same card at rest and on hover** (card [FIX] Wheel
6
+ Cards Change On Hover; Lewis on hartesmetal.com/wheels, One-Piece Cast). The
7
+ chip row and the main button were drawn from the design summary at rest and
8
+ from the fetched variants once the pointer arrived, so Patriot went from
9
+ `12×20 · 14×22` and ADD TO BASKET to `20" × 12 · 20" × 12 · 22" × 14 · +1`
10
+ and a dashed SELECT A SIZE that grew the card 2px. Both wheel cards (the
11
+ listing's and the Product Grid's) share the one bottom this changes.
12
+
13
+ - **One chip per SIZE, one format.** The chips are the design's sizes from
14
+ the summary, `20" × 9` (diameter first, the product page's own format,
15
+ `wheelSizeLabel`), each printed once; `+N` counts the sizes left over,
16
+ never variants. Strike reads `20" × 9 · 20" × 10 · 22" × 10 · +1`, at rest
17
+ and on hover. A chip that does not fit a narrow card is left off whole
18
+ (and counted), never cut in half.
19
+ - **The chips are information, not a picker.** A size is sold in several
20
+ bolt patterns and offsets, so a size chip cannot know which wheel to add;
21
+ the old picker added whichever variant came first.
22
+ - **The button, in one line:** "Add to basket" only on a design sold as one
23
+ wheel (one size, one bolt pattern, one offset — `isOneWheelDesign`, read
24
+ from the summary); every other card says "Select a size" and opens the
25
+ product page. Same box in every state. A one-wheel card's button resolves
26
+ its wheel as it mounts, so the Product Grid's button (which nothing armed)
27
+ works too; out of stock it reads "Notify me when back".
28
+ - `sizePairLabel` (`7.5×17`) stays as it was: it is the pre-order key the
29
+ backend parses, not a display label any more.
30
+
3
31
  ## 0.32.0 — 2026-10-15
4
32
 
5
33
  **The B3 save bar: Publish as the main action, and Preview opens the saved
@@ -1 +1 @@
1
- "use client";import{ba as p,l as m}from"./chunk-ARXXIF4I.js";import{Pc as u,Pd as d,jg as c}from"./chunk-QOXKQV6L.js";import"./chunk-GD6ZFQC7.js";import"./chunk-NEQXU52M.js";import{Ga as s,La as a,Ma as f,Qa as g}from"./chunk-IKG5YKP7.js";import"./chunk-VBQY6H55.js";import"./chunk-Y6SLVHK3.js";import{Render as P}from"efficient-easel/render";import{jsx as k}from"react/jsx-runtime";function i({footerBlock:r,rootProps:e,headerSettings:o,siteName:t,legalName:l,foundedYear:n,socialLinks:v}){let I=m({root:{props:{...e??{},kind:d}},content:[r],zones:{}});return k(s.Provider,{value:{logoUrl:o?.logoUrl??null,logoReversed:o?.logoReversed??null,logoInkIsDark:o?.logoInkIsDark??null,siteName:t,legalName:l??null,foundedYear:n??null,socialLinks:v??g},children:k(P,{config:p,data:I})})}import{jsx as h}from"react/jsx-runtime";function F(){let{footerBlock:r,editFooter:e}=c(),{settings:o,websiteName:t}=a();if(!r)return null;let l=o?{logoUrl:o.logoUrl,logoReversed:o.logoReversed??null,logoInkIsDark:o.logoInkIsDark??null}:null;return h("div",{className:"sf-preview-footer-pick",onClick:e?n=>{n.stopPropagation(),e()}:void 0,style:e?{cursor:"pointer"}:void 0,title:e?u("Edit the site footer \u2192"):void 0,children:h(i,{footerBlock:r,headerSettings:l,siteName:t?.trim()||f})})}export{F as default};
1
+ "use client";import{ba as p,l as m}from"./chunk-NT4DZ7W3.js";import{Pc as u,Pd as d,jg as c}from"./chunk-QOXKQV6L.js";import"./chunk-GD6ZFQC7.js";import"./chunk-NEQXU52M.js";import{Ga as s,La as a,Ma as f,Qa as g}from"./chunk-IKG5YKP7.js";import"./chunk-VBQY6H55.js";import"./chunk-Y6SLVHK3.js";import{Render as P}from"efficient-easel/render";import{jsx as k}from"react/jsx-runtime";function i({footerBlock:r,rootProps:e,headerSettings:o,siteName:t,legalName:l,foundedYear:n,socialLinks:v}){let I=m({root:{props:{...e??{},kind:d}},content:[r],zones:{}});return k(s.Provider,{value:{logoUrl:o?.logoUrl??null,logoReversed:o?.logoReversed??null,logoInkIsDark:o?.logoInkIsDark??null,siteName:t,legalName:l??null,foundedYear:n??null,socialLinks:v??g},children:k(P,{config:p,data:I})})}import{jsx as h}from"react/jsx-runtime";function F(){let{footerBlock:r,editFooter:e}=c(),{settings:o,websiteName:t}=a();if(!r)return null;let l=o?{logoUrl:o.logoUrl,logoReversed:o.logoReversed??null,logoInkIsDark:o.logoInkIsDark??null}:null;return h("div",{className:"sf-preview-footer-pick",onClick:e?n=>{n.stopPropagation(),e()}:void 0,style:e?{cursor:"pointer"}:void 0,title:e?u("Edit the site footer \u2192"):void 0,children:h(i,{footerBlock:r,headerSettings:l,siteName:t?.trim()||f})})}export{F as default};