efficient-web-builder 49.1.0 → 50.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/editor/components/EditorPagePathProvider.d.ts +4 -0
  3. package/dist/editor/components/EditorPagePathProvider.js +1 -0
  4. package/dist/editor/components/PagesPanel.js +1 -1
  5. package/dist/editor/components/SourceStatus.d.ts +3 -3
  6. package/dist/editor/components/SourceStatus.js +1 -1
  7. package/dist/editor/components/StorefrontEditor.js +1 -1
  8. package/dist/editor/components/WebsiteScreenParts.js +1 -1
  9. package/dist/editor/lib/document/add-target.js +1 -1
  10. package/dist/editor/lib/document/block-source-fields.d.ts +6 -0
  11. package/dist/editor/lib/document/block-source-fields.js +1 -1
  12. package/dist/editor/lib/document/blocks/general/Cards/fields.js +1 -1
  13. package/dist/editor/lib/document/blocks/general/ContactLocations/fields.js +1 -1
  14. package/dist/editor/lib/document/blocks/general/PaymentBadges/fields.js +1 -1
  15. package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
  16. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  17. package/dist/editor/lib/document/card-display-chips.d.ts +7 -2
  18. package/dist/editor/lib/document/card-display-chips.js +1 -1
  19. package/dist/editor/lib/document/card-row-fields.js +1 -1
  20. package/dist/editor/lib/document/field-groups.js +1 -1
  21. package/dist/editor/lib/document/slot-new-children.d.ts +2 -0
  22. package/dist/editor/lib/document/slot-new-children.js +1 -0
  23. package/dist/editor/lib/sections/hero-ticker-to-strip.js +1 -1
  24. package/dist/editor/lib/sections/new-section-node.js +1 -1
  25. package/dist/format/lib/content/block-sources.d.ts +11 -0
  26. package/dist/format/lib/content/block-sources.js +1 -1
  27. package/dist/format/lib/content/card-place.d.ts +8 -0
  28. package/dist/format/lib/content/card-place.js +1 -0
  29. package/dist/format/lib/content/card-template.d.ts +14 -2
  30. package/dist/format/lib/content/card-template.js +1 -1
  31. package/dist/format/lib/document/blocks/general/Cards/card-seed.d.ts +15 -0
  32. package/dist/format/lib/document/blocks/general/Cards/card-seed.js +1 -0
  33. package/dist/format/lib/document/blocks/general/Cards/meta.d.ts +6 -0
  34. package/dist/format/lib/document/blocks/general/Cards/meta.js +1 -1
  35. package/dist/format/lib/document/blocks/general/text-part-shapes.json +8 -0
  36. package/dist/format/lib/document/cards-template-on-read.d.ts +4 -0
  37. package/dist/format/lib/document/cards-template-on-read.js +1 -0
  38. package/dist/format/lib/document/editor-page-context.js +1 -1
  39. package/dist/format/lib/document/renamed-props.js +1 -1
  40. package/dist/format/lib/document/section-catalog.js +22 -2
  41. package/dist/format/lib/document/seed-parts.d.ts +18 -0
  42. package/dist/format/lib/document/seed-parts.js +1 -0
  43. package/dist/format/lib/editor-page-rows.d.ts +2 -0
  44. package/dist/format/lib/editor-page-rows.js +1 -1
  45. package/dist/format/lib/editor-words-catalogue.d.ts +12 -4
  46. package/dist/format/lib/editor-words-catalogue.js +3 -3
  47. package/dist/format/lib/hero-ticker.d.ts +4 -0
  48. package/dist/format/lib/hero-ticker.js +1 -1
  49. package/dist/format/lib/page-at-own-slug.d.ts +9 -0
  50. package/dist/format/lib/page-at-own-slug.js +1 -0
  51. package/dist/format/lib/popup/new-popup.js +1 -1
  52. package/dist/render/components/Cards.d.ts +4 -2
  53. package/dist/render/components/Cards.js +1 -1
  54. package/dist/render/components/Flex.js +1 -1
  55. package/dist/render/components/Text.d.ts +2 -1
  56. package/dist/render/components/Text.js +1 -1
  57. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
  58. package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
  59. package/dist/render/lib/document/blocks/general/section-head-looks.d.ts +1 -2
  60. package/dist/render/lib/document/blocks/general/section-head-looks.js +2 -2
  61. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +1 -5
  62. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  63. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  64. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  65. package/dist/render/lib/document/blocks/general/section-to-box-rows-timeline.js +2 -2
  66. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  67. package/dist/render/lib/sections/section-to-box.d.ts +7 -7
  68. package/dist/render/lib/sections/section-to-box.js +1 -1
  69. package/dist/render/lib/site-runtime.d.ts +2 -0
  70. package/dist/render/lib/site-runtime.js +1 -1
  71. package/package.json +2 -2
@@ -15,6 +15,17 @@ export interface BlockSourceSpec {
15
15
  blocks: readonly string[];
16
16
  sample?: readonly SourceRow[];
17
17
  choices?: readonly SourceChoice[];
18
+ fields?: readonly SourceFieldSpec[];
19
+ edit?: SourceEditLink;
20
+ }
21
+ export interface SourceFieldSpec {
22
+ key: string;
23
+ label: string;
24
+ kind?: "text" | "image" | "link";
25
+ }
26
+ export interface SourceEditLink {
27
+ label: string;
28
+ href: string;
18
29
  }
19
30
  export declare function registerBlockSources(sources: readonly BlockSourceSpec[]): void;
20
31
  export declare function blockSources(block?: string): readonly BlockSourceSpec[];
