efficient-storefront-blocks 0.124.1 → 0.125.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 +29 -0
- package/dist/chunks/{CustomHtmlCodeWindow-6QU56I6L.js → CustomHtmlCodeWindow-ROUI64CY.js} +3 -3
- package/dist/chunks/{EditorPreviewCheckout-TRX42H6I.js → EditorPreviewCheckout-F2HXHGBN.js} +1 -1
- package/dist/chunks/SiteEditorProvider-B7766ULW.js +1 -0
- package/dist/chunks/{chunk-S5N6H2MP.js → chunk-2KEZPQPW.js} +1 -1
- package/dist/chunks/{chunk-ESQTNC7T.js → chunk-ESVLXH7T.js} +3 -3
- package/dist/chunks/chunk-KFZLLS45.js +2 -0
- package/dist/chunks/chunk-MU65AZLZ.js +96 -0
- package/dist/chunks/{chunk-CDKQFBBA.js → chunk-O3YXHDC6.js} +1 -1
- package/dist/chunks/chunk-SEA3MICI.js +7 -0
- package/dist/chunks/{chunk-YCL4MPLF.js → chunk-T2LZCAFH.js} +1 -1
- package/dist/chunks/chunk-WWQ5LOLU.js +337 -0
- package/dist/chunks/{fitment-data-MXT6XIW5.js → fitment-data-X7PIIXMU.js} +1 -1
- package/dist/chunks/section-css-style-Q23EN42Q.js +1 -0
- package/dist/editor/lib/document/blocks/commerce/ProductGallery/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/ProductHero/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/ProductSku/fields.d.ts +2 -0
- package/dist/editor/lib/document/blocks/commerce/ProductSku/fields.js +1 -0
- package/dist/editor/lib/document/blocks/commerce/SpecTable/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/index.d.ts +1 -1
- package/dist/editor/lib/document/blocks/commerce/index.js +1 -1
- package/dist/editor/lib/document/config.js +1 -1
- package/dist/editor/lib/document/section-text-regions.js +1 -1
- package/dist/editor/lib/storefront-editor-words.d.ts +5 -0
- package/dist/editor/lib/storefront-editor-words.js +1 -1
- package/dist/editor.css +1 -1
- package/dist/index.js +38 -29
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/GalleryGrid.js +3 -3
- package/dist/render/components/GalleryItem.d.ts +6 -0
- package/dist/render/components/GalleryItem.js +1 -1
- package/dist/render/components/LinkedProductHero.d.ts +1 -0
- package/dist/render/components/ProductGallery.d.ts +1 -1
- package/dist/render/components/ProductGallery.js +1 -1
- package/dist/render/components/ProductHeroPanel.d.ts +2 -1
- package/dist/render/components/ProductHeroPanel.js +1 -1
- package/dist/render/components/card-pieces/HeadlineName.js +1 -1
- package/dist/render/components/card-pieces/ProductCardState.d.ts +1 -0
- package/dist/render/components/pdp-dynamic/DynamicProductHero.d.ts +1 -0
- package/dist/render/components/pdp-dynamic/DynamicSpecTable.d.ts +1 -0
- package/dist/render/components/pdp-dynamic/DynamicSpecTable.js +1 -1
- package/dist/render/components/product-hero/hero-view.d.ts +1 -0
- package/dist/render/components/product-hero/hero-view.js +1 -1
- package/dist/render/components/useStickyColumns.d.ts +2 -0
- package/dist/render/components/useStickyColumns.js +1 -0
- package/dist/render/lib/catalog/from-wheel.js +1 -1
- package/dist/render/lib/catalog/part-skus.d.ts +2 -0
- package/dist/render/lib/catalog/part-skus.js +1 -0
- package/dist/render/lib/content/hero-seed.d.ts +1 -1
- package/dist/render/lib/content/hero-seed.js +1 -1
- package/dist/render/lib/content/product-card-seed.d.ts +1 -0
- package/dist/render/lib/content/product-card-seed.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductName/meta.js +1 -1
- package/dist/render/lib/document/blocks/commerce/ProductSku/meta.d.ts +2 -0
- package/dist/render/lib/document/blocks/commerce/ProductSku/meta.js +1 -0
- package/dist/render/lib/document/blocks/commerce/ProductSku/render.d.ts +2 -0
- package/dist/render/lib/document/blocks/commerce/ProductSku/render.js +1 -0
- package/dist/render/lib/document/blocks/commerce/SpecTable/render.js +1 -1
- package/dist/render/lib/document/blocks/commerce/metas.d.ts +1 -0
- package/dist/render/lib/document/blocks/commerce/metas.js +1 -1
- package/dist/render/lib/document/blocks/commerce/renders.d.ts +1 -0
- package/dist/render/lib/document/blocks/commerce/renders.js +1 -1
- package/dist/render/lib/document/card-templates.js +1 -1
- package/dist/render/lib/document/lazy-draws.js +1 -1
- package/dist/render/lib/sections/hero-gallery.d.ts +2 -2
- package/dist/render/lib/sections/hero-gallery.js +1 -1
- package/dist/render/lib/sections/hero-sticky.d.ts +4 -0
- package/dist/render/lib/sections/hero-sticky.js +1 -0
- package/dist/render/lib/sections/product-card-text-regions.d.ts +1 -0
- package/dist/render/lib/sections/product-card-text-regions.js +1 -1
- package/dist/render/lib/wheels/spec-sheet.d.ts +19 -0
- package/dist/render/lib/wheels/spec-sheet.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/dist/words.d.ts +10 -0
- package/dist/words.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/SiteEditorProvider-IBJ5A5V3.js +0 -1
- package/dist/chunks/chunk-EKCLPISP.js +0 -96
- package/dist/chunks/chunk-MC6E4ZLD.js +0 -339
- package/dist/chunks/chunk-O5WPKRAC.js +0 -2
- package/dist/chunks/chunk-T7CS442T.js +0 -4
- package/dist/chunks/section-css-style-ZZ3ZOGPR.js +0 -1
- /package/dist/chunks/{chunk-27GSFHNV.js → chunk-AUQZLQEO.js} +0 -0
- /package/dist/chunks/{chunk-ESQTNC7T.js.LEGAL.txt → chunk-ESVLXH7T.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-JJ5MCDPE.js → chunk-NMB6BD73.js} +0 -0
- /package/dist/chunks/{chunk-MC6E4ZLD.js.LEGAL.txt → chunk-WWQ5LOLU.js.LEGAL.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var b="data-sf-section-css",g="customCss";function p(e){let t=e?.[g];return typeof t=="string"&&t.trim()!==""?t:""}function l(e){switch(e.id){case"heading-1":return"font-display";case"heading-2":return"font-heading2";case"heading-3":return"font-heading3";case"body-1":return"font-body";case"body-5":return"font-mono";default:return`font-${e.id}`}}var s="var(--sf-heading-weight, 500)",u={"heading-1":{step:"headingLarge",fallbackPx:76,weight:s},"heading-2":{step:"headingMedium",fallbackPx:44,weight:`var(--sf-heading-2-weight, ${s})`},"heading-3":{step:"headingSmall",fallbackPx:30,weight:`var(--sf-heading-3-weight, ${s})`},"body-1":{step:"body",fallbackPx:16},"body-5":{step:"label",fallbackPx:12}};function w(e,t){let o=new Set;for(let a of t.matchAll(/\bclass="([^"]*)"/g))for(let n of a[1].split(/\s+/))n&&o.add(n);let i=[];for(let[a,{step:n,fallbackPx:d,weight:c}]of Object.entries(u)){let f=l({id:a});if(!o.has(f))continue;let r=`var(--size-${n}, ${d}px)`,h=c?[`font-size: min(${r}, var(--sf-heading-max, 9999px))`,`font-weight: ${c}`]:[`font-size: ${r}`];i.push(`:where(${e} .${f}) { ${h.join("; ")} }`)}return i.join(`
|
|
2
|
-
`)}function $(e){return e.replace(/<(?=\/)/g,"\\3c ")}export{b as a,g as b,p as c,$ as d,l as e,u as f,w as g};
|