efficient-storefront-blocks 0.33.1 → 0.33.3

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.33.3 — 2026-10-16
4
+
5
+ - **The product name's size is `min(min(size, name fit), ceiling)`.** 0.33.2's
6
+ flat `min(size, name fit, ceiling)` passed the storefront heading-ceiling
7
+ sweep's spelling check but not its "no ceiling set renders the same" check:
8
+ that check reads everything before the ceiling as ONE length, and
9
+ `size, name fit` is two. Nested, it reads 84px at 1600px with no ceiling, as
10
+ before. Same size everywhere.
11
+
12
+ ## 0.33.2 — 2026-10-16
13
+
14
+ - **The product name's size spells the site's heading ceiling last**, the one
15
+ way every capped heading spells it: `min(size, var(--hero-name-fit,9999px),
16
+ var(--sf-heading-max,9999px))`. 0.32.4 put the name's phone fit after the
17
+ ceiling, and the storefront's heading-ceiling sweep (the web builder's
18
+ `heading-ceiling-sweep` rule) reads that as a second spelling. Same size
19
+ everywhere; only the order inside `min()` changes.
20
+
3
21
  ## 0.33.1 — 2026-10-16
4
22
 
5
23
  - **On a phone, a hero with a set height grows to fit its words.** Takes
@@ -1 +1 @@
1
- "use client";import{ba as p,l as m}from"./chunk-7PV7RJ4D.js";import{Pc as u,Qd as d,kg as c}from"./chunk-G5OLLOCT.js";import"./chunk-ZK4TVVHJ.js";import"./chunk-OADA35KT.js";import{Ga as s,La as a,Ma as f,Qa as g}from"./chunk-P5QC7OSD.js";import"./chunk-TNXPBHCM.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-D6F4PRBB.js";import{Pc as u,Qd as d,kg as c}from"./chunk-G5OLLOCT.js";import"./chunk-ZK4TVVHJ.js";import"./chunk-OADA35KT.js";import{Ga as s,La as a,Ma as f,Qa as g}from"./chunk-P5QC7OSD.js";import"./chunk-TNXPBHCM.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};