efficient-storefront-blocks 0.21.0 → 0.22.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,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.22.0 — 2026-10-13
4
+
5
+ Peer dependencies are unchanged. The canvas is built with efficient-web-builder 5.0.2.
6
+
7
+ Nothing a host calls changes, and a section stored before this draws as it
8
+ did. Latest Posts lays the same cards out four more ways, for the venue looks
9
+ built as platform templates (efficient-backend `docs/adr/0049`, "Amended
10
+ 2026-10-12": "where a look cannot be reached, the block gains an arrangement
11
+ before a new block is made").
12
+
13
+ - **Four arrangements more** on the "Arrangement" row (`layout`), after
14
+ "Even grid" and "Featured first": **Tabs** (`tabs`: one small link a card in
15
+ a row that scrolls sideways on a phone; the card whose row carries an
16
+ eyebrow, as the day a roster page is read for does, is the page's own and
17
+ is marked `aria-current`), **Photo cards** (`portrait`: each card a tall
18
+ 3:4 photo with its words over a fade at its foot and its eyebrow on a pill,
19
+ two abreast on a phone), **Staggered spread** (`spread`: photo cards three
20
+ abreast with the middle of each row set lower) and **Count** (`count`: no
21
+ cards, the number of them beside the section's heading, leading where its
22
+ button does; nothing when there are none). A section with no `layout`, or
23
+ one this package does not know, is the even grid, as before.
24
+ - **Filter by name** (`nameFilter`, off unless switched on): a box above the
25
+ cards that keeps those whose title holds what is typed, ignoring case and
26
+ accents, with a line when nobody matches. Offered in the even grid and the
27
+ two photo arrangements.
28
+ - **Customer Photo Grid bound to a record draws each picture once.** A grid
29
+ bound to its page's record (`dynamic` on) now draws the pictures of the
30
+ first field of pictures the record's type declared, not of every one: a
31
+ contractor declares hers twice, in two sizes (`photos`, `photos_full`), and
32
+ each was drawn twice. `recordPictures(record, { firstField: true })`.
33
+ Feature Rows, which draws the first picture, is as it was.
34
+ - **Fraunces is loaded at 300 as well** (`lib/next-fonts.ts`), the light
35
+ display weight the Ivory look sets its headings in; a heading at 300 was
36
+ drawn at 400. Not preloaded: a page that uses no Fraunces Light fetches no
37
+ more than before.
38
+
3
39
  ## 0.21.0 — 2026-10-13
4
40
 
5
41
  Peer dependencies are unchanged. The canvas is built with efficient-web-builder 5.0.2.
@@ -1 +1 @@
1
- "use client";import{_ as m,l as g}from"./chunk-55SQJMWX.js";import{Jd as u,ag as f}from"./chunk-HURDX4EH.js";import"./chunk-QAMH7KME.js";import"./chunk-TURA2CHV.js";import{Ga as s,La as a,Ma as d,Qa as c}from"./chunk-HYLRHFHP.js";import"./chunk-EJ2NLQYY.js";import"./chunk-Y6SLVHK3.js";import{Render as I}from"efficient-easel/render";import{jsx as p}from"react/jsx-runtime";function i({footerBlock:r,rootProps:e,headerSettings:o,siteName:t,legalName:l,foundedYear:n,socialLinks:h}){let v=g({root:{props:{...e??{},kind:u}},content:[r],zones:{}});return p(s.Provider,{value:{logoUrl:o?.logoUrl??null,logoReversed:o?.logoReversed??null,logoInkIsDark:o?.logoInkIsDark??null,siteName:t,legalName:l??null,foundedYear:n??null,socialLinks:h??c},children:p(I,{config:m,data:v})})}import{jsx as k}from"react/jsx-runtime";function P(){let{footerBlock:r,editFooter:e}=f(),{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 k("div",{className:"sf-preview-footer-pick",onClick:e?n=>{n.stopPropagation(),e()}:void 0,style:e?{cursor:"pointer"}:void 0,title:e?"Edit the site footer \u2192":void 0,children:k(i,{footerBlock:r,headerSettings:l,siteName:t?.trim()||d})})}export{P as default};
1
+ "use client";import{_ as m,l as g}from"./chunk-MVQPQ7RL.js";import{Jd as u,ag as f}from"./chunk-HURDX4EH.js";import"./chunk-QAMH7KME.js";import"./chunk-TURA2CHV.js";import{Ga as s,La as a,Ma as d,Qa as c}from"./chunk-HYLRHFHP.js";import"./chunk-EJ2NLQYY.js";import"./chunk-Y6SLVHK3.js";import{Render as I}from"efficient-easel/render";import{jsx as p}from"react/jsx-runtime";function i({footerBlock:r,rootProps:e,headerSettings:o,siteName:t,legalName:l,foundedYear:n,socialLinks:h}){let v=g({root:{props:{...e??{},kind:u}},content:[r],zones:{}});return p(s.Provider,{value:{logoUrl:o?.logoUrl??null,logoReversed:o?.logoReversed??null,logoInkIsDark:o?.logoInkIsDark??null,siteName:t,legalName:l??null,foundedYear:n??null,socialLinks:h??c},children:p(I,{config:m,data:v})})}import{jsx as k}from"react/jsx-runtime";function P(){let{footerBlock:r,editFooter:e}=f(),{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 k("div",{className:"sf-preview-footer-pick",onClick:e?n=>{n.stopPropagation(),e()}:void 0,style:e?{cursor:"pointer"}:void 0,title:e?"Edit the site footer \u2192":void 0,children:k(i,{footerBlock:r,headerSettings:l,siteName:t?.trim()||d})})}export{P as default};