@bendyline/squisq 2.11.7 → 2.11.9
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-BkxT7G80.d.ts → Doc-DmElSKmg.d.ts} +219 -1
- package/dist/{ImageEditDoc-C8ZB54Vv.d.ts → ImageEditDoc-Dm_BETxC.d.ts} +1 -1
- package/dist/{chunk-EF353KGH.js → chunk-2PGC4JDT.js} +1 -1
- package/dist/{chunk-YGGYYBJS.js → chunk-B5STNW6C.js} +2 -2
- package/dist/{chunk-IYZTF4VO.js → chunk-CCRBHFNO.js} +3 -3
- package/dist/{chunk-VU4T74LI.js → chunk-DTM4FG7S.js} +1 -1
- package/dist/chunk-JSGIWW35.js +70 -0
- package/dist/chunk-L7QZORLB.js +230 -0
- package/dist/chunk-NEWNNLWN.js +64 -0
- package/dist/{chunk-6ECMNUIP.js → chunk-OU5FYBOB.js} +170 -4
- package/dist/{chunk-Y4D6TDZT.js → chunk-PCCQLD3G.js} +2 -0
- package/dist/{chunk-SKKBRLLM.js → chunk-QDA7NXDO.js} +7 -42
- package/dist/{chunk-3YNFMFNK.js → chunk-QOVINAB2.js} +18 -9
- package/dist/{chunk-SOIV7KDO.js → chunk-VRTXPGP7.js} +256 -26
- package/dist/{chunk-XJXBI3N5.js → chunk-XZVBR5BP.js} +1 -1
- package/dist/{chunk-GAZKTT4R.js → chunk-YNO6JV36.js} +96 -33
- package/dist/doc/index.d.ts +10 -6
- package/dist/doc/index.js +23 -21
- package/dist/fence/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +47 -4
- package/dist/imageEdit/index.js +5 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +52 -41
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +6 -4
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-Dp2aHFbc.d.ts → materializePageSection-BfttC9Zj.d.ts} +6 -3
- package/dist/mediaEdit/index.d.ts +467 -0
- package/dist/mediaEdit/index.js +990 -0
- package/dist/narration/index.d.ts +20 -12
- package/dist/narration/index.js +7 -5
- package/dist/schemas/index.d.ts +4 -4
- package/dist/schemas/index.js +10 -4
- package/dist/{themeLibrary-BbSjnGmd.d.ts → themeLibrary-ChnTImby.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 +7 -6
- package/package.json +6 -1
- package/dist/{chunk-CW24CH7I.js → chunk-HUXK7EOT.js} +3 -3
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QDA7NXDO.js";
|
|
31
31
|
import {
|
|
32
32
|
fenceRendererLangs
|
|
33
33
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
getTransformStyleSummaries,
|
|
66
66
|
resolveTransformStyle,
|
|
67
67
|
transformNarratedSegment
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CCRBHFNO.js";
|
|
69
69
|
import {
|
|
70
70
|
extractContent,
|
|
71
71
|
mapElementToBlock,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveRef,
|
|
104
104
|
setByPointer,
|
|
105
105
|
toPointer
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DTM4FG7S.js";
|
|
107
107
|
import {
|
|
108
108
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
109
109
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -116,7 +116,9 @@ import {
|
|
|
116
116
|
coalesceImageEditVersions,
|
|
117
117
|
createEmptyImageEditDoc,
|
|
118
118
|
exportImageEditDoc,
|
|
119
|
+
inspectAnimatedImage,
|
|
119
120
|
listImageEditVersions,
|
|
121
|
+
mayBeAnimatedImage,
|
|
120
122
|
parseImageEditVersionPath,
|
|
121
123
|
pruneImageEditVersions,
|
|
122
124
|
readImageEditDoc,
|
|
@@ -130,12 +132,13 @@ import {
|
|
|
130
132
|
touch,
|
|
131
133
|
updateLayer,
|
|
132
134
|
writeImageEditDoc
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-OU5FYBOB.js";
|
|
134
136
|
import {
|
|
135
137
|
VERSION_TIMESTAMP_PATTERN,
|
|
136
138
|
formatVersionTimestamp,
|
|
137
139
|
parseVersionTimestamp
|
|
138
140
|
} from "./chunk-OPO5K4DZ.js";
|
|
141
|
+
import "./chunk-NEWNNLWN.js";
|
|
139
142
|
import {
|
|
140
143
|
STARTER_THEME,
|
|
141
144
|
accentToColorScheme,
|
|
@@ -151,7 +154,7 @@ import {
|
|
|
151
154
|
pipStyleVars,
|
|
152
155
|
serializeTheme,
|
|
153
156
|
validateDocSchema
|
|
154
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-B5STNW6C.js";
|
|
155
158
|
import {
|
|
156
159
|
calculateBearing,
|
|
157
160
|
decodeGeohash,
|
|
@@ -236,7 +239,7 @@ import {
|
|
|
236
239
|
validateMarkdownDoc,
|
|
237
240
|
validateMarkdownSource,
|
|
238
241
|
writeDashboardLayoutsToFrontmatter
|
|
239
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-VRTXPGP7.js";
|
|
240
243
|
import {
|
|
241
244
|
buildNarrationScript,
|
|
242
245
|
buildNarrationTimingJson,
|
|
@@ -246,7 +249,7 @@ import {
|
|
|
246
249
|
wordIndexAtChar,
|
|
247
250
|
wordIndexAtTime,
|
|
248
251
|
wordPosAtExpectedSyllables
|
|
249
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-2PGC4JDT.js";
|
|
250
253
|
import {
|
|
251
254
|
ASCII_CHAR_H,
|
|
252
255
|
ASCII_CHAR_W,
|
|
@@ -368,27 +371,7 @@ import {
|
|
|
368
371
|
wrapWithPersistentLayers,
|
|
369
372
|
writeCustomTemplatesToFrontmatter,
|
|
370
373
|
writeCustomThemesToFrontmatter
|
|
371
|
-
} from "./chunk-
|
|
372
|
-
import {
|
|
373
|
-
PATH_SHAPE_KINDS,
|
|
374
|
-
anchorPoint,
|
|
375
|
-
clipEndpoints,
|
|
376
|
-
clipPoint,
|
|
377
|
-
connectorPath,
|
|
378
|
-
lineStyleDasharray,
|
|
379
|
-
markerPath,
|
|
380
|
-
nearestSnapPoint,
|
|
381
|
-
shapePath,
|
|
382
|
-
snapEndpoints,
|
|
383
|
-
snapPoints
|
|
384
|
-
} from "./chunk-PUS54YU6.js";
|
|
385
|
-
import {
|
|
386
|
-
hasIconMarker,
|
|
387
|
-
iconClass,
|
|
388
|
-
iconMarker,
|
|
389
|
-
splitIconMarkers,
|
|
390
|
-
stripIconMarkers
|
|
391
|
-
} from "./chunk-7ZAAICW4.js";
|
|
374
|
+
} from "./chunk-QOVINAB2.js";
|
|
392
375
|
import {
|
|
393
376
|
ASCII_DIAGRAM_FENCE_LANGS,
|
|
394
377
|
ASCII_TIMELINE_FENCE_LANGS,
|
|
@@ -414,11 +397,32 @@ import {
|
|
|
414
397
|
profileBlockContents,
|
|
415
398
|
recommendTemplatesForBlock
|
|
416
399
|
} from "./chunk-C3NAY5YP.js";
|
|
400
|
+
import {
|
|
401
|
+
PATH_SHAPE_KINDS,
|
|
402
|
+
anchorPoint,
|
|
403
|
+
clipEndpoints,
|
|
404
|
+
clipPoint,
|
|
405
|
+
connectorPath,
|
|
406
|
+
lineStyleDasharray,
|
|
407
|
+
markerPath,
|
|
408
|
+
nearestSnapPoint,
|
|
409
|
+
shapePath,
|
|
410
|
+
snapEndpoints,
|
|
411
|
+
snapPoints
|
|
412
|
+
} from "./chunk-PUS54YU6.js";
|
|
413
|
+
import {
|
|
414
|
+
hasIconMarker,
|
|
415
|
+
iconClass,
|
|
416
|
+
iconMarker,
|
|
417
|
+
splitIconMarkers,
|
|
418
|
+
stripIconMarkers
|
|
419
|
+
} from "./chunk-7ZAAICW4.js";
|
|
417
420
|
import {
|
|
418
421
|
defaultPageStyle,
|
|
419
422
|
getDocPlaybackDuration,
|
|
420
|
-
resolveMediaSchedule
|
|
421
|
-
|
|
423
|
+
resolveMediaSchedule,
|
|
424
|
+
scheduleMediaClip
|
|
425
|
+
} from "./chunk-YNO6JV36.js";
|
|
422
426
|
import {
|
|
423
427
|
AVAILABLE_FONT_STACKS,
|
|
424
428
|
DARK_SURFACE,
|
|
@@ -448,6 +452,7 @@ import {
|
|
|
448
452
|
PAGE_SECTION_KINDS,
|
|
449
453
|
PAGE_SECTION_SPACINGS,
|
|
450
454
|
PAGE_SHADOWS,
|
|
455
|
+
PAGE_VARIANTS,
|
|
451
456
|
THEMES,
|
|
452
457
|
THEME_SCHEMA_VERSION,
|
|
453
458
|
VIEWPORT_PRESETS,
|
|
@@ -489,7 +494,9 @@ import {
|
|
|
489
494
|
validateCustomTemplateDefinition,
|
|
490
495
|
validateTheme,
|
|
491
496
|
withAlpha
|
|
492
|
-
} from "./chunk-
|
|
497
|
+
} from "./chunk-PCCQLD3G.js";
|
|
498
|
+
import "./chunk-JSGIWW35.js";
|
|
499
|
+
import "./chunk-L7QZORLB.js";
|
|
493
500
|
import {
|
|
494
501
|
LocalForageAdapter,
|
|
495
502
|
LocalStorageAdapter,
|
|
@@ -516,7 +523,7 @@ import {
|
|
|
516
523
|
stringifyMarkdown,
|
|
517
524
|
unwrapMarkdownSource,
|
|
518
525
|
wrapMarkdownSource
|
|
519
|
-
} from "./chunk-
|
|
526
|
+
} from "./chunk-XZVBR5BP.js";
|
|
520
527
|
import {
|
|
521
528
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
522
529
|
MarkdownLimitError,
|
|
@@ -528,7 +535,7 @@ import {
|
|
|
528
535
|
resolveMarkdownSafetyLimits,
|
|
529
536
|
serializePandocAttributes,
|
|
530
537
|
toMdast
|
|
531
|
-
} from "./chunk-
|
|
538
|
+
} from "./chunk-HUXK7EOT.js";
|
|
532
539
|
import {
|
|
533
540
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
534
541
|
CONTAINER_TEMPLATES,
|
|
@@ -547,14 +554,6 @@ import {
|
|
|
547
554
|
tokenizeAttrTokens,
|
|
548
555
|
unquoteAttrValue
|
|
549
556
|
} from "./chunk-TMOHAFYE.js";
|
|
550
|
-
import {
|
|
551
|
-
ICONS,
|
|
552
|
-
canonicalIconToken,
|
|
553
|
-
iconGlyph,
|
|
554
|
-
looksLikeIconToken,
|
|
555
|
-
resolveIcon,
|
|
556
|
-
suggestIcons
|
|
557
|
-
} from "./chunk-7N4G32LG.js";
|
|
558
557
|
import {
|
|
559
558
|
countNodes,
|
|
560
559
|
createDocument,
|
|
@@ -574,6 +573,14 @@ import {
|
|
|
574
573
|
stringifyHtmlNodes,
|
|
575
574
|
walkMarkdownTree
|
|
576
575
|
} from "./chunk-X7BNDUNI.js";
|
|
576
|
+
import {
|
|
577
|
+
ICONS,
|
|
578
|
+
canonicalIconToken,
|
|
579
|
+
iconGlyph,
|
|
580
|
+
looksLikeIconToken,
|
|
581
|
+
resolveIcon,
|
|
582
|
+
suggestIcons
|
|
583
|
+
} from "./chunk-7N4G32LG.js";
|
|
577
584
|
import {
|
|
578
585
|
DEFAULT_TRANSITION_DURATION_SECONDS,
|
|
579
586
|
TRANSITION_DIRECTIONS,
|
|
@@ -690,6 +697,7 @@ export {
|
|
|
690
697
|
PAGE_SECTION_KINDS,
|
|
691
698
|
PAGE_SECTION_SPACINGS,
|
|
692
699
|
PAGE_SHADOWS,
|
|
700
|
+
PAGE_VARIANTS,
|
|
693
701
|
PATH_SHAPE_KINDS,
|
|
694
702
|
PROOF_DIALECTS,
|
|
695
703
|
PROOF_FRONTMATTER_KEYS,
|
|
@@ -925,6 +933,7 @@ export {
|
|
|
925
933
|
imageWithCaption,
|
|
926
934
|
inferDocumentTitle,
|
|
927
935
|
inferSchema,
|
|
936
|
+
inspectAnimatedImage,
|
|
928
937
|
isAsciiDiagramFence,
|
|
929
938
|
isAsciiTimelineFence,
|
|
930
939
|
isContainerTemplate,
|
|
@@ -974,6 +983,7 @@ export {
|
|
|
974
983
|
materializeFlashcards,
|
|
975
984
|
materializePageSection,
|
|
976
985
|
materializePageSections,
|
|
986
|
+
mayBeAnimatedImage,
|
|
977
987
|
narrationSessionStep,
|
|
978
988
|
nearestSnapPoint,
|
|
979
989
|
needsQuoting,
|
|
@@ -1075,6 +1085,7 @@ export {
|
|
|
1075
1085
|
saveVersion,
|
|
1076
1086
|
scaleAnimationDuration,
|
|
1077
1087
|
scaledFontSize2 as scaledFontSize,
|
|
1088
|
+
scheduleMediaClip,
|
|
1078
1089
|
scopeContainer,
|
|
1079
1090
|
scoreTextSimilarity,
|
|
1080
1091
|
sectionExtractors,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/jsonForm/index.js
CHANGED
|
@@ -15,10 +15,12 @@ import {
|
|
|
15
15
|
resolveRef,
|
|
16
16
|
setByPointer,
|
|
17
17
|
toPointer
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-DTM4FG7S.js";
|
|
19
|
+
import "../chunk-B5STNW6C.js";
|
|
20
|
+
import "../chunk-YNO6JV36.js";
|
|
21
|
+
import "../chunk-PCCQLD3G.js";
|
|
22
|
+
import "../chunk-JSGIWW35.js";
|
|
23
|
+
import "../chunk-L7QZORLB.js";
|
|
22
24
|
import "../chunk-4VOD55SX.js";
|
|
23
25
|
export {
|
|
24
26
|
appendPointer,
|
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-XZVBR5BP.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-HUXK7EOT.js";
|
|
30
30
|
import {
|
|
31
31
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
32
32
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -41,7 +41,6 @@ import {
|
|
|
41
41
|
tokenizeAttrTokens,
|
|
42
42
|
unquoteAttrValue
|
|
43
43
|
} from "../chunk-TMOHAFYE.js";
|
|
44
|
-
import "../chunk-7N4G32LG.js";
|
|
45
44
|
import {
|
|
46
45
|
countNodes,
|
|
47
46
|
createDocument,
|
|
@@ -61,6 +60,7 @@ import {
|
|
|
61
60
|
stringifyHtmlNodes,
|
|
62
61
|
walkMarkdownTree
|
|
63
62
|
} from "../chunk-X7BNDUNI.js";
|
|
63
|
+
import "../chunk-7N4G32LG.js";
|
|
64
64
|
import "../chunk-4VOD55SX.js";
|
|
65
65
|
export {
|
|
66
66
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as Block,
|
|
1
|
+
import { k as Block, aJ as PageSectionKind, aH as PageEmphasis, bo as ThemeColorScheme, aF as PageBackground, bm as Theme, bR as ViewportConfig, w as CustomTemplateDefinition, aM as PageVariant, ba as StartBlockConfig, O as Doc, bp as ThemePageStyle } from './Doc-DmElSKmg.js';
|
|
2
2
|
import { M as MarkdownBlockNode } from './types-Be6sBUBx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -201,6 +201,8 @@ interface MaterializePageSectionOptions {
|
|
|
201
201
|
* kept regardless.
|
|
202
202
|
*/
|
|
203
203
|
widgetFenceLangs?: readonly string[];
|
|
204
|
+
/** Page rendition register (default `'page'`). See `PageVariant`. */
|
|
205
|
+
variant?: PageVariant;
|
|
204
206
|
}
|
|
205
207
|
/** Doc-level options. */
|
|
206
208
|
interface MaterializePageSectionsOptions extends MaterializePageSectionOptions {
|
|
@@ -215,10 +217,11 @@ interface MaterializePageSectionsOptions extends MaterializePageSectionOptions {
|
|
|
215
217
|
}
|
|
216
218
|
/**
|
|
217
219
|
* Resolve the effective page style for a theme: explicit `theme.pageStyle`
|
|
218
|
-
* wins, else a derived default. Transform hints overlay spacing
|
|
220
|
+
* wins, else a derived default. Transform hints overlay spacing; the
|
|
221
|
+
* `document` variant overlays its flat, unornamented art direction.
|
|
219
222
|
* Never returns undefined.
|
|
220
223
|
*/
|
|
221
|
-
declare function resolvePageStyle(theme?: Theme, hints?: PageTransformHints): ThemePageStyle;
|
|
224
|
+
declare function resolvePageStyle(theme?: Theme, hints?: PageTransformHints, variant?: PageVariant): ThemePageStyle;
|
|
222
225
|
/**
|
|
223
226
|
* Materialize one block in isolation. Sequence-scoped art direction
|
|
224
227
|
* (background rhythm, accent rotation, emphasis curve) does not apply —
|