@bendyline/squisq 2.13.11 → 2.13.13
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-DqYt_b2b.d.ts → Doc-BhvotZx_.d.ts} +48 -2
- package/dist/{ImageEditDoc-CXXiXVJ-.d.ts → ImageEditDoc-D8hYio6b.d.ts} +1 -1
- package/dist/{chunk-S76W65BB.js → chunk-5DFFVW75.js} +1 -1
- package/dist/{chunk-DOOUVVOM.js → chunk-7MS26OXD.js} +4 -0
- package/dist/{chunk-XDOSE5M3.js → chunk-C4SB3NN4.js} +1 -1
- package/dist/{chunk-SKGMNBQX.js → chunk-CTT4XAGO.js} +2033 -375
- package/dist/{chunk-SG3HXPMF.js → chunk-DBVCSVNV.js} +2 -1
- package/dist/chunk-FCB6JLWB.js +125 -0
- package/dist/{chunk-WNEH3BZP.js → chunk-JNUNNQ74.js} +3 -3
- package/dist/chunk-L4AFSOT3.js +26 -0
- package/dist/{chunk-65WL5ILB.js → chunk-OIQ2GO2O.js} +1 -1
- package/dist/{chunk-3WUI2N6C.js → chunk-SGNWO7OF.js} +20 -1
- package/dist/{chunk-ESGKI6CD.js → chunk-TCGGJUKC.js} +25 -6
- package/dist/{chunk-GLWQTZ4C.js → chunk-XEQALK5B.js} +1 -1
- package/dist/{chunk-N7I6JP6Q.js → chunk-YQQWE4HG.js} +413 -216
- package/dist/doc/index.d.ts +225 -9
- package/dist/doc/index.js +32 -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 +7 -7
- package/dist/index.js +79 -11
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +3 -3
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-S2hxZ_lO.d.ts → materializePageSection-CWxou4mX.d.ts} +62 -2
- 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 +1 -1
- package/dist/schemas/index.d.ts +4 -4
- package/dist/schemas/index.js +2 -2
- package/dist/{themeLibrary-CFJbeItn.d.ts → themeLibrary-BIYE6aLw.d.ts} +1 -1
- package/dist/timing/index.d.ts +58 -2
- package/dist/timing/index.js +9 -1
- package/dist/transform/index.d.ts +173 -72
- package/dist/transform/index.js +43 -6
- package/package.json +1 -1
|
@@ -852,6 +852,11 @@ interface StatHighlightInput extends BaseTemplateBlock {
|
|
|
852
852
|
description: string;
|
|
853
853
|
/** Additional detail or context */
|
|
854
854
|
detail?: string;
|
|
855
|
+
/**
|
|
856
|
+
* Optional deck headline. With one, the slide takes the concept blocks'
|
|
857
|
+
* lockup: accent rule and headline above, the figure beside what it means.
|
|
858
|
+
*/
|
|
859
|
+
headline?: string;
|
|
855
860
|
/** Color scheme for the stat */
|
|
856
861
|
colorScheme?: ColorScheme;
|
|
857
862
|
/** Optional accent image to complement the text */
|
|
@@ -1076,6 +1081,36 @@ interface ListBlockInput extends BaseTemplateBlock {
|
|
|
1076
1081
|
/** Optional accent image */
|
|
1077
1082
|
accentImage?: AccentImage;
|
|
1078
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Shared shape of the concept blocks (`cards`, `process`, `cycle`): a
|
|
1086
|
+
* headline over 2–6 related ideas, each `Label: detail` or plain text.
|
|
1087
|
+
*/
|
|
1088
|
+
interface ConceptBlockBase extends BaseTemplateBlock {
|
|
1089
|
+
/** The ideas, in order; `Label: detail` sets the label bold above its detail. */
|
|
1090
|
+
items: string[];
|
|
1091
|
+
/** Optional headline above the ideas */
|
|
1092
|
+
title?: string;
|
|
1093
|
+
/** Accent color scheme (default: the theme's highlight) */
|
|
1094
|
+
colorScheme?: ColorScheme;
|
|
1095
|
+
}
|
|
1096
|
+
/** Parallel ideas side by side as cards. */
|
|
1097
|
+
interface CardsBlockInput extends ConceptBlockBase {
|
|
1098
|
+
template: 'cards';
|
|
1099
|
+
/** Two ideas set against each other: two panels with a "vs" mark between them. */
|
|
1100
|
+
versus?: boolean;
|
|
1101
|
+
}
|
|
1102
|
+
/** An ordered process: numbered stages joined by arrows. */
|
|
1103
|
+
interface ProcessBlockInput extends ConceptBlockBase {
|
|
1104
|
+
template: 'process';
|
|
1105
|
+
}
|
|
1106
|
+
/** A cycle: stages on a ring, the last leading back to the first. */
|
|
1107
|
+
interface CycleBlockInput extends ConceptBlockBase {
|
|
1108
|
+
template: 'cycle';
|
|
1109
|
+
}
|
|
1110
|
+
/** Nested parts, innermost first: concentric rings, each part called out beside them. */
|
|
1111
|
+
interface LayersBlockInput extends ConceptBlockBase {
|
|
1112
|
+
template: 'layers';
|
|
1113
|
+
}
|
|
1079
1114
|
/**
|
|
1080
1115
|
* Tree block — renders a hierarchical filesystem-style treeview from an
|
|
1081
1116
|
* ASCII tree fence (file trees, dependency trees, outlines). The nested
|
|
@@ -1487,7 +1522,7 @@ type ChartTemplateInput = BarChartInput | ColumnChartInput | PieChartInput | Don
|
|
|
1487
1522
|
/**
|
|
1488
1523
|
* Union of all template block types.
|
|
1489
1524
|
*/
|
|
1490
|
-
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;
|
|
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;
|
|
1491
1526
|
/**
|
|
1492
1527
|
* A block can be either a raw Block or a TemplateBlock.
|
|
1493
1528
|
*/
|
|
@@ -2708,6 +2743,12 @@ interface BaseLayer {
|
|
|
2708
2743
|
position: Position;
|
|
2709
2744
|
/** Animation to apply */
|
|
2710
2745
|
animation?: Animation;
|
|
2746
|
+
/**
|
|
2747
|
+
* The build step this layer reveals with, when its block builds: layers
|
|
2748
|
+
* sharing an index (a card's shape and words) appear together, in index
|
|
2749
|
+
* order. Their text names the step (`blockBuildSteps`).
|
|
2750
|
+
*/
|
|
2751
|
+
buildStep?: number;
|
|
2711
2752
|
}
|
|
2712
2753
|
/**
|
|
2713
2754
|
* Photographic treatment applied to an image layer — a theme-level "grade"
|
|
@@ -3067,6 +3108,11 @@ interface TableLayer extends BaseLayer {
|
|
|
3067
3108
|
maxVisibleRows?: number;
|
|
3068
3109
|
/** Per-column alignment */
|
|
3069
3110
|
align?: (('left' | 'right' | 'center') | null)[];
|
|
3111
|
+
/**
|
|
3112
|
+
* Fit the layer's width: cells wrap and keep their own line breaks
|
|
3113
|
+
* instead of running on one line and scrolling sideways.
|
|
3114
|
+
*/
|
|
3115
|
+
wrap?: boolean;
|
|
3070
3116
|
/** Visual styling */
|
|
3071
3117
|
style: TableLayerStyle;
|
|
3072
3118
|
};
|
|
@@ -3486,4 +3532,4 @@ declare function getBlockAtTime(blocks: Block[], time: number): Block | null;
|
|
|
3486
3532
|
*/
|
|
3487
3533
|
declare function getCaptionAtTime(captions: CaptionTrack | undefined, time: number): CaptionPhrase | null;
|
|
3488
3534
|
|
|
3489
|
-
export { type
|
|
3535
|
+
export { type FactCardInput 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 Doc as T, type DocBlock as U, type DocDiagnostic as V, type DonutChartInput as W, type DrawingBlockInput as X, FRONTMATTER_CUSTOM_TEMPLATES_KEY as Y, FRONTMATTER_CUSTOM_THEMES_KEY as Z, FRONTMATTER_MOTION_KEY as _, type AccentPosition as a, type PageVariant as a$, type FontFamily as a0, type FontFamilyKind as a1, type FullBleedQuoteInput as a2, type GradientBackgroundConfig as a3, type ImageBackgroundConfig as a4, type ImageLayer as a5, type ImageTreatment as a6, type ImageWithCaptionInput as a7, LIGHT_SURFACE as a8, type Layer as a9, PAGE_ACCENT_STRATEGIES as aA, PAGE_BACKGROUNDS as aB, PAGE_BACKGROUND_RHYTHMS as aC, PAGE_DESIGN_FAMILIES as aD, PAGE_DIVIDERS as aE, PAGE_EMPHASES as aF, PAGE_EYEBROWS as aG, PAGE_HEADING_CASES as aH, PAGE_HEADING_SCALES as aI, PAGE_HEADING_UNDERLINES as aJ, PAGE_HERO_STYLES as aK, PAGE_IMAGE_FRAMINGS as aL, PAGE_NUMERAL_STYLES as aM, PAGE_PATTERNS as aN, PAGE_QUOTE_MARKS as aO, PAGE_SECTION_KINDS as aP, PAGE_SECTION_SPACINGS as aQ, PAGE_SHADOWS as aR, PAGE_VARIANTS as aS, type PageAccentRotation as aT, type PageBackground as aU, type PageDesignFamily as aV, type PageEmphasis as aW, type PageHeadingTreatment as aX, type PageSectionKind as aY, type PageSectionOverride as aZ, type PageTokens as a_, type LayerRepeat as aa, type LayersBlockInput as ab, type LayoutHints as ac, type LeftFeatureInput as ad, type LineChartInput as ae, type LinearGradient as af, type ListBlockInput as ag, MOTION_PROFILES as ah, type MapBlockInput as ai, type MapLayer as aj, type MapMarker as ak, type MapTileStyle as al, type MarkerStyle as am, type MediaClip as an, type MediaCrop as ao, type MediaCut as ap, type MediaEdits as aq, type MediaOnlyInput as ar, type MediaScheduleOptions as as, type MermaidLayer as at, type MotionEntrance as au, type MotionOrigin as av, type MotionProfile as aw, type MotionProfileName as ax, type MotionSpec as ay, type MotionState as az, type AmbientGradientConfig as b, type TreeLayerStyle as b$, type PathLayer as b0, type PatternBackgroundConfig as b1, type PersistentLayer as b2, type PersistentLayerConfig as b3, type PersistentLayerTemplate as b4, type PersistentLayerTemplateConfig as b5, type PersistentLayerTemplateType as b6, type PhotoGridInput as b7, type PieChartInput as b8, type PipStyle as b9, type TemplateFunction as bA, type TemplateRegistry as bB, type TextFlow as bC, type TextLayer as bD, type TextParagraph as bE, type TextParagraphList as bF, type TextStyle as bG, type Theme as bH, type ThemeColorPalette as bI, type ThemeColorScheme as bJ, type ThemePageStyle as bK, type ThemeRegistry as bL, type ThemeSchemaVersion as bM, type ThemeSeedColors as bN, type ThemeStyle as bO, type ThemeTypography as bP, type TimelineBlockInput as bQ, type TimelineTemplateEvent as bR, type TimelineTemplateLink as bS, type TimelineTemplateTrack as bT, type TitleBlockInput as bU, type TitleCaptionConfig as bV, type TopFeatureInput as bW, type TranscriptBlockInput as bX, type TreeBlockInput as bY, type TreeLayer as bZ, type TreeLayerItem as b_, type Position as ba, type PresentationSlideMark as bb, type ProcessBlockInput as bc, type ProgressIndicatorConfig as bd, type PromotedBodyAnnotation as be, type PullQuoteInput as bf, type QuoteBlockInput as bg, type RawLayersInput as bh, type RenderStyle as bi, type RightFeatureInput as bj, type ScatterChartInput as bk, type ScheduledClip as bl, type SectionHeaderInput as bm, type ShapeFilter as bn, type ShapeLayer as bo, type ShapePattern as bp, type SolidBackgroundConfig as bq, type StartBlockConfig as br, type StatHighlightInput as bs, type SurfaceScheme as bt, type SvgLayer as bu, THEME_SCHEMA_VERSION as bv, type TableLayer as bw, type TableLayerStyle as bx, type TemplateBlock as by, type TemplateContext as bz, type Animation as c, parseMediaFx as c$, type TreeTemplateItem as c0, type TwoColumnInput as c1, VIEWPORT_PRESETS as c2, type VideoEmbedLayer as c3, type VideoLayer as c4, type VideoPipPosition as c5, type VideoPipShape as c6, type VideoPipSize as c7, type VideoPlacement as c8, type VideoPresentation as c9, scaledFontSize$1 as cA, readFrontmatterMotion as cB, resolveMediaSchedule as cC, resolveMotionForDoc as cD, resolveMotionProfile as cE, scaledFontSize as cF, scheduleMediaClip as cG, validateCustomTemplateDefinition as cH, type MediaFxOpId as cI, type MediaFxChain as cJ, MEDIA_EDIT_PARAMS as cK, MEDIA_FX_ORDER as cL, MEDIA_FX_SPECS as cM, type MediaEditParamKey as cN, type MediaEditParamValues as cO, type MediaFxOp as cP, formatMediaNumber as cQ, hasRenderableFx as cR, mediaEditHtmlAttribute as cS, mediaEditValuesFromAttributes as cT, mediaEditValuesFromParams as cU, mediaRenderKey as cV, normalizeMediaCrop as cW, normalizeMediaCuts as cX, parseMediaCrop as cY, parseMediaCuts as cZ, parseMediaEdits as c_, type VideoPullQuoteInput as ca, type VideoWithCaptionInput as cb, type ViewportConfig as cc, type ViewportOrientation as cd, type ViewportPreset as ce, type VignetteConfig as cf, applySurface as cg, calculateDuration as ch, calculateFontScale as ci, createTemplateContext as cj, createTheme as ck, createThemeRegistry as cl, getAspectRatioString as cm, getBlockAtTime as cn, getCaptionAtTime as co, getDocPlaybackDuration as cp, getLayoutHints as cq, getSafeTextBounds as cr, getSegmentAtTime as cs, getTwoColumnPositions as ct, getViewport as cu, getViewportOrientation as cv, isCustomTemplateDefinition as cw, isMotionProfileName as cx, isPersistentLayerTemplate as cy, isTemplateBlock as cz, type AnimationType as d, serializeMediaCrop as d0, serializeMediaCuts as d1, serializeMediaEdits as d2, serializeMediaFx as d3, 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 { a5 as ImageLayer, bD as TextLayer, bo as ShapeLayer, b0 as PathLayer } from './Doc-BhvotZx_.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ImageEditDoc — JSON document describing a layered, editable image.
|