efficient-web-builder 74.2.0 → 74.3.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 (106) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/editor/components/SectionTextPartBridge.d.ts +2 -8
  3. package/dist/editor/components/SectionTextPartBridge.js +1 -1
  4. package/dist/editor/lib/document/own-pad-fields.d.ts +4 -3
  5. package/dist/editor/lib/document/own-pad-fields.js +1 -1
  6. package/dist/format/lib/document/passes/types.d.ts +3 -2
  7. package/dist/render/components/Banner.d.ts +3 -1
  8. package/dist/render/components/Banner.js +1 -1
  9. package/dist/render/components/Cards.d.ts +3 -1
  10. package/dist/render/components/Cards.js +1 -1
  11. package/dist/render/components/ChartSection.d.ts +3 -1
  12. package/dist/render/components/ChartSection.js +1 -1
  13. package/dist/render/components/ContactLocations.d.ts +3 -1
  14. package/dist/render/components/ContactLocations.js +2 -2
  15. package/dist/render/components/Countdown.d.ts +3 -1
  16. package/dist/render/components/Countdown.js +1 -1
  17. package/dist/render/components/DocBody.d.ts +3 -1
  18. package/dist/render/components/DocBody.js +5 -5
  19. package/dist/render/components/DocMasthead.d.ts +3 -1
  20. package/dist/render/components/DocMasthead.js +1 -1
  21. package/dist/render/components/DocMetaCards.d.ts +3 -1
  22. package/dist/render/components/DocMetaCards.js +1 -1
  23. package/dist/render/components/FAQ.d.ts +3 -1
  24. package/dist/render/components/FAQ.js +1 -1
  25. package/dist/render/components/FeaturedCover.d.ts +3 -1
  26. package/dist/render/components/FeaturedCover.js +1 -1
  27. package/dist/render/components/Grid.d.ts +3 -1
  28. package/dist/render/components/Grid.js +1 -1
  29. package/dist/render/components/IntegrationsSection.d.ts +3 -1
  30. package/dist/render/components/IntegrationsSection.js +1 -1
  31. package/dist/render/components/KeyFeatures.d.ts +3 -1
  32. package/dist/render/components/KeyFeatures.js +1 -1
  33. package/dist/render/components/Logos.d.ts +3 -1
  34. package/dist/render/components/Logos.js +1 -1
  35. package/dist/render/components/LongRead.d.ts +3 -1
  36. package/dist/render/components/LongRead.js +1 -1
  37. package/dist/render/components/Masthead.d.ts +3 -1
  38. package/dist/render/components/Masthead.js +1 -1
  39. package/dist/render/components/MockupSection.d.ts +3 -1
  40. package/dist/render/components/MockupSection.js +1 -1
  41. package/dist/render/components/OrderSummary.d.ts +3 -1
  42. package/dist/render/components/OrderSummary.js +1 -1
  43. package/dist/render/components/PaymentBadges.d.ts +3 -1
  44. package/dist/render/components/PaymentBadges.js +1 -1
  45. package/dist/render/components/Prose.d.ts +3 -1
  46. package/dist/render/components/Prose.js +1 -1
  47. package/dist/render/components/SectionHeader.d.ts +2 -1
  48. package/dist/render/components/SectionHeader.js +1 -1
  49. package/dist/render/components/Series.d.ts +3 -1
  50. package/dist/render/components/Series.js +1 -1
  51. package/dist/render/components/Stats.d.ts +3 -1
  52. package/dist/render/components/Stats.js +1 -1
  53. package/dist/render/components/Testimonials.d.ts +3 -1
  54. package/dist/render/components/Testimonials.js +1 -1
  55. package/dist/render/components/TickerSection.d.ts +3 -1
  56. package/dist/render/components/TickerSection.js +1 -1
  57. package/dist/render/lib/content/section-own-pads.d.ts +35 -0
  58. package/dist/render/lib/content/section-own-pads.js +1 -0
  59. package/dist/render/lib/content/section-padding.d.ts +9 -3
  60. package/dist/render/lib/content/section-padding.js +1 -1
  61. package/dist/render/lib/document/blocks/general/Banner/render.js +1 -1
  62. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
  63. package/dist/render/lib/document/blocks/general/Chart/render.js +1 -1
  64. package/dist/render/lib/document/blocks/general/ContactLocations/render.js +1 -1
  65. package/dist/render/lib/document/blocks/general/Countdown/render.js +1 -1
  66. package/dist/render/lib/document/blocks/general/DocBody/render.js +1 -1
  67. package/dist/render/lib/document/blocks/general/DocMasthead/render.js +1 -1
  68. package/dist/render/lib/document/blocks/general/DocMetaCards/render.js +1 -1
  69. package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -1
  70. package/dist/render/lib/document/blocks/general/FeaturedCover/render.js +1 -1
  71. package/dist/render/lib/document/blocks/general/Grid/render.js +1 -1
  72. package/dist/render/lib/document/blocks/general/Integrations/render.js +2 -2
  73. package/dist/render/lib/document/blocks/general/KeyFeatures/render.js +1 -1
  74. package/dist/render/lib/document/blocks/general/Logos/render.js +1 -1
  75. package/dist/render/lib/document/blocks/general/LongRead/render.js +1 -1
  76. package/dist/render/lib/document/blocks/general/Masthead/render.js +1 -1
  77. package/dist/render/lib/document/blocks/general/Mockup/render.js +2 -2
  78. package/dist/render/lib/document/blocks/general/OrderSummary/render.js +1 -1
  79. package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
  80. package/dist/render/lib/document/blocks/general/Prose/render.js +1 -1
  81. package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
  82. package/dist/render/lib/document/blocks/general/Series/render.js +1 -1
  83. package/dist/render/lib/document/blocks/general/Stats/render.js +1 -1
  84. package/dist/render/lib/document/blocks/general/Testimonials/render.js +1 -1
  85. package/dist/render/lib/document/blocks/general/Ticker/render.js +1 -1
  86. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  87. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
  88. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  89. package/dist/render/lib/document/blocks/general/section-to-box-rows-integrations.js +1 -1
  90. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  91. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -1
  92. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -1
  93. package/dist/render/lib/document/blocks/general/section-to-box-rows-promo.js +1 -1
  94. package/dist/render/lib/document/blocks/general/section-to-box-rows-proof.js +1 -1
  95. package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -1
  96. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  97. package/dist/render/lib/document/editing-bridges.d.ts +5 -1
  98. package/dist/render/lib/document/editing-bridges.js +1 -1
  99. package/dist/render/lib/document/part-styles.d.ts +3 -1
  100. package/dist/render/lib/document/part-styles.js +2 -2
  101. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  102. package/dist/render/lib/document/passes/section-padding.d.ts +3 -3
  103. package/dist/render/lib/document/passes/section-padding.js +1 -1
  104. package/dist/routine-index.json +1 -1
  105. package/dist/value-index.json +1 -1
  106. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 74.3.0 - 2026-11-22
