@wireweave/core 3.1.0-beta.0 → 3.1.0-beta.10

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