@wireweave/core 4.0.0-beta.14 → 4.0.0-beta.15
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/app.cjs +13 -13
- package/dist/app.d.cts +2 -2
- package/dist/app.d.ts +2 -2
- package/dist/app.js +2 -2
- package/dist/{chunk-TQSOLTMZ.js → chunk-24W2GEKO.js} +250 -40
- package/dist/{chunk-IMUVIIJR.cjs → chunk-H2SWIUMU.cjs} +9 -3
- package/dist/{chunk-LA5LKIEL.cjs → chunk-KMZXXIM2.cjs} +16 -16
- package/dist/{chunk-4DDV6Z2X.js → chunk-NPDSIAWT.js} +2 -2
- package/dist/{chunk-2Y3GKARZ.js → chunk-NZGEUVB4.js} +74 -20
- package/dist/{chunk-3RWGG5EC.js → chunk-UGMDBW46.js} +9 -4
- package/dist/{chunk-NV6UV5ID.cjs → chunk-VCHXMPZL.cjs} +263 -52
- package/dist/{chunk-SAN6CJEE.cjs → chunk-XODYFTKU.cjs} +136 -82
- package/dist/{index-BD_4rXH-.d.cts → index-CIfur9e3.d.cts} +1 -1
- package/dist/{index-YSIzfhOd.d.cts → index-DdQv4Bu5.d.cts} +7 -1
- package/dist/{index-g9yV20xb.d.ts → index-DwGsnD0n.d.ts} +1 -1
- package/dist/{index-BEnsO2kE.d.ts → index-c4FTW7XA.d.ts} +7 -1
- package/dist/index.cjs +46 -46
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/parser.cjs +9 -9
- package/dist/parser.js +1 -1
- package/dist/renderer.cjs +8 -8
- package/dist/renderer.d.cts +2 -2
- package/dist/renderer.d.ts +2 -2
- package/dist/renderer.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkKMZXXIM2_cjs = require('./chunk-KMZXXIM2.cjs');
|
|
4
|
+
var chunkXODYFTKU_cjs = require('./chunk-XODYFTKU.cjs');
|
|
5
|
+
var chunkVCHXMPZL_cjs = require('./chunk-VCHXMPZL.cjs');
|
|
6
|
+
var chunkH2SWIUMU_cjs = require('./chunk-H2SWIUMU.cjs');
|
|
7
7
|
var chunkZPHNXJRY_cjs = require('./chunk-ZPHNXJRY.cjs');
|
|
8
8
|
var chunkMD6MNOEQ_cjs = require('./chunk-MD6MNOEQ.cjs');
|
|
9
9
|
|
|
@@ -516,7 +516,7 @@ function printWireframe(doc) {
|
|
|
516
516
|
`;
|
|
517
517
|
}
|
|
518
518
|
function formatWireframeCode(source) {
|
|
519
|
-
return printWireframe(
|
|
519
|
+
return printWireframe(chunkH2SWIUMU_cjs.parse(source));
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
// src/validation/index.ts
|
|
@@ -755,7 +755,7 @@ function checkComponentContracts(ast, addError) {
|
|
|
755
755
|
const child = definition.children[childIndex];
|
|
756
756
|
if (child && !inspect(child, `pages[${index}].children[${childIndex}]`)) return false;
|
|
757
757
|
}
|
|
758
|
-
for (const reference of
|
|
758
|
+
for (const reference of chunkXODYFTKU_cjs.collectParameterReferences(definition.children)) {
|
|
759
759
|
if (parameters.has(reference.name)) continue;
|
|
760
760
|
if (!report(
|
|
761
761
|
reference.node,
|
|
@@ -1391,7 +1391,7 @@ function metadata(source) {
|
|
|
1391
1391
|
};
|
|
1392
1392
|
}
|
|
1393
1393
|
function semanticId(renderedId) {
|
|
1394
|
-
return `wf-${
|
|
1394
|
+
return `wf-${chunkH2SWIUMU_cjs.digestV4(renderedId).slice("sha256:".length)}`;
|
|
1395
1395
|
}
|
|
1396
1396
|
function nodeLabel(node) {
|
|
1397
1397
|
var _a, _b;
|
|
@@ -1463,20 +1463,20 @@ function interactionLosses(sources) {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
function exportLinkedAppToFigma(linked, profile) {
|
|
1465
1465
|
var _a;
|
|
1466
|
-
const data =
|
|
1466
|
+
const data = chunkVCHXMPZL_cjs.getLinkedAppData(linked);
|
|
1467
1467
|
if (data === void 0)
|
|
1468
|
-
return
|
|
1468
|
+
return chunkVCHXMPZL_cjs.failed([chunkVCHXMPZL_cjs.diagnostic("WW_SCHEMA", "app.untrusted-linked-model", void 0, {}, "compile")]);
|
|
1469
1469
|
const valid = validateProfile(profile);
|
|
1470
1470
|
if (valid === null)
|
|
1471
|
-
return
|
|
1472
|
-
|
|
1471
|
+
return chunkVCHXMPZL_cjs.failed([
|
|
1472
|
+
chunkVCHXMPZL_cjs.diagnostic("WW_EXPORT_PROFILE", "export.invalid-figma-profile", void 0, {}, "compile")
|
|
1473
1473
|
]);
|
|
1474
1474
|
const screens = data.screens.slice().sort((a, b) => routeKey(a.route).localeCompare(routeKey(b.route)));
|
|
1475
1475
|
const target = (_a = valid.board) != null ? _a : data.bundle.entry;
|
|
1476
1476
|
const selected = valid.screens === "all" ? screens : screens.filter((screen) => routeKey(screen.route) === routeKey(target));
|
|
1477
1477
|
if (selected.length === 0)
|
|
1478
|
-
return
|
|
1479
|
-
|
|
1478
|
+
return chunkVCHXMPZL_cjs.failed([
|
|
1479
|
+
chunkVCHXMPZL_cjs.diagnostic("WW_EXPORT_BOARD", "export.board-not-found", void 0, {}, "compile")
|
|
1480
1480
|
]);
|
|
1481
1481
|
const renderedIds = /* @__PURE__ */ new Set();
|
|
1482
1482
|
for (const screen of selected) {
|
|
@@ -1491,12 +1491,12 @@ function exportLinkedAppToFigma(linked, profile) {
|
|
|
1491
1491
|
const sourceById = new Map(sourceMap.map((entry) => [entry.renderedId, entry]));
|
|
1492
1492
|
const mappings = [];
|
|
1493
1493
|
const document = {
|
|
1494
|
-
id: `document-${
|
|
1494
|
+
id: `document-${chunkH2SWIUMU_cjs.digestV4(linked.digest).slice("sha256:".length)}`,
|
|
1495
1495
|
name: data.bundle.id,
|
|
1496
1496
|
type: "DOCUMENT",
|
|
1497
1497
|
visible: true,
|
|
1498
1498
|
children: selected.map((screen) => ({
|
|
1499
|
-
id: `canvas-${
|
|
1499
|
+
id: `canvas-${chunkH2SWIUMU_cjs.digestV4(routeKey(screen.route)).slice("sha256:".length)}`,
|
|
1500
1500
|
name: routeKey(screen.route),
|
|
1501
1501
|
type: "CANVAS",
|
|
1502
1502
|
visible: true,
|
|
@@ -1513,14 +1513,14 @@ function exportLinkedAppToFigma(linked, profile) {
|
|
|
1513
1513
|
details: { count: lossReport.length }
|
|
1514
1514
|
}
|
|
1515
1515
|
] : [];
|
|
1516
|
-
const artifact =
|
|
1516
|
+
const artifact = chunkVCHXMPZL_cjs.freeze({
|
|
1517
1517
|
kind: "FigmaMappingArtifact",
|
|
1518
1518
|
version: "4.0.0",
|
|
1519
1519
|
format: "figma",
|
|
1520
1520
|
target: valid.target,
|
|
1521
1521
|
appId: data.bundle.id,
|
|
1522
1522
|
linkedDigest: linked.digest,
|
|
1523
|
-
profileDigest:
|
|
1523
|
+
profileDigest: chunkH2SWIUMU_cjs.digestV4(chunkVCHXMPZL_cjs.jcs(valid)),
|
|
1524
1524
|
document,
|
|
1525
1525
|
mappings,
|
|
1526
1526
|
sourceMap,
|
|
@@ -2545,119 +2545,119 @@ function buildDomTreeNode(node, path) {
|
|
|
2545
2545
|
|
|
2546
2546
|
Object.defineProperty(exports, "exportLinkedAppToSvg", {
|
|
2547
2547
|
enumerable: true,
|
|
2548
|
-
get: function () { return
|
|
2548
|
+
get: function () { return chunkKMZXXIM2_cjs.exportLinkedAppToSvg; }
|
|
2549
2549
|
});
|
|
2550
2550
|
Object.defineProperty(exports, "layoutCanvas", {
|
|
2551
2551
|
enumerable: true,
|
|
2552
|
-
get: function () { return
|
|
2552
|
+
get: function () { return chunkKMZXXIM2_cjs.layoutCanvas; }
|
|
2553
2553
|
});
|
|
2554
2554
|
Object.defineProperty(exports, "render", {
|
|
2555
2555
|
enumerable: true,
|
|
2556
|
-
get: function () { return
|
|
2556
|
+
get: function () { return chunkKMZXXIM2_cjs.render; }
|
|
2557
2557
|
});
|
|
2558
2558
|
Object.defineProperty(exports, "renderCanvas", {
|
|
2559
2559
|
enumerable: true,
|
|
2560
|
-
get: function () { return
|
|
2560
|
+
get: function () { return chunkKMZXXIM2_cjs.renderCanvas; }
|
|
2561
2561
|
});
|
|
2562
2562
|
Object.defineProperty(exports, "renderToHtml", {
|
|
2563
2563
|
enumerable: true,
|
|
2564
|
-
get: function () { return
|
|
2564
|
+
get: function () { return chunkKMZXXIM2_cjs.renderToHtml; }
|
|
2565
2565
|
});
|
|
2566
2566
|
Object.defineProperty(exports, "renderToSvg", {
|
|
2567
2567
|
enumerable: true,
|
|
2568
|
-
get: function () { return
|
|
2568
|
+
get: function () { return chunkKMZXXIM2_cjs.renderToSvg; }
|
|
2569
2569
|
});
|
|
2570
2570
|
Object.defineProperty(exports, "advanceClock", {
|
|
2571
2571
|
enumerable: true,
|
|
2572
|
-
get: function () { return
|
|
2572
|
+
get: function () { return chunkXODYFTKU_cjs.advanceClock; }
|
|
2573
2573
|
});
|
|
2574
2574
|
Object.defineProperty(exports, "collectParameterReferences", {
|
|
2575
2575
|
enumerable: true,
|
|
2576
|
-
get: function () { return
|
|
2576
|
+
get: function () { return chunkXODYFTKU_cjs.collectParameterReferences; }
|
|
2577
2577
|
});
|
|
2578
2578
|
Object.defineProperty(exports, "compileApp", {
|
|
2579
2579
|
enumerable: true,
|
|
2580
|
-
get: function () { return
|
|
2580
|
+
get: function () { return chunkXODYFTKU_cjs.compileApp; }
|
|
2581
2581
|
});
|
|
2582
2582
|
Object.defineProperty(exports, "createAppComponentInstanceId", {
|
|
2583
2583
|
enumerable: true,
|
|
2584
|
-
get: function () { return
|
|
2584
|
+
get: function () { return chunkXODYFTKU_cjs.createAppComponentInstanceId; }
|
|
2585
2585
|
});
|
|
2586
2586
|
Object.defineProperty(exports, "createAppNodeId", {
|
|
2587
2587
|
enumerable: true,
|
|
2588
|
-
get: function () { return
|
|
2588
|
+
get: function () { return chunkXODYFTKU_cjs.createAppNodeId; }
|
|
2589
2589
|
});
|
|
2590
2590
|
Object.defineProperty(exports, "createRuntime", {
|
|
2591
2591
|
enumerable: true,
|
|
2592
|
-
get: function () { return
|
|
2592
|
+
get: function () { return chunkXODYFTKU_cjs.createRuntime; }
|
|
2593
2593
|
});
|
|
2594
2594
|
Object.defineProperty(exports, "linkAndCompileApp", {
|
|
2595
2595
|
enumerable: true,
|
|
2596
|
-
get: function () { return
|
|
2596
|
+
get: function () { return chunkXODYFTKU_cjs.linkAndCompileApp; }
|
|
2597
2597
|
});
|
|
2598
2598
|
Object.defineProperty(exports, "linkApp", {
|
|
2599
2599
|
enumerable: true,
|
|
2600
|
-
get: function () { return
|
|
2600
|
+
get: function () { return chunkXODYFTKU_cjs.linkApp; }
|
|
2601
2601
|
});
|
|
2602
2602
|
Object.defineProperty(exports, "parameterReferenceName", {
|
|
2603
2603
|
enumerable: true,
|
|
2604
|
-
get: function () { return
|
|
2604
|
+
get: function () { return chunkXODYFTKU_cjs.parameterReferenceName; }
|
|
2605
2605
|
});
|
|
2606
2606
|
Object.defineProperty(exports, "reduceEvent", {
|
|
2607
2607
|
enumerable: true,
|
|
2608
|
-
get: function () { return
|
|
2608
|
+
get: function () { return chunkXODYFTKU_cjs.reduceEvent; }
|
|
2609
2609
|
});
|
|
2610
2610
|
Object.defineProperty(exports, "renderAppSite", {
|
|
2611
2611
|
enumerable: true,
|
|
2612
|
-
get: function () { return
|
|
2612
|
+
get: function () { return chunkXODYFTKU_cjs.renderSite; }
|
|
2613
2613
|
});
|
|
2614
2614
|
Object.defineProperty(exports, "resetRuntime", {
|
|
2615
2615
|
enumerable: true,
|
|
2616
|
-
get: function () { return
|
|
2616
|
+
get: function () { return chunkXODYFTKU_cjs.resetRuntime; }
|
|
2617
2617
|
});
|
|
2618
2618
|
Object.defineProperty(exports, "createAppBundle", {
|
|
2619
2619
|
enumerable: true,
|
|
2620
|
-
get: function () { return
|
|
2620
|
+
get: function () { return chunkVCHXMPZL_cjs.createAppBundle; }
|
|
2621
2621
|
});
|
|
2622
2622
|
Object.defineProperty(exports, "expandVariants", {
|
|
2623
2623
|
enumerable: true,
|
|
2624
|
-
get: function () { return
|
|
2624
|
+
get: function () { return chunkVCHXMPZL_cjs.expandVariants; }
|
|
2625
2625
|
});
|
|
2626
2626
|
Object.defineProperty(exports, "renderSite", {
|
|
2627
2627
|
enumerable: true,
|
|
2628
|
-
get: function () { return
|
|
2628
|
+
get: function () { return chunkVCHXMPZL_cjs.renderSite; }
|
|
2629
2629
|
});
|
|
2630
2630
|
Object.defineProperty(exports, "V4ParseError", {
|
|
2631
2631
|
enumerable: true,
|
|
2632
|
-
get: function () { return
|
|
2632
|
+
get: function () { return chunkH2SWIUMU_cjs.V4ParseError; }
|
|
2633
2633
|
});
|
|
2634
2634
|
Object.defineProperty(exports, "getErrors", {
|
|
2635
2635
|
enumerable: true,
|
|
2636
|
-
get: function () { return
|
|
2636
|
+
get: function () { return chunkH2SWIUMU_cjs.getErrors; }
|
|
2637
2637
|
});
|
|
2638
2638
|
Object.defineProperty(exports, "getV4SourceSpan", {
|
|
2639
2639
|
enumerable: true,
|
|
2640
|
-
get: function () { return
|
|
2640
|
+
get: function () { return chunkH2SWIUMU_cjs.getV4SourceSpan; }
|
|
2641
2641
|
});
|
|
2642
2642
|
Object.defineProperty(exports, "isValid", {
|
|
2643
2643
|
enumerable: true,
|
|
2644
|
-
get: function () { return
|
|
2644
|
+
get: function () { return chunkH2SWIUMU_cjs.isValid; }
|
|
2645
2645
|
});
|
|
2646
2646
|
Object.defineProperty(exports, "parse", {
|
|
2647
2647
|
enumerable: true,
|
|
2648
|
-
get: function () { return
|
|
2648
|
+
get: function () { return chunkH2SWIUMU_cjs.parse; }
|
|
2649
2649
|
});
|
|
2650
2650
|
Object.defineProperty(exports, "parseV4", {
|
|
2651
2651
|
enumerable: true,
|
|
2652
|
-
get: function () { return
|
|
2652
|
+
get: function () { return chunkH2SWIUMU_cjs.parseV4; }
|
|
2653
2653
|
});
|
|
2654
2654
|
Object.defineProperty(exports, "tryParse", {
|
|
2655
2655
|
enumerable: true,
|
|
2656
|
-
get: function () { return
|
|
2656
|
+
get: function () { return chunkH2SWIUMU_cjs.tryParse; }
|
|
2657
2657
|
});
|
|
2658
2658
|
Object.defineProperty(exports, "tryParseV4", {
|
|
2659
2659
|
enumerable: true,
|
|
2660
|
-
get: function () { return
|
|
2660
|
+
get: function () { return chunkH2SWIUMU_cjs.tryParseV4; }
|
|
2661
2661
|
});
|
|
2662
2662
|
Object.defineProperty(exports, "ANCHOR_LOC_ATTR", {
|
|
2663
2663
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, f as CardNode, g as CheckboxNode, h as ColNode, i as ComponentDefinitionNode, C as ComponentUseNode, j as ContainerComponentNode, k as ContainerNode, D as DataNode, l as DefinitionNode, m as DisplayNode, n as DividerComponentNode, o as DrawerNode, p as DropdownNode, F as FeedbackNode, q as FooterNode, r as GridNode, H as HeaderNode, s as IconNode, t as ImageNode, u as InputComponentNode, v as InputNode, L as LayoutDefinitionNode, w as LayoutNode, x as LeafNode, y as LinkNode, z as ListNode, M as MainNode, E as ModalNode, N as NavNode, J as NavigationNode, K as NodeType, O as OverlayNode, P as PageNode, Q as PlaceholderNode, R as PopoverNode, T as ProgressNode, U as RadioNode, V as RowNode, X as SectionNode, Y as SelectNode, Z as SidebarNode, _ as SliderNode, $ as SlotNode, a0 as SpinnerNode, a1 as SwitchNode, a2 as TableNode, a3 as TabsNode, a4 as TextContentNode, a5 as TextNode, a6 as TextareaNode, a7 as TitleNode, a8 as ToastNode, a9 as TooltipNode, W as WireframeDocument, S as SourceLocation } from './types-CGRi1k2N.cjs';
|
|
2
2
|
export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as AnnotationItemNode, ae as AnnotationNode, af as AnnotationsNode, ag as AppearanceProps, ah as AvatarSize, ai as AvatarSizeToken, aj as BadgeSize, ak as BadgeSizeToken, al as BadgeVariant, am as BaseNode, an as BreadcrumbItem, ao as ButtonSize, ap as ButtonSizeToken, aq as ButtonVariant, ar as CommonProps, as as ComponentInputValue, at as ComponentParameter, au as ComponentParameterType, av as ComponentSlotFill, aw as DirectionValue, ax as DrawerPosition, ay as DropdownItemNode, az as FlexProps, aA as GridProps, G as GuardedOutcomeProps, aB as HeightValue, aC as IconSize, aD as IconSizeToken, aE as InputType, aF as InteractionEffect, aG as InteractionHandler, I as InteractiveProps, aH as JustifyValue, aI as ListItemNode, aJ as MarkerColor, aK as MarkerNode, aL as NavBlockItem, aM as NavChild, aN as NavGroupNode, aO as NavItem, aP as Position, aQ as PositionProps, aR as RelativeNode, aS as RepeatNode, aT as SelectOption, aU as ShadowValue, aV as SizeProps, aW as SpacingProps, aX as SpacingValue, aY as SpinnerSize, aZ as SpinnerSizeToken, a_ as StackNode, a$ as StateDeclaration, b0 as StateGuard, b1 as StateValue, b2 as StateValueType, b3 as TabNode, b4 as TextAlign, b5 as TextSize, b6 as TextSizeToken, b7 as TextWeight, b8 as TitleLevel, b9 as ToastPosition, ba as TooltipPosition, bb as TopLevelNode, bc as ValueWithUnit, bd as VariantScopedProps, be as WidthValue } from './types-CGRi1k2N.cjs';
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.cjs';
|
|
4
|
-
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-
|
|
5
|
-
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-
|
|
4
|
+
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-CIfur9e3.cjs';
|
|
5
|
+
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-CIfur9e3.cjs';
|
|
6
6
|
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute } from './spec.cjs';
|
|
7
7
|
import { C as ComponentCategory } from './types-Dkgr0Wyc.cjs';
|
|
8
8
|
export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.cjs';
|
|
9
|
-
import { b as LinkedApp } from './index-
|
|
10
|
-
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
9
|
+
import { b as LinkedApp } from './index-DdQv4Bu5.cjs';
|
|
10
|
+
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-DdQv4Bu5.cjs';
|
|
11
11
|
import { S as ScreenFields, a as ScreenTransitionGraph } from './index-BlNYFaZd.cjs';
|
|
12
12
|
export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, c as InteractionKind, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, g as ScreenAction, h as ScreenDisplay, i as ScreenElement, j as ScreenFieldsSummary, k as ScreenInput, T as TransitionEdge, l as TransitionScreen, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-BlNYFaZd.cjs';
|
|
13
13
|
export { AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, advanceClock, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, f as CardNode, g as CheckboxNode, h as ColNode, i as ComponentDefinitionNode, C as ComponentUseNode, j as ContainerComponentNode, k as ContainerNode, D as DataNode, l as DefinitionNode, m as DisplayNode, n as DividerComponentNode, o as DrawerNode, p as DropdownNode, F as FeedbackNode, q as FooterNode, r as GridNode, H as HeaderNode, s as IconNode, t as ImageNode, u as InputComponentNode, v as InputNode, L as LayoutDefinitionNode, w as LayoutNode, x as LeafNode, y as LinkNode, z as ListNode, M as MainNode, E as ModalNode, N as NavNode, J as NavigationNode, K as NodeType, O as OverlayNode, P as PageNode, Q as PlaceholderNode, R as PopoverNode, T as ProgressNode, U as RadioNode, V as RowNode, X as SectionNode, Y as SelectNode, Z as SidebarNode, _ as SliderNode, $ as SlotNode, a0 as SpinnerNode, a1 as SwitchNode, a2 as TableNode, a3 as TabsNode, a4 as TextContentNode, a5 as TextNode, a6 as TextareaNode, a7 as TitleNode, a8 as ToastNode, a9 as TooltipNode, W as WireframeDocument, S as SourceLocation } from './types-CGRi1k2N.js';
|
|
2
2
|
export { aa as AlertVariant, ab as AlignValue, ac as AnchorPosition, ad as AnnotationItemNode, ae as AnnotationNode, af as AnnotationsNode, ag as AppearanceProps, ah as AvatarSize, ai as AvatarSizeToken, aj as BadgeSize, ak as BadgeSizeToken, al as BadgeVariant, am as BaseNode, an as BreadcrumbItem, ao as ButtonSize, ap as ButtonSizeToken, aq as ButtonVariant, ar as CommonProps, as as ComponentInputValue, at as ComponentParameter, au as ComponentParameterType, av as ComponentSlotFill, aw as DirectionValue, ax as DrawerPosition, ay as DropdownItemNode, az as FlexProps, aA as GridProps, G as GuardedOutcomeProps, aB as HeightValue, aC as IconSize, aD as IconSizeToken, aE as InputType, aF as InteractionEffect, aG as InteractionHandler, I as InteractiveProps, aH as JustifyValue, aI as ListItemNode, aJ as MarkerColor, aK as MarkerNode, aL as NavBlockItem, aM as NavChild, aN as NavGroupNode, aO as NavItem, aP as Position, aQ as PositionProps, aR as RelativeNode, aS as RepeatNode, aT as SelectOption, aU as ShadowValue, aV as SizeProps, aW as SpacingProps, aX as SpacingValue, aY as SpinnerSize, aZ as SpinnerSizeToken, a_ as StackNode, a$ as StateDeclaration, b0 as StateGuard, b1 as StateValue, b2 as StateValueType, b3 as TabNode, b4 as TextAlign, b5 as TextSize, b6 as TextSizeToken, b7 as TextWeight, b8 as TitleLevel, b9 as ToastPosition, ba as TooltipPosition, bb as TopLevelNode, bc as ValueWithUnit, bd as VariantScopedProps, be as WidthValue } from './types-CGRi1k2N.js';
|
|
3
3
|
export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './parser.js';
|
|
4
|
-
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-
|
|
5
|
-
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-
|
|
4
|
+
import { E as ExportOptions, J as JsonExportResult, a as JsonNode, F as FigmaExportResult, b as FigmaMappingProfile, c as FigmaMappingExportResult, V as V4SvgProfile, d as V4SvgExportResult } from './index-DwGsnD0n.js';
|
|
5
|
+
export { C as CoreExportDiagnostic, e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, g as ExportLoss, h as FigmaAutoLayout, i as FigmaColor, j as FigmaCounterAxisAlign, k as FigmaLayoutMode, l as FigmaMappingArtifact, m as FigmaNode, n as FigmaNodeType, o as FigmaPrimaryAxisAlign, p as FigmaSemanticMapping, q as FigmaSize, r as FigmaSizingMode, s as FigmaSolidFill, t as FigmaStroke, u as FigmaTextAlign, v as FigmaTextStyle, w as FigmaWireweaveMetadata, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, K as V4ExportDiagnostic, L as V4LinkedExportInput, M as V4SvgArtifact, N as V4SvgManifest, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-DwGsnD0n.js';
|
|
6
6
|
export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, GrammarBlockNodeType, GrammarElementName, GrammarNodeType, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, getValidAttributes, isValidAttribute } from './spec.js';
|
|
7
7
|
import { C as ComponentCategory } from './types-Dkgr0Wyc.js';
|
|
8
8
|
export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.js';
|
|
9
|
-
import { b as LinkedApp } from './index-
|
|
10
|
-
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
9
|
+
import { b as LinkedApp } from './index-c4FTW7XA.js';
|
|
10
|
+
export { e as AnnotationStyle, n as AppArtifact, o as AppBundle, A as AppResult, C as CanvasOptions, f as CanvasRenderResult, p as CreateAppBundleOptions, D as Diagnostic, I as InstanceStep, L as LinkedIdentity, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, a as ScreenReference, i as SiteOptions, S as SourceMapEntry, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, q as createAppBundle, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-c4FTW7XA.js';
|
|
11
11
|
import { S as ScreenFields, a as ScreenTransitionGraph } from './index-Cx4-VXVS.js';
|
|
12
12
|
export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, c as InteractionKind, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, g as ScreenAction, h as ScreenDisplay, i as ScreenElement, j as ScreenFieldsSummary, k as ScreenInput, T as TransitionEdge, l as TransitionScreen, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-Cx4-VXVS.js';
|
|
13
13
|
export { AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, advanceClock, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { exportLinkedAppToSvg, layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-
|
|
2
|
-
import { collectParameterReferences } from './chunk-
|
|
3
|
-
export { advanceClock, collectParameterReferences, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, parameterReferenceName, reduceEvent, renderSite as renderAppSite, resetRuntime } from './chunk-
|
|
4
|
-
import { getLinkedAppData, failed, diagnostic, freeze, jcs } from './chunk-
|
|
5
|
-
export { createAppBundle, expandVariants, renderSite } from './chunk-
|
|
6
|
-
import { parse, digestV4 } from './chunk-
|
|
7
|
-
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-
|
|
1
|
+
export { exportLinkedAppToSvg, layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-NPDSIAWT.js';
|
|
2
|
+
import { collectParameterReferences } from './chunk-NZGEUVB4.js';
|
|
3
|
+
export { advanceClock, collectParameterReferences, compileApp, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, parameterReferenceName, reduceEvent, renderSite as renderAppSite, resetRuntime } from './chunk-NZGEUVB4.js';
|
|
4
|
+
import { getLinkedAppData, failed, diagnostic, freeze, jcs } from './chunk-24W2GEKO.js';
|
|
5
|
+
export { createAppBundle, expandVariants, renderSite } from './chunk-24W2GEKO.js';
|
|
6
|
+
import { parse, digestV4 } from './chunk-UGMDBW46.js';
|
|
7
|
+
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-UGMDBW46.js';
|
|
8
8
|
import { documentPages, walk, categoryOf, getLabel, getContent, isInputComponentNode, getInteractiveLabel, getInteractions, getItemInteractions, buildSiteModel, collectInteractions, walkAnchorPaths, resolveAnchorPath, anchorChildNodes, isUrlTarget, variantScope } from './chunk-XYACLXXF.js';
|
|
9
9
|
export { ANCHOR_LOC_ATTR, ANCHOR_PATH_ATTR, ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, REPEAT_EXPANSION_BUDGET, RepeatBudgetError, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, cloneNode, collectInteractions, contains, countNodes, createHtmlRenderer, darkTheme, defaultTheme, documentDefinitions, documentPages, expandRepeats, filterUnscopedPages, filterVariantScope, find, findAll, findByType, generateComponentStyles, generateStyles, getAncestors, getIconData, getMaxDepth, getNodeTypes, getTheme, guardedOutcomeAttrs, hasChildren, interactionSignature, interactiveAttrs, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isComponentDefinitionNode, isComponentUseNode, isContainerComponentNode, isContainerNode, isDataNode, isDefinitionNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutDefinitionNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSlotNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isUrlTarget, lucideIcons, mapNodes, normalizeInteractionHandlers, normalizeStateGuard, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions, variantScope, walk, walkDocument } from './chunk-XYACLXXF.js';
|
|
10
10
|
import { GRAMMAR_CHILD_KEYWORDS, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES } from './chunk-V3HVWC7C.js';
|
package/dist/parser.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkH2SWIUMU_cjs = require('./chunk-H2SWIUMU.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "V4ParseError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkH2SWIUMU_cjs.V4ParseError; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getErrors", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkH2SWIUMU_cjs.getErrors; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getV4SourceSpan", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkH2SWIUMU_cjs.getV4SourceSpan; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "isValid", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkH2SWIUMU_cjs.isValid; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "parse", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkH2SWIUMU_cjs.parse; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "parseV4", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkH2SWIUMU_cjs.parseV4; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "tryParse", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkH2SWIUMU_cjs.tryParse; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "tryParseV4", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkH2SWIUMU_cjs.tryParseV4; }
|
|
38
38
|
});
|
package/dist/parser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-
|
|
1
|
+
export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-UGMDBW46.js';
|
package/dist/renderer.cjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkKMZXXIM2_cjs = require('./chunk-KMZXXIM2.cjs');
|
|
4
|
+
var chunkVCHXMPZL_cjs = require('./chunk-VCHXMPZL.cjs');
|
|
5
5
|
var chunkZPHNXJRY_cjs = require('./chunk-ZPHNXJRY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "layoutCanvas", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkKMZXXIM2_cjs.layoutCanvas; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "render", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkKMZXXIM2_cjs.render; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "renderCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkKMZXXIM2_cjs.renderCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "renderToHtml", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKMZXXIM2_cjs.renderToHtml; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "renderToSvg", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkKMZXXIM2_cjs.renderToSvg; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "renderSite", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVCHXMPZL_cjs.renderSite; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ENABLED_GUARD_ATTR", {
|
|
34
34
|
enumerable: true,
|
package/dist/renderer.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './types-CGRi1k2N.cjs';
|
|
2
|
-
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
3
|
-
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-
|
|
2
|
+
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-DdQv4Bu5.cjs';
|
|
3
|
+
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-CIfur9e3.cjs';
|
|
4
4
|
import './v4-types-2ORUg6To.cjs';
|
package/dist/renderer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './types-CGRi1k2N.js';
|
|
2
|
-
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-
|
|
3
|
-
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-
|
|
2
|
+
export { e as AnnotationStyle, C as CanvasOptions, f as CanvasRenderResult, P as PageRenderResult, R as RenderContext, c as RenderOptions, d as RenderResult, i as SiteOptions, g as SvgRenderOptions, h as SvgRenderResult, j as ThemeColors, T as ThemeConfig, k as darkTheme, l as defaultTheme, m as getTheme, r as renderSite } from './index-c4FTW7XA.js';
|
|
3
|
+
export { e as ENABLED_GUARD_ATTR, f as EXTERNAL_NAVIGATE_ATTR, H as HtmlRenderer, I as INERT_HREF, x as INTERACTIVE_ATTR_NAMES, y as IconData, z as IconElement, A as InteractiveAttrs, P as PlacedPage, S as ShellMiss, B as SiteModel, D as SiteScreen, G as SiteShell, T as TYPED_INTERACTION_ATTR, O as VISIBLE_GUARD_ATTR, Q as anchorIntent, R as buildSiteModel, U as createHtmlRenderer, W as generateComponentStyles, X as generateStyles, Y as getIconData, Z as guardedOutcomeAttrs, _ as interactiveAttrs, $ as layoutCanvas, a0 as lucideIcons, a1 as render, a2 as renderCanvas, a3 as renderIconSvg, a4 as renderPage, a5 as renderToHtml, a6 as renderToSvg, a7 as renderUnknownIconSvg, a8 as resolvePageDimensions } from './index-DwGsnD0n.js';
|
|
4
4
|
import './v4-types-2ORUg6To.js';
|
package/dist/renderer.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-
|
|
2
|
-
export { renderSite } from './chunk-
|
|
1
|
+
export { layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-NPDSIAWT.js';
|
|
2
|
+
export { renderSite } from './chunk-24W2GEKO.js';
|
|
3
3
|
export { ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, createHtmlRenderer, darkTheme, defaultTheme, generateComponentStyles, generateStyles, getIconData, getTheme, guardedOutcomeAttrs, interactiveAttrs, lucideIcons, renderIconSvg, renderPage, renderUnknownIconSvg, resolvePageDimensions } from './chunk-XYACLXXF.js';
|