@bendyline/squisq 2.13.3 → 2.13.4
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-BPhdJFS_.d.ts → Doc-DnRFE0EI.d.ts} +7 -0
- package/dist/{ImageEditDoc-DDx-sw_S.d.ts → ImageEditDoc-CadNz387.d.ts} +1 -1
- package/dist/{chunk-F3LRTRST.js → chunk-BITSNRJH.js} +2 -2
- package/dist/{chunk-VX7MPZOK.js → chunk-DRHJD6U4.js} +1 -1
- package/dist/{chunk-JOBMPMY5.js → chunk-FIPRGGXD.js} +1 -1
- package/dist/{chunk-5FUBK3DK.js → chunk-J2NFT7GH.js} +241 -126
- package/dist/doc/index.d.ts +46 -6
- package/dist/doc/index.js +5 -3
- package/dist/fence/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -4
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/{materializePageSection-DnQi-0TA.d.ts → materializePageSection-D84uA6Vk.d.ts} +1 -1
- package/dist/mediaEdit/index.d.ts +2 -2
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +2 -2
- package/dist/schemas/index.d.ts +4 -4
- package/dist/{themeLibrary-DM7eSK1w.d.ts → themeLibrary-in0fafp4.d.ts} +1 -1
- package/dist/timing/index.d.ts +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/dist/transform/index.js +2 -2
- package/package.json +1 -1
|
@@ -789,6 +789,13 @@ interface BigTextInput extends BaseTemplateBlock {
|
|
|
789
789
|
* vertical video's title clear of captions burned into the lower band.
|
|
790
790
|
*/
|
|
791
791
|
placement?: 'center' | 'upper' | 'lower';
|
|
792
|
+
/**
|
|
793
|
+
* What keeps the title legible over the image (default `bloom`, a radial
|
|
794
|
+
* shade tinted from the theme background). `frosted` leaves the photo clear
|
|
795
|
+
* and sets the title on a frosted-glass plate that hugs it, as the frosted
|
|
796
|
+
* cover does. Ignored without an image.
|
|
797
|
+
*/
|
|
798
|
+
backdrop?: 'bloom' | 'frosted';
|
|
792
799
|
}
|
|
793
800
|
/**
|
|
794
801
|
* Transcript block - one conversational beat: speaker (avatar + name)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as ImageLayer, by as TextLayer, bj as ShapeLayer, aZ as PathLayer } from './Doc-
|
|
1
|
+
import { a3 as ImageLayer, by as TextLayer, bj as ShapeLayer, aZ as PathLayer } from './Doc-DnRFE0EI.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ImageEditDoc — JSON document describing a layered, editable image.
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FTN6SGW5.js";
|
|
4
4
|
import {
|
|
5
5
|
applySavedPresentation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DRHJD6U4.js";
|
|
7
7
|
import {
|
|
8
8
|
SHAPE_NAMES,
|
|
9
9
|
buildChartData,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
templateRegistry,
|
|
32
32
|
writeCustomTemplatesToFrontmatter,
|
|
33
33
|
writeCustomThemesToFrontmatter
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-J2NFT7GH.js";
|
|
35
35
|
import {
|
|
36
36
|
ASCII_TREE_VOCAB,
|
|
37
37
|
ASCII_VOCAB,
|
|
@@ -1289,6 +1289,131 @@ function sectionHeader(input, context) {
|
|
|
1289
1289
|
return layers;
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
|
+
// src/doc/utils/textMetrics.ts
|
|
1293
|
+
var AVERAGE_CHAR_WIDTH_EM = 0.62;
|
|
1294
|
+
var BOLD_CHAR_WIDTH_EM = 0.66;
|
|
1295
|
+
function estimateTextWidth(text, fontSize, charWidthEm = AVERAGE_CHAR_WIDTH_EM) {
|
|
1296
|
+
return text.length * fontSize * charWidthEm;
|
|
1297
|
+
}
|
|
1298
|
+
var DISPLAY_CHAR_EM = {
|
|
1299
|
+
space: 0.27,
|
|
1300
|
+
narrowLower: 0.36,
|
|
1301
|
+
wideLower: 0.86,
|
|
1302
|
+
lower: 0.57,
|
|
1303
|
+
narrowUpper: 0.4,
|
|
1304
|
+
wideUpper: 0.95,
|
|
1305
|
+
upper: 0.7,
|
|
1306
|
+
digit: 0.57,
|
|
1307
|
+
punct: 0.34,
|
|
1308
|
+
other: 0.62
|
|
1309
|
+
};
|
|
1310
|
+
function displayCharEm(ch) {
|
|
1311
|
+
if (ch === " ") return DISPLAY_CHAR_EM.space;
|
|
1312
|
+
if ("fijlrt".includes(ch)) return DISPLAY_CHAR_EM.narrowLower;
|
|
1313
|
+
if (ch === "m" || ch === "w") return DISPLAY_CHAR_EM.wideLower;
|
|
1314
|
+
if (ch >= "a" && ch <= "z") return DISPLAY_CHAR_EM.lower;
|
|
1315
|
+
if (ch === "I" || ch === "J") return DISPLAY_CHAR_EM.narrowUpper;
|
|
1316
|
+
if (ch === "M" || ch === "W") return DISPLAY_CHAR_EM.wideUpper;
|
|
1317
|
+
if (ch >= "A" && ch <= "Z") return DISPLAY_CHAR_EM.upper;
|
|
1318
|
+
if (ch >= "0" && ch <= "9") return DISPLAY_CHAR_EM.digit;
|
|
1319
|
+
if (".,:;-/'\u2019!?()".includes(ch)) return DISPLAY_CHAR_EM.punct;
|
|
1320
|
+
return DISPLAY_CHAR_EM.other;
|
|
1321
|
+
}
|
|
1322
|
+
function estimateDisplayTextWidth(text, fontSize) {
|
|
1323
|
+
let em = 0;
|
|
1324
|
+
for (const ch of text.normalize("NFD").replace(/\p{M}/gu, "")) em += displayCharEm(ch);
|
|
1325
|
+
return em * fontSize;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
// src/doc/templates/frostedPlate.ts
|
|
1329
|
+
var FROSTED_PAD_X_EM = 0.45;
|
|
1330
|
+
var FROSTED_PAD_Y_EM = 0.3;
|
|
1331
|
+
var FROSTED_RADIUS_EM = 0.3;
|
|
1332
|
+
var FROSTED_BLUR_SHARE = 0.0167;
|
|
1333
|
+
var FROSTED_TINT_UNDER_LIGHT_TEXT = "rgba(12, 12, 14, 0.26)";
|
|
1334
|
+
var FROSTED_TINT_UNDER_DARK_TEXT = "rgba(250, 250, 250, 0.5)";
|
|
1335
|
+
var FROSTED_BACKDROP_CONTRAST = 0.65;
|
|
1336
|
+
function frostedUnderLightText(context) {
|
|
1337
|
+
return relativeLuminance(context.theme.colors.text) > 0.5;
|
|
1338
|
+
}
|
|
1339
|
+
function frostedBlurPx(context) {
|
|
1340
|
+
const { width, height } = context.viewport;
|
|
1341
|
+
return Math.round(FROSTED_BLUR_SHARE * Math.min(width, height));
|
|
1342
|
+
}
|
|
1343
|
+
function pct(value, total) {
|
|
1344
|
+
return `${Math.round(value / total * 1e4) / 100}%`;
|
|
1345
|
+
}
|
|
1346
|
+
function frostedPlateLayer(id, plate, context) {
|
|
1347
|
+
const { viewport } = context;
|
|
1348
|
+
const lightText = frostedUnderLightText(context);
|
|
1349
|
+
return {
|
|
1350
|
+
type: "shape",
|
|
1351
|
+
id,
|
|
1352
|
+
content: {
|
|
1353
|
+
shape: "rect",
|
|
1354
|
+
fill: lightText ? FROSTED_TINT_UNDER_LIGHT_TEXT : FROSTED_TINT_UNDER_DARK_TEXT,
|
|
1355
|
+
borderRadius: Math.round(plate.radius),
|
|
1356
|
+
backdropBlur: frostedBlurPx(context),
|
|
1357
|
+
...lightText ? { backdropContrast: FROSTED_BACKDROP_CONTRAST } : {}
|
|
1358
|
+
},
|
|
1359
|
+
position: {
|
|
1360
|
+
x: pct(plate.x, viewport.width),
|
|
1361
|
+
y: pct(plate.y, viewport.height),
|
|
1362
|
+
width: pct(plate.width, viewport.width),
|
|
1363
|
+
height: pct(plate.height, viewport.height)
|
|
1364
|
+
}
|
|
1365
|
+
};
|
|
1366
|
+
}
|
|
1367
|
+
var INK_EM = {
|
|
1368
|
+
xHeight: 0.45,
|
|
1369
|
+
capital: 0.67,
|
|
1370
|
+
ascent: 0.71,
|
|
1371
|
+
accentedCapital: 0.8,
|
|
1372
|
+
descent: 0.2,
|
|
1373
|
+
comma: 0.155
|
|
1374
|
+
};
|
|
1375
|
+
function opticalCentreShiftEm(lines) {
|
|
1376
|
+
const first = (lines[0] ?? "").normalize("NFD");
|
|
1377
|
+
const last = lines[lines.length - 1] ?? "";
|
|
1378
|
+
const top = /[A-Z]\p{M}/u.test(first) ? INK_EM.accentedCapital : /[bdfhklt]|[a-z]\p{M}/u.test(first) ? INK_EM.ascent : /[A-Z0-9]/.test(first) ? INK_EM.capital : INK_EM.xHeight;
|
|
1379
|
+
const bottom = /[gjpqyQ]/.test(last) ? INK_EM.descent : /[,;]/.test(last) ? INK_EM.comma : 0;
|
|
1380
|
+
return Math.round(((top - bottom) / 2 - INK_EM.xHeight / 2) * 1e3) / 1e3;
|
|
1381
|
+
}
|
|
1382
|
+
function wrapDisplayLine(line, fontSize, maxWidth) {
|
|
1383
|
+
const lines = [];
|
|
1384
|
+
let current = "";
|
|
1385
|
+
for (const word of line.trim().split(/\s+/).filter(Boolean)) {
|
|
1386
|
+
const candidate = current ? `${current} ${word}` : word;
|
|
1387
|
+
if (!current || estimateDisplayTextWidth(candidate, fontSize) <= maxWidth) {
|
|
1388
|
+
current = candidate;
|
|
1389
|
+
} else {
|
|
1390
|
+
lines.push(current);
|
|
1391
|
+
current = word;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
if (current) lines.push(current);
|
|
1395
|
+
return lines.length > 0 ? lines : [""];
|
|
1396
|
+
}
|
|
1397
|
+
function balancedDisplayLines(line, fontSize, maxWidth) {
|
|
1398
|
+
const greedy = wrapDisplayLine(line, fontSize, maxWidth);
|
|
1399
|
+
if (greedy.length < 2) return greedy;
|
|
1400
|
+
let lo = Math.max(
|
|
1401
|
+
...line.split(/\s+/).filter(Boolean).map((word) => estimateDisplayTextWidth(word, fontSize))
|
|
1402
|
+
);
|
|
1403
|
+
let hi = maxWidth;
|
|
1404
|
+
if (lo >= hi) return greedy;
|
|
1405
|
+
while (hi - lo > 0.5) {
|
|
1406
|
+
const mid = (lo + hi) / 2;
|
|
1407
|
+
if (wrapDisplayLine(line, fontSize, mid).length <= greedy.length) hi = mid;
|
|
1408
|
+
else lo = mid;
|
|
1409
|
+
}
|
|
1410
|
+
return wrapDisplayLine(line, fontSize, hi);
|
|
1411
|
+
}
|
|
1412
|
+
function frostedTitleBoxWidth(lines, fontSize, textWidth) {
|
|
1413
|
+
const longestChars = Math.max(...lines.map((line) => line.length));
|
|
1414
|
+
return Math.max(textWidth, longestChars * fontSize * 0.5 + 1);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1292
1417
|
// src/doc/templates/bigText.ts
|
|
1293
1418
|
var BIG_TEXT_LINE_HEIGHT = 1.05;
|
|
1294
1419
|
var BIG_TEXT_WIDTH_FRACTION = 0.92;
|
|
@@ -1338,6 +1463,65 @@ function fitBigTextSize(title, viewport, heightFraction = BIG_TEXT_HEIGHT_FRACTI
|
|
|
1338
1463
|
}
|
|
1339
1464
|
return Math.floor(low);
|
|
1340
1465
|
}
|
|
1466
|
+
var BIG_TEXT_FROSTED_WIDTH_FRACTION = 0.9;
|
|
1467
|
+
var BIG_TEXT_FROSTED_HEIGHT_SHARE = 0.45;
|
|
1468
|
+
function frostedBigTextLayout(displayTitle, viewport, band = BIG_TEXT_BANDS.center) {
|
|
1469
|
+
const maxPlateWidth = viewport.width * BIG_TEXT_FROSTED_WIDTH_FRACTION;
|
|
1470
|
+
const maxPlateHeight = Math.min(
|
|
1471
|
+
viewport.height * band.height,
|
|
1472
|
+
Math.min(viewport.width, viewport.height) * BIG_TEXT_FROSTED_HEIGHT_SHARE
|
|
1473
|
+
);
|
|
1474
|
+
const wrapAt = (size) => {
|
|
1475
|
+
const column2 = maxPlateWidth - 2 * FROSTED_PAD_X_EM * size;
|
|
1476
|
+
const lines2 = displayTitle.split("\n").flatMap((line) => balancedDisplayLines(line, size, Math.max(1, column2)));
|
|
1477
|
+
const width2 = Math.max(...lines2.map((line) => estimateDisplayTextWidth(line, size)));
|
|
1478
|
+
return { lines: lines2, width: width2, column: column2 };
|
|
1479
|
+
};
|
|
1480
|
+
const fits = (size) => {
|
|
1481
|
+
const { lines: lines2, width: width2, column: column2 } = wrapAt(size);
|
|
1482
|
+
const height = (lines2.length * BIG_TEXT_LINE_HEIGHT + 2 * FROSTED_PAD_Y_EM) * size;
|
|
1483
|
+
return width2 <= column2 && height <= maxPlateHeight;
|
|
1484
|
+
};
|
|
1485
|
+
let low = BIG_TEXT_MIN_PX;
|
|
1486
|
+
let high = maxPlateHeight / (BIG_TEXT_LINE_HEIGHT + 2 * FROSTED_PAD_Y_EM);
|
|
1487
|
+
if (high > low && fits(low)) {
|
|
1488
|
+
for (let i = 0; i < 24; i += 1) {
|
|
1489
|
+
const mid = (low + high) / 2;
|
|
1490
|
+
if (fits(mid)) low = mid;
|
|
1491
|
+
else high = mid;
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
const fontSize = Math.floor(low);
|
|
1495
|
+
const { lines, width, column } = wrapAt(fontSize);
|
|
1496
|
+
const textWidth = Math.min(width, column);
|
|
1497
|
+
const textHeight = lines.length * fontSize * BIG_TEXT_LINE_HEIGHT;
|
|
1498
|
+
const padX = FROSTED_PAD_X_EM * fontSize;
|
|
1499
|
+
const padY = FROSTED_PAD_Y_EM * fontSize;
|
|
1500
|
+
const plateWidth = textWidth + 2 * padX;
|
|
1501
|
+
const plateHeight = textHeight + 2 * padY;
|
|
1502
|
+
const cx = viewport.width / 2;
|
|
1503
|
+
const cy = viewport.height * band.y;
|
|
1504
|
+
return {
|
|
1505
|
+
fontSize,
|
|
1506
|
+
lines,
|
|
1507
|
+
plate: {
|
|
1508
|
+
x: cx - plateWidth / 2,
|
|
1509
|
+
y: cy - plateHeight / 2,
|
|
1510
|
+
width: plateWidth,
|
|
1511
|
+
height: plateHeight,
|
|
1512
|
+
radius: FROSTED_RADIUS_EM * fontSize
|
|
1513
|
+
},
|
|
1514
|
+
// As on the frosted cover, the box spans the padding: shrink-to-fit measures the
|
|
1515
|
+
// font's whole ascent and descent, more than a line of display type.
|
|
1516
|
+
title: {
|
|
1517
|
+
cx,
|
|
1518
|
+
cy,
|
|
1519
|
+
width: frostedTitleBoxWidth(lines, fontSize, textWidth),
|
|
1520
|
+
height: plateHeight
|
|
1521
|
+
},
|
|
1522
|
+
baselineShift: opticalCentreShiftEm(lines)
|
|
1523
|
+
};
|
|
1524
|
+
}
|
|
1341
1525
|
function bigTextBloom(background, centerY = 0.5) {
|
|
1342
1526
|
return `radial-gradient(ellipse at 50% ${Math.round(centerY * 100)}%, ${withAlpha(background, 0.92)} 0%, ${withAlpha(background, 0.78)} 38%, ${withAlpha(background, 0.32)} 66%, ${withAlpha(background, 0)} 88%)`;
|
|
1343
1527
|
}
|
|
@@ -1347,27 +1531,28 @@ function bigText(input, context) {
|
|
|
1347
1531
|
const band = BIG_TEXT_BANDS[input.placement ?? "center"] ?? BIG_TEXT_BANDS.center;
|
|
1348
1532
|
const treatment = themedImageTreatment(context, input.imageTreatment);
|
|
1349
1533
|
const displayTitle = title.toUpperCase();
|
|
1534
|
+
const frosted = input.backdrop === "frosted" && !!imageSrc;
|
|
1350
1535
|
const titleFontSize = fitBigTextSize(displayTitle, viewport, band.height);
|
|
1351
1536
|
const layers = [];
|
|
1352
1537
|
if (imageSrc) {
|
|
1353
|
-
layers.push(
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
...treatment ? { treatment } : {}
|
|
1362
|
-
},
|
|
1363
|
-
position: { x: 0, y: 0, width: "100%", height: "100%" },
|
|
1364
|
-
animation: mapAmbientMotion(ambientMotion, 8) ?? {
|
|
1365
|
-
type: "slowZoom",
|
|
1366
|
-
duration: 8,
|
|
1367
|
-
direction: "in"
|
|
1368
|
-
}
|
|
1538
|
+
layers.push({
|
|
1539
|
+
type: "image",
|
|
1540
|
+
id: "bigtext-image",
|
|
1541
|
+
content: {
|
|
1542
|
+
src: imageSrc,
|
|
1543
|
+
alt: imageAlt || title,
|
|
1544
|
+
fit: "cover",
|
|
1545
|
+
...treatment ? { treatment } : {}
|
|
1369
1546
|
},
|
|
1370
|
-
{
|
|
1547
|
+
position: { x: 0, y: 0, width: "100%", height: "100%" },
|
|
1548
|
+
animation: mapAmbientMotion(ambientMotion, 8) ?? {
|
|
1549
|
+
type: "slowZoom",
|
|
1550
|
+
duration: 8,
|
|
1551
|
+
direction: "in"
|
|
1552
|
+
}
|
|
1553
|
+
});
|
|
1554
|
+
if (!frosted) {
|
|
1555
|
+
layers.push({
|
|
1371
1556
|
type: "shape",
|
|
1372
1557
|
id: "bigtext-bloom",
|
|
1373
1558
|
content: {
|
|
@@ -1375,8 +1560,8 @@ function bigText(input, context) {
|
|
|
1375
1560
|
fill: bigTextBloom(theme.colors.background, band.y)
|
|
1376
1561
|
},
|
|
1377
1562
|
position: { x: 0, y: 0, width: "100%", height: "100%" }
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1380
1565
|
} else {
|
|
1381
1566
|
layers.push(
|
|
1382
1567
|
{
|
|
@@ -1399,6 +1584,38 @@ function bigText(input, context) {
|
|
|
1399
1584
|
}
|
|
1400
1585
|
);
|
|
1401
1586
|
}
|
|
1587
|
+
if (frosted) {
|
|
1588
|
+
const layout = frostedBigTextLayout(displayTitle, viewport, band);
|
|
1589
|
+
const lightText = frostedUnderLightText(context);
|
|
1590
|
+
layers.push(frostedPlateLayer("bigtext-plate", layout.plate, context), {
|
|
1591
|
+
type: "text",
|
|
1592
|
+
id: "bigtext-title",
|
|
1593
|
+
content: {
|
|
1594
|
+
text: layout.lines.join("\n"),
|
|
1595
|
+
style: {
|
|
1596
|
+
fontSize: layout.fontSize,
|
|
1597
|
+
fontFamily: getThemeFont(context, "title"),
|
|
1598
|
+
fontWeight: "bold",
|
|
1599
|
+
color: theme.colors.text,
|
|
1600
|
+
textAlign: "center",
|
|
1601
|
+
verticalAlign: "middle",
|
|
1602
|
+
lineHeight: BIG_TEXT_LINE_HEIGHT,
|
|
1603
|
+
baselineShift: layout.baselineShift,
|
|
1604
|
+
shadow: lightText,
|
|
1605
|
+
shrinkToFit: true
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
position: {
|
|
1609
|
+
x: "50%",
|
|
1610
|
+
y: pct(layout.title.cy, viewport.height),
|
|
1611
|
+
anchor: "center",
|
|
1612
|
+
width: pct(layout.title.width, viewport.width),
|
|
1613
|
+
height: pct(layout.title.height, viewport.height)
|
|
1614
|
+
},
|
|
1615
|
+
animation: motionEntrance(context, { type: "fadeIn", duration: 1 })
|
|
1616
|
+
});
|
|
1617
|
+
return layers;
|
|
1618
|
+
}
|
|
1402
1619
|
layers.push({
|
|
1403
1620
|
type: "text",
|
|
1404
1621
|
id: "bigtext-title",
|
|
@@ -7042,42 +7259,6 @@ function treeBlock(input, context) {
|
|
|
7042
7259
|
return layers;
|
|
7043
7260
|
}
|
|
7044
7261
|
|
|
7045
|
-
// src/doc/utils/textMetrics.ts
|
|
7046
|
-
var AVERAGE_CHAR_WIDTH_EM = 0.62;
|
|
7047
|
-
var BOLD_CHAR_WIDTH_EM = 0.66;
|
|
7048
|
-
function estimateTextWidth(text, fontSize, charWidthEm = AVERAGE_CHAR_WIDTH_EM) {
|
|
7049
|
-
return text.length * fontSize * charWidthEm;
|
|
7050
|
-
}
|
|
7051
|
-
var DISPLAY_CHAR_EM = {
|
|
7052
|
-
space: 0.27,
|
|
7053
|
-
narrowLower: 0.36,
|
|
7054
|
-
wideLower: 0.86,
|
|
7055
|
-
lower: 0.57,
|
|
7056
|
-
narrowUpper: 0.4,
|
|
7057
|
-
wideUpper: 0.95,
|
|
7058
|
-
upper: 0.7,
|
|
7059
|
-
digit: 0.57,
|
|
7060
|
-
punct: 0.34,
|
|
7061
|
-
other: 0.62
|
|
7062
|
-
};
|
|
7063
|
-
function displayCharEm(ch) {
|
|
7064
|
-
if (ch === " ") return DISPLAY_CHAR_EM.space;
|
|
7065
|
-
if ("fijlrt".includes(ch)) return DISPLAY_CHAR_EM.narrowLower;
|
|
7066
|
-
if (ch === "m" || ch === "w") return DISPLAY_CHAR_EM.wideLower;
|
|
7067
|
-
if (ch >= "a" && ch <= "z") return DISPLAY_CHAR_EM.lower;
|
|
7068
|
-
if (ch === "I" || ch === "J") return DISPLAY_CHAR_EM.narrowUpper;
|
|
7069
|
-
if (ch === "M" || ch === "W") return DISPLAY_CHAR_EM.wideUpper;
|
|
7070
|
-
if (ch >= "A" && ch <= "Z") return DISPLAY_CHAR_EM.upper;
|
|
7071
|
-
if (ch >= "0" && ch <= "9") return DISPLAY_CHAR_EM.digit;
|
|
7072
|
-
if (".,:;-/'\u2019!?()".includes(ch)) return DISPLAY_CHAR_EM.punct;
|
|
7073
|
-
return DISPLAY_CHAR_EM.other;
|
|
7074
|
-
}
|
|
7075
|
-
function estimateDisplayTextWidth(text, fontSize) {
|
|
7076
|
-
let em = 0;
|
|
7077
|
-
for (const ch of text.normalize("NFD").replace(/\p{M}/gu, "")) em += displayCharEm(ch);
|
|
7078
|
-
return em * fontSize;
|
|
7079
|
-
}
|
|
7080
|
-
|
|
7081
7262
|
// src/doc/templates/timelineBlock.ts
|
|
7082
7263
|
var clamp01 = (value) => Math.max(0, Math.min(1, value));
|
|
7083
7264
|
var clamp = (value, min, max) => Math.max(min, Math.min(max, value));
|
|
@@ -10156,53 +10337,8 @@ function coverScrimGradient(background) {
|
|
|
10156
10337
|
var FROSTED_LINE_HEIGHT = 1.12;
|
|
10157
10338
|
var FROSTED_MAX_LINES = 3;
|
|
10158
10339
|
var FROSTED_SQUARE_SHARE = 0.9;
|
|
10159
|
-
var FROSTED_PAD_X_EM = 0.45;
|
|
10160
|
-
var FROSTED_PAD_Y_EM = 0.3;
|
|
10161
|
-
var FROSTED_RADIUS_EM = 0.3;
|
|
10162
|
-
var FROSTED_BLUR_SHARE = 0.0167;
|
|
10163
10340
|
var FROSTED_BOTTOM_MARGIN_PCT = { wide: 7, tall: 17 };
|
|
10164
|
-
var FROSTED_TINT_UNDER_LIGHT_TEXT = "rgba(12, 12, 14, 0.26)";
|
|
10165
|
-
var FROSTED_TINT_UNDER_DARK_TEXT = "rgba(250, 250, 250, 0.5)";
|
|
10166
|
-
var FROSTED_BACKDROP_CONTRAST = 0.65;
|
|
10167
10341
|
var COVER_SUBTITLE_BASE_PX = 40;
|
|
10168
|
-
var INK_EM = { xHeight: 0.45, ascent: 0.71, accentedCapital: 0.8, descent: 0.165 };
|
|
10169
|
-
function opticalCentreShiftEm(lines) {
|
|
10170
|
-
const first = (lines[0] ?? "").normalize("NFD");
|
|
10171
|
-
const last = lines[lines.length - 1] ?? "";
|
|
10172
|
-
const top = /[A-Z]\p{M}/u.test(first) ? INK_EM.accentedCapital : /[A-Zbdfhklt0-9]|[a-z]\p{M}/u.test(first) ? INK_EM.ascent : INK_EM.xHeight;
|
|
10173
|
-
const bottom = /[gjpqyQ,;]/.test(last) ? INK_EM.descent : 0;
|
|
10174
|
-
return Math.round(((top - bottom) / 2 - INK_EM.xHeight / 2) * 1e3) / 1e3;
|
|
10175
|
-
}
|
|
10176
|
-
function wrapDisplayLine(line, fontSize, maxWidth) {
|
|
10177
|
-
const lines = [];
|
|
10178
|
-
let current = "";
|
|
10179
|
-
for (const word of line.trim().split(/\s+/).filter(Boolean)) {
|
|
10180
|
-
const candidate = current ? `${current} ${word}` : word;
|
|
10181
|
-
if (!current || estimateDisplayTextWidth(candidate, fontSize) <= maxWidth) {
|
|
10182
|
-
current = candidate;
|
|
10183
|
-
} else {
|
|
10184
|
-
lines.push(current);
|
|
10185
|
-
current = word;
|
|
10186
|
-
}
|
|
10187
|
-
}
|
|
10188
|
-
if (current) lines.push(current);
|
|
10189
|
-
return lines.length > 0 ? lines : [""];
|
|
10190
|
-
}
|
|
10191
|
-
function balancedDisplayLines(line, fontSize, maxWidth) {
|
|
10192
|
-
const greedy = wrapDisplayLine(line, fontSize, maxWidth);
|
|
10193
|
-
if (greedy.length < 2) return greedy;
|
|
10194
|
-
let lo = Math.max(
|
|
10195
|
-
...line.split(/\s+/).filter(Boolean).map((word) => estimateDisplayTextWidth(word, fontSize))
|
|
10196
|
-
);
|
|
10197
|
-
let hi = maxWidth;
|
|
10198
|
-
if (lo >= hi) return greedy;
|
|
10199
|
-
while (hi - lo > 0.5) {
|
|
10200
|
-
const mid = (lo + hi) / 2;
|
|
10201
|
-
if (wrapDisplayLine(line, fontSize, mid).length <= greedy.length) hi = mid;
|
|
10202
|
-
else lo = mid;
|
|
10203
|
-
}
|
|
10204
|
-
return wrapDisplayLine(line, fontSize, hi);
|
|
10205
|
-
}
|
|
10206
10342
|
function frostedCoverLayout(title, subtitle, context) {
|
|
10207
10343
|
const { width: frameW, height: frameH } = context.viewport;
|
|
10208
10344
|
const shortSide = Math.min(frameW, frameH);
|
|
@@ -10246,8 +10382,6 @@ function frostedCoverLayout(title, subtitle, context) {
|
|
|
10246
10382
|
const plateBottom = frameH * (1 - marginPct / 100);
|
|
10247
10383
|
const plateY = plateBottom - plateHeight;
|
|
10248
10384
|
const cx = frameW / 2;
|
|
10249
|
-
const longestChars = Math.max(...lines.map((line) => line.length));
|
|
10250
|
-
const titleBoxWidth = Math.max(textWidth, longestChars * fontSize * 0.5 + 1);
|
|
10251
10385
|
return {
|
|
10252
10386
|
fontSize,
|
|
10253
10387
|
lines,
|
|
@@ -10264,7 +10398,7 @@ function frostedCoverLayout(title, subtitle, context) {
|
|
|
10264
10398
|
title: {
|
|
10265
10399
|
cx,
|
|
10266
10400
|
cy: plateY + padY + textHeight / 2,
|
|
10267
|
-
width:
|
|
10401
|
+
width: frostedTitleBoxWidth(lines, fontSize, textWidth),
|
|
10268
10402
|
height: textHeight + 2 * padY
|
|
10269
10403
|
},
|
|
10270
10404
|
...sub ? {
|
|
@@ -10281,35 +10415,15 @@ function frostedCoverLayout(title, subtitle, context) {
|
|
|
10281
10415
|
}
|
|
10282
10416
|
} : {},
|
|
10283
10417
|
baselineShift: opticalCentreShiftEm(lines),
|
|
10284
|
-
blur:
|
|
10418
|
+
blur: frostedBlurPx(context)
|
|
10285
10419
|
};
|
|
10286
10420
|
}
|
|
10287
|
-
function pct(value, total) {
|
|
10288
|
-
return `${Math.round(value / total * 1e4) / 100}%`;
|
|
10289
|
-
}
|
|
10290
10421
|
function frostedCoverLayers(input, context) {
|
|
10291
10422
|
const { theme, viewport } = context;
|
|
10292
10423
|
const layout = frostedCoverLayout(input.title, input.subtitle, context);
|
|
10293
|
-
const lightText =
|
|
10294
|
-
const { plate } = layout;
|
|
10424
|
+
const lightText = frostedUnderLightText(context);
|
|
10295
10425
|
const layers = [
|
|
10296
|
-
|
|
10297
|
-
type: "shape",
|
|
10298
|
-
id: "cover-plate",
|
|
10299
|
-
content: {
|
|
10300
|
-
shape: "rect",
|
|
10301
|
-
fill: lightText ? FROSTED_TINT_UNDER_LIGHT_TEXT : FROSTED_TINT_UNDER_DARK_TEXT,
|
|
10302
|
-
borderRadius: Math.round(plate.radius),
|
|
10303
|
-
backdropBlur: layout.blur,
|
|
10304
|
-
...lightText ? { backdropContrast: FROSTED_BACKDROP_CONTRAST } : {}
|
|
10305
|
-
},
|
|
10306
|
-
position: {
|
|
10307
|
-
x: pct(plate.x, viewport.width),
|
|
10308
|
-
y: pct(plate.y, viewport.height),
|
|
10309
|
-
width: pct(plate.width, viewport.width),
|
|
10310
|
-
height: pct(plate.height, viewport.height)
|
|
10311
|
-
}
|
|
10312
|
-
},
|
|
10426
|
+
frostedPlateLayer("cover-plate", layout.plate, context),
|
|
10313
10427
|
{
|
|
10314
10428
|
type: "text",
|
|
10315
10429
|
id: "cover-title",
|
|
@@ -12338,6 +12452,7 @@ export {
|
|
|
12338
12452
|
adjustY,
|
|
12339
12453
|
sectionHeader,
|
|
12340
12454
|
fitBigTextSize,
|
|
12455
|
+
frostedBigTextLayout,
|
|
12341
12456
|
bigText,
|
|
12342
12457
|
contentBlock,
|
|
12343
12458
|
parseStatNumber,
|
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a7 as Layer, k as Block, R as Doc, bt as TemplateBlock, bu as TemplateContext, z as CustomTemplateDefinition, bw as TemplateRegistry, bC as Theme, c7 as ViewportConfig, b0 as PersistentLayerConfig, av as MotionSpec, S as DocBlock, c8 as ViewportOrientation, a$ as PersistentLayer, bP as TitleBlockInput, bh as SectionHeaderInput, j as BigTextInput, v as ContentBlockInput, bn as StatHighlightInput, bb as QuoteBlockInput, Z as FactCardInput, bY as TwoColumnInput, K as DateEventInput, a5 as ImageWithCaptionInput, aa as LeftFeatureInput, be as RightFeatureInput, n as BottomFeatureInput, ao as MediaOnlyInput, bR as TopFeatureInput, af as MapBlockInput, bm as StartBlockConfig, a0 as FullBleedQuoteInput, ad as ListBlockInput, b4 as PhotoGridInput, M as DefinitionCardInput, u as ComparisonBarInput, ba as PullQuoteInput, c6 as VideoWithCaptionInput, c5 as VideoPullQuoteInput, J as DataTableInput, N as DiagramBlockInput, bT as TreeBlockInput, bL as TimelineBlockInput, V as DrawingBlockInput, aj as MarkerStyle, A as AccentImage, a4 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, aw as MotionState, at as MotionProfile, bE as ThemeColorScheme, x as CountUpSpec, bG as ThemeRegistry, aT as PageEmphasis, bF as ThemePageStyle, T as DocDiagnostic, Q as DiagramTemplateNode, P as DiagramTemplateEdge, bO as TimelineTemplateTrack, bN as TimelineTemplateLink } from '../Doc-
|
|
2
|
-
export { W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, a9 as LayoutHints, bd as RenderStyle, bD as ThemeColorPalette, bJ as ThemeStyle, bK as ThemeTypography, bZ as VIEWPORT_PRESETS, c9 as ViewportPreset, ce as createTemplateContext, cl as getLayoutHints, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cu as isTemplateBlock, cA as scaledFontSize } from '../Doc-
|
|
1
|
+
import { a7 as Layer, k as Block, R as Doc, bt as TemplateBlock, bu as TemplateContext, z as CustomTemplateDefinition, bw as TemplateRegistry, bC as Theme, c7 as ViewportConfig, b0 as PersistentLayerConfig, av as MotionSpec, S as DocBlock, c8 as ViewportOrientation, a$ as PersistentLayer, bP as TitleBlockInput, bh as SectionHeaderInput, j as BigTextInput, v as ContentBlockInput, bn as StatHighlightInput, bb as QuoteBlockInput, Z as FactCardInput, bY as TwoColumnInput, K as DateEventInput, a5 as ImageWithCaptionInput, aa as LeftFeatureInput, be as RightFeatureInput, n as BottomFeatureInput, ao as MediaOnlyInput, bR as TopFeatureInput, af as MapBlockInput, bm as StartBlockConfig, a0 as FullBleedQuoteInput, ad as ListBlockInput, b4 as PhotoGridInput, M as DefinitionCardInput, u as ComparisonBarInput, ba as PullQuoteInput, c6 as VideoWithCaptionInput, c5 as VideoPullQuoteInput, J as DataTableInput, N as DiagramBlockInput, bT as TreeBlockInput, bL as TimelineBlockInput, V as DrawingBlockInput, aj as MarkerStyle, A as AccentImage, a4 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, aw as MotionState, at as MotionProfile, bE as ThemeColorScheme, x as CountUpSpec, bG as ThemeRegistry, aT as PageEmphasis, bF as ThemePageStyle, T as DocDiagnostic, Q as DiagramTemplateNode, P as DiagramTemplateEdge, bO as TimelineTemplateTrack, bN as TimelineTemplateLink } from '../Doc-DnRFE0EI.js';
|
|
2
|
+
export { W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, a9 as LayoutHints, bd as RenderStyle, bD as ThemeColorPalette, bJ as ThemeStyle, bK as ThemeTypography, bZ as VIEWPORT_PRESETS, c9 as ViewportPreset, ce as createTemplateContext, cl as getLayoutHints, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cu as isTemplateBlock, cA as scaledFontSize } from '../Doc-DnRFE0EI.js';
|
|
3
3
|
import { g as BuildStep, M as MarkdownBlockNode, S as MarkdownListItem, f as BuildSpec, e as BuildCursor, h as BuildTiming, V as MarkdownNode, ae as TransitionType, ad as TransitionDirection, z as MarkdownHeading, v as MarkdownDocument, a2 as MarkdownTable, q as MarkdownCodeBlock, R as MarkdownList } from '../types-Zk8qYuaT.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-hTvELpIN.js';
|
|
5
|
-
import { c as PageSection } from '../materializePageSection-
|
|
6
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, 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-
|
|
5
|
+
import { c as PageSection } from '../materializePageSection-D84uA6Vk.js';
|
|
6
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, 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-D84uA6Vk.js';
|
|
7
7
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
8
8
|
import { V as ViewIssue } from '../viewState-lTZS-hP_.js';
|
|
9
|
-
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
9
|
+
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-in0fafp4.js';
|
|
10
10
|
|
|
11
11
|
/** Pure build planning and evaluation, shared by interactive slides and frame export. */
|
|
12
12
|
|
|
@@ -867,6 +867,12 @@ declare function sectionHeader(input: SectionHeaderInput, context: TemplateConte
|
|
|
867
867
|
* cover's scrim follows. Built for YouTube covers and social thumbnails,
|
|
868
868
|
* but works as an ordinary block template too.
|
|
869
869
|
*
|
|
870
|
+
* `backdrop: 'frosted'` swaps the bloom for the frosted-glass plate of the
|
|
871
|
+
* frosted cover (frostedPlate.ts): the photo stays clear and the title sits
|
|
872
|
+
* on glass that hugs it, centred in its placement band, sized as large as
|
|
873
|
+
* the glass allows within 90% of the frame width. Only with an image; the
|
|
874
|
+
* plate never fades (a fading ancestor would switch its blur off).
|
|
875
|
+
*
|
|
870
876
|
* This is shared code used by both site and efb-app doc renderers.
|
|
871
877
|
*/
|
|
872
878
|
|
|
@@ -876,6 +882,40 @@ declare function sectionHeader(input: SectionHeaderInput, context: TemplateConte
|
|
|
876
882
|
* then binary-searched against the wrapped block's height.
|
|
877
883
|
*/
|
|
878
884
|
declare function fitBigTextSize(title: string, viewport: ViewportConfig, heightFraction?: number): number;
|
|
885
|
+
/** Geometry of a frosted big-text card, in px of the viewport (exported for tests and tools). */
|
|
886
|
+
interface FrostedBigTextLayout {
|
|
887
|
+
/** Title font size, px. */
|
|
888
|
+
fontSize: number;
|
|
889
|
+
/** The title as drawn, one entry per line. */
|
|
890
|
+
lines: string[];
|
|
891
|
+
/** The plate: top-left corner, size and corner radius. */
|
|
892
|
+
plate: {
|
|
893
|
+
x: number;
|
|
894
|
+
y: number;
|
|
895
|
+
width: number;
|
|
896
|
+
height: number;
|
|
897
|
+
radius: number;
|
|
898
|
+
};
|
|
899
|
+
/** The title's box, centred on the plate with room for the font's full ascent and descent. */
|
|
900
|
+
title: {
|
|
901
|
+
cx: number;
|
|
902
|
+
cy: number;
|
|
903
|
+
width: number;
|
|
904
|
+
height: number;
|
|
905
|
+
};
|
|
906
|
+
/** Optical centring of the title's ink (see `opticalCentreShiftEm`). */
|
|
907
|
+
baselineShift: number;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* Lay out a frosted big-text card: the largest size whose balanced lines, padded by
|
|
911
|
+
* the plate, fit {@link BIG_TEXT_FROSTED_WIDTH_FRACTION} of the frame width and the
|
|
912
|
+
* placement band's height (at most {@link BIG_TEXT_FROSTED_HEIGHT_SHARE} of the shorter
|
|
913
|
+
* side). The plate is centred on the band.
|
|
914
|
+
*/
|
|
915
|
+
declare function frostedBigTextLayout(displayTitle: string, viewport: ViewportConfig, band?: {
|
|
916
|
+
y: number;
|
|
917
|
+
height: number;
|
|
918
|
+
}): FrostedBigTextLayout;
|
|
879
919
|
declare function bigText(input: BigTextInput, context: TemplateContext): Layer[];
|
|
880
920
|
|
|
881
921
|
/**
|
|
@@ -4427,4 +4467,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
4427
4467
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
4428
4468
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
4429
4469
|
|
|
4430
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
|
4470
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, type FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -75,9 +75,9 @@ import {
|
|
|
75
75
|
validateMarkdownSource,
|
|
76
76
|
wordRevealDelay,
|
|
77
77
|
writeDashboardLayoutsToFrontmatter
|
|
78
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-BITSNRJH.js";
|
|
79
79
|
import "../chunk-FTN6SGW5.js";
|
|
80
|
-
import "../chunk-
|
|
80
|
+
import "../chunk-DRHJD6U4.js";
|
|
81
81
|
import {
|
|
82
82
|
BASE_INPUT_DESCRIPTORS,
|
|
83
83
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -128,6 +128,7 @@ import {
|
|
|
128
128
|
flattenRenderableBlocks,
|
|
129
129
|
formatCountUp,
|
|
130
130
|
formatCountValue,
|
|
131
|
+
frostedBigTextLayout,
|
|
131
132
|
fullBleedQuote,
|
|
132
133
|
getAccentLayout,
|
|
133
134
|
getAvailableTemplates,
|
|
@@ -194,7 +195,7 @@ import {
|
|
|
194
195
|
wrapWithPersistentLayers,
|
|
195
196
|
writeCustomTemplatesToFrontmatter,
|
|
196
197
|
writeCustomThemesToFrontmatter
|
|
197
|
-
} from "../chunk-
|
|
198
|
+
} from "../chunk-J2NFT7GH.js";
|
|
198
199
|
import {
|
|
199
200
|
ASCII_CHAR_H,
|
|
200
201
|
ASCII_CHAR_W,
|
|
@@ -416,6 +417,7 @@ export {
|
|
|
416
417
|
flattenRenderableBlocks,
|
|
417
418
|
formatCountUp,
|
|
418
419
|
formatCountValue,
|
|
420
|
+
frostedBigTextLayout,
|
|
419
421
|
fullBleedQuote,
|
|
420
422
|
getAccentLayout,
|
|
421
423
|
getAnimationProgress,
|
package/dist/fence/index.d.ts
CHANGED
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
|
|
2
2
|
export { C as ComparisonData, D as DateData, a as DefinitionData, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from '../contentExtractor-BNfVJV2U.js';
|
|
3
|
-
import { s as ColorScheme, A as AccentImage, bt as TemplateBlock } from '../Doc-
|
|
3
|
+
import { s as ColorScheme, A as AccentImage, bt as TemplateBlock } from '../Doc-DnRFE0EI.js';
|
|
4
4
|
import '../types-Zk8qYuaT.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-
|
|
2
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-CadNz387.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-CadNz387.js';
|
|
3
3
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
4
4
|
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
|
|
5
|
-
import '../Doc-
|
|
5
|
+
import '../Doc-DnRFE0EI.js';
|
|
6
6
|
import '../types-Zk8qYuaT.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, D as DEFAULT_MARKDOWN_SAFETY_LIMITS, i as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, j as HeadingTemplateAnnotation, k as HtmlComment, l as HtmlElement, m as HtmlNode, n as HtmlText, M as MarkdownBlockNode, o as MarkdownBlockquote, p as MarkdownBreak, q as MarkdownCodeBlock, r as MarkdownContainerDirective, s as MarkdownDefinitionDescription, t as MarkdownDefinitionList, u as MarkdownDefinitionTerm, v as MarkdownDocument, w as MarkdownEmphasis, x as MarkdownFootnoteDefinition, y as MarkdownFootnoteReference, z as MarkdownHeading, A as MarkdownHtmlBlock, C as MarkdownImage, E as MarkdownImageReference, F as MarkdownInlineCode, G as MarkdownInlineHtml, I as MarkdownInlineIcon, J as MarkdownInlineMath, K as MarkdownInlineNode, L as MarkdownLeafDirective, N as MarkdownLimitError, O as MarkdownLink, P as MarkdownLinkDefinition, Q as MarkdownLinkReference, R as MarkdownList, S as MarkdownListItem, T as MarkdownMathBlock, U as MarkdownMention, V as MarkdownNode, W as MarkdownParagraph, X as MarkdownPoint, Y as MarkdownSafetyLimits, Z as MarkdownSourcePosition, _ as MarkdownStrikethrough, $ as MarkdownStrong, a0 as MarkdownSubscript, a1 as MarkdownSuperscript, a2 as MarkdownTable, a3 as MarkdownTableCell, a4 as MarkdownTableRow, a5 as MarkdownText, a6 as MarkdownTextDirective, a7 as MarkdownThematicBreak, a8 as ParseOptions, a9 as StringifyOptions, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, af as assertMarkdownDocumentWithinLimits, ag as assertMarkdownSourceWithinLimits, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ao as resolveMarkdownSafetyLimits, ap as resolveTransitionDuration } from './types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.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 BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, L as DeepPartial, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, R as Doc, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, _ as FontFamily, $ as FontFamilyKind, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bC as Theme, bD as ThemeColorPalette, bE as ThemeColorScheme, bF as ThemePageStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bI as ThemeSeedColors, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from './Doc-
|
|
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 BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, L as DeepPartial, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, R as Doc, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, _ as FontFamily, $ as FontFamilyKind, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bC as Theme, bD as ThemeColorPalette, bE as ThemeColorScheme, bF as ThemePageStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bI as ThemeSeedColors, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from './Doc-DnRFE0EI.js';
|
|
4
4
|
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, DocSchemaIssue, FONT_FALLBACKS, FontStack, MermaidThemeVariables, PipStyleVars, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertDocSchema, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, pipStyleVars, relativeLuminance, resolveFontFamily, serializeTheme, validateDocSchema, 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-
|
|
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-in0fafp4.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-
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, ArrangeAsciiDiagramOptions, 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, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, HostedVideo, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, ParsedStat, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } 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-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-CadNz387.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, ArrangeAsciiDiagramOptions, 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, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, HostedVideo, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, ParsedStat, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } 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-D84uA6Vk.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, destinationPoint, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance, interpolateGreatCircle, sampleGreatCircle } 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';
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FIPRGGXD.js";
|
|
31
31
|
import {
|
|
32
32
|
fenceRendererLangs
|
|
33
33
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
validateMarkdownSource,
|
|
231
231
|
wordRevealDelay,
|
|
232
232
|
writeDashboardLayoutsToFrontmatter
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-BITSNRJH.js";
|
|
234
234
|
import {
|
|
235
235
|
buildNarrationTimingJson,
|
|
236
236
|
parseNarrationTimingJson,
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
serializePresentationPlan,
|
|
263
263
|
transformNarratedSegment,
|
|
264
264
|
usesDynamicPresentation
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-DRHJD6U4.js";
|
|
266
266
|
import {
|
|
267
267
|
BASE_INPUT_DESCRIPTORS,
|
|
268
268
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -316,6 +316,7 @@ import {
|
|
|
316
316
|
flattenRenderableBlocks,
|
|
317
317
|
formatCountUp,
|
|
318
318
|
formatCountValue,
|
|
319
|
+
frostedBigTextLayout,
|
|
319
320
|
fullBleedQuote,
|
|
320
321
|
getAccentLayout,
|
|
321
322
|
getAvailableTemplates,
|
|
@@ -385,7 +386,7 @@ import {
|
|
|
385
386
|
wrapWithPersistentLayers,
|
|
386
387
|
writeCustomTemplatesToFrontmatter,
|
|
387
388
|
writeCustomThemesToFrontmatter
|
|
388
|
-
} from "./chunk-
|
|
389
|
+
} from "./chunk-J2NFT7GH.js";
|
|
389
390
|
import {
|
|
390
391
|
ASCII_CHAR_H,
|
|
391
392
|
ASCII_CHAR_W,
|
|
@@ -1002,6 +1003,7 @@ export {
|
|
|
1002
1003
|
formatProofDictionary,
|
|
1003
1004
|
formatVersionTimestamp,
|
|
1004
1005
|
fromMdast,
|
|
1006
|
+
frostedBigTextLayout,
|
|
1005
1007
|
fullBleedQuote,
|
|
1006
1008
|
geohashOverlapsBounds,
|
|
1007
1009
|
geohashToHierarchicalPath,
|
package/dist/jsonForm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as Block, aV as PageSectionKind, aT as PageEmphasis, bE as ThemeColorScheme, aR as PageBackground, bC as Theme, c7 as ViewportConfig, z as CustomTemplateDefinition, aY as PageVariant, bm as StartBlockConfig, R as Doc, bF as ThemePageStyle } from './Doc-
|
|
1
|
+
import { k as Block, aV as PageSectionKind, aT as PageEmphasis, bE as ThemeColorScheme, aR as PageBackground, bC as Theme, c7 as ViewportConfig, z as CustomTemplateDefinition, aY as PageVariant, bm as StartBlockConfig, R as Doc, bF as ThemePageStyle } from './Doc-DnRFE0EI.js';
|
|
2
2
|
import { M as MarkdownBlockNode } from './types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { am as MediaCut, R as Doc, ak as MediaClip, cD as MediaFxOpId, cE as MediaFxChain } from '../Doc-
|
|
2
|
-
export { cF as MEDIA_EDIT_PARAMS, cG as MEDIA_FX_ORDER, cH as MEDIA_FX_SPECS, al as MediaCrop, cI as MediaEditParamKey, cJ as MediaEditParamValues, an as MediaEdits, cK as MediaFxOp, cL as formatMediaNumber, cM as hasRenderableFx, cN as mediaEditHtmlAttribute, cO as mediaEditValuesFromAttributes, cP as mediaEditValuesFromParams, cQ as mediaRenderKey, cR as normalizeMediaCrop, cS as normalizeMediaCuts, cT as parseMediaCrop, cU as parseMediaCuts, cV as parseMediaEdits, cW as parseMediaFx, cX as serializeMediaCrop, cY as serializeMediaCuts, cZ as serializeMediaEdits, c_ as serializeMediaFx } from '../Doc-
|
|
1
|
+
import { am as MediaCut, R as Doc, ak as MediaClip, cD as MediaFxOpId, cE as MediaFxChain } from '../Doc-DnRFE0EI.js';
|
|
2
|
+
export { cF as MEDIA_EDIT_PARAMS, cG as MEDIA_FX_ORDER, cH as MEDIA_FX_SPECS, al as MediaCrop, cI as MediaEditParamKey, cJ as MediaEditParamValues, an as MediaEdits, cK as MediaFxOp, cL as formatMediaNumber, cM as hasRenderableFx, cN as mediaEditHtmlAttribute, cO as mediaEditValuesFromAttributes, cP as mediaEditValuesFromParams, cQ as mediaRenderKey, cR as normalizeMediaCrop, cS as normalizeMediaCuts, cT as parseMediaCrop, cU as parseMediaCuts, cV as parseMediaEdits, cW as parseMediaFx, cX as serializeMediaCrop, cY as serializeMediaCuts, cZ as serializeMediaEdits, c_ as serializeMediaFx } from '../Doc-DnRFE0EI.js';
|
|
3
3
|
import '../types-Zk8qYuaT.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/narration/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-FIPRGGXD.js";
|
|
31
31
|
import "../chunk-NEWNNLWN.js";
|
|
32
32
|
import {
|
|
33
33
|
buildNarrationTimingJson,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
wordIndexAtChar,
|
|
42
42
|
wordIndexAtTime,
|
|
43
43
|
wordPosAtExpectedSyllables
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-J2NFT7GH.js";
|
|
45
45
|
import "../chunk-POZCKPCO.js";
|
|
46
46
|
import "../chunk-FUBMT6SJ.js";
|
|
47
47
|
import "../chunk-WNEH3BZP.js";
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, i as DEFAULT_TRANSITION_DURATION_SECONDS, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ap as resolveTransitionDuration } from '../types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from '../Types-sh2VRxfo.js';
|
|
3
|
-
import { R as Doc, bC as Theme, bF as ThemePageStyle, bE as ThemeColorScheme, L as DeepPartial, bI as ThemeSeedColors, bD as ThemeColorPalette, $ as FontFamilyKind, _ as FontFamily } from '../Doc-
|
|
4
|
-
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 BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from '../Doc-
|
|
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-
|
|
3
|
+
import { R as Doc, bC as Theme, bF as ThemePageStyle, bE as ThemeColorScheme, L as DeepPartial, bI as ThemeSeedColors, bD as ThemeColorPalette, $ as FontFamilyKind, _ as FontFamily } from '../Doc-DnRFE0EI.js';
|
|
4
|
+
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 BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from '../Doc-DnRFE0EI.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-in0fafp4.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-CadNz387.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Runtime validation for the canonical {@link Doc} JSON shape.
|
package/dist/timing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as Doc, s as ColorScheme, k as Block, bt as TemplateBlock } from '../Doc-
|
|
2
|
-
import { i as PageTransformHints } from '../materializePageSection-
|
|
1
|
+
import { R as Doc, s as ColorScheme, k as Block, bt as TemplateBlock } from '../Doc-DnRFE0EI.js';
|
|
2
|
+
import { i as PageTransformHints } from '../materializePageSection-D84uA6Vk.js';
|
|
3
3
|
import { d as ExtractionType, E as ExtractedElement, b as ExtractionOptions } from '../contentExtractor-BNfVJV2U.js';
|
|
4
4
|
import { f as BuildSpec } from '../types-Zk8qYuaT.js';
|
|
5
5
|
|
package/dist/transform/index.js
CHANGED
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
serializePresentationPlan,
|
|
25
25
|
transformNarratedSegment,
|
|
26
26
|
usesDynamicPresentation
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-DRHJD6U4.js";
|
|
28
|
+
import "../chunk-J2NFT7GH.js";
|
|
29
29
|
import "../chunk-POZCKPCO.js";
|
|
30
30
|
import "../chunk-SVN7T6BK.js";
|
|
31
31
|
import "../chunk-FUBMT6SJ.js";
|