efficient-web-builder 72.0.0 → 73.1.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 (79) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/editor/components/AddPageWindow.js +1 -1
  3. package/dist/editor/components/MediaUploadField.d.ts +2 -1
  4. package/dist/editor/components/PageStarterCard.js +1 -1
  5. package/dist/editor/components/SideSpaceField.d.ts +3 -0
  6. package/dist/editor/components/SideSpaceField.js +1 -1
  7. package/dist/editor/components/storefront-editor.css +14 -23
  8. package/dist/editor/lib/content/site-length-rows.js +1 -1
  9. package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
  10. package/dist/editor/lib/document/controls.d.ts +5 -2
  11. package/dist/editor/lib/document/controls.js +1 -1
  12. package/dist/editor/lib/document/field-groups.js +1 -1
  13. package/dist/editor/lib/document/passes/inspector.js +1 -1
  14. package/dist/editor/lib/document/shape-picker.d.ts +16 -8
  15. package/dist/editor/lib/document/shape-picker.js +1 -1
  16. package/dist/editor/lib/document/show-when-resolve.js +1 -1
  17. package/dist/format/lib/content/box-shape.d.ts +2 -1
  18. package/dist/format/lib/content/box-shape.js +1 -1
  19. package/dist/format/lib/content/css-length.d.ts +2 -3
  20. package/dist/format/lib/content/css-length.js +1 -1
  21. package/dist/format/lib/content/gallery-card-layout.d.ts +22 -1
  22. package/dist/format/lib/content/gallery-card-layout.js +1 -1
  23. package/dist/format/lib/content/grid-span.d.ts +15 -2
  24. package/dist/format/lib/content/grid-span.js +1 -1
  25. package/dist/format/lib/content/image-aspect.d.ts +5 -3
  26. package/dist/format/lib/content/image-aspect.js +1 -1
  27. package/dist/format/lib/content/page-width.d.ts +3 -0
  28. package/dist/format/lib/content/page-width.js +1 -1
  29. package/dist/format/lib/content/part-names.d.ts +27 -0
  30. package/dist/format/lib/content/part-names.js +1 -0
  31. package/dist/format/lib/content/section-css.d.ts +3 -0
  32. package/dist/format/lib/content/section-css.js +1 -0
  33. package/dist/format/lib/content/section-min-height.js +1 -1
  34. package/dist/format/lib/content/view-hide-class.js +1 -1
  35. package/dist/format/lib/content/view-tier.d.ts +2 -2
  36. package/dist/format/lib/document/passes/types.d.ts +1 -0
  37. package/dist/format/lib/document/style-text.d.ts +1 -0
  38. package/dist/format/lib/document/style-text.js +1 -0
  39. package/dist/format/lib/editor-words-catalogue.d.ts +5 -0
  40. package/dist/format/lib/editor-words-catalogue.js +1 -1
  41. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  42. package/dist/format/lib/site-twin-row.d.ts +2 -1
  43. package/dist/render/components/BlockFrame.d.ts +3 -1
  44. package/dist/render/components/BlockFrame.js +1 -1
  45. package/dist/render/components/Btn.d.ts +3 -0
  46. package/dist/render/components/Btn.js +1 -1
  47. package/dist/render/components/ButtonBlock.js +1 -1
  48. package/dist/render/components/Flex.js +1 -1
  49. package/dist/render/components/Grid.js +1 -1
  50. package/dist/render/components/Heading.js +1 -1
  51. package/dist/render/components/HeroArrows.d.ts +4 -1
  52. package/dist/render/components/HeroArrows.js +1 -1
  53. package/dist/render/components/HeroPictures.js +1 -1
  54. package/dist/render/components/HeroPoster.js +1 -1
  55. package/dist/render/components/HeroSection.js +1 -1
  56. package/dist/render/components/HeroSingle.js +1 -1
  57. package/dist/render/components/HeroSlide.js +1 -1
  58. package/dist/render/components/ImageBlock.js +1 -1
  59. package/dist/render/components/Logo.d.ts +3 -1
  60. package/dist/render/components/Logo.js +1 -1
  61. package/dist/render/components/LogoBlock.js +1 -1
  62. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  63. package/dist/render/components/SiteGutterFrame.d.ts +3 -1
  64. package/dist/render/components/SiteGutterFrame.js +1 -1
  65. package/dist/render/components/Text.js +1 -1
  66. package/dist/render/lib/content/section-padding.d.ts +2 -1
  67. package/dist/render/lib/document/blocks/general/CustomHTML/render.js +1 -1
  68. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  69. package/dist/render/lib/document/custom-css.d.ts +9 -0
  70. package/dist/render/lib/document/custom-css.js +2 -0
  71. package/dist/render/lib/document/part-styles.d.ts +2 -2
  72. package/dist/render/lib/document/passes/cell-width.js +1 -1
  73. package/dist/render/lib/document/passes/index.js +1 -1
  74. package/dist/render/lib/document/passes/section-custom-css.d.ts +2 -0
  75. package/dist/render/lib/document/passes/section-custom-css.js +1 -0
  76. package/dist/render/lib/document/render-registry.js +1 -1
  77. package/dist/render/lib/document/section-css-style.d.ts +4 -0
  78. package/dist/render/lib/document/section-css-style.js +1 -0
  79. package/package.json +10 -6
@@ -1,5 +1,5 @@
1
1
  import { type HeroGroupPlacement } from "../hero-group-placement.js";
2
- export declare const GALLERY_CARD_RATIOS: readonly ["square", "tall", "wide", "landscape", "portrait", "video", "panorama", "story", "poster", "screen", "auto"];
2
+ export declare const GALLERY_CARD_RATIOS: readonly ["square", "tall", "wide", "landscape", "portrait", "video", "panorama", "story", "poster", "screen", "auto", "custom"];
3
3
  export type GalleryCardRatio = (typeof GALLERY_CARD_RATIOS)[number];
4
4
  export declare const GALLERY_CARD_RATIO_DEFAULT: GalleryCardRatio;
5
5
  export declare function galleryCardRatioClass(ratio?: string): string;
@@ -64,8 +64,29 @@ export declare const SHAPE_TABLE: readonly [{
64
64
  readonly image: "21/9";
65
65
  readonly ratio: readonly [21, 9];
66
66
  readonly label: "Panorama 21:9";
67
+ }, {
68
+ readonly shape: "custom";
69
+ readonly image: "custom";
70
+ readonly ratio: null;
71
+ readonly label: "Custom W:H";
67
72
  }];
68
73
  export type ImageShapeValue = (typeof SHAPE_TABLE)[number]["image"];
74
+ export declare const CUSTOM_SHAPE: "custom";
75
+ export declare function customShapeRatio(value: unknown): readonly [number, number] | null;
76
+ export declare function shapeRatioOf(value: unknown): readonly [number, number] | null;
77
+ export declare function isCustomShape(value: unknown): value is string;
78
+ export declare function shapeRatioValue(w: number, h: number, column: "shape" | "image"): string;
79
+ export declare function shapeRatioCss(ratio: readonly [number, number]): string;
80
+ export declare const SHAPE_RATIO_VARS: {
81
+ readonly desktop: "--shape-ratio";
82
+ readonly tablet: "--shape-ratio-tablet";
83
+ readonly phone: "--shape-ratio-phone";
84
+ };
85
+ export declare function shapeRatioStyle(views: {
86
+ desktop?: unknown;
87
+ tablet?: unknown;
88
+ phone?: unknown;
89
+ }): Record<string, string> | null;
69
90
  export declare function shapeLines(shapes: readonly GalleryCardRatio[]): readonly ShapeLine[];
70
91
  export declare const GALLERY_CAPTION_PLACES: readonly ["overlay", "below"];
71
92
  export type GalleryCaptionPlace = (typeof GALLERY_CAPTION_PLACES)[number];
