@wireweave/core 4.0.0-beta.12 → 4.0.0-beta.13

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.
Files changed (47) hide show
  1. package/dist/app.cjs +50 -31
  2. package/dist/app.d.cts +3 -3
  3. package/dist/app.d.ts +3 -3
  4. package/dist/app.js +1 -31
  5. package/dist/chunk-3RWGG5EC.js +296 -342
  6. package/dist/chunk-4TMDPWPR.cjs +22 -32
  7. package/dist/{chunk-7VTK6LHL.cjs → chunk-4UZBGIGJ.cjs} +82 -97
  8. package/dist/chunk-5DGRIQDU.cjs +26 -44
  9. package/dist/chunk-ETV4XYOV.cjs +4 -6
  10. package/dist/{chunk-QOS4IC75.js → chunk-FS6A6EJ4.js} +28 -57
  11. package/dist/chunk-IMUVIIJR.cjs +317 -354
  12. package/dist/chunk-JJWAFHSV.js +2 -23
  13. package/dist/chunk-MD6MNOEQ.cjs +121 -142
  14. package/dist/chunk-PKBMQBKP.js +1 -3
  15. package/dist/chunk-R5WBZWBC.js +3 -19
  16. package/dist/chunk-V3HVWC7C.js +1 -32
  17. package/dist/chunk-XYACLXXF.js +4 -132
  18. package/dist/chunk-ZPHNXJRY.cjs +158 -180
  19. package/dist/{index-Da_B3eoM.d.ts → index-BGU_4N4W.d.ts} +2 -2
  20. package/dist/{index-G906GEtg.d.cts → index-BlNYFaZd.d.cts} +2 -2
  21. package/dist/{index-CghCKUPx.d.ts → index-Cx4-VXVS.d.ts} +2 -2
  22. package/dist/{index-Br7pNaf3.d.cts → index-DyXaMSgd.d.cts} +2 -2
  23. package/dist/index.cjs +738 -419
  24. package/dist/index.d.cts +6 -6
  25. package/dist/index.d.ts +6 -6
  26. package/dist/index.js +12 -385
  27. package/dist/interaction.cjs +26 -17
  28. package/dist/interaction.d.cts +2 -2
  29. package/dist/interaction.d.ts +2 -2
  30. package/dist/interaction.js +1 -17
  31. package/dist/parser.cjs +38 -21
  32. package/dist/parser.d.cts +3 -3
  33. package/dist/parser.d.ts +3 -3
  34. package/dist/parser.js +1 -21
  35. package/dist/renderer.cjs +124 -68
  36. package/dist/renderer.d.cts +104 -104
  37. package/dist/renderer.d.ts +104 -104
  38. package/dist/renderer.js +3 -68
  39. package/dist/spec.cjs +94 -49
  40. package/dist/spec.js +1 -49
  41. package/dist/{types-vhPCZpAW.d.cts → types-CGRi1k2N.d.cts} +1 -1
  42. package/dist/{types-vhPCZpAW.d.ts → types-CGRi1k2N.d.ts} +1 -1
  43. package/dist/{v4-types-Baz9yqAS.d.cts → v4-types-2ORUg6To.d.cts} +1 -1
  44. package/dist/{v4-types-Baz9yqAS.d.ts → v4-types-2ORUg6To.d.ts} +1 -1
  45. package/package.json +21 -23
  46. package/dist/chunk-WV724EAW.js +0 -0
  47. package/dist/chunk-XENFKHRC.cjs +0 -1
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
- import { h as AnyNode, A as AccordionNode, a as AlertNode, j as AvatarNode, B as BadgeNode, r as BreadcrumbNode, s as ButtonNode, C as CardNode, w as CheckboxNode, x as ColNode, z as ComponentDefinitionNode, H as ComponentUseNode, I as ContainerComponentNode, J as ContainerNode, K as DataNode, L as DefinitionNode, N as DisplayNode, O as DividerComponentNode, P as DrawerNode, S as DropdownNode, T as FeedbackNode, V as FooterNode, W as GridNode, Z as HeaderNode, $ as IconNode, a2 as ImageNode, a3 as InputComponentNode, a4 as InputNode, aa as LayoutDefinitionNode, ab as LayoutNode, ac as LeafNode, ad as LinkNode, af as ListNode, ag as MainNode, aj as ModalNode, ao as NavNode, ap as NavigationNode, aq as NodeType, ar as OverlayNode, as as PageNode, at as PlaceholderNode, au as PopoverNode, ax as ProgressNode, ay as RadioNode, aB as RowNode, aC as SectionNode, aD as SelectNode, aG as SidebarNode, aI as SliderNode, aJ as SlotNode, aN as SpinnerNode, aV as SwitchNode, aX as TableNode, aY as TabsNode, a_ as TextContentNode, a$ as TextNode, b3 as TextareaNode, b5 as TitleNode, b6 as ToastNode, b8 as TooltipNode, be as WireframeDocument, aK as SourceLocation } from './types-vhPCZpAW.cjs';
2
- export { b as AlertVariant, c as AlignValue, d as AnchorPosition, e as AnnotationItemNode, f as AnnotationNode, g as AnnotationsNode, i as AppearanceProps, k as AvatarSize, l as AvatarSizeToken, m as BadgeSize, n as BadgeSizeToken, o as BadgeVariant, p as BaseNode, q as BreadcrumbItem, t as ButtonSize, u as ButtonSizeToken, v as ButtonVariant, y as CommonProps, D as ComponentInputValue, E as ComponentParameter, F as ComponentParameterType, G as ComponentSlotFill, M as DirectionValue, Q as DrawerPosition, R as DropdownItemNode, U as FlexProps, X as GridProps, Y as GuardedOutcomeProps, _ as HeightValue, a0 as IconSize, a1 as IconSizeToken, a5 as InputType, a6 as InteractionEffect, a7 as InteractionHandler, a8 as InteractiveProps, a9 as JustifyValue, ae as ListItemNode, ah as MarkerColor, ai as MarkerNode, ak as NavBlockItem, al as NavChild, am as NavGroupNode, an as NavItem, av as Position, aw as PositionProps, az as RelativeNode, aA as RepeatNode, aE as SelectOption, aF as ShadowValue, aH as SizeProps, aL as SpacingProps, aM as SpacingValue, aO as SpinnerSize, aP as SpinnerSizeToken, aQ as StackNode, aR as StateDeclaration, aS as StateGuard, aT as StateValue, aU as StateValueType, aW as TabNode, aZ as TextAlign, b0 as TextSize, b1 as TextSizeToken, b2 as TextWeight, b4 as TitleLevel, b7 as ToastPosition, b9 as TooltipPosition, ba as TopLevelNode, bb as ValueWithUnit, bc as VariantScopedProps, bd as WidthValue } from './types-vhPCZpAW.cjs';
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
+ 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
4
  export { ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, IconData, IconElement, InteractiveAttrs, PlacedPage, ShellMiss, SiteModel, SiteScreen, SiteShell, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, createHtmlRenderer, generateComponentStyles, generateStyles, getIconData, guardedOutcomeAttrs, interactiveAttrs, layoutCanvas, lucideIcons, render, renderCanvas, renderIconSvg, renderPage, renderToHtml, renderToSvg, renderUnknownIconSvg, resolvePageDimensions } from './renderer.cjs';
