@wireweave/core 4.0.0-beta.14 → 4.0.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/app.cjs +13 -13
  2. package/dist/app.d.cts +2 -2
  3. package/dist/app.d.ts +2 -2
  4. package/dist/app.js +2 -2
  5. package/dist/{chunk-TQSOLTMZ.js → chunk-6EMG345O.js} +251 -41
  6. package/dist/{chunk-NV6UV5ID.cjs → chunk-7ZRMSFWZ.cjs} +286 -75
  7. package/dist/{chunk-ZPHNXJRY.cjs → chunk-CGTYVLPA.cjs} +4 -4
  8. package/dist/{chunk-IMUVIIJR.cjs → chunk-EWCLLW6P.cjs} +11 -3
  9. package/dist/{chunk-SAN6CJEE.cjs → chunk-J5WEVZIX.cjs} +134 -493
  10. package/dist/chunk-KEQRLZQP.js +3066 -0
  11. package/dist/{chunk-XYACLXXF.js → chunk-LBJTNQXU.js} +1 -1
  12. package/dist/{chunk-4DDV6Z2X.js → chunk-MLCJ6NIB.js} +3 -3
  13. package/dist/{chunk-2Y3GKARZ.js → chunk-NMIPMOEJ.js} +73 -432
  14. package/dist/chunk-WCCYK5WK.cjs +3077 -0
  15. package/dist/{chunk-LA5LKIEL.cjs → chunk-XZL42ZQ2.cjs} +28 -28
  16. package/dist/{chunk-3RWGG5EC.js → chunk-YAANMWP2.js} +11 -4
  17. package/dist/{index-BD_4rXH-.d.cts → index-CIfur9e3.d.cts} +1 -1
  18. package/dist/{index-YSIzfhOd.d.cts → index-DdQv4Bu5.d.cts} +7 -1
  19. package/dist/{index-g9yV20xb.d.ts → index-DwGsnD0n.d.ts} +1 -1
  20. package/dist/{index-BEnsO2kE.d.ts → index-c4FTW7XA.d.ts} +7 -1
  21. package/dist/index.cjs +238 -222
  22. package/dist/index.d.cts +5 -5
  23. package/dist/index.d.ts +5 -5
  24. package/dist/index.js +11 -11
  25. package/dist/interaction.cjs +6 -6
  26. package/dist/interaction.js +1 -1
  27. package/dist/parser.cjs +9 -9
  28. package/dist/parser.js +1 -1
  29. package/dist/renderer.cjs +32 -32
  30. package/dist/renderer.d.cts +2 -2
  31. package/dist/renderer.d.ts +2 -2
  32. package/dist/renderer.js +3 -3
  33. package/dist/spec.cjs +39 -23
  34. package/dist/spec.d.cts +45 -1
  35. package/dist/spec.d.ts +45 -1
  36. package/dist/spec.js +1 -1
  37. package/package.json +19 -13
  38. package/dist/chunk-MD6MNOEQ.cjs +0 -2884
  39. package/dist/chunk-V3HVWC7C.js +0 -2874
