@wireweave/core 2.0.1-beta.1 → 2.0.1

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/wireweave/core/main/logo.svg" width="128" height="128" alt="Wireweave Core">
2
+ <img src="https://docs.wireweave.org/assets/wireweave-core.svg" width="128" height="128" alt="Wireweave Core">
3
3
  </p>
4
4
 
5
5
  <h1 align="center">@wireweave/core</h1>
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AnyNode, C as ContainerNode, L as LeafNode, a as LayoutNode, P as PageNode, H as HeaderNode, M as MainNode, F as FooterNode, S as SidebarNode, b as SectionNode, G as GridNode, R as RowNode, c as ColNode, d as ContainerComponentNode, e as CardNode, f as ModalNode, D as DrawerNode, g as AccordionNode, T as TextContentNode, h as TextNode, i as TitleNode, j as LinkNode, I as InputComponentNode, k as InputNode, l as TextareaNode, m as SelectNode, n as CheckboxNode, o as RadioNode, p as SwitchNode, q as SliderNode, B as ButtonNode, r as DisplayNode, s as ImageNode, t as PlaceholderNode, u as AvatarNode, v as BadgeNode, w as IconNode, x as DataNode, y as TableNode, z as ListNode, E as FeedbackNode, J as AlertNode, K as ToastNode, N as ProgressNode, O as SpinnerNode, Q as OverlayNode, U as TooltipNode, V as PopoverNode, W as DropdownNode, X as NavigationNode, Y as NavNode, Z as TabsNode, _ as BreadcrumbNode, $ as DividerComponentNode, a0 as NodeType, a1 as WireframeDocument } from './types-CRocJqKS.cjs';
2
- export { az as AlertVariant, ac as AlignValue, au as AvatarSize, aw as BadgeSize, av as BadgeVariant, a4 as BaseNode, aL as BreadcrumbItem, at as ButtonSize, as as ButtonVariant, ah as CommonProps, ad as DirectionValue, aE as DividerNode, ak as DrawerPosition, aD as DropdownItemNode, ae as FlexProps, af as GridProps, a9 as HeightValue, ax as IconSize, aq as InputType, ai as InteractiveProps, ab as JustifyValue, ay as ListItemNode, aG as NavBlockItem, aJ as NavChild, aI as NavDivider, aH as NavGroupNode, aF as NavItem, a2 as Position, ag as PositionProps, ar as SelectOption, aj as ShadowValue, aa as SizeProps, a3 as SourceLocation, a7 as SpacingProps, a6 as SpacingValue, aB as SpinnerSize, aK as TabNode, ao as TextAlign, am as TextSize, al as TextSizeToken, an as TextWeight, ap as TitleLevel, aA as ToastPosition, aC as TooltipPosition, a5 as ValueWithUnit, a8 as WidthValue } from './types-CRocJqKS.cjs';
1
+ import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, C as CardNode, f as CheckboxNode, g as ColNode, h as ContainerComponentNode, i as ContainerNode, D as DataNode, j as DisplayNode, k as DividerComponentNode, l as DrawerNode, m as DropdownNode, F as FeedbackNode, n as FooterNode, G as GridNode, H as HeaderNode, I as IconNode, o as ImageNode, p as InputComponentNode, q as InputNode, L as LayoutNode, r as LeafNode, s as LinkNode, t as ListNode, M as MainNode, u as ModalNode, N as NavNode, v as NavigationNode, w as NodeType, O as OverlayNode, P as PageNode, x as PlaceholderNode, y as PopoverNode, z as ProgressNode, R as RadioNode, E as RowNode, S as SectionNode, J as SelectNode, K as SidebarNode, Q as SliderNode, T as SpinnerNode, U as SwitchNode, V as TableNode, W as TabsNode, X as TextContentNode, Y as TextNode, Z as TextareaNode, _ as TitleNode, $ as ToastNode, a0 as TooltipNode, a1 as WireframeDocument } from './types-BSKtr--J.cjs';
2
+ export { a2 as AlertVariant, a3 as AlignValue, a4 as AvatarSize, a5 as BadgeSize, a6 as BadgeVariant, a7 as BaseNode, a8 as BreadcrumbItem, a9 as ButtonSize, aa as ButtonVariant, ab as CommonProps, ac as DirectionValue, ad as DividerNode, ae as DrawerPosition, af as DropdownItemNode, ag as FlexProps, ah as GridProps, ai as HeightValue, aj as IconSize, ak as InputType, al as InteractiveProps, am as JustifyValue, an as ListItemNode, ao as NavBlockItem, ap as NavChild, aq as NavDivider, ar as NavGroupNode, as as NavItem, at as Position, au as PositionProps, av as SelectOption, aw as ShadowValue, ax as SizeProps, ay as SourceLocation, az as SpacingProps, aA as SpacingValue, aB as SpinnerSize, aC as TabNode, aD as TextAlign, aE as TextSize, aF as TextSizeToken, aG as TextWeight, aH as TitleLevel, aI as ToastPosition, aJ as TooltipPosition, aK as ValueWithUnit, aL as WidthValue } from './types-BSKtr--J.cjs';
3
3
  export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, isValid, parse, tryParse } from './parser.cjs';
