@wireweave/core 1.0.0-beta.20260107130355
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 +351 -0
- package/dist/index.cjs +56106 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +252 -0
- package/dist/index.d.ts +252 -0
- package/dist/index.js +55985 -0
- package/dist/index.js.map +1 -0
- package/dist/parser.cjs +5417 -0
- package/dist/parser.cjs.map +1 -0
- package/dist/parser.d.cts +89 -0
- package/dist/parser.d.ts +89 -0
- package/dist/parser.js +5387 -0
- package/dist/parser.js.map +1 -0
- package/dist/renderer.cjs +50244 -0
- package/dist/renderer.cjs.map +1 -0
- package/dist/renderer.d.cts +497 -0
- package/dist/renderer.d.ts +497 -0
- package/dist/renderer.js +50202 -0
- package/dist/renderer.js.map +1 -0
- package/dist/types-DtovIYS6.d.cts +419 -0
- package/dist/types-DtovIYS6.d.ts +419 -0
- package/package.json +59 -0
- package/src/ast/guards.ts +361 -0
- package/src/ast/index.ts +9 -0
- package/src/ast/types.ts +661 -0
- package/src/ast/utils.ts +238 -0
- package/src/grammar/wireframe.peggy +677 -0
- package/src/icons/lucide-icons.ts +46422 -0
- package/src/index.ts +20 -0
- package/src/parser/generated-parser.js +5199 -0
- package/src/parser/index.ts +214 -0
- package/src/renderer/html/base.ts +186 -0
- package/src/renderer/html/components.ts +1092 -0
- package/src/renderer/html/index.ts +1608 -0
- package/src/renderer/html/layout.ts +392 -0
- package/src/renderer/index.ts +143 -0
- package/src/renderer/styles-components.ts +1232 -0
- package/src/renderer/styles.ts +382 -0
- package/src/renderer/svg/index.ts +1050 -0
- package/src/renderer/types.ts +173 -0
- package/src/types/index.ts +138 -0
- package/src/viewport/index.ts +17 -0
- package/src/viewport/presets.ts +181 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AST Type definitions for wireweave
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive type definitions for all AST nodes
|
|
5
|
+
*/
|
|
6
|
+
interface Position {
|
|
7
|
+
line: number;
|
|
8
|
+
column: number;
|
|
9
|
+
offset: number;
|
|
10
|
+
}
|
|
11
|
+
interface SourceLocation {
|
|
12
|
+
start: Position;
|
|
13
|
+
end: Position;
|
|
14
|
+
}
|
|
15
|
+
interface BaseNode {
|
|
16
|
+
type: string;
|
|
17
|
+
loc?: SourceLocation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Value with CSS unit (e.g., 16px, 100%, 2em)
|
|
21
|
+
* Used when explicit unit is specified in DSL
|
|
22
|
+
*/
|
|
23
|
+
interface ValueWithUnit {
|
|
24
|
+
value: number;
|
|
25
|
+
unit: 'px' | '%' | 'em' | 'rem' | 'vh' | 'vw';
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Spacing value:
|
|
29
|
+
* - number: spacing token (0=0px, 1=4px, 2=8px, 4=16px, 6=24px, 8=32px, etc.)
|
|
30
|
+
* - ValueWithUnit: direct CSS value (e.g., { value: 16, unit: 'px' })
|
|
31
|
+
*/
|
|
32
|
+
type SpacingValue = number | ValueWithUnit;
|
|
33
|
+
interface SpacingProps {
|
|
34
|
+
p?: SpacingValue;
|
|
35
|
+
px?: SpacingValue;
|
|
36
|
+
py?: SpacingValue;
|
|
37
|
+
pt?: SpacingValue;
|
|
38
|
+
pr?: SpacingValue;
|
|
39
|
+
pb?: SpacingValue;
|
|
40
|
+
pl?: SpacingValue;
|
|
41
|
+
m?: SpacingValue;
|
|
42
|
+
mx?: SpacingValue | 'auto';
|
|
43
|
+
my?: SpacingValue;
|
|
44
|
+
mt?: SpacingValue;
|
|
45
|
+
mr?: SpacingValue;
|
|
46
|
+
mb?: SpacingValue;
|
|
47
|
+
ml?: SpacingValue;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Width/Height value:
|
|
51
|
+
* - number: size token or direct px
|
|
52
|
+
* - ValueWithUnit: direct CSS value with unit
|
|
53
|
+
* - string keywords: 'full', 'auto', 'screen', 'fit'
|
|
54
|
+
*/
|
|
55
|
+
type WidthValue = number | ValueWithUnit | 'full' | 'auto' | 'screen' | 'fit';
|
|
56
|
+
type HeightValue = number | ValueWithUnit | 'full' | 'auto' | 'screen';
|
|
57
|
+
interface SizeProps {
|
|
58
|
+
w?: WidthValue;
|
|
59
|
+
h?: HeightValue;
|
|
60
|
+
minW?: number | ValueWithUnit;
|
|
61
|
+
maxW?: number | ValueWithUnit;
|
|
62
|
+
minH?: number | ValueWithUnit;
|
|
63
|
+
maxH?: number | ValueWithUnit;
|
|
64
|
+
}
|
|
65
|
+
type JustifyValue = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
66
|
+
type AlignValue = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
67
|
+
type DirectionValue = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
68
|
+
interface FlexProps {
|
|
69
|
+
flex?: boolean | number;
|
|
70
|
+
direction?: DirectionValue;
|
|
71
|
+
justify?: JustifyValue;
|
|
72
|
+
align?: AlignValue;
|
|
73
|
+
wrap?: boolean | 'nowrap';
|
|
74
|
+
gap?: SpacingValue;
|
|
75
|
+
}
|
|
76
|
+
interface GridProps {
|
|
77
|
+
span?: number;
|
|
78
|
+
}
|
|
79
|
+
interface CommonProps extends SpacingProps, SizeProps, FlexProps, GridProps {
|
|
80
|
+
}
|
|
81
|
+
interface WireframeDocument extends BaseNode {
|
|
82
|
+
type: 'Document';
|
|
83
|
+
children: PageNode[];
|
|
84
|
+
}
|
|
85
|
+
interface PageNode extends BaseNode, CommonProps {
|
|
86
|
+
type: 'Page';
|
|
87
|
+
title?: string | null;
|
|
88
|
+
/** Center content both horizontally and vertically */
|
|
89
|
+
centered?: boolean;
|
|
90
|
+
/** Viewport size (e.g., "1440x900", "1440", or number for width only) */
|
|
91
|
+
viewport?: string | number;
|
|
92
|
+
/** Device preset (e.g., "iphone14", "desktop") */
|
|
93
|
+
device?: string;
|
|
94
|
+
children: AnyNode[];
|
|
95
|
+
}
|
|
96
|
+
interface HeaderNode extends BaseNode, CommonProps {
|
|
97
|
+
type: 'Header';
|
|
98
|
+
border?: boolean;
|
|
99
|
+
children: AnyNode[];
|
|
100
|
+
}
|
|
101
|
+
interface MainNode extends BaseNode, CommonProps {
|
|
102
|
+
type: 'Main';
|
|
103
|
+
children: AnyNode[];
|
|
104
|
+
}
|
|
105
|
+
interface FooterNode extends BaseNode, CommonProps {
|
|
106
|
+
type: 'Footer';
|
|
107
|
+
border?: boolean;
|
|
108
|
+
children: AnyNode[];
|
|
109
|
+
}
|
|
110
|
+
interface SidebarNode extends BaseNode, CommonProps {
|
|
111
|
+
type: 'Sidebar';
|
|
112
|
+
position?: 'left' | 'right';
|
|
113
|
+
children: AnyNode[];
|
|
114
|
+
}
|
|
115
|
+
interface SectionNode extends BaseNode, CommonProps {
|
|
116
|
+
type: 'Section';
|
|
117
|
+
title?: string | null;
|
|
118
|
+
expanded?: boolean;
|
|
119
|
+
children: AnyNode[];
|
|
120
|
+
}
|
|
121
|
+
interface RowNode extends BaseNode, CommonProps {
|
|
122
|
+
type: 'Row';
|
|
123
|
+
children: AnyNode[];
|
|
124
|
+
}
|
|
125
|
+
interface ColNode extends BaseNode, CommonProps {
|
|
126
|
+
type: 'Col';
|
|
127
|
+
/** Responsive breakpoint spans (sm: 576px+, md: 768px+, lg: 992px+, xl: 1200px+) */
|
|
128
|
+
sm?: number;
|
|
129
|
+
md?: number;
|
|
130
|
+
lg?: number;
|
|
131
|
+
xl?: number;
|
|
132
|
+
/** Column order in flex container */
|
|
133
|
+
order?: number;
|
|
134
|
+
children: AnyNode[];
|
|
135
|
+
}
|
|
136
|
+
type ShadowValue = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
137
|
+
interface CardNode extends BaseNode, CommonProps {
|
|
138
|
+
type: 'Card';
|
|
139
|
+
title?: string | null;
|
|
140
|
+
shadow?: ShadowValue;
|
|
141
|
+
border?: boolean;
|
|
142
|
+
children: AnyNode[];
|
|
143
|
+
}
|
|
144
|
+
interface ModalNode extends BaseNode, CommonProps {
|
|
145
|
+
type: 'Modal';
|
|
146
|
+
title?: string | null;
|
|
147
|
+
children: AnyNode[];
|
|
148
|
+
}
|
|
149
|
+
type DrawerPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
150
|
+
interface DrawerNode extends BaseNode, CommonProps {
|
|
151
|
+
type: 'Drawer';
|
|
152
|
+
title?: string | null;
|
|
153
|
+
position?: DrawerPosition;
|
|
154
|
+
children: AnyNode[];
|
|
155
|
+
}
|
|
156
|
+
interface AccordionNode extends BaseNode, CommonProps {
|
|
157
|
+
type: 'Accordion';
|
|
158
|
+
title?: string | null;
|
|
159
|
+
children: AnyNode[];
|
|
160
|
+
}
|
|
161
|
+
type TextSizeToken = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
162
|
+
type TextSize = TextSizeToken | ValueWithUnit;
|
|
163
|
+
type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold';
|
|
164
|
+
type TextAlign = 'left' | 'center' | 'right' | 'justify';
|
|
165
|
+
interface TextNode extends BaseNode, Omit<CommonProps, 'align'> {
|
|
166
|
+
type: 'Text';
|
|
167
|
+
content: string;
|
|
168
|
+
size?: TextSize;
|
|
169
|
+
weight?: TextWeight;
|
|
170
|
+
align?: TextAlign;
|
|
171
|
+
muted?: boolean;
|
|
172
|
+
}
|
|
173
|
+
type TitleLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
174
|
+
interface TitleNode extends BaseNode, Omit<CommonProps, 'align'> {
|
|
175
|
+
type: 'Title';
|
|
176
|
+
content: string;
|
|
177
|
+
level?: TitleLevel;
|
|
178
|
+
size?: TextSize;
|
|
179
|
+
align?: TextAlign;
|
|
180
|
+
}
|
|
181
|
+
interface LinkNode extends BaseNode, CommonProps {
|
|
182
|
+
type: 'Link';
|
|
183
|
+
content: string;
|
|
184
|
+
href?: string;
|
|
185
|
+
external?: boolean;
|
|
186
|
+
}
|
|
187
|
+
type InputType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date';
|
|
188
|
+
interface InputNode extends BaseNode, CommonProps {
|
|
189
|
+
type: 'Input';
|
|
190
|
+
label?: string | null;
|
|
191
|
+
inputType?: InputType;
|
|
192
|
+
placeholder?: string;
|
|
193
|
+
value?: string;
|
|
194
|
+
disabled?: boolean;
|
|
195
|
+
required?: boolean;
|
|
196
|
+
readonly?: boolean;
|
|
197
|
+
icon?: string;
|
|
198
|
+
}
|
|
199
|
+
interface TextareaNode extends BaseNode, CommonProps {
|
|
200
|
+
type: 'Textarea';
|
|
201
|
+
label?: string | null;
|
|
202
|
+
placeholder?: string;
|
|
203
|
+
value?: string;
|
|
204
|
+
rows?: number;
|
|
205
|
+
disabled?: boolean;
|
|
206
|
+
required?: boolean;
|
|
207
|
+
}
|
|
208
|
+
interface SelectNode extends BaseNode, CommonProps {
|
|
209
|
+
type: 'Select';
|
|
210
|
+
label?: string | null;
|
|
211
|
+
options: (string | SelectOption)[];
|
|
212
|
+
value?: string;
|
|
213
|
+
placeholder?: string;
|
|
214
|
+
disabled?: boolean;
|
|
215
|
+
required?: boolean;
|
|
216
|
+
}
|
|
217
|
+
interface SelectOption {
|
|
218
|
+
label: string;
|
|
219
|
+
value: string;
|
|
220
|
+
}
|
|
221
|
+
interface CheckboxNode extends BaseNode, CommonProps {
|
|
222
|
+
type: 'Checkbox';
|
|
223
|
+
label?: string | null;
|
|
224
|
+
checked?: boolean;
|
|
225
|
+
disabled?: boolean;
|
|
226
|
+
}
|
|
227
|
+
interface RadioNode extends BaseNode, CommonProps {
|
|
228
|
+
type: 'Radio';
|
|
229
|
+
label?: string | null;
|
|
230
|
+
name?: string;
|
|
231
|
+
checked?: boolean;
|
|
232
|
+
disabled?: boolean;
|
|
233
|
+
}
|
|
234
|
+
interface SwitchNode extends BaseNode, CommonProps {
|
|
235
|
+
type: 'Switch';
|
|
236
|
+
label?: string | null;
|
|
237
|
+
checked?: boolean;
|
|
238
|
+
disabled?: boolean;
|
|
239
|
+
}
|
|
240
|
+
interface SliderNode extends BaseNode, CommonProps {
|
|
241
|
+
type: 'Slider';
|
|
242
|
+
label?: string | null;
|
|
243
|
+
min?: number;
|
|
244
|
+
max?: number;
|
|
245
|
+
value?: number;
|
|
246
|
+
step?: number;
|
|
247
|
+
disabled?: boolean;
|
|
248
|
+
}
|
|
249
|
+
type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
|
|
250
|
+
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
251
|
+
interface ButtonNode extends BaseNode, CommonProps {
|
|
252
|
+
type: 'Button';
|
|
253
|
+
content: string;
|
|
254
|
+
primary?: boolean;
|
|
255
|
+
secondary?: boolean;
|
|
256
|
+
outline?: boolean;
|
|
257
|
+
ghost?: boolean;
|
|
258
|
+
danger?: boolean;
|
|
259
|
+
size?: ButtonSize;
|
|
260
|
+
icon?: string;
|
|
261
|
+
disabled?: boolean;
|
|
262
|
+
loading?: boolean;
|
|
263
|
+
}
|
|
264
|
+
interface ImageNode extends BaseNode, CommonProps {
|
|
265
|
+
type: 'Image';
|
|
266
|
+
src?: string | null;
|
|
267
|
+
alt?: string;
|
|
268
|
+
}
|
|
269
|
+
interface PlaceholderNode extends BaseNode, CommonProps {
|
|
270
|
+
type: 'Placeholder';
|
|
271
|
+
label?: string | null;
|
|
272
|
+
}
|
|
273
|
+
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
274
|
+
interface AvatarNode extends BaseNode, CommonProps {
|
|
275
|
+
type: 'Avatar';
|
|
276
|
+
name?: string | null;
|
|
277
|
+
src?: boolean;
|
|
278
|
+
size?: AvatarSize | number;
|
|
279
|
+
}
|
|
280
|
+
type BadgeVariant = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
|
|
281
|
+
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
282
|
+
interface BadgeNode extends BaseNode, CommonProps {
|
|
283
|
+
type: 'Badge';
|
|
284
|
+
content: string;
|
|
285
|
+
variant?: BadgeVariant;
|
|
286
|
+
pill?: boolean;
|
|
287
|
+
icon?: string;
|
|
288
|
+
size?: BadgeSize;
|
|
289
|
+
}
|
|
290
|
+
type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
291
|
+
interface IconNode extends BaseNode, CommonProps {
|
|
292
|
+
type: 'Icon';
|
|
293
|
+
name: string;
|
|
294
|
+
size?: IconSize | number;
|
|
295
|
+
muted?: boolean;
|
|
296
|
+
}
|
|
297
|
+
interface TableNode extends BaseNode, CommonProps {
|
|
298
|
+
type: 'Table';
|
|
299
|
+
columns: string[];
|
|
300
|
+
rows: (string | AnyNode)[][];
|
|
301
|
+
striped?: boolean;
|
|
302
|
+
bordered?: boolean;
|
|
303
|
+
hover?: boolean;
|
|
304
|
+
}
|
|
305
|
+
interface ListItemNode {
|
|
306
|
+
content: string;
|
|
307
|
+
icon?: string;
|
|
308
|
+
children?: ListItemNode[];
|
|
309
|
+
}
|
|
310
|
+
interface ListNode extends BaseNode, CommonProps {
|
|
311
|
+
type: 'List';
|
|
312
|
+
items: (string | ListItemNode)[];
|
|
313
|
+
ordered?: boolean;
|
|
314
|
+
none?: boolean;
|
|
315
|
+
}
|
|
316
|
+
type AlertVariant = 'success' | 'warning' | 'danger' | 'info';
|
|
317
|
+
interface AlertNode extends BaseNode, CommonProps {
|
|
318
|
+
type: 'Alert';
|
|
319
|
+
content: string;
|
|
320
|
+
variant?: AlertVariant;
|
|
321
|
+
dismissible?: boolean;
|
|
322
|
+
icon?: string;
|
|
323
|
+
}
|
|
324
|
+
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
325
|
+
interface ToastNode extends BaseNode, CommonProps {
|
|
326
|
+
type: 'Toast';
|
|
327
|
+
content: string;
|
|
328
|
+
position?: ToastPosition;
|
|
329
|
+
variant?: AlertVariant;
|
|
330
|
+
}
|
|
331
|
+
interface ProgressNode extends BaseNode, CommonProps {
|
|
332
|
+
type: 'Progress';
|
|
333
|
+
value?: number;
|
|
334
|
+
max?: number;
|
|
335
|
+
label?: string;
|
|
336
|
+
indeterminate?: boolean;
|
|
337
|
+
}
|
|
338
|
+
type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
339
|
+
interface SpinnerNode extends BaseNode, CommonProps {
|
|
340
|
+
type: 'Spinner';
|
|
341
|
+
label?: string | null;
|
|
342
|
+
size?: SpinnerSize | number;
|
|
343
|
+
}
|
|
344
|
+
type TooltipPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
345
|
+
interface TooltipNode extends BaseNode, CommonProps {
|
|
346
|
+
type: 'Tooltip';
|
|
347
|
+
content: string;
|
|
348
|
+
position?: TooltipPosition;
|
|
349
|
+
children: AnyNode[];
|
|
350
|
+
}
|
|
351
|
+
interface PopoverNode extends BaseNode, CommonProps {
|
|
352
|
+
type: 'Popover';
|
|
353
|
+
title?: string | null;
|
|
354
|
+
children: AnyNode[];
|
|
355
|
+
}
|
|
356
|
+
interface DropdownItemNode {
|
|
357
|
+
label: string;
|
|
358
|
+
icon?: string;
|
|
359
|
+
danger?: boolean;
|
|
360
|
+
disabled?: boolean;
|
|
361
|
+
}
|
|
362
|
+
interface DividerNode {
|
|
363
|
+
type: 'divider';
|
|
364
|
+
}
|
|
365
|
+
interface DropdownNode extends BaseNode, CommonProps {
|
|
366
|
+
type: 'Dropdown';
|
|
367
|
+
items: (DropdownItemNode | DividerNode)[];
|
|
368
|
+
}
|
|
369
|
+
interface NavItem {
|
|
370
|
+
label: string;
|
|
371
|
+
icon?: string;
|
|
372
|
+
href?: string;
|
|
373
|
+
active?: boolean;
|
|
374
|
+
disabled?: boolean;
|
|
375
|
+
}
|
|
376
|
+
interface NavNode extends BaseNode, CommonProps {
|
|
377
|
+
type: 'Nav';
|
|
378
|
+
items: (string | NavItem)[];
|
|
379
|
+
vertical?: boolean;
|
|
380
|
+
}
|
|
381
|
+
interface TabNode {
|
|
382
|
+
label: string;
|
|
383
|
+
active?: boolean;
|
|
384
|
+
disabled?: boolean;
|
|
385
|
+
children: AnyNode[];
|
|
386
|
+
}
|
|
387
|
+
interface TabsNode extends BaseNode, CommonProps {
|
|
388
|
+
type: 'Tabs';
|
|
389
|
+
items: string[];
|
|
390
|
+
active?: number;
|
|
391
|
+
children: TabNode[];
|
|
392
|
+
}
|
|
393
|
+
interface BreadcrumbItem {
|
|
394
|
+
label: string;
|
|
395
|
+
href?: string;
|
|
396
|
+
}
|
|
397
|
+
interface BreadcrumbNode extends BaseNode, CommonProps {
|
|
398
|
+
type: 'Breadcrumb';
|
|
399
|
+
items: (string | BreadcrumbItem)[];
|
|
400
|
+
}
|
|
401
|
+
interface DividerComponentNode extends BaseNode, CommonProps {
|
|
402
|
+
type: 'Divider';
|
|
403
|
+
}
|
|
404
|
+
type LayoutNode = PageNode | HeaderNode | MainNode | FooterNode | SidebarNode | SectionNode;
|
|
405
|
+
type GridNode = RowNode | ColNode;
|
|
406
|
+
type ContainerComponentNode = CardNode | ModalNode | DrawerNode | AccordionNode;
|
|
407
|
+
type TextContentNode = TextNode | TitleNode | LinkNode;
|
|
408
|
+
type InputComponentNode = InputNode | TextareaNode | SelectNode | CheckboxNode | RadioNode | SwitchNode | SliderNode;
|
|
409
|
+
type DisplayNode = ImageNode | PlaceholderNode | AvatarNode | BadgeNode | IconNode;
|
|
410
|
+
type DataNode = TableNode | ListNode;
|
|
411
|
+
type FeedbackNode = AlertNode | ToastNode | ProgressNode | SpinnerNode;
|
|
412
|
+
type OverlayNode = TooltipNode | PopoverNode | DropdownNode;
|
|
413
|
+
type NavigationNode = NavNode | TabsNode | BreadcrumbNode;
|
|
414
|
+
type ContainerNode = LayoutNode | GridNode | ContainerComponentNode | PopoverNode | TooltipNode;
|
|
415
|
+
type LeafNode = TextContentNode | InputComponentNode | ButtonNode | DisplayNode | DataNode | FeedbackNode | DropdownNode | NavigationNode | DividerComponentNode;
|
|
416
|
+
type AnyNode = ContainerNode | LeafNode;
|
|
417
|
+
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';
|
|
418
|
+
|
|
419
|
+
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, TooltipPosition as aA, DropdownItemNode as aB, DividerNode as aC, NavItem as aD, TabNode as aE, BreadcrumbItem as aF, SizeProps as aa, JustifyValue as ab, AlignValue as ac, DirectionValue as ad, FlexProps as ae, GridProps as af, CommonProps as ag, ShadowValue as ah, DrawerPosition as ai, TextSizeToken as aj, TextSize as ak, TextWeight as al, TextAlign as am, TitleLevel as an, InputType as ao, SelectOption as ap, ButtonVariant as aq, ButtonSize as ar, AvatarSize as as, BadgeVariant as at, BadgeSize as au, IconSize as av, ListItemNode as aw, AlertVariant as ax, ToastPosition as ay, SpinnerSize 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 };
|