@@ -1 +1 @@
1
- import{globalRegistry as c}from"../global-registry.js";import{nonEmptyString as i}from"../non-empty-string.js";const a="dataSource",S="dataSourceOptions",u="dataRows",g="countKey",x="counts",f=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function s(){return c("efficient.block-sources",()=>({sources:new Map,revision:0}))}const p=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!=="");function y(e){if(typeof e.key!="string"||!f.test(e.key))throw new Error(`A block source key is lower-case words joined by hyphens, not ${JSON.stringify(e.key)}.`);if(typeof e.label!="string"||!e.label.trim())throw new Error(`The block source ${e.key} has no label.`);if(!Array.isArray(e.blocks)||!e.blocks.length||e.blocks.some(t=>typeof t!="string"||!t))throw new Error(`The block source ${e.key} names no block it can fill.`);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(t=>l(t)).filter(t=>t!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(p)}:{}}}function R(e){const t=e.map(y),r=s();for(const o of t)r.sources.set(o.key,o);t.length&&(r.revision+=1)}function d(e){const t=[...s().sources.values()];return e===void 0?t:t.filter(r=>r.blocks.includes(e))}function k(e){return s().sources.get(e)??null}function w(e){return s().sources.get(e)?.choices??[]}function C(){return s().revision}function b(e){const t=e?.[a];return typeof t=="string"?t.trim():""}function l(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t={};for(const[r,o]of Object.entries(e)){const n=i(o);n&&(t[r]=n)}return Object.keys(t).length?t:null}function m(e){const t=e?.[u];return Array.isArray(t)?t.map(l).filter(r=>r!==null):null}function _(e,t,r=[]){const o=m(e);if(o!==null&&(o.length||!t))return{rows:o,sample:!1};if(!t)return{rows:[],sample:!1};const n=k(b(e))?.sample;return{rows:n?.length?n:r,sample:!0}}export{S as BLOCK_SOURCE_OPTIONS_PROP,a as BLOCK_SOURCE_PROP,u as BLOCK_SOURCE_ROWS_PROP,x as COUNTS_SOURCE,g as COUNT_KEY_PROP,k as blockSourceSpec,d as blockSources,C as blockSourcesRevision,b as declaredBlockSource,R as registerBlockSources,m as servedRows,w as sourceChoices,_ as sourcedRows};
1
+ import{globalRegistry as i}from"../global-registry.js";import{nonEmptyString as c}from"../non-empty-string.js";const a="dataSource",S="dataSourceOptions",f="dataRows",x="countKey",R="counts",u=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function s(){return i("efficient.block-sources",()=>({sources:new Map,revision:0}))}const y=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),p=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),b=e=>[e?.label,e?.href].every(t=>typeof t=="string"&&t.trim()!=="");function k(e){if(typeof e.key!="string"||!u.test(e.key))throw new Error(`A block source key is lower-case words joined by hyphens, not ${JSON.stringify(e.key)}.`);if(typeof e.label!="string"||!e.label.trim())throw new Error(`The block source ${e.key} has no label.`);if(!Array.isArray(e.blocks)||!e.blocks.length||e.blocks.some(t=>typeof t!="string"||!t))throw new Error(`The block source ${e.key} names no block it can fill.`);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(t=>l(t)).filter(t=>t!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(y)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(p).map(t=>({...t}))}:{},...b(e.edit)?{edit:{label:e.edit.label.trim(),href:e.edit.href.trim()}}:{}}}function v(e){const t=e.map(k),r=s();for(const o of t)r.sources.set(o.key,o);t.length&&(r.revision+=1)}function C(e){const t=[...s().sources.values()];return e===void 0?t:t.filter(r=>r.blocks.includes(e))}function m(e){return s().sources.get(e)??null}function E(e){return s().sources.get(e)?.choices??[]}function _(){return s().revision}function h(e){const t=e?.[a];return typeof t=="string"?t.trim():""}function l(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t={};for(const[r,o]of Object.entries(e)){const n=c(o);n&&(t[r]=n)}return Object.keys(t).length?t:null}function d(e){const t=e?.[f];return Array.isArray(t)?t.map(l).filter(r=>r!==null):null}function w(e,t,r=[]){const o=d(e);if(o!==null&&(o.length||!t))return{rows:o,sample:!1};if(!t)return{rows:[],sample:!1};const n=m(h(e))?.sample;return{rows:n?.length?n:r,sample:!0}}export{S as BLOCK_SOURCE_OPTIONS_PROP,a as BLOCK_SOURCE_PROP,f as BLOCK_SOURCE_ROWS_PROP,R as COUNTS_SOURCE,x as COUNT_KEY_PROP,m as blockSourceSpec,C as blockSources,_ as blockSourcesRevision,h as declaredBlockSource,v as registerBlockSources,d as servedRows,E as sourceChoices,w as sourcedRows};
@@ -0,0 +1,8 @@
1
+ export declare const CARD_PLACE_PROP = "cardPlace";
2
+ export type CardPlace = "" | "top-line";
3
+ export declare function cardPlaceOf(props: Record<string, unknown>): CardPlace;
4
+ export declare const TOP_LINE_CLASS = "absolute left-5 top-0 z-10 -translate-y-1/2 bg-bg px-2";
5
+ export declare const TOP_LINE_ATTRIBUTE = "data-sf-top-line";
6
+ export declare const FRAMED_CARD_OWNERS: ReadonlySet<string>;
7
+ export declare function framesItsCards(ownerType: unknown): boolean;
8
+ export declare const OUTSIDE_FRAMED_CARD = "outsideFramedCard";
@@ -0,0 +1 @@
1
+ const e="cardPlace";function r(t){return t[e]==="top-line"?"top-line":""}const n="absolute left-5 top-0 z-10 -translate-y-1/2 bg-bg px-2",a="data-sf-top-line",o=new Set(["Cards"]);function s(t){return typeof t=="string"&&o.has(t)}const p="outsideFramedCard";export{e as CARD_PLACE_PROP,o as FRAMED_CARD_OWNERS,p as OUTSIDE_FRAMED_CARD,a as TOP_LINE_ATTRIBUTE,n as TOP_LINE_CLASS,r as cardPlaceOf,s as framesItsCards};
@@ -1,4 +1,4 @@
1
- import type { SourceRow } from "./block-sources.js";
1
+ import { type SourceRow } from "./block-sources.js";
2
2
  import type { CardCopyPlace } from "./mirror-cards.js";
3
3
  export declare const CARD_TEMPLATE_SLOT = "template";
4
4
  export declare const CARD_TEMPLATE_LABEL = "Card template";
@@ -14,25 +14,37 @@ export interface CardRowFieldSpec {
14
14
  key: string;
15
15
  label: string;
16
16
  kind?: CardRowFieldKind;
17
+ multiline?: boolean;
17
18
  alt?: string;
19
+ everySource?: boolean;
18
20
  }
19
21
  export interface CardTemplateSpec {
20
22
  block: string;
21
23
  fields: readonly CardRowFieldSpec[];
22
24
  blocks?: readonly CardTemplateBlock[];
25
+ seed?: (props: Record<string, unknown>) => Record<string, unknown>;
23
26
  }