@@ -1 +1 @@
1
- import{normalisePlacement as s,placementParts as o}from"../hero-group-placement.js";import{scrim as t}from"./scrim.js";const g=["square","tall","wide","landscape","portrait","video","panorama","story","poster","screen","auto"],A="square";function h(e){switch(e){case"tall":return"aspect-[3/4]";case"wide":return"aspect-[2/1]";case"landscape":return"aspect-[4/3]";case"screen":return"aspect-[16/10]";case"portrait":return"aspect-[4/5]";case"video":return"aspect-[16/9]";case"panorama":return"aspect-[21/9]";case"story":return"aspect-[9/16]";case"poster":return"aspect-[2/3]";case"auto":return"";default:return"aspect-square"}}const n=[{shape:"auto",image:"auto",ratio:null,label:"Auto"},{shape:"story",image:"9/16",ratio:[9,16],label:"Story 9:16"},{shape:"poster",image:"2/3",ratio:[2,3],label:"Poster 2:3"},{shape:"tall",image:"3/4",ratio:[3,4],label:"Tall 3:4"},{shape:"portrait",image:"4/5",ratio:[4,5],label:"Portrait 4:5"},{shape:"square",image:"1/1",ratio:[1,1],label:"Square 1:1"},{shape:"landscape",image:"4/3",ratio:[4,3],label:"Landscape 4:3"},{shape:"screen",image:"16/10",ratio:[16,10],label:"Screen 16:10"},{shape:"video",image:"16/9",ratio:[16,9],label:"Video 16:9"},{shape:"wide",image:"2/1",ratio:[2,1],label:"Wide 2:1"},{shape:"panorama",image:"21/9",ratio:[21,9],label:"Panorama 21:9"}];function b(e){return n.filter(a=>e.includes(a.shape))}const f=["overlay","below"];function L(e){return e==="below"}const y="bottom-left";function _(e){const{band:a,column:r}=o(s(e));return["justify-start","justify-center","justify-end"][a]+(r==="center"?" text-center":r==="end"?" text-right":"")}const i=`linear-gradient(180deg, transparent 40%, ${t(.85)} 100%)`,l=`linear-gradient(0deg, transparent 40%, ${t(.85)} 100%)`,c=t(.45);function x(e){return[l,c,i][o(s(e)).band]}export{y as GALLERY_CAPTION_ANCHOR_DEFAULT,f as GALLERY_CAPTION_PLACES,g as GALLERY_CARD_RATIOS,A as GALLERY_CARD_RATIO_DEFAULT,n as SHAPE_TABLE,_ as galleryCaptionAnchorClass,L as galleryCaptionIsBelow,x as galleryCaptionWash,h as galleryCardRatioClass,b as shapeLines};
1
+ import{normalisePlacement as p,placementParts as c}from"../hero-group-placement.js";import{scrim as s}from"./scrim.js";const y=["square","tall","wide","landscape","portrait","video","panorama","story","poster","screen","auto","custom"],R="square";function _(e){switch(e){case"tall":return"aspect-[3/4]";case"wide":return"aspect-[2/1]";case"landscape":return"aspect-[4/3]";case"screen":return"aspect-[16/10]";case"portrait":return"aspect-[4/5]";case"video":return"aspect-[16/9]";case"panorama":return"aspect-[21/9]";case"story":return"aspect-[9/16]";case"poster":return"aspect-[2/3]";case"auto":return"";case"custom":return"aspect-[var(--shape-ratio)]";default:return"aspect-square"}}const n=[{shape:"auto",image:"auto",ratio:null,label:"Auto"},{shape:"story",image:"9/16",ratio:[9,16],label:"Story 9:16"},{shape:"poster",image:"2/3",ratio:[2,3],label:"Poster 2:3"},{shape:"tall",image:"3/4",ratio:[3,4],label:"Tall 3:4"},{shape:"portrait",image:"4/5",ratio:[4,5],label:"Portrait 4:5"},{shape:"square",image:"1/1",ratio:[1,1],label:"Square 1:1"},{shape:"landscape",image:"4/3",ratio:[4,3],label:"Landscape 4:3"},{shape:"screen",image:"16/10",ratio:[16,10],label:"Screen 16:10"},{shape:"video",image:"16/9",ratio:[16,9],label:"Video 16:9"},{shape:"wide",image:"2/1",ratio:[2,1],label:"Wide 2:1"},{shape:"panorama",image:"21/9",ratio:[21,9],label:"Panorama 21:9"},{shape:"custom",image:"custom",ratio:null,label:"Custom W:H"}],l="custom",u=/^(\d{1,4}(?:\.\d{1,2})?)\/(\d{1,4}(?:\.\d{1,2})?)$/;function i(e){if(typeof e!="string")return null;const t=u.exec(e);if(!t)return null;const a=Number(t[1]),r=Number(t[2]);return a>0&&r>0?[a,r]:null}function C(e){const t=n.find(a=>a.shape!==l&&(a.shape===e||a.image===e));return t?t.ratio:i(e)}function m(e){return n.every(t=>t.shape!==e&&t.image!==e)&&i(e)!==null}function S(e,t,a){const r=n.find(o=>o.ratio!==null&&o.ratio[0]*t===o.ratio[1]*e);return r?r[a]:`${e}/${t}`}function h(e){return`${e[0]} / ${e[1]}`}const d={desktop:"--shape-ratio",tablet:"--shape-ratio-tablet",phone:"--shape-ratio-phone"};function L(e){const t={};for(const a of["desktop","phone","tablet"]){const r=m(e[a])?i(e[a]):null;r&&(t[d[a]]=h(r))}return Object.keys(t).length?t:null}function T(e){return n.filter(t=>e.includes(t.shape))}const O=["overlay","below"];function E(e){return e==="below"}const P="bottom-left";function H(e){const{band:t,column:a}=c(p(e));return["justify-start","justify-center","justify-end"][t]+(a==="center"?" text-center":a==="end"?" text-right":"")}const f=`linear-gradient(180deg, transparent 40%, ${s(.85)} 100%)`,g=`linear-gradient(0deg, transparent 40%, ${s(.85)} 100%)`,A=s(.45);function I(e){return[g,A,f][c(p(e)).band]}export{l as CUSTOM_SHAPE,P as GALLERY_CAPTION_ANCHOR_DEFAULT,O as GALLERY_CAPTION_PLACES,y as GALLERY_CARD_RATIOS,R as GALLERY_CARD_RATIO_DEFAULT,d as SHAPE_RATIO_VARS,n as SHAPE_TABLE,i as customShapeRatio,H as galleryCaptionAnchorClass,E as galleryCaptionIsBelow,I as galleryCaptionWash,_ as galleryCardRatioClass,m as isCustomShape,T as shapeLines,h as shapeRatioCss,C as shapeRatioOf,L as shapeRatioStyle,S as shapeRatioValue};
@@ -10,8 +10,21 @@ export declare const GRID_SPAN_ATTR = "data-sf-span";
10
10
  export declare const GRID_MAX_ROW_SPAN = 4;
11
11
  export declare function resolveGridRowSpan(span: unknown): number | null;
12
12
  export declare const GRID_ROW_SPAN_ATTR = "data-sf-row-span";