5
5
  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';
6
6
  import { C as ComponentCategory } from './types-Dkgr0Wyc.cjs';
7
7
  export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.cjs';
8
- import { h as ScreenFields, k as ScreenTransitionGraph } from './index-G906GEtg.cjs';
9
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, b as InteractionKind, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, S as ScreenAction, f as ScreenDisplay, g as ScreenElement, i as ScreenFieldsSummary, j 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-G906GEtg.cjs';
8
+ import { S as ScreenFields, a as ScreenTransitionGraph } from './index-BlNYFaZd.cjs';
9
+ 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';
10
10
  export { AppArtifact, AppBundle, AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppResult, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, CreateAppBundleOptions, Diagnostic, InstanceStep, LinkedApp, LinkedIdentity, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, ScreenReference, SourceMapEntry, advanceClock, compileApp, createAppBundle, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.cjs';
11
- export { A as AnnotationStyle, C as CanvasOptions, a as CanvasRenderResult, P as PageRenderResult, R as RenderContext, b as RenderOptions, c as RenderResult, S as SiteOptions, d as SvgRenderOptions, e as SvgRenderResult, T as ThemeColors, f as ThemeConfig, g as darkTheme, h as defaultTheme, i as getTheme, r as renderSite } from './index-Br7pNaf3.cjs';
12
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, P as ParsedDocument, V as V4Diagnostic, h as V4ParseError, i as V4ParseOptions, j as V4ParseResult, k as V4SourceSpan } from './v4-types-Baz9yqAS.cjs';
11
+ export { A as AnnotationStyle, C as CanvasOptions, c as CanvasRenderResult, P as PageRenderResult, R as RenderContext, a as RenderOptions, b as RenderResult, e as SiteOptions, S as SvgRenderOptions, d as SvgRenderResult, f as ThemeColors, T as ThemeConfig, g as darkTheme, h as defaultTheme, i as getTheme, r as renderSite } from './index-DyXaMSgd.cjs';
12
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, P as ParsedDocument, i as V4Diagnostic, j as V4ParseError, a as V4ParseOptions, b as V4ParseResult, V as V4SourceSpan } from './v4-types-2ORUg6To.cjs';
13
13
 