24
27
  export interface CardTemplateBlock {
25
28
  type: string;
26
29
  label: string;
27
30
  }
28
31
  export declare function registerCardTemplates(specs: readonly CardTemplateSpec[]): void;
32
+ export declare function templateOnRead(type: string | undefined, props: Record<string, unknown>): Record<string, unknown>;
29
33
  export declare function cardTemplatesNameBlocks(): boolean;
30
34
  export declare function cardTemplateBlocks(type: string): readonly CardTemplateBlock[];
31
35
  export declare function isCardTemplateBlock(type: string): boolean;
32
36
  export declare function hasCardTemplate(type: unknown): boolean;
33
37
  export declare function cardTemplateFields(type: string, kind?: CardRowFieldKind): readonly CardRowFieldSpec[];
34
- export declare function cardTemplateField(type: string | undefined, key: string): CardRowFieldSpec | null;
38
+ export declare function cardTemplateFieldsOf(owner: {
39
+ type?: unknown;
40
+ props?: Record<string, unknown>;
41
+ } | null | undefined, kind?: CardRowFieldKind): readonly CardRowFieldSpec[];
42
+ export declare function cardTemplateField(type: string | undefined, key: string, owner?: {
43
+ type?: unknown;
44
+ props?: Record<string, unknown>;
45
+ } | null): CardRowFieldSpec | null;
35
46
  export declare function namedRowField(props: Record<string, unknown> | null | undefined, prop?: string): string;
47
+ export declare function cardKeyOf(row: SourceRow, index: number): string;
36
48
  export declare function cardRow(value: unknown): SourceRow;
37
49
  export declare function rowBound(type: string, props: Record<string, unknown> | null | undefined, key: string): boolean;
38
50
  export declare function rowFieldText(row: SourceRow | null | undefined, key: string): string | null;
