efficient-storefront-blocks 0.96.0 → 0.97.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 (67) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/chunks/{EditorPreviewCheckout-BXTY7X47.js → EditorPreviewCheckout-O7F36ZXB.js} +1 -1
  3. package/dist/chunks/{SiteEditorProvider-JF3MS6J7.js → SiteEditorProvider-VZUU5OPZ.js} +1 -1
  4. package/dist/chunks/chunk-AOZEO73W.js +401 -0
  5. package/dist/chunks/{chunk-KJQS4BOV.js → chunk-MXWQOFM6.js} +1 -1
  6. package/dist/chunks/chunk-NYEB6V2R.js +1 -0
  7. package/dist/chunks/{chunk-QNBU3FGY.js → chunk-SQ62RGWV.js} +1 -1
  8. package/dist/chunks/chunk-UFEEFZ5M.js +1 -0
  9. package/dist/chunks/{fitment-data-KWJP5ZQB.js → fitment-data-MCGKHSA4.js} +1 -1
  10. package/dist/contract.js +10 -2
  11. package/dist/editor.css +1 -1
  12. package/dist/index.js +57 -62
  13. package/dist/render/app/globals.css +7 -4
  14. package/dist/render/built-with.json +1 -1
  15. package/dist/render/components/ContactRouting.d.ts +6 -0
  16. package/dist/render/components/ContactRouting.js +1 -1
  17. package/dist/render/components/GridCardTemplate.js +1 -1
  18. package/dist/render/components/ProductCard.js +1 -1
  19. package/dist/render/components/ProductHeroPanel.d.ts +3 -1
  20. package/dist/render/components/ProductHeroPanel.js +1 -1
  21. package/dist/render/components/WheelCardFrame.d.ts +3 -10
  22. package/dist/render/components/WheelCardFrame.js +1 -1
  23. package/dist/render/components/card-pieces/CardSurfaceFrame.d.ts +12 -0
  24. package/dist/render/components/card-pieces/CardSurfaceFrame.js +1 -0
  25. package/dist/render/components/card-pieces/card-row.js +1 -1
  26. package/dist/render/components/catalog/ShopperChips.d.ts +7 -4
  27. package/dist/render/components/catalog/ShopperChips.js +1 -1
  28. package/dist/render/components/catalog/ShopperFilters.d.ts +1 -0
  29. package/dist/render/components/catalog/ShopperFilters.js +1 -1
  30. package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
  31. package/dist/render/components/wheels-plp/PlpFacetRows.d.ts +6 -4
  32. package/dist/render/components/wheels-plp/PlpFacetRows.js +1 -1
  33. package/dist/render/components/wheels-plp/PlpSidebar.d.ts +19 -14
  34. package/dist/render/components/wheels-plp/PlpSidebar.js +1 -1
  35. package/dist/render/components/wheels-plp/PlpTypePicker.d.ts +2 -5
  36. package/dist/render/lib/api/index.d.ts +3 -1
  37. package/dist/render/lib/api/index.js +1 -1
  38. package/dist/render/lib/api/types.d.ts +28 -0
  39. package/dist/render/lib/content/contact-card-seed.js +1 -1
  40. package/dist/render/lib/content/facet-row-seed.d.ts +14 -0
  41. package/dist/render/lib/content/facet-row-seed.js +1 -1
  42. package/dist/render/lib/content/filter-card-seed.js +1 -1
  43. package/dist/render/lib/content/hero-option-seed.js +1 -1
  44. package/dist/render/lib/content/square-box.d.ts +4 -0
  45. package/dist/render/lib/content/square-box.js +1 -0
  46. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
  47. package/dist/render/lib/document/blocks/commerce/FilterBlock/meta.d.ts +4 -0
  48. package/dist/render/lib/document/blocks/commerce/FilterBlock/meta.js +1 -1
  49. package/dist/render/lib/document/blocks/commerce/FilterBlock/render.js +1 -1
  50. package/dist/render/lib/document/blocks/commerce/FilterChipsBlock/render.js +1 -1
  51. package/dist/render/lib/document/blocks/commerce/ProductHero/render.js +1 -1
  52. package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
  53. package/dist/render/lib/document/card-templates.js +1 -1
  54. package/dist/render/lib/document/section-to-box-rows-detail.js +1 -1
  55. package/dist/render/lib/document/section-to-box-rows-listing.js +1 -1
  56. package/dist/render/lib/document/section-to-box-rows-reviews.js +1 -1
  57. package/dist/render/lib/document/section-to-box-rows-service.js +1 -1
  58. package/dist/render/lib/document/section-to-box-rows-spec.js +1 -1
  59. package/dist/words.d.ts +10 -0
  60. package/dist/words.js +3 -3
  61. package/package.json +4 -4
  62. package/dist/chunks/chunk-KNUGQTUV.js +0 -1
  63. package/dist/chunks/chunk-YCB5WS3U.js +0 -1
  64. package/dist/chunks/chunk-Z2TVM6MN.js +0 -389
  65. package/dist/render/components/ProductCardChrome.d.ts +0 -38
  66. package/dist/render/components/ProductCardChrome.js +0 -1
  67. /package/dist/chunks/{chunk-Z2TVM6MN.js.LEGAL.txt → chunk-AOZEO73W.js.LEGAL.txt} +0 -0