@@ -0,0 +1,3077 @@
1
+ 'use strict';
2
+
3
+ // src/spec/grammar-elements.generated.ts
4
+ exports.GRAMMAR_ELEMENTS = {
5
+ page: "Page",
6
+ layout: "Layout",
7
+ component: "Component",
8
+ use: "ComponentUse",
9
+ slot: "Slot",
10
+ repeat: "Repeat",
11
+ header: "Header",
12
+ main: "Main",
13
+ footer: "Footer",
14
+ sidebar: "Sidebar",
15
+ row: "Row",
16
+ col: "Col",
17
+ stack: "Stack",
18
+ relative: "Relative",
19
+ card: "Card",
20
+ modal: "Modal",
21
+ drawer: "Drawer",
22
+ accordion: "Accordion",
23
+ section: "Section",
24
+ text: "Text",
25
+ title: "Title",
26
+ link: "Link",
27
+ button: "Button",
28
+ input: "Input",
29
+ textarea: "Textarea",
30
+ select: "Select",
31
+ checkbox: "Checkbox",
32
+ radio: "Radio",
33
+ switch: "Switch",
34
+ slider: "Slider",
35
+ image: "Image",
36
+ placeholder: "Placeholder",
37
+ avatar: "Avatar",
38
+ badge: "Badge",
39
+ icon: "Icon",
40
+ table: "Table",
41
+ list: "List",
42
+ alert: "Alert",
43
+ toast: "Toast",
44
+ progress: "Progress",
45
+ spinner: "Spinner",
46
+ tooltip: "Tooltip",
47
+ popover: "Popover",
48
+ dropdown: "Dropdown",
49
+ nav: "Nav",
50
+ tabs: "Tabs",
51
+ breadcrumb: "Breadcrumb",
52
+ divider: "Divider",
53
+ marker: "Marker",
54
+ annotations: "Annotations",
55
+ item: "AnnotationItem"
56
+ };
57
+ exports.GRAMMAR_BLOCK_NODE_TYPES = ["ListItem", "DropdownItem", "NavGroup", "NavItem"];
58
+ exports.GRAMMAR_CHILD_KEYWORDS = [
59
+ "page",
60
+ "header",
61
+ "main",
62
+ "footer",
63
+ "sidebar",
64
+ "row",
65
+ "col",
66
+ "stack",
67
+ "relative",
68
+ "card",
69
+ "modal",
70
+ "drawer",
71
+ "accordion",
72
+ "section",
73
+ "text",
74
+ "link",
75
+ "button",
76
+ "input",
77
+ "textarea",
78
+ "select",
79
+ "checkbox",
80
+ "radio",
81
+ "switch",
82
+ "slider",
83
+ "image",
84
+ "avatar",
85
+ "badge",
86
+ "table",
87
+ "columns",
88
+ "list",
89
+ "item",
90
+ "alert",
91
+ "toast",
92
+ "progress",
93
+ "spinner",
94
+ "tooltip",
95
+ "popover",
96
+ "dropdown",
97
+ "divider",
98
+ "nav",
99
+ "tabs",
100
+ "tab",
101
+ "breadcrumb",
102
+ "group",
103
+ "marker",
104
+ "annotations",
105
+ "repeat",
106
+ "layout",
107
+ "component",
108
+ "use",
109
+ "fill",
110
+ "slot"
111
+ ];
112
+
113
+ // src/spec/icon-names.generated.ts
114
+ exports.LUCIDE_ICON_NAMES = [
115
+ "a-arrow-down",
116
+ "a-arrow-up",
117
+ "a-large-small",
118
+ "accessibility",
119
+ "activity",
120
+ "air-vent",
121
+ "airplay",
122
+ "alarm-clock",
123
+ "alarm-clock-check",
124
+ "alarm-clock-minus",
125
+ "alarm-clock-off",
126
+ "alarm-clock-plus",
127
+ "alarm-smoke",
128
+ "album",
129
+ "align-center-horizontal",
130
+ "align-center-vertical",
131
+ "align-end-horizontal",
132
+ "align-end-vertical",
133
+ "align-horizontal-distribute-center",
134
+ "align-horizontal-distribute-end",
135
+ "align-horizontal-distribute-start",
136
+ "align-horizontal-justify-center",
137
+ "align-horizontal-justify-end",
138
+ "align-horizontal-justify-start",
139
+ "align-horizontal-space-around",
140
+ "align-horizontal-space-between",
141
+ "align-start-horizontal",
142
+ "align-start-vertical",
143
+ "align-vertical-distribute-center",
144
+ "align-vertical-distribute-end",
145
+ "align-vertical-distribute-start",
146
+ "align-vertical-justify-center",
147
+ "align-vertical-justify-end",
148
+ "align-vertical-justify-start",
149
+ "align-vertical-space-around",
150
+ "align-vertical-space-between",
151
+ "ambulance",
152
+ "ampersand",
153
+ "ampersands",
154
+ "amphora",
155
+ "anchor",
156
+ "angry",
157
+ "annoyed",
158
+ "antenna",
159
+ "anvil",
160
+ "aperture",
161
+ "app-window",
162
+ "app-window-mac",
163
+ "apple",
164
+ "archive",
165
+ "archive-restore",
166
+ "archive-x",
167
+ "armchair",
168
+ "arrow-big-down",
169
+ "arrow-big-down-dash",
170
+ "arrow-big-left",
171
+ "arrow-big-left-dash",
172
+ "arrow-big-right",
173
+ "arrow-big-right-dash",
174
+ "arrow-big-up",
175
+ "arrow-big-up-dash",
176
+ "arrow-down",
177
+ "arrow-down-0-1",
178
+ "arrow-down-1-0",
179
+ "arrow-down-a-z",
180
+ "arrow-down-from-line",
181
+ "arrow-down-left",
182
+ "arrow-down-narrow-wide",
183
+ "arrow-down-right",
184
+ "arrow-down-to-dot",
185
+ "arrow-down-to-line",
186
+ "arrow-down-up",
187
+ "arrow-down-wide-narrow",
188
+ "arrow-down-z-a",
189
+ "arrow-left",
190
+ "arrow-left-from-line",
191
+ "arrow-left-right",
192
+ "arrow-left-to-line",
193
+ "arrow-right",
194
+ "arrow-right-from-line",
195
+ "arrow-right-left",
196
+ "arrow-right-to-line",
197
+ "arrow-up",
198
+ "arrow-up-0-1",
199
+ "arrow-up-1-0",
200
+ "arrow-up-a-z",
201
+ "arrow-up-down",
202
+ "arrow-up-from-dot",
203
+ "arrow-up-from-line",
204
+ "arrow-up-left",
205
+ "arrow-up-narrow-wide",
206
+ "arrow-up-right",
207
+ "arrow-up-to-line",
208
+ "arrow-up-wide-narrow",
209
+ "arrow-up-z-a",
210
+ "arrows-up-from-line",
211
+ "asterisk",
212
+ "at-sign",
213
+ "atom",
214
+ "audio-lines",
215
+ "audio-waveform",
216
+ "award",
217
+ "axe",
218
+ "axis-3d",
219
+ "baby",
220
+ "backpack",
221
+ "badge",
222
+ "badge-alert",
223
+ "badge-cent",
224
+ "badge-check",
225
+ "badge-dollar-sign",
226
+ "badge-euro",
227
+ "badge-indian-rupee",
228
+ "badge-info",
229
+ "badge-japanese-yen",
230
+ "badge-minus",
231
+ "badge-percent",
232
+ "badge-plus",
233
+ "badge-pound-sterling",
234
+ "badge-question-mark",
235
+ "badge-russian-ruble",
236
+ "badge-swiss-franc",
237
+ "badge-turkish-lira",
238
+ "badge-x",
239
+ "baggage-claim",
240
+ "balloon",
241
+ "ban",
242
+ "banana",
243
+ "bandage",
244
+ "banknote",
245
+ "banknote-arrow-down",
246
+ "banknote-arrow-up",
247
+ "banknote-x",
248
+ "barcode",
249
+ "barrel",
250
+ "baseline",
251
+ "bath",
252
+ "battery",
253
+ "battery-charging",
254
+ "battery-full",
255
+ "battery-low",
256
+ "battery-medium",
257
+ "battery-plus",
258
+ "battery-warning",
259
+ "beaker",
260
+ "bean",
261
+ "bean-off",
262
+ "bed",
263
+ "bed-double",
264
+ "bed-single",
265
+ "beef",
266
+ "beer",
267
+ "beer-off",
268
+ "bell",
269
+ "bell-dot",
270
+ "bell-electric",
271
+ "bell-minus",
272
+ "bell-off",
273
+ "bell-plus",
274
+ "bell-ring",
275
+ "between-horizontal-end",
276
+ "between-horizontal-start",
277
+ "between-vertical-end",
278
+ "between-vertical-start",
279
+ "biceps-flexed",
280
+ "bike",
281
+ "binary",
282
+ "binoculars",
283
+ "biohazard",
284
+ "bird",
285
+ "birdhouse",
286
+ "bitcoin",
287
+ "blend",
288
+ "blinds",
289
+ "blocks",
290
+ "bluetooth",
291
+ "bluetooth-connected",
292
+ "bluetooth-off",
293
+ "bluetooth-searching",
294
+ "bold",
295
+ "bolt",
296
+ "bomb",
297
+ "bone",
298
+ "book",
299
+ "book-a",
300
+ "book-alert",
301
+ "book-audio",
302
+ "book-check",
303
+ "book-copy",
304
+ "book-dashed",
305
+ "book-down",
306
+ "book-headphones",
307
+ "book-heart",
308
+ "book-image",
309
+ "book-key",
310
+ "book-lock",
311
+ "book-marked",
312
+ "book-minus",
313
+ "book-open",
314
+ "book-open-check",
315
+ "book-open-text",
316
+ "book-plus",
317
+ "book-search",
318
+ "book-text",
319
+ "book-type",
320
+ "book-up",
321
+ "book-up-2",
322
+ "book-user",
323
+ "book-x",
324
+ "bookmark",
325
+ "bookmark-check",
326
+ "bookmark-minus",
327
+ "bookmark-plus",
328
+ "bookmark-x",
329
+ "boom-box",
330
+ "bot",
331
+ "bot-message-square",
332
+ "bot-off",
333
+ "bottle-wine",
334
+ "bow-arrow",
335
+ "box",
336
+ "boxes",
337
+ "braces",
338
+ "brackets",
339
+ "brain",
340
+ "brain-circuit",
341
+ "brain-cog",
342
+ "brick-wall",
343
+ "brick-wall-fire",
344
+ "brick-wall-shield",
345
+ "briefcase",
346
+ "briefcase-business",
347
+ "briefcase-conveyor-belt",
348
+ "briefcase-medical",
349
+ "bring-to-front",
350
+ "brush",
351
+ "brush-cleaning",
352
+ "bubbles",
353
+ "bug",
354
+ "bug-off",
355
+ "bug-play",
356
+ "building",
357
+ "building-2",
358
+ "bus",
359
+ "bus-front",
360
+ "cable",
361
+ "cable-car",
362
+ "cake",
363
+ "cake-slice",
364
+ "calculator",
365
+ "calendar",
366
+ "calendar-1",
367
+ "calendar-arrow-down",
368
+ "calendar-arrow-up",
369
+ "calendar-check",
370
+ "calendar-check-2",
371
+ "calendar-clock",
372
+ "calendar-cog",
373
+ "calendar-days",
374
+ "calendar-fold",
375
+ "calendar-heart",
376
+ "calendar-minus",
377
+ "calendar-minus-2",
378
+ "calendar-off",
379
+ "calendar-plus",
380
+ "calendar-plus-2",
381
+ "calendar-range",
382
+ "calendar-search",
383
+ "calendar-sync",
384
+ "calendar-x",
385
+ "calendar-x-2",
386
+ "calendars",
387
+ "camera",
388
+ "camera-off",
389
+ "candy",
390
+ "candy-cane",
391
+ "candy-off",
392
+ "cannabis",
393
+ "cannabis-off",
394
+ "captions",
395
+ "captions-off",
396
+ "car",
397
+ "car-front",
398
+ "car-taxi-front",
399
+ "caravan",
400
+ "card-sim",
401
+ "carrot",
402
+ "case-lower",
403
+ "case-sensitive",
404
+ "case-upper",
405
+ "cassette-tape",
406
+ "cast",
407
+ "castle",
408
+ "cat",
409
+ "cctv",
410
+ "chart-area",
411
+ "chart-bar",
412
+ "chart-bar-big",
413
+ "chart-bar-decreasing",
414
+ "chart-bar-increasing",
415
+ "chart-bar-stacked",
416
+ "chart-candlestick",
417
+ "chart-column",
418
+ "chart-column-big",
419
+ "chart-column-decreasing",
420
+ "chart-column-increasing",
421
+ "chart-column-stacked",
422
+ "chart-gantt",
423
+ "chart-line",
424
+ "chart-network",
425
+ "chart-no-axes-column",
426
+ "chart-no-axes-column-decreasing",
427
+ "chart-no-axes-column-increasing",
428
+ "chart-no-axes-combined",
429
+ "chart-no-axes-gantt",
430
+ "chart-pie",
431
+ "chart-scatter",
432
+ "chart-spline",
433
+ "check",
434
+ "check-check",
435
+ "check-line",
436
+ "chef-hat",
437
+ "cherry",
438
+ "chess-bishop",
439
+ "chess-king",
440
+ "chess-knight",
441
+ "chess-pawn",
442
+ "chess-queen",
443
+ "chess-rook",
444
+ "chevron-down",
445
+ "chevron-first",
446
+ "chevron-last",
447
+ "chevron-left",
448
+ "chevron-right",
449
+ "chevron-up",
450
+ "chevrons-down",
451
+ "chevrons-down-up",
452
+ "chevrons-left",
453
+ "chevrons-left-right",
454
+ "chevrons-left-right-ellipsis",
455
+ "chevrons-right",
456
+ "chevrons-right-left",
457
+ "chevrons-up",
458
+ "chevrons-up-down",
459
+ "chromium",
460
+ "church",
461
+ "cigarette",
462
+ "cigarette-off",
463
+ "circle",
464
+ "circle-alert",
465
+ "circle-arrow-down",
466
+ "circle-arrow-left",
467
+ "circle-arrow-out-down-left",
468
+ "circle-arrow-out-down-right",
469
+ "circle-arrow-out-up-left",
470
+ "circle-arrow-out-up-right",
471
+ "circle-arrow-right",
472
+ "circle-arrow-up",
473
+ "circle-check",
474
+ "circle-check-big",
475
+ "circle-chevron-down",
476
+ "circle-chevron-left",
477
+ "circle-chevron-right",
478
+ "circle-chevron-up",
479
+ "circle-dashed",
480
+ "circle-divide",
481
+ "circle-dollar-sign",
482
+ "circle-dot",
483
+ "circle-dot-dashed",
484
+ "circle-ellipsis",
485
+ "circle-equal",
486
+ "circle-fading-arrow-up",
487
+ "circle-fading-plus",
488
+ "circle-gauge",
489
+ "circle-help",
490
+ "circle-minus",
491
+ "circle-off",
492
+ "circle-parking",
493
+ "circle-parking-off",
494
+ "circle-pause",
495
+ "circle-percent",
496
+ "circle-pile",
497
+ "circle-play",
498
+ "circle-plus",
499
+ "circle-pound-sterling",
500
+ "circle-power",
501
+ "circle-question-mark",
502
+ "circle-slash",
503
+ "circle-slash-2",
504
+ "circle-small",
505
+ "circle-star",
506
+ "circle-stop",
507
+ "circle-user",
508
+ "circle-user-round",
509
+ "circle-x",
510
+ "circuit-board",
511
+ "citrus",
512
+ "clapperboard",
513
+ "clipboard",
514
+ "clipboard-check",
515
+ "clipboard-clock",
516
+ "clipboard-copy",
517
+ "clipboard-list",
518
+ "clipboard-minus",
519
+ "clipboard-paste",
520
+ "clipboard-pen",
521
+ "clipboard-pen-line",
522
+ "clipboard-plus",
523
+ "clipboard-type",
524
+ "clipboard-x",
525
+ "clock",
526
+ "clock-1",
527
+ "clock-10",
528
+ "clock-11",
529
+ "clock-12",
530
+ "clock-2",
531
+ "clock-3",
532
+ "clock-4",
533
+ "clock-5",
534
+ "clock-6",
535
+ "clock-7",
536
+ "clock-8",
537
+ "clock-9",
538
+ "clock-alert",
539
+ "clock-arrow-down",
540
+ "clock-arrow-up",
541
+ "clock-check",
542
+ "clock-fading",
543
+ "clock-plus",
544
+ "closed-caption",
545
+ "cloud",
546
+ "cloud-alert",
547
+ "cloud-backup",
548
+ "cloud-check",
549
+ "cloud-cog",
550
+ "cloud-download",
551
+ "cloud-drizzle",
552
+ "cloud-fog",
553
+ "cloud-hail",
554
+ "cloud-lightning",
555
+ "cloud-moon",
556
+ "cloud-moon-rain",
557
+ "cloud-off",
558
+ "cloud-rain",
559
+ "cloud-rain-wind",
560
+ "cloud-snow",
561
+ "cloud-sun",
562
+ "cloud-sun-rain",
563
+ "cloud-sync",
564
+ "cloud-upload",
565
+ "cloudy",
566
+ "clover",
567
+ "club",
568
+ "code",
569
+ "code-xml",
570
+ "codepen",
571
+ "codesandbox",
572
+ "coffee",
573
+ "cog",
574
+ "coins",
575
+ "columns-2",
576
+ "columns-3",
577
+ "columns-3-cog",
578
+ "columns-4",
579
+ "combine",
580
+ "command",
581
+ "compass",
582
+ "component",
583
+ "computer",
584
+ "concierge-bell",
585
+ "cone",
586
+ "construction",
587
+ "contact",
588
+ "contact-round",
589
+ "container",
590
+ "contrast",
591
+ "cookie",
592
+ "cooking-pot",
593
+ "copy",
594
+ "copy-check",
595
+ "copy-minus",
596
+ "copy-plus",
597
+ "copy-slash",
598
+ "copy-x",
599
+ "copyleft",
600
+ "copyright",
601
+ "corner-down-left",
602
+ "corner-down-right",
603
+ "corner-left-down",
604
+ "corner-left-up",
605
+ "corner-right-down",
606
+ "corner-right-up",
607
+ "corner-up-left",
608
+ "corner-up-right",
609
+ "cpu",
610
+ "creative-commons",
611
+ "credit-card",
612
+ "croissant",
613
+ "crop",
614
+ "cross",
615
+ "crosshair",
616
+ "crown",
617
+ "cuboid",
618
+ "cup-soda",
619
+ "currency",
620
+ "cylinder",
621
+ "dam",
622
+ "database",
623
+ "database-backup",
624
+ "database-zap",
625
+ "decimals-arrow-left",
626
+ "decimals-arrow-right",
627
+ "delete",
628
+ "dessert",
629
+ "diameter",
630
+ "diamond",
631
+ "diamond-minus",
632
+ "diamond-percent",
633
+ "diamond-plus",
634
+ "dice-1",
635
+ "dice-2",
636
+ "dice-3",
637
+ "dice-4",
638
+ "dice-5",
639
+ "dice-6",
640
+ "dices",
641
+ "diff",
642
+ "disc",
643
+ "disc-2",
644
+ "disc-3",
645
+ "disc-album",
646
+ "divide",
647
+ "dna",
648
+ "dna-off",
649
+ "dock",
650
+ "dog",
651
+ "dollar-sign",
652
+ "donut",
653
+ "door-closed",
654
+ "door-closed-locked",
655
+ "door-open",
656
+ "dot",
657
+ "download",
658
+ "drafting-compass",
659
+ "drama",
660
+ "dribbble",
661
+ "drill",
662
+ "drone",
663
+ "droplet",
664
+ "droplet-off",
665
+ "droplets",
666
+ "drum",
667
+ "drumstick",
668
+ "dumbbell",
669
+ "ear",
670
+ "ear-off",
671
+ "earth",
672
+ "earth-lock",
673
+ "eclipse",
674
+ "egg",
675
+ "egg-fried",
676
+ "egg-off",
677
+ "ellipsis",
678
+ "ellipsis-vertical",
679
+ "equal",
680
+ "equal-approximately",
681
+ "equal-not",
682
+ "eraser",
683
+ "ethernet-port",
684
+ "euro",
685
+ "ev-charger",
686
+ "expand",
687
+ "external-link",
688
+ "eye",
689
+ "eye-closed",
690
+ "eye-off",
691
+ "facebook",
692
+ "factory",
693
+ "fan",
694
+ "fast-forward",
695
+ "feather",
696
+ "fence",
697
+ "ferris-wheel",
698
+ "figma",
699
+ "file",
700
+ "file-archive",
701
+ "file-axis-3d",
702
+ "file-badge",
703
+ "file-box",
704
+ "file-braces",
705
+ "file-braces-corner",
706
+ "file-chart-column",
707
+ "file-chart-column-increasing",
708
+ "file-chart-line",
709
+ "file-chart-pie",
710
+ "file-check",
711
+ "file-check-corner",
712
+ "file-clock",
713
+ "file-code",
714
+ "file-code-corner",
715
+ "file-cog",
716
+ "file-diff",
717
+ "file-digit",
718
+ "file-down",
719
+ "file-exclamation-point",
720
+ "file-headphone",
721
+ "file-heart",
722
+ "file-image",
723
+ "file-input",
724
+ "file-key",
725
+ "file-lock",
726
+ "file-minus",
727
+ "file-minus-corner",
728
+ "file-music",
729
+ "file-output",
730
+ "file-pen",
731
+ "file-pen-line",
732
+ "file-play",
733
+ "file-plus",
734
+ "file-plus-corner",
735
+ "file-question-mark",
736
+ "file-scan",
737
+ "file-search",
738
+ "file-search-corner",
739
+ "file-signal",
740
+ "file-sliders",
741
+ "file-spreadsheet",
742
+ "file-stack",
743
+ "file-symlink",
744
+ "file-terminal",
745
+ "file-text",
746
+ "file-type",
747
+ "file-type-corner",
748
+ "file-up",
749
+ "file-user",
750
+ "file-video-camera",
751
+ "file-volume",
752
+ "file-x",
753
+ "file-x-corner",
754
+ "files",
755
+ "film",
756
+ "fingerprint-pattern",
757
+ "fire-extinguisher",
758
+ "fish",
759
+ "fish-off",
760
+ "fish-symbol",
761
+ "fishing-hook",
762
+ "flag",
763
+ "flag-off",
764
+ "flag-triangle-left",
765
+ "flag-triangle-right",
766
+ "flame",
767
+ "flame-kindling",
768
+ "flashlight",
769
+ "flashlight-off",
770
+ "flask-conical",
771
+ "flask-conical-off",
772
+ "flask-round",
773
+ "flip-horizontal",
774
+ "flip-horizontal-2",
775
+ "flip-vertical",
776
+ "flip-vertical-2",
777
+ "flower",
778
+ "flower-2",
779
+ "focus",
780
+ "fold-horizontal",
781
+ "fold-vertical",
782
+ "folder",
783
+ "folder-archive",
784
+ "folder-check",
785
+ "folder-clock",
786
+ "folder-closed",
787
+ "folder-code",
788
+ "folder-cog",
789
+ "folder-dot",
790
+ "folder-down",
791
+ "folder-git",
792
+ "folder-git-2",
793
+ "folder-heart",
794
+ "folder-input",
795
+ "folder-kanban",
796
+ "folder-key",
797
+ "folder-lock",
798
+ "folder-minus",
799
+ "folder-open",
800
+ "folder-open-dot",
801
+ "folder-output",
802
+ "folder-pen",
803
+ "folder-plus",
804
+ "folder-root",
805
+ "folder-search",
806
+ "folder-search-2",
807
+ "folder-symlink",
808
+ "folder-sync",
809
+ "folder-tree",
810
+ "folder-up",
811
+ "folder-x",
812
+ "folders",
813
+ "footprints",
814
+ "forklift",
815
+ "form",
816
+ "forward",
817
+ "frame",
818
+ "framer",
819
+ "frown",
820
+ "fuel",
821
+ "fullscreen",
822
+ "funnel",
823
+ "funnel-plus",
824
+ "funnel-x",
825
+ "gallery-horizontal",
826
+ "gallery-horizontal-end",
827
+ "gallery-thumbnails",
828
+ "gallery-vertical",
829
+ "gallery-vertical-end",
830
+ "gamepad",
831
+ "gamepad-2",
832
+ "gamepad-directional",
833
+ "gauge",
834
+ "gavel",
835
+ "gem",
836
+ "georgian-lari",
837
+ "ghost",
838
+ "gift",
839
+ "git-branch",
840
+ "git-branch-minus",
841
+ "git-branch-plus",
842
+ "git-commit-horizontal",
843
+ "git-commit-vertical",
844
+ "git-compare",
845
+ "git-compare-arrows",
846
+ "git-fork",
847
+ "git-graph",
848
+ "git-merge",
849
+ "git-pull-request",
850
+ "git-pull-request-arrow",
851
+ "git-pull-request-closed",
852
+ "git-pull-request-create",
853
+ "git-pull-request-create-arrow",
854
+ "git-pull-request-draft",
855
+ "github",
856
+ "gitlab",
857
+ "glass-water",
858
+ "glasses",
859
+ "globe",
860
+ "globe-lock",
861
+ "goal",
862
+ "gpu",
863
+ "graduation-cap",
864
+ "grape",
865
+ "grid-2x2",
866
+ "grid-2x2-check",
867
+ "grid-2x2-plus",
868
+ "grid-2x2-x",
869
+ "grid-3x2",
870
+ "grid-3x3",
871
+ "grip",
872
+ "grip-horizontal",
873
+ "grip-vertical",
874
+ "group",
875
+ "guitar",
876
+ "ham",
877
+ "hamburger",
878
+ "hammer",
879
+ "hand",
880
+ "hand-coins",
881
+ "hand-fist",
882
+ "hand-grab",
883
+ "hand-heart",
884
+ "hand-helping",
885
+ "hand-metal",
886
+ "hand-platter",
887
+ "handbag",
888
+ "handshake",
889
+ "hard-drive",
890
+ "hard-drive-download",
891
+ "hard-drive-upload",
892
+ "hard-hat",
893
+ "hash",
894
+ "hat-glasses",
895
+ "haze",
896
+ "hd",
897
+ "hdmi-port",
898
+ "heading",
899
+ "heading-1",
900
+ "heading-2",
901
+ "heading-3",
902
+ "heading-4",
903
+ "heading-5",
904
+ "heading-6",
905
+ "headphone-off",
906
+ "headphones",
907
+ "headset",
908
+ "heart",
909
+ "heart-crack",
910
+ "heart-handshake",
911
+ "heart-minus",
912
+ "heart-off",
913
+ "heart-plus",
914
+ "heart-pulse",
915
+ "heater",
916
+ "helicopter",
917
+ "hexagon",
918
+ "highlighter",
919
+ "history",
920
+ "hop",
921
+ "hop-off",
922
+ "hospital",
923
+ "hotel",
924
+ "hourglass",
925
+ "house",
926
+ "house-heart",
927
+ "house-plug",
928
+ "house-plus",
929
+ "house-wifi",
930
+ "ice-cream-bowl",
931
+ "ice-cream-cone",
932
+ "id-card",
933
+ "id-card-lanyard",
934
+ "image",
935
+ "image-down",
936
+ "image-minus",
937
+ "image-off",
938
+ "image-play",
939
+ "image-plus",
940
+ "image-up",
941
+ "image-upscale",
942
+ "images",
943
+ "import",
944
+ "inbox",
945
+ "indian-rupee",
946
+ "infinity",
947
+ "info",
948
+ "inspection-panel",
949
+ "instagram",
950
+ "italic",
951
+ "iteration-ccw",
952
+ "iteration-cw",
953
+ "japanese-yen",
954
+ "joystick",
955
+ "kanban",
956
+ "kayak",
957
+ "key",
958
+ "key-round",
959
+ "key-square",
960
+ "keyboard",
961
+ "keyboard-music",
962
+ "keyboard-off",
963
+ "lamp",
964
+ "lamp-ceiling",
965
+ "lamp-desk",
966
+ "lamp-floor",
967
+ "lamp-wall-down",
968
+ "lamp-wall-up",
969
+ "land-plot",
970
+ "landmark",
971
+ "languages",
972
+ "laptop",
973
+ "laptop-minimal",
974
+ "laptop-minimal-check",
975
+ "lasso",
976
+ "lasso-select",
977
+ "laugh",
978
+ "layers",
979
+ "layers-2",
980
+ "layers-plus",
981
+ "layout-dashboard",
982
+ "layout-grid",
983
+ "layout-list",
984
+ "layout-panel-left",
985
+ "layout-panel-top",
986
+ "layout-template",
987
+ "leaf",
988
+ "leafy-green",
989
+ "lectern",
990
+ "library",
991
+ "library-big",
992
+ "life-buoy",
993
+ "ligature",
994
+ "lightbulb",
995
+ "lightbulb-off",
996
+ "line-squiggle",
997
+ "link",
998
+ "link-2",
999
+ "link-2-off",
1000
+ "linkedin",
1001
+ "list",
1002
+ "list-check",
1003
+ "list-checks",
1004
+ "list-chevrons-down-up",
1005
+ "list-chevrons-up-down",
1006
+ "list-collapse",
1007
+ "list-end",
1008
+ "list-filter",
1009
+ "list-filter-plus",
1010
+ "list-indent-decrease",
1011
+ "list-indent-increase",
1012
+ "list-minus",
1013
+ "list-music",
1014
+ "list-ordered",
1015
+ "list-plus",
1016
+ "list-restart",
1017
+ "list-start",
1018
+ "list-todo",
1019
+ "list-tree",
1020
+ "list-video",
1021
+ "list-x",
1022
+ "loader",
1023
+ "loader-circle",
1024
+ "loader-pinwheel",
1025
+ "locate",
1026
+ "locate-fixed",
1027
+ "locate-off",
1028
+ "lock",
1029
+ "lock-keyhole",
1030
+ "lock-keyhole-open",
1031
+ "lock-open",
1032
+ "log-in",
1033
+ "log-out",
1034
+ "logs",
1035
+ "lollipop",
1036
+ "luggage",
1037
+ "magnet",
1038
+ "mail",
1039
+ "mail-check",
1040
+ "mail-minus",
1041
+ "mail-open",
1042
+ "mail-plus",
1043
+ "mail-question-mark",
1044
+ "mail-search",
1045
+ "mail-warning",
1046
+ "mail-x",
1047
+ "mailbox",
1048
+ "mails",
1049
+ "map",
1050
+ "map-minus",
1051
+ "map-pin",
1052
+ "map-pin-check",
1053
+ "map-pin-check-inside",
1054
+ "map-pin-house",
1055
+ "map-pin-minus",
1056
+ "map-pin-minus-inside",
1057
+ "map-pin-off",
1058
+ "map-pin-pen",
1059
+ "map-pin-plus",
1060
+ "map-pin-plus-inside",
1061
+ "map-pin-x",
1062
+ "map-pin-x-inside",
1063
+ "map-pinned",
1064
+ "map-plus",
1065
+ "mars",
1066
+ "mars-stroke",
1067
+ "martini",
1068
+ "maximize",
1069
+ "maximize-2",
1070
+ "medal",
1071
+ "megaphone",
1072
+ "megaphone-off",
1073
+ "meh",
1074
+ "memory-stick",
1075
+ "menu",
1076
+ "merge",
1077
+ "message-circle",
1078
+ "message-circle-code",
1079
+ "message-circle-dashed",
1080
+ "message-circle-heart",
1081
+ "message-circle-more",
1082
+ "message-circle-off",
1083
+ "message-circle-plus",
1084
+ "message-circle-question-mark",
1085
+ "message-circle-reply",
1086
+ "message-circle-warning",
1087
+ "message-circle-x",
1088
+ "message-square",
1089
+ "message-square-code",
1090
+ "message-square-dashed",
1091
+ "message-square-diff",
1092
+ "message-square-dot",
1093
+ "message-square-heart",
1094
+ "message-square-lock",
1095
+ "message-square-more",
1096
+ "message-square-off",
1097
+ "message-square-plus",
1098
+ "message-square-quote",
1099
+ "message-square-reply",
1100
+ "message-square-share",
1101
+ "message-square-text",
1102
+ "message-square-warning",
1103
+ "message-square-x",
1104
+ "messages-square",
1105
+ "mic",
1106
+ "mic-off",
1107
+ "mic-vocal",
1108
+ "microchip",
1109
+ "microscope",
1110
+ "microwave",
1111
+ "milestone",
1112
+ "milk",
1113
+ "milk-off",
1114
+ "minimize",
1115
+ "minimize-2",
1116
+ "minus",
1117
+ "monitor",
1118
+ "monitor-check",
1119
+ "monitor-cloud",
1120
+ "monitor-cog",
1121
+ "monitor-dot",
1122
+ "monitor-down",
1123
+ "monitor-off",
1124
+ "monitor-pause",
1125
+ "monitor-play",
1126
+ "monitor-smartphone",
1127
+ "monitor-speaker",
1128
+ "monitor-stop",
1129
+ "monitor-up",
1130
+ "monitor-x",
1131
+ "moon",
1132
+ "moon-star",
1133
+ "motorbike",
1134
+ "mountain",
1135
+ "mountain-snow",
1136
+ "mouse",
1137
+ "mouse-off",
1138
+ "mouse-pointer",
1139
+ "mouse-pointer-2",
1140
+ "mouse-pointer-2-off",
1141
+ "mouse-pointer-ban",
1142
+ "mouse-pointer-click",
1143
+ "move",
1144
+ "move-3d",
1145
+ "move-diagonal",
1146
+ "move-diagonal-2",
1147
+ "move-down",
1148
+ "move-down-left",
1149
+ "move-down-right",
1150
+ "move-horizontal",
1151
+ "move-left",
1152
+ "move-right",
1153
+ "move-up",
1154
+ "move-up-left",
1155
+ "move-up-right",
1156
+ "move-vertical",
1157
+ "music",
1158
+ "music-2",
1159
+ "music-3",
1160
+ "music-4",
1161
+ "navigation",
1162
+ "navigation-2",
1163
+ "navigation-2-off",
1164
+ "navigation-off",
1165
+ "network",
1166
+ "newspaper",
1167
+ "nfc",
1168
+ "non-binary",
1169
+ "notebook",
1170
+ "notebook-pen",
1171
+ "notebook-tabs",
1172
+ "notebook-text",
1173
+ "notepad-text",
1174
+ "notepad-text-dashed",
1175
+ "nut",
1176
+ "nut-off",
1177
+ "octagon",
1178
+ "octagon-alert",
1179
+ "octagon-minus",
1180
+ "octagon-pause",
1181
+ "octagon-x",
1182
+ "omega",
1183
+ "option",
1184
+ "orbit",
1185
+ "origami",
1186
+ "package",
1187
+ "package-2",
1188
+ "package-check",
1189
+ "package-minus",
1190
+ "package-open",
1191
+ "package-plus",
1192
+ "package-search",
1193
+ "package-x",
1194
+ "paint-bucket",
1195
+ "paint-roller",
1196
+ "paintbrush",
1197
+ "paintbrush-vertical",
1198
+ "palette",
1199
+ "panda",
1200
+ "panel-bottom",
1201
+ "panel-bottom-close",
1202
+ "panel-bottom-dashed",
1203
+ "panel-bottom-open",
1204
+ "panel-left",
1205
+ "panel-left-close",
1206
+ "panel-left-dashed",
1207
+ "panel-left-open",
1208
+ "panel-left-right-dashed",
1209
+ "panel-right",
1210
+ "panel-right-close",
1211
+ "panel-right-dashed",
1212
+ "panel-right-open",
1213
+ "panel-top",
1214
+ "panel-top-bottom-dashed",
1215
+ "panel-top-close",
1216
+ "panel-top-dashed",
1217
+ "panel-top-open",
1218
+ "panels-left-bottom",
1219
+ "panels-right-bottom",
1220
+ "panels-top-left",
1221
+ "paperclip",
1222
+ "parentheses",
1223
+ "parking-meter",
1224
+ "party-popper",
1225
+ "pause",
1226
+ "paw-print",
1227
+ "pc-case",
1228
+ "pen",
1229
+ "pen-line",
1230
+ "pen-off",
1231
+ "pen-tool",
1232
+ "pencil",
1233
+ "pencil-line",
1234
+ "pencil-off",
1235
+ "pencil-ruler",
1236
+ "pentagon",
1237
+ "percent",
1238
+ "person-standing",
1239
+ "philippine-peso",
1240
+ "phone",
1241
+ "phone-call",
1242
+ "phone-forwarded",
1243
+ "phone-incoming",
1244
+ "phone-missed",
1245
+ "phone-off",
1246
+ "phone-outgoing",
1247
+ "pi",
1248
+ "piano",
1249
+ "pickaxe",
1250
+ "picture-in-picture",
1251
+ "picture-in-picture-2",
1252
+ "piggy-bank",
1253
+ "pilcrow",
1254
+ "pilcrow-left",
1255
+ "pilcrow-right",
1256
+ "pill",
1257
+ "pill-bottle",
1258
+ "pin",
1259
+ "pin-off",
1260
+ "pipette",
1261
+ "pizza",
1262
+ "plane",
1263
+ "plane-landing",
1264
+ "plane-takeoff",
1265
+ "play",
1266
+ "plug",
1267
+ "plug-2",
1268
+ "plug-zap",
1269
+ "plus",
1270
+ "pocket",
1271
+ "pocket-knife",
1272
+ "podcast",
1273
+ "pointer",
1274
+ "pointer-off",
1275
+ "popcorn",
1276
+ "popsicle",
1277
+ "pound-sterling",
1278
+ "power",
1279
+ "power-off",
1280
+ "presentation",
1281
+ "printer",
1282
+ "printer-check",
1283
+ "projector",
1284
+ "proportions",
1285
+ "puzzle",
1286
+ "pyramid",
1287
+ "qr-code",
1288
+ "quote",
1289
+ "rabbit",
1290
+ "radar",
1291
+ "radiation",
1292
+ "radical",
1293
+ "radio",
1294
+ "radio-receiver",
1295
+ "radio-tower",
1296
+ "radius",
1297
+ "rail-symbol",
1298
+ "rainbow",
1299
+ "rat",
1300
+ "ratio",
1301
+ "receipt",
1302
+ "receipt-cent",
1303
+ "receipt-euro",
1304
+ "receipt-indian-rupee",
1305
+ "receipt-japanese-yen",
1306
+ "receipt-pound-sterling",
1307
+ "receipt-russian-ruble",
1308
+ "receipt-swiss-franc",
1309
+ "receipt-text",
1310
+ "receipt-turkish-lira",
1311
+ "rectangle-circle",
1312
+ "rectangle-ellipsis",
1313
+ "rectangle-goggles",
1314
+ "rectangle-horizontal",
1315
+ "rectangle-vertical",
1316
+ "recycle",
1317
+ "redo",
1318
+ "redo-2",
1319
+ "redo-dot",
1320
+ "refresh-ccw",
1321
+ "refresh-ccw-dot",
1322
+ "refresh-cw",
1323
+ "refresh-cw-off",
1324
+ "refrigerator",
1325
+ "regex",
1326
+ "remove-formatting",
1327
+ "repeat",
1328
+ "repeat-1",
1329
+ "repeat-2",
1330
+ "replace",
1331
+ "replace-all",
1332
+ "reply",
1333
+ "reply-all",
1334
+ "rewind",
1335
+ "ribbon",
1336
+ "rocket",
1337
+ "rocking-chair",
1338
+ "roller-coaster",
1339
+ "rose",
1340
+ "rotate-3d",
1341
+ "rotate-ccw",
1342
+ "rotate-ccw-key",
1343
+ "rotate-ccw-square",
1344
+ "rotate-cw",
1345
+ "rotate-cw-square",
1346
+ "route",
1347
+ "route-off",
1348
+ "router",
1349
+ "rows-2",
1350
+ "rows-3",
1351
+ "rows-4",
1352
+ "rss",
1353
+ "ruler",
1354
+ "ruler-dimension-line",
1355
+ "russian-ruble",
1356
+ "sailboat",
1357
+ "salad",
1358
+ "sandwich",
1359
+ "satellite",
1360
+ "satellite-dish",
1361
+ "saudi-riyal",
1362
+ "save",
1363
+ "save-all",
1364
+ "save-off",
1365
+ "scale",
1366
+ "scale-3d",
1367
+ "scaling",
1368
+ "scan",
1369
+ "scan-barcode",
1370
+ "scan-eye",
1371
+ "scan-face",
1372
+ "scan-heart",
1373
+ "scan-line",
1374
+ "scan-qr-code",
1375
+ "scan-search",
1376
+ "scan-text",
1377
+ "school",
1378
+ "scissors",
1379
+ "scissors-line-dashed",
1380
+ "scooter",
1381
+ "screen-share",
1382
+ "screen-share-off",
1383
+ "scroll",
1384
+ "scroll-text",
1385
+ "search",
1386
+ "search-alert",
1387
+ "search-check",
1388
+ "search-code",
1389
+ "search-slash",
1390
+ "search-x",
1391
+ "section",
1392
+ "send",
1393
+ "send-horizontal",
1394
+ "send-to-back",
1395
+ "separator-horizontal",
1396
+ "separator-vertical",
1397
+ "server",
1398
+ "server-cog",
1399
+ "server-crash",
1400
+ "server-off",
1401
+ "settings",
1402
+ "settings-2",
1403
+ "shapes",
1404
+ "share",
1405
+ "share-2",
1406
+ "sheet",
1407
+ "shell",
1408
+ "shield",
1409
+ "shield-alert",
1410
+ "shield-ban",
1411
+ "shield-check",
1412
+ "shield-ellipsis",
1413
+ "shield-half",
1414
+ "shield-minus",
1415
+ "shield-off",
1416
+ "shield-plus",
1417
+ "shield-question-mark",
1418
+ "shield-user",
1419
+ "shield-x",
1420
+ "ship",
1421
+ "ship-wheel",
1422
+ "shirt",
1423
+ "shopping-bag",
1424
+ "shopping-basket",
1425
+ "shopping-cart",
1426
+ "shovel",
1427
+ "shower-head",
1428
+ "shredder",
1429
+ "shrimp",
1430
+ "shrink",
1431
+ "shrub",
1432
+ "shuffle",
1433
+ "sigma",
1434
+ "signal",
1435
+ "signal-high",
1436
+ "signal-low",
1437
+ "signal-medium",
1438
+ "signal-zero",
1439
+ "signature",
1440
+ "signpost",
1441
+ "signpost-big",
1442
+ "siren",
1443
+ "skip-back",
1444
+ "skip-forward",
1445
+ "skull",
1446
+ "slack",
1447
+ "slash",
1448
+ "slice",
1449
+ "sliders-horizontal",
1450
+ "sliders-vertical",
1451
+ "smartphone",
1452
+ "smartphone-charging",
1453
+ "smartphone-nfc",
1454
+ "smile",
1455
+ "smile-plus",
1456
+ "snail",
1457
+ "snowflake",
1458
+ "soap-dispenser-droplet",
1459
+ "sofa",
1460
+ "solar-panel",
1461
+ "soup",
1462
+ "space",
1463
+ "spade",
1464
+ "sparkle",
1465
+ "sparkles",
1466
+ "speaker",
1467
+ "speech",
1468
+ "spell-check",
1469
+ "spell-check-2",
1470
+ "spline",
1471
+ "spline-pointer",
1472
+ "split",
1473
+ "spool",
1474
+ "spotlight",
1475
+ "spray-can",
1476
+ "sprout",
1477
+ "square",
1478
+ "square-activity",
1479
+ "square-arrow-down",
1480
+ "square-arrow-down-left",
1481
+ "square-arrow-down-right",
1482
+ "square-arrow-left",
1483
+ "square-arrow-out-down-left",
1484
+ "square-arrow-out-down-right",
1485
+ "square-arrow-out-up-left",
1486
+ "square-arrow-out-up-right",
1487
+ "square-arrow-right",
1488
+ "square-arrow-up",
1489
+ "square-arrow-up-left",
1490
+ "square-arrow-up-right",
1491
+ "square-asterisk",
1492
+ "square-bottom-dashed-scissors",
1493
+ "square-chart-gantt",
1494
+ "square-check",
1495
+ "square-check-big",
1496
+ "square-chevron-down",
1497
+ "square-chevron-left",
1498
+ "square-chevron-right",
1499
+ "square-chevron-up",
1500
+ "square-code",
1501
+ "square-dashed",
1502
+ "square-dashed-bottom",
1503
+ "square-dashed-bottom-code",
1504
+ "square-dashed-kanban",
1505
+ "square-dashed-mouse-pointer",
1506
+ "square-dashed-top-solid",
1507
+ "square-divide",
1508
+ "square-dot",
1509
+ "square-equal",
1510
+ "square-function",
1511
+ "square-kanban",
1512
+ "square-library",
1513
+ "square-m",
1514
+ "square-menu",
1515
+ "square-minus",
1516
+ "square-mouse-pointer",
1517
+ "square-parking",
1518
+ "square-parking-off",
1519
+ "square-pause",
1520
+ "square-pen",
1521
+ "square-percent",
1522
+ "square-pi",
1523
+ "square-pilcrow",
1524
+ "square-play",
1525
+ "square-plus",
1526
+ "square-power",
1527
+ "square-radical",
1528
+ "square-round-corner",
1529
+ "square-scissors",
1530
+ "square-sigma",
1531
+ "square-slash",
1532
+ "square-split-horizontal",
1533
+ "square-split-vertical",
1534
+ "square-square",
1535
+ "square-stack",
1536
+ "square-star",
1537
+ "square-stop",
1538
+ "square-terminal",
1539
+ "square-user",
1540
+ "square-user-round",
1541
+ "square-x",
1542
+ "squares-exclude",
1543
+ "squares-intersect",
1544
+ "squares-subtract",
1545
+ "squares-unite",
1546
+ "squircle",
1547
+ "squircle-dashed",
1548
+ "squirrel",
1549
+ "stamp",
1550
+ "star",
1551
+ "star-half",
1552
+ "star-off",
1553
+ "step-back",
1554
+ "step-forward",
1555
+ "stethoscope",
1556
+ "sticker",
1557
+ "sticky-note",
1558
+ "stone",
1559
+ "store",
1560
+ "stretch-horizontal",
1561
+ "stretch-vertical",
1562
+ "strikethrough",
1563
+ "subscript",
1564
+ "sun",
1565
+ "sun-dim",
1566
+ "sun-medium",
1567
+ "sun-moon",
1568
+ "sun-snow",
1569
+ "sunrise",
1570
+ "sunset",
1571
+ "superscript",
1572
+ "swatch-book",
1573
+ "swiss-franc",
1574
+ "switch-camera",
1575
+ "sword",
1576
+ "swords",
1577
+ "syringe",
1578
+ "table",
1579
+ "table-2",
1580
+ "table-cells-merge",
1581
+ "table-cells-split",
1582
+ "table-columns-split",
1583
+ "table-of-contents",
1584
+ "table-properties",
1585
+ "table-rows-split",
1586
+ "tablet",
1587
+ "tablet-smartphone",
1588
+ "tablets",
1589
+ "tag",
1590
+ "tags",
1591
+ "tally-1",
1592
+ "tally-2",
1593
+ "tally-3",
1594
+ "tally-4",
1595
+ "tally-5",
1596
+ "tangent",
1597
+ "target",
1598
+ "telescope",
1599
+ "tent",
1600
+ "tent-tree",
1601
+ "terminal",
1602
+ "test-tube",
1603
+ "test-tube-diagonal",
1604
+ "test-tubes",
1605
+ "text-align-center",
1606
+ "text-align-end",
1607
+ "text-align-justify",
1608
+ "text-align-start",
1609
+ "text-cursor",
1610
+ "text-cursor-input",
1611
+ "text-initial",
1612
+ "text-quote",
1613
+ "text-search",
1614
+ "text-select",
1615
+ "text-wrap",
1616
+ "theater",
1617
+ "thermometer",
1618
+ "thermometer-snowflake",
1619
+ "thermometer-sun",
1620
+ "thumbs-down",
1621
+ "thumbs-up",
1622
+ "ticket",
1623
+ "ticket-check",
1624
+ "ticket-minus",
1625
+ "ticket-percent",
1626
+ "ticket-plus",
1627
+ "ticket-slash",
1628
+ "ticket-x",
1629
+ "tickets",
1630
+ "tickets-plane",
1631
+ "timer",
1632
+ "timer-off",
1633
+ "timer-reset",
1634
+ "toggle-left",
1635
+ "toggle-right",
1636
+ "toilet",
1637
+ "tool-case",
1638
+ "toolbox",
1639
+ "tornado",
1640
+ "torus",
1641
+ "touchpad",
1642
+ "touchpad-off",
1643
+ "tower-control",
1644
+ "toy-brick",
1645
+ "tractor",
1646
+ "traffic-cone",
1647
+ "train-front",
1648
+ "train-front-tunnel",
1649
+ "train-track",
1650
+ "tram-front",
1651
+ "transgender",
1652
+ "trash",
1653
+ "trash-2",
1654
+ "tree-deciduous",
1655
+ "tree-palm",
1656
+ "tree-pine",
1657
+ "trees",
1658
+ "trello",
1659
+ "trending-down",
1660
+ "trending-up",
1661
+ "trending-up-down",
1662
+ "triangle",
1663
+ "triangle-alert",
1664
+ "triangle-dashed",
1665
+ "triangle-right",
1666
+ "trophy",
1667
+ "truck",
1668
+ "truck-electric",
1669
+ "turkish-lira",
1670
+ "turntable",
1671
+ "turtle",
1672
+ "tv",
1673
+ "tv-minimal",
1674
+ "tv-minimal-play",
1675
+ "twitch",
1676
+ "twitter",
1677
+ "type",
1678
+ "type-outline",
1679
+ "umbrella",
1680
+ "umbrella-off",
1681
+ "underline",
1682
+ "undo",
1683
+ "undo-2",
1684
+ "undo-dot",
1685
+ "unfold-horizontal",
1686
+ "unfold-vertical",
1687
+ "ungroup",
1688
+ "university",
1689
+ "unlink",
1690
+ "unlink-2",
1691
+ "unplug",
1692
+ "upload",
1693
+ "usb",
1694
+ "user",
1695
+ "user-check",
1696
+ "user-cog",
1697
+ "user-lock",
1698
+ "user-minus",
1699
+ "user-pen",
1700
+ "user-plus",
1701
+ "user-round",
1702
+ "user-round-check",
1703
+ "user-round-cog",
1704
+ "user-round-minus",
1705
+ "user-round-pen",
1706
+ "user-round-plus",
1707
+ "user-round-search",
1708
+ "user-round-x",
1709
+ "user-search",
1710
+ "user-star",
1711
+ "user-x",
1712
+ "users",
1713
+ "users-round",
1714
+ "utensils",
1715
+ "utensils-crossed",
1716
+ "utility-pole",
1717
+ "van",
1718
+ "variable",
1719
+ "vault",
1720
+ "vector-square",
1721
+ "vegan",
1722
+ "venetian-mask",
1723
+ "venus",
1724
+ "venus-and-mars",
1725
+ "vibrate",
1726
+ "vibrate-off",
1727
+ "video",
1728
+ "video-off",
1729
+ "videotape",
1730
+ "view",
1731
+ "voicemail",
1732
+ "volleyball",
1733
+ "volume",
1734
+ "volume-1",
1735
+ "volume-2",
1736
+ "volume-off",
1737
+ "volume-x",
1738
+ "vote",
1739
+ "wallet",
1740
+ "wallet-cards",
1741
+ "wallet-minimal",
1742
+ "wallpaper",
1743
+ "wand",
1744
+ "wand-sparkles",
1745
+ "warehouse",
1746
+ "washing-machine",
1747
+ "watch",
1748
+ "waves",
1749
+ "waves-arrow-down",
1750
+ "waves-arrow-up",
1751
+ "waves-ladder",
1752
+ "waypoints",
1753
+ "webcam",
1754
+ "webhook",
1755
+ "webhook-off",
1756
+ "weight",
1757
+ "weight-tilde",
1758
+ "wheat",
1759
+ "wheat-off",
1760
+ "whole-word",
1761
+ "wifi",
1762
+ "wifi-cog",
1763
+ "wifi-high",
1764
+ "wifi-low",
1765
+ "wifi-off",
1766
+ "wifi-pen",
1767
+ "wifi-sync",
1768
+ "wifi-zero",
1769
+ "wind",
1770
+ "wind-arrow-down",
1771
+ "wine",
1772
+ "wine-off",
1773
+ "workflow",
1774
+ "worm",
1775
+ "wrench",
1776
+ "x",
1777
+ "youtube",
1778
+ "zap",
1779
+ "zap-off",
1780
+ "zoom-in",
1781
+ "zoom-out"
1782
+ ];
1783
+
1784
+ // src/viewport/presets.ts
1785
+ exports.DEVICE_PRESETS = {
1786
+ // Desktop
1787
+ "desktop-sm": { width: 1280, height: 800, label: "Small Laptop", category: "desktop" },
1788
+ desktop: { width: 1440, height: 900, label: "Desktop", category: "desktop" },
1789
+ "desktop-lg": { width: 1920, height: 1080, label: "Full HD", category: "desktop" },
1790
+ "desktop-xl": { width: 2560, height: 1440, label: "QHD", category: "desktop" },
1791
+ // Tablet
1792
+ ipad: { width: 1024, height: 768, label: "iPad (Landscape)", category: "tablet" },
1793
+ "ipad-portrait": { width: 768, height: 1024, label: "iPad (Portrait)", category: "tablet" },
1794
+ "ipad-pro": { width: 1366, height: 1024, label: 'iPad Pro 12.9"', category: "tablet" },
1795
+ "ipad-pro-portrait": {
1796
+ width: 1024,
1797
+ height: 1366,
1798
+ label: 'iPad Pro 12.9" (Portrait)',
1799
+ category: "tablet"
1800
+ },
1801
+ // Mobile
1802
+ "iphone-se": { width: 375, height: 667, label: "iPhone SE", category: "mobile" },
1803
+ iphone14: { width: 390, height: 844, label: "iPhone 14", category: "mobile" },
1804
+ "iphone14-pro": { width: 393, height: 852, label: "iPhone 14 Pro", category: "mobile" },
1805
+ "iphone14-pro-max": { width: 430, height: 932, label: "iPhone 14 Pro Max", category: "mobile" },
1806
+ android: { width: 360, height: 800, label: "Android", category: "mobile" },
1807
+ "android-lg": { width: 412, height: 915, label: "Android Large", category: "mobile" }
1808
+ };
1809
+ exports.DEFAULT_VIEWPORT = exports.DEVICE_PRESETS["desktop"];
1810
+ function parseViewportString(value) {
1811
+ if (typeof value === "number") {
1812
+ return { width: value };
1813
+ }
1814
+ const match = value.match(/^(\d+)(?:x(\d+))?$/);
1815
+ if (!match) return null;
1816
+ const width = parseInt(match[1], 10);
1817
+ const height = match[2] ? parseInt(match[2], 10) : void 0;
1818
+ return { width, height };
1819
+ }
1820
+ function resolveViewport(viewport, device) {
1821
+ if (device && exports.DEVICE_PRESETS[device]) {
1822
+ return exports.DEVICE_PRESETS[device];
1823
+ }
1824
+ if (viewport !== void 0) {
1825
+ const parsed = parseViewportString(viewport);
1826
+ if (parsed) {
1827
+ return {
1828
+ width: parsed.width,
1829
+ height: parsed.height || exports.DEFAULT_VIEWPORT.height,
1830
+ label: `${parsed.width}x${parsed.height || exports.DEFAULT_VIEWPORT.height}`,
1831
+ category: parsed.width <= 430 ? "mobile" : parsed.width <= 1024 ? "tablet" : "desktop"
1832
+ };
1833
+ }
1834
+ }
1835
+ return exports.DEFAULT_VIEWPORT;
1836
+ }
1837
+ function getDevicePresets() {
1838
+ return { ...exports.DEVICE_PRESETS };
1839
+ }
1840
+ function isValidDevicePreset(device) {
1841
+ return device in exports.DEVICE_PRESETS;
1842
+ }
1843
+ function calculateViewportScale(viewport, containerWidth, containerHeight, maxScale = 1) {
1844
+ const scaleX = containerWidth / viewport.width;
1845
+ const scaleY = containerHeight ? containerHeight / viewport.height : Infinity;
1846
+ const scale = Math.min(scaleX, scaleY, maxScale);
1847
+ return Math.round(scale * 1e3) / 1e3;
1848
+ }
1849
+ function wrapInPreviewContainer(html, viewport, options = {}) {
1850
+ const {
1851
+ prefix = "wf",
1852
+ darkMode = false,
1853
+ containerWidth,
1854
+ containerHeight,
1855
+ scale: customScale
1856
+ } = options;
1857
+ const scale = customScale != null ? customScale : containerWidth ? calculateViewportScale(viewport, containerWidth, containerHeight) : 1;
1858
+ const previewClass = `${prefix}-viewport-preview${darkMode ? " dark" : ""}`;
1859
+ const wrapperStyle = `transform: scale(${scale}); width: ${viewport.width}px; height: ${viewport.height}px;`;
1860
+ return `<div class="${previewClass}" style="width: 100%; min-height: ${Math.round(viewport.height * scale)}px;">
1861
+ <div class="${prefix}-viewport-wrapper" style="${wrapperStyle}">
1862
+ ${html}
1863
+ </div>
1864
+ </div>`;
1865
+ }
1866
+
1867
+ // src/spec/attributes.ts
1868
+ exports.ATTRIBUTE_SPECS = [
1869
+ // ============================================
1870
+ // Spacing Attributes
1871
+ // ============================================
1872
+ { name: "p", type: "number", description: "Padding (all sides)" },
1873
+ { name: "px", type: "number", description: "Horizontal padding" },
1874
+ { name: "py", type: "number", description: "Vertical padding" },
1875
+ { name: "pt", type: "number", description: "Top padding" },
1876
+ { name: "pr", type: "number", description: "Right padding" },
1877
+ { name: "pb", type: "number", description: "Bottom padding" },
1878
+ { name: "pl", type: "number", description: "Left padding" },
1879
+ { name: "m", type: "number", description: "Margin (all sides)" },
1880
+ { name: "mx", type: "string", description: 'Horizontal margin (number or "auto")' },
1881
+ { name: "my", type: "number", description: "Vertical margin" },
1882
+ { name: "mt", type: "number", description: "Top margin" },
1883
+ { name: "mr", type: "number", description: "Right margin" },
1884
+ { name: "mb", type: "number", description: "Bottom margin" },
1885
+ { name: "ml", type: "number", description: "Left margin" },
1886
+ { name: "gap", type: "number", description: "Gap between children" },
1887
+ // ============================================
1888
+ // Size Attributes
1889
+ // ============================================
1890
+ {
1891
+ name: "w",
1892
+ type: "string",
1893
+ values: ["full", "auto", "screen", "fit"],
1894
+ description: "Width \u2014 a number of pixels, or one of the size keywords"
1895
+ },
1896
+ {
1897
+ name: "h",
1898
+ type: "string",
1899
+ values: ["full", "auto", "screen"],
1900
+ description: "Height \u2014 a number of pixels, or one of the size keywords"
1901
+ },
1902
+ { name: "width", type: "number", description: "Width in pixels (page only)" },
1903
+ { name: "height", type: "number", description: "Height in pixels (page only)" },
1904
+ { name: "minW", type: "number", description: "Minimum width" },
1905
+ { name: "maxW", type: "number", description: "Maximum width" },
1906
+ { name: "minH", type: "number", description: "Minimum height" },
1907
+ { name: "maxH", type: "number", description: "Maximum height" },
1908
+ // ============================================
1909
+ // Flex/Grid Layout Attributes
1910
+ // ============================================
1911
+ { name: "flex", type: "boolean", description: "Enable flexbox" },
1912
+ {
1913
+ name: "direction",
1914
+ type: "enum",
1915
+ values: ["row", "column", "row-reverse", "column-reverse"],
1916
+ description: "Flex direction"
1917
+ },
1918
+ {
1919
+ name: "justify",
1920
+ type: "enum",
1921
+ values: ["start", "center", "end", "between", "around", "evenly"],
1922
+ description: "Main axis alignment"
1923
+ },
1924
+ {
1925
+ name: "align",
1926
+ type: "enum",
1927
+ values: ["start", "center", "end", "stretch", "baseline"],
1928
+ description: "Cross axis alignment"
1929
+ },
1930
+ {
1931
+ name: "wrap",
1932
+ type: "boolean",
1933
+ values: ["nowrap"],
1934
+ // `boolean | 'nowrap'` in the AST: bare `wrap` enables wrapping, and
1935
+ // `wrap=nowrap` opts a container out of it (`renderer/html/index.ts`
1936
+ // branches on the keyword). Both halves have to be stated or the keyword
1937
+ // reads as an unknown value to every editor downstream.
1938
+ description: "Enable flex wrap, or wrap=nowrap to force a single line"
1939
+ },
1940
+ { name: "span", type: "number", description: "Grid column span (1-12)" },
1941
+ { name: "sm", type: "number", description: "Responsive span at 576px+" },
1942
+ { name: "md", type: "number", description: "Responsive span at 768px+" },
1943
+ { name: "lg", type: "number", description: "Responsive span at 992px+" },
1944
+ { name: "xl", type: "number", description: "Responsive span at 1200px+" },
1945
+ { name: "order", type: "number", description: "Flex order" },
1946
+ // ============================================
1947
+ // Position Attributes
1948
+ // ============================================
1949
+ { name: "x", type: "number", description: "Horizontal position" },
1950
+ { name: "y", type: "number", description: "Vertical position" },
1951
+ {
1952
+ name: "position",
1953
+ type: "enum",
1954
+ values: [
1955
+ "left",
1956
+ "right",
1957
+ "top",
1958
+ "bottom",
1959
+ "top-left",
1960
+ "top-center",
1961
+ "top-right",
1962
+ "bottom-left",
1963
+ "bottom-center",
1964
+ "bottom-right"
1965
+ ],
1966
+ description: "Position preset"
1967
+ },
1968
+ // ============================================
1969
+ // Visual Attributes
1970
+ // ============================================
1971
+ { name: "border", type: "boolean", description: "Show border" },
1972
+ { name: "rounded", type: "boolean", description: "Apply border radius" },
1973
+ {
1974
+ name: "shadow",
1975
+ type: "enum",
1976
+ values: ["none", "sm", "md", "lg", "xl"],
1977
+ description: "Box shadow"
1978
+ },
1979
+ {
1980
+ name: "bg",
1981
+ type: "enum",
1982
+ values: ["muted", "primary", "secondary"],
1983
+ description: "Background variant"
1984
+ },
1985
+ // ============================================
1986
+ // Text Attributes
1987
+ // ============================================
1988
+ {
1989
+ name: "size",
1990
+ type: "enum",
1991
+ values: ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl"],
1992
+ description: "Size preset"
1993
+ },
1994
+ {
1995
+ name: "weight",
1996
+ type: "enum",
1997
+ values: ["normal", "medium", "semibold", "bold"],
1998
+ description: "Font weight"
1999
+ },
2000
+ { name: "level", type: "number", description: "Heading level (1-6)" },
2001
+ { name: "muted", type: "boolean", description: "Muted/dimmed style" },
2002
+ { name: "bold", type: "boolean", description: "Bold text" },
2003
+ // ============================================
2004
+ // Button Variant Attributes
2005
+ // ============================================
2006
+ { name: "primary", type: "boolean", description: "Primary style" },
2007
+ { name: "secondary", type: "boolean", description: "Secondary style" },
2008
+ { name: "outline", type: "boolean", description: "Outline style" },
2009
+ { name: "ghost", type: "boolean", description: "Ghost/transparent style" },
2010
+ { name: "danger", type: "boolean", description: "Danger/destructive style" },
2011
+ // ============================================
2012
+ // Status Variant Attributes
2013
+ // ============================================
2014
+ {
2015
+ name: "variant",
2016
+ type: "enum",
2017
+ values: ["default", "primary", "secondary", "success", "warning", "danger", "info"],
2018
+ description: "Status variant"
2019
+ },
2020
+ // ============================================
2021
+ // Form Attributes
2022
+ // ============================================
2023
+ {
2024
+ name: "inputType",
2025
+ type: "enum",
2026
+ values: ["text", "email", "password", "number", "tel", "url", "search", "date"],
2027
+ description: "Input field type"
2028
+ },
2029
+ { name: "placeholder", type: "string", description: "Placeholder text" },
2030
+ { name: "value", type: "string", description: "Default value" },
2031
+ { name: "label", type: "string", description: "Field label" },
2032
+ /**
2033
+ * One row, three meanings, and the row states only what they share.
2034
+ *
2035
+ * This registry is a flat namespace: {@link ATTRIBUTE_MAP} and
2036
+ * {@link VALID_ATTRIBUTE_NAMES} are keyed by attribute name alone, with no
2037
+ * owning element, so a name can hold exactly one spec. `name` is written by
2038
+ * three unrelated elements — the group name on `radio`, the person's name an
2039
+ * `avatar` draws initials from, and the glyph an `icon` resolves — and a
2040
+ * second `name` row does not scope them apart, it silently shadows (last
2041
+ * write wins in the Map, while the count-based gates in
2042
+ * `packages/language-data` see a duplicate and go red). So this description
2043
+ * says what is true of all three and no more.
2044
+ *
2045
+ * What is true of only one of them goes in `attribute-overrides.ts`, keyed by
2046
+ * element, and is read through `attributeFor`. That is why the glyph domain is
2047
+ * not listed here: it holds on `icon` alone, and a `values` list on this row
2048
+ * would tell every element-blind consumer that a radio group must be called
2049
+ * `circle-alert`.
2050
+ *
2051
+ * Never add a second row for a name that already exists. Widen this one, and
2052
+ * put the narrow half in the override table.
2053
+ */
2054
+ {
2055
+ name: "name",
2056
+ type: "string",
2057
+ description: "Name \u2014 what the element is called, or the named thing it resolves"
2058
+ },
2059
+ { name: "required", type: "boolean", description: "Required field" },
2060
+ { name: "disabled", type: "boolean", description: "Disabled state" },
2061
+ { name: "readonly", type: "boolean", description: "Read-only state" },
2062
+ { name: "checked", type: "boolean", description: "Checked state" },
2063
+ { name: "loading", type: "boolean", description: "Loading state" },
2064
+ { name: "rows", type: "number", description: "Textarea rows" },
2065
+ { name: "min", type: "number", description: "Minimum value" },
2066
+ { name: "max", type: "number", description: "Maximum value" },
2067
+ { name: "step", type: "number", description: "Step increment" },
2068
+ // ============================================
2069
+ // Content Attributes
2070
+ // ============================================
2071
+ { name: "title", type: "string", description: "Title text" },
2072
+ { name: "src", type: "string", description: "Source URL" },
2073
+ { name: "alt", type: "string", description: "Alt text" },
2074
+ { name: "href", type: "string", description: "Link URL" },
2075
+ /**
2076
+ * Left open here on purpose. The glyph set is closed and known — see
2077
+ * `attribute-overrides.ts` — but a `values` list on this row is mirrored into
2078
+ * the editor's element-blind value vocabulary, which would colour 1,667 words
2079
+ * like `home` and `map` as language constants in every value position. Ask
2080
+ * `attributeFor(element, 'icon')` for the domain.
2081
+ */
2082
+ { name: "icon", type: "string", description: "Icon name" },
2083
+ { name: "external", type: "boolean", description: "External link" },
2084
+ // ============================================
2085
+ // Accessibility Attributes
2086
+ // ============================================
2087
+ {
2088
+ name: "aria",
2089
+ type: "string",
2090
+ description: "Accessible name, rendered as aria-label (e.g. icon-only button)"
2091
+ },
2092
+ {
2093
+ name: "aria-label",
2094
+ type: "string",
2095
+ description: "Accessible name (synonym for aria), rendered as aria-label"
2096
+ },
2097
+ // ============================================
2098
+ // State Attributes
2099
+ // ============================================
2100
+ { name: "active", type: "number", description: "Active index" },
2101
+ { name: "expanded", type: "boolean", description: "Expanded state" },
2102
+ { name: "centered", type: "boolean", description: "Center content" },
2103
+ { name: "vertical", type: "boolean", description: "Vertical orientation" },
2104
+ { name: "scroll", type: "boolean", description: "Enable scrolling" },
2105
+ // ============================================
2106
+ // Feedback Attributes
2107
+ // ============================================
2108
+ { name: "dismissible", type: "boolean", description: "Can be dismissed" },
2109
+ { name: "indeterminate", type: "boolean", description: "Indeterminate state" },
2110
+ { name: "pill", type: "boolean", description: "Pill/rounded style" },
2111
+ // ============================================
2112
+ // Data Attributes
2113
+ // ============================================
2114
+ { name: "striped", type: "boolean", description: "Striped rows" },
2115
+ { name: "bordered", type: "boolean", description: "Full borders" },
2116
+ { name: "hover", type: "boolean", description: "Hover effect" },
2117
+ { name: "ordered", type: "boolean", description: "Ordered list" },
2118
+ { name: "none", type: "boolean", description: "No list markers" },
2119
+ // ============================================
2120
+ // Page/Viewport Attributes
2121
+ // ============================================
2122
+ { name: "viewport", type: "string", description: 'Viewport size (e.g., "1440x900")' },
2123
+ {
2124
+ name: "device",
2125
+ type: "enum",
2126
+ // Derived, not transcribed: `resolveViewport` looks the value up in
2127
+ // `DEVICE_PRESETS` and silently falls back to the default when it misses, so
2128
+ // a hand-kept copy of the key list would turn every typo into a wireframe
2129
+ // rendered at the wrong width with no diagnostic.
2130
+ values: Object.keys(exports.DEVICE_PRESETS),
2131
+ description: "Device preset"
2132
+ },
2133
+ // ============================================
2134
+ // Interaction Attributes
2135
+ // ============================================
2136
+ // The wire between two screens, or between a screen and one of its overlays.
2137
+ // `navigate` / `opens` / `toggles` resolve against an `id` (see below); the
2138
+ // AST counterpart is `InteractiveProps` in `src/ast/types.ts`.
2139
+ {
2140
+ name: "navigate",
2141
+ type: "string",
2142
+ description: "Screen this element navigates to \u2014 a page id, a page title, or a URL"
2143
+ },
2144
+ { name: "opens", type: "string", description: "id of the modal or drawer this element opens" },
2145
+ {
2146
+ name: "toggles",
2147
+ type: "string",
2148
+ description: "id of the modal or drawer this element shows or hides"
2149
+ },
2150
+ {
2151
+ name: "action",
2152
+ type: "string",
2153
+ description: "Named interaction with no target, e.g. back, close, submit"
2154
+ },
2155
+ {
2156
+ name: "on",
2157
+ type: "object",
2158
+ description: "Typed click event with an optional equality guard and ordered effects"
2159
+ },
2160
+ {
2161
+ name: "visibleWhen",
2162
+ type: "object",
2163
+ description: "Equality guard controlling whether this branch is visible"
2164
+ },
2165
+ {
2166
+ name: "enabledWhen",
2167
+ type: "object",
2168
+ description: "Equality guard controlling whether this control is enabled"
2169
+ },
2170
+ {
2171
+ name: "states",
2172
+ type: "object[]",
2173
+ description: "Typed application state declarations owned by a page or shared layout"
2174
+ },
2175
+ {
2176
+ name: "variants",
2177
+ type: "string[]",
2178
+ description: "Named state variants of this page \u2014 each one renders the page again as a screen of its own"
2179
+ },
2180
+ {
2181
+ name: "when",
2182
+ type: "string[]",
2183
+ description: "Variant boards this element is drawn on \u2014 when=loading, or when=[loading, empty] for both"
2184
+ },
2185
+ {
2186
+ name: "id",
2187
+ type: "string",
2188
+ description: "Stable identifier this page or overlay is addressed by, as distinct from title"
2189
+ },
2190
+ // ============================================
2191
+ // Annotation Attributes
2192
+ // ============================================
2193
+ {
2194
+ name: "anchor",
2195
+ type: "enum",
2196
+ values: [
2197
+ "top-left",
2198
+ "top-center",
2199
+ "top-right",
2200
+ "center-left",
2201
+ "center",
2202
+ "center-right",
2203
+ "bottom-left",
2204
+ "bottom-center",
2205
+ "bottom-right"
2206
+ ],
2207
+ description: "Corner or edge of the parent this element is pinned to"
2208
+ },
2209
+ {
2210
+ name: "color",
2211
+ type: "enum",
2212
+ values: ["blue", "red", "green", "yellow", "purple", "orange"],
2213
+ description: "Marker color"
2214
+ },
2215
+ // ============================================
2216
+ // Reuse Attributes
2217
+ // ============================================
2218
+ { name: "uses", type: "string", description: "Name of the layout a page is drawn inside" }
2219
+ ];
2220
+ exports.VALID_ATTRIBUTE_NAMES = new Set(
2221
+ exports.ATTRIBUTE_SPECS.map((attr) => attr.name)
2222
+ );
2223
+ exports.ATTRIBUTE_MAP = new Map(
2224
+ exports.ATTRIBUTE_SPECS.map((attr) => [attr.name, attr])
2225
+ );
2226
+ exports.BOX_ATTRIBUTES = [
2227
+ // Guarded runtime outcomes
2228
+ "visibleWhen",
2229
+ "enabledWhen",
2230
+ // Build-time variant scope. Listed beside the guards because it reads like
2231
+ // them and is deliberately not one of them: a guard leaves the element in the
2232
+ // markup for the runtime to toggle, `when` decides whether the element is in
2233
+ // that board's markup at all. Every element takes it for the same reason
2234
+ // every element takes a guard — which boards a piece of a screen belongs to
2235
+ // is a property of the piece, not of what kind of piece it is.
2236
+ "when",
2237
+ // Spacing
2238
+ "p",
2239
+ "px",
2240
+ "py",
2241
+ "pt",
2242
+ "pr",
2243
+ "pb",
2244
+ "pl",
2245
+ "m",
2246
+ "mx",
2247
+ "my",
2248
+ "mt",
2249
+ "mr",
2250
+ "mb",
2251
+ "ml",
2252
+ "gap",
2253
+ // Size
2254
+ "w",
2255
+ "h",
2256
+ "minW",
2257
+ "maxW",
2258
+ "minH",
2259
+ "maxH",
2260
+ // Position
2261
+ "x",
2262
+ "y"
2263
+ ];
2264
+ exports.CONTAINER_ATTRIBUTES = [
2265
+ // Flex
2266
+ "flex",
2267
+ "direction",
2268
+ "justify",
2269
+ "align",
2270
+ "wrap",
2271
+ // Decoration
2272
+ "bg",
2273
+ "border",
2274
+ "rounded"
2275
+ ];
2276
+ exports.INTERACTIVE_ATTRIBUTES = [
2277
+ "navigate",
2278
+ "opens",
2279
+ "toggles",
2280
+ "action",
2281
+ "on"
2282
+ ];
2283
+
2284
+ // src/spec/components.ts
2285
+ var COMPONENT_METADATA = {
2286
+ // ============================================
2287
+ // Layout Components
2288
+ // ============================================
2289
+ page: {
2290
+ category: "layout",
2291
+ attributes: [
2292
+ // `visibleWhen` / `enabledWhen` are filtered out of the spread rather than
2293
+ // inherited. They are guarded *outcomes*: the renderer emits
2294
+ // `data-wf-visible-when` / `data-wf-enabled-when` from the component path,
2295
+ // and the site runtime toggles the element they land on. A page is the
2296
+ // board that path renders *into* — nothing emits the attribute for it and
2297
+ // nothing would toggle it, so declaring it would let an author write a
2298
+ // guard on a page, pass `validate()`, and have the value silently dropped.
2299
+ // `when` is filtered out alongside the guards, for a reason of its own: a
2300
+ // page *is* a board, so scoping one to a variant would be a board saying
2301
+ // which board it is drawn on. The axis a page declares is `variants`, and
2302
+ // `when` names positions along it — the two sit at different levels and a
2303
+ // page carrying both would be asking `expandVariants` to filter a page
2304
+ // against a name it is itself the source of.
2305
+ ...exports.BOX_ATTRIBUTES.filter(
2306
+ (name) => name !== "visibleWhen" && name !== "enabledWhen" && name !== "when"
2307
+ ),
2308
+ ...exports.CONTAINER_ATTRIBUTES,
2309
+ "id",
2310
+ "title",
2311
+ "width",
2312
+ "height",
2313
+ "viewport",
2314
+ "device",
2315
+ "centered",
2316
+ "uses",
2317
+ "states",
2318
+ "variants"
2319
+ ],
2320
+ hasChildren: true,
2321
+ 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."
2322
+ },
2323
+ // ============================================
2324
+ // Structure Definitions
2325
+ // ============================================
2326
+ layout: {
2327
+ category: "structure",
2328
+ attributes: ["states"],
2329
+ hasChildren: true,
2330
+ 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 } }`."
2331
+ },
2332
+ component: {
2333
+ category: "structure",
2334
+ attributes: [],
2335
+ hasChildren: true,
2336
+ description: "Define a named, reusable fragment with typed parameters and named slots so screens can invoke it explicitly."
2337
+ },
2338
+ use: {
2339
+ category: "structure",
2340
+ attributes: [],
2341
+ hasChildren: true,
2342
+ 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."
2343
+ },
2344
+ slot: {
2345
+ category: "structure",
2346
+ attributes: [],
2347
+ hasChildren: false,
2348
+ description: "Mark content insertion: bare inside a layout, or named inside a reusable component."
2349
+ },
2350
+ repeat: {
2351
+ category: "structure",
2352
+ attributes: [],
2353
+ hasChildren: true,
2354
+ 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."
2355
+ },
2356
+ header: {
2357
+ category: "layout",
2358
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2359
+ hasChildren: true,
2360
+ description: "Page header section"
2361
+ },
2362
+ main: {
2363
+ category: "layout",
2364
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "scroll"],
2365
+ hasChildren: true,
2366
+ description: "Main content section"
2367
+ },
2368
+ footer: {
2369
+ category: "layout",
2370
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2371
+ hasChildren: true,
2372
+ description: "Page footer section"
2373
+ },
2374
+ sidebar: {
2375
+ category: "layout",
2376
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "position"],
2377
+ hasChildren: true,
2378
+ description: "Side navigation or content area"
2379
+ },
2380
+ section: {
2381
+ category: "layout",
2382
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "title", "expanded"],
2383
+ hasChildren: true,
2384
+ description: "Grouped content section"
2385
+ },
2386
+ // ============================================
2387
+ // Grid Components
2388
+ // ============================================
2389
+ row: {
2390
+ category: "grid",
2391
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2392
+ hasChildren: true,
2393
+ description: "Horizontal flex container"
2394
+ },
2395
+ col: {
2396
+ category: "grid",
2397
+ attributes: [
2398
+ ...exports.BOX_ATTRIBUTES,
2399
+ ...exports.CONTAINER_ATTRIBUTES,
2400
+ // `span` sizes a grid column and does nothing on any other element, so it
2401
+ // is declared on the one element that reads it rather than on every one.
2402
+ "span",
2403
+ "sm",
2404
+ "md",
2405
+ "lg",
2406
+ "xl",
2407
+ "order",
2408
+ "scroll"
2409
+ ],
2410
+ hasChildren: true,
2411
+ description: "Vertical flex container or grid column"
2412
+ },
2413
+ stack: {
2414
+ category: "grid",
2415
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2416
+ hasChildren: true,
2417
+ description: "Vertical stack that only takes content height (unlike col which fills)"
2418
+ },
2419
+ relative: {
2420
+ category: "grid",
2421
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2422
+ hasChildren: true,
2423
+ description: "Container for overlaying elements with absolute positioning"
2424
+ },
2425
+ // ============================================
2426
+ // Container Components
2427
+ // ============================================
2428
+ card: {
2429
+ category: "container",
2430
+ attributes: [
2431
+ ...exports.BOX_ATTRIBUTES,
2432
+ ...exports.CONTAINER_ATTRIBUTES,
2433
+ ...exports.INTERACTIVE_ATTRIBUTES,
2434
+ "title",
2435
+ "shadow"
2436
+ ],
2437
+ hasChildren: true,
2438
+ description: "Card container with optional title"
2439
+ },
2440
+ modal: {
2441
+ category: "container",
2442
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "id", "title"],
2443
+ hasChildren: true,
2444
+ description: "Modal dialog overlay"
2445
+ },
2446
+ drawer: {
2447
+ category: "container",
2448
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "id", "title", "position"],
2449
+ hasChildren: true,
2450
+ description: "Slide-in drawer panel"
2451
+ },
2452
+ accordion: {
2453
+ category: "container",
2454
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "title"],
2455
+ hasChildren: true,
2456
+ description: "Collapsible sections container"
2457
+ },
2458
+ // ============================================
2459
+ // Text Components
2460
+ // ============================================
2461
+ text: {
2462
+ category: "text",
2463
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "size", "weight", "muted", "bold"],
2464
+ hasChildren: false,
2465
+ description: "Text content"
2466
+ },
2467
+ title: {
2468
+ category: "text",
2469
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "level", "size"],
2470
+ hasChildren: false,
2471
+ description: "Heading element (h1-h6)"
2472
+ },
2473
+ link: {
2474
+ category: "text",
2475
+ attributes: [
2476
+ ...exports.BOX_ATTRIBUTES,
2477
+ ...exports.CONTAINER_ATTRIBUTES,
2478
+ ...exports.INTERACTIVE_ATTRIBUTES,
2479
+ "href",
2480
+ "external"
2481
+ ],
2482
+ hasChildren: false,
2483
+ description: "Hyperlink text"
2484
+ },
2485
+ // ============================================
2486
+ // Input Components
2487
+ // ============================================
2488
+ input: {
2489
+ category: "input",
2490
+ attributes: [
2491
+ ...exports.BOX_ATTRIBUTES,
2492
+ ...exports.CONTAINER_ATTRIBUTES,
2493
+ "label",
2494
+ "inputType",
2495
+ "placeholder",
2496
+ "value",
2497
+ "disabled",
2498
+ "required",
2499
+ "readonly",
2500
+ "icon",
2501
+ "size"
2502
+ ],
2503
+ hasChildren: false,
2504
+ description: "Text input field"
2505
+ },
2506
+ textarea: {
2507
+ category: "input",
2508
+ attributes: [
2509
+ ...exports.BOX_ATTRIBUTES,
2510
+ ...exports.CONTAINER_ATTRIBUTES,
2511
+ "label",
2512
+ "placeholder",
2513
+ "value",
2514
+ "rows",
2515
+ "disabled",
2516
+ "required"
2517
+ ],
2518
+ hasChildren: false,
2519
+ description: "Multi-line text input"
2520
+ },
2521
+ select: {
2522
+ category: "input",
2523
+ attributes: [
2524
+ ...exports.BOX_ATTRIBUTES,
2525
+ ...exports.CONTAINER_ATTRIBUTES,
2526
+ "label",
2527
+ "placeholder",
2528
+ "value",
2529
+ "disabled",
2530
+ "required"
2531
+ ],
2532
+ hasChildren: false,
2533
+ description: "Dropdown select"
2534
+ },
2535
+ checkbox: {
2536
+ category: "input",
2537
+ attributes: [...exports.BOX_ATTRIBUTES, "label", "checked", "disabled"],
2538
+ hasChildren: false,
2539
+ description: "Checkbox input"
2540
+ },
2541
+ radio: {
2542
+ category: "input",
2543
+ attributes: [...exports.BOX_ATTRIBUTES, "label", "name", "checked", "disabled"],
2544
+ hasChildren: false,
2545
+ description: "Radio button input"
2546
+ },
2547
+ switch: {
2548
+ category: "input",
2549
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "label", "checked", "disabled"],
2550
+ hasChildren: false,
2551
+ description: "Toggle switch"
2552
+ },
2553
+ slider: {
2554
+ category: "input",
2555
+ attributes: [
2556
+ ...exports.BOX_ATTRIBUTES,
2557
+ ...exports.CONTAINER_ATTRIBUTES,
2558
+ "label",
2559
+ "min",
2560
+ "max",
2561
+ "value",
2562
+ "step",
2563
+ "disabled"
2564
+ ],
2565
+ hasChildren: false,
2566
+ description: "Range slider"
2567
+ },
2568
+ button: {
2569
+ category: "input",
2570
+ attributes: [
2571
+ ...exports.BOX_ATTRIBUTES,
2572
+ ...exports.CONTAINER_ATTRIBUTES,
2573
+ ...exports.INTERACTIVE_ATTRIBUTES,
2574
+ "primary",
2575
+ "secondary",
2576
+ "outline",
2577
+ "ghost",
2578
+ "danger",
2579
+ "size",
2580
+ "icon",
2581
+ "disabled",
2582
+ "loading",
2583
+ // Accessibility: give icon-only buttons an accessible name / tooltip
2584
+ "aria",
2585
+ "aria-label",
2586
+ "title"
2587
+ ],
2588
+ hasChildren: false,
2589
+ description: "Clickable button"
2590
+ },
2591
+ // ============================================
2592
+ // Display Components
2593
+ // ============================================
2594
+ image: {
2595
+ category: "display",
2596
+ attributes: [
2597
+ ...exports.BOX_ATTRIBUTES,
2598
+ ...exports.CONTAINER_ATTRIBUTES,
2599
+ ...exports.INTERACTIVE_ATTRIBUTES,
2600
+ "src",
2601
+ "alt"
2602
+ ],
2603
+ hasChildren: false,
2604
+ description: "Image placeholder"
2605
+ },
2606
+ placeholder: {
2607
+ category: "display",
2608
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "label"],
2609
+ hasChildren: true,
2610
+ description: "Generic placeholder"
2611
+ },
2612
+ avatar: {
2613
+ category: "display",
2614
+ attributes: [
2615
+ ...exports.BOX_ATTRIBUTES,
2616
+ ...exports.CONTAINER_ATTRIBUTES,
2617
+ ...exports.INTERACTIVE_ATTRIBUTES,
2618
+ "name",
2619
+ "size"
2620
+ ],
2621
+ hasChildren: false,
2622
+ description: "User avatar"
2623
+ },
2624
+ badge: {
2625
+ category: "display",
2626
+ attributes: [
2627
+ ...exports.BOX_ATTRIBUTES,
2628
+ ...exports.CONTAINER_ATTRIBUTES,
2629
+ ...exports.INTERACTIVE_ATTRIBUTES,
2630
+ "variant",
2631
+ "pill",
2632
+ "icon",
2633
+ "size",
2634
+ "anchor"
2635
+ ],
2636
+ hasChildren: false,
2637
+ description: "Status badge"
2638
+ },
2639
+ icon: {
2640
+ category: "display",
2641
+ attributes: [
2642
+ ...exports.BOX_ATTRIBUTES,
2643
+ ...exports.CONTAINER_ATTRIBUTES,
2644
+ ...exports.INTERACTIVE_ATTRIBUTES,
2645
+ "name",
2646
+ "size",
2647
+ "muted"
2648
+ ],
2649
+ hasChildren: false,
2650
+ description: "Lucide icon"
2651
+ },
2652
+ // ============================================
2653
+ // Data Components
2654
+ // ============================================
2655
+ table: {
2656
+ category: "data",
2657
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "striped", "bordered", "hover"],
2658
+ hasChildren: false,
2659
+ description: "Data table"
2660
+ },
2661
+ list: {
2662
+ category: "data",
2663
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "ordered", "none"],
2664
+ hasChildren: false,
2665
+ description: "List of items"
2666
+ },
2667
+ // ============================================
2668
+ // Feedback Components
2669
+ // ============================================
2670
+ alert: {
2671
+ category: "feedback",
2672
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "variant", "dismissible", "icon"],
2673
+ hasChildren: false,
2674
+ description: "Alert message"
2675
+ },
2676
+ toast: {
2677
+ category: "feedback",
2678
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "position", "variant"],
2679
+ hasChildren: false,
2680
+ description: "Toast notification"
2681
+ },
2682
+ progress: {
2683
+ category: "feedback",
2684
+ attributes: [
2685
+ ...exports.BOX_ATTRIBUTES,
2686
+ ...exports.CONTAINER_ATTRIBUTES,
2687
+ "value",
2688
+ "max",
2689
+ "label",
2690
+ "indeterminate"
2691
+ ],
2692
+ hasChildren: false,
2693
+ description: "Progress bar"
2694
+ },
2695
+ spinner: {
2696
+ category: "feedback",
2697
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "label", "size"],
2698
+ hasChildren: false,
2699
+ description: "Loading spinner"
2700
+ },
2701
+ // ============================================
2702
+ // Overlay Components
2703
+ // ============================================
2704
+ tooltip: {
2705
+ category: "overlay",
2706
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "position"],
2707
+ hasChildren: false,
2708
+ description: "Tooltip on hover"
2709
+ },
2710
+ popover: {
2711
+ category: "overlay",
2712
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "title"],
2713
+ hasChildren: true,
2714
+ description: "Popover panel"
2715
+ },
2716
+ dropdown: {
2717
+ category: "overlay",
2718
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2719
+ hasChildren: false,
2720
+ description: "Dropdown menu"
2721
+ },
2722
+ // ============================================
2723
+ // Navigation Components
2724
+ // ============================================
2725
+ nav: {
2726
+ category: "navigation",
2727
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "vertical"],
2728
+ hasChildren: false,
2729
+ description: "Navigation menu"
2730
+ },
2731
+ tabs: {
2732
+ category: "navigation",
2733
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES, "active"],
2734
+ hasChildren: true,
2735
+ description: "Tab navigation"
2736
+ },
2737
+ breadcrumb: {
2738
+ category: "navigation",
2739
+ attributes: [...exports.BOX_ATTRIBUTES, ...exports.CONTAINER_ATTRIBUTES],
2740
+ hasChildren: false,
2741
+ description: "Breadcrumb navigation"
2742
+ },
2743
+ // ============================================
2744
+ // Divider Component
2745
+ // ============================================
2746
+ divider: {
2747
+ category: "layout",
2748
+ attributes: [...exports.BOX_ATTRIBUTES, "vertical"],
2749
+ hasChildren: false,
2750
+ description: "Horizontal separator"
2751
+ },
2752
+ // ============================================
2753
+ // Annotation Components
2754
+ // ============================================
2755
+ marker: {
2756
+ category: "annotation",
2757
+ attributes: [...exports.BOX_ATTRIBUTES, "color", "anchor"],
2758
+ hasChildren: false,
2759
+ description: "Number marker for referencing in annotations"
2760
+ },
2761
+ annotations: {
2762
+ category: "annotation",
2763
+ attributes: [...exports.BOX_ATTRIBUTES, "title"],
2764
+ hasChildren: true,
2765
+ description: "Documentation panel for screen specifications"
2766
+ },
2767
+ item: {
2768
+ category: "annotation",
2769
+ attributes: [],
2770
+ hasChildren: true,
2771
+ description: "Individual annotation entry with marker number and title"
2772
+ }
2773
+ };
2774
+ exports.COMPONENT_NAMES = Object.keys(COMPONENT_METADATA);
2775
+ exports.COMPONENT_SPECS = exports.COMPONENT_NAMES.map((name) => ({
2776
+ name,
2777
+ nodeType: exports.GRAMMAR_ELEMENTS[name],
2778
+ ...COMPONENT_METADATA[name]
2779
+ }));
2780
+ exports.VALID_COMPONENT_NAMES = new Set(exports.COMPONENT_NAMES);
2781
+ exports.COMPONENT_MAP = new Map(
2782
+ exports.COMPONENT_SPECS.map((comp) => [comp.name, comp])
2783
+ );
2784
+ var BLOCK_NODE_METADATA = {
2785
+ NavItem: {
2786
+ keyword: "item",
2787
+ category: "navigation",
2788
+ attributes: [...exports.INTERACTIVE_ATTRIBUTES, "icon", "href", "active", "disabled"],
2789
+ hasChildren: false,
2790
+ description: "Navigation entry inside a nav block"
2791
+ },
2792
+ NavGroup: {
2793
+ keyword: "group",
2794
+ category: "navigation",
2795
+ attributes: [],
2796
+ hasChildren: true,
2797
+ description: "Labelled group of navigation entries inside a nav block"
2798
+ },
2799
+ DropdownItem: {
2800
+ keyword: "item",
2801
+ category: "overlay",
2802
+ attributes: [...exports.INTERACTIVE_ATTRIBUTES, "icon", "href", "danger", "disabled"],
2803
+ hasChildren: false,
2804
+ description: "Menu entry inside a dropdown"
2805
+ },
2806
+ ListItem: {
2807
+ keyword: "item",
2808
+ category: "data",
2809
+ attributes: ["icon"],
2810
+ hasChildren: true,
2811
+ description: "Entry inside a list block, optionally nesting a further list"
2812
+ }
2813
+ };
2814
+ exports.BLOCK_NODE_SPECS = exports.GRAMMAR_BLOCK_NODE_TYPES.map(
2815
+ (nodeType) => {
2816
+ const { keyword, ...metadata } = BLOCK_NODE_METADATA[nodeType];
2817
+ return { name: keyword, nodeType, ...metadata };
2818
+ }
2819
+ );
2820
+ exports.NODE_TYPE_MAP = new Map(
2821
+ [...exports.COMPONENT_SPECS, ...exports.BLOCK_NODE_SPECS].map((comp) => [comp.nodeType, comp])
2822
+ );
2823
+ exports.ELEMENT_NODE_TYPE_MAP = new Map(
2824
+ exports.COMPONENT_SPECS.map((comp) => [comp.nodeType, comp])
2825
+ );
2826
+ exports.COMPONENT_SPEC_BY_NAME = Object.fromEntries(exports.COMPONENT_SPECS.map((comp) => [comp.name, comp]));
2827
+ function getValidAttributes(componentNameOrType) {
2828
+ var _a;
2829
+ const spec = (_a = exports.COMPONENT_MAP.get(componentNameOrType)) != null ? _a : exports.NODE_TYPE_MAP.get(componentNameOrType);
2830
+ return spec == null ? void 0 : spec.attributes;
2831
+ }
2832
+ function isValidAttribute(componentNameOrType, attributeName) {
2833
+ const validAttrs = getValidAttributes(componentNameOrType);
2834
+ if (!validAttrs) return false;
2835
+ return validAttrs.includes(attributeName);
2836
+ }
2837
+
2838
+ // src/spec/attribute-overrides.ts
2839
+ var GLYPH_NAME = {
2840
+ type: "enum",
2841
+ values: exports.LUCIDE_ICON_NAMES,
2842
+ description: "Icon name, from the Lucide set"
2843
+ };
2844
+ var GLYPH_VALUED_ATTRIBUTES = ["icon"];
2845
+ var GLYPH_VALUED_PAIRS = [
2846
+ ["Icon", "name"]
2847
+ ];
2848
+ function buildOverrides() {
2849
+ const overrides = {};
2850
+ const put = (nodeType, attribute, override) => {
2851
+ var _a;
2852
+ (_a = overrides[nodeType]) != null ? _a : overrides[nodeType] = {};
2853
+ overrides[nodeType][attribute] = override;
2854
+ };
2855
+ for (const spec of [...exports.COMPONENT_SPECS, ...exports.BLOCK_NODE_SPECS]) {
2856
+ for (const attribute of GLYPH_VALUED_ATTRIBUTES) {
2857
+ if (spec.attributes.includes(attribute)) put(spec.nodeType, attribute, GLYPH_NAME);
2858
+ }
2859
+ }
2860
+ for (const [nodeType, attribute] of GLYPH_VALUED_PAIRS) {
2861
+ put(nodeType, attribute, GLYPH_NAME);
2862
+ }
2863
+ return overrides;
2864
+ }
2865
+ exports.ATTRIBUTE_OVERRIDES = buildOverrides();
2866
+ function attributeFor(componentNameOrType, attributeName) {
2867
+ var _a, _b;
2868
+ const spec = (_a = exports.COMPONENT_MAP.get(componentNameOrType)) != null ? _a : exports.NODE_TYPE_MAP.get(componentNameOrType);
2869
+ if (!(spec == null ? void 0 : spec.attributes.includes(attributeName))) return void 0;
2870
+ const base = exports.ATTRIBUTE_MAP.get(attributeName);
2871
+ if (!base) return void 0;
2872
+ const override = (_b = exports.ATTRIBUTE_OVERRIDES[spec.nodeType]) == null ? void 0 : _b[attributeName];
2873
+ return override ? { ...base, ...override } : base;
2874
+ }
2875
+
2876
+ // src/spec/language-resources.generated.ts
2877
+ var LANGUAGE_RESOURCE_PACKAGE = {
2878
+ name: "@wireweave/core",
2879
+ version: "4.0.0-beta.16"
2880
+ };
2881
+ var LANGUAGE_RESOURCE_DATA = [
2882
+ {
2883
+ uri: "urn:wireweave:core:resource:sha256:5f307e9cb0382bbe738284442718c50ba90ff729deb65a28ca4ca551bb5cb087",
2884
+ path: "docs/spec/LANGUAGE.md",
2885
+ digest: "sha256:5f307e9cb0382bbe738284442718c50ba90ff729deb65a28ca4ca551bb5cb087",
2886
+ byteLength: 35171,
2887
+ mediaType: "text/markdown",
2888
+ text: '# Wireweave language\n\nContract: `core/language`. Language version: `4.0.0`. Schema version: `1.0.0`.\n\n## 1. Authority and scope\n\n[language.ebnf](language.ebnf) owns lexical and syntactic productions. [schema.json](schema.json) owns the canonical JSON shape and value domains. This document owns normalization, ownership, reference resolution and static meaning. [RUNTIME.md](RUNTIME.md) owns execution and output. [TOOLING.md](TOOLING.md) owns public calls and adapters. [examples.json](examples.json) supplies positive and negative contract fixtures. A conforming language release satisfies all five contracts; successful JSON validation alone does not establish language validity.\n\nCore is a deterministic language engine. People, scripts and agents use the same language without a harness, account, server, Git repository or external product-definition system. The Wireweave binding owns interviews, scenario coverage, generation order and UX decisions under `contract:harness/wireweave`. Core owns syntax, reusable structure, linking, typed state and operations, neutral rendering and source maps. Import resolution consumes caller-supplied bytes; Core does not fetch dependencies, invoke providers or write project files.\n\nThe language describes low-fidelity UI and its observable behavior. Brand styling is not its authority. Semantic control types, hierarchy, layout, states, focus, navigation, error handling and implementation obligations are preserved. A static fragment, executable app and implementation-ready project have different acceptance scopes.\n\n## 2. Lexical contract and canonical text\n\nFiles use `.wf` or `.wireframe`; both denote the same UTF-8 language. One leading UTF-8 BOM is accepted and removed from canonical text. Invalid UTF-8 and lone Unicode surrogates are errors. String content is not Unicode-normalized. CRLF and CR outside strings normalize to LF. `//` and non-nesting `/* ... */` comments are accepted; an unterminated comment is an error.\n\nIdentifiers and namespaces match `[A-Za-z_][A-Za-z0-9_-]*`, at most 128 characters, case sensitive. Keywords cannot be definition identifiers. Human labels are Unicode strings and never identifiers. Numeric values are finite IEEE 754 doubles; integers used as counts or indices are safe integers. `NaN`, infinity, arithmetic overflow and duplicate object/attribute keys are errors. Numbers support a leading minus, decimal part and exponent. Negative zero canonicalizes to zero. Unquoted enum words such as `primary` and `2xl` are strings; quoted strings support the escapes in the EBNF. Longest complete token wins. Equal-length lexical matches use string \u2192 unit-value \u2192 number \u2192 boolean/null \u2192 bare-word precedence. Thus `1e3` is number 1000, `2xl` is string "2xl", `2em` is unit "2em", and `true` is boolean true; quoted forms are strings. Adjacent array/object entries without commas are accepted only at complete token boundaries.\n\nThe canonical printer uses LF, two-space indentation, double-quoted strings with JSON escaping, comma-separated collections, one leaf per line, a final newline and attribute keys in UTF-16 lexical order. It prints explicit `=true`, normalized structured handlers and explicit component arguments. Definition, child, row, operation and fixture-step order is preserved. Empty optional blocks print `{}`. Source locations and digests are metadata, not DSL attributes. Ordinary comments are non-semantic trivia and omitted by the canonical printer; lossless editor edits preserve source text separately. Product requirements cannot depend on trivia.\n\n`parse(print(document))` preserves semantic AST content, explicit IDs, registry entries, operation order and references. Source spans, raw byte digests and non-semantic trivia are excluded from that equivalence. Reprinting canonical text is byte-identical. Semantic equality never treats array reordering, missing values and explicit null as interchangeable.\n\n## 3. Document, module and bundle\n\nA document has an optional `language "4.0.0"` header and one app, one module, or top-level page/layout/component definitions. Omitting the header selects language 4.0.0; adapters pass the version explicitly when opening a versioned artifact. Unsupported major versions are errors.\n\n```wireframe\napp catalog entry={namespace=main,id=home} {\n module main namespace=main {\n page "Home" id=home viewport="1440x900" {\n title "Catalog" level=1\n link "Settings" id=settingsLink navigate=settings\n }\n page "Settings" id=settings viewport="1440x900" {\n link "Home" id=homeLink navigate=home\n }\n }\n}\n```\n\nAn app accepts `entry`, `profile`, `states`, `registry` and `fixtures`. Its body contains modules only. An absent profile expands to `{id:neutral-app,width:1440,height:900,language:en,entryPolicy:explicit,unknownRoute:error-view,clockStartMs:0,limits:standard-1,unicodeVersion:"15.1.0",assets:[]}`. States and fixtures default to empty arrays. Registry defaults to empty entries and their computed digest. App entry is required and never inferred from a title, canvas order or first successful screen.\n\nBare definitions normalize to one module named `main` in namespace `main`, with no imports and no explicit exports. A module document has the same default app metadata but does not imply an executable entry. A fragment can contain anonymous pages; each gets a source-local inspection address. Strict app linking requires an explicit page ID and an explicit ID on every addressed control, overlay, form and reusable-component invocation. Inspection addresses are not durable product identities.\n\nA canonical `AppBundle` contains `schemaVersion`, `languageVersion`, `id`, `entry`, `profile`, `states`, `modules`, `registry` and `fixtures`. `Module` contains `id`, `namespace`, `sourceDigest`, `imports`, `exports` and `definitions`. Each module source digest hashes its original UTF-8 module declaration from the module keyword through its closing brace, excluding surrounding whitespace. For a bare-definition source it hashes the entire original file. This makes inline modules independently addressable without digest self-reference; the containing file retains a separate source-artifact digest. All IDs within a declaration kind and namespace must be unique. Duplicate IDs are rejected even when bodies are equal. App/global IDs, module IDs and product UUIDs occupy distinct typed domains.\n\n`AppConfiguration` owns the shared shape of id, entry, profile, states and fixtures. AppBundle contains those fields plus explicit language/schema versions, modules and registry. A product project stores one application configuration and its ordered module IDs, then derives AppBundle from that configuration, fixed module bytes and the same registry; a second independently editable bundle is not another authority.\n\nThe pure parser returns a `ParsedDocument`; bundle construction supplies the chosen entry and profile before linking. JSON defaults are materialized by this normalization, not by a JSON Schema validator. Omitting a required canonical field is invalid.\n\n## 4. Canonical node mapping\n\nThe canonical tree uses `kind`, optional `id`, optional `label`/`number`/`items`, `attributes` and `children`. Positional UI text becomes `label`; the original spelling is retained by source maps. Positional image source becomes `attributes.src`, avatar/icon text becomes `attributes.name`, and a numbered marker or annotation item uses `number`. `id=` becomes `Node.id` and is not duplicated in `attributes`. An equal duplicate positional/attribute value is still a duplicate declaration error.\n\nA definition has `kind:layout|component`, `id`, `parameters`, `attributes`, `children`. `use` has `id`, `name`, optional imported `namespace`, typed `inputs` and named `fills`. `slot` has an optional name; `repeat` has a count and children. Template attributes may contain whole-string parameter references; they are checked symbolically against declared parameter types and against the ordinary node schema after substitution. No template can inject a new keyword, property key, identifier or source text.\n\nCollection normalization is explicit:\n\n| Source construct | Canonical meaning |\n| ------------------------------------------------- | --------------------------------------------------------------------------------------------------- |\n| `table [[headers],[row1],[row2]]` | `attributes.columns=headers`, `items=[row1,row2]`; block `columns [...] row [...]` is equivalent |\n| `select "Country" ["KR","JP"]` or `options=[...]` | `attributes.options=[{label,value},...]`; option blocks map to the same array |\n| `list ["a","b"]` | ordered children of kind `list-item`; nested `item` blocks preserve the hierarchy |\n| `nav [...]` / block `item`, `group`, `divider` | children `nav-item`, `nav-group`, `divider`; scalar entries are labels with no invented destination |\n| `dropdown [...]` / block `item`, `divider` | children `dropdown-item` and `divider`; scalar `---`, `-`, `divider` denote separators only here |\n| `tabs [labels] { tab ... }` | children of kind `tab`; if labels and blocks coexist, their labels and count must match |\n| `breadcrumb [...]` | ordered `nav-item` children; last item is the current location; earlier destinations are explicit |\n| `annotations { item N "Title" { ... } }` | `annotation-item` children; marker numbers have scope within the page, not application identity |\n\nArray item objects accept the same label/value/attribute data as their corresponding block item. Array and block bodies cannot independently define competing children. Tables require exactly one column list, rows with equal width and scalar cells. Typed data binding can supply table rows or list entries; inline items and `data` cannot both be present. Bound table data is a list of records: each column string names one own field, and every row must supply a scalar value for every column. Bound list data is a list of scalar values rendered as item text; objects require an explicitly authored presentation component. Missing fields and unsupported item types are validation errors, never `[object Object]` output.\n\n## 5. Imports, reuse and identity\n\nThe `imported-shell-component` fixture in [examples.json](examples.json) is the complete source/AST example for imported layout, typed component arguments and named slot fill. Its import digest is calculated from the included module bytes.\n\nImport `from` names a module ID in the supplied input set, not an HTTP URL or filesystem path. Its digest must equal that module\'s source digest. The import namespace is a lexical alias, unique within the importer. An imported symbol must appear in the target module\'s explicit exports. `export component Summary;` exports the local definition. Page exports allow cross-module routing. Wildcards, implicit re-exports and namespace merging are not supported. Unknown or ambiguous symbols error; local lookup never falls back to display text or another module. All module imports are checked for cycles before expansion; cycles are errors, even if a particular render does not traverse them.\n\nLayout `uses=layoutId` resolves locally; `uses="alias::layoutId"` resolves through an import. Layouts have exactly one unnamed slot and no named slots. A page\'s body fills that slot; a page without `uses` supplies its own frame. Layout definitions do not create screens. Layout nesting through `uses` is disallowed. Layouts can use components.\n\nComponents have zero or more typed parameters and uniquely named slots. Whole-string `"$name"` references substitute the complete typed value; `"a $name b"` remains literal text. `"$$name"` represents literal `$name` in a template. Missing required arguments, unknown arguments, incompatible values, undeclared parameter references and duplicate/unknown fills are errors. Parameter defaults are validated before use. Omitted fills produce empty content. Filled content retains its caller\'s lexical declaration owner and state scope; placing it inside a component does not expose that component\'s private state. A named slot is declared once and filled once. Slots outside layouts/components and fills outside uses are errors. Bare `slot` is terminated by a semicolon, line ending or containing closing brace; it does not consume the next child keyword.\n\nComponent invocation inputs are immutable compile-time values. A nested use can pass its enclosing parameter as a whole-value reference; expansion resolves the outer binding before the inner binding. Canonical use inputs contain only literal or param expressions; state, event, read and call expressions are invalid in that position. Runtime state is not a compile-time parameter. Use bindings with local component state for mutable values. Recursion is diagnosed before copying component bodies. `repeat N` makes N ordered instances of the same body, does not expose an index variable, and counts against expansion limits before allocation. `repeat N id=name` names that expansion site; strict apps require the ID, while fragments may use source-local inspection addresses.\n\nLinked identity is `{namespace,definitionKind,definitionId,instanceRoot,instancePath,localId}`, as defined by LinkedIdentity in the schema. The namespace/definition fields name the lexical declaration owner. instanceRoot is `{kind:screen,namespace,id}` or `{kind:shell,namespace,id,profileDigest}` for the retained layout. instancePath is the ordered root-to-rendered-instance expansion path of `{kind:use,id}` and `{kind:repeat,id,index}` steps, using explicit site IDs and zero-based repeat indices. Ordinary, non-repeated root page/layout elements have an empty path. Component bodies and caller-authored fills include the invocation\'s use step; repeated content includes every containing repeat step, including repeats around a slot placement. A filled control can therefore have a page/layout lexical owner and a path containing use steps. The resolver verifies declaration ownership and expansion placement together. Definition, variant and state addresses for the page/layout itself have an empty path. Identically named uses in different screens and different repeat sites cannot collide. Screen state variants and canvas positions do not rename a logical screen or control. Rendering a control in multiple boards produces distinct rendered-instance IDs that refer to the same logical control. A shared layout instance is identified by layout ID plus viewport profile; it is emitted once per compatible app profile.\n\nProduct `LocalRef`/`ArtifactRef` and UUID identity remain owned by `contract:product/contracts`. A source binding maps product identities to Core module/screen/state/element/operation IDs. Internal reference cycles in that product graph are valid; module-import or component-expansion cycles are not.\n\n## 6. Complete component vocabulary\n\nPrimitive spelling is lowercase. The schema\'s `x-vocabulary` is the element-aware completion/catalog surface; contextual item kinds are not additional top-level keywords. Every component takes the documented box/accessibility/requirement attributes unless its semantic scope explicitly excludes one. Styling a control does not add an event or destination.\n\n| Family | Elements | Meaning and allowed content |\n| ------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |\n| Structure | `page`, `layout`, `component`, `use`, `fill`, `slot`, `repeat` | Declarations/reuse under \xA7\xA73\u20135; layout/component/fill are not extra screens |\n| Landmarks | `header`, `main`, `footer`, `sidebar`, `section` | Nested ordinary content; header/footer/nav belong to the authored product, not editor chrome |\n| Layout | `row`, `col`, `stack`, `relative` | Horizontal flex, flexible vertical/grid column, content-height vertical stack, positioned containing block |\n| Grouping | `card`, `modal`, `drawer`, `accordion`, `popover`, `form` | Ordinary children; form cannot contain form; modal semantics and lifecycle are runtime-owned |\n| Text | `text`, `title`, `link` | Text-only leaves; title rank 1\u20136; link has explicit destination or an explicit specified obligation |\n| Controls | `input`, `textarea`, `select`, `checkbox`, `radio`, `switch`, `slider`, `button` | Native value, selection and activation semantics; select accepts options, other controls are leaves |\n| Display | `image`, `placeholder`, `avatar`, `badge`, `icon`, `divider` | Image/text placeholders retain accessible meaning; placeholder may contain content |\n| Data | `table`, `columns`, `row`, `list`, contextual `item` | Table rows are data, not flex row nodes; list item nesting is explicit |\n| Feedback | `alert`, `toast`, `progress`, `spinner` | State communicated in text/semantics; a spinner is pending presentation, not evidence of work |\n| Overlays | `tooltip`, `popover`, `dropdown`, contextual `item`, `divider` | Tooltip has one trigger child; dropdown has an explicit accessible label and menu items |\n| Navigation | `nav`, contextual `group`/`item`, `tabs`, contextual `tab`, `breadcrumb` | Semantic navigation and selection; no label-based routing |\n| Documentation | `marker`, `annotations`, numbered `item` | Numbered explanation and references to registry requirements; not executable product controls |\n\nOnly page nodes occur as screens; header and main cannot masquerade as independently routable screens. A linked screen has exactly one main landmark, either authored explicitly, from its shell slot wrapper, or supplied as a main wrapper around a page body without an authored main, and landmarks have accessible names when repeated. Generic layout containers must not acquire button semantics merely because they contain a button. An interactive card with interactive descendants is rejected; its primary action must be an explicit child control.\n\n## 7. Attribute domains and precedence\n\n`schema.json#/$defs/Attributes` is the complete type catalog. Its element restrictions and this section are both mandatory. Unknown attributes are errors in strict compilation. The parser retains them only in an error-recovery tree marked invalid. Bare flags are limited to the EBNF list; a value cannot be inferred from a misspelled flag.\n\nBox spacing `p px py pt pr pb pl m mx my mt mr mb ml gap` uses the numeric tokens `0:0,1:4,2:8,3:12,4:16,5:20,6:24,8:32,10:40,12:48,16:64,20:80` CSS pixels. Other finite numbers mean that many pixels. Explicit `px`, `%`, `em`, `rem`, `vh`, `vw` units bypass the token table. Padding/gap cannot be negative; margin can. `auto` is accepted only for `mx`. Side overrides axis, axis overrides all-sides, regardless of source ordering. Units `vh`/`vw` refer to the authored fixed viewport; `rem` uses the 16px neutral root, `em` uses the parent\'s computed font size and `%` uses the containing block dimension. Indefinite percentage-height dependencies and min/max inversions are errors.\n\nNumeric dimensions `w h minW maxW minH maxH` mean pixels. `w/h=full` means the containing block; `screen` means the profile dimension; `auto` means intrinsic size; `w=fit` means fit-content. Bounds accept finite numeric/unit values, never keywords. Page `width/height` are positive integers. `x/y` mean page canvas coordinates or offsets within a `relative` ancestor. `at(x,y)` normalizes to both; duplicate `at` and `x/y` declarations error. Anchors use the nine named positions; offsets are applied after anchor alignment.\n\nA `viewport` string is `WIDTHxHEIGHT` or `WIDTH` in decimal integers; numeric viewport is width. A width-only declaration uses height 900. Every dimension is 1\u201316384 CSS pixels. The `device` names are stable Wireweave presets, not a claim about physical device pixels:\n\n| Device | Width \xD7 height |\n| ----------------- | -------------: |\n| desktop-sm | 1280 \xD7 800 |\n| desktop | 1440 \xD7 900 |\n| desktop-lg | 1920 \xD7 1080 |\n| desktop-xl | 2560 \xD7 1440 |\n| ipad | 1024 \xD7 768 |\n| ipad-portrait | 768 \xD7 1024 |\n| ipad-pro | 1366 \xD7 1024 |\n| ipad-pro-portrait | 1024 \xD7 1366 |\n| iphone-se | 375 \xD7 667 |\n| iphone14 | 390 \xD7 844 |\n| iphone14-pro | 393 \xD7 852 |\n| iphone14-pro-max | 430 \xD7 932 |\n| android | 360 \xD7 800 |\n| android-lg | 412 \xD7 915 |\n\n`row` defaults to row direction, `col`/`stack` to column; justify=start, align=stretch, wrap=false, gap=0. `col` grows into available space; `stack` remains content height. `flex=true` uses grow=1, false uses grow=0, and a number supplies nonnegative grow. Twelve-column `span` defaults to 12. `sm/md/lg/xl` override it at authored widths 576/768/992/1200px, choosing the largest applicable threshold once at compile time. Parent resizing never reselects a breakpoint. Grid width accounts for gaps: `(innerWidth - 11*gap) * span/12 + (span-1)*gap`. A row that wraps starts a new line before occupied spans exceed 12.\n\nText sizes xs/sm/base/md/lg/xl/2xl/3xl map to 12/14/16/16/18/20/24/30px; weight normal/medium/semibold/bold maps to 400/500/600/700. `bold=true` with a different weight errors. Heading default level=2; level controls semantics, size controls appearance. Text align allows left/center/right/justify/start/end; container align allows start/center/end/stretch/baseline. Numeric size is limited to icons, avatars and spinners. Button/control size xs/sm/md/lg/xl sets minimum block size 24/28/36/44/52px, never below the accessibility target; text wraps and grows the control.\n\n`primary` and `secondary` are mutually exclusive emphasis. `outline` and `ghost` are mutually exclusive presentation. `danger` is independent destructive meaning. `variant` records status; incompatible duplicate emphasis/status declarations error. `color` on annotations retains category identity in data and labels even under monochrome output. `shadow`, `bg`, `border`, `rounded`, `pill`, `striped`, `bordered`, `hover`, `muted` are neutral presentation signals, not custom CSS. No attribute accepts arbitrary CSS text.\n\n`inputType` selects native text/email/password/number/tel/url/search/date. `required`, `disabled`, `readonly` default false. `value` defaults to empty text, unchecked boolean or numeric min as appropriate. Slider defaults min=0, max=100, step=1; progress defaults max=100 and value=0. Values outside declared ranges error rather than clamp. Radio options in the same named group use unique scalar values and one bound group state. Select values must match a declared enabled option. `rows` defaults to 3. minLength/maxLength apply to Unicode code points, with min\u2264max; runtime provides equivalent validation beyond native UTF-16 checks.\n\n`label`, positional text and `aria`/`aria-label` supply names; explicit accessible names override the visible label but include its visible text for speech control. Conflicting `aria` and `aria-label` values error. Placeholder is never a substitute for a label. `name` is a radio group, avatar label, control submission key or pinned icon name according to element kind. In Core app compilation, `src` is an explicit manifest asset ID; a host-approved URL must be materialized into verified manifest bytes before admission, and Core never fetches it. Boolean avatar `src=true` normalizes to a generated neutral avatar placeholder with no external request. `href` is a URL channel; `external=true` requests a new browsing context with opener isolation.\n\n`active` is a zero-based index on tabs and boolean on a static nav item. App navigation derives active state from route identity; authored active=true must agree with the entry projection. `expanded` initializes a section/accordion. `vertical` affects nav/tabs/divider orientation. `scroll` creates an internal overflow region with keyboard access. `loading` exposes busy state and disables reactivation. `dismissible` adds an accessible dismiss control. Toasts do not disappear on an implicit wall-clock timer. `ordered` and `none` cannot both be true.\n\nThe executable extensions are `bind`, `form`, `buttonType`, `autocomplete`, `minLength`, `maxLength`, `initialFocus`, `modal`, `data`, `options`, `columns`, `requirementRefs`, `obligationRefs`, typed `on`, `visibleWhen`, `enabledWhen`, `states`, `variants`, and `when`. Full shapes and permitted element pairs are in the schema. A page is a board and cannot have visibleWhen/enabledWhen/when; put these on its content. Layout definition attributes are states and on (enter/exit handlers only); component definition attributes are states only. Component parameters are distinct from attributes.\n\n## 8. State, expression and operation binding\n\nState declarations have `id,type,initial,lifetime,sensitive`. Types are string, number, boolean, record, list. Record/list values are bounded JSON data with no functions or prototypes. `lifetime=mount` resets when the owning scope leaves; session retains until scenario reset. App scope is always session. Sensitive state is omitted from trace values and persistence. Scope references use `app:id`, `shell:id`, `screen:id`, `component:id`; a bare source name normalizes to the nearest declaration in component\u2192screen\u2192shell\u2192app order. Canonical state references are explicit. Reading another screen\'s local state is prohibited; share an app state deliberately.\n\nExpression is a tagged value: `{literal}`, `{state}`, `{event}`, `{read:{source,path}}`, or `{call,args}`. `{param:id}` is allowed only inside an unbound component template and becomes a literal before runtime. No implicit JavaScript evaluation or string interpolation occurs. `event` exposes only value/checked/key for an event that supplies it. Read paths access own JSON properties only; `__proto__`, `constructor`, `prototype` and missing paths error. Strings compare by Unicode code point order; equality is structural JSON equality without coercion. `eq/ne` accept all JSON values; order operators require both number or both string; contains/startsWith take strings, and in checks membership in a list. all/any evaluate left to right with short-circuiting; not takes one guard.\n\nExpression calls are closed: length(1 string/list), lower/upper/trim(1 string), add/subtract/multiply/divide(2 numbers), concat(2\u201316 strings), coalesce(2\u201316 values, first non-null). Division by zero, bad arity and incompatible types are errors. lower/upper use locale-independent Unicode default case conversion; trim uses the release-pinned Unicode whitespace set. Profiles use Unicode 15.1.0 data for these operations; the runtime bundles the required mapping rather than inheriting a changing host locale. Expression recursion counts against AST depth.\n\nHandlers have stable id, event, optional guard, ordered operations and concurrency=drop|queue. Handler IDs and operation IDs occupy separate domains; operation IDs are unique across all handlers of their owner so a source binding needs no implicit handler qualifier. key is required only for keydown. enter/exit attach to page/layout only; submit attaches to form; input/change attach to value controls; other event/element incompatibilities error. An exit handler permits only executable set/reset/toggle/filter/sort/close operations; simulation, specified effects, navigation and event dispatch from exit are WW_EVENT errors. State initializers cannot reference mutable state or events. Outcome guards may read state but cannot mutate it. Multiple handlers for the same element/event/key are rejected; combine effects under one handler. Runtime ordering and every effect are defined in `contract:core/runtime`.\n\nSource shorthand `navigate=id` becomes one executable navigate operation with a resolved typed screen target. Explicit URLs use href or `{kind=url,url=...}`. `opens`/`toggles` become overlay operations. `action=back` and `action=close` map to navigateBack and close nearest overlay on an action control. `action=submit` is allowed only on button and normalizes to buttonType=submit plus its explicit or unique enclosing form ID; it creates no submit Effect. Native form submission dispatches the form handler after validation. Ambiguous/missing form and conflicting buttonType declarations error. Other action IDs are WW*REFERENCE errors; use an explicit typed on handler or specified operation. Handler names are not callable functions. Shorthand and typed on for the same event conflict. In a strict app, single-action shorthands require an explicit owner ID and receive handler ID `shorthand*<event>`and operation ID`primary\\_<event>`; those IDs are scoped to that owner. They remain stable when unrelated nodes move. Equality guards `{state,equals}`normalize to typed eq;`effects` in a source handler normalize to operations with source-local IDs, executable class, after=[], onFailure=stop and obligationRefs=[]. Typed app handlers/operations use explicit IDs before acceptance; the shorthand-derived IDs above are the only implicit durable IDs.\n\n## 9. Registry, source mapping and canonical bytes\n\nRequirement and ImplementationObligation contents conform to `contract:product/contracts` and the product schema referenced by `RequirementRegistry`. They are defined once in registry.entries and addressed by UUIDv7. A Core-only app carries its own registry; controllers refer to its IDs. Studio import atomically incorporates the registry into the product model. Equal IDs with different content produce a conflict, never overwrite. A candidate export fixes candidate DSL and candidate registry together.\n\nThe registry envelope is the product schema Registry with schemaVersion, entries and digest. Core checks registry IDs, their requirement/obligation links and source bindings. Product validator owns references to Persona, Capability, Decision and other product graph nodes; Core does not invent these nodes or demand the full product graph for rendering. The registry digest is `sha256:` plus SHA-256 of UTF-8 [RFC 8785 JCS](https://www.rfc-editor.org/rfc/rfc8785) serialization of entries. Entries are a set sorted by `(kind,namespace,id)`; operation, source child, fixture-step and scenario-step arrays preserve order. JCS is adopted as this contract\'s serialization scheme, not described as an IETF Standards Track specification. Source artifact bytes use their original byte digest, not JCS or text normalization. Local references carry IDs; artifact-boundary references fix revision and digest. Hash inputs never recursively substitute target objects or include their own digest field.\n\nCore returns mappings from logical node/operation IDs and rendered instance IDs to module ID, original UTF-16 code-unit half-open span, line/column (one-based) and registry references. UTF-8 byte digest and UTF-16 span units are distinct. Imported component output maps to both definition and invocation spans. A diagnostic on an expanded argument includes both locations. Source maps are deterministic and exclude developer-local absolute paths, secrets and arbitrary source contents.\n\n<a id="validation-and-conformance"></a>\n\n## 10. Validation and conformance\n\nValidation runs parse \u2192 structural schema \u2192 import graph/cycle validation \u2192 symbol binding \u2192 template type checking and bounded expansion \u2192 viewport/state/route/operation/registry checks \u2192 immutable linked model. Compilation consumes only that linked model. All errors are collected up to the profile diagnostic limit, sorted by module input order, span start, phase and code. Truncation emits WW_DIAGNOSTIC_LIMIT with the omitted count; it does not change failure to success.\n\n| Diagnostic family | Rejection condition |\n| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |\n| WW_SYNTAX / WW_ENCODING / WW_DUPLICATE_KEY | Invalid token/escape/UTF-8, duplicate attribute or record field |\n| WW_SCHEMA / WW_UNKNOWN_ATTRIBUTE / WW_ATTRIBUTE_DOMAIN | Invalid canonical shape, unknown property, incompatible value or element pairing |\n| WW_DUPLICATE_ID / WW_IMPORT / WW_CYCLE / WW_REFERENCE | Duplicate identity, missing/unexported/digest-mismatched import, cyclic expansion, wrong-kind or unresolved target |\n| WW_PARAMETER / WW_SLOT / WW_LIMIT | Invalid parameter/fill, slot cardinality, input/expansion resource limit |\n| WW_STATE / WW_EVENT / WW_EFFECT / WW_GUARD | Invalid state scope/type, event binding, effect class/dependency or guard |\n| WW_VIEWPORT / WW_ROUTE / WW_ACCESSIBILITY | Incompatible frame, invalid entry/history target, invalid accessible control contract |\n| WW_REGISTRY / WW_ASSET / WW_UNSUPPORTED_VERSION | Registry digest/ref mismatch, invalid asset, unavailable required language/profile |\n\nNo first-wins name resolution, title heuristics, silent resizing, unknown-action no-op or generated JavaScript recovery is permitted. Tolerant editor recovery returns an invalid partial syntax tree with diagnostics and cannot enter strict compile. A specified operation is valid when its obligation is complete; that does not prove the external function is implemented.\n\n`examples.json.valid` must satisfy the canonical schema. `invalid` must be rejected structurally; `semanticInvalid` must pass shape checks and fail the named semantic rule. Conformance also checks every vocabulary member/attribute domain, parse-print equivalence, import collision/cycle, repeated instance identity, mixed effects, registry preservation and independent HTML behavior. Required examples are validated against source parser and linked output in an implementation conformance run; document-schema validation alone does not replace that run.\n'
2889
+ },
2890
+ {
2891
+ uri: "urn:wireweave:core:resource:sha256:d49afcdfa7f56bd02cb65069cb836b80d32fdfdfb763c117c44822d6aa2585a8",
2892
+ path: "docs/spec/RUNTIME.md",
2893
+ digest: "sha256:d49afcdfa7f56bd02cb65069cb836b80d32fdfdfb763c117c44822d6aa2585a8",
2894
+ byteLength: 34284,
2895
+ mediaType: "text/markdown",
2896
+ text: "# Wireweave deterministic runtime and output\n\nContract: `core/runtime`. Language `4.0.0`; execution profile `standard-1`.\n\n## 1. Input and output boundary\n\nRuntime consumes the immutable linked model produced under [LANGUAGE.md](LANGUAGE.md), a fixed Profile and fixture definitions. It does not parse DSL, resolve names heuristically or discover product intent from labels. State machine inspection, transition extraction, canvas projections and standalone HTML consume that same model. Core does not contain provider calls, account APIs, billing, interviews or host canvas navigation.\n\n| Output | Required contents | Execution claim |\n| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |\n| fragment | Escaped HTML, scoped CSS, logical/source map, diagnostics, requirement references | Insertable visual/semantic tree; native controls can respond, but full app execution is not asserted |\n| canvas | Fixed-size board fragments, x/y/width/height, logical screen/variant IDs, source maps, total bounds | Review projection; coordinates and editor next/previous controls do not create product routes |\n| app | One standalone UTF-8 HTML document, neutral CSS, fixed official runtime, validated linked registry/fixtures/assets, integrity manifest | Authored controls execute supported operations without Studio APIs or server fallback |\n| svg | SVG viewBox of selected boards, semantic titles/descriptions, export manifest and unsupported-feature diagnostics | Static representation; foreignObject support is recorded in the output profile |\n| json / design-system mapping | Canonical model or typed mapping with loss/unsupported reports | No invented interactions or implied Figma import/round-trip capability |\n\nApp export emits no partial success. All required modules, referenced assets, state scopes, routes, fixtures and registry records must validate first. Fragment preview may display an invalid draft only with an explicit invalid result and source diagnostics. Error-recovered ASTs never enter app compilation. A valid specified obligation is not a compile error; it is explicitly unexecuted functionality.\n\n## 2. Runtime state and event order\n\nThe store contains the current route, instantiated shell/screen/component scopes, overlay stack, focus-return stack, fixture cursors, virtual clock, pending requests, queue, sequence counter and reset generation. DOM values are projections of this store. Native controls provide input events; they do not constitute a second persistent state store. No hidden localStorage/cookie/IndexedDB persistence is performed. Reload restores initial fixture/state at the addressed route. Persistence beyond this lifetime requires a separately declared product capability, never a renderer default.\n\nA semantic event starts an activation. Each synchronous segment of that activation is one transaction; awaiting a simulated result suspends it and the continuation runs in a new transaction. Earlier committed segments are not rolled back when a later segment fails. The order is:\n\n1. Capture normalized event data and source instance identity. Reject events from inactive, hidden, disabled or detached owners. Keyboard modifiers for link opening retain native browser meaning.\n2. For input/change, normalize the native value to the binding type, apply code-point length and numeric constraints, and stage the bound state update. IME composition is not committed until compositionend; input events during composition do not dispatch user handlers.\n3. For submit, run form validation before its handler. Invalid controls expose messages, the first invalid control receives focus, and no submit operation executes. No browser form action request is sent.\n4. Read the handler guard against the staged state snapshot. A false guard records `guard-false`, commits a valid input binding if present and runs no operations.\n5. Validate all operation shapes/dependencies statically, then evaluate the next synchronous prefix in declared order against current instances, stopping at simulate or the end. The next operation reads prior staged writes. Invalid types, invalid references, forbidden targets or exceeding a limit abort this segment without a partial state/route commit. At simulate, stage pending status and reserve its output states; do not execute its following operations yet.\n6. Publish the new state once, render visible/enabled/selected/pending/error outcomes, perform the final requested focus action, and append a trace entry. Focus-induced events enqueue after this commit; they do not re-enter the transaction.\n7. Dispatch the validated fixture request with its immutable activation/operation ID, reset generation and virtual deadline. Its queued completion transaction publishes result/status/error state, records the operation outcome, and resumes following operations according to after/onFailure. It never mutates state during another transaction. A continuation revalidates live instances and reads their then-current state; its captured event payload remains the original normalized event.\n\nOne handler exists per element/event/key. Events process FIFO by `(virtualTime,sequence)`. For a route change, pending-request cancellation is staged first; exit handlers run synchronously in the departing live scopes before unmount and before the route commits. Exit order is page then departing layout; enter order is new layout then page. A retained layout has neither exit nor enter for a page-only route change. They read the staged state. Only set/reset/toggle/filter/sort/close effects are permitted in exit, so exit cannot await or navigate recursively. An exit failure aborts the complete route segment, including its staged cancellations. After successful exit, departing overlays close and mount-lifetime scopes unmount; the route commits, then enter events enqueue for active destination scopes. Both lifecycle phases count toward the same microstep bound. Session-lifetime state remains associated with its stable owner ID and restores on remount. Shared shell state remains mounted while the route uses the same shell/profile instance.\n\n`concurrency=drop` rejects reactivation of a handler with pending simulation as `busy`; `queue` enqueues it after the earlier activation. Default source shorthand is drop. The queue stores normalized input snapshots, not live DOM objects. A timeout, reset or unmount invalidates matching pending request identities. Late responses record `stale-response` and cannot update another instance or generation.\n\n## 3. Operation contract\n\nEvery Operation has id, executionClass, effect, after, onFailure and obligationRefs. Operation IDs are unique across every handler of the same owner; handler IDs are independently unique on that owner. `after` names earlier operations of the same activation; forward/self references or dependency cycles are errors. Array order is execution order. A dependency must have succeeded, rather than merely returned. `onFailure=continue` allows only subsequent operations that do not depend on the failed operation. Trace records failures and skipped dependents; continue does not turn the activation into passed.\n\n| Effect | Required inputs and exact behavior |\n| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| navigate | Typed screen or URL target and history=push/replace. Resolve screen before commit; apply route lifecycle. An external target is a declared browser navigation with no claim about destination availability. |\n| navigateBack / navigateForward | Move within this app's history entries; at either boundary leave state unchanged and expose `history-boundary`. Never close an overlay as a substitute. |\n| set | Evaluate expression and replace a declared state with a value of its type; record/list replacement is immutable. |\n| reset | Restore one state declaration's initial value; does not change route, fixtures or other states. |\n| toggle | Negate boolean state; non-boolean target is a compile/type error. |\n| open / close / toggleOverlay | Address a modal/drawer/popover/dropdown in the owner scope; apply stack/focus lifecycle. Reopening an open target is idempotent and does not duplicate focus records. |\n| focus | Focus an enabled visible focusable element after commit; invalid target errors before mutation. |\n| validate | Validate the addressed form, exposing native and declared constraints; failure stops dependents and focuses the first invalid control. |\n| filter | Read a list of records, query string and field. Keep records whose field's string value contains the query after locale-independent lowercasing; empty query copies the list. Missing/non-string fields error. Write a new list to target. |\n| sort | Read a list of records and homogeneous string/number field; stable sort ascending/descending, preserving original index for ties. Missing/null/mixed-type fields error; the source list is unchanged. |\n| simulate | Address fixtureRef, resultState, statusState, errorState and positive timeoutMs. All three state refs are distinct; statusState is string with initial idle, errorState is record with initial {}. Invocation writes pending and clears error; success writes result, succeeded and {}; error/timeout preserves result, writes failed and structured error data. The continuation starts only after completion. |\n| specify | Present the referenced implementation obligation and record `specified-unexecuted`. It performs no external effect and cannot satisfy a success dependency. |\n| resetScenario | End the current activation and reset route to entry, all state, fixture cursors, clock, overlays, selection, validation messages and queue; increment reset generation. |\n\nexecutable accepts all effects except simulate/specify; simulated accepts only simulate; specified accepts only specify and requires at least one obligation reference. One interaction can combine the classes. An external implementation obligation can also accompany an executable or simulated operation; creating a simulation does not discharge that obligation.\n\nA source form submit with local validation, simulated authentication and route navigation is represented as ordered operations. The navigation depends on successful simulation; simulated authentication can never be recorded as server authentication success. UI errors and retries are authored state/operations. Runtime supplies their mechanism, not product-specific messages or business decisions. Guards such as statusState=failed expose an authored denial message; correcting form values and submitting again consumes the next fixture step. This failure branch is observable without converting a denied result into navigation success.\n\n## 4. Fixture scheduling and reproducibility\n\nProfile.clockStartMs initializes an integer virtual clock. A Fixture contains id, nonempty ordered steps and exhaustion policy. Each step has delayMs, outcome=success|error|timeout and a JSON value. Cursors are scoped to the app reset generation, not globally shared across runs. Each call atomically consumes the next step. Exhaustion either yields `fixture-exhausted` or reuses the last step according to the explicit policy; it never fabricates a success response.\n\nThe automatic browser scheduler advances virtual time monotonically from the host monotonic timer. The conformance driver pauses it and calls advanceClock(deltaMs), producing the same ordered due events for the same inputs. Wall-clock date, timezone, Date.now and Math.random are not exposed to expressions. Authored clock values are absolute fixture data. For equal deadline and response time, timeout is processed first. Due events at equal time use request sequence order. A zero-delay response is queued after the initiating transaction, never delivered inline. There is no hidden jitter.\n\nFixture errorState receives `{code,value,operationId}`. A declared error step uses code=`fixture-error` and its JSON value; timeout uses code=`timeout` and value=null; exhaustion uses code=`fixture-exhausted` and value=null. A runtime type/limit rejection remains a diagnostic and is not relabeled as a fixture response. The status/result/error refs are reserved by the pending request. Another handler or binding attempting to write a reserved state receives `state-busy`; reads remain allowed. Completion/cancellation releases those reservations. Unmount cancellation releases every reservation even when the request owner is being removed. It writes status=cancelled and error `{code:\"cancelled\",value:null,operationId}` to each target state whose lifetime survives that unmount, including app, retained shell and session-lifetime local state. Only removed mount-lifetime targets omit the write. The result is preserved; queued activations for the departing owner are cancelled. Reset restores initial state instead. outcome=timeout completes at the request deadline and does not expose its value as a success result. The resultState type must accept every success step before compilation. Reset cancels pending scheduled events by generation and restores all cursors. Pausing, sleep/wake and browser throttling may delay presentation but cannot reorder logical events or change their outcomes.\n\nFixtures are non-authoritative sample data. They contain synthetic credentials and accounts only. Their IDs and digest appear in export and evidence. If a user must choose among success/failure variants, that control is labeled as simulation tooling and excluded from the authored product control inventory. It does not replace reachable product transitions.\n\n## 5. Route and history semantics\n\nThe canonical route address is `#wf/<encoded-namespace>/<encoded-page-id>` plus `?variant=<encoded-variant>` when selecting a review projection. UTF-8 percent-encoding is applied to segments, never to the separators. Runtime route selection uses identity, not document index, title, slug, label or canvas location. An absent fragment selects the explicit entry. A malformed or unresolved fragment renders an accessible error view that displays the address and an actual link to entry; it does not silently open the first page.\n\nInternal anchors carry their real canonical href. Plain primary clicks update the route/history; modifier clicks, middle clicks, copy-link and open-in-new-tab retain browser behavior. In file profiles no server path fallback is used. External URLs use native navigation and opener isolation. Forbidden schemes, credential-bearing URLs, control characters and ambiguous internal/external declarations are compilation errors. A bare source navigate string is a screen identifier; URL-shaped bare strings are rejected with an explicit-target diagnostic.\n\nPushing the already-current route is idempotent. Replace changes the current entry without adding one. Browser back/forward restores the addressed screen and session state of the existing running app; it does not replay submit or external effects. On initial load or reload, the addressed screen uses fresh initial state/fixtures; its entry preconditions must be represented by that profile's fixture, or the authored guard routes to a permitted alternative. History stores only route identity and app history sequence, never secret state. Core's history actions do not move outside the app's known history range; the browser's own history controls remain under browser ownership. When a same-app popstate has already changed the URL and exit rejects it, the runtime retains the committed UI/state, performs the inverse traversal using recorded app history sequence, and consumes the compensating event without replaying exit. Interaction remains suspended until the committed address is restored. For an unrecorded same-document address, rejection restores the committed URL with replaceState and starts a new known app-history range at that entry; the browser retains ownership of its other entries. A failed transition may not leave rendered route and browser address disagreeing.\n\nReview `variants` project a screen under named states without changing its identity. `when` removes content from excluded board projections; runtime guards change the current logical screen's visible/enabled state. A scenario's state transitions must use executable state declarations and operations. They are not proved by switching a review-board selector.\n\n## 6. Native controls, keyboard and focus\n\nText input, textarea, select, checkbox, radio, switch and slider emit native controls with associated labels. Each label's for/id pair is scoped to the rendered instance. Control values are bound once. Checkbox/switch bind booleans; text/select/radio bind declared scalar types; number/slider reject non-finite conversion. Empty numeric input is an invalid pending edit, not numeric zero. Forms own unique submission names. Buttons default to type=button; submit/reset are explicit and name an owning form. Enter submission uses the same handler as activating submit.\n\nLinks remain anchors, actions remain buttons. In the neutral app profile, `primary` gives an actionable link or button the same filled treatment while preserving its native behavior and focus indication. An icon-only action requires an accessible name and visible focus cue. Disabled/hidden/readonly are different states; readonly does not remove focus, disabled blocks activation, hidden removes focus and accessibility exposure. Loading uses aria-busy and the declared concurrency policy. Mutation that hides the focused element moves focus to its nearest visible owning region, then the screen heading if needed.\n\nModal uses native dialog semantics (or an equivalent implementation with the same tested behavior): focus enters the declared initialFocus, otherwise the first focusable child, otherwise the dialog container. Background content becomes inert. Tab stays within the top modal. Escape closes the top closable overlay and returns focus to the opener if still visible/enabled, otherwise to the active screen heading. A nested modal preserves the prior overlay's focus context. Non-modal drawer/popover does not trap focus. Accordion uses details/summary behavior. Tooltip opens on focus and hover, closes on Escape and does not contain interactive content.\n\nTabs have tablist/tab/tabpanel relationships, one selected tab and roving tabindex. Left/Right (Up/Down in vertical mode), Home/End move focus; Enter/Space activates. Disabled tabs are skipped. Dropdown uses a button trigger, menu/menuitem semantics, arrow/Home/End navigation and Escape return. A route navigation is never inferred from tab selection. Status messages use an appropriate live region without stealing focus. Critical errors remain until explicitly resolved; toast dismissal is an explicit user or fixture action.\n\nThese mappings use [HTML hyperlinks](https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element), [forms](https://html.spec.whatwg.org/multipage/forms.html#the-form-element) and [dialog behavior](https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element) as the platform contract. ARIA decoration alone does not implement those behaviors.\n\n## 7. Fixed boards and accessible execution\n\nEach profile fixes width and height before layout. Page device, viewport and width/height declarations must resolve to the same dimensions when combined; otherwise WW_VIEWPORT. A page with no dimension declaration uses its explicit profile. Shared shell/page pairs must use the same fixed profile. Desktop/mobile are distinct profiles; breakpoint attributes are selected against that profile once. Resizing the host never changes the authored board. Host scale/scroll/clipping can change its presentation without changing its internal layout.\n\nCanvas places explicit coordinates exactly. Unplaced boards flow horizontally from x=0/y=0 in input order, advancing beyond already placed bounding boxes with a 64px gap. Auto-placement never overlaps an explicit board; explicit overlaps remain authored and are reported as such. Bounds include negative positions. Canvas pan/zoom, editor titles, minimap, selection handles and review next/previous buttons are host-owned chrome and absent from app HTML.\n\nThe app supplies a discoverable accessible execution view from the same model, with the same route, controls, state store and operations. It reflows ordinary forms, explanations and requirement panels at 320 CSS px and preserves content/function at 200% text enlargement. Only regions requiring two-dimensional layout use the corresponding reflow exception. Fixed visual boards are not a blanket exception. Switching representation keeps logical focus, input values and pending operations; it does not execute hidden duplicate controls. There is one active interactive representation, and the inactive view is inert.\n\nAcceptance applies [WCAG 2.2 AA](https://www.w3.org/TR/WCAG22/), including text enlargement, reflow, text spacing, keyboard, names/roles/values, focus visibility, contrast, errors and target size. A screen-reader-only text dump does not establish equivalent execution. Alternate-view discovery, complete processes and every authored operation are tested. SVG and static tiles are not presented as substitutes for accessible execution.\n\n## 8. Neutral rendering and isolation\n\nThe neutral profile defines surfaces white/#f4f4f5, text #18181b, muted text #52525b, borders #71717a and focus #18181b with a 2px outline plus 2px offset. State uses text, line style and icons as well as tonal differences. There is no color-only status. Radius is 4px when rounded; pill uses half-height; outline is 1px; elevation tokens use neutral 1/2/4/8px shadows for sm/md/lg/xl. Font is the profile-pinned self-hosted font asset, with a documented system fallback; rendering evidence records which font loaded. Core CSS values do not define the target product's brand system.\n\nEvery style selector is scoped to the wireweave root. DOM IDs are `wf-` plus lowercase SHA-256 of UTF-8 JCS `{identity:LinkedIdentity,projectionId}`; projectionId is the explicit board/profile projection key. Repeated/canvas instances share a logical source identity only when their declaration and full instance path agree. A digest collision or duplicate identity is an error, never a suffix chosen from DOM order. Component, overlay, form, label and requirement ID references use the same scope function. No duplicate DOM ID is permitted. Fragment CSS is returned separately and inserted once by the host; app CSS and official runtime are embedded once. Runtime code cannot be authored inside a DSL field.\n\nApp assets are supplied bytes verified by digest/byteLength/mediaType. PNG/JPEG/WebP and sanitized SVG are accepted; SVG scripts, `foreignObject`, event handlers and external `href`/`src`/`url()` references are rejected. Fonts are verified WOFF2 bytes. Asset IDs are unique, each asset is limited to 16 MiB and all embedded assets to 32 MiB. `fontAssetId` must resolve to a validated WOFF2 asset. The artifact manifest records the ordered `{id,mediaType,digest,byteLength}` list; the HTML embeds only the validated bytes as data URLs. Unknown/missing assets error in app compilation; designated placeholders are authored explicitly. Default app rendering does no fetch, remote font lookup, tracking, WebSocket, worker or storage access. Explicit external link navigation remains user-controlled and is not an asset fetch permission.\n\nRequirement HTML panels and a `<script type=\"application/json\">` data block derive from the same fixed registry. Data-block JSON escapes `<` as `\\u003c` and rejects invalid Unicode, preventing `</script>` termination. Attribute/text escaping and URL validation are context-specific. Rendered markup never includes secrets, raw provider tool output or developer-local absolute paths. [HTML data blocks](https://html.spec.whatwg.org/multipage/scripting.html#the-script-element) are non-executing; their contents still require safe HTML serialization.\n\nStudio iframe previews use sandbox isolation with only the official runtime capability and no host credentials, navigation grants or unrestricted message handlers. Messages carry instance ID, protocol version and revision; hosts validate origin/source and payload. Output grants are explicit and reflected in the artifact manifest. App compilation emits attribute-derived styles into scoped classes in its fixed stylesheet, and runtime changes classes rather than creating style attributes. CSP includes only hashes of the fixed inline runtime/style and approved data resources; it denies connect, object and unapproved frame sources. Browser tests observe network requests, console errors, policy violations and host-boundary escape attempts.\n\n## 9. Numeric resource profile\n\n`standard-1` limits are mandatory upper bounds, not implementation targets. Hosts can reject smaller limits at admission with a named profile; they cannot raise these silently or truncate data. Parsing and expansion check budgets before allocating or recursing.\n\n| Resource | Bound |\n| ------------------------------------------------------ | ------------------: |\n| UTF-8 bytes per source module / bundle | 8 MiB / 64 MiB |\n| Modules / import depth | 256 / 64 |\n| Parsed nodes / expanded nodes | 250,000 / 1,000,000 |\n| Structural or expression depth | 128 |\n| Screens / variants per screen | 2,000 / 128 |\n| Repeat count / parameters or slots per component | 1,000 / 128 |\n| State declarations per scope / handlers per node | 4,096 / 32 |\n| Operations per handler / microsteps per semantic event | 128 / 256 |\n| Queued semantic events / concurrent fixture requests | 4,096 / 128 |\n| Fixture definitions / steps per fixture | 10,000 / 1,000 |\n| List records / fields per record | 10,000 / 1,000 |\n| Fixture delay or timeout | 600,000 ms |\n| Asset bytes each / all embedded assets | 16 MiB / 32 MiB |\n| Registry entries / requirement references per node | 100,000 / 1,024 |\n| Serialized HTML bytes / total diagnostics | 64 MiB / 1,000 |\n\nCrossing a runtime bound aborts the current transaction, retains the prior committed state, cancels its pending effects and records a typed limit error. The UI exposes recovery/reset; it does not freeze in a spinner or continue an unbounded immediate-transition loop. Time measurement used for local UI performance is separate from logical fixture time.\n\n## 10. Trace and acceptance\n\nA runtime trace record contains schemaVersion, app/model/profile digest, sequence, resetGeneration, virtualTime, route, logical source and rendered instance, handler/operation ID, executionClass, normalized event, state-delta digest, result and diagnostic references. Sensitive state values are redacted before storage; their raw hash is not exposed as a guessing oracle. Results distinguish succeeded, failed, skipped-dependency, guard-false, busy, history-boundary, specified-unexecuted, stale-response and cancelled. Trace sequence is append-only within a generation; reset is an explicit record.\n\nConformance compares identical input models, profile/fixture bytes and event sequences for identical semantic traces and compiled HTML bytes. Browser rendering comparisons also pin browser/font/OS and viewport. DOM visibility, accessible state, route/history, focus, pending/error/retry, duplicate submit and network effects are observed in the actual exported file. Unit snapshots and host screen paging cannot establish that acceptance. The producer and verifier are distinct roles; a generated success message is input to verification, not evidence of success.\n\n`RuntimeInput` is the conformance driver's closed input union: event, advanceClock, reset and address. An event source is the full LinkedIdentity copied from sourceMap, including its screen/shell root and typed use/repeat path; an empty path addresses a non-repeated root control. Paths are copied from source maps, not guessed from DOM order. `click`, `submit`, `focus` and `blur` carry no `value`, `checked` or `key`; `keydown` carries a string `key` only; `input` and `change` carry `value` for text-like/select/slider controls or boolean `checked` for checkbox/radio/switch controls. Unknown fields, undefined values, wrong payload types, mismatched event fields and events from inactive, hidden or disabled controls are rejected atomically. `address` uses the same browser-fragment parser as a real location change. Drivers cannot inject enter/exit, fixture responses or operation success directly.\n\nEach `RuntimeCase` references a valid corpus example and executes its ordered steps from a fresh reset. The driver pauses automatic time. Each `RuntimeExpectation` compares the named state subset by structural equality, route identity, pending-request count and reserved-state count after draining that input's synchronous microsteps. Missing expected fields mean no assertion, not zero. A runtime case passes only from actual reducer/browser evidence; schema validation of the case is its input-shape proof. The corpus covers failed-fixture retry, cancelled requests writing surviving app state, exit state updates before unmount, and caller-owned controls in component slot fills.\n"
2897
+ },
2898
+ {
2899
+ uri: "urn:wireweave:core:resource:sha256:df5c672747e94ca7e02eefe13bf256617c0e5d4a230555144a995ec87c962c42",
2900
+ path: "docs/spec/TOOLING.md",
2901
+ digest: "sha256:df5c672747e94ca7e02eefe13bf256617c0e5d4a230555144a995ec87c962c42",
2902
+ byteLength: 37489,
2903
+ mediaType: "text/markdown",
2904
+ text: "# Wireweave public tools and integrations\n\nContract: `core/tooling`. Language `4.0.0`; protocol schema `1.0.0`.\n\n## 1. Shared tool contract\n\nThe npm library, SDK local dispatch, CLI, MCP server, markdown integration and editor use one versioned Core grammar/catalog and result model. Deterministic parse/validate/render/analyze/diff/export/grammar calls execute locally and require no account or API key. Selecting a remote service is an explicit capability choice under `contract:studio/collaboration`; a failed local call cannot fall back to a remote call or transmit its input.\n\n`@wireweave/core` publishes ESM and CJS with declarations. Public subpaths are `.`, `/parser`, `/renderer`, `/spec`, `/app`, `/interaction`. `/spec` exports the language/schema/catalog fingerprints and a URI-to-bytes resolver containing the exact immutable transitive schema closure, including the product Registry schema and its digest. Public npm consumers validate offline using those bundled resources; they need no private workspace, product service, account or network schema resolver. Every export in the release manifest must exist in the packed artifact, have substantive contents and resolve all imports. Importing any entry is side-effect-free: no process globals, prototype mutation, filesystem/network I/O, timers or account initialization. Core does not depend on host, SDK, provider or Wireweave binding packages.\n\nThe installed `/spec` source-resource surface is `languageSourceResources` and\n`resolveLanguageSourceResource(uri)`. It embeds exact UTF-8 bytes (as immutable text),\nSHA-256 digests, byte lengths and media types for LANGUAGE.md, RUNTIME.md, TOOLING.md\nlanguage.ebnf and schema.json, with the supplying package name/version. Resource URIs are\ncontent-addressed opaque identities: only exact listed URIs resolve; unknown URIs,\nfragments and arbitrary URLs return null without I/O. No caller-controlled path is read.\nThis is a source asset catalog, not a complete language profile or conformance claim.\n`languageSchemaSource` has `coverage: 'partial'`. Its `resource` holds the exact\npublic Core schema source and its byte length and SHA-256 digest. `schemaId` and\n`dialectId` identify the schema and declared dialect. Each `externalRefs` item\nrecords the reference as written and its fragment-free target `resourceId`.\nThe current external reference targets the product Registry definition. The inventory\ndoes not resolve those identifiers, embed the product Registry, or establish\ntransitive validation closure. Consumers requiring the complete contract above\nmust fail closed until they have verified its full closure.\n\n`languageCatalogFingerprint` in `/spec` identifies the generated Core DSL catalog. Scope `wireweave-core-dsl-catalog-v1` includes\n`GRAMMAR_ELEMENTS`, `GRAMMAR_BLOCK_NODE_TYPES`, `GRAMMAR_CHILD_KEYWORDS`,\n`COMPONENT_SPECS`, `BLOCK_NODE_SPECS`, `ATTRIBUTE_SPECS`, node-type-keyed\n`ATTRIBUTE_OVERRIDES`, and `LUCIDE_ICON_NAMES` (IDs only). It includes descriptions\nand excludes glyph paths. Canonicalization `wireweave-sorted-json-v1` encodes\n`{scope, canonicalization, catalog}` as compact JSON, sorts object keys by UTF-16\ncode units and preserves array order. JSON scalar encodings follow ECMAScript\n`JSON.stringify`; unsupported values, sparse arrays and cycles fail generation.\nThe UTF-8 bytes of that envelope produce `byteLength` and the\n`sha256:`-prefixed `digest`. Consumers can reconstruct the envelope from the\neight named exports and the two version identifiers. Build-time generation keeps imports independent of\nfilesystem access, network access and Node crypto. This fingerprint covers the\nlisted catalog values; schema closure, runtime and full language conformance\nneed separate evidence.\n\nThe release pins Node engine, Core/language/schema versions, icon and Unicode datasets, renderer/runtime digest and supported browser profiles. Tool discovery reports these values. A client cannot claim support from a package name or semver range alone. The installed release is selected at installation/admission; a plugin does not download npm latest during every invocation.\n\n## 2. Pure library API\n\nTypes named below refer to the corresponding definitions in [schema.json](schema.json). `ParsedDocument` includes normalized modules and app options; `AppBundle` fixes a complete input set. `LinkedApp` is immutable, opaque and version-tagged: only a successful linker/semantic validator constructs it. Callers cannot turn arbitrary JSON into LinkedApp with a type cast.\n\n`Result<T>` is `{ok:true,value:T,diagnostics:Diagnostic[]}` with no error-severity diagnostic, or `{ok:false,value:null,diagnostics:Diagnostic[]}` with at least one error. A recovered syntax tree is in a separate `partial` field and is always invalid. A count/limit truncation retains the failure flag. Diagnostics use [LANGUAGE \xA710](LANGUAGE.md#validation-and-conformance). Programmer misuse throws TypeError; authored input errors use Result except for the explicit throwing parse facade.\n\n| API | Input \u2192 output and guarantees |\n| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| parse(source, options?) | UTF-8-decoded string + `{sourceId,languageVersion}` \u2192 ParsedDocument; throws ParseError with structured diagnostics on authored errors |\n| tryParse(source, options?) | Same input \u2192 `Result<ParsedDocument>`, optional invalid partial syntax tree; empty input is a valid empty fragment document |\n| isValid / getErrors | Parse and semantic-fragment validation as boolean / diagnostics; do not suppress missing required imports |\n| printWireframe(document) | ParsedDocument \u2192 canonical source; errors on invalid/unbound construct shapes; does not inline external product facts twice |\n| formatWireframeCode(source, options?) | parse+print with the same normalization and error model |\n| parseToCanvas(source, options?) | ParsedDocument plus canonical board projections/positions; not an executable app |\n| createAppBundle(documents, options) | Complete parsed documents + explicit app ID/entry/profile/registry/fixtures \u2192 `Result<AppBundle>`; verifies content/source digests |\n| linkApp(bundle) | AppBundle \u2192 `Result<LinkedApp>`; performs all import, template, state, route, registry and resource checks, not symbol lookup alone |\n| compileApp(linkedApp) | LinkedApp \u2192 `Result<AppArtifact>`; no output when compilation fails |\n| linkAndCompileApp(bundle) | Exactly linkApp then compileApp with the same diagnostics and output; does not bypass semantic validation |\n| renderSite(bundle) | Convenience alias for linkAndCompileApp; returns AppArtifact, not an unqualified partial HTML string |\n| render / renderPage | ParsedDocument / page + fixed fragment profile \u2192 `Result<FragmentArtifact>`; render uses canvas composition for multiple review boards |\n| renderToHtml | Fragment result \u2192 standalone static-document wrapper; manifest identifies static fragment scope; executable app export uses compileApp |\n| renderCanvas / layoutCanvas | Validated board projections + placement options \u2192 CanvasArtifact / PlacedPage[] with deterministic bounds; no host pan/zoom |\n| renderToSvg | Validated board projections + SVG profile \u2192 `Result<{svg,width,height,manifest,diagnostics}>`; static semantics and asset limits remain explicit |\n| validate / isValidAst / getValidationErrors | ParsedDocument or AppBundle + mode fragment/app \u2192 structured diagnostics / boolean / diagnostics; app mode runs complete linker semantics |\n| extractTransitions | LinkedApp \u2192 node/edge graph with source/operation IDs, guards, executionClass and obligation refs; same targets as runtime |\n| createRuntime / reduceEvent | LinkedApp + profile fixture input / RuntimeInput \u2192 runtime snapshot / pure next snapshot and effects/trace; deterministic conformance seam |\n| advanceClock / resetRuntime | Runtime snapshot + integer duration / reset request \u2192 next snapshot and ordered due events; no wall-clock dependency |\n| analyze | ParsedDocument or LinkedApp + selected axes \u2192 component/data/accessibility/complexity/layout statistics with denominator and unavailable flags; no proof of UX completeness |\n| diff / areIdentical / getChangeSummary | Two same-version canonical documents \u2192 added/removed/changed/moved IDs and field paths / semantic equality / summary; labels are not matching keys |\n| exportToJson / importFromJson | Canonical schema values \u2192 JSON bytes / `Result<ParsedDocument or AppBundle>`; no type information or requirements lost |\n| exportToFigma | Linked semantic nodes + explicit target mapping profile \u2192 mapping document and loss report; no server write or undocumented import compatibility claim |\n| walkDocument / walk / find / findAll / findByType | Deterministic depth-first traversal, preserving source child order; runtime instances and reusable definitions are selectable distinct domains |\n| getValidAttributes / attributeFor / catalogs | Language revision + element kind \u2192 contextual domains/descriptions; icon names are a pinned dataset, not global language keywords |\n| resolveViewport / DEVICE_PRESETS | Explicit profile inputs \u2192 fixed dimensions and typed error; unknown presets never fall back silently |\n| calculateViewportScale / wrapInPreviewContainer | Fixed dimensions and caller container \u2192 scale/wrapper; presentation-only, never page reflow or route selection |\n\nAST type exports include ParsedDocument, AppBundle, Module, Node, Definition, State, Guard, Expression, Handler, Operation, Effect, Fixture, Profile, Diagnostic, logical ID and rendered instance ID types. Existing family names such as WireframeDocument/Page/Component refer to their schema-backed types in this language release. Kind guards narrow those types without accepting arbitrary objects. An export marked internal is not consumed through private source paths.\n\nAppArtifact contains `{html,mediaType:'text/html',byteLength,digest,modelDigest,profileDigest,runtimeDigest,registryDigest,entry,screenIndex,operationIndex,sourceMap,diagnostics,manifest}`. Its manifest contains `{appId,modelDigest,profileDigest,registryDigest,htmlDigest,runtimeDigest,executionScope:'standard-1',assets,unsupportedOperations}`. `assets` is an ordered array of `{id,mediaType,digest,byteLength}` metadata; asset bytes are embedded in the HTML only after Core verifies the profile manifest. FragmentArtifact contains `{html,css,profileDigest,sourceMap,requirementRefs,diagnostics}`. CanvasArtifact adds boards and bounds. A source index references original bytes and spans; it does not silently include confidential full sources. Diagnostic and artifact metadata are serialized separately from HTML except for the explicitly embedded machine index.\n\nApp asset admission is deterministic and fail-closed. Each declared asset must have a unique valid ID, an allowed media type, canonical base64 bytes, matching byte length and SHA-256 digest, and valid PNG/JPEG/WebP, sanitized SVG or WOFF2 content. SVG scripts, event handlers, external `href`/`src`/`url()` references and active external resources are rejected. Each asset is limited to 16 MiB and all embedded assets to 32 MiB. `fontAssetId` must resolve to a validated `font/woff2` asset. An unresolved or invalid asset produces a semantic diagnostic and no AppArtifact; Core never fetches a URL as an asset.\n\n`RuntimeInput` is a closed union of `event`, `advanceClock`, `reset` and `address`. Event sources use the complete `LinkedIdentity`. `click`, `submit`, `focus` and `blur` carry no `value`, `checked` or `key`; `keydown` carries a string `key` only; `input` and `change` carry a native control payload: `value` for text-like/select/slider controls or boolean `checked` for checkbox/radio/switch controls. Unknown fields, wrong payload types, undefined values, mismatched event fields, invalid source identities and events from inactive, hidden or disabled controls are rejected atomically. Drivers cannot inject lifecycle events, fixture responses or operation outcomes.\n\n## 3. SDK dispatch and I/O admission\n\n`dispatch({schemaVersion,requestId,tool,input,execution,output})` has `execution=local|remote`. The default is local. Local dispatch calls the functions above in-process and cannot read credentials. Remote dispatch requires an explicit endpoint/account capability and source transmission grant. Generation calls use `contract:harness/protocol`, not an alternative parser or opaque hosted generation path.\n\nA source input is either `{source,sourceId,languageVersion}` or `{bundle}`; parse accepts source only, compile accepts bundle only, and adapters reject conflicting forms. File inputs are expanded by the caller into bytes and a source manifest before Core execution. The resolver contract is `resolve({moduleId,expectedDigest}) \u2192 {sourceId,bytes,digest,byteLength}` under caller-owned allowed roots, total bytes and symlink checks. A dependency is never fetched because a document contains a URL. Remote selection cannot change the language semantics or exception model.\n\nOutput mode is inline or file. File mode requires an allowed output root and filename; the host writes a temporary sibling, verifies bytes/digest, then atomically replaces the target subject to expected existing digest. Path traversal, symlink escape and unintended overwrite are errors. A storage receipt includes the committed path, digest and byte length. The parser/compiler never returns a file-written success merely because it produced a string. Stdout is not an output directory.\n\nTransport request IDs identify delivery; idempotency keys identify repeatable effects. Retrying a deterministic parse may recompute; retrying an output write with the same key/body returns the stored receipt and a different body conflicts. Tool errors preserve code/phase/source span across every adapter. Human summaries are derived views and never replace machine diagnostics.\n\n## 4. CLI\n\nThe binary is `wireweave`. Node >=22.22.2 and the exact package version in the installed ToolchainProfile are required. `--version` prints tool, Core, language, schema and runtime versions; `--help` prints the catalog for those versions. Installation can use `npm install --global @wireweave/cli@<pinned-version>` or an installed package manager lockfile. Angle-bracket values denote user-supplied versions, not literal shell arguments.\n\nAll local commands accept `--language-version 4.0.0`, `--format json|summary`, `--diagnostics <path>` and a byte-limit profile. Diagnostic output goes to stderr unless a file is selected; successful primary output goes to stdout or `--output`. Multiple input globs expand before Core execution, are sorted by normalized relative path and are recorded in the input manifest.\n\n| Command | Required input | Output/options |\n| ----------------------- | --------------------------------- | --------------------------------------------------------------------------------------------------------------------- |\n| parse | source file or `-` for stdin | canonical parsed JSON; `--include-locations` adds a sidecar map |\n| format | source file | canonical DSL; `--check` compares bytes without writing; `--write` uses guarded atomic output |\n| validate | source file or app bundle | `--mode fragment\\|app`; unknown attributes are errors; `--strict` explicitly selects the same strict behavior |\n| render | source file | `--output`, `--profile neutral-fragment`, `--full-document`; static scope is recorded |\n| compile | app bundle file | `--output app.html`; strict app artifact with inline content/resources |\n| list-components | none | complete element-aware catalog; `--category`, `--format` |\n| grammar | none | `--format json\\|text`; grammar/schema/runtime fingerprints and supported attributes |\n| validate-ux | source/bundle | independent UX-rules package; categories, min-severity, disabled-rule IDs, max-issues; excluded rules remain reported |\n| analyze | source/bundle | selected statistics axes, `--no-accessibility`, `--no-complexity`; unavailable is not zero |\n| diff | two source/bundle files | `--ignore-attributes`, `--ignore-order` only affect the explicitly labeled comparison; not canonical equality |\n| export-json | source/bundle | `--include-locations`, `--no-pretty-print`, `--output` |\n| export-svg | source/bundle | fixed board/viewport selection and manifest; no interactive claim |\n| export-figma | source/bundle plus target mapping | mapping JSON and loss report; no external Figma mutation |\n| login / whoami / logout | selected service profile | auth state only; credentials stay in host secret storage; whoami masks them |\n\n`--theme light|dark` on static/documentation output selects neutral surfaces (light: white surface/#18181b text; dark: #18181b surface/#fafafa text/#a1a1aa muted and border); it cannot inject brand tokens or change behavior. Strict app output uses its profile, and conflicting theme flags error. Exit codes are 0 success, 1 environment/I/O/internal failure, 2 language/schema/semantic rejection, 3 independent UX gate failure, 4 unsupported capability/version, 130 cancelled. Errors never emit an apparently complete app to stdout.\n\nCore/CLI local commands do not consult WIREWEAVE_API_KEY. For explicit remote calls, service profile selection order is flag, environment, saved profile; an API key is obtained by interactive stdin, host secret reference or environment injection, never URL/query parameter or persisted document. Secret storage and browser OAuth callback validation belong to the host service contract. Authentication, rate-limit headers, subscription tiers and prices are owned by `contract:product/policy` and `contract:studio/collaboration`, not repeated in this tool catalog.\n\n## 5. MCP and agent plugins\n\nThe MCP server exposes the same tool schemas and local defaults. Stdio is the baseline transport: stdout is exclusively MCP frames; diagnostics go to stderr. Tool discovery includes exact schema versions, language/runtime capability and a catalog digest. Required capabilities are checked before accepting a call. Cancellation stops pending work/output admission; a completed deterministic artifact is distinguishable from a stored artifact receipt.\n\nThe public tool catalog is owned by the public SDK and reproduced without private-service credentials or database access. MCP and SDK consume the same schemas and endpoint identities. Every published tool declares boolean readOnlyHint, destructiveHint, idempotentHint and openWorldHint values matching its actual effects. Version-producing updates are not idempotent. Input schemas are enforced before dispatch; invalid arguments never reach a remote endpoint. Annotation hints do not grant permissions.\n\nRemote tool calls send the configured account API key only to the configured API URL, reject redirects, carry cancellation and time out after 30 seconds. Source and metadata are transmitted only when a remote operation requires them. The [Privacy Policy](https://www.wireweave.org/privacy) owns hosted-service retention and deletion terms; local deterministic execution does not upload source or require an account.\n\n| MCP tool | Shared operation |\n| --------------------------------------------------------------------- | -------------------------------------------------- |\n| wireweave_parse | parse |\n| wireweave_validate | validate |\n| wireweave_render_html / wireweave_render_html_code | render with identical input/output semantics |\n| wireweave_render_html_file | render plus host-controlled atomic file output |\n| wireweave_compile_app | strict app bundle compilation |\n| wireweave_grammar | versioned grammar/schema/catalog |\n| wireweave_list_components | element-aware component catalog |\n| wireweave_analyze / wireweave_diff | analysis / canonical structural comparison |\n| wireweave_validate_ux | independent UX rules with exclusions reported |\n| wireweave_export_json / wireweave_export_svg / wireweave_export_figma | explicit format conversion with loss/manifest data |\n\nA client registration specifies the pinned executable and args, e.g. command `wireweave-mcp`, args `[]`, environment `{}` for local tools. Client-specific config location and envelope are provided by the installed ClientProfile for Claude Desktop, Cursor or VS Code; they are not inferred from a client brand or outdated filesystem convention. Setup verifies executable discovery, transport handshake, catalog/version digest and a local parse+render with network blocked. Restart/reconnect after changing registration. Failure diagnostics identify executable/PATH, malformed config, missing capability or version mismatch separately from service authentication.\n\nA Claude Code plugin's `/wireweave <command>` delegates the same structured arguments to the installed CLI. It does not concatenate untrusted source into a shell command, hold its own authentication state, recreate a grammar guide or fetch latest during execution. Shell metacharacters in source, paths and labels remain data. Generation/refinement commands dispatch the authorized Wireweave binding with fixed source revisions; deterministic tools do not implicitly select a provider.\n\nHTTP mode is selected with `--http` or `WIREWEAVE_TRANSPORT=http`. It implements [MCP Streamable HTTP 2025-11-25](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports). `/mcp` accepts initialization POST, subsequent POST/GET with the negotiated protocol/session headers, and DELETE for termination. Unknown/expired sessions return 404 and are never silently reinitialized. Unsupported negotiated protocol returns 400. Network disconnection alone is not cancellation.\n\n`WIREWEAVE_MCP_HOST` defaults to 127.0.0.1; `WIREWEAVE_MCP_PORT` defaults to 3305 (integer 1\u201365535); `WIREWEAVE_MCP_MAX_SESSIONS` defaults to 10 (integer 1\u20131024). Invalid configuration fails startup. Initialization reserves a session slot atomically, including in-flight handshakes; exhaustion returns 503 with Retry-After=1. Idle sessions expire after 30 minutes; termination releases the slot and cancels their uncommitted tool work. GET `/health` exposes only status, transport, activeSessions and tool count, with no source, credentials or session IDs. Other paths return 404.\n\nHTTP transport authentication is independent of an account API key: every MCP operation requires a host-supplied `WIREWEAVE_MCP_TOKEN` bearer credential. Absence fails HTTP startup; the token is never logged. Host validates the Host header and an exact Origin allowlist (`WIREWEAVE_MCP_ALLOWED_ORIGINS`, comma-separated origins; empty rejects every request containing Origin). Missing Origin from a native client is allowed only after bearer verification. Invalid Origin returns 403; wildcard CORS is prohibited. An OPTIONS preflight is allowed without credentials only for an allowed Host and Origin, supported method and explicitly permitted request headers. It cannot reserve a session or execute a tool; the actual request still requires the bearer credential. A non-loopback binding additionally requires an explicit deployment profile with TLS termination, trusted-proxy addresses and per-principal capability/allowed-root policy; without it startup fails. Sessions bind to the authenticated principal and cannot enlarge its filesystem or remote-service grants. Stdio uses the launching process's granted capability and needs no HTTP token.\n\n`@wireweave/agent-prompts` exports `buildGrammarPrompt(options)` and `buildCompactGrammarPrompt(options)`. They return text derived from the pinned language catalog, with version/digest metadata available beside the text. The compact variant reduces explanatory prose, never removes required syntax constraints or substitutes another grammar. These functions perform no LLM, filesystem or network calls and contain no private orchestration policy.\n\n<a id=\"editor-integrations\"></a>\n\n## 6. Editor, catalogs, UX and markdown integrations\n\nVS Code/Cursor associate `.wf` and `.wireframe` with the same language. Syntax coloring, completion, hover, diagnostics and format use the installed language catalog. Context-sensitive item types and icon datasets are resolved at the element position. A change increments the source revision; preview and diagnostics for an older revision are dropped, not painted onto the new document. sourceMap spans use UTF-16 offsets, matching editor coordinates.\n\nEditor commands are Open Preview, Open Preview to Side, Export as HTML, Generate, Improve, Login and Show Usage. Preview supports fixed board overview and a separate app execution view. Generate/Improve produce a candidate in a new document/diff; they never overwrite current edits or silently auto-accept streaming text. Selection edits carry exact range/base digest. SecretStorage or equivalent host credential storage holds service credentials, never settings.json or DSL. Remote capabilities follow explicit authorization; local preview/format do not require login.\n\nEditor settings are `wireframe.theme=auto|light|dark` (default auto, resolves the host theme into a neutral preview palette), `wireframe.autoPreview:boolean` (default false), and `wireframe.previewWidth` (default 1200, positive CSS pixels). Preview width controls only host presentation scale; it cannot change a page's authored viewport or choose a different route. Settings and preview state do not contain source credentials.\n\n`@wireweave/language-data` root exports component/attribute maps, valid names, category/value/spacing catalogs and the lookup/validation helpers `getComponent`, `getComponentByNodeType`, `getAttribute`, `getValidChildren`, `isValidChild`, `getComponentAttributes`, `getComponentsByCategory`, `getAttributeTypeLabel`, `formatAttributeValues`, `isComponent`, `isAttribute`, `getComponentNames`, `getAttributeNames`, `getCategories`. Every result is version-tagged and derived from Core; source categories and semantic checks have one owner. Invalid context returns a diagnostic, not a broader global attribute list.\n\nThe `/monaco` subpath supplies `registerWireframeLanguage`, Monarch tokens/configuration, completion/hover providers, `validateCode` and diagnostics setup/disposal. `/codemirror` supplies `createTokenizer`, `getLanguageConfig`, `createCompletionSource`, `createHoverTooltipSource`, `validateCode` and `createLinter`. Monaco and CodeMirror peers are optional for root-only consumers; importing one adapter cannot load the other editor. Registration is scoped to the host editor instance, is idempotent for the same catalog version, and returns disposables for installed services. Diagnostics include exact source revision and are removed when a document/editor closes.\n\n`@wireweave/ux-rules` exports `validateUX`, `isUXValid`, `getUXScore`, `getUXIssues`, `formatUXResult`, `allRules`, `rulesByCategory` and `getRulesForCategories`. Its versioned rule catalog owns stable rule IDs, definitions, applicable node kinds and severity; rule count is not a separate hardcoded contract. Categories are accessibility, usability, consistency, touch-target, navigation, form, feedback, content, data-display and interaction. Options are categories (empty=all), minSeverity (default info), maxIssues (default 100, positive integer), customRules and disabledRules. Duplicate/unknown rule IDs and thrown rule checks are explicit errors; no skipped check becomes passed. Custom executable rules are installed by trusted host code, never serialized DSL.\n\nA UX issue has ruleId, category, severity=error|warning|info, message, description, suggestion, logical path/nodeType and source location. Results include catalogDigest, valid, score, rawScore, complexity, issues, category passed/failed/warnings, severityCounts, excludedRules, evaluatedCount and truncated. All applicable checks run before the displayed issue limit; an incomplete run cannot claim valid. `valid` means zero errors in the evaluated scope, not whole-product or WCAG conformance. With counts E/W/I, rawScore=clamp(100\u221210E\u22123W\u2212I,0,100), score=clamp(round(100\u221210E\u2212(3W+I)\xD73/max(3,C)),0,100), where C is Core's fixed-version complexity score. Missing complexity makes the adjusted score unavailable rather than invented. Neither score substitutes for scenario acceptance; exclusions and denominator are always visible.\n\n`@wireweave/markdown-plugin` exports `renderWireframe(code,options)`, `markdownItWireframe`, `markedWireframe` and `remarkableWireframe`; every adapter uses the same parser/output contract. VitePress uses the markdown-it adapter. Framework adapters for remark/MDX and Docusaurus use the same closed render contract and isolated app admission. Fences `wireframe`, `wire` and `wf` share the grammar. Options are:\n\n| Option | Domain, default and meaning |\n| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| format | html, html-preview, svg, svg-img, app; default svg-img. svg-img embeds the same static SVG bytes in an image; html-preview wraps a fragment with host scale. |\n| theme | light or dark; default light; neutral palette only |\n| containerClass | Space-separated CSS class tokens; default wireframe-container; escaping is mandatory and arbitrary markup is rejected |\n| errorHandling | code, error, both; default both; safely escaped source, diagnostic, or both |\n| containerWidth | Nonnegative CSS pixels; default 0 means no scaling |\n| maxScale | Positive finite scale; default 1; bounds presentation scale, never model dimensions |\n| profile / width / height / padding | Fixed Core output profile and nonnegative outer padding; explicit dimensions must agree with the authored viewport |\n\nGlobal defaults are overridden by block options; inconsistent dimensions error. All boards retain their own viewport; html-preview measures the complete board bounds, never only the first page. HTML fragment is static/semantic embedding. App mode requires a closed bundle and isolated iframe, not an inline page script. All adapters expose machine diagnostics through a callback/sidecar even when errorHandling displays only source code; rendering an error block is not build success.\n\nA fence's source bytes, options and language digest key the cache. Invalid input produces a diagnostic block with safe source excerpt and no executable markup. CSP/style isolation is part of the host contract; resetting all CSS cannot erase accessible focus and semantics. Static export records unsupported SVG/foreignObject features. Documentation builds never call an LLM, remote grammar endpoint or service to render a fence.\n\n## 7. Build, compatibility and evidence\n\nGrammar/AST/schema changes require one coherent release: grammar \u2192 parser generator \u2192 schema/type metadata \u2192 element/attribute catalogs \u2192 printer/renderer/runtime \u2192 SDK/CLI/MCP descriptions \u2192 editor/markdown integrations. Generated files are produced by their generators and not manually edited. The EBNF and JSON Schema are release inputs; executable Peggy grammar is an implementation that must pass those contracts. Keyword removal, meaning changes, narrowed domains or newly required canonical fields require a major language version and explicit import migration.\n\nMigration is an explicit command returning source/AST diff, identity preservation and diagnostic report. Unsupported old syntax is not interpreted using guesses. Display vocabulary aliases in prose are not silently accepted as language tokens. A migration consumes an explicit source language profile and produces this canonical language; failed migration retains source bytes. No document includes both competing normative snapshots.\n\nRelease checks cover source/dist freshness, all exports/subpaths in the packed archive, no import side effects, parser/printer and catalog closure, positive/negative schema fixtures, semantic fixtures, browser app conformance and actual consuming adapters. Workspace source and published dist are tested separately. A schema example pass proves its declared JSON shape only; parser support and runtime behavior require their own traces.\n\nFor library code, run project typecheck, lint, unit tests and affected packaging gates. For contract changes, validate the JSON Schema with a Draft 2020-12 validator, load referenced product schemas locally from the design-release registry, validate all corpus entries and compare EBNF terminals/catalog coverage. The packed `/spec` resolver is tested with network and private-repository access denied; every transitive referenced schema must be present and digest-verified. Unknown external schema references fail closed; validation does not download a moving schema from the network. Evidence includes exact file digests, command, tool version, result and scope.\n"
2905
+ },
2906
+ {
2907
+ uri: "urn:wireweave:core:resource:sha256:2d430204bc740563720d8ab4df1c71272dab21793152cceb535db76125ef7e20",
2908
+ path: "docs/spec/language.ebnf",
2909
+ digest: "sha256:2d430204bc740563720d8ab4df1c71272dab21793152cceb535db76125ef7e20",
2910
+ byteLength: 5980,
2911
+ mediaType: "text/plain",
2912
+ text: `(* Wireweave language 4.0.0. Contract: core/grammar.
2913
+ Notation: = definition; , concatenation; | choice; [ ] optional;
2914
+ { } repetition; ( ) grouping; ? ? lexical predicate. Quoted text is literal.
2915
+ Whitespace and comments may occur between tokens. Longest complete lexical
2916
+ token wins. Equal lengths choose string, unit-value, number, boolean/null,
2917
+ then bare-word in that order. Keywords require a token boundary. Semantic constraints and
2918
+ canonical AST mapping are defined by LANGUAGE.md and schema.json. *)
2919
+
2920
+ document = [ version ], ( app | module | { definition } ) ;
2921
+ version = "language", string, [ ";" ] ;
2922
+ app = "app", identifier, { attribute }, "{", { module }, "}" ;
2923
+ module = "module", identifier, "namespace", "=", identifier, "{",
2924
+ { import | export | definition }, "}" ;
2925
+ import = "import", identifier, "from", "=", string,
2926
+ "digest", "=", string, "symbols", "=", array, [ ";" ] ;
2927
+ export = "export", ( "page" | "layout" | "component" ), identifier, ";" ;
2928
+ definition = page | layout | component ;
2929
+ page = "page", [ string ], { attribute }, block ;
2930
+ layout = "layout", identifier, { attribute }, block ;
2931
+ component = "component", identifier, [ parameters ], { attribute }, block ;
2932
+ parameters = "(", [ parameter, { ",", parameter }, [ "," ] ], ")" ;
2933
+ parameter = identifier, ":", value-type, [ "=", value ] ;
2934
+ value-type = "string" | "number" | "boolean" | "record" | "list" ;
2935
+ block = "{", { node }, "}" ;
2936
+ node = container | leaf | select | table | list | nav | dropdown | tabs
2937
+ | breadcrumb | marker | annotations | use | slot | repeat ;
2938
+ container = container-keyword, [ string ], { attribute }, block ;
2939
+ container-keyword = "header" | "main" | "footer" | "sidebar" | "section"
2940
+ | "row" | "col" | "stack" | "relative" | "card" | "modal"
2941
+ | "drawer" | "accordion" | "popover" | "form" ;
2942
+ leaf = leaf-keyword, [ string ], { attribute }, [ leaf-block ] ;
2943
+ leaf-keyword = "text" | "title" | "link" | "button" | "input" | "textarea"
2944
+ | "checkbox" | "radio" | "switch" | "slider" | "image"
2945
+ | "placeholder" | "avatar" | "badge" | "icon" | "divider"
2946
+ | "alert" | "toast" | "progress" | "spinner" | "tooltip" ;
2947
+ (* Only placeholder and tooltip accept leaf-block. Other leaf bodies error. *)
2948
+ leaf-block = block ;
2949
+ select = "select", [ string ], [ array ], { attribute },
2950
+ [ "{", { option }, "}" ] ;
2951
+ option = "option", string, { attribute } ;
2952
+ table = "table", ( array, { attribute }
2953
+ | { attribute }, "{", [ columns ], { table-row }, "}" ) ;
2954
+ columns = "columns", array ;
2955
+ table-row = "row", array ;
2956
+ list = "list", [ array ], { attribute }, [ list-block ] ;
2957
+ list-block = "{", { list-item }, "}" ;
2958
+ list-item = "item", string, { attribute }, [ list-block ] ;
2959
+ nav = "nav", [ array ], { attribute }, [ "{", { nav-item | group | divider }, "}" ] ;
2960
+ nav-item = "item", string, { attribute } ;
2961
+ group = "group", string, { attribute }, "{", { nav-item | divider }, "}" ;
2962
+ divider = "divider", { attribute } ;
2963
+ dropdown = "dropdown", [ array ], { attribute },
2964
+ [ "{", { nav-item | divider }, "}" ] ;
2965
+ tabs = "tabs", [ array ], { attribute }, [ "{", { tab }, "}" ] ;
2966
+ tab = "tab", string, { attribute }, block ;
2967
+ breadcrumb = "breadcrumb", array, { attribute } ;
2968
+ marker = "marker", unsigned-integer, { attribute } ;
2969
+ annotations = "annotations", { attribute }, "{", { annotation-item }, "}" ;
2970
+ annotation-item = "item", unsigned-integer, string, { attribute }, [ block ] ;
2971
+ use = "use", identifier, [ arguments ], [ "from", "=", string ],
2972
+ [ "id", "=", identifier ], [ "{", { fill }, "}" ] ;
2973
+ arguments = "(", [ argument, { ",", argument }, [ "," ] ], ")" ;
2974
+ argument = identifier, "=", value ;
2975
+ fill = "fill", identifier, block ;
2976
+ slot = "slot", [ slot-name ], [ ";" ] ;
2977
+ slot-name = ? identifier other than an element keyword, followed by line end, semicolon or closing brace ? ;
2978
+ repeat = "repeat", unsigned-integer, [ "id", "=", identifier ], block ;
2979
+
2980
+ attribute = attribute-key, "=", value | boolean-attribute
2981
+ | "at", "(", number, ",", number, ")" ;
2982
+ attribute-key = identifier ;
2983
+ boolean-attribute = "flex" | "border" | "rounded" | "muted" | "bold"
2984
+ | "primary" | "secondary" | "outline" | "ghost" | "danger"
2985
+ | "required" | "disabled" | "readonly" | "checked" | "loading"
2986
+ | "external" | "expanded" | "centered" | "vertical" | "scroll"
2987
+ | "dismissible" | "indeterminate" | "pill" | "striped"
2988
+ | "bordered" | "hover" | "ordered" | "none" | "wrap" | "active" ;
2989
+ value = string | unit-value | number | boolean | "null" | bare-word | array | object ;
2990
+ array = "[", [ value, { [ "," ], value }, [ "," ] ], "]" ;
2991
+ object = "{", [ property, { [ "," ], property }, [ "," ] ], "}" ;
2992
+ property = ( identifier | string ), "=", value | boolean-attribute ;
2993
+ boolean = "true" | "false" ;
2994
+ unit-value = number, ( "px" | "%" | "em" | "rem" | "vh" | "vw" ) ;
2995
+ number = [ "-" ], unsigned-integer, [ ".", digit, { digit } ],
2996
+ [ ( "e" | "E" ), [ "+" | "-" ], digit, { digit } ] ;
2997
+ unsigned-integer = digit, { digit } ;
2998
+ identifier = ( letter | "_" ), { letter | digit | "_" | "-" } ;
2999
+ bare-word = identifier | digit, { digit }, letter, { letter | digit | "-" } ;
3000
+ string = double-string | single-string ;
3001
+ double-string = '"', { double-character | escape }, '"' ;
3002
+ single-string = "'", { single-character | escape }, "'" ;
3003
+ double-character = ? Unicode scalar other than quote, backslash, CR or LF ? ;
3004
+ single-character = ? Unicode scalar other than apostrophe, backslash, CR or LF ? ;
3005
+ backslash = ? Unicode U+005C ? ;
3006
+ escape = backslash, ( '"' | "'" | backslash | "/" | "b" | "f" | "n" | "r" | "t"
3007
+ | "u", hex, hex, hex, hex ) ;
3008
+ letter = ? ASCII A-Z or a-z ? ;
3009
+ digit = ? ASCII 0-9 ? ;
3010
+ hex = ? ASCII 0-9, A-F or a-f ? ;
3011
+ whitespace = ? Space, tab, CR or LF ? ;
3012
+ comment = "//", { ? any character except CR/LF ? }
3013
+ | "/*", { ? any character sequence not containing */ ? }, "*/" ;
3014
+ `
3015
+ },
3016
+ {
3017
+ uri: "urn:wireweave:core:resource:sha256:6a41302fadf5a580513ac8afd09c01de7917d8230c7b7ec7202457033957a3a6",
3018
+ path: "docs/spec/schema.json",
3019
+ digest: "sha256:6a41302fadf5a580513ac8afd09c01de7917d8230c7b7ec7202457033957a3a6",
3020
+ byteLength: 210492,
3021
+ mediaType: "application/schema+json",
3022
+ text: '{\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$id": "https://wireweave.org/contracts/core/language/1.0/schema.json",\n "title": "Wireweave 4 language bundle",\n "description": "Canonical AST bundle. Cross-reference, ownership, data-flow, limit and execution checks in LANGUAGE and RUNTIME are mandatory in addition to JSON Schema.",\n "$ref": "#/$defs/AppBundle",\n "$defs": {\n "Id": {\n "type": "string",\n "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",\n "maxLength": 128\n },\n "Digest": {\n "type": "string",\n "pattern": "^sha256:[0-9a-f]{64}$"\n },\n "JsonValue": {\n "anyOf": [\n {\n "type": ["null", "boolean", "number", "string"]\n },\n {\n "type": "array",\n "items": {\n "$ref": "#/$defs/JsonValue"\n },\n "minItems": 0\n },\n {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/JsonValue"\n }\n }\n ]\n },\n "Unit": {\n "type": "object",\n "properties": {\n "value": {\n "type": "number"\n },\n "unit": {\n "enum": ["px", "%", "em", "rem", "vh", "vw"]\n }\n },\n "required": ["value", "unit"],\n "additionalProperties": false\n },\n "StateRef": {\n "type": "string",\n "pattern": "^(app|shell|screen|component):[A-Za-z_][A-Za-z0-9_-]*$"\n },\n "ElementRef": {\n "type": "object",\n "properties": {\n "scope": {\n "enum": ["shell", "screen", "component"]\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["scope", "id"],\n "additionalProperties": false\n },\n "ScreenRef": {\n "type": "object",\n "properties": {\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "variant": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["namespace", "id"],\n "additionalProperties": false\n },\n "RouteTarget": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "screen"\n },\n "screen": {\n "$ref": "#/$defs/ScreenRef"\n }\n },\n "required": ["kind", "screen"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "url"\n },\n "url": {\n "type": "string",\n "pattern": "^(https?://|mailto:|tel:|/|#|\\\\?)[^\\\\s]*$"\n }\n },\n "required": ["kind", "url"],\n "additionalProperties": false\n }\n ]\n },\n "Expression": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "literal": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "required": ["literal"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "state": {\n "$ref": "#/$defs/StateRef"\n }\n },\n "required": ["state"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "event": {\n "enum": ["value", "checked", "key"]\n }\n },\n "required": ["event"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "read": {\n "type": "object",\n "properties": {\n "source": {\n "$ref": "#/$defs/Expression"\n },\n "path": {\n "type": "array",\n "items": {\n "type": "string",\n "minLength": 0\n },\n "minItems": 1,\n "maxItems": 16\n }\n },\n "required": ["source", "path"],\n "additionalProperties": false\n }\n },\n "required": ["read"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "call": {\n "enum": [\n "length",\n "lower",\n "upper",\n "trim",\n "add",\n "subtract",\n "multiply",\n "divide",\n "concat",\n "coalesce"\n ]\n },\n "args": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Expression"\n },\n "minItems": 1,\n "maxItems": 16\n }\n },\n "required": ["call", "args"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "param": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["param"],\n "additionalProperties": false\n }\n ]\n },\n "Guard": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "op": {\n "enum": ["eq", "ne", "lt", "lte", "gt", "gte", "contains", "startsWith", "in"]\n },\n "left": {\n "$ref": "#/$defs/Expression"\n },\n "right": {\n "$ref": "#/$defs/Expression"\n }\n },\n "required": ["op", "left", "right"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "op": {\n "enum": ["all", "any"]\n },\n "guards": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Guard"\n },\n "minItems": 1,\n "maxItems": 32\n }\n },\n "required": ["op", "guards"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "op": {\n "const": "not"\n },\n "guard": {\n "$ref": "#/$defs/Guard"\n }\n },\n "required": ["op", "guard"],\n "additionalProperties": false\n }\n ]\n },\n "State": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "type": {\n "enum": ["string", "number", "boolean", "record", "list"]\n },\n "initial": {\n "$ref": "#/$defs/JsonValue"\n },\n "lifetime": {\n "enum": ["mount", "session"]\n },\n "sensitive": {\n "type": "boolean"\n }\n },\n "required": ["id", "type", "initial", "lifetime", "sensitive"],\n "additionalProperties": false,\n "allOf": [\n {\n "if": {\n "properties": {\n "type": {\n "const": "string"\n }\n }\n },\n "then": {\n "properties": {\n "initial": {\n "type": "string"\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "type": {\n "const": "number"\n }\n }\n },\n "then": {\n "properties": {\n "initial": {\n "type": "number"\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "type": {\n "const": "boolean"\n }\n }\n },\n "then": {\n "properties": {\n "initial": {\n "type": "boolean"\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "type": {\n "const": "record"\n }\n }\n },\n "then": {\n "properties": {\n "initial": {\n "type": "object"\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "type": {\n "const": "list"\n }\n }\n },\n "then": {\n "properties": {\n "initial": {\n "type": "array"\n }\n }\n }\n }\n ]\n },\n "Binding": {\n "type": "object",\n "properties": {\n "state": {\n "$ref": "#/$defs/StateRef"\n },\n "property": {\n "enum": ["value", "checked"]\n },\n "update": {\n "enum": ["input", "change"]\n }\n },\n "required": ["state", "property", "update"],\n "additionalProperties": false\n },\n "Effect": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "navigate"\n },\n "target": {\n "$ref": "#/$defs/RouteTarget"\n },\n "history": {\n "enum": ["push", "replace"]\n }\n },\n "required": ["kind", "target", "history"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["navigateBack", "navigateForward", "resetScenario"]\n }\n },\n "required": ["kind"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "set"\n },\n "state": {\n "$ref": "#/$defs/StateRef"\n },\n "value": {\n "$ref": "#/$defs/Expression"\n }\n },\n "required": ["kind", "state", "value"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["reset", "toggle"]\n },\n "state": {\n "$ref": "#/$defs/StateRef"\n }\n },\n "required": ["kind", "state"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["open", "close", "toggleOverlay", "focus", "validate"]\n },\n "target": {\n "$ref": "#/$defs/ElementRef"\n }\n },\n "required": ["kind", "target"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "filter"\n },\n "source": {\n "$ref": "#/$defs/StateRef"\n },\n "query": {\n "$ref": "#/$defs/Expression"\n },\n "field": {\n "type": "string",\n "minLength": 1\n },\n "target": {\n "$ref": "#/$defs/StateRef"\n }\n },\n "required": ["kind", "source", "query", "field", "target"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "sort"\n },\n "source": {\n "$ref": "#/$defs/StateRef"\n },\n "field": {\n "type": "string",\n "minLength": 1\n },\n "direction": {\n "enum": ["ascending", "descending"]\n },\n "target": {\n "$ref": "#/$defs/StateRef"\n }\n },\n "required": ["kind", "source", "field", "direction", "target"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "simulate"\n },\n "fixtureRef": {\n "$ref": "#/$defs/Id"\n },\n "resultState": {\n "$ref": "#/$defs/StateRef"\n },\n "timeoutMs": {\n "type": "integer",\n "minimum": 1,\n "maximum": 600000\n },\n "statusState": {\n "$ref": "#/$defs/StateRef"\n },\n "errorState": {\n "$ref": "#/$defs/StateRef"\n }\n },\n "required": [\n "kind",\n "fixtureRef",\n "resultState",\n "timeoutMs",\n "statusState",\n "errorState"\n ],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "specify"\n }\n },\n "required": ["kind"],\n "additionalProperties": false\n }\n ]\n },\n "Operation": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "executionClass": {\n "enum": ["executable", "simulated", "specified"]\n },\n "effect": {\n "$ref": "#/$defs/Effect"\n },\n "after": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Id"\n },\n "minItems": 0,\n "maxItems": 128\n },\n "onFailure": {\n "enum": ["stop", "continue"]\n },\n "obligationRefs": {\n "type": "array",\n "items": {\n "type": "string",\n "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"\n },\n "minItems": 0,\n "maxItems": 1024\n }\n },\n "required": ["id", "executionClass", "effect", "after", "onFailure", "obligationRefs"],\n "additionalProperties": false,\n "allOf": [\n {\n "if": {\n "properties": {\n "executionClass": {\n "const": "executable"\n }\n }\n },\n "then": {\n "properties": {\n "effect": {\n "properties": {\n "kind": {\n "enum": [\n "navigate",\n "navigateBack",\n "navigateForward",\n "resetScenario",\n "set",\n "reset",\n "toggle",\n "open",\n "close",\n "toggleOverlay",\n "focus",\n "validate",\n "filter",\n "sort"\n ]\n }\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "executionClass": {\n "const": "simulated"\n }\n }\n },\n "then": {\n "properties": {\n "effect": {\n "properties": {\n "kind": {\n "enum": ["simulate"]\n }\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "executionClass": {\n "const": "specified"\n }\n }\n },\n "then": {\n "properties": {\n "effect": {\n "properties": {\n "kind": {\n "enum": ["specify"]\n }\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "executionClass": {\n "const": "specified"\n }\n }\n },\n "then": {\n "properties": {\n "obligationRefs": {\n "minItems": 1\n }\n }\n }\n }\n ]\n },\n "Handler": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "event": {\n "enum": [\n "click",\n "input",\n "change",\n "submit",\n "keydown",\n "focus",\n "blur",\n "enter",\n "exit"\n ]\n },\n "key": {\n "enum": [\n "Enter",\n "Escape",\n "Space",\n "ArrowLeft",\n "ArrowRight",\n "ArrowUp",\n "ArrowDown",\n "Home",\n "End"\n ]\n },\n "guard": {\n "$ref": "#/$defs/Guard"\n },\n "operations": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Operation"\n },\n "minItems": 1,\n "maxItems": 128\n },\n "concurrency": {\n "enum": ["drop", "queue"]\n }\n },\n "required": ["id", "event", "operations", "concurrency"],\n "additionalProperties": false,\n "allOf": [\n {\n "if": {\n "properties": {\n "event": {\n "const": "keydown"\n }\n }\n },\n "then": {\n "required": ["key"]\n },\n "else": {\n "not": {\n "required": ["key"]\n }\n }\n }\n ]\n },\n "Fixture": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "steps": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "delayMs": {\n "type": "integer",\n "minimum": 0,\n "maximum": 600000\n },\n "outcome": {\n "enum": ["success", "error", "timeout"]\n },\n "value": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "required": ["delayMs", "outcome", "value"],\n "additionalProperties": false\n },\n "minItems": 1,\n "maxItems": 1000\n },\n "exhaustion": {\n "enum": ["error", "repeat-last"]\n }\n },\n "required": ["id", "steps", "exhaustion"],\n "additionalProperties": false\n },\n "Option": {\n "type": "object",\n "properties": {\n "label": {\n "type": "string",\n "minLength": 0\n },\n "value": {\n "type": ["string", "number", "boolean"]\n },\n "disabled": {\n "type": "boolean"\n }\n },\n "required": ["label", "value"],\n "additionalProperties": false\n },\n "Parameter": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "type": {\n "enum": ["string", "number", "boolean", "record", "list"]\n },\n "default": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "required": ["id", "type"],\n "additionalProperties": false\n },\n "Attributes": {\n "type": "object",\n "properties": {\n "p": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "px": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "py": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "pt": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "pr": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "pb": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "pl": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "m": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "mx": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "my": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "mt": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "mr": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "mb": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "ml": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "gap": {\n "anyOf": [\n {\n "type": "number"\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "const": "auto"\n }\n ],\n "description": "Spacing token or explicit unit; auto is valid on mx only. LANGUAGE spacing precedence applies."\n },\n "w": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "h": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "minW": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "maxW": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "minH": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "maxH": {\n "anyOf": [\n {\n "type": "number",\n "minimum": 0\n },\n {\n "$ref": "#/$defs/Unit"\n },\n {\n "enum": ["full", "auto", "screen", "fit"]\n }\n ],\n "description": "Box dimension; numeric values are CSS pixels. Bounds accept numeric/unit only."\n },\n "width": {\n "type": "integer",\n "minimum": 1,\n "maximum": 16384,\n "description": "Fixed page viewport dimension in CSS pixels."\n },\n "height": {\n "type": "integer",\n "minimum": 1,\n "maximum": 16384,\n "description": "Fixed page viewport dimension in CSS pixels."\n },\n "x": {\n "type": "number",\n "description": "Canvas page position or relative-container child offset in CSS pixels."\n },\n "y": {\n "type": "number",\n "description": "Canvas page position or relative-container child offset in CSS pixels."\n },\n "flex": {\n "type": ["boolean", "number"],\n "description": "False disables flex; true enables; nonnegative number sets grow."\n },\n "direction": {\n "enum": ["row", "column", "row-reverse", "column-reverse"],\n "description": "Flex direction; row defaults row and col/stack default column."\n },\n "justify": {\n "enum": ["start", "center", "end", "between", "around", "evenly"],\n "description": "Main-axis placement."\n },\n "align": {\n "enum": ["start", "center", "end", "stretch", "baseline", "left", "right", "justify"],\n "description": "Cross-axis alignment on containers; text alignment on text/title/link."\n },\n "wrap": {\n "anyOf": [\n {\n "type": "boolean"\n },\n {\n "const": "nowrap"\n }\n ],\n "description": "Wrap within authored viewport; never relative to host viewport."\n },\n "span": {\n "type": "integer",\n "minimum": 1,\n "maximum": 12,\n "description": "Twelve-column span; breakpoint chosen once against fixed profile width."\n },\n "sm": {\n "type": "integer",\n "minimum": 1,\n "maximum": 12,\n "description": "Twelve-column span; breakpoint chosen once against fixed profile width."\n },\n "md": {\n "type": "integer",\n "minimum": 1,\n "maximum": 12,\n "description": "Twelve-column span; breakpoint chosen once against fixed profile width."\n },\n "lg": {\n "type": "integer",\n "minimum": 1,\n "maximum": 12,\n "description": "Twelve-column span; breakpoint chosen once against fixed profile width."\n },\n "xl": {\n "type": "integer",\n "minimum": 1,\n "maximum": 12,\n "description": "Twelve-column span; breakpoint chosen once against fixed profile width."\n },\n "order": {\n "type": "integer",\n "minimum": -10000,\n "maximum": 10000,\n "description": "Visual order; semantic/focus order stays source order and mismatches are diagnosed."\n },\n "position": {\n "enum": [\n "left",\n "right",\n "top",\n "bottom",\n "top-left",\n "top-center",\n "top-right",\n "bottom-left",\n "bottom-center",\n "bottom-right"\n ],\n "description": "Component-relative side or corner; component domain restrictions apply."\n },\n "border": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "rounded": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "muted": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "bold": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "primary": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "secondary": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "outline": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "ghost": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "danger": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "required": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "disabled": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "readonly": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "checked": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "loading": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "external": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "expanded": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "centered": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "vertical": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "scroll": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "dismissible": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "indeterminate": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "pill": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "striped": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "bordered": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "hover": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "ordered": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "none": {\n "type": "boolean",\n "description": "Boolean semantic/layout attribute; omitted is false unless a component default states otherwise."\n },\n "shadow": {\n "enum": ["none", "sm", "md", "lg", "xl"],\n "description": "Neutral elevation cue; not an arbitrary brand shadow."\n },\n "bg": {\n "enum": ["muted", "primary", "secondary"],\n "description": "Semantic neutral surface cue."\n },\n "size": {\n "anyOf": [\n {\n "enum": ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl"]\n },\n {\n "type": "integer",\n "minimum": 1,\n "maximum": 1024\n }\n ],\n "description": "Named text/control/icon size or pixel icon/avatar/spinner size; see component domain."\n },\n "weight": {\n "enum": ["normal", "medium", "semibold", "bold"],\n "description": "Font weight 400/500/600/700."\n },\n "level": {\n "type": "integer",\n "minimum": 1,\n "maximum": 6,\n "description": "Heading rank; default 2."\n },\n "variant": {\n "enum": ["default", "primary", "secondary", "success", "warning", "danger", "info"],\n "description": "Semantic status; neutral rendering also exposes text and icon meaning."\n },\n "inputType": {\n "enum": ["text", "email", "password", "number", "tel", "url", "search", "date"],\n "description": "Native input type; default text."\n },\n "placeholder": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "label": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "name": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "title": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "alt": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "aria": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "aria-label": {\n "type": "string",\n "minLength": 0,\n "description": "Human text; name on icon is validated against pinned icon dataset."\n },\n "value": {\n "$ref": "#/$defs/JsonValue",\n "description": "Scalar control value or bound output; actual type is checked per component."\n },\n "rows": {\n "type": "integer",\n "minimum": 1,\n "maximum": 1000,\n "description": "Textarea visible rows; default 3."\n },\n "min": {\n "type": "number",\n "description": "Native numeric range; slider defaults min=0 max=100 step=1; step must be positive."\n },\n "max": {\n "type": "number",\n "description": "Native numeric range; slider defaults min=0 max=100 step=1; step must be positive."\n },\n "step": {\n "type": "number",\n "description": "Native numeric range; slider defaults min=0 max=100 step=1; step must be positive."\n },\n "src": {\n "anyOf": [\n {\n "type": "string"\n },\n {\n "const": true\n }\n ],\n "description": "Asset source; true is allowed on avatar only and means an authored neutral placeholder."\n },\n "href": {\n "type": "string",\n "minLength": 0,\n "description": "Declared asset or URL, validated by output security profile; no JavaScript or arbitrary data URLs."\n },\n "icon": {\n "type": "string",\n "minLength": 1,\n "description": "Name in the release-pinned Lucide icon dataset; no remote glyph resolution."\n },\n "active": {\n "type": ["boolean", "integer"],\n "description": "Tabs use zero-based integer, navigation item uses boolean in static projections."\n },\n "viewport": {\n "anyOf": [\n {\n "type": "string",\n "minLength": 1\n },\n {\n "type": "integer",\n "minimum": 1,\n "maximum": 16384\n }\n ],\n "description": "WIDTHxHEIGHT, numeric width with default height 900; device/size duplicates must agree."\n },\n "device": {\n "enum": [\n "desktop-sm",\n "desktop",\n "desktop-lg",\n "desktop-xl",\n "ipad",\n "ipad-portrait",\n "ipad-pro",\n "ipad-pro-portrait",\n "iphone-se",\n "iphone14",\n "iphone14-pro",\n "iphone14-pro-max",\n "android",\n "android-lg"\n ],\n "description": "Named fixed viewport; dimensions are defined in LANGUAGE."\n },\n "navigate": {\n "anyOf": [\n {\n "type": "string",\n "minLength": 1\n },\n {\n "$ref": "#/$defs/RouteTarget"\n }\n ],\n "description": "Bare name is an internal screen id, never a display title; external URL uses typed url target or href."\n },\n "opens": {\n "type": "string",\n "minLength": 1,\n "description": "Structural/reference shorthand normalized before semantic validation."\n },\n "toggles": {\n "type": "string",\n "minLength": 1,\n "description": "Structural/reference shorthand normalized before semantic validation."\n },\n "action": {\n "type": "string",\n "minLength": 1,\n "description": "Structural/reference shorthand normalized before semantic validation."\n },\n "uses": {\n "type": "string",\n "minLength": 1,\n "description": "Structural/reference shorthand normalized before semantic validation."\n },\n "on": {\n "anyOf": [\n {\n "$ref": "#/$defs/Handler"\n },\n {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Handler"\n },\n "minItems": 1,\n "maxItems": 32\n }\n ],\n "description": "Typed event handlers; canonical AST uses handler arrays."\n },\n "visibleWhen": {\n "$ref": "#/$defs/Guard",\n "description": "Runtime outcome guard; visibility also removes focus/accessibility exposure."\n },\n "enabledWhen": {\n "$ref": "#/$defs/Guard",\n "description": "Runtime outcome guard; visibility also removes focus/accessibility exposure."\n },\n "states": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/State"\n },\n "minItems": 0,\n "maxItems": 4096,\n "description": "State declarations scoped to the owning app/layout/page/component instance."\n },\n "variants": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Id"\n },\n "minItems": 1,\n "maxItems": 128,\n "description": "Review board labels of one screen; never separate screen identities."\n },\n "when": {\n "anyOf": [\n {\n "$ref": "#/$defs/Id"\n },\n {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Id"\n },\n "minItems": 1,\n "maxItems": 128\n }\n ],\n "description": "Compile-time variant projection membership, independent of runtime guard."\n },\n "id": {\n "$ref": "#/$defs/Id",\n "description": "Authored stable id; normalized Node.id owns it and attributes.id is omitted from canonical AST."\n },\n "anchor": {\n "enum": [\n "top-left",\n "top-center",\n "top-right",\n "center-left",\n "center",\n "center-right",\n "bottom-left",\n "bottom-center",\n "bottom-right"\n ],\n "description": "Anchor to nearest relative container; x/y are additional pixel offsets."\n },\n "color": {\n "enum": ["blue", "red", "green", "yellow", "purple", "orange"],\n "description": "Annotation category retained as data and distinguishable labels; neutral profile does not require color."\n },\n "options": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Option"\n },\n "minItems": 0,\n "maxItems": 10000,\n "description": "Select option declarations; positional strings normalize to equal label/value."\n },\n "bind": {\n "$ref": "#/$defs/Binding",\n "description": "Control value binding; state is the only mutable source of truth."\n },\n "obligationRefs": {\n "type": "array",\n "items": {\n "type": "string",\n "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"\n },\n "minItems": 0,\n "maxItems": 1024,\n "description": "Product registry IDs; resolve without copying editable requirement prose."\n },\n "requirementRefs": {\n "type": "array",\n "items": {\n "type": "string",\n "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"\n },\n "minItems": 0,\n "maxItems": 1024,\n "description": "Product registry IDs; resolve without copying editable requirement prose."\n },\n "role": {\n "enum": ["button", "link", "status", "alert", "img", "region"],\n "description": "Semantic role override only when compatible with the element; native semantics take precedence."\n },\n "buttonType": {\n "enum": ["button", "submit", "reset"],\n "description": "Native button type; default button; submit/reset require form ownership."\n },\n "form": {\n "$ref": "#/$defs/Id",\n "description": "Owning form id in same screen/shell instance."\n },\n "autocomplete": {\n "enum": [\n "off",\n "on",\n "name",\n "email",\n "username",\n "current-password",\n "new-password",\n "one-time-code"\n ],\n "description": "Native autocomplete purpose; no credential persistence in fixture."\n },\n "minLength": {\n "type": "integer",\n "minimum": 0,\n "maximum": 1000000,\n "description": "String length bound counted in Unicode code points."\n },\n "maxLength": {\n "type": "integer",\n "minimum": 0,\n "maximum": 1000000,\n "description": "String length bound counted in Unicode code points."\n },\n "initialFocus": {\n "$ref": "#/$defs/Id",\n "description": "First focus target when an overlay opens; must be inside overlay."\n },\n "modal": {\n "type": "boolean",\n "description": "Drawer modality; default true. Modal primitive is always modal."\n },\n "data": {\n "$ref": "#/$defs/Expression",\n "description": "Read-only expression for table/list/text data; never arbitrary JavaScript."\n },\n "columns": {\n "type": "array",\n "items": {\n "type": "string",\n "minLength": 0\n },\n "minItems": 0,\n "maxItems": 1000,\n "description": "Table column names; must be unique for sorting/filtering."\n }\n },\n "required": [],\n "additionalProperties": false\n },\n "PrimitiveNode": {\n "type": "object",\n "properties": {\n "kind": {\n "enum": [\n "page",\n "header",\n "main",\n "footer",\n "sidebar",\n "section",\n "row",\n "col",\n "stack",\n "relative",\n "card",\n "modal",\n "drawer",\n "accordion",\n "text",\n "title",\n "link",\n "input",\n "textarea",\n "select",\n "checkbox",\n "radio",\n "switch",\n "slider",\n "button",\n "image",\n "placeholder",\n "avatar",\n "badge",\n "icon",\n "table",\n "list",\n "alert",\n "toast",\n "progress",\n "spinner",\n "tooltip",\n "popover",\n "dropdown",\n "nav",\n "tabs",\n "breadcrumb",\n "divider",\n "marker",\n "annotations",\n "form",\n "nav-item",\n "nav-group",\n "dropdown-item",\n "list-item",\n "tab",\n "option",\n "annotation-item"\n ]\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "label": {\n "type": "string",\n "minLength": 0\n },\n "number": {\n "type": "integer",\n "minimum": 1,\n "maximum": 100000\n },\n "attributes": {\n "$ref": "#/$defs/Attributes"\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Node"\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "items": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/JsonValue"\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["kind", "attributes", "children"],\n "additionalProperties": false,\n "allOf": [\n {\n "if": {\n "properties": {\n "kind": {\n "const": "page"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "centered",\n "device",\n "direction",\n "flex",\n "gap",\n "h",\n "height",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "states",\n "title",\n "uses",\n "variants",\n "viewport",\n "w",\n "width",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "header"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "main"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "scroll",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "footer"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "sidebar"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "section"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "expanded",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "row"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "order",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "col"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "lg",\n "m",\n "maxH",\n "maxW",\n "mb",\n "md",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "order",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "scroll",\n "sm",\n "span",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "xl",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "stack"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "relative"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "card"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "shadow",\n "title",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "modal"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "initialFocus",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "drawer"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "initialFocus",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "modal",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "accordion"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "text"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "bold",\n "border",\n "data",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "muted",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "weight",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "title"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "level",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "link"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "external",\n "flex",\n "gap",\n "h",\n "href",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "primary",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "input"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "icon",\n "inputType",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "textarea"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "rows",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "select"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "options",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "checkbox"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "radio"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "switch"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "slider"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "button"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "buttonType",\n "danger",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "ghost",\n "h",\n "icon",\n "justify",\n "loading",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "outline",\n "p",\n "pb",\n "pl",\n "pr",\n "primary",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "secondary",\n "size",\n "title",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "image"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "alt",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "src",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "placeholder"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "avatar"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "src",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "badge"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "anchor",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pill",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "toggles",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "icon"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "muted",\n "mx",\n "my",\n "name",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "table"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "bordered",\n "columns",\n "data",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "hover",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "striped",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "list"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "data",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "none",\n "obligationRefs",\n "on",\n "ordered",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "alert"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "dismissible",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "toast"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "progress"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "indeterminate",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "spinner"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "label",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "tooltip"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "popover"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "dropdown"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "nav"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "tabs"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "active",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "breadcrumb"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "divider"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "marker"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "anchor",\n "aria",\n "aria-label",\n "bg",\n "border",\n "color",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "annotations"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "form"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "nav-item"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "active",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "href",\n "icon",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "nav-group"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "dropdown-item"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "danger",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "href",\n "icon",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "list-item"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "tab"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "option"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n },\n "children": {\n "maxItems": 0\n }\n }\n }\n },\n {\n "if": {\n "properties": {\n "kind": {\n "const": "annotation-item"\n }\n }\n },\n "then": {\n "properties": {\n "attributes": {\n "propertyNames": {\n "enum": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ]\n }\n }\n }\n }\n }\n ]\n },\n "Slot": {\n "type": "object",\n "properties": {\n "kind": {\n "const": "slot"\n },\n "name": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind"],\n "additionalProperties": false\n },\n "Repeat": {\n "type": "object",\n "properties": {\n "kind": {\n "const": "repeat"\n },\n "count": {\n "type": "integer",\n "minimum": 0,\n "maximum": 1000\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Node"\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind", "count", "children"],\n "additionalProperties": false\n },\n "Use": {\n "type": "object",\n "properties": {\n "kind": {\n "const": "use"\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "name": {\n "$ref": "#/$defs/Id"\n },\n "inputs": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",\n "maxLength": 128\n },\n "additionalProperties": {\n "$ref": "#/$defs/Expression"\n }\n },\n "fills": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "name": {\n "$ref": "#/$defs/Id"\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Node"\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["name", "children"],\n "additionalProperties": false\n },\n "minItems": 0,\n "maxItems": 128\n }\n },\n "required": ["kind", "id", "name", "inputs", "fills"],\n "additionalProperties": false\n },\n "Definition": {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["layout", "component"]\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "parameters": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Parameter"\n },\n "minItems": 0,\n "maxItems": 128\n },\n "attributes": {\n "$ref": "#/$defs/Attributes"\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/TemplateNode"\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["kind", "id", "parameters", "attributes", "children"],\n "additionalProperties": false\n },\n "Node": {\n "oneOf": [\n {\n "$ref": "#/$defs/PrimitiveNode"\n },\n {\n "$ref": "#/$defs/Slot"\n },\n {\n "$ref": "#/$defs/Repeat"\n },\n {\n "$ref": "#/$defs/Use"\n }\n ]\n },\n "Import": {\n "type": "object",\n "properties": {\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "moduleId": {\n "$ref": "#/$defs/Id"\n },\n "digest": {\n "$ref": "#/$defs/Digest"\n },\n "symbols": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["layout", "component", "page"]\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind", "id"],\n "additionalProperties": false\n },\n "minItems": 1,\n "maxItems": 10000\n }\n },\n "required": ["namespace", "moduleId", "digest", "symbols"],\n "additionalProperties": false\n },\n "Module": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "sourceDigest": {\n "$ref": "#/$defs/Digest"\n },\n "imports": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Import"\n },\n "minItems": 0,\n "maxItems": 256\n },\n "exports": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "kind": {\n "enum": ["layout", "component", "page"]\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind", "id"],\n "additionalProperties": false\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "definitions": {\n "type": "array",\n "items": {\n "oneOf": [\n {\n "$ref": "#/$defs/Definition"\n },\n {\n "$ref": "#/$defs/PrimitiveNode"\n }\n ]\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["id", "namespace", "sourceDigest", "imports", "exports", "definitions"],\n "additionalProperties": false\n },\n "RequirementRegistry": {\n "$ref": "https://wireweave.org/contracts/product/1.0/schema.json#/$defs/Registry"\n },\n "Profile": {\n "type": "object",\n "properties": {\n "id": {\n "enum": ["neutral-app", "neutral-fragment"]\n },\n "width": {\n "type": "integer",\n "minimum": 1,\n "maximum": 16384\n },\n "height": {\n "type": "integer",\n "minimum": 1,\n "maximum": 16384\n },\n "language": {\n "type": "string",\n "pattern": "^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$"\n },\n "entryPolicy": {\n "const": "explicit"\n },\n "unknownRoute": {\n "const": "error-view"\n },\n "clockStartMs": {\n "type": "integer",\n "minimum": 0,\n "maximum": 9007199254740991\n },\n "limits": {\n "const": "standard-1"\n },\n "assets": {\n "type": "array",\n "description": "Ordered manifest bytes. Core validates unique IDs, digest/byteLength/base64, media content and the 32 MiB aggregate limit before app compilation; the host must materialize any approved URL into these bytes.",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "mediaType": {\n "enum": ["image/png", "image/jpeg", "image/webp", "image/svg+xml", "font/woff2"]\n },\n "digest": {\n "$ref": "#/$defs/Digest"\n },\n "byteLength": {\n "type": "integer",\n "minimum": 0,\n "maximum": 16777216\n },\n "base64": {\n "type": "string",\n "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"\n }\n },\n "required": ["id", "mediaType", "digest", "byteLength", "base64"],\n "additionalProperties": false\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "unicodeVersion": {\n "const": "15.1.0"\n },\n "fontAssetId": {\n "$ref": "#/$defs/Id",\n "description": "Optional asset ID that must resolve to a validated font/woff2 manifest entry."\n }\n },\n "required": [\n "id",\n "width",\n "height",\n "language",\n "entryPolicy",\n "unknownRoute",\n "clockStartMs",\n "limits",\n "assets",\n "unicodeVersion"\n ],\n "additionalProperties": false\n },\n "AppBundle": {\n "type": "object",\n "properties": {\n "schemaVersion": {\n "const": "1.0.0"\n },\n "languageVersion": {\n "const": "4.0.0"\n },\n "id": {\n "$ref": "#/$defs/AppConfiguration/properties/id"\n },\n "entry": {\n "$ref": "#/$defs/AppConfiguration/properties/entry"\n },\n "profile": {\n "$ref": "#/$defs/AppConfiguration/properties/profile"\n },\n "states": {\n "$ref": "#/$defs/AppConfiguration/properties/states"\n },\n "modules": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Module"\n },\n "minItems": 1,\n "maxItems": 256\n },\n "registry": {\n "$ref": "#/$defs/RequirementRegistry"\n },\n "fixtures": {\n "$ref": "#/$defs/AppConfiguration/properties/fixtures"\n }\n },\n "required": [\n "schemaVersion",\n "languageVersion",\n "id",\n "entry",\n "profile",\n "states",\n "modules",\n "registry",\n "fixtures"\n ],\n "additionalProperties": false\n },\n "Diagnostic": {\n "type": "object",\n "properties": {\n "severity": {\n "enum": ["error", "warning", "info"]\n },\n "code": {\n "type": "string",\n "pattern": "^WW_[A-Z_]+$"\n },\n "phase": {\n "enum": ["parse", "schema", "link", "semantic", "compile", "runtime"]\n },\n "sourceId": {\n "type": "string",\n "minLength": 1\n },\n "start": {\n "type": "integer",\n "minimum": 0,\n "maximum": 9007199254740991\n },\n "end": {\n "type": "integer",\n "minimum": 0,\n "maximum": 9007199254740991\n },\n "path": {\n "type": "string",\n "minLength": 0\n },\n "messageKey": {\n "type": "string",\n "minLength": 1\n },\n "details": {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "related": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "sourceId": {\n "type": "string",\n "minLength": 1\n },\n "start": {\n "type": "integer",\n "minimum": 0,\n "maximum": 9007199254740991\n },\n "end": {\n "type": "integer",\n "minimum": 0,\n "maximum": 9007199254740991\n }\n },\n "required": ["sourceId", "start", "end"],\n "additionalProperties": false\n },\n "minItems": 0,\n "maxItems": 128\n }\n },\n "required": [\n "severity",\n "code",\n "phase",\n "sourceId",\n "start",\n "end",\n "path",\n "messageKey",\n "details",\n "related"\n ],\n "additionalProperties": false\n },\n "TemplateNode": {\n "type": "object",\n "properties": {\n "kind": {\n "enum": [\n "page",\n "header",\n "main",\n "footer",\n "sidebar",\n "section",\n "row",\n "col",\n "stack",\n "relative",\n "card",\n "modal",\n "drawer",\n "accordion",\n "text",\n "title",\n "link",\n "input",\n "textarea",\n "select",\n "checkbox",\n "radio",\n "switch",\n "slider",\n "button",\n "image",\n "placeholder",\n "avatar",\n "badge",\n "icon",\n "table",\n "list",\n "alert",\n "toast",\n "progress",\n "spinner",\n "tooltip",\n "popover",\n "dropdown",\n "nav",\n "tabs",\n "breadcrumb",\n "divider",\n "marker",\n "annotations",\n "form",\n "nav-item",\n "nav-group",\n "dropdown-item",\n "list-item",\n "tab",\n "option",\n "annotation-item",\n "use",\n "slot",\n "repeat"\n ]\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "label": {\n "type": "string",\n "minLength": 0\n },\n "number": {\n "type": "integer",\n "minimum": 1,\n "maximum": 100000\n },\n "attributes": {\n "type": "object",\n "propertyNames": {\n "enum": [\n "p",\n "px",\n "py",\n "pt",\n "pr",\n "pb",\n "pl",\n "m",\n "mx",\n "my",\n "mt",\n "mr",\n "mb",\n "ml",\n "gap",\n "w",\n "h",\n "minW",\n "maxW",\n "minH",\n "maxH",\n "width",\n "height",\n "x",\n "y",\n "flex",\n "direction",\n "justify",\n "align",\n "wrap",\n "span",\n "sm",\n "md",\n "lg",\n "xl",\n "order",\n "position",\n "border",\n "rounded",\n "muted",\n "bold",\n "primary",\n "secondary",\n "outline",\n "ghost",\n "danger",\n "required",\n "disabled",\n "readonly",\n "checked",\n "loading",\n "external",\n "expanded",\n "centered",\n "vertical",\n "scroll",\n "dismissible",\n "indeterminate",\n "pill",\n "striped",\n "bordered",\n "hover",\n "ordered",\n "none",\n "shadow",\n "bg",\n "size",\n "weight",\n "level",\n "variant",\n "inputType",\n "placeholder",\n "label",\n "name",\n "title",\n "alt",\n "aria",\n "aria-label",\n "value",\n "rows",\n "min",\n "max",\n "step",\n "src",\n "href",\n "icon",\n "active",\n "viewport",\n "device",\n "navigate",\n "opens",\n "toggles",\n "action",\n "uses",\n "on",\n "visibleWhen",\n "enabledWhen",\n "states",\n "variants",\n "when",\n "id",\n "anchor",\n "color",\n "options",\n "bind",\n "obligationRefs",\n "requirementRefs",\n "role",\n "buttonType",\n "form",\n "autocomplete",\n "minLength",\n "maxLength",\n "initialFocus",\n "modal",\n "data",\n "columns"\n ]\n },\n "additionalProperties": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/TemplateNode"\n },\n "maxItems": 10000\n },\n "items": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/JsonValue"\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "name": {\n "$ref": "#/$defs/Id"\n },\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "count": {\n "type": "integer",\n "minimum": 0,\n "maximum": 1000\n },\n "inputs": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",\n "maxLength": 128\n },\n "additionalProperties": {\n "$ref": "#/$defs/Expression"\n }\n },\n "fills": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "name": {\n "$ref": "#/$defs/Id"\n },\n "children": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/TemplateNode"\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["name", "children"],\n "additionalProperties": false\n },\n "minItems": 0,\n "maxItems": 128\n }\n },\n "required": ["kind"],\n "additionalProperties": false\n },\n "ParsedDocument": {\n "type": "object",\n "properties": {\n "schemaVersion": {\n "const": "1.0.0"\n },\n "languageVersion": {\n "const": "4.0.0"\n },\n "modules": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Module"\n },\n "minItems": 0,\n "maxItems": 256\n },\n "states": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/State"\n },\n "minItems": 0,\n "maxItems": 4096\n },\n "registry": {\n "$ref": "#/$defs/RequirementRegistry"\n },\n "fixtures": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Fixture"\n },\n "minItems": 0,\n "maxItems": 10000\n },\n "app": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "entry": {\n "$ref": "#/$defs/ScreenRef"\n },\n "profile": {\n "$ref": "#/$defs/Profile"\n }\n },\n "required": ["id", "profile"],\n "additionalProperties": false\n }\n },\n "required": [\n "schemaVersion",\n "languageVersion",\n "modules",\n "states",\n "registry",\n "fixtures",\n "app"\n ],\n "additionalProperties": false\n },\n "RuntimeInput": {\n "description": "Closed conformance input union. Event value/checked/key fields are further constrained by the native event and addressed control; unknown fields are rejected.",\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "event"\n },\n "source": {\n "$ref": "#/$defs/LinkedIdentity"\n },\n "event": {\n "enum": ["click", "input", "change", "submit", "keydown", "focus", "blur"]\n },\n "value": {\n "$ref": "#/$defs/JsonValue"\n },\n "checked": {\n "type": "boolean"\n },\n "key": {\n "type": "string"\n }\n },\n "required": ["kind", "source", "event"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "advanceClock"\n },\n "deltaMs": {\n "type": "integer",\n "minimum": 0,\n "maximum": 600000\n }\n },\n "required": ["kind", "deltaMs"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "reset"\n }\n },\n "required": ["kind"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "address"\n },\n "fragment": {\n "type": "string"\n }\n },\n "required": ["kind", "fragment"],\n "additionalProperties": false\n }\n ]\n },\n "RuntimeExpectation": {\n "type": "object",\n "properties": {\n "states": {\n "type": "object",\n "patternProperties": {\n "^(app|shell|screen|component):[A-Za-z_][A-Za-z0-9_-]*$": {\n "$ref": "#/$defs/JsonValue"\n }\n },\n "additionalProperties": false\n },\n "route": {\n "$ref": "#/$defs/ScreenRef"\n },\n "pendingRequests": {\n "type": "integer",\n "minimum": 0\n },\n "reservedStates": {\n "type": "integer",\n "minimum": 0\n }\n },\n "required": [],\n "additionalProperties": false,\n "minProperties": 1\n },\n "RuntimeCase": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "exampleId": {\n "$ref": "#/$defs/Id"\n },\n "steps": {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "input": {\n "$ref": "#/$defs/RuntimeInput"\n },\n "expect": {\n "$ref": "#/$defs/RuntimeExpectation"\n }\n },\n "required": ["input", "expect"],\n "additionalProperties": false\n },\n "minItems": 1\n }\n },\n "required": ["id", "exampleId", "steps"],\n "additionalProperties": false\n },\n "InstanceRoot": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "screen"\n },\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind", "namespace", "id"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "shell"\n },\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "profileDigest": {\n "$ref": "#/$defs/Digest"\n }\n },\n "required": ["kind", "namespace", "id", "profileDigest"],\n "additionalProperties": false\n }\n ]\n },\n "InstanceStep": {\n "oneOf": [\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "use"\n },\n "id": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": ["kind", "id"],\n "additionalProperties": false\n },\n {\n "type": "object",\n "properties": {\n "kind": {\n "const": "repeat"\n },\n "id": {\n "$ref": "#/$defs/Id"\n },\n "index": {\n "type": "integer",\n "minimum": 0,\n "maximum": 999\n }\n },\n "required": ["kind", "id", "index"],\n "additionalProperties": false\n }\n ]\n },\n "LinkedIdentity": {\n "type": "object",\n "properties": {\n "namespace": {\n "$ref": "#/$defs/Id"\n },\n "definitionKind": {\n "enum": ["page", "layout", "component"]\n },\n "definitionId": {\n "$ref": "#/$defs/Id"\n },\n "instanceRoot": {\n "$ref": "#/$defs/InstanceRoot"\n },\n "instancePath": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/InstanceStep"\n },\n "maxItems": 128\n },\n "localId": {\n "$ref": "#/$defs/Id"\n }\n },\n "required": [\n "namespace",\n "definitionKind",\n "definitionId",\n "instanceRoot",\n "instancePath",\n "localId"\n ],\n "additionalProperties": false\n },\n "AppConfiguration": {\n "type": "object",\n "properties": {\n "id": {\n "$ref": "#/$defs/Id"\n },\n "entry": {\n "$ref": "#/$defs/ScreenRef"\n },\n "profile": {\n "$ref": "#/$defs/Profile"\n },\n "states": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/State"\n },\n "minItems": 0,\n "maxItems": 4096\n },\n "fixtures": {\n "type": "array",\n "items": {\n "$ref": "#/$defs/Fixture"\n },\n "minItems": 0,\n "maxItems": 10000\n }\n },\n "required": ["id", "entry", "profile", "states", "fixtures"],\n "additionalProperties": false\n }\n },\n "x-vocabulary": {\n "page": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "centered",\n "device",\n "direction",\n "flex",\n "gap",\n "h",\n "height",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "states",\n "title",\n "uses",\n "variants",\n "viewport",\n "w",\n "width",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "header": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "main": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "scroll",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "footer": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "sidebar": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "section": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "expanded",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "row": {\n "category": "grid",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "order",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "col": {\n "category": "grid",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "lg",\n "m",\n "maxH",\n "maxW",\n "mb",\n "md",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "order",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "scroll",\n "sm",\n "span",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "xl",\n "y"\n ],\n "hasChildren": true\n },\n "stack": {\n "category": "grid",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "relative": {\n "category": "grid",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "card": {\n "category": "container",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "shadow",\n "title",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "modal": {\n "category": "container",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "initialFocus"\n ],\n "hasChildren": true\n },\n "drawer": {\n "category": "container",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "initialFocus",\n "modal"\n ],\n "hasChildren": true\n },\n "accordion": {\n "category": "container",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "text": {\n "category": "text",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "bold",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "muted",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "weight",\n "when",\n "wrap",\n "x",\n "y",\n "data"\n ],\n "hasChildren": false\n },\n "title": {\n "category": "text",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "level",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "link": {\n "category": "text",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "external",\n "flex",\n "gap",\n "h",\n "href",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "primary",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "input": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "icon",\n "id",\n "inputType",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "textarea": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "rows",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "select": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "placeholder",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "options"\n ],\n "hasChildren": false\n },\n "checkbox": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "radio": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "switch": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "checked",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "slider": {\n "category": "input",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "autocomplete",\n "bg",\n "bind",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "form",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxLength",\n "maxW",\n "mb",\n "min",\n "minH",\n "minLength",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "readonly",\n "required",\n "requirementRefs",\n "role",\n "rounded",\n "step",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "button": {\n "category": "input",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "danger",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "ghost",\n "h",\n "icon",\n "id",\n "justify",\n "loading",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "outline",\n "p",\n "pb",\n "pl",\n "pr",\n "primary",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "secondary",\n "size",\n "title",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "buttonType",\n "form"\n ],\n "hasChildren": false\n },\n "image": {\n "category": "display",\n "attributes": [\n "action",\n "align",\n "alt",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "src",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "placeholder": {\n "category": "display",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "avatar": {\n "category": "display",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "name",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "src"\n ],\n "hasChildren": false\n },\n "badge": {\n "category": "display",\n "attributes": [\n "action",\n "align",\n "anchor",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pill",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "toggles",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "icon": {\n "category": "display",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "muted",\n "mx",\n "my",\n "name",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "table": {\n "category": "data",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "bordered",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "hover",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "striped",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "data",\n "columns"\n ],\n "hasChildren": false\n },\n "list": {\n "category": "data",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "none",\n "obligationRefs",\n "on",\n "ordered",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y",\n "data"\n ],\n "hasChildren": false\n },\n "alert": {\n "category": "feedback",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "dismissible",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "toast": {\n "category": "feedback",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "variant",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "progress": {\n "category": "feedback",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "indeterminate",\n "justify",\n "label",\n "m",\n "max",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "value",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "spinner": {\n "category": "feedback",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "label",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "size",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "tooltip": {\n "category": "overlay",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "position",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "popover": {\n "category": "overlay",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "dropdown": {\n "category": "overlay",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "nav": {\n "category": "navigation",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "tabs": {\n "category": "navigation",\n "attributes": [\n "active",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "breadcrumb": {\n "category": "navigation",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "divider": {\n "category": "layout",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "vertical",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "marker": {\n "category": "annotation",\n "attributes": [\n "align",\n "anchor",\n "aria",\n "aria-label",\n "bg",\n "border",\n "color",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "annotations": {\n "category": "annotation",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "title",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "form": {\n "category": "input",\n "attributes": [\n "visibleWhen",\n "enabledWhen",\n "when",\n "p",\n "px",\n "py",\n "pt",\n "pr",\n "pb",\n "pl",\n "m",\n "mx",\n "my",\n "mt",\n "mr",\n "mb",\n "ml",\n "gap",\n "w",\n "h",\n "minW",\n "maxW",\n "minH",\n "maxH",\n "x",\n "y",\n "flex",\n "direction",\n "justify",\n "align",\n "wrap",\n "bg",\n "border",\n "rounded",\n "id",\n "aria",\n "aria-label",\n "role",\n "on",\n "requirementRefs",\n "obligationRefs"\n ],\n "hasChildren": true\n },\n "nav-item": {\n "category": "navigation",\n "attributes": [\n "action",\n "active",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "href",\n "icon",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "nav-group": {\n "category": "navigation",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "dropdown-item": {\n "category": "overlay",\n "attributes": [\n "action",\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "danger",\n "direction",\n "disabled",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "href",\n "icon",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "navigate",\n "obligationRefs",\n "on",\n "opens",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "toggles",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": false\n },\n "list-item": {\n "category": "data",\n "attributes": [\n "align",\n "aria",\n "aria-label",\n "bg",\n "border",\n "direction",\n "enabledWhen",\n "flex",\n "gap",\n "h",\n "icon",\n "id",\n "justify",\n "m",\n "maxH",\n "maxW",\n "mb",\n "minH",\n "minW",\n "ml",\n "mr",\n "mt",\n "mx",\n "my",\n "obligationRefs",\n "on",\n "p",\n "pb",\n "pl",\n "pr",\n "pt",\n "px",\n "py",\n "requirementRefs",\n "role",\n "rounded",\n "visibleWhen",\n "w",\n "when",\n "wrap",\n "x",\n "y"\n ],\n "hasChildren": true\n },\n "tab": {\n "category": "context",\n "attributes": [\n "visibleWhen",\n "enabledWhen",\n "when",\n "p",\n "px",\n "py",\n "pt",\n "pr",\n "pb",\n "pl",\n "m",\n "mx",\n "my",\n "mt",\n "mr",\n "mb",\n "ml",\n "gap",\n "w",\n "h",\n "minW",\n "maxW",\n "minH",\n "maxH",\n "x",\n "y",\n "flex",\n "direction",\n "justify",\n "align",\n "wrap",\n "bg",\n "border",\n "rounded",\n "id",\n "aria",\n "aria-label",\n "role",\n "on",\n "requirementRefs",\n "obligationRefs",\n "disabled"\n ],\n "hasChildren": true\n },\n "option": {\n "category": "context",\n "attributes": [\n "visibleWhen",\n "enabledWhen",\n "when",\n "p",\n "px",\n "py",\n "pt",\n "pr",\n "pb",\n "pl",\n "m",\n "mx",\n "my",\n "mt",\n "mr",\n "mb",\n "ml",\n "gap",\n "w",\n "h",\n "minW",\n "maxW",\n "minH",\n "maxH",\n "x",\n "y",\n "flex",\n "direction",\n "justify",\n "align",\n "wrap",\n "bg",\n "border",\n "rounded",\n "id",\n "aria",\n "aria-label",\n "role",\n "on",\n "requirementRefs",\n "obligationRefs",\n "value",\n "disabled"\n ],\n "hasChildren": false\n },\n "annotation-item": {\n "category": "context",\n "attributes": [\n "visibleWhen",\n "enabledWhen",\n "when",\n "p",\n "px",\n "py",\n "pt",\n "pr",\n "pb",\n "pl",\n "m",\n "mx",\n "my",\n "mt",\n "mr",\n "mb",\n "ml",\n "gap",\n "w",\n "h",\n "minW",\n "maxW",\n "minH",\n "maxH",\n "x",\n "y",\n "flex",\n "direction",\n "justify",\n "align",\n "wrap",\n "bg",\n "border",\n "rounded",\n "id",\n "aria",\n "aria-label",\n "role",\n "on",\n "requirementRefs",\n "obligationRefs"\n ],\n "hasChildren": true\n }\n }\n}\n'
3023
+ }
3024
+ ];
3025
+ var LANGUAGE_SCHEMA_METADATA = {
3026
+ coverage: "partial",
3027
+ schemaId: "https://wireweave.org/contracts/core/language/1.0/schema.json",
3028
+ dialectId: "https://json-schema.org/draft/2020-12/schema",
3029
+ externalRefs: [
3030
+ {
3031
+ ref: "https://wireweave.org/contracts/product/1.0/schema.json#/$defs/Registry",
3032
+ resourceId: "https://wireweave.org/contracts/product/1.0/schema.json"
3033
+ }
3034
+ ]
3035
+ };
3036
+
3037
+ // src/spec/language-resources.ts
3038
+ exports.languageSourceResources = Object.freeze({
3039
+ package: Object.freeze({ ...LANGUAGE_RESOURCE_PACKAGE }),
3040
+ resources: Object.freeze(
3041
+ LANGUAGE_RESOURCE_DATA.map(
3042
+ (resource) => Object.freeze({ ...resource })
3043
+ )
3044
+ )
3045
+ });
3046
+ exports.languageSchemaSource = Object.freeze({
3047
+ ...LANGUAGE_SCHEMA_METADATA,
3048
+ resource: exports.languageSourceResources.resources.find(
3049
+ (resource) => resource.path === "docs/spec/schema.json"
3050
+ ),
3051
+ externalRefs: Object.freeze(
3052
+ LANGUAGE_SCHEMA_METADATA.externalRefs.map((reference) => Object.freeze({ ...reference }))
3053
+ )
3054
+ });
3055
+ function resolveLanguageSourceResource(uri) {
3056
+ var _a;
3057
+ return (_a = exports.languageSourceResources.resources.find((resource) => resource.uri === uri)) != null ? _a : null;
3058
+ }
3059
+
3060
+ // src/spec/catalog-fingerprint.generated.ts
3061
+ exports.languageCatalogFingerprint = Object.freeze({
3062
+ scope: "wireweave-core-dsl-catalog-v1",
3063
+ canonicalization: "wireweave-sorted-json-v1",
3064
+ digest: "sha256:44fa7dfa46bac75f8106032d22001dafa1901a3406c58e3a2b0cba484fdd56fb",
3065
+ byteLength: 241173
3066
+ });
3067
+
3068
+ exports.attributeFor = attributeFor;
3069
+ exports.calculateViewportScale = calculateViewportScale;
3070
+ exports.getDevicePresets = getDevicePresets;
3071
+ exports.getValidAttributes = getValidAttributes;
3072
+ exports.isValidAttribute = isValidAttribute;
3073
+ exports.isValidDevicePreset = isValidDevicePreset;
3074
+ exports.parseViewportString = parseViewportString;
3075
+ exports.resolveLanguageSourceResource = resolveLanguageSourceResource;
3076
+ exports.resolveViewport = resolveViewport;
3077
+ exports.wrapInPreviewContainer = wrapInPreviewContainer;