@bendyline/squisq 2.13.1 → 2.13.3

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 (35) hide show
  1. package/dist/{Doc-C7iCmmmF.d.ts → Doc-BPhdJFS_.d.ts} +53 -2
  2. package/dist/{ImageEditDoc-CxRHe41J.d.ts → ImageEditDoc-DDx-sw_S.d.ts} +1 -1
  3. package/dist/{chunk-ITLJQG7Z.js → chunk-5FUBK3DK.js} +527 -266
  4. package/dist/{chunk-HE3HQZWU.js → chunk-6NWVLLMI.js} +104 -1
  5. package/dist/{chunk-3A6YM375.js → chunk-D3JQMZUT.js} +8 -8
  6. package/dist/chunk-DOOUVVOM.js +78 -0
  7. package/dist/{chunk-2LTALYXX.js → chunk-F3LRTRST.js} +15 -10
  8. package/dist/{chunk-5SVFLLOD.js → chunk-ISVJ42I3.js} +3 -0
  9. package/dist/{chunk-7ZXCS3UU.js → chunk-JFJZ4NS6.js} +2 -2
  10. package/dist/{chunk-V4USYYYO.js → chunk-JOBMPMY5.js} +1 -1
  11. package/dist/{chunk-HGCIIXHP.js → chunk-POZCKPCO.js} +235 -4
  12. package/dist/{chunk-DCO5GYVW.js → chunk-VX7MPZOK.js} +5 -5
  13. package/dist/doc/index.d.ts +100 -15
  14. package/dist/doc/index.js +15 -7
  15. package/dist/fence/index.d.ts +1 -1
  16. package/dist/generate/index.d.ts +1 -1
  17. package/dist/imageEdit/index.d.ts +3 -3
  18. package/dist/index.d.ts +5 -5
  19. package/dist/index.js +26 -18
  20. package/dist/jsonForm/index.d.ts +1 -1
  21. package/dist/jsonForm/index.js +1 -1
  22. package/dist/markdown/index.js +11 -12
  23. package/dist/{materializePageSection-_5uQrEYP.d.ts → materializePageSection-DnQi-0TA.d.ts} +1 -1
  24. package/dist/mediaEdit/index.d.ts +2 -2
  25. package/dist/narration/index.d.ts +1 -1
  26. package/dist/narration/index.js +5 -5
  27. package/dist/recommend/index.js +3 -2
  28. package/dist/schemas/index.d.ts +4 -4
  29. package/dist/schemas/index.js +1 -1
  30. package/dist/{themeLibrary-DsntZLoa.d.ts → themeLibrary-DM7eSK1w.d.ts} +1 -1
  31. package/dist/timing/index.d.ts +1 -1
  32. package/dist/transform/index.d.ts +2 -2
  33. package/dist/transform/index.js +6 -6
  34. package/package.json +1 -1
  35. package/dist/chunk-Y25EJEZN.js +0 -178
