efficient-web-builder 50.0.0 → 52.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 +63 -0
- package/README.md +1 -1
- package/dist/editor/components/BlogPostSource.js +1 -1
- package/dist/editor/components/HeroPartPanel.js +1 -1
- package/dist/editor/components/MediaUploadField.js +1 -1
- package/dist/editor/components/PartTextBox.js +1 -1
- package/dist/editor/components/PreviewPartStyleContext.d.ts +2 -2
- package/dist/editor/components/SectionEditor.js +1 -1
- package/dist/editor/components/SiteTextStylesField.d.ts +2 -1
- package/dist/editor/components/SiteTextStylesField.js +1 -1
- package/dist/editor/components/ThemeCard.js +1 -1
- package/dist/editor/components/WebsiteScreenParts.js +1 -1
- package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
- package/dist/editor/components/storefront-editor.css +13 -45
- package/dist/editor/components/usePartMotion.d.ts +1 -1
- package/dist/editor/components/usePartTypingDeps.d.ts +2 -0
- package/dist/editor/components/usePartTypingDeps.js +1 -0
- package/dist/editor/lib/animation/entrance-fields.js +1 -1
- package/dist/editor/lib/animation/fields.d.ts +1 -1
- package/dist/editor/lib/animation/fields.js +1 -1
- package/dist/editor/lib/animation/hover-fields.d.ts +7 -1
- package/dist/editor/lib/animation/hover-fields.js +1 -1
- package/dist/editor/lib/document/ColourControl.d.ts +11 -8
- package/dist/editor/lib/document/ColourControl.js +1 -1
- package/dist/editor/lib/document/blocks/general/Cards/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Hero/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/HeroSlide/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/ImageBlock/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/PostCard/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Series/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/StatsParagraph/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
- package/dist/editor/lib/document/blocks/hero-shared-fields.d.ts +2 -0
- package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
- package/dist/editor/lib/document/canvas-typing.d.ts +1 -0
- package/dist/editor/lib/document/canvas-typing.js +1 -1
- package/dist/editor/lib/document/card-copy-rows.d.ts +12 -0
- package/dist/editor/lib/document/card-copy-rows.js +1 -0
- package/dist/editor/lib/document/controls.d.ts +15 -4
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/darken-fields.d.ts +4 -0
- package/dist/editor/lib/document/darken-fields.js +1 -0
- package/dist/editor/lib/document/overrides.js +1 -1
- package/dist/editor/lib/document/passes/inspector.js +1 -1
- package/dist/format/components/stored-pick-row.d.ts +8 -0
- package/dist/format/components/stored-pick-row.js +1 -0
- package/dist/format/lib/animation/hover.d.ts +32 -1
- package/dist/format/lib/animation/hover.js +1 -1
- package/dist/format/lib/content/borders.d.ts +4 -2
- package/dist/format/lib/content/borders.js +1 -1
- package/dist/format/lib/content/box-layout.d.ts +11 -0
- package/dist/format/lib/content/box-layout.js +1 -1
- package/dist/format/lib/content/box-shape.d.ts +2 -1
- package/dist/format/lib/content/box-shape.js +1 -1
- package/dist/format/lib/content/button-icon.d.ts +1 -1
- package/dist/format/lib/content/button-icon.js +1 -1
- package/dist/format/lib/content/card-state.d.ts +8 -0
- package/dist/format/lib/content/card-state.js +1 -0
- package/dist/format/lib/content/card-template.d.ts +6 -0
- package/dist/format/lib/content/card-template.js +1 -1
- package/dist/format/lib/content/image-treatment.d.ts +23 -4
- package/dist/format/lib/content/image-treatment.js +1 -1
- package/dist/format/lib/content/section-background.d.ts +10 -3
- package/dist/format/lib/content/section-background.js +1 -1
- package/dist/format/lib/content/section-min-height.d.ts +17 -1
- package/dist/format/lib/content/section-min-height.js +1 -1
- package/dist/format/lib/content/section-sticky.d.ts +9 -0
- package/dist/format/lib/content/section-sticky.js +1 -1
- 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/box-footer.js +1 -1
- package/dist/format/lib/document/card-template-layers.d.ts +1 -1
- package/dist/format/lib/document/card-template-layers.js +1 -1
- package/dist/format/lib/document/easel-row-words.d.ts +1 -0
- package/dist/format/lib/document/easel-row-words.js +1 -1
- package/dist/format/lib/document/part-inks.d.ts +5 -10
- package/dist/format/lib/document/part-inks.js +1 -1
- package/dist/format/lib/document/passes/card-template-on-insert.d.ts +2 -0
- package/dist/format/lib/document/passes/card-template-on-insert.js +1 -0
- package/dist/format/lib/document/passes/types.d.ts +7 -0
- package/dist/format/lib/document/section-catalog.js +2 -2
- package/dist/format/lib/document/show-when-attach.d.ts +2 -1
- package/dist/format/lib/document/show-when-attach.js +1 -1
- package/dist/format/lib/editor-words-catalogue.d.ts +9 -5
- package/dist/format/lib/editor-words-catalogue.js +4 -4
- package/dist/format/lib/sections/hero-overlay.js +1 -1
- package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
- package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.d.ts +4 -0
- package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +37 -20
- package/dist/format/lib/source-rules/support/part-slider-call-sites.d.ts +0 -1
- package/dist/format/lib/source-rules/support/part-slider-call-sites.js +6 -6
- package/dist/format/lib/text-styles/site-text-colours.d.ts +11 -0
- package/dist/format/lib/text-styles/site-text-colours.js +1 -0
- package/dist/format/lib/theme.d.ts +1 -0
- package/dist/format/lib/theme.js +3 -3
- package/dist/format/lib/word-styles.d.ts +0 -1
- package/dist/format/lib/word-styles.js +1 -1
- package/dist/render/components/ButtonBlock.d.ts +2 -1
- package/dist/render/components/ButtonBlock.js +1 -1
- package/dist/render/components/CardRowContext.d.ts +5 -2
- package/dist/render/components/CardRowContext.js +1 -1
- package/dist/render/components/ContactLocations.d.ts +3 -1
- package/dist/render/components/ContactLocations.js +2 -2
- package/dist/render/components/Flex.d.ts +6 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HeroPictures.d.ts +10 -0
- package/dist/render/components/HeroPictures.js +1 -1
- package/dist/render/components/HeroSingle.js +1 -1
- package/dist/render/components/HeroSlide.js +1 -1
- package/dist/render/components/ImageBlock.d.ts +6 -1
- package/dist/render/components/ImageBlock.js +1 -1
- package/dist/render/components/Manifesto.d.ts +3 -1
- package/dist/render/components/Manifesto.js +1 -1
- package/dist/render/components/PhotoHoverSheet.d.ts +4 -0
- package/dist/render/components/PhotoHoverSheet.js +1 -0
- package/dist/render/components/PictureWash.d.ts +6 -0
- package/dist/render/components/PictureWash.js +1 -0
- package/dist/render/components/Placeholder.js +1 -1
- package/dist/render/components/PostCard.js +1 -1
- package/dist/render/components/Split.d.ts +3 -1
- package/dist/render/components/Split.js +1 -1
- package/dist/render/components/Text.d.ts +2 -2
- package/dist/render/components/Text.js +1 -1
- package/dist/render/components/goldPhrases.js +2 -2
- package/dist/render/lib/animation/part-motion.js +2 -2
- package/dist/render/lib/content/block-size.d.ts +1 -0
- package/dist/render/lib/content/block-size.js +1 -1
- package/dist/render/lib/content/box-shared-columns.js +1 -1
- package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
- package/dist/render/lib/document/blocks/general/ContactLocations/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
- package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Manifesto/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Split/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +2 -0
- 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-cards.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-timeline.js +2 -2
- package/dist/render/lib/document/part-styles.js +2 -2
- package/dist/render/lib/document/passes/block-size.js +1 -1
- package/dist/render/lib/document/passes/borders.js +1 -1
- package/dist/render/lib/document/passes/index.js +1 -1
- package/dist/render/lib/document/passes/section-animation.js +1 -1
- package/dist/render/lib/document/passes/section-height.js +1 -1
- package/dist/render/lib/document/passes/section-sticky.js +1 -1
- package/dist/render/lib/document/show-when.d.ts +1 -1
- package/dist/render/lib/document/show-when.js +1 -1
- package/dist/render/lib/text-styles/site-text-styles.js +2 -2
- package/package.json +4 -4
- package/dist/editor/components/PartInkControl.d.ts +0 -7
- package/dist/editor/components/PartInkControl.js +0 -1
|
@@ -9,12 +9,31 @@ export declare function imageTreatmentProps(grayscale?: boolean | null): {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export declare const SITE_PHOTO_CLASS = "sf-photo-grayscale";
|
|
12
|
+
export declare const PHOTO_HOST_ATTR = "data-sf-photo-host";
|
|
13
|
+
export declare const PHOTO_HOVER_VARS: {
|
|
14
|
+
readonly duration: "--sf-photo-hover-duration";
|
|
15
|
+
readonly delay: "--sf-photo-hover-delay";
|
|
16
|
+
};
|
|
12
17
|
export declare const SITE_PHOTO_CSS: string;
|
|
13
18
|
export interface ImageTreatment {
|
|
14
19
|
className?: string;
|
|
15
|
-
style?:
|
|
16
|
-
|
|
17
|
-
};
|
|
20
|
+
style?: Record<string, string>;
|
|
21
|
+
sheet?: string;
|
|
18
22
|
}
|
|
19
|
-
export
|
|
23
|
+
export type PictureHoverTreatment = {
|
|
24
|
+
kind: string;
|
|
25
|
+
duration: number;
|
|
26
|
+
delay: number;
|
|
27
|
+
};
|
|
28
|
+
export declare function resolveImageTreatment(block?: boolean | null, site?: boolean | null, hover?: PictureHoverTreatment | null): ImageTreatment;
|
|
29
|
+
export declare const NEXT_PICTURE_CLASS = "sf-photo-next";
|
|
30
|
+
export declare const CARD_COPY_ATTR = "data-sf-repeat";
|
|
31
|
+
export declare const PICTURE_ZOOM_CLASS = "sf-photo-zoom";
|
|
32
|
+
export declare const PICTURE_ZOOM_VAR = "--sf-photo-zoom";
|
|
33
|
+
export declare const PICTURE_WASH_CLASS = "sf-photo-wash";
|
|
34
|
+
export declare const PICTURE_WASH_REST_CLASS = "sf-photo-wash-rest";
|
|
35
|
+
export declare const PICTURE_WASH_HOVER_CLASS = "sf-photo-wash-hover";
|
|
36
|
+
export declare const PICTURE_FRAME_CLASS = "sf-photo-frame";
|
|
37
|
+
export declare const NEXT_PICTURE_CSS: string;
|
|
38
|
+
export declare function resolveNextPicture(hover?: PictureHoverTreatment | null): ImageTreatment | null;
|
|
20
39
|
export declare function sitePhotographyTokens(grayscale?: boolean | null): Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{MOTION_TIMING as _}from"efficient-shell/format";const c="grayscale(1) contrast(1.03)",E="Black and white";function l(o){return o===!0?{filter:c}:{}}function S(o){const{filter:e}=l(o);return e?{style:{filter:e}}:{}}const r="sf-photo-grayscale",T="data-sf-photo-host",f={duration:"--sf-photo-hover-duration",delay:"--sf-photo-hover-delay"},v=`@media (hover:hover){.${r}{filter:${c};transition:filter var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))}.${r}:hover,[data-sf-photo-host]:hover .${r}{filter:none}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${r}{transition:none}}`;function u(o){const e=_.hover,t={...o.duration!==e.duration.default?{[f.duration]:`${o.duration}s`}:{},...o.delay!==e.delay.default?{[f.delay]:`${o.delay}s`}:{}};return Object.keys(t).length?t:void 0}function C(o,e,t){if(o===!0)return S(!0);if(t?.kind==="mono"){const d=u(t);return{className:r,sheet:v,...d?{style:d}:{}}}return o===!1?{}:e===!0?{className:r}:{}}const n="sf-photo-next",$="data-sf-repeat",p="sf-photo-zoom",A="--sf-photo-zoom",R="sf-photo-wash",s="sf-photo-wash-rest",a="sf-photo-wash-hover",i="sf-photo-frame",h=(o,e)=>{const t=`:not([${$}]:not(:hover) .${o})`;return`${e},[${$}]:hover .${o}${t},[${T}]:hover .${o}${t}`},m=o=>`${o} var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))`,x=`.${n}{opacity:0}.${a}{opacity:0}@media (hover:hover){.${n},.${s},.${a}{transition:${m("opacity")}}${h(n,`.${n}:hover,.${i}:hover .${n}`)},${h(a,`.${i}:hover .${a}`)}{opacity:1}${h(s,`.${i}:hover .${s}`)}{opacity:0}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.${p}{transition:${m("transform")}}${h(p,`.${i}:hover .${p}`)}{transform:scale(var(${A}))}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${n},.${s},.${a}{transition:none}}`;function O(o){if(o?.kind!=="nextImage")return null;const e=u(o);return{className:n,sheet:x,...e?{style:e}:{}}}function I(o){return o===!0?{[r]:v}:{}}export{$ as CARD_COPY_ATTR,c as IMAGE_GRAYSCALE_FILTER,E as IMAGE_GRAYSCALE_LABEL,n as NEXT_PICTURE_CLASS,x as NEXT_PICTURE_CSS,T as PHOTO_HOST_ATTR,f as PHOTO_HOVER_VARS,i as PICTURE_FRAME_CLASS,R as PICTURE_WASH_CLASS,a as PICTURE_WASH_HOVER_CLASS,s as PICTURE_WASH_REST_CLASS,p as PICTURE_ZOOM_CLASS,A as PICTURE_ZOOM_VAR,r as SITE_PHOTO_CLASS,v as SITE_PHOTO_CSS,S as imageTreatmentProps,l as imageTreatmentStyle,C as resolveImageTreatment,O as resolveNextPicture,I as sitePhotographyTokens};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
export declare const SECTION_BG_SWATCHES: readonly ["transparent", "var(--section-bg)", "var(--surface)", "var(--surface-2)"];
|
|
2
|
-
export declare const SECTION_BG_SWATCH_NAMES: Readonly<Record<string, string>>;
|
|
3
1
|
export declare const THEME_SECTION_BG = "var(--section-bg)";
|
|
4
2
|
export declare const SECTION_BG_INHERIT: "inherit";
|
|
5
3
|
export type SectionBackground = string | undefined;
|
|
6
4
|
export declare function resolveSectionBackground(stored: SectionBackground, builtIn: SectionBackground): SectionBackground;
|
|
7
5
|
export declare function paintedFill(stored: string): string;
|
|
8
|
-
export
|
|
6
|
+
export interface SectionBandColours {
|
|
7
|
+
background: string;
|
|
8
|
+
surface: string;
|
|
9
|
+
surface2: string;
|
|
10
|
+
band: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function sectionBackgroundHex(stored: SectionBackground, builtIn: SectionBackground, colours: SectionBandColours): string;
|
|
13
|
+
export declare const SECTION_BG_NO_FILL: "transparent";
|
|
14
|
+
export declare function sectionBackgroundChoice(stored: SectionBackground, builtIn: SectionBackground): "none" | "band" | null;
|
|
15
|
+
export declare function isSectionBackgroundEmpty(stored: SectionBackground, builtIn: SectionBackground, follows?: SectionBackground): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const i=
|
|
1
|
+
import{parseHexColor as u}from"efficient-shell/format";const i="var(--section-bg)",f="inherit";function c(n,t){return n===f?i:n===void 0?t:E(n)}const p=/var\(\s*--(surface-2|surface|line)\s*(?=[,)])/g;function E(n){return n.replace(p,"var(--site-$1")}const d={"var(--section-bg)":"band","var(--site-surface)":"surface","var(--site-surface-2)":"surface2"};function _(n,t,r){const e=c(n,t);if(!e||e==="transparent")return r.background.toLowerCase();const o=e.trim(),a=o.startsWith("#")?u(o):null;if(a)return a.toLowerCase();const s=d[o.replace(/\s+/g,"")];return(s?r[s]:r.background).toLowerCase()}const x="transparent";function l(n,t){const r=c(n,t);return!r||r===x?"none":r===i?"band":null}function C(n,t,r=t){const e=a=>!a||a==="transparent",o=c(n,t);return o===r||e(o)&&e(r)}export{f as SECTION_BG_INHERIT,x as SECTION_BG_NO_FILL,i as THEME_SECTION_BG,C as isSectionBackgroundEmpty,E as paintedFill,c as resolveSectionBackground,l as sectionBackgroundChoice,_ as sectionBackgroundHex};
|
|
@@ -54,7 +54,23 @@ export declare function resolvePhoneHeight(props: SectionMinHeightPhoneProps): {
|
|
|
54
54
|
value: number;
|
|
55
55
|
unit: SectionHeightUnit;
|
|
56
56
|
};
|
|
57
|
-
export declare
|
|
57
|
+
export declare const SECTION_MIN_HEIGHT_TABLET_CLASS = "sf-section-minh-tablet";
|
|
58
|
+
export declare const SECTION_MIN_HEIGHT_TABLET_VARS: {
|
|
59
|
+
readonly base: "--sf-section-minh-t";
|
|
60
|
+
readonly small: "--sf-section-minh-ts";
|
|
61
|
+
};
|
|
62
|
+
export interface SectionMinHeightTabletProps {
|
|
63
|
+
sectionHeightModeTablet?: unknown;
|
|
64
|
+
sectionHeightValueTablet?: unknown;
|
|
65
|
+
sectionHeightUnitTablet?: unknown;
|
|
66
|
+
}
|
|
67
|
+
export declare function hasTabletHeight(props: SectionMinHeightTabletProps): boolean;
|
|
68
|
+
export declare function resolveTabletHeight(props: SectionMinHeightTabletProps): {
|
|
69
|
+
mode: SectionHeightMode;
|
|
70
|
+
value: number;
|
|
71
|
+
unit: SectionHeightUnit;
|
|
72
|
+
};
|
|
73
|
+
export declare function sectionMinHeightAttrs(props: SectionMinHeightProps & SectionMinHeightTabletProps & SectionMinHeightPhoneProps): {
|
|
58
74
|
className: string;
|
|
59
75
|
style: CSSProperties;
|
|
60
76
|
} | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const N=["auto","fixed","screen"],C=["px","%"],p="svh",R="vh",b="var(--sf-header-h, 88px)",m={min:40,max:2e3,step:10,fallback:600},L={min:10,max:200,step:5,fallback:100},M="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",h={base:"--sf-section-minh",small:"--sf-section-minh-s"},a=e=>typeof e=="string"&&N.includes(e),O=e=>typeof e=="string"&&C.includes(e);function r(e){const t=a(e.sectionHeightMode)?e.sectionHeightMode:"auto",i=t==="screen"?"%":O(e.sectionHeightUnit)?e.sectionHeightUnit:"px",n=t==="screen"?L.fallback:m.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:n;return{mode:t,value:o,unit:i}}function H(e){const{mode:t,value:i,unit:n}=r(e);if(t==="auto")return;if(t==="fixed"&&n==="px")return[`${i}px`,null];const o=i/100,c=s=>t==="screen"?`(100${s} - ${b})`:`100${s}`;return[`calc(${c("vh")} * ${o})`,`calc(${c("svh")} * ${o})`]}function _(e){const t=H(e);if(!t)return;const[i,n]=t;return{display:"grid",[h.base]:i,...n?{[h.small]:n}:{}}}const $=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),v="Height",u="sf-section-minh-phone",I={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function A(e){return a(e.sectionHeightModePhone)}function B(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const T="sf-section-minh-tablet",f={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function P(e){return a(e.sectionHeightModeTablet)}function F(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function g(e){const t=_(e),i=(E,x,d)=>H({sectionHeightMode:E,sectionHeightValue:x,sectionHeightUnit:d})??(t?["auto",null]:void 0),n=P(e)?i(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=A(e)?i(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):n;if(!t&&!n&&!o)return null;const c=[M,l],s={...t??{}};return n&&(c.push(T),s[f.base]=n[0],n[1]&&(s[f.small]=n[1])),o&&(c.push(u),s[I.base]=o[0],o[1]&&(s[I.small]=o[1])),{className:c.join(" "),style:s}}function y(e){return g(e)!==null}const U=`grid ${l}`,D="h-full",V="view-tablet:max-view-desktop:grid",S="max-view-tablet:grid",G=`${S} ${l}`;function k(e){const t=g(e);if(!t)return"";if(_(e))return U;const i=t.className.split(" ");if(!i.includes(T))return G;const o=i.includes(u);return[V,o?S:"",l].filter(Boolean).join(" ")}export{b as HEADER_HEIGHT_VAR,D as SECTION_FILL_CLASS,U as SECTION_FILL_PASS_CLASS,G as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,N as SECTION_HEIGHT_MODES,C as SECTION_HEIGHT_UNITS,m as SECTION_MIN_HEIGHT,M as SECTION_MIN_HEIGHT_CLASS,$ as SECTION_MIN_HEIGHT_EXCLUDED,v as SECTION_MIN_HEIGHT_GROUP_LABEL,u as SECTION_MIN_HEIGHT_PHONE_CLASS,I as SECTION_MIN_HEIGHT_PHONE_VARS,T as SECTION_MIN_HEIGHT_TABLET_CLASS,f as SECTION_MIN_HEIGHT_TABLET_VARS,h as SECTION_MIN_HEIGHT_VARS,L as SECTION_SCREEN_PCT,p as VIEWPORT_UNIT,R as VIEWPORT_UNIT_FALLBACK,A as hasPhoneHeight,P as hasTabletHeight,B as resolvePhoneHeight,r as resolveSectionMinHeight,F as resolveTabletHeight,k as sectionFillPassClass,y as sectionFillsHeight,g as sectionMinHeightAttrs,H as sectionMinHeightLengths,_ as sectionMinHeightStyle};
|
|
@@ -8,23 +8,32 @@ export declare const SECTION_STICK_DISTANCE: {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const SECTION_STICK_CLASS = "sf-section-stick";
|
|
10
10
|
export declare const SCROLL_OVER_CLASS = "sf-scroll-over";
|
|
11
|
+
export declare const SECTION_STICK_TABLET_ON_CLASS = "sf-section-stick-tablet-on";
|
|
12
|
+
export declare const SECTION_STICK_TABLET_OFF_CLASS = "sf-section-stick-tablet-off";
|
|
11
13
|
export declare const SECTION_STICK_PHONE_ON_CLASS = "sf-section-stick-phone-on";
|
|
12
14
|
export declare const SECTION_STICK_PHONE_OFF_CLASS = "sf-section-stick-phone-off";
|
|
13
15
|
export declare const SECTION_STICK_VARS: {
|
|
14
16
|
readonly desktop: "--sf-stick-distance";
|
|
17
|
+
readonly tablet: "--sf-stick-distance-tablet";
|
|
15
18
|
readonly phone: "--sf-stick-distance-phone";
|
|
16
19
|
};
|
|
17
20
|
export declare const SECTION_STICK_EXCLUDED: ReadonlySet<string>;
|
|
18
21
|
export type SectionStickProps = {
|
|
19
22
|
stickTop?: unknown;
|
|
20
23
|
stickTopDistance?: unknown;
|
|
24
|
+
stickTopTablet?: unknown;
|
|
25
|
+
stickTopDistanceTablet?: unknown;
|
|
21
26
|
stickTopPhone?: unknown;
|
|
22
27
|
stickTopDistancePhone?: unknown;
|
|
23
28
|
};
|
|
29
|
+
export declare function hasTabletStick(props: SectionStickProps): boolean;
|
|
24
30
|
export declare function hasPhoneStick(props: SectionStickProps): boolean;
|
|
25
31
|
export declare function resolveSectionStick(props: SectionStickProps): {
|
|
26
32
|
desktop: boolean;
|
|
27
33
|
desktopDistance: number;
|
|
34
|
+
tablet: boolean;
|
|
35
|
+
tabletDistance: number;
|
|
36
|
+
ownTablet: boolean;
|
|
28
37
|
phone: boolean;
|
|
29
38
|
phoneDistance: number;
|
|
30
39
|
ownPhone: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{finiteNumber as
|
|
1
|
+
import{finiteNumber as k}from"../finite-number.js";const E="Stick to top",c={min:0,max:200,step:4,fallback:0},l="sf-section-stick",O="sf-scroll-over",r="sf-section-stick-tablet-on",C="sf-section-stick-tablet-off",_="sf-section-stick-phone-on",h="sf-section-stick-phone-off",i={desktop:"--sf-stick-distance",tablet:"--sf-stick-distance-tablet",phone:"--sf-stick-distance-phone"},d=new Set(["CategoryBar","DocTabs","IntroBleed","Contents"]);function a(e){const t=k(e)??c.fallback;return Math.min(c.max,Math.max(c.min,Math.round(t)))}function b(e){return typeof e.stickTopTablet=="boolean"}function u(e){return typeof e.stickTopPhone=="boolean"}function x(e){const t=e.stickTop===!0,n=a(e.stickTopDistance),o=b(e),p=o?e.stickTopTablet===!0:t,S=o?a(e.stickTopDistanceTablet):n,s=u(e),T=s?e.stickTopPhone===!0:p,f=s?a(e.stickTopDistancePhone):S;return{desktop:t,desktopDistance:n,tablet:p,tabletDistance:S,ownTablet:o,phone:T,phoneDistance:f,ownPhone:s}}function N(e){const t=x(e);if(!t.desktop&&!t.tablet&&!t.phone)return null;const n=[l],o={};return t.desktop&&(o[i.desktop]=`${t.desktopDistance}px`),t.ownTablet&&(n.push(t.tablet?r:C),t.tablet&&(o[i.tablet]=`${t.tabletDistance}px`)),(t.ownPhone||t.ownTablet||t.phone!==t.desktop)&&(n.push(t.phone?_:h),t.phone&&(o[i.phone]=`${t.phoneDistance}px`)),t.desktop||n.push("sf-section-stick-desktop-off"),{className:n.join(" "),style:o}}export{O as SCROLL_OVER_CLASS,l as SECTION_STICK_CLASS,c as SECTION_STICK_DISTANCE,d as SECTION_STICK_EXCLUDED,E as SECTION_STICK_LABEL,h as SECTION_STICK_PHONE_OFF_CLASS,_ as SECTION_STICK_PHONE_ON_CLASS,C as SECTION_STICK_TABLET_OFF_CLASS,r as SECTION_STICK_TABLET_ON_CLASS,i as SECTION_STICK_VARS,u as hasPhoneStick,b as hasTabletStick,x as resolveSectionStick,N as sectionStickAttrs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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 +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",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",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
|
-
import{FOOTER_LOGO_PX as
|
|
1
|
+
import{FOOTER_LOGO_PX as O}from"../logo/logo-size.js";import{resolveContainerGap as E}from"../content/container-gap.js";import{NESTED_BOX_PADDING as d}from"../content/box-layout.js";import{finiteNumber as p}from"../finite-number.js";import{isNodeList as _}from"efficient-easel/data";import{templateOnInsert as P}from"../content/card-template.js";import{buildSectionGroup as y,SITE_FOOTER_TYPE as L}from"./section-groups.js";const u="Flex",x={FooterMenu:"MenuBlock",FooterEmailSignup:"EmailFormBlock",FooterSocial:"SocialLogosBlock",FooterPayment:"PaymentLogosBlock"},A=e=>{const{id:o,...t}=e;return t},g=e=>typeof e=="string"?e:"",f={sm:12,md:13,lg:15},b="md",m=1.5,B={size:13,lineHeight:m,width:280},w=14,G=40,I=e=>e==="center"||e==="right"?e:"left";function S(e){const o={},t=[["padTop","sectionPaddingTop"],["padRight","sectionPaddingRight"],["padBottom","sectionPaddingBottom"],["padLeft","sectionPaddingLeft"]];for(const[r,n]of t){const i=p(e[r]);i&&(o[n]=i)}return o}function N(e,o,t){const r=t(e,A(o));if(Array.isArray(o.template))return{...r,props:{...r.props,template:h(o.template,String(r.props.id))}};if(o.template!==void 0)return r;const n=P(e,r.props);return n===r.props?r:{...r,props:n}}function h(e,o,t={at:0}){return e.map(r=>{const n={...r.props,id:`${o}~t${t.at++}`};for(const[i,s]of Object.entries(n))_(s)&&(n[i]=h(s,o,t));return{...r,props:n}})}function F(e,o){const t=e.props??{},r=x[e.type];if(r)return[N(r,t,o)];switch(e.type){case"FooterLogo":{const n=I(t.align),i=o("LogoBlock",{...t.reverse?{reverse:t.reverse}:{},...typeof t.customColor=="string"&&t.customColor?{customColor:t.customColor}:{},heightPx:Math.round(O*((p(t.widthPct)??100)/100)),href:"/",align:n,...S(t)}),s=g(t.tagline).trim();return s?[i,o("Text",{text:s,tone:"dim",align:n,_partStyles:{text:{...B}}})]:[i]}case"FooterText":{const n=typeof t.size=="string"&&t.size in f?t.size:b;return[o("Text",{text:g(t.text),tone:typeof t.tone=="string"?t.tone:"default",_partStyles:{text:{size:f[n],lineHeight:m}}})]}case"FooterDivider":{const n=p(t.thickness),i=p(t.lengthPct);return[o("Divider",{...n!==void 0?{thickness:n}:{},...i!==void 0?{lengthPct:i}:{},...t.hideOnMobile===!0?{hideOnMobile:!0}:{}})]}case"FooterGroup":{const n=Array.isArray(t.blocks)?t.blocks:[];return[o(u,{direction:t.direction==="horizontal"?"row":"column",gap:E("FooterGroup",t.gap),align:t.align==="center"||t.align==="end"||t.align==="stretch"?t.align:"start",...d,content:n.flatMap(i=>F(i,o))})]}default:return[]}}function v(e,o,t){const r=e&&Array.isArray(e.props?.blocks)?e.props.blocks:[],n=c=>o(u,{direction:"row",wrap:!0,share:"equal",gap:G,content:c}),i=[];let s=[];for(const c of r){const l=F(c,o);if(c.type==="FooterDivider"){s.length&&i.push(n(s)),s=[],i.push(...l);continue}l.length<=1?s.push(...l):s.push(o(u,{direction:"column",gap:w,align:"stretch",...d,content:l}))}(s.length||!i.length)&&i.push(n(s));const T=o(u,{direction:"column",content:[o("LegalLineBlock")]}),a=y(L,t,[...i,T]);return{...a,props:{...a.props,...e?.props?.width==="full"?{fullWidth:!0}:{}}}}export{f as FOOTER_TEXT_PX,v as boxFooterFromFooter,F as pageBlocksFromFooterBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CARD_TEMPLATE_LABEL as
|
|
1
|
+
import{CARD_TEMPLATE_LABEL as l,CARD_TEMPLATE_SLOT as e,hasCardTemplate as m}from"../content/card-template.js";import{say as n}from"../editor-words.js";function T(a,t=[e]){return m(a.type)?t.map(r=>r===e?{slot:r,label:n(l),rung:!0}:{slot:r,label:r,rung:!1}):null}export{T as cardTemplateSlotsOf};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink to fit",line:"One line",onTablet:"{value} on tablet"};export{t as EASEL_ROW_WORDS};
|
|
1
|
+
const t={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink to fit",line:"One line",onTablet:"{value} on tablet",onDesktop:"{value} on desktop"};export{t as EASEL_ROW_WORDS};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { CopyThemeColor } from "efficient-easel/copy";
|
|
2
|
-
import { type
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
export declare function partInks(read?: Partial<Record<WordStyleColour, string>> | null): PartInk[];
|
|
9
|
-
export declare function partThemeColors(read?: Partial<Record<WordStyleColour, string>> | null): CopyThemeColor[];
|
|
10
|
-
export declare function readInks(element: HTMLElement): Partial<Record<WordStyleColour, string>>;
|
|
11
|
-
export declare function toHex(css: string): string | null;
|
|
2
|
+
import { type ColorSlot } from "efficient-shell/markup";
|
|
3
|
+
export declare function partColourName(value: string): string;
|
|
4
|
+
export declare function partInkCss(value: string | undefined): string;
|
|
5
|
+
export declare function partThemeColors(read?: Partial<Record<ColorSlot, string>> | null): CopyThemeColor[];
|
|
6
|
+
export declare function readInks(element: HTMLElement): Partial<Record<ColorSlot, string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{parseHexColor as
|
|
1
|
+
import{parseHexColor as m}from"efficient-shell/format";import{COLOR_SLOTS as u,colorRole as S}from"efficient-shell/markup";import{say as g}from"../editor-words.js";import{COLOUR_TOKEN as i}from"../word-styles.js";const l={main:i.accent,text:i.text,background:"var(--bg)",muted:i.labels},C={main:"Main",text:"Text",background:"Background",muted:"Muted"},f={accent:"main",labels:"muted"};function N(t){return Object.hasOwn(f,t)?f[t]:t}function h(t){if(!t)return"";if(t.startsWith("#"))return m(t)===t.toLowerCase()?t:"";const o=S(N(t));return o?.kind==="slot"?l[o.slot]:""}const O="#9ca3af";function k(t){return u.map(o=>({name:o,label:g(C[o]),value:t?.[o]||O}))}function y(t){const o={},r=t.ownerDocument,e=r?.defaultView;if(!r||!e)return o;const d=e.getComputedStyle(t),n=r.createElement("canvas").getContext("2d");for(const a of u){const x=l[a].replace(/^var\((--[\w-]+)\)$/,"$1"),s=d.getPropertyValue(x).trim();if(!s)continue;let c=p(s);!c&&n&&(n.fillStyle="#000000",n.fillStyle=s,c=p(String(n.fillStyle))),c&&(o[a]=c)}return o}function p(t){const o=t.trim().toLowerCase();if(o.startsWith("#"))return m(o);const r=o.match(/^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/);return r?`#${r.slice(1,4).map(e=>Math.min(255,Number(e)).toString(16).padStart(2,"0")).join("")}`:null}export{N as partColourName,h as partInkCss,k as partThemeColors,y as readInks};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{templateOnInsert as c,templateOnRead as m}from"../../content/card-template.js";const i=e=>e.fields?.template?.type==="slot",g={name:"cardTemplateOnInsert",applies:(e,s,t)=>i(t),panel(e,s){const t=e.resolveData;e.resolveData=(r,o)=>{const n=r.props??{},p=o?.trigger,l=p==="insert"?c(s,n):p==="copy"?m(s,n):n,a=l===n?r:{...r,props:l};return t?t(a,o):a}}};export{g as cardTemplateOnInsert};
|
|
@@ -11,12 +11,18 @@ export type PassResolveFields = (data: {
|
|
|
11
11
|
type?: string;
|
|
12
12
|
} | null;
|
|
13
13
|
}) => unknown;
|
|
14
|
+
export type PassResolveData = (data: {
|
|
15
|
+
props?: Record<string, unknown>;
|
|
16
|
+
}, params: {
|
|
17
|
+
trigger?: string;
|
|
18
|
+
} & Record<string, unknown>) => unknown;
|
|
14
19
|
export type PassBlock = {
|
|
15
20
|
label?: string;
|
|
16
21
|
fields?: Record<string, unknown>;
|
|
17
22
|
textParts?: Record<string, unknown>;
|
|
18
23
|
defaultProps?: Record<string, unknown>;
|
|
19
24
|
resolveFields?: PassResolveFields;
|
|
25
|
+
resolveData?: PassResolveData;
|
|
20
26
|
render: (props: PassRenderProps) => ReactNode;
|
|
21
27
|
};
|
|
22
28
|
type FieldMap = Record<string, unknown>;
|
|
@@ -42,6 +48,7 @@ export type PassInspector = {
|
|
|
42
48
|
animationTabFields: (kind: AnimationTabKind, blockKey?: string) => FieldMap;
|
|
43
49
|
blockSizeFields: (opts?: {
|
|
44
50
|
textFit?: TextFit;
|
|
51
|
+
tablet?: boolean;
|
|
45
52
|
}) => {
|
|
46
53
|
size: FieldMap;
|
|
47
54
|
text: FieldMap;
|
|
@@ -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:"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).
|
|
1
|
+
const h=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",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
|
|
|
@@ -32,4 +32,4 @@ WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value
|
|
|
32
32
|
|
|
33
33
|
WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
|
|
34
34
|
|
|
35
|
-
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",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};
|
|
35
|
+
THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ShowWhenFacts } from "efficient-shell/format";
|
|
1
|
+
import { type ShowWhenFacts, type ShowWhenRule } from "efficient-shell/format";
|
|
2
2
|
export { showWhenOf, shownForOption, truthy, withRowRules, withRowsShownWhen, withShowWhen, } from "efficient-shell/format";
|
|
3
3
|
export type { RowRule, ShowWhenFactData, ShowWhenRule, WithShowWhen } from "efficient-shell/format";
|
|
4
4
|
export type ShowWhenFactParams = {
|
|
@@ -10,3 +10,4 @@ export type ShowWhenFactParams = {
|
|
|
10
10
|
};
|
|
11
11
|
export type BlockShowWhenFacts = ShowWhenFacts<ShowWhenFactParams>;
|
|
12
12
|
export declare const addShowWhenFacts: (block: object, facts: BlockShowWhenFacts) => void;
|
|
13
|
+
export declare function shownByUsedValue(keys: readonly string[], stores: (key: string) => ShowWhenRule, shown: (key: string) => ShowWhenRule): ShowWhenRule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{addShowWhenFacts as
|
|
1
|
+
import{addShowWhenFacts as e}from"efficient-shell/format";import{showWhenOf as c,shownForOption as s,truthy as u,withRowRules as p,withRowsShownWhen as W,withShowWhen as f}from"efficient-shell/format";const r=e;function d(o,h,n){return o.slice(0,-1).reduceRight((a,t)=>({any:[{all:[h(t),n(t)]},{all:[{not:h(t)},a]}]}),n(o[o.length-1]))}export{r as addShowWhenFacts,c as showWhenOf,d as shownByUsedValue,s as shownForOption,u as truthy,p as withRowRules,W as withRowsShownWhen,f as withShowWhen};
|
|
@@ -124,7 +124,6 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
124
124
|
readonly Animation: "Animation";
|
|
125
125
|
readonly "Another group already uses this heading \u2014 pick a different one.": "Another group already uses this heading — pick a different one.";
|
|
126
126
|
readonly Answer: "Answer";
|
|
127
|
-
readonly "Any color": "Any color";
|
|
128
127
|
readonly App: "App";
|
|
129
128
|
readonly "App chips": "App chips";
|
|
130
129
|
readonly "App name": "App name";
|
|
@@ -224,6 +223,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
224
223
|
readonly "Button text color": "Button text color";
|
|
225
224
|
readonly Buttons: "Buttons";
|
|
226
225
|
readonly "Buy button": "Buy button";
|
|
226
|
+
readonly "By spokes": "By spokes";
|
|
227
227
|
readonly "By the *numbers*": "By the *numbers*";
|
|
228
228
|
readonly "By the numbers": "By the numbers";
|
|
229
229
|
readonly "Call-to-Action Heading": "Call-to-Action Heading";
|
|
@@ -343,6 +343,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
343
343
|
readonly Dark: "Dark";
|
|
344
344
|
readonly "Dark band": "Dark band";
|
|
345
345
|
readonly Darken: "Darken";
|
|
346
|
+
readonly "Darken on hover": "Darken on hover";
|
|
346
347
|
readonly "Darken style": "Darken style";
|
|
347
348
|
readonly Dashed: "Dashed";
|
|
348
349
|
readonly "Data points": "Data points";
|
|
@@ -487,7 +488,6 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
487
488
|
readonly "Follows Styles \u25B8 Basics \u25B8 Corners until you set a number here.": "Follows Styles ▸ Basics ▸ Corners until you set a number here.";
|
|
488
489
|
readonly "Follows the section's Corners until you set a number here.": "Follows the section's Corners until you set a number here.";
|
|
489
490
|
readonly "Follows the site": "Follows the site";
|
|
490
|
-
readonly "Follows the style": "Follows the style";
|
|
491
491
|
readonly "Footer Box": "Footer Box";
|
|
492
492
|
readonly Footnote: "Footnote";
|
|
493
493
|
readonly Form: "Form";
|
|
@@ -550,8 +550,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
550
550
|
readonly Height: "Height";
|
|
551
551
|
readonly Hero: "Hero";
|
|
552
552
|
readonly "Hero & intros": "Hero & intros";
|
|
553
|
+
readonly "Hero Single": "Hero Single";
|
|
553
554
|
readonly "Hero Slide": "Hero Slide";
|
|
554
|
-
readonly "Hero Slideshow": "Hero Slideshow";
|
|
555
555
|
readonly "Hero button": "Hero button";
|
|
556
556
|
readonly "Hero line": "Hero line";
|
|
557
557
|
readonly "Hidden on the page": "Hidden on the page";
|
|
@@ -724,7 +724,6 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
724
724
|
readonly "Milestone title.": "Milestone title.";
|
|
725
725
|
readonly Milestones: "Milestones";
|
|
726
726
|
readonly "Mirror cards": "Mirror cards";
|
|
727
|
-
readonly Mixed: "Mixed";
|
|
728
727
|
readonly "Mockup Card": "Mockup Card";
|
|
729
728
|
readonly "Mockup card": "Mockup card";
|
|
730
729
|
readonly "Mockup position": "Mockup position";
|
|
@@ -1018,6 +1017,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1018
1017
|
readonly "Slide picker": "Slide picker";
|
|
1019
1018
|
readonly "Slide picker placement": "Slide picker placement";
|
|
1020
1019
|
readonly "Slide picker shape": "Slide picker shape";
|
|
1020
|
+
readonly "Slide {n}: own Overlay color.": "Slide {n}: own Overlay color.";
|
|
1021
|
+
readonly "Slides {n}: own Overlay color.": "Slides {n}: own Overlay color.";
|
|
1021
1022
|
readonly Small: "Small";
|
|
1022
1023
|
readonly "Small \u2014 40px": "Small — 40px";
|
|
1023
1024
|
readonly "Social Logos": "Social Logos";
|
|
@@ -1177,6 +1178,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1177
1178
|
readonly TikTok: "TikTok";
|
|
1178
1179
|
readonly "Timeline entries": "Timeline entries";
|
|
1179
1180
|
readonly "Timezone chip": "Timezone chip";
|
|
1181
|
+
readonly Tint: "Tint";
|
|
1180
1182
|
readonly "Tint color": "Tint color";
|
|
1181
1183
|
readonly "Tint opacity": "Tint opacity";
|
|
1182
1184
|
readonly Title: "Title";
|
|
@@ -1248,6 +1250,8 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1248
1250
|
readonly "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.": "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.";
|
|
1249
1251
|
readonly "What people *say.*": "What people *say.*";
|
|
1250
1252
|
readonly "What this does when a shopper points at it, or taps it on a phone.": "What this does when a shopper points at it, or taps it on a phone.";
|
|
1253
|
+
readonly "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.": "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.";
|
|
1254
|
+
readonly "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.": "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.";
|
|
1251
1255
|
readonly WhatsApp: "WhatsApp";
|
|
1252
1256
|
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.";
|
|
1253
1257
|
readonly "When the text does not fit": "When the text does not fit";
|
|
@@ -1287,7 +1291,6 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1287
1291
|
readonly "Your unpublished changes are kept": "Your unpublished changes are kept";
|
|
1288
1292
|
readonly Zigzag: "Zigzag";
|
|
1289
1293
|
readonly Zoom: "Zoom";
|
|
1290
|
-
readonly accent: "accent";
|
|
1291
1294
|
readonly "all theme colors": "all theme colors";
|
|
1292
1295
|
readonly "body text": "body text";
|
|
1293
1296
|
readonly button: "button";
|
|
@@ -1305,6 +1308,7 @@ export declare const WEB_BUILDER_WORDS: {
|
|
|
1305
1308
|
readonly item: "item";
|
|
1306
1309
|
readonly label: "label";
|
|
1307
1310
|
readonly link: "link";
|
|
1311
|
+
readonly main: "main";
|
|
1308
1312
|
readonly manifesto: "manifesto";
|
|
1309
1313
|
readonly none: "none";
|
|
1310
1314
|
readonly "not set": "not set";
|