13
- export declare const CELL_SPAN_KEYS: readonly ["gridSpan", "gridRowSpan"];
13
+ export declare const GRID_TILE_AT_KEY = "gridTileAt";
14
+ export declare const GRID_MAX_TILE_AT = 48;
15
+ export declare function resolveGridTileAt(at: unknown): number | null;
16
+ export declare const GRID_TILE_AT_VAR = "--sf-tile-at";
17
+ export declare function resolveGridSpanPhone(span: unknown): number | null;
18
+ export declare function resolveGridRowSpanPhone(span: unknown): number | null;
19
+ export declare const GRID_SPAN_PHONE_ATTR = "data-sf-span-phone";
20
+ export declare const GRID_ROW_SPAN_PHONE_ATTR = "data-sf-row-span-phone";
21
+ export declare const CELL_SPAN_KEYS: readonly ["gridSpan", "gridRowSpan", "gridTileAt", string, string];
14
22
  export declare function containerOffersPositions(node: {
15
23
  type?: unknown;
16
24
  props?: Record<string, unknown>;
17
- } | null | undefined): boolean;
25
+ } | null | undefined, childId?: unknown): boolean;
26
+ export declare function declarePositionSlots(type: string, slots: readonly string[]): void;
27
+ export declare function childInPositionSlot(node: {
28
+ type?: unknown;
29
+ props?: Record<string, unknown>;
30
+ } | null | undefined, childId: unknown): boolean;
@@ -1 +1 @@
1
- import{resolveGalleryLayout as s}from"./gallery-layout.js";import{PHONE_EDGE as l}from"./view-lines.js";const u=12,i=1,p=3,x=l,f=3;function o(r,t,n){const e=typeof r=="number"?r:Number.parseInt(String(r??""),10);return Number.isFinite(e)?Math.min(n,Math.max(t,Math.trunc(e))):null}function _(r){return o(r,1,u)??f}function R(r,t){const n=o(r,i,p);return n??(_(t)===4?2:i)}function I(r){return r==null||r===""?null:o(r,1,u)}const M="data-sf-span",c=4;function N(r){return r==null||r===""?null:o(r,1,c)}const S="data-sf-row-span",m=["gridSpan","gridRowSpan"];function A(r){if(!r)return!1;if(r.type==="Grid")return!0;if(r.type==="GalleryB"){if(s(r.props??{}))return!1;const t=r.props?.columns;return t!=null&&t!==""}return!1}export{m as CELL_SPAN_KEYS,f as GRID_COLUMNS_FALLBACK,u as GRID_MAX_COLUMNS,c as GRID_MAX_ROW_SPAN,p as GRID_MOBILE_MAX_COLUMNS,i as GRID_MOBILE_MIN_COLUMNS,x as GRID_PHONE_BREAKPOINT,S as GRID_ROW_SPAN_ATTR,M as GRID_SPAN_ATTR,A as containerOffersPositions,_ as resolveGridColumns,R as resolveGridMobileColumns,N as resolveGridRowSpan,I as resolveGridSpan};
1
+ import{phoneKey as i}from"efficient-easel/screen/lib/content/view-tiers";import{resolveGalleryLayout as c}from"./gallery-layout.js";import{PHONE_EDGE as a}from"./view-lines.js";const u=12,p=1,l=3,P=a,R=3;function o(r,t,n){const e=typeof r=="number"?r:Number.parseInt(String(r??""),10);return Number.isFinite(e)?Math.min(n,Math.max(t,Math.trunc(e))):null}function x(r){return o(r,1,u)??R}function M(r,t){const n=o(r,p,l);return n??(x(t)===4?2:p)}function E(r){return r==null||r===""?null:o(r,1,u)}const L="data-sf-span",A=4;function S(r){return r==null||r===""?null:o(r,1,A)}const D="data-sf-row-span",G="gridTileAt",I=48;function y(r){return r==null||r===""?null:o(r,1,I)}const d="--sf-tile-at";function g(r){return r==null||r===""?null:o(r,1,l)}function h(r){return S(r)}const C="data-sf-span-phone",w="data-sf-row-span-phone",v=["gridSpan","gridRowSpan",G,i("gridSpan"),i("gridRowSpan")];function B(r,t){if(!r)return!1;if(N(r,t)||r.type==="Grid")return!0;if(r.type==="GalleryB"){if(c(r.props??{}))return!1;const n=r.props?.columns;return n!=null&&n!==""}return!1}const f=new Map;function K(r,t){f.set(r,[...t])}function N(r,t){if(!r||typeof r.type!="string"||typeof t!="string")return!1;const n=f.get(r.type);return n?n.some(e=>{const s=r.props?.[e];return Array.isArray(s)&&s.some(_=>_?.props?.id===t)}):!1}export{v as CELL_SPAN_KEYS,R as GRID_COLUMNS_FALLBACK,u as GRID_MAX_COLUMNS,A as GRID_MAX_ROW_SPAN,I as GRID_MAX_TILE_AT,l as GRID_MOBILE_MAX_COLUMNS,p as GRID_MOBILE_MIN_COLUMNS,P as GRID_PHONE_BREAKPOINT,D as GRID_ROW_SPAN_ATTR,w as GRID_ROW_SPAN_PHONE_ATTR,L as GRID_SPAN_ATTR,C as GRID_SPAN_PHONE_ATTR,G as GRID_TILE_AT_KEY,d as GRID_TILE_AT_VAR,N as childInPositionSlot,B as containerOffersPositions,K as declarePositionSlots,x as resolveGridColumns,M as resolveGridMobileColumns,S as resolveGridRowSpan,h as resolveGridRowSpanPhone,E as resolveGridSpan,g as resolveGridSpanPhone,y as resolveGridTileAt};
@@ -1,6 +1,7 @@
1
1
  import type { ShowWhenRule } from "efficient-shell/format";
2
- import { type ImageShapeValue } from "./gallery-card-layout.js";
3
- type ImageRatio = ImageShapeValue;
2
+ import type { ViewTier } from "efficient-easel/screen/lib/content/view-tiers";
3
+ import { CUSTOM_SHAPE, type ImageShapeValue } from "./gallery-card-layout.js";
4
+ type ImageRatio = Exclude<ImageShapeValue, typeof CUSTOM_SHAPE> | `${number}/${number}`;
4
5
  export declare const FILL_ROW = "fill";
5
6
  export type ImageAspect = ImageRatio | typeof FILL_ROW;
