efficient-web-builder 67.0.0 → 67.2.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 +36 -0
- package/dist/editor/components/StorefrontEditor.js +1 -1
- package/dist/editor/components/storefront-editor.css +178 -0
- package/dist/editor/lib/animation/fields.js +1 -1
- package/dist/editor/lib/animation/hover-fields.d.ts +8 -0
- package/dist/editor/lib/animation/hover-fields.js +1 -1
- package/dist/editor/lib/document/block-offer.d.ts +2 -0
- package/dist/editor/lib/document/block-offer.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Split/fields.js +1 -1
- package/dist/editor/lib/document/box-fields.d.ts +1 -1
- package/dist/editor/lib/document/card-display-chips.d.ts +1 -0
- package/dist/editor/lib/document/card-display-chips.js +1 -1
- package/dist/editor/lib/document/controls.d.ts +4 -12
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/page-root.js +2 -2
- package/dist/editor/lib/document/passes/inspector.js +1 -1
- package/dist/editor/lib/sections/section-dry-run.js +2 -2
- package/dist/format/lib/animation/hover.d.ts +3 -0
- package/dist/format/lib/animation/hover.js +1 -1
- package/dist/format/lib/content/box-shape.d.ts +1 -1
- package/dist/format/lib/content/container-gap.d.ts +2 -2
- package/dist/format/lib/content/container-gap.js +1 -1
- package/dist/format/lib/content/css-length.d.ts +17 -1
- package/dist/format/lib/content/css-length.js +1 -1
- package/dist/format/lib/content/hover-media.d.ts +6 -1
- package/dist/format/lib/content/hover-media.js +1 -1
- package/dist/format/lib/content/image-treatment.d.ts +3 -0
- package/dist/format/lib/content/image-treatment.js +1 -1
- package/dist/format/lib/content/page-width.d.ts +3 -3
- package/dist/format/lib/content/page-width.js +1 -1
- package/dist/format/lib/content/section-min-height.d.ts +11 -1
- package/dist/format/lib/content/section-min-height.js +1 -1
- package/dist/format/lib/document/blocks/general/Split/meta.d.ts +1 -0
- package/dist/format/lib/document/blocks/general/Split/meta.js +2 -2
- package/dist/format/lib/document/easel-row-words.d.ts +2 -0
- package/dist/format/lib/document/easel-row-words.js +1 -1
- package/dist/format/lib/document/passes/types.d.ts +3 -1
- package/dist/format/lib/document/section-catalog.d.ts +5 -0
- package/dist/format/lib/document/section-catalog.js +10 -2
- package/dist/format/lib/editor-words-catalogue.d.ts +7 -0
- package/dist/format/lib/editor-words-catalogue.js +3 -3
- package/dist/format/lib/fit-words.js +4 -2
- package/dist/format/lib/sections/section-presets.js +1 -1
- package/dist/format/lib/site-theme-row.d.ts +6 -0
- package/dist/format/lib/source-rules/no-hard-coded-option-rows.d.ts +1 -1
- package/dist/format/lib/source-rules/no-hard-coded-option-rows.js +1 -1
- package/dist/format/lib/source-rules/site-square-by-default.js +1 -1
- package/dist/format/lib/theme.d.ts +1 -1
- package/dist/format/lib/theme.js +4 -4
- package/dist/render/components/CardRowContext.d.ts +3 -1
- package/dist/render/components/CardRowContext.js +1 -1
- package/dist/render/components/Flex.d.ts +2 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HoverMediaLayer.d.ts +16 -1
- package/dist/render/components/HoverMediaLayer.js +1 -1
- package/dist/render/components/ImageBlock.d.ts +1 -1
- package/dist/render/components/ImageBlock.js +1 -1
- package/dist/render/components/PictureHoverMove.d.ts +1 -0
- package/dist/render/components/PictureHoverMove.js +1 -1
- package/dist/render/components/PreviewHeaderContext.d.ts +4 -1
- package/dist/render/components/PreviewHeaderContext.js +1 -1
- package/dist/render/components/ViewHideRoot.d.ts +6 -0
- package/dist/render/components/ViewHideRoot.js +1 -1
- package/dist/render/lib/content/block-size.d.ts +7 -1
- package/dist/render/lib/content/block-size.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/Split/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +6 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
- package/dist/render/lib/document/passes/block-size.js +1 -1
- package/dist/render/lib/document/passes/index.js +1 -1
- package/dist/render/lib/document/passes/section-height.d.ts +5 -1
- package/dist/render/lib/document/passes/section-height.js +1 -1
- package/dist/render/lib/sections/section-to-box.d.ts +2 -0
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as g}from"react/jsx-runtime";import{phoneKey as
|
|
1
|
+
import{jsx as g}from"react/jsx-runtime";import{phoneKey as w}from"efficient-easel/draw";import{CardRowDrawn as I}from"../../../../../components/CardRowContext.js";import R from"../../../../../components/ImageBlock.js";import{recordPictureAlt as O}from"../../../../../../format/lib/content/record-row.js";import{CARD_ROW_LINK_PROP as x,namedRowField as h,rowFieldSpec as B,rowFieldText as P}from"../../../../../../format/lib/content/card-template.js";import{cardRowHoverMedia as b,hoverLayerName as F}from"../../../../../../format/lib/content/hover-media.js";import{blockSizeOf as _,blockSizeValuesOf as z}from"../../../../content/block-size.js";import{padValuesOf as H}from"../../../../content/section-padding.js";import{pictureHoverOf as K}from"../../../../../../format/lib/animation/hover.js";import{viewFocusValues as V}from"../../../../../../format/lib/content/picture-focus-rows.js";import{ImageBlockMeta as j}from"../../../../../../format/lib/document/blocks/general/ImageBlock/meta.js";const G={...j,render:e=>{const r=K(e,"ImageBlock"),o=h(e),a=h(e,x);return!o&&!a&&r.kind!=="nextImage"?y(e,e.src,e.alt,r):g(I,{type:"ImageBlock",props:e,children:(t,n,i)=>{const d=o?B(n,o):null,l=o?n?d?.alt:O(o):null,f=o?t.src:e.src,c=(l&&P(i,l))??e.alt,m=r.media?b(n,r.media):null,s=F(i,typeof c=="string"?c:""),u=a?t.href:e.href;return y({...e,href:u},f,c,r,m&&r.media?{media:m,name:s,cover:r.media.cover}:null)}})}};function y(e,r,o,a,t=null){const{aspect:n,contained:i,grayscale:d,darken:l,darkenStyle:f,href:c,fit:m,corners:s,cornerSides:u,cornersUnit:S,editor:v}=e,k=V(e,"focal");return g(R,{src:r,alt:o,aspect:n,aspectPhone:e[w("aspect")],contained:i,grayscale:d,darken:l,darkenStyle:f,pictureHover:a,...t?{hoverLayer:t}:{},href:c,fit:m,focal:k.desktop,focalPhone:k.phone,focalTablet:k.tablet,corners:s,cornerSides:u,cornersUnit:S,pad:H(e),ownSize:_(z(e))!==null,editing:v?.isEditing===!0})}export{G as ImageBlockRender};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{pictureHoverOf as m}from"../../../../../../format/lib/animation/hover.js";import g from"../../../../../components/Split.js";import{sectionFillsHeight as d}from"../../../../../../format/lib/content/section-min-height.js";import{hidableText as f}from"efficient-easel/draw";import{phHide as t,ctaHide as c}from"../../scaffold.js";import{SplitMeta as x,SPLIT_PH as i,IMGBTN_PH as o,splitImageOverlay as u}from"../../../../../../format/lib/document/blocks/general/Split/meta.js";function y(e,n,a){const l=t(e,o.text,a);if(l!==void 0)return{text:l,href:n||"#"}}const A={...x,render:e=>r(g,{eyebrow:t(e.eyebrow,i.eyebrow,e.editor),title:t(e.title,i.title,e.editor),body:t(e.body,i.body,e.editor),imageLabel:f(e.title)||i.title,imageSrc:e.imageSrc||void 0,reverse:e.reverse,uppercase:e.uppercase,textAlign:e.textAlign,textAlignTablet:e.textAlignTablet,textAlignPhone:e.textAlignPhone,cta:c(e.ctaText,e.ctaHref,e.editor),imageButton:y(e.imageBtnText,e.imageBtnHref,e.editor),textBgSrc:e.textBgSrc||void 0,textBgTint:(typeof e.overlay=="number"?e.overlay:60)/100,imageTint:u(e.imageOverlay)/100,grayscale:e.grayscale,pictureHover:m(e,"Split"),fillHeight:d(e)})};export{A as SplitRender};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SECTION_PAD_INNER_DEFAULTS } from "../../passes/section-padding.js";
|
|
2
2
|
import { type BoxEntry, type ConvertContext, type OwnProps, type PartRow, type SiteWrite } from "../../../sections/section-to-box.js";
|
|
3
|
+
import { type LengthUnit } from "efficient-easel/screen/lib/content/length-units";
|
|
3
4
|
type Props = Record<string, unknown>;
|
|
4
5
|
export { BOX, DIM, INNER_BOX, TEXT } from "../../../../../format/lib/document/seed-parts.js";
|
|
5
6
|
export declare const AUTO_COLUMN: Readonly<Record<string, unknown>>;
|
|
@@ -46,7 +47,11 @@ export declare const bandProps: (p: Props, ctx: ConvertContext) => Props;
|
|
|
46
47
|
export declare const bandWrites: (node: {
|
|
47
48
|
props: Props;
|
|
48
49
|
}, ctx: ConvertContext) => SiteWrite[];
|
|
49
|
-
export declare const siteGutterOf: (ctx: ConvertContext
|
|
50
|
+
export declare const siteGutterOf: (ctx: ConvertContext, { view, to, maxPx }?: {
|
|
51
|
+
view?: "desktop" | "phone";
|
|
52
|
+
to?: LengthUnit;
|
|
53
|
+
maxPx?: number;
|
|
54
|
+
}) => number;
|
|
50
55
|
export declare const NO_PAD: Props;
|
|
51
56
|
export declare const lineSides: (sides: {
|
|
52
57
|
top?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{storedUnit as
|
|
1
|
+
import{siteLengthHeld as D,storedUnit as x}from"../../../../../format/lib/content/css-length.js";import{SECTION_WIDTH_KEYS as G}from"../../../../../format/lib/content/section-width.js";import{BLOCK_LENGTH_KEYS as I,blockLengthUnitKey as M}from"../../../content/block-size.js";import{viewStoreKeys as v}from"../../../../../format/lib/animation/views.js";import{BOX as W,INNER_BOX as C,LABEL_FACE as U,TEXT as R,boxPadding as F,fillSlot as B,token as Y}from"../../../../../format/lib/document/seed-parts.js";import{ENTRANCE_STORE_KEYS as w,LEGACY_ENTRANCE_KEY as X}from"../../../animation/entrance.js";import{SCROLL_STORE_KEYS as V}from"../../../../../format/lib/animation/scroll.js";import{SECTION_PIN_KEYS as $}from"../../../../../format/lib/content/section-sticky.js";import{SECTION_CORNERS_ROW as j}from"../../../../../format/lib/content/section-corners.js";import{SECTION_BORDER_UNIT_KEYS as z}from"../../../../../format/lib/content/borders.js";import{CARD_HOVER_KEYS as N}from"../../../../../format/lib/animation/hover.js";import{COUNT_KEY_PROP as J}from"../../../../../format/lib/content/block-sources.js";import{SITE_GUTTER as q,SITE_GUTTER_PHONE as Q,normalizeSiteGutter as Z,normalizeSiteGutterPhone as tt,siteGutterPhoneFollows as ot}from"../../../../../format/lib/content/page-width.js";import{resolveSectionPadding as et}from"../../../content/section-padding.js";import{ButtonBlockMeta as nt}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{SECTION_PAD_INNER_DEFAULTS as it}from"../../passes/section-padding.js";import{finiteNumber as b}from"../../../../../format/lib/finite-number.js";import{convertTheme as _,hasWords as rt}from"../../../sections/section-to-box.js";import{THEME_SECTION_BG as st}from"../../../../../format/lib/content/section-background.js";import{fillSlotOfInk as A}from"../../../../../format/lib/document/part-inks.js";import{parseHexColor as dt}from"efficient-shell/format";import{convertLength as ct}from"efficient-easel/screen/lib/content/length-units";import{bandPresetIndex as at,surfacePresetIndex as pt,surfaceTwoTone as lt}from"../../../../../format/lib/theme.js";import{VIEW_HIDE_KEYS as gt}from"../../../../../format/lib/content/view-hide-class.js";import{tierOfView as mt}from"../../../../../format/lib/content/view-tier.js";const s=(t,o,e,n)=>o===e?t:ct(t,o,e,n,{min:0,max:200,step:4});import{BOX as Eo,DIM as Oo,INNER_BOX as So,TEXT as Bo}from"../../../../../format/lib/document/seed-parts.js";const jt={textFit:"line",textFitPhone:"wrap"},Pt={...R,[J]:""},{label:zt,href:Jt,...ht}=nt.defaultProps,qt=ht,Qt={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},Zt={...W,sectionAccent:0},to={sectionAccent:-1},oo=["gridSpan","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModeTablet","sectionHeightValueTablet","sectionHeightUnitTablet","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderTablet","sectionBorderPhone","sectionAccent",j.unitKey,...z,...$,"anchor",X,...gt,...w,...V,...v(["widthFit",...I,...I.map(M)]),...Object.values(G)],P="a section width key, ignored since efficient-web-builder 45 (an old key; a section's own width has new keys, lib/content/section-width), so dropping it changes nothing",eo={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:P,fullWidth:P,pageWidth:P,backgroundWidth:P,contentWidth:P,contentMax:P},no=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftTablet","sectionPaddingRightTablet","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(t=>[t,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"]));function ut(t,o){const e=b(t.sectionPaddingTop)??0,n=b(t.sectionPaddingBottom)??0,i=b(t.sectionPaddingTopTablet),r=b(t.sectionPaddingBottomTablet),c=x(t.sectionPaddingUnit),p=x(t.sectionPaddingUnitTablet),l=x(t.sectionPaddingUnitPhone),h=(g,a,f,m)=>{const d=b(g);if(d!==void 0)return d+s(m,"px",l,"mobile");const T=a===void 0?{n:f,unit:c}:{n:a,unit:p};return s(T.n,T.unit,l,"mobile")+s(m,"px",l,"mobile")},u=(g,a,f,m,d)=>a!==void 0?{[g]:a+s(d??m,"px",p,"tablet")}:d===void 0?{}:{[g]:s(f,c,p,"tablet")+s(d,"px",p,"tablet")};return{sectionPaddingTop:e+s(o.top,"px",c,"desktop"),sectionPaddingBottom:n+s(o.bottom,"px",c,"desktop"),...u("sectionPaddingTopTablet",i,e,o.top,o.topTablet),...u("sectionPaddingBottomTablet",r,n,o.bottom,o.bottomTablet),sectionPaddingTopPhone:h(t.sectionPaddingTopPhone,i,e,o.topPhone),sectionPaddingBottomPhone:h(t.sectionPaddingBottomPhone,r,n,o.bottomPhone)}}const io=t=>[...["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopTablet","sectionPaddingBottomTablet","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(e,n)=>ut(n,typeof t=="function"?t(n):t)[o]]),["sectionPaddingUnit","sectionPaddingUnit"],["sectionPaddingUnitTablet","sectionPaddingUnitTablet"],["sectionPaddingUnitPhone","sectionPaddingUnitPhone"]];function E(t,o){const e=et(t,it[o]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const ro=t=>[["padTop","sectionPaddingTop",(o,e)=>E(e,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,e)=>E(e,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,e)=>E(e,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,e)=>E(e,t).sectionPaddingBottom]],ft={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},so=t=>o=>rt(o.props[t])?[ft]:[],Tt=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:R,...o?{style:o}:{}}),co=t=>({kind:"group",name:"Chip",props:{...C,...B("main"),...F(6,14)},parts:[Tt(t,{color:"background",...Y("label",12),weight:600,letterSpacing:.16})]}),H=t=>t.background!=="transparent",bt=(t,o)=>{const[e,n]=[t,o].map(i=>typeof i=="string"?i.trim():"");return e?n?`[${e} ]{color=text}${n}`:`[${e}]{color=text}`:n},k={align:"right",alignPhone:"left"},xt=(t,o,e)=>{const n=i=>bt(i[t],i[o]);return{kind:"block",type:"Text",when:(i,r)=>r!==void 0&&n(r)!=="",box:[[t,"text",(i,r)=>n(r)],[o,"text",(i,r)=>n(r)]],props:e}},ao=(t,o,e,n={})=>xt(t,o,{...Pt,...k,...n,_partStyles:{text:{...U,color:"labels",...e,case:U.case,...k}}}),O=(t,o)=>typeof t=="number"&&Number.isInteger(t)&&t>=0?t:_(o)?.selected??0,L="var(--site-surface-2)",K=(t,o)=>_(o)?.themes[O(t.sectionAccent??0,o)],_t=(t,o)=>(e,n)=>{if(!o?.(e,n))return B(t);const i=K(e,n)?.[t];return i?{fillColor:i}:{}},po=(t,o)=>S(t,o)>=0,y=t=>t.startsWith("#")&&dt(t)!==null,lo=(t,o,e)=>{const n=t?.trim();if(n&&y(n))return{fillColor:n};const i=A(n);if(i)return B(i);const r=n===L?K(o,e):void 0;return r?{fillColor:lt(r)}:{}},go=t=>{const o=t?.trim();return!o||o==="transparent"||o===st||A(o)||o===L||y(o)?void 0:"it paints a colour that no Box Fill can hold"},S=(t,o)=>{const e=_(o)?.themes;return e&&H(t)?at(e,O(t.sectionAccent,o)):-1},mo=(t,o,e)=>{const n=S(o,e);return n>=0?n:t},Po=(t,o)=>{const e=_(o)?.themes,n=e?pt(e,O(t,o)):-1;return n>=0?n:t},ho=(t,o)=>{const e=S(t,o);return e>=0?{sectionAccent:e}:{}},uo=(t,o)=>H(t.props)&&S(t.props,o)<0?[{kind:"band-preset",page:O(t.props.sectionAccent,o)}]:[],fo=(t,{view:o="desktop",to:e="px",maxPx:n=1/0}={})=>{const{siteGutter:i,siteGutterUnit:r,siteGutterPhone:c,siteGutterPhoneUnit:p}=t.site??{},l=mt(o),h=(a,f,m)=>{const d=x(f),T=D(a,d,"spacing",m);return T===null?null:s(T,d,"px",l)},u=h(i,r,q)??Z(i),g=o==="desktop"?u:h(c,p,Q)??tt(c)??ot(u);return s(Math.min(n,g),"px",e,l)},Et=Object.fromEntries(["Top","Right","Bottom","Left","TopPhone","RightPhone","BottomPhone","LeftPhone"].map(t=>[`sectionPadding${t}`,0])),To=t=>({top:0,right:0,bottom:0,left:0,...t}),bo=(t,o,e,n=[])=>({kind:"group",name:t,keepEmpty:!0,props:(i,r)=>({...C,...Et,..._t("surface")(i,r),...typeof e=="function"?e(i,r):e}),box:[[o,"bgImage"],N.kind,N.duration,N.delay],parts:n});export{jt as AUTO_COLUMN,Eo as BOX,qt as BUTTON,Oo as DIM,eo as DROP_COMMON,no as DROP_SIDE_PADDING,to as FOLLOW_THE_BOX,ft as HEADING_CASE_UPPER,So as INNER_BOX,Et as NO_PAD,Pt as NUMBER_TEXT,k as RIGHT_WORDS,oo as SAME_KEYS,Zt as SECTION_BOX,Qt as SH_LINK,Bo as TEXT,mo as bandAccent,S as bandIndex,O as bandPage,ho as bandProps,uo as bandWrites,_t as fillFrom,go as fillNoBoxHolds,co as filledChip,so as headingCaseOf,E as innerPad,ro as innerPadKeys,ao as leadLine,xt as leadText,To as lineSides,bt as numberAndUnit,po as onBandPreset,lo as ownFill,bo as pictureCell,K as sectionPage,fo as siteGutterOf,Tt as smallText,Po as surfaceAccent,ut as wrapperPad,io as wrapperPadKeys};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{phoneKey as V}from"efficient-easel/draw";import{SITE_SIDE as K}from"efficient-easel/screen/lib/content/length-units";import{finiteNumber as r}from"../../../../../format/lib/finite-number.js";import{INTRO_SIZE_UNIT_KEYS as Y,introSizeUnitsOf as x}from"../../../../../format/lib/content/section-type-size.js";import{PART_UNIT_KEY_OF as w}from"../../part-styles.js";import{parseIntroBleedLayout as j}from"../../../../../format/lib/sections/intro-bleed-layout.js";import{fluidToken as X,token as n}from"./section-head-looks.js";import{labelStyle as G}from"../../../../../format/lib/document/seed-parts.js";import{BUTTON as c,DIM as T,DROP_COMMON as p,DROP_SIDE_PADDING as B,INNER_BOX as i,NO_PAD as u,NUMBER_TEXT as q,SAME_KEYS as y,SECTION_BOX as m,TEXT as b,fillFrom as H,lineSides as s,pictureCell as M,siteGutterOf as A,smallText as a,wrapperPad as O,wrapperPadKeys as I}from"./section-to-box-row-parts.js";const _=(e,t,o)=>{const k=r(e),f=r(t),S=(W,g)=>g&&g!=="px"?{[W]:g}:{};return{...k===void 0?{}:{size:k,...S(w.size,o?.desktop)},...f===void 0?{}:{sizePhone:f,...S(w.sizePhone,o?.phone)}}},Z=e=>j(e.layout)==="stacked",v=e=>Math.min(Math.max(r(e.overlay)??60,0),100),d=e=>r(e)??100,$={textStyle:"heading-1",sizeToken:{...X("headingLarge",48,7,96).sizeToken,pxPhone:36},weight:500,lineHeight:.95,letterSpacing:-.03},J=[a("eyebrow",n("label",14)),...[!0,!1].map(e=>({kind:"text",key:"title",role:"heading",props:b,style:{...$,case:e?"upper":"none"},styleFrom:t=>{const o=x(t);return _(t.titleSizeDesktop,t.titleSizeMobile,{desktop:o.titleDesktop,phone:o.titleMobile})},when:t=>t.uppercase===!0===e})),{kind:"text",key:"body",props:{...T,maxWidth:560},style:{textStyle:"body-1",...n("body",17,16),lineHeight:1.6,paragraphSpacing:24},styleFrom:e=>{const t=x(e);return _(e.bodySizeDesktop,e.bodySizeMobile,{desktop:t.bodyDesktop,phone:t.bodyMobile})}},{kind:"group",name:"Button",props:{...i,align:"start",sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:c}]}],E=e=>`${e}: a Button block has no colour of its own (it follows the site Button colour, as the old fallback did); 0 of 3 live US nodes store one (CLI read, 2026-11-03)`,Q=()=>({name:"Scroll-Over Text",skip:e=>Z(e)?"the stacked layout: its words row's height floor (`copyShare*`) and the header subtraction have no Box setting; 0 live US nodes":void 0,boxProps:e=>({...m,direction:"column",justify:"center",align:"start",gap:24,gapPhone:24,share:"content",...u,placement:"left",darken:v(e),darkenStyle:"even",sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:d(e.heightDesktop),sectionHeightModePhone:"fixed",sectionHeightUnitPhone:"%",sectionHeightValuePhone:d(e.heightMobile)}),box:[...y.filter(e=>!String(typeof e=="string"?e:e[0]).startsWith("sectionHeight")),["imageSrc","bgImage"],["imageSrcMobile","bgImagePhone"],["overlay","darken",(e,t)=>v(t)],["heightDesktop","sectionHeightValue",e=>d(e)],["heightMobile","sectionHeightValuePhone",e=>d(e)]],parts:J,drop:{uppercase:"not a value of its own: it picks the heading part — Case Upper when on, None (as typed) when off",layout:"not a value of its own: the overlay layout is this tree; a stacked node is skipped (`skip`)",copyShareDesktop:"the stacked layout's words-row floor, read only there; a stacked node is skipped",copyShareMobile:"the stacked layout's words-row floor, read only there; a stacked node is skipped",sticky:"the old pin key, read as `stickTop` by the section pin's one reader (lib/content/section-sticky); the Box keeps a stored `stickTop` (SAME_KEYS), and this row is switched off until the stored pages hold `stickTop`",titleSizeDesktop:"read by the heading part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",titleSizeMobile:"read by the heading part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",bodySizeDesktop:"read by the words part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",bodySizeMobile:"read by the words part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",...Object.fromEntries(Y.map(e=>[e,"read by its part's `styleFrom`: the unit of that view's Size"])),buttonColor:E("Button color"),buttonTextColor:E("Button text color"),...p}}),D={textStyle:"heading-2",...n("headingMedium",56,36),weight:400,lineHeight:1.05,letterSpacing:-.03},ee={textStyle:"body-1",...n("body",16),lineHeight:1.7},N=e=>({kind:"text",key:"body",props:{...T,maxWidth:520},style:{...ee,paragraphSpacing:e}}),l={top:0,bottom:0,topPhone:0,bottomPhone:0},P=(e,t)=>typeof e.sectionHeightMode=="string"&&e.sectionHeightMode!=="auto"?{}:{sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:t,sectionHeightModePhone:"auto"},te=(e,t)=>{const o=P(e,t);return Object.keys(o).length?o:{sectionHeightMode:e.sectionHeightMode,...e.sectionHeightValue===void 0?{}:{sectionHeightValue:e.sectionHeightValue},...e.sectionHeightUnit===void 0?{}:{sectionHeightUnit:e.sectionHeightUnit},sectionHeightModePhone:"auto"}},z={boxShapePhone:"landscape"},U="needs a black-and-white setting on a Box picture (the old photograph followed it, else the site's Photography); 0 live US nodes store it (CLI read, 2026-11-03)",oe=(e,t)=>({[e]:t,[V(e)]:t}),ne={textStyle:"heading-2",...n("headingMedium",40),weight:500,case:"none",lineHeight:1,letterSpacing:-.02},R=e=>(Array.isArray(e.stats)?e.stats:[]).filter(t=>t&&(String(t.value??"").trim()!==""||String(t.label??"").trim()!=="")),ie=()=>({name:"Brand Text",boxProps:(e,t)=>({...m,...H("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...O(e,l),...P(e,100)}),box:[...y,...I(l)],parts:[{kind:"group",name:"Words",props:()=>({...i,justify:"center",gap:28,gapPhone:28,sectionBorder:s({right:1}),sectionBorderPhone:s({}),...u,sectionPaddingTop:100,sectionPaddingBottom:100,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60,sectionPaddingRight:K}),parts:[a("eyebrow",n("label",14)),{kind:"text",key:"heading",role:"heading",props:b,style:{...D,case:"none"},mark:"accentItalic"},N(28),{kind:"group",name:"Stats",props:{...i,sectionPaddingTop:16,sectionPaddingTopPhone:16},parts:[{kind:"group",name:"Figures",props:e=>({...i,direction:"row",share:"equal",gap:24,gapPhone:24,maxWidth:520,phoneRow:Math.min(Math.max(R(e).length,1),3),...oe("sectionBorder",s({top:1})),sectionPaddingTop:28,sectionPaddingTopPhone:28}),parts:[{kind:"list",key:"stats",name:"Stat",of:R,props:{...i,gap:4,gapPhone:4},parts:[{kind:"text",key:"value",props:q,style:ne},a("label",{...n("label",13),color:"labels",letterSpacing:.2})]}]}]}]},M("Picture","imageSrc",z)],drop:{...p,grayscale:U,...B}}),h=e=>{const t=e.textAlign==="center"||e.textAlign==="right"?{align:e.textAlign}:{},o=e.textAlignPhone==="left"||e.textAlignPhone==="center"||e.textAlignPhone==="right"?{alignPhone:e.textAlignPhone}:{};return{...t,...o}},re=e=>e.textAlign==="center"?"center":e.textAlign==="right"?"end":"stretch",se=e=>Math.min(Math.max(r(e.overlay)??60,0),100),F=e=>typeof e=="string"&&e.trim()!=="",ae={...c,align:"center",alignPhone:"center",buttonFillOpacity:0,buttonBorder:{width:1},buttonPaddingTop:16,buttonPaddingRight:28,buttonPaddingBottom:16,buttonPaddingLeft:28,buttonPaddingTopPhone:12,buttonPaddingRightPhone:20,buttonPaddingBottomPhone:12,buttonPaddingLeftPhone:20},L=e=>({...M("Picture","imageSrc",(t,o)=>({...F(t.imageSrc)?{darken:40,darkenStyle:"even"}:{},placement:"center",...z,sectionBorder:s(e?{left:1}:{right:1}),...C(e?"left":"right",A(o))}),[{kind:"button",key:"imageBtnText",href:"imageBtnHref",variant:"ghost",props:ae,style:{...G(13,12),letterSpacing:.18}}]),when:t=>t.reverse===!0===e}),C=(e,t)=>{const o=Math.max(60-t,0);return{sectionPaddingLeft:e==="left"?60:o,sectionPaddingRight:e==="right"?60:o}},de={kind:"group",name:"Words",props:(e,t)=>{const o=e.reverse===!0;return{...i,justify:"center",align:re(e),placement:e.textAlign==="center"?"center":e.textAlign==="right"?"right":"left",...te(e,72),gap:24,gapPhone:24,...F(e.textBgSrc)?{darken:se(e),darkenStyle:"even"}:{},...u,sectionPaddingTop:100,sectionPaddingBottom:100,...C(o?"right":"left",A(t)),sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60}},box:[["textBgSrc","bgImage"]],parts:[{...a("eyebrow",n("label",14)),styleFrom:h},{kind:"text",key:"title",role:"heading",props:b,style:D,styleFrom:e=>({case:e.uppercase===!0?"upper":"none",...h(e)})},{...N(24),styleFrom:h},{kind:"group",name:"Button",props:{...i,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>{const t=h(e);return{...c,...t.align?{align:t.align}:{},...t.alignPhone?{alignPhone:t.alignPhone}:{}}}}]}]},le=()=>({name:"Image & Text Split",boxProps:(e,t)=>({...m,...H("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...O(e,l),...P(e,72)}),box:[...y,...I(l)],parts:[L(!1),de,L(!0)],drop:{reverse:"not a value of its own: it picks the order — the Picture Box first, or after the Words",uppercase:"not a value of its own: the heading part's Case — Upper when on, None (as typed) when off",textAlign:"read by each words part (its Align) and the Words Box (its Align); left writes nothing, as the old emitted no class",textAlignPhone:"read by each words part as its phone Align",textAlignTablet:"not carried to the words part's own tablet Align (`alignTablet`) yet: no old node stores it (new with the Tablet view's Text alignment row, 0 stored on the US sites 2026-11-06), so nothing moves",overlay:"read by the Words Box: its Darken over the words picture (60 when unset); no picture, no wash",grayscale:U,...p,...B}}),ke={IntroBleed:Q(),Manifesto:ie(),Split:le()};export{ke as EDITORIAL_SECTION_TO_BOX};
|
|
1
|
+
import{phoneKey as K}from"efficient-easel/draw";import{SITE_SIDE as Y}from"efficient-easel/screen/lib/content/length-units";import{finiteNumber as r}from"../../../../../format/lib/finite-number.js";import{splitImageOverlay as x}from"../../../../../format/lib/document/blocks/general/Split/meta.js";import{INTRO_SIZE_UNIT_KEYS as j,introSizeUnitsOf as w}from"../../../../../format/lib/content/section-type-size.js";import{PART_UNIT_KEY_OF as T}from"../../part-styles.js";import{parseIntroBleedLayout as X}from"../../../../../format/lib/sections/intro-bleed-layout.js";import{fluidToken as G,token as n}from"./section-head-looks.js";import{labelStyle as q}from"../../../../../format/lib/document/seed-parts.js";import{BUTTON as c,DIM as B,DROP_COMMON as p,DROP_SIDE_PADDING as H,INNER_BOX as i,NO_PAD as u,NUMBER_TEXT as Z,SAME_KEYS as y,SECTION_BOX as m,TEXT as b,fillFrom as M,lineSides as a,pictureCell as O,siteGutterOf as A,smallText as s,wrapperPad as v,wrapperPadKeys as I}from"./section-to-box-row-parts.js";const _=(e,t,o)=>{const k=r(e),f=r(t),S=(V,g)=>g&&g!=="px"?{[V]:g}:{};return{...k===void 0?{}:{size:k,...S(T.size,o?.desktop)},...f===void 0?{}:{sizePhone:f,...S(T.sizePhone,o?.phone)}}},$=e=>X(e.layout)==="stacked",E=e=>Math.min(Math.max(r(e.overlay)??60,0),100),d=e=>r(e)??100,J={textStyle:"heading-1",sizeToken:{...G("headingLarge",48,7,96).sizeToken,pxPhone:36},weight:500,lineHeight:.95,letterSpacing:-.03},Q=[s("eyebrow",n("label",14)),...[!0,!1].map(e=>({kind:"text",key:"title",role:"heading",props:b,style:{...J,case:e?"upper":"none"},styleFrom:t=>{const o=w(t);return _(t.titleSizeDesktop,t.titleSizeMobile,{desktop:o.titleDesktop,phone:o.titleMobile})},when:t=>t.uppercase===!0===e})),{kind:"text",key:"body",props:{...B,maxWidth:560},style:{textStyle:"body-1",...n("body",17,16),lineHeight:1.6,paragraphSpacing:24},styleFrom:e=>{const t=w(e);return _(e.bodySizeDesktop,e.bodySizeMobile,{desktop:t.bodyDesktop,phone:t.bodyMobile})}},{kind:"group",name:"Button",props:{...i,align:"start",sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:c}]}],D=e=>`${e}: a Button block has no colour of its own (it follows the site Button colour, as the old fallback did); 0 of 3 live US nodes store one (CLI read, 2026-11-03)`,ee=()=>({name:"Scroll-Over Text",skip:e=>$(e)?"the stacked layout: its words row's height floor (`copyShare*`) and the header subtraction have no Box setting; 0 live US nodes":void 0,boxProps:e=>({...m,direction:"column",justify:"center",align:"start",gap:24,gapPhone:24,share:"content",...u,placement:"left",darken:E(e),darkenStyle:"even",sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:d(e.heightDesktop),sectionHeightModePhone:"fixed",sectionHeightUnitPhone:"%",sectionHeightValuePhone:d(e.heightMobile)}),box:[...y.filter(e=>!String(typeof e=="string"?e:e[0]).startsWith("sectionHeight")),["imageSrc","bgImage"],["imageSrcMobile","bgImagePhone"],["overlay","darken",(e,t)=>E(t)],["heightDesktop","sectionHeightValue",e=>d(e)],["heightMobile","sectionHeightValuePhone",e=>d(e)]],parts:Q,drop:{uppercase:"not a value of its own: it picks the heading part — Case Upper when on, None (as typed) when off",layout:"not a value of its own: the overlay layout is this tree; a stacked node is skipped (`skip`)",copyShareDesktop:"the stacked layout's words-row floor, read only there; a stacked node is skipped",copyShareMobile:"the stacked layout's words-row floor, read only there; a stacked node is skipped",sticky:"the old pin key, read as `stickTop` by the section pin's one reader (lib/content/section-sticky); the Box keeps a stored `stickTop` (SAME_KEYS), and this row is switched off until the stored pages hold `stickTop`",titleSizeDesktop:"read by the heading part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",titleSizeMobile:"read by the heading part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",bodySizeDesktop:"read by the words part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",bodySizeMobile:"read by the words part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",...Object.fromEntries(j.map(e=>[e,"read by its part's `styleFrom`: the unit of that view's Size"])),buttonColor:D("Button color"),buttonTextColor:D("Button text color"),...p}}),N={textStyle:"heading-2",...n("headingMedium",56,36),weight:400,lineHeight:1.05,letterSpacing:-.03},te={textStyle:"body-1",...n("body",16),lineHeight:1.7},z=e=>({kind:"text",key:"body",props:{...B,maxWidth:520},style:{...te,paragraphSpacing:e}}),l={top:0,bottom:0,topPhone:0,bottomPhone:0},P=(e,t)=>typeof e.sectionHeightMode=="string"&&e.sectionHeightMode!=="auto"?{}:{sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:t,sectionHeightModePhone:"auto"},oe=(e,t)=>{const o=P(e,t);return Object.keys(o).length?o:{sectionHeightMode:e.sectionHeightMode,...e.sectionHeightValue===void 0?{}:{sectionHeightValue:e.sectionHeightValue},...e.sectionHeightUnit===void 0?{}:{sectionHeightUnit:e.sectionHeightUnit},sectionHeightModePhone:"auto"}},U={boxShapePhone:"landscape"},R="needs a black-and-white setting on a Box picture (the old photograph followed it, else the site's Photography); 0 live US nodes store it (CLI read, 2026-11-03)",ne=(e,t)=>({[e]:t,[K(e)]:t}),ie={textStyle:"heading-2",...n("headingMedium",40),weight:500,case:"none",lineHeight:1,letterSpacing:-.02},F=e=>(Array.isArray(e.stats)?e.stats:[]).filter(t=>t&&(String(t.value??"").trim()!==""||String(t.label??"").trim()!=="")),re=()=>({name:"Brand Text",boxProps:(e,t)=>({...m,...M("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...v(e,l),...P(e,100)}),box:[...y,...I(l)],parts:[{kind:"group",name:"Words",props:()=>({...i,justify:"center",gap:28,gapPhone:28,sectionBorder:a({right:1}),sectionBorderPhone:a({}),...u,sectionPaddingTop:100,sectionPaddingBottom:100,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60,sectionPaddingRight:Y}),parts:[s("eyebrow",n("label",14)),{kind:"text",key:"heading",role:"heading",props:b,style:{...N,case:"none"},mark:"accentItalic"},z(28),{kind:"group",name:"Stats",props:{...i,sectionPaddingTop:16,sectionPaddingTopPhone:16},parts:[{kind:"group",name:"Figures",props:e=>({...i,direction:"row",share:"equal",gap:24,gapPhone:24,maxWidth:520,phoneRow:Math.min(Math.max(F(e).length,1),3),...ne("sectionBorder",a({top:1})),sectionPaddingTop:28,sectionPaddingTopPhone:28}),parts:[{kind:"list",key:"stats",name:"Stat",of:F,props:{...i,gap:4,gapPhone:4},parts:[{kind:"text",key:"value",props:Z,style:ie},s("label",{...n("label",13),color:"labels",letterSpacing:.2})]}]}]}]},O("Picture","imageSrc",U)],drop:{...p,grayscale:R,...H}}),h=e=>{const t=e.textAlign==="center"||e.textAlign==="right"?{align:e.textAlign}:{},o=e.textAlignPhone==="left"||e.textAlignPhone==="center"||e.textAlignPhone==="right"?{alignPhone:e.textAlignPhone}:{};return{...t,...o}},ae=e=>e.textAlign==="center"?"center":e.textAlign==="right"?"end":"stretch",se=e=>Math.min(Math.max(r(e.overlay)??60,0),100),L=e=>typeof e=="string"&&e.trim()!=="",de={...c,align:"center",alignPhone:"center",buttonFillOpacity:0,buttonBorder:{width:1},buttonPaddingTop:16,buttonPaddingRight:28,buttonPaddingBottom:16,buttonPaddingLeft:28,buttonPaddingTopPhone:12,buttonPaddingRightPhone:20,buttonPaddingBottomPhone:12,buttonPaddingLeftPhone:20},C=e=>({...O("Picture","imageSrc",(t,o)=>({...L(t.imageSrc)&&x(t.imageOverlay)>0?{darken:x(t.imageOverlay),darkenStyle:"even"}:{},placement:"center",...U,sectionBorder:a(e?{left:1}:{right:1}),...W(e?"left":"right",A(o))}),[{kind:"button",key:"imageBtnText",href:"imageBtnHref",variant:"ghost",props:de,style:{...q(13,12),letterSpacing:.18}}]),when:t=>t.reverse===!0===e}),W=(e,t)=>{const o=Math.max(60-t,0);return{sectionPaddingLeft:e==="left"?60:o,sectionPaddingRight:e==="right"?60:o}},le={kind:"group",name:"Words",props:(e,t)=>{const o=e.reverse===!0;return{...i,justify:"center",align:ae(e),placement:e.textAlign==="center"?"center":e.textAlign==="right"?"right":"left",...oe(e,72),gap:24,gapPhone:24,...L(e.textBgSrc)?{darken:se(e),darkenStyle:"even"}:{},...u,sectionPaddingTop:100,sectionPaddingBottom:100,...W(o?"right":"left",A(t)),sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60}},box:[["textBgSrc","bgImage"]],parts:[{...s("eyebrow",n("label",14)),styleFrom:h},{kind:"text",key:"title",role:"heading",props:b,style:N,styleFrom:e=>({case:e.uppercase===!0?"upper":"none",...h(e)})},{...z(24),styleFrom:h},{kind:"group",name:"Button",props:{...i,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>{const t=h(e);return{...c,...t.align?{align:t.align}:{},...t.alignPhone?{alignPhone:t.alignPhone}:{}}}}]}]},he=()=>({name:"Image & Text Split",boxProps:(e,t)=>({...m,...M("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...v(e,l),...P(e,72)}),box:[...y,...I(l)],parts:[C(!1),le,C(!0)],drop:{reverse:"not a value of its own: it picks the order — the Picture Box first, or after the Words",uppercase:"not a value of its own: the heading part's Case — Upper when on, None (as typed) when off",textAlign:"read by each words part (its Align) and the Words Box (its Align); left writes nothing, as the old emitted no class",textAlignPhone:"read by each words part as its phone Align",textAlignTablet:"not carried to the words part's own tablet Align (`alignTablet`) yet: no old node stores it (new with the Tablet view's Text alignment row, 0 stored on the US sites 2026-11-06), so nothing moves",overlay:"read by the Words Box: its Darken over the words picture (60 when unset); no picture, no wash",imageOverlay:"read by the Picture Box: its Darken over the image column's picture (40 when unset, none at 0); no picture, no wash",grayscale:R,...p,...H}}),Se={IntroBleed:ee(),Manifesto:re(),Split:he()};export{Se as EDITORIAL_SECTION_TO_BOX};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{hasWords as
|
|
1
|
+
import{hasWords as X,registerSectionToBox as t}from"../../../sections/section-to-box.js";import{BUTTON as T,DIM as S,DROP_COMMON as s,DROP_SIDE_PADDING as P,INNER_BOX as o,leadLine as D,SAME_KEYS as d,SECTION_BOX as p,TEXT as l,innerPad as y,siteGutterOf as w,innerPadKeys as B,smallText as O,wrapperPad as u,wrapperPadKeys as _}from"./section-to-box-row-parts.js";import{CARDS_SECTION_TO_BOX as W}from"./section-to-box-rows-cards.js";import{storedUnit as k}from"../../../../../format/lib/content/css-length.js";import{finiteNumber as M}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as U}from"./section-to-box-rows-stats.js";import{LOGOS_SECTION_TO_BOX as F}from"./section-to-box-rows-logos.js";import{STRIP_SECTION_TO_BOX as G}from"./section-to-box-rows-strip.js";import{TIMELINE_SECTION_TO_BOX as K}from"./section-to-box-rows-timeline.js";import{LOCATIONS_SECTION_TO_BOX as Y}from"./section-to-box-rows-locations.js";import{HEAD_ONLY_SECTION_TO_BOX as j}from"./section-to-box-rows-head.js";import{PAGE_HEADER_SECTION_TO_BOX as z}from"./section-to-box-rows-pageheader.js";import{TAB_BAR_SECTION_TO_BOX as q}from"./section-to-box-rows-tabbar.js";import{DOCBODY_SECTION_TO_BOX as J}from"./section-to-box-rows-docbody.js";import{EDITORIAL_SECTION_TO_BOX as Q}from"./section-to-box-rows-editorial.js";import{FORMS_SECTION_TO_BOX as V}from"./section-to-box-rows-forms.js";import{CHECKOUT_SECTION_TO_BOX as Z}from"./section-to-box-rows-checkout.js";import{PROOF_SECTION_TO_BOX as $}from"./section-to-box-rows-proof.js";import{PROMO_SECTION_TO_BOX as ee}from"./section-to-box-rows-promo.js";import{FITMENT_SECTION_TO_BOX as te}from"./section-to-box-rows-fitment.js";import{fluidToken as oe,headTree as E,token as i}from"./section-head-looks.js";import{CTA_PH as b,PH as ne,phAccentAsMarks as m}from"../../../../../format/lib/document/blocks/placeholders.js";import{PROSE_PH as f}from"../../../../../format/lib/document/blocks/general/Prose/meta.js";import{PARAGRAPHS_A_PH as g}from"../../../../../format/lib/document/blocks/general/ParagraphsA/meta.js";import{BANNER_PH as ie}from"../../../../../format/lib/document/blocks/general/Banner/meta.js";import{TITLE_WITH_BUTTONS_PH as re,TITLE_WITH_BUTTONS_SCAFFOLD_BUTTONS as ae}from"../../../../../format/lib/document/blocks/general/TitleWithButtons/meta.js";import{SECTION_HEADER_PH as a}from"../../../../../format/lib/document/blocks/general/SectionHeader/meta.js";import{boxPadding as se,fillSlot as de}from"../../../../../format/lib/document/seed-parts.js";const x={top:72,bottom:72,topPhone:72,bottomPhone:72},pe={name:"Editorial Text",boxProps:e=>({...p,direction:"column",gap:28,gapPhone:28,sectionBorder:{top:1},...u(e,x)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,..._(x)],parts:[E("Prose"),{kind:"text",key:"body",props:S,style:{textStyle:"body-1",...i("body",16),lineHeight:1.7,paragraphSpacing:18}}],drop:{...s,...P,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (the live export, 2026-10-24)"}},N={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},I=(e,n)=>n?.variant==="primary",H=(e,n)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",when:I,variant:"primary",style:{letterSpacing:.3},props:{...T,...N,...n}},{kind:"button",key:"label",href:"href",when:(r,h)=>!I(r,h),variant:"ghost",style:{letterSpacing:.3},props:{...T,...N,...n}}]}),c=e=>X(e.title),le={name:"Call-to-Action Heading",boxProps:e=>({...p,direction:"row",align:"center",justify:c(e)?"between":"end",gap:60,gapPhone:60,share:"content",sectionBorder:{bottom:1},...y(e,"TitleWithButtons")}),box:[...d,...B("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:{...o,maxWidth:1e3,widthFitPhone:"fill"},parts:[{kind:"text",key:"title",role:"heading",props:l,style:{textStyle:"heading-1",...oe("headingLarge",48,7,108),case:"upper",lineHeight:.94,letterSpacing:-.035},mark:"accentItalic"}]},{kind:"group",name:"Buttons",props:e=>({...o,gap:14,gapPhone:14,widthFitPhone:"fill",...c(e)?{minWidth:280,minWidthPhone:0}:{}}),parts:[H(c,{widthFit:"fill",iconPosition:"end"}),H(e=>!c(e),{})]}],drop:{...s,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (the live export, 2026-10-24)",buttonsAlignPhone:"the phone's own side of `buttonsAlign`, read only with no heading; no old node stores it (it is new with the Phone view's Block alignment row), so nothing moves",buttonsAlignTablet:"the tablet's own side of `buttonsAlign`, read only with no heading; no old node stores it (it is new with the Tablet view's Block alignment row, 0 stored on the US sites 2026-11-05), so nothing moves"}};function he(e,n){const r=w(n,{to:k(e.sectionPaddingUnit)}),h=w(n,{view:"phone",to:k(e.sectionPaddingUnitPhone),maxPx:20});return{sectionPaddingLeft:r,sectionPaddingRight:r,sectionPaddingLeftPhone:h,sectionPaddingRightPhone:h}}const A={top:40,bottom:64,topPhone:24,bottomPhone:36},me={name:"Section Header",boxProps:(e,n)=>({...p,direction:"column",gap:0,...u(e,A),...he(e,n)}),box:[...d,..._(A)],parts:[E("SectionHeader")],drop:{...s,...P,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (the live export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},R={...o,direction:"row",share:[67],gap:32},C={...o,sectionPaddingLeft:24,sectionPaddingLeftPhone:0},v=(e,n,r)=>({kind:"group",name:e,props:n,parts:[r]}),ge={name:"Lead Text",boxProps:e=>({...p,direction:"column",gap:40,gapPhone:40,sectionBorder:{bottom:1},...y(e,"ParagraphsA")}),box:[...d,...B("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...R,gapPhone:24,sectionBorder:{bottom:1},sectionPaddingBottom:40,sectionPaddingBottomPhone:40},parts:[{kind:"group",name:"Eyebrow",props:{...o,sectionPaddingTop:5,sectionPaddingBottom:1,sectionPaddingTopPhone:5,sectionPaddingBottomPhone:1},parts:[O("eyebrow",{color:"labels",...i("label",12),letterSpacing:.24})]},v("Stats column",o,{kind:"group",name:"Stats",props:{...C,gap:0,gapPhone:0},parts:[{kind:"list",key:"stats",name:"Stat",flat:!0,parts:[D("value","label",{...i("label",13),letterSpacing:.18,lineHeight:1.8})]}]})]},{kind:"group",name:"Words",props:{...R,gapPhone:28},parts:[{kind:"group",name:"Lead",props:o,parts:[{kind:"group",name:"Measure",props:{...o,maxWidth:780},parts:[{kind:"text",key:"lead",props:l,style:{textStyle:"heading-3",...i("headingSmall",22,20),weight:400,case:"none",lineHeight:1.45,letterSpacing:-.005}}]}]},v("Note column",{...o,justify:"end"},{kind:"group",name:"Founders",props:{...C,gap:8,gapPhone:8},parts:[{kind:"group",name:"Note",props:{...o,gap:6,gapPhone:6},parts:[{kind:"text",key:"foundersHeading",props:l,style:{textStyle:"body-1",fontRole:"heading",...i("body",18,16),weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:S,style:{textStyle:"body-5",fontRole:"heading",...i("body",14,12),lineHeight:1.7}}]},O("attribution",{...i("label",12,10),letterSpacing:.24,lineHeight:1.7})]})]}],drop:{...s}},L={top:24,bottom:24,topPhone:24,bottomPhone:24},ce={name:"Banner",boxProps:e=>({...p,direction:"column",gap:0,...u(e,L)}),box:[...d,"contained",..._(L)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...o,gap:28,gapPhone:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},...de("surface"),...se(64,40,40,24)},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(M(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...o,gap:20,gapPhone:20},parts:[O("eyebrow"),{kind:"text",key:"title",role:"heading",props:{...l,maxWidth:680},style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none",...i("headingMedium",44,32)}},{kind:"text",key:"body",props:{...l,maxWidth:680},style:{textStyle:"body-1",lineHeight:1.6,...i("body",16)}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:T}]}],drop:{...s,...P}},Te={Prose:pe,TitleWithButtons:le,SectionHeader:me,ParagraphsA:ge,Banner:ce},Ke={Prose:()=>({eyebrow:f.eyebrow,title:m(f.title),body:f.body}),TitleWithButtons:()=>({title:m(re.title),buttons:ae.map(e=>({...e}))}),SectionHeader:()=>({num:a.num,title:m(a.title),description:a.description,linkText:a.linkText,linkHref:b.href}),ParagraphsA:()=>({eyebrow:g.eyebrow,lead:ne.body,foundersHeading:g.foundersHeading,foundersBody:g.foundersBody,attribution:g.attribution}),Banner:()=>({...ie,ctaText:b.text,ctaHref:b.href}),ProcessSteps:()=>({num:a.num,title:m(a.title)})};function Ye(){t(Te),t(U),t(F),t(W),t(G),t(K),t(Y),t(j),t(z),t(q),t(J),t(Q),t(V),t(Z),t(te),t($),t(ee)}export{Te as GENERAL_SECTION_TO_BOX,Ke as TEXT_PRESS_STARTERS,Ye as registerGeneralSectionRows};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import{parseBlockWidthFit as K,phoneKey as c,tabletKey as r}from"efficient-easel/draw";import{blockCanWidenPastCell as L,blockFillInCellClass as X,blockSizeOf as B,blockSizeValuesOf as v,blockCanvasWidthAttrs as G}from"../../content/block-size.js";import{NoCellBound as Z}from"../../../components/BoxCellContext.js";import{CellWrap as U,useBoxCell as Y}from"../../../components/InBoxContext.js";import{boxPhoneRowFits as $,boxRowColumnsClass as k,boxShareClasses as C,boxShareTabletOf as M,boxTabletColumnsClass as V}from"../../../../format/lib/content/box-layout.js";import{resolveContainerDirection as q}from"../../../../format/lib/content/container-direction.js";import{BOX_TYPE as J,containerBlocksFor as Q}from"../../../../format/lib/document/container-blocks.js";import{readPartStyle as tt}from"../part-styles.js";import{addShowWhenFacts as et,withRowRules as _}from"../../../../format/lib/document/show-when-attach.js";import{BOX_BLOCK_KEYS as it}from"./cell-width.js";import{findParentNode as nt}from"../../../../format/lib/document/passes/document-position.js";const st=new Set(["Text","Heading"]),ot=new Set(["h1","h2","h3","h4","h5","h6"]);function z(t,e){return t==="Heading"?!0:t!=="Text"?!1:typeof e.tag=="string"&&ot.has(e.tag)?!0:tt(e,"text").textStyle?.startsWith("heading-")===!0}const d={not:{context:"blockOutsideBox",is:!0}},E={all:[d,{not:{context:"boxSharesWidth",is:!0}}]},N={all:[d,{not:{context:"boxSharesWidthPhone",is:!0}}]},I={all:[d,{not:{context:"boxSharesWidthTablet",is:!0}}]};function y(t,e,i){return{any:[{field:r(t),is:e},{all:[{field:r(t),set:!1},i??{field:t,is:e}]}]}}function H(t,e,i){return{any:[{field:c(t),is:e},{all:[{field:c(t),set:!1},i??{field:t,is:e}]}]}}const R={any:[{field:"textFit",is:"shrink"},{all:[{field:"textFit",set:!1},{not:{context:"textWrapsByDefault",is:!0}}]}]},rt=[[["_gBlockSize","minWidth",r("minWidth"),c("minWidth"),"maxWidth",r("maxWidth"),c("maxWidth")],d],[["widthFit"],E],[[r("widthFit")],I],[[c("widthFit")],N],[["width"],{all:[E,{field:"widthFit",is:"fixed"}]}],[[r("width")],{all:[I,y("widthFit","fixed")]}],[[c("width")],{all:[N,H("widthFit","fixed")]}]],D=y("textFit","shrink",R),j=[[["_gText","textFit",r("textFit"),c("textFit")],d],[["minFont"],{all:[d,R]}],[[r("minFont")],{all:[d,D]}],[[c("minFont")],{all:[d,H("textFit","shrink",D)]}]],p=(t,e)=>nt(e.appState,t.props?.id),S=t=>!!t&&typeof t.type=="string"&&Q(t.type)!==null,T=t=>(t.type==="Flex"||t.type==="HeroGroup")&&q(t.type,t.props?.direction)==="row",W=t=>{const e=K(t);return e!==void 0&&e!=="fit"},lt={blockOutsideBox:(t,e)=>!S(p(t,e)),boxSharesWidth:(t,e)=>{const i=p(t,e);return!S(i)||!T(i)?!1:k({...i.props,direction:"row"})!==""?!0:C(i.props?.share)!==""&&!W(t.props?.widthFit)},boxSharesWidthTablet:(t,e)=>{const i=p(t,e);if(!S(i)||!T(i))return!1;if(V(i.props?.[r("columns")])!==""||k({...i.props,direction:"row"})!=="")return!0;const n=M(i.props?.[r("share")])??i.props?.share;return C(n)!==""&&!W(t.props?.[r("widthFit")]??t.props?.widthFit)},boxSharesWidthPhone:(t,e)=>{const i=p(t,e);if(!S(i)||!T(i))return!1;const n=i.props?.phoneRow;return(Number(n)===2||Number(n)===3)&&!$(n,i.props?.[c("share")])&&!W(t.props?.[c("widthFit")]??t.props?.widthFit)}},ct=t=>/^_[gds][A-Z]/.test(t);function at(t,e,i){const n=Object.entries(t),s=n.findIndex(([l])=>l===e);if(s===-1)return null;let o=s+1;for(;o<n.length&&!ct(n[o][0]);)o++;return Object.fromEntries([...n.slice(0,o),...Object.entries(i),...n.slice(o)])}function A(t,e,i){const n=Object.entries(t);return Object.fromEntries([...n.slice(0,e),...Object.entries(i),...n.slice(e)])}function dt(t,e,i){const n=Object.keys(e);if(n.includes("_dSize")){const{_gBlockSize:s,...o}=i;return A(e,n.indexOf("_dSize")+1,o)}return ht.has(t)&&n.includes("_gSpacing")?A(e,n.indexOf("_gSpacing"),i):{...e,...i}}const ht=new Set(["Text","Heading"]);function ut(t,e){const{_gText:i,...n}=e;return at(t,"_gText",n)??{...t,...e}}function ft(t){const e=new WeakMap;return i=>{if(!i||!("textFit"in i))return i;let n=e.get(i);if(!n){n={...i};for(const s of["textFit",r("textFit"),c("textFit")])s in n&&(n[s]=t[s]);e.set(i,n)}return n}}const Ct={name:"blockSize",applies:(t,e,i)=>it.includes(t)&&!!i&&typeof i.render=="function",panel(t,e,i){const n=st.has(e),{text:s}=i.blockSizeFields(n?{tablet:!0,textFit:e==="Heading"?"shrink":"wrap"}:{}),{size:o}=i.blockSizeFields({tablet:!0});let l=dt(e,t.fields??{},_(o,rt));if(n){const a=_(s,j);if(l=ut(l,a),e==="Text"){const f=_(i.blockSizeFields({tablet:!0,textFit:"shrink"}).text,j),h=ft(f),u=t.resolveFields,b=(x,w)=>{const F=u?u(x,w):w.fields,g=O=>z(e,x?.props??{})?h(O??w.fields):O;return F instanceof Promise?F.then(g):g(F)};t.resolveFields=b}}t.fields=l,et(t,{...lt,textWrapsByDefault:a=>!z(e,a.props??{})})},draw(t,e){xt(t,e)}};function xt(t,e){const i=t.render;t.render=n=>{const s=v(n),o=B(s),l=i(n),a=o&&B(s,{atSectionLine:!0});return o===null?l:m(pt,{size:o,sectionSize:a??o,atEdge:e===J,canvasAttrs:n.editor?.isEditing?G(s):P,inCell:X(s),widens:L(s),children:l})}}const P={};function pt({size:t,sectionSize:e,atEdge:i,canvasAttrs:n,inCell:s,widens:o,children:l}){const a=Y(),f=!!a||i,h=f?t:e,u=h.className,b=a?.phoneCells===!0,x=o?m(Z,{children:l}):l;return m(U,{className:b&&s?`${u} ${s}`:u,...Object.keys(h.style).length?{style:h.style}:{},attrs:f&&n!==P?{...h.attrs,...n}:h.attrs,children:x})}export{Ct as blockSize,z as textShrinksByDefault};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{catalogueLabel as e}from"../../../../format/lib/document/passes/catalogue-labels.js";import{blockSize as n}from"./block-size.js";import{boxJoin as
|
|
1
|
+
import{catalogueLabel as e}from"../../../../format/lib/document/passes/catalogue-labels.js";import{blockSize as n}from"./block-size.js";import{boxJoin as s}from"./box-join.js";import{cardTemplateOnInsert as p}from"../../../../format/lib/document/passes/card-template-on-insert.js";import{cellWidth as c}from"./cell-width.js";import{clickableParts as f}from"./clickable-parts.js";import{cardCorners as l,sectionCorners as a}from"./corners.js";import{emptyHeadings as d}from"../../../../format/lib/document/passes/empty-headings.js";import{showWhenRows as h}from"../../../../format/lib/document/passes/show-when-rows.js";import{headBox as S,headCore as u}from"./head-core.js";import{hiddenNodes as b}from"./hidden-nodes.js";import{showFor as g}from"./show-for.js";import{mediaValues as w}from"../../../../format/lib/document/passes/media-values.js";import{sectionAnchor as k}from"./section-anchor.js";import{blockEntrance as A,sectionAnimation as P}from"./section-animation.js";import{blockScroll as C,sectionScroll as B}from"./scroll-effect.js";import{sectionHeight as W,sectionHeightFillRoot as y}from"./section-height.js";import{cardSticky as G,sectionSticky as H}from"./section-sticky.js";import{sectionBorder as R}from"./borders.js";import{blockPadding as T,sectionPadding as x}from"./section-padding.js";import{sectionTheme as E,slideTheme as F}from"./section-theme.js";import{buttonAlignInRow as I,containedWidth as L,sectionWidth as O}from"./section-width.js";import{blockGroups as z,sectionGroups as D}from"../../../../format/lib/document/passes/settings-groups.js";import{slotsStartAfresh as J}from"./slots-start-afresh.js";import{openSlotDisallow as K,sectionGroupAllow as N}from"../../../../format/lib/document/passes/slot-rules.js";import{registryPassContext as go}from"../../../../format/lib/document/passes/registry-context.js";const V=[J,w,u,N,K,x,a,R,l,T,A,C,c,O,L,I,W,k,E,P,B,H,G,s,F,n,D,z,h,d,f,S,g,y,b,e,p];function So(r,m,o){const t=m;for(const i of V)i.applies(r,o,t)&&(o.inspector&&i.panel?.(t,r,o.inspector,o),i.draw?.(t,r,o));return m}export{V as BLOCK_PASSES,So as applyBlockPasses,go as registryPassContext};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import type { BlockPass } from "../../../../format/lib/document/passes/types.js";
|
|
1
|
+
import type { BlockPass, PassResolveFields } from "../../../../format/lib/document/passes/types.js";
|
|
2
|
+
export declare function heightFillOffered(data: {
|
|
3
|
+
props?: Record<string, unknown>;
|
|
4
|
+
}, params: Parameters<PassResolveFields>[1]): boolean;
|
|
2
5
|
export declare const sectionHeight: BlockPass;
|
|
6
|
+
export declare const sectionHeightFillRoot: BlockPass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import{createElement as H}from"react";import{SECTION_MIN_HEIGHT_EXCLUDED as p,sectionHeightFillClass as F,sectionHeightFillViews as w,sectionHeightWrap as E}from"../../../../format/lib/content/section-min-height.js";import{CellWrap as x}from"../../../components/InBoxContext.js";import{HeightFillContext as C,heightFillClaim as _}from"../../../components/ViewHideRoot.js";import{drawsCopiesInTheBox as g}from"../../../../format/lib/content/copies-in-box.js";import{BOX_TYPE as M}from"../../../../format/lib/document/container-blocks.js";import{findParentNode as y}from"../../../../format/lib/document/passes/document-position.js";const c=["sectionHeightMode","sectionHeightModeTablet","sectionHeightModePhone"];function N(e,o){const i=e.props??{};return c.some(r=>i[r]==="fill")?!0:("parent"in o?o.parent:y(o.appState,i.id))?.type===M}const P={name:"sectionHeight",applies:(e,o,i)=>o.isSection(e)&&!p.has(e)&&!!i&&typeof i.render=="function",panel(e,o,i){const t=i.heightFields;e.fields={...e.fields,...t()};const r=t({fill:!0}),h=new WeakMap,u=s=>{if(!s||!c.some(l=>l in s))return s;let n=h.get(s);if(!n){n={...s};for(const l of c)l in n&&(n[l]=r[l]);h.set(s,n)}return n},a=e.resolveFields;e.resolveFields=(s,n)=>{const l=a?a(s,n):n.fields,f=d=>N(s??{},n)?u(d??n.fields):d;return l instanceof Promise?l.then(f):f(l)}},draw(e,o){const i=e.render;e.render=t=>{if(g(o,t))return i(t);const r=E(t);return r?m(x,{className:r.className,style:r.style,children:i(t)}):i(t)}}},W={name:"sectionHeightFillRoot",applies:P.applies,draw(e,o){const i=e.render;e.render=t=>{const r=g(o,t)?null:_(F(t),w(t).join(" "));return H(C.Provider,{value:r},i(t))}}};export{N as heightFillOffered,P as sectionHeight,W as sectionHeightFillRoot};
|
|
@@ -36,6 +36,8 @@ export type SiteFacts = {
|
|
|
36
36
|
selectedPreset?: number | null;
|
|
37
37
|
siteGutter?: number | null;
|
|
38
38
|
siteGutterPhone?: number | null;
|
|
39
|
+
siteGutterUnit?: string | null;
|
|
40
|
+
siteGutterPhoneUnit?: string | null;
|
|
39
41
|
};
|
|
40
42
|
export type ConvertContext = {
|
|
41
43
|
site?: SiteFacts;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-web-builder",
|
|
3
|
-
"version": "67.
|
|
3
|
+
"version": "67.2.0",
|
|
4
4
|
"description": "The EFFICIENT website builder: the website editor, the general sections and the renderer that draws them, compiled. Hostable by any EFFICIENT product; nothing here imports a host.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
43
|
"test:boundary": "node scripts/test-boundary.mjs",
|
|
44
44
|
"test:screen": "node scripts/test-screen-in-easel.mjs",
|
|
45
|
-
"test:own-ui": "efficient-shell-ui-check",
|
|
45
|
+
"test:own-ui": "node node_modules/efficient-shell-checker/dist/bin/ui-check.js",
|
|
46
46
|
"test:media-hosts": "efficient-shell-media-host-check",
|
|
47
47
|
"build": "node scripts/build.mjs",
|
|
48
48
|
"verify:dist": "node scripts/verify-dist.mjs && node scripts/verify-published-entries.mjs",
|
|
@@ -72,8 +72,9 @@
|
|
|
72
72
|
"@types/node": "^20",
|
|
73
73
|
"@types/react": "^19",
|
|
74
74
|
"@types/react-dom": "^19",
|
|
75
|
-
"efficient-easel": "^34.
|
|
75
|
+
"efficient-easel": "^34.2.0",
|
|
76
76
|
"efficient-shell": "^12.33.0",
|
|
77
|
+
"efficient-shell-checker": "npm:efficient-shell@12.37.0",
|
|
77
78
|
"esbuild": "^0.28.0",
|
|
78
79
|
"happy-dom": "^20.14.5",
|
|
79
80
|
"isomorphic-dompurify": "^3.18.0",
|