@@ -977,6 +977,37 @@ interface LeftFeatureInput extends FeatureInputBase {
977
977
  interface RightFeatureInput extends FeatureInputBase {
978
978
  template: 'rightFeature';
979
979
  }
980
+ /**
981
+ * Shared fields for the media-led templates. Like `content`, they take only
982
+ * a heading: the body and its media (images, video clips, hosted players,
983
+ * diagrams) come from the block's own markdown.
984
+ */
985
+ interface MediaLedInputBase extends BaseTemplateBlock {
986
+ /** Heading shown with the body. */
987
+ title: string;
988
+ }
989
+ /**
990
+ * Top feature — the block's media spans the full width across the top, with
991
+ * the heading and complete body in a band below sized to the text. For wide
992
+ * media and portrait slides, where a side-by-side feature would halve it.
993
+ */
994
+ interface TopFeatureInput extends MediaLedInputBase {
995
+ template: 'topFeature';
996
+ }
997
+ /**
998
+ * Bottom feature — the heading and complete body in a band across the top,
999
+ * with the block's media spanning the full width below.
1000
+ */
1001
+ interface BottomFeatureInput extends MediaLedInputBase {
1002
+ template: 'bottomFeature';
1003
+ }
1004
+ /**
1005
+ * Media only — the block's media fills the slide, with no title, body or
1006
+ * caption. A block without media renders as a `content` slide instead.
1007
+ */
1008
+ interface MediaOnlyInput extends MediaLedInputBase {
1009
+ template: 'mediaOnly';
1010
+ }
980
1011
  /**
981
1012
  * Map block - geographic map showing article location.
982
1013
  *
@@ -1449,7 +1480,7 @@ type ChartTemplateInput = BarChartInput | ColumnChartInput | PieChartInput | Don
1449
1480
  /**
1450
1481
  * Union of all template block types.
1451
1482
  */
1452
- type TemplateBlock = TitleBlockInput | SectionHeaderInput | BigTextInput | TranscriptBlockInput | ContentBlockInput | StatHighlightInput | QuoteBlockInput | FactCardInput | TwoColumnInput | DateEventInput | ImageWithCaptionInput | LeftFeatureInput | RightFeatureInput | MapBlockInput | FullBleedQuoteInput | ListBlockInput | PhotoGridInput | DefinitionCardInput | ComparisonBarInput | PullQuoteInput | VideoWithCaptionInput | VideoPullQuoteInput | DataTableInput | BarChartInput | ColumnChartInput | PieChartInput | DonutChartInput | LineChartInput | AreaChartInput | ScatterChartInput | DiagramBlockInput | TreeBlockInput | TimelineBlockInput | DrawingBlockInput | RawLayersInput;
1483
+ type TemplateBlock = TitleBlockInput | SectionHeaderInput | BigTextInput | TranscriptBlockInput | ContentBlockInput | StatHighlightInput | QuoteBlockInput | FactCardInput | TwoColumnInput | DateEventInput | ImageWithCaptionInput | LeftFeatureInput | RightFeatureInput | TopFeatureInput | BottomFeatureInput | MediaOnlyInput | MapBlockInput | FullBleedQuoteInput | ListBlockInput | PhotoGridInput | DefinitionCardInput | ComparisonBarInput | PullQuoteInput | VideoWithCaptionInput | VideoPullQuoteInput | DataTableInput | BarChartInput | ColumnChartInput | PieChartInput | DonutChartInput | LineChartInput | AreaChartInput | ScatterChartInput | DiagramBlockInput | TreeBlockInput | TimelineBlockInput | DrawingBlockInput | RawLayersInput;
1453
1484
  /**
1454
1485
  * A block can be either a raw Block or a TemplateBlock.
1455
1486
  */
@@ -2302,6 +2333,14 @@ interface StartBlockConfig {
2302
2333
  heroCredit?: string;
2303
2334
  /** License identifier for the hero image */
2304
2335
  heroLicense?: string;
2336
+ /**
2337
+ * How a hero cover keeps its title legible. `'scrim'` (default): a gradient tinted from
2338
+ * the theme background darkens the lower frame, with the title low and wide.
2339
+ * `'frosted'`: the photo stays clear; the title sits on a frosted-glass plate near the
2340
+ * bottom that grows upward for longer titles, kept within the frame's centre square
2341
+ * (so a square crop, such as a social link card, shows all of it).
2342
+ */
2343
+ coverStyle?: 'scrim' | 'frosted';
2305
2344
  }
2306
2345
  /**
2307
2346
  * A structural problem detected while converting or validating a document.
@@ -2833,6 +2872,18 @@ interface ShapeLayer extends BaseLayer {
2833
2872
  borderStyle?: BorderStyle;
2834
2873
  /** Corner radius for rect */
2835
2874
  borderRadius?: number;
2875
+ /**
2876
+ * Frosted glass: blur what lies behind a rect by this radius in px (CSS
2877
+ * `backdrop-filter`), under its fill. Use a translucent fill for the tint.
2878
+ */
2879
+ backdropBlur?: number;
2880
+ /**
2881
+ * Frosted glass: scale the contrast of what lies behind a rect toward mid-grey (CSS
2882
+ * `backdrop-filter: contrast()`), with `backdropBlur`. Below 1 it pulls bright snow
2883
+ * or sky down (and deep shadow up) while mid-tones barely move, so light text stays
2884
+ * legible on glass over any photo without darkening the glass overall.
2885
+ */
2886
+ backdropContrast?: number;
2836
2887
  };
2837
2888
  }