6
7
  export declare const FILL_ROW_OPTION: {
@@ -45,12 +46,13 @@ export declare function pictureLayerClass(fill: {
45
46
  } | null | undefined): string;
46
47
  export declare const isImageRatio: (value: unknown) => value is ImageRatio;
47
48
  export declare function imageRatioAspect(value: unknown): string | null;
49
+ export declare function imageShapeStyle(drawn: unknown, phone: unknown): Record<string, string> | null;
48
50
  export declare function imageWidthFollowsBox(drawn: unknown, phone: unknown, fit: "cover" | "contain"): boolean;
49
51
  export declare function imageAspectDrawn(aspect: unknown, rowGivesHeight: boolean): unknown;
50
52
  export declare function imageAspectPhoneRest(desktop: unknown): ImageRatio | undefined;
51
53
  export declare function imageAspectPhoneOf(drawn: unknown, phone: unknown): ImageRatio | null;
52
54
  export declare function imageAspectDrawsARatio(aspect: unknown, phone: unknown): boolean;
53
55
  export declare function imageFocalPointActs(fit: unknown, aspect: unknown, phone: unknown): boolean;
54
- export declare function imageFocalPointActsIn(view: "desktop" | "tablet" | "mobile", fit: unknown, aspect: unknown, phone: unknown): boolean;
56
+ export declare function imageFocalPointActsIn(view: ViewTier, fit: unknown, aspect: unknown, phone: unknown): boolean;
55
57
  export declare function imageAspectClasses(drawn: unknown, phone: ImageRatio | null, fillFrom?: ImageFillFrom): string;
56
58
  export {};
@@ -1 +1 @@
1
- import{BOX_GIVES_PICTURES_A_HEIGHT as f}from"./box-layout.js";import{imageIsCropped as w,parseImageFit as n}from"./image-fit.js";import{SHAPE_TABLE as p}from"./gallery-card-layout.js";const x=p.map(e=>e.image),a="fill",S={label:"Fill row",value:a,showWhen:f},r="4/3",u={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},l={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:u,tablet:u,desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function h(e,t,i){return t&&!o(i)?"all":e??"wide"}function m(e){return l[e]}const C=l.all;function P(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}const _={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","16/10":"aspect-[16/10]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]"},g={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","16/10":"view-wide:aspect-[16/10]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]"},A={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","16/10":"max-view-wide:aspect-[16/10]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]"},L={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","16/10":"max-view-wide:aspect-[16/10]!","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!"},c=e=>x.includes(e),o=c;function k(e){const t=c(e)?p.find(i=>i.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function B(e,t,i){return i==="contain"?!0:[e,t??e].every(s=>s!==a&&(!c(s)||s==="auto"))}function T(e,t){return e===a&&!t?r:e}function W(e){return e===a?r:o(e)?e:void 0}function d(e,t){return o(t)?t===e?null:t:e===a?r:null}function I(e,t){const i=d(e,t);return w(e,"cover")||i!==null&&w(i,"cover")}function O(e,t,i){return n(e,"cover")==="cover"&&I(t,i)}function b(e,t,i,s){return e==="desktop"?O(t,i,s):n(t,"cover")!=="cover"?!1:v(e==="tablet"?i:d(i,s)??i)}const v=e=>e===a||o(e)&&e!=="auto";function H(e,t,i="wide"){return e===a&&i==="all"?m("all").frame:t===null?o(e)?_[e]:"":[e===a?m(i).frame:o(e)?g[e]:"",e===a&&i==="desktop"?L[t]:A[t]].filter(Boolean).join(" ")}export{C as FILLS_ITS_FRAME,a as FILL_ROW,S as FILL_ROW_OPTION,H as imageAspectClasses,T as imageAspectDrawn,I as imageAspectDrawsARatio,d as imageAspectPhoneOf,W as imageAspectPhoneRest,h as imageFillFrom,m as imageFillRowClasses,O as imageFocalPointActs,b as imageFocalPointActsIn,k as imageRatioAspect,B as imageWidthFollowsBox,c as isImageRatio,P as pictureLayerClass};
1
+ import{BOX_GIVES_PICTURES_A_HEIGHT as g}from"./box-layout.js";import{imageIsCropped as n,parseImageFit as u}from"./image-fit.js";import{CUSTOM_SHAPE as m,customShapeRatio as A,isCustomShape as c,SHAPE_TABLE as l,shapeRatioCss as h,shapeRatioStyle as L}from"./gallery-card-layout.js";const O=l.map(e=>e.image).filter(e=>e!==m),r=e=>c(e)?m:e,a="fill",B={label:"Fill row",value:a,showWhen:g},p="4/3",d={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},v={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:d,tablet:d,desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function W(e,t,i){return t&&!o(i)?"all":e??"wide"}function f(e){return v[e]}const b=v.all;function H(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}const R={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","16/10":"aspect-[16/10]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]",custom:"aspect-[var(--shape-ratio)]"},S={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","16/10":"view-wide:aspect-[16/10]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]",custom:"view-wide:aspect-[var(--shape-ratio)]"},I={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","16/10":"max-view-wide:aspect-[16/10]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]",custom:"max-view-wide:aspect-[var(--shape-ratio-phone)]"},E={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","16/10":"max-view-wide:aspect-[16/10]!","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!",custom:"max-view-wide:aspect-[var(--shape-ratio-phone)]!"},w=e=>O.includes(e)||c(e),o=w;function y(e){const t=w(e)?c(e)?A(e):l.find(i=>i.image===e)?.ratio:null;return t?h(t):null}function M(e,t){return L({desktop:e,phone:t})}function q(e,t,i){return i==="contain"?!0:[e,t??e].every(s=>s!==a&&(!w(s)||s==="auto"))}function D(e,t){return e===a&&!t?p:e}function G(e){return e===a?p:o(e)?e:void 0}function x(e,t){return o(t)?t===e?null:t:e===a?p:null}function F(e,t){const i=x(e,t);return n(e,"cover")||i!==null&&n(i,"cover")}function C(e,t,i){return u(e,"cover")==="cover"&&F(t,i)}function K(e,t,i,s){return e==="desktop"?C(t,i,s):u(t,"cover")!=="cover"?!1:_(e==="tablet"?i:x(i,s)??i)}const _=e=>e===a||o(e)&&e!=="auto";function N(e,t,i="wide"){return e===a&&i==="all"?f("all").frame:t===null?o(e)?R[r(e)]:"":[e===a?f(i).frame:o(e)?S[r(e)]:"",e===a&&i==="desktop"?E[r(t)]:I[r(t)]].filter(Boolean).join(" ")}export{b as FILLS_ITS_FRAME,a as FILL_ROW,B as FILL_ROW_OPTION,N as imageAspectClasses,D as imageAspectDrawn,F as imageAspectDrawsARatio,x as imageAspectPhoneOf,G as imageAspectPhoneRest,W as imageFillFrom,f as imageFillRowClasses,C as imageFocalPointActs,K as imageFocalPointActsIn,y as imageRatioAspect,M as imageShapeStyle,q as imageWidthFollowsBox,w as isImageRatio,H as pictureLayerClass};
@@ -19,13 +19,16 @@ export declare const SITE_GUTTER: {
19
19
  readonly max: 80;
20
20
  readonly step: 4;
21
21
  readonly default: 40;
22
+ readonly typedMax: number;
22
23
  };
23
24
  export declare const SITE_GUTTER_VAR = "--sf-site-gutter";
24
25
  export declare const SITE_GUTTER_PHONE: {
25
26
  readonly min: 0;
26
27
  readonly max: 24;
27
28
  readonly step: 4;
29
+ readonly typedMax: number;
28
30
  };
31
+ export declare const SIDE_SPACE_GUARD_VW: number;
29
32
  export declare const SITE_GUTTER_PHONE_VAR = "--sf-site-gutter-phone";
30
33
  export declare const SITE_GUTTER_PHONE_CLASS = "max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!";
31
34
  export declare const SITE_GUTTER_PHONE_EDGE_CLASS = "max-view-wide:[&_[data-sf-line~=edge]:not([data-sf-line~=edge]_*)]:[--sf-site-gutter:var(--sf-site-gutter-phone)]";
@@ -1 +1 @@
1
- import{siteLengthCss as u,siteLengthHeld as $,storedUnit as v}from"./css-length.js";import{convertLength as O}from"efficient-easel/screen/lib/content/length-units";const x={min:1e3,max:2e3,step:50,default:1600};function m(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function F(t,e){if(t!==!1)return null;const r=typeof e=="number"?e:x.default;return m(r)}const f="--sf-site-width",a=`var(${f},${x.default}px)`,z="100vw",I=`max-w-[${a}]`,j=`max-w-[${x.default}px]`;function l(t){return typeof t!="number"||!Number.isFinite(t)?x.default:Math.round(Math.min(Math.max(t,x.min),x.max))}function K(t,e){const r=u(t,e,"size",x);if(r!==null)return{[f]:r};const n=l(t);return n===x.default?{}:{[f]:`${n}px`}}const p={min:0,max:80,step:4,default:40},c="--sf-site-gutter",s={min:0,max:24,step:4},d="--sf-site-gutter-phone",H="max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!",b="max-view-wide:[&_[data-sf-line~=edge]:not([data-sf-line~=edge]_*)]:[--sf-site-gutter:var(--sf-site-gutter-phone)]",o=`var(${c},${p.default}px)`,P=`px-[${o}]`,X=["px-10","px-[60px]"],i={md:`min(24px,${o})`,sm:`min(20px,${o})`,frame:`min(24px,${o})`,tabs:`min(16px,${o})`},G=[[`max-view-desktop:px-[${i.md}]`,"max-view-desktop:px-6"],[`max-view-desktop:px-[${i.tabs}]`,"max-view-desktop:px-4"],[`max-[960px]:px-[${i.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${i.md}]`,"max-[900px]:px-6"],[`max-view-wide:px-[${i.md}]`,"max-view-wide:px-6"],[`max-view-tablet:px-[${i.sm}]`,"max-view-tablet:px-5"],[`max-view-wide:px-[${i.sm}]`,"max-view-wide:px-5"],[`max-[640px]:px-[${i.sm}]`,"max-[640px]:px-5"],[`view-wide:px-[${o}]`,"view-wide:px-10"],[`max-view-tablet:px-[min(24px,${o})]`,"max-view-tablet:px-6"],[`max-view-wide:-mx-[min(20px,${o})]`,"max-view-wide:-mx-5"],[`max-view-tablet:-mx-[min(20px,${o})]`,"max-view-tablet:-mx-5"],[`-mx-[${o}]`,"-mx-10"],[P,"px-10"]];function q(t){return G.reduce((e,[r,n])=>e.split(r).join(n),t)}const E="max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]";function J(t){return M[t??"box"]}const T="var(--sf-pad-site,var(--sf-box-g,var(--sf-site-gutter,40px)))",S="[--sf-edge-g:var(--sf-pad-site)]",M={box:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-[960px]:[--sf-pad-site:min(24px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:T,edge:S,frame:"max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]"},site:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-view-wide:[--sf-pad-site:min(20px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:T,edge:S,frame:E}},Q=`mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] ${E}`,R="[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";function Y(t){const e=R.replace(/&/g,"&amp;").replace(/>/g,"&gt;");return t.split(` ${e}`).join("").split(` ${R}`).join("")}const Z="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";function w(t){return typeof t!="number"||!Number.isFinite(t)?p.default:Math.round(Math.min(Math.max(t,p.min),p.max))}function tt(t,e){const r=u(t,e,"spacing",p);if(r!==null)return{[c]:r};const n=w(t);return n===p.default?{}:{[c]:`${n}px`}}function C(t){return typeof t!="number"||!Number.isFinite(t)?null:Math.round(Math.min(Math.max(t,s.min),s.max))}function et(t){return typeof t=="number"&&Number.isFinite(t)?l(t):null}function rt(t,e){const r=u(t,e,"spacing",s);if(r!==null)return{[d]:r};const n=C(t);return n===null?{}:{[d]:`${n}px`}}function nt(t){return C(t)===null?"":`${H} ${b}`}function ot(t,e){const r=$(t,e,"spacing",p),n=r===null?w(t):O(r,v(e),"px","mobile",s);return Math.min(s.max,n)}function L(t=0){return`calc(${a}/2 - ${o}*2 - ${t}px)`}function xt(t=0){return`max-w-[${L(t).replace(/ /g,"_")}]`}const h=a,it=`max-w-[${h}]`,pt=`max-w-[min(var(--sf-page-cap,${x.default}px),${x.default}px)]`,A="--sf-hero-cap",D=`var(${A},none)`,st=`max-w-[${D}]`,N="--sf-hero-bleed-m",U="--sf-hero-bleed-w",W="--sf-hero-chrome-x",k="--sf-hero-chrome-cap";function at(t){return t===!0?{[A]:h,[N]:"auto",[U]:"100%",[W]:"24px",[k]:"none"}:{}}const _=`calc(${a} - ${o}*2)`,ut=`max-w-[${_.replace(/ /g,"_")}]`,mt=I;function ft(t){return t!==!1?null:m(g)}const V="--sf-chrome-cap",g=`var(${V},${_})`,ct="data-page-width";function _t(t){return t==="full"?"full":null}function lt(t){return t==="full"?null:m(t==="content"?_:g)}function dt(t){if(t==="full")return"full";if(t==="content")return"content"}export{R as BOX_HOLDS_NO_GUTTER_CLASS,g as CHROME_CAP_READ,V as CHROME_CAP_VAR,_ as CHROME_WIDTH_CAP,ut as CHROME_WIDTH_CAP_CLASS,Z as EDITORIAL_COLUMN,z as FULL_SECTION_WIDTH,D as HERO_BACKGROUND_CAP,st as HERO_BACKGROUND_CAP_CLASS,A as HERO_BACKGROUND_VAR,N as HERO_BLEED_MARGIN_VAR,U as HERO_BLEED_WIDTH_VAR,h as HERO_CAP,it as HERO_CAP_CLASS,k as HERO_CHROME_CAP_VAR,W as HERO_CHROME_INSET_VAR,x as PAGE_WIDTH,ct as PAGE_WIDTH_ATTR,mt as PRE_CHROME_WIDTH_CAP_CLASS,pt as PRE_HERO_CAP_CLASS,X as PRE_SITE_GUTTER_CLASSES,j as PRE_SITE_WIDTH_CAP_CLASS,Q as SITE_COLUMN,E as SITE_COLUMN_NARROW,p as SITE_GUTTER,o as SITE_GUTTER_CAP,P as SITE_GUTTER_CLASS,i as SITE_GUTTER_NARROW,s as SITE_GUTTER_PHONE,H as SITE_GUTTER_PHONE_CLASS,b as SITE_GUTTER_PHONE_EDGE_CLASS,d as SITE_GUTTER_PHONE_VAR,G as SITE_GUTTER_SUBSTITUTIONS,c as SITE_GUTTER_VAR,a as SITE_WIDTH_CAP,I as SITE_WIDTH_CAP_CLASS,f as SITE_WIDTH_VAR,q as asMainGutters,m as centredCap,lt as chromeWidthStyle,at as heroBackgroundTokens,et as normalizeSectionContentMax,w as normalizeSiteGutter,C as normalizeSiteGutterPhone,l as normalizeSiteWidth,_t as pageWidthMarker,F as pageWidthStyle,dt as resolveChromeWidth,nt as siteGutterPhoneClass,ot as siteGutterPhoneFollows,rt as siteGutterPhoneTokens,tt as siteGutterTokens,L as siteHalfColumnCap,xt as siteHalfColumnCapClass,J as siteSideRoom,ft as siteWidthCapStyle,K as siteWidthTokens,Y as withoutBoxHoldsNoGutter};
1
+ import{siteLengthCss as u,siteLengthHeld as $,storedUnit as v}from"./css-length.js";import{convertLength as O,rowGrid as H}from"efficient-easel/screen/lib/content/length-units";const x={min:1e3,max:2e3,step:50,default:1600};function m(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function K(t,e){if(t!==!1)return null;const r=typeof e=="number"?e:x.default;return m(r)}const f="--sf-site-width",a=`var(${f},${x.default}px)`,Y="100vw",P=`max-w-[${a}]`,X=`max-w-[${x.default}px]`;function l(t){return typeof t!="number"||!Number.isFinite(t)?x.default:Math.round(Math.min(Math.max(t,x.min),x.max))}function q(t,e){const r=u(t,e,"size",x);if(r!==null)return{[f]:r};const n=l(t);return n===x.default?{}:{[f]:`${n}px`}}const i={min:0,max:80,step:4,default:40,typedMax:Number.POSITIVE_INFINITY},c="--sf-site-gutter",s={min:0,max:24,step:4,typedMax:Number.POSITIVE_INFINITY},b=H({kind:"spacing"},"vw",i).max;function d(t,e){return t<=e?`${t}px`:`min(${t}px, ${b}vw)`}const E="--sf-site-gutter-phone",M="max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!",G="max-view-wide:[&_[data-sf-line~=edge]:not([data-sf-line~=edge]_*)]:[--sf-site-gutter:var(--sf-site-gutter-phone)]",o=`var(${c},${i.default}px)`,N=`px-[${o}]`,J=["px-10","px-[60px]"],p={md:`min(24px,${o})`,sm:`min(20px,${o})`,frame:`min(24px,${o})`,tabs:`min(16px,${o})`},D=[[`max-view-desktop:px-[${p.md}]`,"max-view-desktop:px-6"],[`max-view-desktop:px-[${p.tabs}]`,"max-view-desktop:px-4"],[`max-[960px]:px-[${p.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${p.md}]`,"max-[900px]:px-6"],[`max-view-wide:px-[${p.md}]`,"max-view-wide:px-6"],[`max-view-tablet:px-[${p.sm}]`,"max-view-tablet:px-5"],[`max-view-wide:px-[${p.sm}]`,"max-view-wide:px-5"],[`max-[640px]:px-[${p.sm}]`,"max-[640px]:px-5"],[`view-wide:px-[${o}]`,"view-wide:px-10"],[`max-view-tablet:px-[min(24px,${o})]`,"max-view-tablet:px-6"],[`max-view-wide:-mx-[min(20px,${o})]`,"max-view-wide:-mx-5"],[`max-view-tablet:-mx-[min(20px,${o})]`,"max-view-tablet:-mx-5"],[`-mx-[${o}]`,"-mx-10"],[N,"px-10"]];function Q(t){return D.reduce((e,[r,n])=>e.split(r).join(n),t)}const T="max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]";function Z(t){return L[t??"box"]}const S="var(--sf-pad-site,var(--sf-box-g,var(--sf-site-gutter,40px)))",R="[--sf-edge-g:var(--sf-pad-site)]",L={box:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-[960px]:[--sf-pad-site:min(24px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:S,edge:R,frame:"max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]"},site:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-view-wide:[--sf-pad-site:min(20px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:S,edge:R,frame:T}},tt=`mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] ${T}`,w="[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";function et(t){const e=w.replace(/&/g,"&amp;").replace(/>/g,"&gt;");return t.split(` ${e}`).join("").split(` ${w}`).join("")}const rt="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";function C(t){return typeof t!="number"||!Number.isFinite(t)?i.default:Math.round(Math.min(Math.max(t,i.min),i.typedMax))}function nt(t,e){const r=u(t,e,"spacing",i);if(r!==null)return{[c]:r};const n=C(t);return n===i.default?{}:{[c]:d(n,i.max)}}function h(t){return typeof t!="number"||!Number.isFinite(t)?null:Math.round(Math.min(Math.max(t,s.min),s.typedMax))}function ot(t){return typeof t=="number"&&Number.isFinite(t)?l(t):null}function xt(t,e){const r=u(t,e,"spacing",s);if(r!==null)return{[E]:r};const n=h(t);return n===null?{}:{[E]:d(n,s.max)}}function it(t){return h(t)===null?"":`${M} ${G}`}function pt(t,e){const r=$(t,e,"spacing",i),n=r===null?C(t):O(r,v(e),"px","mobile",s);return Math.min(s.max,n)}function U(t=0){return`calc(${a}/2 - ${o}*2 - ${t}px)`}function st(t=0){return`max-w-[${U(t).replace(/ /g,"_")}]`}const A=a,at=`max-w-[${A}]`,ut=`max-w-[min(var(--sf-page-cap,${x.default}px),${x.default}px)]`,I="--sf-hero-cap",W=`var(${I},none)`,mt=`max-w-[${W}]`,V="--sf-hero-bleed-m",k="--sf-hero-bleed-w",y="--sf-hero-chrome-x",B="--sf-hero-chrome-cap";function ft(t){return t===!0?{[I]:A,[V]:"auto",[k]:"100%",[y]:"24px",[B]:"none"}:{}}const _=`calc(${a} - ${o}*2)`,ct=`max-w-[${_.replace(/ /g,"_")}]`,_t=P;function lt(t){return t!==!1?null:m(g)}const F="--sf-chrome-cap",g=`var(${F},${_})`,dt="data-page-width";function Et(t){return t==="full"?"full":null}function Tt(t){return t==="full"?null:m(t==="content"?_:g)}function St(t){if(t==="full")return"full";if(t==="content")return"content"}export{w as BOX_HOLDS_NO_GUTTER_CLASS,g as CHROME_CAP_READ,F as CHROME_CAP_VAR,_ as CHROME_WIDTH_CAP,ct as CHROME_WIDTH_CAP_CLASS,rt as EDITORIAL_COLUMN,Y as FULL_SECTION_WIDTH,W as HERO_BACKGROUND_CAP,mt as HERO_BACKGROUND_CAP_CLASS,I as HERO_BACKGROUND_VAR,V as HERO_BLEED_MARGIN_VAR,k as HERO_BLEED_WIDTH_VAR,A as HERO_CAP,at as HERO_CAP_CLASS,B as HERO_CHROME_CAP_VAR,y as HERO_CHROME_INSET_VAR,x as PAGE_WIDTH,dt as PAGE_WIDTH_ATTR,_t as PRE_CHROME_WIDTH_CAP_CLASS,ut as PRE_HERO_CAP_CLASS,J as PRE_SITE_GUTTER_CLASSES,X as PRE_SITE_WIDTH_CAP_CLASS,b as SIDE_SPACE_GUARD_VW,tt as SITE_COLUMN,T as SITE_COLUMN_NARROW,i as SITE_GUTTER,o as SITE_GUTTER_CAP,N as SITE_GUTTER_CLASS,p as SITE_GUTTER_NARROW,s as SITE_GUTTER_PHONE,M as SITE_GUTTER_PHONE_CLASS,G as SITE_GUTTER_PHONE_EDGE_CLASS,E as SITE_GUTTER_PHONE_VAR,D as SITE_GUTTER_SUBSTITUTIONS,c as SITE_GUTTER_VAR,a as SITE_WIDTH_CAP,P as SITE_WIDTH_CAP_CLASS,f as SITE_WIDTH_VAR,Q as asMainGutters,m as centredCap,Tt as chromeWidthStyle,ft as heroBackgroundTokens,ot as normalizeSectionContentMax,C as normalizeSiteGutter,h as normalizeSiteGutterPhone,l as normalizeSiteWidth,Et as pageWidthMarker,K as pageWidthStyle,St as resolveChromeWidth,it as siteGutterPhoneClass,pt as siteGutterPhoneFollows,xt as siteGutterPhoneTokens,nt as siteGutterTokens,U as siteHalfColumnCap,st as siteHalfColumnCapClass,Z as siteSideRoom,lt as siteWidthCapStyle,q as siteWidthTokens,et as withoutBoxHoldsNoGutter};
@@ -0,0 +1,27 @@
1
+ export declare const PART_ATTR = "data-part";
2
+ export declare const PART_NAMES: Readonly<{
3
+ Flex: readonly ["box", "card", "card-content"];
4
+ Grid: readonly ["grid"];
5
+ Hero: readonly ["hero", "arrows", "arrow", "dots", "dot", "strip"];
6
+ HeroSlide: readonly ["slide", "hero-media", "tint", "overlay", "hero-content"];
7
+ HeroSingle: readonly ["hero", "hero-media", "tint", "overlay", "hero-content"];
8
+ ImageBlock: readonly ["image-block", "image-frame", "image"];
9
+ ButtonBlock: readonly ["button-block", "button", "button-icon"];
10
+ Text: readonly ["text-block", "text"];
11
+ Heading: readonly ["heading-block", "heading"];
12
+ LogoBlock: readonly ["logo"];
13
+ MenuBlock: readonly ["menu-block", "heading", "menu", "menu-item", "menu-link", "menu-button"];
14
+ SiteHeader: readonly ["header", "header-content"];
15
+ SiteFooter: readonly ["footer"];
16
+ FooterSection: readonly ["footer-block", "grid", "legal-line", "copyright"];
17
+ FooterLogo: readonly ["logo-block", "logo-link", "tagline"];
18
+ FooterSocial: readonly ["social-block", "social-item", "social-link"];
19
+ ProductGrid: readonly ["product-grid-block", "grid-head", "grid-number", "heading", "description", "view-all", "count", "grid", "grid-empty"];
20
+ ProductCard: readonly ["card", "card-link", "card-content", "image-block", "image-frame", "image-plate", "image", "card-number", "badges", "badge", "eyebrow", "product-name", "pattern", "specs", "price", "price-note", "swatches", "swatch", "sizes", "size", "buy", "button", "page-label"];
21
+ }>;
22
+ type PartName = (typeof PART_NAMES)[keyof typeof PART_NAMES][number];
23
+ export type PartAttr = {
24
+ readonly [PART_ATTR]: PartName;
25
+ };
26
+ export declare function partAttr(name: PartName): PartAttr;
27
+ export {};
@@ -0,0 +1 @@
1
+ const t="data-part",o=Object.freeze({Flex:Object.freeze(["box","card","card-content"]),Grid:Object.freeze(["grid"]),Hero:Object.freeze(["hero","arrows","arrow","dots","dot","strip"]),HeroSlide:Object.freeze(["slide","hero-media","tint","overlay","hero-content"]),HeroSingle:Object.freeze(["hero","hero-media","tint","overlay","hero-content"]),ImageBlock:Object.freeze(["image-block","image-frame","image"]),ButtonBlock:Object.freeze(["button-block","button","button-icon"]),Text:Object.freeze(["text-block","text"]),Heading:Object.freeze(["heading-block","heading"]),LogoBlock:Object.freeze(["logo"]),MenuBlock:Object.freeze(["menu-block","heading","menu","menu-item","menu-link","menu-button"]),SiteHeader:Object.freeze(["header","header-content"]),SiteFooter:Object.freeze(["footer"]),FooterSection:Object.freeze(["footer-block","grid","legal-line","copyright"]),FooterLogo:Object.freeze(["logo-block","logo-link","tagline"]),FooterSocial:Object.freeze(["social-block","social-item","social-link"]),ProductGrid:Object.freeze(["product-grid-block","grid-head","grid-number","heading","description","view-all","count","grid","grid-empty"]),ProductCard:Object.freeze(["card","card-link","card-content","image-block","image-frame","image-plate","image","card-number","badges","badge","eyebrow","product-name","pattern","specs","price","price-note","swatches","swatch","sizes","size","buy","button","page-label"])});function r(e){return{[t]:e}}export{t as PART_ATTR,o as PART_NAMES,r as partAttr};
@@ -0,0 +1,3 @@
1
+ export declare const SECTION_CSS_SCOPE_ATTR = "data-sf-section-css";
2
+ export declare const SECTION_CSS_KEY = "customCss";
3
+ export declare function sectionCssOf(props: Record<string, unknown> | null | undefined): string;
@@ -0,0 +1 @@
1
+ const n="data-sf-section-css",o="customCss";function c(s){const t=s?.[o];return typeof t=="string"&&t.trim()!==""?t:""}export{o as SECTION_CSS_KEY,n as SECTION_CSS_SCOPE_ATTR,c as sectionCssOf};
@@ -1 +1 @@
1
- import{FOLLOW_RULES as C,resolveViewValue as O}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as M}from"efficient-easel/screen/lib/content/length-units";const w=["auto","fixed","screen","fill"],A=M.filter(e=>e==="px"||e==="%"),p="svh",P="vh",v="var(--sf-header-h, 88px)",G={min:40,max:2e3,step:10,fallback:600},V={min:10,max:200,step:5,fallback:100},U="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",u={base:"--sf-section-minh",small:"--sf-section-minh-s"},H=e=>typeof e=="string"&&w.includes(e),k=e=>typeof e=="string"&&A.includes(e);function r(e){const t=H(e.sectionHeightMode)?e.sectionHeightMode:"auto",i=t==="screen"?"%":k(e.sectionHeightUnit)?e.sectionHeightUnit:"px",n=t==="screen"?V.fallback:G.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:n;return{mode:t,value:o,unit:i}}function I(e){const{mode:t,value:i,unit:n}=r(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&n==="px")return[`${i}px`,null];const o=i/100,s=c=>t==="screen"?`(100${c} - ${v})`:`100${c}`;return[`calc(${s(P)} * ${o})`,`calc(${s(p)} * ${o})`]}function g(e){const t=I(e);if(!t)return;const[i,n]=t;return{display:"grid",[u.base]:i,...n?{[u.small]:n}:{}}}const q=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),z="Height",T="sf-section-minh-phone",d={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function S(e){return H(e.sectionHeightModePhone)}function F(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const x="sf-section-minh-tablet",E={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function m(e){return H(e.sectionHeightModeTablet)}function R(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function f(e){const t=g(e),i=(h,L,b)=>I({sectionHeightMode:h,sectionHeightValue:L,sectionHeightUnit:b})??(t?["auto",null]:void 0),n=m(e)?i(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=S(e)?i(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):n;if(!t&&!n&&!o)return null;const s=[U,l],c={...t??{}};return n&&(s.push(x),c[E.base]=n[0],n[1]&&(c[E.small]=n[1])),o&&(s.push(T),c[d.base]=o[0],o[1]&&(c[d.small]=o[1])),{className:s.join(" "),style:c}}function J(e){return f(e)!==null||a(e).length>0}const _=`grid ${l}`,Q="h-full",$="view-tablet:max-view-desktop:grid",N="max-view-tablet:grid",y="view-wide:max-view-desktop:grid",D="max-view-wide:grid",B=`${N} ${l}`;function Y(e,{atSectionLine:t=!1}={}){if(a(e).length>0)return _;const i=f(e);if(!i)return"";if(g(e))return _;const n=i.className.split(" "),o=t?$:y,s=t?N:D;if(!n.includes(x))return t?B:`${s} ${l}`;const h=n.includes(T);return[o,h?s:"",l].filter(Boolean).join(" ")}const Z="data-sf-height-fill",W=["desktop","tablet","mobile"],j={desktop:"view-desktop:[.flex-col>&]:grow! view-desktop:[.flex-row>&]:self-stretch",tablet:"view-wide:max-view-desktop:[.flex-col>&]:grow! view-wide:max-view-desktop:[.flex-row>&]:self-stretch",mobile:"max-view-wide:[.flex-col>&]:grow!"};function a(e){const t=e,i=O("heightMode",r(t).mode,m(t)?R(t).mode:null,S(t)?F(t).mode:null,C),n={desktop:i.desktop==="fill",tablet:i.tablet==="fill",mobile:i.phone==="fill"};return W.filter(o=>n[o])}function ee(e){return a(e).map(t=>j[t]).join(" ")}function te(e){const t=f(e);return a(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:_}}export{v as HEADER_HEIGHT_VAR,Q as SECTION_FILL_CLASS,_ as SECTION_FILL_PASS_CLASS,B as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,Z as SECTION_HEIGHT_FILL_ATTR,w as SECTION_HEIGHT_MODES,A as SECTION_HEIGHT_UNITS,G as SECTION_MIN_HEIGHT,U as SECTION_MIN_HEIGHT_CLASS,q as SECTION_MIN_HEIGHT_EXCLUDED,z as SECTION_MIN_HEIGHT_GROUP_LABEL,T as SECTION_MIN_HEIGHT_PHONE_CLASS,d as SECTION_MIN_HEIGHT_PHONE_VARS,x as SECTION_MIN_HEIGHT_TABLET_CLASS,E as SECTION_MIN_HEIGHT_TABLET_VARS,u as SECTION_MIN_HEIGHT_VARS,V as SECTION_SCREEN_PCT,p as VIEWPORT_UNIT,P as VIEWPORT_UNIT_FALLBACK,S as hasPhoneHeight,m as hasTabletHeight,F as resolvePhoneHeight,r as resolveSectionMinHeight,R as resolveTabletHeight,Y as sectionFillPassClass,J as sectionFillsHeight,ee as sectionHeightFillClass,a as sectionHeightFillViews,te as sectionHeightWrap,f as sectionMinHeightAttrs,I as sectionMinHeightLengths,g as sectionMinHeightStyle};
1
+ import{FOLLOW_RULES as C,VIEW_TIERS as O,resolveViewValue as M}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as w}from"efficient-easel/screen/lib/content/length-units";const A=["auto","fixed","screen","fill"],p=w.filter(e=>e==="px"||e==="%"),P="svh",v="vh",G="var(--sf-header-h, 88px)",V={min:40,max:2e3,step:10,fallback:600},U={min:10,max:200,step:5,fallback:100},R="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",u={base:"--sf-section-minh",small:"--sf-section-minh-s"},H=e=>typeof e=="string"&&A.includes(e),F=e=>typeof e=="string"&&p.includes(e);function r(e){const t=H(e.sectionHeightMode)?e.sectionHeightMode:"auto",i=t==="screen"?"%":F(e.sectionHeightUnit)?e.sectionHeightUnit:"px",n=t==="screen"?U.fallback:V.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:n;return{mode:t,value:o,unit:i}}function I(e){const{mode:t,value:i,unit:n}=r(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&n==="px")return[`${i}px`,null];const o=i/100,s=c=>t==="screen"?`(100${c} - ${G})`:`100${c}`;return[`calc(${s(v)} * ${o})`,`calc(${s(P)} * ${o})`]}function g(e){const t=I(e);if(!t)return;const[i,n]=t;return{display:"grid",[u.base]:i,...n?{[u.small]:n}:{}}}const z=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),J="Height",T="sf-section-minh-phone",d={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function S(e){return H(e.sectionHeightModePhone)}function k(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const E="sf-section-minh-tablet",x={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function m(e){return H(e.sectionHeightModeTablet)}function $(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function _(e){const t=g(e),i=(h,L,b)=>I({sectionHeightMode:h,sectionHeightValue:L,sectionHeightUnit:b})??(t?["auto",null]:void 0),n=m(e)?i(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=S(e)?i(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):n;if(!t&&!n&&!o)return null;const s=[R,l],c={...t??{}};return n&&(s.push(E),c[x.base]=n[0],n[1]&&(c[x.small]=n[1])),o&&(s.push(T),c[d.base]=o[0],o[1]&&(c[d.small]=o[1])),{className:s.join(" "),style:c}}function Q(e){return _(e)!==null||a(e).length>0}const f=`grid ${l}`,Y="h-full",y="view-tablet:max-view-desktop:grid",N="max-view-tablet:grid",D="view-wide:max-view-desktop:grid",B="max-view-wide:grid",W=`${N} ${l}`;function Z(e,{atSectionLine:t=!1}={}){if(a(e).length>0)return f;const i=_(e);if(!i)return"";if(g(e))return f;const n=i.className.split(" "),o=t?y:D,s=t?N:B;if(!n.includes(E))return t?W:`${s} ${l}`;const h=n.includes(T);return[o,h?s:"",l].filter(Boolean).join(" ")}const ee="data-sf-height-fill",j=O,K={desktop:"view-desktop:[.flex-col>&]:grow! view-desktop:[.flex-row>&]:self-stretch",tablet:"view-wide:max-view-desktop:[.flex-col>&]:grow! view-wide:max-view-desktop:[.flex-row>&]:self-stretch",mobile:"max-view-wide:[.flex-col>&]:grow!"};function a(e){const t=e,i=M("heightMode",r(t).mode,m(t)?$(t).mode:null,S(t)?k(t).mode:null,C),n={desktop:i.desktop==="fill",tablet:i.tablet==="fill",mobile:i.phone==="fill"};return j.filter(o=>n[o])}function te(e){return a(e).map(t=>K[t]).join(" ")}function ne(e){const t=_(e);return a(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:f}}export{G as HEADER_HEIGHT_VAR,Y as SECTION_FILL_CLASS,f as SECTION_FILL_PASS_CLASS,W as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,ee as SECTION_HEIGHT_FILL_ATTR,A as SECTION_HEIGHT_MODES,p as SECTION_HEIGHT_UNITS,V as SECTION_MIN_HEIGHT,R as SECTION_MIN_HEIGHT_CLASS,z as SECTION_MIN_HEIGHT_EXCLUDED,J as SECTION_MIN_HEIGHT_GROUP_LABEL,T as SECTION_MIN_HEIGHT_PHONE_CLASS,d as SECTION_MIN_HEIGHT_PHONE_VARS,E as SECTION_MIN_HEIGHT_TABLET_CLASS,x as SECTION_MIN_HEIGHT_TABLET_VARS,u as SECTION_MIN_HEIGHT_VARS,U as SECTION_SCREEN_PCT,P as VIEWPORT_UNIT,v as VIEWPORT_UNIT_FALLBACK,S as hasPhoneHeight,m as hasTabletHeight,k as resolvePhoneHeight,r as resolveSectionMinHeight,$ as resolveTabletHeight,Z as sectionFillPassClass,Q as sectionFillsHeight,te as sectionHeightFillClass,a as sectionHeightFillViews,ne as sectionHeightWrap,_ as sectionMinHeightAttrs,I as sectionMinHeightLengths,g as sectionMinHeightStyle};
@@ -1 +1 @@
1
- import{HIDDEN_KEY as h,hiddenInEveryView as v,hiddenInView as i,hiddenKeyOf as t}from"efficient-easel/screen/lib/content/view-hide";const a={"000":"",100:"view-desktop:hidden","010":"view-wide:max-view-desktop:hidden","001":"max-view-wide:hidden",110:"view-wide:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-wide:hidden",111:"hidden"},s={"000":"",100:"view-desktop:hidden","010":"view-tablet:max-view-desktop:hidden","001":"max-view-tablet:hidden",110:"view-tablet:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-tablet:hidden",111:"hidden"},n=e=>(e.desktop?"1":"0")+(e.tablet?"1":"0")+(e.mobile?"1":"0");function x(e,{atSectionLine:d=!1}={}){return(d?s:a)[n(e)]}const r=[h,t("tablet"),t("mobile")];function o(e){return{desktop:i(e,"desktop"),tablet:i(e,"tablet"),mobile:i(e,"mobile")}}function k(e){return v(e)}function b(e){const d=o(e);return["desktop","tablet","mobile"].filter(w=>d[w]).join(" ")}const l={"000":"",100:"view-desktop:hidden!","010":"view-wide:max-view-desktop:hidden!","001":"max-view-wide:hidden!",110:"view-wide:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-wide:hidden!",111:"hidden!"},m={"000":"",100:"view-desktop:hidden!","010":"view-tablet:max-view-desktop:hidden!","001":"max-view-tablet:hidden!",110:"view-tablet:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-tablet:hidden!",111:"hidden!"};function E(e,{atSectionLine:d=!1}={}){return(d?m:l)[n(o(e))]}export{r as VIEW_HIDE_KEYS,k as nodeHiddenEverywhere,o as nodeViewHidden,E as nodeViewHideClass,b as nodeViewHideWords,x as viewHideClass};
1
+ import{HIDDEN_KEY as h,hiddenInEveryView as v,hiddenInView as i,hiddenKeyOf as t}from"efficient-easel/screen/lib/content/view-hide";import{VIEW_TIERS as a}from"efficient-easel/screen/lib/content/view-tiers";const s={"000":"",100:"view-desktop:hidden","010":"view-wide:max-view-desktop:hidden","001":"max-view-wide:hidden",110:"view-wide:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-wide:hidden",111:"hidden"},m={"000":"",100:"view-desktop:hidden","010":"view-tablet:max-view-desktop:hidden","001":"max-view-tablet:hidden",110:"view-tablet:hidden","011":"max-view-desktop:hidden",101:"view-desktop:hidden max-view-tablet:hidden",111:"hidden"},n=e=>(e.desktop?"1":"0")+(e.tablet?"1":"0")+(e.mobile?"1":"0");function E(e,{atSectionLine:d=!1}={}){return(d?m:s)[n(e)]}const k=[h,t("tablet"),t("mobile")];function o(e){return{desktop:i(e,"desktop"),tablet:i(e,"tablet"),mobile:i(e,"mobile")}}function b(e){return v(e)}function I(e){const d=o(e);return a.filter(w=>d[w]).join(" ")}const p={"000":"",100:"view-desktop:hidden!","010":"view-wide:max-view-desktop:hidden!","001":"max-view-wide:hidden!",110:"view-wide:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-wide:hidden!",111:"hidden!"},r={"000":"",100:"view-desktop:hidden!","010":"view-tablet:max-view-desktop:hidden!","001":"max-view-tablet:hidden!",110:"view-tablet:hidden!","011":"max-view-desktop:hidden!",101:"view-desktop:hidden! max-view-tablet:hidden!",111:"hidden!"};function _(e,{atSectionLine:d=!1}={}){return(d?r:p)[n(o(e))]}export{k as VIEW_HIDE_KEYS,b as nodeHiddenEverywhere,o as nodeViewHidden,_ as nodeViewHideClass,I as nodeViewHideWords,E as viewHideClass};
@@ -1,5 +1,5 @@
1
- import type { VIEW_ABOVE } from "efficient-easel/screen/lib/content/length-units";
2
- export type ViewTierName = keyof typeof VIEW_ABOVE;
1
+ import type { ViewTier } from "efficient-easel/screen/lib/content/view-tiers";
2
+ export type ViewTierName = ViewTier;
3
3
  export type PanelView = "desktop" | "tablet" | "phone";
4
4
  export declare const TIER_OF_VIEW: {
5
5
  readonly desktop: "desktop";
@@ -57,6 +57,7 @@ export type PassInspector = {
57
57
  fill?: boolean;
58
58
  }) => FieldMap;
59
59
  anchorFields: () => FieldMap;
60
+ customCssFields: () => FieldMap;
60
61
  stickFields: (opts?: {
61
62
  intro?: boolean;
62
63
  screens?: boolean;
@@ -0,0 +1 @@
1
+ export declare function styleElementText(css: string): string;
@@ -0,0 +1 @@
1
+ function t(e){return e.replace(/<(?=\/)/g,"\\3c ")}export{t as styleElementText};
@@ -116,6 +116,7 @@ export declare const WEB_BUILDER_WORDS: {
116
116
  readonly "Add your numbers.": "Add your numbers.";
117
117
  readonly "Add \u201C{name}\u201D": "Add “{name}”";
118
118
  readonly Address: "Address";
119
+ readonly Advanced: "Advanced";
119
120
  readonly After: "After";
120
121
  readonly All: "All";
121
122
  readonly "All pages": "All pages";
@@ -155,6 +156,7 @@ export declare const WEB_BUILDER_WORDS: {
155
156
  readonly "As shot": "As shot";
156
157
  readonly "As uploaded": "As uploaded";
157
158
  readonly "Aspect ratio": "Aspect ratio";
159
+ readonly "At card": "At card";
158
160
  readonly "At zero": "At zero";
159
161
  readonly Attribution: "Attribution";
160
162
  readonly Auto: "Auto";
@@ -356,8 +358,10 @@ export declare const WEB_BUILDER_WORDS: {
356
358
  readonly Crumbs: "Crumbs";
357
359
  readonly "Current page": "Current page";
358
360
  readonly Custom: "Custom";
361
+ readonly "Custom CSS": "Custom CSS";
359
362
  readonly "Custom HTML": "Custom HTML";
360
363
  readonly "Custom URL": "Custom URL";
364
+ readonly "Custom W:H": "Custom W:H";
361
365
  readonly "Custom color": "Custom color";
362
366
  readonly "Custom: the width of each block in %, the last block left out": "Custom: the width of each block in %, the last block left out";
363
367
  readonly "Customer Photo Grid": "Customer Photo Grid";
@@ -542,6 +546,7 @@ export declare const WEB_BUILDER_WORDS: {
542
546
  readonly "From the bottom": "From the bottom";
543
547
  readonly "From your template": "From your template";
544
548
  readonly Full: "Full";
549
+ readonly "Full row": "Full row";
545
550
  readonly "Full width": "Full width";
546
551
  readonly "Full-bleed intro image the next section scrolls over.": "Full-bleed intro image the next section scrolls over.";
547
552
  readonly "Full-screen image or video with a headline.": "Full-screen image or video with a headline.";