@@ -1 +1 @@
1
- import{CARD_LIST_TYPE as E,CARD_ROW_FIELD_PROP as h,CARD_ROW_LINK_PROP as k,CARD_TEMPLATE_SLOT as y,registerCardTemplates as F}from"efficient-web-builder/format/lib/content/card-template";import{DIM as o,INNER_BOX as a,TEXT as s,boxPadding as d,fillSlot as H,labelLook as K,labelStyle as U,seedNodes as M,token as c}from"efficient-web-builder/format/lib/document/seed-parts";import{BOX_TYPE as i,CONTAINER_BLOCKS_SLOT as n}from"efficient-web-builder/format/lib/document/container-blocks";import{BOX_ROW_IMAGE_PROP as x}from"efficient-web-builder/format/lib/content/box-card-rule";import{POST_CARD_HEIGHT as V}from"efficient-web-builder/format/lib/post-card-layout";import{EVENTS_FEATURED_DARKEN as v,EVENTS_FEATURED_DARKEN_STYLE as L,EVENTS_FEATURED_PLACEMENT as G}from"../content/events-featured-look.js";import{SH_LINK as W}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{rowFieldTextSeed as l}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{withRelatedTabletColumns as _}from"../sections/product-grid-columns.js";import{bundleColumns as Y}from"../sections/bundle-to-grid.js";import{HERO_PRICE_BLOCK as X,withHeroPriceTemplate as $}from"../content/hero-price-seed.js";import{HERO_OPTION_FIELDS as g,HERO_OPTION_SLOT as j,HERO_OPTION_SLOT_LABEL as z,withHeroOptionTemplate as q}from"../content/hero-option-seed.js";import{FILTER_OPTIONS_FIELD as Q,withFilterChipsTemplate as Z,withFilterTemplate as J}from"../content/filter-card-seed.js";import{FACET_ROW_FIELDS as R,FACET_TEMPLATE_LABEL as ee,FACET_TEMPLATE_SLOT as te,withFacetTemplate as le}from"../content/facet-row-seed.js";import{MENU_LINK_BLOCK as oe,withMenuTemplate as ae}from"../content/menu-card-seed.js";import{CONTACT_CHANNEL_FIELDS as f,CONTACT_CHANNEL_SLOT as ie,CONTACT_REASON_FIELDS as ne,CONTACT_REASON_SLOT as re,CONTACT_TOPIC_FIELDS as S,CONTACT_TOPIC_SLOT as se,withContactTemplates as de}from"../content/contact-card-seed.js";import{ARTICLE_BODY_BLOCK as Te,withArticleBodyTemplate as Ee}from"../content/article-body-seed.js";import{APPOINTMENT_BOOKING_TYPE as ce,BOOKING_BOX_TYPE as _e,BOOKING_OPTION_FIELDS as pe,BOOKING_TEMPLATE_SLOTS as Oe,withBookingTemplates as be}from"../content/booking-card-seed.js";import{PRODUCT_BUY_BLOCK as me,PRODUCT_CARD_FIELDS as p,PRODUCT_COLOUR_BLOCK as Ce,PRODUCT_EYEBROW_BLOCK as Pe,PRODUCT_NAME_BLOCK as he,PRODUCT_PICTURE_BLOCK as ke,PRODUCT_PRICE_BLOCK as ye,PRODUCT_SIZE_BLOCK as Le,PRODUCT_SPECS_BLOCK as ge,productCardSeed as Re,withKitCardTemplate as O,withListingCardTemplate as fe,withProductCardTemplate as b}from"../content/product-card-seed.js";const u="tags",r=K(12),N={textStyle:"heading-3",...c("headingSmall",20),weight:500,lineHeight:1.2,letterSpacing:-.02},A={textStyle:"body-1",...c("body",14),lineHeight:1.55},Se={...N,...c("headingSmall",30)},ue={sectionPaddingTop:24,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:24,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},Ne=V.fallback,Ae=480,Ie=70,De=()=>({type:i,props:{...a,name:"Featured",[x]:"cover",darken:v,darkenStyle:L,darkenPhone:Ie,darkenStylePhone:L,placement:G,direction:"column",gap:8,gapPhone:8,...d(32,32,20,20),sectionHeightMode:"fixed",sectionHeightValue:Ne,sectionHeightUnit:"px",sectionHeightModePhone:"fixed",sectionHeightValuePhone:Ae,sectionHeightUnitPhone:"px",[k]:"href"},slots:{[n]:[l("meta",{...s,tag:"p"},r,!0),l("title",{...s,tag:"h3",widthFit:"fill"},Se),l("excerpt",{...o,tag:"p",widthFit:"fill",maxWidth:384},A),l("dateLabel",{...o,tag:"p"},{...r,color:"muted"})]}}),Be=()=>({type:i,props:{...a,name:"Post",gap:0,gapPhone:0,...d(0,0,0,0),...H("surface"),shadow:!0},slots:{[n]:[{type:"ImageBlock",props:{[h]:"cover",aspect:"16/10",contained:!1}},{type:i,props:{...a,name:"Words",gap:12,gapPhone:12,...ue},slots:{[n]:[{type:i,props:{...a,name:"Meta",direction:"row",wrap:!0,share:"content",sharePhone:"content",phoneRow:2,gap:12,gapPhone:12,...d(0,0,0,0)},slots:{[n]:[l("meta",{...s,tag:"p"},r,!0),l("dateLabel",{...o,tag:"p"},{...r,color:"muted"},!0)]}},l("title",{...s,tag:"h3",widthFit:"fill"},N),l("excerpt",{...o,tag:"p",widthFit:"fill"},A),{type:E,props:{[h]:u},slots:{template:[{type:i,props:{...a,name:"Chip",...d(4,8,4,8),sectionBorder:{width:1}},slots:{[n]:[l("label",{...o,tag:"p"},r)]}}]}},{type:"ButtonBlock",props:{variant:"ghost",label:"Read more",href:"",[k]:"href",...W,icon:"arrow-right",iconPosition:"after",_partStyles:{label:U(12)}}}]}}]}}),we=()=>[De(),Be()];function Fe(e){if(e.template!==void 0)return e;const t=typeof e.id=="string"&&e.id.trim()?e.id:"Events",B=["featured","post"];return{...e,template:M(we(),(xe,w)=>{const[m,...C]=w.split("."),P=B[Number(m)]??`card${m}`;return C.length?`${t}~${P}.${C.join(".")}`:`${t}~${P}`})}}const He={fields:[{key:"cover",label:"Cover",kind:"image",alt:"title"},{key:"meta",label:"Eyebrow"},{key:"dateLabel",label:"Date"},{key:"title",label:"Title"},{key:"excerpt",label:"Excerpt",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:u,label:"Tags",kind:"list",fields:[{key:"label",label:"Tag"}]}],blocks:[{type:E,label:"Card list"}],seedOnInsert:Fe},Ke=["showCardPrice","showCardFinishes","showCardSizes","showCardBuy","showCardPage"],Ue=e=>Object.fromEntries(Object.entries(e).filter(([t])=>!Ke.includes(t))),I={fields:[{key:"label",label:"Label"},{key:"href",label:"Link",kind:"link"}],blocks:[{type:oe,label:"Menu link"}],seed:ae},D=e=>e.dynamic===!0&&e.relationship==="bundles",nt=(e={})=>Re(e),T={fields:p,blocks:[{type:ke,label:"Picture"},{type:Pe,label:"Eyebrow"},{type:he,label:"Name"},{type:ge,label:"Specs"},{type:ye,label:"Price"},{type:Ce,label:"Colour"},{type:Le,label:"Size"},{type:me,label:"Buy"}],seed:e=>{if(e.dynamic!==!0)return b(e);const t=_(e);return D(e)?O(t):b(t)}},Me=[{block:"Reviews",fields:[{key:"quote",label:"Quote"},{key:"title",label:"Title"},{key:"name",label:"Name"},{key:"role",label:"Role · location"},{key:"rating",label:"Rating"},{key:"dateLabel",label:"Date"}],blocks:[{type:"RatingBlock",label:"Rating"}]},{block:"SpecTable",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]},{block:"DetailRows",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"}]},{block:"FooterMenu",...I},{block:"MenuBlock",...I},{block:"ProductGrid",...T},{block:"AlloyWheelsListing",...T,slots:[{slot:y,fields:p},{slot:te,label:ee,fields:R}],fields:[...p,...R],seed:e=>le(fe(e))},{block:"RelatedProducts",...T,seed:e=>{const t=_({...Ue(e),dynamic:!0});return D(t)?O(t):b(t,{legacyWellHonoured:!0})}},{block:"BundleOffer",...T,seed:e=>O(_({...e,columns:Y(e),dynamic:!0}))},{block:"ProductHero",slots:[{slot:y,fields:[]},{slot:j,label:z,fields:g}],fields:g,blocks:[{type:X,label:"Price"}],seed:e=>q($(e))},{block:"FilterBlock",fields:[{key:"label",label:"Filter name"},{key:Q,label:"Options",kind:"list",fields:[{key:"label",label:"Option"},{key:"count",label:"Count"}]}],blocks:[{type:E,label:"Card list"}],seed:J},{block:"FilterChipsBlock",fields:[{key:"label",label:"Pick"},{key:"mark",label:"Remove mark"}],seed:Z},{block:"ContactRouting",slots:[{slot:se,label:"Topic card",fields:S},{slot:re,label:"Reason chip",fields:ne},{slot:ie,label:"Channel row",fields:f}],fields:[...S,...f],seed:de},{block:Te,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:Ee},...[_e,ce].map(e=>({block:e,slots:Oe,fields:pe,seed:t=>be(e,t)})),{block:"Events",...He}];F(Me);export{Me as STOREFRONT_CARD_TEMPLATES,D as drawsKits,we as eventsCardSeeds,nt as productGridCardSeed,Fe as withEventsTemplate};
1
+ import{CARD_LIST_TYPE as c,CARD_ROW_FIELD_PROP as L,CARD_ROW_LINK_PROP as y,CARD_TEMPLATE_SLOT as _,registerCardTemplates as M}from"efficient-web-builder/format/lib/content/card-template";import{DIM as o,INNER_BOX as a,TEXT as r,boxPadding as d,fillSlot as x,labelLook as V,labelStyle as v,seedNodes as G,token as p}from"efficient-web-builder/format/lib/document/seed-parts";import{BOX_TYPE as i,CONTAINER_BLOCKS_SLOT as n}from"efficient-web-builder/format/lib/document/container-blocks";import{BOX_ROW_IMAGE_PROP as W}from"efficient-web-builder/format/lib/content/box-card-rule";import{POST_CARD_HEIGHT as Y}from"efficient-web-builder/format/lib/post-card-layout";import{EVENTS_FEATURED_DARKEN as X,EVENTS_FEATURED_DARKEN_STYLE as R,EVENTS_FEATURED_PLACEMENT as $}from"../content/events-featured-look.js";import{SH_LINK as j}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{rowFieldTextSeed as l}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{withRelatedTabletColumns as O}from"../sections/product-grid-columns.js";import{bundleColumns as z}from"../sections/bundle-to-grid.js";import{HERO_PRICE_BLOCK as q,withHeroPriceTemplate as Q}from"../content/hero-price-seed.js";import{HERO_OPTION_FIELDS as f,HERO_OPTION_SLOT as Z,HERO_OPTION_SLOT_LABEL as J,withHeroOptionTemplate as ee}from"../content/hero-option-seed.js";import{FILTER_OPTIONS_FIELD as te,withFilterChipsTemplate as le,withFilterTemplate as oe}from"../content/filter-card-seed.js";import{FACET_ROW_FIELDS as T,FACET_TEMPLATE_LABEL as g,FACET_TEMPLATE_SLOT as S,withFacetTemplate as u}from"../content/facet-row-seed.js";import{MENU_LINK_BLOCK as ae,withMenuTemplate as ie}from"../content/menu-card-seed.js";import{CONTACT_CHANNEL_FIELDS as N,CONTACT_CHANNEL_SLOT as ne,CONTACT_REASON_FIELDS as se,CONTACT_REASON_SLOT as re,CONTACT_TOPIC_FIELDS as A,CONTACT_TOPIC_SLOT as de,withContactTemplates as Te}from"../content/contact-card-seed.js";import{ARTICLE_BODY_BLOCK as Ee,withArticleBodyTemplate as ce}from"../content/article-body-seed.js";import{APPOINTMENT_BOOKING_TYPE as _e,BOOKING_BOX_TYPE as pe,BOOKING_OPTION_FIELDS as Oe,BOOKING_TEMPLATE_SLOTS as be,withBookingTemplates as me}from"../content/booking-card-seed.js";import{PRODUCT_BUY_BLOCK as Ce,PRODUCT_CARD_FIELDS as b,PRODUCT_COLOUR_BLOCK as Pe,PRODUCT_EYEBROW_BLOCK as he,PRODUCT_NAME_BLOCK as ke,PRODUCT_PICTURE_BLOCK as Le,PRODUCT_PRICE_BLOCK as ye,PRODUCT_SIZE_BLOCK as Re,PRODUCT_SPECS_BLOCK as fe,productCardSeed as ge,withKitCardTemplate as m,withListingCardTemplate as Se,withProductCardTemplate as C}from"../content/product-card-seed.js";const I="tags",s=V(12),D={textStyle:"heading-3",...p("headingSmall",20),weight:500,lineHeight:1.2,letterSpacing:-.02},B={textStyle:"body-1",...p("body",14),lineHeight:1.55},ue={...D,...p("headingSmall",30)},Ne={sectionPaddingTop:24,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:24,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},Ae=Y.fallback,Ie=480,De=70,Be=()=>({type:i,props:{...a,name:"Featured",[W]:"cover",darken:X,darkenStyle:R,darkenPhone:De,darkenStylePhone:R,placement:$,direction:"column",gap:8,gapPhone:8,...d(32,32,20,20),sectionHeightMode:"fixed",sectionHeightValue:Ae,sectionHeightUnit:"px",sectionHeightModePhone:"fixed",sectionHeightValuePhone:Ie,sectionHeightUnitPhone:"px",[y]:"href"},slots:{[n]:[l("meta",{...r,tag:"p"},s,!0),l("title",{...r,tag:"h3",widthFit:"fill"},ue),l("excerpt",{...o,tag:"p",widthFit:"fill",maxWidth:384},B),l("dateLabel",{...o,tag:"p"},{...s,color:"muted"})]}}),we=()=>({type:i,props:{...a,name:"Post",gap:0,gapPhone:0,...d(0,0,0,0),...x("surface"),shadow:!0},slots:{[n]:[{type:"ImageBlock",props:{[L]:"cover",aspect:"16/10",contained:!1}},{type:i,props:{...a,name:"Words",gap:12,gapPhone:12,...Ne},slots:{[n]:[{type:i,props:{...a,name:"Meta",direction:"row",wrap:!0,share:"content",sharePhone:"content",phoneRow:2,gap:12,gapPhone:12,...d(0,0,0,0)},slots:{[n]:[l("meta",{...r,tag:"p"},s,!0),l("dateLabel",{...o,tag:"p"},{...s,color:"muted"},!0)]}},l("title",{...r,tag:"h3",widthFit:"fill"},D),l("excerpt",{...o,tag:"p",widthFit:"fill"},B),{type:c,props:{[L]:I},slots:{template:[{type:i,props:{...a,name:"Chip",...d(4,8,4,8),sectionBorder:{width:1}},slots:{[n]:[l("label",{...o,tag:"p"},s)]}}]}},{type:"ButtonBlock",props:{variant:"ghost",label:"Read more",href:"",[y]:"href",...j,icon:"arrow-right",iconPosition:"after",_partStyles:{label:v(12)}}}]}}]}}),Fe=()=>[Be(),we()];function He(e){if(e.template!==void 0)return e;const t=typeof e.id=="string"&&e.id.trim()?e.id:"Events",K=["featured","post"];return{...e,template:G(Fe(),(Ve,U)=>{const[P,...h]=U.split("."),k=K[Number(P)]??`card${P}`;return h.length?`${t}~${k}.${h.join(".")}`:`${t}~${k}`})}}const Ke={fields:[{key:"cover",label:"Cover",kind:"image",alt:"title"},{key:"meta",label:"Eyebrow"},{key:"dateLabel",label:"Date"},{key:"title",label:"Title"},{key:"excerpt",label:"Excerpt",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:I,label:"Tags",kind:"list",fields:[{key:"label",label:"Tag"}]}],blocks:[{type:c,label:"Card list"}],seedOnInsert:He},Ue=["showCardPrice","showCardFinishes","showCardSizes","showCardBuy","showCardPage"],Me=e=>Object.fromEntries(Object.entries(e).filter(([t])=>!Ue.includes(t))),w={fields:[{key:"label",label:"Label"},{key:"href",label:"Link",kind:"link"}],blocks:[{type:ae,label:"Menu link"}],seed:ie},F=e=>e.dynamic===!0&&e.relationship==="bundles",st=(e={})=>ge(e),E={fields:b,blocks:[{type:Le,label:"Picture"},{type:he,label:"Eyebrow"},{type:ke,label:"Name"},{type:fe,label:"Specs"},{type:ye,label:"Price"},{type:Pe,label:"Colour"},{type:Re,label:"Size"},{type:Ce,label:"Buy"}],seed:e=>{if(e.dynamic!==!0)return C(e);const t=O(e);return F(e)?m(t):C(t)}},H=[{key:"label",label:"Filter name"},{key:te,label:"Options",kind:"list",fields:[{key:"label",label:"Option"},{key:"count",label:"Count"}]}],xe=[{block:"Reviews",fields:[{key:"quote",label:"Quote"},{key:"title",label:"Title"},{key:"name",label:"Name"},{key:"role",label:"Role · location"},{key:"rating",label:"Rating"},{key:"dateLabel",label:"Date"}],blocks:[{type:"RatingBlock",label:"Rating"}]},{block:"SpecTable",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]},{block:"DetailRows",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"}]},{block:"FooterMenu",...w},{block:"MenuBlock",...w},{block:"ProductGrid",...E},{block:"AlloyWheelsListing",...E,slots:[{slot:_,fields:b},{slot:S,label:g,fields:T}],fields:[...b,...T],seed:e=>u(Se(e))},{block:"RelatedProducts",...E,seed:e=>{const t=O({...Me(e),dynamic:!0});return F(t)?m(t):C(t,{legacyWellHonoured:!0})}},{block:"BundleOffer",...E,seed:e=>m(O({...e,columns:z(e),dynamic:!0}))},{block:"ProductHero",slots:[{slot:_,fields:[]},{slot:Z,label:J,fields:f}],fields:f,blocks:[{type:q,label:"Price"}],seed:e=>ee(Q(e))},{block:"FilterBlock",slots:[{slot:_,fields:H},{slot:S,label:g,fields:T}],fields:[...H,...T],blocks:[{type:c,label:"Card list"}],seed:e=>u(oe(e))},{block:"FilterChipsBlock",fields:[{key:"label",label:"Pick"},{key:"mark",label:"Remove mark"}],seed:le},{block:"ContactRouting",slots:[{slot:de,label:"Topic card",fields:A},{slot:re,label:"Reason chip",fields:se},{slot:ne,label:"Channel row",fields:N}],fields:[...A,...N],seed:Te},{block:Ee,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:ce},...[pe,_e].map(e=>({block:e,slots:be,fields:Oe,seed:t=>me(e,t)})),{block:"Events",...Ke}];M(xe);export{xe as STOREFRONT_CARD_TEMPLATES,F as drawsKits,Fe as eventsCardSeeds,st as productGridCardSeed,He as withEventsTemplate};
@@ -1 +1 @@
1
- import{SECTION_BOX_SLOT as o,SECTION_BOX_TYPE as i,registerSectionToBox as c}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as a,INNER_BOX as r,NO_PAD as d,SAME_KEYS as l,SECTION_BOX as m,TEXT as p}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{token as n}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{CARD_ROW_FIELD_PROP as g}from"efficient-web-builder/format/lib/content/card-template";import{rowFieldTextSeed as t}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";const s=e=>({textStyle:"body-5",...n("label",e),letterSpacing:.2,case:"upper"}),S=e=>({type:i,props:{...r,name:"Row",mirrorCards:e?"odd":"even",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[o]:[{type:i,props:{...r,name:"Words",direction:"column",gap:16},slots:{[o]:[t("eyebrow",p,{...s(13),color:"accent"}),t("title",p,{textStyle:"heading-2",...n("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),t("copy",a,{textStyle:"body-1",...n("body",15),lineHeight:1.6})]}},{type:i,props:{...r,name:"Picture",direction:"column",gap:12},slots:{[o]:[{type:"ImageBlock",props:{[g]:"image",aspect:"1/1",fit:"contain"}},t("tag",{...a,align:"right"},{...s(11),align:"right"})]}}]}}),y={name:"Feature Rows",boxProps:{...m,...d,direction:"column",gap:0},box:l,parts:[{kind:"core",keep:"rest",slots:e=>({template:[S(e.startLeft===!0)]})}]};c({DetailRows:y});export{S as detailRowSeed};
1
+ import{SECTION_BOX_SLOT as t,SECTION_BOX_TYPE as i,registerSectionToBox as d}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as n,INNER_BOX as r,NO_PAD as l,SAME_KEYS as m,SECTION_BOX as c,TEXT as a}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{token as p}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{labelStyle as s}from"efficient-web-builder/format/lib/document/seed-parts";import{CARD_ROW_FIELD_PROP as g}from"efficient-web-builder/format/lib/content/card-template";import{rowFieldTextSeed as e}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";const S=o=>({type:i,props:{...r,name:"Row",mirrorCards:o?"odd":"even",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[t]:[{type:i,props:{...r,name:"Words",direction:"column",gap:16},slots:{[t]:[e("eyebrow",a,{...s(13),color:"accent"}),e("title",a,{textStyle:"heading-2",...p("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),e("copy",n,{textStyle:"body-1",...p("body",15),lineHeight:1.6})]}},{type:i,props:{...r,name:"Picture",direction:"column",gap:12},slots:{[t]:[{type:"ImageBlock",props:{[g]:"image",aspect:"1/1",fit:"contain"}},e("tag",{...n,align:"right"},{...s(11),align:"right"})]}}]}}),P={name:"Feature Rows",boxProps:{...c,...l,direction:"column",gap:0},box:m,parts:[{kind:"core",keep:"rest",slots:o=>({template:[S(o.startLeft===!0)]})}]};d({DetailRows:P});export{S as detailRowSeed};
@@ -1 +1 @@
1
- import{registerSectionToBox as m}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as h,DROP_COMMON as l,DROP_SIDE_PADDING as g,FOLLOW_THE_BOX as O,INNER_BOX as E,SAME_KEYS as T,SECTION_BOX as _,TEXT as n,wrapperPad as y,wrapperPadKeys as L}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{token as S}from"efficient-web-builder/format/lib/document/seed-parts";import{fluidToken as c}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{PAGE_TITLE_LEVEL_PROP as r}from"efficient-web-builder/format/lib/document/one-h1";import{CARD_TEMPLATE_SLOT as P,templateOnInsert as k,templateOnRead as I}from"efficient-web-builder/format/lib/content/card-template";import{FACET_TEMPLATE_SLOT as b}from"../content/facet-row-seed.js";import"./card-templates.js";const p={top:40,bottom:40,topPhone:40,bottomPhone:40},i=e=>e[r]===2,s={textStyle:"heading-1",...c("headingMedium",28,4,40),lineHeight:1.05,letterSpacing:-.02},A=["heading","intro"],a=[P,b];function f(e,t){const d=(t?k:I)("AlloyWheelsListing",e);return Object.fromEntries(a.map(o=>[o,d[o]]))}const x=()=>({name:"List",boxProps:e=>({..._,direction:"column",gap:24,gapPhone:24,...y(e,p)}),box:[...T,...L(p)],parts:[{kind:"group",name:"Heading",props:{...E,gap:8,gapPhone:8},parts:[{kind:"text",key:"heading",role:"heading",props:{...n,tag:"h1"},style:s,when:e=>!i(e)},{kind:"text",key:"heading",role:"heading",props:{...n,tag:"h2"},style:s,when:i},{kind:"text",key:"intro",role:"body",props:h,style:{textStyle:"body-1",...S("body",15)}}]},{kind:"core",keep:"rest",props:O,derive:{reads:[...a],props:(e,t)=>f(e,t.press===!0)}}],pressKeepsEmpty:A,drop:{...l,...g,[r]:"read by the heading part's `when`: 2 (set by lib/document/one-h1 on a later opener) makes the Text an h2, anything else an h1"}});m({AlloyWheelsListing:x()});export{A as LISTING_HEAD_ROWS};
1
+ import{registerSectionToBox as d}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as m,DROP_COMMON as h,DROP_SIDE_PADDING as l,FOLLOW_THE_BOX as g,INNER_BOX as O,SAME_KEYS as E,SECTION_BOX as T,TEXT as n,wrapperPad as _,wrapperPadKeys as y}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{token as L}from"efficient-web-builder/format/lib/document/seed-parts";import{fluidToken as S}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{PAGE_TITLE_LEVEL_PROP as P,pageTitleDemoted as r}from"efficient-web-builder/format/lib/document/one-h1";import{CARD_TEMPLATE_SLOT as c,templateOnInsert as k,templateOnRead as I}from"efficient-web-builder/format/lib/content/card-template";import{FACET_TEMPLATE_SLOT as b}from"../content/facet-row-seed.js";import"./card-templates.js";const p={top:40,bottom:40,topPhone:40,bottomPhone:40},i={textStyle:"heading-1",...S("headingMedium",28,4,40),lineHeight:1.05,letterSpacing:-.02},A=["heading","intro"],s=[c,b];function f(e,t){const a=(t?k:I)("AlloyWheelsListing",e);return Object.fromEntries(s.map(o=>[o,a[o]]))}const x=()=>({name:"List",boxProps:e=>({...T,direction:"column",gap:24,gapPhone:24,..._(e,p)}),box:[...E,...y(p)],parts:[{kind:"group",name:"Heading",props:{...O,gap:8,gapPhone:8},parts:[{kind:"text",key:"heading",role:"heading",props:{...n,tag:"h1"},style:i,when:e=>!r(e)},{kind:"text",key:"heading",role:"heading",props:{...n,tag:"h2"},style:i,when:r},{kind:"text",key:"intro",role:"body",props:m,style:{textStyle:"body-1",...L("body",15)}}]},{kind:"core",keep:"rest",props:g,derive:{reads:[...s],props:(e,t)=>f(e,t.press===!0)}}],pressKeepsEmpty:A,drop:{...h,...l,[P]:"read by the heading part's `when`: 2 (set by lib/document/one-h1 on a later opener) makes the Text an h2, anything else an h1"}});d({AlloyWheelsListing:x()});export{A as LISTING_HEAD_ROWS};
@@ -1 +1 @@
1
- import{SECTION_BOX_SLOT as i,SECTION_BOX_TYPE as n,headParts as d,registerSectionToBox as l}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as s,DROP_COMMON as c,DROP_SIDE_PADDING as m,INNER_BOX as t,SAME_KEYS as g,SECTION_BOX as h,TEXT as e,headingCaseOf as P,wrapperPad as T,wrapperPadKeys as O}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{rowFieldTextSeed as o}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{FRAME_OWN_BOX as S}from"../../components/Reviews.js";import{bandRoomBelow as b}from"../sections/section-band.js";const a=b(S),y={top:84,bottom:a.bottom,topPhone:84,bottomPhone:a.bottomPhone},r=y,[x,_]=d("Testimonials"),w={type:n,props:{...t,name:"Card",gap:20,sectionPaddingTop:36,sectionPaddingBottom:36,sectionPaddingLeft:36,sectionPaddingRight:36,sectionPaddingTopPhone:28,sectionPaddingBottomPhone:28,sectionPaddingLeftPhone:28,sectionPaddingRightPhone:28,sectionAccent:0},slots:{[i]:[{type:"Text",props:{...e,text:"“",_partStyles:{text:{textStyle:"heading-2",color:"accent",lineHeight:1}}}},o("quote",s,{size:16,lineHeight:1.6}),{type:n,props:{...t,name:"Name",gap:4,sectionPaddingTop:20,sectionBorder:{top:1}},slots:{[i]:[o("name",e,{textStyle:"body-5",weight:500,case:"upper",letterSpacing:.04}),o("role",s,{textStyle:"body-5"})]}}]}},E={name:"Testimonials",boxProps:p=>({...h,direction:"column",gap:44,sectionBorder:{top:1},...T(p,r)}),box:[...g,...O(r)],parts:[{kind:"group",name:"Heading",props:{...t,gap:16},parts:[{...x,props:e},{..._,props:e,style:{textStyle:"heading-2",lineHeight:1,letterSpacing:-.02}}]},{kind:"core",as:"Reviews",keep:["items","columns"],slots:{template:[w]}}],site:P("title"),drop:{...c,...m,eyebrowLook:"the eyebrow Text wears the plain eyebrow's start look (Testimonials' default); a stored `filled` look needs a filled Text look",headPlacement:"the head is the Text blocks above the Reviews block, which is always own-box here"}};l({Testimonials:E});export{y as REVIEWS_BAND_OWN};
1
+ import{SECTION_BOX_SLOT as i,SECTION_BOX_TYPE as n,headParts as d,registerSectionToBox as l}from"efficient-web-builder/render/lib/sections/section-to-box";import{DIM as s,DROP_COMMON as c,DROP_SIDE_PADDING as m,INNER_BOX as o,SAME_KEYS as g,SECTION_BOX as h,TEXT as e,headingCaseOf as P,wrapperPad as T,wrapperPadKeys as O}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{rowFieldTextSeed as t}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{LABEL_FACE as S}from"efficient-web-builder/format/lib/document/seed-parts";import{FRAME_OWN_BOX as _}from"../../components/Reviews.js";import{bandRoomBelow as b}from"../sections/section-band.js";const a=b(_),E={top:84,bottom:a.bottom,topPhone:84,bottomPhone:a.bottomPhone},r=E,[w,x]=d("Testimonials"),y={type:n,props:{...o,name:"Card",gap:20,sectionPaddingTop:36,sectionPaddingBottom:36,sectionPaddingLeft:36,sectionPaddingRight:36,sectionPaddingTopPhone:28,sectionPaddingBottomPhone:28,sectionPaddingLeftPhone:28,sectionPaddingRightPhone:28,sectionAccent:0},slots:{[i]:[{type:"Text",props:{...e,text:"“",_partStyles:{text:{textStyle:"heading-2",color:"accent",lineHeight:1}}}},t("quote",s,{size:16,lineHeight:1.6}),{type:n,props:{...o,name:"Name",gap:4,sectionPaddingTop:20,sectionBorder:{top:1}},slots:{[i]:[t("name",e,{...S,weight:500,letterSpacing:.04}),t("role",s,{textStyle:"body-5"})]}}]}},B={name:"Testimonials",boxProps:p=>({...h,direction:"column",gap:44,sectionBorder:{top:1},...T(p,r)}),box:[...g,...O(r)],parts:[{kind:"group",name:"Heading",props:{...o,gap:16},parts:[{...w,props:e},{...x,props:e,style:{textStyle:"heading-2",lineHeight:1,letterSpacing:-.02}}]},{kind:"core",as:"Reviews",keep:["items","columns"],slots:{template:[y]}}],site:P("title"),drop:{...c,...m,eyebrowLook:"the eyebrow Text wears the plain eyebrow's start look (Testimonials' default); a stored `filled` look needs a filled Text look",headPlacement:"the head is the Text blocks above the Reviews block, which is always own-box here"}};l({Testimonials:B});export{E as REVIEWS_BAND_OWN};
@@ -1 +1 @@
1
- import{SECTION_BOX_SLOT as O,SECTION_BOX_TYPE as f,headParts as _,registerSectionToBox as v}from"efficient-web-builder/render/lib/sections/section-to-box";import{BUTTON as C,DIM as i,DROP_COMMON as a,DROP_SIDE_PADDING as s,FOLLOW_THE_BOX as H,INNER_BOX as c,SAME_KEYS as E,SECTION_BOX as h,SH_LINK as W,TEXT as n,bandPage as I,smallText as m,surfaceAccent as y,wrapperPad as b,wrapperPadKeys as R}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{boxPadding as D,token as o}from"efficient-web-builder/format/lib/document/seed-parts";import{CARD_ROW_FIELD_PROP as F}from"efficient-web-builder/format/lib/content/card-template";import{phoneKey as w}from"efficient-easel/draw";import{REVIEWS_BAND_OWN as K}from"./section-to-box-rows-reviews.js";import{rowFieldTextSeed as p}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";const l=e=>[...E.filter(t=>t!=="sectionAccent"),["sectionAccent","sectionAccent",(t,r,d)=>y(t,d)],...R(e)],x=(e,t,r)=>(d,N)=>({...h,sectionAccent:y(d.sectionAccent??0,N),direction:"column",gap:t,gapPhone:r,sectionBorder:{top:1},...b(d,e)}),P=(e,t,r)=>({kind:"text",key:e,role:"heading",props:n,style:{textStyle:"heading-2",...o("headingMedium",44,32),weight:500,case:"upper",lineHeight:t,letterSpacing:r}}),u=(e,t,r={})=>({kind:"group",name:"Heading",props:{...c,gap:e,gapPhone:e,...r},parts:t}),k=(e={})=>({kind:"core",keep:"rest",props:H,...e}),g=K,[L]=_("ReviewForm"),M=()=>({name:"Review Form",boxProps:x(g,48,32),box:l(g),parts:[u(16,[{...L,props:n},P("title",1,-.02)]),k()],pressKeepsEmpty:["eyebrow","title"],drop:{...a,...s,headPlacement:"the head is the Text blocks above the form, which is always own-box here"}}),[X]=_("Reviews"),T=e=>({textStyle:"body-5",...o("label",12),case:"upper",letterSpacing:e}),G={type:f,props:{...c,name:"Card",gap:16,...D(40,40,32,32),sectionAccent:0},slots:{[O]:[{type:"RatingBlock",props:{[F]:"rating"}},p("title",n,{textStyle:"heading-1",...o("body",19),weight:500,case:"upper",lineHeight:1.2,letterSpacing:-.01}),p("quote",i,{textStyle:"body-1",...o("body",15),lineHeight:1.65}),{type:f,props:{...c,name:"Byline",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[w("share")]:"content",gap:16,sectionPaddingTop:20,sectionPaddingTopPhone:20,sectionBorder:{top:1}},slots:{[O]:[p("name",n,T(.22)),p("dateLabel",{...i,align:"right"},{...T(.18),align:"right"}),p("role",{...i,align:"right"},{...T(.18),align:"right"})]}}]}},V=()=>({name:"Reviews",boxProps:x(g,48,32),box:l(g),parts:[u(16,[{...X,props:n},P("title",1,-.02)]),k({slots:{template:[G]}})],pressKeepsEmpty:["eyebrow","title"],drop:{...a,...s,eyebrowLook:"the eyebrow Text wears the plain eyebrow's start look (Reviews' default); a stored `filled` look needs a filled Text look",headPlacement:"the head is the Text blocks above the reviews, which are always own-box here"}}),S={top:88,bottom:88,topTablet:88,bottomTablet:88,topPhone:64,bottomPhone:64},j=()=>({name:"Booking Form",boxProps:x(S,40,40),box:l(S),parts:[u(16,[m("eyebrow",{...o("label",12),weight:600,letterSpacing:.24,color:"accent"}),P("heading",.98,-.025),{kind:"text",key:"intro",props:{...i,maxWidth:660},style:{textStyle:"heading-1",...o("body",17),weight:400,case:"none",lineHeight:1.65,color:"muted"}}],{maxWidth:760}),k()],pressKeepsEmpty:["eyebrow","heading","intro"],drop:{...a,...s}}),B={top:88,bottom:88,topPhone:64,bottomPhone:64},Y=()=>({name:"Ready-to-Order Banner",boxProps:e=>({...h,direction:"column",align:"center",gap:20,gapPhone:20,...b(e,B)}),box:[...E,...R(B)],parts:[{...m("eyebrow"),props:{...n,align:"center"}},{kind:"text",key:"title",role:"heading",props:{...n,align:"center",maxWidth:720},style:{textStyle:"heading-1",...o("headingMedium",44,30),weight:500,case:"none",lineHeight:1.05,letterSpacing:-.03,align:"center"}},{kind:"text",key:"body",props:{...n,align:"center",maxWidth:560},style:{textStyle:"body-1",...o("body",16),lineHeight:1.6,align:"center"}},{kind:"group",name:"Buttons",props:{...c,direction:"row",align:"center",justify:"center",share:"content",phoneRow:2,[w("share")]:"content",gap:24,gapPhone:24,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>({...C,align:"center",href:typeof e.ctaHref=="string"&&e.ctaHref?e.ctaHref:"/checkout"})},{kind:"button",key:"secondaryText",href:"secondaryHref",variant:"ghost",props:{...W,align:"center",icon:"none"},style:{...o("label",13),case:"upper",letterSpacing:.2,color:"muted"}}]}],pressKeepsEmpty:["eyebrow","title","body"],drop:{...a,...s}}),A={top:60,bottom:0,topPhone:60,bottomPhone:0},q=()=>({name:"Contact Form",boxProps:(e,t)=>({...h,sectionAccent:y(e.sectionAccent??0,t),direction:"column",gap:0,gapPhone:0,...b(e,A)}),box:l(A),parts:[{kind:"group",name:"Header",props:{...c,direction:"row",align:"center",share:"content",phoneRow:2,[w("share")]:"content",gap:24,gapPhone:24,sectionPaddingBottom:24,sectionPaddingBottomPhone:24,sectionBorder:{bottom:1}},parts:[m("routingNumber"),{kind:"text",key:"routingTagline",props:i,style:{textStyle:"heading-1",...o("body",14),weight:400,case:"upper",letterSpacing:.04,color:"muted"}}]},{kind:"core",keep:"rest",derive:{reads:["sectionAccent"],props:(e,t)=>({sectionAccent:I(e.sectionAccent??0,t)})}}],drop:{...a,...s}});v({ContactRouting:q(),ReviewForm:M(),AppointmentBooking:j(),Reviews:V(),CheckoutCTA:Y()});
1
+ import{SECTION_BOX_SLOT as O,SECTION_BOX_TYPE as f,headParts as _,registerSectionToBox as v}from"efficient-web-builder/render/lib/sections/section-to-box";import{BUTTON as C,DIM as i,DROP_COMMON as a,DROP_SIDE_PADDING as s,FOLLOW_THE_BOX as H,INNER_BOX as c,SAME_KEYS as E,SECTION_BOX as h,SH_LINK as W,TEXT as n,bandPage as I,smallText as m,surfaceAccent as y,wrapperPad as b,wrapperPadKeys as R}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{boxPadding as D,labelStyle as F,token as o}from"efficient-web-builder/format/lib/document/seed-parts";import{CARD_ROW_FIELD_PROP as K}from"efficient-web-builder/format/lib/content/card-template";import{phoneKey as w}from"efficient-easel/draw";import{REVIEWS_BAND_OWN as L}from"./section-to-box-rows-reviews.js";import{rowFieldTextSeed as p}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";const l=e=>[...E.filter(t=>t!=="sectionAccent"),["sectionAccent","sectionAccent",(t,r,d)=>y(t,d)],...R(e)],x=(e,t,r)=>(d,N)=>({...h,sectionAccent:y(d.sectionAccent??0,N),direction:"column",gap:t,gapPhone:r,sectionBorder:{top:1},...b(d,e)}),P=(e,t,r)=>({kind:"text",key:e,role:"heading",props:n,style:{textStyle:"heading-2",...o("headingMedium",44,32),weight:500,case:"upper",lineHeight:t,letterSpacing:r}}),k=(e,t,r={})=>({kind:"group",name:"Heading",props:{...c,gap:e,gapPhone:e,...r},parts:t}),u=(e={})=>({kind:"core",keep:"rest",props:H,...e}),g=L,[M]=_("ReviewForm"),X=()=>({name:"Review Form",boxProps:x(g,48,32),box:l(g),parts:[k(16,[{...M,props:n},P("title",1,-.02)]),u()],pressKeepsEmpty:["eyebrow","title"],drop:{...a,...s,headPlacement:"the head is the Text blocks above the form, which is always own-box here"}}),[G]=_("Reviews"),T=e=>({...F(12),letterSpacing:e}),V={type:f,props:{...c,name:"Card",gap:16,...D(40,40,32,32),sectionAccent:0},slots:{[O]:[{type:"RatingBlock",props:{[K]:"rating"}},p("title",n,{textStyle:"heading-1",...o("body",19),weight:500,case:"upper",lineHeight:1.2,letterSpacing:-.01}),p("quote",i,{textStyle:"body-1",...o("body",15),lineHeight:1.65}),{type:f,props:{...c,name:"Byline",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[w("share")]:"content",gap:16,sectionPaddingTop:20,sectionPaddingTopPhone:20,sectionBorder:{top:1}},slots:{[O]:[p("name",n,T(.22)),p("dateLabel",{...i,align:"right"},{...T(.18),align:"right"}),p("role",{...i,align:"right"},{...T(.18),align:"right"})]}}]}},j=()=>({name:"Reviews",boxProps:x(g,48,32),box:l(g),parts:[k(16,[{...G,props:n},P("title",1,-.02)]),u({slots:{template:[V]}})],pressKeepsEmpty:["eyebrow","title"],drop:{...a,...s,eyebrowLook:"the eyebrow Text wears the plain eyebrow's start look (Reviews' default); a stored `filled` look needs a filled Text look",headPlacement:"the head is the Text blocks above the reviews, which are always own-box here"}}),S={top:88,bottom:88,topTablet:88,bottomTablet:88,topPhone:64,bottomPhone:64},Y=()=>({name:"Booking Form",boxProps:x(S,40,40),box:l(S),parts:[k(16,[m("eyebrow",{...o("label",12),weight:600,letterSpacing:.24,color:"accent"}),P("heading",.98,-.025),{kind:"text",key:"intro",props:{...i,maxWidth:660},style:{textStyle:"heading-1",...o("body",17),weight:400,case:"none",lineHeight:1.65,color:"muted"}}],{maxWidth:760}),u()],pressKeepsEmpty:["eyebrow","heading","intro"],drop:{...a,...s}}),B={top:88,bottom:88,topPhone:64,bottomPhone:64},q=()=>({name:"Ready-to-Order Banner",boxProps:e=>({...h,direction:"column",align:"center",gap:20,gapPhone:20,...b(e,B)}),box:[...E,...R(B)],parts:[{...m("eyebrow"),props:{...n,align:"center"}},{kind:"text",key:"title",role:"heading",props:{...n,align:"center",maxWidth:720},style:{textStyle:"heading-1",...o("headingMedium",44,30),weight:500,case:"none",lineHeight:1.05,letterSpacing:-.03,align:"center"}},{kind:"text",key:"body",props:{...n,align:"center",maxWidth:560},style:{textStyle:"body-1",...o("body",16),lineHeight:1.6,align:"center"}},{kind:"group",name:"Buttons",props:{...c,direction:"row",align:"center",justify:"center",share:"content",phoneRow:2,[w("share")]:"content",gap:24,gapPhone:24,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>({...C,align:"center",href:typeof e.ctaHref=="string"&&e.ctaHref?e.ctaHref:"/checkout"})},{kind:"button",key:"secondaryText",href:"secondaryHref",variant:"ghost",props:{...W,align:"center",icon:"none"},style:{...o("label",13),case:"upper",letterSpacing:.2,color:"muted"}}]}],pressKeepsEmpty:["eyebrow","title","body"],drop:{...a,...s}}),A={top:60,bottom:0,topPhone:60,bottomPhone:0},U=()=>({name:"Contact Form",boxProps:(e,t)=>({...h,sectionAccent:y(e.sectionAccent??0,t),direction:"column",gap:0,gapPhone:0,...b(e,A)}),box:l(A),parts:[{kind:"group",name:"Header",props:{...c,direction:"row",align:"center",share:"content",phoneRow:2,[w("share")]:"content",gap:24,gapPhone:24,sectionPaddingBottom:24,sectionPaddingBottomPhone:24,sectionBorder:{bottom:1}},parts:[m("routingNumber"),{kind:"text",key:"routingTagline",props:i,style:{textStyle:"heading-1",...o("body",14),weight:400,case:"upper",letterSpacing:.04,color:"muted"}}]},{kind:"core",keep:"rest",derive:{reads:["sectionAccent"],props:(e,t)=>({sectionAccent:I(e.sectionAccent??0,t)})}}],drop:{...a,...s}});v({ContactRouting:U(),ReviewForm:X(),AppointmentBooking:Y(),Reviews:j(),CheckoutCTA:q()});
@@ -1 +1 @@
1
- import{SECTION_BOX_SLOT as p,SECTION_BOX_TYPE as a,registerSectionToBox as m}from"efficient-web-builder/render/lib/sections/section-to-box";import{headOnlyRow as l}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-rows-head";import{DIM as c,INNER_BOX as d,TEXT as P,lineSides as g}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{bandRoomBelow as B}from"../sections/section-band.js";import{SPEC_TABLE_BAND as b}from"../sections/spec-table-band.js";import{token as E}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{rowFieldTextSeed as e}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{phoneKey as n}from"efficient-easel/draw";const i={textStyle:"body-5",...E("label",14),letterSpacing:.05,lineHeight:1.5},S={type:a,props:{...d,name:"Row",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[n("share")]:"content",[n("wrap")]:!1,gap:24,sectionPaddingTop:16,sectionPaddingBottom:16,sectionPaddingTopPhone:16,sectionPaddingBottomPhone:16},slots:{[p]:[e("label",c,{...i,case:"upper"}),e("value",{...P,align:"right"},{...i,align:"right"})]}},o=l("SpecTable",{slots:{template:[S]}}),t=B(b.ownBox),T={...o,boxProps:(r,s)=>({...typeof o.boxProps=="function"?o.boxProps(r,s):o.boxProps,sectionPaddingBottom:t.bottom,sectionPaddingBottomPhone:t.bottomPhone,...t.line?{sectionBorder:g({bottom:1})}:{}})};m({SpecTable:T});
1
+ import{SECTION_BOX_SLOT as m,SECTION_BOX_TYPE as p,registerSectionToBox as s}from"efficient-web-builder/render/lib/sections/section-to-box";import{headOnlyRow as a}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-rows-head";import{DIM as l,INNER_BOX as c,TEXT as d,lineSides as g}from"efficient-web-builder/render/lib/document/blocks/general/section-to-box-row-parts";import{bandRoomBelow as P}from"../sections/section-band.js";import{SPEC_TABLE_BAND as S}from"../sections/spec-table-band.js";import{token as b}from"efficient-web-builder/render/lib/document/blocks/general/section-head-looks";import{labelStyle as B}from"efficient-web-builder/format/lib/document/seed-parts";import{rowFieldTextSeed as e}from"efficient-web-builder/format/lib/document/blocks/general/Cards/card-seed";import{phoneKey as n}from"efficient-easel/draw";const E={textStyle:"body-5",...b("label",14),letterSpacing:.05,lineHeight:1.5},T={type:p,props:{...c,name:"Row",direction:"row",justify:"between",align:"start",share:"content",phoneRow:2,[n("share")]:"content",[n("wrap")]:!1,gap:24,sectionPaddingTop:16,sectionPaddingBottom:16,sectionPaddingTopPhone:16,sectionPaddingBottomPhone:16},slots:{[m]:[e("label",l,{...B(14),letterSpacing:.05,lineHeight:1.5}),e("value",{...d,align:"right"},{...E,align:"right"})]}},o=a("SpecTable",{slots:{template:[T]}}),t=P(S.ownBox),f={...o,boxProps:(i,r)=>({...typeof o.boxProps=="function"?o.boxProps(i,r):o.boxProps,sectionPaddingBottom:t.bottom,sectionPaddingBottomPhone:t.bottomPhone,...t.line?{sectionBorder:g({bottom:1})}:{}})};s({SpecTable:f});
package/dist/words.d.ts CHANGED
@@ -91,6 +91,7 @@ export type WebBuilderPhrase =
91
91
  | "A spec sheet — labeled rows of product specifications."