14
14
  /**
15
15
  * Type guards for wireweave AST
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { h as AnyNode, A as AccordionNode, a as AlertNode, j as AvatarNode, B as BadgeNode, r as BreadcrumbNode, s as ButtonNode, C as CardNode, w as CheckboxNode, x as ColNode, z as ComponentDefinitionNode, H as ComponentUseNode, I as ContainerComponentNode, J as ContainerNode, K as DataNode, L as DefinitionNode, N as DisplayNode, O as DividerComponentNode, P as DrawerNode, S as DropdownNode, T as FeedbackNode, V as FooterNode, W as GridNode, Z as HeaderNode, $ as IconNode, a2 as ImageNode, a3 as InputComponentNode, a4 as InputNode, aa as LayoutDefinitionNode, ab as LayoutNode, ac as LeafNode, ad as LinkNode, af as ListNode, ag as MainNode, aj as ModalNode, ao as NavNode, ap as NavigationNode, aq as NodeType, ar as OverlayNode, as as PageNode, at as PlaceholderNode, au as PopoverNode, ax as ProgressNode, ay as RadioNode, aB as RowNode, aC as SectionNode, aD as SelectNode, aG as SidebarNode, aI as SliderNode, aJ as SlotNode, aN as SpinnerNode, aV as SwitchNode, aX as TableNode, aY as TabsNode, a_ as TextContentNode, a$ as TextNode, b3 as TextareaNode, b5 as TitleNode, b6 as ToastNode, b8 as TooltipNode, be as WireframeDocument, aK as SourceLocation } from './types-vhPCZpAW.js';
2
- export { b as AlertVariant, c as AlignValue, d as AnchorPosition, e as AnnotationItemNode, f as AnnotationNode, g as AnnotationsNode, i as AppearanceProps, k as AvatarSize, l as AvatarSizeToken, m as BadgeSize, n as BadgeSizeToken, o as BadgeVariant, p as BaseNode, q as BreadcrumbItem, t as ButtonSize, u as ButtonSizeToken, v as ButtonVariant, y as CommonProps, D as ComponentInputValue, E as ComponentParameter, F as ComponentParameterType, G as ComponentSlotFill, M as DirectionValue, Q as DrawerPosition, R as DropdownItemNode, U as FlexProps, X as GridProps, Y as GuardedOutcomeProps, _ as HeightValue, a0 as IconSize, a1 as IconSizeToken, a5 as InputType, a6 as InteractionEffect, a7 as InteractionHandler, a8 as InteractiveProps, a9 as JustifyValue, ae as ListItemNode, ah as MarkerColor, ai as MarkerNode, ak as NavBlockItem, al as NavChild, am as NavGroupNode, an as NavItem, av as Position, aw as PositionProps, az as RelativeNode, aA as RepeatNode, aE as SelectOption, aF as ShadowValue, aH as SizeProps, aL as SpacingProps, aM as SpacingValue, aO as SpinnerSize, aP as SpinnerSizeToken, aQ as StackNode, aR as StateDeclaration, aS as StateGuard, aT as StateValue, aU as StateValueType, aW as TabNode, aZ as TextAlign, b0 as TextSize, b1 as TextSizeToken, b2 as TextWeight, b4 as TitleLevel, b7 as ToastPosition, b9 as TooltipPosition, ba as TopLevelNode, bb as ValueWithUnit, bc as VariantScopedProps, bd as WidthValue } from './types-vhPCZpAW.js';
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
+ 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
4
  export { ENABLED_GUARD_ATTR, EXTERNAL_NAVIGATE_ATTR, HtmlRenderer, INERT_HREF, INTERACTIVE_ATTR_NAMES, IconData, IconElement, InteractiveAttrs, PlacedPage, ShellMiss, SiteModel, SiteScreen, SiteShell, TYPED_INTERACTION_ATTR, VISIBLE_GUARD_ATTR, anchorIntent, buildSiteModel, createHtmlRenderer, generateComponentStyles, generateStyles, getIconData, guardedOutcomeAttrs, interactiveAttrs, layoutCanvas, lucideIcons, render, renderCanvas, renderIconSvg, renderPage, renderToHtml, renderToSvg, renderUnknownIconSvg, resolvePageDimensions } from './renderer.js';
5
5
  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';
6
6
  import { C as ComponentCategory } from './types-Dkgr0Wyc.js';
7
7
  export { A as AttributeOverride, a as AttributeSpec, b as AttributeValueType, c as ComponentSpec } from './types-Dkgr0Wyc.js';
8
- import { h as ScreenFields, k as ScreenTransitionGraph } from './index-CghCKUPx.js';
9
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, b as InteractionKind, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, S as ScreenAction, f as ScreenDisplay, g as ScreenElement, i as ScreenFieldsSummary, j 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-CghCKUPx.js';
8
+ import { S as ScreenFields, a as ScreenTransitionGraph } from './index-Cx4-VXVS.js';
9
+ 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';
10
10
  export { AppArtifact, AppBundle, AppCompileResult, AppComponentInput, AppComponentInstanceId, AppDefinitionKind, AppDocument, AppLayoutInput, AppLinkDiagnostic, AppLinkDiagnosticCode, AppLinkResult, AppManifest, AppManifestModule, AppModuleInput, AppNodeId, AppNodeKind, AppReferenceInput, AppResult, AppScreenInput, AppSourceMapEntry, AppSourceSpan, CompileAppOptions, CreateAppBundleOptions, Diagnostic, InstanceStep, LinkedApp, LinkedIdentity, ResolvedAppComponent, ResolvedAppLayout, ResolvedAppModule, ResolvedAppReference, ResolvedAppScreen, RuntimeBrowserEffect, RuntimeInput, RuntimeSnapshot, RuntimeTrace, ScreenReference, SourceMapEntry, advanceClock, compileApp, createAppBundle, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, reduceEvent, renderSite as renderAppSite, resetRuntime } from './app.js';
11
- export { A as AnnotationStyle, C as CanvasOptions, a as CanvasRenderResult, P as PageRenderResult, R as RenderContext, b as RenderOptions, c as RenderResult, S as SiteOptions, d as SvgRenderOptions, e as SvgRenderResult, T as ThemeColors, f as ThemeConfig, g as darkTheme, h as defaultTheme, i as getTheme, r as renderSite } from './index-Da_B3eoM.js';
12
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, P as ParsedDocument, V as V4Diagnostic, h as V4ParseError, i as V4ParseOptions, j as V4ParseResult, k as V4SourceSpan } from './v4-types-Baz9yqAS.js';
11
+ export { A as AnnotationStyle, C as CanvasOptions, c as CanvasRenderResult, P as PageRenderResult, R as RenderContext, a as RenderOptions, b as RenderResult, e as SiteOptions, S as SvgRenderOptions, d as SvgRenderResult, f as ThemeColors, T as ThemeConfig, g as darkTheme, h as defaultTheme, i as getTheme, r as renderSite } from './index-BGU_4N4W.js';
12
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, P as ParsedDocument, i as V4Diagnostic, j as V4ParseError, a as V4ParseOptions, b as V4ParseResult, V as V4SourceSpan } from './v4-types-2ORUg6To.js';
13
13
 
14
14
  /**
15
15
  * Type guards for wireweave AST
package/dist/index.js CHANGED
@@ -1,194 +1,13 @@
1
- import {
2
- layoutCanvas,
3
- render,
4
- renderCanvas,
5
- renderToHtml,
6
- renderToSvg
7
- } from "./chunk-R5WBZWBC.js";
8
- import {
9
- advanceClock,
10
- collectParameterReferences,
11
- compileApp,
12
- createAppBundle,
13
- createAppComponentInstanceId,
14
- createAppNodeId,
15
- createRuntime,
16
- linkAndCompileApp,
17
- linkApp,
18
- parameterReferenceName,
19
- reduceEvent,
20
- renderSite as renderSite2,
21
- resetRuntime
22
- } from "./chunk-QOS4IC75.js";
23
- import {
24
- V4ParseError,
25
- getErrors,
26
- getV4SourceSpan,
27
- isValid,
28
- parse,
29
- parseV4,
30
- tryParse,
31
- tryParseV4
32
- } from "./chunk-3RWGG5EC.js";
33
- import {
34
- expandVariants,
35
- renderSite
36
- } from "./chunk-JJWAFHSV.js";
37
- import "./chunk-WV724EAW.js";
38
- import {
39
- ANCHOR_LOC_ATTR,
40
- ANCHOR_PATH_ATTR,
41
- ENABLED_GUARD_ATTR,
42
- EXTERNAL_NAVIGATE_ATTR,
43
- HtmlRenderer,
44
- INERT_HREF,
45
- INTERACTIVE_ATTR_NAMES,
46
- REPEAT_EXPANSION_BUDGET,
47
- RepeatBudgetError,
48
- TYPED_INTERACTION_ATTR,
49
- VISIBLE_GUARD_ATTR,
50
- anchorChildNodes,
51
- anchorIntent,
52
- buildSiteModel,
53
- categoryOf,
54
- cloneNode,
55
- collectInteractions,
56
- contains,
57
- countNodes,
58
- createHtmlRenderer,
59
- darkTheme,
60
- defaultTheme,
61
- documentDefinitions,
62
- documentPages,
63
- expandRepeats,
64
- filterUnscopedPages,
65
- filterVariantScope,
66
- find,
67
- findAll,
68
- findByType,
69
- generateComponentStyles,
70
- generateStyles,
71
- getAncestors,
72
- getContent,
73
- getIconData,
74
- getInteractions,
75
- getInteractiveLabel,
76
- getItemInteractions,
77
- getLabel,
78
- getMaxDepth,
79
- getNodeTypes,
80
- getTheme,
81
- guardedOutcomeAttrs,
82
- hasChildren,
83
- interactionSignature,
84
- interactiveAttrs,
85
- isAccordionNode,
86
- isAlertNode,
87
- isAvatarNode,
88
- isBadgeNode,
89
- isBreadcrumbNode,
90
- isButtonNode,
91
- isCardNode,
92
- isCheckboxNode,
93
- isColNode,
94
- isComponentDefinitionNode,
95
- isComponentUseNode,
96
- isContainerComponentNode,
97
- isContainerNode,
98
- isDataNode,
99
- isDefinitionNode,
100
- isDisplayNode,
101
- isDividerNode,
102
- isDrawerNode,
103
- isDropdownNode,
104
- isFeedbackNode,
105
- isFooterNode,
106
- isGridNode,
107
- isHeaderNode,
108
- isIconNode,
109
- isImageNode,
110
- isInputComponentNode,
111
- isInputNode,
112
- isLayoutDefinitionNode,
113
- isLayoutNode,
114
- isLeafNode,
115
- isLinkNode,
116
- isListNode,
117
- isMainNode,
118
- isModalNode,
119
- isNavNode,
120
- isNavigationNode,
121
- isNodeType,
122
- isOverlayNode,
123
- isPageNode,
124
- isPlaceholderNode,
125
- isPopoverNode,
126
- isProgressNode,
127
- isRadioNode,
128
- isRowNode,
129
- isSectionNode,
130
- isSelectNode,
131
- isSidebarNode,
132
- isSliderNode,
133
- isSlotNode,
134
- isSpinnerNode,
135
- isSwitchNode,
136
- isTableNode,
137
- isTabsNode,
138
- isTextContentNode,
139
- isTextNode,
140
- isTextareaNode,
141
- isTitleNode,
142
- isToastNode,
143
- isTooltipNode,
144
- isUrlTarget,
145
- lucideIcons,
146
- mapNodes,
147
- normalizeInteractionHandlers,
148
- normalizeStateGuard,
149
- renderIconSvg,
150
- renderPage,
151
- renderUnknownIconSvg,
152
- resolveAnchorPath,
153
- resolvePageDimensions,
154
- variantScope,
155
- walk,
156
- walkAnchorPaths,
157
- walkDocument
158
- } from "./chunk-XYACLXXF.js";
159
- import {
160
- ATTRIBUTE_MAP,
161
- ATTRIBUTE_OVERRIDES,
162
- ATTRIBUTE_SPECS,
163
- BLOCK_NODE_SPECS,
164
- BOX_ATTRIBUTES,
165
- COMPONENT_MAP,
166
- COMPONENT_NAMES,
167
- COMPONENT_SPECS,
168
- COMPONENT_SPEC_BY_NAME,
169
- CONTAINER_ATTRIBUTES,
170
- DEFAULT_VIEWPORT,
171
- DEVICE_PRESETS,
172
- ELEMENT_NODE_TYPE_MAP,
173
- GRAMMAR_BLOCK_NODE_TYPES,
174
- GRAMMAR_CHILD_KEYWORDS,
175
- GRAMMAR_ELEMENTS,
176
- INTERACTIVE_ATTRIBUTES,
177
- LUCIDE_ICON_NAMES,
178
- NODE_TYPE_MAP,
179
- VALID_ATTRIBUTE_NAMES,
180
- VALID_COMPONENT_NAMES,
181
- attributeFor,
182
- calculateViewportScale,
183
- getDevicePresets,
184
- getValidAttributes,
185
- isValidAttribute,
186
- isValidDevicePreset,
187
- parseViewportString,
188
- resolveViewport,
189
- wrapInPreviewContainer
190
- } from "./chunk-V3HVWC7C.js";
191
- import "./chunk-PKBMQBKP.js";
1
+ export { layoutCanvas, render, renderCanvas, renderToHtml, renderToSvg } from './chunk-R5WBZWBC.js';
2
+ import { collectParameterReferences } from './chunk-FS6A6EJ4.js';
3
+ export { advanceClock, collectParameterReferences, compileApp, createAppBundle, createAppComponentInstanceId, createAppNodeId, createRuntime, linkAndCompileApp, linkApp, parameterReferenceName, reduceEvent, renderSite as renderAppSite, resetRuntime } from './chunk-FS6A6EJ4.js';
4
+ import { parse } from './chunk-3RWGG5EC.js';
5
+ export { V4ParseError, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 } from './chunk-3RWGG5EC.js';
6
+ export { expandVariants, renderSite } from './chunk-JJWAFHSV.js';
7
+ import { documentPages, walk, categoryOf, getLabel, getContent, isInputComponentNode, getInteractiveLabel, getInteractions, getItemInteractions, buildSiteModel, collectInteractions, walkAnchorPaths, resolveAnchorPath, anchorChildNodes, isUrlTarget, variantScope } from './chunk-XYACLXXF.js';
8
+ 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';
9
+ import { GRAMMAR_CHILD_KEYWORDS, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES } from './chunk-V3HVWC7C.js';
10
+ export { ATTRIBUTE_MAP, ATTRIBUTE_OVERRIDES, ATTRIBUTE_SPECS, BLOCK_NODE_SPECS, BOX_ATTRIBUTES, COMPONENT_MAP, COMPONENT_NAMES, COMPONENT_SPECS, COMPONENT_SPEC_BY_NAME, CONTAINER_ATTRIBUTES, DEFAULT_VIEWPORT, DEVICE_PRESETS, ELEMENT_NODE_TYPE_MAP, GRAMMAR_BLOCK_NODE_TYPES, GRAMMAR_CHILD_KEYWORDS, GRAMMAR_ELEMENTS, INTERACTIVE_ATTRIBUTES, LUCIDE_ICON_NAMES, NODE_TYPE_MAP, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, attributeFor, calculateViewportScale, getDevicePresets, getValidAttributes, isValidAttribute, isValidDevicePreset, parseViewportString, resolveViewport, wrapInPreviewContainer } from './chunk-V3HVWC7C.js';
192
11
 
193
12
  // src/printer/values.ts
194
13
  var IDENTIFIER_RE = /^[a-zA-Z_][a-zA-Z0-9_-]*$/;
@@ -1817,7 +1636,6 @@ function exportToFigma(doc) {
1817
1636
  children: []
1818
1637
  };
1819
1638
  for (const page of documentPages(doc)) {
1820
- ;
1821
1639
  documentNode.children.push(nodeToFigma(page));
1822
1640
  }
1823
1641
  const componentMappings = {};
@@ -2540,196 +2358,5 @@ function buildDomTreeNode(node, path) {
2540
2358
  if (label !== void 0) treeNode.label = label;
2541
2359
  return treeNode;
2542
2360
  }
2543
- export {
2544
- ANCHOR_LOC_ATTR,
2545
- ANCHOR_PATH_ATTR,
2546
- ATTRIBUTE_MAP,
2547
- ATTRIBUTE_OVERRIDES,
2548
- ATTRIBUTE_SPECS,
2549
- BLOCK_NODE_SPECS,
2550
- BOX_ATTRIBUTES,
2551
- COMPONENT_MAP,
2552
- COMPONENT_NAMES,
2553
- COMPONENT_SPECS,
2554
- COMPONENT_SPEC_BY_NAME,
2555
- CONTAINER_ATTRIBUTES,
2556
- DEFAULT_VIEWPORT,
2557
- DEVICE_PRESETS,
2558
- ELEMENT_NODE_TYPE_MAP,
2559
- ENABLED_GUARD_ATTR,
2560
- EXTERNAL_NAVIGATE_ATTR,
2561
- GRAMMAR_BLOCK_NODE_TYPES,
2562
- GRAMMAR_CHILD_KEYWORDS,
2563
- GRAMMAR_ELEMENTS,
2564
- HtmlRenderer,
2565
- INERT_HREF,
2566
- INTERACTIVE_ATTRIBUTES,
2567
- INTERACTIVE_ATTR_NAMES,
2568
- LUCIDE_ICON_NAMES,
2569
- NODE_TYPE_MAP,
2570
- REPEAT_EXPANSION_BUDGET,
2571
- RepeatBudgetError,
2572
- TYPED_INTERACTION_ATTR,
2573
- V4ParseError,
2574
- VALID_ATTRIBUTE_NAMES,
2575
- VALID_COMPONENT_NAMES,
2576
- VISIBLE_GUARD_ATTR,
2577
- advanceClock,
2578
- analyze,
2579
- anchorIntent,
2580
- areIdentical,
2581
- attributeFor,
2582
- buildAnchorIndex,
2583
- buildDomTree,
2584
- buildSiteModel,
2585
- calculateViewportScale,
2586
- cloneNode,
2587
- collectInteractions,
2588
- collectParameterReferences,
2589
- compileApp,
2590
- contains,
2591
- countNodes,
2592
- createAppBundle,
2593
- createAppComponentInstanceId,
2594
- createAppNodeId,
2595
- createHtmlRenderer,
2596
- createRuntime,
2597
- darkTheme,
2598
- defaultTheme,
2599
- diff,
2600
- documentDefinitions,
2601
- documentPages,
2602
- expandRepeats,
2603
- expandVariants,
2604
- exportToFigma,
2605
- exportToFigmaString,
2606
- exportToJson,
2607
- exportToJsonString,
2608
- extractAllScreenFields,
2609
- extractScreenFields,
2610
- extractScreenTransitions,
2611
- filterUnscopedPages,
2612
- filterVariantScope,
2613
- find,
2614
- findAll,
2615
- findByType,
2616
- formatWireframeCode,
2617
- generateComponentStyles,
2618
- generateStyles,
2619
- getAncestors,
2620
- getChangeSummary,
2621
- getDevicePresets,
2622
- getErrors,
2623
- getIconData,
2624
- getMaxDepth,
2625
- getNodeSource,
2626
- getNodeTypes,
2627
- getPageSource,
2628
- getTheme,
2629
- getV4SourceSpan,
2630
- getValidAttributes,
2631
- getValidationErrors,
2632
- guardedOutcomeAttrs,
2633
- hasChildren,
2634
- importFromJson,
2635
- interactionSignature,
2636
- interactiveAttrs,
2637
- isAccordionNode,
2638
- isAlertNode,
2639
- isAvatarNode,
2640
- isBadgeNode,
2641
- isBreadcrumbNode,
2642
- isButtonNode,
2643
- isCardNode,
2644
- isCheckboxNode,
2645
- isColNode,
2646
- isComponentDefinitionNode,
2647
- isComponentUseNode,
2648
- isContainerComponentNode,
2649
- isContainerNode,
2650
- isDataNode,
2651
- isDefinitionNode,
2652
- isDisplayNode,
2653
- isDividerNode,
2654
- isDrawerNode,
2655
- isDropdownNode,
2656
- isFeedbackNode,
2657
- isFooterNode,
2658
- isGridNode,
2659
- isHeaderNode,
2660
- isIconNode,
2661
- isImageNode,
2662
- isInputComponentNode,
2663
- isInputNode,
2664
- isLayoutDefinitionNode,
2665
- isLayoutNode,
2666
- isLeafNode,
2667
- isLinkNode,
2668
- isListNode,
2669
- isMainNode,
2670
- isModalNode,
2671
- isNavNode,
2672
- isNavigationNode,
2673
- isNodeType,
2674
- isOverlayNode,
2675
- isPageNode,
2676
- isPlaceholderNode,
2677
- isPopoverNode,
2678
- isProgressNode,
2679
- isRadioNode,
2680
- isRowNode,
2681
- isSectionNode,
2682
- isSelectNode,
2683
- isSidebarNode,
2684
- isSliderNode,
2685
- isSlotNode,
2686
- isSpinnerNode,
2687
- isSwitchNode,
2688
- isTableNode,
2689
- isTabsNode,
2690
- isTextContentNode,
2691
- isTextNode,
2692
- isTextareaNode,
2693
- isTitleNode,
2694
- isToastNode,
2695
- isTooltipNode,
2696
- isUrlTarget,
2697
- isValid,
2698
- isValidAst,
2699
- isValidAttribute,
2700
- isValidDevicePreset,
2701
- layoutCanvas,
2702
- linkAndCompileApp,
2703
- linkApp,
2704
- lucideIcons,
2705
- mapNodes,
2706
- normalizeInteractionHandlers,
2707
- normalizeStateGuard,
2708
- parameterReferenceName,
2709
- parse,
2710
- parseV4,
2711
- parseViewportString,
2712
- printWireframe,
2713
- reduceEvent,
2714
- render,
2715
- renderSite2 as renderAppSite,
2716
- renderCanvas,
2717
- renderIconSvg,
2718
- renderPage,
2719
- renderSite,
2720
- renderToHtml,
2721
- renderToSvg,
2722
- renderUnknownIconSvg,
2723
- resetFigmaIdCounter,
2724
- resetRuntime,
2725
- resolveAnchor,
2726
- resolvePageDimensions,
2727
- resolveViewport,
2728
- tryParse,
2729
- tryParseV4,
2730
- validate,
2731
- variantScope,
2732
- walk,
2733
- walkDocument,
2734
- wrapInPreviewContainer
2735
- };
2361
+
2362
+ export { analyze, areIdentical, buildAnchorIndex, buildDomTree, diff, exportToFigma, exportToFigmaString, exportToJson, exportToJsonString, extractAllScreenFields, extractScreenFields, extractScreenTransitions, formatWireframeCode, getChangeSummary, getNodeSource, getPageSource, getValidationErrors, importFromJson, isValidAst, printWireframe, resetFigmaIdCounter, resolveAnchor, validate };
@@ -1,17 +1,26 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XENFKHRC.cjs');
2
-
3
-
4
-
5
-
6
-
7
-
8
- var _chunkZPHNXJRYcjs = require('./chunk-ZPHNXJRY.cjs');
9
- require('./chunk-MD6MNOEQ.cjs');
10
- require('./chunk-ETV4XYOV.cjs');
11
-
12
-
13
-
14
-
15
-
16
-
17
- exports.collectInteractions = _chunkZPHNXJRYcjs.collectInteractions; exports.interactionSignature = _chunkZPHNXJRYcjs.interactionSignature; exports.isUrlTarget = _chunkZPHNXJRYcjs.isUrlTarget; exports.normalizeInteractionHandlers = _chunkZPHNXJRYcjs.normalizeInteractionHandlers; exports.normalizeStateGuard = _chunkZPHNXJRYcjs.normalizeStateGuard;
1
+ 'use strict';
2
+
3
+ var chunkZPHNXJRY_cjs = require('./chunk-ZPHNXJRY.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "collectInteractions", {
8
+ enumerable: true,
9
+ get: function () { return chunkZPHNXJRY_cjs.collectInteractions; }
10
+ });
11
+ Object.defineProperty(exports, "interactionSignature", {
12
+ enumerable: true,
13
+ get: function () { return chunkZPHNXJRY_cjs.interactionSignature; }
14
+ });
15
+ Object.defineProperty(exports, "isUrlTarget", {
16
+ enumerable: true,
17
+ get: function () { return chunkZPHNXJRY_cjs.isUrlTarget; }
18
+ });
19
+ Object.defineProperty(exports, "normalizeInteractionHandlers", {
20
+ enumerable: true,
21
+ get: function () { return chunkZPHNXJRY_cjs.normalizeInteractionHandlers; }
22
+ });
23
+ Object.defineProperty(exports, "normalizeStateGuard", {
24
+ enumerable: true,
25
+ get: function () { return chunkZPHNXJRY_cjs.normalizeStateGuard; }
26
+ });
@@ -1,3 +1,3 @@
1
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-G906GEtg.cjs';
2
- import './types-vhPCZpAW.cjs';
1
+ export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-BlNYFaZd.cjs';
2
+ import './types-CGRi1k2N.cjs';
3
3
  import './types-Dkgr0Wyc.cjs';
@@ -1,3 +1,3 @@
1
- export { I as InteractionDiagnostic, a as InteractionDiagnosticCode, c as InteractionModel, N as NormalizedInteraction, d as NormalizedInteractionEffect, e as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-CghCKUPx.js';
2
- import './types-vhPCZpAW.js';
1
+ export { I as InteractionDiagnostic, b as InteractionDiagnosticCode, d as InteractionModel, N as NormalizedInteraction, e as NormalizedInteractionEffect, f as NormalizedInteractionHandler, m as collectInteractions, n as interactionSignature, o as isUrlTarget, p as normalizeInteractionHandlers, q as normalizeStateGuard } from './index-Cx4-VXVS.js';
2
+ import './types-CGRi1k2N.js';
3
3
  import './types-Dkgr0Wyc.js';
@@ -1,17 +1 @@
1
- import "./chunk-WV724EAW.js";
2
- import {
3
- collectInteractions,
4
- interactionSignature,
5
- isUrlTarget,
6
- normalizeInteractionHandlers,
7
- normalizeStateGuard
8
- } from "./chunk-XYACLXXF.js";
9
- import "./chunk-V3HVWC7C.js";
10
- import "./chunk-PKBMQBKP.js";
11
- export {
12
- collectInteractions,
13
- interactionSignature,
14
- isUrlTarget,
15
- normalizeInteractionHandlers,
16
- normalizeStateGuard
17
- };
1
+ export { collectInteractions, interactionSignature, isUrlTarget, normalizeInteractionHandlers, normalizeStateGuard } from './chunk-XYACLXXF.js';
package/dist/parser.cjs CHANGED
@@ -1,21 +1,38 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
- var _chunkIMUVIIJRcjs = require('./chunk-IMUVIIJR.cjs');
11
- require('./chunk-ETV4XYOV.cjs');
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
- exports.V4ParseError = _chunkIMUVIIJRcjs.V4ParseError; exports.getErrors = _chunkIMUVIIJRcjs.getErrors; exports.getV4SourceSpan = _chunkIMUVIIJRcjs.getV4SourceSpan; exports.isValid = _chunkIMUVIIJRcjs.isValid; exports.parse = _chunkIMUVIIJRcjs.parse; exports.parseV4 = _chunkIMUVIIJRcjs.parseV4; exports.tryParse = _chunkIMUVIIJRcjs.tryParse; exports.tryParseV4 = _chunkIMUVIIJRcjs.tryParseV4;
1
+ 'use strict';
2
+
3
+ var chunkIMUVIIJR_cjs = require('./chunk-IMUVIIJR.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "V4ParseError", {
8
+ enumerable: true,
9
+ get: function () { return chunkIMUVIIJR_cjs.V4ParseError; }
10
+ });
11
+ Object.defineProperty(exports, "getErrors", {
12
+ enumerable: true,
13
+ get: function () { return chunkIMUVIIJR_cjs.getErrors; }
14
+ });
15
+ Object.defineProperty(exports, "getV4SourceSpan", {
16
+ enumerable: true,
17
+ get: function () { return chunkIMUVIIJR_cjs.getV4SourceSpan; }
18
+ });
19
+ Object.defineProperty(exports, "isValid", {
20
+ enumerable: true,
21
+ get: function () { return chunkIMUVIIJR_cjs.isValid; }
22
+ });
23
+ Object.defineProperty(exports, "parse", {
24
+ enumerable: true,
25
+ get: function () { return chunkIMUVIIJR_cjs.parse; }
26
+ });
27
+ Object.defineProperty(exports, "parseV4", {
28
+ enumerable: true,
29
+ get: function () { return chunkIMUVIIJR_cjs.parseV4; }
30
+ });
31
+ Object.defineProperty(exports, "tryParse", {
32
+ enumerable: true,
33
+ get: function () { return chunkIMUVIIJR_cjs.tryParse; }
34
+ });
35
+ Object.defineProperty(exports, "tryParseV4", {
36
+ enumerable: true,
37
+ get: function () { return chunkIMUVIIJR_cjs.tryParseV4; }
38
+ });
package/dist/parser.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { aK as SourceLocation, be as WireframeDocument } from './types-vhPCZpAW.cjs';
2
- import { k as V4SourceSpan, i as V4ParseOptions, P as ParsedDocument, j as V4ParseResult } from './v4-types-Baz9yqAS.cjs';
3
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, V as V4Diagnostic, h as V4ParseError } from './v4-types-Baz9yqAS.cjs';
1
+ import { S as SourceLocation, W as WireframeDocument } from './types-CGRi1k2N.cjs';
2
+ import { V as V4SourceSpan, a as V4ParseOptions, P as ParsedDocument, b as V4ParseResult } from './v4-types-2ORUg6To.cjs';
3
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, i as V4Diagnostic, j as V4ParseError } from './v4-types-2ORUg6To.cjs';
4
4
 
5
5
  /** Original-source metadata is kept outside the canonical JSON document. */