4
+
5
+ From main at `9ce39b74`: #830.
6
+
7
+ A minor: a stored section top or bottom padding is drawn once, on the section, for 25 sections; the Padding row's older-value note is per side; a card text region takes its block's size cap. New exports and a new optional block setting; no new peer, no removed path. No stored key or value moves. A section with nothing stored, or an older value without `padTotal`, draws main's bytes (310-case fixture in `test-section-one-padding`).
8
+
9
+ **For hosts:**
10
+ - No host step. storefront-blocks declares the product name cap (`partSizeCaps: { "@name": true }`) in its own PR (batch 2).
11
+
12
+ ### Fixed
13
+
14
+ - **A stored top or bottom total is drawn once, on the section.** Before, a section with a vertical padding of its own drew a stored Padding top or bottom in the outer wrapper (`.sf-section-pad`) and its own class inside it, so "top 40" drew 40 plus its own padding. Now, once a top or bottom is a total (its key in `padTotal`, written by an edit of the Padding row), the element that draws the section's own padding draws it once (`sectionRootPad`, `withRootPad`, `lib/content/section-own-pads`) and the wrapper keeps the sides only. Sections: Banner, Cards, Chart, ContactLocations, Countdown, DocBody, DocMasthead, DocMetaCards, FAQ, FeaturedCover, Grid, Integrations, KeyFeatures, Logos, LongRead, Masthead, Mockup, OrderSummary, PaymentBadges, Prose, SectionHeader, Series, Stats, Testimonials, Ticker. Manifesto and Split are not changed (their padding is on a words column, `NO_OWN_PAD`). Look change on newly edited values only. A guard, `test-section-one-padding`, fails a new section with its own vertical padding until it names its frame in `SECTION_OWN_PADS`. (#830)
15
+ - **The Padding row's older-value note is per side.** While a top or bottom value is an older one, the row of that side gives the frame of that side ("plus 40 px (older setting)"), and nothing when that frame is 0. Before, only the top rows spoke, with the top frame. (#830)
16
+
17
+ ### Added
18
+
19
+ - **A card text region takes its block's size cap.** A block that names a kind in `partSizeCaps` (for example `{ "@name": true }`) caps the region's size in the published sheet and on the canvas (`BlockSizeCapsProvider`, `lib/document/editing-bridges`). Each block sets its own caps; a nested block gets none of its parent's. A block that names no kind draws the same bytes. (#830)
20
+ - One home for the own pads of these sections: `lib/content/section-own-pads` (`FAQ_OWN`, `LONG_READ_OWN`, `GRID_OWN`, `TESTIMONIALS_OWN`, ...). The section-to-box rows read the same names; converter output is unchanged. (#830)
21
+
3
22
  ## 74.2.0 - 2026-11-22
4
23
 
5
24
  From main at `65a9e17d`: #827, #828.
@@ -1,8 +1,2 @@
1
- import { type ReactNode } from "react";
2
- import { type PartStyles } from "../../render/lib/document/part-styles.js";
3
- export default function SectionTextPartBridge({ nodeId, sectionType, partStyles, children, }: {
4
- nodeId: string;
5
- sectionType: string;
6
- partStyles?: PartStyles;
7
- children: ReactNode;
8
- }): import("react").JSX.Element;
1
+ import type { SectionTextBridgeProps } from "../../render/lib/document/editing-bridges.js";
2
+ export default function SectionTextPartBridge({ nodeId, sectionType, partStyles, sizeCaps, children, }: SectionTextBridgeProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- "use client";import{jsx as x}from"react/jsx-runtime";import{useEffect as E,useRef as _}from"react";import{markOverlayPortal as I}from"../../format/lib/document/overlay-portal.js";import{measureStyleBase as O,styleTagsOf as w}from"./PreviewPartAnchors.js";import{shownTier as D}from"efficient-easel/screen/lib/document/device-fields";import{usePreviewDevice as K,usePreviewParts as N}from"efficient-easel/draw/client";import{usePartStyle as j}from"./PreviewPartStyleContext.js";import{REGION_PART_ATTR as R,encodePartId as B}from"../../render/lib/document/text-parts.js";import{TEXT_REGION_ATTR as v,textRegionOfAttr as C,textRegionPartKey as G}from"../../format/lib/sections/text-regions.js";import{regionsForSection as X}from"../../format/lib/sections/section-text-regions.js";import{TEXT_STYLE_ATTR as n,isTextStyleId as k,regionCanvasDeclarations as q,regionCanvasRestore as J,regionSheetStyle as L,regionShownDeclarations as Y}from"../../render/lib/document/part-styles.js";function $({nodeId:s,sectionType:c,partStyles:m,children:z}){const y=_(null),{selectedPartId:u}=N(),{setPartStyle:p}=j(),f=D(K()),F=JSON.stringify(m??null);return E(()=>{const S=y.current,o=X(c);if(!S||!s||!o)return;const l=[],d=Array.from(S.querySelectorAll(`[${v}]`));for(const t of d){const r=C(o,t.getAttribute(v));if(!r)continue;const g=I(t);g&&l.push(g);const T=G(r),a=B(s,T);t.setAttribute(R,a);const i=m?.[T];if(o[r].sized&&L(i)){const e=q(i,f),b={fontFamily:t.style.fontFamily,fontSize:t.style.fontSize},A=t.getAttribute(n);e.fontFamily&&(t.style.fontFamily=e.fontFamily),e.fontSize&&(t.style.fontSize=e.fontSize);const h={fontFamily:e.fontFamily?t.style.fontFamily:void 0,fontSize:e.fontSize?t.style.fontSize:void 0},P=i?.textStyle;k(P)&&t.setAttribute(n,P),l.push(()=>{J(t.style,b,h),A===null?t.removeAttribute(n):t.setAttribute(n,A)})}if(a===u){const e=O(t,Y(i,o[r],f));p({partId:a,...w(t),base:e})}}return()=>{for(const t of l)t();for(const t of d)t.removeAttribute(R)}},[s,c,u,p,f,F]),x("div",{ref:y,style:{display:"contents"},children:z})}export{$ as default};
1
+ "use client";import{jsx as E}from"react/jsx-runtime";import{useEffect as _,useRef as I}from"react";import{markOverlayPortal as O}from"../../format/lib/document/overlay-portal.js";import{measureStyleBase as w,styleTagsOf as C}from"./PreviewPartAnchors.js";import{shownTier as D}from"efficient-easel/screen/lib/document/device-fields";import{usePreviewDevice as K,usePreviewParts as N}from"efficient-easel/draw/client";import{usePartStyle as j}from"./PreviewPartStyleContext.js";import{REGION_PART_ATTR as v,encodePartId as k}from"../../render/lib/document/text-parts.js";import{TEXT_REGION_ATTR as z,textRegionOfAttr as B,textRegionPartKey as G}from"../../format/lib/sections/text-regions.js";import{regionsForSection as X}from"../../format/lib/sections/section-text-regions.js";import{TEXT_STYLE_ATTR as n,blockCapsPartSize as q,isTextStyleId as J,regionCanvasDeclarations as L,regionCanvasRestore as Y,regionSheetStyle as $,regionShownDeclarations as H}from"../../render/lib/document/part-styles.js";function M({nodeId:s,sectionType:m,partStyles:y,sizeCaps:u,children:b}){const p=I(null),{selectedPartId:S}=N(),{setPartStyle:d}=j(),f=D(K()),F=JSON.stringify([y??null,u??null]);return _(()=>{const g=p.current,o=X(m);if(!g||!s||!o)return;const l=[],T=Array.from(g.querySelectorAll(`[${z}]`));for(const t of T){const r=B(o,t.getAttribute(z));if(!r)continue;const A=O(t);A&&l.push(A);const a=G(r),c=k(s,a);t.setAttribute(v,c);const i=y?.[a];if(o[r].sized&&$(i)){const e=L(i,f,{sizeCap:q(u,a)}),h={fontFamily:t.style.fontFamily,fontSize:t.style.fontSize},P=t.getAttribute(n);e.fontFamily&&(t.style.fontFamily=e.fontFamily),e.fontSize&&(t.style.fontSize=e.fontSize);const x={fontFamily:e.fontFamily?t.style.fontFamily:void 0,fontSize:e.fontSize?t.style.fontSize:void 0},R=i?.textStyle;J(R)&&t.setAttribute(n,R),l.push(()=>{Y(t.style,h,x),P===null?t.removeAttribute(n):t.setAttribute(n,P)})}if(c===S){const e=w(t,H(i,o[r],f));d({partId:c,...C(t),base:e})}}return()=>{for(const t of l)t();for(const t of T)t.removeAttribute(v)}},[s,m,S,d,f,F]),E("div",{ref:p,style:{display:"contents"},children:b})}export{M as default};
@@ -1,7 +1,8 @@
1
- import { type TierFrames } from "../../../render/lib/content/section-padding.js";
1
+ import { type OwnFrame } from "../../../render/lib/content/section-padding.js";
2
2
  type Props = Record<string, unknown>;
3
- type FrameOf = (props: Props) => number | TierFrames;
4
- type Note = (props: Props, frame: number) => string | null;
3
+ type FrameOf = (props: Props) => OwnFrame;
4
+ type Side = "top" | "bottom";
5
+ type Note = (props: Props, frame: number, side?: Side) => string | null;
5
6
  export declare function ownPadFallbackAt(frameOf: FrameOf, values: Props, key: string | undefined): {
6
7
  top: number;
7
8
  bottom: number;
@@ -1 +1 @@
1
- import{jsx as i,Fragment as f,jsxs as p}from"react/jsx-runtime";import{useSelectedHost as d}from"efficient-easel/easel";import{VIEW_TIERS as O,viewKeyAt as P}from"efficient-easel/draw";import{SECTION_PAD_KEYS as c,frameAt as u,padTotalKeys as b}from"../../../render/lib/content/section-padding.js";import{sidesPaddingFields as j}from"./box-fields.js";const m=t=>O.find(r=>Object.values(c).some(e=>P(e,r)===t))??"desktop";function w(t,r,e){const n=u(t(r),m(e));return{top:n,bottom:n}}function x(t,r,e,n){return r(e,u(t(e),m(n)))}function S({frameOf:t,note:r,rowKey:e}){const n=d()?.values,o=n?x(t,r,n,e):null;return o?i("p",{className:"es-field-hint",children:o}):null}const _=new Set(b().filter(t=>t.startsWith(c.top)));function K(t,r,e){const n=j({tablet:!0,siteSide:!0,...e?{label:e}:{},useFallback:o=>{const s=d()?.values;return s?w(t,s,o.name):{top:0,bottom:0}}});return Object.fromEntries(Object.entries(n).map(([o,s])=>{const a=s.render;return!_.has(o)||typeof a!="function"?[o,s]:[o,{...s,render:l=>p(f,{children:[a(l),i(S,{frameOf:t,note:r,rowKey:o})]})}]}))}export{w as ownPadFallbackAt,x as ownPadNoteAt,K as ownPaddingFields};
1
+ import{jsx as d,Fragment as f,jsxs as p}from"react/jsx-runtime";import{useSelectedHost as c}from"efficient-easel/easel";import{VIEW_TIERS as b,viewKeyAt as O}from"efficient-easel/draw";import{SECTION_PAD_KEYS as m,padTotalKeys as P,sideFrameAt as i}from"../../../render/lib/content/section-padding.js";import{sidesPaddingFields as j}from"./box-fields.js";const u=e=>b.find(r=>Object.values(m).some(o=>O(o,r)===e))??"desktop";function w(e,r,o){const n=e(r),t=u(o);return{top:i(n,"top",t),bottom:i(n,"bottom",t)}}const x=e=>e.startsWith(m.bottom)?"bottom":"top";function F(e,r,o,n){const t=x(n);return r(o,i(e(o),t,u(n)),t)}function S({frameOf:e,note:r,rowKey:o}){const n=c()?.values,t=n?F(e,r,n,o):null;return t?d("p",{className:"es-field-hint",children:t}):null}const _=new Set(P());function N(e,r,o){const n=j({tablet:!0,siteSide:!0,...o?{label:o}:{},useFallback:t=>{const s=c()?.values;return s?w(e,s,t.name):{top:0,bottom:0}}});return Object.fromEntries(Object.entries(n).map(([t,s])=>{const a=s.render;return!_.has(t)||typeof a!="function"?[t,s]:[t,{...s,render:l=>p(f,{children:[a(l),d(S,{frameOf:e,note:r,rowKey:t})]})}]}))}export{w as ownPadFallbackAt,F as ownPadNoteAt,N as ownPaddingFields};
@@ -1,6 +1,7 @@
1
1
  import type { ComponentType, ReactNode } from "react";
2
- import type { TextFit, ViewTier } from "efficient-easel/draw";
2
+ import type { TextFit } from "efficient-easel/draw";
3
3
  import type { AnimationTabKind } from "../../../../editor/lib/animation/fields.js";
4
+ import type { OwnFrame } from "../../../../render/lib/content/section-padding.js";
4
5
  export type PassRenderProps = Record<string, unknown>;
5
6
  export type PassResolveFields = (data: {
6
7
  props?: Record<string, unknown>;
@@ -46,7 +47,7 @@ export type PassInspector = {
46
47
  unitKey?: string;
47
48
  fallback?: Partial<Record<"top" | "right" | "bottom" | "left", number>>;
48
49
  }) => FieldMap;
49
- ownPaddingFields?: (frameOf: (props: Record<string, unknown>) => number | Readonly<Record<ViewTier, number>>, note: (props: Record<string, unknown>, frame: number) => string | null, label?: string) => FieldMap;
50
+ ownPaddingFields?: (frameOf: (props: Record<string, unknown>) => OwnFrame, note: (props: Record<string, unknown>, frame: number, side?: "top" | "bottom") => string | null, label?: string) => FieldMap;
50
51
  sectionShapeFields: () => FieldMap;
51
52
  cardShapeFields: () => FieldMap;
52
53
  cellWidthFields: () => FieldMap;
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  interface BannerProps {
2
3
  eyebrow?: string;
3
4
  title?: string;
@@ -7,6 +8,7 @@ interface BannerProps {
7
8
  imageSrc: string;
8
9
  overlay?: number;
9
10
  contained: boolean;
11
+ pad?: RootPadAttrs | null;
10
12
  }
11
- export default function Banner({ eyebrow, title, body, ctaText, ctaHref, imageSrc, contained, overlay }: BannerProps): import("react").JSX.Element;
13
+ export default function Banner({ eyebrow, title, body, ctaText, ctaHref, imageSrc, contained, overlay, pad }: BannerProps): import("react").JSX.Element;
12
14
  export {};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as s}from"react/jsx-runtime";import{PagePicture as x}from"../lib/first-screen.js";import{PictureZoom as u}from"./PictureZoom.js";import g from"./BlockFrame.js";import v from"./Btn.js";import{media as N}from"../lib/media.js";import{CONTENT_SIZES as w,sizedImage as b}from"../../format/lib/sized-image.js";import y from"./SectionEyebrow.js";import{renderGold as d,renderHeadline as M,splitParagraphs as z}from"./goldPhrases.js";import{ON_MEDIA_INK_STYLE as E}from"../../format/lib/content/ink.js";import{scrim as _}from"../../format/lib/content/scrim.js";const n={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",body:"text-[length:var(--size-body,16px)]"};function I({eyebrow:r,title:i,body:m,ctaText:t,ctaHref:o,imageSrc:a,contained:l,overlay:c=60}){const p=Math.min(Math.max(c,0),100)/100;return e(g,{contained:l,className:"py-6",children:s("div",{className:"sf-card relative overflow-hidden border border-line bg-surface px-10 py-16 max-view-wide:px-6 max-view-wide:py-10",children:[a&&s("div",{className:"absolute inset-0","aria-hidden":!0,children:[e(u,{children:e(S,{src:N(a)})}),e("div",{className:"absolute inset-0",style:{background:_(p)}})]}),s("div",{className:"relative z-[1] flex max-w-[680px] flex-col gap-5",style:a?E:void 0,children:[r&&e(y,{text:r}),i&&e("h2",{className:`font-heading2 ${n.headingMedium} font-medium leading-[1.05] tracking-[-0.03em] ${n.headingMediumUpTo800}`,children:M(i,!1)}),m&&z(m).map((h,f)=>e("p",{className:`${n.body} leading-[1.6] opacity-85`,children:d(h)},f)),t&&e("div",{className:"mt-2 self-start",children:e(v,{href:o||"#",variant:"primary",children:d(t)})})]})]})})}function S({src:r}){const i=b(r);return e(x,{src:i.src,...i.srcSet?{srcSet:i.srcSet,sizes:w}:{},alt:"",className:"h-full w-full object-cover"})}export{I as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{PagePicture as u}from"../lib/first-screen.js";import{PictureZoom as g}from"./PictureZoom.js";import{withRootPad as v}from"../lib/content/section-own-pads.js";import N from"./BlockFrame.js";import w from"./Btn.js";import{media as b}from"../lib/media.js";import{CONTENT_SIZES as y,sizedImage as M}from"../../format/lib/sized-image.js";import z from"./SectionEyebrow.js";import{renderGold as s,renderHeadline as E,splitParagraphs as _}from"./goldPhrases.js";import{ON_MEDIA_INK_STYLE as I}from"../../format/lib/content/ink.js";import{scrim as S}from"../../format/lib/content/scrim.js";const m={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",body:"text-[length:var(--size-body,16px)]"};function T({eyebrow:r,title:i,body:n,ctaText:d,ctaHref:o,imageSrc:a,contained:l,overlay:c=60,pad:p}){const h=Math.min(Math.max(c,0),100)/100;return e(N,{contained:l,...v("py-6",p),children:t("div",{className:"sf-card relative overflow-hidden border border-line bg-surface px-10 py-16 max-view-wide:px-6 max-view-wide:py-10",children:[a&&t("div",{className:"absolute inset-0","aria-hidden":!0,children:[e(g,{children:e(j,{src:b(a)})}),e("div",{className:"absolute inset-0",style:{background:S(h)}})]}),t("div",{className:"relative z-[1] flex max-w-[680px] flex-col gap-5",style:a?I:void 0,children:[r&&e(z,{text:r}),i&&e("h2",{className:`font-heading2 ${m.headingMedium} font-medium leading-[1.05] tracking-[-0.03em] ${m.headingMediumUpTo800}`,children:E(i,!1)}),n&&_(n).map((f,x)=>e("p",{className:`${m.body} leading-[1.6] opacity-85`,children:s(f)},x)),d&&e("div",{className:"mt-2 self-start",children:e(w,{href:o||"#",variant:"primary",children:s(d)})})]})]})})}function j({src:r}){const i=M(r);return e(u,{src:i.src,...i.srcSet?{srcSet:i.srcSet,sizes:y}:{},alt:"",className:"h-full w-full object-cover"})}export{T as default};
@@ -1,6 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
2
  import type { SectionEyebrowLook } from "../../format/lib/sections/section-eyebrow-look.js";
3
3
  import { cardColumns } from "../../format/lib/content/card-columns.js";
4
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
4
5
  export interface CardItem {
5
6
  title?: string;
6
7
  body?: string;
@@ -13,7 +14,8 @@ export interface CardsProps {
13
14
  omitHead?: boolean;
14
15
  editing?: boolean;
15
16
  cards?: ReactNode;
17
+ pad?: RootPadAttrs | null;
16
18
  }
17
19
  export declare function cardGridCornerClasses(index: number, count: number, columns: number | undefined): string;
18
20
  export { cardColumns };
19
- export default function Cards({ look, eyebrow, title, columns, omitHead, editing, cards, }?: CardsProps): import("react").JSX.Element | null;
21
+ export default function Cards({ look, eyebrow, title, columns, omitHead, editing, cards, pad, }?: CardsProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as n,Fragment as f,jsxs as d}from"react/jsx-runtime";import{HideTaker as u}from"./ViewHideRoot.js";import b from"./SectionEyebrow.js";import{InsideSiteColumn as g}from"./SiteGutterFrame.js";import{renderHeadline as v}from"./goldPhrases.js";import{cardColumns as l}from"../../format/lib/content/card-columns.js";import{withSideOnce as w}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as M}from"./SideSpaceOnce.js";const p={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"},E="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",N="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",_="sf-card grid grid-cols-1 gap-px border border-line bg-line view-tablet:[grid-template-columns:repeat(var(--cd-cols),minmax(0,1fr))]",t={phone:{tl:"max-view-tablet:[border-top-left-radius:inherit]",tr:"max-view-tablet:[border-top-right-radius:inherit]",bl:"max-view-tablet:[border-bottom-left-radius:inherit]",br:"max-view-tablet:[border-bottom-right-radius:inherit]"},wide:{tl:"view-tablet:[border-top-left-radius:inherit]",tr:"view-tablet:[border-top-right-radius:inherit]",bl:"view-tablet:[border-bottom-left-radius:inherit]",br:"view-tablet:[border-bottom-right-radius:inherit]"}};function z(i,r,o){const a=l(o),s=r-1,m=Math.floor(s/a)*a,e=[];return i===0&&e.push(t.phone.tl,t.phone.tr,t.wide.tl),i===s&&e.push(t.phone.bl,t.phone.br),i===a-1&&r>=a&&e.push(t.wide.tr),i===m&&e.push(t.wide.bl),i===s&&r%a===0&&e.push(t.wide.br),e.join(" ")}function S({look:i,eyebrow:r,title:o,columns:a,omitHead:s=!1,editing:m=!1,cards:e}={}){const h=M(),x=l(a),c=!!(r??"").trim()||!!(o??"").trim();return!m&&!c&&!e?null:n(u,{as:"section",className:"relative z-[2] bg-surface",children:d("div",{className:w(s?N:E,h),children:[s?null:d(f,{children:[(r??"").trim()&&n(b,{text:r??"",look:i,className:"mb-4 block"}),(o??"").trim()&&n("h2",{className:`mb-9 font-heading2 ${p.headingMedium} font-medium uppercase leading-none tracking-[-0.02em] text-fg max-view-wide:mb-7 ${p.headingMediumUpTo800}`,children:v(o??"",!1)})]}),e?n("div",{className:_,style:{"--cd-cols":String(x),overflowY:"visible"},children:n(g,{children:e})}):null]})})}export{l as cardColumns,z as cardGridCornerClasses,S as default};
1
+ import{jsx as n,Fragment as u,jsxs as l}from"react/jsx-runtime";import{HideTaker as b}from"./ViewHideRoot.js";import g from"./SectionEyebrow.js";import{InsideSiteColumn as v}from"./SiteGutterFrame.js";import{renderHeadline as w}from"./goldPhrases.js";import{cardColumns as d}from"../../format/lib/content/card-columns.js";import{withSideOnce as M}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as E}from"./SideSpaceOnce.js";import{withRootPad as N}from"../lib/content/section-own-pads.js";const p={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"},_="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",R="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",S="sf-card grid grid-cols-1 gap-px border border-line bg-line view-tablet:[grid-template-columns:repeat(var(--cd-cols),minmax(0,1fr))]",t={phone:{tl:"max-view-tablet:[border-top-left-radius:inherit]",tr:"max-view-tablet:[border-top-right-radius:inherit]",bl:"max-view-tablet:[border-bottom-left-radius:inherit]",br:"max-view-tablet:[border-bottom-right-radius:inherit]"},wide:{tl:"view-tablet:[border-top-left-radius:inherit]",tr:"view-tablet:[border-top-right-radius:inherit]",bl:"view-tablet:[border-bottom-left-radius:inherit]",br:"view-tablet:[border-bottom-right-radius:inherit]"}};function H(i,r,s){const a=d(s),o=r-1,m=Math.floor(o/a)*a,e=[];return i===0&&e.push(t.phone.tl,t.phone.tr,t.wide.tl),i===o&&e.push(t.phone.bl,t.phone.br),i===a-1&&r>=a&&e.push(t.wide.tr),i===m&&e.push(t.wide.bl),i===o&&r%a===0&&e.push(t.wide.br),e.join(" ")}function T({look:i,eyebrow:r,title:s,columns:a,omitHead:o=!1,editing:m=!1,cards:e,pad:h}={}){const x=E(),c=d(a),f=!!(r??"").trim()||!!(s??"").trim();return!m&&!f&&!e?null:n(b,{as:"section",className:"relative z-[2] bg-surface",children:l("div",{...N(M(o?R:_,x),h),children:[o?null:l(u,{children:[(r??"").trim()&&n(g,{text:r??"",look:i,className:"mb-4 block"}),(s??"").trim()&&n("h2",{className:`mb-9 font-heading2 ${p.headingMedium} font-medium uppercase leading-none tracking-[-0.02em] text-fg max-view-wide:mb-7 ${p.headingMediumUpTo800}`,children:w(s??"",!1)})]}),e?n("div",{className:S,style:{"--cd-cols":String(c),overflowY:"visible"},children:n(v,{children:e})}):null]})})}export{d as cardColumns,H as cardGridCornerClasses,T as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface ChartItem {
2
3
  label?: string;
3
4
  value?: string;
@@ -13,5 +14,6 @@ export interface ChartSectionProps {
13
14
  caption?: string;
14
15
  editing?: boolean;
15
16
  omitHead?: boolean;
17
+ pad?: RootPadAttrs | null;
16
18
  }
17
- export default function ChartSection({ eyebrow, title, body, chartStyle, items, valueSuffix, caption, editing, omitHead, }?: ChartSectionProps): import("react").JSX.Element | null;
19
+ export default function ChartSection({ eyebrow, title, body, chartStyle, items, valueSuffix, caption, editing, omitHead, pad, }?: ChartSectionProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as e,jsxs as m}from"react/jsx-runtime";import{HideTaker as k}from"./ViewHideRoot.js";import{renderGold as b,renderHeadline as w}from"./goldPhrases.js";import{withSideOnce as M}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as S}from"./SideSpaceOnce.js";const f={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",bodySmall:"text-[length:var(--size-body,15px)]",bodyLarge:"text-[length:var(--size-body,16px)]",labelSmall:"text-[length:var(--size-label,10px)]",label:"text-[length:var(--size-label,11px)]",labelLarge:"text-[length:var(--size-label,12px)]"};function y(a){return Number.isInteger(a)?String(a):String(Math.round(a*10)/10)}const N=[100,70,46,30,19,12];function $(a){return`color-mix(in srgb, var(--accent) ${N[a%N.length]}%, var(--bg))`}function z({data:a,suffix:o}){const h=Math.max(...a.map(s=>s.value),0)||1;return e("div",{className:"flex w-full flex-col gap-6",children:a.map((s,t)=>m("div",{children:[m("div",{className:"mb-2 flex items-baseline justify-between gap-4",children:[e("span",{className:`font-mono ${f.label} uppercase tracking-[0.14em] text-fg/60`,children:b(s.label)}),m("span",{className:`font-display ${f.bodyLarge} font-medium text-fg`,children:[y(s.value),o]})]}),e("div",{className:"h-[10px] border border-line bg-bg",children:e("div",{className:"h-full bg-accent",style:{width:`${Math.max(s.value/h*100,s.value===0?0:2)}%`}})})]},t))})}function W({data:a,suffix:o}){const t={l:42,r:42,t:36,b:38},p=640-t.l-t.r,r=300-t.t-t.b,n=Math.max(...a.map(l=>l.value),0)||1,i=a.length>1?p/(a.length-1):0,c=a.map((l,x)=>({x:t.l+(a.length>1?x*i:p/2),y:t.t+r-l.value/n*r})),u=c.map((l,x)=>`${x===0?"M":"L"}${l.x},${l.y}`).join(" "),g=`${u} L${c[c.length-1].x},${t.t+r} L${c[0].x},${t.t+r} Z`;return m("svg",{viewBox:"0 0 640 300",className:"w-full",role:"img","aria-hidden":!0,children:[[.25,.5,.75,1].map(l=>e("line",{x1:t.l,x2:640-t.r,y1:t.t+r*(1-l),y2:t.t+r*(1-l),stroke:"var(--site-line)",strokeWidth:"1"},l)),e("line",{x1:t.l,x2:640-t.r,y1:t.t+r,y2:t.t+r,stroke:"var(--site-line)",strokeWidth:"1.5"}),e("path",{d:g,fill:"var(--accent)",opacity:"0.13"}),e("path",{d:u,fill:"none",stroke:"var(--accent)",strokeWidth:"2.5"}),c.map((l,x)=>m("g",{children:[e("circle",{cx:l.x,cy:l.y,r:"4",fill:"var(--accent)"}),m("text",{x:l.x,y:l.y-12,textAnchor:"middle",className:"font-display",fontSize:"14",fill:"var(--fg)",children:[y(a[x].value),o]}),e("text",{x:l.x,y:288,textAnchor:"middle",className:"font-mono",fontSize:"10",letterSpacing:"0.1em",fill:"var(--fg)",opacity:"0.55",children:a[x].label.toUpperCase()})]},x))]})}function L({data:a,suffix:o}){const h=a.reduce((n,i)=>n+i.value,0)||1,s=80,t=2*Math.PI*s;let p=0;const r=a.map((n,i)=>{const c=n.value/h,u={frac:c,dash:Math.max(c*t-3,0),off:p,ink:$(i)};return p+=c*t,u});return m("div",{className:"flex w-full flex-wrap items-center justify-center gap-10",children:[e("svg",{viewBox:"0 0 200 200",className:"w-[220px] max-w-full -rotate-90",role:"img","aria-hidden":!0,children:r.map((n,i)=>e("circle",{cx:"100",cy:"100",r:s,fill:"none",stroke:n.ink,strokeWidth:"34",strokeDasharray:`${n.dash} ${t-n.dash}`,strokeDashoffset:-n.off},i))}),e("ul",{className:"flex min-w-[200px] flex-1 flex-col gap-3",children:a.map((n,i)=>m("li",{className:"flex items-baseline gap-3",children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] flex-shrink-0 rotate-45",style:{background:$(i)}}),e("span",{className:`flex-1 font-mono ${f.label} uppercase tracking-[0.12em] text-fg/60`,children:b(n.label)}),e("span",{className:`font-display ${f.bodySmall} font-medium text-fg`,children:o?`${y(n.value)}${o}`:`${Math.round(n.value/h*100)}%`})]},i))})]})}function j({eyebrow:a,title:o,body:h,chartStyle:s,items:t,valueSuffix:p,caption:r,editing:n=!1,omitHead:i=!1}={}){const c=S(),u=(p??"").trim()===""?"":p??"",g=(t??[]).map(d=>({label:(d.label??"").trim(),value:parseFloat(d.value??"")})).filter(d=>n?!0:d.label&&Number.isFinite(d.value)).map(d=>({label:d.label||"—",value:Number.isFinite(d.value)?d.value:0})),l=!i&&(!!(a??"").trim()||!!(o??"").trim());if(!n&&!l&&g.length===0)return null;const x=s??"bars",v=g.length===0?null:x==="line"&&g.length>1?e(W,{data:g,suffix:u}):x==="donut"?e(L,{data:g,suffix:u}):e(z,{data:g,suffix:u});return i?v?e("div",{className:"w-full",children:v}):null:e(k,{as:"section",className:"relative z-[2] border-y border-line bg-surface",children:m("div",{className:M("mx-auto grid max-w-[var(--sf-site-width,1600px)] items-center gap-14 px-[var(--sf-site-gutter,40px)] py-[76px] min-[960px]:[grid-template-columns:minmax(0,5fr)_minmax(0,7fr)] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",c),children:[m("div",{children:[(a??"").trim()&&e("span",{className:`inline-block bg-accent px-3.5 py-1.5 font-mono ${f.labelLarge} font-semibold uppercase tracking-[0.16em] text-bg`,children:b(a??"")}),(o??"").trim()&&e("h2",{className:`mt-5 font-heading2 ${f.headingMedium} font-medium uppercase leading-[1.04] tracking-[-0.02em] text-fg ${f.headingMediumUpTo800}`,children:w(o??"",!1)}),(h??"").trim()&&e("p",{className:`mt-5 max-w-[46ch] ${f.bodySmall} leading-relaxed text-fg/65`,children:h})]}),m("div",{children:[v,(r??"").trim()&&e("p",{className:`mt-4 font-mono ${f.labelSmall} uppercase tracking-[0.14em] text-fg/40`,children:r})]})]})})}export{j as default};
1
+ import{jsx as e,jsxs as o}from"react/jsx-runtime";import{HideTaker as w}from"./ViewHideRoot.js";import{renderGold as b,renderHeadline as M}from"./goldPhrases.js";import{withSideOnce as S}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as z}from"./SideSpaceOnce.js";import{withRootPad as W}from"../lib/content/section-own-pads.js";const f={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",bodySmall:"text-[length:var(--size-body,15px)]",bodyLarge:"text-[length:var(--size-body,16px)]",labelSmall:"text-[length:var(--size-label,10px)]",label:"text-[length:var(--size-label,11px)]",labelLarge:"text-[length:var(--size-label,12px)]"};function y(a){return Number.isInteger(a)?String(a):String(Math.round(a*10)/10)}const $=[100,70,46,30,19,12];function k(a){return`color-mix(in srgb, var(--accent) ${$[a%$.length]}%, var(--bg))`}function L({data:a,suffix:m}){const h=Math.max(...a.map(s=>s.value),0)||1;return e("div",{className:"flex w-full flex-col gap-6",children:a.map((s,t)=>o("div",{children:[o("div",{className:"mb-2 flex items-baseline justify-between gap-4",children:[e("span",{className:`font-mono ${f.label} uppercase tracking-[0.14em] text-fg/60`,children:b(s.label)}),o("span",{className:`font-display ${f.bodyLarge} font-medium text-fg`,children:[y(s.value),m]})]}),e("div",{className:"h-[10px] border border-line bg-bg",children:e("div",{className:"h-full bg-accent",style:{width:`${Math.max(s.value/h*100,s.value===0?0:2)}%`}})})]},t))})}function j({data:a,suffix:m}){const t={l:42,r:42,t:36,b:38},p=640-t.l-t.r,r=300-t.t-t.b,n=Math.max(...a.map(l=>l.value),0)||1,i=a.length>1?p/(a.length-1):0,c=a.map((l,d)=>({x:t.l+(a.length>1?d*i:p/2),y:t.t+r-l.value/n*r})),u=c.map((l,d)=>`${d===0?"M":"L"}${l.x},${l.y}`).join(" "),g=`${u} L${c[c.length-1].x},${t.t+r} L${c[0].x},${t.t+r} Z`;return o("svg",{viewBox:"0 0 640 300",className:"w-full",role:"img","aria-hidden":!0,children:[[.25,.5,.75,1].map(l=>e("line",{x1:t.l,x2:640-t.r,y1:t.t+r*(1-l),y2:t.t+r*(1-l),stroke:"var(--site-line)",strokeWidth:"1"},l)),e("line",{x1:t.l,x2:640-t.r,y1:t.t+r,y2:t.t+r,stroke:"var(--site-line)",strokeWidth:"1.5"}),e("path",{d:g,fill:"var(--accent)",opacity:"0.13"}),e("path",{d:u,fill:"none",stroke:"var(--accent)",strokeWidth:"2.5"}),c.map((l,d)=>o("g",{children:[e("circle",{cx:l.x,cy:l.y,r:"4",fill:"var(--accent)"}),o("text",{x:l.x,y:l.y-12,textAnchor:"middle",className:"font-display",fontSize:"14",fill:"var(--fg)",children:[y(a[d].value),m]}),e("text",{x:l.x,y:288,textAnchor:"middle",className:"font-mono",fontSize:"10",letterSpacing:"0.1em",fill:"var(--fg)",opacity:"0.55",children:a[d].label.toUpperCase()})]},d))]})}function H({data:a,suffix:m}){const h=a.reduce((n,i)=>n+i.value,0)||1,s=80,t=2*Math.PI*s;let p=0;const r=a.map((n,i)=>{const c=n.value/h,u={frac:c,dash:Math.max(c*t-3,0),off:p,ink:k(i)};return p+=c*t,u});return o("div",{className:"flex w-full flex-wrap items-center justify-center gap-10",children:[e("svg",{viewBox:"0 0 200 200",className:"w-[220px] max-w-full -rotate-90",role:"img","aria-hidden":!0,children:r.map((n,i)=>e("circle",{cx:"100",cy:"100",r:s,fill:"none",stroke:n.ink,strokeWidth:"34",strokeDasharray:`${n.dash} ${t-n.dash}`,strokeDashoffset:-n.off},i))}),e("ul",{className:"flex min-w-[200px] flex-1 flex-col gap-3",children:a.map((n,i)=>o("li",{className:"flex items-baseline gap-3",children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] flex-shrink-0 rotate-45",style:{background:k(i)}}),e("span",{className:`flex-1 font-mono ${f.label} uppercase tracking-[0.12em] text-fg/60`,children:b(n.label)}),e("span",{className:`font-display ${f.bodySmall} font-medium text-fg`,children:m?`${y(n.value)}${m}`:`${Math.round(n.value/h*100)}%`})]},i))})]})}function T({eyebrow:a,title:m,body:h,chartStyle:s,items:t,valueSuffix:p,caption:r,editing:n=!1,omitHead:i=!1,pad:c}={}){const u=z(),g=(p??"").trim()===""?"":p??"",l=(t??[]).map(x=>({label:(x.label??"").trim(),value:parseFloat(x.value??"")})).filter(x=>n?!0:x.label&&Number.isFinite(x.value)).map(x=>({label:x.label||"—",value:Number.isFinite(x.value)?x.value:0})),d=!i&&(!!(a??"").trim()||!!(m??"").trim());if(!n&&!d&&l.length===0)return null;const N=s??"bars",v=l.length===0?null:N==="line"&&l.length>1?e(j,{data:l,suffix:g}):N==="donut"?e(H,{data:l,suffix:g}):e(L,{data:l,suffix:g});return i?v?e("div",{className:"w-full",children:v}):null:e(w,{as:"section",className:"relative z-[2] border-y border-line bg-surface",children:o("div",{...W(S("mx-auto grid max-w-[var(--sf-site-width,1600px)] items-center gap-14 px-[var(--sf-site-gutter,40px)] py-[76px] min-[960px]:[grid-template-columns:minmax(0,5fr)_minmax(0,7fr)] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",u),c),children:[o("div",{children:[(a??"").trim()&&e("span",{className:`inline-block bg-accent px-3.5 py-1.5 font-mono ${f.labelLarge} font-semibold uppercase tracking-[0.16em] text-bg`,children:b(a??"")}),(m??"").trim()&&e("h2",{className:`mt-5 font-heading2 ${f.headingMedium} font-medium uppercase leading-[1.04] tracking-[-0.02em] text-fg ${f.headingMediumUpTo800}`,children:M(m??"",!1)}),(h??"").trim()&&e("p",{className:`mt-5 max-w-[46ch] ${f.bodySmall} leading-relaxed text-fg/65`,children:h})]}),o("div",{children:[v,(r??"").trim()&&e("p",{className:`mt-4 font-mono ${f.labelSmall} uppercase tracking-[0.14em] text-fg/40`,children:r})]})]})})}export{T as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  import { type ContactLocationCard } from "../../format/lib/content/contact.js";
2
3
  import { type MapThemeMode } from "../../format/lib/map-styles.js";
3
4
  import { type PictureHoverDrawn } from "../../format/lib/animation/hover.js";
@@ -13,5 +14,6 @@ export interface ContactLocationsProps {
13
14
  pictureHover?: PictureHoverDrawn;
14
15
  editing?: boolean;
15
16
  nodeId?: string;
17
+ pad?: RootPadAttrs | null;
16
18
  }
17
- export default function ContactLocations({ sectionNumber, heading, tagline, galleryKicker, galleryHint, locations, mapTheme, imageShape, pictureHover, editing, nodeId, }: ContactLocationsProps): import("react").JSX.Element;
19
+ export default function ContactLocations({ sectionNumber, heading, tagline, galleryKicker, galleryHint, locations, mapTheme, imageShape, pictureHover, editing, nodeId, pad, }: ContactLocationsProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- "use client";import{jsx as t,jsxs as i,Fragment as A}from"react/jsx-runtime";import{HideTaker as G}from"./ViewHideRoot.js";import{PictureZoom as V}from"./PictureZoom.js";import{FILLS_ITS_FRAME as W}from"../../format/lib/content/image-aspect.js";import{EDITORIAL_COLUMN as q,withSideOnce as J}from"../../format/lib/content/page-width.js";import{SiteImage as Z}from"../lib/site-runtime.js";import{useEffect as K,useState as Q}from"react";import{stripMarkup as X}from"../../format/lib/markup.js";import Y from"./EditorialSectionHead.js";import ee from"./SectionEyebrow.js";import{scrollBehavior as j}from"./useReducedMotion.js";import{renderGold as H,renderHeadline as te}from"./goldPhrases.js";import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as ne,CONTACT_LOCATIONS_DEFAULTS as f,parseLocationTileShape as ie,splitLegacyRegion as oe}from"../../format/lib/content/contact.js";import{galleryCardRatioClass as re}from"../../format/lib/content/gallery-card-layout.js";import{jumpHighlightCss as ae,NEW_TAB_ATTRS as se}from"../../format/lib/content/box-link.js";import{hasMapCoords as z}from"../../format/lib/map-styles.js";import{useRootIsDark as le}from"efficient-shell/theme";import{bucketByGroup as ce,groupColsClass as $}from"../../format/lib/locations-grid.js";import{LocationGroupHeader as me}from"./LocationGroupHeader.js";import pe,{DirectionsLink as de,directionsHref as ue}from"./LocationMap.js";import{phoneHref as he}from"../../format/lib/links/phone-href.js";import{scrim as fe}from"../../format/lib/content/scrim.js";import{PHOTO_HOST_ATTR as ge,resolveImageTreatment as xe}from"../../format/lib/content/image-treatment.js";import{pictureHoverOf as be}from"../../format/lib/animation/hover.js";import ve from"./PhotoHoverSheet.js";import{nonEmptyString as ye}from"../../format/lib/non-empty-string.js";import{useSideSpaceOnce as Ne}from"./SideSpaceOnce.js";const ke=ae({box:".contact-loc",lit:['.contact-loc[data-active="true"]'],first:o=>[`${o} > div:first-child`]}),E=o=>ye(o?.photo)?.trim()||void 0;function M({value:o}){if(typeof o=="string"){const n=o.split(`
2
- `);return t(A,{children:n.map((l,r)=>i("span",{children:[l,r<n.length-1?t("br",{}):null]},r))})}return t(A,{children:o})}function we(){return t("div",{className:"absolute inset-0 flex items-center justify-center",style:{background:"repeating-linear-gradient(45deg, rgba(201,164,97,.05) 0 1px, transparent 1px 14px), linear-gradient(135deg, var(--site-surface-2), var(--site-surface))"},children:i("svg",{width:"34",height:"34",viewBox:"0 0 24 24",fill:"none",stroke:"var(--fg-dim)",strokeWidth:1.4,"aria-hidden":"true",style:{opacity:.4},children:[t("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1.5"}),t("circle",{cx:"8.5",cy:"9.5",r:"1.6"}),t("path",{d:"M21 16l-5-5-4 4-2-2-7 7"})]})})}function Se({sectionNumber:o=f.sectionNumber,heading:n=f.heading,tagline:l=f.tagline,galleryKicker:r=f.galleryKicker,galleryHint:u=f.galleryHint,locations:m=ne,mapTheme:g="auto",imageShape:N,pictureHover:x=be({},"ContactLocations"),editing:a,nodeId:h}){const b=Ne(),c=xe(void 0,void 0,x),p=c.className?{[ge]:""}:{},v=!le({whenUnset:!0}),[B,C]=Q(null),k=e=>`loc-${e}`,P=e=>{C(e),typeof document<"u"&&document.getElementById(e)?.scrollIntoView({behavior:j(),block:"start"}),!a&&typeof window<"u"&&window.history?.replaceState&&window.history.replaceState(null,"",`#${e}`)};K(()=>{if(typeof window>"u")return;const e=window.location.hash.replace(/^#/,"");!e||!document.getElementById(e)||(C(e),requestAnimationFrame(()=>{document.getElementById(e)?.scrollIntoView({behavior:j(),block:"start"})}))},[]);const R=re(ie(N)),w=(e,d)=>a&&h?`${e}:${d}`:void 0,I=m.some(e=>E(e)!==void 0),D=m.length>0&&(a||I),U=m.some(e=>z(Number(e?.lat),Number(e?.lng))),O=ce(m,e=>String(e.group??""),e=>String(e.groupName??""));return t(G,{as:"section",id:"studios",className:"scroll-mt-24 border-b border-line py-[100px] max-view-desktop:py-[60px]",style:v?void 0:{background:"var(--section-bg)"},children:i("div",{className:J(q,b),children:[t("style",{dangerouslySetInnerHTML:{__html:ke}}),t(ve,{sheet:I?c.sheet:void 0}),(o||n||l)&&t(Y,{num:o,title:n?te(n,!0):void 0,desc:l?H(l):void 0,spaceBelow:"mb-10"}),D&&i("div",{className:"mb-12",children:[(r||u)&&i("div",{className:"mb-5 flex items-baseline justify-between gap-6 border-b border-line pb-4",children:[r&&t(ee,{text:r,size:12}),u&&t("span",{className:"font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.22em] text-fg-dim",children:H(u)})]}),t("div",{className:"flex flex-col gap-6",children:O.map((e,d)=>{const y=e.items.length===1;return i("div",{children:[e.key&&t("div",{className:"mb-2.5 font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.3em] text-accent",children:e.key}),t("div",{className:["grid gap-[2px] border border-line bg-line",$(e.items.length),e.items.length>1?"max-[700px]:grid-cols-2":""].join(" "),children:e.items.map(({item:s,index:S})=>{const T=String(s?.name??""),L=E(s),_=k(S);return i("a",{href:`#${_}`,"aria-label":`Jump to ${T||"location"} map`,onClick:F=>{F.preventDefault(),P(_)},"data-loc-pick":w(S,"image"),...p,className:["group relative block",R,"overflow-hidden bg-bg outline-none focus-visible:ring-2 focus-visible:ring-accent",y?"max-h-[440px]":""].join(" "),children:[t(V,{fill:L?W:null,children:L?t(Z,{src:L,alt:X(T||"Location"),fill:!0,sizes:y?"100vw":"(max-width: 700px) 50vw, 33vw",className:`object-cover${c.className?` ${c.className}`:""}`,...c.style?{style:c.style}:{}}):t(we,{})}),t("div",{className:"pointer-events-none absolute inset-0",style:{background:`linear-gradient(180deg, transparent 50%, ${fe(.85)} 100%)`}}),t("figcaption",{className:"absolute inset-x-0 bottom-0 z-[1] flex items-center justify-start gap-2 px-3 py-3 font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.22em] text-overlay-fg/85",children:t("span",{children:T})})]},S)})})]},e.key?`g:${e.key}`:`ungrouped:${d}`)})})]}),O.map((e,d)=>i("div",{className:d===0?"":"mt-10",children:[e.key&&t(me,{groupKey:e.key,name:e.name,count:e.items.length}),t("div",{className:["grid gap-[2px] border border-line bg-line",$(e.items.length),e.items.length>1?"max-view-desktop:grid-cols-1":""].join(" "),children:e.items.map(({item:y,index:s})=>t(Te,{id:k(s),card:y,active:B===k(s),mapTheme:g,mapPick:w(s,"map"),cityPick:w(s,"city"),editing:a},s))})]},e.key?`g:${e.key}`:`ungrouped:${d}`)),U&&i("p",{className:"mt-8 text-right font-mono text-[10px] uppercase tracking-[0.25em] text-fg-dim/50",children:["Location coordinates ©"," ",t("a",{href:"https://www.openstreetmap.org/copyright",...se,className:"hover:text-accent",children:"OpenStreetMap contributors"})]})]})})}function Te({id:o,card:n,active:l,mapTheme:r,mapPick:u,cityPick:m,editing:g}){const N=he(n.phone),x=oe(n.region),a=String(n.state??"").trim()||x.state,h=String(n.country??"").trim()||x.country,b=[a,h].filter(Boolean).join(" · "),p=z(Number(n.lat),Number(n.lng))||!!g,v=ue(String(n.mapsUrl??""),String(n.name??""),a,h);return i("article",{id:o,"data-active":l?"true":void 0,"data-loc-pick":m,className:p?"contact-loc grid min-h-[840px] scroll-mt-[120px] grid-rows-[auto_1fr] bg-bg max-view-desktop:min-h-0":"contact-loc grid scroll-mt-[120px] bg-bg",children:[i("div",{className:p?"flex min-h-[280px] flex-col gap-3 border-b border-line px-7 py-7":"flex flex-col gap-3 px-7 py-7",children:[i("div",{className:"flex items-start justify-between gap-3.5",children:[i("div",{children:[n.name&&t("div",{className:"font-heading3 text-[length:var(--size-headingSmall,30px)] font-medium uppercase leading-none tracking-[-0.02em]",children:n.name}),b&&t("div",{className:"mt-1.5 font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.24em] text-accent",children:b})]}),n.timezone&&t("span",{className:"whitespace-nowrap border border-line px-2.5 py-1.5 font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.22em] text-fg-dim",children:n.timezone})]}),n.address!=null&&n.address!==""&&t("div",{className:"mt-1.5 font-display text-[length:var(--size-body,14px)] leading-[1.5] text-fg-dim",children:t(M,{value:n.address})}),n.phone&&t("div",{children:t("a",{href:N,className:"font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.18em] text-fg hover:text-accent",children:n.phone})}),n.hours!=null&&n.hours!==""&&t("div",{className:"font-mono text-[length:var(--size-label,12px)] uppercase leading-[1.7] tracking-[0.18em] text-fg-dim",children:t(M,{value:n.hours})}),!p&&v&&t("div",{children:t(de,{href:v})})]}),p&&t(pe,{name:String(n.name??""),state:a,country:h,lat:Number(n.lat),lng:Number(n.lng),mapsUrl:String(n.mapsUrl??""),mapTheme:r,pick:u,editing:g})]})}export{Se as default};
1
+ "use client";import{jsx as t,jsxs as i,Fragment as A}from"react/jsx-runtime";import{HideTaker as V}from"./ViewHideRoot.js";import{PictureZoom as W}from"./PictureZoom.js";import{FILLS_ITS_FRAME as q}from"../../format/lib/content/image-aspect.js";import{EDITORIAL_COLUMN as J,withSideOnce as Z}from"../../format/lib/content/page-width.js";import{withRootPad as K}from"../lib/content/section-own-pads.js";import{SiteImage as Q}from"../lib/site-runtime.js";import{useEffect as X,useState as Y}from"react";import{stripMarkup as ee}from"../../format/lib/markup.js";import te from"./EditorialSectionHead.js";import ne from"./SectionEyebrow.js";import{scrollBehavior as j}from"./useReducedMotion.js";import{renderGold as H,renderHeadline as ie}from"./goldPhrases.js";import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as oe,CONTACT_LOCATIONS_DEFAULTS as h,parseLocationTileShape as re,splitLegacyRegion as ae}from"../../format/lib/content/contact.js";import{galleryCardRatioClass as se}from"../../format/lib/content/gallery-card-layout.js";import{jumpHighlightCss as le,NEW_TAB_ATTRS as ce}from"../../format/lib/content/box-link.js";import{hasMapCoords as z}from"../../format/lib/map-styles.js";import{useRootIsDark as me}from"efficient-shell/theme";import{bucketByGroup as pe,groupColsClass as $}from"../../format/lib/locations-grid.js";import{LocationGroupHeader as de}from"./LocationGroupHeader.js";import ue,{DirectionsLink as he,directionsHref as fe}from"./LocationMap.js";import{phoneHref as ge}from"../../format/lib/links/phone-href.js";import{scrim as xe}from"../../format/lib/content/scrim.js";import{PHOTO_HOST_ATTR as be,resolveImageTreatment as ve}from"../../format/lib/content/image-treatment.js";import{pictureHoverOf as ye}from"../../format/lib/animation/hover.js";import Ne from"./PhotoHoverSheet.js";import{nonEmptyString as ke}from"../../format/lib/non-empty-string.js";import{useSideSpaceOnce as we}from"./SideSpaceOnce.js";const Se=le({box:".contact-loc",lit:['.contact-loc[data-active="true"]'],first:o=>[`${o} > div:first-child`]}),E=o=>ke(o?.photo)?.trim()||void 0;function M({value:o}){if(typeof o=="string"){const n=o.split(`
2
+ `);return t(A,{children:n.map((c,a)=>i("span",{children:[c,a<n.length-1?t("br",{}):null]},a))})}return t(A,{children:o})}function Te(){return t("div",{className:"absolute inset-0 flex items-center justify-center",style:{background:"repeating-linear-gradient(45deg, rgba(201,164,97,.05) 0 1px, transparent 1px 14px), linear-gradient(135deg, var(--site-surface-2), var(--site-surface))"},children:i("svg",{width:"34",height:"34",viewBox:"0 0 24 24",fill:"none",stroke:"var(--fg-dim)",strokeWidth:1.4,"aria-hidden":"true",style:{opacity:.4},children:[t("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1.5"}),t("circle",{cx:"8.5",cy:"9.5",r:"1.6"}),t("path",{d:"M21 16l-5-5-4 4-2-2-7 7"})]})})}function Le({sectionNumber:o=h.sectionNumber,heading:n=h.heading,tagline:c=h.tagline,galleryKicker:a=h.galleryKicker,galleryHint:d=h.galleryHint,locations:m=oe,mapTheme:f="auto",imageShape:y,pictureHover:g=ye({},"ContactLocations"),editing:s,nodeId:u,pad:x}){const L=we(),r=ve(void 0,void 0,g),b=r.className?{[be]:""}:{},B=!me({whenUnset:!0}),[P,C]=Y(null),N=e=>`loc-${e}`,R=e=>{C(e),typeof document<"u"&&document.getElementById(e)?.scrollIntoView({behavior:j(),block:"start"}),!s&&typeof window<"u"&&window.history?.replaceState&&window.history.replaceState(null,"",`#${e}`)};X(()=>{if(typeof window>"u")return;const e=window.location.hash.replace(/^#/,"");!e||!document.getElementById(e)||(C(e),requestAnimationFrame(()=>{document.getElementById(e)?.scrollIntoView({behavior:j(),block:"start"})}))},[]);const D=se(re(y)),k=(e,p)=>s&&u?`${e}:${p}`:void 0,I=m.some(e=>E(e)!==void 0),U=m.length>0&&(s||I),F=m.some(e=>z(Number(e?.lat),Number(e?.lng))),O=pe(m,e=>String(e.group??""),e=>String(e.groupName??""));return t(V,{as:"section",id:"studios",...K("scroll-mt-24 border-b border-line py-[100px] max-view-desktop:py-[60px]",x,B?void 0:{background:"var(--section-bg)"}),children:i("div",{className:Z(J,L),children:[t("style",{dangerouslySetInnerHTML:{__html:Se}}),t(Ne,{sheet:I?r.sheet:void 0}),(o||n||c)&&t(te,{num:o,title:n?ie(n,!0):void 0,desc:c?H(c):void 0,spaceBelow:"mb-10"}),U&&i("div",{className:"mb-12",children:[(a||d)&&i("div",{className:"mb-5 flex items-baseline justify-between gap-6 border-b border-line pb-4",children:[a&&t(ne,{text:a,size:12}),d&&t("span",{className:"font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.22em] text-fg-dim",children:H(d)})]}),t("div",{className:"flex flex-col gap-6",children:O.map((e,p)=>{const v=e.items.length===1;return i("div",{children:[e.key&&t("div",{className:"mb-2.5 font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.3em] text-accent",children:e.key}),t("div",{className:["grid gap-[2px] border border-line bg-line",$(e.items.length),e.items.length>1?"max-[700px]:grid-cols-2":""].join(" "),children:e.items.map(({item:l,index:w})=>{const S=String(l?.name??""),T=E(l),_=N(w);return i("a",{href:`#${_}`,"aria-label":`Jump to ${S||"location"} map`,onClick:G=>{G.preventDefault(),R(_)},"data-loc-pick":k(w,"image"),...b,className:["group relative block",D,"overflow-hidden bg-bg outline-none focus-visible:ring-2 focus-visible:ring-accent",v?"max-h-[440px]":""].join(" "),children:[t(W,{fill:T?q:null,children:T?t(Q,{src:T,alt:ee(S||"Location"),fill:!0,sizes:v?"100vw":"(max-width: 700px) 50vw, 33vw",className:`object-cover${r.className?` ${r.className}`:""}`,...r.style?{style:r.style}:{}}):t(Te,{})}),t("div",{className:"pointer-events-none absolute inset-0",style:{background:`linear-gradient(180deg, transparent 50%, ${xe(.85)} 100%)`}}),t("figcaption",{className:"absolute inset-x-0 bottom-0 z-[1] flex items-center justify-start gap-2 px-3 py-3 font-mono text-[length:var(--size-label,11px)] uppercase tracking-[0.22em] text-overlay-fg/85",children:t("span",{children:S})})]},w)})})]},e.key?`g:${e.key}`:`ungrouped:${p}`)})})]}),O.map((e,p)=>i("div",{className:p===0?"":"mt-10",children:[e.key&&t(de,{groupKey:e.key,name:e.name,count:e.items.length}),t("div",{className:["grid gap-[2px] border border-line bg-line",$(e.items.length),e.items.length>1?"max-view-desktop:grid-cols-1":""].join(" "),children:e.items.map(({item:v,index:l})=>t(Ce,{id:N(l),card:v,active:P===N(l),mapTheme:f,mapPick:k(l,"map"),cityPick:k(l,"city"),editing:s},l))})]},e.key?`g:${e.key}`:`ungrouped:${p}`)),F&&i("p",{className:"mt-8 text-right font-mono text-[10px] uppercase tracking-[0.25em] text-fg-dim/50",children:["Location coordinates ©"," ",t("a",{href:"https://www.openstreetmap.org/copyright",...ce,className:"hover:text-accent",children:"OpenStreetMap contributors"})]})]})})}function Ce({id:o,card:n,active:c,mapTheme:a,mapPick:d,cityPick:m,editing:f}){const y=ge(n.phone),g=ae(n.region),s=String(n.state??"").trim()||g.state,u=String(n.country??"").trim()||g.country,x=[s,u].filter(Boolean).join(" · "),r=z(Number(n.lat),Number(n.lng))||!!f,b=fe(String(n.mapsUrl??""),String(n.name??""),s,u);return i("article",{id:o,"data-active":c?"true":void 0,"data-loc-pick":m,className:r?"contact-loc grid min-h-[840px] scroll-mt-[120px] grid-rows-[auto_1fr] bg-bg max-view-desktop:min-h-0":"contact-loc grid scroll-mt-[120px] bg-bg",children:[i("div",{className:r?"flex min-h-[280px] flex-col gap-3 border-b border-line px-7 py-7":"flex flex-col gap-3 px-7 py-7",children:[i("div",{className:"flex items-start justify-between gap-3.5",children:[i("div",{children:[n.name&&t("div",{className:"font-heading3 text-[length:var(--size-headingSmall,30px)] font-medium uppercase leading-none tracking-[-0.02em]",children:n.name}),x&&t("div",{className:"mt-1.5 font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.24em] text-accent",children:x})]}),n.timezone&&t("span",{className:"whitespace-nowrap border border-line px-2.5 py-1.5 font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.22em] text-fg-dim",children:n.timezone})]}),n.address!=null&&n.address!==""&&t("div",{className:"mt-1.5 font-display text-[length:var(--size-body,14px)] leading-[1.5] text-fg-dim",children:t(M,{value:n.address})}),n.phone&&t("div",{children:t("a",{href:y,className:"font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.18em] text-fg hover:text-accent",children:n.phone})}),n.hours!=null&&n.hours!==""&&t("div",{className:"font-mono text-[length:var(--size-label,12px)] uppercase leading-[1.7] tracking-[0.18em] text-fg-dim",children:t(M,{value:n.hours})}),!r&&b&&t("div",{children:t(he,{href:b})})]}),r&&t(ue,{name:String(n.name??""),state:s,country:u,lat:Number(n.lat),lng:Number(n.lng),mapsUrl:String(n.mapsUrl??""),mapTheme:a,pick:d,editing:f})]})}export{Le as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface CountdownProps {
2
3
  title?: string;
3
4
  zeroText?: string;
@@ -5,6 +6,7 @@ export interface CountdownProps {
5
6
  showUnits?: boolean;
6
7
  editing?: boolean;
7
8
  omitHead?: boolean;
9
+ pad?: RootPadAttrs | null;
8
10
  }
9
11
  export declare function secondsLeft(endMs: number, nowMs: number): number;
10
- export default function Countdown({ title, zeroText, endsAt, showUnits, editing, omitHead, }?: CountdownProps): import("react").JSX.Element | null;
12
+ export default function Countdown({ title, zeroText, endsAt, showUnits, editing, omitHead, pad: rootPad, }?: CountdownProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- "use client";import{jsx as e,jsxs as i,Fragment as M}from"react/jsx-runtime";import{HideTaker as D}from"./ViewHideRoot.js";import{useEffect as I,useState as u}from"react";import h from"./PartStyledKind.js";import{renderGold as L,renderHeadline as $}from"./goldPhrases.js";import{PART_KIND_ATTR as g}from"../lib/document/text-parts.js";import{TEXT_KIND_NAME as v,TEXT_KIND_VALUE as w}from"../../format/lib/sections/section-text-kinds.js";import{withSideOnce as z}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as A}from"./SideSpaceOnce.js";const m={headingSmall:"text-[length:min(var(--size-headingSmall,32px),var(--sf-heading-max,9999px))]",labelSmall:"text-[length:var(--size-label,11px)]",labelLarge:"text-[length:var(--size-label,12px)]"},j=24*3600*1e3,H=[{key:"hours",label:"Hours"},{key:"minutes",label:"Minutes"},{key:"seconds",label:"Seconds"}];function K(t,n){return Math.max(0,Math.ceil((t-n)/1e3))}function F(t){const n=Date.parse((t??"").trim());return Number.isFinite(n)?n:null}const O=t=>String(t).padStart(2,"0");function P({title:t,zeroText:n,endsAt:N,showUnits:S=!0,editing:o=!1,omitHead:b=!1}={}){const k=A(),T=F(N),[_]=u(()=>Date.now()+j),r=T??(o?_:null),[E,d]=u(()=>Date.now());if(I(()=>{if(r===null)return;d(Date.now());const l=window.setInterval(()=>d(Date.now()),1e3);return()=>window.clearInterval(l)},[r]),r===null)return null;const a=K(r,E),s=[Math.floor(a/3600),Math.floor(a%3600/60),a%60],p=(t??"").trim(),c=(n??"").trim(),y=`${s[0]} hours, ${s[1]} minutes and ${s[2]} seconds left`,f=a===0?c&&e("p",{className:`font-heading3 ${m.headingSmall} font-medium leading-tight text-fg`,children:$(c,!1)}):i(M,{children:[e("span",{className:"sr-only",children:y}),e("div",{"aria-hidden":!0,className:"flex items-start gap-[clamp(8px,2vw,24px)]",children:H.map((l,x)=>i("div",{className:"contents",children:[x>0&&e("span",{className:"font-mono text-[length:clamp(32px,7vw,80px)] leading-none text-accent",children:":"}),i("div",{className:"flex min-w-0 flex-col items-center gap-2",children:[e(h,{kind:w,children:e("span",{"data-countdown-unit":l.key,...o?{[g]:w}:{},suppressHydrationWarning:!0,className:"font-mono text-[length:clamp(40px,8vw,96px)] font-medium leading-none tabular-nums text-fg",children:O(s[x])})}),S&&e(h,{kind:v,children:e("span",{...o?{[g]:v}:{},className:`font-mono ${m.labelSmall} uppercase tracking-[0.2em] text-fg-dim`,children:l.label})})]})]},l.key))})]});return b?a===0&&!c?null:e("div",{className:"flex flex-col items-center text-center",role:"timer","aria-live":"off",children:f}):e(D,{as:"section",className:"relative z-[2] bg-bg",role:"timer","aria-live":"off",children:i("div",{className:z("mx-auto flex max-w-[var(--sf-site-width,1600px)] flex-col items-center gap-4 px-[var(--sf-site-gutter,40px)] py-12 text-center max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",k),children:[p&&e("p",{className:`font-mono ${m.labelLarge} uppercase tracking-[0.2em] text-fg-dim`,children:L(p)}),f]})})}export{P as default,K as secondsLeft};
1
+ "use client";import{jsx as e,jsxs as i,Fragment as D}from"react/jsx-runtime";import{HideTaker as I}from"./ViewHideRoot.js";import{useEffect as L,useState as u}from"react";import h from"./PartStyledKind.js";import{renderGold as $,renderHeadline as z}from"./goldPhrases.js";import{PART_KIND_ATTR as g}from"../lib/document/text-parts.js";import{TEXT_KIND_NAME as v,TEXT_KIND_VALUE as w}from"../../format/lib/sections/section-text-kinds.js";import{withSideOnce as A}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as j}from"./SideSpaceOnce.js";import{withRootPad as H}from"../lib/content/section-own-pads.js";const m={headingSmall:"text-[length:min(var(--size-headingSmall,32px),var(--sf-heading-max,9999px))]",labelSmall:"text-[length:var(--size-label,11px)]",labelLarge:"text-[length:var(--size-label,12px)]"},K=24*3600*1e3,P=[{key:"hours",label:"Hours"},{key:"minutes",label:"Minutes"},{key:"seconds",label:"Seconds"}];function F(t,n){return Math.max(0,Math.ceil((t-n)/1e3))}function O(t){const n=Date.parse((t??"").trim());return Number.isFinite(n)?n:null}const R=t=>String(t).padStart(2,"0");function X({title:t,zeroText:n,endsAt:N,showUnits:S=!0,editing:o=!1,omitHead:b=!1,pad:k}={}){const T=j(),_=O(N),[E]=u(()=>Date.now()+K),l=_??(o?E:null),[y,d]=u(()=>Date.now());if(L(()=>{if(l===null)return;d(Date.now());const r=window.setInterval(()=>d(Date.now()),1e3);return()=>window.clearInterval(r)},[l]),l===null)return null;const a=F(l,y),s=[Math.floor(a/3600),Math.floor(a%3600/60),a%60],p=(t??"").trim(),c=(n??"").trim(),M=`${s[0]} hours, ${s[1]} minutes and ${s[2]} seconds left`,f=a===0?c&&e("p",{className:`font-heading3 ${m.headingSmall} font-medium leading-tight text-fg`,children:z(c,!1)}):i(D,{children:[e("span",{className:"sr-only",children:M}),e("div",{"aria-hidden":!0,className:"flex items-start gap-[clamp(8px,2vw,24px)]",children:P.map((r,x)=>i("div",{className:"contents",children:[x>0&&e("span",{className:"font-mono text-[length:clamp(32px,7vw,80px)] leading-none text-accent",children:":"}),i("div",{className:"flex min-w-0 flex-col items-center gap-2",children:[e(h,{kind:w,children:e("span",{"data-countdown-unit":r.key,...o?{[g]:w}:{},suppressHydrationWarning:!0,className:"font-mono text-[length:clamp(40px,8vw,96px)] font-medium leading-none tabular-nums text-fg",children:R(s[x])})}),S&&e(h,{kind:v,children:e("span",{...o?{[g]:v}:{},className:`font-mono ${m.labelSmall} uppercase tracking-[0.2em] text-fg-dim`,children:r.label})})]})]},r.key))})]});return b?a===0&&!c?null:e("div",{className:"flex flex-col items-center text-center",role:"timer","aria-live":"off",children:f}):e(I,{as:"section",className:"relative z-[2] bg-bg",role:"timer","aria-live":"off",children:i("div",{...H(A("mx-auto flex max-w-[var(--sf-site-width,1600px)] flex-col items-center gap-4 px-[var(--sf-site-gutter,40px)] py-12 text-center max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",T),k),children:[p&&e("p",{className:`font-mono ${m.labelLarge} uppercase tracking-[0.2em] text-fg-dim`,children:$(p)}),f]})})}export{X as default,F as secondsLeft};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface DocBodySection {
2
3
  label: string;
3
4
  heading: string;
@@ -17,6 +18,7 @@ export interface DocBodyProps {
17
18
  tocTitle?: string;
18
19
  sections?: DocBodySection[];
19
20
  editing?: boolean;
21
+ pad?: RootPadAttrs | null;
20
22
  stickyTop?: number;
21
23
  }
22
24
  type DocBlock = {
@@ -27,5 +29,5 @@ type DocBlock = {
27
29
  items: string[];
28
30
  };
29
31
  export declare function parseBlocks(body: string): DocBlock[];
30
- export default function DocBody({ tocTitle, sections, editing, stickyTop, }: DocBodyProps): import("react").JSX.Element | null;
32
+ export default function DocBody({ tocTitle, sections, editing, stickyTop, pad, }: DocBodyProps): import("react").JSX.Element | null;
31
33
  export {};
@@ -1,7 +1,7 @@
1
- import{jsx as c,jsxs as x}from"react/jsx-runtime";import{slugify as y}from"efficient-shell/format";import{HideTaker as v}from"./ViewHideRoot.js";import{listNumber as w}from"../../format/lib/content/list-number.js";import{renderGold as d}from"./goldPhrases.js";import{storefrontLines as S}from"../../format/lib/markup.js";import{say as p}from"../../format/lib/editor-words.js";import N,{CONTENTS_STICKY_TOP as T}from"./ContentsList.js";import{withSideOnce as k}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as _}from"./SideSpaceOnce.js";function z(n,e){return y(n)||`section-${e+1}`}const h=n=>typeof n=="string"&&n.trim()!=="";function O(n){return(n??[]).filter(e=>h(e.heading)||h(e.label)||h(e.body))}function $(n){const e=new Set;return n.map((l,m)=>{const t=z(l.label||l.heading||"",m);let r=t,s=2;for(;e.has(r);)r=`${t}-${s++}`;return e.add(r),r})}function A(n){const e=[];for(const l of n.replace(/\r\n?/g,`
2
- `).split(/\n[ \t]*\n/))l.split(`
3
- `).map(t=>t.replace(/\s+$/,"")).filter(t=>t.trim()!=="").forEach((t,r)=>{const s=S(t)[0].bullet,o=e.at(-1),a=r===0||!o||o.type==="ul"!==s;if(s){const i=t.slice(2);!a&&o?.type==="ul"?o.items.push(i):e.push({type:"ul",items:[i]})}else!a&&o?.type==="p"?o.text+=`
4
- ${t}`:e.push({type:"p",text:t})});return e}const B=()=>[{label:p("First section"),heading:p("Your *first* section."),body:p(`Write the opening paragraph here.
1
+ import{jsx as l,jsxs as h}from"react/jsx-runtime";import{slugify as w}from"efficient-shell/format";import{HideTaker as v}from"./ViewHideRoot.js";import{listNumber as S}from"../../format/lib/content/list-number.js";import{renderGold as f}from"./goldPhrases.js";import{storefrontLines as N}from"../../format/lib/markup.js";import{say as c}from"../../format/lib/editor-words.js";import T,{CONTENTS_STICKY_TOP as k}from"./ContentsList.js";import{withSideOnce as _}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as z}from"./SideSpaceOnce.js";import{withRootPad as O}from"../lib/content/section-own-pads.js";function $(n,e){return w(n)||`section-${e+1}`}const u=n=>typeof n=="string"&&n.trim()!=="";function A(n){return(n??[]).filter(e=>u(e.heading)||u(e.label)||u(e.body))}function B(n){const e=new Set;return n.map((i,m)=>{const t=$(i.label||i.heading||"",m);let a=t,s=2;for(;e.has(a);)a=`${t}-${s++}`;return e.add(a),a})}function C(n){const e=[];for(const i of n.replace(/\r\n?/g,`
2
+ `).split(/\n[ \t]*\n/))i.split(`
3
+ `).map(t=>t.replace(/\s+$/,"")).filter(t=>t.trim()!=="").forEach((t,a)=>{const s=N(t)[0].bullet,o=e.at(-1),p=a===0||!o||o.type==="ul"!==s;if(s){const r=t.slice(2);!p&&o?.type==="ul"?o.items.push(r):e.push({type:"ul",items:[r]})}else!p&&o?.type==="p"?o.text+=`
4
+ ${t}`:e.push({type:"p",text:t})});return e}const I=()=>[{label:c("First section"),heading:c("Your *first* section."),body:c(`Write the opening paragraph here.
5
5
 
6
6
  - Start a line with a dash for a bullet.
7
- - Add as many as you like.`)},{label:p("Second section"),heading:p("Your *second* section."),body:p("Leave a blank line between paragraphs to start a new one.")}],C=T;function I({tocTitle:n,sections:e,editing:l=!1,stickyTop:m=C}){const t=_(),r=O(e);if(r.length===0&&!l)return null;const s=r.length===0&&l?B():r,o=$(s);return c(v,{as:"section",className:"relative z-[2] bg-bg",children:x("div",{className:k("mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-[240px_1fr] items-start gap-20 border-b border-line px-[var(--sf-site-gutter,40px)] py-20 max-[900px]:grid-cols-1 max-[900px]:gap-10 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-[60px]",t),children:[c(N,{title:n,entries:s.map((a,i)=>({label:a.label||"Section",anchor:o[i]})),stickyTop:m}),c("div",{className:"flex flex-col gap-16",children:s.map((a,i)=>x("article",{id:o[i],className:"flex flex-col gap-[18px]",style:{scrollMarginTop:m},children:[x("span",{className:"font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:[w(i)," · ",d(a.label||"Section")]}),a.heading&&c("h2",{className:"mb-2 border-b border-line pb-[18px] font-heading2 text-[length:min(var(--size-headingMedium,clamp(28px,3.5vw,44px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[1.04] tracking-[-0.025em]",children:d(a.heading)}),A(a.body??"").map((f,u)=>f.type==="ul"?c("ul",{className:"flex max-w-[680px] list-none flex-col gap-2.5 pl-0",children:f.items.map((g,b)=>c("li",{className:"relative pl-6 font-serif text-[length:var(--size-body,17px)] leading-[1.65] text-fg-dim before:absolute before:-top-0.5 before:left-1.5 before:text-[length:var(--size-body,24px)] before:leading-none before:text-accent before:content-['·']",children:d(g)},b))},u):c("p",{className:"max-w-[680px] font-serif text-[length:var(--size-body,17px)] leading-[1.7] text-fg-dim",children:d(f.text)},u))]},o[i]))})]})})}export{I as default,A as parseBlocks,z as sectionAnchorId,$ as sectionAnchorIds,O as shownSections};
7
+ - Add as many as you like.`)},{label:c("Second section"),heading:c("Your *second* section."),body:c("Leave a blank line between paragraphs to start a new one.")}],L=k;function Y({tocTitle:n,sections:e,editing:i=!1,stickyTop:m=L,pad:t}){const a=z(),s=A(e);if(s.length===0&&!i)return null;const o=s.length===0&&i?I():s,p=B(o);return l(v,{as:"section",className:"relative z-[2] bg-bg",children:h("div",{...O(_("mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-[240px_1fr] items-start gap-20 border-b border-line px-[var(--sf-site-gutter,40px)] py-20 max-[900px]:grid-cols-1 max-[900px]:gap-10 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-[60px]",a),t),children:[l(T,{title:n,entries:o.map((r,d)=>({label:r.label||"Section",anchor:p[d]})),stickyTop:m}),l("div",{className:"flex flex-col gap-16",children:o.map((r,d)=>h("article",{id:p[d],className:"flex flex-col gap-[18px]",style:{scrollMarginTop:m},children:[h("span",{className:"font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:[S(d)," · ",f(r.label||"Section")]}),r.heading&&l("h2",{className:"mb-2 border-b border-line pb-[18px] font-heading2 text-[length:min(var(--size-headingMedium,clamp(28px,3.5vw,44px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[1.04] tracking-[-0.025em]",children:f(r.heading)}),C(r.body??"").map((x,g)=>x.type==="ul"?l("ul",{className:"flex max-w-[680px] list-none flex-col gap-2.5 pl-0",children:x.items.map((b,y)=>l("li",{className:"relative pl-6 font-serif text-[length:var(--size-body,17px)] leading-[1.65] text-fg-dim before:absolute before:-top-0.5 before:left-1.5 before:text-[length:var(--size-body,24px)] before:leading-none before:text-accent before:content-['·']",children:f(b)},y))},g):l("p",{className:"max-w-[680px] font-serif text-[length:var(--size-body,17px)] leading-[1.7] text-fg-dim",children:f(x.text)},g))]},p[d]))})]})})}export{Y as default,C as parseBlocks,$ as sectionAnchorId,B as sectionAnchorIds,A as shownSections};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface DocMastheadMeta {
2
3
  label: string;
3
4
  value: string;
@@ -9,5 +10,6 @@ export interface DocMastheadProps {
9
10
  deck?: string;
10
11
  meta?: DocMastheadMeta[];
11
12
  editing?: boolean;
13
+ pad?: RootPadAttrs | null;
12
14
  }
13
- export default function DocMasthead({ eyebrow, title, deck, meta, editing, titleLevel, }: DocMastheadProps): import("react").JSX.Element | null;
15
+ export default function DocMasthead({ eyebrow, title, deck, meta, editing, titleLevel, pad, }: DocMastheadProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as a,jsxs as s}from"react/jsx-runtime";import g from"./SectionEyebrow.js";import{HideTaker as f}from"./ViewHideRoot.js";import{renderGold as p,renderHeadline as b}from"./goldPhrases.js";import{pageTitleTag as u}from"../../format/lib/document/one-h1.js";import{withSideOnce as h}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as v}from"./SideSpaceOnce.js";const o={bodyUpTo900:"max-[900px]:text-[length:var(--size-body,19px)]",body:"text-[length:var(--size-body,22px)]",label:"text-[length:var(--size-label,13px)]"};function N({level:t,className:r,children:l}){const i=u(t);return a(i,{className:r,children:l})}function T({eyebrow:t,title:r,deck:l,meta:i,editing:x=!1,titleLevel:m}){const d=v(),n=(i??[]).filter(e=>(e.label??"").trim()!==""||(e.value??"").trim()!=="");return!!!(t||r||l||n.length>0)&&!x?null:a(f,{as:"section",className:"relative z-[2] bg-bg",children:s("div",{className:h("mx-auto max-w-[var(--sf-site-width,1600px)] border-b border-line px-[var(--sf-site-gutter,40px)] pt-[100px] pb-[60px] max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:pt-[60px] max-[900px]:pb-10",d),children:[s("div",{className:"grid grid-cols-[auto_1fr_auto] items-end gap-10 pb-8 max-[900px]:grid-cols-1 max-[900px]:gap-4",children:[t&&a(g,{text:t,className:"pb-3",classNameAfter:"max-[900px]:pb-0"}),r&&a(N,{level:m,className:"font-display text-[length:min(var(--size-headingLarge,clamp(56px,8vw,128px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[0.88] tracking-[-0.04em]",children:b(r,!0)}),n.length>0&&a("div",{className:`pb-3 text-right font-mono ${o.label} uppercase leading-[1.8] tracking-[0.22em] text-fg-dim max-[900px]:pb-0 max-[900px]:text-left`,children:n.map((e,c)=>s("div",{children:[e.label&&a("strong",{className:"font-normal text-fg",children:p(e.label)}),e.label&&e.value?" ":null,e.value?p(e.value):null]},c))})]}),l&&a("p",{className:`max-w-[760px] border-t border-line pt-8 font-serif ${o.body} italic leading-[1.5] text-fg-dim ${o.bodyUpTo900}`,children:p(l,!0)})]})})}export{T as default};
1
+ import{jsx as t,jsxs as s}from"react/jsx-runtime";import f from"./SectionEyebrow.js";import{HideTaker as b}from"./ViewHideRoot.js";import{renderGold as o,renderHeadline as h}from"./goldPhrases.js";import{pageTitleTag as u}from"../../format/lib/document/one-h1.js";import{withSideOnce as v}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as N}from"./SideSpaceOnce.js";import{withRootPad as T}from"../lib/content/section-own-pads.js";const p={bodyUpTo900:"max-[900px]:text-[length:var(--size-body,19px)]",body:"text-[length:var(--size-body,22px)]",label:"text-[length:var(--size-label,13px)]"};function w({level:a,className:r,children:i}){const l=u(a);return t(l,{className:r,children:i})}function y({eyebrow:a,title:r,deck:i,meta:l,editing:x=!1,titleLevel:m,pad:d}){const c=N(),n=(l??[]).filter(e=>(e.label??"").trim()!==""||(e.value??"").trim()!=="");return!!!(a||r||i||n.length>0)&&!x?null:t(b,{as:"section",className:"relative z-[2] bg-bg",children:s("div",{...T(v("mx-auto max-w-[var(--sf-site-width,1600px)] border-b border-line px-[var(--sf-site-gutter,40px)] pt-[100px] pb-[60px] max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:pt-[60px] max-[900px]:pb-10",c),d),children:[s("div",{className:"grid grid-cols-[auto_1fr_auto] items-end gap-10 pb-8 max-[900px]:grid-cols-1 max-[900px]:gap-4",children:[a&&t(f,{text:a,className:"pb-3",classNameAfter:"max-[900px]:pb-0"}),r&&t(w,{level:m,className:"font-display text-[length:min(var(--size-headingLarge,clamp(56px,8vw,128px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[0.88] tracking-[-0.04em]",children:h(r,!0)}),n.length>0&&t("div",{className:`pb-3 text-right font-mono ${p.label} uppercase leading-[1.8] tracking-[0.22em] text-fg-dim max-[900px]:pb-0 max-[900px]:text-left`,children:n.map((e,g)=>s("div",{children:[e.label&&t("strong",{className:"font-normal text-fg",children:o(e.label)}),e.label&&e.value?" ":null,e.value?o(e.value):null]},g))})]}),i&&t("p",{className:`max-w-[760px] border-t border-line pt-8 font-serif ${p.body} italic leading-[1.5] text-fg-dim ${p.bodyUpTo900}`,children:o(i,!0)})]})})}export{y as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface DocMetaCard {
2
3
  label: string;
3
4
  value: string;
@@ -6,5 +7,6 @@ export interface DocMetaCard {
6
7
  export interface DocMetaCardsProps {
7
8
  cards?: DocMetaCard[];
8
9
  editing?: boolean;
10
+ pad?: RootPadAttrs | null;
9
11
  }
10
- export default function DocMetaCards({ cards, editing }: DocMetaCardsProps): import("react").JSX.Element | null;
12
+ export default function DocMetaCards({ cards, editing, pad }: DocMetaCardsProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as a,jsxs as m}from"react/jsx-runtime";import n from"./SectionEyebrow.js";import{HideTaker as x}from"./ViewHideRoot.js";import{renderGold as i}from"./goldPhrases.js";import{withSideOnce as p}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as c}from"./SideSpaceOnce.js";const t={body:"text-[length:var(--size-body,14px)]",headingSmall:"text-[length:var(--size-headingSmall,20px)]"};function f({cards:s,editing:l=!1}){const o=c(),r=(s??[]).filter(e=>(e.label??"").trim()!==""||(e.value??"").trim()!==""||(e.desc??"").trim()!=="");return r.length===0&&!l?null:a(x,{as:"section",className:"relative z-[2] bg-bg",children:a("div",{className:p("mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-3 gap-10 border-b border-line px-[var(--sf-site-gutter,40px)] py-[60px] max-[900px]:grid-cols-1 max-[900px]:gap-4 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-10",o),children:r.map((e,d)=>m("div",{className:"flex flex-col gap-2 border border-line bg-surface p-6",children:[e.label&&a(n,{text:e.label,size:12}),e.value&&a("span",{className:`font-heading3 ${t.headingSmall} font-medium tracking-[-0.015em] text-fg`,children:i(e.value)}),e.desc&&a("span",{className:`mt-1.5 font-serif ${t.body} italic leading-[1.5] text-fg-dim`,children:i(e.desc)})]},d))})})}export{f as default};
1
+ import{jsx as r,jsxs as n}from"react/jsx-runtime";import p from"./SectionEyebrow.js";import{HideTaker as x}from"./ViewHideRoot.js";import{renderGold as a}from"./goldPhrases.js";import{withSideOnce as f}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as c}from"./SideSpaceOnce.js";import{withRootPad as g}from"../lib/content/section-own-pads.js";const i={body:"text-[length:var(--size-body,14px)]",headingSmall:"text-[length:var(--size-headingSmall,20px)]"};function b({cards:s,editing:l=!1,pad:o}){const d=c(),t=(s??[]).filter(e=>(e.label??"").trim()!==""||(e.value??"").trim()!==""||(e.desc??"").trim()!=="");return t.length===0&&!l?null:r(x,{as:"section",className:"relative z-[2] bg-bg",children:r("div",{...g(f("mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-3 gap-10 border-b border-line px-[var(--sf-site-gutter,40px)] py-[60px] max-[900px]:grid-cols-1 max-[900px]:gap-4 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-10",d),o),children:t.map((e,m)=>n("div",{className:"flex flex-col gap-2 border border-line bg-surface p-6",children:[e.label&&r(p,{text:e.label,size:12}),e.value&&r("span",{className:`font-heading3 ${i.headingSmall} font-medium tracking-[-0.015em] text-fg`,children:a(e.value)}),e.desc&&r("span",{className:`mt-1.5 font-serif ${i.body} italic leading-[1.5] text-fg-dim`,children:a(e.desc)})]},m))})})}export{b as default};
@@ -1,5 +1,6 @@
1
1
  import type { Ref } from "react";
2
2
  import type { PartStyles } from "../lib/document/part-styles.js";
3
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
3
4
  export interface FAQItem {
4
5
  question?: string;
5
6
  answer?: string;
@@ -19,7 +20,8 @@ export interface FAQProps {
19
20
  omitHead?: boolean;
20
21
  listKey?: string;
21
22
  rootRef?: Ref<HTMLElement>;
23
+ pad?: RootPadAttrs | null;
22
24
  }
23
25
  export declare function faqRows(items: readonly FAQItem[] | undefined): FAQItem[];
24
26
  export declare function faqPageJsonLd(rows: readonly FAQItem[]): string | null;
25
- export default function FAQ({ num, title, link, items, defaultOpen, editing, omitHead, nodeId, partStyles, listKey, rootRef, }: FAQProps): import("react").JSX.Element | null;
27
+ export default function FAQ({ num, title, link, items, defaultOpen, editing, omitHead, nodeId, partStyles, listKey, rootRef, pad, }: FAQProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{Fragment as T,jsx as n,jsxs as a}from"react/jsx-runtime";import{HideTaker as q}from"./ViewHideRoot.js";import v,{ACCORDION_MARK_SHEET as F}from"./AccordionMark.js";import{stripMarkup as I}from"../../format/lib/markup.js";import{renderGold as m,renderHeadline as L}from"./goldPhrases.js";import M from"./SectionHeader.js";import{SectionTextParts as Q}from"../lib/document/editing-bridges.js";import u from"./TextRegionRun.js";import{TEXT_REGION_ATTR as W,regionStyle as j,textRegionPartKey as C}from"../../format/lib/sections/text-regions.js";import{FAQ_REGIONS as z}from"../../format/lib/sections/faq-text-regions.js";import{SIZE_STEP_OF_ROLE as H}from"../../format/lib/fonts.js";import{say as l}from"../../format/lib/editor-words.js";import{SITE_COLUMN as P,withSideOnce as G}from"../../format/lib/content/page-width.js";import{listNumber as U}from"../../format/lib/content/list-number.js";import{LIST_KEY_ATTR as B}from"../../format/lib/content/list-query.js";import{QA_ROW_ANSWER_CLASS as J,QA_ROW_NUMBER_CLASS as K,QA_ROW_SUMMARY_CLASS as X}from"../../format/lib/content/accordion-row-style.js";import{useSideSpaceOnce as Y}from"./SideSpaceOnce.js";function k(e){return(e??[]).filter(r=>(r.question??"").trim()!=="")}function D(e){const r=e.filter(t=>(t.answer??"").trim()!=="").map(t=>({"@type":"Question",name:S(t.question??""),acceptedAnswer:{"@type":"Answer",text:S(t.answer??"")}}));return r.length>0?JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:r}).replace(/</g,"\\u003c"):null}function S(e){return I(e).trim()}function f(e,r){return e?{[W]:r}:{}}function h(e,r){const t=e?.[C(r)]?.role;return j(t,z[r],H)}function Z({editing:e,nodeId:r,partStyles:t,children:s}){return!e||!r?n(T,{children:s}):n(Q,{nodeId:r,sectionType:"FAQ",partStyles:t,children:s})}const V="relative z-[2] bg-bg py-[120px] max-view-wide:py-[70px]",$="relative z-[2] bg-bg pt-0 pb-[120px] max-view-wide:pt-0 max-view-wide:pb-[70px]";function ee({num:e,title:r,link:t,items:s,defaultOpen:y=!0,editing:o=!1,omitHead:N=!1,nodeId:R,partStyles:i,listKey:x,rootRef:E}){const b=Y(),c=k(s),O=o&&c.length===0;if(c.length===0&&!o)return null;const _=O?[{question:l("Add your first question"),answer:l("Write the answer here.")},{question:l("Add another question"),answer:l("Write the answer here.")}]:c,w=o?null:D(_),g=r?L(r,!0):void 0,A=N||!e&&!g&&!t;return a(q,{as:"section",ref:E,className:A?$:V,...x?{[B]:x}:{},children:[n("style",{children:F}),w&&n("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:w}}),a("div",{className:G(P,b),children:[A?null:n(M,{num:e!==void 0?m(e):void 0,title:g,link:t?{text:m(t.text),href:t.href}:void 0,accent:!0}),n(Z,{editing:o,nodeId:R,partStyles:i,children:n("div",{children:_.map((d,p)=>a("details",{open:p===0&&y,className:"border-b border-line",children:[a("summary",{className:X,children:[n("span",{className:K,...f(o,"number"),style:h(i,"number"),children:n(u,{region:"number",partStyles:i,children:U(p)})}),n("span",{className:"flex-1 font-display text-[length:var(--size-body,18px)] font-medium uppercase tracking-[0.02em] text-fg max-view-wide:text-[length:var(--size-body,15px)]",...f(o,"question"),style:h(i,"question"),children:n(u,{region:"question",partStyles:i,children:m(d.question??"")})}),n(v,{})]}),d.answer&&n("div",{className:J,children:n("p",{className:"max-w-[760px] text-[length:var(--size-body,15px)] leading-[1.7] text-fg-dim",...f(o,"answer"),style:h(i,"answer"),children:n(u,{region:"answer",partStyles:i,children:m(d.answer)})})})]},p))})})]})]})}export{ee as default,D as faqPageJsonLd,k as faqRows};
1
+ import{Fragment as q,jsx as t,jsxs as a}from"react/jsx-runtime";import{HideTaker as v}from"./ViewHideRoot.js";import F,{ACCORDION_MARK_SHEET as I}from"./AccordionMark.js";import{stripMarkup as L}from"../../format/lib/markup.js";import{renderGold as m,renderHeadline as M}from"./goldPhrases.js";import Q from"./SectionHeader.js";import{SectionTextParts as W}from"../lib/document/editing-bridges.js";import u from"./TextRegionRun.js";import{TEXT_REGION_ATTR as j,regionStyle as C,textRegionPartKey as P}from"../../format/lib/sections/text-regions.js";import{FAQ_REGIONS as z}from"../../format/lib/sections/faq-text-regions.js";import{SIZE_STEP_OF_ROLE as H}from"../../format/lib/fonts.js";import{say as l}from"../../format/lib/editor-words.js";import{SITE_COLUMN as G,withSideOnce as U}from"../../format/lib/content/page-width.js";import{listNumber as B}from"../../format/lib/content/list-number.js";import{LIST_KEY_ATTR as J}from"../../format/lib/content/list-query.js";import{QA_ROW_ANSWER_CLASS as K,QA_ROW_NUMBER_CLASS as X,QA_ROW_SUMMARY_CLASS as Y}from"../../format/lib/content/accordion-row-style.js";import{useSideSpaceOnce as k}from"./SideSpaceOnce.js";import{withRootPad as D}from"../lib/content/section-own-pads.js";function Z(e){return(e??[]).filter(r=>(r.question??"").trim()!=="")}function V(e){const r=e.filter(n=>(n.answer??"").trim()!=="").map(n=>({"@type":"Question",name:S(n.question??""),acceptedAnswer:{"@type":"Answer",text:S(n.answer??"")}}));return r.length>0?JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:r}).replace(/</g,"\\u003c"):null}function S(e){return L(e).trim()}function f(e,r){return e?{[j]:r}:{}}function h(e,r){const n=e?.[P(r)]?.role;return C(n,z[r],H)}function $({editing:e,nodeId:r,partStyles:n,children:s}){return!e||!r?t(q,{children:s}):t(W,{nodeId:r,sectionType:"FAQ",partStyles:n,children:s})}const ee="relative z-[2] bg-bg py-[120px] max-view-wide:py-[70px]",re="relative z-[2] bg-bg pt-0 pb-[120px] max-view-wide:pt-0 max-view-wide:pb-[70px]";function te({num:e,title:r,link:n,items:s,defaultOpen:y=!0,editing:o=!1,omitHead:R=!1,nodeId:N,partStyles:i,listKey:x,rootRef:E,pad:b}){const O=k(),c=Z(s),T=o&&c.length===0;if(c.length===0&&!o)return null;const _=T?[{question:l("Add your first question"),answer:l("Write the answer here.")},{question:l("Add another question"),answer:l("Write the answer here.")}]:c,w=o?null:V(_),g=r?M(r,!0):void 0,A=R||!e&&!g&&!n;return a(v,{as:"section",ref:E,...D(A?re:ee,b),...x?{[J]:x}:{},children:[t("style",{children:I}),w&&t("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:w}}),a("div",{className:U(G,O),children:[A?null:t(Q,{num:e!==void 0?m(e):void 0,title:g,link:n?{text:m(n.text),href:n.href}:void 0,accent:!0}),t($,{editing:o,nodeId:N,partStyles:i,children:t("div",{children:_.map((d,p)=>a("details",{open:p===0&&y,className:"border-b border-line",children:[a("summary",{className:Y,children:[t("span",{className:X,...f(o,"number"),style:h(i,"number"),children:t(u,{region:"number",partStyles:i,children:B(p)})}),t("span",{className:"flex-1 font-display text-[length:var(--size-body,18px)] font-medium uppercase tracking-[0.02em] text-fg max-view-wide:text-[length:var(--size-body,15px)]",...f(o,"question"),style:h(i,"question"),children:t(u,{region:"question",partStyles:i,children:m(d.question??"")})}),t(F,{})]}),d.answer&&t("div",{className:K,children:t("p",{className:"max-w-[760px] text-[length:var(--size-body,15px)] leading-[1.7] text-fg-dim",...f(o,"answer"),style:h(i,"answer"),children:t(u,{region:"answer",partStyles:i,children:m(d.answer)})})})]},p))})})]})]})}export{te as default,V as faqPageJsonLd,Z as faqRows};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface FeaturedCoverProps {
2
3
  image?: string;
3
4
  badge?: string;
@@ -11,5 +12,6 @@ export interface FeaturedCoverProps {
11
12
  ctaText?: string;
12
13
  ctaHref?: string;
13
14
  omitHead?: boolean;
15
+ pad?: RootPadAttrs | null;
14
16
  }
15
- export default function FeaturedCover({ image, badge, imageDate, category, readLabel, date, dateAt, title, dek, ctaText, ctaHref, omitHead, }: FeaturedCoverProps): import("react").JSX.Element;
17
+ export default function FeaturedCover({ image, badge, imageDate, category, readLabel, date, dateAt, title, dek, ctaText, ctaHref, omitHead, pad, }: FeaturedCoverProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- import{jsx as e,jsxs as n}from"react/jsx-runtime";import{EDITORIAL_COLUMN as y,withSideOnce as S}from"../../format/lib/content/page-width.js";import{HideTaker as z}from"./ViewHideRoot.js";import{Fragment as $}from"react";import{SiteLink as j}from"../lib/site-runtime.js";import b from"./PostDate.js";import{stripMarkup as L}from"../../format/lib/markup.js";import O from"./Placeholder.js";import{renderGold as r,renderHeadline as _,splitParagraphs as P}from"./goldPhrases.js";import{scrim as u}from"../../format/lib/content/scrim.js";import{useSideSpaceOnce as T}from"./SideSpaceOnce.js";const l={body:"text-[length:var(--size-body,20px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function C({image:v,badge:o,imageDate:c,category:p,readLabel:m,date:d,dateAt:a,title:i,dek:f,ctaText:x,ctaHref:N,omitHead:k=!1}){const w=T(),g=[p?e("span",{className:"text-accent",children:r(p)}):null,m?e("span",{children:r(m)}):null,a?e("span",{children:e(b,{at:a})}):d?e("span",{children:r(d)}):null].filter(Boolean),h=n("article",{className:"sf-card relative grid grid-cols-[1.3fr_1fr] border border-line bg-[var(--card-bg)] max-view-desktop:grid-cols-1",children:[n("div",{className:"relative aspect-[5/4] overflow-hidden border-r border-line bg-surface-2 max-view-desktop:border-r-0 max-view-desktop:border-b",children:[e(O,{label:"featured-cover",src:v||void 0,alt:L(i||"Cover"),sizes:"(max-width: 1100px) 100vw, 56vw"}),e("div",{className:"pointer-events-none absolute inset-0 z-[1]",style:{background:`linear-gradient(180deg, ${u(.45)} 0%, transparent 30%, transparent 70%, ${u(.55)} 100%)`}}),o&&e("span",{className:`absolute left-6 top-6 z-[2] bg-accent px-3 py-2 font-mono ${l.labelSmall} uppercase tracking-[0.3em] text-bg`,children:r(o)}),(a||c)&&e("span",{className:`absolute right-6 bottom-6 z-[2] font-mono ${l.labelSmall} uppercase tracking-[0.24em] text-overlay-fg`,children:a?e(b,{at:a}):r(c)})]}),n("div",{className:"flex flex-col justify-between gap-6 px-12 py-14 max-view-desktop:px-7 max-view-desktop:py-9",children:[g.length>0&&e("div",{className:`flex items-center gap-4 font-mono ${l.labelSmall} uppercase tracking-[0.28em] text-fg-dim`,children:g.map((s,t)=>n($,{children:[t>0&&e("span",{className:"opacity-40",children:"·"}),s]},t))}),i&&e("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(34px,3.5vw,58px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em]",children:_(i,!0)}),f&&P(f).map((s,t)=>e("p",{className:`max-w-[520px] font-serif ${l.body} italic leading-[1.5] text-fg-dim`,children:r(s,!0)},t)),x&&e("div",{children:n(j,{newTab:"auto",href:N||"#",className:`group inline-flex items-center gap-3.5 py-3.5 font-mono ${l.labelLarge} uppercase tracking-[0.3em] text-accent`,children:[r(x)," ",e("span",{className:"transition-transform group-hover:translate-x-[6px]",children:"→"})]})})]})]});return k?h:e(z,{as:"section",className:"border-b border-line py-20 max-view-desktop:py-[60px]",children:e("div",{className:S(y,w),children:h})})}export{C as default};
1
+ import{jsx as e,jsxs as n}from"react/jsx-runtime";import{EDITORIAL_COLUMN as S,withSideOnce as z}from"../../format/lib/content/page-width.js";import{HideTaker as $}from"./ViewHideRoot.js";import{Fragment as j}from"react";import{SiteLink as L}from"../lib/site-runtime.js";import b from"./PostDate.js";import{stripMarkup as O}from"../../format/lib/markup.js";import P from"./Placeholder.js";import{renderGold as r,renderHeadline as _,splitParagraphs as T}from"./goldPhrases.js";import{scrim as u}from"../../format/lib/content/scrim.js";import{useSideSpaceOnce as C}from"./SideSpaceOnce.js";import{withRootPad as E}from"../lib/content/section-own-pads.js";const t={body:"text-[length:var(--size-body,20px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function I({image:v,badge:o,imageDate:c,category:p,readLabel:m,date:d,dateAt:a,title:l,dek:f,ctaText:x,ctaHref:w,omitHead:k=!1,pad:N}){const y=C(),h=[p?e("span",{className:"text-accent",children:r(p)}):null,m?e("span",{children:r(m)}):null,a?e("span",{children:e(b,{at:a})}):d?e("span",{children:r(d)}):null].filter(Boolean),g=n("article",{className:"sf-card relative grid grid-cols-[1.3fr_1fr] border border-line bg-[var(--card-bg)] max-view-desktop:grid-cols-1",children:[n("div",{className:"relative aspect-[5/4] overflow-hidden border-r border-line bg-surface-2 max-view-desktop:border-r-0 max-view-desktop:border-b",children:[e(P,{label:"featured-cover",src:v||void 0,alt:O(l||"Cover"),sizes:"(max-width: 1100px) 100vw, 56vw"}),e("div",{className:"pointer-events-none absolute inset-0 z-[1]",style:{background:`linear-gradient(180deg, ${u(.45)} 0%, transparent 30%, transparent 70%, ${u(.55)} 100%)`}}),o&&e("span",{className:`absolute left-6 top-6 z-[2] bg-accent px-3 py-2 font-mono ${t.labelSmall} uppercase tracking-[0.3em] text-bg`,children:r(o)}),(a||c)&&e("span",{className:`absolute right-6 bottom-6 z-[2] font-mono ${t.labelSmall} uppercase tracking-[0.24em] text-overlay-fg`,children:a?e(b,{at:a}):r(c)})]}),n("div",{className:"flex flex-col justify-between gap-6 px-12 py-14 max-view-desktop:px-7 max-view-desktop:py-9",children:[h.length>0&&e("div",{className:`flex items-center gap-4 font-mono ${t.labelSmall} uppercase tracking-[0.28em] text-fg-dim`,children:h.map((s,i)=>n(j,{children:[i>0&&e("span",{className:"opacity-40",children:"·"}),s]},i))}),l&&e("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(34px,3.5vw,58px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em]",children:_(l,!0)}),f&&T(f).map((s,i)=>e("p",{className:`max-w-[520px] font-serif ${t.body} italic leading-[1.5] text-fg-dim`,children:r(s,!0)},i)),x&&e("div",{children:n(L,{newTab:"auto",href:w||"#",className:`group inline-flex items-center gap-3.5 py-3.5 font-mono ${t.labelLarge} uppercase tracking-[0.3em] text-accent`,children:[r(x)," ",e("span",{className:"transition-transform group-hover:translate-x-[6px]",children:"→"})]})})]})]});return k?g:e($,{as:"section",...E("border-b border-line py-20 max-view-desktop:py-[60px]",N),children:e("div",{className:z(S,y),children:g})})}export{I as default};
@@ -1,4 +1,5 @@
1
1
  import type { SlotComponent } from "efficient-easel/blocks";
2
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
2
3
  interface GridProps {
3
4
  columns?: number | string;
4
5
  mobileColumns?: number | string;
@@ -8,6 +9,7 @@ interface GridProps {
8
9
  contained?: boolean;
9
10
  fillHeight?: boolean;
10
11
  content: SlotComponent;
12
+ pad?: RootPadAttrs | null;
11
13
  }
12
- export default function Grid({ columns, mobileColumns, gap, gapPhone, gapTablet, contained, fillHeight, content: Content, }: GridProps): import("react").JSX.Element;
14
+ export default function Grid({ columns, mobileColumns, gap, gapPhone, gapTablet, contained, fillHeight, content: Content, pad, }: GridProps): import("react").JSX.Element;
13
15
  export {};
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import{FRAME_BASE as l,FRAME_GUTTER as e}from"./BlockFrame.js";import{SlotsStartAfresh as S,useFillsCell as h}from"./InBoxContext.js";import G from"./SiteGutterFrame.js";import{containerGapProps as A}from"../../format/lib/content/container-gap.js";import{resolveGridColumns as E,resolveGridMobileColumns as y}from"../../format/lib/content/grid-span.js";import{SECTION_FILL_CLASS as F}from"../../format/lib/content/section-min-height.js";import{partAttr as _}from"../../format/lib/content/part-names.js";function x({columns:s,mobileColumns:i,gap:n,gapPhone:m,gapTablet:a,contained:f=!0,fillHeight:p=!1,content:c}){const d=h(),r=p||d?` ${F}`:"",C=`${l} py-6 ${e}${r}`,u=`w-full py-6${r}`,$=E(s),g=y(i,s),t=A("Grid",n,"both",m,a);return o(G,{contained:f,framedClass:C,fillClass:u,columnClass:`${l} ${e}${r}`,box:!0,part:_("grid"),children:o(S,{children:o(c,{className:`sf-grid-zone grid${t.className}${r}`,style:{...t.style,"--sf-grid-cols":String($),"--sf-grid-cols-phone":String(g)},minEmptyHeight:120})})})}export{x as default};
1
+ import{jsx as s}from"react/jsx-runtime";import{FRAME_BASE as i,FRAME_GUTTER as m}from"./BlockFrame.js";import{SlotsStartAfresh as G,useFillsCell as A}from"./InBoxContext.js";import E from"./SiteGutterFrame.js";import{containerGapProps as F}from"../../format/lib/content/container-gap.js";import{resolveGridColumns as N,resolveGridMobileColumns as _}from"../../format/lib/content/grid-span.js";import{SECTION_FILL_CLASS as x}from"../../format/lib/content/section-min-height.js";import{partAttr as R}from"../../format/lib/content/part-names.js";import{withRootPad as a}from"../lib/content/section-own-pads.js";function b({columns:o,mobileColumns:n,gap:f,gapPhone:c,gapTablet:p,contained:d=!0,fillHeight:C=!1,content:u,pad:t}){const $=A(),r=C||$?` ${x}`:"",l=a(`${i} py-6 ${m}${r}`,t),g=l.className,S=a(`w-full py-6${r}`,t).className,h=N(o),y=_(n,o),e=F("Grid",f,"both",c,p);return s(E,{contained:d,framedClass:g,fillClass:S,columnClass:`${i} ${m}${r}`,style:l.style,box:!0,part:R("grid"),children:s(G,{children:s(u,{className:`sf-grid-zone grid${e.className}${r}`,style:{...e.style,"--sf-grid-cols":String(h),"--sf-grid-cols-phone":String(y)},minEmptyHeight:120})})})}export{b as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface IntegrationsTextItem {
2
3
  text?: string;
3
4
  }
@@ -10,5 +11,6 @@ export interface IntegrationsSectionProps {
10
11
  statLabel?: string;
11
12
  note?: string;
12
13
  editing?: boolean;
14
+ pad?: RootPadAttrs | null;
13
15
  }
14
- export default function IntegrationsSection({ eyebrow, title, body, apps, statValue, statLabel, note, editing, }?: IntegrationsSectionProps): import("react").JSX.Element | null;
16
+ export default function IntegrationsSection({ eyebrow, title, body, apps, statValue, statLabel, note, editing, pad, }?: IntegrationsSectionProps): import("react").JSX.Element | null;