efficient-web-builder 47.2.0 → 48.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 (173) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/editor/components/HeroPartPanel.js +1 -1
  3. package/dist/editor/components/HoverEffectField.d.ts +1 -0
  4. package/dist/editor/components/HoverEffectField.js +1 -1
  5. package/dist/editor/components/MediaUploadField.d.ts +9 -0
  6. package/dist/editor/components/MediaUploadField.js +1 -1
  7. package/dist/editor/components/PartSettingsPanel.d.ts +2 -1
  8. package/dist/editor/components/PartSettingsPanel.js +1 -1
  9. package/dist/editor/components/PreviewPartAnchors.d.ts +3 -1
  10. package/dist/editor/components/PreviewPartAnchors.js +1 -1
  11. package/dist/editor/components/SameInEveryViewNote.d.ts +1 -0
  12. package/dist/editor/components/SameInEveryViewNote.js +1 -0
  13. package/dist/editor/components/SaveAsTemplateButton.d.ts +5 -0
  14. package/dist/editor/components/SaveAsTemplateButton.js +1 -0
  15. package/dist/editor/components/SectionIcon.js +1 -1
  16. package/dist/editor/components/SiteFields.d.ts +4 -1
  17. package/dist/editor/components/SiteFields.js +1 -1
  18. package/dist/editor/components/SiteRestoreNotice.js +1 -1
  19. package/dist/editor/components/SiteTextStylesField.js +1 -1
  20. package/dist/editor/components/TickerSettingsPanel.js +1 -1
  21. package/dist/editor/components/VersionHistoryDrawer.js +1 -1
  22. package/dist/editor/components/WebsitePreviewButton.d.ts +2 -1
  23. package/dist/editor/components/WebsitePreviewButton.js +1 -1
  24. package/dist/editor/components/WebsiteScreenParts.js +1 -1
  25. package/dist/editor/components/usePartMotion.d.ts +10 -0
  26. package/dist/editor/components/usePartMotion.js +1 -0
  27. package/dist/editor/components/useSocialSettings.d.ts +2 -2
  28. package/dist/editor/lib/animation/AnimationDurationRow.js +1 -1
  29. package/dist/editor/lib/animation/fields.d.ts +1 -1
  30. package/dist/editor/lib/animation/fields.js +1 -1
  31. package/dist/editor/lib/animation/hover-fields.d.ts +1 -0
  32. package/dist/editor/lib/animation/hover-fields.js +1 -0
  33. package/dist/editor/lib/document/add-target.d.ts +2 -1
  34. package/dist/editor/lib/document/add-target.js +1 -1
  35. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
  36. package/dist/editor/lib/document/blocks/general/Contents/fields.d.ts +2 -0
  37. package/dist/editor/lib/document/blocks/general/Contents/fields.js +1 -0
  38. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
  39. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  40. package/dist/editor/lib/document/blocks/general/HeroGroup/fields.js +1 -1
  41. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  42. package/dist/editor/lib/document/blocks/general/index.js +1 -1
  43. package/dist/editor/lib/document/build-config.js +1 -1
  44. package/dist/editor/lib/document/canvas-typing.d.ts +1 -0
  45. package/dist/editor/lib/document/canvas-typing.js +1 -1
  46. package/dist/editor/lib/document/card-display-chips.js +1 -1
  47. package/dist/editor/lib/document/controls.d.ts +7 -3
  48. package/dist/editor/lib/document/controls.js +1 -1
  49. package/dist/editor/lib/document/field-groups.js +1 -1
  50. package/dist/editor/lib/document/geocode-resolve.d.ts +1 -0
  51. package/dist/editor/lib/document/geocode-resolve.js +1 -1
  52. package/dist/editor/lib/document/overrides.js +1 -1
  53. package/dist/editor/lib/document/page-root.js +2 -2
  54. package/dist/editor/lib/document/part-motion-canvas.d.ts +9 -0
  55. package/dist/editor/lib/document/part-motion-canvas.js +1 -0
  56. package/dist/format/lib/animation/hover.d.ts +5 -0
  57. package/dist/format/lib/animation/hover.js +1 -0
  58. package/dist/format/lib/content/anchor-name.d.ts +2 -0
  59. package/dist/format/lib/content/anchor-name.js +1 -0
  60. package/dist/format/lib/content/box-layout.d.ts +8 -0
  61. package/dist/format/lib/content/box-layout.js +1 -1
  62. package/dist/format/lib/content/box-link.js +1 -1
  63. package/dist/format/lib/content/box-separator.js +1 -1
  64. package/dist/format/lib/content/card-template.d.ts +8 -0
  65. package/dist/format/lib/content/card-template.js +1 -1
  66. package/dist/format/lib/content/container-gap.d.ts +2 -1
  67. package/dist/format/lib/content/container-gap.js +1 -1
  68. package/dist/format/lib/content/list-number.d.ts +1 -0
  69. package/dist/format/lib/content/list-number.js +1 -0
  70. package/dist/format/lib/content/section-min-height.d.ts +3 -2
  71. package/dist/format/lib/content/section-min-height.js +1 -1
  72. package/dist/format/lib/content/section-sticky.js +1 -1
  73. package/dist/format/lib/content/sticky-aside.d.ts +2 -0
  74. package/dist/format/lib/content/sticky-aside.js +1 -0
  75. package/dist/format/lib/document/blocks/general/Contents/meta.d.ts +5 -0
  76. package/dist/format/lib/document/blocks/general/Contents/meta.js +1 -0
  77. package/dist/format/lib/document/blocks/general/metas.d.ts +1 -0
  78. package/dist/format/lib/document/blocks/general/metas.js +1 -1
  79. package/dist/format/lib/document/blocks/general/text-part-shapes.json +10 -0
  80. package/dist/format/lib/document/container-blocks.js +1 -1
  81. package/dist/format/lib/document/easel-row-words.d.ts +1 -0
  82. package/dist/format/lib/document/easel-row-words.js +1 -1
  83. package/dist/format/lib/document/general-order.d.ts +1 -1
  84. package/dist/format/lib/document/general-order.js +1 -1
  85. package/dist/format/lib/document/panel-tabs.d.ts +8 -0
  86. package/dist/format/lib/document/panel-tabs.js +1 -0
  87. package/dist/format/lib/document/part-records.d.ts +6 -0
  88. package/dist/format/lib/document/part-records.js +1 -0
  89. package/dist/format/lib/document/passes/registry-context.d.ts +1 -1
  90. package/dist/format/lib/document/passes/registry-context.js +1 -1
  91. package/dist/format/lib/document/passes/types.d.ts +2 -0
  92. package/dist/format/lib/document/section-groups.d.ts +1 -1
  93. package/dist/format/lib/editor-words-catalogue.d.ts +6 -0
  94. package/dist/format/lib/editor-words-catalogue.js +3 -3
  95. package/dist/format/lib/hero-ticker.d.ts +1 -0
  96. package/dist/format/lib/hero-ticker.js +1 -1
  97. package/dist/format/lib/links/page-link-rules.js +1 -1
  98. package/dist/format/lib/sections/contents-text-regions.d.ts +3 -0
  99. package/dist/format/lib/sections/contents-text-regions.js +1 -0
  100. package/dist/format/lib/sections/section-text-regions.js +1 -1
  101. package/dist/format/lib/sections/strip-shape.js +1 -1
  102. package/dist/render/components/CardRowContext.d.ts +3 -1
  103. package/dist/render/components/CardRowContext.js +1 -1
  104. package/dist/render/components/ContentsList.d.ts +14 -0
  105. package/dist/render/components/ContentsList.js +1 -0
  106. package/dist/render/components/DocBody.d.ts +18 -0
  107. package/dist/render/components/DocBody.js +5 -5
  108. package/dist/render/components/FAQ.js +1 -1
  109. package/dist/render/components/Flex.d.ts +3 -1
  110. package/dist/render/components/Flex.js +1 -1
  111. package/dist/render/components/Grid.d.ts +2 -1
  112. package/dist/render/components/Grid.js +1 -1
  113. package/dist/render/components/HeroGroup.d.ts +2 -1
  114. package/dist/render/components/HeroGroup.js +1 -1
  115. package/dist/render/components/HeroSection.d.ts +2 -1
  116. package/dist/render/components/HeroSection.js +1 -1
  117. package/dist/render/components/HeroSingle.d.ts +2 -1
  118. package/dist/render/components/HeroSingle.js +1 -1
  119. package/dist/render/components/PageContentsContext.d.ts +14 -0
  120. package/dist/render/components/PageContentsContext.js +1 -0
  121. package/dist/render/components/PartStyledKind.js +1 -1
  122. package/dist/render/components/PartStyledText.js +1 -1
  123. package/dist/render/components/PublishedPartStylesContext.d.ts +4 -1
  124. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  125. package/dist/render/components/Reel.js +1 -1
  126. package/dist/render/components/SectionAnimation.d.ts +10 -3
  127. package/dist/render/components/SectionAnimation.js +1 -1
  128. package/dist/render/components/Text.d.ts +2 -1
  129. package/dist/render/components/Text.js +1 -1
  130. package/dist/render/components/Timeline.js +1 -1
  131. package/dist/render/components/goldPhrases.d.ts +1 -1
  132. package/dist/render/components/goldPhrases.js +2 -2
  133. package/dist/render/lib/animation/entrance.d.ts +1 -0
  134. package/dist/render/lib/animation/entrance.js +1 -1
  135. package/dist/render/lib/animation/part-motion.d.ts +25 -0
  136. package/dist/render/lib/animation/part-motion.js +2 -0
  137. package/dist/render/lib/content/button-look.js +1 -1
  138. package/dist/render/lib/content/page-contents.d.ts +17 -0
  139. package/dist/render/lib/content/page-contents.js +1 -0
  140. package/dist/render/lib/document/blocks/general/Contents/render.d.ts +2 -0
  141. package/dist/render/lib/document/blocks/general/Contents/render.js +1 -0
  142. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  143. package/dist/render/lib/document/blocks/general/Grid/render.js +1 -1
  144. package/dist/render/lib/document/blocks/general/Hero/render.js +1 -1
  145. package/dist/render/lib/document/blocks/general/HeroGroup/render.js +1 -1
  146. package/dist/render/lib/document/blocks/general/HeroSingle/render.js +1 -1
  147. package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
  148. package/dist/render/lib/document/blocks/general/renders.d.ts +1 -0
  149. package/dist/render/lib/document/blocks/general/renders.js +1 -1
  150. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +3 -0
  151. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  152. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  153. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.d.ts +2 -0
  154. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -0
  155. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  156. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.d.ts +2 -0
  157. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -0
  158. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  159. package/dist/render/lib/document/hero-media-parts.d.ts +2 -2
  160. package/dist/render/lib/document/page-render.js +1 -1
  161. package/dist/render/lib/document/part-styles.d.ts +10 -1
  162. package/dist/render/lib/document/part-styles.js +2 -2
  163. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  164. package/dist/render/lib/document/passes/section-anchor.d.ts +1 -0
  165. package/dist/render/lib/document/passes/section-anchor.js +1 -1
  166. package/dist/render/lib/document/passes/section-padding.js +1 -1
  167. package/dist/render/lib/sections/section-to-box.d.ts +1 -0
  168. package/dist/render/lib/sections/section-to-box.js +1 -1
  169. package/dist/render/lib/text-styles/site-text-styles.d.ts +16 -4
  170. package/dist/render/lib/text-styles/site-text-styles.js +2 -2
  171. package/package.json +3 -3
  172. package/dist/editor/lib/document/selected-host.d.ts +0 -2
  173. package/dist/editor/lib/document/selected-host.js +0 -1
