@bendyline/squisq 2.4.0 → 2.4.2
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-DLpyOAXJ.d.ts → Doc-BKKcPjfe.d.ts} +137 -9
- package/dist/{ImageEditDoc-Cu30xb9b.d.ts → ImageEditDoc-CU1cXxRd.d.ts} +1 -1
- package/dist/{annotationCoercion-PtRQhk5V.d.ts → annotationCoercion-CPHEggo3.d.ts} +1 -1
- package/dist/{chunk-F2IEPSMA.js → chunk-2HY2ZA7U.js} +161 -80
- package/dist/{chunk-D4LPP3P5.js → chunk-7TJJA2RI.js} +3 -1
- package/dist/{chunk-KPBZZVGY.js → chunk-AQF5ZYDI.js} +50 -14
- package/dist/{chunk-2VCNTDNZ.js → chunk-D6YTLQCL.js} +71 -0
- package/dist/{chunk-32R2RZAO.js → chunk-DAMIRKTO.js} +1 -1
- package/dist/{chunk-ZHLNKB2I.js → chunk-EMXYZLRH.js} +1 -1
- package/dist/{chunk-2S74DPJH.js → chunk-GAZKTT4R.js} +24 -4
- package/dist/{chunk-REDUXXDJ.js → chunk-GODLNXO4.js} +45 -3
- package/dist/{chunk-ZYO3DBTA.js → chunk-JUAC2QWP.js} +1 -1
- package/dist/{chunk-C33GTPUZ.js → chunk-SBAX4ZPO.js} +438 -0
- package/dist/doc/index.d.ts +17 -7
- package/dist/doc/index.js +11 -10
- package/dist/generate/index.d.ts +2 -2
- package/dist/imageEdit/index.d.ts +4 -4
- package/dist/index.d.ts +7 -7
- package/dist/index.js +20 -14
- package/dist/jsonForm/index.d.ts +2 -2
- package/dist/jsonForm/index.js +4 -4
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-CgNs5Qmw.d.ts → materializePageSection-WDJCTJEm.d.ts} +2 -2
- package/dist/narration/index.d.ts +2 -2
- package/dist/narration/index.js +4 -4
- package/dist/recommend/index.d.ts +1 -1
- package/dist/schemas/index.d.ts +33 -6
- package/dist/schemas/index.js +9 -3
- package/dist/storage/index.d.ts +2 -3
- package/dist/{themeLibrary-RWsNtlOu.d.ts → themeLibrary-BMXXLZBU.d.ts} +1 -1
- package/dist/timing/index.d.ts +1 -2
- package/dist/transform/index.d.ts +3 -3
- package/dist/{types-CUNc9biN.d.ts → types-CcrDFdWH.d.ts} +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
2
|
-
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 Block, k as BlockConnection, l as BorderStyle, C as CaptionPhrase, m as CaptionTrack, n as CaptionWord, o as ChartBaseFields, p as ChartTemplateInput, q as ColorScheme, r as ColumnChartInput, s as ComparisonBarInput, t as ContentBlockInput, u as CornerBrandingConfig, v as CustomTemplateDefinition, w as CustomTemplateLayer, D as DARK_SURFACE,
|
|
3
|
-
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, e as HtmlNode, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, n as MarkdownDocument, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as
|
|
4
|
-
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, MermaidThemeVariables, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.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-
|
|
2
|
+
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 Block, k as BlockConnection, l as BorderStyle, C as CaptionPhrase, m as CaptionTrack, n as CaptionWord, o as ChartBaseFields, p as ChartTemplateInput, q as ColorScheme, r as ColumnChartInput, s as ComparisonBarInput, t as ContentBlockInput, u as CornerBrandingConfig, v as CustomTemplateDefinition, w as CustomTemplateLayer, x as CustomTemplateValidationError, y as CustomTemplateValidationResult, D as DARK_SURFACE, z as DEFAULT_DOC_FONT, E as DEFAULT_TITLE_FONT, F as DataTableInput, G as DateEventInput, H as DeepPartial, I as DefinitionCardInput, J as DiagramBlockInput, K as DiagramEdgeAnchor, L as DiagramTemplateEdge, M as DiagramTemplateNode, N as Doc, O as DocBlock, P as DocDiagnostic, Q as DonutChartInput, R as DrawingBlockInput, S as FRONTMATTER_CUSTOM_TEMPLATES_KEY, T as FRONTMATTER_CUSTOM_THEMES_KEY, U as FactCardInput, V as FontFamily, W as FontFamilyKind, X as FullBleedQuoteInput, Y as GradientBackgroundConfig, Z as ImageBackgroundConfig, _ as ImageLayer, $ as ImageTreatment, a0 as ImageWithCaptionInput, a1 as LIGHT_SURFACE, a2 as Layer, a3 as LayerRepeat, a4 as LayoutHints, a5 as LeftFeatureInput, a6 as LineChartInput, a7 as LinearGradient, a8 as ListBlockInput, a9 as MapBlockInput, aa as MapLayer, ab as MapMarker, ac as MapTileStyle, ad as MarkerStyle, ae as MediaClip, af as MediaScheduleOptions, ag as MermaidLayer, ah as PAGE_ACCENT_STRATEGIES, ai as PAGE_BACKGROUNDS, aj as PAGE_BACKGROUND_RHYTHMS, ak as PAGE_DESIGN_FAMILIES, al as PAGE_DIVIDERS, am as PAGE_EMPHASES, an as PAGE_EYEBROWS, ao as PAGE_HEADING_CASES, ap as PAGE_HEADING_SCALES, aq as PAGE_HEADING_UNDERLINES, ar as PAGE_HERO_STYLES, as as PAGE_IMAGE_FRAMINGS, at as PAGE_NUMERAL_STYLES, au as PAGE_PATTERNS, av as PAGE_QUOTE_MARKS, aw as PAGE_SECTION_KINDS, ax as PAGE_SECTION_SPACINGS, ay as PAGE_SHADOWS, az as PageAccentRotation, aA as PageBackground, aB as PageDesignFamily, aC as PageEmphasis, aD as PageHeadingTreatment, aE as PageSectionKind, aF as PageSectionOverride, aG as PageTokens, aH as PathLayer, aI as PatternBackgroundConfig, aJ as PersistentLayer, aK as PersistentLayerConfig, aL as PersistentLayerTemplate, aM as PersistentLayerTemplateConfig, aN as PersistentLayerTemplateType, aO as PhotoGridInput, aP as PieChartInput, aQ as PipStyle, aR as Position, aS as ProgressIndicatorConfig, aT as PromotedBodyAnnotation, aU as PullQuoteInput, aV as QuoteBlockInput, aW as RawLayersInput, aX as RenderStyle, aY as RightFeatureInput, aZ as ScatterChartInput, a_ as ScheduledClip, a$ as SectionHeaderInput, b0 as ShapeFilter, b1 as ShapeLayer, b2 as ShapePattern, b3 as SolidBackgroundConfig, b4 as StartBlockConfig, b5 as StatHighlightInput, b6 as SurfaceScheme, b7 as THEME_SCHEMA_VERSION, b8 as TableLayer, b9 as TableLayerStyle, ba as TemplateBlock, bb as TemplateContext, bc as TemplateFunction, bd as TemplateRegistry, be as TextLayer, bf as TextStyle, bg as Theme, bh as ThemeColorPalette, bi as ThemeColorScheme, bj as ThemePageStyle, bk as ThemeRegistry, bl as ThemeSchemaVersion, bm as ThemeSeedColors, bn as ThemeStyle, bo as ThemeTypography, bp as TimelineBlockInput, bq as TimelineTemplateEvent, br as TimelineTemplateLink, bs as TimelineTemplateTrack, bt as TitleBlockInput, bu as TitleCaptionConfig, bv as TreeBlockInput, bw as TreeLayer, bx as TreeLayerItem, by as TreeLayerStyle, bz as TreeTemplateItem, bA as TwoColumnInput, bB as VIEWPORT_PRESETS, bC as VideoLayer, bD as VideoPipPosition, bE as VideoPipShape, bF as VideoPipSize, bG as VideoPlacement, bH as VideoPresentation, bI as VideoPullQuoteInput, bJ as VideoWithCaptionInput, bK as ViewportConfig, bL as ViewportOrientation, bM as ViewportPreset, bN as VignetteConfig, bO as applySurface, bP as calculateDuration, bQ as calculateFontScale, bR as createTemplateContext, bS as createTheme, bT as createThemeRegistry, bU as getAspectRatioString, bV as getBlockAtTime, bW as getCaptionAtTime, bX as getDocPlaybackDuration, bY as getLayoutHints, bZ as getSafeTextBounds, b_ as getSegmentAtTime, b$ as getTwoColumnPositions, c0 as getViewport, c1 as getViewportOrientation, c2 as isCustomTemplateDefinition, c3 as isPersistentLayerTemplate, c4 as isTemplateBlock, c5 as layoutScaledFontSize, c6 as resolveMediaSchedule, c7 as scaledFontSize, c8 as validateCustomTemplateDefinition } from './Doc-BKKcPjfe.js';
|
|
3
|
+
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, e as HtmlNode, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, n as MarkdownDocument, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as MarkdownInlineIcon, y as MarkdownInlineMath, z as MarkdownInlineNode, A as MarkdownLeafDirective, B as MarkdownLimitError, C as MarkdownLink, E as MarkdownLinkDefinition, F as MarkdownLinkReference, G as MarkdownList, I as MarkdownListItem, J as MarkdownMathBlock, K as MarkdownMention, L as MarkdownNode, N as MarkdownParagraph, O as MarkdownPoint, P as MarkdownSafetyLimits, Q as MarkdownSourcePosition, R as MarkdownStrikethrough, S as MarkdownStrong, T as MarkdownTable, U as MarkdownTableCell, V as MarkdownTableRow, W as MarkdownText, X as MarkdownTextDirective, Y as MarkdownThematicBreak, Z as ParseOptions, _ as StringifyOptions, $ as TRANSITION_DIRECTIONS, a0 as TRANSITION_TYPES, a1 as Transition, a2 as TransitionDirection, a3 as TransitionType, a4 as assertMarkdownDocumentWithinLimits, a5 as assertMarkdownSourceWithinLimits, a6 as isTransitionType, a7 as normalizeTransitionDirection, a8 as normalizeTransitionType, a9 as resolveBlockTransition, aa as resolveMarkdownSafetyLimits, ab as resolveTransitionDuration } from './types-CcrDFdWH.js';
|
|
4
|
+
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, MermaidThemeVariables, PipStyleVars, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, pipStyleVars, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.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-BMXXLZBU.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-CU1cXxRd.js';
|
|
8
8
|
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-
|
|
9
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-WDJCTJEm.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
12
12
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.js';
|
|
13
13
|
export { DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, ResourcePolicy, ResourcePolicyError, SanitizeUrlOptions, TrailingAnnotationMatch, UrlKind, applyMarkdownSourceTransform, cleanupMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, needsQuoting, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, walkMarkdownTree, wrapMarkdownSource } from './markdown/index.js';
|
|
14
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-
|
|
14
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-CPHEggo3.js';
|
|
15
15
|
export { DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
16
16
|
export { SeededRandom, hashString } from './random/index.js';
|
|
17
17
|
export { C as ComparisonData, D as DateData, a as DefinitionData, E as ExtractedElement, 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';
|
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-EMXYZLRH.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
29
29
|
analyzeBlocks,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
resolveRef,
|
|
70
70
|
setByPointer,
|
|
71
71
|
toPointer
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-DAMIRKTO.js";
|
|
73
73
|
import {
|
|
74
74
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
75
75
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -120,8 +120,9 @@ import {
|
|
|
120
120
|
getCaptionAtTime,
|
|
121
121
|
getSegmentAtTime,
|
|
122
122
|
parseTheme,
|
|
123
|
+
pipStyleVars,
|
|
123
124
|
serializeTheme
|
|
124
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-GODLNXO4.js";
|
|
125
126
|
import {
|
|
126
127
|
calculateBearing,
|
|
127
128
|
decodeGeohash,
|
|
@@ -162,20 +163,18 @@ import {
|
|
|
162
163
|
sectionExtractors,
|
|
163
164
|
validateMarkdownDoc,
|
|
164
165
|
validateMarkdownSource
|
|
165
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-AQF5ZYDI.js";
|
|
166
167
|
import {
|
|
167
168
|
ASCII_CHAR_H,
|
|
168
169
|
ASCII_CHAR_W,
|
|
169
170
|
BASE_INPUT_DESCRIPTORS,
|
|
170
171
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
171
|
-
CONTAINER_TEMPLATES,
|
|
172
172
|
DEFAULT_LAYOUT,
|
|
173
173
|
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
174
174
|
DIAGRAM_LABEL_LINE_HEIGHT,
|
|
175
175
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
176
176
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
177
177
|
SHAPE_NAMES,
|
|
178
|
-
TABLE_FED_TEMPLATES,
|
|
179
178
|
TEMPLATE_AUTHORING_METADATA,
|
|
180
179
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
181
180
|
TEMPLATE_METADATA,
|
|
@@ -242,7 +241,6 @@ import {
|
|
|
242
241
|
getThemeFont,
|
|
243
242
|
hasTemplate,
|
|
244
243
|
imageWithCaption,
|
|
245
|
-
isContainerTemplate,
|
|
246
244
|
isDataFence,
|
|
247
245
|
isShapeName,
|
|
248
246
|
layoutBlock,
|
|
@@ -264,7 +262,6 @@ import {
|
|
|
264
262
|
replaceDataFence,
|
|
265
263
|
resolveColorScheme,
|
|
266
264
|
resolvePersistentLayers,
|
|
267
|
-
resolveTemplateName,
|
|
268
265
|
rightFeature,
|
|
269
266
|
scaleAnimationDuration,
|
|
270
267
|
sectionHeader,
|
|
@@ -292,7 +289,7 @@ import {
|
|
|
292
289
|
wrapWithPersistentLayers,
|
|
293
290
|
writeCustomTemplatesToFrontmatter,
|
|
294
291
|
writeCustomThemesToFrontmatter
|
|
295
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-2HY2ZA7U.js";
|
|
296
293
|
import {
|
|
297
294
|
PATH_SHAPE_KINDS,
|
|
298
295
|
anchorPoint,
|
|
@@ -335,7 +332,7 @@ import {
|
|
|
335
332
|
defaultPageStyle,
|
|
336
333
|
getDocPlaybackDuration,
|
|
337
334
|
resolveMediaSchedule
|
|
338
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-GAZKTT4R.js";
|
|
339
336
|
import {
|
|
340
337
|
AVAILABLE_FONT_STACKS,
|
|
341
338
|
DARK_SURFACE,
|
|
@@ -378,6 +375,7 @@ import {
|
|
|
378
375
|
getThemeSummaries,
|
|
379
376
|
guessFontFallback,
|
|
380
377
|
hexHueDegrees,
|
|
378
|
+
isCustomTemplateDefinition,
|
|
381
379
|
isHex,
|
|
382
380
|
matchFontFamily,
|
|
383
381
|
oklchDarken,
|
|
@@ -387,9 +385,10 @@ import {
|
|
|
387
385
|
relativeLuminance,
|
|
388
386
|
resolveFontFamily,
|
|
389
387
|
resolveTheme,
|
|
388
|
+
validateCustomTemplateDefinition,
|
|
390
389
|
validateTheme,
|
|
391
390
|
withAlpha
|
|
392
|
-
} from "./chunk-
|
|
391
|
+
} from "./chunk-SBAX4ZPO.js";
|
|
393
392
|
import {
|
|
394
393
|
DEFAULT_DOC_FONT,
|
|
395
394
|
DEFAULT_TITLE_FONT,
|
|
@@ -433,7 +432,7 @@ import {
|
|
|
433
432
|
stringifyMarkdown,
|
|
434
433
|
unwrapMarkdownSource,
|
|
435
434
|
wrapMarkdownSource
|
|
436
|
-
} from "./chunk-
|
|
435
|
+
} from "./chunk-JUAC2QWP.js";
|
|
437
436
|
import {
|
|
438
437
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
439
438
|
MarkdownLimitError,
|
|
@@ -445,21 +444,25 @@ import {
|
|
|
445
444
|
resolveMarkdownSafetyLimits,
|
|
446
445
|
serializePandocAttributes,
|
|
447
446
|
toMdast
|
|
448
|
-
} from "./chunk-
|
|
447
|
+
} from "./chunk-7TJJA2RI.js";
|
|
449
448
|
import {
|
|
450
449
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
450
|
+
CONTAINER_TEMPLATES,
|
|
451
451
|
KNOWN_BLOCK_META_KEYS,
|
|
452
|
+
TABLE_FED_TEMPLATES,
|
|
453
|
+
isContainerTemplate,
|
|
452
454
|
matchTrailingPandocAttr,
|
|
453
455
|
matchTrailingTemplateAnnotation,
|
|
454
456
|
needsQuoting,
|
|
455
457
|
parseTimeSeconds,
|
|
456
458
|
quoteAttrValue,
|
|
459
|
+
resolveTemplateName,
|
|
457
460
|
sanitizeHtmlNodes,
|
|
458
461
|
sanitizeUrl,
|
|
459
462
|
splitKeyValueToken,
|
|
460
463
|
tokenizeAttrTokens,
|
|
461
464
|
unquoteAttrValue
|
|
462
|
-
} from "./chunk-
|
|
465
|
+
} from "./chunk-D6YTLQCL.js";
|
|
463
466
|
import {
|
|
464
467
|
ICONS,
|
|
465
468
|
canonicalIconToken,
|
|
@@ -793,6 +796,7 @@ export {
|
|
|
793
796
|
isAsciiDiagramFence,
|
|
794
797
|
isAsciiTimelineFence,
|
|
795
798
|
isContainerTemplate,
|
|
799
|
+
isCustomTemplateDefinition,
|
|
796
800
|
isDataFence,
|
|
797
801
|
isEligibleAsciiFenceLang,
|
|
798
802
|
isEligibleAsciiTimelineFenceLang,
|
|
@@ -861,6 +865,7 @@ export {
|
|
|
861
865
|
parseYamlSubset,
|
|
862
866
|
photoGrid,
|
|
863
867
|
pickContrastingText,
|
|
868
|
+
pipStyleVars,
|
|
864
869
|
plainTextFromInlineHtml,
|
|
865
870
|
pointerSegments,
|
|
866
871
|
primaryType,
|
|
@@ -960,6 +965,7 @@ export {
|
|
|
960
965
|
unwrapMarkdownSource,
|
|
961
966
|
updateLayer,
|
|
962
967
|
vadStep,
|
|
968
|
+
validateCustomTemplateDefinition,
|
|
963
969
|
validateMarkdownDoc,
|
|
964
970
|
validateMarkdownSource,
|
|
965
971
|
validateTheme,
|
package/dist/jsonForm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../types-
|
|
1
|
+
import { bg as Theme, b6 as SurfaceScheme } from '../Doc-BKKcPjfe.js';
|
|
2
|
+
import '../types-CcrDFdWH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* JSON Form types — Squisq's hint vocabulary layered on JSON Schema.
|
package/dist/jsonForm/index.js
CHANGED
|
@@ -15,10 +15,10 @@ 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-DAMIRKTO.js";
|
|
19
|
+
import "../chunk-GODLNXO4.js";
|
|
20
|
+
import "../chunk-GAZKTT4R.js";
|
|
21
|
+
import "../chunk-SBAX4ZPO.js";
|
|
22
22
|
import "../chunk-BAOV476U.js";
|
|
23
23
|
import "../chunk-4VOD55SX.js";
|
|
24
24
|
export {
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as
|
|
3
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-
|
|
1
|
+
import { Z as ParseOptions, n as MarkdownDocument, _ as StringifyOptions, H as HeadingAttributes, e as HtmlNode, L as MarkdownNode } from '../types-CcrDFdWH.js';
|
|
2
|
+
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as MarkdownInlineIcon, y as MarkdownInlineMath, z as MarkdownInlineNode, A as MarkdownLeafDirective, B as MarkdownLimitError, C as MarkdownLink, E as MarkdownLinkDefinition, F as MarkdownLinkReference, G as MarkdownList, I as MarkdownListItem, J as MarkdownMathBlock, K as MarkdownMention, N as MarkdownParagraph, O as MarkdownPoint, P as MarkdownSafetyLimits, Q as MarkdownSourcePosition, R as MarkdownStrikethrough, S as MarkdownStrong, T as MarkdownTable, U as MarkdownTableCell, V as MarkdownTableRow, W as MarkdownText, X as MarkdownTextDirective, Y as MarkdownThematicBreak, a4 as assertMarkdownDocumentWithinLimits, a5 as assertMarkdownSourceWithinLimits, aa as resolveMarkdownSafetyLimits } from '../types-CcrDFdWH.js';
|
|
3
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-CPHEggo3.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Markdown → JSON Parser
|
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-JUAC2QWP.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-7TJJA2RI.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-D6YTLQCL.js";
|
|
44
44
|
import "../chunk-7N4G32LG.js";
|
|
45
45
|
import {
|
|
46
46
|
countNodes,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as Block,
|
|
2
|
-
import { M as MarkdownBlockNode } from './types-
|
|
1
|
+
import { j as Block, aE as PageSectionKind, aC as PageEmphasis, bi as ThemeColorScheme, aA as PageBackground, bg as Theme, bK as ViewportConfig, v as CustomTemplateDefinition, b4 as StartBlockConfig, N as Doc, bj as ThemePageStyle } from './Doc-BKKcPjfe.js';
|
|
2
|
+
import { M as MarkdownBlockNode } from './types-CcrDFdWH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* PageSection — the framework-agnostic block model for Page (linear) mode.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../types-
|
|
1
|
+
import { N as Doc, f as AudioBookmark } from '../Doc-BKKcPjfe.js';
|
|
2
|
+
import '../types-CcrDFdWH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Shared types + tuning configs for the narration engine.
|
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-EMXYZLRH.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-2HY2ZA7U.js";
|
|
37
37
|
import "../chunk-PUS54YU6.js";
|
|
38
38
|
import "../chunk-CUYHFOFL.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-SBAX4ZPO.js";
|
|
40
40
|
import "../chunk-BAOV476U.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-D6YTLQCL.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,37 @@
|
|
|
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 Block, k as BlockConnection, l as BorderStyle, C as CaptionPhrase, m as CaptionTrack, n as CaptionWord, o as ChartBaseFields, p as ChartTemplateInput, q as ColorScheme, r as ColumnChartInput, s as ComparisonBarInput, t as ContentBlockInput, u as CornerBrandingConfig, v as CustomTemplateDefinition, w as CustomTemplateLayer, D as DARK_SURFACE,
|
|
4
|
-
export { a as DEFAULT_TRANSITION_DURATION_SECONDS,
|
|
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-
|
|
2
|
+
import { bg as Theme, bj as ThemePageStyle, bi as ThemeColorScheme, H as DeepPartial, bm as ThemeSeedColors, bh as ThemeColorPalette, W as FontFamilyKind, V as FontFamily } from '../Doc-BKKcPjfe.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 Block, k as BlockConnection, l as BorderStyle, C as CaptionPhrase, m as CaptionTrack, n as CaptionWord, o as ChartBaseFields, p as ChartTemplateInput, q as ColorScheme, r as ColumnChartInput, s as ComparisonBarInput, t as ContentBlockInput, u as CornerBrandingConfig, v as CustomTemplateDefinition, w as CustomTemplateLayer, x as CustomTemplateValidationError, y as CustomTemplateValidationResult, D as DARK_SURFACE, z as DEFAULT_DOC_FONT, E as DEFAULT_TITLE_FONT, F as DataTableInput, G as DateEventInput, I as DefinitionCardInput, J as DiagramBlockInput, K as DiagramEdgeAnchor, L as DiagramTemplateEdge, M as DiagramTemplateNode, N as Doc, O as DocBlock, P as DocDiagnostic, Q as DonutChartInput, R as DrawingBlockInput, S as FRONTMATTER_CUSTOM_TEMPLATES_KEY, T as FRONTMATTER_CUSTOM_THEMES_KEY, U as FactCardInput, X as FullBleedQuoteInput, Y as GradientBackgroundConfig, Z as ImageBackgroundConfig, _ as ImageLayer, $ as ImageTreatment, a0 as ImageWithCaptionInput, a1 as LIGHT_SURFACE, a2 as Layer, a3 as LayerRepeat, a4 as LayoutHints, a5 as LeftFeatureInput, a6 as LineChartInput, a7 as LinearGradient, a8 as ListBlockInput, a9 as MapBlockInput, aa as MapLayer, ab as MapMarker, ac as MapTileStyle, ad as MarkerStyle, ae as MediaClip, af as MediaScheduleOptions, ag as MermaidLayer, ah as PAGE_ACCENT_STRATEGIES, ai as PAGE_BACKGROUNDS, aj as PAGE_BACKGROUND_RHYTHMS, ak as PAGE_DESIGN_FAMILIES, al as PAGE_DIVIDERS, am as PAGE_EMPHASES, an as PAGE_EYEBROWS, ao as PAGE_HEADING_CASES, ap as PAGE_HEADING_SCALES, aq as PAGE_HEADING_UNDERLINES, ar as PAGE_HERO_STYLES, as as PAGE_IMAGE_FRAMINGS, at as PAGE_NUMERAL_STYLES, au as PAGE_PATTERNS, av as PAGE_QUOTE_MARKS, aw as PAGE_SECTION_KINDS, ax as PAGE_SECTION_SPACINGS, ay as PAGE_SHADOWS, az as PageAccentRotation, aA as PageBackground, aB as PageDesignFamily, aC as PageEmphasis, aD as PageHeadingTreatment, aE as PageSectionKind, aF as PageSectionOverride, aG as PageTokens, aH as PathLayer, aI as PatternBackgroundConfig, aJ as PersistentLayer, aK as PersistentLayerConfig, aL as PersistentLayerTemplate, aM as PersistentLayerTemplateConfig, aN as PersistentLayerTemplateType, aO as PhotoGridInput, aP as PieChartInput, aQ as PipStyle, aR as Position, aS as ProgressIndicatorConfig, aT as PromotedBodyAnnotation, aU as PullQuoteInput, aV as QuoteBlockInput, aW as RawLayersInput, aX as RenderStyle, aY as RightFeatureInput, aZ as ScatterChartInput, a_ as ScheduledClip, a$ as SectionHeaderInput, b0 as ShapeFilter, b1 as ShapeLayer, b2 as ShapePattern, b3 as SolidBackgroundConfig, b4 as StartBlockConfig, b5 as StatHighlightInput, b6 as SurfaceScheme, b7 as THEME_SCHEMA_VERSION, b8 as TableLayer, b9 as TableLayerStyle, ba as TemplateBlock, bb as TemplateContext, bc as TemplateFunction, bd as TemplateRegistry, be as TextLayer, bf as TextStyle, bk as ThemeRegistry, bl as ThemeSchemaVersion, bn as ThemeStyle, bo as ThemeTypography, bp as TimelineBlockInput, bq as TimelineTemplateEvent, br as TimelineTemplateLink, bs as TimelineTemplateTrack, bt as TitleBlockInput, bu as TitleCaptionConfig, bv as TreeBlockInput, bw as TreeLayer, bx as TreeLayerItem, by as TreeLayerStyle, bz as TreeTemplateItem, bA as TwoColumnInput, bB as VIEWPORT_PRESETS, bC as VideoLayer, bD as VideoPipPosition, bE as VideoPipShape, bF as VideoPipSize, bG as VideoPlacement, bH as VideoPresentation, bI as VideoPullQuoteInput, bJ as VideoWithCaptionInput, bK as ViewportConfig, bL as ViewportOrientation, bM as ViewportPreset, bN as VignetteConfig, bO as applySurface, bP as calculateDuration, bQ as calculateFontScale, bR as createTemplateContext, bS as createTheme, bT as createThemeRegistry, bU as getAspectRatioString, bV as getBlockAtTime, bW as getCaptionAtTime, bX as getDocPlaybackDuration, bY as getLayoutHints, bZ as getSafeTextBounds, b_ as getSegmentAtTime, b$ as getTwoColumnPositions, c0 as getViewport, c1 as getViewportOrientation, c2 as isCustomTemplateDefinition, c3 as isPersistentLayerTemplate, c4 as isTemplateBlock, c5 as layoutScaledFontSize, c6 as resolveMediaSchedule, c7 as scaledFontSize, c8 as validateCustomTemplateDefinition } from '../Doc-BKKcPjfe.js';
|
|
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-BMXXLZBU.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-CU1cXxRd.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Theme-driven picture-in-picture framing.
|
|
11
|
+
*
|
|
12
|
+
* {@link pipStyleVars} turns a {@link Theme} into the CSS custom properties the
|
|
13
|
+
* player's PiP stylesheet consumes, so scheduled presenter video is framed to
|
|
14
|
+
* match the theme (border, shadow, corner radius). An explicit
|
|
15
|
+
* `theme.style.pip` wins; anything it omits is derived from the palette and the
|
|
16
|
+
* theme's card border-radius, so every theme — including ones with no `pip`
|
|
17
|
+
* block — gets a fitting PiP. Pure: no DOM, deterministic.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/** CSS custom properties that style the picture-in-picture frame. */
|
|
21
|
+
interface PipStyleVars {
|
|
22
|
+
/** `border-radius` of the frame. */
|
|
23
|
+
'--squisq-pip-radius': string;
|
|
24
|
+
/** Full `border` shorthand, or `'none'`. */
|
|
25
|
+
'--squisq-pip-border': string;
|
|
26
|
+
/** Full `box-shadow`, or `'none'`. */
|
|
27
|
+
'--squisq-pip-shadow': string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Derive the CSS custom properties that frame scheduled picture-in-picture
|
|
31
|
+
* video for `theme`. An explicit `theme.style.pip` wins field-by-field; the
|
|
32
|
+
* rest is derived from the palette and border-radius.
|
|
33
|
+
*/
|
|
34
|
+
declare function pipStyleVars(theme: Theme): PipStyleVars;
|
|
8
35
|
|
|
9
36
|
/**
|
|
10
37
|
* Page Style Defaults
|
|
@@ -264,4 +291,4 @@ type MermaidThemeVariables = Record<string, string | number | boolean>;
|
|
|
264
291
|
/** Build complete, contrast-aware Mermaid theme variables from a Squisq theme. */
|
|
265
292
|
declare function buildMermaidThemeVariables(theme: Theme): MermaidThemeVariables;
|
|
266
293
|
|
|
267
|
-
export { AVAILABLE_FONT_STACKS, type CompileOptions, type ContrastPreset, DeepPartial, FONT_FALLBACKS, FontFamily, FontFamilyKind, type FontStack, type MermaidThemeVariables, STARTER_THEME, Theme, ThemeColorPalette, ThemeColorScheme, ThemePageStyle, ThemeSeedColors, type ValidationError, type ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha };
|
|
294
|
+
export { AVAILABLE_FONT_STACKS, type CompileOptions, type ContrastPreset, DeepPartial, FONT_FALLBACKS, FontFamily, FontFamilyKind, type FontStack, type MermaidThemeVariables, type PipStyleVars, STARTER_THEME, Theme, ThemeColorPalette, ThemeColorScheme, ThemePageStyle, ThemeSeedColors, type ValidationError, type ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, pipStyleVars, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha };
|
package/dist/schemas/index.js
CHANGED
|
@@ -9,13 +9,14 @@ import {
|
|
|
9
9
|
getCaptionAtTime,
|
|
10
10
|
getSegmentAtTime,
|
|
11
11
|
parseTheme,
|
|
12
|
+
pipStyleVars,
|
|
12
13
|
serializeTheme
|
|
13
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-GODLNXO4.js";
|
|
14
15
|
import {
|
|
15
16
|
defaultPageStyle,
|
|
16
17
|
getDocPlaybackDuration,
|
|
17
18
|
resolveMediaSchedule
|
|
18
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-GAZKTT4R.js";
|
|
19
20
|
import {
|
|
20
21
|
AVAILABLE_FONT_STACKS,
|
|
21
22
|
DARK_SURFACE,
|
|
@@ -58,6 +59,7 @@ import {
|
|
|
58
59
|
getThemeSummaries,
|
|
59
60
|
guessFontFallback,
|
|
60
61
|
hexHueDegrees,
|
|
62
|
+
isCustomTemplateDefinition,
|
|
61
63
|
isHex,
|
|
62
64
|
matchFontFamily,
|
|
63
65
|
oklchDarken,
|
|
@@ -67,9 +69,10 @@ import {
|
|
|
67
69
|
relativeLuminance,
|
|
68
70
|
resolveFontFamily,
|
|
69
71
|
resolveTheme,
|
|
72
|
+
validateCustomTemplateDefinition,
|
|
70
73
|
validateTheme,
|
|
71
74
|
withAlpha
|
|
72
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-SBAX4ZPO.js";
|
|
73
76
|
import {
|
|
74
77
|
DEFAULT_DOC_FONT,
|
|
75
78
|
DEFAULT_TITLE_FONT,
|
|
@@ -164,6 +167,7 @@ export {
|
|
|
164
167
|
getViewportOrientation,
|
|
165
168
|
guessFontFallback,
|
|
166
169
|
hexHueDegrees,
|
|
170
|
+
isCustomTemplateDefinition,
|
|
167
171
|
isHex,
|
|
168
172
|
isPersistentLayerTemplate,
|
|
169
173
|
isTemplateBlock,
|
|
@@ -177,6 +181,7 @@ export {
|
|
|
177
181
|
oklchSetChroma,
|
|
178
182
|
parseTheme,
|
|
179
183
|
pickContrastingText,
|
|
184
|
+
pipStyleVars,
|
|
180
185
|
relativeLuminance,
|
|
181
186
|
resolveBlockTransition,
|
|
182
187
|
resolveFontFamily,
|
|
@@ -185,6 +190,7 @@ export {
|
|
|
185
190
|
resolveTransitionDuration,
|
|
186
191
|
scaledFontSize2 as scaledFontSize,
|
|
187
192
|
serializeTheme,
|
|
193
|
+
validateCustomTemplateDefinition,
|
|
188
194
|
validateTheme,
|
|
189
195
|
withAlpha
|
|
190
196
|
};
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -65,9 +65,8 @@ declare class LocalStorageAdapter implements StorageAdapter {
|
|
|
65
65
|
*
|
|
66
66
|
* Unlike LocalStorageAdapter, this adapter can store binary data
|
|
67
67
|
* (ArrayBuffer, Blob, Uint8Array) natively without JSON serialization.
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* configurable store name and key prefix.
|
|
68
|
+
* Store name and key prefix are configurable so independent consumers can
|
|
69
|
+
* share an origin without colliding.
|
|
71
70
|
*/
|
|
72
71
|
|
|
73
72
|
interface LocalForageAdapterOptions {
|
package/dist/timing/index.d.ts
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* - Numbers spoken as multiple words (e.g., "1910" → "nineteen ten")
|
|
6
6
|
* - Pauses at commas
|
|
7
7
|
* - Year pronunciation conventions (1000–2099)
|
|
8
|
-
*
|
|
9
|
-
* Ported from qualla-internal's AudioTiming.ts (pure functions, no Node.js deps).
|
|
8
|
+
* Pure functions with no Node.js dependencies.
|
|
10
9
|
*/
|
|
11
10
|
/** Default speaking rate in words per second (~150 WPM). */
|
|
12
11
|
declare const DEFAULT_WORDS_PER_SECOND = 2.5;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as ColorScheme,
|
|
2
|
-
import { i as PageTransformHints } from '../materializePageSection-
|
|
1
|
+
import { q as ColorScheme, N as Doc, j as Block } from '../Doc-BKKcPjfe.js';
|
|
2
|
+
import { i as PageTransformHints } from '../materializePageSection-WDJCTJEm.js';
|
|
3
3
|
import { d as ExtractionType, E as ExtractedElement, b as ExtractionOptions } from '../contentExtractor-BNfVJV2U.js';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-CcrDFdWH.js';
|
|
5
5
|
|
|
6
6
|
/** Identifier for a built-in or caller-registered transform style. */
|
|
7
7
|
type TransformStyleId = string;
|
|
@@ -665,4 +665,4 @@ interface StringifyOptions {
|
|
|
665
665
|
setext?: boolean;
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
export {
|
|
668
|
+
export { TRANSITION_DIRECTIONS as $, type MarkdownLeafDirective as A, MarkdownLimitError as B, type MarkdownLink as C, DEFAULT_MARKDOWN_SAFETY_LIMITS as D, type MarkdownLinkDefinition as E, type MarkdownLinkReference as F, type MarkdownList as G, type HeadingAttributes as H, type MarkdownListItem as I, type MarkdownMathBlock as J, type MarkdownMention as K, type MarkdownNode as L, type MarkdownBlockNode as M, type MarkdownParagraph as N, type MarkdownPoint as O, type MarkdownSafetyLimits as P, type MarkdownSourcePosition as Q, type MarkdownStrikethrough as R, type MarkdownStrong as S, type MarkdownTable as T, type MarkdownTableCell as U, type MarkdownTableRow as V, type MarkdownText as W, type MarkdownTextDirective as X, type MarkdownThematicBreak as Y, type ParseOptions as Z, type StringifyOptions as _, DEFAULT_TRANSITION_DURATION_SECONDS as a, TRANSITION_TYPES as a0, type Transition as a1, type TransitionDirection as a2, type TransitionType as a3, assertMarkdownDocumentWithinLimits as a4, assertMarkdownSourceWithinLimits as a5, isTransitionType as a6, normalizeTransitionDirection as a7, normalizeTransitionType as a8, resolveBlockTransition as a9, resolveMarkdownSafetyLimits as aa, resolveTransitionDuration as ab, type BlockConnection as ac, type HeadingTemplateAnnotation as b, type HtmlComment as c, type HtmlElement as d, type HtmlNode as e, type HtmlText as f, type MarkdownBlockquote as g, type MarkdownBreak as h, type MarkdownCodeBlock as i, type MarkdownContainerDirective as j, type MarkdownDefinitionDescription as k, type MarkdownDefinitionList as l, type MarkdownDefinitionTerm as m, type MarkdownDocument as n, type MarkdownEmphasis as o, type MarkdownFootnoteDefinition as p, type MarkdownFootnoteReference as q, type MarkdownHeading as r, type MarkdownHtmlBlock as s, type MarkdownImage as t, type MarkdownImageReference as u, type MarkdownInlineCode as v, type MarkdownInlineHtml as w, type MarkdownInlineIcon as x, type MarkdownInlineMath as y, type MarkdownInlineNode as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Headless utilities for doc/block rendering, spatial math, Markdown, and storage",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": "
|
|
27
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
28
28
|
},
|
|
29
29
|
"main": "./dist/index.js",
|
|
30
30
|
"module": "./dist/index.js",
|