92
92
  | "A standalone image, at the width you set."
93
93
  | "A sticky row of category tabs with counts and links."
94
+ | "A sticky tab bar that marks the page you are on."
94
95
  | "A sticky tab bar to switch between documents."
95
96
  | "A template is a blueprint — it has no website of its own, so there is nothing here to change."
96
97
  | "A theme-color chip and heading over a grid of short feature labels."
@@ -308,6 +309,7 @@ export type WebBuilderPhrase =
308
309
  | "City maps"
309
310
  | "City pictures"
310
311
  | "City strip"
312
+ | "City · state · postcode"
311
313
  | "Claims bars"
312
314
  | "Claims panel"
313
315
  | "Claims panel (rows + defect bars)"
@@ -382,6 +384,7 @@ export type WebBuilderPhrase =
382
384
  | "Dashed"
383
385
  | "Data points"
384
386
  | "Date"
387
+ | "Dealer name"
385
388
  | "Dealers"
386
389
  | "Dealers are not available on this website"
387
390
  | "Deck / standfirst"
@@ -798,6 +801,7 @@ export type WebBuilderPhrase =
798
801
  | "Name / alt"
799
802
  | "Name this version"
800
803
  | "Named versions are always kept. Leave it empty to take the name away."
804
+ | "Narrows below"
801
805
  | "Natural"