4
4
  export { HtmlRenderer, IconData, IconElement, RenderContext, RenderOptions, RenderResult, SvgRenderOptions, SvgRenderResult, ThemeColors, ThemeConfig, createHtmlRenderer, darkTheme, defaultTheme, generateComponentStyles, generateStyles, getIconData, getTheme, lucideIcons, render, renderIconSvg, renderToHtml, renderToSvg } from './renderer.cjs';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AnyNode, C as ContainerNode, L as LeafNode, a as LayoutNode, P as PageNode, H as HeaderNode, M as MainNode, F as FooterNode, S as SidebarNode, b as SectionNode, G as GridNode, R as RowNode, c as ColNode, d as ContainerComponentNode, e as CardNode, f as ModalNode, D as DrawerNode, g as AccordionNode, T as TextContentNode, h as TextNode, i as TitleNode, j as LinkNode, I as InputComponentNode, k as InputNode, l as TextareaNode, m as SelectNode, n as CheckboxNode, o as RadioNode, p as SwitchNode, q as SliderNode, B as ButtonNode, r as DisplayNode, s as ImageNode, t as PlaceholderNode, u as AvatarNode, v as BadgeNode, w as IconNode, x as DataNode, y as TableNode, z as ListNode, E as FeedbackNode, J as AlertNode, K as ToastNode, N as ProgressNode, O as SpinnerNode, Q as OverlayNode, U as TooltipNode, V as PopoverNode, W as DropdownNode, X as NavigationNode, Y as NavNode, Z as TabsNode, _ as BreadcrumbNode, $ as DividerComponentNode, a0 as NodeType, a1 as WireframeDocument } from './types-CRocJqKS.js';