@@ -1 +1 @@
1
- import{isNodeList as b}from"efficient-easel/data";import{BOX_TYPE as k}from"../document/container-blocks.js";import{globalRegistry as T}from"../global-registry.js";const B="template",L="Card template",w=["Text","ImageBlock","ButtonBlock","Flex"],f="rowField",A="rowLinkField";function P(){return{type:"slot",allow:[...w]}}const C=[{block:"OrderSummary",fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]}];function l(){return T("efficient.card-templates",()=>new Map(C.map(e=>[e.block,e])))}function h(e){for(const t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");const n=[];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.`);n.some(c=>c.type===o.type)||n.push({type:o.type,label:o.label||o.type})}l().set(t.block,{block:t.block,fields:t.fields.map(o=>({...o})),blocks:n})}}function F(){for(const e of l().values())if(e.blocks?.length)return!0;return!1}function D(e){return l().get(e)?.blocks??[]}function I(e){for(const t of l().values())if(t.blocks?.some(n=>n.type===e))return!0;return!1}function g(e){return typeof e=="string"&&l().has(e)}function M(e,t){const n=l().get(e)?.fields??[];return t?n.filter(o=>(o.kind??"text")===t):n}function S(e,t){return e?l().get(e)?.fields.find(n=>n.key===t)??null:null}function d(e,t=f){const n=e?.[t];return typeof n=="string"?n.trim():""}function j(e){const t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(const[n,o]of Object.entries(e))typeof o=="string"&&(t[n]=o);return t}const m={Text:{text:f},ImageBlock:{src:f},ButtonBlock:{label:f,href:A}};function N(e,t,n){const o=m[e]?.[n];return!!(o&&d(t,o))}function O(e,t){return!t||!e?null:e[t]??""}function W(e,t,n){if(!n)return t;let o=null;for(const[c,i]of Object.entries(m[e]??{})){const r=O(n,d(t,i));r!==null&&(o??={...t},o[c]=r)}return o??t}function u(e,t){const n=e?.data?.content;if(!Array.isArray(n)||typeof t!="string")return;const o=(i,r)=>{for(const s of i){if(s?.props?.id===t)return r;for(const[x,a]of Object.entries(s?.props??{})){if(!b(a))continue;const y=x===B&&g(s.type)?{owner:s,direct:!0,nested:r!==null,underBox:!1}:r&&{owner:r.owner,direct:!1,nested:r.nested,underBox:r.underBox||s.type===k},p=o(a,y);if(p!==void 0)return p}}},c=o(n,null);return c===void 0?null:c}function v(e,t){const n=u(e,t);return n&&n.owner}function K(e,t){const n=u(e,t);return n&&(n.direct?n.owner:null)}function U(e,t){const n=u(e,t);if(n!==void 0)return n===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:n.nested,underBox:n.underBox}}export{f as CARD_ROW_FIELD_PROP,A as CARD_ROW_LINK_PROP,w as CARD_TEMPLATE_BLOCKS,L as CARD_TEMPLATE_LABEL,B as CARD_TEMPLATE_SLOT,U as cardCopyPlace,j as cardRow,D as cardTemplateBlocks,K as cardTemplateCardOwner,S as cardTemplateField,M as cardTemplateFields,v as cardTemplateOwner,P as cardTemplateSlot,F as cardTemplatesNameBlocks,g as hasCardTemplate,I as isCardTemplateBlock,d as namedRowField,h as registerCardTemplates,N as rowBound,O as rowFieldText,W as rowFilledProps};
1
+ import{blockSourceSpec as k,declaredBlockSource as x}from"./block-sources.js";import{isNodeList as T}from"efficient-easel/data";import{BOX_TYPE as g}from"../document/container-blocks.js";import{globalRegistry as B}from"../global-registry.js";import{withCardsTemplate as C}from"../document/cards-template-on-read.js";const w="template",v="Card template",O=["Text","ImageBlock","ButtonBlock","Flex"],u="rowField",A="rowLinkField";function I(){return{type:"slot",allow:[...O]}}const L=[{block:"OrderSummary",fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:"Cards",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=>C("Cards",e)}];function c(){return B("efficient.card-templates",()=>new Map(L.map(e=>[e.block,e])))}function M(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 n of t.blocks??[]){if(typeof n?.type!="string"||!n.type)throw new Error(`The card template of ${t.block} names an empty block.`);r.some(l=>l.type===n.type)||r.push({type:n.type,label:n.label||n.type})}c().set(t.block,{block:t.block,fields:t.fields.map(n=>({...n})),blocks:r,...t.seed?{seed:t.seed}:{}})}}function N(e,t){const r=e?c().get(e)?.seed:void 0;return r?r(t):t}function j(){for(const e of c().values())if(e.blocks?.length)return!0;return!1}function K(e){return c().get(e)?.blocks??[]}function W(e){for(const t of c().values())if(t.blocks?.some(r=>r.type===e))return!0;return!1}function R(e){return typeof e=="string"&&c().has(e)}function U(e,t){const r=c().get(e)?.fields??[];return t?r.filter(n=>(n.kind??"text")===t):r}function _(e,t){const r=typeof e?.type=="string"?e.type:"";if(!r)return[];const n=c().get(r)?.fields??[],l=k(x(e?.props))?.fields,s=l?.length?[...l.map(o=>({...o})),...n.filter(o=>o.everySource&&!l.some(i=>i.key===o.key))]:n;return t?s.filter(o=>(o.kind??"text")===t):s}function H(e,t,r){return e?r?_(r).find(n=>n.key===t)??null:c().get(e)?.fields.find(n=>n.key===t)??null:null}function p(e,t=u){const r=e?.[t];return typeof r=="string"?r.trim():""}function V(e,t){return e.key||String(t+1)}function X(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 y={Text:{text:u},ImageBlock:{src:u},ButtonBlock:{label:u,href:A}};function Y(e,t,r){const n=y[e]?.[r];return!!(n&&p(t,n))}function h(e,t){return!t||!e?null:e[t]??""}function $(e,t,r){if(!r)return t;let n=null;for(const[l,s]of Object.entries(y[e]??{})){const o=h(r,p(t,s));o!==null&&(n??={...t},n[l]=o)}return n??t}function f(e,t){const r=e?.data?.content;if(!Array.isArray(r)||typeof t!="string")return;const n=(s,o)=>{for(const i of s){if(i?.props?.id===t)return o;for(const[m,a]of Object.entries(i?.props??{})){if(!T(a))continue;const b=m===w&&R(i.type)?{owner:i,direct:!0,nested:o!==null,underBox:!1}:o&&{owner:o.owner,direct:!1,nested:o.nested,underBox:o.underBox||i.type===g},d=n(a,b);if(d!==void 0)return d}}},l=n(r,null);return l===void 0?null:l}function q(e,t){const r=f(e,t);return r&&r.owner}function z(e,t){const r=f(e,t);return r&&(r.direct?r.owner:null)}function G(e,t){const r=f(e,t);if(r!==void 0)return r===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:r.nested,underBox:r.underBox}}export{u as CARD_ROW_FIELD_PROP,A as CARD_ROW_LINK_PROP,O as CARD_TEMPLATE_BLOCKS,v as CARD_TEMPLATE_LABEL,w as CARD_TEMPLATE_SLOT,G as cardCopyPlace,V as cardKeyOf,X as cardRow,K as cardTemplateBlocks,z as cardTemplateCardOwner,H as cardTemplateField,U as cardTemplateFields,_ as cardTemplateFieldsOf,q as cardTemplateOwner,I as cardTemplateSlot,j as cardTemplatesNameBlocks,R as hasCardTemplate,W as isCardTemplateBlock,p as namedRowField,M as registerCardTemplates,Y as rowBound,h as rowFieldText,$ as rowFilledProps,N as templateOnRead};
@@ -0,0 +1,15 @@
1
+ import { type BlockSeed, type SeededNode } from "../../../seed-parts.js";
2
+ type Props = Record<string, unknown>;
3
+ export declare const CARDS_CARD: Props;
4
+ export declare const CARDS_TITLE_LOOK: Props;
5
+ export declare const CARDS_BODY_LOOK: Props;
6
+ export declare const rowFieldTextSeed: (field: string, props: Props, style: Props, eyebrow?: boolean) => BlockSeed;
7
+ export type CardsCardFields = {
8
+ title: string;
9
+ body: string;
10
+ };
11
+ export declare const TYPED_CARD_FIELDS: CardsCardFields;
12
+ export declare const SERVED_CARD_FIELDS: CardsCardFields;
13
+ export declare const cardsCardSeed: (fields?: CardsCardFields) => BlockSeed;
14
+ export declare const cardsTemplateNodes: (idOf: (type: string, at: string) => string, fields?: CardsCardFields) => SeededNode[];
15
+ export {};
@@ -0,0 +1 @@
1
+ import{CARD_ROW_FIELD_PROP as d}from"../../../../content/card-template.js";import{BOX_TYPE as l,CONTAINER_BLOCKS_SLOT as a}from"../../../container-blocks.js";import{DIM as s,INNER_BOX as n,TEXT as _,boxPadding as x,seedNodes as S,token as o}from"../../../seed-parts.js";import{labelTextSeed as D}from"../../../text-seeds.js";const c={...n,gap:12,gapPhone:12,...x(32,32,28,28)},m={textStyle:"heading-3",...o("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},y={textStyle:"body-1",...o("body",15),lineHeight:1.6},p=(t,e,r,i=!1)=>({type:"Text",props:{...e,text:"",[d]:t,_partStyles:{text:{...i?D()._partStyles?.text??{}:{},...r}}}}),O={title:"title",body:"body"},b={title:"name",body:"note"},R=(t=O)=>({type:l,props:{...c,name:"Card"},slots:{[a]:[p(t.title,{..._,tag:"p",widthFit:"fill"},m),p(t.body,{...s,tag:"p",widthFit:"fill"},y)]}}),h=(t,e)=>S([R(e)],t);export{y as CARDS_BODY_LOOK,c as CARDS_CARD,m as CARDS_TITLE_LOOK,b as SERVED_CARD_FIELDS,O as TYPED_CARD_FIELDS,R as cardsCardSeed,h as cardsTemplateNodes,p as rowFieldTextSeed};
@@ -4,4 +4,10 @@ export declare const CARDS_PH: {
4
4
  title: string;
5
5
  };
6
6
  export type CardStyle = "cards" | "label-only";
7
+ export declare const CardsSlots: {
8
+ template: {
9
+ type: "slot";
10
+ allow: string[];
11
+ };
12
+ };
7
13
  export declare const CardsMeta: BlockMeta;
@@ -1 +1 @@
1
- const e={eyebrow:"Label",title:"Section *heading.*"},t={label:"Cards",defaultProps:{eyebrow:"",title:"",items:[],columns:3}};export{e as CARDS_PH,t as CardsMeta};
1
+ import{cardTemplateSlot as e}from"../../../../content/card-template.js";const l={eyebrow:"Label",title:"Section *heading.*"},t={template:e()},r={label:"Cards",fields:t,defaultProps:{eyebrow:"",title:"",items:[],columns:3}};export{l as CARDS_PH,r as CardsMeta,t as CardsSlots};
@@ -108,6 +108,14 @@
108
108
  }
109
109
  }
