efficient-web-builder 63.0.0 → 65.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 +53 -0
- package/dist/editor/components/PreviewPartAnchors.js +1 -1
- package/dist/editor/lib/animation/entrance-fields.js +1 -1
- package/dist/editor/lib/animation/fields.js +1 -1
- package/dist/editor/lib/animation/loop-fields.js +1 -1
- package/dist/editor/lib/animation/scroll-fields.d.ts +3 -0
- package/dist/editor/lib/animation/scroll-fields.js +1 -0
- package/dist/editor/lib/animation/view-rows.d.ts +20 -0
- package/dist/editor/lib/animation/view-rows.js +1 -0
- package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/IntroBleed/fields.js +1 -1
- package/dist/editor/lib/document/card-display-chips.d.ts +3 -2
- package/dist/editor/lib/document/card-display-chips.js +1 -1
- package/dist/editor/lib/document/card-row-fields.js +1 -1
- package/dist/editor/lib/document/controls.d.ts +8 -2
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/field-groups.js +1 -1
- package/dist/editor/lib/document/part-motion-canvas.d.ts +2 -1
- package/dist/editor/lib/document/part-motion-canvas.js +1 -1
- package/dist/format/lib/animation/entrance-keys.d.ts +8 -0
- package/dist/format/lib/animation/entrance-keys.js +1 -0
- package/dist/format/lib/animation/loop.d.ts +1 -0
- package/dist/format/lib/animation/loop.js +1 -1
- package/dist/format/lib/animation/mark-zoom.d.ts +11 -0
- package/dist/format/lib/animation/mark-zoom.js +1 -0
- package/dist/format/lib/animation/scroll.d.ts +19 -0
- package/dist/format/lib/animation/scroll.js +1 -0
- package/dist/format/lib/animation/views.d.ts +6 -0
- package/dist/format/lib/animation/views.js +1 -0
- package/dist/format/lib/content/block-sources.js +1 -1
- package/dist/format/lib/content/box-shape.d.ts +1 -1
- package/dist/format/lib/content/card-template.d.ts +8 -5
- package/dist/format/lib/content/card-template.js +1 -1
- package/dist/format/lib/content/image-aspect.d.ts +6 -0
- package/dist/format/lib/content/image-aspect.js +1 -1
- package/dist/format/lib/content/section-sticky.d.ts +57 -13
- package/dist/format/lib/content/section-sticky.js +1 -1
- package/dist/format/lib/content/slot-field-blocks.d.ts +1 -0
- package/dist/format/lib/content/slot-field-blocks.js +1 -0
- package/dist/format/lib/document/blocks/block-types.d.ts +2 -0
- package/dist/format/lib/document/blocks/general/Banner/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/ContactLocations/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/FeaturedCover/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Hero/meta.d.ts +1 -0
- package/dist/format/lib/document/blocks/general/Hero/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/HeroSingle/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/ImageBlock/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/IntroBleed/meta.js +2 -2
- package/dist/format/lib/document/blocks/general/LogoBlock/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Logos/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/LongRead/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Manifesto/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/PaymentBadges/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/PostCard/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/ProcessSteps/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Split/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Timeline/meta.js +1 -1
- package/dist/format/lib/document/passes/types.d.ts +6 -1
- package/dist/format/lib/editor-words-catalogue.d.ts +16 -0
- package/dist/format/lib/editor-words-catalogue.js +5 -5
- package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
- package/dist/format/lib/source-rules/motion-vars-from-the-shell.d.ts +6 -0
- package/dist/format/lib/source-rules/motion-vars-from-the-shell.js +4 -0
- package/dist/render/components/Banner.js +1 -1
- package/dist/render/components/CardRowContext.d.ts +1 -0
- package/dist/render/components/CardRowContext.js +1 -1
- package/dist/render/components/ContactLocations.js +2 -2
- package/dist/render/components/HeroPictures.d.ts +23 -6
- package/dist/render/components/HeroPictures.js +1 -1
- package/dist/render/components/HeroSection.js +1 -1
- package/dist/render/components/HeroSingle.js +1 -1
- package/dist/render/components/HeroSlide.js +1 -1
- package/dist/render/components/ImageBlock.js +1 -1
- package/dist/render/components/InBoxContext.d.ts +2 -1
- package/dist/render/components/InBoxContext.js +1 -1
- package/dist/render/components/IntroBleed.d.ts +1 -2
- package/dist/render/components/IntroBleed.js +1 -1
- package/dist/render/components/LogoBlock.js +1 -1
- package/dist/render/components/Logos.js +1 -1
- package/dist/render/components/PictureZoom.d.ts +24 -0
- package/dist/render/components/PictureZoom.js +1 -0
- package/dist/render/components/Placeholder.js +1 -1
- package/dist/render/components/PublishedPartStylesContext.js +1 -1
- package/dist/render/components/ScrollEffect.d.ts +14 -0
- package/dist/render/components/ScrollEffect.js +1 -0
- package/dist/render/components/ScrollProgressArm.d.ts +5 -0
- package/dist/render/components/ScrollProgressArm.js +1 -0
- package/dist/render/components/SectionAnimation.d.ts +9 -13
- package/dist/render/components/SectionAnimation.js +1 -1
- package/dist/render/components/SectionHeader.js +1 -1
- package/dist/render/lib/animation/entrance.d.ts +6 -14
- package/dist/render/lib/animation/entrance.js +1 -1
- package/dist/render/lib/animation/part-motion.d.ts +4 -1
- package/dist/render/lib/animation/part-motion.js +2 -2
- package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
- package/dist/render/lib/document/blocks/general/IntroBleed/render.js +1 -1
- 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-editorial.js +1 -1
- package/dist/render/lib/document/page-frame.d.ts +2 -1
- package/dist/render/lib/document/page-frame.js +1 -1
- package/dist/render/lib/document/part-styles.d.ts +10 -0
- package/dist/render/lib/document/part-styles.js +2 -2
- package/dist/render/lib/document/passes/index.js +1 -1
- package/dist/render/lib/document/passes/scroll-effect.d.ts +3 -0
- package/dist/render/lib/document/passes/scroll-effect.js +1 -0
- package/dist/render/lib/document/passes/section-animation.js +1 -1
- package/dist/render/lib/document/passes/section-sticky.js +1 -1
- package/dist/render/lib/document/passes/slots-start-afresh.js +1 -1
- package/dist/render/lib/text-styles/site-text-styles.js +2 -2
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{blockSourceSpec as x,declaredBlockSource as w}from"./block-sources.js";import{isNodeList as C}from"efficient-easel/data";import{BOX_TYPE as _}from"../document/container-blocks.js";import{globalRegistry as A}from"../global-registry.js";import{nonEmptyString as T}from"../non-empty-string.js";import{accentItalicRuns as I}from"../markup.js";import{withCardsTemplate as E}from"../document/cards-template-on-read.js";import{withCardListTemplate as F}from"../document/blocks/general/CardList/item-seed.js";import{ARTICLE_BODY_BLOCK as P,withArticleBodyTemplate as D}from"../document/article-body-seed.js";import{withLogosTemplate as v}from"../document/blocks/general/Logos/card-seed.js";import{withFaqTemplate as W}from"../document/blocks/general/FAQ/card-seed.js";import{withFootprintSideTemplate as M}from"../document/blocks/general/Footprint/card-seed.js";const B="template",N="Card template",y="CardList",h=["Text","ImageBlock","ButtonBlock","Flex"],p="rowField",K="rowLinkField";function be(){return{type:"slot",allow:[...h]}}const j=h.filter(e=>e!=="ButtonBlock"),L="items",R="itemFields";function ke(){return{type:"slot",allow:[...j]}}const H=[{block:"OrderSummary",typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"FAQ",typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>W(e)},{block:"Footprint",typedRows:"offices",fields:[{key:"badge",label:"HQ",plain:!0},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region · country"},{key:"address",label:"Address"},{key:"phone",label:"Phone"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}],seed:e=>M(e)},{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,plain:!0}],seed:e=>E("Cards",e)},{block:"ProcessSteps",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:y,label:"Card list"}]},{block:"Logos",fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>v(e)},{block:y,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:L,seed:e=>F(e)},{block:P,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>D(e)}];function a(){return A("efficient.card-templates",()=>new Map(H.map(e=>[e.block,e])))}function ge(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(l=>l.type===o.type)||r.push({type:o.type,label:o.label||o.type})}const n=[];for(const o of t.slots??[]){if(typeof o?.slot!="string"||!o.slot)throw new Error(`The card template of ${t.block} names an empty slot.`);const l=T(o.label);n.some(s=>s.slot===o.slot)||n.push(l?{slot:o.slot,label:l}:{slot:o.slot})}const i=T(t.typedRows);a().set(t.block,{block:t.block,...n.length?{slots:n}:{},fields:t.fields.map(o=>({...o})),blocks:r,typedRows:i,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function Y(e,t){const r=e?a().get(e)?.seed:void 0;return r?r(t):t}function xe(e,t){const r=$(e),n=(r.length?r:[B]).filter(s=>t[s]===void 0||Array.isArray(t[s])&&t[s].length===0);if(!n.length)return t;const i={...t};for(const s of n)delete i[s];const o=e?a().get(e)?.seedOnInsert:void 0,l=o?o(i):Y(e,i);return l===i?t:l}function we(){for(const e of a().values())if(e.blocks?.length)return!0;return!1}function Te(e){return a().get(e)?.blocks??[]}function Be(e){for(const t of a().values())if(t.blocks?.some(r=>r.type===e))return!0;return!1}function he(e){return typeof e=="string"&&a().get(e)?.typedRows||""}function Le(e){return typeof e=="string"&&a().get(e)?.linesBetween===!0}function Re(e){return typeof e=="string"&&a().has(e)}const U=[{slot:B}];function m(e){if(typeof e!="string")return[];const t=a().get(e);return t?t.slots??U:[]}function $(e){return m(e).map(t=>t.slot)}function Q(e,t){return m(e).some(r=>r.slot===t)}function Oe(e,t){const r=m(e).find(n=>n.slot===t);return r?r.label??N:null}function q(e,t){const r=a().get(e)?.fields??[];return t?r.filter(n=>(n.kind??"text")===t):r}function V(e){return typeof e=="string"?q(e,"list")[0]?.key??"":""}function X(e,t){return b(e)||V(t)}function O(e,t){const r=typeof e?.type=="string"?e.type:"";if(!r)return[];const n=a().get(r)?.fields??[],i=x(w(e?.props))?.fields,o=i?.length?[...i.map(l=>({...l})),...n.filter(l=>l.everySource&&!i.some(s=>s.key===l.key))]:n;return t?o.filter(l=>(l.kind??"text")===t):o}function z(e,t,r){return e?r?O(r).find(n=>n.key===t)??null:a().get(e)?.fields.find(n=>n.key===t)??null:null}function S(e,t){return!e||!t?null:e.fields?.find(r=>r.key===t)??z(e.ownerType,t,e.owner)}function Se(e,t){return S(e,t)?.plain===!0}function b(e,t=p){const r=e?.[t];return typeof r=="string"?r.trim():""}function Ce(e,t){return e.key||String(t+1)}function _e(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}const G="hideWhenRowEmpty";function Ae(e,t){const r=e[G];return!t||!Array.isArray(r)||!r.length?!1:r.every(n=>typeof n!="string"||!t[n]?.trim())}const k={Text:{text:p},ImageBlock:{src:p},ButtonBlock:{label:p,href:K},LogoBlock:{alt:p},Breadcrumb:{currentCrumb:p}},Ie=k,J=new Set(["ButtonBlock.label","LogoBlock.alt"]);function Ee(e,t,r){return Z(e,t,r)&&!J.has(`${e}.${r}`)}function Z(e,t,r){return ee(e,t,r)!==""}function ee(e,t,r){const n=k[e]?.[r];return n?b(t,n):""}function te(e,t){return!t||!e?null:e[t]??""}function Fe(e,t,r,n,i){if(!r)return t;let o=null;for(const[l,s]of Object.entries(k[e]??{})){const f=b(t,s),c=te(r,f);c!==null&&(o??={...t},o[l]=S({ownerType:n,fields:i},f)?.mark==="accentItalic"?I(c):c)}return o??t}function g(e,t){const r=e?.data?.content;if(!Array.isArray(r)||typeof t!="string")return;const n=(o,l)=>{for(const s of o){if(s?.props?.id===t)return l;for(const[f,c]of Object.entries(s?.props??{})){if(!C(c))continue;const u=Q(s.type,f)?{owner:s,direct:!0,nested:l!==null,underBox:!1}:l&&{owner:l.owner,direct:!1,nested:l.nested,underBox:l.underBox||s.type===_},d=n(c,u);if(d!==void 0)return d}}},i=n(r,null);return i===void 0?null:i}function re(e,t){const r=g(e,t);return r&&r.owner}function Pe(e,t){const r=g(e,t);return r&&(r.direct?r.owner:null)}function De(e,t){const r=g(e,t);if(r!==void 0)return r===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:r.nested,underBox:r.underBox}}function ve(e,t,r){if(t?.type!==y)return[];const n=re(e,t.props?.id);if(!n){const l=x(w(t.props))?.fields,s=l?.length?l.map(u=>({...u})):ne(t.props),f=(a().get(y)?.fields??[]).filter(u=>u.everySource&&!s.some(d=>d.key===u.key)),c=[...s,...f];return r?c.filter(u=>(u.kind??"text")===r):c}const i=X(t.props,n.type),o=i&&O(n,"list").find(l=>l.key===i)?.fields||[];return r?o.filter(l=>(l.kind??"text")===r):o}function We(e,t){return{[p]:"",[L]:e.map(r=>({...r})),[R]:t.map(r=>({...r}))}}function ne(e,t){const r=e?.[R];if(!Array.isArray(r))return[];const n=r.flatMap(i=>{if(!i||typeof i!="object")return[];const{key:o,label:l,kind:s,multiline:f,alt:c,next:u}=i;if(typeof o!="string"||!o||typeof l!="string")return[];const d=s==="image"||s==="link"||s==="colour"?s:void 0;return[{key:o,label:l,...d?{kind:d}:{},...f===!0?{multiline:!0}:{},...typeof c=="string"&&c?{alt:c}:{},...typeof u=="string"&&u?{next:u}:{}}]});return t?n.filter(i=>(i.kind??"text")===t):n}export{G as BOX_HIDE_WHEN_ROW_EMPTY,R as CARD_LIST_FIELDS,j as CARD_LIST_ITEM_BLOCKS,L as CARD_LIST_ROWS,y as CARD_LIST_TYPE,p as CARD_ROW_FIELD_PROP,K as CARD_ROW_LINK_PROP,h as CARD_TEMPLATE_BLOCKS,N as CARD_TEMPLATE_LABEL,B as CARD_TEMPLATE_SLOT,Ie as ROW_BOUND_PROPS,J as ROW_PART_BY_WORDS,De as cardCopyPlace,Ce as cardKeyOf,ve as cardListFieldsOf,ke as cardListItemSlot,We as cardListProps,X as cardListShows,_e as cardRow,Te as cardTemplateBlocks,Pe as cardTemplateCardOwner,z as cardTemplateField,q as cardTemplateFields,O as cardTemplateFieldsOf,Le as cardTemplateLinesBetween,re as cardTemplateOwner,be as cardTemplateSlot,Oe as cardTemplateSlotLabel,$ as cardTemplateSlotNames,he as cardTemplateTypedRows,we as cardTemplatesNameBlocks,V as defaultListField,Re as hasCardTemplate,Be as isCardTemplateBlock,Q as isCardTemplateSlot,b as namedRowField,ge as registerCardTemplates,Z as rowBound,ee as rowFieldOf,S as rowFieldSpec,te as rowFieldText,Se as rowFieldWordsArePlain,Fe as rowFilledProps,Ee as rowPartByKey,Ae as templateBoxIsEmpty,xe as templateOnInsert,Y as templateOnRead};
|
|
1
|
+
import{blockSources as E,blockSourceSpec as w,declaredBlockSource as T}from"./block-sources.js";import{slotFieldBlocks as h}from"./slot-field-blocks.js";import{isNodeList as I}from"efficient-easel/data";import{BOX_TYPE as F}from"../document/container-blocks.js";import{globalRegistry as P}from"../global-registry.js";import{nonEmptyString as B}from"../non-empty-string.js";import{accentItalicRuns as D}from"../markup.js";import{withCardsTemplate as v}from"../document/cards-template-on-read.js";import{withCardListTemplate as W}from"../document/blocks/general/CardList/item-seed.js";import{ARTICLE_BODY_BLOCK as M,withArticleBodyTemplate as N}from"../document/article-body-seed.js";import{withLogosTemplate as K}from"../document/blocks/general/Logos/card-seed.js";import{withFaqTemplate as j}from"../document/blocks/general/FAQ/card-seed.js";import{withFootprintSideTemplate as H}from"../document/blocks/general/Footprint/card-seed.js";const L="template",Y="Card template",m="CardList",S=["Text","ImageBlock","ButtonBlock","Flex"],p="rowField",$="rowLinkField";function he(){return{type:"slot",allow:[...S]}}const U=S.filter(e=>e!=="ButtonBlock"),O="items",R="itemFields";function Be(){return{type:"slot",allow:[...U]}}const Q=[{block:"OrderSummary",typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"FAQ",typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>j(e)},{block:"Footprint",typedRows:"offices",fields:[{key:"badge",label:"HQ",plain:!0},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region · country"},{key:"address",label:"Address"},{key:"phone",label:"Phone"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}],seed:e=>H(e)},{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,plain:!0}],seed:e=>v("Cards",e)},{block:"ProcessSteps",fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:m,label:"Card list"}]},{block:"Logos",fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>K(e)},{block:m,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:O,seed:e=>W(e)},{block:M,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>N(e)}];function f(){return P("efficient.card-templates",()=>new Map(Q.map(e=>[e.block,e])))}function Le(e){for(const t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");const o=[];for(const r of t.blocks??[]){if(typeof r?.type!="string"||!r.type)throw new Error(`The card template of ${t.block} names an empty block.`);o.some(l=>l.type===r.type)||o.push({type:r.type,label:r.label||r.type})}const n=[];for(const r of t.slots??[]){if(typeof r?.slot!="string"||!r.slot)throw new Error(`The card template of ${t.block} names an empty slot.`);const l=B(r.label),c=Array.isArray(r.fields)?{fields:r.fields.map(a=>({...a}))}:null;n.some(a=>a.slot===r.slot)||n.push({slot:r.slot,...l?{label:l}:null,...c})}const s=n.some(r=>r.fields);if(s&&(t.fields.some(r=>r.everySource)||E(t.block).length))throw new Error(`The card template of ${t.block} declares slot fields, but the block reads a source: slot fields take the place of a source's fields, so a block with slot fields reads no source.`);s?h().add(t.block):h().delete(t.block);const i=B(t.typedRows);f().set(t.block,{block:t.block,...n.length?{slots:n}:{},fields:t.fields.map(r=>({...r})),blocks:o,typedRows:i,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function q(e,t){const o=e?f().get(e)?.seed:void 0;return o?o(t):t}function Se(e,t){const o=X(e),n=(o.length?o:[L]).filter(l=>t[l]===void 0||Array.isArray(t[l])&&t[l].length===0);if(!n.length)return t;const s={...t};for(const l of n)delete s[l];const i=e?f().get(e)?.seedOnInsert:void 0,r=i?i(s):q(e,s);return r===s?t:r}function Oe(){for(const e of f().values())if(e.blocks?.length)return!0;return!1}function Re(e){return f().get(e)?.blocks??[]}function Ae(e){for(const t of f().values())if(t.blocks?.some(o=>o.type===e))return!0;return!1}function Ce(e){return typeof e=="string"&&f().get(e)?.typedRows||""}function _e(e){return typeof e=="string"&&f().get(e)?.linesBetween===!0}function Ee(e){return typeof e=="string"&&f().has(e)}const V=[{slot:L}];function y(e){if(typeof e!="string")return[];const t=f().get(e);return t?t.slots??V:[]}function X(e){return y(e).map(t=>t.slot)}function z(e,t){return y(e).some(o=>o.slot===t)}function Ie(e,t){const o=y(e).find(n=>n.slot===t);return o?o.label??Y:null}function b(e,t){return t?y(e).find(o=>o.slot===t)?.fields:void 0}function G(e,t){const o=f().get(e)?.fields??[];return t?o.filter(n=>(n.kind??"text")===t):o}function J(e,t){if(typeof e!="string")return"";const o=b(e,t);return(o?o.filter(n=>n.kind==="list"):G(e,"list"))[0]?.key??""}function Z(e,t,o){return x(e)||J(t,o)}function A(e,t,o){const n=typeof e?.type=="string"?e.type:"";if(!n)return[];const s=b(n,o);if(s)return t?s.filter(c=>(c.kind??"text")===t):s;const i=f().get(n)?.fields??[],r=w(T(e?.props))?.fields,l=r?.length?[...r.map(c=>({...c})),...i.filter(c=>c.everySource&&!r.some(a=>a.key===c.key))]:i;return t?l.filter(c=>(c.kind??"text")===t):l}function ee(e,t,o,n){if(!e)return null;const s=b(e,n);return s?s.find(i=>i.key===t)??null:o?A(o).find(i=>i.key===t)??null:f().get(e)?.fields.find(i=>i.key===t)??null}function C(e,t){return!e||!t?null:e.fields?.find(o=>o.key===t)??ee(e.ownerType,t,e.owner,e.slot)}function Fe(e,t){return C(e,t)?.plain===!0}function x(e,t=p){const o=e?.[t];return typeof o=="string"?o.trim():""}function Pe(e,t){return e.key||String(t+1)}function De(e){const t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(const[o,n]of Object.entries(e))typeof n=="string"&&(t[o]=n);return t}const te="hideWhenRowEmpty";function ve(e,t){const o=e[te];return!t||!Array.isArray(o)||!o.length?!1:o.every(n=>typeof n!="string"||!t[n]?.trim())}const g={Text:{text:p},ImageBlock:{src:p},ButtonBlock:{label:p,href:$},LogoBlock:{alt:p},Breadcrumb:{currentCrumb:p}},We=g,oe=new Set(["ButtonBlock.label","LogoBlock.alt"]);function Me(e,t,o){return re(e,t,o)&&!oe.has(`${e}.${o}`)}function re(e,t,o){return ne(e,t,o)!==""}function ne(e,t,o){const n=g[e]?.[o];return n?x(t,n):""}function le(e,t){return!t||!e?null:e[t]??""}function Ne(e,t,o,n,s,i){if(!o)return t;let r=null;for(const[l,c]of Object.entries(g[e]??{})){const a=x(t,c),u=le(o,a);u!==null&&(r??={...t},r[l]=C({ownerType:n,fields:s,slot:i},a)?.mark==="accentItalic"?D(u):u)}return r??t}function k(e,t){const o=e?.data?.content;if(!Array.isArray(o)||typeof t!="string")return;const n=(i,r)=>{for(const l of i){if(l?.props?.id===t)return r;for(const[c,a]of Object.entries(l?.props??{})){if(!I(a))continue;const u=z(l.type,c)?{owner:l,slot:c,direct:!0,nested:r!==null,underBox:!1}:r&&{owner:r.owner,slot:r.slot,direct:!1,nested:r.nested,underBox:r.underBox||l.type===F},d=n(a,u);if(d!==void 0)return d}}},s=n(o,null);return s===void 0?null:s}function se(e,t){const o=k(e,t);return o&&o.owner}function ie(e,t){const o=k(e,t);return o&&o.slot}function Ke(e,t){const o=k(e,t);return o&&(o.direct?o.owner:null)}function je(e,t){const o=k(e,t);if(o!==void 0)return o===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:o.nested,underBox:o.underBox}}function He(e,t,o){if(t?.type!==m)return[];const n=se(e,t.props?.id);if(!n){const l=w(T(t.props))?.fields,c=l?.length?l.map(d=>({...d})):ce(t.props),a=(f().get(m)?.fields??[]).filter(d=>d.everySource&&!c.some(_=>_.key===d.key)),u=[...c,...a];return o?u.filter(d=>(d.kind??"text")===o):u}const s=ie(e,t.props?.id)??void 0,i=Z(t.props,n.type,s),r=i&&A(n,"list",s).find(l=>l.key===i)?.fields||[];return o?r.filter(l=>(l.kind??"text")===o):r}function Ye(e,t){return{[p]:"",[O]:e.map(o=>({...o})),[R]:t.map(o=>({...o}))}}function ce(e,t){const o=e?.[R];if(!Array.isArray(o))return[];const n=o.flatMap(s=>{if(!s||typeof s!="object")return[];const{key:i,label:r,kind:l,multiline:c,alt:a,next:u}=s;if(typeof i!="string"||!i||typeof r!="string")return[];const d=l==="image"||l==="link"||l==="colour"?l:void 0;return[{key:i,label:r,...d?{kind:d}:{},...c===!0?{multiline:!0}:{},...typeof a=="string"&&a?{alt:a}:{},...typeof u=="string"&&u?{next:u}:{}}]});return t?n.filter(s=>(s.kind??"text")===t):n}export{te as BOX_HIDE_WHEN_ROW_EMPTY,R as CARD_LIST_FIELDS,U as CARD_LIST_ITEM_BLOCKS,O as CARD_LIST_ROWS,m as CARD_LIST_TYPE,p as CARD_ROW_FIELD_PROP,$ as CARD_ROW_LINK_PROP,S as CARD_TEMPLATE_BLOCKS,Y as CARD_TEMPLATE_LABEL,L as CARD_TEMPLATE_SLOT,We as ROW_BOUND_PROPS,oe as ROW_PART_BY_WORDS,je as cardCopyPlace,Pe as cardKeyOf,He as cardListFieldsOf,Be as cardListItemSlot,Ye as cardListProps,Z as cardListShows,De as cardRow,Re as cardTemplateBlocks,Ke as cardTemplateCardOwner,ee as cardTemplateField,G as cardTemplateFields,A as cardTemplateFieldsOf,_e as cardTemplateLinesBetween,se as cardTemplateOwner,he as cardTemplateSlot,Ie as cardTemplateSlotLabel,X as cardTemplateSlotNames,ie as cardTemplateSlotOf,Ce as cardTemplateTypedRows,Oe as cardTemplatesNameBlocks,J as defaultListField,Ee as hasCardTemplate,Ae as isCardTemplateBlock,z as isCardTemplateSlot,x as namedRowField,Le as registerCardTemplates,re as rowBound,ne as rowFieldOf,C as rowFieldSpec,le as rowFieldText,Fe as rowFieldWordsArePlain,Ne as rowFilledProps,Me as rowPartByKey,ve as templateBoxIsEmpty,Se as templateOnInsert,q as templateOnRead};
|
|
@@ -37,6 +37,12 @@ export declare function imageFillRowClasses(from: ImageFillFrom): {
|
|
|
37
37
|
img: string;
|
|
38
38
|
figure: string;
|
|
39
39
|
};
|
|
40
|
+
export declare const FILLS_ITS_FRAME: {
|
|
41
|
+
readonly img: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function pictureLayerClass(fill: {
|
|
44
|
+
readonly img: string;
|
|
45
|
+
} | null | undefined): string;
|
|
40
46
|
export declare const isImageRatio: (value: unknown) => value is ImageRatio;
|
|
41
47
|
export declare function imageRatioAspect(value: unknown): string | null;
|
|
42
48
|
export declare function imageWidthFollowsBox(drawn: unknown, phone: unknown, fit: "cover" | "contain"): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BOX_GIVES_PICTURES_A_HEIGHT as
|
|
1
|
+
import{BOX_GIVES_PICTURES_A_HEIGHT as f}from"./box-layout.js";import{imageIsCropped as w,parseImageFit as n}from"./image-fit.js";import{SHAPE_TABLE as p}from"./gallery-card-layout.js";const x=p.map(e=>e.image),a="fill",S={label:"Fill row",value:a,showWhen:f},r="4/3",u={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},l={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:u,tablet:u,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 h(e,t,i){return t&&!o(i)?"all":e??"wide"}function m(e){return l[e]}const C=l.all;function P(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}const _={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]","16/10":"aspect-[16/10]","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]","16/10":"view-wide:aspect-[16/10]","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]","16/10":"max-view-wide:aspect-[16/10]","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]"},L={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":"","16/10":"max-view-wide:aspect-[16/10]!","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]!"},c=e=>x.includes(e),o=c;function k(e){const t=c(e)?p.find(i=>i.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function B(e,t,i){return i==="contain"?!0:[e,t??e].every(s=>s!==a&&(!c(s)||s==="auto"))}function T(e,t){return e===a&&!t?r:e}function W(e){return e===a?r:o(e)?e:void 0}function d(e,t){return o(t)?t===e?null:t:e===a?r:null}function I(e,t){const i=d(e,t);return w(e,"cover")||i!==null&&w(i,"cover")}function O(e,t,i){return n(e,"cover")==="cover"&&I(t,i)}function b(e,t,i,s){return e==="desktop"?O(t,i,s):n(t,"cover")!=="cover"?!1:v(e==="tablet"?i:d(i,s)??i)}const v=e=>e===a||o(e)&&e!=="auto";function H(e,t,i="wide"){return e===a&&i==="all"?m("all").frame:t===null?o(e)?_[e]:"":[e===a?m(i).frame:o(e)?g[e]:"",e===a&&i==="desktop"?L[t]:A[t]].filter(Boolean).join(" ")}export{C as FILLS_ITS_FRAME,a as FILL_ROW,S as FILL_ROW_OPTION,H as imageAspectClasses,T as imageAspectDrawn,I as imageAspectDrawsARatio,d as imageAspectPhoneOf,W as imageAspectPhoneRest,h as imageFillFrom,m as imageFillRowClasses,O as imageFocalPointActs,b as imageFocalPointActsIn,k as imageRatioAspect,B as imageWidthFollowsBox,c as isImageRatio,P as pictureLayerClass};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties } from "react";
|
|
2
|
+
import { type ShowWhenRule } from "efficient-shell/format";
|
|
2
3
|
export declare const SECTION_STICK_LABEL = "Stick to top";
|
|
3
4
|
export declare const SECTION_STICK_DISTANCE: {
|
|
4
5
|
readonly min: 0;
|
|
@@ -6,17 +7,43 @@ export declare const SECTION_STICK_DISTANCE: {
|
|
|
6
7
|
readonly step: 4;
|
|
7
8
|
readonly fallback: 0;
|
|
8
9
|
};
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
10
|
+
export declare const SECTION_PIN_LABEL = "Pin while scrolling";
|
|
11
|
+
export declare const SECTION_PIN_GROUP = "Scroll";
|
|
12
|
+
export declare const SECTION_PIN_VARS: {
|
|
13
|
+
readonly distance: "--sf-pin-distance";
|
|
14
|
+
readonly position: "--sf-pin-position";
|
|
15
|
+
readonly on: "--sf-pin-on";
|
|
16
|
+
readonly length: "--sf-pin-length";
|
|
17
|
+
readonly stick: "--sf-pin-stick";
|
|
18
|
+
readonly trackPosition: "--sf-pin-track-position";
|
|
19
|
+
readonly header: "--sf-pin-header";
|
|
19
20
|
};
|
|
21
|
+
export declare const SECTION_PIN_SCREENS_KEY = "stickTopScreens";
|
|
22
|
+
export declare const SECTION_PIN_SCREENS_KEYS: readonly string[];
|
|
23
|
+
export declare const SECTION_PIN_SCREENS_LABEL = "Screens";
|
|
24
|
+
export declare const SECTION_PIN_STOP_KEY = "stickTopStop";
|
|
25
|
+
export declare const SECTION_PIN_STOP_SCREEN = "screen";
|
|
26
|
+
export declare const SECTION_PIN_STOP_LABEL = "Pin stops at";
|
|
27
|
+
export declare const SECTION_PIN_STOP_OPTIONS: readonly [{
|
|
28
|
+
readonly value: "header";
|
|
29
|
+
readonly label: "Under the header";
|
|
30
|
+
}, {
|
|
31
|
+
readonly value: "screen";
|
|
32
|
+
readonly label: "Screen top";
|
|
33
|
+
}];
|
|
34
|
+
export type SectionPinStop = (typeof SECTION_PIN_STOP_OPTIONS)[number]["value"];
|
|
35
|
+
export declare const SECTION_PIN_STOP_DEFAULT: SectionPinStop;
|
|
36
|
+
export declare const SECTION_PIN_STOP_HINT = "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.";
|
|
37
|
+
export declare function sectionPinStopOf(value: unknown): SectionPinStop;
|
|
38
|
+
export declare function sectionPinStopWrite(next: unknown): typeof SECTION_PIN_STOP_SCREEN | undefined;
|
|
39
|
+
export declare const SECTION_PIN_ABOVE_KEY = "stickAbove";
|
|
40
|
+
export declare const SECTION_PIN_ABOVE_LABEL = "Stays above";
|
|
41
|
+
export declare const SECTION_PIN_ABOVE_HINT = "On: the pinned box stays on top, and the sections after it scroll under it.";
|
|
42
|
+
export declare function sectionPinAbove(props: {
|
|
43
|
+
stickAbove?: unknown;
|
|
44
|
+
}): boolean;
|
|
45
|
+
export declare const SECTION_PIN_KEYS: readonly string[];
|
|
46
|
+
export declare const PIN_AT_SCREEN_TOP: ReadonlySet<string>;
|
|
20
47
|
export declare const SECTION_STICK_EXCLUDED: ReadonlySet<string>;
|
|
21
48
|
export type SectionStickProps = {
|
|
22
49
|
stickTop?: unknown;
|
|
@@ -25,20 +52,37 @@ export type SectionStickProps = {
|
|
|
25
52
|
stickTopDistanceTablet?: unknown;
|
|
26
53
|
stickTopPhone?: unknown;
|
|
27
54
|
stickTopDistancePhone?: unknown;
|
|
55
|
+
stickTopScreens?: unknown;
|
|
56
|
+
stickTopScreensTablet?: unknown;
|
|
57
|
+
stickTopScreensPhone?: unknown;
|
|
58
|
+
stickTopStop?: unknown;
|
|
59
|
+
stickAbove?: unknown;
|
|
60
|
+
sticky?: unknown;
|
|
28
61
|
};
|
|
62
|
+
export declare const SOME_VIEW_PINS: ShowWhenRule;
|
|
63
|
+
export declare const INTRO_OLD_STICKY_PINS: ShowWhenRule;
|
|
29
64
|
export declare function hasTabletStick(props: SectionStickProps): boolean;
|
|
30
65
|
export declare function hasPhoneStick(props: SectionStickProps): boolean;
|
|
31
|
-
export declare function resolveSectionStick(props: SectionStickProps
|
|
66
|
+
export declare function resolveSectionStick(props: SectionStickProps, opts?: {
|
|
67
|
+
intro?: boolean;
|
|
68
|
+
}): {
|
|
32
69
|
desktop: boolean;
|
|
33
70
|
desktopDistance: number;
|
|
71
|
+
desktopScreens: number;
|
|
34
72
|
tablet: boolean;
|
|
35
73
|
tabletDistance: number;
|
|
74
|
+
tabletScreens: number;
|
|
36
75
|
ownTablet: boolean;
|
|
37
76
|
phone: boolean;
|
|
38
77
|
phoneDistance: number;
|
|
78
|
+
phoneScreens: number;
|
|
39
79
|
ownPhone: boolean;
|
|
40
80
|
};
|
|
41
|
-
export declare function
|
|
42
|
-
|
|
81
|
+
export declare function sectionPinAttrs(props: SectionStickProps, opts?: {
|
|
82
|
+
atScreenTop?: boolean;
|
|
83
|
+
track?: boolean;
|
|
84
|
+
above?: boolean;
|
|
85
|
+
}): {
|
|
86
|
+
attrs: Record<string, string>;
|
|
43
87
|
style: CSSProperties;
|
|
44
88
|
} | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{finiteNumber as
|
|
1
|
+
import{PIN_STICK_VAR as u,PIN_TRACK_POSITION_VAR as O,pinAttrs as d,pinStickVars as f,readPin as h}from"efficient-shell/format";import{finiteNumber as x}from"../finite-number.js";import{viewVarSplit as C}from"./view-var-split.js";const M="Stick to top",N={min:0,max:200,step:4,fallback:0},U="Pin while scrolling",j="Scroll",c={distance:"--sf-pin-distance",position:"--sf-pin-position",on:"--sf-pin-on",length:"--sf-pin-length",stick:"--sf-pin-stick",trackPosition:"--sf-pin-track-position",header:"--sf-pin-header"},A="stickTopScreens",D=[A,"stickTopScreensTablet","stickTopScreensPhone"],H="Screens",y="stickTopStop",k="screen",W="Pin stops at",F=[{value:"header",label:"Under the header"},{value:k,label:"Screen top"}],G="header",X="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.";function m(t){return t===k?k:"header"}function q(t){return t===k?k:void 0}const g="stickAbove",z="Stays above",J="On: the pinned box stays on top, and the sections after it scroll under it.";function L(t){return t.stickAbove===!0}const Q=["stickTop","stickTopDistance","stickTopTablet","stickTopDistanceTablet","stickTopPhone","stickTopDistancePhone",...D,y,g],Z=new Set(["IntroBleed"]),tt=new Set(["CategoryBar","DocTabs","Contents"]);function K(t){return typeof t.stickTop=="boolean"?t.stickTop:t.sticky!==!1}const P=t=>h(!0,t).length,et={any:["stickTop","stickTopTablet","stickTopPhone"].map(t=>({field:t,is:!0}))},nt={all:[{not:{field:"stickTop",in:[!0,!1]}},{not:{field:"sticky",is:!1}}]};function E(t){const o=x(t)??N.fallback;return Math.min(N.max,Math.max(N.min,Math.round(o)))}function v(t){return typeof t.stickTopTablet=="boolean"}function R(t){return typeof t.stickTopPhone=="boolean"}function V(t,o={}){const e=o.intro?K(t):t.stickTop===!0,p=E(t.stickTopDistance),S=P(t.stickTopScreens),s=v(t),T=s?t.stickTopTablet===!0:e,i=s?E(t.stickTopDistanceTablet):p,a=s?P(t.stickTopScreensTablet):S,n=R(t),_=n?t.stickTopPhone===!0:T,r=n?E(t.stickTopDistancePhone):i,l=n?P(t.stickTopScreensPhone):a;return{desktop:e,desktopDistance:p,desktopScreens:S,tablet:T,tabletDistance:i,tabletScreens:a,ownTablet:s,phone:_,phoneDistance:r,phoneScreens:l,ownPhone:n}}function ot(t,o={}){const e=V(t,{intro:o.atScreenTop});if(!e.desktop&&!e.tablet&&!e.phone)return null;const p=o.atScreenTop===!0&&typeof t.stickTop!="boolean",S=e.desktop&&e.desktopScreens>0||e.tablet&&e.tabletScreens>0||e.phone&&e.phoneScreens>0,s=o.above===!0&&L(t),T=o.track===!0&&!p&&S&&!s,i=(r,l,I,b)=>C({tabletClass:"",tabletVar:`${r}-tablet`,phoneClass:"",phoneVar:`${r}-phone`},l,I,b).style,a={...o.atScreenTop||m(t.stickTopStop)===k?{[c.header]:"0px"}:{},[c.distance]:`${e.desktopDistance}px`,...i(c.distance,`${e.desktopDistance}px`,`${e.tabletDistance}px`,`${e.phoneDistance}px`)};if(T){const r=I=>I?"1":"0",l={...a,...e.desktop?{}:{[c.on]:"0"},...i(c.on,r(e.desktop),r(e.tablet),r(e.phone)),[c.length]:String(e.desktopScreens),...i(c.length,String(e.desktopScreens),String(e.tabletScreens),String(e.phoneScreens)),...B(e.desktop&&e.desktopScreens===0,e.tablet&&e.tabletScreens===0,e.phone&&e.phoneScreens===0,i)};return{attrs:d(h(!0),"track").attrs,style:l}}const n=r=>r?"sticky":"static",_={...a,...e.desktop?{}:{[c.position]:"static"},...i(c.position,n(e.desktop),n(e.tablet),n(e.phone))};return{attrs:d(h(!0),"stick",s?{above:s}:{}).attrs,style:_}}function B(t,o,e,p){const S=[[c.stick,u],[c.trackPosition,O]],[s,T,i]=[t,o,e].map(f);return Object.fromEntries(S.flatMap(([a,n])=>[...t?[[a,s[n]]]:[],...Object.entries(p(a,s[n],T[n],i[n]))]))}export{nt as INTRO_OLD_STICKY_PINS,Z as PIN_AT_SCREEN_TOP,J as SECTION_PIN_ABOVE_HINT,g as SECTION_PIN_ABOVE_KEY,z as SECTION_PIN_ABOVE_LABEL,j as SECTION_PIN_GROUP,Q as SECTION_PIN_KEYS,U as SECTION_PIN_LABEL,A as SECTION_PIN_SCREENS_KEY,D as SECTION_PIN_SCREENS_KEYS,H as SECTION_PIN_SCREENS_LABEL,G as SECTION_PIN_STOP_DEFAULT,X as SECTION_PIN_STOP_HINT,y as SECTION_PIN_STOP_KEY,W as SECTION_PIN_STOP_LABEL,F as SECTION_PIN_STOP_OPTIONS,k as SECTION_PIN_STOP_SCREEN,c as SECTION_PIN_VARS,N as SECTION_STICK_DISTANCE,tt as SECTION_STICK_EXCLUDED,M as SECTION_STICK_LABEL,et as SOME_VIEW_PINS,R as hasPhoneStick,v as hasTabletStick,V as resolveSectionStick,L as sectionPinAbove,ot as sectionPinAttrs,m as sectionPinStopOf,q as sectionPinStopWrite};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function slotFieldBlocks(): Set<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{globalRegistry as e}from"../global-registry.js";function t(){return e("efficient.slot-field-blocks",()=>new Set)}export{t as slotFieldBlocks};
|
|
@@ -5,9 +5,11 @@ export type BlockSlots = Record<string, {
|
|
|
5
5
|
type: "slot";
|
|
6
6
|
allow?: string[];
|
|
7
7
|
disallow?: string[];
|
|
8
|
+
ownPictures?: true;
|
|
8
9
|
}>;
|
|
9
10
|
export type BlockRender = Pick<Block, "label" | "defaultProps" | "render" | "inline" | "phoneOrder"> & {
|
|
10
11
|
fields?: BlockSlots;
|
|
12
|
+
drawsPictures?: true;
|
|
11
13
|
};
|
|
12
14
|
export type BlockMeta = Omit<BlockRender, "render">;
|
|
13
15
|
export type BlockFields = Pick<Block, "fields" | "resolveFields" | "resolveData"> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={label:"Banner",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BannerMeta};
|
|
1
|
+
const e={label:"Banner",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BannerMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as
|
|
1
|
+
import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as t,CONTACT_LOCATIONS_DEFAULTS as e}from"../../../../content/contact.js";const i={label:"Contact / Locations",drawsPictures:!0,defaultProps:{sectionNumber:e.sectionNumber,heading:e.heading,tagline:e.tagline,galleryKicker:e.galleryKicker,galleryHint:e.galleryHint,locations:t,mapTheme:e.mapTheme}};export{i as ContactLocationsMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={badge:"Featured",imageDate:e.date,category:e.category,readLabel:"0 min read",date:e.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article — one or two sentences that draw the reader in.",ctaText:"Read the story",ctaHref:t.href},d={label:"Featured cover",defaultProps:{source:null,image:"",badge:"",imageDate:"",category:"",readLabel:"",date:"",title:"",dek:"",ctaText:"",ctaHref:""}};export{r as FEATUREDCOVER_PH,d as FeaturedCoverMeta};
|
|
1
|
+
import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={badge:"Featured",imageDate:e.date,category:e.category,readLabel:"0 min read",date:e.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article — one or two sentences that draw the reader in.",ctaText:"Read the story",ctaHref:t.href},d={label:"Featured cover",drawsPictures:!0,defaultProps:{source:null,image:"",badge:"",imageDate:"",category:"",readLabel:"",date:"",title:"",dek:"",ctaText:"",ctaHref:""}};export{r as FEATUREDCOVER_PH,d as FeaturedCoverMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t={slides:{type:"slot"},strip:{type:"slot",allow:["Flex"]}},e={label:"Hero",fields:t,defaultProps:{alignment:"left",textureOpacity:40,autoplay:!1,autoplayInterval:6}};export{e as HeroMeta,t as HeroSlots};
|
|
1
|
+
const t={slides:{type:"slot",ownPictures:!0},strip:{type:"slot",allow:["Flex"]}},e={label:"Hero",drawsPictures:!0,fields:t,defaultProps:{alignment:"left",textureOpacity:40,autoplay:!1,autoplayInterval:6}};export{e as HeroMeta,t as HeroSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FOCAL_DEFAULT as e}from"efficient-shell/format";import{DEFAULT_OVERLAY_POSITION as r}from"../../../../sections/hero-overlay.js";import{DEFAULT_TINT as o}from"../../../../content/tint.js";const t={boxes:{type:"slot",allow:["HeroGroup"]}},p={label:"Hero Single",fields:t,defaultProps:{mediaType:"image",imageFocal:e,tintColor:o,tintOpacity:0,overlay:100,overlayColor:o,overlayPosition:r}};export{p as HeroSingleMeta,t as HeroSingleSlots};
|
|
1
|
+
import{FOCAL_DEFAULT as e}from"efficient-shell/format";import{DEFAULT_OVERLAY_POSITION as r}from"../../../../sections/hero-overlay.js";import{DEFAULT_TINT as o}from"../../../../content/tint.js";const t={boxes:{type:"slot",allow:["HeroGroup"]}},p={label:"Hero Single",drawsPictures:!0,fields:t,defaultProps:{mediaType:"image",imageFocal:e,tintColor:o,tintOpacity:0,overlay:100,overlayColor:o,overlayPosition:r}};export{p as HeroSingleMeta,t as HeroSingleSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e={label:"Image",drawsPictures:!0,defaultProps:{src:"",alt:"",aspect:"16/9",contained:!1}};export{e as ImageBlockMeta};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{TYPE_SIZE_INHERIT as e}from"../../../../content/section-type-size.js";const
|
|
2
|
-
*Highlight line*`,body:"A sentence or two of supporting copy."},
|
|
1
|
+
import{SECTION_PIN_SCREENS_KEY as t}from"../../../../content/section-sticky.js";import{TYPE_SIZE_INHERIT as e}from"../../../../content/section-type-size.js";const r={eyebrow:"— Label",title:`Section headline
|
|
2
|
+
*Highlight line*`,body:"A sentence or two of supporting copy."},l={label:"Scroll-Over Text",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",imageSrcMobile:"",heightDesktop:100,heightMobile:100,overlay:60,titleSizeDesktop:e,bodySizeDesktop:e,titleSizeMobile:e,bodySizeMobile:e,ctaText:"",ctaHref:"",buttonColor:"",buttonTextColor:"",stickTop:!0,[t]:0,uppercase:!1}};export{r as INTRO_PH,l as IntroBleedMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FOOTER_LOGO_PX as o}from"../../../../logo/logo-size.js";const
|
|
1
|
+
import{FOOTER_LOGO_PX as o}from"../../../../logo/logo-size.js";const r={label:"Logo",drawsPictures:!0,defaultProps:{heightPx:o,reverse:"auto"}};export{r as LogoBlockMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{say as o}from"../../../../editor-words.js";const s={heading:"Trusted by *teams worldwide*"},l=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],t={logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},r={label:"Logos",fields:t,defaultProps:{items:[],contained:!0}};export{s as LOGOS_PH,r as LogosMeta,t as LogosSlots,l as logosScaffoldItems};
|
|
1
|
+
import{say as o}from"../../../../editor-words.js";const s={heading:"Trusted by *teams worldwide*"},l=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],t={logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},r={label:"Logos",drawsPictures:!0,fields:t,defaultProps:{items:[],contained:!0}};export{s as LOGOS_PH,r as LogosMeta,t as LogosSlots,l as logosScaffoldItems};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CTA_PH as t,PH as e}from"../../placeholders.js";const
|
|
1
|
+
import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={headNum:e.sectionNumber,headTitle:e.headingAccent,headDesc:e.body,category:e.category,metaMiddle:"Section",readLabel:"0 min read",title:"Article *headline* goes here.",dek:"A short summary of the article goes here.",quote:"A short pull quote.",quoteAttribution:"— "+e.date,ctaText:"Begin reading",ctaHref:t.href,imageLabel:"Featured *image*",metaPublished:e.date,metaReads:"0 min"},d={label:"Long read",drawsPictures:!0,defaultProps:{source:null,headNum:"",headTitle:"",headDesc:"",category:"",metaMiddle:"",readLabel:"",title:"",dek:"",quote:"",quoteAttribution:"",ctaText:"",ctaHref:"",image:"",imageLabel:"",metaPublished:"",metaReads:""}};export{r as LONGREAD_PH,d as LongReadMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={label:"Brand Text",defaultProps:{eyebrow:"",imageSrc:"",stats:[]}};export{e as ManifestoMeta};
|
|
1
|
+
const e={label:"Brand Text",drawsPictures:!0,defaultProps:{eyebrow:"",imageSrc:"",stats:[]}};export{e as ManifestoMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],
|
|
1
|
+
import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],r=()=>[{text:e("Secure encrypted checkout")},{text:e("30-day returns")}],o={label:"Payment Methods",drawsPictures:!0,defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{t as PAYMENT_PH,o as PaymentBadgesMeta,r as paymentScaffoldAssurances,s as paymentScaffoldBadges};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BOX_DARKEN_STYLES as t}from"../../../../content/box-background.js";import{POST_CARD_HEIGHT as
|
|
1
|
+
import{BOX_DARKEN_STYLES as t}from"../../../../content/box-background.js";import{POST_CARD_HEIGHT as r,POST_CARD_LAYOUT_FALLBACK as o}from"../../../../post-card-layout.js";import{PH as e}from"../../placeholders.js";const d={title:"Add a *headline* for this post.",excerpt:"A short summary of the post — one or two sentences.",category:e.category,date:e.date,readLabel:"0 min read"},m={label:"Post Card",drawsPictures:!0,defaultProps:{source:null,image:"",title:"",excerpt:"",href:"",category:"",date:"",readLabel:"",layout:o,showCover:!0,placement:"bottom-left",darken:55,darkenStyle:t[0].value,minHeight:r.fallback}};export{d as POSTCARD_PH,m as PostCardMeta};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";const
|
|
1
|
+
import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";const p={num:t.sectionNumber,title:t.headingAccent,description:t.body,cta:t.viewAll},o={boxes:{type:"slot"},template:e()},l={label:"Image & Text Columns",drawsPictures:!0,fields:o,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120}};export{p as PROCESS_PH,l as ProcessStepsMeta,o as ProcessStepsSlots};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as t}from"../../../../sections/section-head-style.js";const
|
|
1
|
+
import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as t}from"../../../../sections/section-head-style.js";const i={label:"Section Header",drawsPictures:!0,defaultProps:{headStyle:t,num:"01 / Section",numStyle:e,title:"Section *title*",description:"",logoSrc:"",logoAlt:"",linkText:"",linkHref:""}};export{i as SectionHeaderMeta};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const e={eyebrow:"— Label",title:`Section headline *here.*
|
|
2
|
-
*Highlight line*`,body:"Describe this section in a sentence or two."},t={text:"Learn more"},r={label:"Image & Text Split",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60}};export{t as IMGBTN_PH,e as SPLIT_PH,r as SplitMeta};
|
|
2
|
+
*Highlight line*`,body:"Describe this section in a sentence or two."},t={text:"Learn more"},r={label:"Image & Text Split",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60}};export{t as IMGBTN_PH,e as SPLIT_PH,r as SplitMeta};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{CTA_PH as i,PH as t}from"../../placeholders.js";import{say as e}from"../../../../editor-words.js";const n={eyebrow:t.eyebrow,title:`Section heading
|
|
2
|
-
*Highlight line*`,intro:t.body,imageCaption:t.imageCaption,imageMeta:t.imageMeta,cta:i.text},r=()=>[{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")}],l={label:"Story Timeline",defaultProps:{layout:"split",eyebrow:"",title:"",intro:"",imageSrc:"",imageCaption:"",imageMeta:"",ctaText:"",ctaHref:"",entries:[],padTop:120,padBottom:120}};export{n as TIMELINE_PH,l as TimelineMeta,r as timelineScaffoldEntries};
|
|
2
|
+
*Highlight line*`,intro:t.body,imageCaption:t.imageCaption,imageMeta:t.imageMeta,cta:i.text},r=()=>[{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")}],l={label:"Story Timeline",drawsPictures:!0,defaultProps:{layout:"split",eyebrow:"",title:"",intro:"",imageSrc:"",imageCaption:"",imageMeta:"",ctaText:"",ctaHref:"",entries:[],padTop:120,padBottom:120}};export{n as TIMELINE_PH,l as TimelineMeta,r as timelineScaffoldEntries};
|
|
@@ -21,6 +21,7 @@ export type PassBlock = {
|
|
|
21
21
|
fields?: Record<string, unknown>;
|
|
22
22
|
textParts?: Record<string, unknown>;
|
|
23
23
|
defaultProps?: Record<string, unknown>;
|
|
24
|
+
drawsPictures?: boolean;
|
|
24
25
|
resolveFields?: PassResolveFields;
|
|
25
26
|
resolveData?: PassResolveData;
|
|
26
27
|
render: (props: PassRenderProps) => ReactNode;
|
|
@@ -46,7 +47,11 @@ export type PassInspector = {
|
|
|
46
47
|
}) => FieldMap;
|
|
47
48
|
heightFields: () => FieldMap;
|
|
48
49
|
anchorFields: () => FieldMap;
|
|
49
|
-
stickFields: (
|
|
50
|
+
stickFields: (opts?: {
|
|
51
|
+
intro?: boolean;
|
|
52
|
+
screens?: boolean;
|
|
53
|
+
above?: boolean;
|
|
54
|
+
}) => FieldMap;
|
|
50
55
|
sectionThemeFields: (readValue?: (v: unknown) => unknown, followLabel?: string) => FieldMap;
|
|
51
56
|
animationTabFields: (kind: AnimationTabKind, blockKey?: string) => FieldMap;
|
|
52
57
|
blockSizeFields: (opts?: {
|
|
@@ -462,6 +462,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
462
462
|
readonly "Eyebrow style": "Eyebrow style";
|
|
463
463
|
readonly Facebook: "Facebook";
|
|
464
464
|
readonly Fade: "Fade";
|
|
465
|
+
readonly "Fade in": "Fade in";
|
|
466
|
+
readonly "Fade out": "Fade out";
|
|
465
467
|
readonly Feature: "Feature";
|
|
466
468
|
readonly "Feature Banner": "Feature Banner";
|
|
467
469
|
readonly "Feature Rows": "Feature Rows";
|
|
@@ -767,6 +769,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
767
769
|
readonly "Month DD, YYYY": "Month DD, YYYY";
|
|
768
770
|
readonly More: "More";
|
|
769
771
|
readonly "Most popular": "Most popular";
|
|
772
|
+
readonly "Move down": "Move down";
|
|
773
|
+
readonly "Move up": "Move up";
|
|
770
774
|
readonly "Multi-column container for blocks.": "Multi-column container for blocks.";
|
|
771
775
|
readonly Muted: "Muted";
|
|
772
776
|
readonly Name: "Name";
|
|
@@ -831,6 +835,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
831
835
|
readonly "On the top line": "On the top line";
|
|
832
836
|
readonly "On this page": "On this page";
|
|
833
837
|
readonly "On {count} pages": "On {count} pages";
|
|
838
|
+
readonly "On: the pinned box stays on top, and the sections after it scroll under it.": "On: the pinned box stays on top, and the sections after it scroll under it.";
|
|
834
839
|
readonly One: "One";
|
|
835
840
|
readonly "One line": "One line";
|
|
836
841
|
readonly "One row": "One row";
|
|
@@ -875,6 +880,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
875
880
|
readonly "Panorama 21:9": "Panorama 21:9";
|
|
876
881
|
readonly Paragraph: "Paragraph";
|
|
877
882
|
readonly "Paragraph size \u2014 13px": "Paragraph size — 13px";
|
|
883
|
+
readonly Parallax: "Parallax";
|
|
878
884
|
readonly "Part of {name}": "Part of {name}";
|
|
879
885
|
readonly "Paste a link to each profile. A platform left empty shows nothing on the site.": "Paste a link to each profile. A platform left empty shows nothing on the site.";
|
|
880
886
|
readonly "Payment Logos": "Payment Logos";
|
|
@@ -891,6 +897,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
891
897
|
readonly "Pick who to reach, then a form that routes the message.": "Pick who to reach, then a form that routes the message.";
|
|
892
898
|
readonly Picture: "Picture";
|
|
893
899
|
readonly "Picture first": "Picture first";
|
|
900
|
+
readonly "Pin stops at": "Pin stops at";
|
|
901
|
+
readonly "Pin while scrolling": "Pin while scrolling";
|
|
894
902
|
readonly Pinterest: "Pinterest";
|
|
895
903
|
readonly Place: "Place";
|
|
896
904
|
readonly Placement: "Placement";
|
|
@@ -1002,6 +1010,9 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1002
1010
|
readonly Scale: "Scale";
|
|
1003
1011
|
readonly Screen: "Screen";
|
|
1004
1012
|
readonly "Screen 16:10": "Screen 16:10";
|
|
1013
|
+
readonly "Screen top": "Screen top";
|
|
1014
|
+
readonly Screens: "Screens";
|
|
1015
|
+
readonly Scroll: "Scroll";
|
|
1005
1016
|
readonly "Scroll-Over Text": "Scroll-Over Text";
|
|
1006
1017
|
readonly "Scrolling Bar": "Scrolling Bar";
|
|
1007
1018
|
readonly Search: "Search";
|
|
@@ -1131,6 +1142,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1131
1142
|
readonly "Stats & social proof": "Stats & social proof";
|
|
1132
1143
|
readonly "Stats with Text": "Stats with Text";
|
|
1133
1144
|
readonly "Status chip": "Status chip";
|
|
1145
|
+
readonly "Stays above": "Stays above";
|
|
1134
1146
|
readonly "Step *one*": "Step *one*";
|
|
1135
1147
|
readonly "Step *three*": "Step *three*";
|
|
1136
1148
|
readonly "Step *two*": "Step *two*";
|
|
@@ -1307,6 +1319,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1307
1319
|
readonly "Tyre Sizes": "Tyre Sizes";
|
|
1308
1320
|
readonly "URL pill": "URL pill";
|
|
1309
1321
|
readonly "URL: /{slug}": "URL: /{slug}";
|
|
1322
|
+
readonly "Under the header": "Under the header";
|
|
1323
|
+
readonly "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.": "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.";
|
|
1310
1324
|
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.";
|
|
1311
1325
|
readonly Undo: "Undo";
|
|
1312
1326
|
readonly "Undo did not work. Nothing changed. Try again.": "Undo did not work. Nothing changed. Try again.";
|
|
@@ -1399,6 +1413,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1399
1413
|
readonly "Your unpublished changes are kept": "Your unpublished changes are kept";
|
|
1400
1414
|
readonly Zigzag: "Zigzag";
|
|
1401
1415
|
readonly Zoom: "Zoom";
|
|
1416
|
+
readonly "Zoom in": "Zoom in";
|
|
1417
|
+
readonly "Zoom out": "Zoom out";
|
|
1402
1418
|
readonly "all theme colors": "all theme colors";
|
|
1403
1419
|
readonly arrangement: "arrangement";
|
|
1404
1420
|
readonly "body text": "body text";
|