efficient-storefront-blocks 0.76.0 → 0.77.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/chunks/EditorPreviewCheckout-GNQP4MQ4.js +4 -0
  3. package/dist/chunks/{SiteEditorProvider-AJUWZYHT.js → SiteEditorProvider-R3HXJAPW.js} +1 -1
  4. package/dist/chunks/chunk-BOJGJXIU.js +311 -0
  5. package/dist/chunks/chunk-CAULWKXR.js +1 -0
  6. package/dist/chunks/chunk-GDR5GGVW.js +1 -0
  7. package/dist/chunks/chunk-OWYNZAAY.js +1 -0
  8. package/dist/chunks/chunk-ZIZWJZ5T.js +1 -0
  9. package/dist/chunks/{fitment-data-IZYCNTET.js → fitment-data-JNQKYQIB.js} +1 -1
  10. package/dist/editor/components/CategorySource.js +1 -1
  11. package/dist/editor/lib/document/blocks/commerce/GalleryB/fields.js +1 -1
  12. package/dist/editor/lib/document/blocks/commerce/ProductGrid/fields.js +1 -1
  13. package/dist/editor/lib/document/blocks/service/Events/fields.js +1 -1
  14. package/dist/editor/lib/document/blocks/service/FooterGroup/fields.js +1 -1
  15. package/dist/editor/lib/document/blocks/service/FooterSocial/fields.js +1 -1
  16. package/dist/index.js +31 -31
  17. package/dist/render/app/globals.css +13 -0
  18. package/dist/render/built-with.json +1 -1
  19. package/dist/render/components/ChatWidget.js +1 -1
  20. package/dist/render/components/ConsentPanel.js +1 -1
  21. package/dist/render/components/Events.d.ts +2 -1
  22. package/dist/render/components/Events.js +1 -1
  23. package/dist/render/components/FooterGroup.d.ts +2 -1
  24. package/dist/render/components/FooterGroup.js +1 -1
  25. package/dist/render/components/GalleryGrid.d.ts +2 -1
  26. package/dist/render/components/GalleryGrid.js +1 -1
  27. package/dist/render/components/Notice.d.ts +6 -0
  28. package/dist/render/components/Notice.js +1 -0
  29. package/dist/render/components/ProductGridSection.d.ts +2 -1
  30. package/dist/render/components/ProductGridSection.js +1 -1
  31. package/dist/render/components/SubscribePopup.js +2 -2
  32. package/dist/render/components/TyreFitVerdicts.d.ts +2 -1
  33. package/dist/render/components/TyreFitVerdicts.js +1 -1
  34. package/dist/render/components/TyreVehicleFitment.js +1 -1
  35. package/dist/render/components/WheelCardFrame.d.ts +3 -0
  36. package/dist/render/components/WheelCardFrame.js +1 -1
  37. package/dist/render/components/catalog/CatalogFilterBar.js +1 -1
  38. package/dist/render/components/checkout/CheckoutPageClient.d.ts +4 -0
  39. package/dist/render/components/checkout/CheckoutPageClient.js +1 -1
  40. package/dist/render/components/checkout/checkout-parts.js +1 -1
  41. package/dist/render/components/checkout/checkout-state.d.ts +14 -2
  42. package/dist/render/components/checkout/checkout-state.js +3 -3
  43. package/dist/render/components/product-hero/TyreHeroFitment.d.ts +2 -1
  44. package/dist/render/components/product-hero/TyreHeroFitment.js +1 -1
  45. package/dist/render/components/product-hero/VehicleQuestion.d.ts +0 -4
  46. package/dist/render/components/product-hero/VehicleQuestion.js +1 -1
  47. package/dist/render/components/product-hero/WheelHeroFitment.js +1 -1
  48. package/dist/render/components/useTyreFitAnswer.d.ts +1 -0
  49. package/dist/render/components/useTyreFitAnswer.js +1 -1
  50. package/dist/render/lib/api/index.d.ts +6 -3
  51. package/dist/render/lib/api/index.js +1 -1
  52. package/dist/render/lib/api/types.d.ts +3 -0
  53. package/dist/render/lib/checkout/pay-first.d.ts +34 -0
  54. package/dist/render/lib/checkout/pay-first.js +1 -0
  55. package/dist/render/lib/document/blocks/commerce/GalleryB/render.js +1 -1
  56. package/dist/render/lib/document/blocks/commerce/ProductGrid/render.js +1 -1
  57. package/dist/render/lib/document/blocks/service/Events/render.js +1 -1
  58. package/dist/render/lib/document/blocks/service/FooterGroup/render.js +1 -1
  59. package/dist/render/lib/tyres/tyre-fit-copy.js +1 -1
  60. package/dist/render/lib/tyres/tyre-vehicle-fitment.d.ts +3 -1
  61. package/dist/render/lib/tyres/tyre-vehicle-fitment.js +1 -1
  62. package/dist/words.d.ts +0 -5
  63. package/dist/words.js +2 -2
  64. package/package.json +3 -3
  65. package/dist/chunks/EditorPreviewCheckout-ANI7HUYX.js +0 -4
  66. package/dist/chunks/chunk-3IQQNZIM.js +0 -311
  67. package/dist/chunks/chunk-4F5CAFXO.js +0 -1
  68. package/dist/chunks/chunk-5NXOTPHK.js +0 -1
  69. package/dist/chunks/chunk-YAYHH5GY.js +0 -1
  70. package/dist/chunks/chunk-YFPWVNDB.js +0 -1
  71. /package/dist/chunks/{chunk-3IQQNZIM.js.LEGAL.txt → chunk-BOJGJXIU.js.LEGAL.txt} +0 -0
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{BOX_DARKEN as t}from"efficient-web-builder/format/lib/content/box-background";import f from"../../../../../components/BlogSource.js";import{EVENTS_LAYOUTS as c,EVENTS_LAYOUT_FALLBACK as p,EVENTS_FEATURED_WIDTH as o,EVENTS_LAYOUT_COUNT as l,EVENTS_LAYOUT_SPREAD as E,EVENTS_LAYOUT_TABS as i}from"../../../../../../render/components/Events.js";import{LayoutIcon as S,ColumnsIcon as T,WidthIcon as _,ImageIcon as g,OpacityIcon as h,ListIcon as A,HashIcon as F,SearchIcon as I}from"efficient-easel/icons";import{text as d,textarea as L,linkField as N,sourceField as C,toggle as a,containerGapField as k,cardImageField as y}from"efficient-web-builder/editor/lib/document/controls";import{group as s}from"efficient-easel/screen/lib/document/box-fields";import{select as O,slider as r}from"efficient-web-builder/editor/lib/document/box-fields";import{blockSourceField as P,blockSourceFields as v}from"efficient-web-builder/editor/lib/document/block-source-fields";import{headFieldsForPlacement as w,SPLITTABLE_SECTIONS as x}from"efficient-web-builder/format/lib/sections/section-head-placement";import{withRowRules as B}from"efficient-web-builder/render/lib/document/show-when";import{EVENTS_PH as n}from"../../../../../../render/lib/document/blocks/service/Events/meta.js";const U=50,J={fields:B({_gContent:s("Content"),num:d("Number",n.num),title:L("Heading",n.title),linkText:d("Button",n.link),linkHref:N("Link"),dataSource:P("Cards from","Blog posts"),_gPosts:s("Blog posts"),posts:C(f,{snapshotCount:U}),_gLayout:s("Layout"),layout:O("Arrangement",e(S,{}),c,p),columns:r("Columns",e(T,{}),2,4,1,3),featuredWidth:r("Featured width",e(_,{}),o.min,o.max,o.step,o.fallback,o.unit),listCover:a("Show cover image on the smaller cards",!0,e(g,{})),featuredDarken:r("Darken",e(h,{}),t.min,t.max,t.step,55,t.unit),nameFilter:a("Filter by name",!1,e(I,{})),gap:k("Events"),showAll:a("Show all blog posts",!1,e(A,{})),limit:r("Posts to display",e(F,{}),1,20,1,3),cardImage:y()},[[["limit"],{field:"showAll",in:[!1,0,"",null],default:!1}],[["columns"],{not:{field:"layout",in:["featured",i,l,E]}}],[["featuredWidth","listCover","featuredDarken"],{field:"layout",is:"featured"}],[["nameFilter"],{not:{field:"layout",in:["featured",i,l]}}],[["cardImage"],{not:{field:"layout",in:[i,l]}}]]),resolveFields:(m,{fields:u,parent:V})=>w(v("Events",u,m.props,{hides:["_gPosts","posts"]}),m.props.headPlacement,x.Events.headRows)};export{J as EventsFields};
1
+ import{jsx as e}from"react/jsx-runtime";import{BOX_DARKEN as t}from"efficient-web-builder/format/lib/content/box-background";import f from"../../../../../components/BlogSource.js";import{EVENTS_LAYOUTS as c,EVENTS_LAYOUT_FALLBACK as p,EVENTS_FEATURED_WIDTH as o,EVENTS_LAYOUT_COUNT as l,EVENTS_LAYOUT_SPREAD as E,EVENTS_LAYOUT_TABS as i}from"../../../../../../render/components/Events.js";import{LayoutIcon as S,ColumnsIcon as T,WidthIcon as _,ImageIcon as g,OpacityIcon as h,ListIcon as A,HashIcon as F,SearchIcon as I}from"efficient-easel/icons";import{text as d,textarea as L,linkField as N,sourceField as C,toggle as s,containerGapRows as k,cardImageField as y}from"efficient-web-builder/editor/lib/document/controls";import{group as a}from"efficient-easel/screen/lib/document/box-fields";import{select as O,slider as r}from"efficient-web-builder/editor/lib/document/box-fields";import{blockSourceField as w,blockSourceFields as P}from"efficient-web-builder/editor/lib/document/block-source-fields";import{headFieldsForPlacement as v,SPLITTABLE_SECTIONS as x}from"efficient-web-builder/format/lib/sections/section-head-placement";import{withRowRules as B}from"efficient-web-builder/render/lib/document/show-when";import{EVENTS_PH as n}from"../../../../../../render/lib/document/blocks/service/Events/meta.js";const U=50,J={fields:B({_gContent:a("Content"),num:d("Number",n.num),title:L("Heading",n.title),linkText:d("Button",n.link),linkHref:N("Link"),dataSource:w("Cards from","Blog posts"),_gPosts:a("Blog posts"),posts:C(f,{snapshotCount:U}),_gLayout:a("Layout"),layout:O("Arrangement",e(S,{}),c,p),columns:r("Columns",e(T,{}),2,4,1,3),featuredWidth:r("Featured width",e(_,{}),o.min,o.max,o.step,o.fallback,o.unit),listCover:s("Show cover image on the smaller cards",!0,e(g,{})),featuredDarken:r("Darken",e(h,{}),t.min,t.max,t.step,55,t.unit),nameFilter:s("Filter by name",!1,e(I,{})),...k("Events"),showAll:s("Show all blog posts",!1,e(A,{})),limit:r("Posts to display",e(F,{}),1,20,1,3),cardImage:y()},[[["limit"],{field:"showAll",in:[!1,0,"",null],default:!1}],[["columns"],{not:{field:"layout",in:["featured",i,l,E]}}],[["featuredWidth","listCover","featuredDarken"],{field:"layout",is:"featured"}],[["nameFilter"],{not:{field:"layout",in:["featured",i,l]}}],[["cardImage"],{not:{field:"layout",in:[i,l]}}]]),resolveFields:(m,{fields:u,parent:V})=>v(P("Events",u,m.props,{hides:["_gPosts","posts"]}),m.props.headPlacement,x.Events.headRows)};export{J as EventsFields};
@@ -1 +1 @@
1
- import{containerGapField as t}from"efficient-web-builder/editor/lib/document/controls";import{boxAlignField as i,group as e,noGlyph as n}from"efficient-easel/screen/lib/document/box-fields";import{segmented as l}from"efficient-web-builder/editor/lib/document/box-fields";import{slotRowsField as a}from"efficient-web-builder/editor/lib/document/blocks/shared-fields";import{FooterGroupSlots as s}from"../../../../../../render/lib/document/blocks/service/FooterGroup/meta.js";function c(){const r=i({runs:o=>o==="horizontal"?"row":"column"});return{...r,fallback:"start",render:o=>r.render({...o,value:o.value??"start"})}}const h={fields:{_gLayout:e("Layout"),direction:l("Direction",n("`Direction` names how a container's children run — a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),[{label:"Vertical",value:"vertical"},{label:"Horizontal",value:"horizontal"}],"vertical"),gap:t("FooterGroup"),align:c(),_gBlocks:e("Blocks"),blockList:a("FooterGroup"),blocks:s.blocks}};export{h as FooterGroupFields};
1
+ import{containerGapRows as e}from"efficient-web-builder/editor/lib/document/controls";import{boxAlignField as i,group as t,noGlyph as n}from"efficient-easel/screen/lib/document/box-fields";import{segmented as l}from"efficient-web-builder/editor/lib/document/box-fields";import{slotRowsField as a}from"efficient-web-builder/editor/lib/document/blocks/shared-fields";import{FooterGroupSlots as s}from"../../../../../../render/lib/document/blocks/service/FooterGroup/meta.js";function c(){const r=i({runs:o=>o==="horizontal"?"row":"column"});return{...r,fallback:"start",render:o=>r.render({...o,value:o.value??"start"})}}const h={fields:{_gLayout:t("Layout"),direction:l("Direction",n("`Direction` names how a container's children run — a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),[{label:"Vertical",value:"vertical"},{label:"Horizontal",value:"horizontal"}],"vertical"),...e("FooterGroup"),align:c(),_gBlocks:t("Blocks"),blockList:a("FooterGroup"),blocks:s.blocks}};export{h as FooterGroupFields};
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import{SOCIAL_GAP_MIN as i,SOCIAL_GAP_MAX as m,SOCIAL_GAP_STEP as r,SOCIAL_GAP_DEFAULT as a}from"../../../../../../render/lib/sections/footer-social-gap.js";import{DEFAULT_SOCIAL_ICON_STYLE as t}from"efficient-web-builder/render/components/socialIcons";import s from"../../../../../components/SocialLinksDoor.js";import{StylesIcon as S,TextSizeIcon as n,GapIcon as p}from"efficient-easel/icons";import{group as l}from"efficient-easel/screen/lib/document/box-fields";import{segmented as e,slider as _}from"efficient-web-builder/editor/lib/document/box-fields";import{blockAlignRow as u}from"../../../block-align-row.js";const O={fields:{_gStyle:l("Style"),iconStyle:e("Icon style",o(S,{}),[{label:"Outline",value:"outline"},{label:"Solid",value:"solid"}],t),iconSize:e("Icon size",o(n,{}),[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}],"medium"),_socialLinks:{type:"custom",render:()=>o(s,{})},_gLayout:l("Layout"),align:u(),gap:_("Gap",o(p,{}),i,m,r,a,"px")}};export{O as FooterSocialFields};
1
+ import{jsx as o}from"react/jsx-runtime";import{SOCIAL_GAP_MIN as i,SOCIAL_GAP_MAX as m,SOCIAL_GAP_STEP as r,SOCIAL_GAP_DEFAULT as t}from"../../../../../../render/lib/sections/footer-social-gap.js";import{DEFAULT_SOCIAL_ICON_STYLE as a}from"efficient-web-builder/render/components/socialIcons";import s from"../../../../../components/SocialLinksDoor.js";import{StylesIcon as p,TextSizeIcon as S,GapIcon as n}from"efficient-easel/icons";import{group as e}from"efficient-easel/screen/lib/document/box-fields";import{deviceField as _}from"efficient-easel/screen/lib/document/device-fields";import{segmented as l,slider as c}from"efficient-web-builder/editor/lib/document/box-fields";import{blockAlignRow as u}from"../../../block-align-row.js";const v={fields:{_gStyle:e("Style"),iconStyle:l("Icon style",o(p,{}),[{label:"Outline",value:"outline"},{label:"Solid",value:"solid"}],a),iconSize:l("Icon size",o(S,{}),[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"}],"medium"),_socialLinks:{type:"custom",render:()=>o(s,{})},_gLayout:e("Layout"),align:u(),gap:_("desktop",c("Gap",o(n,{}),i,m,r,t,"px"))}};export{v as FooterSocialFields};