@bendyline/squisq 2.7.1 → 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,39 +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,
10
20
  buildPreviewDoc,
21
+ chooseDashboardLayout,
22
+ composeDashboardLayers,
11
23
  cssFilterForTreatment,
24
+ dashboardCanvasFill,
25
+ dashboardCellAccent,
26
+ desiredCellZoom,
12
27
  docToMarkdown,
13
28
  documentTitleFromFileName,
14
29
  getAnimationProgress,
15
30
  getAnimationStyle,
31
+ getDashboardLayoutSummaries,
16
32
  getDefaultAnimationDuration,
17
33
  getTransitionClass,
18
34
  isRepairableDiagram,
19
35
  isTemplatedPageBlock,
36
+ layoutCapacity,
37
+ listDashboardLayouts,
38
+ materializeDashboard,
20
39
  materializePageSection,
21
40
  materializePageSections,
41
+ normalizeDashboardZoom,
22
42
  pageStyleDataAttributes,
43
+ readDashboardLayoutsFromFrontmatter,
23
44
  renderAsciiDiagram,
24
45
  renderAsciiTimeline,
25
46
  renderTree,
26
47
  repairAsciiDiagram,
27
48
  resolveAudioMapping,
28
49
  resolveCoverSlideSettings,
50
+ resolveDashboardLayoutDefinition,
51
+ resolveDashboardSettings,
52
+ resolveDashboardStyleId,
53
+ resolveDashboardZooms,
54
+ resolveLayoutCells,
29
55
  resolvePageBlock,
30
56
  resolvePageStyle,
31
57
  resolveThemeForDoc,
32
58
  scoreTextSimilarity,
33
59
  sectionExtractors,
60
+ stripBlockBackdropLayer,
61
+ stripsBlockBackdrop,
62
+ transposeCells,
63
+ validateDashboardLayoutDefinition,
34
64
  validateMarkdownDoc,