6
6
  declare function getV4SourceSpan(value: object): Readonly<V4SourceSpan> | undefined;
package/dist/parser.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { aK as SourceLocation, be as WireframeDocument } from './types-vhPCZpAW.js';
2
- import { k as V4SourceSpan, i as V4ParseOptions, P as ParsedDocument, j as V4ParseResult } from './v4-types-Baz9yqAS.js';
3
- export { C as CanonicalDefinition, a as CanonicalModule, b as CanonicalNode, c as CanonicalParameter, d as CanonicalPrimitive, e as CanonicalSymbol, f as CanonicalUse, V as V4Diagnostic, h as V4ParseError } from './v4-types-Baz9yqAS.js';
1
+ import { S as SourceLocation, W as WireframeDocument } from './types-CGRi1k2N.js';
2
+ import { V as V4SourceSpan, a as V4ParseOptions, P as ParsedDocument, b as V4ParseResult } from './v4-types-2ORUg6To.js';
3
+ export { C as CanonicalDefinition, c as CanonicalModule, d as CanonicalNode, e as CanonicalParameter, f as CanonicalPrimitive, g as CanonicalSymbol, h as CanonicalUse, i as V4Diagnostic, j as V4ParseError } from './v4-types-2ORUg6To.js';
4
4
 
5
5
  /** Original-source metadata is kept outside the canonical JSON document. */
6
6
  declare function getV4SourceSpan(value: object): Readonly<V4SourceSpan> | undefined;