@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.
- package/dist/{Doc-C7iCmmmF.d.ts → Doc-BPhdJFS_.d.ts} +53 -2
- package/dist/{ImageEditDoc-CxRHe41J.d.ts → ImageEditDoc-DDx-sw_S.d.ts} +1 -1
- package/dist/{chunk-ITLJQG7Z.js → chunk-5FUBK3DK.js} +527 -266
- package/dist/{chunk-HE3HQZWU.js → chunk-6NWVLLMI.js} +104 -1
- package/dist/{chunk-3A6YM375.js → chunk-D3JQMZUT.js} +8 -8
- package/dist/chunk-DOOUVVOM.js +78 -0
- package/dist/{chunk-2LTALYXX.js → chunk-F3LRTRST.js} +15 -10
- package/dist/{chunk-5SVFLLOD.js → chunk-ISVJ42I3.js} +3 -0
- package/dist/{chunk-7ZXCS3UU.js → chunk-JFJZ4NS6.js} +2 -2
- package/dist/{chunk-V4USYYYO.js → chunk-JOBMPMY5.js} +1 -1
- package/dist/{chunk-HGCIIXHP.js → chunk-POZCKPCO.js} +235 -4
- package/dist/{chunk-DCO5GYVW.js → chunk-VX7MPZOK.js} +5 -5
- package/dist/doc/index.d.ts +100 -15
- package/dist/doc/index.js +15 -7
- package/dist/fence/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +26 -18
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +1 -1
- package/dist/markdown/index.js +11 -12
- package/dist/{materializePageSection-_5uQrEYP.d.ts → materializePageSection-DnQi-0TA.d.ts} +1 -1
- package/dist/mediaEdit/index.d.ts +2 -2
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +5 -5
- package/dist/recommend/index.js +3 -2
- package/dist/schemas/index.d.ts +4 -4
- package/dist/schemas/index.js +1 -1
- package/dist/{themeLibrary-DsntZLoa.d.ts → themeLibrary-DM7eSK1w.d.ts} +1 -1
- package/dist/timing/index.d.ts +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/dist/transform/index.js +6 -6
- package/package.json +1 -1
- 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
|
|
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 {
|
|
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.
|