efficient-web-builder 53.0.0 → 55.0.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 +38 -0
- package/dist/editor/components/BlockGapField.js +1 -1
- package/dist/editor/components/CornersField.js +1 -1
- package/dist/editor/components/DuplicateToPageMenu.d.ts +2 -0
- package/dist/editor/components/DuplicateToPageMenu.js +1 -1
- package/dist/editor/components/SectionWidthRows.d.ts +2 -1
- package/dist/editor/components/SectionWidthRows.js +1 -1
- package/dist/editor/components/SideSpaceField.js +1 -1
- package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
- package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Eyebrow/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Hero/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/HeroSingle/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/LogoBlock/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Split/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/TitleWithButtons/fields.js +1 -1
- package/dist/editor/lib/document/blocks/hero-shared-fields.d.ts +29 -2
- package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
- package/dist/editor/lib/document/blocks/shared-fields.d.ts +1 -5
- package/dist/editor/lib/document/blocks/shared-fields.js +1 -1
- package/dist/editor/lib/document/box-accordion-seed.d.ts +3 -0
- package/dist/editor/lib/document/box-accordion-seed.js +1 -0
- package/dist/editor/lib/document/box-fields.d.ts +11 -0
- package/dist/editor/lib/document/box-fields.js +1 -1
- package/dist/editor/lib/document/box-phone-order-field.d.ts +8 -0
- package/dist/editor/lib/document/box-phone-order-field.js +1 -0
- package/dist/editor/lib/document/controls.d.ts +3 -1
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/mirror-cards-field.d.ts +1 -0
- package/dist/editor/lib/document/mirror-cards-field.js +1 -1
- package/dist/editor/lib/document/passes/inspector.js +1 -1
- package/dist/editor/lib/document/section-own-width-fields.d.ts +4 -0
- package/dist/editor/lib/document/section-own-width-fields.js +1 -0
- package/dist/editor/lib/document/shape-picker.d.ts +8 -0
- package/dist/editor/lib/document/shape-picker.js +1 -1
- package/dist/format/lib/content/block-align.d.ts +4 -1
- package/dist/format/lib/content/block-align.js +1 -1
- package/dist/format/lib/content/box-layout.d.ts +5 -0
- package/dist/format/lib/content/box-layout.js +1 -1
- package/dist/format/lib/content/box-phone-place.d.ts +11 -0
- package/dist/format/lib/content/box-phone-place.js +1 -0
- package/dist/format/lib/content/box-shadow.d.ts +4 -0
- package/dist/format/lib/content/box-shadow.js +1 -1
- package/dist/format/lib/content/box-shape.d.ts +1 -1
- package/dist/format/lib/content/box-shape.js +1 -1
- package/dist/format/lib/content/card-template.d.ts +2 -1
- package/dist/format/lib/content/card-template.js +1 -1
- package/dist/format/lib/content/container-direction.d.ts +1 -1
- package/dist/format/lib/content/container-direction.js +1 -1
- package/dist/format/lib/content/gallery-card-layout.d.ts +16 -1
- package/dist/format/lib/content/gallery-card-layout.js +1 -1
- package/dist/format/lib/content/image-aspect.d.ts +2 -0
- package/dist/format/lib/content/image-aspect.js +1 -1
- package/dist/format/lib/content/page-width.d.ts +3 -0
- package/dist/format/lib/content/page-width.js +1 -1
- package/dist/format/lib/content/picture-focus-rows.js +1 -0
- package/dist/format/lib/content/section-height.d.ts +31 -2
- package/dist/format/lib/content/section-height.js +1 -1
- package/dist/format/lib/content/section-min-height.d.ts +2 -1
- package/dist/format/lib/content/section-min-height.js +1 -1
- package/dist/format/lib/content/section-width.d.ts +38 -1
- package/dist/format/lib/content/section-width.js +1 -1
- package/dist/format/lib/content/site-gutter.d.ts +2 -0
- package/dist/format/lib/content/site-gutter.js +1 -1
- package/dist/format/lib/content/view-overrides.d.ts +7 -0
- package/dist/format/lib/content/view-overrides.js +1 -0
- package/dist/format/lib/document/blocks/block-types.d.ts +1 -1
- package/dist/format/lib/document/blocks/general/Flex/meta.d.ts +4 -0
- package/dist/format/lib/document/blocks/general/Flex/meta.js +1 -1
- package/dist/format/lib/document/passes/types.d.ts +3 -0
- package/dist/format/lib/document/section-catalog.js +1 -1
- package/dist/format/lib/editor-words-catalogue.d.ts +12 -0
- package/dist/format/lib/editor-words-catalogue.js +5 -5
- package/dist/format/lib/markup.d.ts +1 -0
- package/dist/format/lib/markup.js +2 -2
- package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
- package/dist/format/lib/sections/intro-bleed-layout.d.ts +1 -0
- package/dist/format/lib/sections/intro-bleed-layout.js +1 -1
- package/dist/format/lib/source-rules/padding-units-declared.d.ts +2 -0
- package/dist/format/lib/source-rules/padding-units-declared.js +6 -0
- package/dist/render/components/AccordionMark.d.ts +4 -0
- package/dist/render/components/AccordionMark.js +1 -0
- package/dist/render/components/BoxAccordionRow.d.ts +7 -0
- package/dist/render/components/BoxAccordionRow.js +1 -0
- package/dist/render/components/BoxTabPaneContext.d.ts +3 -1
- package/dist/render/components/BoxTabPaneContext.js +1 -1
- package/dist/render/components/BoxTabs.js +1 -1
- package/dist/render/components/ButtonBlock.d.ts +1 -0
- package/dist/render/components/ButtonBlock.js +1 -1
- package/dist/render/components/CardRowContext.js +1 -1
- package/dist/render/components/Divider.js +1 -1
- package/dist/render/components/Eyebrow.d.ts +2 -1
- package/dist/render/components/Eyebrow.js +1 -1
- package/dist/render/components/FAQ.js +1 -1
- package/dist/render/components/Flex.d.ts +15 -2
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HeroSection.d.ts +4 -1
- package/dist/render/components/HeroSection.js +1 -1
- package/dist/render/components/HeroSingle.d.ts +4 -1
- package/dist/render/components/HeroSingle.js +1 -1
- package/dist/render/components/HeroSlide.d.ts +1 -0
- package/dist/render/components/HeroSlide.js +1 -1
- package/dist/render/components/ImageBlock.js +1 -1
- package/dist/render/components/InBoxContext.d.ts +1 -0
- package/dist/render/components/IntroBleed.js +1 -1
- package/dist/render/components/LogoBlock.d.ts +1 -0
- package/dist/render/components/LogoBlock.js +1 -1
- package/dist/render/components/Logos.js +1 -1
- package/dist/render/components/ProcessSteps.d.ts +1 -0
- package/dist/render/components/ProcessSteps.js +1 -1
- package/dist/render/components/SiteGutterFrame.d.ts +16 -0
- package/dist/render/components/SiteGutterFrame.js +1 -1
- package/dist/render/components/Split.d.ts +2 -1
- package/dist/render/components/Split.js +1 -1
- package/dist/render/components/Text.d.ts +2 -1
- package/dist/render/components/Text.js +1 -1
- package/dist/render/components/TitleWithButtons.d.ts +2 -1
- package/dist/render/components/TitleWithButtons.js +1 -1
- package/dist/render/lib/content/block-size.d.ts +1 -0
- package/dist/render/lib/content/block-size.js +1 -1
- package/dist/render/lib/content/box-shared-columns.d.ts +2 -2
- package/dist/render/lib/content/box-shared-columns.js +1 -1
- package/dist/render/lib/content/box-stack-line.d.ts +15 -0
- package/dist/render/lib/content/box-stack-line.js +1 -0
- package/dist/render/lib/content/button-look.js +1 -1
- package/dist/render/lib/content/empty-hides.d.ts +8 -0
- package/dist/render/lib/content/empty-hides.js +1 -0
- package/dist/render/lib/content/section-edge.d.ts +1 -1
- package/dist/render/lib/content/section-edge.js +1 -1
- package/dist/render/lib/content/section-padding.d.ts +17 -3
- package/dist/render/lib/content/section-padding.js +1 -1
- package/dist/render/lib/content/view-values.d.ts +1 -7
- package/dist/render/lib/content/view-values.js +1 -1
- package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Hero/render.js +1 -1
- package/dist/render/lib/document/blocks/general/HeroSingle/render.js +1 -1
- package/dist/render/lib/document/blocks/general/HeroSlide/render.js +1 -1
- package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-head-looks.d.ts +1 -0
- package/dist/render/lib/document/blocks/general/section-head-looks.js +2 -2
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
- package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
- package/dist/render/lib/document/head-core-boxes.d.ts +1 -0
- package/dist/render/lib/document/head-core-boxes.js +1 -0
- package/dist/render/lib/document/page-render.js +1 -1
- package/dist/render/lib/document/passes/block-size.js +1 -1
- package/dist/render/lib/document/passes/head-core.d.ts +3 -0
- package/dist/render/lib/document/passes/head-core.js +1 -0
- package/dist/render/lib/document/passes/index.js +1 -1
- package/dist/render/lib/document/passes/section-theme.js +1 -1
- package/dist/render/lib/document/passes/section-width.js +1 -1
- package/dist/render/lib/document/passes/slots-start-afresh.js +1 -1
- package/dist/render/lib/sections/section-to-box.js +1 -1
- package/package.json +5 -5
- package/dist/render/lib/content/picture-focus-rows.js +0 -1
- /package/dist/{render → format}/lib/content/picture-focus-rows.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{blockSourceSpec as x,declaredBlockSource as g}from"./block-sources.js";import{isNodeList as T}from"efficient-easel/data";import{BOX_TYPE as w}from"../document/container-blocks.js";import{globalRegistry as C}from"../global-registry.js";import{nonEmptyString as
|
|
1
|
+
import{blockSourceSpec as x,declaredBlockSource as g}from"./block-sources.js";import{isNodeList as T}from"efficient-easel/data";import{BOX_TYPE as w}from"../document/container-blocks.js";import{globalRegistry as C}from"../global-registry.js";import{nonEmptyString as y}from"../non-empty-string.js";import{accentItalicRuns as B}from"../markup.js";import{withCardsTemplate as R}from"../document/cards-template-on-read.js";const A="template",U="Card template",O=["Text","ImageBlock","ButtonBlock","Flex"],f="rowField",h="rowLinkField";function H(){return{type:"slot",allow:[...O]}}const _=[{block:"OrderSummary",typedRows:"rows",fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"Cards",typedRows:"items",fields:[{key:"num",label:"Number"},{key:"since",label:"Corner note"},{key:"label",label:"Label"},{key:"title",label:"Card title"},{key:"value",label:"Value"},{key:"body",label:"Card body",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:"count",label:"Count"},{key:"badge",label:"Highlight badge",everySource:!0}],seed:e=>R("Cards",e)}];function s(){return C("efficient.card-templates",()=>new Map(_.map(e=>[e.block,e])))}function V(e){for(const t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");const r=[];for(const o of t.blocks??[]){if(typeof o?.type!="string"||!o.type)throw new Error(`The card template of ${t.block} names an empty block.`);r.some(c=>c.type===o.type)||r.push({type:o.type,label:o.label||o.type})}const n=y(t.typedRows);s().set(t.block,{block:t.block,fields:t.fields.map(o=>({...o})),blocks:r,typedRows:n,...t.seed?{seed:t.seed}:{}})}}function E(e,t){const r=e?s().get(e)?.seed:void 0;return r?r(t):t}function X(e,t){if(!(t.template===void 0||Array.isArray(t.template)&&t.template.length===0))return t;const{template:n,...o}=t,c=E(e,o);return c===o?t:c}function Y(){for(const e of s().values())if(e.blocks?.length)return!0;return!1}function $(e){return s().get(e)?.blocks??[]}function q(e){for(const t of s().values())if(t.blocks?.some(r=>r.type===e))return!0;return!1}function z(e){return typeof e=="string"&&s().get(e)?.typedRows||""}function L(e){return typeof e=="string"&&s().has(e)}function G(e,t){const r=s().get(e)?.fields??[];return t?r.filter(n=>(n.kind??"text")===t):r}function P(e,t){const r=typeof e?.type=="string"?e.type:"";if(!r)return[];const n=s().get(r)?.fields??[],o=x(g(e?.props))?.fields,c=o?.length?[...o.map(l=>({...l})),...n.filter(l=>l.everySource&&!o.some(i=>i.key===l.key))]:n;return t?c.filter(l=>(l.kind??"text")===t):c}function S(e,t,r){return e?r?P(r).find(n=>n.key===t)??null:s().get(e)?.fields.find(n=>n.key===t)??null:null}function m(e,t=f){const r=e?.[t];return typeof r=="string"?r.trim():""}function J(e,t){return e.key||String(t+1)}function Q(e){const t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(const[r,n]of Object.entries(e))typeof n=="string"&&(t[r]=n);return t}function Z(e,t,r=""){const n=t&&e&&typeof e=="object"?e[t]:void 0;if(!Array.isArray(n))return"";for(const o of n){const c=typeof o=="string"?o:o?.src,l=y(typeof c=="string"?c.trim():void 0);if(l&&l!==r.trim())return l}return""}const b={Text:{text:f},ImageBlock:{src:f},ButtonBlock:{label:f,href:h},Breadcrumb:{currentCrumb:f}};function ee(e,t,r){return F(e,t,r)!==""}function F(e,t,r){const n=b[e]?.[r];return n?m(t,n):""}function I(e,t){return!t||!e?null:e[t]??""}function te(e,t,r,n){if(!r)return t;let o=null;for(const[c,l]of Object.entries(b[e]??{})){const i=m(t,l),u=I(r,i);u!==null&&(o??={...t},o[c]=n&&S(n,i)?.mark==="accentItalic"?B(u):u)}return o??t}function a(e,t){const r=e?.data?.content;if(!Array.isArray(r)||typeof t!="string")return;const n=(c,l)=>{for(const i of c){if(i?.props?.id===t)return l;for(const[u,d]of Object.entries(i?.props??{})){if(!T(d))continue;const k=u===A&&L(i.type)?{owner:i,direct:!0,nested:l!==null,underBox:!1}:l&&{owner:l.owner,direct:!1,nested:l.nested,underBox:l.underBox||i.type===w},p=n(d,k);if(p!==void 0)return p}}},o=n(r,null);return o===void 0?null:o}function re(e,t){const r=a(e,t);return r&&r.owner}function ne(e,t){const r=a(e,t);return r&&(r.direct?r.owner:null)}function oe(e,t){const r=a(e,t);if(r!==void 0)return r===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:r.nested,underBox:r.underBox}}export{f as CARD_ROW_FIELD_PROP,h as CARD_ROW_LINK_PROP,O as CARD_TEMPLATE_BLOCKS,U as CARD_TEMPLATE_LABEL,A as CARD_TEMPLATE_SLOT,oe as cardCopyPlace,J as cardKeyOf,Q as cardRow,$ as cardTemplateBlocks,ne as cardTemplateCardOwner,S as cardTemplateField,G as cardTemplateFields,P as cardTemplateFieldsOf,re as cardTemplateOwner,H as cardTemplateSlot,z as cardTemplateTypedRows,Y as cardTemplatesNameBlocks,L as hasCardTemplate,q as isCardTemplateBlock,m as namedRowField,V as registerCardTemplates,ee as rowBound,F as rowFieldOf,I as rowFieldText,te as rowFilledProps,Z as rowNextPicture,X as templateOnInsert,E as templateOnRead};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type DirectionContainer = "Flex" | "HeroGroup";
|
|
2
|
-
export declare const CONTAINER_DIRECTIONS: readonly ["column", "row", "tabs"];
|
|
2
|
+
export declare const CONTAINER_DIRECTIONS: readonly ["column", "row", "tabs", "accordion"];
|
|
3
3
|
export type ContainerDirection = (typeof CONTAINER_DIRECTIONS)[number];
|
|
4
4
|
export declare const CONTAINER_DIRECTION_LABEL = "Direction";
|
|
5
5
|
export declare const CONTAINER_DIRECTION_LABELS: Readonly<Record<ContainerDirection, string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const c=["column","row","tabs","accordion"],N="Direction",t={column:"Stacked",row:"One row",tabs:"Tabs",accordion:"Accordion"},n={Flex:c,HeroGroup:["column","row"]},e={Flex:"row",HeroGroup:"column"},I={column:"flex-col",row:"flex-row",tabs:"flex-col",accordion:"flex-col"};function i(r,o){return n[r].includes(o)?o:e[r]}function l(r,o){return I[i(r,o)]}function E(r){return n[r].map(o=>({label:t[o],value:o}))}export{c as CONTAINER_DIRECTIONS,e as CONTAINER_DIRECTION_BUILT_IN,I as CONTAINER_DIRECTION_CLASS,N as CONTAINER_DIRECTION_LABEL,t as CONTAINER_DIRECTION_LABELS,n as CONTAINER_DIRECTION_OFFERED,l as containerDirectionClass,E as containerDirectionPoints,i as resolveContainerDirection};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HeroGroupPlacement } from "../hero-group-placement.js";
|
|
2
|
-
export declare const GALLERY_CARD_RATIOS: readonly ["square", "tall", "wide", "landscape", "portrait", "video", "panorama", "auto"];
|
|
2
|
+
export declare const GALLERY_CARD_RATIOS: readonly ["square", "tall", "wide", "landscape", "portrait", "video", "panorama", "story", "poster", "auto"];
|
|
3
3
|
export type GalleryCardRatio = (typeof GALLERY_CARD_RATIOS)[number];
|
|
4
4
|
export declare const GALLERY_CARD_RATIO_DEFAULT: GalleryCardRatio;
|
|
5
5
|
export declare function galleryCardRatioClass(ratio?: string): string;
|
|
@@ -14,11 +14,26 @@ export declare const SHAPE_TABLE: readonly [{
|
|
|
14
14
|
readonly image: "auto";
|
|
15
15
|
readonly ratio: null;
|
|
16
16
|
readonly label: "Auto";
|
|
17
|
+
}, {
|
|
18
|
+
readonly shape: "story";
|
|
19
|
+
readonly image: "9/16";
|
|
20
|
+
readonly ratio: readonly [9, 16];
|
|
21
|
+
readonly label: "Story 9:16";
|
|
22
|
+
}, {
|
|
23
|
+
readonly shape: "poster";
|
|
24
|
+
readonly image: "2/3";
|
|
25
|
+
readonly ratio: readonly [2, 3];
|
|
26
|
+
readonly label: "Poster 2:3";
|
|
17
27
|
}, {
|
|
18
28
|
readonly shape: "tall";
|
|
19
29
|
readonly image: "3/4";
|
|
20
30
|
readonly ratio: readonly [3, 4];
|
|
21
31
|
readonly label: "Tall 3:4";
|
|
32
|
+
}, {
|
|
33
|
+
readonly shape: "portrait";
|
|
34
|
+
readonly image: "4/5";
|
|
35
|
+
readonly ratio: readonly [4, 5];
|
|
36
|
+
readonly label: "Portrait 4:5";
|
|
22
37
|
}, {
|
|
23
38
|
readonly shape: "square";
|
|
24
39
|
readonly image: "1/1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{normalisePlacement as
|
|
1
|
+
import{normalisePlacement as o,placementParts as s}from"../hero-group-placement.js";import{scrim as t}from"./scrim.js";const g=["square","tall","wide","landscape","portrait","video","panorama","story","poster","auto"],A="square";function h(e){switch(e){case"tall":return"aspect-[3/4]";case"wide":return"aspect-[2/1]";case"landscape":return"aspect-[4/3]";case"portrait":return"aspect-[4/5]";case"video":return"aspect-[16/9]";case"panorama":return"aspect-[21/9]";case"story":return"aspect-[9/16]";case"poster":return"aspect-[2/3]";case"auto":return"";default:return"aspect-square"}}const n=[{shape:"auto",image:"auto",ratio:null,label:"Auto"},{shape:"story",image:"9/16",ratio:[9,16],label:"Story 9:16"},{shape:"poster",image:"2/3",ratio:[2,3],label:"Poster 2:3"},{shape:"tall",image:"3/4",ratio:[3,4],label:"Tall 3:4"},{shape:"portrait",image:"4/5",ratio:[4,5],label:"Portrait 4:5"},{shape:"square",image:"1/1",ratio:[1,1],label:"Square 1:1"},{shape:"landscape",image:"4/3",ratio:[4,3],label:"Landscape 4:3"},{shape:"video",image:"16/9",ratio:[16,9],label:"Video 16:9"},{shape:"wide",image:"2/1",ratio:[2,1],label:"Wide 2:1"},{shape:"panorama",image:"21/9",ratio:[21,9],label:"Panorama 21:9"}];function b(e){return n.filter(a=>e.includes(a.shape))}const f=["overlay","below"];function L(e){return e==="below"}const y="bottom-left";function _(e){const{band:a,column:r}=s(o(e));return["justify-start","justify-center","justify-end"][a]+(r==="center"?" text-center":r==="end"?" text-right":"")}const i=`linear-gradient(180deg, transparent 40%, ${t(.85)} 100%)`,l=`linear-gradient(0deg, transparent 40%, ${t(.85)} 100%)`,p=t(.45);function x(e){return[l,p,i][s(o(e)).band]}export{y as GALLERY_CAPTION_ANCHOR_DEFAULT,f as GALLERY_CAPTION_PLACES,g as GALLERY_CARD_RATIOS,A as GALLERY_CARD_RATIO_DEFAULT,n as SHAPE_TABLE,_ as galleryCaptionAnchorClass,L as galleryCaptionIsBelow,x as galleryCaptionWash,h as galleryCardRatioClass,b as shapeLines};
|
|
@@ -37,6 +37,8 @@ export declare function imageFillRowClasses(from: ImageFillFrom): {
|
|
|
37
37
|
img: string;
|
|
38
38
|
figure: string;
|
|
39
39
|
};
|
|
40
|
+
export declare const isImageRatio: (value: unknown) => value is ImageRatio;
|
|
41
|
+
export declare function imageRatioAspect(value: unknown): string | null;
|
|
40
42
|
export declare function imageAspectDrawn(aspect: unknown, rowGivesHeight: boolean): unknown;
|
|
41
43
|
export declare function imageAspectPhoneRest(desktop: unknown): ImageRatio | undefined;
|
|
42
44
|
export declare function imageAspectPhoneOf(drawn: unknown, phone: unknown): ImageRatio | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BOX_GIVES_PICTURES_A_HEIGHT as
|
|
1
|
+
import{BOX_GIVES_PICTURES_A_HEIGHT as v}from"./box-layout.js";import{imageIsCropped as r,parseImageFit as c}from"./image-fit.js";import{SHAPE_TABLE as n}from"./gallery-card-layout.js";const d=n.map(e=>e.image),a="fill",E={label:"Fill row",value:a,showWhen:v},w="4/3",f={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:{frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},tablet:{frame:"view-tablet:h-full view-tablet:min-h-[240px] view-tablet:aspect-auto!",img:"view-tablet:absolute view-tablet:inset-0",figure:"view-tablet:h-full"},desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function F(e,t,i){return t&&!s(i)?"all":e??"wide"}function p(e){return f[e]}const x={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]"},g={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]"},A={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]"},_={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!"},u=e=>d.includes(e),s=u;function h(e){const t=u(e)?n.find(i=>i.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function P(e,t){return e===a&&!t?w:e}function S(e){return e===a?w:s(e)?e:void 0}function l(e,t){return s(t)?t===e?null:t:e===a?w:null}function L(e,t){const i=l(e,t);return r(e,"cover")||i!==null&&r(i,"cover")}function O(e,t,i){return c(e,"cover")==="cover"&&L(t,i)}function k(e,t,i,o){return e==="desktop"?O(t,i,o):c(t,"cover")!=="cover"?!1:m(e==="tablet"?i:l(i,o)??i)}const m=e=>e===a||s(e)&&e!=="auto";function C(e,t,i="wide"){return e===a&&i==="all"?p("all").frame:t===null?s(e)?x[e]:"":[e===a?p(i).frame:s(e)?g[e]:"",e===a&&i==="desktop"?_[t]:A[t]].filter(Boolean).join(" ")}export{a as FILL_ROW,E as FILL_ROW_OPTION,C as imageAspectClasses,P as imageAspectDrawn,L as imageAspectDrawsARatio,l as imageAspectPhoneOf,S as imageAspectPhoneRest,F as imageFillFrom,p as imageFillRowClasses,O as imageFocalPointActs,k as imageFocalPointActsIn,h as imageRatioAspect,u as isImageRatio};
|
|
@@ -39,10 +39,13 @@ export declare const SITE_GUTTER_NARROW: {
|
|
|
39
39
|
export declare const SITE_GUTTER_SUBSTITUTIONS: ReadonlyArray<readonly [string, string]>;
|
|
40
40
|
export declare function asMainGutters(html: string): string;
|
|
41
41
|
export declare const SITE_COLUMN = "mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]";
|
|
42
|
+
export declare const BOX_HOLDS_NO_GUTTER_CLASS = "[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";
|
|
43
|
+
export declare function withoutBoxHoldsNoGutter(html: string): string;
|
|
42
44
|
export declare const EDITORIAL_COLUMN = "mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";
|
|
43
45
|
export declare function normalizeSiteGutter(v?: number | null): number;
|
|
44
46
|
export declare function siteGutterTokens(v?: number | null): Record<string, string>;
|
|
45
47
|
export declare function normalizeSiteGutterPhone(v?: number | null): number | null;
|
|
48
|
+
export declare function normalizeSectionContentMax(v: unknown): number | null;
|
|
46
49
|
export declare function siteGutterPhoneTokens(v?: number | null): Record<string, string>;
|
|
47
50
|
export declare function siteGutterPhoneClass(v?: number | null): string;
|
|
48
51
|
export declare function siteGutterPhoneFollows(gutter?: number | null): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r={min:1e3,max:2e3,step:50,default:1600};function a(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function M(t,e){if(t!==!1)return null;const i=typeof e=="number"?e:r.default;return a(i)}const m="--sf-site-width",p=`var(${m},${r.default}px)`,
|
|
1
|
+
const r={min:1e3,max:2e3,step:50,default:1600};function a(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function M(t,e){if(t!==!1)return null;const i=typeof e=="number"?e:r.default;return a(i)}const m="--sf-site-width",p=`var(${m},${r.default}px)`,w=`max-w-[${p}]`,b=`max-w-[${r.default}px]`;function c(t){return typeof t!="number"||!Number.isFinite(t)?r.default:Math.round(Math.min(Math.max(t,r.min),r.max))}function D(t){const e=c(t);return e===r.default?{}:{[m]:`${e}px`}}const x={min:0,max:80,step:4,default:40},_="--sf-site-gutter",u={min:0,max:24,step:4},C="--sf-site-gutter-phone",A="max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!",n=`var(${_},${x.default}px)`,$=`px-[${n}]`,N=["px-10","px-[60px]"],o={md:`min(24px,${n})`,sm:`min(20px,${n})`,frame:`min(24px,${n})`,tabs:`min(16px,${n})`},h=[[`max-view-desktop:px-[${o.md}]`,"max-view-desktop:px-6"],[`max-view-desktop:px-[${o.tabs}]`,"max-view-desktop:px-4"],[`max-[960px]:px-[${o.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${o.md}]`,"max-[900px]:px-6"],[`max-view-wide:px-[${o.md}]`,"max-view-wide:px-6"],[`max-view-tablet:px-[${o.sm}]`,"max-view-tablet:px-5"],[`max-view-wide:px-[${o.sm}]`,"max-view-wide:px-5"],[`max-[640px]:px-[${o.sm}]`,"max-[640px]:px-5"],[`view-wide:px-[${n}]`,"view-wide:px-10"],[`max-view-tablet:px-[min(24px,${n})]`,"max-view-tablet:px-6"],[`max-view-wide:-mx-[min(20px,${n})]`,"max-view-wide:-mx-5"],[`max-view-tablet:-mx-[min(20px,${n})]`,"max-view-tablet:-mx-5"],[`-mx-[${n}]`,"-mx-10"],[$,"px-10"]];function U(t){return h.reduce((e,[i,S])=>e.split(i).join(S),t)}const L="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]",f="[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";function W(t){const e=f.replace(/&/g,"&").replace(/>/g,">");return t.split(` ${e}`).join("").split(` ${f}`).join("")}const k="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";function l(t){return typeof t!="number"||!Number.isFinite(t)?x.default:Math.round(Math.min(Math.max(t,x.min),x.max))}function B(t){const e=l(t);return e===x.default?{}:{[_]:`${e}px`}}function E(t){return typeof t!="number"||!Number.isFinite(t)?null:Math.round(Math.min(Math.max(t,u.min),u.max))}function V(t){return typeof t=="number"&&Number.isFinite(t)?c(t):null}function y(t){const e=E(t);return e===null?{}:{[C]:`${e}px`}}function F(t){return E(t)===null?"":A}function z(t){return Math.min(u.max,l(t))}function H(t=0){return`calc(${p}/2 - ${n}*2 - ${t}px)`}function j(t=0){return`max-w-[${H(t).replace(/ /g,"_")}]`}const T=p,K=`max-w-[${T}]`,X=`max-w-[min(var(--sf-page-cap,${r.default}px),${r.default}px)]`,d="--sf-hero-cap",I=`var(${d},none)`,q=`max-w-[${I}]`,O="--sf-hero-bleed-m",P="--sf-hero-bleed-w",v="--sf-hero-chrome-x",G="--sf-hero-chrome-cap";function J(t){return t===!0?{[d]:T,[O]:"auto",[P]:"100%",[v]:"24px",[G]:"none"}:{}}const s=`calc(${p} - ${n}*2)`,Q=`max-w-[${s.replace(/ /g,"_")}]`,Y=w;function Z(t){return t!==!1?null:a(R)}const g="--sf-chrome-cap",R=`var(${g},${s})`,tt="data-page-width";function et(t){return t==="full"?"full":null}function nt(t){return t==="full"?null:a(t==="content"?s:R)}function rt(t){if(t==="full")return"full";if(t==="content")return"content"}export{f as BOX_HOLDS_NO_GUTTER_CLASS,R as CHROME_CAP_READ,g as CHROME_CAP_VAR,s as CHROME_WIDTH_CAP,Q as CHROME_WIDTH_CAP_CLASS,k as EDITORIAL_COLUMN,I as HERO_BACKGROUND_CAP,q as HERO_BACKGROUND_CAP_CLASS,d as HERO_BACKGROUND_VAR,O as HERO_BLEED_MARGIN_VAR,P as HERO_BLEED_WIDTH_VAR,T as HERO_CAP,K as HERO_CAP_CLASS,G as HERO_CHROME_CAP_VAR,v as HERO_CHROME_INSET_VAR,r as PAGE_WIDTH,tt as PAGE_WIDTH_ATTR,Y as PRE_CHROME_WIDTH_CAP_CLASS,X as PRE_HERO_CAP_CLASS,N as PRE_SITE_GUTTER_CLASSES,b as PRE_SITE_WIDTH_CAP_CLASS,L as SITE_COLUMN,x as SITE_GUTTER,n as SITE_GUTTER_CAP,$ as SITE_GUTTER_CLASS,o as SITE_GUTTER_NARROW,u as SITE_GUTTER_PHONE,A as SITE_GUTTER_PHONE_CLASS,C as SITE_GUTTER_PHONE_VAR,h as SITE_GUTTER_SUBSTITUTIONS,_ as SITE_GUTTER_VAR,p as SITE_WIDTH_CAP,w as SITE_WIDTH_CAP_CLASS,m as SITE_WIDTH_VAR,U as asMainGutters,a as centredCap,nt as chromeWidthStyle,J as heroBackgroundTokens,V as normalizeSectionContentMax,l as normalizeSiteGutter,E as normalizeSiteGutterPhone,c as normalizeSiteWidth,et as pageWidthMarker,M as pageWidthStyle,rt as resolveChromeWidth,F as siteGutterPhoneClass,z as siteGutterPhoneFollows,y as siteGutterPhoneTokens,B as siteGutterTokens,H as siteHalfColumnCap,j as siteHalfColumnCapClass,Z as siteWidthCapStyle,D as siteWidthTokens,W as withoutBoxHoldsNoGutter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{phoneKey as n,tabletKey as m}from"efficient-easel/screen/lib/content/view-tiers";const s=[{block:"HeroSlide",upload:"mediaImage",focus:"imageFocal"},{block:"HeroSingle",upload:"mediaImage",focus:"imageFocal"},{block:"HeroSingle",upload:"mediaImage2",focus:"imageFocal2"},{block:"ImageBlock",upload:"src",focus:"focal"}],a=e=>[e,m(e),n(e)],d=[...new Set(s.flatMap(e=>a(e.focus)))].sort();function p(e,t){const[c,l,i]=a(t).map(o=>typeof e[o]=="string"&&e[o]?e[o]:void 0);return{desktop:c,tablet:l,phone:i}}export{s as PICTURE_DOTS,d as PICTURE_FOCUS_KEYS,a as viewFocusKeys,p as viewFocusValues};
|
|
@@ -6,11 +6,40 @@ export declare const SECTION_HEIGHT: {
|
|
|
6
6
|
readonly unit: "vh";
|
|
7
7
|
};
|
|
8
8
|
export declare function resolveSectionHeight(value: number | undefined): string;
|
|
9
|
-
export declare function hasSectionHeight(...values:
|
|
10
|
-
export declare
|
|
9
|
+
export declare function hasSectionHeight(...values: unknown[]): boolean;
|
|
10
|
+
export declare const HERO_HEIGHT_PX: {
|
|
11
|
+
readonly fallback: 680;
|
|
12
|
+
readonly unit: "px";
|
|
13
|
+
readonly min: 40;
|
|
14
|
+
readonly max: 2000;
|
|
15
|
+
readonly step: 10;
|
|
16
|
+
};
|
|
17
|
+
export declare const HERO_FIXED_DEFAULT: {
|
|
18
|
+
readonly ratio: "16/9";
|
|
19
|
+
readonly px: "680px";
|
|
20
|
+
};
|
|
21
|
+
export type HeroFixedHeight = {
|
|
22
|
+
unit: "ratio";
|
|
23
|
+
value: string;
|
|
24
|
+
css: "auto";
|
|
25
|
+
aspect: string;
|
|
26
|
+
} | {
|
|
27
|
+
unit: "px";
|
|
28
|
+
value: string;
|
|
29
|
+
px: number;
|
|
30
|
+
css: string;
|
|
31
|
+
};
|
|
32
|
+
export declare function readHeroFixedHeight(value: unknown): HeroFixedHeight | null;
|
|
33
|
+
export declare function heroStoresRatio(box: {
|
|
34
|
+
style: Record<string, string> | undefined;
|
|
35
|
+
}): boolean;
|
|
36
|
+
export declare function heroHeightBox({ heightDesktop, heightTablet, heightMobile, heightFixed, heightFixedTablet, heightFixedMobile }: {
|
|
11
37
|
heightDesktop?: number;
|
|
12
38
|
heightTablet?: number;
|
|
13
39
|
heightMobile?: number;
|
|
40
|
+
heightFixed?: string;
|
|
41
|
+
heightFixedTablet?: string;
|
|
42
|
+
heightFixedMobile?: string;
|
|
14
43
|
}): {
|
|
15
44
|
className: string;
|
|
16
45
|
style: Record<string, string> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{imageRatioAspect as k}from"./image-aspect.js";import{SECTION_MIN_HEIGHT as E}from"./section-min-height.js";const d={min:40,max:100,step:5,fallback:100,unit:"vh"};function I(t){return`${typeof t=="number"?t:d.fallback}${d.unit}`}function b(...t){return t.some(e=>typeof e=="number"||u(e)!==null)}const f={...E,fallback:680,unit:"px"},S={ratio:"16/9",px:`${f.fallback}px`},_=/^(\d{1,5}(?:\.\d{1,3})?)px$/;function u(t){if(typeof t!="string")return null;const e=k(t);if(e!==null)return{unit:"ratio",value:t,css:"auto",aspect:e};const r=_.exec(t);if(r&&Number(r[1])>0){const s=Math.min(f.max,Math.max(f.min,Number(r[1])));return{unit:"px",value:`${s}px`,px:s,css:`${s}px`}}return null}function y(t){return Object.keys(t.style??{}).some(e=>e.startsWith("--sf-hero-ar-"))}function T({heightDesktop:t,heightTablet:e,heightMobile:r,heightFixed:s,heightFixedTablet:h,heightFixedMobile:m}){const i=n=>u(n)?.value,o=b(t,r,i(s),i(m)),a=b(e,i(h)),p=(n,$,w)=>{const c=u($);return c?.unit==="ratio"?{[`--sf-hero-h-${n}`]:c.css,[`--sf-hero-ar-${n}`]:c.aspect}:{[`--sf-hero-h-${n}`]:c?.css??I(w)}},x="view-tablet:max-view-desktop:h-[var(--sf-hero-h-t)]",l=o?a?`h-[var(--sf-hero-h-m)] ${x} view-desktop:h-[var(--sf-hero-h-d)]`:"h-[var(--sf-hero-h-m)] view-tablet:h-[var(--sf-hero-h-d)]":a?`h-screen min-h-[680px] ${x} view-tablet:max-view-desktop:min-h-0`:"h-screen min-h-[680px]";if(!o&&!a)return{className:l,style:void 0};const v={...o?p("d",s,t):{},...a?p("t",h,e):{},...o?p("m",m,r):{}},H=y({style:v})?o?a?" aspect-[var(--sf-hero-ar-m,auto)] view-tablet:max-view-desktop:aspect-[var(--sf-hero-ar-t,auto)] view-desktop:aspect-[var(--sf-hero-ar-d,auto)]":" aspect-[var(--sf-hero-ar-m,auto)] view-tablet:aspect-[var(--sf-hero-ar-d,auto)]":" view-tablet:max-view-desktop:aspect-[var(--sf-hero-ar-t,auto)]":"";return{className:`${l}${H}`,style:v}}export{S as HERO_FIXED_DEFAULT,f as HERO_HEIGHT_PX,d as SECTION_HEIGHT,b as hasSectionHeight,T as heroHeightBox,y as heroStoresRatio,u as readHeroFixedHeight,I as resolveSectionHeight};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties } from "react";
|
|
2
|
+
import { type LengthUnit } from "efficient-easel/screen/lib/content/length-units";
|
|
2
3
|
export type SectionHeightMode = "auto" | "fixed" | "screen";
|
|
3
4
|
export declare const SECTION_HEIGHT_MODES: readonly SectionHeightMode[];
|
|
4
|
-
export type SectionHeightUnit = "px" | "%"
|
|
5
|
+
export type SectionHeightUnit = Extract<LengthUnit, "px" | "%">;
|
|
5
6
|
export declare const SECTION_HEIGHT_UNITS: readonly SectionHeightUnit[];
|
|
6
7
|
export declare const VIEWPORT_UNIT: "svh";
|
|
7
8
|
export declare const VIEWPORT_UNIT_FALLBACK: "vh";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{LENGTH_UNITS as N}from"efficient-easel/screen/lib/content/length-units";const m=["auto","fixed","screen"],C=N.filter(e=>e==="px"||e==="%"),b="svh",L="vh",M="var(--sf-header-h, 88px)",O={min:40,max:2e3,step:10,fallback:600},A={min:10,max:200,step:5,fallback:100},P="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",h={base:"--sf-section-minh",small:"--sf-section-minh-s"},a=e=>typeof e=="string"&&m.includes(e),G=e=>typeof e=="string"&&C.includes(e);function r(e){const t=a(e.sectionHeightMode)?e.sectionHeightMode:"auto",i=t==="screen"?"%":G(e.sectionHeightUnit)?e.sectionHeightUnit:"px",n=t==="screen"?A.fallback:O.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:n;return{mode:t,value:o,unit:i}}function H(e){const{mode:t,value:i,unit:n}=r(e);if(t==="auto")return;if(t==="fixed"&&n==="px")return[`${i}px`,null];const o=i/100,c=s=>t==="screen"?`(100${s} - ${M})`:`100${s}`;return[`calc(${c(L)} * ${o})`,`calc(${c(b)} * ${o})`]}function _(e){const t=H(e);if(!t)return;const[i,n]=t;return{display:"grid",[h.base]:i,...n?{[h.small]:n}:{}}}const y=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),B="Height",u="sf-section-minh-phone",f={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function U(e){return a(e.sectionHeightModePhone)}function D(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const I="sf-section-minh-tablet",T={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function p(e){return a(e.sectionHeightModeTablet)}function F(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function g(e){const t=_(e),i=(E,x,d)=>H({sectionHeightMode:E,sectionHeightValue:x,sectionHeightUnit:d})??(t?["auto",null]:void 0),n=p(e)?i(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=U(e)?i(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):n;if(!t&&!n&&!o)return null;const c=[P,l],s={...t??{}};return n&&(c.push(I),s[T.base]=n[0],n[1]&&(s[T.small]=n[1])),o&&(c.push(u),s[f.base]=o[0],o[1]&&(s[f.small]=o[1])),{className:c.join(" "),style:s}}function k(e){return g(e)!==null}const V=`grid ${l}`,w="h-full",R="view-tablet:max-view-desktop:grid",S="max-view-tablet:grid",$=`${S} ${l}`;function j(e){const t=g(e);if(!t)return"";if(_(e))return V;const i=t.className.split(" ");if(!i.includes(I))return $;const o=i.includes(u);return[R,o?S:"",l].filter(Boolean).join(" ")}export{M as HEADER_HEIGHT_VAR,w as SECTION_FILL_CLASS,V as SECTION_FILL_PASS_CLASS,$ as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,m as SECTION_HEIGHT_MODES,C as SECTION_HEIGHT_UNITS,O as SECTION_MIN_HEIGHT,P as SECTION_MIN_HEIGHT_CLASS,y as SECTION_MIN_HEIGHT_EXCLUDED,B as SECTION_MIN_HEIGHT_GROUP_LABEL,u as SECTION_MIN_HEIGHT_PHONE_CLASS,f as SECTION_MIN_HEIGHT_PHONE_VARS,I as SECTION_MIN_HEIGHT_TABLET_CLASS,T as SECTION_MIN_HEIGHT_TABLET_VARS,h as SECTION_MIN_HEIGHT_VARS,A as SECTION_SCREEN_PCT,b as VIEWPORT_UNIT,L as VIEWPORT_UNIT_FALLBACK,U as hasPhoneHeight,p as hasTabletHeight,D as resolvePhoneHeight,r as resolveSectionMinHeight,F as resolveTabletHeight,j as sectionFillPassClass,k as sectionFillsHeight,g as sectionMinHeightAttrs,H as sectionMinHeightLengths,_ as sectionMinHeightStyle};
|
|
@@ -14,9 +14,46 @@ export declare function resolveWidth(props: WidthProps, defaultMode: WidthMode):
|
|
|
14
14
|
};
|
|
15
15
|
export declare function sectionRunsFullWidth(props: Readonly<Record<string, unknown>>): boolean;
|
|
16
16
|
export type WidthAnswer = "full" | "content";
|
|
17
|
-
export type SectionWidthFamily = "hero" | "scrollOver" | "background" | "both" | "contained" | "contentColumn" | "contentFull" | "productGrid" | "capped";
|
|
17
|
+
export type SectionWidthFamily = "hero" | "scrollOver" | "background" | "both" | "contained" | "contentColumn" | "contentFull" | "productGrid" | "capped" | "rawMarkup";
|
|
18
18
|
export declare const SECTION_WIDTH_FAMILY: Readonly<Record<string, SectionWidthFamily>>;
|
|
19
|
+
export declare const NO_WIDTH_ROWS: readonly string[];
|
|
19
20
|
export declare function hasWidthFamily(type: string): boolean;
|
|
21
|
+
export declare const SECTION_WIDTH_KEYS: {
|
|
22
|
+
readonly background: "sectionBackgroundWidth";
|
|
23
|
+
readonly content: "sectionContentWidth";
|
|
24
|
+
readonly contentMax: "sectionContentMax";
|
|
25
|
+
};
|
|
26
|
+
export interface OwnSectionWidth {
|
|
27
|
+
background: WidthAnswer | null;
|
|
28
|
+
content: WidthAnswer | null;
|
|
29
|
+
contentMax: number | null;
|
|
30
|
+
}
|
|
31
|
+
export declare function ownSectionWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
|
|
32
|
+
export declare function chromeOwnWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
|
|
33
|
+
export declare function hasOwnSectionWidth(own: OwnSectionWidth): boolean;
|
|
34
|
+
export declare const sectionBackgroundPatch: (next: WidthAnswer) => {
|
|
35
|
+
sectionBackgroundWidth: WidthAnswer;
|
|
36
|
+
};
|
|
37
|
+
export declare const sectionContentPatch: (next: WidthAnswer) => {
|
|
38
|
+
sectionContentWidth: "full";
|
|
39
|
+
sectionContentMax: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
sectionContentWidth: "content";
|
|
42
|
+
sectionContentMax?: undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare const sectionContentMaxPatch: (px: number) => {
|
|
45
|
+
sectionContentWidth: "content";
|
|
46
|
+
sectionContentMax: number;
|
|
47
|
+
};
|
|
48
|
+
export declare const sectionWidthResetPatch: (row: "background" | "content") => {
|
|
49
|
+
sectionBackgroundWidth: undefined;
|
|
50
|
+
sectionContentWidth?: undefined;
|
|
51
|
+
sectionContentMax?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
sectionContentWidth: undefined;
|
|
54
|
+
sectionContentMax: undefined;
|
|
55
|
+
sectionBackgroundWidth?: undefined;
|
|
56
|
+
};
|
|
20
57
|
export declare const SITE_WIDTHS_KEY = "siteWidths";
|
|
21
58
|
export interface SiteWidths {
|
|
22
59
|
background: WidthAnswer | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{normalizeSectionContentMax as r}from"./page-width.js";const d=["page","full"],k=["full","page"],f={full:"Full",page:"Content"},i="inherit",u=t=>typeof t=="string"&&d.includes(t),s=t=>t===i;function l(t,n){return s(t.widthMode)?{mode:"full",inherited:!0}:u(t.widthMode)?{mode:t.widthMode,inherited:!1}:{mode:n,inherited:n==="full"}}function m(t){return l(t,"page").mode==="full"}const p={CustomHTML:"rawMarkup",Hero:"hero",HeroSingle:"hero",IntroBleed:"scrollOver",SpecStrip:"background",Timeline:"background",Footprint:"background",Prose:"background",ParagraphsA:"background",Cards:"background",KeyFeatures:"background",Chart:"background",Mockup:"background",Testimonials:"background",TitleWithButtons:"background",Countdown:"background",DocMasthead:"background",DocBody:"background",DocMetaCards:"background",Gallery:"background",GalleryB:"background",Reviews:"background",ReviewForm:"background",Form:"background",AppointmentBooking:"background",FAQ:"background",Events:"background",Split:"both",Breadcrumb:"both",Collections:"both",CatalogFilterBar:"both",AlloyWheelsListing:"both",Banner:"contained",Stats:"contained",Logos:"contained",Divider:"contained",OrderSummary:"contained",DeliveryOptions:"contained",PaymentBadges:"contained",CheckoutCTA:"contained",Flex:"contained",Grid:"contained",ContactCards:"contained",MessagingCards:"contained",OpeningHours:"contained",RateTable:"contained",Manifesto:"contentColumn",SectionHeader:"contentFull",ProductHero:"contentFull",ProductGrid:"productGrid",TimelineTrack:"capped",DetailRows:"capped",FitmentTable:"capped",TyreSizes:"capped",TyreFitment:"capped",EuTyreLabel:"capped",BundleOffer:"capped",CompatibleTyres:"capped",RelatedProducts:"capped",ProcessSteps:"capped",StatsParagraph:"capped",Masthead:"capped",FeaturedCover:"capped",LongRead:"capped",Series:"capped",ContactLocations:"capped",FitmentFinder:"capped",SpecTable:"capped",Subscribe:"capped",SubscribeBlogs:"capped",ContactRouting:"capped",SubmitBuild:"capped"},x=["Ticker","CategoryBar","DocTabs","Header","Footer"];function C(t){return Object.prototype.hasOwnProperty.call(p,t)}const e={background:"sectionBackgroundWidth",content:"sectionContentWidth",contentMax:"sectionContentMax"};function g(t){const n=r(t[e.contentMax]),c=o(t[e.content])??(n===null?null:"content");return{background:o(t[e.background]),content:c,contentMax:c==="content"?n:null}}function T(t){const n=g(t);return n.content===null&&t.fullWidth===!0?{...n,content:"full"}:n}function S(t){return t.background!==null||t.content!==null}const W=t=>({[e.background]:t}),M=t=>t==="full"?{[e.content]:t,[e.contentMax]:void 0}:{[e.content]:t},F=t=>({[e.content]:"content",[e.contentMax]:t}),I=t=>t==="background"?{[e.background]:void 0}:{[e.content]:void 0,[e.contentMax]:void 0},a="siteWidths",b=t=>t==="full"||t==="content";function o(t){return b(t)?t:null}function H(t,n){return{[a]:{background:o(t),content:o(n)}}}function O(t){const c=t.editor?.metadata?.[a];return{background:o(c?.background),content:o(c?.content)}}export{x as NO_WIDTH_ROWS,k as SECTION_WIDTH_CHOICES,p as SECTION_WIDTH_FAMILY,e as SECTION_WIDTH_KEYS,a as SITE_WIDTHS_KEY,f as WIDTH_CHOICE_LABEL,i as WIDTH_INHERIT,d as WIDTH_MODES,T as chromeOwnWidth,S as hasOwnSectionWidth,C as hasWidthFamily,s as isInheritValue,o as normalizeSiteBackground,g as ownSectionWidth,l as resolveWidth,W as sectionBackgroundPatch,F as sectionContentMaxPatch,M as sectionContentPatch,m as sectionRunsFullWidth,I as sectionWidthResetPatch,H as siteWidthsMetadata,O as siteWidthsOf};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type OwnSectionWidth } from "./section-width.js";
|
|
1
2
|
export declare function isFrameContainer(type: unknown): boolean;
|
|
2
3
|
export declare const BOX_GUTTER_KEY = "contentWidth";
|
|
3
4
|
export declare const BOX_GUTTER_OFF = "full";
|
|
@@ -14,5 +15,6 @@ export declare function boxRunsEdgeToEdge(props: {
|
|
|
14
15
|
scrollDirection?: unknown;
|
|
15
16
|
bgImage?: unknown;
|
|
16
17
|
}): boolean;
|
|
18
|
+
export declare function ownNodeWidth(type: unknown, props: Readonly<Record<string, unknown>>): OwnSectionWidth;
|
|
17
19
|
export declare function siteDrawsGutter(siteContent: unknown): boolean;
|
|
18
20
|
export declare function boxPlaceOf(content: unknown, id: unknown, site: boolean): BoxPlace | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isNodeList as
|
|
1
|
+
import{isNodeList as w}from"efficient-easel/data";import{isVerticalLoop as B}from"../animation/loop.js";import{isBackgroundBox as O}from"./box-background.js";import{ownSectionWidth as d}from"./section-width.js";const E=new Set(["Flex","Grid"]);function a(t){return typeof t=="string"&&E.has(t)}const T="contentWidth",_="full",y="content";function R(t){const n=t?.[T];return n===_?!1:n===y?!0:void 0}function v(t,n){return t&&!n}function l(t){return t.loop==="scroll"&&t.direction!=="tabs"&&t.direction!=="accordion"&&!O(typeof t.bgImage=="string"?t.bgImage:null)&&!B(t.scrollDirection)}function h(t,n){return a(t)&&l(n)?d({}):d(n)}function I(t){return t!=="full"}function U(t,n,x){if(!Array.isArray(t)||typeof n!="string")return;const s=(m,e,g,G)=>{for(const r of m){const o=r?.props??{};if(o.id===n)return e;const i=a(r?.type),u=(G?h(r?.type,o).content:null)==="content"?!0:g,b=i&&(e.inBox?R(o)??u:u),p={insideGutter:e.insideGutter||b||i&&l(o),inBox:e.inBox||i};for(const c of Object.values(o)){if(!w(c))continue;const f=s(c,p,u,!1);if(f!==void 0)return f}}};return s(t,{insideGutter:!1,inBox:!1},x,!0)}export{T as BOX_GUTTER_KEY,_ as BOX_GUTTER_OFF,y as BOX_GUTTER_ON,R as boxGutterOf,U as boxPlaceOf,l as boxRunsEdgeToEdge,v as drawsSiteGutter,a as isFrameContainer,h as ownNodeWidth,I as siteDrawsGutter};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AutoRule, type ViewValueKind } from "efficient-easel/screen/lib/content/view-tiers";
|
|
2
|
+
export declare function viewRules(): Record<ViewValueKind, AutoRule>;
|
|
3
|
+
export interface ViewOverrides<T> {
|
|
4
|
+
tablet?: T;
|
|
5
|
+
phone?: T;
|
|
6
|
+
}
|
|
7
|
+
export declare function viewOverrides<T>(kind: ViewValueKind, desktop: T, tablet: T | null | undefined, phone: T | null | undefined, rules?: Record<ViewValueKind, AutoRule>): ViewOverrides<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AUTO_RULES as c,FOLLOW_RULES as p,isAuto as E,resolveViewValue as L}from"efficient-easel/screen/lib/content/view-tiers";import{RESPONSIVE_RULES as O}from"./view-lines.js";function R(){return O==="v2"?c:p}function v(f,n,r,i,s=R()){const e=L(f,n,r,i,s),o={},u=(l,t)=>!E(l)||t!=null&&t!==n;return u(r,e.tablet)&&(o.tablet=e.tablet),u(i,e.phone)&&(o.phone=e.phone),o}export{v as viewOverrides,R as viewRules};
|
|
@@ -6,7 +6,7 @@ export type BlockSlots = Record<string, {
|
|
|
6
6
|
allow?: string[];
|
|
7
7
|
disallow?: string[];
|
|
8
8
|
}>;
|
|
9
|
-
export type BlockRender = Pick<Block, "label" | "defaultProps" | "render" | "inline"> & {
|
|
9
|
+
export type BlockRender = Pick<Block, "label" | "defaultProps" | "render" | "inline" | "phoneOrder"> & {
|
|
10
10
|
fields?: BlockSlots;
|
|
11
11
|
};
|
|
12
12
|
export type BlockMeta = Omit<BlockRender, "render">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{phoneKey as t}from"efficient-easel/screen/lib/content/view-tiers";const o={rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},r={label:"Box",fields:o,phoneOrder:{prop:t("order"),slot:"content"},defaultProps:{direction:"row",justify:"start",align:"stretch",wrap:!0,content:[],share:"equal",blockSpacing:"gap",padV2:!0,sectionPaddingTop:24,sectionPaddingBottom:24}};export{r as FlexMeta,o as FlexSlots};
|
|
@@ -41,6 +41,9 @@ export type PassInspector = {
|
|
|
41
41
|
cellWidthFields: () => FieldMap;
|
|
42
42
|
widthField: (defaultMode: "full" | "page") => FieldMap;
|
|
43
43
|
boxGutterFields: () => FieldMap;
|
|
44
|
+
sectionOwnWidthFields: (options?: {
|
|
45
|
+
drawsFullOnItsOwn?: boolean;
|
|
46
|
+
}) => FieldMap;
|
|
44
47
|
heightFields: () => FieldMap;
|
|
45
48
|
anchorFields: () => FieldMap;
|
|
46
49
|
stickFields: () => FieldMap;
|
|
@@ -32,4 +32,4 @@ WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value
|
|
|
32
32
|
|
|
33
33
|
WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
|
|
34
34
|
|
|
35
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const b=a("general"),T=a("commerce"),E=a("service"),c="Flex",s="Box",S=`${s}es`;function d(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===c?d(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,E as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
|
|
35
|
+
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ArticleBody:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const b=a("general"),T=a("commerce"),E=a("service"),c="Flex",s="Box",S=`${s}es`;function d(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===c?d(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,E as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
|
|
@@ -80,6 +80,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
80
80
|
readonly "A world map of your locations with a legend \u2014 designed here, sold worldwide.": "A world map of your locations with a legend — designed here, sold worldwide.";
|
|
81
81
|
readonly "A write-a-review form \u2014 submissions wait for your approval before they show.": "A write-a-review form — submissions wait for your approval before they show.";
|
|
82
82
|
readonly "About & brand story": "About & brand story";
|
|
83
|
+
readonly Accordion: "Accordion";
|
|
83
84
|
readonly Account: "Account";
|
|
84
85
|
readonly "Active tab": "Active tab";
|
|
85
86
|
readonly Add: "Add";
|
|
@@ -303,6 +304,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
303
304
|
readonly "Contact, FAQ & forms": "Contact, FAQ & forms";
|
|
304
305
|
readonly Contain: "Contain";
|
|
305
306
|
readonly Content: "Content";
|
|
307
|
+
readonly "Content cannot be wider than the background.": "Content cannot be wider than the background.";
|
|
306
308
|
readonly "Content position": "Content position";
|
|
307
309
|
readonly "Content width": "Content width";
|
|
308
310
|
readonly Contents: "Contents";
|
|
@@ -783,6 +785,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
783
785
|
readonly Offices: "Offices";
|
|
784
786
|
readonly "Offset tall": "Offset tall";
|
|
785
787
|
readonly "On 1 page": "On 1 page";
|
|
788
|
+
readonly "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.": "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.";
|
|
786
789
|
readonly "On a phone": "On a phone";
|
|
787
790
|
readonly "On every blog post.": "On every blog post.";
|
|
788
791
|
readonly "On every page": "On every page";
|
|
@@ -856,9 +859,11 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
856
859
|
readonly Popup: "Popup";
|
|
857
860
|
readonly "Portal card": "Portal card";
|
|
858
861
|
readonly "Portal card (stock + button + orders)": "Portal card (stock + button + orders)";
|
|
862
|
+
readonly "Portrait 4:5": "Portrait 4:5";
|
|
859
863
|
readonly Position: "Position";
|
|
860
864
|
readonly Positions: "Positions";
|
|
861
865
|
readonly "Post Card": "Post Card";
|
|
866
|
+
readonly "Poster 2:3": "Poster 2:3";
|
|
862
867
|
readonly Prefix: "Prefix";
|
|
863
868
|
readonly Preview: "Preview";
|
|
864
869
|
readonly "Preview hover state": "Preview hover state";
|
|
@@ -893,6 +898,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
893
898
|
readonly Quote: "Quote";
|
|
894
899
|
readonly Quotes: "Quotes";
|
|
895
900
|
readonly Rating: "Rating";
|
|
901
|
+
readonly Ratio: "Ratio";
|
|
896
902
|
readonly "Read out in place of the picture, and shown if it can\u2019t load.": "Read out in place of the picture, and shown if it can’t load.";
|
|
897
903
|
readonly "Read the story": "Read the story";
|
|
898
904
|
readonly "Read time": "Read time";
|
|
@@ -1051,7 +1057,9 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1051
1057
|
readonly "Square 1:1": "Square 1:1";
|
|
1052
1058
|
readonly Squares: "Squares";
|
|
1053
1059
|
readonly Stacked: "Stacked";
|
|
1060
|
+
readonly "Stacks below": "Stacks below";
|
|
1054
1061
|
readonly Standard: "Standard";
|
|
1062
|
+
readonly "Starts open": "Starts open";
|
|
1055
1063
|
readonly Stat: "Stat";
|
|
1056
1064
|
readonly "Stat & note": "Stat & note";
|
|
1057
1065
|
readonly "Stat label": "Stat label";
|
|
@@ -1072,6 +1080,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1072
1080
|
readonly "Still to come: a hollow dot, and the gold line stops before it.": "Still to come: a hollow dot, and the gold line stops before it.";
|
|
1073
1081
|
readonly "Storefront \u2192 Blog": "Storefront → Blog";
|
|
1074
1082
|
readonly "Storefront \u25B8 Sites \u25B8 Settings": "Storefront ▸ Sites ▸ Settings";
|
|
1083
|
+
readonly "Story 9:16": "Story 9:16";
|
|
1075
1084
|
readonly "Story Timeline": "Story Timeline";
|
|
1076
1085
|
readonly "Street address": "Street address";
|
|
1077
1086
|
readonly "Strip fill": "Strip fill";
|
|
@@ -1146,6 +1155,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1146
1155
|
readonly "The header holds at most 3 sections": "The header holds at most 3 sections";
|
|
1147
1156
|
readonly "The name was not saved. Try again.": "The name was not saved. Try again.";
|
|
1148
1157
|
readonly "The newest 30 are kept. Named versions are always kept.": "The newest 30 are kept. Named versions are always kept.";
|
|
1158
|
+
readonly "The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.": "The order the blocks stack in on a phone. Only the look moves: the Tab key and screen readers keep the desktop order.";
|
|
1149
1159
|
readonly "The preview did not open. Try again.": "The preview did not open. Try again.";
|
|
1150
1160
|
readonly "The room left at the left and right edge of every page.": "The room left at the left and right edge of every page.";
|
|
1151
1161
|
readonly "The section it belonged to has been changed or removed.": "The section it belonged to has been changed or removed.";
|
|
@@ -1224,6 +1234,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1224
1234
|
readonly "Tyre Sizes": "Tyre Sizes";
|
|
1225
1235
|
readonly "URL pill": "URL pill";
|
|
1226
1236
|
readonly "URL: /{slug}": "URL: /{slug}";
|
|
1237
|
+
readonly "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.": "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.";
|
|
1227
1238
|
readonly Undo: "Undo";
|
|
1228
1239
|
readonly "Undo did not work. Nothing changed. Try again.": "Undo did not work. Nothing changed. Try again.";
|
|
1229
1240
|
readonly Ungrouped: "Ungrouped";
|
|
@@ -1339,6 +1350,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1339
1350
|
readonly "the theme's section background": "the theme's section background";
|
|
1340
1351
|
readonly "this container's own spacing": "this container's own spacing";
|
|
1341
1352
|
readonly upper: "upper";
|
|
1353
|
+
readonly vh: "vh";
|
|
1342
1354
|
readonly "{day}, {time}": "{day}, {time}";
|
|
1343
1355
|
readonly "{grade} on the button": "{grade} on the button";
|
|
1344
1356
|
readonly "{label} hex code": "{label} hex code";
|