@bendyline/squisq 2.13.14 → 2.13.15
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-BhvotZx_.d.ts → Doc-C_Sh49ot.d.ts} +59 -6
- package/dist/{ImageEditDoc-D8hYio6b.d.ts → ImageEditDoc-Sqw3Tw-R.d.ts} +1 -1
- package/dist/{chunk-OIQ2GO2O.js → chunk-2CB37BOU.js} +1 -1
- package/dist/{chunk-CTT4XAGO.js → chunk-4HQ7QZKB.js} +2289 -630
- package/dist/chunk-C7DKMO4H.js +88 -0
- package/dist/{chunk-C4SB3NN4.js → chunk-DDJHIZED.js} +1 -1
- package/dist/{chunk-J2G6EOEJ.js → chunk-FYP7GNER.js} +72 -13
- package/dist/chunk-N3FQSUVT.js +515 -0
- package/dist/{chunk-SGNWO7OF.js → chunk-OFE5RZWW.js} +490 -24
- package/dist/{chunk-YQQWE4HG.js → chunk-OJCAKUHW.js} +192 -260
- package/dist/{chunk-7MS26OXD.js → chunk-UDPPWYYM.js} +6 -0
- package/dist/{chunk-5DFFVW75.js → chunk-Y34KYMAS.js} +1 -1
- package/dist/doc/index.d.ts +320 -22
- package/dist/doc/index.js +54 -8
- 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 +8 -8
- package/dist/index.js +125 -21
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-CWxou4mX.d.ts → materializePageSection-Dmf-rf1b.d.ts} +121 -8
- package/dist/mediaEdit/index.d.ts +2 -2
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +4 -4
- package/dist/recommend/index.d.ts +129 -2
- package/dist/recommend/index.js +11 -3
- package/dist/schemas/index.d.ts +4 -4
- package/dist/{themeLibrary-BIYE6aLw.d.ts → themeLibrary-B4VLovhW.d.ts} +1 -1
- package/dist/timing/index.d.ts +66 -2
- package/dist/timing/index.js +12 -0
- package/dist/transform/index.d.ts +173 -16
- package/dist/transform/index.js +55 -16
- package/package.json +1 -1
- package/dist/chunk-FCB6JLWB.js +0 -125
|
@@ -1082,8 +1082,9 @@ interface ListBlockInput extends BaseTemplateBlock {
|
|
|
1082
1082
|
accentImage?: AccentImage;
|
|
1083
1083
|
}
|
|
1084
1084
|
/**
|
|
1085
|
-
* Shared shape of the concept blocks (`cards`, `process`, `cycle`
|
|
1086
|
-
*
|
|
1085
|
+
* Shared shape of the concept blocks (`cards`, `process`, `cycle`, `layers`,
|
|
1086
|
+
* `stats`, `pyramid`, `funnel`, `hub`, `venn`, `matrix`): a headline over
|
|
1087
|
+
* 2–6 related ideas, each `Label: detail` or plain text.
|
|
1087
1088
|
*/
|
|
1088
1089
|
interface ConceptBlockBase extends BaseTemplateBlock {
|
|
1089
1090
|
/** The ideas, in order; `Label: detail` sets the label bold above its detail. */
|
|
@@ -1111,6 +1112,47 @@ interface CycleBlockInput extends ConceptBlockBase {
|
|
|
1111
1112
|
interface LayersBlockInput extends ConceptBlockBase {
|
|
1112
1113
|
template: 'layers';
|
|
1113
1114
|
}
|
|
1115
|
+
/**
|
|
1116
|
+
* Key figures side by side, each `Figure: what it measures` ("57 million:
|
|
1117
|
+
* deaths prevented"); the figures count up where the theme's motion does.
|
|
1118
|
+
*/
|
|
1119
|
+
interface StatsBlockInput extends ConceptBlockBase {
|
|
1120
|
+
template: 'stats';
|
|
1121
|
+
}
|
|
1122
|
+
/** A hierarchy as a pyramid of tiers: the apex first, the base last. */
|
|
1123
|
+
interface PyramidBlockInput extends ConceptBlockBase {
|
|
1124
|
+
template: 'pyramid';
|
|
1125
|
+
}
|
|
1126
|
+
/** Stages that narrow as a funnel: the widest stage first, the outcome last. */
|
|
1127
|
+
interface FunnelBlockInput extends ConceptBlockBase {
|
|
1128
|
+
template: 'funnel';
|
|
1129
|
+
}
|
|
1130
|
+
/** Ideas around the one thing they share: a hub joined to each idea by a spoke. */
|
|
1131
|
+
interface HubBlockInput extends ConceptBlockBase {
|
|
1132
|
+
template: 'hub';
|
|
1133
|
+
/** The words inside the hub (1–3); without them the hub is a plain disc. */
|
|
1134
|
+
center?: string;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* Two sets and what they share, as overlapping circles. The overlap comes
|
|
1138
|
+
* from `overlap` or from an item labelled `Both:` / `Shared:`.
|
|
1139
|
+
*/
|
|
1140
|
+
interface VennBlockInput extends ConceptBlockBase {
|
|
1141
|
+
template: 'venn';
|
|
1142
|
+
/** What the two sets have in common, written in the overlap. */
|
|
1143
|
+
overlap?: string;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Four ideas placed on two axes as a 2×2 matrix, in reading order: top left,
|
|
1147
|
+
* top right, bottom left, bottom right.
|
|
1148
|
+
*/
|
|
1149
|
+
interface MatrixBlockInput extends ConceptBlockBase {
|
|
1150
|
+
template: 'matrix';
|
|
1151
|
+
/** What grows from left to right (for example "Effort"). */
|
|
1152
|
+
xAxis?: string;
|
|
1153
|
+
/** What grows from bottom to top (for example "Impact"). */
|
|
1154
|
+
yAxis?: string;
|
|
1155
|
+
}
|
|
1114
1156
|
/**
|
|
1115
1157
|
* Tree block — renders a hierarchical filesystem-style treeview from an
|
|
1116
1158
|
* ASCII tree fence (file trees, dependency trees, outlines). The nested
|
|
@@ -1342,6 +1384,11 @@ interface DiagramTemplateNode {
|
|
|
1342
1384
|
/** Id of the node visually containing this one; containers draw behind their children. */
|
|
1343
1385
|
container?: string;
|
|
1344
1386
|
}
|
|
1387
|
+
/** A node as an author may write it: its position is optional (see `DiagramBlockInput.nodes`). */
|
|
1388
|
+
type DiagramTemplateNodeInput = Omit<DiagramTemplateNode, 'x' | 'y'> & {
|
|
1389
|
+
x?: number;
|
|
1390
|
+
y?: number;
|
|
1391
|
+
};
|
|
1345
1392
|
/** A position along one side of a diagram node, normalized from 0 to 1. */
|
|
1346
1393
|
interface DiagramEdgeAnchor {
|
|
1347
1394
|
side: 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -1391,8 +1438,14 @@ interface DiagramBlockInput extends BaseTemplateBlock {
|
|
|
1391
1438
|
endStyle?: MarkerStyle;
|
|
1392
1439
|
/** Edge line style (default: 'solid'). */
|
|
1393
1440
|
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
1394
|
-
/**
|
|
1395
|
-
|
|
1441
|
+
/**
|
|
1442
|
+
* Data-driven node list; used only when the block has no children. Leave
|
|
1443
|
+
* `x` and `y` off every node and the diagram places them itself from the
|
|
1444
|
+
* edges (a layered layout: left to right, or top to bottom in a portrait
|
|
1445
|
+
* frame), so an author states the relationships and never computes
|
|
1446
|
+
* coordinates.
|
|
1447
|
+
*/
|
|
1448
|
+
nodes?: DiagramTemplateNodeInput[];
|
|
1396
1449
|
/** Edges for `nodes`. */
|
|
1397
1450
|
edges?: DiagramTemplateEdge[];
|
|
1398
1451
|
}
|
|
@@ -1522,7 +1575,7 @@ type ChartTemplateInput = BarChartInput | ColumnChartInput | PieChartInput | Don
|
|
|
1522
1575
|
/**
|
|
1523
1576
|
* Union of all template block types.
|
|
1524
1577
|
*/
|
|
1525
|
-
type TemplateBlock = TitleBlockInput | SectionHeaderInput | BigTextInput | TranscriptBlockInput | ContentBlockInput | StatHighlightInput | QuoteBlockInput | FactCardInput | TwoColumnInput | DateEventInput | ImageWithCaptionInput | LeftFeatureInput | RightFeatureInput | TopFeatureInput | BottomFeatureInput | MediaOnlyInput | MapBlockInput | FullBleedQuoteInput | ListBlockInput | CardsBlockInput | ProcessBlockInput | CycleBlockInput | LayersBlockInput | PhotoGridInput | DefinitionCardInput | ComparisonBarInput | PullQuoteInput | VideoWithCaptionInput | VideoPullQuoteInput | DataTableInput | BarChartInput | ColumnChartInput | PieChartInput | DonutChartInput | LineChartInput | AreaChartInput | ScatterChartInput | DiagramBlockInput | TreeBlockInput | TimelineBlockInput | DrawingBlockInput | RawLayersInput;
|
|
1578
|
+
type TemplateBlock = TitleBlockInput | SectionHeaderInput | BigTextInput | TranscriptBlockInput | ContentBlockInput | StatHighlightInput | QuoteBlockInput | FactCardInput | TwoColumnInput | DateEventInput | ImageWithCaptionInput | LeftFeatureInput | RightFeatureInput | TopFeatureInput | BottomFeatureInput | MediaOnlyInput | MapBlockInput | FullBleedQuoteInput | ListBlockInput | CardsBlockInput | ProcessBlockInput | CycleBlockInput | LayersBlockInput | StatsBlockInput | PyramidBlockInput | FunnelBlockInput | HubBlockInput | VennBlockInput | MatrixBlockInput | PhotoGridInput | DefinitionCardInput | ComparisonBarInput | PullQuoteInput | VideoWithCaptionInput | VideoPullQuoteInput | DataTableInput | BarChartInput | ColumnChartInput | PieChartInput | DonutChartInput | LineChartInput | AreaChartInput | ScatterChartInput | DiagramBlockInput | TreeBlockInput | TimelineBlockInput | DrawingBlockInput | RawLayersInput;
|
|
1526
1579
|
/**
|
|
1527
1580
|
* A block can be either a raw Block or a TemplateBlock.
|
|
1528
1581
|
*/
|
|
@@ -3532,4 +3585,4 @@ declare function getBlockAtTime(blocks: Block[], time: number): Block | null;
|
|
|
3532
3585
|
*/
|
|
3533
3586
|
declare function getCaptionAtTime(captions: CaptionTrack | undefined, time: number): CaptionPhrase | null;
|
|
3534
3587
|
|
|
3535
|
-
export {
|
|
3588
|
+
export { FRONTMATTER_MOTION_KEY as $, type AccentImage as A, type BarChartInput as B, type CaptionPhrase as C, type CustomTemplateDefinition as D, type CustomTemplateLayer as E, type CustomTemplateValidationError as F, type CustomTemplateValidationResult as G, type CycleBlockInput as H, DARK_SURFACE as I, DEFAULT_DOC_FONT as J, DEFAULT_TITLE_FONT as K, type DataTableInput as L, type DateEventInput as M, type DeepPartial as N, type DefinitionCardInput as O, type DiagramBlockInput as P, type DiagramEdgeAnchor as Q, type DiagramTemplateEdge as R, type DiagramTemplateNode as S, type DiagramTemplateNodeInput as T, type Doc as U, type DocBlock as V, type DocDiagnostic as W, type DonutChartInput as X, type DrawingBlockInput as Y, FRONTMATTER_CUSTOM_TEMPLATES_KEY as Z, FRONTMATTER_CUSTOM_THEMES_KEY as _, type AccentPosition as a, type PageHeadingTreatment as a$, type FactCardInput as a0, type FontFamily as a1, type FontFamilyKind as a2, type FullBleedQuoteInput as a3, type FunnelBlockInput as a4, type GradientBackgroundConfig as a5, type HubBlockInput as a6, type ImageBackgroundConfig as a7, type ImageLayer as a8, type ImageTreatment as a9, type MotionProfile as aA, type MotionProfileName as aB, type MotionSpec as aC, type MotionState as aD, PAGE_ACCENT_STRATEGIES as aE, PAGE_BACKGROUNDS as aF, PAGE_BACKGROUND_RHYTHMS as aG, PAGE_DESIGN_FAMILIES as aH, PAGE_DIVIDERS as aI, PAGE_EMPHASES as aJ, PAGE_EYEBROWS as aK, PAGE_HEADING_CASES as aL, PAGE_HEADING_SCALES as aM, PAGE_HEADING_UNDERLINES as aN, PAGE_HERO_STYLES as aO, PAGE_IMAGE_FRAMINGS as aP, PAGE_NUMERAL_STYLES as aQ, PAGE_PATTERNS as aR, PAGE_QUOTE_MARKS as aS, PAGE_SECTION_KINDS as aT, PAGE_SECTION_SPACINGS as aU, PAGE_SHADOWS as aV, PAGE_VARIANTS as aW, type PageAccentRotation as aX, type PageBackground as aY, type PageDesignFamily as aZ, type PageEmphasis as a_, type ImageWithCaptionInput as aa, LIGHT_SURFACE as ab, type Layer as ac, type LayerRepeat as ad, type LayersBlockInput as ae, type LayoutHints as af, type LeftFeatureInput as ag, type LineChartInput as ah, type LinearGradient as ai, type ListBlockInput as aj, MOTION_PROFILES as ak, type MapBlockInput as al, type MapLayer as am, type MapMarker as an, type MapTileStyle as ao, type MarkerStyle as ap, type MatrixBlockInput as aq, type MediaClip as ar, type MediaCrop as as, type MediaCut as at, type MediaEdits as au, type MediaOnlyInput as av, type MediaScheduleOptions as aw, type MermaidLayer as ax, type MotionEntrance as ay, type MotionOrigin as az, type AmbientGradientConfig as b, type TitleCaptionConfig as b$, type PageSectionKind as b0, type PageSectionOverride as b1, type PageTokens as b2, type PageVariant as b3, type PathLayer as b4, type PatternBackgroundConfig as b5, type PersistentLayer as b6, type PersistentLayerConfig as b7, type PersistentLayerTemplate as b8, type PersistentLayerTemplateConfig as b9, type SvgLayer as bA, THEME_SCHEMA_VERSION as bB, type TableLayer as bC, type TableLayerStyle as bD, type TemplateBlock as bE, type TemplateContext as bF, type TemplateFunction as bG, type TemplateRegistry as bH, type TextFlow as bI, type TextLayer as bJ, type TextParagraph as bK, type TextParagraphList as bL, type TextStyle as bM, type Theme as bN, type ThemeColorPalette as bO, type ThemeColorScheme as bP, type ThemePageStyle as bQ, type ThemeRegistry as bR, type ThemeSchemaVersion as bS, type ThemeSeedColors as bT, type ThemeStyle as bU, type ThemeTypography as bV, type TimelineBlockInput as bW, type TimelineTemplateEvent as bX, type TimelineTemplateLink as bY, type TimelineTemplateTrack as bZ, type TitleBlockInput as b_, type PersistentLayerTemplateType as ba, type PhotoGridInput as bb, type PieChartInput as bc, type PipStyle as bd, type Position as be, type PresentationSlideMark as bf, type ProcessBlockInput as bg, type ProgressIndicatorConfig as bh, type PromotedBodyAnnotation as bi, type PullQuoteInput as bj, type PyramidBlockInput as bk, type QuoteBlockInput as bl, type RawLayersInput as bm, type RenderStyle as bn, type RightFeatureInput as bo, type ScatterChartInput as bp, type ScheduledClip as bq, type SectionHeaderInput as br, type ShapeFilter as bs, type ShapeLayer as bt, type ShapePattern as bu, type SolidBackgroundConfig as bv, type StartBlockConfig as bw, type StatHighlightInput as bx, type StatsBlockInput as by, type SurfaceScheme as bz, type Animation as c, mediaEditValuesFromParams as c$, type TopFeatureInput as c0, type TranscriptBlockInput as c1, type TreeBlockInput as c2, type TreeLayer as c3, type TreeLayerItem as c4, type TreeLayerStyle as c5, type TreeTemplateItem as c6, type TwoColumnInput as c7, VIEWPORT_PRESETS as c8, type VennBlockInput as c9, getTwoColumnPositions as cA, getViewport as cB, getViewportOrientation as cC, isCustomTemplateDefinition as cD, isMotionProfileName as cE, isPersistentLayerTemplate as cF, isTemplateBlock as cG, scaledFontSize$1 as cH, readFrontmatterMotion as cI, resolveMediaSchedule as cJ, resolveMotionForDoc as cK, resolveMotionProfile as cL, scaledFontSize as cM, scheduleMediaClip as cN, validateCustomTemplateDefinition as cO, type MediaFxOpId as cP, type MediaFxChain as cQ, MEDIA_EDIT_PARAMS as cR, MEDIA_FX_ORDER as cS, MEDIA_FX_SPECS as cT, type MediaEditParamKey as cU, type MediaEditParamValues as cV, type MediaFxOp as cW, formatMediaNumber as cX, hasRenderableFx as cY, mediaEditHtmlAttribute as cZ, mediaEditValuesFromAttributes as c_, type VideoEmbedLayer as ca, type VideoLayer as cb, type VideoPipPosition as cc, type VideoPipShape as cd, type VideoPipSize as ce, type VideoPlacement as cf, type VideoPresentation as cg, type VideoPullQuoteInput as ch, type VideoWithCaptionInput as ci, type ViewportConfig as cj, type ViewportOrientation as ck, type ViewportPreset as cl, type VignetteConfig as cm, applySurface as cn, calculateDuration as co, calculateFontScale as cp, createTemplateContext as cq, createTheme as cr, createThemeRegistry as cs, getAspectRatioString as ct, getBlockAtTime as cu, getCaptionAtTime as cv, getDocPlaybackDuration as cw, getLayoutHints as cx, getSafeTextBounds as cy, getSegmentAtTime as cz, type AnimationType as d, mediaRenderKey as d0, normalizeMediaCrop as d1, normalizeMediaCuts as d2, parseMediaCrop as d3, parseMediaCuts as d4, parseMediaEdits as d5, parseMediaFx as d6, serializeMediaCrop as d7, serializeMediaCuts as d8, serializeMediaEdits as d9, serializeMediaFx as da, 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 CardsBlockInput as q, type ChartBaseFields as r, type ChartTemplateInput as s, type ColorScheme as t, type ColumnChartInput as u, type ComparisonBarInput as v, type ContentBlockInput as w, type CornerBrandingConfig as x, type CountUpSpec as y, type CreateTemplateContextOptions as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a8 as ImageLayer, bJ as TextLayer, bt as ShapeLayer, b4 as PathLayer } from './Doc-C_Sh49ot.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ImageEditDoc — JSON document describing a layered, editable image.
|