2838
2889
  /**
@@ -3406,4 +3457,4 @@ declare function getBlockAtTime(blocks: Block[], time: number): Block | null;
3406
3457
  */
3407
3458
  declare function getCaptionAtTime(captions: CaptionTrack | undefined, time: number): CaptionPhrase | null;
3408
3459
 
3409
- export { type FullBleedQuoteInput as $, type AccentImage as A, type BarChartInput as B, type CaptionPhrase as C, type CustomTemplateValidationError as D, type CustomTemplateValidationResult as E, DARK_SURFACE as F, DEFAULT_DOC_FONT as G, DEFAULT_TITLE_FONT as H, type DataTableInput as I, type DateEventInput as J, type DeepPartial as K, type DefinitionCardInput as L, type DiagramBlockInput as M, type DiagramEdgeAnchor as N, type DiagramTemplateEdge as O, type DiagramTemplateNode as P, type Doc as Q, type DocBlock as R, type DocDiagnostic as S, type DonutChartInput as T, type DrawingBlockInput as U, FRONTMATTER_CUSTOM_TEMPLATES_KEY as V, FRONTMATTER_CUSTOM_THEMES_KEY as W, FRONTMATTER_MOTION_KEY as X, type FactCardInput as Y, type FontFamily as Z, type FontFamilyKind as _, type AccentPosition as a, type PersistentLayerTemplate as a$, type GradientBackgroundConfig as a0, type ImageBackgroundConfig as a1, type ImageLayer as a2, type ImageTreatment as a3, type ImageWithCaptionInput as a4, LIGHT_SURFACE as a5, type Layer as a6, type LayerRepeat as a7, type LayoutHints as a8, type LeftFeatureInput as a9, PAGE_EMPHASES as aA, PAGE_EYEBROWS as aB, PAGE_HEADING_CASES as aC, PAGE_HEADING_SCALES as aD, PAGE_HEADING_UNDERLINES as aE, PAGE_HERO_STYLES as aF, PAGE_IMAGE_FRAMINGS as aG, PAGE_NUMERAL_STYLES as aH, PAGE_PATTERNS as aI, PAGE_QUOTE_MARKS as aJ, PAGE_SECTION_KINDS as aK, PAGE_SECTION_SPACINGS as aL, PAGE_SHADOWS as aM, PAGE_VARIANTS as aN, type PageAccentRotation as aO, type PageBackground as aP, type PageDesignFamily as aQ, type PageEmphasis as aR, type PageHeadingTreatment as aS, type PageSectionKind as aT, type PageSectionOverride as aU, type PageTokens as aV, type PageVariant as aW, type PathLayer as aX, type PatternBackgroundConfig as aY, type PersistentLayer as aZ, type PersistentLayerConfig as a_, type LineChartInput as aa, type LinearGradient as ab, type ListBlockInput as ac, MOTION_PROFILES as ad, type MapBlockInput as ae, type MapLayer as af, type MapMarker as ag, type MapTileStyle as ah, type MarkerStyle as ai, type MediaClip as aj, type MediaCrop as ak, type MediaCut as al, type MediaEdits as am, type MediaScheduleOptions as an, type MermaidLayer as ao, type MotionEntrance as ap, type MotionOrigin as aq, type MotionProfile as ar, type MotionProfileName as as, type MotionSpec as at, type MotionState as au, PAGE_ACCENT_STRATEGIES as av, PAGE_BACKGROUNDS as aw, PAGE_BACKGROUND_RHYTHMS as ax, PAGE_DESIGN_FAMILIES as ay, PAGE_DIVIDERS as az, type AmbientGradientConfig as b, type VideoPipSize as b$, type PersistentLayerTemplateConfig as b0, type PersistentLayerTemplateType as b1, type PhotoGridInput as b2, type PieChartInput as b3, type PipStyle as b4, type Position as b5, type ProgressIndicatorConfig as b6, type PromotedBodyAnnotation as b7, type PullQuoteInput as b8, type QuoteBlockInput as b9, type Theme as bA, type ThemeColorPalette as bB, type ThemeColorScheme as bC, type ThemePageStyle as bD, type ThemeRegistry as bE, type ThemeSchemaVersion as bF, type ThemeSeedColors as bG, type ThemeStyle as bH, type ThemeTypography as bI, type TimelineBlockInput as bJ, type TimelineTemplateEvent as bK, type TimelineTemplateLink as bL, type TimelineTemplateTrack as bM, type TitleBlockInput as bN, type TitleCaptionConfig as bO, type TranscriptBlockInput as bP, type TreeBlockInput as bQ, type TreeLayer as bR, type TreeLayerItem as bS, type TreeLayerStyle as bT, type TreeTemplateItem as bU, type TwoColumnInput as bV, VIEWPORT_PRESETS as bW, type VideoEmbedLayer as bX, type VideoLayer as bY, type VideoPipPosition as bZ, type VideoPipShape as b_, type RawLayersInput as ba, type RenderStyle as bb, type RightFeatureInput as bc, type ScatterChartInput as bd, type ScheduledClip as be, type SectionHeaderInput as bf, type ShapeFilter as bg, type ShapeLayer as bh, type ShapePattern as bi, type SolidBackgroundConfig as bj, type StartBlockConfig as bk, type StatHighlightInput as bl, type SurfaceScheme as bm, type SvgLayer as bn, THEME_SCHEMA_VERSION as bo, type TableLayer as bp, type TableLayerStyle as bq, type TemplateBlock as br, type TemplateContext as bs, type TemplateFunction as bt, type TemplateRegistry as bu, type TextFlow as bv, type TextLayer as bw, type TextParagraph as bx, type TextParagraphList as by, type TextStyle as bz, type Animation as c, type VideoPlacement as c0, type VideoPresentation as c1, type VideoPullQuoteInput as c2, type VideoWithCaptionInput as c3, type ViewportConfig as c4, type ViewportOrientation as c5, type ViewportPreset as c6, type VignetteConfig as c7, applySurface as c8, calculateDuration as c9, type MediaFxOpId as cA, type MediaFxChain as cB, MEDIA_EDIT_PARAMS as cC, MEDIA_FX_ORDER as cD, MEDIA_FX_SPECS as cE, type MediaEditParamKey as cF, type MediaEditParamValues as cG, type MediaFxOp as cH, formatMediaNumber as cI, hasRenderableFx as cJ, mediaEditHtmlAttribute as cK, mediaEditValuesFromAttributes as cL, mediaEditValuesFromParams as cM, mediaRenderKey as cN, normalizeMediaCrop as cO, normalizeMediaCuts as cP, parseMediaCrop as cQ, parseMediaCuts as cR, parseMediaEdits as cS, parseMediaFx as cT, serializeMediaCrop as cU, serializeMediaCuts as cV, serializeMediaEdits as cW, serializeMediaFx as cX, calculateFontScale as ca, createTemplateContext as cb, createTheme as cc, createThemeRegistry as cd, getAspectRatioString as ce, getBlockAtTime as cf, getCaptionAtTime as cg, getDocPlaybackDuration as ch, getLayoutHints as ci, getSafeTextBounds as cj, getSegmentAtTime as ck, getTwoColumnPositions as cl, getViewport as cm, getViewportOrientation as cn, isCustomTemplateDefinition as co, isMotionProfileName as cp, isPersistentLayerTemplate as cq, isTemplateBlock as cr, scaledFontSize$1 as cs, readFrontmatterMotion as ct, resolveMediaSchedule as cu, resolveMotionForDoc as cv, resolveMotionProfile as cw, scaledFontSize as cx, scheduleMediaClip as cy, validateCustomTemplateDefinition as cz, type AnimationType as d, type AreaChartInput as e, type AudioBookmark as f, type AudioSegment as g, type AudioTimingData as h, type AudioTrack as i, type BigTextInput as j, type Block as k, type BlockConnection as l, type BorderStyle as m, type CaptionTrack as n, type CaptionWord as o, type ChartBaseFields as p, type ChartTemplateInput as q, type ColorScheme as r, type ColumnChartInput as s, type ComparisonBarInput as t, type ContentBlockInput as u, type CornerBrandingConfig as v, type CountUpSpec as w, type CreateTemplateContextOptions as x, type CustomTemplateDefinition as y, type CustomTemplateLayer as z };
3460
+ export { type FontFamilyKind as $, type AccentImage as A, type BarChartInput as B, type CaptionPhrase as C, type CustomTemplateLayer as D, type CustomTemplateValidationError as E, type CustomTemplateValidationResult as F, DARK_SURFACE as G, DEFAULT_DOC_FONT as H, DEFAULT_TITLE_FONT as I, type DataTableInput as J, type DateEventInput as K, type DeepPartial as L, type DefinitionCardInput as M, type DiagramBlockInput as N, type DiagramEdgeAnchor as O, type DiagramTemplateEdge as P, type DiagramTemplateNode as Q, type Doc as R, type DocBlock as S, type DocDiagnostic as T, type DonutChartInput as U, type DrawingBlockInput as V, FRONTMATTER_CUSTOM_TEMPLATES_KEY as W, FRONTMATTER_CUSTOM_THEMES_KEY as X, FRONTMATTER_MOTION_KEY as Y, type FactCardInput as Z, type FontFamily as _, type AccentPosition as a, type PersistentLayer as a$, type FullBleedQuoteInput as a0, type GradientBackgroundConfig as a1, type ImageBackgroundConfig as a2, type ImageLayer as a3, type ImageTreatment as a4, type ImageWithCaptionInput as a5, LIGHT_SURFACE as a6, type Layer as a7, type LayerRepeat as a8, type LayoutHints as a9, PAGE_DESIGN_FAMILIES as aA, PAGE_DIVIDERS as aB, PAGE_EMPHASES as aC, PAGE_EYEBROWS as aD, PAGE_HEADING_CASES as aE, PAGE_HEADING_SCALES as aF, PAGE_HEADING_UNDERLINES as aG, PAGE_HERO_STYLES as aH, PAGE_IMAGE_FRAMINGS as aI, PAGE_NUMERAL_STYLES as aJ, PAGE_PATTERNS as aK, PAGE_QUOTE_MARKS as aL, PAGE_SECTION_KINDS as aM, PAGE_SECTION_SPACINGS as aN, PAGE_SHADOWS as aO, PAGE_VARIANTS as aP, type PageAccentRotation as aQ, type PageBackground as aR, type PageDesignFamily as aS, type PageEmphasis as aT, type PageHeadingTreatment as aU, type PageSectionKind as aV, type PageSectionOverride as aW, type PageTokens as aX, type PageVariant as aY, type PathLayer as aZ, type PatternBackgroundConfig as a_, type LeftFeatureInput as aa, type LineChartInput as ab, type LinearGradient as ac, type ListBlockInput as ad, MOTION_PROFILES as ae, type MapBlockInput as af, type MapLayer as ag, type MapMarker as ah, type MapTileStyle as ai, type MarkerStyle as aj, type MediaClip as ak, type MediaCrop as al, type MediaCut as am, type MediaEdits as an, type MediaOnlyInput as ao, type MediaScheduleOptions as ap, type MermaidLayer as aq, type MotionEntrance as ar, type MotionOrigin as as, type MotionProfile as at, type MotionProfileName as au, type MotionSpec as av, type MotionState as aw, PAGE_ACCENT_STRATEGIES as ax, PAGE_BACKGROUNDS as ay, PAGE_BACKGROUND_RHYTHMS as az, type AmbientGradientConfig as b, type VideoLayer as b$, type PersistentLayerConfig as b0, type PersistentLayerTemplate as b1, type PersistentLayerTemplateConfig as b2, type PersistentLayerTemplateType as b3, type PhotoGridInput as b4, type PieChartInput as b5, type PipStyle as b6, type Position as b7, type ProgressIndicatorConfig as b8, type PromotedBodyAnnotation as b9, type TextParagraphList as bA, type TextStyle as bB, type Theme as bC, type ThemeColorPalette as bD, type ThemeColorScheme as bE, type ThemePageStyle as bF, type ThemeRegistry as bG, type ThemeSchemaVersion as bH, type ThemeSeedColors as bI, type ThemeStyle as bJ, type ThemeTypography as bK, type TimelineBlockInput as bL, type TimelineTemplateEvent as bM, type TimelineTemplateLink as bN, type TimelineTemplateTrack as bO, type TitleBlockInput as bP, type TitleCaptionConfig as bQ, type TopFeatureInput as bR, type TranscriptBlockInput as bS, type TreeBlockInput as bT, type TreeLayer as bU, type TreeLayerItem as bV, type TreeLayerStyle as bW, type TreeTemplateItem as bX, type TwoColumnInput as bY, VIEWPORT_PRESETS as bZ, type VideoEmbedLayer as b_, type PullQuoteInput as ba, type QuoteBlockInput as bb, type RawLayersInput as bc, type RenderStyle as bd, type RightFeatureInput as be, type ScatterChartInput as bf, type ScheduledClip as bg, type SectionHeaderInput as bh, type ShapeFilter as bi, type ShapeLayer as bj, type ShapePattern as bk, type SolidBackgroundConfig as bl, type StartBlockConfig as bm, type StatHighlightInput as bn, type SurfaceScheme as bo, type SvgLayer as bp, THEME_SCHEMA_VERSION as bq, type TableLayer as br, type TableLayerStyle as bs, type TemplateBlock as bt, type TemplateContext as bu, type TemplateFunction as bv, type TemplateRegistry as bw, type TextFlow as bx, type TextLayer as by, type TextParagraph as bz, type Animation as c, type VideoPipPosition as c0, type VideoPipShape as c1, type VideoPipSize as c2, type VideoPlacement as c3, type VideoPresentation as c4, type VideoPullQuoteInput as c5, type VideoWithCaptionInput as c6, type ViewportConfig as c7, type ViewportOrientation as c8, type ViewportPreset as c9, scaledFontSize as cA, scheduleMediaClip as cB, validateCustomTemplateDefinition as cC, type MediaFxOpId as cD, type MediaFxChain as cE, MEDIA_EDIT_PARAMS as cF, MEDIA_FX_ORDER as cG, MEDIA_FX_SPECS as cH, type MediaEditParamKey as cI, type MediaEditParamValues as cJ, type MediaFxOp as cK, formatMediaNumber as cL, hasRenderableFx as cM, mediaEditHtmlAttribute as cN, mediaEditValuesFromAttributes as cO, mediaEditValuesFromParams as cP, mediaRenderKey as cQ, normalizeMediaCrop as cR, normalizeMediaCuts as cS, parseMediaCrop as cT, parseMediaCuts as cU, parseMediaEdits as cV, parseMediaFx as cW, serializeMediaCrop as cX, serializeMediaCuts as cY, serializeMediaEdits as cZ, serializeMediaFx as c_, type VignetteConfig as ca, applySurface as cb, calculateDuration as cc, calculateFontScale as cd, createTemplateContext as ce, createTheme as cf, createThemeRegistry as cg, getAspectRatioString as ch, getBlockAtTime as ci, getCaptionAtTime as cj, getDocPlaybackDuration as ck, getLayoutHints as cl, getSafeTextBounds as cm, getSegmentAtTime as cn, getTwoColumnPositions as co, getViewport as cp, getViewportOrientation as cq, isCustomTemplateDefinition as cr, isMotionProfileName as cs, isPersistentLayerTemplate as ct, isTemplateBlock as cu, scaledFontSize$1 as cv, readFrontmatterMotion as cw, resolveMediaSchedule as cx, resolveMotionForDoc as cy, resolveMotionProfile as cz, type AnimationType as d, type AreaChartInput as e, type AudioBookmark as f, type AudioSegment as g, type AudioTimingData as h, type AudioTrack as i, type BigTextInput as j, type Block as k, type BlockConnection as l, type BorderStyle as m, type BottomFeatureInput as n, type CaptionTrack as o, type CaptionWord as p, type ChartBaseFields as q, type ChartTemplateInput as r, type ColorScheme as s, type ColumnChartInput as t, type ComparisonBarInput as u, type ContentBlockInput as v, type CornerBrandingConfig as w, type CountUpSpec as x, type CreateTemplateContextOptions as y, type CustomTemplateDefinition as z };
@@ -1,4 +1,4 @@
1
- import { a2 as ImageLayer, bw as TextLayer, bh as ShapeLayer, aX as PathLayer } from './Doc-C7iCmmmF.js';
1
+ import { a3 as ImageLayer, by as TextLayer, bj as ShapeLayer, aZ as PathLayer } from './Doc-BPhdJFS_.js';
2
2
 
3
3
  /**
4
4
  * ImageEditDoc — JSON document describing a layered, editable image.