110
110
  }
111
+ },
112
+ "highlightBadge": {
113
+ "type": "custom",
114
+ "__text": {
115
+ "control": "text",
116
+ "label": "Highlight badge",
117
+ "placeholder": "Most popular"
118
+ }
111
119
  }
112
120
  },
113
121
  "CategoryBar": {
@@ -0,0 +1,4 @@
1
+ type Props = Record<string, unknown>;
2
+ export declare function withCardsTemplate(type: string | undefined, props: Props): Props;
3
+ export declare function cardsFieldsFollowContent(props: Props): Props;
4
+ export {};
@@ -0,0 +1 @@
1
+ import{declaredBlockSource as u}from"../content/block-sources.js";import{nonEmptyString as C}from"../non-empty-string.js";import{CARD_ROW_FIELD_PROP as s}from"../content/card-template.js";import{CONTAINER_BLOCKS_SLOT as y}from"./container-blocks.js";import{SERVED_CARD_FIELDS as a,TYPED_CARD_FIELDS as c,cardsTemplateNodes as E}from"./blocks/general/Cards/card-seed.js";function O(e,t){if(e!=="Cards")return t;if(t.template!==void 0)return D(t);const r=C(t.id)??"Cards",o=u(t)?a:c;return{...t,template:E((m,n)=>n==="0"?`${r}~card`:`${r}~card.${n.slice(2)}`,o)}}const A=e=>{const[t,r]=e?[c,a]:[a,c];return new Map([[t.title,r.title],[t.body,r.body]])};function _(e,t){let r=null;return e.forEach((o,m)=>{const n=o?.props;if(!n)return;let i=n;const l=n[s];o.type==="Text"&&typeof l=="string"&&t.has(l)&&(i={...i,[s]:t.get(l)});const f=n[y];if(Array.isArray(f)){const d=_(f,t);d!==f&&(i={...i,[y]:d})}i!==n&&(r??=[...e],r[m]={...o,props:i})}),r??e}function D(e){if(!Array.isArray(e.template))return e;const t=_(e.template,A(!!u(e)));return t===e.template?e:{...e,template:t}}export{D as cardsFieldsFollowContent,O as withCardsTemplate};
@@ -1 +1 @@
1
- import{PRODUCT_PAGE_SLUG as n,templateProductKind as i}from"../content/product-page.js";import{declaredRecordType as l}from"../content/record-types.js";let t=null,r=null;function u(e,o){t=e,r=o}function p(e){u(e,null)}function g(){return t}function d(){return r==="dynamic"||t===n}function P(e){return i(t??"",e)??"alloy-wheel"}function f(e){return d()?l(e):null}export{f as editorRecordType,P as editorTemplateProductKind,g as getEditorPageSlug,d as isEditorOnDynamicPage,u as setEditorPage,p as setEditorPageSlug};
1
+ import{PRODUCT_PAGE_SLUG as n,templateProductKind as i}from"../content/product-page.js";import{declaredRecordType as l}from"../content/record-types.js";import{isDynamicPageRow as u}from"../editor-page-rows.js";let t=null,r=null;function d(e,o){t=e,r=o}function P(e){d(e,null)}function m(){return t}function a(){return u({kind:r})||t===n}function f(e){return i(t??"",e)??"alloy-wheel"}function x(e){return a()?l(e):null}export{x as editorRecordType,f as editorTemplateProductKind,m as getEditorPageSlug,a as isEditorOnDynamicPage,d as setEditorPage,P as setEditorPageSlug};
@@ -1 +1 @@
1
- import{isNodeList as a}from"efficient-easel/data";const m={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"};function l(n){let e=n.props,c=!1;if(n.type&&e)for(const[t,o]of Object.entries(m)){const r=t.indexOf("."),i=t.slice(0,r),s=t.slice(r+1);if(i!==n.type||!(s in e))continue;const p=e[s],f={...e};delete f[s],(!(o in f)||f[o]===void 0)&&(f[o]=p),e=f,c=!0}if(e){let t=e;for(const[o,r]of Object.entries(e)){if(!a(r))continue;const i=r.map(l);i.some((s,p)=>s!==r[p])&&(t===e&&(t={...e}),t[o]=i,c=!0)}e=t}return c?{...n,props:e}:n}function d(n){const e=n;if(!e||typeof e!="object")return n;let c=!1;const t={...n};if(Array.isArray(e.content)){const o=e.content.map(l);o.some((r,i)=>r!==e.content[i])&&(t.content=o,c=!0)}if(e.zones&&typeof e.zones=="object"){let o=!1;const r=Object.fromEntries(Object.entries(e.zones).map(([i,s])=>{if(!Array.isArray(s))return[i,s];const p=s.map(l);return p.some((f,u)=>f!==s[u])&&(o=!0),[i,p]}));o&&(t.zones=r,c=!0)}return c?t:n}export{m as RENAMED_PROPS,d as migrateRenamedProps};
1
+ import{isNodeList as m}from"efficient-easel/data";import{templateOnRead as u}from"../content/card-template.js";const y={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"};function l(o){let e=o.props,c=!1;if(o.type&&e)for(const[t,r]of Object.entries(y)){const n=t.indexOf("."),i=t.slice(0,n),s=t.slice(n+1);if(i!==o.type||!(s in e))continue;const p=e[s],f={...e};delete f[s],(!(r in f)||f[r]===void 0)&&(f[r]=p),e=f,c=!0}if(o.type&&e){const t=u(o.type,e);t!==e&&(e=t,c=!0)}if(e){let t=e;for(const[r,n]of Object.entries(e)){if(!m(n))continue;const i=n.map(l);i.some((s,p)=>s!==n[p])&&(t===e&&(t={...e}),t[r]=i,c=!0)}e=t}return c?{...o,props:e}:o}function g(o){const e=o;if(!e||typeof e!="object")return o;let c=!1;const t={...o};if(Array.isArray(e.content)){const r=e.content.map(l);r.some((n,i)=>n!==e.content[i])&&(t.content=r,c=!0)}if(e.zones&&typeof e.zones=="object"){let r=!1;const n=Object.fromEntries(Object.entries(e.zones).map(([i,s])=>{if(!Array.isArray(s))return[i,s];const p=s.map(l);return p.some((f,a)=>f!==s[a])&&(r=!0),[i,p]}));r&&(t.zones=n,c=!0)}return c?t:o}export{y as RENAMED_PROPS,g as migrateRenamedProps};
@@ -1,4 +1,4 @@
1
- const h=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero Slideshow",set:"general"},{type:"HeroSingle",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"TyreFitment",label:"Tyre Fitment Form",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"},{type:"RelatedProducts",label:"Related Products",set:"commerce"},{type:"BundleOffer",label:"Bundle Products",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"DeliveryOptions",label:"Delivery Options",set:"commerce"},{type:"PaymentBadges",label:"Payment Methods",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"StatsParagraph",label:"Stats with Text",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Testimonials",label:"Testimonials",set:"general"},{type:"Reviews",label:"Reviews",set:"service"},{type:"Logos",label:"Logos",set:"general"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"Masthead",label:"Issue Header",set:"general"},{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"Series",label:"Recurring Columns",set:"general"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocMasthead",label:"Document Header",set:"general"},{type:"DocBody",label:"Document Text",set:"general"},{type:"DocMetaCards",label:"Document Detail Cards",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"}]}];function p(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const l={Grid:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A — shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or a shape (Big left, Big right, Bigger left, Bigger right) and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` — 256 documents): 2 Grid nodes, and they are ONE Grid counted twice — the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 — equal thirds — and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n⚠️ THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned — hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. ⛔ So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says — Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS — the owner redoes live sections himself.\n\n⚠️ AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot — a Box included — refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` §3 pins it.',CompatibleTyres:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings — it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 — it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n⚠️ THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call — nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n • settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT — the map holds only TimelineTrack and Footprint, both AUTHORED lists\n • read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n • panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n • head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero — neither can style them — and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS — the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n⚠️ AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.',Spacer:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
1
+ const h=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero Slideshow",set:"general"},{type:"HeroSingle",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"TyreFitment",label:"Tyre Fitment Form",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"},{type:"RelatedProducts",label:"Related Products",set:"commerce"},{type:"BundleOffer",label:"Bundle Products",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"PaymentBadges",label:"Payment Methods",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"StatsParagraph",label:"Stats with Text",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Testimonials",label:"Testimonials",set:"general"},{type:"Reviews",label:"Reviews",set:"service"},{type:"Logos",label:"Logos",set:"general"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"Masthead",label:"Issue Header",set:"general"},{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocMasthead",label:"Document Header",set:"general"},{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"}]}];function p(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const i={Grid:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A — shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or a shape (Big left, Big right, Bigger left, Bigger right) and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` — 256 documents): 2 Grid nodes, and they are ONE Grid counted twice — the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 — equal thirds — and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n⚠️ THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned — hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. ⛔ So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says — Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS — the owner redoes live sections himself.\n\n⚠️ AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot — a Box included — refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` §3 pins it.',CompatibleTyres:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings — it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 — it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n⚠️ THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call — nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n • settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT — the map holds only TimelineTrack and Footprint, both AUTHORED lists\n • read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n • panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n • head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero — neither can style them — and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS — the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n⚠️ AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.',Spacer:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
2
2
 
3
3
  WHAT REPLACES IT: a Divider with Style set to None. It draws no line, only its space, and that space is the Divider's Padding row (top and bottom, each with its phone value): the Spacer's 24 / 48 / 96 / 160 px are None with Padding 12 + 12, 24 + 24, 48 + 48, 80 + 80. \`scripts/test-divider-holds-the-spacer.tsx\` §5 holds it.
4
4
 
@@ -12,4 +12,24 @@ WHAT REPLACES IT: a Cards section with Card style set to Label only. It draws th
12
12
 
13
13
  WHAT A MERCHANT LOSES on a NEW Label only section: nothing this section had. It GAINS the Cards head split (its head can move into a box of its own), which Key Features never had: that head draws the shared \`simple\` head, eyebrow ABOVE the heading, where Key Features drew it beside.
14
14
 
15
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`,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."},m=["Grid","Spacer"],y=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(l)])),u=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),i={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",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"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",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...i,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function b(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0}function r(e){return Object.keys(a).filter(t=>a[t]===e).sort()}const g=r("general"),T=r("commerce"),E=r("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{y as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,g as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,m as RETIRED_NESTABLE_SECTIONS,l as RETIRED_SECTIONS,o as SECTION_CATALOG,u as SECTION_LABELS,E as SERVICE_BLOCKS,i as UNLISTED_BLOCK_SETS,b as blockSetOf,r as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
15
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`,DeliveryOptions:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
16
+
17
+ WHAT REPLACES IT: Cards with Card content set to Delivery options, drawn from its card template: the backend's \`delivery-options\` rows (name, price, time, note), one card each, in the website's own currency. The one Highlighted card row and the Highlight badge replace the per-option Highlight switch.
18
+
19
+ WHAT A MERCHANT LOSES: more than one highlighted option (Lewis approved ONE Highlighted card row, 2026-10-10). No stored node held two.
20
+
21
+ NO CONVERTER ROW: 0 DeliveryOptions nodes on the US sites, draft or published (read only, 2026-11-04). This entry is its reason in the guard (\`scripts/test-section-to-box.tsx\` §5).
22
+
23
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A Delivery Options anywhere still renders through it and can still be edited; no document is rewritten.`,Series:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
24
+
25
+ WHAT REPLACES IT: Cards drawn from its card template. A column's number is Number, its "Right Top Text" Corner note, its title Card title, its words Card body, its count and label one Count, and the one \`viewLabel\` a plain Text typed once in the template, so every card shows it; the background is the Box's. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
26
+
27
+ WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints; a short row no longer keeps 4 columns; the count is one plain Text, its figure no longer in the text ink; a card with no count still draws the footer line.
28
+
29
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Recurring Columns still renders through it and can still be edited; no document is rewritten.`,DocMetaCards:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids — Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
30
+
31
+ WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value and a Card body. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
32
+
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
+
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",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"),d="Flex",s="Box",S=`${s}es`;function c(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===d?c(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,d 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,c as labelForFlex};
@@ -0,0 +1,18 @@
1
+ type Props = Record<string, unknown>;
2
+ export declare const TEXT: Props;
3
+ export declare const DIM: Props;
4
+ export declare const BOX: Props;
5
+ export declare const INNER_BOX: Props;
6
+ export declare const boxPadding: (y: number, x?: number, yPhone?: number, xPhone?: number) => Props;
7
+ export declare const token: (step: string, px: number, pxPhone?: number, stepPhone?: string) => Props;
8
+ export type BlockSeed = {
9
+ type: string;
10
+ props?: Props;
11
+ slots?: Readonly<Record<string, readonly BlockSeed[]>>;
12
+ };
13
+ export type SeededNode = {
14
+ type: string;
15
+ props: Props;
16
+ };
17
+ export declare function seedNodes(seeds: readonly BlockSeed[], idOf: (type: string, at: string) => string, at?: string): SeededNode[];
18
+ export {};
@@ -0,0 +1 @@
1
+ import{NESTED_BOX_PADDING as p}from"../content/box-layout.js";import{TextMeta as a}from"./blocks/general/Text/meta.js";const{text:x,tag:T,...g}=a.defaultProps,P=g,B={...P,tone:"dim"},f={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},N={...f,direction:"column",...p},_=(o,e=o,n=o,t=e)=>({sectionPaddingTop:o,sectionPaddingRight:e,sectionPaddingBottom:o,sectionPaddingLeft:e,sectionPaddingTopPhone:n,sectionPaddingRightPhone:t,sectionPaddingBottomPhone:n,sectionPaddingLeftPhone:t}),D=(o,e,n,t)=>({sizeToken:{step:o,px:e,...t?{stepPhone:t}:{},...n?{pxPhone:n}:{}}});function m(o,e,n=""){return o.map((t,i)=>{const s=n?`${n}.${i}`:String(i),r={...t.props??{}};for(const[c,d]of Object.entries(t.slots??{}))r[c]=m(d,e,s);return{type:t.type,props:{...r,id:e(t.type,s)}}})}export{f as BOX,B as DIM,N as INNER_BOX,P as TEXT,_ as boxPadding,m as seedNodes,D as token};
@@ -8,6 +8,8 @@ export interface EditorPageRowLike {
8
8
  groupKey?: string;
9
9
  }
10
10
  export declare function isDynamicPageRow(row: EditorPageRowLike): boolean;
11
+ export declare const POPUP_PAGE_ROW_KIND = "lightbox";
12
+ export declare function isPopupPageRow(row: EditorPageRowLike): boolean;
11
13
  export interface EditorPageBucket<T> {
12
14
  key: string;
13
15
  label: string;
@@ -1 +1 @@
1
- const c="Main Pages",i="Dynamic Pages",a="dynamic",p="dynamic";function u(n){return n.kind===p}function l(n){const t=[],s=[];for(const o of n){if(u(o)){s.push(o);continue}const e=o.groupKey??(o.group?`folder:${o.group}`:"top"),r=t[t.length-1];r&&r.key===e?r.rows.push(o):t.push({key:e,label:o.group??c,rows:[o]})}if(s.length){const o=t.findIndex(e=>e.key.startsWith("system:"));t.splice(o===-1?t.length:o,0,{key:a,label:i,rows:s})}return t}export{i as DYNAMIC_PAGES_GROUP,a as DYNAMIC_PAGES_GROUP_KEY,p as DYNAMIC_PAGE_KIND,c as MAIN_PAGES_GROUP,l as bucketEditorPageRows,u as isDynamicPageRow};
1
+ const c="Main Pages",i="Dynamic Pages",p="dynamic",u="dynamic";function P(e){return e.kind===u}const a="lightbox";function g(e){return e.kind===a}function l(e){const t=[],s=[];for(const o of e){if(P(o)){s.push(o);continue}const n=o.groupKey??(o.group?`folder:${o.group}`:"top"),r=t[t.length-1];r&&r.key===n?r.rows.push(o):t.push({key:n,label:o.group??c,rows:[o]})}if(s.length){const o=t.findIndex(n=>n.key.startsWith("system:"));t.splice(o===-1?t.length:o,0,{key:p,label:i,rows:s})}return t}export{i as DYNAMIC_PAGES_GROUP,p as DYNAMIC_PAGES_GROUP_KEY,u as DYNAMIC_PAGE_KIND,c as MAIN_PAGES_GROUP,a as POPUP_PAGE_ROW_KIND,l as bucketEditorPageRows,P as isDynamicPageRow,g as isPopupPageRow};
@@ -232,6 +232,7 @@ export declare const WEB_BUILDER_WORDS: {
232
232
  readonly Card: "Card";
233
233
  readonly "Card body": "Card body";
234
234
  readonly "Card button": "Card button";
235
+ readonly "Card content": "Card content";
235
236
  readonly "Card header strip": "Card header strip";
236
237
  readonly "Card height": "Card height";
237
238
  readonly "Card image": "Card image";
@@ -248,10 +249,10 @@ export declare const WEB_BUILDER_WORDS: {
248
249
  readonly "Card title three": "Card title three";
249
250
  readonly "Card title two": "Card title two";
250
251
  readonly "Card type": "Card type";
252
+ readonly "Card {n}": "Card {n}";
251
253
  readonly Cards: "Cards";
252
254
  readonly "Cards 1, 3, 5 draw the other way round": "Cards 1, 3, 5 draw the other way round";
253
255
  readonly "Cards 2, 4, 6 draw the other way round": "Cards 2, 4, 6 draw the other way round";
254
- readonly "Cards from": "Cards from";
255
256
  readonly Cart: "Cart";
256
257
  readonly Cash: "Cash";
257
258
  readonly "Catalog Filter Bar": "Catalog Filter Bar";
@@ -314,6 +315,7 @@ export declare const WEB_BUILDER_WORDS: {
314
315
  readonly "Copy above image": "Copy above image";
315
316
  readonly "Copy over image": "Copy over image";
316
317
  readonly "Copying\u2026": "Copying…";
318
+ readonly "Corner note": "Corner note";
317
319
  readonly Corners: "Corners";
318
320
  readonly "Couldn\u2019t add the page \u2014 please retry.": "Couldn’t add the page — please retry.";
319
321
  readonly "Couldn\u2019t add the popup \u2014 please retry.": "Couldn’t add the popup — please retry.";
@@ -361,7 +363,6 @@ export declare const WEB_BUILDER_WORDS: {
361
363
  readonly "Delete \u201C{name}\u201D": "Delete “{name}”";
362
364
  readonly "Deleted \u201C{name}\u201D": "Deleted “{name}”";
363
365
  readonly Delivery: "Delivery";
364
- readonly "Delivery Options": "Delivery Options";
365
366
  readonly "Delivery tiers as cards \u2014 name, window and price, one highlighted.": "Delivery tiers as cards — name, window and price, one highlighted.";
366
367
  readonly "Describe this section in a sentence or two.": "Describe this section in a sentence or two.";
367
368
  readonly "Describe this step in a sentence or two.": "Describe this step in a sentence or two.";
@@ -557,9 +558,11 @@ export declare const WEB_BUILDER_WORDS: {
557
558
  readonly Hide: "Hide";
558
559
  readonly "Hide {label} on the slide": "Hide {label} on the slide";
559
560
  readonly Highlight: "Highlight";
561
+ readonly "Highlight badge": "Highlight badge";
560
562
  readonly "Highlight key numbers \u2014 years, designs.": "Highlight key numbers — years, designs.";
561
563
  readonly "Highlight line": "Highlight line";
562
564
  readonly "Highlight when a link jumps here": "Highlight when a link jumps here";
565
+ readonly "Highlighted card": "Highlighted card";
563
566
  readonly Hint: "Hint";
564
567
  readonly "Hold video": "Hold video";
565
568
  readonly Home: "Home";
@@ -593,6 +596,7 @@ export declare const WEB_BUILDER_WORDS: {
593
596
  readonly "Image \u2014 set a path": "Image — set a path";
594
597
  readonly "In its own box": "In its own box";
595
598
  readonly "In progress (accent)": "In progress (accent)";
599
+ readonly "In the card": "In the card";
596
600
  readonly "In the product": "In the product";
597
601
  readonly "In this issue": "In this issue";
598
602
  readonly "In this section": "In this section";
@@ -672,10 +676,10 @@ export declare const WEB_BUILDER_WORDS: {
672
676
  readonly "Live numbers": "Live numbers";
673
677
  readonly "Loading versions": "Loading versions";
674
678
  readonly "Loading\u2026": "Loading…";
679
+ readonly "Location content": "Location content";
675
680
  readonly "Location name": "Location name";
676
681
  readonly Locations: "Locations";
677
682
  readonly "Locations Map": "Locations Map";
678
- readonly "Locations from": "Locations from";
679
683
  readonly Logo: "Logo";
680
684
  readonly "Logo alt text": "Logo alt text";
681
685
  readonly "Logo color": "Logo color";
@@ -713,7 +717,6 @@ export declare const WEB_BUILDER_WORDS: {
713
717
  readonly "Meta line": "Meta line";
714
718
  readonly Metadata: "Metadata";
715
719
  readonly "Metadata rows": "Metadata rows";
716
- readonly "Methods from": "Methods from";
717
720
  readonly Middle: "Middle";
718
721
  readonly "Middle meta": "Middle meta";
719
722
  readonly Milestone: "Milestone";
@@ -728,6 +731,7 @@ export declare const WEB_BUILDER_WORDS: {
728
731
  readonly Mono: "Mono";
729
732
  readonly "Month DD, YYYY": "Month DD, YYYY";
730
733
  readonly More: "More";
734
+ readonly "Most popular": "Most popular";
731
735
  readonly "Multi-column container for blocks.": "Multi-column container for blocks.";
732
736
  readonly Muted: "Muted";
733
737
  readonly Name: "Name";
@@ -783,6 +787,7 @@ export declare const WEB_BUILDER_WORDS: {
783
787
  readonly "On every page \u00B7 old style": "On every page · old style";
784
788
  readonly "On other pages": "On other pages";
785
789
  readonly "On picture": "On picture";
790
+ readonly "On the top line": "On the top line";
786
791
  readonly "On this page": "On this page";
787
792
  readonly "On {count} pages": "On {count} pages";
788
793
  readonly One: "One";
@@ -827,6 +832,7 @@ export declare const WEB_BUILDER_WORDS: {
827
832
  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.";
828
833
  readonly "Payment Logos": "Payment Logos";
829
834
  readonly "Payment Methods": "Payment Methods";
835
+ readonly "Payment content": "Payment content";
830
836
  readonly "Payment methods": "Payment methods";
831
837
  readonly Phone: "Phone";
832
838
  readonly "Photo Submission Form": "Photo Submission Form";
@@ -837,6 +843,7 @@ export declare const WEB_BUILDER_WORDS: {
837
843
  readonly "Pick a post from {place} to auto-fill this section, or keep \u201CNone (manual)\u201D to author it yourself below.": "Pick a post from {place} to auto-fill this section, or keep “None (manual)” to author it yourself below.";
838
844
  readonly "Pick who to reach, then a form that routes the message.": "Pick who to reach, then a form that routes the message.";
839
845
  readonly Pinterest: "Pinterest";
846
+ readonly Place: "Place";
840
847
  readonly Placement: "Placement";
841
848
  readonly Plain: "Plain";
842
849
  readonly "Play video": "Play video";
@@ -1244,6 +1251,7 @@ export declare const WEB_BUILDER_WORDS: {
1244
1251
  readonly WhatsApp: "WhatsApp";
1245
1252
  readonly "When a link lands on this Box's anchor, the Box gets an accent outline and its first block turns accent.": "When a link lands on this Box's anchor, the Box gets an accent outline and its first block turns accent.";
1246
1253
  readonly "When the text does not fit": "When the text does not fit";
1254
+ readonly "Where this content is edited.": "Where this content is edited.";
1247
1255
  readonly "Whether this page sits on the site's content column, or runs edge to edge.": "Whether this page sits on the site's content column, or runs edge to edge.";
1248
1256
  readonly "Whole number Theme Color": "Whole number Theme Color";
1249
1257
  readonly "Wide (2:1)": "Wide (2:1)";