2
- export { az as AlertVariant, ac as AlignValue, au as AvatarSize, aw as BadgeSize, av as BadgeVariant, a4 as BaseNode, aL as BreadcrumbItem, at as ButtonSize, as as ButtonVariant, ah as CommonProps, ad as DirectionValue, aE as DividerNode, ak as DrawerPosition, aD as DropdownItemNode, ae as FlexProps, af as GridProps, a9 as HeightValue, ax as IconSize, aq as InputType, ai as InteractiveProps, ab as JustifyValue, ay as ListItemNode, aG as NavBlockItem, aJ as NavChild, aI as NavDivider, aH as NavGroupNode, aF as NavItem, a2 as Position, ag as PositionProps, ar as SelectOption, aj as ShadowValue, aa as SizeProps, a3 as SourceLocation, a7 as SpacingProps, a6 as SpacingValue, aB as SpinnerSize, aK as TabNode, ao as TextAlign, am as TextSize, al as TextSizeToken, an as TextWeight, ap as TitleLevel, aA as ToastPosition, aC as TooltipPosition, a5 as ValueWithUnit, a8 as WidthValue } from './types-CRocJqKS.js';
1
+ import { A as AnyNode, a as AccordionNode, b as AlertNode, c as AvatarNode, B as BadgeNode, d as BreadcrumbNode, e as ButtonNode, C as CardNode, f as CheckboxNode, g as ColNode, h as ContainerComponentNode, i as ContainerNode, D as DataNode, j as DisplayNode, k as DividerComponentNode, l as DrawerNode, m as DropdownNode, F as FeedbackNode, n as FooterNode, G as GridNode, H as HeaderNode, I as IconNode, o as ImageNode, p as InputComponentNode, q as InputNode, L as LayoutNode, r as LeafNode, s as LinkNode, t as ListNode, M as MainNode, u as ModalNode, N as NavNode, v as NavigationNode, w as NodeType, O as OverlayNode, P as PageNode, x as PlaceholderNode, y as PopoverNode, z as ProgressNode, R as RadioNode, E as RowNode, S as SectionNode, J as SelectNode, K as SidebarNode, Q as SliderNode, T as SpinnerNode, U as SwitchNode, V as TableNode, W as TabsNode, X as TextContentNode, Y as TextNode, Z as TextareaNode, _ as TitleNode, $ as ToastNode, a0 as TooltipNode, a1 as WireframeDocument } from './types-BSKtr--J.js';
2
+ export { a2 as AlertVariant, a3 as AlignValue, a4 as AvatarSize, a5 as BadgeSize, a6 as BadgeVariant, a7 as BaseNode, a8 as BreadcrumbItem, a9 as ButtonSize, aa as ButtonVariant, ab as CommonProps, ac as DirectionValue, ad as DividerNode, ae as DrawerPosition, af as DropdownItemNode, ag as FlexProps, ah as GridProps, ai as HeightValue, aj as IconSize, ak as InputType, al as InteractiveProps, am as JustifyValue, an as ListItemNode, ao as NavBlockItem, ap as NavChild, aq as NavDivider, ar as NavGroupNode, as as NavItem, at as Position, au as PositionProps, av as SelectOption, aw as ShadowValue, ax as SizeProps, ay as SourceLocation, az as SpacingProps, aA as SpacingValue, aB as SpinnerSize, aC as TabNode, aD as TextAlign, aE as TextSize, aF as TextSizeToken, aG as TextWeight, aH as TitleLevel, aI as ToastPosition, aJ as TooltipPosition, aK as ValueWithUnit, aL as WidthValue } from './types-BSKtr--J.js';
3
3
  export { ExpectedToken, ParseError, ParseErrorInfo, ParseOptions, ParseResult, getErrors, isValid, parse, tryParse } from './parser.js';
4
4
  export { HtmlRenderer, IconData, IconElement, RenderContext, RenderOptions, RenderResult, SvgRenderOptions, SvgRenderResult, ThemeColors, ThemeConfig, createHtmlRenderer, darkTheme, defaultTheme, generateComponentStyles, generateStyles, getIconData, getTheme, lucideIcons, render, renderIconSvg, renderToHtml, renderToSvg } from './renderer.js';
5
5
 
package/dist/parser.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as SourceLocation, a1 as WireframeDocument } from './types-CRocJqKS.cjs';
1
+ import { ay as SourceLocation, a1 as WireframeDocument } from './types-BSKtr--J.cjs';
2
2
 