35
- validateMarkdownSource
36
- } from "../chunk-FPAS63KT.js";
65
+ validateMarkdownSource,
66
+ writeDashboardLayoutsToFrontmatter
67
+ } from "../chunk-PTK2SW2V.js";
37
68
  import {
38
69
  ASCII_CHAR_H,
39
70
  ASCII_CHAR_W,
@@ -153,7 +184,7 @@ import {
153
184
  wrapWithPersistentLayers,
154
185
  writeCustomTemplatesToFrontmatter,
155
186
  writeCustomThemesToFrontmatter
156
- } from "../chunk-ENNNQIYV.js";
187
+ } from "../chunk-V6NV4GDE.js";
157
188
  import {
158
189
  PATH_SHAPE_KINDS,
159
190
  anchorPoint,
@@ -230,10 +261,18 @@ export {
230
261
  ASCII_TIMELINE_FENCE_LANGS,
231
262
  BASE_INPUT_DESCRIPTORS,
232
263
  BLOCK_MEDIA_LAYOUT_POLICIES,
264
+ BUILTIN_DASHBOARD_LAYOUTS,
233
265
  CONTAINER_TEMPLATES,
234
266
  COVER_SLIDE_FRONTMATTER_KEYS,
235
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,
236
273
  DEFAULT_COVER_SLIDE_SETTINGS,
274
+ DEFAULT_DASHBOARD_SETTINGS,
275
+ DEFAULT_DASHBOARD_STYLE,
237
276
  DEFAULT_LAYOUT,
238
277
  DEFAULT_THEME,
239
278
  DIAGRAM_LABEL_HORIZONTAL_PADDING,
@@ -242,6 +281,7 @@ export {
242
281
  DIAGRAM_LABEL_VERTICAL_PADDING,
243
282
  FRONTMATTER_CUSTOM_TEMPLATES_KEY,
244
283
  FRONTMATTER_CUSTOM_THEMES_KEY,
284
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
245
285
  MAX_COVER_SLIDE_DURATION_SECONDS,
246
286
  PAGE_BASE_CSS,
247
287
  PATH_SHAPE_KINDS,
@@ -263,15 +303,18 @@ export {
263
303
  asciiTimelineToTemplateData,
264
304
  autoTemplatePreservesContent,
265
305
  bigText,
306
+ buildDashboardCellChrome,
266
307
  buildPageCss,
267
308
  buildPageCssVars,
268
309
  buildPreviewDoc,
269
310
  buildRegistry,
270
311
  canvasToAsciiCell,
312
+ chooseDashboardLayout,
271
313
  clipEndpoints,
272
314
  clipPoint,
273
315
  coerceTemplateParams,
274
316
  comparisonBar,
317
+ composeDashboardLayers,
275
318
  computeDiagramLayout,
276
319
  computeDrawingLayout,
277
320
  computeLayoutLayers,
@@ -282,10 +325,13 @@ export {
282
325
  createAccentLayers,
283
326
  createTemplateContext,
284
327
  cssFilterForTreatment,
328
+ dashboardCanvasFill,
329
+ dashboardCellAccent,
285
330
  dataTable,
286
331
  dateEvent,
287
332
  definitionCard,
288
333
  deriveTemplateInputs,
334
+ desiredCellZoom,
289
335
  detectAsciiDiagram,
290
336
  detectAsciiTimeline,
291
337
  detectTree,
@@ -323,6 +369,7 @@ export {
323
369
  getBlockBodyText,
324
370
  getBlockDepth,
325
371
  getBlockMediaLayoutPolicy,
372
+ getDashboardLayoutSummaries,
326
373
  getDefaultAnimation,
327
374
  getDefaultAnimationDuration,
328
375
  getLayoutHints,
@@ -355,17 +402,21 @@ export {
355
402
  isTreeFence,
356
403
  isWrappedFlowTimelineSource,
357
404
  layoutBlock,
405
+ layoutCapacity,
358
406
  leftFeature,
359
407
  lineStyleDasharray,
360
408
  lintTemplateParams,
361
409
  listBlock,
410
+ listDashboardLayouts,
362
411
  mapBlock,
363
412
  markdownToDoc,
364
413
  markerPath,
365
414
  materializeBlockLayers,
415
+ materializeDashboard,
366
416
  materializePageSection,
367
417
  materializePageSections,
368
418
  nearestSnapPoint,
419
+ normalizeDashboardZoom,
369
420
  normalizeShapeKind,
370
421
  pageStyleDataAttributes,
371
422
  parseAsciiDiagram,
@@ -380,6 +431,7 @@ export {
380
431
  quoteBlock,
381
432
  readCustomTemplatesFromFrontmatter,
382
433
  readCustomThemesFromFrontmatter,
434
+ readDashboardLayoutsFromFrontmatter,
383
435
  renderAsciiDiagram,
384
436
  renderAsciiTimeline,
385
437
  renderTree,
@@ -388,6 +440,11 @@ export {
388
440
  resolveAudioMapping,
389
441
  resolveColorScheme,
390
442
  resolveCoverSlideSettings,
443
+ resolveDashboardLayoutDefinition,
444
+ resolveDashboardSettings,
445
+ resolveDashboardStyleId,
446
+ resolveDashboardZooms,
447
+ resolveLayoutCells,
391
448
  resolvePageBlock,
392
449
  resolvePageStyle,
393
450
  resolvePersistentLayers,
@@ -405,6 +462,8 @@ export {
405
462
  snapEndpoints,
406
463
  snapPoints,
407
464
  statHighlight,
465
+ stripBlockBackdropLayer,
466
+ stripsBlockBackdrop,
408
467
  templateRegistry,
409
468
  themeWantsAmbientMotion,
410
469
  themedEntrance,
@@ -414,16 +473,19 @@ export {
414
473
  themedSurfaceGradient,
415
474
  timelineBlock,
416
475
  titleBlock,
476
+ transposeCells,
417
477
  treeBlock,
418
478
  treeFromMarkdownList,
419
479
  treeFromTemplateData,
420
480
  treeToTemplateData,
421
481
  twoColumn,
482
+ validateDashboardLayoutDefinition,
422
483
  validateMarkdownDoc,
423
484
  validateMarkdownSource,
424
485
  videoPullQuote,
425
486
  videoWithCaption,
426
487
  wrapWithPersistentLayers,
427
488
  writeCustomTemplatesToFrontmatter,
428
- writeCustomThemesToFrontmatter
489
+ writeCustomThemesToFrontmatter,
490
+ writeDashboardLayoutsToFrontmatter
429
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, BuildPreviewDocOptions, 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, buildPreviewDoc, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, 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, 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-WN27GHA3.js";
26
+ } from "./chunk-KEAU5NEM.js";
27
27
  import {
28
28
  fenceRendererLangs
29
29
  } from "./chunk-PGI7HSWE.js";
@@ -134,41 +134,72 @@ import {
134
134
  haversineDistance
135
135
  } from "./chunk-R3KTTOMS.js";
136
136
  import {
137
+ BUILTIN_DASHBOARD_LAYOUTS,
137
138
  COVER_SLIDE_FRONTMATTER_KEYS,
138
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,
139
145
  DEFAULT_COVER_SLIDE_SETTINGS,
146
+ DEFAULT_DASHBOARD_SETTINGS,
147
+ DEFAULT_DASHBOARD_STYLE,
148
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
140
149
  MAX_COVER_SLIDE_DURATION_SECONDS,
141
150
  PAGE_BASE_CSS,
142
151
  applyNarrationTiming,
152
+ buildDashboardCellChrome,
143
153
  buildPageCss,
144
154
  buildPageCssVars,
145
155
  buildPreviewDoc,
156
+ chooseDashboardLayout,
157
+ composeDashboardLayers,
146
158
  cssFilterForTreatment,
159
+ dashboardCanvasFill,
160
+ dashboardCellAccent,
161
+ desiredCellZoom,
147
162
  docToMarkdown,
148
163
  documentTitleFromFileName,
149
164
  getAnimationProgress,
150
165
  getAnimationStyle,
166
+ getDashboardLayoutSummaries,
151
167
  getDefaultAnimationDuration,
152
168
  getTransitionClass,
153
169
  isRepairableDiagram,
154
170
  isTemplatedPageBlock,
171
+ layoutCapacity,
172
+ listDashboardLayouts,
173
+ materializeDashboard,
155
174
  materializePageSection,
156
175
  materializePageSections,
176
+ normalizeDashboardZoom,
157
177
  pageStyleDataAttributes,
178
+ readDashboardLayoutsFromFrontmatter,
158
179
  renderAsciiDiagram,
159
180
  renderAsciiTimeline,
160
181
  renderTree,
161
182
  repairAsciiDiagram,
162
183
  resolveAudioMapping,
163
184
  resolveCoverSlideSettings,
185
+ resolveDashboardLayoutDefinition,
186
+ resolveDashboardSettings,
187
+ resolveDashboardStyleId,
188
+ resolveDashboardZooms,
189
+ resolveLayoutCells,
164
190
  resolvePageBlock,
165
191
  resolvePageStyle,
166
192
  resolveThemeForDoc,
167
193
  scoreTextSimilarity,
168
194
  sectionExtractors,
195
+ stripBlockBackdropLayer,
196
+ stripsBlockBackdrop,
197
+ transposeCells,
198
+ validateDashboardLayoutDefinition,
169
199
  validateMarkdownDoc,
170
- validateMarkdownSource
171
- } from "./chunk-FPAS63KT.js";
200
+ validateMarkdownSource,
201
+ writeDashboardLayoutsToFrontmatter
202
+ } from "./chunk-PTK2SW2V.js";
172
203
  import {
173
204
  ASCII_CHAR_H,
174
205
  ASCII_CHAR_W,
@@ -296,7 +327,7 @@ import {
296
327
  wrapWithPersistentLayers,
297
328
  writeCustomTemplatesToFrontmatter,
298
329
  writeCustomThemesToFrontmatter
299
- } from "./chunk-ENNNQIYV.js";
330
+ } from "./chunk-V6NV4GDE.js";
300
331
  import {
301
332
  PATH_SHAPE_KINDS,
302
333
  anchorPoint,
@@ -539,12 +570,20 @@ export {
539
570
  BASE_INPUT_DESCRIPTORS,
540
571
  BLOCK_MEDIA_LAYOUT_POLICIES,
541
572
  BLOCK_META_KEY_DESCRIPTORS,
573
+ BUILTIN_DASHBOARD_LAYOUTS,
542
574
  CONTAINER_TEMPLATES,
543
575
  COVER_SLIDE_FRONTMATTER_KEYS,
544
576
  COVER_SLIDE_TEMPLATE_OPTIONS,
545
577
  DARK_SURFACE,
578
+ DASHBOARD_AUTO_LAYOUT_ID,
579
+ DASHBOARD_FRONTMATTER_KEYS,
580
+ DASHBOARD_STYLES,
581
+ DASHBOARD_STYLE_IDS,
582
+ DASHBOARD_ZOOM_LEVELS,
546
583
  DEFAULT_ALIGN_CONFIG,
547
584
  DEFAULT_COVER_SLIDE_SETTINGS,
585
+ DEFAULT_DASHBOARD_SETTINGS,
586
+ DEFAULT_DASHBOARD_STYLE,
548
587
  DEFAULT_DOC_FONT,
549
588
  DEFAULT_FEATURE_CONFIG,
550
589
  DEFAULT_INTERACTIVE_RESOURCE_POLICY,
@@ -570,6 +609,7 @@ export {
570
609
  FONT_FALLBACKS,
571
610
  FRONTMATTER_CUSTOM_TEMPLATES_KEY,
572
611
  FRONTMATTER_CUSTOM_THEMES_KEY,
612
+ FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
573
613
  ICONS,
574
614
  IMAGE_EDIT_ASSETS_PREFIX,
575
615
  IMAGE_EDIT_DEFAULT_BASENAME,
@@ -648,6 +688,7 @@ export {
648
688
  autoTemplatePreservesContent,
649
689
  bandpassRun,
650
690
  bigText,
691
+ buildDashboardCellChrome,
651
692
  buildGoogleFontsUrl,
652
693
  buildImageEditVersionPath,
653
694
  buildJsonFormTokens,
@@ -667,6 +708,7 @@ export {
667
708
  canonicalIconToken,
668
709
  canvasToAsciiCell,
669
710
  chooseControl,
711
+ chooseDashboardLayout,
670
712
  cleanupMarkdownSource,
671
713
  clipEndpoints,
672
714
  clipPoint,
@@ -675,6 +717,7 @@ export {
675
717
  coerceTemplateParams,
676
718
  comparisonBar,
677
719
  compileTheme,
720
+ composeDashboardLayers,
678
721
  computeDiagramLayout,
679
722
  computeDrawingLayout,
680
723
  computeLayoutLayers,
@@ -700,6 +743,8 @@ export {
700
743
  createTransformStyleRegistry,
701
744
  createVadState,
702
745
  cssFilterForTreatment,
746
+ dashboardCanvasFill,
747
+ dashboardCellAccent,
703
748
  dataTable,
704
749
  dateEvent,
705
750
  decodeGeohash,
@@ -708,6 +753,7 @@ export {
708
753
  deriveColorPalette,
709
754
  deriveScale,
710
755
  deriveTemplateInputs,
756
+ desiredCellZoom,
711
757
  detectAsciiDiagram,
712
758
  detectAsciiTimeline,
713
759
  detectMarkdownWrapState,
@@ -781,6 +827,7 @@ export {
781
827
  getByPointer,
782
828
  getCaptionAtTime,
783
829
  getChildren,
830
+ getDashboardLayoutSummaries,
784
831
  getDefaultAnimation,
785
832
  getDefaultAnimationDuration,
786
833
  getDocBasename,
@@ -840,11 +887,13 @@ export {
840
887
  isTreeFence,
841
888
  isWrappedFlowTimelineSource,
842
889
  layoutBlock,
890
+ layoutCapacity,
843
891
  scaledFontSize as layoutScaledFontSize,
844
892
  leftFeature,
845
893
  lineStyleDasharray,
846
894
  lintTemplateParams,
847
895
  listBlock,
896
+ listDashboardLayouts,
848
897
  listImageEditVersions,
849
898
  listVersions,
850
899
  looksLikeIconToken,
@@ -856,11 +905,13 @@ export {
856
905
  matchTrailingPandocAttr,
857
906
  matchTrailingTemplateAnnotation,
858
907
  materializeBlockLayers,
908
+ materializeDashboard,
859
909
  materializePageSection,
860
910
  materializePageSections,
861
911
  narrationSessionStep,
862
912
  nearestSnapPoint,
863
913
  needsQuoting,
914
+ normalizeDashboardZoom,
864
915
  normalizeShapeKind,
865
916
  normalizeTransitionDirection,
866
917
  normalizeTransitionType,
@@ -901,6 +952,7 @@ export {
901
952
  quoteBlock,
902
953
  readCustomTemplatesFromFrontmatter,
903
954
  readCustomThemesFromFrontmatter,
955
+ readDashboardLayoutsFromFrontmatter,
904
956
  readFrontmatterThemeId,
905
957
  readImageEditDoc,
906
958
  readImageEditVersion,
@@ -921,10 +973,15 @@ export {
921
973
  resolveBlockTransition,
922
974
  resolveColorScheme,
923
975
  resolveCoverSlideSettings,
976
+ resolveDashboardLayoutDefinition,
977
+ resolveDashboardSettings,
978
+ resolveDashboardStyleId,
979
+ resolveDashboardZooms,
924
980
  resolveFlag,
925
981
  resolveFontFamily,
926
982
  resolveIcon,
927
983
  resolveJsonFormTheme,
984
+ resolveLayoutCells,
928
985
  resolveMarkdownSafetyLimits,
929
986
  resolveMediaSchedule,
930
987
  resolvePageBlock,
@@ -964,8 +1021,10 @@ export {
964
1021
  statHighlight,
965
1022
  stringifyHtmlNodes,
966
1023
  stringifyMarkdown,
1024
+ stripBlockBackdropLayer,
967
1025
  stripIconMarkers,
968
1026
  stripMarkdown,
1027
+ stripsBlockBackdrop,
969
1028
  suggestIcons,
970
1029
  templateRegistry,
971
1030
  themeWantsAmbientMotion,
@@ -981,6 +1040,7 @@ export {
981
1040
  tokenizeAttrTokens,
982
1041
  touch,
983
1042
  traceWordPosAt,
1043
+ transposeCells,
984
1044
  treeBlock,
985
1045
  treeFromMarkdownList,
986
1046
  treeFromTemplateData,
@@ -991,6 +1051,7 @@ export {
991
1051
  updateLayer,
992
1052
  vadStep,
993
1053
  validateCustomTemplateDefinition,
1054
+ validateDashboardLayoutDefinition,
994
1055
  validateDocSchema,
995
1056
  validateMarkdownDoc,
996
1057
  validateMarkdownSource,
@@ -1006,5 +1067,6 @@ export {
1006
1067
  wrapWithPersistentLayers,
1007
1068
  writeCustomTemplatesToFrontmatter,
1008
1069
  writeCustomThemesToFrontmatter,
1070
+ writeDashboardLayoutsToFrontmatter,
1009
1071
  writeImageEditDoc
1010
1072
  };
@@ -23,7 +23,7 @@ import {
23
23
  reanchorSession,
24
24
  traceWordPosAt,
25
25
  vadStep
26
- } from "../chunk-WN27GHA3.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-ENNNQIYV.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.1",
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",