@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
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a9 as Layer, k as Block, T as Doc, by as TemplateBlock, bz as TemplateContext, D as CustomTemplateDefinition, bB as TemplateRegistry, bH as Theme, cc as ViewportConfig, b3 as PersistentLayerConfig, ay as MotionSpec, U as DocBlock, cd as ViewportOrientation, b2 as PersistentLayer, bU as TitleBlockInput, bm as SectionHeaderInput, j as BigTextInput, w as ContentBlockInput, bs as StatHighlightInput, bg as QuoteBlockInput, $ as FactCardInput, c1 as TwoColumnInput, M as DateEventInput, a7 as ImageWithCaptionInput, ad as LeftFeatureInput, bj as RightFeatureInput, n as BottomFeatureInput, ar as MediaOnlyInput, bW as TopFeatureInput, ai as MapBlockInput, br as StartBlockConfig, a2 as FullBleedQuoteInput, ag as ListBlockInput, q as CardsBlockInput, H as CycleBlockInput, ab as LayersBlockInput, bc as ProcessBlockInput, b7 as PhotoGridInput, O as DefinitionCardInput, v as ComparisonBarInput, bf as PullQuoteInput, cb as VideoWithCaptionInput, ca as VideoPullQuoteInput, L as DataTableInput, P as DiagramBlockInput, bY as TreeBlockInput, bQ as TimelineBlockInput, X as DrawingBlockInput, am as MarkerStyle, A as AccentImage, a6 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, az as MotionState, aw as MotionProfile, bJ as ThemeColorScheme, y as CountUpSpec, bL as ThemeRegistry, aW as PageEmphasis, bK as ThemePageStyle, V as DocDiagnostic, be as PromotedBodyAnnotation, S as DiagramTemplateNode, R as DiagramTemplateEdge, bT as TimelineTemplateTrack, bS as TimelineTemplateLink } from '../Doc-BhvotZx_.js';
|
|
2
|
+
export { Y as FRONTMATTER_CUSTOM_TEMPLATES_KEY, Z as FRONTMATTER_CUSTOM_THEMES_KEY, ac as LayoutHints, bi as RenderStyle, bI as ThemeColorPalette, bO as ThemeStyle, bP as ThemeTypography, c2 as VIEWPORT_PRESETS, ce as ViewportPreset, cj as createTemplateContext, cq as getLayoutHints, ct as getTwoColumnPositions, cu as getViewport, cv as getViewportOrientation, cz as isTemplateBlock, cF as scaledFontSize } from '../Doc-BhvotZx_.js';
|
|
3
3
|
import { g as BuildStep, M as MarkdownBlockNode, S as MarkdownListItem, f as BuildSpec, e as BuildCursor, h as BuildTiming, V as MarkdownNode, ae as TransitionType, ad as TransitionDirection, z as MarkdownHeading, v as MarkdownDocument, a2 as MarkdownTable, q as MarkdownCodeBlock, R as MarkdownList } from '../types-Zk8qYuaT.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-hTvELpIN.js';
|
|
5
|
-
import {
|
|
6
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions,
|
|
5
|
+
import { o as PresentationLayout, f as PageSection } from '../materializePageSection-CWxou4mX.js';
|
|
6
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, d as PageMedia, e as PageRichText, g as PageSectionDiagnostic, h as PageSectionItem, i as PageSectionMaterialization, j as PageSectionSource, k as PageSpatialKind, l as PageTransformHints, q as materializePageSection, r as materializePageSections, v as resolvePageStyle } from '../materializePageSection-CWxou4mX.js';
|
|
7
7
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
8
8
|
import { V as ViewIssue } from '../viewState-lTZS-hP_.js';
|
|
9
|
-
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
9
|
+
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-BIYE6aLw.js';
|
|
10
10
|
|
|
11
11
|
/** Pure build planning and evaluation, shared by interactive slides and frame export. */
|
|
12
12
|
|
|
@@ -16,7 +16,9 @@ interface ContentBuildPlan {
|
|
|
16
16
|
targets: Map<MarkdownBlockNode | MarkdownListItem, number>;
|
|
17
17
|
}
|
|
18
18
|
declare function planContentBuilds(nodes: readonly MarkdownBlockNode[], spec?: BuildSpec): ContentBuildPlan;
|
|
19
|
-
/** All targets in a block share one step index space.
|
|
19
|
+
/** All targets in a block share one step index space. A template that tags
|
|
20
|
+
* whole layers (`Layer.buildStep`: a card, a process stage) names each step by
|
|
21
|
+
* the text of its layers; otherwise steps come from rich text fragments. */
|
|
20
22
|
declare function blockBuildSteps(block: {
|
|
21
23
|
layers?: Layer[];
|
|
22
24
|
build?: BuildSpec;
|
|
@@ -292,6 +294,30 @@ declare const TEMPLATE_AUTHORING_METADATA: {
|
|
|
292
294
|
readonly safeForContentFirst: false;
|
|
293
295
|
readonly placement: "heading";
|
|
294
296
|
};
|
|
297
|
+
readonly cards: {
|
|
298
|
+
readonly role: "content";
|
|
299
|
+
readonly bodyPolicy: "derived";
|
|
300
|
+
readonly safeForContentFirst: false;
|
|
301
|
+
readonly placement: "heading";
|
|
302
|
+
};
|
|
303
|
+
readonly process: {
|
|
304
|
+
readonly role: "content";
|
|
305
|
+
readonly bodyPolicy: "derived";
|
|
306
|
+
readonly safeForContentFirst: false;
|
|
307
|
+
readonly placement: "heading";
|
|
308
|
+
};
|
|
309
|
+
readonly cycle: {
|
|
310
|
+
readonly role: "content";
|
|
311
|
+
readonly bodyPolicy: "derived";
|
|
312
|
+
readonly safeForContentFirst: false;
|
|
313
|
+
readonly placement: "heading";
|
|
314
|
+
};
|
|
315
|
+
readonly layers: {
|
|
316
|
+
readonly role: "content";
|
|
317
|
+
readonly bodyPolicy: "derived";
|
|
318
|
+
readonly safeForContentFirst: false;
|
|
319
|
+
readonly placement: "heading";
|
|
320
|
+
};
|
|
295
321
|
readonly photoGrid: {
|
|
296
322
|
readonly role: "media";
|
|
297
323
|
readonly bodyPolicy: "structured";
|
|
@@ -408,6 +434,107 @@ declare const TEMPLATE_AUTHORING_METADATA: {
|
|
|
408
434
|
};
|
|
409
435
|
};
|
|
410
436
|
|
|
437
|
+
/**
|
|
438
|
+
* Authoring guide — what an AI author is told about squisq's slides.
|
|
439
|
+
*
|
|
440
|
+
* Products that let a model write slides (a deck refiner choosing layouts, a
|
|
441
|
+
* video director writing template blocks) used to describe the templates in
|
|
442
|
+
* their own prompts, so a template added here reached none of them and a
|
|
443
|
+
* lesson learned in one never reached the others. This module is the one
|
|
444
|
+
* description they all render from:
|
|
445
|
+
*
|
|
446
|
+
* - {@link TEMPLATE_GUIDES}: for authors that write template blocks — the
|
|
447
|
+
* fields each template takes, as an author writes them, and when it earns
|
|
448
|
+
* its place. {@link templateCatalog} renders the lines a prompt lists.
|
|
449
|
+
* - {@link PRESENTATION_LAYOUT_GUIDE}: for authors that fill a summary (a
|
|
450
|
+
* headline and points) and choose its layout (`PRESENTATION_LAYOUTS`).
|
|
451
|
+
* - {@link AUTHORING_TRICKS}: craft that makes slides good rather than merely
|
|
452
|
+
* valid — numbers drawn as numbers, ideas drawn as pictures, reveals timed
|
|
453
|
+
* to the narration. {@link authoringTricks} selects the ones for the
|
|
454
|
+
* templates a prompt offers.
|
|
455
|
+
*
|
|
456
|
+
* Text may name the material a slide comes from as `{source}`; each product
|
|
457
|
+
* renders it in its own word ("article", "passage"), so the guidance reads
|
|
458
|
+
* naturally in either. Rules a product enforces itself (image keys, its own
|
|
459
|
+
* map renders, how its beats anchor) stay in that product's prompt.
|
|
460
|
+
*
|
|
461
|
+
* Adding a template: give it a guide entry once an author should choose it.
|
|
462
|
+
* Adding a trick: name the templates it concerns, so a prompt that offers
|
|
463
|
+
* none of them leaves it out. Facts are checked separately
|
|
464
|
+
* (`transform/grounding.ts`); this module only advises.
|
|
465
|
+
*
|
|
466
|
+
* Related: `authoringMetadata.ts` (roles and body policies for agents),
|
|
467
|
+
* `metadata.ts` (labels for pickers), `transform/presentationPlan.ts`.
|
|
468
|
+
*/
|
|
469
|
+
|
|
470
|
+
/** How a template is offered to an author that writes template blocks. */
|
|
471
|
+
interface TemplateGuide {
|
|
472
|
+
/** The fields an author writes, with their limits, as a prompt lists them. */
|
|
473
|
+
fields: string;
|
|
474
|
+
/** When the template earns its place; omitted when the fields say it. */
|
|
475
|
+
use?: string;
|
|
476
|
+
}
|
|
477
|
+
/** The templates this guide describes for block-writing authors. */
|
|
478
|
+
type GuidedTemplate = 'imageWithCaption' | 'pullQuote' | 'fullBleedQuote' | 'factCard' | 'dateEvent' | 'statHighlight' | 'comparisonBar' | 'columnChart' | 'barChart' | 'pieChart' | 'timeline' | 'diagram' | 'list' | 'photoGrid' | 'map' | 'sectionHeader' | 'cards' | 'process' | 'cycle' | 'layers';
|
|
479
|
+
declare const TEMPLATE_GUIDES: Readonly<Record<GuidedTemplate, TemplateGuide>>;
|
|
480
|
+
/** How a product names things in its prompts. */
|
|
481
|
+
interface GuideWording {
|
|
482
|
+
/** What a slide's material is called ("article", "passage"); default "source". */
|
|
483
|
+
source?: string;
|
|
484
|
+
}
|
|
485
|
+
/** `text` with `{source}` in the product's word. */
|
|
486
|
+
declare function guideText(text: string, wording?: GuideWording): string;
|
|
487
|
+
/**
|
|
488
|
+
* One catalog line: a guided template, templates that share one entry
|
|
489
|
+
* (`columnChart | barChart | pieChart`), or a product's own entry for a
|
|
490
|
+
* template it uses its own way.
|
|
491
|
+
*/
|
|
492
|
+
type TemplateCatalogEntry = GuidedTemplate | {
|
|
493
|
+
templates: readonly GuidedTemplate[];
|
|
494
|
+
} | ({
|
|
495
|
+
template: string;
|
|
496
|
+
} & TemplateGuide);
|
|
497
|
+
/**
|
|
498
|
+
* Catalog lines for a prompt, `- name (fields) — use`, in the order given.
|
|
499
|
+
* Shared entries take the first template's guide.
|
|
500
|
+
*/
|
|
501
|
+
declare function templateCatalog(entries: readonly TemplateCatalogEntry[], wording?: GuideWording): string[];
|
|
502
|
+
/**
|
|
503
|
+
* What each presentation layout shows, for authors that fill a headline and
|
|
504
|
+
* up to four points and pick the layout. Rendered as `"layout" (guide)`.
|
|
505
|
+
*/
|
|
506
|
+
declare const PRESENTATION_LAYOUT_GUIDE: Readonly<Record<PresentationLayout, string>>;
|
|
507
|
+
/** A piece of craft an author can reuse. */
|
|
508
|
+
interface AuthoringTrick {
|
|
509
|
+
/** Stable id, for a product that picks tricks by name. */
|
|
510
|
+
id: string;
|
|
511
|
+
/** The advice for authors that write template blocks. */
|
|
512
|
+
text: string;
|
|
513
|
+
/**
|
|
514
|
+
* The advice for authors that fill a headline and points, when it differs
|
|
515
|
+
* or applies there at all.
|
|
516
|
+
*/
|
|
517
|
+
summary?: string;
|
|
518
|
+
/** Templates (or presentation layouts) it concerns; omitted when it concerns every slide. */
|
|
519
|
+
templates?: readonly string[];
|
|
520
|
+
}
|
|
521
|
+
declare const AUTHORING_TRICKS: readonly AuthoringTrick[];
|
|
522
|
+
interface AuthoringTrickOptions {
|
|
523
|
+
/** Only tricks for these templates (and tricks for every slide). */
|
|
524
|
+
templates?: readonly string[];
|
|
525
|
+
/** Only these tricks, in this order. */
|
|
526
|
+
ids?: readonly string[];
|
|
527
|
+
/** Which text to render: for block authors (default) or summary authors. */
|
|
528
|
+
surface?: 'blocks' | 'summary';
|
|
529
|
+
wording?: GuideWording;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* The tricks a prompt should carry, rendered. With `templates`, a trick is
|
|
533
|
+
* kept when it concerns every slide or one of those templates; summary
|
|
534
|
+
* authors get only tricks written for them.
|
|
535
|
+
*/
|
|
536
|
+
declare function authoringTricks(options?: AuthoringTrickOptions): string[];
|
|
537
|
+
|
|
411
538
|
/**
|
|
412
539
|
* Exhaustive media-layout policy for every built-in block template.
|
|
413
540
|
*
|
|
@@ -421,8 +548,12 @@ declare const TEMPLATE_AUTHORING_METADATA: {
|
|
|
421
548
|
*/
|
|
422
549
|
|
|
423
550
|
type BuiltInTemplateName = TemplateBlock['template'];
|
|
424
|
-
/**
|
|
425
|
-
|
|
551
|
+
/**
|
|
552
|
+
* Shape of the supplemental media set after extraction. A set with a table is
|
|
553
|
+
* `table` whatever its other items: a table reads across, so it is stacked
|
|
554
|
+
* under the text at the slide's full width rather than set beside it.
|
|
555
|
+
*/
|
|
556
|
+
type SupplementalMediaShape = 'wide' | 'tall' | 'square' | 'multiple' | 'table';
|
|
426
557
|
/** Designed compositions understood by the framework-free layout resolver. */
|
|
427
558
|
type SupplementalMediaLayoutVariant = 'title-stack' | 'split' | 'text-stack' | 'dense-stack';
|
|
428
559
|
type SupplementalMediaVariantMatrix = Record<ViewportOrientation, Record<SupplementalMediaShape, SupplementalMediaLayoutVariant>>;
|
|
@@ -616,6 +747,34 @@ declare const BLOCK_MEDIA_LAYOUT_POLICIES: {
|
|
|
616
747
|
readonly unconsumedMedia: "reserve-when-no-native-media";
|
|
617
748
|
readonly variants: SupplementalMediaVariantMatrix;
|
|
618
749
|
};
|
|
750
|
+
readonly cards: {
|
|
751
|
+
readonly summary: "Text-only cards by default; supplemental media is paired with the cards.";
|
|
752
|
+
readonly noMedia: "template-default";
|
|
753
|
+
readonly ownership: "supplemental";
|
|
754
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
755
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
756
|
+
};
|
|
757
|
+
readonly process: {
|
|
758
|
+
readonly summary: "A drawn process by default; supplemental media is paired with the stages.";
|
|
759
|
+
readonly noMedia: "template-default";
|
|
760
|
+
readonly ownership: "supplemental";
|
|
761
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
762
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
763
|
+
};
|
|
764
|
+
readonly cycle: {
|
|
765
|
+
readonly summary: "A drawn cycle by default; supplemental media is paired with the ring.";
|
|
766
|
+
readonly noMedia: "template-default";
|
|
767
|
+
readonly ownership: "supplemental";
|
|
768
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
769
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
770
|
+
};
|
|
771
|
+
readonly layers: {
|
|
772
|
+
readonly summary: "Drawn concentric layers by default; supplemental media is paired with the rings.";
|
|
773
|
+
readonly noMedia: "template-default";
|
|
774
|
+
readonly ownership: "supplemental";
|
|
775
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
776
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
777
|
+
};
|
|
619
778
|
readonly photoGrid: {
|
|
620
779
|
readonly summary: "Requires a primary image collection and owns the complete tiled media field.";
|
|
621
780
|
readonly noMedia: "unsupported";
|
|
@@ -1260,6 +1419,63 @@ declare function fullBleedQuote(input: FullBleedQuoteInput, context: TemplateCon
|
|
|
1260
1419
|
|
|
1261
1420
|
declare function listBlock(input: ListBlockInput, context: TemplateContext): Layer[];
|
|
1262
1421
|
|
|
1422
|
+
/**
|
|
1423
|
+
* Concept templates — `cards`, `process` and `cycle`.
|
|
1424
|
+
*
|
|
1425
|
+
* Three ways to show a handful of related ideas as a picture of how they
|
|
1426
|
+
* relate rather than as a list: side-by-side cards for parallel ideas, a
|
|
1427
|
+
* numbered track for an ordered process, and a ring for a cycle that comes
|
|
1428
|
+
* back to its start. They share one type ramp and one grid, so a deck that
|
|
1429
|
+
* mixes them reads as one design: the same headline lockup, the same label
|
|
1430
|
+
* and detail sizes, and the theme's highlight as the accent. A slide sizes
|
|
1431
|
+
* all of its items together, so every card or stage on it sets in one size.
|
|
1432
|
+
*
|
|
1433
|
+
* Each item is plain text, optionally `Label: detail` (or `Label — detail`):
|
|
1434
|
+
* the label sets bold above its detail. Every item is one build step — its
|
|
1435
|
+
* shapes and words share `buildStep` — so a building slide reveals the ideas
|
|
1436
|
+
* one at a time, and a dynamic deck times them to the narration.
|
|
1437
|
+
*/
|
|
1438
|
+
|
|
1439
|
+
/** One idea: an optional bold label and the words beneath it. */
|
|
1440
|
+
interface ConceptItem {
|
|
1441
|
+
label: string;
|
|
1442
|
+
detail: string;
|
|
1443
|
+
}
|
|
1444
|
+
/** Split `Label: detail` or `Label — detail`; anything else is all detail. */
|
|
1445
|
+
declare function splitConceptItem(text: string): ConceptItem;
|
|
1446
|
+
/**
|
|
1447
|
+
* The build steps a concept block's items become, named as `blockBuildSteps`
|
|
1448
|
+
* names them from the layers (a stage's number, then its label and detail),
|
|
1449
|
+
* so a caller can time the reveals before the block is drawn.
|
|
1450
|
+
*/
|
|
1451
|
+
declare function conceptBuildStepTexts(template: 'cards' | 'process' | 'cycle' | 'layers', items: readonly string[]): string[];
|
|
1452
|
+
/**
|
|
1453
|
+
* Parallel ideas as a row of cards (a 2×2 or 2×3 grid when there are many or
|
|
1454
|
+
* they run long; one column in portrait). A single unlabelled idea sets as a
|
|
1455
|
+
* lead paragraph under its headline, or as a display statement without one.
|
|
1456
|
+
*/
|
|
1457
|
+
declare function cardsBlock(input: CardsBlockInput, context: TemplateContext): Layer[];
|
|
1458
|
+
/**
|
|
1459
|
+
* An ordered process: numbered stages on a track joined by arrows. Up to four
|
|
1460
|
+
* short stages run across the slide; more, longer ones, or a portrait frame
|
|
1461
|
+
* stack down a rail. Stages that each open with a date, in order, are a
|
|
1462
|
+
* timeline instead (`timeline`).
|
|
1463
|
+
*/
|
|
1464
|
+
declare function processBlock(input: ProcessBlockInput, context: TemplateContext): Layer[];
|
|
1465
|
+
/**
|
|
1466
|
+
* A cycle: stages on a ring, each joined to the next by an arrow and the
|
|
1467
|
+
* last back to the first. Labels sit beside their stage, away from the ring.
|
|
1468
|
+
*/
|
|
1469
|
+
declare function cycleBlock(input: CycleBlockInput, context: TemplateContext): Layer[];
|
|
1470
|
+
/**
|
|
1471
|
+
* Nested parts, innermost first (a core and the layers around it), as
|
|
1472
|
+
* concentric rings with each part called out beside the drawing. The color
|
|
1473
|
+
* deepens toward the core; each ring grows out from the centre as its part is
|
|
1474
|
+
* named, and its callout line draws to its words. A portrait frame puts the
|
|
1475
|
+
* rings above the callouts, each marked with its ring's color.
|
|
1476
|
+
*/
|
|
1477
|
+
declare function layersBlock(input: LayersBlockInput, context: TemplateContext): Layer[];
|
|
1478
|
+
|
|
1263
1479
|
/**
|
|
1264
1480
|
* Photo Grid Template
|
|
1265
1481
|
*
|
|
@@ -4619,4 +4835,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
4619
4835
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
4620
4836
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
4621
4837
|
|
|
4622
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ChartData, type ChartTableData, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, type FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedAnnotation, type ParsedStat, PersistentLayerConfig, type PromotableDetection, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildChartData, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectPromotableBodyAnnotation, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isMediaAnnotationName, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeChartTable, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStandaloneAnnotation, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, previewBlockTemplate, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
|
4838
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AUTHORING_TRICKS, type AccentLayout, type ArrangeAsciiDiagramOptions, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, type AuthoringTrick, type AuthoringTrickOptions, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ChartData, type ChartTableData, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, type FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, type GuideWording, type GuidedTemplate, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PRESENTATION_LAYOUT_GUIDE, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedAnnotation, type ParsedStat, PersistentLayerConfig, type PromotableDetection, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_GUIDES, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, type TemplateCatalogEntry, TemplateContext, type TemplateGuide, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, authoringTricks, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildChartData, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, cardsBlock, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, conceptBuildStepTexts, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, cycleBlock, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectPromotableBodyAnnotation, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, guideText, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isMediaAnnotationName, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layersBlock, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeChartTable, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStandaloneAnnotation, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, previewBlockTemplate, processBlock, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, splitConceptItem, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateCatalog, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -76,10 +76,11 @@ import {
|
|
|
76
76
|
validateMarkdownSource,
|
|
77
77
|
wordRevealDelay,
|
|
78
78
|
writeDashboardLayoutsToFrontmatter
|
|
79
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-TCGGJUKC.js";
|
|
80
80
|
import "../chunk-HKHOFTGM.js";
|
|
81
|
-
import "../chunk-
|
|
81
|
+
import "../chunk-YQQWE4HG.js";
|
|
82
82
|
import {
|
|
83
|
+
AUTHORING_TRICKS,
|
|
83
84
|
BASE_INPUT_DESCRIPTORS,
|
|
84
85
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
85
86
|
DEFAULT_LAYOUT,
|
|
@@ -88,13 +89,16 @@ import {
|
|
|
88
89
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
89
90
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
90
91
|
GEOMETRY_BOUND_TEMPLATES,
|
|
92
|
+
PRESENTATION_LAYOUT_GUIDE,
|
|
91
93
|
SHAPE_NAMES,
|
|
92
94
|
TEMPLATE_AUTHORING_METADATA,
|
|
95
|
+
TEMPLATE_GUIDES,
|
|
93
96
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
94
97
|
TEMPLATE_METADATA,
|
|
95
98
|
accentForViewport,
|
|
96
99
|
adjustY,
|
|
97
100
|
applyRenderStyleToLayers,
|
|
101
|
+
authoringTricks,
|
|
98
102
|
bigText,
|
|
99
103
|
blockBuildSteps,
|
|
100
104
|
bottomFeature,
|
|
@@ -103,15 +107,18 @@ import {
|
|
|
103
107
|
buildRegistry,
|
|
104
108
|
buildSourceText,
|
|
105
109
|
buildTargetState,
|
|
110
|
+
cardsBlock,
|
|
106
111
|
coerceTemplateParams,
|
|
107
112
|
comparisonBar,
|
|
108
113
|
computeDrawingLayout,
|
|
109
114
|
computeLayoutLayers,
|
|
115
|
+
conceptBuildStepTexts,
|
|
110
116
|
contentBlock,
|
|
111
117
|
countBlocks,
|
|
112
118
|
countUpSpecFor,
|
|
113
119
|
coverBlock,
|
|
114
120
|
createAccentLayers,
|
|
121
|
+
cycleBlock,
|
|
115
122
|
dataTable,
|
|
116
123
|
dateEvent,
|
|
117
124
|
definitionCard,
|
|
@@ -145,12 +152,14 @@ import {
|
|
|
145
152
|
getPinnedBlockMeta,
|
|
146
153
|
getTemplateHint,
|
|
147
154
|
getThemeFont,
|
|
155
|
+
guideText,
|
|
148
156
|
hasBlockBuilds,
|
|
149
157
|
hasTemplate,
|
|
150
158
|
imageWithCaption,
|
|
151
159
|
isDataFence,
|
|
152
160
|
isGeometryBoundTemplate,
|
|
153
161
|
isShapeName,
|
|
162
|
+
layersBlock,
|
|
154
163
|
layoutBlock,
|
|
155
164
|
leftFeature,
|
|
156
165
|
lintTemplateParams,
|
|
@@ -168,6 +177,7 @@ import {
|
|
|
168
177
|
parseYamlSubset,
|
|
169
178
|
photoGrid,
|
|
170
179
|
planContentBuilds,
|
|
180
|
+
processBlock,
|
|
171
181
|
pullQuote,
|
|
172
182
|
quoteBlock,
|
|
173
183
|
readCustomTemplatesFromFrontmatter,
|
|
@@ -181,7 +191,9 @@ import {
|
|
|
181
191
|
scaleAnimationDuration,
|
|
182
192
|
sectionHeader,
|
|
183
193
|
shouldUseShadow,
|
|
194
|
+
splitConceptItem,
|
|
184
195
|
statHighlight,
|
|
196
|
+
templateCatalog,
|
|
185
197
|
templateRegistry,
|
|
186
198
|
themeWantsAmbientMotion,
|
|
187
199
|
themedEntrance,
|
|
@@ -199,7 +211,7 @@ import {
|
|
|
199
211
|
wrapWithPersistentLayers,
|
|
200
212
|
writeCustomTemplatesToFrontmatter,
|
|
201
213
|
writeCustomThemesToFrontmatter
|
|
202
|
-
} from "../chunk-
|
|
214
|
+
} from "../chunk-CTT4XAGO.js";
|
|
203
215
|
import {
|
|
204
216
|
ASCII_CHAR_H,
|
|
205
217
|
ASCII_CHAR_W,
|
|
@@ -254,7 +266,7 @@ import {
|
|
|
254
266
|
treeFromMarkdownList,
|
|
255
267
|
treeFromTemplateData,
|
|
256
268
|
treeToTemplateData
|
|
257
|
-
} from "../chunk-
|
|
269
|
+
} from "../chunk-SGNWO7OF.js";
|
|
258
270
|
import "../chunk-SVN7T6BK.js";
|
|
259
271
|
import {
|
|
260
272
|
PATH_SHAPE_KINDS,
|
|
@@ -286,20 +298,21 @@ import {
|
|
|
286
298
|
isTemplateBlock,
|
|
287
299
|
resolveTheme,
|
|
288
300
|
scaledFontSize2 as scaledFontSize
|
|
289
|
-
} from "../chunk-
|
|
301
|
+
} from "../chunk-JNUNNQ74.js";
|
|
290
302
|
import "../chunk-JSGIWW35.js";
|
|
291
303
|
import "../chunk-L7QZORLB.js";
|
|
292
|
-
import "../chunk-
|
|
304
|
+
import "../chunk-C4SB3NN4.js";
|
|
293
305
|
import {
|
|
294
306
|
CONTAINER_TEMPLATES,
|
|
295
307
|
TABLE_FED_TEMPLATES,
|
|
296
308
|
isContainerTemplate,
|
|
297
309
|
resolveTemplateName
|
|
298
|
-
} from "../chunk-
|
|
310
|
+
} from "../chunk-7MS26OXD.js";
|
|
299
311
|
import "../chunk-L3KSFLTP.js";
|
|
300
312
|
import "../chunk-CZ7AUSLI.js";
|
|
301
313
|
import "../chunk-P53Z4RYC.js";
|
|
302
314
|
import "../chunk-5HWYSUXS.js";
|
|
315
|
+
import "../chunk-L4AFSOT3.js";
|
|
303
316
|
import "../chunk-GHOPHGOK.js";
|
|
304
317
|
import "../chunk-XRW6P7IF.js";
|
|
305
318
|
export {
|
|
@@ -307,6 +320,7 @@ export {
|
|
|
307
320
|
ASCII_CHAR_W,
|
|
308
321
|
ASCII_DIAGRAM_FENCE_LANGS,
|
|
309
322
|
ASCII_TIMELINE_FENCE_LANGS,
|
|
323
|
+
AUTHORING_TRICKS,
|
|
310
324
|
BASE_INPUT_DESCRIPTORS,
|
|
311
325
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
312
326
|
BUILTIN_DASHBOARD_LAYOUTS,
|
|
@@ -336,9 +350,11 @@ export {
|
|
|
336
350
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
337
351
|
PAGE_BASE_CSS,
|
|
338
352
|
PATH_SHAPE_KINDS,
|
|
353
|
+
PRESENTATION_LAYOUT_GUIDE,
|
|
339
354
|
SHAPE_NAMES,
|
|
340
355
|
TABLE_FED_TEMPLATES,
|
|
341
356
|
TEMPLATE_AUTHORING_METADATA,
|
|
357
|
+
TEMPLATE_GUIDES,
|
|
342
358
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
343
359
|
TEMPLATE_METADATA,
|
|
344
360
|
TREE_FENCE_LANGS,
|
|
@@ -354,6 +370,7 @@ export {
|
|
|
354
370
|
asciiDiagramFromTemplateData,
|
|
355
371
|
asciiDiagramToTemplateData,
|
|
356
372
|
asciiTimelineToTemplateData,
|
|
373
|
+
authoringTricks,
|
|
357
374
|
autoTemplatePreservesContent,
|
|
358
375
|
bigText,
|
|
359
376
|
blockBuildSteps,
|
|
@@ -368,6 +385,7 @@ export {
|
|
|
368
385
|
buildSourceText,
|
|
369
386
|
buildTargetState,
|
|
370
387
|
canvasToAsciiCell,
|
|
388
|
+
cardsBlock,
|
|
371
389
|
chooseDashboardLayout,
|
|
372
390
|
clipEndpoints,
|
|
373
391
|
clipPoint,
|
|
@@ -377,6 +395,7 @@ export {
|
|
|
377
395
|
computeDiagramLayout,
|
|
378
396
|
computeDrawingLayout,
|
|
379
397
|
computeLayoutLayers,
|
|
398
|
+
conceptBuildStepTexts,
|
|
380
399
|
connectorPath,
|
|
381
400
|
contentBlock,
|
|
382
401
|
countBlocks,
|
|
@@ -385,6 +404,7 @@ export {
|
|
|
385
404
|
createAccentLayers,
|
|
386
405
|
createTemplateContext,
|
|
387
406
|
cssFilterForTreatment,
|
|
407
|
+
cycleBlock,
|
|
388
408
|
dashboardCanvasFill,
|
|
389
409
|
dashboardCellAccent,
|
|
390
410
|
dataSidecarPrefix,
|
|
@@ -450,6 +470,7 @@ export {
|
|
|
450
470
|
getTwoColumnPositions,
|
|
451
471
|
getViewport,
|
|
452
472
|
getViewportOrientation,
|
|
473
|
+
guideText,
|
|
453
474
|
hasBlockBuilds,
|
|
454
475
|
hasTemplate,
|
|
455
476
|
imageWithCaption,
|
|
@@ -475,6 +496,7 @@ export {
|
|
|
475
496
|
isTemplatedPageBlock,
|
|
476
497
|
isTreeFence,
|
|
477
498
|
isWrappedFlowTimelineSource,
|
|
499
|
+
layersBlock,
|
|
478
500
|
layoutBlock,
|
|
479
501
|
layoutCapacity,
|
|
480
502
|
leftFeature,
|
|
@@ -512,6 +534,7 @@ export {
|
|
|
512
534
|
photoGrid,
|
|
513
535
|
planContentBuilds,
|
|
514
536
|
previewBlockTemplate,
|
|
537
|
+
processBlock,
|
|
515
538
|
pullQuote,
|
|
516
539
|
quoteBlock,
|
|
517
540
|
readCustomTemplatesFromFrontmatter,
|
|
@@ -551,9 +574,11 @@ export {
|
|
|
551
574
|
shouldUseShadow,
|
|
552
575
|
snapEndpoints,
|
|
553
576
|
snapPoints,
|
|
577
|
+
splitConceptItem,
|
|
554
578
|
statHighlight,
|
|
555
579
|
stripBlockBackdropLayer,
|
|
556
580
|
stripsBlockBackdrop,
|
|
581
|
+
templateCatalog,
|
|
557
582
|
templateRegistry,
|
|
558
583
|
themeWantsAmbientMotion,
|
|
559
584
|
themedEntrance,
|
package/dist/fence/index.d.ts
CHANGED
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
|
|
2
2
|
export { C as ComparisonData, D as DateData, a as DefinitionData, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from '../contentExtractor-BNfVJV2U.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as ColorScheme, A as AccentImage, by as TemplateBlock } from '../Doc-BhvotZx_.js';
|
|
4
4
|
import '../types-Zk8qYuaT.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-
|
|
2
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-D8hYio6b.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-D8hYio6b.js';
|
|
3
3
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
4
4
|
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
|
|
5
|
-
import '../Doc-
|
|
5
|
+
import '../Doc-BhvotZx_.js';
|
|
6
6
|
import '../types-Zk8qYuaT.js';
|
|
7
7
|
|
|
8
8
|
/**
|