802
806
  | "Navigation & wayfinding"
803
807
  | "Never published"
@@ -843,6 +847,7 @@ export type WebBuilderPhrase =
843
847
  | "Odd cards"
844
848
  | "Off"
845
849
  | "Office"
850
+ | "Office content"
846
851
  | "Offices"
847
852
  | "Offset tall"
848
853
  | "On 1 page"
@@ -909,6 +914,7 @@ export type WebBuilderPhrase =
909
914
  | "Payment content"
910
915
  | "Payment methods"
911
916
  | "Phone"
917
+ | "Phone link"
912
918
  | "Photo Submission Form"
913
919
  | "Photo behind the words"
914
920
  | "Photography"
@@ -1201,6 +1207,7 @@ export type WebBuilderPhrase =
1201
1207
  | "Synced from the site menu."
1202
1208
  | "Syncing from {place}…"
1203
1209
  | "Tab"
1210
+ | "Tab Bar"
1204
1211
  | "Tab label"
1205
1212
  | "Tab name"
1206
1213
  | "Tab shape"
@@ -1343,6 +1350,7 @@ export type WebBuilderPhrase =
1343
1350
  | "Under the header"
1344
1351
  | "Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header."
1345
1352
  | "Under this screen width the blocks stand one under another, with the Phone Gap and Padding."
1353
+ | "Under this screen width the side space narrows and the Phone Padding is used."
1346
1354
  | "Undo"
1347
1355
  | "Undo did not work. Nothing changed. Try again."
1348
1356
  | "Ungrouped"
@@ -1380,6 +1388,8 @@ export type WebBuilderPhrase =
1380
1388
  | "Ways to pay"
1381
1389
  | "We accept"
1382
1390
  | "WeChat"
1391
+ | "Website"
1392
+ | "Website link"
1383
1393
  | "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture."
1384
1394
  | "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture."
1385
1395
  | "What people *say.*"