@bendyline/squisq 2.4.4 → 2.6.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.
- package/dist/{Doc-BKKcPjfe.d.ts → Doc-DBadkoP4.d.ts} +30 -2
- package/dist/{ImageEditDoc-CU1cXxRd.d.ts → ImageEditDoc-Cq2a3c30.d.ts} +1 -1
- package/dist/{chunk-YQW6AQBV.js → chunk-6MVWWZHL.js} +1 -1
- package/dist/{chunk-GGTDYLW4.js → chunk-7Z5T3CUI.js} +1 -1
- package/dist/{chunk-OIIIHI3Y.js → chunk-GSJEGMKF.js} +273 -10
- package/dist/{chunk-CYRIVZTR.js → chunk-HXMV7WQB.js} +1 -1
- package/dist/{chunk-GXUFHFYD.js → chunk-KY6SDMQZ.js} +167 -16
- package/dist/{chunk-O3LLD7HG.js → chunk-NBKAXPSX.js} +1 -0
- package/dist/doc/index.d.ts +117 -15
- package/dist/doc/index.js +18 -4
- 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 +20 -6
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-WDJCTJEm.d.ts → materializePageSection-DgOFYge7.d.ts} +1 -1
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +3 -3
- package/dist/schemas/index.d.ts +4 -4
- package/dist/{themeLibrary-BMXXLZBU.d.ts → themeLibrary-8BQMY2HV.d.ts} +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7Z5T3CUI.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
29
29
|
analyzeBlocks,
|
|
@@ -138,6 +138,10 @@ import {
|
|
|
138
138
|
haversineDistance
|
|
139
139
|
} from "./chunk-R3KTTOMS.js";
|
|
140
140
|
import {
|
|
141
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
142
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
143
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
144
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
141
145
|
PAGE_BASE_CSS,
|
|
142
146
|
applyNarrationTiming,
|
|
143
147
|
buildPageCss,
|
|
@@ -158,6 +162,7 @@ import {
|
|
|
158
162
|
renderTree,
|
|
159
163
|
repairAsciiDiagram,
|
|
160
164
|
resolveAudioMapping,
|
|
165
|
+
resolveCoverSlideSettings,
|
|
161
166
|
resolvePageBlock,
|
|
162
167
|
resolvePageStyle,
|
|
163
168
|
resolveThemeForDoc,
|
|
@@ -165,7 +170,7 @@ import {
|
|
|
165
170
|
sectionExtractors,
|
|
166
171
|
validateMarkdownDoc,
|
|
167
172
|
validateMarkdownSource
|
|
168
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-KY6SDMQZ.js";
|
|
169
174
|
import {
|
|
170
175
|
ASCII_CHAR_H,
|
|
171
176
|
ASCII_CHAR_W,
|
|
@@ -188,6 +193,7 @@ import {
|
|
|
188
193
|
asciiDiagramToTemplateData,
|
|
189
194
|
asciiTimelineToTemplateData,
|
|
190
195
|
autoTemplatePreservesContent,
|
|
196
|
+
bigText,
|
|
191
197
|
buildNarrationScript,
|
|
192
198
|
buildNarrationTimingJson,
|
|
193
199
|
buildRegistry,
|
|
@@ -226,6 +232,7 @@ import {
|
|
|
226
232
|
fallbackBlockLayers,
|
|
227
233
|
findFirstList,
|
|
228
234
|
findFirstTable,
|
|
235
|
+
fitBigTextSize,
|
|
229
236
|
fitDiagramLabel,
|
|
230
237
|
flattenBlocks,
|
|
231
238
|
flattenRenderableBlocks,
|
|
@@ -291,7 +298,7 @@ import {
|
|
|
291
298
|
wrapWithPersistentLayers,
|
|
292
299
|
writeCustomTemplatesToFrontmatter,
|
|
293
300
|
writeCustomThemesToFrontmatter
|
|
294
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-GSJEGMKF.js";
|
|
295
302
|
import {
|
|
296
303
|
PATH_SHAPE_KINDS,
|
|
297
304
|
anchorPoint,
|
|
@@ -434,7 +441,7 @@ import {
|
|
|
434
441
|
stringifyMarkdown,
|
|
435
442
|
unwrapMarkdownSource,
|
|
436
443
|
wrapMarkdownSource
|
|
437
|
-
} from "./chunk-
|
|
444
|
+
} from "./chunk-HXMV7WQB.js";
|
|
438
445
|
import {
|
|
439
446
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
440
447
|
MarkdownLimitError,
|
|
@@ -446,7 +453,7 @@ import {
|
|
|
446
453
|
resolveMarkdownSafetyLimits,
|
|
447
454
|
serializePandocAttributes,
|
|
448
455
|
toMdast
|
|
449
|
-
} from "./chunk-
|
|
456
|
+
} from "./chunk-6MVWWZHL.js";
|
|
450
457
|
import {
|
|
451
458
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
452
459
|
CONTAINER_TEMPLATES,
|
|
@@ -464,7 +471,7 @@ import {
|
|
|
464
471
|
splitKeyValueToken,
|
|
465
472
|
tokenizeAttrTokens,
|
|
466
473
|
unquoteAttrValue
|
|
467
|
-
} from "./chunk-
|
|
474
|
+
} from "./chunk-NBKAXPSX.js";
|
|
468
475
|
import {
|
|
469
476
|
ICONS,
|
|
470
477
|
canonicalIconToken,
|
|
@@ -528,8 +535,11 @@ export {
|
|
|
528
535
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
529
536
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
530
537
|
CONTAINER_TEMPLATES,
|
|
538
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
539
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
531
540
|
DARK_SURFACE,
|
|
532
541
|
DEFAULT_ALIGN_CONFIG,
|
|
542
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
533
543
|
DEFAULT_DOC_FONT,
|
|
534
544
|
DEFAULT_FEATURE_CONFIG,
|
|
535
545
|
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
@@ -567,6 +577,7 @@ export {
|
|
|
567
577
|
LocalForageAdapter,
|
|
568
578
|
LocalStorageAdapter,
|
|
569
579
|
MARKDOWN_SOURCE_TRANSFORMS,
|
|
580
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
570
581
|
MarkdownLimitError,
|
|
571
582
|
MemoryContentContainer,
|
|
572
583
|
MemoryStorageAdapter,
|
|
@@ -631,6 +642,7 @@ export {
|
|
|
631
642
|
assertTheme,
|
|
632
643
|
autoTemplatePreservesContent,
|
|
633
644
|
bandpassRun,
|
|
645
|
+
bigText,
|
|
634
646
|
buildGoogleFontsUrl,
|
|
635
647
|
buildImageEditVersionPath,
|
|
636
648
|
buildJsonFormTokens,
|
|
@@ -735,6 +747,7 @@ export {
|
|
|
735
747
|
findFirstList,
|
|
736
748
|
findFirstTable,
|
|
737
749
|
findNodesByType,
|
|
750
|
+
fitBigTextSize,
|
|
738
751
|
fitDiagramLabel,
|
|
739
752
|
flattenBlocks,
|
|
740
753
|
flattenRenderableBlocks,
|
|
@@ -899,6 +912,7 @@ export {
|
|
|
899
912
|
resolveAudioMapping,
|
|
900
913
|
resolveBlockTransition,
|
|
901
914
|
resolveColorScheme,
|
|
915
|
+
resolveCoverSlideSettings,
|
|
902
916
|
resolveFlag,
|
|
903
917
|
resolveFontFamily,
|
|
904
918
|
resolveIcon,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/markdown/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
stringifyMarkdown,
|
|
15
15
|
unwrapMarkdownSource,
|
|
16
16
|
wrapMarkdownSource
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-HXMV7WQB.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
20
20
|
MarkdownLimitError,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveMarkdownSafetyLimits,
|
|
27
27
|
serializePandocAttributes,
|
|
28
28
|
toMdast
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-6MVWWZHL.js";
|
|
30
30
|
import {
|
|
31
31
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
32
32
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
splitKeyValueToken,
|
|
41
41
|
tokenizeAttrTokens,
|
|
42
42
|
unquoteAttrValue
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-NBKAXPSX.js";
|
|
44
44
|
import "../chunk-7N4G32LG.js";
|
|
45
45
|
import {
|
|
46
46
|
countNodes,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as Block, aF as PageSectionKind, aD as PageEmphasis, bj as ThemeColorScheme, aB as PageBackground, bh as Theme, bL as ViewportConfig, w as CustomTemplateDefinition, b5 as StartBlockConfig, O as Doc, bk as ThemePageStyle } from './Doc-DBadkoP4.js';
|
|
2
2
|
import { M as MarkdownBlockNode } from './types-CcrDFdWH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/narration/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-7Z5T3CUI.js";
|
|
27
27
|
import {
|
|
28
28
|
buildNarrationScript,
|
|
29
29
|
buildNarrationTimingJson,
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
wordIndexAtChar,
|
|
34
34
|
wordIndexAtTime,
|
|
35
35
|
wordPosAtExpectedSyllables
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-GSJEGMKF.js";
|
|
37
37
|
import "../chunk-PUS54YU6.js";
|
|
38
38
|
import "../chunk-CUYHFOFL.js";
|
|
39
39
|
import "../chunk-SBAX4ZPO.js";
|
|
40
40
|
import "../chunk-BAOV476U.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-NBKAXPSX.js";
|
|
42
42
|
import "../chunk-O7JILDEF.js";
|
|
43
43
|
import "../chunk-4VOD55SX.js";
|
|
44
44
|
import "../chunk-XOFT65EX.js";
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { B as BoundingBox, C as Coordinates } from '../Types-sh2VRxfo.js';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as
|
|
2
|
+
import { O as Doc, bh as Theme, bk as ThemePageStyle, bj as ThemeColorScheme, I as DeepPartial, bn as ThemeSeedColors, bi as ThemeColorPalette, X as FontFamilyKind, W as FontFamily } from '../Doc-DBadkoP4.js';
|
|
3
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, C as CaptionPhrase, n as CaptionTrack, o as CaptionWord, p as ChartBaseFields, q as ChartTemplateInput, r as ColorScheme, s as ColumnChartInput, t as ComparisonBarInput, u as ContentBlockInput, v as CornerBrandingConfig, w as CustomTemplateDefinition, x as CustomTemplateLayer, y as CustomTemplateValidationError, z as CustomTemplateValidationResult, D as DARK_SURFACE, E as DEFAULT_DOC_FONT, F as DEFAULT_TITLE_FONT, G as DataTableInput, H as DateEventInput, J as DefinitionCardInput, K as DiagramBlockInput, L as DiagramEdgeAnchor, M as DiagramTemplateEdge, N as DiagramTemplateNode, P as DocBlock, Q as DocDiagnostic, R as DonutChartInput, S as DrawingBlockInput, T as FRONTMATTER_CUSTOM_TEMPLATES_KEY, U as FRONTMATTER_CUSTOM_THEMES_KEY, V as FactCardInput, Y as FullBleedQuoteInput, Z as GradientBackgroundConfig, _ as ImageBackgroundConfig, $ as ImageLayer, a0 as ImageTreatment, a1 as ImageWithCaptionInput, a2 as LIGHT_SURFACE, a3 as Layer, a4 as LayerRepeat, a5 as LayoutHints, a6 as LeftFeatureInput, a7 as LineChartInput, a8 as LinearGradient, a9 as ListBlockInput, aa as MapBlockInput, ab as MapLayer, ac as MapMarker, ad as MapTileStyle, ae as MarkerStyle, af as MediaClip, ag as MediaScheduleOptions, ah as MermaidLayer, ai as PAGE_ACCENT_STRATEGIES, aj as PAGE_BACKGROUNDS, ak as PAGE_BACKGROUND_RHYTHMS, al as PAGE_DESIGN_FAMILIES, am as PAGE_DIVIDERS, an as PAGE_EMPHASES, ao as PAGE_EYEBROWS, ap as PAGE_HEADING_CASES, aq as PAGE_HEADING_SCALES, ar as PAGE_HEADING_UNDERLINES, as as PAGE_HERO_STYLES, at as PAGE_IMAGE_FRAMINGS, au as PAGE_NUMERAL_STYLES, av as PAGE_PATTERNS, aw as PAGE_QUOTE_MARKS, ax as PAGE_SECTION_KINDS, ay as PAGE_SECTION_SPACINGS, az as PAGE_SHADOWS, aA as PageAccentRotation, aB as PageBackground, aC as PageDesignFamily, aD as PageEmphasis, aE as PageHeadingTreatment, aF as PageSectionKind, aG as PageSectionOverride, aH as PageTokens, aI as PathLayer, aJ as PatternBackgroundConfig, aK as PersistentLayer, aL as PersistentLayerConfig, aM as PersistentLayerTemplate, aN as PersistentLayerTemplateConfig, aO as PersistentLayerTemplateType, aP as PhotoGridInput, aQ as PieChartInput, aR as PipStyle, aS as Position, aT as ProgressIndicatorConfig, aU as PromotedBodyAnnotation, aV as PullQuoteInput, aW as QuoteBlockInput, aX as RawLayersInput, aY as RenderStyle, aZ as RightFeatureInput, a_ as ScatterChartInput, a$ as ScheduledClip, b0 as SectionHeaderInput, b1 as ShapeFilter, b2 as ShapeLayer, b3 as ShapePattern, b4 as SolidBackgroundConfig, b5 as StartBlockConfig, b6 as StatHighlightInput, b7 as SurfaceScheme, b8 as THEME_SCHEMA_VERSION, b9 as TableLayer, ba as TableLayerStyle, bb as TemplateBlock, bc as TemplateContext, bd as TemplateFunction, be as TemplateRegistry, bf as TextLayer, bg as TextStyle, bl as ThemeRegistry, bm as ThemeSchemaVersion, bo as ThemeStyle, bp as ThemeTypography, bq as TimelineBlockInput, br as TimelineTemplateEvent, bs as TimelineTemplateLink, bt as TimelineTemplateTrack, bu as TitleBlockInput, bv as TitleCaptionConfig, bw as TreeBlockInput, bx as TreeLayer, by as TreeLayerItem, bz as TreeLayerStyle, bA as TreeTemplateItem, bB as TwoColumnInput, bC as VIEWPORT_PRESETS, bD as VideoLayer, bE as VideoPipPosition, bF as VideoPipShape, bG as VideoPipSize, bH as VideoPlacement, bI as VideoPresentation, bJ as VideoPullQuoteInput, bK as VideoWithCaptionInput, bL as ViewportConfig, bM as ViewportOrientation, bN as ViewportPreset, bO as VignetteConfig, bP as applySurface, bQ as calculateDuration, bR as calculateFontScale, bS as createTemplateContext, bT as createTheme, bU as createThemeRegistry, bV as getAspectRatioString, bW as getBlockAtTime, bX as getCaptionAtTime, bY as getDocPlaybackDuration, bZ as getLayoutHints, b_ as getSafeTextBounds, b$ as getSegmentAtTime, c0 as getTwoColumnPositions, c1 as getViewport, c2 as getViewportOrientation, c3 as isCustomTemplateDefinition, c4 as isPersistentLayerTemplate, c5 as isTemplateBlock, c6 as layoutScaledFontSize, c7 as resolveMediaSchedule, c8 as scaledFontSize, c9 as validateCustomTemplateDefinition } from '../Doc-DBadkoP4.js';
|
|
4
4
|
export { a as DEFAULT_TRANSITION_DURATION_SECONDS, $ as TRANSITION_DIRECTIONS, a0 as TRANSITION_TYPES, a1 as Transition, a2 as TransitionDirection, a3 as TransitionType, a6 as isTransitionType, a7 as normalizeTransitionDirection, a8 as normalizeTransitionType, a9 as resolveBlockTransition, ab as resolveTransitionDuration } from '../types-CcrDFdWH.js';
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
5
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-8BQMY2HV.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from '../MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-Cq2a3c30.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Runtime validation for the canonical {@link Doc} JSON shape.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as PageTransformHints } from '../materializePageSection-
|
|
1
|
+
import { r as ColorScheme, O as Doc, k as Block } from '../Doc-DBadkoP4.js';
|
|
2
|
+
import { i as PageTransformHints } from '../materializePageSection-DgOFYge7.js';
|
|
3
3
|
import { d as ExtractionType, E as ExtractedElement, b as ExtractionOptions } from '../contentExtractor-BNfVJV2U.js';
|
|
4
4
|
import '../types-CcrDFdWH.js';
|
|
5
5
|
|