@bendyline/squisq 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/doc/index.js CHANGED
@@ -1,37 +1,70 @@
1
1
  import {
2
+ BUILTIN_DASHBOARD_LAYOUTS,
2
3
  COVER_SLIDE_FRONTMATTER_KEYS,
3
4
  COVER_SLIDE_TEMPLATE_OPTIONS,
5
+ DASHBOARD_AUTO_LAYOUT_ID,
6
+ DASHBOARD_FRONTMATTER_KEYS,
7
+ DASHBOARD_STYLES,
8
+ DASHBOARD_STYLE_IDS,
9
+ DASHBOARD_ZOOM_LEVELS,
4
10
  DEFAULT_COVER_SLIDE_SETTINGS,
11
+ DEFAULT_DASHBOARD_SETTINGS,
12
+ DEFAULT_DASHBOARD_STYLE,
13
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
5
14
  MAX_COVER_SLIDE_DURATION_SECONDS,
6
15
  PAGE_BASE_CSS,
7
16
  applyNarrationTiming,
17
+ buildDashboardCellChrome,
8
18
  buildPageCss,
9
19
  buildPageCssVars,
20
+ buildPreviewDoc,
21
+ chooseDashboardLayout,
22
+ composeDashboardLayers,
10
23
  cssFilterForTreatment,
24
+ dashboardCanvasFill,
25
+ dashboardCellAccent,
26
+ desiredCellZoom,
11
27
  docToMarkdown,
28
+ documentTitleFromFileName,
12
29
  getAnimationProgress,
13
30
  getAnimationStyle,
31
+ getDashboardLayoutSummaries,
14
32
  getDefaultAnimationDuration,
15
33
  getTransitionClass,
16
34
  isRepairableDiagram,
17
35
  isTemplatedPageBlock,
36
+ layoutCapacity,
37
+ listDashboardLayouts,
38
+ materializeDashboard,
18
39
  materializePageSection,
19
40
  materializePageSections,
41
+ normalizeDashboardZoom,
20
42
  pageStyleDataAttributes,
43
+ readDashboardLayoutsFromFrontmatter,
21
44
  renderAsciiDiagram,
22
45
  renderAsciiTimeline,
23
46
  renderTree,
24
47
  repairAsciiDiagram,
25
48
  resolveAudioMapping,
26
49
  resolveCoverSlideSettings,
50
+ resolveDashboardLayoutDefinition,
51
+ resolveDashboardSettings,
52
+ resolveDashboardStyleId,
53
+ resolveDashboardZooms,
54
+ resolveLayoutCells,
27
55
  resolvePageBlock,
28
56
  resolvePageStyle,
29
57
  resolveThemeForDoc,
30
58
  scoreTextSimilarity,
31
59
  sectionExtractors,
60
+ stripBlockBackdropLayer,
61
+ stripsBlockBackdrop,
62
+ transposeCells,
63
+ validateDashboardLayoutDefinition,
32
64
  validateMarkdownDoc,
33
- validateMarkdownSource
34
- } from "../chunk-KOU5WRVN.js";
65
+ validateMarkdownSource,
66
+ writeDashboardLayoutsToFrontmatter
67
+ } from "../chunk-PTK2SW2V.js";
35
68
  import {
36
69
  ASCII_CHAR_H,
37
70
  ASCII_CHAR_W,
@@ -151,7 +184,7 @@ import {
151
184
  wrapWithPersistentLayers,
152
185
  writeCustomTemplatesToFrontmatter,
153
186
  writeCustomThemesToFrontmatter
154
- } from "../chunk-GSJEGMKF.js";
187
+ } from "../chunk-V6NV4GDE.js";
155
188
  import {
156
189
  PATH_SHAPE_KINDS,
157
190
  anchorPoint,
@@ -165,6 +198,7 @@ import {
165
198
  snapEndpoints,
166
199
  snapPoints
167
200
  } from "../chunk-PUS54YU6.js";
201
+ import "../chunk-7ZAAICW4.js";
168
202
  import {
169
203
  ASCII_DIAGRAM_FENCE_LANGS,
170
204
  ASCII_TIMELINE_FENCE_LANGS,
@@ -227,10 +261,18 @@ export {
227
261
  ASCII_TIMELINE_FENCE_LANGS,
228
262
  BASE_INPUT_DESCRIPTORS,
229
263
  BLOCK_MEDIA_LAYOUT_POLICIES,
264
+ BUILTIN_DASHBOARD_LAYOUTS,
230
265
  CONTAINER_TEMPLATES,
231
266
  COVER_SLIDE_FRONTMATTER_KEYS,
232
267
  COVER_SLIDE_TEMPLATE_OPTIONS,
268
+ DASHBOARD_AUTO_LAYOUT_ID,
269
+ DASHBOARD_FRONTMATTER_KEYS,
270
+ DASHBOARD_STYLES,
271
+ DASHBOARD_STYLE_IDS,
272
+ DASHBOARD_ZOOM_LEVELS,
233
273
  DEFAULT_COVER_SLIDE_SETTINGS,
274
+ DEFAULT_DASHBOARD_SETTINGS,
275
+ DEFAULT_DASHBOARD_STYLE,
234
276
  DEFAULT_LAYOUT,
235
277
  DEFAULT_THEME,
236
278
  DIAGRAM_LABEL_HORIZONTAL_PADDING,
@@ -239,6 +281,7 @@ export {
239
281
  DIAGRAM_LABEL_VERTICAL_PADDING,
240
282
  FRONTMATTER_CUSTOM_TEMPLATES_KEY,
241
283
  FRONTMATTER_CUSTOM_THEMES_KEY,
284
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
242
285
  MAX_COVER_SLIDE_DURATION_SECONDS,
243
286
  PAGE_BASE_CSS,
244
287
  PATH_SHAPE_KINDS,
@@ -260,14 +303,18 @@ export {
260
303
  asciiTimelineToTemplateData,
261
304
  autoTemplatePreservesContent,
262
305
  bigText,
306
+ buildDashboardCellChrome,
263
307
  buildPageCss,
264
308
  buildPageCssVars,
309
+ buildPreviewDoc,
265
310
  buildRegistry,
266
311
  canvasToAsciiCell,
312
+ chooseDashboardLayout,
267
313
  clipEndpoints,
268
314
  clipPoint,
269
315
  coerceTemplateParams,
270
316
  comparisonBar,
317
+ composeDashboardLayers,
271
318
  computeDiagramLayout,
272
319
  computeDrawingLayout,
273
320
  computeLayoutLayers,
@@ -278,15 +325,19 @@ export {
278
325
  createAccentLayers,
279
326
  createTemplateContext,
280
327
  cssFilterForTreatment,
328
+ dashboardCanvasFill,
329
+ dashboardCellAccent,
281
330
  dataTable,
282
331
  dateEvent,
283
332
  definitionCard,
284
333
  deriveTemplateInputs,
334
+ desiredCellZoom,
285
335
  detectAsciiDiagram,
286
336
  detectAsciiTimeline,
287
337
  detectTree,
288
338
  diagramBlock,
289
339
  docToMarkdown,
340
+ documentTitleFromFileName,
290
341
  drawingBlock,
291
342
  expandCoverBlock,
292
343
  expandDocBlocks,
@@ -318,6 +369,7 @@ export {
318
369
  getBlockBodyText,
319
370
  getBlockDepth,
320
371
  getBlockMediaLayoutPolicy,
372
+ getDashboardLayoutSummaries,
321
373
  getDefaultAnimation,
322
374
  getDefaultAnimationDuration,
323
375
  getLayoutHints,
@@ -350,17 +402,21 @@ export {
350
402
  isTreeFence,
351
403
  isWrappedFlowTimelineSource,
352
404
  layoutBlock,
405
+ layoutCapacity,
353
406
  leftFeature,
354
407
  lineStyleDasharray,
355
408
  lintTemplateParams,
356
409
  listBlock,
410
+ listDashboardLayouts,
357
411
  mapBlock,
358
412
  markdownToDoc,
359
413
  markerPath,
360
414
  materializeBlockLayers,
415
+ materializeDashboard,
361
416
  materializePageSection,
362
417
  materializePageSections,
363
418
  nearestSnapPoint,
419
+ normalizeDashboardZoom,
364
420
  normalizeShapeKind,
365
421
  pageStyleDataAttributes,
366
422
  parseAsciiDiagram,
@@ -375,6 +431,7 @@ export {
375
431
  quoteBlock,
376
432
  readCustomTemplatesFromFrontmatter,
377
433
  readCustomThemesFromFrontmatter,
434
+ readDashboardLayoutsFromFrontmatter,
378
435
  renderAsciiDiagram,
379
436
  renderAsciiTimeline,
380
437
  renderTree,
@@ -383,6 +440,11 @@ export {
383
440
  resolveAudioMapping,
384
441
  resolveColorScheme,
385
442
  resolveCoverSlideSettings,
443
+ resolveDashboardLayoutDefinition,
444
+ resolveDashboardSettings,
445
+ resolveDashboardStyleId,
446
+ resolveDashboardZooms,
447
+ resolveLayoutCells,
386
448
  resolvePageBlock,
387
449
  resolvePageStyle,
388
450
  resolvePersistentLayers,
@@ -400,6 +462,8 @@ export {
400
462
  snapEndpoints,
401
463
  snapPoints,
402
464
  statHighlight,
465
+ stripBlockBackdropLayer,
466
+ stripsBlockBackdrop,
403
467
  templateRegistry,
404
468
  themeWantsAmbientMotion,
405
469
  themedEntrance,
@@ -409,16 +473,19 @@ export {
409
473
  themedSurfaceGradient,
410
474
  timelineBlock,
411
475
  titleBlock,
476
+ transposeCells,
412
477
  treeBlock,
413
478
  treeFromMarkdownList,
414
479
  treeFromTemplateData,
415
480
  treeToTemplateData,
416
481
  twoColumn,
482
+ validateDashboardLayoutDefinition,
417
483
  validateMarkdownDoc,
418
484
  validateMarkdownSource,
419
485
  videoPullQuote,
420
486
  videoWithCaption,
421
487
  wrapWithPersistentLayers,
422
488
  writeCustomTemplatesToFrontmatter,
423
- writeCustomThemesToFrontmatter
489
+ writeCustomThemesToFrontmatter,
490
+ writeDashboardLayoutsToFrontmatter
424
491
  };
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_S
5
5
  export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-8BQMY2HV.js';
6
6
  export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
7
7
  export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-Cq2a3c30.js';
8
- 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, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DEFAULT_COVER_SLIDE_SETTINGS, 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, MAX_COVER_SLIDE_DURATION_SECONDS, 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, bigText, 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, fitBigTextSize, 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, resolveCoverSlideSettings, 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';
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, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedDashboardCell, 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, bigText, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, 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, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, 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, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
9
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-Rss5thAj.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';
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  reanchorSession,
24
24
  traceWordPosAt,
25
25
  vadStep
26
- } from "./chunk-7Z5T3CUI.js";
26
+ } from "./chunk-KEAU5NEM.js";
27
27
  import {
28
28
  fenceRendererLangs
29
29
  } from "./chunk-PGI7HSWE.js";
@@ -105,13 +105,6 @@ import {
105
105
  formatVersionTimestamp,
106
106
  parseVersionTimestamp
107
107
  } from "./chunk-OPO5K4DZ.js";
108
- import {
109
- hasIconMarker,
110
- iconClass,
111
- iconMarker,
112
- splitIconMarkers,
113
- stripIconMarkers
114
- } from "./chunk-7ZAAICW4.js";
115
108
  import {
116
109
  STARTER_THEME,
117
110
  accentToColorScheme,
@@ -141,39 +134,72 @@ import {
141
134
  haversineDistance
142
135
  } from "./chunk-R3KTTOMS.js";
143
136
  import {
137
+ BUILTIN_DASHBOARD_LAYOUTS,
144
138
  COVER_SLIDE_FRONTMATTER_KEYS,
145
139
  COVER_SLIDE_TEMPLATE_OPTIONS,
140
+ DASHBOARD_AUTO_LAYOUT_ID,
141
+ DASHBOARD_FRONTMATTER_KEYS,
142
+ DASHBOARD_STYLES,
143
+ DASHBOARD_STYLE_IDS,
144
+ DASHBOARD_ZOOM_LEVELS,
146
145
  DEFAULT_COVER_SLIDE_SETTINGS,
146
+ DEFAULT_DASHBOARD_SETTINGS,
147
+ DEFAULT_DASHBOARD_STYLE,
148
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
147
149
  MAX_COVER_SLIDE_DURATION_SECONDS,
148
150
  PAGE_BASE_CSS,
149
151
  applyNarrationTiming,
152
+ buildDashboardCellChrome,
150
153
  buildPageCss,
151
154
  buildPageCssVars,
155
+ buildPreviewDoc,
156
+ chooseDashboardLayout,
157
+ composeDashboardLayers,
152
158
  cssFilterForTreatment,
159
+ dashboardCanvasFill,
160
+ dashboardCellAccent,
161
+ desiredCellZoom,
153
162
  docToMarkdown,
163
+ documentTitleFromFileName,
154
164
  getAnimationProgress,
155
165
  getAnimationStyle,
166
+ getDashboardLayoutSummaries,
156
167
  getDefaultAnimationDuration,
157
168
  getTransitionClass,
158
169
  isRepairableDiagram,
159
170
  isTemplatedPageBlock,
171
+ layoutCapacity,
172
+ listDashboardLayouts,
173
+ materializeDashboard,
160
174
  materializePageSection,
161
175
  materializePageSections,
176
+ normalizeDashboardZoom,
162
177
  pageStyleDataAttributes,
178
+ readDashboardLayoutsFromFrontmatter,
163
179
  renderAsciiDiagram,
164
180
  renderAsciiTimeline,
165
181
  renderTree,
166
182
  repairAsciiDiagram,
167
183
  resolveAudioMapping,
168
184
  resolveCoverSlideSettings,
185
+ resolveDashboardLayoutDefinition,
186
+ resolveDashboardSettings,
187
+ resolveDashboardStyleId,
188
+ resolveDashboardZooms,
189
+ resolveLayoutCells,
169
190
  resolvePageBlock,
170
191
  resolvePageStyle,
171
192
  resolveThemeForDoc,
172
193
  scoreTextSimilarity,
173
194
  sectionExtractors,
195
+ stripBlockBackdropLayer,
196
+ stripsBlockBackdrop,
197
+ transposeCells,
198
+ validateDashboardLayoutDefinition,
174
199
  validateMarkdownDoc,
175
- validateMarkdownSource
176
- } from "./chunk-KOU5WRVN.js";
200
+ validateMarkdownSource,
201
+ writeDashboardLayoutsToFrontmatter
202
+ } from "./chunk-PTK2SW2V.js";
177
203
  import {
178
204
  ASCII_CHAR_H,
179
205
  ASCII_CHAR_W,
@@ -301,7 +327,7 @@ import {
301
327
  wrapWithPersistentLayers,
302
328
  writeCustomTemplatesToFrontmatter,
303
329
  writeCustomThemesToFrontmatter
304
- } from "./chunk-GSJEGMKF.js";
330
+ } from "./chunk-V6NV4GDE.js";
305
331
  import {
306
332
  PATH_SHAPE_KINDS,
307
333
  anchorPoint,
@@ -315,6 +341,13 @@ import {
315
341
  snapEndpoints,
316
342
  snapPoints
317
343
  } from "./chunk-PUS54YU6.js";
344
+ import {
345
+ hasIconMarker,
346
+ iconClass,
347
+ iconMarker,
348
+ splitIconMarkers,
349
+ stripIconMarkers
350
+ } from "./chunk-7ZAAICW4.js";
318
351
  import {
319
352
  ASCII_DIAGRAM_FENCE_LANGS,
320
353
  ASCII_TIMELINE_FENCE_LANGS,
@@ -537,12 +570,20 @@ export {
537
570
  BASE_INPUT_DESCRIPTORS,
538
571
  BLOCK_MEDIA_LAYOUT_POLICIES,
539
572
  BLOCK_META_KEY_DESCRIPTORS,
573
+ BUILTIN_DASHBOARD_LAYOUTS,
540
574
  CONTAINER_TEMPLATES,
541
575
  COVER_SLIDE_FRONTMATTER_KEYS,
542
576
  COVER_SLIDE_TEMPLATE_OPTIONS,
543
577
  DARK_SURFACE,
578
+ DASHBOARD_AUTO_LAYOUT_ID,
579
+ DASHBOARD_FRONTMATTER_KEYS,
580
+ DASHBOARD_STYLES,
581
+ DASHBOARD_STYLE_IDS,
582
+ DASHBOARD_ZOOM_LEVELS,
544
583
  DEFAULT_ALIGN_CONFIG,
545
584
  DEFAULT_COVER_SLIDE_SETTINGS,
585
+ DEFAULT_DASHBOARD_SETTINGS,
586
+ DEFAULT_DASHBOARD_STYLE,
546
587
  DEFAULT_DOC_FONT,
547
588
  DEFAULT_FEATURE_CONFIG,
548
589
  DEFAULT_INTERACTIVE_RESOURCE_POLICY,
@@ -568,6 +609,7 @@ export {
568
609
  FONT_FALLBACKS,
569
610
  FRONTMATTER_CUSTOM_TEMPLATES_KEY,
570
611
  FRONTMATTER_CUSTOM_THEMES_KEY,
612
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
571
613
  ICONS,
572
614
  IMAGE_EDIT_ASSETS_PREFIX,
573
615
  IMAGE_EDIT_DEFAULT_BASENAME,
@@ -646,6 +688,7 @@ export {
646
688
  autoTemplatePreservesContent,
647
689
  bandpassRun,
648
690
  bigText,
691
+ buildDashboardCellChrome,
649
692
  buildGoogleFontsUrl,
650
693
  buildImageEditVersionPath,
651
694
  buildJsonFormTokens,
@@ -654,6 +697,7 @@ export {
654
697
  buildNarrationTimingJson,
655
698
  buildPageCss,
656
699
  buildPageCssVars,
700
+ buildPreviewDoc,
657
701
  buildRegistry,
658
702
  buildSvgString,
659
703
  buildVersionPath,
@@ -664,6 +708,7 @@ export {
664
708
  canonicalIconToken,
665
709
  canvasToAsciiCell,
666
710
  chooseControl,
711
+ chooseDashboardLayout,
667
712
  cleanupMarkdownSource,
668
713
  clipEndpoints,
669
714
  clipPoint,
@@ -672,6 +717,7 @@ export {
672
717
  coerceTemplateParams,
673
718
  comparisonBar,
674
719
  compileTheme,
720
+ composeDashboardLayers,
675
721
  computeDiagramLayout,
676
722
  computeDrawingLayout,
677
723
  computeLayoutLayers,
@@ -697,6 +743,8 @@ export {
697
743
  createTransformStyleRegistry,
698
744
  createVadState,
699
745
  cssFilterForTreatment,
746
+ dashboardCanvasFill,
747
+ dashboardCellAccent,
700
748
  dataTable,
701
749
  dateEvent,
702
750
  decodeGeohash,
@@ -705,6 +753,7 @@ export {
705
753
  deriveColorPalette,
706
754
  deriveScale,
707
755
  deriveTemplateInputs,
756
+ desiredCellZoom,
708
757
  detectAsciiDiagram,
709
758
  detectAsciiTimeline,
710
759
  detectMarkdownWrapState,
@@ -712,6 +761,7 @@ export {
712
761
  detectTree,
713
762
  diagramBlock,
714
763
  docToMarkdown,
764
+ documentTitleFromFileName,
715
765
  downsampleTrace,
716
766
  drawingBlock,
717
767
  encodeGeohash,
@@ -777,6 +827,7 @@ export {
777
827
  getByPointer,
778
828
  getCaptionAtTime,
779
829
  getChildren,
830
+ getDashboardLayoutSummaries,
780
831
  getDefaultAnimation,
781
832
  getDefaultAnimationDuration,
782
833
  getDocBasename,
@@ -836,11 +887,13 @@ export {
836
887
  isTreeFence,
837
888
  isWrappedFlowTimelineSource,
838
889
  layoutBlock,
890
+ layoutCapacity,
839
891
  scaledFontSize as layoutScaledFontSize,
840
892
  leftFeature,
841
893
  lineStyleDasharray,
842
894
  lintTemplateParams,
843
895
  listBlock,
896
+ listDashboardLayouts,
844
897
  listImageEditVersions,
845
898
  listVersions,
846
899
  looksLikeIconToken,
@@ -852,11 +905,13 @@ export {
852
905
  matchTrailingPandocAttr,
853
906
  matchTrailingTemplateAnnotation,
854
907
  materializeBlockLayers,
908
+ materializeDashboard,
855
909
  materializePageSection,
856
910
  materializePageSections,
857
911
  narrationSessionStep,
858
912
  nearestSnapPoint,
859
913
  needsQuoting,
914
+ normalizeDashboardZoom,
860
915
  normalizeShapeKind,
861
916
  normalizeTransitionDirection,
862
917
  normalizeTransitionType,
@@ -897,6 +952,7 @@ export {
897
952
  quoteBlock,
898
953
  readCustomTemplatesFromFrontmatter,
899
954
  readCustomThemesFromFrontmatter,
955
+ readDashboardLayoutsFromFrontmatter,
900
956
  readFrontmatterThemeId,
901
957
  readImageEditDoc,
902
958
  readImageEditVersion,
@@ -917,10 +973,15 @@ export {
917
973
  resolveBlockTransition,
918
974
  resolveColorScheme,
919
975
  resolveCoverSlideSettings,
976
+ resolveDashboardLayoutDefinition,
977
+ resolveDashboardSettings,
978
+ resolveDashboardStyleId,
979
+ resolveDashboardZooms,
920
980
  resolveFlag,
921
981
  resolveFontFamily,
922
982
  resolveIcon,
923
983
  resolveJsonFormTheme,
984
+ resolveLayoutCells,
924
985
  resolveMarkdownSafetyLimits,
925
986
  resolveMediaSchedule,
926
987
  resolvePageBlock,
@@ -960,8 +1021,10 @@ export {
960
1021
  statHighlight,
961
1022
  stringifyHtmlNodes,
962
1023
  stringifyMarkdown,
1024
+ stripBlockBackdropLayer,
963
1025
  stripIconMarkers,
964
1026
  stripMarkdown,
1027
+ stripsBlockBackdrop,
965
1028
  suggestIcons,
966
1029
  templateRegistry,
967
1030
  themeWantsAmbientMotion,
@@ -977,6 +1040,7 @@ export {
977
1040
  tokenizeAttrTokens,
978
1041
  touch,
979
1042
  traceWordPosAt,
1043
+ transposeCells,
980
1044
  treeBlock,
981
1045
  treeFromMarkdownList,
982
1046
  treeFromTemplateData,
@@ -987,6 +1051,7 @@ export {
987
1051
  updateLayer,
988
1052
  vadStep,
989
1053
  validateCustomTemplateDefinition,
1054
+ validateDashboardLayoutDefinition,
990
1055
  validateDocSchema,
991
1056
  validateMarkdownDoc,
992
1057
  validateMarkdownSource,
@@ -1002,5 +1067,6 @@ export {
1002
1067
  wrapWithPersistentLayers,
1003
1068
  writeCustomTemplatesToFrontmatter,
1004
1069
  writeCustomThemesToFrontmatter,
1070
+ writeDashboardLayoutsToFrontmatter,
1005
1071
  writeImageEditDoc
1006
1072
  };
@@ -23,7 +23,7 @@ import {
23
23
  reanchorSession,
24
24
  traceWordPosAt,
25
25
  vadStep
26
- } from "../chunk-7Z5T3CUI.js";
26
+ } from "../chunk-KEAU5NEM.js";
27
27
  import {
28
28
  buildNarrationScript,
29
29
  buildNarrationTimingJson,
@@ -33,7 +33,7 @@ import {
33
33
  wordIndexAtChar,
34
34
  wordIndexAtTime,
35
35
  wordPosAtExpectedSyllables
36
- } from "../chunk-GSJEGMKF.js";
36
+ } from "../chunk-V6NV4GDE.js";
37
37
  import "../chunk-PUS54YU6.js";
38
38
  import "../chunk-CUYHFOFL.js";
39
39
  import "../chunk-SBAX4ZPO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Headless utilities for doc/block rendering, spatial math, Markdown, and storage",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",