@wireweave/core 3.1.0-beta.3 → 3.1.0-beta.5

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/spec.js ADDED
@@ -0,0 +1,2808 @@
1
+ // src/spec/grammar-elements.generated.ts
2
+ var GRAMMAR_ELEMENTS = {
3
+ page: "Page",
4
+ layout: "Layout",
5
+ component: "Component",
6
+ use: "ComponentUse",
7
+ slot: "Slot",
8
+ header: "Header",
9
+ main: "Main",
10
+ footer: "Footer",
11
+ sidebar: "Sidebar",
12
+ row: "Row",
13
+ col: "Col",
14
+ stack: "Stack",
15
+ relative: "Relative",
16
+ card: "Card",
17
+ modal: "Modal",
18
+ drawer: "Drawer",
19
+ accordion: "Accordion",
20
+ section: "Section",
21
+ text: "Text",
22
+ title: "Title",
23
+ link: "Link",
24
+ button: "Button",
25
+ input: "Input",
26
+ textarea: "Textarea",
27
+ select: "Select",
28
+ checkbox: "Checkbox",
29
+ radio: "Radio",
30
+ switch: "Switch",
31
+ slider: "Slider",
32
+ image: "Image",
33
+ placeholder: "Placeholder",
34
+ avatar: "Avatar",
35
+ badge: "Badge",
36
+ icon: "Icon",
37
+ table: "Table",
38
+ list: "List",
39
+ alert: "Alert",
40
+ toast: "Toast",
41
+ progress: "Progress",
42
+ spinner: "Spinner",
43
+ tooltip: "Tooltip",
44
+ popover: "Popover",
45
+ dropdown: "Dropdown",
46
+ nav: "Nav",
47
+ tabs: "Tabs",
48
+ breadcrumb: "Breadcrumb",
49
+ divider: "Divider",
50
+ marker: "Marker",
51
+ annotations: "Annotations",
52
+ item: "AnnotationItem"
53
+ };
54
+ var GRAMMAR_BLOCK_NODE_TYPES = [
55
+ "ListItem",
56
+ "DropdownItem",
57
+ "NavGroup",
58
+ "NavItem"
59
+ ];
60
+ var GRAMMAR_CHILD_KEYWORDS = [
61
+ "page",
62
+ "header",
63
+ "main",
64
+ "footer",
65
+ "sidebar",
66
+ "row",
67
+ "col",
68
+ "stack",
69
+ "relative",
70
+ "card",
71
+ "modal",
72
+ "drawer",
73
+ "accordion",
74
+ "section",
75
+ "text",
76
+ "link",
77
+ "button",
78
+ "input",
79
+ "textarea",
80
+ "select",
81
+ "checkbox",
82
+ "radio",
83
+ "switch",
84
+ "slider",
85
+ "image",
86
+ "avatar",
87
+ "badge",
88
+ "table",
89
+ "columns",
90
+ "list",
91
+ "item",
92
+ "alert",
93
+ "toast",
94
+ "progress",
95
+ "spinner",
96
+ "tooltip",
97
+ "popover",
98
+ "dropdown",
99
+ "divider",
100
+ "nav",
101
+ "tabs",
102
+ "tab",
103
+ "breadcrumb",
104
+ "group",
105
+ "marker",
106
+ "annotations",
107
+ "layout",
108
+ "component",
109
+ "use",
110
+ "fill",
111
+ "slot"
112
+ ];
113
+
114
+ // src/spec/icon-names.generated.ts
115
+ var LUCIDE_ICON_NAMES = [
116
+ "a-arrow-down",
117
+ "a-arrow-up",
118
+ "a-large-small",
119
+ "accessibility",
120
+ "activity",
121
+ "air-vent",
122
+ "airplay",
123
+ "alarm-clock",
124
+ "alarm-clock-check",
125
+ "alarm-clock-minus",
126
+ "alarm-clock-off",
127
+ "alarm-clock-plus",
128
+ "alarm-smoke",
129
+ "album",
130
+ "align-center-horizontal",
131
+ "align-center-vertical",
132
+ "align-end-horizontal",
133
+ "align-end-vertical",
134
+ "align-horizontal-distribute-center",
135
+ "align-horizontal-distribute-end",
136
+ "align-horizontal-distribute-start",
137
+ "align-horizontal-justify-center",
138
+ "align-horizontal-justify-end",
139
+ "align-horizontal-justify-start",
140
+ "align-horizontal-space-around",
141
+ "align-horizontal-space-between",
142
+ "align-start-horizontal",
143
+ "align-start-vertical",
144
+ "align-vertical-distribute-center",
145
+ "align-vertical-distribute-end",
146
+ "align-vertical-distribute-start",
147
+ "align-vertical-justify-center",
148
+ "align-vertical-justify-end",
149
+ "align-vertical-justify-start",
150
+ "align-vertical-space-around",
151
+ "align-vertical-space-between",
152
+ "ambulance",
153
+ "ampersand",
154
+ "ampersands",
155
+ "amphora",
156
+ "anchor",
157
+ "angry",
158
+ "annoyed",
159
+ "antenna",
160
+ "anvil",
161
+ "aperture",
162
+ "app-window",
163
+ "app-window-mac",
164
+ "apple",
165
+ "archive",
166
+ "archive-restore",
167
+ "archive-x",
168
+ "armchair",
169
+ "arrow-big-down",
170
+ "arrow-big-down-dash",
171
+ "arrow-big-left",
172
+ "arrow-big-left-dash",
173
+ "arrow-big-right",
174
+ "arrow-big-right-dash",
175
+ "arrow-big-up",
176
+ "arrow-big-up-dash",
177
+ "arrow-down",
178
+ "arrow-down-0-1",
179
+ "arrow-down-1-0",
180
+ "arrow-down-a-z",
181
+ "arrow-down-from-line",
182
+ "arrow-down-left",
183
+ "arrow-down-narrow-wide",
184
+ "arrow-down-right",
185
+ "arrow-down-to-dot",
186
+ "arrow-down-to-line",
187
+ "arrow-down-up",
188
+ "arrow-down-wide-narrow",
189
+ "arrow-down-z-a",
190
+ "arrow-left",
191
+ "arrow-left-from-line",
192
+ "arrow-left-right",
193
+ "arrow-left-to-line",
194
+ "arrow-right",
195
+ "arrow-right-from-line",
196
+ "arrow-right-left",
197
+ "arrow-right-to-line",
198
+ "arrow-up",
199
+ "arrow-up-0-1",
200
+ "arrow-up-1-0",
201
+ "arrow-up-a-z",
202
+ "arrow-up-down",
203
+ "arrow-up-from-dot",
204
+ "arrow-up-from-line",
205
+ "arrow-up-left",
206
+ "arrow-up-narrow-wide",
207
+ "arrow-up-right",
208
+ "arrow-up-to-line",
209
+ "arrow-up-wide-narrow",
210
+ "arrow-up-z-a",
211
+ "arrows-up-from-line",
212
+ "asterisk",
213
+ "at-sign",
214
+ "atom",
215
+ "audio-lines",
216
+ "audio-waveform",
217
+ "award",
218
+ "axe",
219
+ "axis-3d",
220
+ "baby",
221
+ "backpack",
222
+ "badge",
223
+ "badge-alert",
224
+ "badge-cent",
225
+ "badge-check",
226
+ "badge-dollar-sign",
227
+ "badge-euro",
228
+ "badge-indian-rupee",
229
+ "badge-info",
230
+ "badge-japanese-yen",
231
+ "badge-minus",
232
+ "badge-percent",
233
+ "badge-plus",
234
+ "badge-pound-sterling",
235
+ "badge-question-mark",
236
+ "badge-russian-ruble",
237
+ "badge-swiss-franc",
238
+ "badge-turkish-lira",
239
+ "badge-x",
240
+ "baggage-claim",
241
+ "balloon",
242
+ "ban",
243
+ "banana",
244
+ "bandage",
245
+ "banknote",
246
+ "banknote-arrow-down",
247
+ "banknote-arrow-up",
248
+ "banknote-x",
249
+ "barcode",
250
+ "barrel",
251
+ "baseline",
252
+ "bath",
253
+ "battery",
254
+ "battery-charging",
255
+ "battery-full",
256
+ "battery-low",
257
+ "battery-medium",
258
+ "battery-plus",
259
+ "battery-warning",
260
+ "beaker",
261
+ "bean",
262
+ "bean-off",
263
+ "bed",
264
+ "bed-double",
265
+ "bed-single",
266
+ "beef",
267
+ "beer",
268
+ "beer-off",
269
+ "bell",
270
+ "bell-dot",
271
+ "bell-electric",
272
+ "bell-minus",
273
+ "bell-off",
274
+ "bell-plus",
275
+ "bell-ring",
276
+ "between-horizontal-end",
277
+ "between-horizontal-start",
278
+ "between-vertical-end",
279
+ "between-vertical-start",
280
+ "biceps-flexed",
281
+ "bike",
282
+ "binary",
283
+ "binoculars",
284
+ "biohazard",
285
+ "bird",
286
+ "birdhouse",
287
+ "bitcoin",
288
+ "blend",
289
+ "blinds",
290
+ "blocks",
291
+ "bluetooth",
292
+ "bluetooth-connected",
293
+ "bluetooth-off",
294
+ "bluetooth-searching",
295
+ "bold",
296
+ "bolt",
297
+ "bomb",
298
+ "bone",
299
+ "book",
300
+ "book-a",
301
+ "book-alert",
302
+ "book-audio",
303
+ "book-check",
304
+ "book-copy",
305
+ "book-dashed",
306
+ "book-down",
307
+ "book-headphones",
308
+ "book-heart",
309
+ "book-image",
310
+ "book-key",
311
+ "book-lock",
312
+ "book-marked",
313
+ "book-minus",
314
+ "book-open",
315
+ "book-open-check",
316
+ "book-open-text",
317
+ "book-plus",
318
+ "book-search",
319
+ "book-text",
320
+ "book-type",
321
+ "book-up",
322
+ "book-up-2",
323
+ "book-user",
324
+ "book-x",
325
+ "bookmark",
326
+ "bookmark-check",
327
+ "bookmark-minus",
328
+ "bookmark-plus",
329
+ "bookmark-x",
330
+ "boom-box",
331
+ "bot",
332
+ "bot-message-square",
333
+ "bot-off",
334
+ "bottle-wine",
335
+ "bow-arrow",
336
+ "box",
337
+ "boxes",
338
+ "braces",
339
+ "brackets",
340
+ "brain",
341
+ "brain-circuit",
342
+ "brain-cog",
343
+ "brick-wall",
344
+ "brick-wall-fire",
345
+ "brick-wall-shield",
346
+ "briefcase",
347
+ "briefcase-business",
348
+ "briefcase-conveyor-belt",
349
+ "briefcase-medical",
350
+ "bring-to-front",
351
+ "brush",
352
+ "brush-cleaning",
353
+ "bubbles",
354
+ "bug",
355
+ "bug-off",
356
+ "bug-play",
357
+ "building",
358
+ "building-2",
359
+ "bus",
360
+ "bus-front",
361
+ "cable",
362
+ "cable-car",
363
+ "cake",
364
+ "cake-slice",
365
+ "calculator",
366
+ "calendar",
367
+ "calendar-1",
368
+ "calendar-arrow-down",
369
+ "calendar-arrow-up",
370
+ "calendar-check",
371
+ "calendar-check-2",
372
+ "calendar-clock",
373
+ "calendar-cog",
374
+ "calendar-days",
375
+ "calendar-fold",
376
+ "calendar-heart",
377
+ "calendar-minus",
378
+ "calendar-minus-2",
379
+ "calendar-off",
380
+ "calendar-plus",
381
+ "calendar-plus-2",
382
+ "calendar-range",
383
+ "calendar-search",
384
+ "calendar-sync",
385
+ "calendar-x",
386
+ "calendar-x-2",
387
+ "calendars",
388
+ "camera",
389
+ "camera-off",
390
+ "candy",
391
+ "candy-cane",
392
+ "candy-off",
393
+ "cannabis",
394
+ "cannabis-off",
395
+ "captions",
396
+ "captions-off",
397
+ "car",
398
+ "car-front",
399
+ "car-taxi-front",
400
+ "caravan",
401
+ "card-sim",
402
+ "carrot",
403
+ "case-lower",
404
+ "case-sensitive",
405
+ "case-upper",
406
+ "cassette-tape",
407
+ "cast",
408
+ "castle",
409
+ "cat",
410
+ "cctv",
411
+ "chart-area",
412
+ "chart-bar",
413
+ "chart-bar-big",
414
+ "chart-bar-decreasing",
415
+ "chart-bar-increasing",
416
+ "chart-bar-stacked",
417
+ "chart-candlestick",
418
+ "chart-column",
419
+ "chart-column-big",
420
+ "chart-column-decreasing",
421
+ "chart-column-increasing",
422
+ "chart-column-stacked",
423
+ "chart-gantt",
424
+ "chart-line",
425
+ "chart-network",
426
+ "chart-no-axes-column",
427
+ "chart-no-axes-column-decreasing",
428
+ "chart-no-axes-column-increasing",
429
+ "chart-no-axes-combined",
430
+ "chart-no-axes-gantt",
431
+ "chart-pie",
432
+ "chart-scatter",
433
+ "chart-spline",
434
+ "check",
435
+ "check-check",
436
+ "check-line",
437
+ "chef-hat",
438
+ "cherry",
439
+ "chess-bishop",
440
+ "chess-king",
441
+ "chess-knight",
442
+ "chess-pawn",
443
+ "chess-queen",
444
+ "chess-rook",
445
+ "chevron-down",
446
+ "chevron-first",
447
+ "chevron-last",
448
+ "chevron-left",
449
+ "chevron-right",
450
+ "chevron-up",
451
+ "chevrons-down",
452
+ "chevrons-down-up",
453
+ "chevrons-left",
454
+ "chevrons-left-right",
455
+ "chevrons-left-right-ellipsis",
456
+ "chevrons-right",
457
+ "chevrons-right-left",
458
+ "chevrons-up",
459
+ "chevrons-up-down",
460
+ "chromium",
461
+ "church",
462
+ "cigarette",
463
+ "cigarette-off",
464
+ "circle",
465
+ "circle-alert",
466
+ "circle-arrow-down",
467
+ "circle-arrow-left",
468
+ "circle-arrow-out-down-left",
469
+ "circle-arrow-out-down-right",
470
+ "circle-arrow-out-up-left",
471
+ "circle-arrow-out-up-right",
472
+ "circle-arrow-right",
473
+ "circle-arrow-up",
474
+ "circle-check",
475
+ "circle-check-big",
476
+ "circle-chevron-down",
477
+ "circle-chevron-left",
478
+ "circle-chevron-right",
479
+ "circle-chevron-up",
480
+ "circle-dashed",
481
+ "circle-divide",
482
+ "circle-dollar-sign",
483
+ "circle-dot",
484
+ "circle-dot-dashed",
485
+ "circle-ellipsis",
486
+ "circle-equal",
487
+ "circle-fading-arrow-up",
488
+ "circle-fading-plus",
489
+ "circle-gauge",
490
+ "circle-help",
491
+ "circle-minus",
492
+ "circle-off",
493
+ "circle-parking",
494
+ "circle-parking-off",
495
+ "circle-pause",
496
+ "circle-percent",
497
+ "circle-pile",
498
+ "circle-play",
499
+ "circle-plus",
500
+ "circle-pound-sterling",
501
+ "circle-power",
502
+ "circle-question-mark",
503
+ "circle-slash",
504
+ "circle-slash-2",
505
+ "circle-small",
506
+ "circle-star",
507
+ "circle-stop",
508
+ "circle-user",
509
+ "circle-user-round",
510
+ "circle-x",
511
+ "circuit-board",
512
+ "citrus",
513
+ "clapperboard",
514
+ "clipboard",
515
+ "clipboard-check",
516
+ "clipboard-clock",
517
+ "clipboard-copy",
518
+ "clipboard-list",
519
+ "clipboard-minus",
520
+ "clipboard-paste",
521
+ "clipboard-pen",
522
+ "clipboard-pen-line",
523
+ "clipboard-plus",
524
+ "clipboard-type",
525
+ "clipboard-x",
526
+ "clock",
527
+ "clock-1",
528
+ "clock-10",
529
+ "clock-11",
530
+ "clock-12",
531
+ "clock-2",
532
+ "clock-3",
533
+ "clock-4",
534
+ "clock-5",
535
+ "clock-6",
536
+ "clock-7",
537
+ "clock-8",
538
+ "clock-9",
539
+ "clock-alert",
540
+ "clock-arrow-down",
541
+ "clock-arrow-up",
542
+ "clock-check",
543
+ "clock-fading",
544
+ "clock-plus",
545
+ "closed-caption",
546
+ "cloud",
547
+ "cloud-alert",
548
+ "cloud-backup",
549
+ "cloud-check",
550
+ "cloud-cog",
551
+ "cloud-download",
552
+ "cloud-drizzle",
553
+ "cloud-fog",
554
+ "cloud-hail",
555
+ "cloud-lightning",
556
+ "cloud-moon",
557
+ "cloud-moon-rain",
558
+ "cloud-off",
559
+ "cloud-rain",
560
+ "cloud-rain-wind",
561
+ "cloud-snow",
562
+ "cloud-sun",
563
+ "cloud-sun-rain",
564
+ "cloud-sync",
565
+ "cloud-upload",
566
+ "cloudy",
567
+ "clover",
568
+ "club",
569
+ "code",
570
+ "code-xml",
571
+ "codepen",
572
+ "codesandbox",
573
+ "coffee",
574
+ "cog",
575
+ "coins",
576
+ "columns-2",
577
+ "columns-3",
578
+ "columns-3-cog",
579
+ "columns-4",
580
+ "combine",
581
+ "command",
582
+ "compass",
583
+ "component",
584
+ "computer",
585
+ "concierge-bell",
586
+ "cone",
587
+ "construction",
588
+ "contact",
589
+ "contact-round",
590
+ "container",
591
+ "contrast",
592
+ "cookie",
593
+ "cooking-pot",
594
+ "copy",
595
+ "copy-check",
596
+ "copy-minus",
597
+ "copy-plus",
598
+ "copy-slash",
599
+ "copy-x",
600
+ "copyleft",
601
+ "copyright",
602
+ "corner-down-left",
603
+ "corner-down-right",
604
+ "corner-left-down",
605
+ "corner-left-up",
606
+ "corner-right-down",
607
+ "corner-right-up",
608
+ "corner-up-left",
609
+ "corner-up-right",
610
+ "cpu",
611
+ "creative-commons",
612
+ "credit-card",
613
+ "croissant",
614
+ "crop",
615
+ "cross",
616
+ "crosshair",
617
+ "crown",
618
+ "cuboid",
619
+ "cup-soda",
620
+ "currency",
621
+ "cylinder",
622
+ "dam",
623
+ "database",
624
+ "database-backup",
625
+ "database-zap",
626
+ "decimals-arrow-left",
627
+ "decimals-arrow-right",
628
+ "delete",
629
+ "dessert",
630
+ "diameter",
631
+ "diamond",
632
+ "diamond-minus",
633
+ "diamond-percent",
634
+ "diamond-plus",
635
+ "dice-1",
636
+ "dice-2",
637
+ "dice-3",
638
+ "dice-4",
639
+ "dice-5",
640
+ "dice-6",
641
+ "dices",
642
+ "diff",
643
+ "disc",
644
+ "disc-2",
645
+ "disc-3",
646
+ "disc-album",
647
+ "divide",
648
+ "dna",
649
+ "dna-off",
650
+ "dock",
651
+ "dog",
652
+ "dollar-sign",
653
+ "donut",
654
+ "door-closed",
655
+ "door-closed-locked",
656
+ "door-open",
657
+ "dot",
658
+ "download",
659
+ "drafting-compass",
660
+ "drama",
661
+ "dribbble",
662
+ "drill",
663
+ "drone",
664
+ "droplet",
665
+ "droplet-off",
666
+ "droplets",
667
+ "drum",
668
+ "drumstick",
669
+ "dumbbell",
670
+ "ear",
671
+ "ear-off",
672
+ "earth",
673
+ "earth-lock",
674
+ "eclipse",
675
+ "egg",
676
+ "egg-fried",
677
+ "egg-off",
678
+ "ellipsis",
679
+ "ellipsis-vertical",
680
+ "equal",
681
+ "equal-approximately",
682
+ "equal-not",
683
+ "eraser",
684
+ "ethernet-port",
685
+ "euro",
686
+ "ev-charger",
687
+ "expand",
688
+ "external-link",
689
+ "eye",
690
+ "eye-closed",
691
+ "eye-off",
692
+ "facebook",
693
+ "factory",
694
+ "fan",
695
+ "fast-forward",
696
+ "feather",
697
+ "fence",
698
+ "ferris-wheel",
699
+ "figma",
700
+ "file",
701
+ "file-archive",
702
+ "file-axis-3d",
703
+ "file-badge",
704
+ "file-box",
705
+ "file-braces",
706
+ "file-braces-corner",
707
+ "file-chart-column",
708
+ "file-chart-column-increasing",
709
+ "file-chart-line",
710
+ "file-chart-pie",
711
+ "file-check",
712
+ "file-check-corner",
713
+ "file-clock",
714
+ "file-code",
715
+ "file-code-corner",
716
+ "file-cog",
717
+ "file-diff",
718
+ "file-digit",
719
+ "file-down",
720
+ "file-exclamation-point",
721
+ "file-headphone",
722
+ "file-heart",
723
+ "file-image",
724
+ "file-input",
725
+ "file-key",
726
+ "file-lock",
727
+ "file-minus",
728
+ "file-minus-corner",
729
+ "file-music",
730
+ "file-output",
731
+ "file-pen",
732
+ "file-pen-line",
733
+ "file-play",
734
+ "file-plus",
735
+ "file-plus-corner",
736
+ "file-question-mark",
737
+ "file-scan",
738
+ "file-search",
739
+ "file-search-corner",
740
+ "file-signal",
741
+ "file-sliders",
742
+ "file-spreadsheet",
743
+ "file-stack",
744
+ "file-symlink",
745
+ "file-terminal",
746
+ "file-text",
747
+ "file-type",
748
+ "file-type-corner",
749
+ "file-up",
750
+ "file-user",
751
+ "file-video-camera",
752
+ "file-volume",
753
+ "file-x",
754
+ "file-x-corner",
755
+ "files",
756
+ "film",
757
+ "fingerprint-pattern",
758
+ "fire-extinguisher",
759
+ "fish",
760
+ "fish-off",
761
+ "fish-symbol",
762
+ "fishing-hook",
763
+ "flag",
764
+ "flag-off",
765
+ "flag-triangle-left",
766
+ "flag-triangle-right",
767
+ "flame",
768
+ "flame-kindling",
769
+ "flashlight",
770
+ "flashlight-off",
771
+ "flask-conical",
772
+ "flask-conical-off",
773
+ "flask-round",
774
+ "flip-horizontal",
775
+ "flip-horizontal-2",
776
+ "flip-vertical",
777
+ "flip-vertical-2",
778
+ "flower",
779
+ "flower-2",
780
+ "focus",
781
+ "fold-horizontal",
782
+ "fold-vertical",
783
+ "folder",
784
+ "folder-archive",
785
+ "folder-check",
786
+ "folder-clock",
787
+ "folder-closed",
788
+ "folder-code",
789
+ "folder-cog",
790
+ "folder-dot",
791
+ "folder-down",
792
+ "folder-git",
793
+ "folder-git-2",
794
+ "folder-heart",
795
+ "folder-input",
796
+ "folder-kanban",
797
+ "folder-key",
798
+ "folder-lock",
799
+ "folder-minus",
800
+ "folder-open",
801
+ "folder-open-dot",
802
+ "folder-output",
803
+ "folder-pen",
804
+ "folder-plus",
805
+ "folder-root",
806
+ "folder-search",
807
+ "folder-search-2",
808
+ "folder-symlink",
809
+ "folder-sync",
810
+ "folder-tree",
811
+ "folder-up",
812
+ "folder-x",
813
+ "folders",
814
+ "footprints",
815
+ "forklift",
816
+ "form",
817
+ "forward",
818
+ "frame",
819
+ "framer",
820
+ "frown",
821
+ "fuel",
822
+ "fullscreen",
823
+ "funnel",
824
+ "funnel-plus",
825
+ "funnel-x",
826
+ "gallery-horizontal",
827
+ "gallery-horizontal-end",
828
+ "gallery-thumbnails",
829
+ "gallery-vertical",
830
+ "gallery-vertical-end",
831
+ "gamepad",
832
+ "gamepad-2",
833
+ "gamepad-directional",
834
+ "gauge",
835
+ "gavel",
836
+ "gem",
837
+ "georgian-lari",
838
+ "ghost",
839
+ "gift",
840
+ "git-branch",
841
+ "git-branch-minus",
842
+ "git-branch-plus",
843
+ "git-commit-horizontal",
844
+ "git-commit-vertical",
845
+ "git-compare",
846
+ "git-compare-arrows",
847
+ "git-fork",
848
+ "git-graph",
849
+ "git-merge",
850
+ "git-pull-request",
851
+ "git-pull-request-arrow",
852
+ "git-pull-request-closed",
853
+ "git-pull-request-create",
854
+ "git-pull-request-create-arrow",
855
+ "git-pull-request-draft",
856
+ "github",
857
+ "gitlab",
858
+ "glass-water",
859
+ "glasses",
860
+ "globe",
861
+ "globe-lock",
862
+ "goal",
863
+ "gpu",
864
+ "graduation-cap",
865
+ "grape",
866
+ "grid-2x2",
867
+ "grid-2x2-check",
868
+ "grid-2x2-plus",
869
+ "grid-2x2-x",
870
+ "grid-3x2",
871
+ "grid-3x3",
872
+ "grip",
873
+ "grip-horizontal",
874
+ "grip-vertical",
875
+ "group",
876
+ "guitar",
877
+ "ham",
878
+ "hamburger",
879
+ "hammer",
880
+ "hand",
881
+ "hand-coins",
882
+ "hand-fist",
883
+ "hand-grab",
884
+ "hand-heart",
885
+ "hand-helping",
886
+ "hand-metal",
887
+ "hand-platter",
888
+ "handbag",
889
+ "handshake",
890
+ "hard-drive",
891
+ "hard-drive-download",
892
+ "hard-drive-upload",
893
+ "hard-hat",
894
+ "hash",
895
+ "hat-glasses",
896
+ "haze",
897
+ "hd",
898
+ "hdmi-port",
899
+ "heading",
900
+ "heading-1",
901
+ "heading-2",
902
+ "heading-3",
903
+ "heading-4",
904
+ "heading-5",
905
+ "heading-6",
906
+ "headphone-off",
907
+ "headphones",
908
+ "headset",
909
+ "heart",
910
+ "heart-crack",
911
+ "heart-handshake",
912
+ "heart-minus",
913
+ "heart-off",
914
+ "heart-plus",
915
+ "heart-pulse",
916
+ "heater",
917
+ "helicopter",
918
+ "hexagon",
919
+ "highlighter",
920
+ "history",
921
+ "hop",
922
+ "hop-off",
923
+ "hospital",
924
+ "hotel",
925
+ "hourglass",
926
+ "house",
927
+ "house-heart",
928
+ "house-plug",
929
+ "house-plus",
930
+ "house-wifi",
931
+ "ice-cream-bowl",
932
+ "ice-cream-cone",
933
+ "id-card",
934
+ "id-card-lanyard",
935
+ "image",
936
+ "image-down",
937
+ "image-minus",
938
+ "image-off",
939
+ "image-play",
940
+ "image-plus",
941
+ "image-up",
942
+ "image-upscale",
943
+ "images",
944
+ "import",
945
+ "inbox",
946
+ "indian-rupee",
947
+ "infinity",
948
+ "info",
949
+ "inspection-panel",
950
+ "instagram",
951
+ "italic",
952
+ "iteration-ccw",
953
+ "iteration-cw",
954
+ "japanese-yen",
955
+ "joystick",
956
+ "kanban",
957
+ "kayak",
958
+ "key",
959
+ "key-round",
960
+ "key-square",
961
+ "keyboard",
962
+ "keyboard-music",
963
+ "keyboard-off",
964
+ "lamp",
965
+ "lamp-ceiling",
966
+ "lamp-desk",
967
+ "lamp-floor",
968
+ "lamp-wall-down",
969
+ "lamp-wall-up",
970
+ "land-plot",
971
+ "landmark",
972
+ "languages",
973
+ "laptop",
974
+ "laptop-minimal",
975
+ "laptop-minimal-check",
976
+ "lasso",
977
+ "lasso-select",
978
+ "laugh",
979
+ "layers",
980
+ "layers-2",
981
+ "layers-plus",
982
+ "layout-dashboard",
983
+ "layout-grid",
984
+ "layout-list",
985
+ "layout-panel-left",
986
+ "layout-panel-top",
987
+ "layout-template",
988
+ "leaf",
989
+ "leafy-green",
990
+ "lectern",
991
+ "library",
992
+ "library-big",
993
+ "life-buoy",
994
+ "ligature",
995
+ "lightbulb",
996
+ "lightbulb-off",
997
+ "line-squiggle",
998
+ "link",
999
+ "link-2",
1000
+ "link-2-off",
1001
+ "linkedin",
1002
+ "list",
1003
+ "list-check",
1004
+ "list-checks",
1005
+ "list-chevrons-down-up",
1006
+ "list-chevrons-up-down",
1007
+ "list-collapse",
1008
+ "list-end",
1009
+ "list-filter",
1010
+ "list-filter-plus",
1011
+ "list-indent-decrease",
1012
+ "list-indent-increase",
1013
+ "list-minus",
1014
+ "list-music",
1015
+ "list-ordered",
1016
+ "list-plus",
1017
+ "list-restart",
1018
+ "list-start",
1019
+ "list-todo",
1020
+ "list-tree",
1021
+ "list-video",
1022
+ "list-x",
1023
+ "loader",
1024
+ "loader-circle",
1025
+ "loader-pinwheel",
1026
+ "locate",
1027
+ "locate-fixed",
1028
+ "locate-off",
1029
+ "lock",
1030
+ "lock-keyhole",
1031
+ "lock-keyhole-open",
1032
+ "lock-open",
1033
+ "log-in",
1034
+ "log-out",
1035
+ "logs",
1036
+ "lollipop",
1037
+ "luggage",
1038
+ "magnet",
1039
+ "mail",
1040
+ "mail-check",
1041
+ "mail-minus",
1042
+ "mail-open",
1043
+ "mail-plus",
1044
+ "mail-question-mark",
1045
+ "mail-search",
1046
+ "mail-warning",
1047
+ "mail-x",
1048
+ "mailbox",
1049
+ "mails",
1050
+ "map",
1051
+ "map-minus",
1052
+ "map-pin",
1053
+ "map-pin-check",
1054
+ "map-pin-check-inside",
1055
+ "map-pin-house",
1056
+ "map-pin-minus",
1057
+ "map-pin-minus-inside",
1058
+ "map-pin-off",
1059
+ "map-pin-pen",
1060
+ "map-pin-plus",
1061
+ "map-pin-plus-inside",
1062
+ "map-pin-x",
1063
+ "map-pin-x-inside",
1064
+ "map-pinned",
1065
+ "map-plus",
1066
+ "mars",
1067
+ "mars-stroke",
1068
+ "martini",
1069
+ "maximize",
1070
+ "maximize-2",
1071
+ "medal",
1072
+ "megaphone",
1073
+ "megaphone-off",
1074
+ "meh",
1075
+ "memory-stick",
1076
+ "menu",
1077
+ "merge",
1078
+ "message-circle",
1079
+ "message-circle-code",
1080
+ "message-circle-dashed",
1081
+ "message-circle-heart",
1082
+ "message-circle-more",
1083
+ "message-circle-off",
1084
+ "message-circle-plus",
1085
+ "message-circle-question-mark",
1086
+ "message-circle-reply",
1087
+ "message-circle-warning",
1088
+ "message-circle-x",
1089
+ "message-square",
1090
+ "message-square-code",
1091
+ "message-square-dashed",
1092
+ "message-square-diff",
1093
+ "message-square-dot",
1094
+ "message-square-heart",
1095
+ "message-square-lock",
1096
+ "message-square-more",
1097
+ "message-square-off",
1098
+ "message-square-plus",
1099
+ "message-square-quote",
1100
+ "message-square-reply",
1101
+ "message-square-share",
1102
+ "message-square-text",
1103
+ "message-square-warning",
1104
+ "message-square-x",
1105
+ "messages-square",
1106
+ "mic",
1107
+ "mic-off",
1108
+ "mic-vocal",
1109
+ "microchip",
1110
+ "microscope",
1111
+ "microwave",
1112
+ "milestone",
1113
+ "milk",
1114
+ "milk-off",
1115
+ "minimize",
1116
+ "minimize-2",
1117
+ "minus",
1118
+ "monitor",
1119
+ "monitor-check",
1120
+ "monitor-cloud",
1121
+ "monitor-cog",
1122
+ "monitor-dot",
1123
+ "monitor-down",
1124
+ "monitor-off",
1125
+ "monitor-pause",
1126
+ "monitor-play",
1127
+ "monitor-smartphone",
1128
+ "monitor-speaker",
1129
+ "monitor-stop",
1130
+ "monitor-up",
1131
+ "monitor-x",
1132
+ "moon",
1133
+ "moon-star",
1134
+ "motorbike",
1135
+ "mountain",
1136
+ "mountain-snow",
1137
+ "mouse",
1138
+ "mouse-off",
1139
+ "mouse-pointer",
1140
+ "mouse-pointer-2",
1141
+ "mouse-pointer-2-off",
1142
+ "mouse-pointer-ban",
1143
+ "mouse-pointer-click",
1144
+ "move",
1145
+ "move-3d",
1146
+ "move-diagonal",
1147
+ "move-diagonal-2",
1148
+ "move-down",
1149
+ "move-down-left",
1150
+ "move-down-right",
1151
+ "move-horizontal",
1152
+ "move-left",
1153
+ "move-right",
1154
+ "move-up",
1155
+ "move-up-left",
1156
+ "move-up-right",
1157
+ "move-vertical",
1158
+ "music",
1159
+ "music-2",
1160
+ "music-3",
1161
+ "music-4",
1162
+ "navigation",
1163
+ "navigation-2",
1164
+ "navigation-2-off",
1165
+ "navigation-off",
1166
+ "network",
1167
+ "newspaper",
1168
+ "nfc",
1169
+ "non-binary",
1170
+ "notebook",
1171
+ "notebook-pen",
1172
+ "notebook-tabs",
1173
+ "notebook-text",
1174
+ "notepad-text",
1175
+ "notepad-text-dashed",
1176
+ "nut",
1177
+ "nut-off",
1178
+ "octagon",
1179
+ "octagon-alert",
1180
+ "octagon-minus",
1181
+ "octagon-pause",
1182
+ "octagon-x",
1183
+ "omega",
1184
+ "option",
1185
+ "orbit",
1186
+ "origami",
1187
+ "package",
1188
+ "package-2",
1189
+ "package-check",
1190
+ "package-minus",
1191
+ "package-open",
1192
+ "package-plus",
1193
+ "package-search",
1194
+ "package-x",
1195
+ "paint-bucket",
1196
+ "paint-roller",
1197
+ "paintbrush",
1198
+ "paintbrush-vertical",
1199
+ "palette",
1200
+ "panda",
1201
+ "panel-bottom",
1202
+ "panel-bottom-close",
1203
+ "panel-bottom-dashed",
1204
+ "panel-bottom-open",
1205
+ "panel-left",
1206
+ "panel-left-close",
1207
+ "panel-left-dashed",
1208
+ "panel-left-open",
1209
+ "panel-left-right-dashed",
1210
+ "panel-right",
1211
+ "panel-right-close",
1212
+ "panel-right-dashed",
1213
+ "panel-right-open",
1214
+ "panel-top",
1215
+ "panel-top-bottom-dashed",
1216
+ "panel-top-close",
1217
+ "panel-top-dashed",
1218
+ "panel-top-open",
1219
+ "panels-left-bottom",
1220
+ "panels-right-bottom",
1221
+ "panels-top-left",
1222
+ "paperclip",
1223
+ "parentheses",
1224
+ "parking-meter",
1225
+ "party-popper",
1226
+ "pause",
1227
+ "paw-print",
1228
+ "pc-case",
1229
+ "pen",
1230
+ "pen-line",
1231
+ "pen-off",
1232
+ "pen-tool",
1233
+ "pencil",
1234
+ "pencil-line",
1235
+ "pencil-off",
1236
+ "pencil-ruler",
1237
+ "pentagon",
1238
+ "percent",
1239
+ "person-standing",
1240
+ "philippine-peso",
1241
+ "phone",
1242
+ "phone-call",
1243
+ "phone-forwarded",
1244
+ "phone-incoming",
1245
+ "phone-missed",
1246
+ "phone-off",
1247
+ "phone-outgoing",
1248
+ "pi",
1249
+ "piano",
1250
+ "pickaxe",
1251
+ "picture-in-picture",
1252
+ "picture-in-picture-2",
1253
+ "piggy-bank",
1254
+ "pilcrow",
1255
+ "pilcrow-left",
1256
+ "pilcrow-right",
1257
+ "pill",
1258
+ "pill-bottle",
1259
+ "pin",
1260
+ "pin-off",
1261
+ "pipette",
1262
+ "pizza",
1263
+ "plane",
1264
+ "plane-landing",
1265
+ "plane-takeoff",
1266
+ "play",
1267
+ "plug",
1268
+ "plug-2",
1269
+ "plug-zap",
1270
+ "plus",
1271
+ "pocket",
1272
+ "pocket-knife",
1273
+ "podcast",
1274
+ "pointer",
1275
+ "pointer-off",
1276
+ "popcorn",
1277
+ "popsicle",
1278
+ "pound-sterling",
1279
+ "power",
1280
+ "power-off",
1281
+ "presentation",
1282
+ "printer",
1283
+ "printer-check",
1284
+ "projector",
1285
+ "proportions",
1286
+ "puzzle",
1287
+ "pyramid",
1288
+ "qr-code",
1289
+ "quote",
1290
+ "rabbit",
1291
+ "radar",
1292
+ "radiation",
1293
+ "radical",
1294
+ "radio",
1295
+ "radio-receiver",
1296
+ "radio-tower",
1297
+ "radius",
1298
+ "rail-symbol",
1299
+ "rainbow",
1300
+ "rat",
1301
+ "ratio",
1302
+ "receipt",
1303
+ "receipt-cent",
1304
+ "receipt-euro",
1305
+ "receipt-indian-rupee",
1306
+ "receipt-japanese-yen",
1307
+ "receipt-pound-sterling",
1308
+ "receipt-russian-ruble",
1309
+ "receipt-swiss-franc",
1310
+ "receipt-text",
1311
+ "receipt-turkish-lira",
1312
+ "rectangle-circle",
1313
+ "rectangle-ellipsis",
1314
+ "rectangle-goggles",
1315
+ "rectangle-horizontal",
1316
+ "rectangle-vertical",
1317
+ "recycle",
1318
+ "redo",
1319
+ "redo-2",
1320
+ "redo-dot",
1321
+ "refresh-ccw",
1322
+ "refresh-ccw-dot",
1323
+ "refresh-cw",
1324
+ "refresh-cw-off",
1325
+ "refrigerator",
1326
+ "regex",
1327
+ "remove-formatting",
1328
+ "repeat",
1329
+ "repeat-1",
1330
+ "repeat-2",
1331
+ "replace",
1332
+ "replace-all",
1333
+ "reply",
1334
+ "reply-all",
1335
+ "rewind",
1336
+ "ribbon",
1337
+ "rocket",
1338
+ "rocking-chair",
1339
+ "roller-coaster",
1340
+ "rose",
1341
+ "rotate-3d",
1342
+ "rotate-ccw",
1343
+ "rotate-ccw-key",
1344
+ "rotate-ccw-square",
1345
+ "rotate-cw",
1346
+ "rotate-cw-square",
1347
+ "route",
1348
+ "route-off",
1349
+ "router",
1350
+ "rows-2",
1351
+ "rows-3",
1352
+ "rows-4",
1353
+ "rss",
1354
+ "ruler",
1355
+ "ruler-dimension-line",
1356
+ "russian-ruble",
1357
+ "sailboat",
1358
+ "salad",
1359
+ "sandwich",
1360
+ "satellite",
1361
+ "satellite-dish",
1362
+ "saudi-riyal",
1363
+ "save",
1364
+ "save-all",
1365
+ "save-off",
1366
+ "scale",
1367
+ "scale-3d",
1368
+ "scaling",
1369
+ "scan",
1370
+ "scan-barcode",
1371
+ "scan-eye",
1372
+ "scan-face",
1373
+ "scan-heart",
1374
+ "scan-line",
1375
+ "scan-qr-code",
1376
+ "scan-search",
1377
+ "scan-text",
1378
+ "school",
1379
+ "scissors",
1380
+ "scissors-line-dashed",
1381
+ "scooter",
1382
+ "screen-share",
1383
+ "screen-share-off",
1384
+ "scroll",
1385
+ "scroll-text",
1386
+ "search",
1387
+ "search-alert",
1388
+ "search-check",
1389
+ "search-code",
1390
+ "search-slash",
1391
+ "search-x",
1392
+ "section",
1393
+ "send",
1394
+ "send-horizontal",
1395
+ "send-to-back",
1396
+ "separator-horizontal",
1397
+ "separator-vertical",
1398
+ "server",
1399
+ "server-cog",
1400
+ "server-crash",
1401
+ "server-off",
1402
+ "settings",
1403
+ "settings-2",
1404
+ "shapes",
1405
+ "share",
1406
+ "share-2",
1407
+ "sheet",
1408
+ "shell",
1409
+ "shield",
1410
+ "shield-alert",
1411
+ "shield-ban",
1412
+ "shield-check",
1413
+ "shield-ellipsis",
1414
+ "shield-half",
1415
+ "shield-minus",
1416
+ "shield-off",
1417
+ "shield-plus",
1418
+ "shield-question-mark",
1419
+ "shield-user",
1420
+ "shield-x",
1421
+ "ship",
1422
+ "ship-wheel",
1423
+ "shirt",
1424
+ "shopping-bag",
1425
+ "shopping-basket",
1426
+ "shopping-cart",
1427
+ "shovel",
1428
+ "shower-head",
1429
+ "shredder",
1430
+ "shrimp",
1431
+ "shrink",
1432
+ "shrub",
1433
+ "shuffle",
1434
+ "sigma",
1435
+ "signal",
1436
+ "signal-high",
1437
+ "signal-low",
1438
+ "signal-medium",
1439
+ "signal-zero",
1440
+ "signature",
1441
+ "signpost",
1442
+ "signpost-big",
1443
+ "siren",
1444
+ "skip-back",
1445
+ "skip-forward",
1446
+ "skull",
1447
+ "slack",
1448
+ "slash",
1449
+ "slice",
1450
+ "sliders-horizontal",
1451
+ "sliders-vertical",
1452
+ "smartphone",
1453
+ "smartphone-charging",
1454
+ "smartphone-nfc",
1455
+ "smile",
1456
+ "smile-plus",
1457
+ "snail",
1458
+ "snowflake",
1459
+ "soap-dispenser-droplet",
1460
+ "sofa",
1461
+ "solar-panel",
1462
+ "soup",
1463
+ "space",
1464
+ "spade",
1465
+ "sparkle",
1466
+ "sparkles",
1467
+ "speaker",
1468
+ "speech",
1469
+ "spell-check",
1470
+ "spell-check-2",
1471
+ "spline",
1472
+ "spline-pointer",
1473
+ "split",
1474
+ "spool",
1475
+ "spotlight",
1476
+ "spray-can",
1477
+ "sprout",
1478
+ "square",
1479
+ "square-activity",
1480
+ "square-arrow-down",
1481
+ "square-arrow-down-left",
1482
+ "square-arrow-down-right",
1483
+ "square-arrow-left",
1484
+ "square-arrow-out-down-left",
1485
+ "square-arrow-out-down-right",
1486
+ "square-arrow-out-up-left",
1487
+ "square-arrow-out-up-right",
1488
+ "square-arrow-right",
1489
+ "square-arrow-up",
1490
+ "square-arrow-up-left",
1491
+ "square-arrow-up-right",
1492
+ "square-asterisk",
1493
+ "square-bottom-dashed-scissors",
1494
+ "square-chart-gantt",
1495
+ "square-check",
1496
+ "square-check-big",
1497
+ "square-chevron-down",
1498
+ "square-chevron-left",
1499
+ "square-chevron-right",
1500
+ "square-chevron-up",
1501
+ "square-code",
1502
+ "square-dashed",
1503
+ "square-dashed-bottom",
1504
+ "square-dashed-bottom-code",
1505
+ "square-dashed-kanban",
1506
+ "square-dashed-mouse-pointer",
1507
+ "square-dashed-top-solid",
1508
+ "square-divide",
1509
+ "square-dot",
1510
+ "square-equal",
1511
+ "square-function",
1512
+ "square-kanban",
1513
+ "square-library",
1514
+ "square-m",
1515
+ "square-menu",
1516
+ "square-minus",
1517
+ "square-mouse-pointer",
1518
+ "square-parking",
1519
+ "square-parking-off",
1520
+ "square-pause",
1521
+ "square-pen",
1522
+ "square-percent",
1523
+ "square-pi",
1524
+ "square-pilcrow",
1525
+ "square-play",
1526
+ "square-plus",
1527
+ "square-power",
1528
+ "square-radical",
1529
+ "square-round-corner",
1530
+ "square-scissors",
1531
+ "square-sigma",
1532
+ "square-slash",
1533
+ "square-split-horizontal",
1534
+ "square-split-vertical",
1535
+ "square-square",
1536
+ "square-stack",
1537
+ "square-star",
1538
+ "square-stop",
1539
+ "square-terminal",
1540
+ "square-user",
1541
+ "square-user-round",
1542
+ "square-x",
1543
+ "squares-exclude",
1544
+ "squares-intersect",
1545
+ "squares-subtract",
1546
+ "squares-unite",
1547
+ "squircle",
1548
+ "squircle-dashed",
1549
+ "squirrel",
1550
+ "stamp",
1551
+ "star",
1552
+ "star-half",
1553
+ "star-off",
1554
+ "step-back",
1555
+ "step-forward",
1556
+ "stethoscope",
1557
+ "sticker",
1558
+ "sticky-note",
1559
+ "stone",
1560
+ "store",
1561
+ "stretch-horizontal",
1562
+ "stretch-vertical",
1563
+ "strikethrough",
1564
+ "subscript",
1565
+ "sun",
1566
+ "sun-dim",
1567
+ "sun-medium",
1568
+ "sun-moon",
1569
+ "sun-snow",
1570
+ "sunrise",
1571
+ "sunset",
1572
+ "superscript",
1573
+ "swatch-book",
1574
+ "swiss-franc",
1575
+ "switch-camera",
1576
+ "sword",
1577
+ "swords",
1578
+ "syringe",
1579
+ "table",
1580
+ "table-2",
1581
+ "table-cells-merge",
1582
+ "table-cells-split",
1583
+ "table-columns-split",
1584
+ "table-of-contents",
1585
+ "table-properties",
1586
+ "table-rows-split",
1587
+ "tablet",
1588
+ "tablet-smartphone",
1589
+ "tablets",
1590
+ "tag",
1591
+ "tags",
1592
+ "tally-1",
1593
+ "tally-2",
1594
+ "tally-3",
1595
+ "tally-4",
1596
+ "tally-5",
1597
+ "tangent",
1598
+ "target",
1599
+ "telescope",
1600
+ "tent",
1601
+ "tent-tree",
1602
+ "terminal",
1603
+ "test-tube",
1604
+ "test-tube-diagonal",
1605
+ "test-tubes",
1606
+ "text-align-center",
1607
+ "text-align-end",
1608
+ "text-align-justify",
1609
+ "text-align-start",
1610
+ "text-cursor",
1611
+ "text-cursor-input",
1612
+ "text-initial",
1613
+ "text-quote",
1614
+ "text-search",
1615
+ "text-select",
1616
+ "text-wrap",
1617
+ "theater",
1618
+ "thermometer",
1619
+ "thermometer-snowflake",
1620
+ "thermometer-sun",
1621
+ "thumbs-down",
1622
+ "thumbs-up",
1623
+ "ticket",
1624
+ "ticket-check",
1625
+ "ticket-minus",
1626
+ "ticket-percent",
1627
+ "ticket-plus",
1628
+ "ticket-slash",
1629
+ "ticket-x",
1630
+ "tickets",
1631
+ "tickets-plane",
1632
+ "timer",
1633
+ "timer-off",
1634
+ "timer-reset",
1635
+ "toggle-left",
1636
+ "toggle-right",
1637
+ "toilet",
1638
+ "tool-case",
1639
+ "toolbox",
1640
+ "tornado",
1641
+ "torus",
1642
+ "touchpad",
1643
+ "touchpad-off",
1644
+ "tower-control",
1645
+ "toy-brick",
1646
+ "tractor",
1647
+ "traffic-cone",
1648
+ "train-front",
1649
+ "train-front-tunnel",
1650
+ "train-track",
1651
+ "tram-front",
1652
+ "transgender",
1653
+ "trash",
1654
+ "trash-2",
1655
+ "tree-deciduous",
1656
+ "tree-palm",
1657
+ "tree-pine",
1658
+ "trees",
1659
+ "trello",
1660
+ "trending-down",
1661
+ "trending-up",
1662
+ "trending-up-down",
1663
+ "triangle",
1664
+ "triangle-alert",
1665
+ "triangle-dashed",
1666
+ "triangle-right",
1667
+ "trophy",
1668
+ "truck",
1669
+ "truck-electric",
1670
+ "turkish-lira",
1671
+ "turntable",
1672
+ "turtle",
1673
+ "tv",
1674
+ "tv-minimal",
1675
+ "tv-minimal-play",
1676
+ "twitch",
1677
+ "twitter",
1678
+ "type",
1679
+ "type-outline",
1680
+ "umbrella",
1681
+ "umbrella-off",
1682
+ "underline",
1683
+ "undo",
1684
+ "undo-2",
1685
+ "undo-dot",
1686
+ "unfold-horizontal",
1687
+ "unfold-vertical",
1688
+ "ungroup",
1689
+ "university",
1690
+ "unlink",
1691
+ "unlink-2",
1692
+ "unplug",
1693
+ "upload",
1694
+ "usb",
1695
+ "user",
1696
+ "user-check",
1697
+ "user-cog",
1698
+ "user-lock",
1699
+ "user-minus",
1700
+ "user-pen",
1701
+ "user-plus",
1702
+ "user-round",
1703
+ "user-round-check",
1704
+ "user-round-cog",
1705
+ "user-round-minus",
1706
+ "user-round-pen",
1707
+ "user-round-plus",
1708
+ "user-round-search",
1709
+ "user-round-x",
1710
+ "user-search",
1711
+ "user-star",
1712
+ "user-x",
1713
+ "users",
1714
+ "users-round",
1715
+ "utensils",
1716
+ "utensils-crossed",
1717
+ "utility-pole",
1718
+ "van",
1719
+ "variable",
1720
+ "vault",
1721
+ "vector-square",
1722
+ "vegan",
1723
+ "venetian-mask",
1724
+ "venus",
1725
+ "venus-and-mars",
1726
+ "vibrate",
1727
+ "vibrate-off",
1728
+ "video",
1729
+ "video-off",
1730
+ "videotape",
1731
+ "view",
1732
+ "voicemail",
1733
+ "volleyball",
1734
+ "volume",
1735
+ "volume-1",
1736
+ "volume-2",
1737
+ "volume-off",
1738
+ "volume-x",
1739
+ "vote",
1740
+ "wallet",
1741
+ "wallet-cards",
1742
+ "wallet-minimal",
1743
+ "wallpaper",
1744
+ "wand",
1745
+ "wand-sparkles",
1746
+ "warehouse",
1747
+ "washing-machine",
1748
+ "watch",
1749
+ "waves",
1750
+ "waves-arrow-down",
1751
+ "waves-arrow-up",
1752
+ "waves-ladder",
1753
+ "waypoints",
1754
+ "webcam",
1755
+ "webhook",
1756
+ "webhook-off",
1757
+ "weight",
1758
+ "weight-tilde",
1759
+ "wheat",
1760
+ "wheat-off",
1761
+ "whole-word",
1762
+ "wifi",
1763
+ "wifi-cog",
1764
+ "wifi-high",
1765
+ "wifi-low",
1766
+ "wifi-off",
1767
+ "wifi-pen",
1768
+ "wifi-sync",
1769
+ "wifi-zero",
1770
+ "wind",
1771
+ "wind-arrow-down",
1772
+ "wine",
1773
+ "wine-off",
1774
+ "workflow",
1775
+ "worm",
1776
+ "wrench",
1777
+ "x",
1778
+ "youtube",
1779
+ "zap",
1780
+ "zap-off",
1781
+ "zoom-in",
1782
+ "zoom-out"
1783
+ ];
1784
+
1785
+ // src/viewport/presets.ts
1786
+ var DEVICE_PRESETS = {
1787
+ // Desktop
1788
+ "desktop-sm": { width: 1280, height: 800, label: "Small Laptop", category: "desktop" },
1789
+ desktop: { width: 1440, height: 900, label: "Desktop", category: "desktop" },
1790
+ "desktop-lg": { width: 1920, height: 1080, label: "Full HD", category: "desktop" },
1791
+ "desktop-xl": { width: 2560, height: 1440, label: "QHD", category: "desktop" },
1792
+ // Tablet
1793
+ ipad: { width: 1024, height: 768, label: "iPad (Landscape)", category: "tablet" },
1794
+ "ipad-portrait": { width: 768, height: 1024, label: "iPad (Portrait)", category: "tablet" },
1795
+ "ipad-pro": { width: 1366, height: 1024, label: 'iPad Pro 12.9"', category: "tablet" },
1796
+ "ipad-pro-portrait": {
1797
+ width: 1024,
1798
+ height: 1366,
1799
+ label: 'iPad Pro 12.9" (Portrait)',
1800
+ category: "tablet"
1801
+ },
1802
+ // Mobile
1803
+ "iphone-se": { width: 375, height: 667, label: "iPhone SE", category: "mobile" },
1804
+ iphone14: { width: 390, height: 844, label: "iPhone 14", category: "mobile" },
1805
+ "iphone14-pro": { width: 393, height: 852, label: "iPhone 14 Pro", category: "mobile" },
1806
+ "iphone14-pro-max": { width: 430, height: 932, label: "iPhone 14 Pro Max", category: "mobile" },
1807
+ android: { width: 360, height: 800, label: "Android", category: "mobile" },
1808
+ "android-lg": { width: 412, height: 915, label: "Android Large", category: "mobile" }
1809
+ };
1810
+ var DEFAULT_VIEWPORT = DEVICE_PRESETS["desktop"];
1811
+
1812
+ // src/spec/attributes.ts
1813
+ var ATTRIBUTE_SPECS = [
1814
+ // ============================================
1815
+ // Spacing Attributes
1816
+ // ============================================
1817
+ { name: "p", type: "number", description: "Padding (all sides)" },
1818
+ { name: "px", type: "number", description: "Horizontal padding" },
1819
+ { name: "py", type: "number", description: "Vertical padding" },
1820
+ { name: "pt", type: "number", description: "Top padding" },
1821
+ { name: "pr", type: "number", description: "Right padding" },
1822
+ { name: "pb", type: "number", description: "Bottom padding" },
1823
+ { name: "pl", type: "number", description: "Left padding" },
1824
+ { name: "m", type: "number", description: "Margin (all sides)" },
1825
+ { name: "mx", type: "string", description: 'Horizontal margin (number or "auto")' },
1826
+ { name: "my", type: "number", description: "Vertical margin" },
1827
+ { name: "mt", type: "number", description: "Top margin" },
1828
+ { name: "mr", type: "number", description: "Right margin" },
1829
+ { name: "mb", type: "number", description: "Bottom margin" },
1830
+ { name: "ml", type: "number", description: "Left margin" },
1831
+ { name: "gap", type: "number", description: "Gap between children" },
1832
+ // ============================================
1833
+ // Size Attributes
1834
+ // ============================================
1835
+ {
1836
+ name: "w",
1837
+ type: "string",
1838
+ values: ["full", "auto", "screen", "fit"],
1839
+ description: "Width \u2014 a number of pixels, or one of the size keywords"
1840
+ },
1841
+ {
1842
+ name: "h",
1843
+ type: "string",
1844
+ values: ["full", "auto", "screen"],
1845
+ description: "Height \u2014 a number of pixels, or one of the size keywords"
1846
+ },
1847
+ { name: "width", type: "number", description: "Width in pixels (page only)" },
1848
+ { name: "height", type: "number", description: "Height in pixels (page only)" },
1849
+ { name: "minW", type: "number", description: "Minimum width" },
1850
+ { name: "maxW", type: "number", description: "Maximum width" },
1851
+ { name: "minH", type: "number", description: "Minimum height" },
1852
+ { name: "maxH", type: "number", description: "Maximum height" },
1853
+ // ============================================
1854
+ // Flex/Grid Layout Attributes
1855
+ // ============================================
1856
+ { name: "flex", type: "boolean", description: "Enable flexbox" },
1857
+ {
1858
+ name: "direction",
1859
+ type: "enum",
1860
+ values: ["row", "column", "row-reverse", "column-reverse"],
1861
+ description: "Flex direction"
1862
+ },
1863
+ {
1864
+ name: "justify",
1865
+ type: "enum",
1866
+ values: ["start", "center", "end", "between", "around", "evenly"],
1867
+ description: "Main axis alignment"
1868
+ },
1869
+ {
1870
+ name: "align",
1871
+ type: "enum",
1872
+ values: ["start", "center", "end", "stretch", "baseline"],
1873
+ description: "Cross axis alignment"
1874
+ },
1875
+ {
1876
+ name: "wrap",
1877
+ type: "boolean",
1878
+ values: ["nowrap"],
1879
+ // `boolean | 'nowrap'` in the AST: bare `wrap` enables wrapping, and
1880
+ // `wrap=nowrap` opts a container out of it (`renderer/html/index.ts`
1881
+ // branches on the keyword). Both halves have to be stated or the keyword
1882
+ // reads as an unknown value to every editor downstream.
1883
+ description: "Enable flex wrap, or wrap=nowrap to force a single line"
1884
+ },
1885
+ { name: "span", type: "number", description: "Grid column span (1-12)" },
1886
+ { name: "sm", type: "number", description: "Responsive span at 576px+" },
1887
+ { name: "md", type: "number", description: "Responsive span at 768px+" },
1888
+ { name: "lg", type: "number", description: "Responsive span at 992px+" },
1889
+ { name: "xl", type: "number", description: "Responsive span at 1200px+" },
1890
+ { name: "order", type: "number", description: "Flex order" },
1891
+ // ============================================
1892
+ // Position Attributes
1893
+ // ============================================
1894
+ { name: "x", type: "number", description: "Horizontal position" },
1895
+ { name: "y", type: "number", description: "Vertical position" },
1896
+ {
1897
+ name: "position",
1898
+ type: "enum",
1899
+ values: [
1900
+ "left",
1901
+ "right",
1902
+ "top",
1903
+ "bottom",
1904
+ "top-left",
1905
+ "top-center",
1906
+ "top-right",
1907
+ "bottom-left",
1908
+ "bottom-center",
1909
+ "bottom-right"
1910
+ ],
1911
+ description: "Position preset"
1912
+ },
1913
+ // ============================================
1914
+ // Visual Attributes
1915
+ // ============================================
1916
+ { name: "border", type: "boolean", description: "Show border" },
1917
+ { name: "rounded", type: "boolean", description: "Apply border radius" },
1918
+ {
1919
+ name: "shadow",
1920
+ type: "enum",
1921
+ values: ["none", "sm", "md", "lg", "xl"],
1922
+ description: "Box shadow"
1923
+ },
1924
+ {
1925
+ name: "bg",
1926
+ type: "enum",
1927
+ values: ["muted", "primary", "secondary"],
1928
+ description: "Background variant"
1929
+ },
1930
+ // ============================================
1931
+ // Text Attributes
1932
+ // ============================================
1933
+ {
1934
+ name: "size",
1935
+ type: "enum",
1936
+ values: ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl"],
1937
+ description: "Size preset"
1938
+ },
1939
+ {
1940
+ name: "weight",
1941
+ type: "enum",
1942
+ values: ["normal", "medium", "semibold", "bold"],
1943
+ description: "Font weight"
1944
+ },
1945
+ { name: "level", type: "number", description: "Heading level (1-6)" },
1946
+ { name: "muted", type: "boolean", description: "Muted/dimmed style" },
1947
+ { name: "bold", type: "boolean", description: "Bold text" },
1948
+ // ============================================
1949
+ // Button Variant Attributes
1950
+ // ============================================
1951
+ { name: "primary", type: "boolean", description: "Primary style" },
1952
+ { name: "secondary", type: "boolean", description: "Secondary style" },
1953
+ { name: "outline", type: "boolean", description: "Outline style" },
1954
+ { name: "ghost", type: "boolean", description: "Ghost/transparent style" },
1955
+ { name: "danger", type: "boolean", description: "Danger/destructive style" },
1956
+ // ============================================
1957
+ // Status Variant Attributes
1958
+ // ============================================
1959
+ {
1960
+ name: "variant",
1961
+ type: "enum",
1962
+ values: ["default", "primary", "secondary", "success", "warning", "danger", "info"],
1963
+ description: "Status variant"
1964
+ },
1965
+ // ============================================
1966
+ // Form Attributes
1967
+ // ============================================
1968
+ {
1969
+ name: "inputType",
1970
+ type: "enum",
1971
+ values: ["text", "email", "password", "number", "tel", "url", "search", "date"],
1972
+ description: "Input field type"
1973
+ },
1974
+ { name: "placeholder", type: "string", description: "Placeholder text" },
1975
+ { name: "value", type: "string", description: "Default value" },
1976
+ { name: "label", type: "string", description: "Field label" },
1977
+ /**
1978
+ * One row, three meanings, and the row states only what they share.
1979
+ *
1980
+ * This registry is a flat namespace: {@link ATTRIBUTE_MAP} and
1981
+ * {@link VALID_ATTRIBUTE_NAMES} are keyed by attribute name alone, with no
1982
+ * owning element, so a name can hold exactly one spec. `name` is written by
1983
+ * three unrelated elements — the group name on `radio`, the person's name an
1984
+ * `avatar` draws initials from, and the glyph an `icon` resolves — and a
1985
+ * second `name` row does not scope them apart, it silently shadows (last
1986
+ * write wins in the Map, while the count-based gates in
1987
+ * `packages/language-data` see a duplicate and go red). So this description
1988
+ * says what is true of all three and no more.
1989
+ *
1990
+ * What is true of only one of them goes in `attribute-overrides.ts`, keyed by
1991
+ * element, and is read through `attributeFor`. That is why the glyph domain is
1992
+ * not listed here: it holds on `icon` alone, and a `values` list on this row
1993
+ * would tell every element-blind consumer that a radio group must be called
1994
+ * `circle-alert`.
1995
+ *
1996
+ * Never add a second row for a name that already exists. Widen this one, and
1997
+ * put the narrow half in the override table.
1998
+ */
1999
+ {
2000
+ name: "name",
2001
+ type: "string",
2002
+ description: "Name \u2014 what the element is called, or the named thing it resolves"
2003
+ },
2004
+ { name: "required", type: "boolean", description: "Required field" },
2005
+ { name: "disabled", type: "boolean", description: "Disabled state" },
2006
+ { name: "readonly", type: "boolean", description: "Read-only state" },
2007
+ { name: "checked", type: "boolean", description: "Checked state" },
2008
+ { name: "loading", type: "boolean", description: "Loading state" },
2009
+ { name: "rows", type: "number", description: "Textarea rows" },
2010
+ { name: "min", type: "number", description: "Minimum value" },
2011
+ { name: "max", type: "number", description: "Maximum value" },
2012
+ { name: "step", type: "number", description: "Step increment" },
2013
+ // ============================================
2014
+ // Content Attributes
2015
+ // ============================================
2016
+ { name: "title", type: "string", description: "Title text" },
2017
+ { name: "src", type: "string", description: "Source URL" },
2018
+ { name: "alt", type: "string", description: "Alt text" },
2019
+ { name: "href", type: "string", description: "Link URL" },
2020
+ /**
2021
+ * Left open here on purpose. The glyph set is closed and known — see
2022
+ * `attribute-overrides.ts` — but a `values` list on this row is mirrored into
2023
+ * the editor's element-blind value vocabulary, which would colour 1,667 words
2024
+ * like `home` and `map` as language constants in every value position. Ask
2025
+ * `attributeFor(element, 'icon')` for the domain.
2026
+ */
2027
+ { name: "icon", type: "string", description: "Icon name" },
2028
+ { name: "external", type: "boolean", description: "External link" },
2029
+ // ============================================
2030
+ // Accessibility Attributes
2031
+ // ============================================
2032
+ {
2033
+ name: "aria",
2034
+ type: "string",
2035
+ description: "Accessible name, rendered as aria-label (e.g. icon-only button)"
2036
+ },
2037
+ {
2038
+ name: "aria-label",
2039
+ type: "string",
2040
+ description: "Accessible name (synonym for aria), rendered as aria-label"
2041
+ },
2042
+ // ============================================
2043
+ // State Attributes
2044
+ // ============================================
2045
+ { name: "active", type: "number", description: "Active index" },
2046
+ { name: "expanded", type: "boolean", description: "Expanded state" },
2047
+ { name: "centered", type: "boolean", description: "Center content" },
2048
+ { name: "vertical", type: "boolean", description: "Vertical orientation" },
2049
+ { name: "scroll", type: "boolean", description: "Enable scrolling" },
2050
+ // ============================================
2051
+ // Feedback Attributes
2052
+ // ============================================
2053
+ { name: "dismissible", type: "boolean", description: "Can be dismissed" },
2054
+ { name: "indeterminate", type: "boolean", description: "Indeterminate state" },
2055
+ { name: "pill", type: "boolean", description: "Pill/rounded style" },
2056
+ // ============================================
2057
+ // Data Attributes
2058
+ // ============================================
2059
+ { name: "striped", type: "boolean", description: "Striped rows" },
2060
+ { name: "bordered", type: "boolean", description: "Full borders" },
2061
+ { name: "hover", type: "boolean", description: "Hover effect" },
2062
+ { name: "ordered", type: "boolean", description: "Ordered list" },
2063
+ { name: "none", type: "boolean", description: "No list markers" },
2064
+ // ============================================
2065
+ // Page/Viewport Attributes
2066
+ // ============================================
2067
+ { name: "viewport", type: "string", description: 'Viewport size (e.g., "1440x900")' },
2068
+ {
2069
+ name: "device",
2070
+ type: "enum",
2071
+ // Derived, not transcribed: `resolveViewport` looks the value up in
2072
+ // `DEVICE_PRESETS` and silently falls back to the default when it misses, so
2073
+ // a hand-kept copy of the key list would turn every typo into a wireframe
2074
+ // rendered at the wrong width with no diagnostic.
2075
+ values: Object.keys(DEVICE_PRESETS),
2076
+ description: "Device preset"
2077
+ },
2078
+ // ============================================
2079
+ // Interaction Attributes
2080
+ // ============================================
2081
+ // The wire between two screens, or between a screen and one of its overlays.
2082
+ // `navigate` / `opens` / `toggles` resolve against an `id` (see below); the
2083
+ // AST counterpart is `InteractiveProps` in `src/ast/types.ts`.
2084
+ {
2085
+ name: "navigate",
2086
+ type: "string",
2087
+ description: "Screen this element navigates to \u2014 a page id, a page title, or a URL"
2088
+ },
2089
+ { name: "opens", type: "string", description: "id of the modal or drawer this element opens" },
2090
+ {
2091
+ name: "toggles",
2092
+ type: "string",
2093
+ description: "id of the modal or drawer this element shows or hides"
2094
+ },
2095
+ {
2096
+ name: "action",
2097
+ type: "string",
2098
+ description: "Named interaction with no target, e.g. back, close, submit"
2099
+ },
2100
+ {
2101
+ name: "on",
2102
+ type: "object",
2103
+ description: "Typed click event with an optional equality guard and ordered effects"
2104
+ },
2105
+ {
2106
+ name: "visibleWhen",
2107
+ type: "object",
2108
+ description: "Equality guard controlling whether this branch is visible"
2109
+ },
2110
+ {
2111
+ name: "enabledWhen",
2112
+ type: "object",
2113
+ description: "Equality guard controlling whether this control is enabled"
2114
+ },
2115
+ {
2116
+ name: "states",
2117
+ type: "object[]",
2118
+ description: "Typed application state declarations owned by a page or shared layout"
2119
+ },
2120
+ {
2121
+ name: "id",
2122
+ type: "string",
2123
+ description: "Stable identifier this page or overlay is addressed by, as distinct from title"
2124
+ },
2125
+ // ============================================
2126
+ // Annotation Attributes
2127
+ // ============================================
2128
+ {
2129
+ name: "anchor",
2130
+ type: "enum",
2131
+ values: [
2132
+ "top-left",
2133
+ "top-center",
2134
+ "top-right",
2135
+ "center-left",
2136
+ "center",
2137
+ "center-right",
2138
+ "bottom-left",
2139
+ "bottom-center",
2140
+ "bottom-right"
2141
+ ],
2142
+ description: "Corner or edge of the parent this element is pinned to"
2143
+ },
2144
+ {
2145
+ name: "color",
2146
+ type: "enum",
2147
+ values: ["blue", "red", "green", "yellow", "purple", "orange"],
2148
+ description: "Marker color"
2149
+ },
2150
+ // ============================================
2151
+ // Reuse Attributes
2152
+ // ============================================
2153
+ { name: "uses", type: "string", description: "Name of the layout a page is drawn inside" }
2154
+ ];
2155
+ var VALID_ATTRIBUTE_NAMES = new Set(
2156
+ ATTRIBUTE_SPECS.map((attr) => attr.name)
2157
+ );
2158
+ var ATTRIBUTE_MAP = new Map(
2159
+ ATTRIBUTE_SPECS.map((attr) => [attr.name, attr])
2160
+ );
2161
+ var BOX_ATTRIBUTES = [
2162
+ // Guarded runtime outcomes
2163
+ "visibleWhen",
2164
+ "enabledWhen",
2165
+ // Spacing
2166
+ "p",
2167
+ "px",
2168
+ "py",
2169
+ "pt",
2170
+ "pr",
2171
+ "pb",
2172
+ "pl",
2173
+ "m",
2174
+ "mx",
2175
+ "my",
2176
+ "mt",
2177
+ "mr",
2178
+ "mb",
2179
+ "ml",
2180
+ "gap",
2181
+ // Size
2182
+ "w",
2183
+ "h",
2184
+ "minW",
2185
+ "maxW",
2186
+ "minH",
2187
+ "maxH",
2188
+ // Position
2189
+ "x",
2190
+ "y"
2191
+ ];
2192
+ var CONTAINER_ATTRIBUTES = [
2193
+ // Flex
2194
+ "flex",
2195
+ "direction",
2196
+ "justify",
2197
+ "align",
2198
+ "wrap",
2199
+ // Decoration
2200
+ "bg",
2201
+ "border",
2202
+ "rounded"
2203
+ ];
2204
+ var INTERACTIVE_ATTRIBUTES = [
2205
+ "navigate",
2206
+ "opens",
2207
+ "toggles",
2208
+ "action",
2209
+ "on"
2210
+ ];
2211
+
2212
+ // src/spec/components.ts
2213
+ var COMPONENT_METADATA = {
2214
+ // ============================================
2215
+ // Layout Components
2216
+ // ============================================
2217
+ page: {
2218
+ category: "layout",
2219
+ attributes: [
2220
+ // `visibleWhen` / `enabledWhen` are filtered out of the spread rather than
2221
+ // inherited. They are guarded *outcomes*: the renderer emits
2222
+ // `data-wf-visible-when` / `data-wf-enabled-when` from the component path,
2223
+ // and the site runtime toggles the element they land on. A page is the
2224
+ // board that path renders *into* — nothing emits the attribute for it and
2225
+ // nothing would toggle it, so declaring it would let an author write a
2226
+ // guard on a page, pass `validate()`, and have the value silently dropped.
2227
+ ...BOX_ATTRIBUTES.filter((name) => name !== "visibleWhen" && name !== "enabledWhen"),
2228
+ ...CONTAINER_ATTRIBUTES,
2229
+ "id",
2230
+ "title",
2231
+ "width",
2232
+ "height",
2233
+ "viewport",
2234
+ "device",
2235
+ "centered",
2236
+ "uses",
2237
+ "states"
2238
+ ],
2239
+ hasChildren: true,
2240
+ description: "Root container for a wireframe page. Multiple pages in one .wf file lay out side-by-side on a canvas; use at(x, y) for explicit placement, or omit for auto-flow. Give it uses=<layout> to draw it inside a shared layout instead of restating the shell."
2241
+ },
2242
+ // ============================================
2243
+ // Structure Definitions
2244
+ // ============================================
2245
+ layout: {
2246
+ category: "structure",
2247
+ attributes: ["states"],
2248
+ hasChildren: true,
2249
+ description: "Define a page shell once, under a name, so pages can reference it with uses= instead of repeating it. Mark where a referencing page's own content goes with slot: `layout app { header { \u2026 } slot footer { \u2026 } }`."
2250
+ },
2251
+ component: {
2252
+ category: "structure",
2253
+ attributes: [],
2254
+ hasChildren: true,
2255
+ description: "Define a named, reusable fragment with typed parameters and named slots so screens can invoke it explicitly."
2256
+ },
2257
+ use: {
2258
+ category: "structure",
2259
+ attributes: [],
2260
+ hasChildren: true,
2261
+ description: "Invoke a reusable component with named typed inputs and optional named slot fills. This is distinct from page uses=, which continues to reference layouts."
2262
+ },
2263
+ slot: {
2264
+ category: "structure",
2265
+ attributes: [],
2266
+ hasChildren: false,
2267
+ description: "Mark content insertion: bare inside a layout, or named inside a reusable component."
2268
+ },
2269
+ header: {
2270
+ category: "layout",
2271
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2272
+ hasChildren: true,
2273
+ description: "Page header section"
2274
+ },
2275
+ main: {
2276
+ category: "layout",
2277
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "scroll"],
2278
+ hasChildren: true,
2279
+ description: "Main content section"
2280
+ },
2281
+ footer: {
2282
+ category: "layout",
2283
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2284
+ hasChildren: true,
2285
+ description: "Page footer section"
2286
+ },
2287
+ sidebar: {
2288
+ category: "layout",
2289
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position"],
2290
+ hasChildren: true,
2291
+ description: "Side navigation or content area"
2292
+ },
2293
+ section: {
2294
+ category: "layout",
2295
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title", "expanded"],
2296
+ hasChildren: true,
2297
+ description: "Grouped content section"
2298
+ },
2299
+ // ============================================
2300
+ // Grid Components
2301
+ // ============================================
2302
+ row: {
2303
+ category: "grid",
2304
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2305
+ hasChildren: true,
2306
+ description: "Horizontal flex container"
2307
+ },
2308
+ col: {
2309
+ category: "grid",
2310
+ attributes: [
2311
+ ...BOX_ATTRIBUTES,
2312
+ ...CONTAINER_ATTRIBUTES,
2313
+ // `span` sizes a grid column and does nothing on any other element, so it
2314
+ // is declared on the one element that reads it rather than on every one.
2315
+ "span",
2316
+ "sm",
2317
+ "md",
2318
+ "lg",
2319
+ "xl",
2320
+ "order",
2321
+ "scroll"
2322
+ ],
2323
+ hasChildren: true,
2324
+ description: "Vertical flex container or grid column"
2325
+ },
2326
+ stack: {
2327
+ category: "grid",
2328
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2329
+ hasChildren: true,
2330
+ description: "Vertical stack that only takes content height (unlike col which fills)"
2331
+ },
2332
+ relative: {
2333
+ category: "grid",
2334
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2335
+ hasChildren: true,
2336
+ description: "Container for overlaying elements with absolute positioning"
2337
+ },
2338
+ // ============================================
2339
+ // Container Components
2340
+ // ============================================
2341
+ card: {
2342
+ category: "container",
2343
+ attributes: [
2344
+ ...BOX_ATTRIBUTES,
2345
+ ...CONTAINER_ATTRIBUTES,
2346
+ ...INTERACTIVE_ATTRIBUTES,
2347
+ "title",
2348
+ "shadow"
2349
+ ],
2350
+ hasChildren: true,
2351
+ description: "Card container with optional title"
2352
+ },
2353
+ modal: {
2354
+ category: "container",
2355
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "id", "title"],
2356
+ hasChildren: true,
2357
+ description: "Modal dialog overlay"
2358
+ },
2359
+ drawer: {
2360
+ category: "container",
2361
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "id", "title", "position"],
2362
+ hasChildren: true,
2363
+ description: "Slide-in drawer panel"
2364
+ },
2365
+ accordion: {
2366
+ category: "container",
2367
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title"],
2368
+ hasChildren: true,
2369
+ description: "Collapsible sections container"
2370
+ },
2371
+ // ============================================
2372
+ // Text Components
2373
+ // ============================================
2374
+ text: {
2375
+ category: "text",
2376
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "size", "weight", "muted", "bold"],
2377
+ hasChildren: false,
2378
+ description: "Text content"
2379
+ },
2380
+ title: {
2381
+ category: "text",
2382
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "level", "size"],
2383
+ hasChildren: false,
2384
+ description: "Heading element (h1-h6)"
2385
+ },
2386
+ link: {
2387
+ category: "text",
2388
+ attributes: [
2389
+ ...BOX_ATTRIBUTES,
2390
+ ...CONTAINER_ATTRIBUTES,
2391
+ ...INTERACTIVE_ATTRIBUTES,
2392
+ "href",
2393
+ "external"
2394
+ ],
2395
+ hasChildren: false,
2396
+ description: "Hyperlink text"
2397
+ },
2398
+ // ============================================
2399
+ // Input Components
2400
+ // ============================================
2401
+ input: {
2402
+ category: "input",
2403
+ attributes: [
2404
+ ...BOX_ATTRIBUTES,
2405
+ ...CONTAINER_ATTRIBUTES,
2406
+ "label",
2407
+ "inputType",
2408
+ "placeholder",
2409
+ "value",
2410
+ "disabled",
2411
+ "required",
2412
+ "readonly",
2413
+ "icon",
2414
+ "size"
2415
+ ],
2416
+ hasChildren: false,
2417
+ description: "Text input field"
2418
+ },
2419
+ textarea: {
2420
+ category: "input",
2421
+ attributes: [
2422
+ ...BOX_ATTRIBUTES,
2423
+ ...CONTAINER_ATTRIBUTES,
2424
+ "label",
2425
+ "placeholder",
2426
+ "value",
2427
+ "rows",
2428
+ "disabled",
2429
+ "required"
2430
+ ],
2431
+ hasChildren: false,
2432
+ description: "Multi-line text input"
2433
+ },
2434
+ select: {
2435
+ category: "input",
2436
+ attributes: [
2437
+ ...BOX_ATTRIBUTES,
2438
+ ...CONTAINER_ATTRIBUTES,
2439
+ "label",
2440
+ "placeholder",
2441
+ "value",
2442
+ "disabled",
2443
+ "required"
2444
+ ],
2445
+ hasChildren: false,
2446
+ description: "Dropdown select"
2447
+ },
2448
+ checkbox: {
2449
+ category: "input",
2450
+ attributes: [...BOX_ATTRIBUTES, "label", "checked", "disabled"],
2451
+ hasChildren: false,
2452
+ description: "Checkbox input"
2453
+ },
2454
+ radio: {
2455
+ category: "input",
2456
+ attributes: [...BOX_ATTRIBUTES, "label", "name", "checked", "disabled"],
2457
+ hasChildren: false,
2458
+ description: "Radio button input"
2459
+ },
2460
+ switch: {
2461
+ category: "input",
2462
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label", "checked", "disabled"],
2463
+ hasChildren: false,
2464
+ description: "Toggle switch"
2465
+ },
2466
+ slider: {
2467
+ category: "input",
2468
+ attributes: [
2469
+ ...BOX_ATTRIBUTES,
2470
+ ...CONTAINER_ATTRIBUTES,
2471
+ "label",
2472
+ "min",
2473
+ "max",
2474
+ "value",
2475
+ "step",
2476
+ "disabled"
2477
+ ],
2478
+ hasChildren: false,
2479
+ description: "Range slider"
2480
+ },
2481
+ button: {
2482
+ category: "input",
2483
+ attributes: [
2484
+ ...BOX_ATTRIBUTES,
2485
+ ...CONTAINER_ATTRIBUTES,
2486
+ ...INTERACTIVE_ATTRIBUTES,
2487
+ "primary",
2488
+ "secondary",
2489
+ "outline",
2490
+ "ghost",
2491
+ "danger",
2492
+ "size",
2493
+ "icon",
2494
+ "disabled",
2495
+ "loading",
2496
+ // Accessibility: give icon-only buttons an accessible name / tooltip
2497
+ "aria",
2498
+ "aria-label",
2499
+ "title"
2500
+ ],
2501
+ hasChildren: false,
2502
+ description: "Clickable button"
2503
+ },
2504
+ // ============================================
2505
+ // Display Components
2506
+ // ============================================
2507
+ image: {
2508
+ category: "display",
2509
+ attributes: [
2510
+ ...BOX_ATTRIBUTES,
2511
+ ...CONTAINER_ATTRIBUTES,
2512
+ ...INTERACTIVE_ATTRIBUTES,
2513
+ "src",
2514
+ "alt"
2515
+ ],
2516
+ hasChildren: false,
2517
+ description: "Image placeholder"
2518
+ },
2519
+ placeholder: {
2520
+ category: "display",
2521
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label"],
2522
+ hasChildren: true,
2523
+ description: "Generic placeholder"
2524
+ },
2525
+ avatar: {
2526
+ category: "display",
2527
+ attributes: [
2528
+ ...BOX_ATTRIBUTES,
2529
+ ...CONTAINER_ATTRIBUTES,
2530
+ ...INTERACTIVE_ATTRIBUTES,
2531
+ "name",
2532
+ "size"
2533
+ ],
2534
+ hasChildren: false,
2535
+ description: "User avatar"
2536
+ },
2537
+ badge: {
2538
+ category: "display",
2539
+ attributes: [
2540
+ ...BOX_ATTRIBUTES,
2541
+ ...CONTAINER_ATTRIBUTES,
2542
+ ...INTERACTIVE_ATTRIBUTES,
2543
+ "variant",
2544
+ "pill",
2545
+ "icon",
2546
+ "size",
2547
+ "anchor"
2548
+ ],
2549
+ hasChildren: false,
2550
+ description: "Status badge"
2551
+ },
2552
+ icon: {
2553
+ category: "display",
2554
+ attributes: [
2555
+ ...BOX_ATTRIBUTES,
2556
+ ...CONTAINER_ATTRIBUTES,
2557
+ ...INTERACTIVE_ATTRIBUTES,
2558
+ "name",
2559
+ "size",
2560
+ "muted"
2561
+ ],
2562
+ hasChildren: false,
2563
+ description: "Lucide icon"
2564
+ },
2565
+ // ============================================
2566
+ // Data Components
2567
+ // ============================================
2568
+ table: {
2569
+ category: "data",
2570
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "striped", "bordered", "hover"],
2571
+ hasChildren: false,
2572
+ description: "Data table"
2573
+ },
2574
+ list: {
2575
+ category: "data",
2576
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "ordered", "none"],
2577
+ hasChildren: false,
2578
+ description: "List of items"
2579
+ },
2580
+ // ============================================
2581
+ // Feedback Components
2582
+ // ============================================
2583
+ alert: {
2584
+ category: "feedback",
2585
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "variant", "dismissible", "icon"],
2586
+ hasChildren: false,
2587
+ description: "Alert message"
2588
+ },
2589
+ toast: {
2590
+ category: "feedback",
2591
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position", "variant"],
2592
+ hasChildren: false,
2593
+ description: "Toast notification"
2594
+ },
2595
+ progress: {
2596
+ category: "feedback",
2597
+ attributes: [
2598
+ ...BOX_ATTRIBUTES,
2599
+ ...CONTAINER_ATTRIBUTES,
2600
+ "value",
2601
+ "max",
2602
+ "label",
2603
+ "indeterminate"
2604
+ ],
2605
+ hasChildren: false,
2606
+ description: "Progress bar"
2607
+ },
2608
+ spinner: {
2609
+ category: "feedback",
2610
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label", "size"],
2611
+ hasChildren: false,
2612
+ description: "Loading spinner"
2613
+ },
2614
+ // ============================================
2615
+ // Overlay Components
2616
+ // ============================================
2617
+ tooltip: {
2618
+ category: "overlay",
2619
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position"],
2620
+ hasChildren: false,
2621
+ description: "Tooltip on hover"
2622
+ },
2623
+ popover: {
2624
+ category: "overlay",
2625
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title"],
2626
+ hasChildren: true,
2627
+ description: "Popover panel"
2628
+ },
2629
+ dropdown: {
2630
+ category: "overlay",
2631
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2632
+ hasChildren: false,
2633
+ description: "Dropdown menu"
2634
+ },
2635
+ // ============================================
2636
+ // Navigation Components
2637
+ // ============================================
2638
+ nav: {
2639
+ category: "navigation",
2640
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "vertical"],
2641
+ hasChildren: false,
2642
+ description: "Navigation menu"
2643
+ },
2644
+ tabs: {
2645
+ category: "navigation",
2646
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "active"],
2647
+ hasChildren: true,
2648
+ description: "Tab navigation"
2649
+ },
2650
+ breadcrumb: {
2651
+ category: "navigation",
2652
+ attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
2653
+ hasChildren: false,
2654
+ description: "Breadcrumb navigation"
2655
+ },
2656
+ // ============================================
2657
+ // Divider Component
2658
+ // ============================================
2659
+ divider: {
2660
+ category: "layout",
2661
+ attributes: [...BOX_ATTRIBUTES, "vertical"],
2662
+ hasChildren: false,
2663
+ description: "Horizontal separator"
2664
+ },
2665
+ // ============================================
2666
+ // Annotation Components
2667
+ // ============================================
2668
+ marker: {
2669
+ category: "annotation",
2670
+ attributes: [...BOX_ATTRIBUTES, "color", "anchor"],
2671
+ hasChildren: false,
2672
+ description: "Number marker for referencing in annotations"
2673
+ },
2674
+ annotations: {
2675
+ category: "annotation",
2676
+ attributes: [...BOX_ATTRIBUTES, "title"],
2677
+ hasChildren: true,
2678
+ description: "Documentation panel for screen specifications"
2679
+ },
2680
+ item: {
2681
+ category: "annotation",
2682
+ attributes: [],
2683
+ hasChildren: true,
2684
+ description: "Individual annotation entry with marker number and title"
2685
+ }
2686
+ };
2687
+ var COMPONENT_NAMES = Object.keys(COMPONENT_METADATA);
2688
+ var COMPONENT_SPECS = COMPONENT_NAMES.map((name) => ({
2689
+ name,
2690
+ nodeType: GRAMMAR_ELEMENTS[name],
2691
+ ...COMPONENT_METADATA[name]
2692
+ }));
2693
+ var VALID_COMPONENT_NAMES = new Set(COMPONENT_NAMES);
2694
+ var COMPONENT_MAP = new Map(
2695
+ COMPONENT_SPECS.map((comp) => [comp.name, comp])
2696
+ );
2697
+ var BLOCK_NODE_METADATA = {
2698
+ NavItem: {
2699
+ keyword: "item",
2700
+ category: "navigation",
2701
+ attributes: [...INTERACTIVE_ATTRIBUTES, "icon", "href", "active", "disabled"],
2702
+ hasChildren: false,
2703
+ description: "Navigation entry inside a nav block"
2704
+ },
2705
+ NavGroup: {
2706
+ keyword: "group",
2707
+ category: "navigation",
2708
+ attributes: [],
2709
+ hasChildren: true,
2710
+ description: "Labelled group of navigation entries inside a nav block"
2711
+ },
2712
+ DropdownItem: {
2713
+ keyword: "item",
2714
+ category: "overlay",
2715
+ attributes: [...INTERACTIVE_ATTRIBUTES, "icon", "href", "danger", "disabled"],
2716
+ hasChildren: false,
2717
+ description: "Menu entry inside a dropdown"
2718
+ },
2719
+ ListItem: {
2720
+ keyword: "item",
2721
+ category: "data",
2722
+ attributes: ["icon"],
2723
+ hasChildren: true,
2724
+ description: "Entry inside a list block, optionally nesting a further list"
2725
+ }
2726
+ };
2727
+ var BLOCK_NODE_SPECS = GRAMMAR_BLOCK_NODE_TYPES.map(
2728
+ (nodeType) => {
2729
+ const { keyword, ...metadata } = BLOCK_NODE_METADATA[nodeType];
2730
+ return { name: keyword, nodeType, ...metadata };
2731
+ }
2732
+ );
2733
+ var NODE_TYPE_MAP = new Map(
2734
+ [...COMPONENT_SPECS, ...BLOCK_NODE_SPECS].map((comp) => [comp.nodeType, comp])
2735
+ );
2736
+ var ELEMENT_NODE_TYPE_MAP = new Map(
2737
+ COMPONENT_SPECS.map((comp) => [comp.nodeType, comp])
2738
+ );
2739
+ var COMPONENT_SPEC_BY_NAME = Object.fromEntries(COMPONENT_SPECS.map((comp) => [comp.name, comp]));
2740
+ function getValidAttributes(componentNameOrType) {
2741
+ const spec = COMPONENT_MAP.get(componentNameOrType) ?? NODE_TYPE_MAP.get(componentNameOrType);
2742
+ return spec?.attributes;
2743
+ }
2744
+ function isValidAttribute(componentNameOrType, attributeName) {
2745
+ const validAttrs = getValidAttributes(componentNameOrType);
2746
+ if (!validAttrs) return false;
2747
+ return validAttrs.includes(attributeName);
2748
+ }
2749
+
2750
+ // src/spec/attribute-overrides.ts
2751
+ var GLYPH_NAME = {
2752
+ type: "enum",
2753
+ values: LUCIDE_ICON_NAMES,
2754
+ description: "Icon name, from the Lucide set"
2755
+ };
2756
+ var GLYPH_VALUED_ATTRIBUTES = ["icon"];
2757
+ var GLYPH_VALUED_PAIRS = [
2758
+ ["Icon", "name"]
2759
+ ];
2760
+ function buildOverrides() {
2761
+ const overrides = {};
2762
+ const put = (nodeType, attribute, override) => {
2763
+ overrides[nodeType] ??= {};
2764
+ overrides[nodeType][attribute] = override;
2765
+ };
2766
+ for (const spec of [...COMPONENT_SPECS, ...BLOCK_NODE_SPECS]) {
2767
+ for (const attribute of GLYPH_VALUED_ATTRIBUTES) {
2768
+ if (spec.attributes.includes(attribute)) put(spec.nodeType, attribute, GLYPH_NAME);
2769
+ }
2770
+ }
2771
+ for (const [nodeType, attribute] of GLYPH_VALUED_PAIRS) {
2772
+ put(nodeType, attribute, GLYPH_NAME);
2773
+ }
2774
+ return overrides;
2775
+ }
2776
+ var ATTRIBUTE_OVERRIDES = buildOverrides();
2777
+ function attributeFor(componentNameOrType, attributeName) {
2778
+ const spec = COMPONENT_MAP.get(componentNameOrType) ?? NODE_TYPE_MAP.get(componentNameOrType);
2779
+ if (!spec?.attributes.includes(attributeName)) return void 0;
2780
+ const base = ATTRIBUTE_MAP.get(attributeName);
2781
+ if (!base) return void 0;
2782
+ const override = ATTRIBUTE_OVERRIDES[spec.nodeType]?.[attributeName];
2783
+ return override ? { ...base, ...override } : base;
2784
+ }
2785
+ export {
2786
+ ATTRIBUTE_MAP,
2787
+ ATTRIBUTE_OVERRIDES,
2788
+ ATTRIBUTE_SPECS,
2789
+ BLOCK_NODE_SPECS,
2790
+ BOX_ATTRIBUTES,
2791
+ COMPONENT_MAP,
2792
+ COMPONENT_NAMES,
2793
+ COMPONENT_SPECS,
2794
+ COMPONENT_SPEC_BY_NAME,
2795
+ CONTAINER_ATTRIBUTES,
2796
+ ELEMENT_NODE_TYPE_MAP,
2797
+ GRAMMAR_BLOCK_NODE_TYPES,
2798
+ GRAMMAR_CHILD_KEYWORDS,
2799
+ GRAMMAR_ELEMENTS,
2800
+ INTERACTIVE_ATTRIBUTES,
2801
+ LUCIDE_ICON_NAMES,
2802
+ NODE_TYPE_MAP,
2803
+ VALID_ATTRIBUTE_NAMES,
2804
+ VALID_COMPONENT_NAMES,
2805
+ attributeFor,
2806
+ getValidAttributes,
2807
+ isValidAttribute
2808
+ };