@@ -0,0 +1 @@
1
+ import{Fragment as d,jsx as n}from"react/jsx-runtime";import l,{CONTENTS_STICKY_TOP as m}from"../../../../../components/ContentsList.js";import{ContentsEntriesDrawn as f}from"../../../../../components/PageContentsContext.js";import{readHidable as T}from"efficient-easel/draw";import{CONTENTS_ENTRIES_PROP as g}from"../../../../content/page-contents.js";import{say as a}from"../../../../../../format/lib/editor-words.js";import{ContentsMeta as h}from"../../../../../../format/lib/document/blocks/general/Contents/meta.js";const C=()=>[{label:a("First section"),anchor:"first-section"},{label:a("Second section"),anchor:"second-section"}],O={...h,render:t=>{const i=T(t.title),e=!!t.editor?.isEditing,r=s=>{const c=s?.length?s:e?C():[];return!c.length&&!e?n(d,{}):n(l,{title:i.hidden?void 0:i.text,entries:c,stickyTop:m,sticky:t.sticky!==!1,editing:e,partStyles:t._partStyles})},o=t[g];return o?r(o):n(f,{id:t.id,children:r})}};export{O as ContentsRender};
@@ -1 +1 @@
1
- import{jsx as a}from"react/jsx-runtime";import{phoneKey as o}from"efficient-easel/draw";import{CountRowsContext as t,NO_COUNTS as c}from"../../../../../components/CountRowsContext.js";import h from"../../../../../components/Flex.js";import{loopDelayOf as d,loopSecondsOf as m,parseLoop as r,parseLoopDirection as g}from"../../../../../../format/lib/animation/index.js";import{COUNTS_SOURCE as u,declaredBlockSource as b,servedRows as f}from"../../../../../../format/lib/content/block-sources.js";import{padValuesOf as S}from"../../../../content/section-padding.js";import{sectionFillsHeight as x}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as w}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const F={...w,render:e=>{const l=a(h,{direction:e.direction,label:e.label,tabShape:e.tabShape,gap:e.gap,gapPhone:e[o("gap")],justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,sharePhone:e[o("share")],wrapPhone:e[o("wrap")],phoneRow:e.phoneRow,columns:e.columns,separator:e.separator,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,pad:S(e),contained:e.contained,fillHeight:x(e),shadow:e.shadow,loop:r(e.loop),scrollDirection:g(e.scrollDirection),loopSeconds:m({loopDuration:e.loopDuration}),loopDelay:d({loopDelay:e.loopDelay}),editing:!!e.editor?.isEditing,fillColor:e.fillColor,line:e.line,upcoming:e.upcoming,link:e.link,boxShape:e.boxShape,boxShapePhone:e[o("boxShape")],jumpHighlight:e.jumpHighlight,anchor:e.anchor,content:e.content}),n=b(e),i=n?n===u?f(e):c:null;return a(t.Provider,{value:i,children:l})}};export{F as FlexRender};
1
+ import{jsx as n}from"react/jsx-runtime";import{phoneKey as o,tabletKey as l}from"efficient-easel/draw";import{CountRowsContext as c,NO_COUNTS as h}from"../../../../../components/CountRowsContext.js";import m from"../../../../../components/Flex.js";import{loopDelayOf as d,loopSecondsOf as g,parseLoop as r,parseLoopDirection as u}from"../../../../../../format/lib/animation/index.js";import{COUNTS_SOURCE as b,declaredBlockSource as f,servedRows as S}from"../../../../../../format/lib/content/block-sources.js";import{padValuesOf as x}from"../../../../content/section-padding.js";import{sectionFillsHeight as w}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as y}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const H={...y,render:e=>{const t=n(m,{direction:e.direction,label:e.label,tabShape:e.tabShape,gap:e.gap,gapPhone:e[o("gap")],gapTablet:e[l("gap")],justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,sharePhone:e[o("share")],wrapPhone:e[o("wrap")],phoneRow:e.phoneRow,columns:e.columns,columnsTablet:e[l("columns")],separator:e.separator,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,pad:x(e),contained:e.contained,fillHeight:w(e),shadow:e.shadow,loop:r(e.loop),scrollDirection:u(e.scrollDirection),loopSeconds:g({loopDuration:e.loopDuration}),loopDelay:d({loopDelay:e.loopDelay}),editing:!!e.editor?.isEditing,fillColor:e.fillColor,line:e.line,upcoming:e.upcoming,link:e.link,boxShape:e.boxShape,boxShapePhone:e[o("boxShape")],jumpHighlight:e.jumpHighlight,anchor:e.anchor,content:e.content}),a=f(e),i=a?a===b?S(e):h:null;return n(c.Provider,{value:i,children:t})}};export{H as FlexRender};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{phoneKey as n}from"efficient-easel/draw";import{sectionFillsHeight as i}from"../../../../../../format/lib/content/section-min-height.js";import t from"../../../../../components/Grid.js";import{GridMeta as m}from"../../../../../../format/lib/document/blocks/general/Grid/meta.js";const f={...m,render:o=>e(t,{columns:o.columns,mobileColumns:o.mobileColumns,gap:o.gap,gapPhone:o[n("gap")],contained:o.contained,fillHeight:i(o),content:o.content})};export{f as GridRender};
1
+ import{jsx as t}from"react/jsx-runtime";import{phoneKey as n,tabletKey as o}from"efficient-easel/draw";import{sectionFillsHeight as i}from"../../../../../../format/lib/content/section-min-height.js";import m from"../../../../../components/Grid.js";import{GridMeta as a}from"../../../../../../format/lib/document/blocks/general/Grid/meta.js";const f={...a,render:e=>t(m,{columns:e.columns,mobileColumns:e.mobileColumns,gap:e.gap,gapPhone:e[n("gap")],gapTablet:e[o("gap")],contained:e.contained,fillHeight:i(e),content:e.content})};export{f as GridRender};
@@ -1 +1 @@
1
- import{jsx as S}from"react/jsx-runtime";import f from"../../../../../components/HeroSection.js";import{HeroMeta as H}from"../../../../../../format/lib/document/blocks/general/Hero/meta.js";const I={...H,render:({slides:e,alignment:r,textureOpacity:o,showTexture:t,textureColor:i,phoneUpDown:s,phoneSideways:a,autoplay:p,autoplayInterval:n,showTicker:h,tickerItems:c,heightDesktop:m,heightMobile:l,showPicker:w,pickerShape:d,pickerPlacement:k,showArrows:x,arrowsShape:g,arrowsPlacement:u,editor:y})=>S(f,{slides:e,alignment:r,textureOpacity:o,showTexture:t,textureColor:i,phoneUpDown:s,phoneSideways:a,autoplay:p,autoplayInterval:n,showTicker:h,tickerItems:c,heightDesktop:m,heightMobile:l,showPicker:w,pickerShape:d,pickerPlacement:k,showArrows:x,arrowsShape:g,arrowsPlacement:u,editing:y?.isEditing})};export{I as HeroRender};
1
+ import{jsx as f}from"react/jsx-runtime";import H from"../../../../../components/HeroSection.js";import{HeroMeta as M}from"../../../../../../format/lib/document/blocks/general/Hero/meta.js";const I={...M,render:({slides:e,alignment:o,textureOpacity:r,showTexture:t,textureColor:i,phoneUpDown:a,phoneSideways:s,autoplay:p,autoplayInterval:n,showTicker:h,tickerItems:c,heightDesktop:m,heightMobile:l,showPicker:w,pickerShape:d,pickerPlacement:k,showArrows:x,arrowsShape:g,arrowsPlacement:u,_partMotion:y,editor:S})=>f(H,{slides:e,alignment:o,textureOpacity:r,showTexture:t,textureColor:i,phoneUpDown:a,phoneSideways:s,autoplay:p,autoplayInterval:n,showTicker:h,tickerItems:c,heightDesktop:m,heightMobile:l,showPicker:w,pickerShape:d,pickerPlacement:k,showArrows:x,arrowsShape:g,arrowsPlacement:u,editing:S?.isEditing,partMotion:y})};export{I as HeroRender};
@@ -1 +1 @@
1
- import{jsx as f}from"react/jsx-runtime";import{phoneKey as c}from"efficient-easel/draw";import s from"../../../../../components/HeroGroup.js";import{padValuesOf as l}from"../../../../content/section-padding.js";import{HeroGroupMeta as h}from"../../../../../../format/lib/document/blocks/general/HeroGroup/meta.js";const H={...h,render:e=>{const{placement:r,nudgeX:o,nudgeY:t,width:n,gap:a,direction:i,justify:p,align:d,wrap:g,content:m,editor:u}=e;return f(s,{placement:r,nudgeX:o,nudgeY:t,width:n,gap:a,gapPhone:e[c("gap")],direction:i,justify:p,align:d,wrap:g,pad:l(e),content:m,dragRef:u?.dragRef})}};export{H as HeroGroupRender};
1
+ import{jsx as f}from"react/jsx-runtime";import{phoneKey as c,tabletKey as l}from"efficient-easel/draw";import s from"../../../../../components/HeroGroup.js";import{padValuesOf as h}from"../../../../content/section-padding.js";import{HeroGroupMeta as j}from"../../../../../../format/lib/document/blocks/general/HeroGroup/meta.js";const R={...j,render:e=>{const{placement:t,nudgeX:r,nudgeY:o,width:n,gap:a,direction:i,justify:p,align:d,wrap:g,content:m,editor:u}=e;return f(s,{placement:t,nudgeX:r,nudgeY:o,width:n,gap:a,gapPhone:e[c("gap")],gapTablet:e[l("gap")],direction:i,justify:p,align:d,wrap:g,pad:h(e),content:m,dragRef:u?.dragRef})}};export{R as HeroGroupRender};
@@ -1 +1 @@
1
- import{jsx as H}from"react/jsx-runtime";import k from"../../../../../components/HeroSingle.js";import{HeroSingleMeta as L}from"../../../../../../format/lib/document/blocks/general/HeroSingle/meta.js";const E={...L,render:({mediaType:e,mediaImage:t,mediaVideo:n,poster:r,imageFocal:d,tintColor:s,tintOpacity:a,overlay:f,overlayColor:u,overlayPosition:g,heightDesktop:l,heightMobile:m,boxes:b,videoSource:c,youtubeUrl:y,videoPlayback:p,mediaLayout:P,mediaLayoutPhone:j,mediaImage2:h,imageFocal2:v,imageFocalPhone:i,imageFocal2Phone:o,tintColor2:S,tintOpacity2:x,editor:C})=>H(k,{mediaType:e,videoSource:c,youtubeUrl:y,videoPlayback:p,mediaLayout:P,mediaLayoutPhone:j,mediaImage2:h||void 0,objectPosition2:v||void 0,objectPosition2Phone:typeof o=="string"?o:void 0,tintColor2:S,tintOpacity2:x,mediaSrc:(e==="image"?t:n)||void 0,poster:r||void 0,objectPosition:e==="image"&&d||void 0,objectPositionPhone:e==="image"&&typeof i=="string"?i:void 0,tintColor:s,tintOpacity:e==="image"?a:0,overlay:f,overlayColor:u,overlayPosition:g,heightDesktop:l,heightMobile:m,boxes:b,editing:C?.isEditing})};export{E as HeroSingleRender};
1
+ import{jsx as M}from"react/jsx-runtime";import k from"../../../../../components/HeroSingle.js";import{HeroSingleMeta as L}from"../../../../../../format/lib/document/blocks/general/HeroSingle/meta.js";const I={...L,render:({mediaType:e,mediaImage:t,mediaVideo:n,poster:r,imageFocal:d,tintColor:s,tintOpacity:a,overlay:f,overlayColor:u,overlayPosition:g,heightDesktop:l,heightMobile:m,boxes:b,videoSource:c,youtubeUrl:p,videoPlayback:y,mediaLayout:P,mediaLayoutPhone:j,mediaImage2:h,imageFocal2:v,imageFocalPhone:o,imageFocal2Phone:i,tintColor2:S,tintOpacity2:x,_partMotion:C,editor:H})=>M(k,{mediaType:e,videoSource:c,youtubeUrl:p,videoPlayback:y,mediaLayout:P,mediaLayoutPhone:j,mediaImage2:h||void 0,objectPosition2:v||void 0,objectPosition2Phone:typeof i=="string"?i:void 0,tintColor2:S,tintOpacity2:x,mediaSrc:(e==="image"?t:n)||void 0,poster:r||void 0,objectPosition:e==="image"&&d||void 0,objectPositionPhone:e==="image"&&typeof o=="string"?o:void 0,tintColor:s,tintOpacity:e==="image"?a:0,overlay:f,overlayColor:u,overlayPosition:g,heightDesktop:l,heightMobile:m,boxes:b,editing:H?.isEditing,partMotion:C})};export{I as HeroSingleRender};
@@ -1 +1 @@
1
- import{Fragment as p,jsx as r}from"react/jsx-runtime";import{CardRowDrawn as y}from"../../../../../components/CardRowContext.js";import{CountDrawn as w}from"../../../../../components/CountRowsContext.js";import{namedRowField as S}from"../../../../../../format/lib/content/card-template.js";import{blockSetsItsWidth as b,blockSizeValuesOf as P}from"../../../../content/block-size.js";import{linkedCount as T}from"../../../../../../format/lib/content/count-numbers.js";import{padValuesOf as k}from"../../../../content/section-padding.js";import C from"../../../../../components/Text.js";import{hidableText as i,readHidable as F}from"efficient-easel/draw";import{PH as d}from"../../../../../../format/lib/document/blocks/placeholders.js";import{phPrev as R}from"../../scaffold.js";import{readPartStyle as W}from"../../../part-styles.js";import{TextMeta as j}from"../../../../../../format/lib/document/blocks/general/Text/meta.js";const E={...j,render:t=>{const{text:o,align:l,alignPhone:f,tone:c,tag:x,contained:h,editor:s}=t;if(F(o).hidden)return r(p,{});const a=W(t,"text").textStyle,g=a?.startsWith("heading-")?d.heading:d.body,n=e=>r(C,{text:R(e,g,s)??"",align:l,alignPhone:f,tone:c,tag:x,textStyle:a,ownWidth:b(P(t)),contained:h,pad:k(t)}),u=S(t),m=T(t);return m?r(w,{countKey:m,children:e=>n(e??i(o))}):u?r(y,{type:"Text",props:t,children:e=>n(i(e.text))}):n(i(o))}};export{E as TextRender};
1
+ import{Fragment as y,jsx as r}from"react/jsx-runtime";import{CardRowDrawn as b}from"../../../../../components/CardRowContext.js";import{CountDrawn as w}from"../../../../../components/CountRowsContext.js";import{KickerNumberDrawn as P}from"../../../../../components/PageContentsContext.js";import{KICKER_NUMBER_PROP as R}from"../../../../content/page-contents.js";import{namedRowField as S}from"../../../../../../format/lib/content/card-template.js";import{blockSetsItsWidth as T,blockSizeValuesOf as k}from"../../../../content/block-size.js";import{linkedCount as C}from"../../../../../../format/lib/content/count-numbers.js";import{padValuesOf as K}from"../../../../content/section-padding.js";import _ from"../../../../../components/Text.js";import{hidableText as i,readHidable as D}from"efficient-easel/draw";import{PH as f}from"../../../../../../format/lib/document/blocks/placeholders.js";import{phPrev as F}from"../../scaffold.js";import{readPartStyle as O}from"../../../part-styles.js";import{TextMeta as W}from"../../../../../../format/lib/document/blocks/general/Text/meta.js";const L={...W,render:t=>{const{text:o,align:l,alignPhone:c,tone:h,tag:x,contained:u,editor:s}=t;if(D(o).hidden)return r(y,{});const a=O(t,"text").textStyle,g=a?.startsWith("heading-")?f.heading:f.body,n=(e,m)=>r(_,{text:F(e,g,s)??"",number:m,align:l,alignPhone:c,tone:h,tag:x,textStyle:a,ownWidth:T(k(t)),contained:u,pad:K(t)}),p=S(t),d=C(t);if(d)return r(w,{countKey:d,children:e=>n(e??i(o))});if(!p){const e=t[R];return typeof e=="string"?n(i(o),e):r(P,{id:t.id,children:m=>n(i(o),m)})}return r(b,{type:"Text",props:t,children:e=>n(i(e.text))})}};export{L as TextRender};
@@ -9,6 +9,7 @@ export declare const GENERAL_RENDERS: {
9
9
  ContactLocations: BlockRender;
10
10
  CustomHTML: BlockRender;
11
11
  Divider: BlockRender;
12
+ Contents: BlockRender;
12
13
  DocBody: BlockRender;
13
14
  DocMasthead: BlockRender;
14
15
  DocMetaCards: BlockRender;
@@ -1 +1 @@
1
- import{BannerRender as r}from"./Banner/render.js";import{BreadcrumbRender as e}from"./Breadcrumb/render.js";import{ButtonBlockRender as o}from"./ButtonBlock/render.js";import{CardsRender as t}from"./Cards/render.js";import{CategoryBarRender as m}from"./CategoryBar/render.js";import{ChartRender as i}from"./Chart/render.js";import{ContactLocationsRender as n}from"./ContactLocations/render.js";import{CustomHTMLRender as d}from"./CustomHTML/render.js";import{DividerRender as a}from"./Divider/render.js";import{DocBodyRender as p}from"./DocBody/render.js";import{DocMastheadRender as R}from"./DocMasthead/render.js";import{DocMetaCardsRender as f}from"./DocMetaCards/render.js";import{DocTabsRender as s}from"./DocTabs/render.js";import{EyebrowRender as c}from"./Eyebrow/render.js";import{FAQRender as S}from"./FAQ/render.js";import{FeaturedCoverRender as l}from"./FeaturedCover/render.js";import{FlexRender as g}from"./Flex/render.js";import{FootprintRender as B}from"./Footprint/render.js";import{GridRender as u}from"./Grid/render.js";import{HeadingRender as C}from"./Heading/render.js";import{HeroRender as T}from"./Hero/render.js";import{HeroGroupRender as H}from"./HeroGroup/render.js";import{HeroSingleRender as M}from"./HeroSingle/render.js";import{HeroSlideRender as L}from"./HeroSlide/render.js";import{ImageBlockRender as h}from"./ImageBlock/render.js";import{IntegrationsRender as k}from"./Integrations/render.js";import{IntroBleedRender as y}from"./IntroBleed/render.js";import{CountdownRender as P}from"./Countdown/render.js";import{KeyFeaturesRender as D}from"./KeyFeatures/render.js";import{LocationMapRender as F}from"./LocationMap/render.js";import{LogoBlockRender as b}from"./LogoBlock/render.js";import{LogosRender as E}from"./Logos/render.js";import{LongReadRender as I}from"./LongRead/render.js";import{ManifestoRender as x}from"./Manifesto/render.js";import{MastheadRender as A}from"./Masthead/render.js";import{MockupRender as G}from"./Mockup/render.js";import{OrderSummaryRender as v}from"./OrderSummary/render.js";import{ParagraphsARender as w}from"./ParagraphsA/render.js";import{PaymentBadgesRender as K}from"./PaymentBadges/render.js";import{PostCardRender as N}from"./PostCard/render.js";import{ProcessStepsRender as O}from"./ProcessSteps/render.js";import{ProseRender as Q}from"./Prose/render.js";import{SectionHeaderRender as W}from"./SectionHeader/render.js";import{SeriesRender as _}from"./Series/render.js";import{SpacerRender as j}from"./Spacer/render.js";import{SpecStripRender as q}from"./SpecStrip/render.js";import{SplitRender as z}from"./Split/render.js";import{StatsRender as J}from"./Stats/render.js";import{StatsParagraphRender as U}from"./StatsParagraph/render.js";import{TestimonialsRender as V}from"./Testimonials/render.js";import{TextRender as X}from"./Text/render.js";import{TickerRender as Y}from"./Ticker/render.js";import{TimelineRender as Z}from"./Timeline/render.js";import{TimelineTrackRender as $}from"./TimelineTrack/render.js";import{TitleWithButtonsRender as rr}from"./TitleWithButtons/render.js";const oe={Banner:r,Breadcrumb:e,ButtonBlock:o,Cards:t,CategoryBar:m,Chart:i,ContactLocations:n,CustomHTML:d,Divider:a,DocBody:p,DocMasthead:R,DocMetaCards:f,DocTabs:s,Eyebrow:c,FAQ:S,FeaturedCover:l,Flex:g,Footprint:B,Grid:u,Heading:C,Hero:T,HeroGroup:H,HeroSingle:M,HeroSlide:L,ImageBlock:h,Integrations:k,IntroBleed:y,Countdown:P,KeyFeatures:D,LocationMap:F,LogoBlock:b,Logos:E,LongRead:I,Manifesto:x,Masthead:A,Mockup:G,OrderSummary:v,ParagraphsA:w,PaymentBadges:K,PostCard:N,ProcessSteps:O,Prose:Q,SectionHeader:W,Series:_,Spacer:j,SpecStrip:q,Split:z,Stats:J,StatsParagraph:U,Testimonials:V,Text:X,Ticker:Y,Timeline:Z,TimelineTrack:$,TitleWithButtons:rr};export{oe as GENERAL_RENDERS};
1
+ import{BannerRender as r}from"./Banner/render.js";import{BreadcrumbRender as e}from"./Breadcrumb/render.js";import{ButtonBlockRender as o}from"./ButtonBlock/render.js";import{CardsRender as t}from"./Cards/render.js";import{CategoryBarRender as m}from"./CategoryBar/render.js";import{ChartRender as n}from"./Chart/render.js";import{ContactLocationsRender as i}from"./ContactLocations/render.js";import{CustomHTMLRender as d}from"./CustomHTML/render.js";import{DividerRender as a}from"./Divider/render.js";import{ContentsRender as p}from"./Contents/render.js";import{DocBodyRender as R}from"./DocBody/render.js";import{DocMastheadRender as f}from"./DocMasthead/render.js";import{DocMetaCardsRender as s}from"./DocMetaCards/render.js";import{DocTabsRender as c}from"./DocTabs/render.js";import{EyebrowRender as S}from"./Eyebrow/render.js";import{FAQRender as l}from"./FAQ/render.js";import{FeaturedCoverRender as g}from"./FeaturedCover/render.js";import{FlexRender as B}from"./Flex/render.js";import{FootprintRender as u}from"./Footprint/render.js";import{GridRender as C}from"./Grid/render.js";import{HeadingRender as T}from"./Heading/render.js";import{HeroRender as H}from"./Hero/render.js";import{HeroGroupRender as M}from"./HeroGroup/render.js";import{HeroSingleRender as L}from"./HeroSingle/render.js";import{HeroSlideRender as h}from"./HeroSlide/render.js";import{ImageBlockRender as k}from"./ImageBlock/render.js";import{IntegrationsRender as y}from"./Integrations/render.js";import{IntroBleedRender as P}from"./IntroBleed/render.js";import{CountdownRender as D}from"./Countdown/render.js";import{KeyFeaturesRender as F}from"./KeyFeatures/render.js";import{LocationMapRender as b}from"./LocationMap/render.js";import{LogoBlockRender as E}from"./LogoBlock/render.js";import{LogosRender as I}from"./Logos/render.js";import{LongReadRender as x}from"./LongRead/render.js";import{ManifestoRender as A}from"./Manifesto/render.js";import{MastheadRender as G}from"./Masthead/render.js";import{MockupRender as v}from"./Mockup/render.js";import{OrderSummaryRender as w}from"./OrderSummary/render.js";import{ParagraphsARender as K}from"./ParagraphsA/render.js";import{PaymentBadgesRender as N}from"./PaymentBadges/render.js";import{PostCardRender as O}from"./PostCard/render.js";import{ProcessStepsRender as Q}from"./ProcessSteps/render.js";import{ProseRender as W}from"./Prose/render.js";import{SectionHeaderRender as _}from"./SectionHeader/render.js";import{SeriesRender as j}from"./Series/render.js";import{SpacerRender as q}from"./Spacer/render.js";import{SpecStripRender as z}from"./SpecStrip/render.js";import{SplitRender as J}from"./Split/render.js";import{StatsRender as U}from"./Stats/render.js";import{StatsParagraphRender as V}from"./StatsParagraph/render.js";import{TestimonialsRender as X}from"./Testimonials/render.js";import{TextRender as Y}from"./Text/render.js";import{TickerRender as Z}from"./Ticker/render.js";import{TimelineRender as $}from"./Timeline/render.js";import{TimelineTrackRender as rr}from"./TimelineTrack/render.js";import{TitleWithButtonsRender as er}from"./TitleWithButtons/render.js";const me={Banner:r,Breadcrumb:e,ButtonBlock:o,Cards:t,CategoryBar:m,Chart:n,ContactLocations:i,CustomHTML:d,Divider:a,Contents:p,DocBody:R,DocMasthead:f,DocMetaCards:s,DocTabs:c,Eyebrow:S,FAQ:l,FeaturedCover:g,Flex:B,Footprint:u,Grid:C,Heading:T,Hero:H,HeroGroup:M,HeroSingle:L,HeroSlide:h,ImageBlock:k,Integrations:y,IntroBleed:P,Countdown:D,KeyFeatures:F,LocationMap:b,LogoBlock:E,Logos:I,LongRead:x,Manifesto:A,Masthead:G,Mockup:v,OrderSummary:w,ParagraphsA:K,PaymentBadges:N,PostCard:O,ProcessSteps:Q,Prose:W,SectionHeader:_,Series:j,Spacer:q,SpecStrip:z,Split:J,Stats:U,StatsParagraph:V,Testimonials:X,Text:Y,Ticker:Z,Timeline:$,TimelineTrack:rr,TitleWithButtons:er};export{me as GENERAL_RENDERS};
@@ -28,6 +28,9 @@ export declare const headingCaseOf: (key: string) => (node: {
28
28
  }) => readonly SiteWrite[];
29
29
  export declare const smallText: (key: string, style?: Props) => PartRow;
30
30
  export declare const numberAndUnit: (number: unknown, unit: unknown) => string;
31
+ export declare const RIGHT_WORDS: Props;
32
+ export declare const leadText: (lead: string, rest: string, props: Props) => PartRow;
33
+ export declare const leadLine: (lead: string, rest: string, run: Props, own?: Props) => PartRow;
31
34
  export declare const bandPage: (stored: unknown, ctx: ConvertContext) => number;
32
35
  export declare const sectionPage: (p: Props, ctx: ConvertContext) => import("../../../../../format/lib/theme.js").ThemeColors | undefined;
33
36
  export declare const fillFrom: (colour: "surface" | "background") => (p: Props, ctx: ConvertContext) => Props;
@@ -1 +1 @@
1
- import{phoneKey as l}from"efficient-easel/draw";import{ENTRANCE_KEYS as u}from"../../../animation/entrance.js";import{COUNT_KEY_PROP as f}from"../../../../../format/lib/content/block-sources.js";import{NESTED_BOX_PADDING as x}from"../../../../../format/lib/content/box-layout.js";import{resolveSectionPadding as b}from"../../../content/section-padding.js";import{ButtonBlockMeta as T}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{TextMeta as B}from"../../../../../format/lib/document/blocks/general/Text/meta.js";import{SECTION_PAD_INNER_DEFAULTS as _}from"../../passes/section-padding.js";import{finiteNumber as s}from"../../../../../format/lib/finite-number.js";import{convertTheme as r,hasWords as E}from"../../../sections/section-to-box.js";import{bandPresetIndex as N}from"../../../../../format/lib/theme.js";const{text:K,tag:L,...O}=B.defaultProps,c=O,X={...c,[f]:""},F={...c,tone:"dim"},{label:j,href:G,...S}=T.defaultProps,V=S,Y={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},P={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},$={...P,direction:"column",...x},J={...P,sectionAccent:0},q=["gridSpan","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden",...Object.values(u).flatMap(t=>[t,l(t)]),"widthFit","widthFitPhone","width","widthPhone","minWidth","minWidthPhone","maxWidth","maxWidthPhone"],i="a section width key, ignored since efficient-web-builder 45 (every section, and a section's root Box, follows Site styles only; Lewis 2026-10-29), so dropping it changes nothing",z={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:i,fullWidth:i,pageWidth:i,backgroundWidth:i,contentWidth:i,contentMax:i},Q=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","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 A(t,o){const e=s(t.sectionPaddingTop)??0,n=s(t.sectionPaddingBottom)??0;return{sectionPaddingTop:e+o.top,sectionPaddingBottom:n+o.bottom,sectionPaddingTopPhone:(s(t.sectionPaddingTopPhone)??e)+o.topPhone,sectionPaddingBottomPhone:(s(t.sectionPaddingBottomPhone)??n)+o.bottomPhone}}const Z=t=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(e,n)=>A(n,typeof t=="function"?t(n):t)[o]]);function d(t,o){const e=b(t,_[o]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const tt=t=>[["padTop","sectionPaddingTop",(o,e)=>d(e,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,e)=>d(e,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,e)=>d(e,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,e)=>d(e,t).sectionPaddingBottom]],D={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},ot=t=>o=>E(o.props[t])?[D]:[],et=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:c,...o?{style:o}:{}}),h=t=>t.background!=="transparent",nt=(t,o)=>{const[e,n]=[t,o].map(g=>typeof g=="string"?g.trim():"");return e?n?`[${e} ]{color=text}${n}`:`[${e}]{color=text}`:n},a=(t,o)=>typeof t=="number"&&Number.isInteger(t)&&t>=0?t:r(o)?.selected??0,m=(t,o)=>r(o)?.themes[a(t.sectionAccent??0,o)],it=t=>(o,e)=>{const n=m(o,e)?.[t];return n?{fillColor:n}:{}},st=(t,o)=>{const e=m(t,o)?.line;return e?{buttonBorder:{width:1,color:e}}:{}},p=(t,o)=>{const e=r(o)?.themes;return e&&h(t)?N(e,a(t.sectionAccent,o)):-1},dt=(t,o,e)=>{const n=p(o,e);return n>=0?n:t},rt=(t,o)=>{const e=p(t,o);return e>=0?{sectionAccent:e}:{}},ct=(t,o)=>h(t.props)&&p(t.props,o)<0?[{kind:"band-preset",page:a(t.props.sectionAccent,o)}]:[];export{P as BOX,V as BUTTON,F as DIM,z as DROP_COMMON,Q as DROP_SIDE_PADDING,D as HEADING_CASE_UPPER,$ as INNER_BOX,X as NUMBER_TEXT,q as SAME_KEYS,J as SECTION_BOX,Y as SH_LINK,c as TEXT,dt as bandAccent,p as bandIndex,a as bandPage,rt as bandProps,ct as bandWrites,it as fillFrom,ot as headingCaseOf,d as innerPad,tt as innerPadKeys,st as lineBorder,nt as numberAndUnit,m as sectionPage,et as smallText,A as wrapperPad,Z as wrapperPadKeys};
1
+ import{phoneKey as T}from"efficient-easel/draw";import{ENTRANCE_KEYS as u}from"../../../animation/entrance.js";import{COUNT_KEY_PROP as x}from"../../../../../format/lib/content/block-sources.js";import{NESTED_BOX_PADDING as f}from"../../../../../format/lib/content/box-layout.js";import{resolveSectionPadding as _}from"../../../content/section-padding.js";import{ButtonBlockMeta as B}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{TextMeta as E}from"../../../../../format/lib/document/blocks/general/Text/meta.js";import{SECTION_PAD_INNER_DEFAULTS as S}from"../../passes/section-padding.js";import{finiteNumber as s}from"../../../../../format/lib/finite-number.js";import{convertTheme as a,hasWords as N}from"../../../sections/section-to-box.js";import{bandPresetIndex as O}from"../../../../../format/lib/theme.js";const{text:j,tag:V,...A}=E.defaultProps,p=A,D={...p,[x]:""},Y={...p,tone:"dim"},{label:$,href:J,...I}=B.defaultProps,q=I,z={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},h={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},Q={...h,direction:"column",...f},Z={...h,sectionAccent:0},tt=["gridSpan","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden",...Object.values(u).flatMap(t=>[t,T(t)]),"widthFit","widthFitPhone","width","widthPhone","minWidth","minWidthPhone","maxWidth","maxWidthPhone"],r="a section width key, ignored since efficient-web-builder 45 (every section, and a section's root Box, follows Site styles only; Lewis 2026-10-29), so dropping it changes nothing",ot={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:r,fullWidth:r,pageWidth:r,backgroundWidth:r,contentWidth:r,contentMax:r},et=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 y(t,o){const e=s(t.sectionPaddingTop)??0,n=s(t.sectionPaddingBottom)??0,i=s(t.sectionPaddingTopTablet),d=s(t.sectionPaddingBottomTablet);return{sectionPaddingTop:e+o.top,sectionPaddingBottom:n+o.bottom,...i===void 0?{}:{sectionPaddingTopTablet:i+o.top},...d===void 0?{}:{sectionPaddingBottomTablet:d+o.bottom},sectionPaddingTopPhone:(s(t.sectionPaddingTopPhone)??i??e)+o.topPhone,sectionPaddingBottomPhone:(s(t.sectionPaddingBottomPhone)??d??n)+o.bottomPhone}}const nt=t=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopTablet","sectionPaddingBottomTablet","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(e,n)=>y(n,typeof t=="function"?t(n):t)[o]]);function c(t,o){const e=_(t,S[o]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const it=t=>[["padTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom]],R={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},dt=t=>o=>N(o.props[t])?[R]:[],st=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:p,...o?{style:o}:{}}),l=t=>t.background!=="transparent",k=(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},m={align:"right",alignPhone:"left"},v=(t,o,e)=>{const n=i=>k(i[t],i[o]);return{kind:"block",type:"Text",when:(i,d)=>d!==void 0&&n(d)!=="",box:[[t,"text",(i,d)=>n(d)],[o,"text",(i,d)=>n(d)]],props:e}},rt=(t,o,e,n={})=>v(t,o,{...D,...m,...n,_partStyles:{text:{textStyle:"body-5",color:"labels",...e,case:"upper",...m}}}),g=(t,o)=>typeof t=="number"&&Number.isInteger(t)&&t>=0?t:a(o)?.selected??0,b=(t,o)=>a(o)?.themes[g(t.sectionAccent??0,o)],ct=t=>(o,e)=>{const n=b(o,e)?.[t];return n?{fillColor:n}:{}},at=(t,o)=>{const e=b(t,o)?.line;return e?{buttonBorder:{width:1,color:e}}:{}},P=(t,o)=>{const e=a(o)?.themes;return e&&l(t)?O(e,g(t.sectionAccent,o)):-1},pt=(t,o,e)=>{const n=P(o,e);return n>=0?n:t},gt=(t,o)=>{const e=P(t,o);return e>=0?{sectionAccent:e}:{}},Pt=(t,o)=>l(t.props)&&P(t.props,o)<0?[{kind:"band-preset",page:g(t.props.sectionAccent,o)}]:[];export{h as BOX,q as BUTTON,Y as DIM,ot as DROP_COMMON,et as DROP_SIDE_PADDING,R as HEADING_CASE_UPPER,Q as INNER_BOX,D as NUMBER_TEXT,m as RIGHT_WORDS,tt as SAME_KEYS,Z as SECTION_BOX,z as SH_LINK,p as TEXT,pt as bandAccent,P as bandIndex,g as bandPage,gt as bandProps,Pt as bandWrites,ct as fillFrom,dt as headingCaseOf,c as innerPad,it as innerPadKeys,rt as leadLine,v as leadText,at as lineBorder,k as numberAndUnit,b as sectionPage,st as smallText,y as wrapperPad,nt as wrapperPadKeys};
@@ -1 +1 @@
1
- import{phoneKey as M,readHidable as x}from"efficient-easel/draw";import{parseHexColor as G}from"efficient-shell/format";import{cardColumns as X}from"../../../../components/Cards.js";import{resolveSectionBackground as J,THEME_SECTION_BG as S}from"../../../../../format/lib/content/section-background.js";import{CardsMeta as U}from"../../../../../format/lib/document/blocks/general/Cards/meta.js";import{KeyFeaturesMeta as q}from"../../../../../format/lib/document/blocks/general/KeyFeatures/meta.js";import{finiteNumber as _}from"../../../../../format/lib/finite-number.js";import{parseSectionHeadPlacement as V}from"../../../../../format/lib/sections/section-head-placement.js";import{hasWords as d}from"../../../sections/section-to-box.js";import{labelTextSeed as j}from"../../../../../format/lib/document/text-seeds.js";import{bandAccent as z,bandProps as Y,bandWrites as Q,BUTTON as Z,DIM as p,DROP_COMMON as l,DROP_SIDE_PADDING as c,INNER_BOX as t,numberAndUnit as $,SAME_KEYS as h,SECTION_BOX as g,fillFrom as i,SH_LINK as ee,TEXT as a,smallText as m,wrapperPad as w,wrapperPadKeys as u}from"./section-to-box-row-parts.js";import{headTree as R,token as s}from"./section-head-looks.js";import{SECTION_BG_BUILT_IN as oe}from"../../../../../format/lib/document/blocks/general/section-bg-built-in.js";const r=(e,o,n,y)=>({sectionBorder:{top:e,right:o,bottom:n,left:y}}),O=(e,o=e)=>({sectionPaddingTop:e,sectionPaddingRight:e,sectionPaddingBottom:e,sectionPaddingLeft:e,sectionPaddingTopPhone:o,sectionPaddingRightPhone:o,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:o}),C=e=>o=>X(_(o.columns)??_(e.columns)),T=e=>({kind:"group",name:"Grid",props:{...t,gap:0,...r(1,0,0,1)},parts:[e]}),b={...t,direction:"row",gap:0,share:"equal"},L="its head sits in a Box of its own above it (own-box): the row draws the head inline",N=e=>V(e.headPlacement)==="own-box",B="inline is the head the row draws; an own-box node is skipped (`skip`)",te=e=>({kind:"group",name:"Heading",props:e,parts:[m("eyebrow"),{kind:"text",key:"title",role:"heading",props:a,style:{textStyle:"heading-3",case:"upper"},was:{size:44}}]}),E={top:72,bottom:72,topPhone:72,bottomPhone:72},ne={...t,gap:12,gapPhone:12,...O(32,28),...r(0,1,1,0)},se={name:"Cards",boxProps:(e,o)=>({...g,direction:"column",gap:36,gapPhone:28,...i("surface")(e,o),...w(e,E)}),box:[...h,...u(E)],skip:e=>N(e)?L:typeof e.dataSource=="string"&&e.dataSource?"its cards come from a source: a data list, which waits for the card template on Cards":e.cardStyle==="label-only"?"Label only is Key Features' look: no live node holds it, so it has no row of its own yet":void 0,parts:[R("Cards"),T({kind:"list",key:"items",name:"Card",perRow:C(U.defaultProps),rowName:"Row",rowProps:b,props:(e,o)=>({...ne,...i("background")(e,o)}),parts:[{kind:"text",key:"title",props:a,style:{textStyle:"heading-3",...s("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02}},{kind:"text",key:"body",props:p,style:{textStyle:"body-1",...s("body",15),lineHeight:1.6}}]})],drop:{...l,...c,columns:"the rows of N: one Row Box per `columns` cards, which the Box draws as N equal blocks",cardStyle:"the standard card is what the row draws; a Label only node is skipped (0 live nodes)",dataSource:"an empty source is typed cards, what the row draws; a sourced node is skipped (0 live nodes)",dataSourceOptions:"read only with a source; a sourced node is skipped (0 live nodes)",headPlacement:B,eyebrowLook:"needs the eyebrow's Filled look on a Text block: Plain is the eyebrow start look the row draws; 2 of 62 live nodes store it (JJ's export, 2026-10-24)"}},v={top:76,bottom:76,topPhone:76,bottomPhone:76},re={...t,direction:"row",align:"center",gap:16,sectionPaddingTop:32,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,...r(0,1,1,0)},F={textStyle:"body-1",color:"text"},H=(e,o)=>typeof o?.href=="string"&&o.href.trim()!=="",ie={name:"Key Features",boxProps:e=>({...g,direction:"column",gap:44,...r(1,0,1,0),...w(e,v)}),box:[...h,...u(v)],parts:[te({...t,direction:"row",align:"end",gap:20,wrap:!0,share:"content"}),T({kind:"list",key:"items",name:"Feature",perRow:C(q.defaultProps),rowName:"Row",rowProps:b,props:re,parts:[{kind:"button",key:"label",href:"href",when:H,variant:"ghost",props:{...Z,...ee,icon:"none"},style:F},{kind:"text",key:"label",when:(e,o)=>!H(e,o),props:a,style:F,was:{size:17}}]})],drop:{...l,...c,columns:"the rows of N: one Row Box per `columns` cells, which the Box draws as N equal blocks",eyebrowLook:"needs the eyebrow's Filled look on a Text block: Filled is Key Features' own default (lib/sections/section-eyebrow-look), so 20 of 21 published nodes draw it with nothing stored; the row draws the Plain start look (JJ's export, 2026-10-24)"}},D={top:120,bottom:120,topPhone:80,bottomPhone:80},P=e=>{const o=J(typeof e.background=="string"?e.background:void 0,oe.Series);return o&&o!=="transparent"?o:void 0},f=e=>P(e)===S,ae=(e,o)=>{const n=P(e);return!n||n===S?{}:n==="var(--site-surface)"?i("surface")(e,o):G(n.trim())?{fillColor:n.trim()}:{}},I=e=>{const o=P(e)?1:2;return{gap:o,gapPhone:o}},de={...t,justify:"between",gap:16,gapPhone:16,sectionHeightMode:"fixed",sectionHeightValue:340,sectionHeightUnit:"px",sectionPaddingTop:36,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:36,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},A={...t,direction:"row",justify:"between",gap:12,share:"content",phoneRow:2,[M("share")]:"content"},K={textStyle:"body-5",...s("label",12),letterSpacing:.22,case:"upper",lineHeight:1.5},k=e=>$(e.entries,e.entriesLabel),pe=e=>d(e.viewLabel)&&!x(e.viewLabel).hidden,le={name:"Recurring Columns",boxProps:(e,o)=>({...g,direction:"column",gap:60,gapPhone:60,...r(0,0,1,0),...f(e)?Y(e,o):{},...ae(e,o),...w(e,D)}),box:[...h.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,n)=>f(o)?z(e,o,n):e],...u(D)],skip:e=>N(e)?L:void 0,site:(e,o)=>f(e.props)?Q(e,o):[],parts:[R("Series"),{kind:"group",name:"Grid",props:(e,o)=>({...t,...I(e),...P(e)?{}:i("background")(e,o)}),parts:[{kind:"list",key:"cards",name:"Column",perRow:()=>4,rowName:"Row",rowProps:e=>({...b,...I(e)}),rowFiller:t,props:(e,o)=>({...de,...i("background")(e,o)}),parts:[{kind:"group",name:"Words",props:{...t,gap:16,gapPhone:16},parts:[{kind:"group",name:"Top",props:A,parts:[m("num",s("label",13)),m("since",s("label",13))]},{kind:"text",key:"title",props:{...a,tag:"h3"},style:{textStyle:"heading-3",...s("headingSmall",28),weight:500,case:"upper",lineHeight:1.04,letterSpacing:-.02}},{kind:"text",key:"desc",props:p,style:{textStyle:"body-5",fontRole:"heading",...s("body",14),lineHeight:1.6}}]},{kind:"group",name:"Footer",when:(e,o)=>d(o?.entries)||d(o?.entriesLabel)||pe(e),props:{...A,align:"center",gap:0,gapPhone:0,sectionPaddingTop:16,sectionPaddingTopPhone:16,...r(1,0,0,0)},parts:[{kind:"block",type:"Text",when:(e,o)=>o!==void 0&&k(o)!=="",box:[["entries","text",(e,o)=>k(o)],["entriesLabel","text",(e,o)=>k(o)]],props:{...p,_partStyles:{text:K}}},{kind:"group",name:"View",props:{...t,maxWidthPhone:266},parts:[{kind:"block",type:"Text",when:e=>d(e.viewLabel),props:e=>{const o=x(e.viewLabel),n=j()._partStyles,y=e._partStyles?.viewLabel;return{...a,text:o.text,_partStyles:{text:{...n.text,...K,...y}},...o.hidden?{_hidden:!0}:{}}}}]}]}]}]}],reads:{viewLabel:"a Text at the far end of every card's footer",background:"the Box's theme (the band preset) or its Fill; the grid's gap"},drop:{...l,...c,headPlacement:B}},W={top:60,bottom:60,topPhone:40,bottomPhone:40},ce={...t,gap:8,gapPhone:8,...O(24),...r(1,1,1,1)},he={name:"Document Detail Cards",boxProps:e=>({...g,direction:"column",gap:40,gapPhone:16,...r(0,0,1,0),...w(e,W)}),box:[...h,...u(W)],parts:[{kind:"list",key:"cards",name:"Card",perRow:()=>3,rowName:"Row",rowProps:{...b,gap:40,gapPhone:16},props:(e,o)=>({...ce,...i("surface")(e,o)}),parts:[m("label",{...s("label",12),lineHeight:1.5}),{kind:"group",name:"Words",props:{...t,gap:14,gapPhone:14},parts:[{kind:"text",key:"value",props:a,style:{textStyle:"heading-3",...s("headingSmall",20),weight:500,letterSpacing:-.015,lineHeight:1.5}},{kind:"text",key:"desc",props:p,style:{textStyle:"body-5",fontRole:"accent",...s("body",14),italic:!0,lineHeight:1.5}}]}]}],drop:{...l,...c}},Oe={Cards:se,KeyFeatures:ie,Series:le,DocMetaCards:he};export{Oe as CARDS_SECTION_TO_BOX};
1
+ import{phoneKey as W,readHidable as k}from"efficient-easel/draw";import{parseHexColor as M}from"efficient-shell/format";import{cardColumns as G}from"../../../../components/Cards.js";import{resolveSectionBackground as X,THEME_SECTION_BG as x}from"../../../../../format/lib/content/section-background.js";import{CardsMeta as J}from"../../../../../format/lib/document/blocks/general/Cards/meta.js";import{KeyFeaturesMeta as q}from"../../../../../format/lib/document/blocks/general/KeyFeatures/meta.js";import{finiteNumber as S}from"../../../../../format/lib/finite-number.js";import{parseSectionHeadPlacement as U}from"../../../../../format/lib/sections/section-head-placement.js";import{hasWords as d}from"../../../sections/section-to-box.js";import{labelTextSeed as V}from"../../../../../format/lib/document/text-seeds.js";import{bandAccent as j,bandProps as z,bandWrites as Y,BUTTON as Q,DIM as p,DROP_COMMON as l,DROP_SIDE_PADDING as c,INNER_BOX as t,leadText as Z,SAME_KEYS as h,SECTION_BOX as g,fillFrom as i,SH_LINK as $,TEXT as a,smallText as m,wrapperPad as w,wrapperPadKeys as u}from"./section-to-box-row-parts.js";import{headTree as _,token as s}from"./section-head-looks.js";import{SECTION_BG_BUILT_IN as ee}from"../../../../../format/lib/document/blocks/general/section-bg-built-in.js";const r=(e,o,n,y)=>({sectionBorder:{top:e,right:o,bottom:n,left:y}}),R=(e,o=e)=>({sectionPaddingTop:e,sectionPaddingRight:e,sectionPaddingBottom:e,sectionPaddingLeft:e,sectionPaddingTopPhone:o,sectionPaddingRightPhone:o,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:o}),O=e=>o=>G(S(o.columns)??S(e.columns)),T=e=>({kind:"group",name:"Grid",props:{...t,gap:0,...r(1,0,0,1)},parts:[e]}),b={...t,direction:"row",gap:0,share:"equal"},C="its head sits in a Box of its own above it (own-box): the row draws the head inline",N=e=>U(e.headPlacement)==="own-box",L="inline is the head the row draws; an own-box node is skipped (`skip`)",oe=e=>({kind:"group",name:"Heading",props:e,parts:[m("eyebrow"),{kind:"text",key:"title",role:"heading",props:a,style:{textStyle:"heading-3",case:"upper"},was:{size:44}}]}),B={top:72,bottom:72,topPhone:72,bottomPhone:72},te={...t,gap:12,gapPhone:12,...R(32,28),...r(0,1,1,0)},ne={name:"Cards",boxProps:(e,o)=>({...g,direction:"column",gap:36,gapPhone:28,...i("surface")(e,o),...w(e,B)}),box:[...h,...u(B)],skip:e=>N(e)?C:typeof e.dataSource=="string"&&e.dataSource?"its cards come from a source: a data list, which waits for the card template on Cards":e.cardStyle==="label-only"?"Label only is Key Features' look: no live node holds it, so it has no row of its own yet":void 0,parts:[_("Cards"),T({kind:"list",key:"items",name:"Card",perRow:O(J.defaultProps),rowName:"Row",rowProps:b,props:(e,o)=>({...te,...i("background")(e,o)}),parts:[{kind:"text",key:"title",props:a,style:{textStyle:"heading-3",...s("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02}},{kind:"text",key:"body",props:p,style:{textStyle:"body-1",...s("body",15),lineHeight:1.6}}]})],drop:{...l,...c,columns:"the rows of N: one Row Box per `columns` cards, which the Box draws as N equal blocks",cardStyle:"the standard card is what the row draws; a Label only node is skipped (0 live nodes)",dataSource:"an empty source is typed cards, what the row draws; a sourced node is skipped (0 live nodes)",dataSourceOptions:"read only with a source; a sourced node is skipped (0 live nodes)",headPlacement:L,eyebrowLook:"needs the eyebrow's Filled look on a Text block: Plain is the eyebrow start look the row draws; 2 of 62 live nodes store it (JJ's export, 2026-10-24)"}},E={top:76,bottom:76,topPhone:76,bottomPhone:76},se={...t,direction:"row",align:"center",gap:16,sectionPaddingTop:32,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,...r(0,1,1,0)},F={textStyle:"body-1",color:"text"},H=(e,o)=>typeof o?.href=="string"&&o.href.trim()!=="",re={name:"Key Features",boxProps:e=>({...g,direction:"column",gap:44,...r(1,0,1,0),...w(e,E)}),box:[...h,...u(E)],parts:[oe({...t,direction:"row",align:"end",gap:20,wrap:!0,share:"content"}),T({kind:"list",key:"items",name:"Feature",perRow:O(q.defaultProps),rowName:"Row",rowProps:b,props:se,parts:[{kind:"button",key:"label",href:"href",when:H,variant:"ghost",props:{...Q,...$,icon:"none"},style:F},{kind:"text",key:"label",when:(e,o)=>!H(e,o),props:a,style:F,was:{size:17}}]})],drop:{...l,...c,columns:"the rows of N: one Row Box per `columns` cells, which the Box draws as N equal blocks",eyebrowLook:"needs the eyebrow's Filled look on a Text block: Filled is Key Features' own default (lib/sections/section-eyebrow-look), so 20 of 21 published nodes draw it with nothing stored; the row draws the Plain start look (JJ's export, 2026-10-24)"}},D={top:120,bottom:120,topPhone:80,bottomPhone:80},P=e=>{const o=X(typeof e.background=="string"?e.background:void 0,ee.Series);return o&&o!=="transparent"?o:void 0},f=e=>P(e)===x,ie=(e,o)=>{const n=P(e);return!n||n===x?{}:n==="var(--site-surface)"?i("surface")(e,o):M(n.trim())?{fillColor:n.trim()}:{}},v=e=>{const o=P(e)?1:2;return{gap:o,gapPhone:o}},ae={...t,justify:"between",gap:16,gapPhone:16,sectionHeightMode:"fixed",sectionHeightValue:340,sectionHeightUnit:"px",sectionPaddingTop:36,sectionPaddingRight:28,sectionPaddingBottom:32,sectionPaddingLeft:28,sectionPaddingTopPhone:36,sectionPaddingRightPhone:28,sectionPaddingBottomPhone:32,sectionPaddingLeftPhone:28},I={...t,direction:"row",justify:"between",gap:12,share:"content",phoneRow:2,[W("share")]:"content"},A={textStyle:"body-5",...s("label",12),letterSpacing:.22,case:"upper",lineHeight:1.5},de=e=>d(e.viewLabel)&&!k(e.viewLabel).hidden,pe={name:"Recurring Columns",boxProps:(e,o)=>({...g,direction:"column",gap:60,gapPhone:60,...r(0,0,1,0),...f(e)?z(e,o):{},...ie(e,o),...w(e,D)}),box:[...h.filter(e=>e!=="sectionAccent"),["sectionAccent","sectionAccent",(e,o,n)=>f(o)?j(e,o,n):e],...u(D)],skip:e=>N(e)?C:void 0,site:(e,o)=>f(e.props)?Y(e,o):[],parts:[_("Series"),{kind:"group",name:"Grid",props:(e,o)=>({...t,...v(e),...P(e)?{}:i("background")(e,o)}),parts:[{kind:"list",key:"cards",name:"Column",perRow:()=>4,rowName:"Row",rowProps:e=>({...b,...v(e)}),rowFiller:t,props:(e,o)=>({...ae,...i("background")(e,o)}),parts:[{kind:"group",name:"Words",props:{...t,gap:16,gapPhone:16},parts:[{kind:"group",name:"Top",props:I,parts:[m("num",s("label",13)),m("since",s("label",13))]},{kind:"text",key:"title",props:{...a,tag:"h3"},style:{textStyle:"heading-3",...s("headingSmall",28),weight:500,case:"upper",lineHeight:1.04,letterSpacing:-.02}},{kind:"text",key:"desc",props:p,style:{textStyle:"body-5",fontRole:"heading",...s("body",14),lineHeight:1.6}}]},{kind:"group",name:"Footer",when:(e,o)=>d(o?.entries)||d(o?.entriesLabel)||de(e),props:{...I,align:"center",gap:0,gapPhone:0,sectionPaddingTop:16,sectionPaddingTopPhone:16,...r(1,0,0,0)},parts:[Z("entries","entriesLabel",{...p,_partStyles:{text:A}}),{kind:"group",name:"View",props:{...t,maxWidthPhone:266},parts:[{kind:"block",type:"Text",when:e=>d(e.viewLabel),props:e=>{const o=k(e.viewLabel),n=V()._partStyles,y=e._partStyles?.viewLabel;return{...a,text:o.text,_partStyles:{text:{...n.text,...A,...y}},...o.hidden?{_hidden:!0}:{}}}}]}]}]}]}],reads:{viewLabel:"a Text at the far end of every card's footer",background:"the Box's theme (the band preset) or its Fill; the grid's gap"},drop:{...l,...c,headPlacement:L}},K={top:60,bottom:60,topPhone:40,bottomPhone:40},le={...t,gap:8,gapPhone:8,...R(24),...r(1,1,1,1)},ce={name:"Document Detail Cards",boxProps:e=>({...g,direction:"column",gap:40,gapPhone:16,...r(0,0,1,0),...w(e,K)}),box:[...h,...u(K)],parts:[{kind:"list",key:"cards",name:"Card",perRow:()=>3,rowName:"Row",rowProps:{...b,gap:40,gapPhone:16},props:(e,o)=>({...le,...i("surface")(e,o)}),parts:[m("label",{...s("label",12),lineHeight:1.5}),{kind:"group",name:"Words",props:{...t,gap:14,gapPhone:14},parts:[{kind:"text",key:"value",props:a,style:{textStyle:"heading-3",...s("headingSmall",20),weight:500,letterSpacing:-.015,lineHeight:1.5}},{kind:"text",key:"desc",props:p,style:{textStyle:"body-5",fontRole:"accent",...s("body",14),italic:!0,lineHeight:1.5}}]}]}],drop:{...l,...c}},Re={Cards:ne,KeyFeatures:re,Series:pe,DocMetaCards:ce};export{Re as CARDS_SECTION_TO_BOX};
@@ -0,0 +1,2 @@
1
+ import type { SectionToBoxRow } from "../../../sections/section-to-box.js";
2
+ export declare const DOCBODY_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
@@ -0,0 +1,2 @@
1
+ import{parseBlocks as m,sectionAnchorIds as b,shownSections as x}from"../../../../components/DocBody.js";import{DIM as p,DROP_COMMON as P,INNER_BOX as o,SECTION_BOX as B,TEXT as a,smallText as r,wrapperPad as _,wrapperPadKeys as f}from"./section-to-box-row-parts.js";import{fluidToken as u,token as d}from"./section-head-looks.js";const c={top:80,bottom:80,topPhone:60,bottomPhone:60},l=18,h=18,g=8,w=10,i=t=>typeof t=="string"&&t.trim()!=="",y=t=>x(t.sections),T=t=>m(typeof t.body=="string"?t.body:"").map(e=>e.type==="ul"?{kind:"ul",text:e.items.map(n=>`- ${n}`).join(`
2
+ `)}:{kind:"p",text:e.text}),s={textStyle:"body-5",...d("label",12),case:"upper",letterSpacing:.3,color:"accent",lineHeight:1.5},k={textStyle:"body-1",fontRole:"accent",...d("body",17)},O=[r("label",s),{...r("title",s),when:(t,e)=>!i(e?.label)},{kind:"block",type:"Text",when:(t,e)=>!i(e?.label)&&!i(e?.title),props:{...a,text:"Section",_partStyles:{text:s}}},{kind:"group",name:"Heading",props:{...o,sectionPaddingBottom:g,sectionPaddingBottomPhone:g},parts:[{kind:"group",name:"Heading line",props:{...o,sectionBorder:{bottom:1},sectionPaddingBottom:h,sectionPaddingBottomPhone:h},parts:[{kind:"text",key:"heading",role:"heading",props:a,style:{textStyle:"heading-2",...u("headingMedium",28,3.5,44),case:"upper",weight:500,lineHeight:1.04,letterSpacing:-.025}}]}]},{kind:"list",key:"body",name:"Body",flat:!0,of:T,parts:[{kind:"text",key:"text",props:p,style:{...k,lineHeight:1.7},when:(t,e)=>e?.kind==="p"},{kind:"text",key:"text",props:p,style:{...k,lineHeight:1.65,paragraphSpacing:w},when:(t,e)=>e?.kind==="ul"}]}],S={name:"Document Text",boxProps:t=>({...B,direction:"row",gap:80,gapPhone:40,sectionBorder:{bottom:1},..._(t,c)}),box:["anchor","sectionAccent","_hidden",...f(c)],parts:[{kind:"block",type:"Contents",props:t=>({title:t.tocTitle??"",sticky:!0,widthFit:"fixed",width:240,widthFitPhone:"fill"})},{kind:"group",name:"Sections",props:{...o,gap:64,gapPhone:64,widthFit:"fill"},parts:[{kind:"list",key:"sections",name:"Section",of:t=>y(t),props:{...o,gap:l,gapPhone:l},item:(t,e,n)=>({props:{anchor:b(y(n))[e]??`section-${e+1}`}}),parts:O}]}],reads:{tocTitle:"the Contents block's Heading"},drop:{...P,stickyTop:"the Contents block draws DocBody's default (120px); 0 live nodes store it"}},C={DocBody:S};export{C as DOCBODY_SECTION_TO_BOX};
@@ -1 +1 @@
1
- import{SECTION_BOX_SLOT as I,SECTION_BOX_TYPE as G}from"../../../sections/section-to-box.js";import{BUTTON as b,DIM as i,DROP_COMMON as W,DROP_SIDE_PADDING as j,INNER_BOX as o,SAME_KEYS as D,SECTION_BOX as P,SH_LINK as f,TEXT as p,bandAccent as X,bandIndex as v,bandPage as $,bandProps as S,bandWrites as K,smallText as d,wrapperPad as l}from"./section-to-box-row-parts.js";import{editorialHeadTree as z,token as c}from"./section-head-looks.js";import{declaredBlockSource as B}from"../../../../../format/lib/content/block-sources.js";import{parseLocationTileShape as U,splitLegacyRegion as w}from"../../../../../format/lib/content/contact.js";import{groupColumns as g}from"../../../../../format/lib/locations-grid.js";import{phoneHref as Y}from"../../../../../format/lib/links/phone-href.js";import{hasMapCoords as F}from"../../../../../format/lib/map-styles.js";const a=e=>typeof e=="string"?e:e==null?"":String(e),m=e=>Array.isArray(e.locations)?e.locations.map(t=>t??{}):[],s=e=>a(e.group),x=e=>`loc-${e}`,T=e=>a(e.state).trim()||w(a(e.region)).state,O=e=>a(e.country).trim()||w(a(e.region)).country,_=e=>[T(e),O(e)].filter(Boolean).join(" · "),q=e=>m(e).some(t=>a(t.photo).trim()!==""),V=e=>m(e).some(t=>F(Number(t.lat),Number(t.lng))),J=(e,t)=>m(e).filter(n=>s(n)===s(t)).length,Q=(e,t)=>J(e,t)===1?"wide":U(e.imageShape),h={top:100,bottom:100,topPhone:60,bottomPhone:60},N=48,r=(e,t={})=>({textStyle:"body-5",...c("label",e),case:"upper",...t}),y={top:1,right:1,bottom:1,left:1},u=(e,t)=>({sectionPaddingTop:e,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingRight:t,sectionPaddingTopPhone:e,sectionPaddingBottomPhone:e,sectionPaddingLeftPhone:t,sectionPaddingRightPhone:t}),k={...o,direction:"row",share:"equal",gap:0},Z=e=>t=>t>g(t)?{...o,gap:0}:{...k,...t>1?{phoneRow:e}:{}},ee={kind:"group",name:"Gallery",props:{...o,gap:20,_hidden:!0},when:q,parts:[{kind:"group",name:"Gallery head",props:{...o,direction:"row",justify:"between",align:"end",gap:24,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},parts:[d("galleryKicker",r(12,{color:"accent",letterSpacing:.3})),{kind:"text",key:"galleryHint",props:{...i,align:"right",alignPhone:"left"},style:r(11,{letterSpacing:.22,alignPhone:"left"})}]},{kind:"group",name:"Groups",props:{...o,gap:24},parts:[{kind:"list",key:"locations",name:"City picture",props:{...o,darken:85,darkenStyle:"bottom",placement:"bottom-left",sectionBorder:y,...u(12,12)},item:(e,t,n)=>({props:{...a(e.photo).trim()?{bgImage:a(e.photo)}:{},link:`#${x(t)}`,boxShape:Q(n,e)}}),parts:[{kind:"text",key:"name",props:p,style:r(11,{letterSpacing:.22,color:"text"})}],groups:{of:s,name:"Group",props:{...o,gap:10},head:e=>({label:s(e[0]??{})}),parts:[d("label",r(11,{color:"accent",letterSpacing:.3}))],itemsName:"Cities",itemsProps:Z(2),perRow:g,rowName:"Row",rowProps:{...k,phoneRow:2}}}]}]},te={kind:"group",name:"Words",props:{...o,gap:12,gapPhone:12,...u(28,28),sectionHeightMode:"fixed",sectionHeightValue:280,sectionHeightUnit:"px",sectionHeightModePhone:"auto"},parts:[{kind:"group",name:"Name row",props:{...o,direction:"row",justify:"between",align:"start",gap:14,share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",sectionPaddingBottom:6,sectionPaddingBottomPhone:6},parts:[{kind:"group",name:"Name",props:{...o,gap:6,gapPhone:6,minWidth:0},parts:[{kind:"text",key:"name",role:"heading",props:p,style:{textStyle:"heading-3",...c("headingSmall",30),case:"upper",weight:500,lineHeight:1,letterSpacing:-.02}},{kind:"block",type:"Text",props:{...p,_partStyles:{text:r(12,{color:"accent",letterSpacing:.24,lineHeight:1.5})}},box:["region","state","country"].map(e=>[e,"text",(t,n)=>_(n)]),when:(e,t)=>_(t??{})!==""}]},{kind:"group",name:"Time zone",props:{...o,sectionBorder:y,...u(6,10)},parts:[{kind:"text",key:"timezone",props:{...i,textFit:"line"},style:r(12,{letterSpacing:.22,lineHeight:1.5})}]}]},{kind:"text",key:"address",props:i,style:{textStyle:"body-5",fontRole:"heading",...c("body",14),lineHeight:1.5}},{kind:"block",type:"ButtonBlock",props:{...b,...f,variant:"ghost",arrow:!1,_partStyles:{label:r(13,{letterSpacing:.18,color:"text",lineHeight:24/13})}},box:[["phone","label"],["phone","href",e=>Y(a(e))??"#"]],when:(e,t)=>a(t?.phone).trim()!==""},{kind:"text",key:"hours",props:i,style:r(12,{letterSpacing:.18,lineHeight:1.7})}]},oe={kind:"block",type:"LocationMap",props:e=>({mapTheme:typeof e.mapTheme=="string"?e.mapTheme:"auto"}),box:["name","lat","lng","mapsUrl","geocode",...["region","state"].map(e=>[e,"state",(t,n)=>T(n)]),...["region","country"].map(e=>[e,"country",(t,n)=>O(n)])]},ne={kind:"group",name:"Map",props:{...o,sectionBorder:{top:1,right:0,bottom:0,left:0}},parts:[oe]},ae={kind:"list",key:"locations",name:"City",props:(e,t)=>({...o,gap:0,justify:"between",sectionBorder:y,jumpHighlight:!0,sectionAccent:v(e,t)>=0?$(e.sectionAccent,t):-1}),item:(e,t)=>({props:{anchor:x(t)}}),parts:[te,ne],groups:{of:s,name:"Group",props:{...o,gap:20},head:e=>{const t=e[0]??{};return{key:s(t),groupName:a(t.groupName),count:`${e.length} location${e.length===1?"":"s"}`}},parts:[{kind:"group",name:"Group head",props:{...o,direction:"row",justify:"between",align:"end",gap:16,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},when:(e,t)=>a(t?.key).trim()!=="",parts:[d("key",r(13,{color:"accent",letterSpacing:.3})),{kind:"text",key:"groupName",role:"heading",props:p,style:{textStyle:"heading-3",...c("headingSmall",24),case:"upper",weight:500,letterSpacing:-.01}},{kind:"text",key:"count",props:i,style:r(12,{letterSpacing:.22})}]}],itemsName:"Cities",itemsProps:e=>({...k,columns:g(e)})}},C=r(10,{letterSpacing:.25}),re={kind:"block",type:G,props:{...o,name:"Credit",direction:"row",justify:"end",align:"center",gap:6,share:"content",wrap:!0},when:V,slot:I,keepEmpty:!0,parts:[{kind:"block",type:"Text",props:{...i,text:"Location coordinates ©",_partStyles:{text:C}}},{kind:"block",type:"ButtonBlock",props:{...b,...f,variant:"ghost",arrow:!1,label:"OpenStreetMap contributors",href:"https://www.openstreetmap.org/copyright",_partStyles:{label:{...C,color:"labels"}}}}]},M=(e,t)=>Object.fromEntries(t.filter(n=>e[n]!==void 0).map(n=>[n,e[n]])),E=["sectionPaddingTop","sectionPaddingTopPhone"],H=["sectionPaddingBottom","sectionPaddingBottomPhone"],L=e=>e.map(t=>[t,t,(n,R)=>l(R,h)[t]]),A=["sectionAccent","sectionAccent",X],ie=["gridSpan","_hidden"],se={name:"City pictures",skip:e=>B(e)?`fed by the data source "${B(e)}": its cities are read as the page is served, not stored on the node`:void 0,boxProps:(e,t)=>({...P,direction:"column",gap:40,anchor:"studios",...M(l(e,h),E),sectionPaddingBottom:N,sectionPaddingBottomPhone:N,...S(e,t)}),box:[...D.filter(e=>e!=="sectionAccent"&&e!=="anchor"),A,["anchor","anchor",e=>a(e).trim()?e:"studios"],...L(E)],parts:[z("sectionNumber","heading","tagline"),ee],also:[{name:"City maps",boxProps:(e,t)=>({...P,direction:"column",gap:40,sectionBorder:{bottom:1},sectionPaddingTop:0,sectionPaddingTopPhone:0,...M(l(e,h),H),...S(e,t)}),box:[...ie,A,...L(H)],parts:[ae,re]}],reads:{mapTheme:"City maps Box: each Map block's Map theme",imageShape:"City pictures Box: each picture Box's Box shape"},site:K,drop:{...W,...j,apiKey:"a stored Google Maps key from before the map needed none: the website's one map (components/SiteMap) takes no key, and a key is a credential, never page content",mapId:"a Google Maps style id from the same retired map: nothing in src/ reads it",gallery:"the retired separate tile list: the wall is derived from the cities (`components/ContactLocations`), nothing in src/ reads it",dataSource:"always empty here: a node fed by a source is skipped (see skip)"}},ue={ContactLocations:se};export{ue as LOCATIONS_SECTION_TO_BOX};
1
+ import{tabletKey as I}from"efficient-easel/draw";import{SECTION_BOX_SLOT as G,SECTION_BOX_TYPE as j}from"../../../sections/section-to-box.js";import{BUTTON as k,DIM as i,DROP_COMMON as D,DROP_SIDE_PADDING as W,INNER_BOX as o,SAME_KEYS as X,SECTION_BOX as P,SH_LINK as f,TEXT as p,bandAccent as v,bandIndex as K,bandPage as $,bandProps as S,bandWrites as z,smallText as d,wrapperPad as l}from"./section-to-box-row-parts.js";import{editorialHeadTree as U,token as c}from"./section-head-looks.js";import{readAnchorName as Y}from"../../../../../format/lib/content/anchor-name.js";import{declaredBlockSource as B}from"../../../../../format/lib/content/block-sources.js";import{parseLocationTileShape as F,splitLegacyRegion as T}from"../../../../../format/lib/content/contact.js";import{groupColumns as g}from"../../../../../format/lib/locations-grid.js";import{phoneHref as q}from"../../../../../format/lib/links/phone-href.js";import{hasMapCoords as V}from"../../../../../format/lib/map-styles.js";const a=e=>typeof e=="string"?e:e==null?"":String(e),m=e=>Array.isArray(e.locations)?e.locations.map(t=>t??{}):[],s=e=>a(e.group),w=e=>`loc-${e}`,x=e=>a(e.state).trim()||T(a(e.region)).state,O=e=>a(e.country).trim()||T(a(e.region)).country,_=e=>[x(e),O(e)].filter(Boolean).join(" · "),J=e=>m(e).some(t=>a(t.photo).trim()!==""),Q=e=>m(e).some(t=>V(Number(t.lat),Number(t.lng))),Z=(e,t)=>m(e).filter(n=>s(n)===s(t)).length,ee=(e,t)=>Z(e,t)===1?"wide":F(e.imageShape),h={top:100,bottom:100,topPhone:60,bottomPhone:60},N=48,r=(e,t={})=>({textStyle:"body-5",...c("label",e),case:"upper",...t}),y={top:1,right:1,bottom:1,left:1},u=(e,t)=>({sectionPaddingTop:e,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingRight:t,sectionPaddingTopPhone:e,sectionPaddingBottomPhone:e,sectionPaddingLeftPhone:t,sectionPaddingRightPhone:t}),b={...o,direction:"row",share:"equal",gap:0},te=e=>t=>t>g(t)?{...o,gap:0}:{...b,...t>1?{phoneRow:e}:{}},oe={kind:"group",name:"Gallery",props:{...o,gap:20,_hidden:!0},when:J,parts:[{kind:"group",name:"Gallery head",props:{...o,direction:"row",justify:"between",align:"end",gap:24,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},parts:[d("galleryKicker",r(12,{color:"accent",letterSpacing:.3})),{kind:"text",key:"galleryHint",props:{...i,align:"right",alignPhone:"left"},style:r(11,{letterSpacing:.22,alignPhone:"left"})}]},{kind:"group",name:"Groups",props:{...o,gap:24},parts:[{kind:"list",key:"locations",name:"City picture",props:{...o,darken:85,darkenStyle:"bottom",placement:"bottom-left",sectionBorder:y,...u(12,12)},item:(e,t,n)=>({props:{...a(e.photo).trim()?{bgImage:a(e.photo)}:{},link:`#${w(t)}`,boxShape:ee(n,e)}}),parts:[{kind:"text",key:"name",props:p,style:r(11,{letterSpacing:.22,color:"text"})}],groups:{of:s,name:"Group",props:{...o,gap:10},head:e=>({label:s(e[0]??{})}),parts:[d("label",r(11,{color:"accent",letterSpacing:.3}))],itemsName:"Cities",itemsProps:te(2),perRow:g,rowName:"Row",rowProps:{...b,phoneRow:2}}}]}]},ne={kind:"group",name:"Words",props:{...o,gap:12,gapPhone:12,...u(28,28),sectionHeightMode:"fixed",sectionHeightValue:280,sectionHeightUnit:"px",sectionHeightModePhone:"auto"},parts:[{kind:"group",name:"Name row",props:{...o,direction:"row",justify:"between",align:"start",gap:14,share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"wrap",sectionPaddingBottom:6,sectionPaddingBottomPhone:6},parts:[{kind:"group",name:"Name",props:{...o,gap:6,gapPhone:6},parts:[{kind:"text",key:"name",role:"heading",props:p,style:{textStyle:"heading-3",...c("headingSmall",30),case:"upper",weight:500,lineHeight:1,letterSpacing:-.02}},{kind:"block",type:"Text",props:{...p,_partStyles:{text:r(12,{color:"accent",letterSpacing:.24,lineHeight:1.5})}},box:["region","state","country"].map(e=>[e,"text",(t,n)=>_(n)]),when:(e,t)=>_(t??{})!==""}]},{kind:"group",name:"Time zone",props:{...o,sectionBorder:y,...u(6,10)},parts:[{kind:"text",key:"timezone",props:{...i,textFit:"line"},style:r(12,{letterSpacing:.22,lineHeight:1.5})}]}]},{kind:"text",key:"address",props:i,style:{textStyle:"body-5",fontRole:"heading",...c("body",14),lineHeight:1.5}},{kind:"block",type:"ButtonBlock",props:{...k,...f,variant:"ghost",arrow:!1,_partStyles:{label:r(13,{letterSpacing:.18,color:"text",lineHeight:24/13})}},box:[["phone","label"],["phone","href",e=>q(a(e))??"#"]],when:(e,t)=>a(t?.phone).trim()!==""},{kind:"text",key:"hours",props:i,style:r(12,{letterSpacing:.18,lineHeight:1.7})}]},ae={kind:"block",type:"LocationMap",props:e=>({mapTheme:typeof e.mapTheme=="string"?e.mapTheme:"auto"}),box:["name","lat","lng","mapsUrl","geocode",...["region","state"].map(e=>[e,"state",(t,n)=>x(n)]),...["region","country"].map(e=>[e,"country",(t,n)=>O(n)])]},re={kind:"group",name:"Map",props:{...o,sectionBorder:{top:1,right:0,bottom:0,left:0}},parts:[ae]},ie={kind:"list",key:"locations",name:"City",props:(e,t)=>({...o,gap:0,justify:"between",sectionBorder:y,jumpHighlight:!0,sectionAccent:K(e,t)>=0?$(e.sectionAccent,t):-1}),item:(e,t)=>({props:{anchor:w(t)}}),parts:[ne,re],groups:{of:s,name:"Group",props:{...o,gap:20},head:e=>{const t=e[0]??{};return{key:s(t),groupName:a(t.groupName),count:`${e.length} location${e.length===1?"":"s"}`}},parts:[{kind:"group",name:"Group head",props:{...o,direction:"row",justify:"between",align:"end",gap:16,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:16},when:(e,t)=>a(t?.key).trim()!=="",parts:[d("key",r(13,{color:"accent",letterSpacing:.3})),{kind:"text",key:"groupName",role:"heading",props:p,style:{textStyle:"heading-3",...c("headingSmall",24),case:"upper",weight:500,letterSpacing:-.01}},{kind:"text",key:"count",props:i,style:r(12,{letterSpacing:.22})}]}],itemsName:"Cities",itemsProps:e=>({...b,columns:g(e),[I("columns")]:1})}},C=r(10,{letterSpacing:.25}),se={kind:"block",type:j,props:{...o,name:"Credit",direction:"row",justify:"end",align:"center",gap:6,share:"content",wrap:!0},when:Q,slot:G,keepEmpty:!0,parts:[{kind:"block",type:"Text",props:{...i,text:"Location coordinates ©",_partStyles:{text:C}}},{kind:"block",type:"ButtonBlock",props:{...k,...f,variant:"ghost",arrow:!1,label:"OpenStreetMap contributors",href:"https://www.openstreetmap.org/copyright",_partStyles:{label:{...C,color:"labels"}}}}]},M=(e,t)=>Object.fromEntries(t.filter(n=>e[n]!==void 0).map(n=>[n,e[n]])),E=["sectionPaddingTop","sectionPaddingTopTablet","sectionPaddingTopPhone"],H=["sectionPaddingBottom","sectionPaddingBottomTablet","sectionPaddingBottomPhone"],A=e=>e.map(t=>[t,t,(n,R)=>l(R,h)[t]]),L=["sectionAccent","sectionAccent",v],pe=["gridSpan","_hidden"],ce={name:"City pictures",skip:e=>B(e)?`fed by the data source "${B(e)}": its cities are read as the page is served, not stored on the node`:void 0,boxProps:(e,t)=>({...P,direction:"column",gap:40,anchor:"studios",...M(l(e,h),E),sectionPaddingBottom:N,sectionPaddingBottomPhone:N,...S(e,t)}),box:[...X.filter(e=>e!=="sectionAccent"&&e!=="anchor"),L,["anchor","anchor",e=>Y(e).trim()?e:"studios"],...A(E)],parts:[U("sectionNumber","heading","tagline"),oe],also:[{name:"City maps",boxProps:(e,t)=>({...P,direction:"column",gap:40,sectionBorder:{bottom:1},sectionPaddingTop:0,sectionPaddingTopPhone:0,...M(l(e,h),H),...S(e,t)}),box:[...pe,L,...A(H)],parts:[ie,se]}],reads:{mapTheme:"City maps Box: each Map block's Map theme",imageShape:"City pictures Box: each picture Box's Box shape"},site:z,drop:{...D,...W,apiKey:"a stored Google Maps key from before the map needed none: the website's one map (components/SiteMap) takes no key, and a key is a credential, never page content",mapId:"a Google Maps style id from the same retired map: nothing in src/ reads it",gallery:"the retired separate tile list: the wall is derived from the cities (`components/ContactLocations`), nothing in src/ reads it",dataSource:"always empty here: a node fed by a source is skipped (see skip)"}},fe={ContactLocations:ce};export{fe as LOCATIONS_SECTION_TO_BOX};
@@ -0,0 +1,2 @@
1
+ import { type SectionToBoxRow } from "../../../sections/section-to-box.js";
2
+ export declare const PAGE_HEADER_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
@@ -0,0 +1 @@
1
+ import{hasWords as p}from"../../../sections/section-to-box.js";import{BLOCK_WIDTH_LIMIT as N}from"efficient-easel/draw";import{fluidToken as M,token as o}from"./section-head-looks.js";import{STRIP_BOX as R}from"../../../../../format/lib/sections/strip-shape.js";import{BUTTON as C,DIM as A,DROP_COMMON as l,DROP_SIDE_PADDING as d,INNER_BOX as n,leadLine as k,RIGHT_WORDS as P,SAME_KEYS as g,SECTION_BOX as c,SH_LINK as W,smallText as i,TEXT as a,wrapperPad as h,wrapperPadKeys as m}from"./section-to-box-row-parts.js";const r={textFit:"line",textFitPhone:"wrap"},f={minWidth:N.min},S=(e,t,s)=>({...i(e,{...t,...P}),props:{...a,align:"right",...r,...s}}),_={top:1,bottom:0},b=(e,t,s,H)=>({kind:"group",name:e,props:{...n,sectionPaddingBottom:t,sectionPaddingBottomPhone:s},parts:[H]}),T={widthFit:"fill",...f},w={top:100,bottom:60,topPhone:60,bottomPhone:40},U={...o("label",13),letterSpacing:.22,lineHeight:1.8},x={textStyle:"heading-1",...M("headingLarge",56,8,128),case:"upper",weight:500,lineHeight:.88,letterSpacing:-.04},E=e=>e.titleLevel===2,v=()=>({name:"Document Header",boxProps:e=>({...c,direction:"column",gap:0,sectionBorder:{bottom:1},...h(e,w)}),box:[...g,...m(w)],parts:[{kind:"group",name:"Header",props:{...n,direction:"row",align:"end",justify:"between",gap:40,gapPhone:16,share:"content",sectionPaddingBottom:32},parts:[b("Eyebrow",12,0,{...i("eyebrow",o("label",13)),props:{...a,...r}}),{kind:"text",key:"title",role:"heading",props:{...a,tag:"h1",...T},style:x,when:e=>!E(e)},{kind:"text",key:"title",role:"heading",props:{...a,tag:"h2",...T},style:x,when:E},{kind:"group",name:"Details",props:{...n,align:"stretch",gap:0,gapPhone:0,sectionPaddingBottom:12,sectionPaddingBottomPhone:0},parts:[{kind:"list",key:"meta",name:"Detail",flat:!0,parts:[k("label","value",U,r)]}]}]},{kind:"group",name:"Deck",props:{...n,sectionBorder:_,sectionPaddingTop:32},parts:[{kind:"text",key:"deck",props:{...A,maxWidth:760},style:{textStyle:"body-1",fontRole:"accent",...o("body",22,19),italic:!0,lineHeight:1.5}}]}],drop:{...l,...d,titleLevel:"read by the title part's `when`: 2 (set by lib/document/one-h1 on a later opener) makes the Text an h2, anything else an h1"}}),I={top:80,bottom:40,topPhone:60,bottomPhone:32},X={...o("label",13),letterSpacing:.18,lineHeight:1.8},O={...o("label",13),letterSpacing:.22,lineHeight:1.9},G=()=>({name:"Issue Header",boxProps:e=>({...c,direction:"column",gap:0,sectionBorder:{bottom:1},...h(e,I)}),box:[...g,...m(I)],parts:[{kind:"group",name:"Top",props:{...n,direction:"row",align:"end",justify:"between",gap:60,gapPhone:16,share:"content",sectionPaddingBottom:32},parts:[b("Eyebrow",14,14,i("eyebrow",o("label",14))),{kind:"group",name:"Issue",props:{...n,align:"end",gap:0,gapPhone:0,sectionPaddingBottom:14},parts:[{kind:"list",key:"issueMeta",name:"Issue line",flat:!0,parts:[k("lead","rest",X)]}]}]},{kind:"group",name:"Bottom",props:{...n,direction:"row",align:"start",justify:"between",gap:60,gapPhone:16,share:"content",sectionBorder:_,sectionPaddingTop:32},parts:[{kind:"text",key:"lead",props:{...a,maxWidth:720,...f},style:{textStyle:"body-1",fontRole:"heading3",...o("headingSmall",20),lineHeight:1.5,letterSpacing:-.005,paragraphSpacing:16}},{kind:"group",name:"In this issue",props:{...n,align:"stretch",gap:0},parts:[b("Heading",6,6,{kind:"text",key:"issueHeading",props:{...a,align:"right",...r},style:{textStyle:"body-1",fontRole:"heading",...o("body",18),weight:400,letterSpacing:-.01,lineHeight:1.9,...P}}),{kind:"group",name:"Lines",props:{...n,align:"stretch",gap:0},parts:[{kind:"list",key:"issueList",name:"Line",flat:!0,parts:[S("text",{color:"labels",...O})]}]},S("issueTotal",O)]}]}],drop:{...l,...d}}),B={top:24,bottom:24,topPhone:16,bottomPhone:16},u={color:"labels",...o("label",13),letterSpacing:.2},L=e=>(Array.isArray(e.items)?e.items:[]).filter(t=>t&&typeof t.label=="string"&&t.label.trim()!==""),y=(e,t)=>t!==void 0&&L(e).at(-1)===t,D=(e,t)=>t!==void 0&&L(e).includes(t),K=(e,t)=>D(e,t)&&!y(e,t)&&p(t?.href),j=()=>({name:"Breadcrumb",skip:e=>p(e.meta)?'a trailing note after "·" needs a second mark; none live':void 0,boxProps:e=>({...c,...R,gap:16,gapPhone:16,separator:"slash",sectionBorder:{bottom:1},...h(e,B)}),box:[...g,...m(B)],parts:[{kind:"list",key:"items",name:"Crumb",flat:!0,parts:[{kind:"button",key:"label",href:"href",variant:"ghost",when:K,props:{...C,...W,icon:"none"},style:u},{...i("label",u),when:(e,t)=>D(e,t)&&!y(e,t)&&!p(t?.href)},{...i("label",{...u,color:"text"}),when:y}]}],drop:{...l,...d,meta:"a node that stores a note is skipped (`skip`); an empty one draws nothing"}}),J={DocMasthead:v(),Masthead:G(),Breadcrumb:j()};export{J as PAGE_HEADER_SECTION_TO_BOX};
@@ -1 +1 @@
1
- import{hasWords as H,registerSectionToBox as n}from"../../../sections/section-to-box.js";import{BUTTON as g,DIM as c,DROP_COMMON as s,DROP_SIDE_PADDING as m,INNER_BOX as o,numberAndUnit as R,NUMBER_TEXT as A,SAME_KEYS as d,SECTION_BOX as p,lineBorder as L,TEXT as l,innerPad as S,innerPadKeys as w,smallText as P,wrapperPad as u,wrapperPadKeys as b}from"./section-to-box-row-parts.js";import{CARDS_SECTION_TO_BOX as W}from"./section-to-box-rows-cards.js";import{normalizeSiteGutter as C,normalizeSiteGutterPhone as D,siteGutterPhoneFollows as X}from"../../../../../format/lib/content/page-width.js";import{finiteNumber as G}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as M}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 J}from"./section-to-box-rows-strip.js";import{TIMELINE_SECTION_TO_BOX as z}from"./section-to-box-rows-timeline.js";import{LOCATIONS_SECTION_TO_BOX as U}from"./section-to-box-rows-locations.js";import{HEAD_ONLY_SECTION_TO_BOX as K}from"./section-to-box-rows-head.js";import{fluidToken as j,headTree as k,token as r}from"./section-head-looks.js";const T={top:72,bottom:72,topPhone:72,bottomPhone:72},Y={name:"Editorial Text",boxProps:e=>({...p,direction:"column",gap:28,gapPhone:28,sectionBorder:{top:1},...u(e,T)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,...b(T)],parts:[k("Prose"),{kind:"text",key:"body",props:c,style:{textStyle:"body-1",...r("body",16),lineHeight:1.7,paragraphSpacing:18}}],drop:{...s,...m,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 (JJ's export, 2026-10-24)"}},x={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},_=(e,t)=>t?.variant==="primary",O=(e,t)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",when:_,variant:"primary",style:{letterSpacing:.3},props:{...g,...x,...t}},{kind:"button",key:"label",href:"href",when:(i,a)=>!_(i,a),variant:"ghost",style:{letterSpacing:.3},props:(i,a)=>({...g,...x,...t,...L(i,a)})}]}),h=e=>H(e.title),q={name:"Call-to-Action Heading",boxProps:e=>({...p,direction:"row",align:"center",justify:h(e)?"between":"end",gap:60,gapPhone:60,share:"content",sectionBorder:{bottom:1},...S(e,"TitleWithButtons")}),box:[...d,...w("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",...j("headingLarge",48,7,108),case:"upper",lineHeight:.94,letterSpacing:-.035}}]},{kind:"group",name:"Buttons",props:e=>({...o,gap:14,gapPhone:14,widthFitPhone:"fill",...h(e)?{minWidth:280,minWidthPhone:0}:{}}),parts:[O(h,{widthFit:"fill",iconPosition:"end"}),O(e=>!h(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 (JJ's 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"}};function Q(e){const{siteGutter:t,siteGutterPhone:i}=e.site??{},a=C(t),f=Math.min(20,D(i)??X(t));return{sectionPaddingLeft:a,sectionPaddingRight:a,sectionPaddingLeftPhone:f,sectionPaddingRightPhone:f}}const B={top:40,bottom:64,topPhone:24,bottomPhone:36},V={name:"Section Header",boxProps:(e,t)=>({...p,direction:"column",gap:0,...u(e,B),...Q(t)}),box:[...d,...b(B)],parts:[k("SectionHeader")],drop:{...s,...m,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 (JJ's 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"}},E={...o,direction:"row",share:"bigLeft",gap:30},N={...o,sectionPaddingLeft:30,sectionPaddingLeftPhone:0},v=(e,t,i)=>({kind:"group",name:e,props:t,parts:[i]}),y=e=>R(e.value,e.label),Z={name:"Lead Text",boxProps:e=>({...p,direction:"column",gap:40,gapPhone:40,sectionBorder:{bottom:1},...S(e,"ParagraphsA")}),box:[...d,...w("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...E,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:[P("eyebrow",{color:"labels",...r("label",12),letterSpacing:.24})]},v("Stats column",o,{kind:"group",name:"Stats",props:{...N,gap:0,gapPhone:0},parts:[{kind:"list",key:"stats",name:"Stat",flat:!0,parts:[{kind:"block",type:"Text",when:(e,t)=>t!==void 0&&y(t)!=="",box:[["value","text",(e,t)=>y(t)],["label","text",(e,t)=>y(t)]],props:{...A,align:"right",alignPhone:"left",_partStyles:{text:{textStyle:"body-5",color:"labels",...r("label",13),case:"upper",letterSpacing:.18,lineHeight:1.8,align:"right",alignPhone:"left"}}}}]}]})]},{kind:"group",name:"Words",props:{...E,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",...r("headingSmall",22,20),weight:400,case:"none",lineHeight:1.45,letterSpacing:-.005}}]}]},v("Note column",{...o,justify:"end",widthFit:"fill"},{kind:"group",name:"Founders",props:{...N,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",...r("body",18,16),weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:c,style:{textStyle:"body-5",fontRole:"heading",...r("body",14,12),lineHeight:1.7}}]},P("attribution",{...r("label",12,10),letterSpacing:.24,lineHeight:1.7})]})]}],drop:{...s}},I={top:24,bottom:24,topPhone:24,bottomPhone:24},$={name:"Banner",boxProps:e=>({...p,direction:"column",gap:0,...u(e,I)}),box:[...d,"contained",...b(I)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...o,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(G(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...o,gap:20},parts:[P("eyebrow"),{kind:"text",key:"title",role:"heading",props:{...l,maxWidth:680},style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none"}},{kind:"text",key:"body",props:{...c,maxWidth:680},style:{textStyle:"body-1",lineHeight:1.6},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],drop:{...s,...m}},ee={Prose:Y,TitleWithButtons:q,SectionHeader:V,ParagraphsA:Z,Banner:$};function ce(){n(ee),n(M),n(F),n(W),n(J),n(z),n(U),n(K)}export{ee as GENERAL_SECTION_TO_BOX,ce as registerGeneralSectionRows};
1
+ import{hasWords as v,registerSectionToBox as n}from"../../../sections/section-to-box.js";import{BUTTON as g,DIM as m,DROP_COMMON as s,DROP_SIDE_PADDING as c,INNER_BOX as t,leadLine as H,SAME_KEYS as d,SECTION_BOX as p,lineBorder as A,TEXT as l,innerPad as S,innerPadKeys as f,smallText as P,wrapperPad as u,wrapperPadKeys as b}from"./section-to-box-row-parts.js";import{CARDS_SECTION_TO_BOX as R}from"./section-to-box-rows-cards.js";import{normalizeSiteGutter as L,normalizeSiteGutterPhone as C,siteGutterPhoneFollows as D}from"../../../../../format/lib/content/page-width.js";import{finiteNumber as W}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as X}from"./section-to-box-rows-stats.js";import{LOGOS_SECTION_TO_BOX as G}from"./section-to-box-rows-logos.js";import{STRIP_SECTION_TO_BOX as M}from"./section-to-box-rows-strip.js";import{TIMELINE_SECTION_TO_BOX as F}from"./section-to-box-rows-timeline.js";import{LOCATIONS_SECTION_TO_BOX as z}from"./section-to-box-rows-locations.js";import{HEAD_ONLY_SECTION_TO_BOX as K}from"./section-to-box-rows-head.js";import{PAGE_HEADER_SECTION_TO_BOX as Y}from"./section-to-box-rows-pageheader.js";import{DOCBODY_SECTION_TO_BOX as j}from"./section-to-box-rows-docbody.js";import{fluidToken as U,headTree as w,token as r}from"./section-head-looks.js";const T={top:72,bottom:72,topPhone:72,bottomPhone:72},q={name:"Editorial Text",boxProps:e=>({...p,direction:"column",gap:28,gapPhone:28,sectionBorder:{top:1},...u(e,T)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,...b(T)],parts:[w("Prose"),{kind:"text",key:"body",props:m,style:{textStyle:"body-1",...r("body",16),lineHeight:1.7,paragraphSpacing:18}}],drop:{...s,...c,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)"}},k={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},O=(e,o)=>o?.variant==="primary",_=(e,o)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",when:O,variant:"primary",style:{letterSpacing:.3},props:{...g,...k,...o}},{kind:"button",key:"label",href:"href",when:(i,a)=>!O(i,a),variant:"ghost",style:{letterSpacing:.3},props:(i,a)=>({...g,...k,...o,...A(i,a)})}]}),h=e=>v(e.title),J={name:"Call-to-Action Heading",boxProps:e=>({...p,direction:"row",align:"center",justify:h(e)?"between":"end",gap:60,gapPhone:60,share:"content",sectionBorder:{bottom:1},...S(e,"TitleWithButtons")}),box:[...d,...f("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:{...t,maxWidth:1e3,widthFitPhone:"fill"},parts:[{kind:"text",key:"title",role:"heading",props:l,style:{textStyle:"heading-1",...U("headingLarge",48,7,108),case:"upper",lineHeight:.94,letterSpacing:-.035}}]},{kind:"group",name:"Buttons",props:e=>({...t,gap:14,gapPhone:14,widthFitPhone:"fill",...h(e)?{minWidth:280,minWidthPhone:0}:{}}),parts:[_(h,{widthFit:"fill",iconPosition:"end"}),_(e=>!h(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"}};function Q(e){const{siteGutter:o,siteGutterPhone:i}=e.site??{},a=L(o),y=Math.min(20,C(i)??D(o));return{sectionPaddingLeft:a,sectionPaddingRight:a,sectionPaddingLeftPhone:y,sectionPaddingRightPhone:y}}const B={top:40,bottom:64,topPhone:24,bottomPhone:36},V={name:"Section Header",boxProps:(e,o)=>({...p,direction:"column",gap:0,...u(e,B),...Q(o)}),box:[...d,...b(B)],parts:[w("SectionHeader")],drop:{...s,...c,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"}},x={...t,direction:"row",share:"bigLeft",gap:30},E={...t,sectionPaddingLeft:30,sectionPaddingLeftPhone:0},N=(e,o,i)=>({kind:"group",name:e,props:o,parts:[i]}),Z={name:"Lead Text",boxProps:e=>({...p,direction:"column",gap:40,gapPhone:40,sectionBorder:{bottom:1},...S(e,"ParagraphsA")}),box:[...d,...f("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...x,gapPhone:24,sectionBorder:{bottom:1},sectionPaddingBottom:40,sectionPaddingBottomPhone:40},parts:[{kind:"group",name:"Eyebrow",props:{...t,sectionPaddingTop:5,sectionPaddingBottom:1,sectionPaddingTopPhone:5,sectionPaddingBottomPhone:1},parts:[P("eyebrow",{color:"labels",...r("label",12),letterSpacing:.24})]},N("Stats column",t,{kind:"group",name:"Stats",props:{...E,gap:0,gapPhone:0},parts:[{kind:"list",key:"stats",name:"Stat",flat:!0,parts:[H("value","label",{...r("label",13),letterSpacing:.18,lineHeight:1.8})]}]})]},{kind:"group",name:"Words",props:{...x,gapPhone:28},parts:[{kind:"group",name:"Lead",props:t,parts:[{kind:"group",name:"Measure",props:{...t,maxWidth:780},parts:[{kind:"text",key:"lead",props:l,style:{textStyle:"heading-3",...r("headingSmall",22,20),weight:400,case:"none",lineHeight:1.45,letterSpacing:-.005}}]}]},N("Note column",{...t,justify:"end",widthFit:"fill"},{kind:"group",name:"Founders",props:{...E,gap:8,gapPhone:8},parts:[{kind:"group",name:"Note",props:{...t,gap:6,gapPhone:6},parts:[{kind:"text",key:"foundersHeading",props:l,style:{textStyle:"body-1",fontRole:"heading",...r("body",18,16),weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:m,style:{textStyle:"body-5",fontRole:"heading",...r("body",14,12),lineHeight:1.7}}]},P("attribution",{...r("label",12,10),letterSpacing:.24,lineHeight:1.7})]})]}],drop:{...s}},I={top:24,bottom:24,topPhone:24,bottomPhone:24},$={name:"Banner",boxProps:e=>({...p,direction:"column",gap:0,...u(e,I)}),box:[...d,"contained",...b(I)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...t,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(W(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...t,gap:20},parts:[P("eyebrow"),{kind:"text",key:"title",role:"heading",props:{...l,maxWidth:680},style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none"}},{kind:"text",key:"body",props:{...m,maxWidth:680},style:{textStyle:"body-1",lineHeight:1.6},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],drop:{...s,...c}},ee={Prose:q,TitleWithButtons:J,SectionHeader:V,ParagraphsA:Z,Banner:$};function Pe(){n(ee),n(X),n(G),n(R),n(M),n(F),n(z),n(K),n(Y),n(j)}export{ee as GENERAL_SECTION_TO_BOX,Pe as registerGeneralSectionRows};
@@ -12,8 +12,8 @@ export declare const VIDEO_FILE_LABEL = "Video file";
12
12
  export declare const VIDEO_FILE_PROMPT = "Upload a video file";
13
13
  export declare function forMediaType(type: "image" | "video", fallback: "image" | "video"): {
14
14
  readonly field: "mediaType";
15
- readonly is: "image" | "video";
16
- readonly default: "image" | "video";
15
+ readonly is: "video" | "image";
16
+ readonly default: "video" | "image";
17
17
  };
18
18
  export declare const HERO_MEDIA_PART_TYPES: ReadonlySet<string>;
19
19
  export declare function inPart<F extends object>(part: HeroMediaPart, field: F): F;
@@ -1 +1 @@
1
- "use client";import{jsx as t}from"react/jsx-runtime";import{Render as m}from"efficient-easel/render";import{capHeroGroups as i}from"../../../format/lib/document/cap-hero-groups.js";import{oneH1 as a}from"../../../format/lib/document/one-h1.js";import{migrateLegacyPageData as n}from"./migrate-legacy.js";import{migrateRenamedProps as f}from"../../../format/lib/document/renamed-props.js";import{convertSectionsInPage as p,SECTION_TO_BOX_ON as s}from"../sections/section-to-box.js";import{siteThemeOf as c}from"../../../format/lib/theme.js";import{registerGeneralSectionRows as g}from"./blocks/general/section-to-box-rows.js";function d({config:e,data:o,metadata:r}){return g(),t(m,{config:e,metadata:r,data:a(i(p(f(n(o)),s,{theme:c(r)})))})}export{d as default};
1
+ "use client";import{jsx as t}from"react/jsx-runtime";import{Render as m}from"efficient-easel/render";import{capHeroGroups as i}from"../../../format/lib/document/cap-hero-groups.js";import{oneH1 as a}from"../../../format/lib/document/one-h1.js";import{withPageContents as n}from"../content/page-contents.js";import{migrateLegacyPageData as f}from"./migrate-legacy.js";import{migrateRenamedProps as p}from"../../../format/lib/document/renamed-props.js";import{convertSectionsInPage as s,SECTION_TO_BOX_ON as g}from"../sections/section-to-box.js";import{siteThemeOf as c}from"../../../format/lib/theme.js";import{registerGeneralSectionRows as d}from"./blocks/general/section-to-box-rows.js";function u({config:e,data:o,metadata:r}){return d(),t(m,{config:e,metadata:r,data:n(a(i(s(p(f(o)),g,{theme:c(r)}))))})}export{u as default};
@@ -94,6 +94,7 @@ export type StyledPartEl = PartEl & {
94
94
  style: Record<string, string>;
95
95
  readonly parentElement: StyledPartEl | null;
96
96
  };
97
+ export declare function partLiftRules(holder: string): string[];
97
98
  export type StyledPartStamp = {
98
99
  element: StyledPartEl;
99
100
  partId: string;
@@ -140,13 +141,21 @@ export type PublishedPartRule = {
140
141
  textStyle?: string;
141
142
  declarations: Record<string, string>;
142
143
  phone?: Record<string, string>;
144
+ motion?: PublishedPartMotion;
145
+ };
146
+ export type PublishedPartMotion = {
147
+ hover: string;
148
+ entrance: {
149
+ desktop: unknown;
150
+ phone: unknown;
151
+ } | null;
143
152
  };
144
153
  export type PublishedPartSheet = {
145
154
  rules: ReadonlyMap<string, PublishedPartRule>;
146
155
  kindRules: ReadonlyMap<string, PublishedPartRule>;
147
156
  drawn: ReadonlySet<string>;
148
157
  };
149
- export declare function publishedPartStyles(needles: readonly PartNeedle[], styles: PartStyles, scope: string, styleKeyOf?: (partKey: string) => string, drawsStyle?: (partKey: string) => boolean): PublishedPartSheet | null;
158
+ export declare function publishedPartStyles(needles: readonly PartNeedle[], styles: PartStyles, scope: string, styleKeyOf?: (partKey: string) => string, drawsStyle?: (partKey: string) => boolean, motionOf?: (styleKey: string) => PublishedPartMotion | null, motionKeys?: readonly string[]): PublishedPartSheet | null;
150
159
  export declare function isPartKindKey(key: string): boolean;
151
160
  export declare function partRuleForKind(sheet: PublishedPartSheet | null, kind: string): PublishedPartRule | null;
152
161
  export declare function partStyleCss(sheet: PublishedPartSheet): string;
@@ -1,2 +1,2 @@
1
- import{textStyleCaseCss as v,textStyleCaseOfCss as tt}from"efficient-easel/draw";import{parseHexColor as et}from"efficient-shell/format";import{FONT_OPTIONS as nt,fontOption as ot,fontRoleOf as E,SIZE_STEP_OF_ROLE as M}from"../../../format/lib/fonts.js";import{encodePartKey as rt}from"../../../format/lib/document/part-key.js";import{decodePartId as F,normalizePartText as N}from"./text-parts.js";import{COLOUR_TOKEN as L}from"../../../format/lib/word-styles.js";import{PHONE_MEDIA as it}from"../content/view-values.js";const $="_partStyles",st="data-sf-part-styled",j="data-sf-text-style",ct=/^(heading|body)-[1-7]$/;function m(t){return typeof t=="string"&&ct.test(t)}const H={heading:"heading-1",heading2:"heading-2",heading3:"heading-3",body:"body-1",label:"body-5"};function at(t){if(!t)return null;for(const[e,n]of Object.entries(H))if(n===t)return e;return null}function se(t){if(m(t.textStyle))return t.textStyle;const e=E(t.role);return e?H[e]:void 0}const ft=[400,500,600,700],y=["left","center","right","justify"],D=5,C=1e3,lt=-5,ut=10,pt=0,dt=64,xt=2,K={size:{min:D,max:C,step:1},sizePhone:{min:D,max:C,step:1},padding:{min:pt,max:dt,step:xt}},ht=.05,gt=.01,St=["line","letter"],mt=.5,Pt=2.5,Tt=-1,bt=1,_t=0,Rt=400,At=[...new Set(Object.values(M))];function b(t){return!t||typeof t!="object"||Array.isArray(t)?null:t}function W(t){return b(t?.[$])??{}}function G(t,e){const n=W(t);return Object.hasOwn(n,e)?b(n[e])??{}:{}}function ce(t,e){return Object.values(G(t,e)).filter(n=>n!==void 0).length}function X(t,e,n){const o={...W(t)};if(Et(n).length?o[e]=n:delete o[e],!Object.keys(o).length){const{[$]:r,...i}=t;return i}return{...t,[$]:o}}function Et(t){return Object.entries(t).filter(([,e])=>e!==void 0)}function yt(t){return St.includes(t)}const _=(t,e,n)=>Math.min(n,Math.max(e,t));function Ot(t,e){if(yt(t)){const n=Math.round(Number(e));return!Number.isFinite(n)||n===0?null:_(n,lt,ut)}if(t==="lineHeight"){const n=Number(e);return Number.isFinite(n)?P(_(n,mt,Pt),3):null}if(t==="letterSpacing"){const n=Number(e);return Number.isFinite(n)?P(_(n,Tt,bt),4):null}if(t==="paragraphSpacing"){const n=Math.round(Number(e));return!Number.isFinite(n)||n<=0?null:_(n,_t,Rt)}if(Object.hasOwn(K,t)){const{min:n,max:o}=K[t],r=Math.round(Number(e));return Number.isFinite(r)?_(r,n,o):null}return t==="italic"?typeof e=="boolean"?e:null:t==="role"||t==="fontRole"?E(e)?e:null:t==="sizeToken"?z(e)?e:null:t==="textStyle"?m(e)?e:null:t==="alignPhone"?y.includes(e)?e:null:e}const Nt=["weight","size","sizePhone","line","letter","lineHeight","letterSpacing","paragraphSpacing","padding"];function w(t){let e=null;const n=o=>{e??={...t},delete e[o]};for(const o of Nt){const r=t[o];r!==void 0&&!(typeof r=="number"&&Number.isFinite(r))&&n(o)}return t.align!==void 0&&!y.includes(t.align)&&n("align"),t.alignPhone!==void 0&&!y.includes(t.alignPhone)&&n("alignPhone"),t.textStyle!==void 0&&!m(t.textStyle)&&n("textStyle"),t.sizeToken!==void 0&&!z(t.sizeToken)&&n("sizeToken"),t.fontRole!==void 0&&!E(t.fontRole)&&n("fontRole"),e??t}function z(t){if(!t||typeof t!="object")return!1;const{step:e,px:n,stepPhone:o,pxPhone:r,fluid:i}=t,c=s=>typeof s=="number"&&Number.isFinite(s)&&s>0,p=s=>typeof s=="string"&&At.includes(s);return p(e)&&c(n)&&(o===void 0||p(o))&&(r===void 0||c(r))&&(i===void 0||$t(i,n))}function $t(t,e){if(!t||typeof t!="object"||Array.isArray(t))return!1;const{minPx:n,vw:o,...r}=t;return Object.keys(r).length===0&&typeof n=="number"&&Number.isFinite(n)&&n>0&&n<e&&typeof o=="number"&&Number.isFinite(o)&&o>0&&o<=100}function U(t){return t?.pxPhone&&z(t)?{step:t.stepPhone??t.step,px:t.pxPhone}:null}function B({step:t,px:e,fluid:n}){const o=n?`clamp(${n.minPx}px, ${n.vw}vw, ${e}px)`:`${e}px`,r=`var(--size-${t}, ${o})`;return t.startsWith("heading")?`min(${r}, var(--sf-heading-max,9999px))`:r}const wt=[["font","role"],["font","fontRole"],["role","textStyle"],["line","lineHeight"],["letter","letterSpacing"]];function zt(t){const e=[];for(const[n,o]of wt)n===t?e.push(o):o===t&&e.push(n);return e}function ae(t,e,n,o){const r={...G(t,e)},i=o==null?null:Ot(n,o);if(i===null)delete r[n];else{r[n]=i;for(const c of zt(n))delete r[c]}return X(t,e,r)}function fe(t,e){return X(t,e,{})}function It(t){return tt(t)??"none"}function kt(t){return v(t)??""}const V={heading:"--font-role-heading",heading2:"--font-role-heading2",heading3:"--font-role-heading3",body:"--font-role-body",accent:"--font-role-accent",label:"--font-role-label"};function Mt(t,e){const n=E(t.role);return n||(e?.blockDrawsStyle?null:at(t.textStyle))}function le(t,e){return t==="Text"&&e==="text"}const Ft={headingLarge:"min(clamp(64px,9vw,144px), var(--sf-heading-max,9999px))",headingMedium:"min(32px, var(--sf-heading-max,9999px))",headingSmall:"min(24px, var(--sf-heading-max,9999px))",accent:"32px",body:"14px",label:"12px"};function Lt(t){const e=M[t],n=Ft[e];return n?`var(--size-${e}, ${n})`:`var(--size-${e})`}function jt(t){const e={};return typeof t.lineHeight=="number"?e.lineHeight=t.lineHeight:t.line&&(e.lineHeight=P(Ht+t.line*ht,3)),typeof t.letterSpacing=="number"?e.letterSpacingEm=t.letterSpacing:t.letter&&(e.letterSpacingEm=P(t.letter*gt,4)),e}const Ht=1,g="--sf-part-para";function Y(t){t=w(t);const e={};if(typeof t.sizePhone=="number"&&t.sizePhone>0)e.fontSize=`${t.sizePhone}px`;else{const n=U(t.sizeToken);n&&(e.fontSize=B(n))}return t.alignPhone&&(e.textAlign=t.alignPhone),e}function Dt(t,e){if(!e)return t;const n=w(t);let o=t;if(typeof n.sizePhone=="number"&&n.sizePhone>0)o={...o,size:n.sizePhone};else{const r=U(n.sizeToken);r&&(o={...o,size:void 0,sizeToken:r})}return n.alignPhone&&(o={...o,align:n.alignPhone}),o}function O(t,e,n){t=w(t);const o=Mt(t,n),r=jt(t),i=t.size?`${t.size}px`:t.sizeToken?B(t.sizeToken):o?Lt(o):"";return{fontFamily:t.font?Gt(t.font):t.fontRole?`var(${V[t.fontRole]})`:o?`var(${V[o]})`:"",fontWeight:t.weight?String(t.weight):"",fontSize:i,minWidth:i?"0":"",overflowWrap:i?"break-word":"",lineHeight:r.lineHeight!==void 0?String(r.lineHeight):"",letterSpacing:r.letterSpacingEm!==void 0?`${r.letterSpacingEm}em`:"",[g]:t.paragraphSpacing?`${t.paragraphSpacing}px`:"",textTransform:kt(t.case),textAlign:t.align??"",paddingTop:Z(t.padding),paddingBottom:Z(t.padding),color:Ct(t.color),fontStyle:t.italic===!0?"italic":t.italic===!1?"normal":""}}const Ct=t=>t===void 0||t===""?"":Object.hasOwn(L,t)?L[t]:et(t)===t.toLowerCase()?t:"",Z=t=>t===void 0?"":`${t}px`,P=(t,e)=>Number(t.toFixed(e));function ue(t,e){const n=Number.parseFloat(t.fontSize)||16,o=Number.parseFloat(t.lineHeight),r=Number.parseFloat(t.letterSpacing),i=Number.parseFloat(t.paddingTop);return{fontKey:e,sizePx:n,weight:Kt(Number.parseInt(t.fontWeight,10)),lineRatio:Number.isFinite(o)?P(o/n,3):1.2,letterEm:Number.isFinite(r)?P(r/n,4):0,align:Wt(t.textAlign),case:It(t.textTransform),paddingPx:Number.isFinite(i)?Math.round(i):0}}function Kt(t){return Number.isFinite(t)?ft.reduce((e,n)=>Math.abs(n-t)<Math.abs(e-t)?n:e):400}function Wt(t){for(const e of y)if(e===t)return e;return t==="end"?"right":"left"}function pe(t,e){const n=q(t);if(!n)return"";for(const o of nt)if(q(e(o.cssVar))===n)return o.key;return""}const q=t=>(t.split(",")[0]??"").replace(/["']/g,"").replace(/\s+/g," ").trim().toLowerCase();function Gt(t){const e=ot(t);return e?`var(${e.cssVar})`:""}function de(t,e,n,o){return!e||F(e)?.nodeId!==t?null:n.find(i=>o(i.getAttribute("class")))??n[0]??null}function xe(t,e,n=()=>R,o=p=>p,r=Bt,i=!1,c=()=>!1){let p=0;for(const{element:s,partId:a}of t){const u=F(a)?.propKey;if(!u)continue;const f=o(u),d=Object.hasOwn(e,f)?b(e[f])??{}:{},l=O(Dt(d,i),R,{blockDrawsStyle:c(u)});m(d.textStyle)?s.setAttribute?.(j,d.textStyle):s.removeAttribute?.(j);const S=k.some(h=>s.style[h]);let x=!1;for(const[h,T]of Object.entries(l))Vt(s,h,T),T&&(x=!0);if(S||k.some(h=>l[h]))for(const h of Xt(s,r))for(const T of k)h.style[T]=l[T]??"";x&&(p+=1)}return p}function Xt(t,e){const n=N(t.textContent??""),o=[];let r=t;for(let i=0;i<Ut&&e(r);i+=1){const c=r.parentElement;if(!c||N(c.textContent??"")!==n)break;o.push(c),r=c}return o}const Ut=8;function Bt(t){const e=t;return typeof window>"u"||!e?.ownerDocument?!1:window.getComputedStyle(e).display==="inline"}const R={fontKey:"",sizePx:16,weight:400,lineRatio:1,letterEm:0,align:"left",case:"none",paddingPx:0};function Vt(t,e,n){if(!e.startsWith("--")){t.style[e]=n;return}const o=t.style;typeof o.setProperty=="function"?n?o.setProperty(e,n):o.removeProperty?.(e):o[e]=n;const r=t;e===g&&(n?r.setAttribute?.(J,""):r.removeAttribute?.(J))}const J="data-sf-part-para",Yt=Object.keys(O({},R)),I=new Set(["color","overflowWrap",g,"fontStyle"]),k=Yt.filter(t=>!I.has(t));function he(t,e,n,o=i=>i,r=()=>!1){const i=new Map;for(const s of t){const a=rt(s.key,s.row);for(const u of s.texts){const f=i.get(u);f?(f.keys.add(s.key),f.partKeys.add(a)):i.set(u,{keys:new Set([s.key]),partKeys:new Set([a])})}}const c=new Map;for(const s of Object.keys(e)){if(!Zt(s))continue;const a=b(e[s])??{},u=O(a,R),f=Y(a),d=m(a.textStyle)?a.textStyle:void 0;!Object.values(u).some(Boolean)&&!Object.keys(f).length&&!d||c.set(s,{stamp:Q(n,s),declarations:u,...Object.keys(f).length?{phone:f}:{},...d?{textStyle:d}:{}})}const p=new Map;for(const[s,{keys:a,partKeys:u}]of i){const f=u.size===1?[...u][0]:a.size===1?[...a][0]:null;if(!f)continue;const d=o(f);if(!Object.hasOwn(e,d))continue;const l=b(e[d])??{},S=O(l,R,{blockDrawsStyle:r(f)}),x=Y(l),A=m(l.textStyle)?l.textStyle:void 0;!Object.values(S).some(Boolean)&&!Object.keys(x).length&&!A||p.set(s,{stamp:Q(n,f),declarations:S,...Object.keys(x).length?{phone:x}:{},...A?{textStyle:A}:{}})}return p.size||c.size?{rules:p,kindRules:c,drawn:new Set(i.keys())}:null}function Zt(t){return t.startsWith("@")}function ge(t,e){return t?.kindRules.get(e)??null}function Q(t,e){const n=o=>o.replace(/[^A-Za-z0-9_-]+/g,"-");return`${n(t)}~${n(e)}`}function Se(t){const e=[],n=new Set,o=r=>{const{stamp:i,declarations:c}=r;if(n.has(i))return;n.add(i);const p=Object.entries(c).filter(([,l])=>l!==""),s=l=>l.map(([S,x])=>`${Jt(S)}: ${x}`).join("; "),a=`[${st}="${i}"]`,u=p.filter(([l])=>!I.has(l)),f=p.filter(([l])=>I.has(l));u.length&&e.push(`${a}, *:has(> ${a}) { ${s(u)} }`),f.length&&e.push(`${a} { ${s(f)} }`),c[g]&&(e.push(`*:has(> ${a}) { ${g}: ${c[g]} }`),e.push(...qt(a,`*:has(> ${a})`)));const d=Object.entries(r.phone??{}).filter(([,l])=>l!=="");d.length&&e.push(`@media ${it} { ${a}, *:has(> ${a}) { ${s(d)} } }`)};for(const r of t.rules.values())o(r);for(const r of t.kindRules.values())o(r);return e.join(`
2
- `)}function qt(t,e){const n=`var(${g})`,o=":is([data-sf-bullet], [data-sf-number])";return[`${t} br:not(br + br) { display: block; content: ""; margin-top: ${n} }`,`${t} ${o}:not(:first-child) { margin-top: ${n} }`,`${t} ${o}:not(:last-child) { margin-bottom: ${n} }`,`:is(${e}) + :is(${e}) { margin-top: ${n} }`]}const Jt=t=>t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`);function me(t,e){if(!t)return null;const n=N(e),o=t.rules.get(n);if(o)return o;if(n.length<Qt||t.drawn.has(n))return null;let r=null;for(const[i,c]of t.rules)if(i.includes(n)){if(r&&r.stamp!==c.stamp)return null;r=c}return r}const Qt=8;export{y as PART_ALIGNS,bt as PART_LETTER_EM_MAX,Tt as PART_LETTER_EM_MIN,gt as PART_LETTER_STEP,Pt as PART_LINE_HEIGHT_MAX,mt as PART_LINE_HEIGHT_MIN,ht as PART_LINE_STEP,K as PART_MEASURED_TRACKS,ut as PART_NUDGE_MAX,lt as PART_NUDGE_MIN,dt as PART_PADDING_MAX,pt as PART_PADDING_MIN,xt as PART_PADDING_STEP,J as PART_PARAGRAPH_ATTR,Rt as PART_PARAGRAPH_MAX,_t as PART_PARAGRAPH_MIN,g as PART_PARAGRAPH_VAR,St as PART_RELATIVE_PROPS,C as PART_SIZE_MAX,D as PART_SIZE_MIN,At as PART_SIZE_STEPS,st as PART_STYLED_ATTR,$ as PART_STYLES_PROP,Yt as PART_STYLE_PROPERTIES,ft as PART_WEIGHTS,k as SHARED_PART_PROPERTIES,H as STYLE_ID_OF_ROLE,j as TEXT_STYLE_ATTR,xe as applyPartStyles,le as blockDrawsTextStyle,se as followedStyleOf,Zt as isPartKindKey,m as isTextStyleId,qt as paragraphRules,It as partCaseOfTransform,kt as partCaseTransform,pe as partFontKeyOf,Y as partPhoneDeclarations,ge as partRuleForKind,me as partRuleForText,jt as partSpacingOf,ue as partStyleBase,ce as partStyleCount,Se as partStyleCss,O as partStyleDeclarations,Dt as partStyleForScreen,de as partStyleSource,ae as propsWithPartStyleValue,fe as propsWithoutPartStyle,he as publishedPartStyles,G as readPartStyle,W as readPartStyles};
1
+ import{textStyleCaseCss as q,textStyleCaseOfCss as J}from"efficient-easel/draw";import{parseHexColor as Q}from"efficient-shell/format";import{FONT_OPTIONS as tt,fontOption as et,fontRoleOf as b,SIZE_STEP_OF_ROLE as M}from"../../../format/lib/fonts.js";import{encodePartKey as nt}from"../../../format/lib/document/part-key.js";import{decodePartId as F,normalizePartText as E}from"./text-parts.js";import{COLOUR_TOKEN as L}from"../../../format/lib/word-styles.js";import{PHONE_MEDIA as rt}from"../content/view-values.js";import{plainRecord as $,propsWithPartRecord as ot,readPartRecord as it,readPartRecords as st}from"../../../format/lib/document/part-records.js";const y="_partStyles",at="data-sf-part-styled",H="data-sf-text-style",ct=/^(heading|body)-[1-7]$/;function T(t){return typeof t=="string"&&ct.test(t)}const j={heading:"heading-1",heading2:"heading-2",heading3:"heading-3",body:"body-1",label:"body-5"};function ft(t){if(!t)return null;for(const[e,n]of Object.entries(j))if(n===t)return e;return null}function le(t){if(T(t.textStyle))return t.textStyle;const e=b(t.role);return e?j[e]:void 0}const lt=[400,500,600,700],_=["left","center","right","justify"],D=5,C=1e3,ut=-5,pt=10,dt=0,xt=64,ht=2,K={size:{min:D,max:C,step:1},sizePhone:{min:D,max:C,step:1},padding:{min:dt,max:xt,step:ht}},gt=.05,Pt=.01,mt=["line","letter"],St=.5,Tt=2.5,Rt=-1,bt=1,_t=0,At=400,Et=[...new Set(Object.values(M))];function ue(t){return[`${t} { transition: translate var(--page-motion-hover-duration) var(--page-ease-media) var(--page-motion-hover-delay) }`,`${t}:hover, ${t}:active { translate: 0 calc(-1 * var(--page-hover-lift)) }`]}function pe(t){return st(t,y)}function W(t,e){return it(t,y,e)}function de(t,e){return Object.values(W(t,e)).filter(n=>n!==void 0).length}function G(t,e,n){return ot(t,y,e,$t(n).length?n:null)}function $t(t){return Object.entries(t).filter(([,e])=>e!==void 0)}function yt(t){return mt.includes(t)}const R=(t,e,n)=>Math.min(n,Math.max(e,t));function Nt(t,e){if(yt(t)){const n=Math.round(Number(e));return!Number.isFinite(n)||n===0?null:R(n,ut,pt)}if(t==="lineHeight"){const n=Number(e);return Number.isFinite(n)?m(R(n,St,Tt),3):null}if(t==="letterSpacing"){const n=Number(e);return Number.isFinite(n)?m(R(n,Rt,bt),4):null}if(t==="paragraphSpacing"){const n=Math.round(Number(e));return!Number.isFinite(n)||n<=0?null:R(n,_t,At)}if(Object.hasOwn(K,t)){const{min:n,max:r}=K[t],o=Math.round(Number(e));return Number.isFinite(o)?R(o,n,r):null}return t==="italic"?typeof e=="boolean"?e:null:t==="role"||t==="fontRole"?b(e)?e:null:t==="sizeToken"?O(e)?e:null:t==="textStyle"?T(e)?e:null:t==="alignPhone"?_.includes(e)?e:null:e}const Ot=["weight","size","sizePhone","line","letter","lineHeight","letterSpacing","paragraphSpacing","padding"];function N(t){let e=null;const n=r=>{e??={...t},delete e[r]};for(const r of Ot){const o=t[r];o!==void 0&&!(typeof o=="number"&&Number.isFinite(o))&&n(r)}return t.align!==void 0&&!_.includes(t.align)&&n("align"),t.alignPhone!==void 0&&!_.includes(t.alignPhone)&&n("alignPhone"),t.textStyle!==void 0&&!T(t.textStyle)&&n("textStyle"),t.sizeToken!==void 0&&!O(t.sizeToken)&&n("sizeToken"),t.fontRole!==void 0&&!b(t.fontRole)&&n("fontRole"),e??t}function O(t){if(!t||typeof t!="object")return!1;const{step:e,px:n,stepPhone:r,pxPhone:o,fluid:i}=t,s=f=>typeof f=="number"&&Number.isFinite(f)&&f>0,c=f=>typeof f=="string"&&Et.includes(f);return c(e)&&s(n)&&(r===void 0||c(r))&&(o===void 0||s(o))&&(i===void 0||wt(i,n))}function wt(t,e){if(!t||typeof t!="object"||Array.isArray(t))return!1;const{minPx:n,vw:r,...o}=t;return Object.keys(o).length===0&&typeof n=="number"&&Number.isFinite(n)&&n>0&&n<e&&typeof r=="number"&&Number.isFinite(r)&&r>0&&r<=100}function X(t){return t?.pxPhone&&O(t)?{step:t.stepPhone??t.step,px:t.pxPhone}:null}function U({step:t,px:e,fluid:n}){const r=n?`clamp(${n.minPx}px, ${n.vw}vw, ${e}px)`:`${e}px`,o=`var(--size-${t}, ${r})`;return t.startsWith("heading")?`min(${o}, var(--sf-heading-max,9999px))`:o}const zt=[["font","role"],["font","fontRole"],["role","textStyle"],["line","lineHeight"],["letter","letterSpacing"]];function It(t){const e=[];for(const[n,r]of zt)n===t?e.push(r):r===t&&e.push(n);return e}function xe(t,e,n,r){const o={...W(t,e)},i=r==null?null:Nt(n,r);if(i===null)delete o[n];else{o[n]=i;for(const s of It(n))delete o[s]}return G(t,e,o)}function he(t,e){return G(t,e,{})}function kt(t){return J(t)??"none"}function Mt(t){return q(t)??""}const V={heading:"--font-role-heading",heading2:"--font-role-heading2",heading3:"--font-role-heading3",body:"--font-role-body",accent:"--font-role-accent",label:"--font-role-label"};function Ft(t,e){const n=b(t.role);return n||(e?.blockDrawsStyle?null:ft(t.textStyle))}function ge(t,e){return t==="Text"&&e==="text"}const Lt={headingLarge:"min(clamp(64px,9vw,144px), var(--sf-heading-max,9999px))",headingMedium:"min(32px, var(--sf-heading-max,9999px))",headingSmall:"min(24px, var(--sf-heading-max,9999px))",accent:"32px",body:"14px",label:"12px"};function Ht(t){const e=M[t],n=Lt[e];return n?`var(--size-${e}, ${n})`:`var(--size-${e})`}function jt(t){const e={};return typeof t.lineHeight=="number"?e.lineHeight=t.lineHeight:t.line&&(e.lineHeight=m(Dt+t.line*gt,3)),typeof t.letterSpacing=="number"?e.letterSpacingEm=t.letterSpacing:t.letter&&(e.letterSpacingEm=m(t.letter*Pt,4)),e}const Dt=1,P="--sf-part-para";function Ct(t){t=N(t);const e={};if(typeof t.sizePhone=="number"&&t.sizePhone>0)e.fontSize=`${t.sizePhone}px`;else{const n=X(t.sizeToken);n&&(e.fontSize=U(n))}return t.alignPhone&&(e.textAlign=t.alignPhone),e}function Kt(t,e){if(!e)return t;const n=N(t);let r=t;if(typeof n.sizePhone=="number"&&n.sizePhone>0)r={...r,size:n.sizePhone};else{const o=X(n.sizeToken);o&&(r={...r,size:void 0,sizeToken:o})}return n.alignPhone&&(r={...r,align:n.alignPhone}),r}function w(t,e,n){t=N(t);const r=Ft(t,n),o=jt(t),i=t.size?`${t.size}px`:t.sizeToken?U(t.sizeToken):r?Ht(r):"";return{fontFamily:t.font?Ut(t.font):t.fontRole?`var(${V[t.fontRole]})`:r?`var(${V[r]})`:"",fontWeight:t.weight?String(t.weight):"",fontSize:i,minWidth:i?"0":"",overflowWrap:i?"break-word":"",lineHeight:o.lineHeight!==void 0?String(o.lineHeight):"",letterSpacing:o.letterSpacingEm!==void 0?`${o.letterSpacingEm}em`:"",[P]:t.paragraphSpacing?`${t.paragraphSpacing}px`:"",textTransform:Mt(t.case),textAlign:t.align??"",paddingTop:Y(t.padding),paddingBottom:Y(t.padding),color:Wt(t.color),fontStyle:t.italic===!0?"italic":t.italic===!1?"normal":""}}const Wt=t=>t===void 0||t===""?"":Object.hasOwn(L,t)?L[t]:Q(t)===t.toLowerCase()?t:"",Y=t=>t===void 0?"":`${t}px`,m=(t,e)=>Number(t.toFixed(e));function Pe(t,e){const n=Number.parseFloat(t.fontSize)||16,r=Number.parseFloat(t.lineHeight),o=Number.parseFloat(t.letterSpacing),i=Number.parseFloat(t.paddingTop);return{fontKey:e,sizePx:n,weight:Gt(Number.parseInt(t.fontWeight,10)),lineRatio:Number.isFinite(r)?m(r/n,3):1.2,letterEm:Number.isFinite(o)?m(o/n,4):0,align:Xt(t.textAlign),case:kt(t.textTransform),paddingPx:Number.isFinite(i)?Math.round(i):0}}function Gt(t){return Number.isFinite(t)?lt.reduce((e,n)=>Math.abs(n-t)<Math.abs(e-t)?n:e):400}function Xt(t){for(const e of _)if(e===t)return e;return t==="end"?"right":"left"}function me(t,e){const n=v(t);if(!n)return"";for(const r of tt)if(v(e(r.cssVar))===n)return r.key;return""}const v=t=>(t.split(",")[0]??"").replace(/["']/g,"").replace(/\s+/g," ").trim().toLowerCase();function Ut(t){const e=et(t);return e?`var(${e.cssVar})`:""}function Se(t,e,n,r){return!e||F(e)?.nodeId!==t?null:n.find(i=>r(i.getAttribute("class")))??n[0]??null}function Te(t,e,n=()=>A,r=c=>c,o=vt,i=!1,s=()=>!1){let c=0;for(const{element:f,partId:u}of t){const l=F(u)?.propKey;if(!l)continue;const p=r(l),d=Object.hasOwn(e,p)?$(e[p])??{}:{},a=w(Kt(d,i),A,{blockDrawsStyle:s(l)});T(d.textStyle)?f.setAttribute?.(H,d.textStyle):f.removeAttribute?.(H);const h=I.some(x=>f.style[x]);let g=!1;for(const[x,S]of Object.entries(a))Bt(f,x,S),S&&(g=!0);if(h||I.some(x=>a[x]))for(const x of Vt(f,o))for(const S of I)x.style[S]=a[S]??"";g&&(c+=1)}return c}function Vt(t,e){const n=E(t.textContent??""),r=[];let o=t;for(let i=0;i<Yt&&e(o);i+=1){const s=o.parentElement;if(!s||E(s.textContent??"")!==n)break;r.push(s),o=s}return r}const Yt=8;function vt(t){const e=t;return typeof window>"u"||!e?.ownerDocument?!1:window.getComputedStyle(e).display==="inline"}const A={fontKey:"",sizePx:16,weight:400,lineRatio:1,letterEm:0,align:"left",case:"none",paddingPx:0};function Bt(t,e,n){if(!e.startsWith("--")){t.style[e]=n;return}const r=t.style;typeof r.setProperty=="function"?n?r.setProperty(e,n):r.removeProperty?.(e):r[e]=n;const o=t;e===P&&(n?o.setAttribute?.(B,""):o.removeAttribute?.(B))}const B="data-sf-part-para",Zt=Object.keys(w({},A)),z=new Set(["color","overflowWrap",P,"fontStyle"]),I=Zt.filter(t=>!z.has(t));function Re(t,e,n,r=c=>c,o=()=>!1,i=()=>null,s=[]){const c=new Map;for(const l of t){const p=nt(l.key,l.row);for(const d of l.texts){const a=c.get(d);a?(a.keys.add(l.key),a.partKeys.add(p)):c.set(d,{keys:new Set([l.key]),partKeys:new Set([p])})}}const f=new Map;for(const l of new Set([...Object.keys(e),...s])){if(!qt(l))continue;const p=Z(n,l,$(e[l])??{},!1,i(l));p&&f.set(l,p)}const u=new Map;for(const[l,{keys:p,partKeys:d}]of c){const a=d.size===1?[...d][0]:p.size===1?[...p][0]:null;if(!a)continue;const h=r(a),g=i(h);if(!Object.hasOwn(e,h)&&!g)continue;const k=$(e[h])??{},x=Z(n,a,k,o(a),g);x&&u.set(l,x)}return u.size||f.size?{rules:u,kindRules:f,drawn:new Set(c.keys())}:null}function Z(t,e,n,r,o){const i=w(n,A,{blockDrawsStyle:r}),s=Ct(n),c=T(n.textStyle)?n.textStyle:void 0;return!Object.values(i).some(Boolean)&&!Object.keys(s).length&&!c&&!o?null:{stamp:Jt(t,e),declarations:i,...Object.keys(s).length?{phone:s}:{},...c?{textStyle:c}:{},...o?{motion:o}:{}}}function qt(t){return t.startsWith("@")}function be(t,e){return t?.kindRules.get(e)??null}function Jt(t,e){const n=r=>r.replace(/[^A-Za-z0-9_-]+/g,"-");return`${n(t)}~${n(e)}`}function _e(t){const e=[],n=new Set,r=o=>{const{stamp:i,declarations:s}=o;if(n.has(i))return;n.add(i);const c=Object.entries(s).filter(([,a])=>a!==""),f=a=>a.map(([h,g])=>`${te(h)}: ${g}`).join("; "),u=`[${at}="${i}"]`,l=c.filter(([a])=>!z.has(a)),p=c.filter(([a])=>z.has(a));l.length&&e.push(`${u}, *:has(> ${u}) { ${f(l)} }`),p.length&&e.push(`${u} { ${f(p)} }`),s[P]&&(e.push(`*:has(> ${u}) { ${P}: ${s[P]} }`),e.push(...Qt(u,`*:has(> ${u})`)));const d=Object.entries(o.phone??{}).filter(([,a])=>a!=="");d.length&&e.push(`@media ${rt} { ${u}, *:has(> ${u}) { ${f(d)} } }`)};for(const o of t.rules.values())r(o);for(const o of t.kindRules.values())r(o);return e.join(`
2
+ `)}function Qt(t,e){const n=`var(${P})`,r=":is([data-sf-bullet], [data-sf-number])";return[`${t} br:not(br + br) { display: block; content: ""; margin-top: ${n} }`,`${t} ${r}:not(:first-child) { margin-top: ${n} }`,`${t} ${r}:not(:last-child) { margin-bottom: ${n} }`,`:is(${e}) + :is(${e}) { margin-top: ${n} }`]}const te=t=>t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`);function Ae(t,e){if(!t)return null;const n=E(e),r=t.rules.get(n);if(r)return r;if(n.length<ee||t.drawn.has(n))return null;let o=null;for(const[i,s]of t.rules)if(i.includes(n)){if(o&&o.stamp!==s.stamp)return null;o=s}return o}const ee=8;export{_ as PART_ALIGNS,bt as PART_LETTER_EM_MAX,Rt as PART_LETTER_EM_MIN,Pt as PART_LETTER_STEP,Tt as PART_LINE_HEIGHT_MAX,St as PART_LINE_HEIGHT_MIN,gt as PART_LINE_STEP,K as PART_MEASURED_TRACKS,pt as PART_NUDGE_MAX,ut as PART_NUDGE_MIN,xt as PART_PADDING_MAX,dt as PART_PADDING_MIN,ht as PART_PADDING_STEP,B as PART_PARAGRAPH_ATTR,At as PART_PARAGRAPH_MAX,_t as PART_PARAGRAPH_MIN,P as PART_PARAGRAPH_VAR,mt as PART_RELATIVE_PROPS,C as PART_SIZE_MAX,D as PART_SIZE_MIN,Et as PART_SIZE_STEPS,at as PART_STYLED_ATTR,y as PART_STYLES_PROP,Zt as PART_STYLE_PROPERTIES,lt as PART_WEIGHTS,I as SHARED_PART_PROPERTIES,j as STYLE_ID_OF_ROLE,H as TEXT_STYLE_ATTR,Te as applyPartStyles,ge as blockDrawsTextStyle,le as followedStyleOf,qt as isPartKindKey,T as isTextStyleId,Qt as paragraphRules,kt as partCaseOfTransform,Mt as partCaseTransform,me as partFontKeyOf,ue as partLiftRules,Ct as partPhoneDeclarations,be as partRuleForKind,Ae as partRuleForText,jt as partSpacingOf,Pe as partStyleBase,de as partStyleCount,_e as partStyleCss,w as partStyleDeclarations,Kt as partStyleForScreen,Se as partStyleSource,xe as propsWithPartStyleValue,he as propsWithoutPartStyle,Re as publishedPartStyles,W as readPartStyle,pe as readPartStyles};
@@ -1 +1 @@
1
- import{jsx as n}from"react/jsx-runtime";import{CardRowDrawn as m}from"../../../components/CardRowContext.js";import{PublishedPartStyles as y}from"../../../components/PublishedPartStylesContext.js";import{readPartStyles as h}from"../part-styles.js";import{partNeedles as f}from"../text-parts.js";const j={name:"clickableParts",applies:(o,t,s)=>typeof s?.render=="function",draw(o,t,s){const r=o,d=()=>r.textParts??r.fields,i=r.render,a=s.inspector?.PartAnchors;r.render=e=>{const c=h(e);return e.editor?.isEditing&&a?n(m,{type:t,props:e,children:l=>n(a,{needles:f(d(),l),styles:c,type:t,children:i(e)})}):Object.keys(c).length?n(m,{type:t,props:e,children:l=>n(y,{needles:f(d(),l),styles:c,type:t,children:i(e)})}):i(e)}}};export{j as clickableParts};
1
+ import{jsx as n}from"react/jsx-runtime";import{CardRowDrawn as f}from"../../../components/CardRowContext.js";import{PublishedPartStyles as h}from"../../../components/PublishedPartStylesContext.js";import{readPartStyles as P}from"../part-styles.js";import{readPartMotions as p}from"../../animation/part-motion.js";import{partNeedles as y}from"../text-parts.js";const _={name:"clickableParts",applies:(a,e,s)=>typeof s?.render=="function",draw(a,e,s){const r=a,d=()=>r.textParts??r.fields,o=r.render,m=s.inspector?.PartAnchors;r.render=t=>{const i=P(t),c=p(t);return t.editor?.isEditing&&m?n(f,{type:e,props:t,children:l=>n(m,{needles:y(d(),l),styles:i,motions:c,type:e,children:o(t)})}):!Object.keys(i).length&&!Object.keys(c).length?o(t):n(f,{type:e,props:t,children:l=>n(h,{needles:y(d(),l),styles:i,motions:c,type:e,children:o(t)})})}}};export{_ as clickableParts};
@@ -1,3 +1,4 @@
1
1
  import type { BlockPass } from "../../../../format/lib/document/passes/types.js";
2
2
  export declare const SECTION_ANCHOR_IN_BOX_CLASS = "!grow-0 !shrink-0 !basis-0";
3
+ export declare const ANCHOR_GAP_BACK_CLASS: string;
3
4
  export declare const sectionAnchor: BlockPass;
@@ -1 +1 @@
1
- import{jsx as o,jsxs as t,Fragment as a}from"react/jsx-runtime";import{slugify as i}from"efficient-shell/format";import{useBoxCell as f,useFillsCell as u,useInBox as d}from"../../../components/InBoxContext.js";const h="!grow-0 !shrink-0 !basis-0",x="flex flex-col w-full min-w-0 [&>*]:grow";function c({anchor:n}){const s=i(typeof n=="string"?n:""),e=d();return s?o("span",{id:s,className:e?`sf-section-anchor ${h}`:"sf-section-anchor","aria-hidden":"true"}):null}function A({anchor:n,children:s}){const e=f()?.columnsRow===!0,r=u(),l=i(typeof n=="string"?n:"")!=="";return e&&!r&&l?t("div",{className:x,children:[o(c,{anchor:n}),s]}):t(a,{children:[o(c,{anchor:n}),s]})}const g={name:"sectionAnchor",applies:(n,s,e)=>s.isSection(n)&&!!e&&typeof e.render=="function",panel(n,s,e){const r=e.anchorFields;n.fields={...n.fields,...r()}},draw(n){n.defaultProps={...n.defaultProps,anchor:""};const s=n.render;n.render=e=>o(A,{anchor:e.anchor,children:s(e)})}};export{h as SECTION_ANCHOR_IN_BOX_CLASS,g as sectionAnchor};
1
+ import{jsx as s,jsxs as o,Fragment as p}from"react/jsx-runtime";import{anchorSlug as l}from"../../../../format/lib/content/anchor-name.js";import{useBoxCell as c,useFillsCell as f,useInBox as d}from"../../../components/InBoxContext.js";const h="!grow-0 !shrink-0 !basis-0",m=["[.sf-gap-zone>&]:w-0","[.sf-gap-zone>&]:h-0","[.sf-gap-zone>&]:-mb-[var(--sf-gap-len)]","[.sf-gap-zone>&]:-mr-[var(--sf-gap-len)]","[@media(min-width:800.02px)_and_(max-width:1099.98px)]:[.sf-gap-zone>&]:-mb-[var(--sf-gap-len-tablet,var(--sf-gap-len))]","[@media(min-width:800.02px)_and_(max-width:1099.98px)]:[.sf-gap-zone>&]:-mr-[var(--sf-gap-len-tablet,var(--sf-gap-len))]","[@media(min-width:720px)_and_(max-width:800px)]:[.sf-gap-zone>&]:-mb-[var(--sf-gap-len-tablet,var(--sf-gap-len-phone,calc(var(--sf-gap-len)/2)))]","[@media(min-width:720px)_and_(max-width:800px)]:[.sf-gap-zone>&]:-mr-[var(--sf-gap-len-tablet,var(--sf-gap-len-phone,calc(var(--sf-gap-len)/2)))]","[@media(max-width:719.98px)]:[.sf-gap-zone>&]:-mb-[var(--sf-gap-len-phone,calc(var(--sf-gap-len)/2))]","[@media(max-width:719.98px)]:[.sf-gap-zone>&]:-mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len)/2))]"].join(" "),g="flex flex-col w-full min-w-0 [&>*]:grow";function i({anchor:n}){const e=l(n),a=d();return e?s("span",{id:e,className:a?`sf-section-anchor ${h} ${m}`:"sf-section-anchor","aria-hidden":"true"}):null}function x({anchor:n,children:e}){const a=c()?.columnsRow===!0,r=f(),t=l(n)!=="";return a&&!r&&t?o("div",{className:g,children:[s(i,{anchor:n}),e]}):o(p,{children:[s(i,{anchor:n}),e]})}const v={name:"sectionAnchor",applies:(n,e,a)=>e.isSection(n)&&!!a&&typeof a.render=="function",panel(n,e,a){const r=a.anchorFields;n.fields={...n.fields,...r()}},draw(n){n.defaultProps={...n.defaultProps,anchor:""};const e=n.render;n.render=a=>s(x,{anchor:a.anchor,children:e(a)})}};export{m as ANCHOR_GAP_BACK_CLASS,h as SECTION_ANCHOR_IN_BOX_CLASS,v as sectionAnchor};
@@ -1 +1 @@
1
- import{jsx as _}from"react/jsx-runtime";import{isBackgroundBox as u}from"../../../../format/lib/content/box-background.js";import{SECTION_PAD_KEYS as S,padValuesOf as m,resolveSectionPadding as g,sectionPadAttrs as p}from"../../content/section-padding.js";import{sectionFillPassClass as T}from"../../../../format/lib/content/section-min-height.js";const l={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120},DetailRows:{top:100,bottom:100}},c=new Set(Object.keys(l)),P=new Set(["Flex","Text","Heading","ImageBlock"]),I=new Set(["Divider"]),A=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),f=new Set(["ProductGrid"]);function i(e,t,o=!1){const r=e.render;e.render=n=>{if(t?.(n))return r(n);const s=p(m(n,S,o)),a=r(n),d=T(n);return s?_("div",{className:d?`${s.className} ${d}`:s.className,style:s.style,children:a}):a}}const h={name:"sectionPadding",applies:(e,t,o)=>t.isSection(e)&&!A.has(e)&&!!o&&typeof o.render=="function",panel(e,t,o){c.has(t)||f.has(t)||(e.fields={...e.fields,...o.sidesPaddingFields()})},draw(e,t){if(c.has(t)){const o=e.render,r=l[t];e.render=n=>{const s=g(n,r);return o({...n,padTop:s.top,padBottom:s.bottom})};return}if(f.has(t)){i(e);return}P.has(t)||I.has(t)||i(e,t==="Flex"?o=>u(o.bgImage):void 0,!0)}},D=["Heading","Text","ImageBlock"],E=["LogoBlock"],B={name:"blockPadding",applies:(e,t,o)=>(D.includes(e)||E.includes(e))&&!!o&&typeof o.render=="function",panel(e,t,o){e.fields={...e.fields,...o.sidesPaddingFields()}},draw(e,t){P.has(t)||i(e,void 0,!0)}};export{I as PADS_ITS_OWN_SPACE,P as PAD_ON_ROOT,c as SECTION_PAD_INNER,l as SECTION_PAD_INNER_DEFAULTS,B as blockPadding,h as sectionPadding};
1
+ import{jsx as _}from"react/jsx-runtime";import{isBackgroundBox as u}from"../../../../format/lib/content/box-background.js";import{SECTION_PAD_KEYS as S,padValuesOf as m,resolveSectionPadding as g,sectionPadAttrs as p}from"../../content/section-padding.js";import{sectionFillPassClass as T}from"../../../../format/lib/content/section-min-height.js";const l={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120},DetailRows:{top:100,bottom:100}},c=new Set(Object.keys(l)),P=new Set(["Flex","Text","Heading","ImageBlock"]),b=new Set(["Divider"]),I=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),f=new Set(["ProductGrid"]);function a(t,e,o=!1){const r=t.render;t.render=n=>{if(e?.(n))return r(n);const s=p(m(n,S,o)),i=r(n),d=T(n);return s?_("div",{className:d?`${s.className} ${d}`:s.className,style:s.style,children:i}):i}}const h={name:"sectionPadding",applies:(t,e,o)=>e.isSection(t)&&!I.has(t)&&!!o&&typeof o.render=="function",panel(t,e,o){c.has(e)||f.has(e)||(t.fields={...t.fields,...o.sidesPaddingFields({tablet:!0})})},draw(t,e){if(c.has(e)){const o=t.render,r=l[e];t.render=n=>{const s=g(n,r);return o({...n,padTop:s.top,padBottom:s.bottom})};return}if(f.has(e)){a(t);return}P.has(e)||b.has(e)||a(t,e==="Flex"?o=>u(o.bgImage):void 0,!0)}},A=["Heading","Text","ImageBlock"],D=["LogoBlock"],B={name:"blockPadding",applies:(t,e,o)=>(A.includes(t)||D.includes(t))&&!!o&&typeof o.render=="function",panel(t,e,o){t.fields={...t.fields,...o.sidesPaddingFields({tablet:!0})}},draw(t,e){P.has(e)||a(t,void 0,!0)}};export{b as PADS_ITS_OWN_SPACE,P as PAD_ON_ROOT,c as SECTION_PAD_INNER,l as SECTION_PAD_INNER_DEFAULTS,B as blockPadding,h as sectionPadding};
@@ -83,6 +83,7 @@ export type ListPart = {
83
83
  flat?: boolean;
84
84
  props?: OwnProps;
85
85
  item?: (item: Props, index: number, node: Props) => ListItemLook;
86
+ of?: (src: Props) => Props[];
86
87
  perRow?: (node: Props) => number;
87
88
  rowName?: string;
88
89
  rowProps?: OwnProps;