3
3
  /**
4
4
  * Parser module for wireweave
package/dist/parser.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as SourceLocation, a1 as WireframeDocument } from './types-CRocJqKS.js';
1
+ import { ay as SourceLocation, a1 as WireframeDocument } from './types-BSKtr--J.js';
2
2
 
3
3
  /**
4
4
  * Parser module for wireweave
@@ -1,4 +1,4 @@
1
- import { a1 as WireframeDocument, A as AnyNode, P as PageNode } from './types-CRocJqKS.cjs';
1
+ import { a1 as WireframeDocument, A as AnyNode, P as PageNode } from './types-BSKtr--J.cjs';
2
2
 
3
3
  /**
4
4
  * Renderer type definitions for wireweave
@@ -1,4 +1,4 @@
1
- import { a1 as WireframeDocument, A as AnyNode, P as PageNode } from './types-CRocJqKS.js';
1
+ import { a1 as WireframeDocument, A as AnyNode, P as PageNode } from './types-BSKtr--J.js';
2
2
 
3
3
  /**
4
4
  * Renderer type definitions for wireweave
@@ -473,4 +473,4 @@ type LeafNode = TextContentNode | InputComponentNode | ButtonNode | DisplayNode
473
473
  type AnyNode = ContainerNode | LeafNode;
474
474
  type NodeType = 'Document' | 'Page' | 'Header' | 'Main' | 'Footer' | 'Sidebar' | 'Section' | 'Row' | 'Col' | 'Card' | 'Modal' | 'Drawer' | 'Accordion' | 'Text' | 'Title' | 'Link' | 'Input' | 'Textarea' | 'Select' | 'Checkbox' | 'Radio' | 'Switch' | 'Slider' | 'Button' | 'Image' | 'Placeholder' | 'Avatar' | 'Badge' | 'Icon' | 'Table' | 'List' | 'Alert' | 'Toast' | 'Progress' | 'Spinner' | 'Tooltip' | 'Popover' | 'Dropdown' | 'Nav' | 'Tabs' | 'Breadcrumb' | 'Divider';
475
475
 
476
- export type { DividerComponentNode as $, AnyNode as A, ButtonNode as B, ContainerNode as C, DrawerNode as D, FeedbackNode as E, FooterNode as F, GridNode as G, HeaderNode as H, InputComponentNode as I, AlertNode as J, ToastNode as K, LeafNode as L, MainNode as M, ProgressNode as N, SpinnerNode as O, PageNode as P, OverlayNode as Q, RowNode as R, SidebarNode as S, TextContentNode as T, TooltipNode as U, PopoverNode as V, DropdownNode as W, NavigationNode as X, NavNode as Y, TabsNode as Z, BreadcrumbNode as _, LayoutNode as a, NodeType as a0, WireframeDocument as a1, Position as a2, SourceLocation as a3, BaseNode as a4, ValueWithUnit as a5, SpacingValue as a6, SpacingProps as a7, WidthValue as a8, HeightValue as a9, ToastPosition as aA, SpinnerSize as aB, TooltipPosition as aC, DropdownItemNode as aD, DividerNode as aE, NavItem as aF, NavBlockItem as aG, NavGroupNode as aH, NavDivider as aI, NavChild as aJ, TabNode as aK, BreadcrumbItem as aL, SizeProps as aa, JustifyValue as ab, AlignValue as ac, DirectionValue as ad, FlexProps as ae, GridProps as af, PositionProps as ag, CommonProps as ah, InteractiveProps as ai, ShadowValue as aj, DrawerPosition as ak, TextSizeToken as al, TextSize as am, TextWeight as an, TextAlign as ao, TitleLevel as ap, InputType as aq, SelectOption as ar, ButtonVariant as as, ButtonSize as at, AvatarSize as au, BadgeVariant as av, BadgeSize as aw, IconSize as ax, ListItemNode as ay, AlertVariant as az, SectionNode as b, ColNode as c, ContainerComponentNode as d, CardNode as e, ModalNode as f, AccordionNode as g, TextNode as h, TitleNode as i, LinkNode as j, InputNode as k, TextareaNode as l, SelectNode as m, CheckboxNode as n, RadioNode as o, SwitchNode as p, SliderNode as q, DisplayNode as r, ImageNode as s, PlaceholderNode as t, AvatarNode as u, BadgeNode as v, IconNode as w, DataNode as x, TableNode as y, ListNode as z };
476
+ export type { ToastNode as $, AnyNode as A, BadgeNode as B, CardNode as C, DataNode as D, RowNode as E, FeedbackNode as F, GridNode as G, HeaderNode as H, IconNode as I, SelectNode as J, SidebarNode as K, LayoutNode as L, MainNode as M, NavNode as N, OverlayNode as O, PageNode as P, SliderNode as Q, RadioNode as R, SectionNode as S, SpinnerNode as T, SwitchNode as U, TableNode as V, TabsNode as W, TextContentNode as X, TextNode as Y, TextareaNode as Z, TitleNode as _, AccordionNode as a, TooltipNode as a0, WireframeDocument as a1, AlertVariant as a2, AlignValue as a3, AvatarSize as a4, BadgeSize as a5, BadgeVariant as a6, BaseNode as a7, BreadcrumbItem as a8, ButtonSize as a9, SpacingValue as aA, SpinnerSize as aB, TabNode as aC, TextAlign as aD, TextSize as aE, TextSizeToken as aF, TextWeight as aG, TitleLevel as aH, ToastPosition as aI, TooltipPosition as aJ, ValueWithUnit as aK, WidthValue as aL, ButtonVariant as aa, CommonProps as ab, DirectionValue as ac, DividerNode as ad, DrawerPosition as ae, DropdownItemNode as af, FlexProps as ag, GridProps as ah, HeightValue as ai, IconSize as aj, InputType as ak, InteractiveProps as al, JustifyValue as am, ListItemNode as an, NavBlockItem as ao, NavChild as ap, NavDivider as aq, NavGroupNode as ar, NavItem as as, Position as at, PositionProps as au, SelectOption as av, ShadowValue as aw, SizeProps as ax, SourceLocation as ay, SpacingProps as az, AlertNode as b, AvatarNode as c, BreadcrumbNode as d, ButtonNode as e, CheckboxNode as f, ColNode as g, ContainerComponentNode as h, ContainerNode as i, DisplayNode as j, DividerComponentNode as k, DrawerNode as l, DropdownNode as m, FooterNode as n, ImageNode as o, InputComponentNode as p, InputNode as q, LeafNode as r, LinkNode as s, ListNode as t, ModalNode as u, NavigationNode as v, NodeType as w, PlaceholderNode as x, PopoverNode as y, ProgressNode as z };
@@ -473,4 +473,4 @@ type LeafNode = TextContentNode | InputComponentNode | ButtonNode | DisplayNode
473
473
  type AnyNode = ContainerNode | LeafNode;
474
474
  type NodeType = 'Document' | 'Page' | 'Header' | 'Main' | 'Footer' | 'Sidebar' | 'Section' | 'Row' | 'Col' | 'Card' | 'Modal' | 'Drawer' | 'Accordion' | 'Text' | 'Title' | 'Link' | 'Input' | 'Textarea' | 'Select' | 'Checkbox' | 'Radio' | 'Switch' | 'Slider' | 'Button' | 'Image' | 'Placeholder' | 'Avatar' | 'Badge' | 'Icon' | 'Table' | 'List' | 'Alert' | 'Toast' | 'Progress' | 'Spinner' | 'Tooltip' | 'Popover' | 'Dropdown' | 'Nav' | 'Tabs' | 'Breadcrumb' | 'Divider';
475
475
 
476
- export type { DividerComponentNode as $, AnyNode as A, ButtonNode as B, ContainerNode as C, DrawerNode as D, FeedbackNode as E, FooterNode as F, GridNode as G, HeaderNode as H, InputComponentNode as I, AlertNode as J, ToastNode as K, LeafNode as L, MainNode as M, ProgressNode as N, SpinnerNode as O, PageNode as P, OverlayNode as Q, RowNode as R, SidebarNode as S, TextContentNode as T, TooltipNode as U, PopoverNode as V, DropdownNode as W, NavigationNode as X, NavNode as Y, TabsNode as Z, BreadcrumbNode as _, LayoutNode as a, NodeType as a0, WireframeDocument as a1, Position as a2, SourceLocation as a3, BaseNode as a4, ValueWithUnit as a5, SpacingValue as a6, SpacingProps as a7, WidthValue as a8, HeightValue as a9, ToastPosition as aA, SpinnerSize as aB, TooltipPosition as aC, DropdownItemNode as aD, DividerNode as aE, NavItem as aF, NavBlockItem as aG, NavGroupNode as aH, NavDivider as aI, NavChild as aJ, TabNode as aK, BreadcrumbItem as aL, SizeProps as aa, JustifyValue as ab, AlignValue as ac, DirectionValue as ad, FlexProps as ae, GridProps as af, PositionProps as ag, CommonProps as ah, InteractiveProps as ai, ShadowValue as aj, DrawerPosition as ak, TextSizeToken as al, TextSize as am, TextWeight as an, TextAlign as ao, TitleLevel as ap, InputType as aq, SelectOption as ar, ButtonVariant as as, ButtonSize as at, AvatarSize as au, BadgeVariant as av, BadgeSize as aw, IconSize as ax, ListItemNode as ay, AlertVariant as az, SectionNode as b, ColNode as c, ContainerComponentNode as d, CardNode as e, ModalNode as f, AccordionNode as g, TextNode as h, TitleNode as i, LinkNode as j, InputNode as k, TextareaNode as l, SelectNode as m, CheckboxNode as n, RadioNode as o, SwitchNode as p, SliderNode as q, DisplayNode as r, ImageNode as s, PlaceholderNode as t, AvatarNode as u, BadgeNode as v, IconNode as w, DataNode as x, TableNode as y, ListNode as z };
476
+ export type { ToastNode as $, AnyNode as A, BadgeNode as B, CardNode as C, DataNode as D, RowNode as E, FeedbackNode as F, GridNode as G, HeaderNode as H, IconNode as I, SelectNode as J, SidebarNode as K, LayoutNode as L, MainNode as M, NavNode as N, OverlayNode as O, PageNode as P, SliderNode as Q, RadioNode as R, SectionNode as S, SpinnerNode as T, SwitchNode as U, TableNode as V, TabsNode as W, TextContentNode as X, TextNode as Y, TextareaNode as Z, TitleNode as _, AccordionNode as a, TooltipNode as a0, WireframeDocument as a1, AlertVariant as a2, AlignValue as a3, AvatarSize as a4, BadgeSize as a5, BadgeVariant as a6, BaseNode as a7, BreadcrumbItem as a8, ButtonSize as a9, SpacingValue as aA, SpinnerSize as aB, TabNode as aC, TextAlign as aD, TextSize as aE, TextSizeToken as aF, TextWeight as aG, TitleLevel as aH, ToastPosition as aI, TooltipPosition as aJ, ValueWithUnit as aK, WidthValue as aL, ButtonVariant as aa, CommonProps as ab, DirectionValue as ac, DividerNode as ad, DrawerPosition as ae, DropdownItemNode as af, FlexProps as ag, GridProps as ah, HeightValue as ai, IconSize as aj, InputType as ak, InteractiveProps as al, JustifyValue as am, ListItemNode as an, NavBlockItem as ao, NavChild as ap, NavDivider as aq, NavGroupNode as ar, NavItem as as, Position as at, PositionProps as au, SelectOption as av, ShadowValue as aw, SizeProps as ax, SourceLocation as ay, SpacingProps as az, AlertNode as b, AvatarNode as c, BreadcrumbNode as d, ButtonNode as e, CheckboxNode as f, ColNode as g, ContainerComponentNode as h, ContainerNode as i, DisplayNode as j, DividerComponentNode as k, DrawerNode as l, DropdownNode as m, FooterNode as n, ImageNode as o, InputComponentNode as p, InputNode as q, LeafNode as r, LinkNode as s, ListNode as t, ModalNode as u, NavigationNode as v, NodeType as w, PlaceholderNode as x, PopoverNode as y, ProgressNode as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireweave/core",
3
- "version": "2.0.1-beta.1",
3
+ "version": "2.0.1",
4
4
  "description": "Core parser and renderer for wireweave",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",