@almadar/patterns 2.38.3 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/patterns-registry.json
2
2
  var patterns_registry_default = {
3
3
  version: "1.0.0",
4
- exportedAt: "2026-06-07T18:38:16.149Z",
4
+ exportedAt: "2026-06-09T01:18:33.001Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -48,7 +48,32 @@ var patterns_registry_default = {
48
48
  types: [
49
49
  "object"
50
50
  ],
51
- description: "Error state"
51
+ description: "Error state (UiError)",
52
+ properties: {
53
+ message: {
54
+ types: [
55
+ "string"
56
+ ]
57
+ },
58
+ name: {
59
+ types: [
60
+ "string"
61
+ ]
62
+ },
63
+ code: {
64
+ types: [
65
+ "string"
66
+ ]
67
+ },
68
+ stack: {
69
+ types: [
70
+ "string"
71
+ ]
72
+ }
73
+ },
74
+ propertyRequired: [
75
+ "message"
76
+ ]
52
77
  },
53
78
  sortBy: {
54
79
  types: [
@@ -61,6 +86,10 @@ var patterns_registry_default = {
61
86
  "string"
62
87
  ],
63
88
  description: "Current sort direction",
89
+ enumValues: [
90
+ "asc",
91
+ "desc"
92
+ ],
64
93
  default: "asc"
65
94
  },
66
95
  searchValue: {
@@ -245,6 +274,10 @@ var patterns_registry_default = {
245
274
  placement: {
246
275
  types: [
247
276
  "string"
277
+ ],
278
+ enumValues: [
279
+ "row",
280
+ "bulk"
248
281
  ]
249
282
  },
250
283
  icon: {
@@ -255,6 +288,13 @@ var patterns_registry_default = {
255
288
  variant: {
256
289
  types: [
257
290
  "string"
291
+ ],
292
+ enumValues: [
293
+ "default",
294
+ "primary",
295
+ "secondary",
296
+ "ghost",
297
+ "danger"
258
298
  ]
259
299
  },
260
300
  onClick: {
@@ -270,7 +310,8 @@ var patterns_registry_default = {
270
310
  },
271
311
  emptyIcon: {
272
312
  types: [
273
- "icon"
313
+ "icon",
314
+ "string"
274
315
  ],
275
316
  description: "emptyIcon prop"
276
317
  },
@@ -486,7 +527,32 @@ var patterns_registry_default = {
486
527
  types: [
487
528
  "object"
488
529
  ],
489
- description: "Error state"
530
+ description: "Error state (UiError)",
531
+ properties: {
532
+ message: {
533
+ types: [
534
+ "string"
535
+ ]
536
+ },
537
+ name: {
538
+ types: [
539
+ "string"
540
+ ]
541
+ },
542
+ code: {
543
+ types: [
544
+ "string"
545
+ ]
546
+ },
547
+ stack: {
548
+ types: [
549
+ "string"
550
+ ]
551
+ }
552
+ },
553
+ propertyRequired: [
554
+ "message"
555
+ ]
490
556
  },
491
557
  sortBy: {
492
558
  types: [
@@ -498,7 +564,11 @@ var patterns_registry_default = {
498
564
  types: [
499
565
  "string"
500
566
  ],
501
- description: "Current sort direction"
567
+ description: "Current sort direction",
568
+ enumValues: [
569
+ "asc",
570
+ "desc"
571
+ ]
502
572
  },
503
573
  searchValue: {
504
574
  types: [
@@ -585,6 +655,12 @@ var patterns_registry_default = {
585
655
  placement: {
586
656
  types: [
587
657
  "string"
658
+ ],
659
+ enumValues: [
660
+ "row",
661
+ "bulk",
662
+ "card",
663
+ "footer"
588
664
  ]
589
665
  },
590
666
  action: {
@@ -832,7 +908,32 @@ var patterns_registry_default = {
832
908
  types: [
833
909
  "object"
834
910
  ],
835
- description: "Error state",
911
+ description: "Error state (UiError)",
912
+ properties: {
913
+ message: {
914
+ types: [
915
+ "string"
916
+ ]
917
+ },
918
+ name: {
919
+ types: [
920
+ "string"
921
+ ]
922
+ },
923
+ code: {
924
+ types: [
925
+ "string"
926
+ ]
927
+ },
928
+ stack: {
929
+ types: [
930
+ "string"
931
+ ]
932
+ }
933
+ },
934
+ propertyRequired: [
935
+ "message"
936
+ ],
836
937
  default: null
837
938
  },
838
939
  sortBy: {
@@ -845,7 +946,11 @@ var patterns_registry_default = {
845
946
  types: [
846
947
  "string"
847
948
  ],
848
- description: "Current sort direction"
949
+ description: "Current sort direction",
950
+ enumValues: [
951
+ "asc",
952
+ "desc"
953
+ ]
849
954
  },
850
955
  searchValue: {
851
956
  types: [
@@ -900,7 +1005,15 @@ var patterns_registry_default = {
900
1005
  types: [
901
1006
  "number"
902
1007
  ],
903
- description: "Maximum number of columns"
1008
+ description: "Maximum number of columns",
1009
+ numericEnumValues: [
1010
+ 1,
1011
+ 2,
1012
+ 3,
1013
+ 4,
1014
+ 5,
1015
+ 6
1016
+ ]
904
1017
  },
905
1018
  gap: {
906
1019
  types: [
@@ -1055,11 +1168,22 @@ var patterns_registry_default = {
1055
1168
  placement: {
1056
1169
  types: [
1057
1170
  "string"
1171
+ ],
1172
+ enumValues: [
1173
+ "card",
1174
+ "footer",
1175
+ "row"
1058
1176
  ]
1059
1177
  },
1060
1178
  variant: {
1061
1179
  types: [
1062
1180
  "string"
1181
+ ],
1182
+ enumValues: [
1183
+ "primary",
1184
+ "secondary",
1185
+ "ghost",
1186
+ "danger"
1063
1187
  ]
1064
1188
  }
1065
1189
  },
@@ -1133,7 +1257,32 @@ var patterns_registry_default = {
1133
1257
  types: [
1134
1258
  "object"
1135
1259
  ],
1136
- description: "Error state"
1260
+ description: "Error state (UiError)",
1261
+ properties: {
1262
+ message: {
1263
+ types: [
1264
+ "string"
1265
+ ]
1266
+ },
1267
+ name: {
1268
+ types: [
1269
+ "string"
1270
+ ]
1271
+ },
1272
+ code: {
1273
+ types: [
1274
+ "string"
1275
+ ]
1276
+ },
1277
+ stack: {
1278
+ types: [
1279
+ "string"
1280
+ ]
1281
+ }
1282
+ },
1283
+ propertyRequired: [
1284
+ "message"
1285
+ ]
1137
1286
  },
1138
1287
  sortBy: {
1139
1288
  types: [
@@ -1145,7 +1294,11 @@ var patterns_registry_default = {
1145
1294
  types: [
1146
1295
  "string"
1147
1296
  ],
1148
- description: "Current sort direction"
1297
+ description: "Current sort direction",
1298
+ enumValues: [
1299
+ "asc",
1300
+ "desc"
1301
+ ]
1149
1302
  },
1150
1303
  searchValue: {
1151
1304
  types: [
@@ -1456,7 +1609,7 @@ var patterns_registry_default = {
1456
1609
  "page-header": {
1457
1610
  type: "page-header",
1458
1611
  category: "header",
1459
- tier: "organisms",
1612
+ tier: "molecules",
1460
1613
  family: "core",
1461
1614
  description: "Page title with optional breadcrumb and action buttons",
1462
1615
  suggestedFor: [
@@ -1801,7 +1954,11 @@ var patterns_registry_default = {
1801
1954
  types: [
1802
1955
  "string"
1803
1956
  ],
1804
- description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
1957
+ description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
1958
+ enumValues: [
1959
+ "create",
1960
+ "edit"
1961
+ ]
1805
1962
  },
1806
1963
  fields: {
1807
1964
  types: [
@@ -2050,7 +2207,42 @@ var patterns_registry_default = {
2050
2207
  "object"
2051
2208
  ],
2052
2209
  description: "Relation data props",
2053
- freeform: true,
2210
+ mapValue: {
2211
+ types: [
2212
+ "array"
2213
+ ],
2214
+ items: {
2215
+ types: [
2216
+ "object"
2217
+ ],
2218
+ properties: {
2219
+ value: {
2220
+ types: [
2221
+ "string"
2222
+ ]
2223
+ },
2224
+ label: {
2225
+ types: [
2226
+ "string"
2227
+ ]
2228
+ },
2229
+ description: {
2230
+ types: [
2231
+ "string"
2232
+ ]
2233
+ },
2234
+ disabled: {
2235
+ types: [
2236
+ "boolean"
2237
+ ]
2238
+ }
2239
+ },
2240
+ required: [
2241
+ "value",
2242
+ "label"
2243
+ ]
2244
+ }
2245
+ },
2054
2246
  default: {}
2055
2247
  },
2056
2248
  relationsLoading: {
@@ -2058,7 +2250,11 @@ var patterns_registry_default = {
2058
2250
  "object"
2059
2251
  ],
2060
2252
  description: "Loading state for relation data: { fieldName: boolean }",
2061
- freeform: true,
2253
+ mapValue: {
2254
+ types: [
2255
+ "boolean"
2256
+ ]
2257
+ },
2062
2258
  default: {}
2063
2259
  },
2064
2260
  conditionalFields: {
@@ -2066,7 +2262,12 @@ var patterns_registry_default = {
2066
2262
  "object",
2067
2263
  "boolean"
2068
2264
  ],
2069
- description: "Inspection form extensions"
2265
+ description: "Inspection form extensions",
2266
+ mapValue: {
2267
+ types: [
2268
+ "sexpr"
2269
+ ]
2270
+ }
2070
2271
  },
2071
2272
  hiddenCalculations: {
2072
2273
  types: [
@@ -2086,9 +2287,8 @@ var patterns_registry_default = {
2086
2287
  },
2087
2288
  expression: {
2088
2289
  types: [
2089
- "object"
2090
- ],
2091
- freeform: true
2290
+ "sexpr"
2291
+ ]
2092
2292
  },
2093
2293
  triggerFields: {
2094
2294
  types: [
@@ -2121,9 +2321,8 @@ var patterns_registry_default = {
2121
2321
  properties: {
2122
2322
  condition: {
2123
2323
  types: [
2124
- "object"
2125
- ],
2126
- freeform: true
2324
+ "sexpr"
2325
+ ]
2127
2326
  },
2128
2327
  violation: {
2129
2328
  types: [
@@ -2233,9 +2432,8 @@ var patterns_registry_default = {
2233
2432
  },
2234
2433
  condition: {
2235
2434
  types: [
2236
- "object"
2237
- ],
2238
- freeform: true
2435
+ "sexpr"
2436
+ ]
2239
2437
  },
2240
2438
  fields: {
2241
2439
  types: [
@@ -2421,14 +2619,18 @@ var patterns_registry_default = {
2421
2619
  },
2422
2620
  value: {
2423
2621
  types: [
2424
- "unknown"
2622
+ "object"
2425
2623
  ]
2426
2624
  },
2427
2625
  formValues: {
2428
2626
  types: [
2429
2627
  "object"
2430
2628
  ],
2431
- freeform: true
2629
+ mapValue: {
2630
+ types: [
2631
+ "object"
2632
+ ]
2633
+ }
2432
2634
  }
2433
2635
  },
2434
2636
  required: [
@@ -2533,7 +2735,11 @@ var patterns_registry_default = {
2533
2735
  types: [
2534
2736
  "string"
2535
2737
  ],
2536
- description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
2738
+ description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
2739
+ enumValues: [
2740
+ "create",
2741
+ "edit"
2742
+ ]
2537
2743
  },
2538
2744
  fields: {
2539
2745
  types: [
@@ -2782,7 +2988,42 @@ var patterns_registry_default = {
2782
2988
  "object"
2783
2989
  ],
2784
2990
  description: "Relation data props",
2785
- freeform: true,
2991
+ mapValue: {
2992
+ types: [
2993
+ "array"
2994
+ ],
2995
+ items: {
2996
+ types: [
2997
+ "object"
2998
+ ],
2999
+ properties: {
3000
+ value: {
3001
+ types: [
3002
+ "string"
3003
+ ]
3004
+ },
3005
+ label: {
3006
+ types: [
3007
+ "string"
3008
+ ]
3009
+ },
3010
+ description: {
3011
+ types: [
3012
+ "string"
3013
+ ]
3014
+ },
3015
+ disabled: {
3016
+ types: [
3017
+ "boolean"
3018
+ ]
3019
+ }
3020
+ },
3021
+ required: [
3022
+ "value",
3023
+ "label"
3024
+ ]
3025
+ }
3026
+ },
2786
3027
  default: {}
2787
3028
  },
2788
3029
  relationsLoading: {
@@ -2790,7 +3031,11 @@ var patterns_registry_default = {
2790
3031
  "object"
2791
3032
  ],
2792
3033
  description: "Loading state for relation data: { fieldName: boolean }",
2793
- freeform: true,
3034
+ mapValue: {
3035
+ types: [
3036
+ "boolean"
3037
+ ]
3038
+ },
2794
3039
  default: {}
2795
3040
  },
2796
3041
  conditionalFields: {
@@ -2798,7 +3043,12 @@ var patterns_registry_default = {
2798
3043
  "object",
2799
3044
  "boolean"
2800
3045
  ],
2801
- description: "Inspection form extensions"
3046
+ description: "Inspection form extensions",
3047
+ mapValue: {
3048
+ types: [
3049
+ "sexpr"
3050
+ ]
3051
+ }
2802
3052
  },
2803
3053
  hiddenCalculations: {
2804
3054
  types: [
@@ -2818,9 +3068,8 @@ var patterns_registry_default = {
2818
3068
  },
2819
3069
  expression: {
2820
3070
  types: [
2821
- "object"
2822
- ],
2823
- freeform: true
3071
+ "sexpr"
3072
+ ]
2824
3073
  },
2825
3074
  triggerFields: {
2826
3075
  types: [
@@ -2853,9 +3102,8 @@ var patterns_registry_default = {
2853
3102
  properties: {
2854
3103
  condition: {
2855
3104
  types: [
2856
- "object"
2857
- ],
2858
- freeform: true
3105
+ "sexpr"
3106
+ ]
2859
3107
  },
2860
3108
  violation: {
2861
3109
  types: [
@@ -2965,9 +3213,8 @@ var patterns_registry_default = {
2965
3213
  },
2966
3214
  condition: {
2967
3215
  types: [
2968
- "object"
2969
- ],
2970
- freeform: true
3216
+ "sexpr"
3217
+ ]
2971
3218
  },
2972
3219
  fields: {
2973
3220
  types: [
@@ -3153,14 +3400,18 @@ var patterns_registry_default = {
3153
3400
  },
3154
3401
  value: {
3155
3402
  types: [
3156
- "unknown"
3403
+ "object"
3157
3404
  ]
3158
3405
  },
3159
3406
  formValues: {
3160
3407
  types: [
3161
3408
  "object"
3162
3409
  ],
3163
- freeform: true
3410
+ mapValue: {
3411
+ types: [
3412
+ "object"
3413
+ ]
3414
+ }
3164
3415
  }
3165
3416
  },
3166
3417
  required: [
@@ -3985,7 +4236,7 @@ var patterns_registry_default = {
3985
4236
  "wizard-container": {
3986
4237
  type: "wizard-container",
3987
4238
  category: "navigation",
3988
- tier: "organisms",
4239
+ tier: "molecules",
3989
4240
  family: "core",
3990
4241
  description: "Multi-step wizard container",
3991
4242
  suggestedFor: [
@@ -4463,6 +4714,12 @@ var patterns_registry_default = {
4463
4714
  mode: {
4464
4715
  types: [
4465
4716
  "string"
4717
+ ],
4718
+ enumValues: [
4719
+ "search_or_create",
4720
+ "create_multiple",
4721
+ "select_one",
4722
+ "update"
4466
4723
  ]
4467
4724
  },
4468
4725
  parentField: {
@@ -5097,52 +5354,6 @@ var patterns_registry_default = {
5097
5354
  }
5098
5355
  }
5099
5356
  },
5100
- stats: {
5101
- type: "stats",
5102
- category: "dashboard",
5103
- tier: "atoms",
5104
- family: "marketing",
5105
- description: "Key metrics and statistics",
5106
- suggestedFor: [
5107
- "dashboards",
5108
- "overview pages"
5109
- ],
5110
- typicalSize: "small",
5111
- propsSchema: {
5112
- value: {
5113
- types: [
5114
- "string"
5115
- ],
5116
- description: "The stat value to display prominently",
5117
- required: true
5118
- },
5119
- label: {
5120
- types: [
5121
- "string"
5122
- ],
5123
- description: "Label describing the value",
5124
- required: true
5125
- },
5126
- size: {
5127
- types: [
5128
- "string"
5129
- ],
5130
- description: "Size of the value text",
5131
- enumValues: [
5132
- "sm",
5133
- "md",
5134
- "lg"
5135
- ],
5136
- default: "md"
5137
- },
5138
- className: {
5139
- types: [
5140
- "string"
5141
- ],
5142
- description: "Additional class names"
5143
- }
5144
- }
5145
- },
5146
5357
  modal: {
5147
5358
  type: "modal",
5148
5359
  category: "container",
@@ -5324,6 +5535,13 @@ var patterns_registry_default = {
5324
5535
  "string"
5325
5536
  ],
5326
5537
  description: "Width (CSS value or preset size)",
5538
+ enumValues: [
5539
+ "sm",
5540
+ "md",
5541
+ "lg",
5542
+ "xl",
5543
+ "full"
5544
+ ],
5327
5545
  default: "md"
5328
5546
  },
5329
5547
  showCloseButton: {
@@ -5365,7 +5583,7 @@ var patterns_registry_default = {
5365
5583
  "confirm-dialog": {
5366
5584
  type: "confirm-dialog",
5367
5585
  category: "container",
5368
- tier: "organisms",
5586
+ tier: "molecules",
5369
5587
  family: "core",
5370
5588
  description: "Confirmation dialog",
5371
5589
  suggestedFor: [
@@ -5565,7 +5783,32 @@ var patterns_registry_default = {
5565
5783
  types: [
5566
5784
  "object"
5567
5785
  ],
5568
- description: "Error state"
5786
+ description: "Error state (UiError)",
5787
+ properties: {
5788
+ message: {
5789
+ types: [
5790
+ "string"
5791
+ ]
5792
+ },
5793
+ name: {
5794
+ types: [
5795
+ "string"
5796
+ ]
5797
+ },
5798
+ code: {
5799
+ types: [
5800
+ "string"
5801
+ ]
5802
+ },
5803
+ stack: {
5804
+ types: [
5805
+ "string"
5806
+ ]
5807
+ }
5808
+ },
5809
+ propertyRequired: [
5810
+ "message"
5811
+ ]
5569
5812
  },
5570
5813
  sortBy: {
5571
5814
  types: [
@@ -5577,7 +5820,11 @@ var patterns_registry_default = {
5577
5820
  types: [
5578
5821
  "string"
5579
5822
  ],
5580
- description: "Current sort direction"
5823
+ description: "Current sort direction",
5824
+ enumValues: [
5825
+ "asc",
5826
+ "desc"
5827
+ ]
5581
5828
  },
5582
5829
  searchValue: {
5583
5830
  types: [
@@ -5872,7 +6119,7 @@ var patterns_registry_default = {
5872
6119
  },
5873
6120
  as: {
5874
6121
  types: [
5875
- "object"
6122
+ "component"
5876
6123
  ],
5877
6124
  description: "HTML element to render as"
5878
6125
  },
@@ -5932,35 +6179,53 @@ var patterns_registry_default = {
5932
6179
  "object"
5933
6180
  ],
5934
6181
  description: "Number of columns (can be responsive object)",
6182
+ enumValues: [
6183
+ "none"
6184
+ ],
5935
6185
  properties: {
5936
6186
  base: {
5937
6187
  types: [
5938
6188
  "number",
5939
6189
  "string"
6190
+ ],
6191
+ enumValues: [
6192
+ "none"
5940
6193
  ]
5941
6194
  },
5942
6195
  sm: {
5943
6196
  types: [
5944
6197
  "number",
5945
6198
  "string"
6199
+ ],
6200
+ enumValues: [
6201
+ "none"
5946
6202
  ]
5947
6203
  },
5948
6204
  md: {
5949
6205
  types: [
5950
6206
  "number",
5951
6207
  "string"
6208
+ ],
6209
+ enumValues: [
6210
+ "none"
5952
6211
  ]
5953
6212
  },
5954
6213
  lg: {
5955
6214
  types: [
5956
6215
  "number",
5957
6216
  "string"
6217
+ ],
6218
+ enumValues: [
6219
+ "none"
5958
6220
  ]
5959
6221
  },
5960
6222
  xl: {
5961
6223
  types: [
5962
6224
  "number",
5963
6225
  "string"
6226
+ ],
6227
+ enumValues: [
6228
+ "none"
5964
6229
  ]
5965
6230
  }
5966
6231
  },
@@ -6076,7 +6341,7 @@ var patterns_registry_default = {
6076
6341
  },
6077
6342
  as: {
6078
6343
  types: [
6079
- "object"
6344
+ "component"
6080
6345
  ],
6081
6346
  description: "HTML element to render as"
6082
6347
  }
@@ -6159,7 +6424,7 @@ var patterns_registry_default = {
6159
6424
  },
6160
6425
  as: {
6161
6426
  types: [
6162
- "object"
6427
+ "component"
6163
6428
  ],
6164
6429
  description: "HTML element to render as"
6165
6430
  }
@@ -6566,9 +6831,10 @@ var patterns_registry_default = {
6566
6831
  },
6567
6832
  icon: {
6568
6833
  types: [
6569
- "icon"
6834
+ "icon",
6835
+ "string"
6570
6836
  ],
6571
- description: "Icon to display when no image or initials"
6837
+ description: "Icon to display when no image or initials. Accepts a Lucide component directly, or a canonical kebab-case icon name string (resolved via `resolveIcon`) so trait/factory authors can pass an icon by name."
6572
6838
  },
6573
6839
  size: {
6574
6840
  types: [
@@ -6648,9 +6914,10 @@ var patterns_registry_default = {
6648
6914
  propsSchema: {
6649
6915
  icon: {
6650
6916
  types: [
6651
- "icon"
6917
+ "icon",
6918
+ "string"
6652
6919
  ],
6653
- description: "Lucide icon component (preferred for type-safe usage)"
6920
+ description: "Lucide icon component (preferred for type-safe usage), OR a canonical kebab-case icon name string \u2014 a string is treated exactly like `name` so trait/factory authors can pass an icon by name through the `icon` prop."
6654
6921
  },
6655
6922
  name: {
6656
6923
  types: [
@@ -7035,9 +7302,10 @@ var patterns_registry_default = {
7035
7302
  },
7036
7303
  icon: {
7037
7304
  types: [
7038
- "icon"
7305
+ "icon",
7306
+ "string"
7039
7307
  ],
7040
- description: "Lucide icon component for left side (convenience prop)"
7308
+ description: "Lucide icon component for left side (convenience prop), or a canonical kebab-case icon name string (resolved via `resolveIcon`)."
7041
7309
  },
7042
7310
  clearable: {
7043
7311
  types: [
@@ -8004,7 +8272,7 @@ var patterns_registry_default = {
8004
8272
  },
8005
8273
  as: {
8006
8274
  types: [
8007
- "object"
8275
+ "component"
8008
8276
  ],
8009
8277
  description: "HTML element to render as"
8010
8278
  }
@@ -8035,13 +8303,29 @@ var patterns_registry_default = {
8035
8303
  types: [
8036
8304
  "number"
8037
8305
  ],
8038
- description: "Maximum number of columns"
8306
+ description: "Maximum number of columns",
8307
+ numericEnumValues: [
8308
+ 1,
8309
+ 2,
8310
+ 3,
8311
+ 4,
8312
+ 5,
8313
+ 6
8314
+ ]
8039
8315
  },
8040
8316
  cols: {
8041
8317
  types: [
8042
8318
  "number"
8043
8319
  ],
8044
- description: "Exact number of columns (disables auto-fit)"
8320
+ description: "Exact number of columns (disables auto-fit)",
8321
+ numericEnumValues: [
8322
+ 1,
8323
+ 2,
8324
+ 3,
8325
+ 4,
8326
+ 5,
8327
+ 6
8328
+ ]
8045
8329
  },
8046
8330
  gap: {
8047
8331
  types: [
@@ -8300,10 +8584,9 @@ var patterns_registry_default = {
8300
8584
  propsSchema: {
8301
8585
  condition: {
8302
8586
  types: [
8303
- "object"
8587
+ "sexpr"
8304
8588
  ],
8305
- description: "The S-expression condition to evaluate",
8306
- freeform: true
8589
+ description: "The S-expression condition to evaluate"
8307
8590
  },
8308
8591
  context: {
8309
8592
  types: [
@@ -8474,7 +8757,8 @@ var patterns_registry_default = {
8474
8757
  name: "e",
8475
8758
  type: "object"
8476
8759
  }
8477
- ]
8760
+ ],
8761
+ nonEmittable: true
8478
8762
  },
8479
8763
  className: {
8480
8764
  types: [
@@ -8606,7 +8890,7 @@ var patterns_registry_default = {
8606
8890
  },
8607
8891
  as: {
8608
8892
  types: [
8609
- "object"
8893
+ "component"
8610
8894
  ],
8611
8895
  description: "HTML element to render as"
8612
8896
  },
@@ -8621,7 +8905,8 @@ var patterns_registry_default = {
8621
8905
  name: "e",
8622
8906
  type: "object"
8623
8907
  }
8624
- ]
8908
+ ],
8909
+ nonEmittable: true
8625
8910
  },
8626
8911
  onKeyDown: {
8627
8912
  types: [
@@ -8634,7 +8919,8 @@ var patterns_registry_default = {
8634
8919
  name: "e",
8635
8920
  type: "object"
8636
8921
  }
8637
- ]
8922
+ ],
8923
+ nonEmittable: true
8638
8924
  },
8639
8925
  role: {
8640
8926
  types: [
@@ -8842,6 +9128,14 @@ var patterns_registry_default = {
8842
9128
  "number"
8843
9129
  ],
8844
9130
  description: "Heading level (1-6) - alternative to variant for headings",
9131
+ numericEnumValues: [
9132
+ 1,
9133
+ 2,
9134
+ 3,
9135
+ 4,
9136
+ 5,
9137
+ 6
9138
+ ],
8845
9139
  default: 2
8846
9140
  },
8847
9141
  color: {
@@ -8921,7 +9215,7 @@ var patterns_registry_default = {
8921
9215
  },
8922
9216
  as: {
8923
9217
  types: [
8924
- "string"
9218
+ "component"
8925
9219
  ],
8926
9220
  description: "Custom HTML element"
8927
9221
  },
@@ -9275,7 +9569,7 @@ var patterns_registry_default = {
9275
9569
  },
9276
9570
  as: {
9277
9571
  types: [
9278
- "object"
9572
+ "component"
9279
9573
  ],
9280
9574
  description: "HTML element to render as"
9281
9575
  }
@@ -9402,6 +9696,14 @@ var patterns_registry_default = {
9402
9696
  "string"
9403
9697
  ],
9404
9698
  description: "Button position",
9699
+ enumValues: [
9700
+ "bottom-right",
9701
+ "bottom-left",
9702
+ "bottom-center",
9703
+ "top-right",
9704
+ "top-left",
9705
+ "top-center"
9706
+ ],
9405
9707
  default: "bottom-right"
9406
9708
  },
9407
9709
  className: {
@@ -10048,7 +10350,7 @@ var patterns_registry_default = {
10048
10350
  header: {
10049
10351
  type: "header",
10050
10352
  category: "header",
10051
- tier: "organisms",
10353
+ tier: "molecules",
10052
10354
  family: "core",
10053
10355
  description: "Header Organism Component A header component for mobile/responsive layouts with menu toggle, brand, and user avatar. Styled to match the main Layout component's mobile header.",
10054
10356
  suggestedFor: [
@@ -10397,7 +10699,7 @@ var patterns_registry_default = {
10397
10699
  navigation: {
10398
10700
  type: "navigation",
10399
10701
  category: "navigation",
10400
- tier: "organisms",
10702
+ tier: "molecules",
10401
10703
  family: "core",
10402
10704
  description: "Navigation Organism Component A navigation component with items, active indicators, icons, and badges. Uses Menu, ButtonGroup molecules and Button, Icon, Badge, Typography, Divider atoms.",
10403
10705
  suggestedFor: [
@@ -10540,7 +10842,7 @@ var patterns_registry_default = {
10540
10842
  "orbital-visualization": {
10541
10843
  type: "orbital-visualization",
10542
10844
  category: "display",
10543
- tier: "organisms",
10845
+ tier: "molecules",
10544
10846
  family: "core",
10545
10847
  description: "OrbitalVisualization Component Visualizes KFlow schemas as atomic orbitals based on complexity. Uses CSS 3D transforms for lightweight rendering without Three.js. Orbital Types (based on complexity score): - 1s (1-3): Simple sphere - Red - 2s (4-8): Larger sphere - Orange - 2p (9-15): Dumbbell shape - Yellow - 3s (16-25): Sphere with node - Green - 3p (26-40): Complex dumbbell - Blue - 3d (41-60): Cloverleaf - Indigo - 4f (61+): Multi-lobe - Violet",
10546
10848
  suggestedFor: [
@@ -10703,7 +11005,7 @@ var patterns_registry_default = {
10703
11005
  section: {
10704
11006
  type: "section",
10705
11007
  category: "display",
10706
- tier: "organisms",
11008
+ tier: "molecules",
10707
11009
  family: "core",
10708
11010
  description: "Section Component A semantic section wrapper with optional title, description, and action. Perfect for grouping related content with consistent spacing.",
10709
11011
  suggestedFor: [
@@ -10790,7 +11092,7 @@ var patterns_registry_default = {
10790
11092
  },
10791
11093
  as: {
10792
11094
  types: [
10793
- "object"
11095
+ "component"
10794
11096
  ],
10795
11097
  description: "HTML element to render as"
10796
11098
  },
@@ -10842,7 +11144,7 @@ var patterns_registry_default = {
10842
11144
  sidebar: {
10843
11145
  type: "sidebar",
10844
11146
  category: "navigation",
10845
- tier: "organisms",
11147
+ tier: "molecules",
10846
11148
  family: "core",
10847
11149
  description: "Sidebar Organism Component A sidebar component with logo, navigation items, user section, and collapse/expand. Styled to match the main Layout component with theme-aware CSS variables.",
10848
11150
  suggestedFor: [
@@ -11056,7 +11358,7 @@ var patterns_registry_default = {
11056
11358
  split: {
11057
11359
  type: "split",
11058
11360
  category: "layout",
11059
- tier: "organisms",
11361
+ tier: "molecules",
11060
11362
  family: "core",
11061
11363
  description: "Split Component A two-column layout with configurable ratios. Perfect for sidebar/content layouts or side-by-side comparisons.",
11062
11364
  suggestedFor: [
@@ -11212,232 +11514,6 @@ var patterns_registry_default = {
11212
11514
  }
11213
11515
  }
11214
11516
  },
11215
- table: {
11216
- type: "table",
11217
- category: "display",
11218
- tier: "organisms",
11219
- family: "core",
11220
- description: "Table Organism Component A table component with header row, data rows, pagination, sorting, and filters. Uses Pagination, SearchInput, ButtonGroup, Card, Menu molecules and Button, Icon, Checkbox, Typography, Badge, Divider atoms.",
11221
- suggestedFor: [
11222
- "table"
11223
- ],
11224
- typicalSize: "large",
11225
- propsSchema: {
11226
- entity: {
11227
- types: [
11228
- "object",
11229
- "array"
11230
- ],
11231
- description: "Entity record or array of records \u2014 pre-resolved by the trait via render-ui after a fetch emit",
11232
- kind: "entity",
11233
- cardinality: "collection",
11234
- items: {
11235
- types: [
11236
- "object"
11237
- ],
11238
- freeform: true
11239
- }
11240
- },
11241
- className: {
11242
- types: [
11243
- "string"
11244
- ],
11245
- description: "Additional CSS classes"
11246
- },
11247
- isLoading: {
11248
- types: [
11249
- "boolean"
11250
- ],
11251
- description: "Loading state indicator"
11252
- },
11253
- error: {
11254
- types: [
11255
- "object"
11256
- ],
11257
- description: "Error state"
11258
- },
11259
- sortBy: {
11260
- types: [
11261
- "string"
11262
- ],
11263
- description: "Current sort field"
11264
- },
11265
- sortDirection: {
11266
- types: [
11267
- "string"
11268
- ],
11269
- description: "Current sort direction (display hint)",
11270
- enumValues: [
11271
- "asc",
11272
- "desc"
11273
- ]
11274
- },
11275
- searchValue: {
11276
- types: [
11277
- "string"
11278
- ],
11279
- description: "Current search query value"
11280
- },
11281
- page: {
11282
- types: [
11283
- "number"
11284
- ],
11285
- description: "Current page number"
11286
- },
11287
- pageSize: {
11288
- types: [
11289
- "number"
11290
- ],
11291
- description: "Number of items per page"
11292
- },
11293
- totalCount: {
11294
- types: [
11295
- "number"
11296
- ],
11297
- description: "Total number of items"
11298
- },
11299
- activeFilters: {
11300
- types: [
11301
- "object"
11302
- ],
11303
- description: "Active filters"
11304
- },
11305
- selectedIds: {
11306
- types: [
11307
- "array"
11308
- ],
11309
- description: "Currently selected item IDs",
11310
- items: {
11311
- types: [
11312
- "string",
11313
- "number"
11314
- ]
11315
- }
11316
- },
11317
- columns: {
11318
- types: [
11319
- "array"
11320
- ],
11321
- description: "Table columns",
11322
- required: true,
11323
- items: {
11324
- types: [
11325
- "object"
11326
- ],
11327
- properties: {
11328
- key: {
11329
- types: [
11330
- "string"
11331
- ]
11332
- },
11333
- label: {
11334
- types: [
11335
- "string"
11336
- ]
11337
- },
11338
- sortable: {
11339
- types: [
11340
- "boolean"
11341
- ]
11342
- },
11343
- render: {
11344
- types: [
11345
- "function"
11346
- ]
11347
- },
11348
- width: {
11349
- types: [
11350
- "string"
11351
- ]
11352
- }
11353
- },
11354
- required: [
11355
- "key",
11356
- "label"
11357
- ]
11358
- }
11359
- },
11360
- selectable: {
11361
- types: [
11362
- "boolean"
11363
- ],
11364
- description: "Enable row selection",
11365
- default: false
11366
- },
11367
- sortable: {
11368
- types: [
11369
- "boolean"
11370
- ],
11371
- description: "Enable sorting",
11372
- default: false
11373
- },
11374
- sortColumn: {
11375
- types: [
11376
- "string"
11377
- ],
11378
- description: "Current sort column (display hint, mapped from sortBy)"
11379
- },
11380
- searchable: {
11381
- types: [
11382
- "boolean"
11383
- ],
11384
- description: "Enable search/filter",
11385
- default: false
11386
- },
11387
- searchPlaceholder: {
11388
- types: [
11389
- "string"
11390
- ],
11391
- description: "Search placeholder"
11392
- },
11393
- paginated: {
11394
- types: [
11395
- "boolean"
11396
- ],
11397
- description: "Enable pagination",
11398
- default: false
11399
- },
11400
- currentPage: {
11401
- types: [
11402
- "number"
11403
- ],
11404
- description: "Current page (display hint)"
11405
- },
11406
- totalPages: {
11407
- types: [
11408
- "number"
11409
- ],
11410
- description: "Total pages (display hint)"
11411
- },
11412
- rowActions: {
11413
- types: [
11414
- "function"
11415
- ],
11416
- description: "Row actions menu items",
11417
- kind: "callback",
11418
- callbackArgs: [
11419
- {
11420
- name: "row",
11421
- type: "object"
11422
- }
11423
- ],
11424
- renderCallback: true
11425
- },
11426
- emptyMessage: {
11427
- types: [
11428
- "string"
11429
- ],
11430
- description: "Empty state message"
11431
- },
11432
- loading: {
11433
- types: [
11434
- "boolean"
11435
- ],
11436
- description: "Loading state",
11437
- default: false
11438
- }
11439
- }
11440
- },
11441
11517
  "toast-slot": {
11442
11518
  type: "toast-slot",
11443
11519
  category: "layout",
@@ -12170,7 +12246,7 @@ var patterns_registry_default = {
12170
12246
  chart: {
12171
12247
  type: "chart",
12172
12248
  category: "visualization",
12173
- tier: "organisms",
12249
+ tier: "molecules",
12174
12250
  family: "core",
12175
12251
  description: "Data visualization chart supporting bar, line, pie, area, and donut types",
12176
12252
  suggestedFor: [
@@ -12978,7 +13054,32 @@ var patterns_registry_default = {
12978
13054
  types: [
12979
13055
  "object"
12980
13056
  ],
12981
- description: "Error state"
13057
+ description: "Error state (UiError)",
13058
+ properties: {
13059
+ message: {
13060
+ types: [
13061
+ "string"
13062
+ ]
13063
+ },
13064
+ name: {
13065
+ types: [
13066
+ "string"
13067
+ ]
13068
+ },
13069
+ code: {
13070
+ types: [
13071
+ "string"
13072
+ ]
13073
+ },
13074
+ stack: {
13075
+ types: [
13076
+ "string"
13077
+ ]
13078
+ }
13079
+ },
13080
+ propertyRequired: [
13081
+ "message"
13082
+ ]
12982
13083
  },
12983
13084
  sortBy: {
12984
13085
  types: [
@@ -12990,7 +13091,11 @@ var patterns_registry_default = {
12990
13091
  types: [
12991
13092
  "string"
12992
13093
  ],
12993
- description: "Current sort direction"
13094
+ description: "Current sort direction",
13095
+ enumValues: [
13096
+ "asc",
13097
+ "desc"
13098
+ ]
12994
13099
  },
12995
13100
  searchValue: {
12996
13101
  types: [
@@ -13101,6 +13206,13 @@ var patterns_registry_default = {
13101
13206
  "number"
13102
13207
  ],
13103
13208
  description: "Column count",
13209
+ numericEnumValues: [
13210
+ 2,
13211
+ 3,
13212
+ 4,
13213
+ 5,
13214
+ 6
13215
+ ],
13104
13216
  default: 3
13105
13217
  },
13106
13218
  selectable: {
@@ -13202,7 +13314,7 @@ var patterns_registry_default = {
13202
13314
  "signature-pad": {
13203
13315
  type: "signature-pad",
13204
13316
  category: "form",
13205
- tier: "organisms",
13317
+ tier: "molecules",
13206
13318
  family: "core",
13207
13319
  description: "Canvas-based signature capture pad with draw, clear, and confirm actions",
13208
13320
  suggestedFor: [
@@ -13350,7 +13462,7 @@ var patterns_registry_default = {
13350
13462
  "document-viewer": {
13351
13463
  type: "document-viewer",
13352
13464
  category: "display",
13353
- tier: "organisms",
13465
+ tier: "molecules",
13354
13466
  family: "core",
13355
13467
  description: "Document viewer for PDFs, text, HTML, and markdown with zoom and pagination",
13356
13468
  suggestedFor: [
@@ -13571,7 +13683,7 @@ var patterns_registry_default = {
13571
13683
  "graph-canvas": {
13572
13684
  type: "graph-canvas",
13573
13685
  category: "game",
13574
- tier: "organisms",
13686
+ tier: "molecules",
13575
13687
  family: "core",
13576
13688
  description: "Force-directed graph visualization for node-link data with interactive zoom, pan, and layout",
13577
13689
  suggestedFor: [
@@ -13889,7 +14001,7 @@ var patterns_registry_default = {
13889
14001
  "code-viewer": {
13890
14002
  type: "code-viewer",
13891
14003
  category: "display",
13892
- tier: "organisms",
14004
+ tier: "molecules",
13893
14005
  family: "core",
13894
14006
  description: "Code and diff viewer with line numbers, copy, word-wrap, and multi-file tabs",
13895
14007
  suggestedFor: [
@@ -14319,7 +14431,8 @@ var patterns_registry_default = {
14319
14431
  name: "errorInfo",
14320
14432
  type: "object"
14321
14433
  }
14322
- ]
14434
+ ],
14435
+ nonEmittable: true
14323
14436
  }
14324
14437
  }
14325
14438
  },
@@ -14497,7 +14610,7 @@ var patterns_registry_default = {
14497
14610
  "object"
14498
14611
  ],
14499
14612
  description: "GAP-80: line-level error/warning highlights for editable mode. Map of 1-based line number \u2192 severity. The overlay paints a colored background on each line: error = red, warning = yellow. Pass undefined (default) to disable. The consumer is responsible for computing the path \u2192 line map from the schema + validation results.",
14500
- freeform: true
14613
+ nonAuthorable: true
14501
14614
  }
14502
14615
  }
14503
14616
  },
@@ -14542,7 +14655,7 @@ var patterns_registry_default = {
14542
14655
  "content-renderer": {
14543
14656
  type: "content-renderer",
14544
14657
  category: "display",
14545
- tier: "organisms",
14658
+ tier: "molecules",
14546
14659
  family: "core",
14547
14660
  description: "ContentRenderer Organism Renders rich content as a sequence of typed segments: markdown, code, orbital diagrams (via JazariStateMachine), and quiz blocks. Accepts either raw content string (auto-parsed) or pre-parsed segments. Event Contract: - Delegates to child components (CodeBlock -> UI:COPY_CODE) - entityAware: false",
14548
14661
  suggestedFor: [
@@ -14577,7 +14690,32 @@ var patterns_registry_default = {
14577
14690
  types: [
14578
14691
  "object"
14579
14692
  ],
14580
- description: "Error state"
14693
+ description: "Error state (UiError)",
14694
+ properties: {
14695
+ message: {
14696
+ types: [
14697
+ "string"
14698
+ ]
14699
+ },
14700
+ name: {
14701
+ types: [
14702
+ "string"
14703
+ ]
14704
+ },
14705
+ code: {
14706
+ types: [
14707
+ "string"
14708
+ ]
14709
+ },
14710
+ stack: {
14711
+ types: [
14712
+ "string"
14713
+ ]
14714
+ }
14715
+ },
14716
+ propertyRequired: [
14717
+ "message"
14718
+ ]
14581
14719
  },
14582
14720
  sortBy: {
14583
14721
  types: [
@@ -14589,7 +14727,11 @@ var patterns_registry_default = {
14589
14727
  types: [
14590
14728
  "string"
14591
14729
  ],
14592
- description: "Current sort direction"
14730
+ description: "Current sort direction",
14731
+ enumValues: [
14732
+ "asc",
14733
+ "desc"
14734
+ ]
14593
14735
  },
14594
14736
  searchValue: {
14595
14737
  types: [
@@ -14666,7 +14808,7 @@ var patterns_registry_default = {
14666
14808
  "jazari-state-machine": {
14667
14809
  type: "jazari-state-machine",
14668
14810
  category: "display",
14669
- tier: "organisms",
14811
+ tier: "molecules",
14670
14812
  family: "core",
14671
14813
  description: "JazariStateMachine component",
14672
14814
  suggestedFor: [
@@ -14727,14 +14869,14 @@ var patterns_registry_default = {
14727
14869
  "object"
14728
14870
  ],
14729
14871
  description: "Full schema \u2014 extracts first trait's state machine",
14730
- freeform: true
14872
+ nonAuthorable: true
14731
14873
  },
14732
14874
  trait: {
14733
14875
  types: [
14734
14876
  "object"
14735
14877
  ],
14736
14878
  description: "Or pass a single trait directly",
14737
- freeform: true
14879
+ nonAuthorable: true
14738
14880
  },
14739
14881
  traitIndex: {
14740
14882
  types: [
@@ -14829,9 +14971,8 @@ var patterns_registry_default = {
14829
14971
  types: [
14830
14972
  "object"
14831
14973
  ],
14832
- description: "layoutData prop",
14833
- required: true,
14834
- freeform: true
14974
+ description: "Pre-computed visualizer layout. Optional: when absent the view renders nothing (an author wires real layout via config; the generic factory can't synthesize a `DomLayoutData`).",
14975
+ nonAuthorable: true
14835
14976
  },
14836
14977
  renderStateNode: {
14837
14978
  types: [
@@ -15242,6 +15383,9 @@ var patterns_registry_default = {
15242
15383
  "string"
15243
15384
  ],
15244
15385
  description: "Override the viewport-driven day window. `'auto'` (default) tracks `window.innerWidth` \u2014 1 day on mobile, 3 on tablet, 7 on laptop+. Pass an explicit number to force a fixed window (useful for print layouts or screenshot tests).",
15386
+ enumValues: [
15387
+ "auto"
15388
+ ],
15245
15389
  default: "auto"
15246
15390
  }
15247
15391
  }
@@ -15965,7 +16109,11 @@ var patterns_registry_default = {
15965
16109
  types: [
15966
16110
  "object"
15967
16111
  ],
15968
- freeform: true
16112
+ mapValue: {
16113
+ types: [
16114
+ "string"
16115
+ ]
16116
+ }
15969
16117
  }
15970
16118
  },
15971
16119
  required: [
@@ -16028,7 +16176,11 @@ var patterns_registry_default = {
16028
16176
  types: [
16029
16177
  "object"
16030
16178
  ],
16031
- freeform: true
16179
+ mapValue: {
16180
+ types: [
16181
+ "string"
16182
+ ]
16183
+ }
16032
16184
  }
16033
16185
  },
16034
16186
  required: [
@@ -16098,7 +16250,15 @@ var patterns_registry_default = {
16098
16250
  types: [
16099
16251
  "number"
16100
16252
  ],
16101
- description: "Number of columns (uses auto-fit if omitted)"
16253
+ description: "Number of columns (uses auto-fit if omitted)",
16254
+ numericEnumValues: [
16255
+ 1,
16256
+ 2,
16257
+ 3,
16258
+ 4,
16259
+ 5,
16260
+ 6
16261
+ ]
16102
16262
  },
16103
16263
  gap: {
16104
16264
  types: [
@@ -17724,7 +17884,8 @@ var patterns_registry_default = {
17724
17884
  name: "files",
17725
17885
  type: "array"
17726
17886
  }
17727
- ]
17887
+ ],
17888
+ nonEmittable: true
17728
17889
  },
17729
17890
  className: {
17730
17891
  types: [
@@ -18654,6 +18815,11 @@ var patterns_registry_default = {
18654
18815
  "number"
18655
18816
  ],
18656
18817
  description: "Heading level (1, 2, or 3)",
18818
+ numericEnumValues: [
18819
+ 1,
18820
+ 2,
18821
+ 3
18822
+ ],
18657
18823
  default: 2
18658
18824
  },
18659
18825
  className: {
@@ -18774,60 +18940,6 @@ var patterns_registry_default = {
18774
18940
  }
18775
18941
  }
18776
18942
  },
18777
- "code-example": {
18778
- type: "code-example",
18779
- category: "component",
18780
- tier: "molecules",
18781
- family: "core",
18782
- description: "CodeExample component",
18783
- suggestedFor: [
18784
- "code",
18785
- "example",
18786
- "code example"
18787
- ],
18788
- typicalSize: "medium",
18789
- propsSchema: {
18790
- code: {
18791
- types: [
18792
- "string"
18793
- ],
18794
- description: "The code content to display",
18795
- required: true
18796
- },
18797
- language: {
18798
- types: [
18799
- "string"
18800
- ],
18801
- description: "Programming language label",
18802
- required: true
18803
- },
18804
- title: {
18805
- types: [
18806
- "string"
18807
- ],
18808
- description: "Optional title shown in the header bar"
18809
- },
18810
- copyable: {
18811
- types: [
18812
- "boolean"
18813
- ],
18814
- description: "Whether to show a copy button",
18815
- default: false
18816
- },
18817
- maxHeight: {
18818
- types: [
18819
- "string"
18820
- ],
18821
- description: "Maximum height of the code area (CSS value)"
18822
- },
18823
- className: {
18824
- types: [
18825
- "string"
18826
- ],
18827
- description: "Additional class names"
18828
- }
18829
- }
18830
- },
18831
18943
  "community-links": {
18832
18944
  type: "community-links",
18833
18945
  category: "component",
@@ -19092,6 +19204,12 @@ var patterns_registry_default = {
19092
19204
  "number"
19093
19205
  ],
19094
19206
  description: "Number of grid columns",
19207
+ numericEnumValues: [
19208
+ 2,
19209
+ 3,
19210
+ 4,
19211
+ 6
19212
+ ],
19095
19213
  default: 3
19096
19214
  },
19097
19215
  gap: {
@@ -19854,6 +19972,12 @@ var patterns_registry_default = {
19854
19972
  "number"
19855
19973
  ],
19856
19974
  description: "columns prop",
19975
+ numericEnumValues: [
19976
+ 2,
19977
+ 3,
19978
+ 4,
19979
+ 6
19980
+ ],
19857
19981
  default: 3
19858
19982
  },
19859
19983
  className: {
@@ -19864,47 +19988,6 @@ var patterns_registry_default = {
19864
19988
  }
19865
19989
  }
19866
19990
  },
19867
- "step-item": {
19868
- type: "step-item",
19869
- category: "component",
19870
- tier: "molecules",
19871
- family: "marketing",
19872
- description: "StepItem component",
19873
- suggestedFor: [
19874
- "step",
19875
- "item",
19876
- "step item"
19877
- ],
19878
- typicalSize: "medium",
19879
- propsSchema: {
19880
- number: {
19881
- types: [
19882
- "number"
19883
- ],
19884
- description: "number prop"
19885
- },
19886
- title: {
19887
- types: [
19888
- "string"
19889
- ],
19890
- description: "title prop",
19891
- required: true
19892
- },
19893
- description: {
19894
- types: [
19895
- "string"
19896
- ],
19897
- description: "description prop",
19898
- required: true
19899
- },
19900
- icon: {
19901
- types: [
19902
- "string"
19903
- ],
19904
- description: "icon prop"
19905
- }
19906
- }
19907
- },
19908
19991
  "tag-cloud": {
19909
19992
  type: "tag-cloud",
19910
19993
  category: "component",
@@ -20124,7 +20207,32 @@ var patterns_registry_default = {
20124
20207
  types: [
20125
20208
  "object"
20126
20209
  ],
20127
- description: "Error state"
20210
+ description: "Error state (UiError)",
20211
+ properties: {
20212
+ message: {
20213
+ types: [
20214
+ "string"
20215
+ ]
20216
+ },
20217
+ name: {
20218
+ types: [
20219
+ "string"
20220
+ ]
20221
+ },
20222
+ code: {
20223
+ types: [
20224
+ "string"
20225
+ ]
20226
+ },
20227
+ stack: {
20228
+ types: [
20229
+ "string"
20230
+ ]
20231
+ }
20232
+ },
20233
+ propertyRequired: [
20234
+ "message"
20235
+ ]
20128
20236
  },
20129
20237
  sortBy: {
20130
20238
  types: [
@@ -20136,7 +20244,11 @@ var patterns_registry_default = {
20136
20244
  types: [
20137
20245
  "string"
20138
20246
  ],
20139
- description: "Current sort direction"
20247
+ description: "Current sort direction",
20248
+ enumValues: [
20249
+ "asc",
20250
+ "desc"
20251
+ ]
20140
20252
  },
20141
20253
  searchValue: {
20142
20254
  types: [
@@ -20276,7 +20388,32 @@ var patterns_registry_default = {
20276
20388
  types: [
20277
20389
  "object"
20278
20390
  ],
20279
- description: "Error state"
20391
+ description: "Error state (UiError)",
20392
+ properties: {
20393
+ message: {
20394
+ types: [
20395
+ "string"
20396
+ ]
20397
+ },
20398
+ name: {
20399
+ types: [
20400
+ "string"
20401
+ ]
20402
+ },
20403
+ code: {
20404
+ types: [
20405
+ "string"
20406
+ ]
20407
+ },
20408
+ stack: {
20409
+ types: [
20410
+ "string"
20411
+ ]
20412
+ }
20413
+ },
20414
+ propertyRequired: [
20415
+ "message"
20416
+ ]
20280
20417
  },
20281
20418
  sortBy: {
20282
20419
  types: [
@@ -20288,7 +20425,11 @@ var patterns_registry_default = {
20288
20425
  types: [
20289
20426
  "string"
20290
20427
  ],
20291
- description: "Current sort direction"
20428
+ description: "Current sort direction",
20429
+ enumValues: [
20430
+ "asc",
20431
+ "desc"
20432
+ ]
20292
20433
  },
20293
20434
  searchValue: {
20294
20435
  types: [
@@ -20337,6 +20478,12 @@ var patterns_registry_default = {
20337
20478
  "number"
20338
20479
  ],
20339
20480
  description: "columns prop",
20481
+ numericEnumValues: [
20482
+ 2,
20483
+ 3,
20484
+ 4,
20485
+ 6
20486
+ ],
20340
20487
  default: 3
20341
20488
  },
20342
20489
  heading: {
@@ -20531,7 +20678,32 @@ var patterns_registry_default = {
20531
20678
  types: [
20532
20679
  "object"
20533
20680
  ],
20534
- description: "Error state"
20681
+ description: "Error state (UiError)",
20682
+ properties: {
20683
+ message: {
20684
+ types: [
20685
+ "string"
20686
+ ]
20687
+ },
20688
+ name: {
20689
+ types: [
20690
+ "string"
20691
+ ]
20692
+ },
20693
+ code: {
20694
+ types: [
20695
+ "string"
20696
+ ]
20697
+ },
20698
+ stack: {
20699
+ types: [
20700
+ "string"
20701
+ ]
20702
+ }
20703
+ },
20704
+ propertyRequired: [
20705
+ "message"
20706
+ ]
20535
20707
  },
20536
20708
  sortBy: {
20537
20709
  types: [
@@ -20543,7 +20715,11 @@ var patterns_registry_default = {
20543
20715
  types: [
20544
20716
  "string"
20545
20717
  ],
20546
- description: "Current sort direction"
20718
+ description: "Current sort direction",
20719
+ enumValues: [
20720
+ "asc",
20721
+ "desc"
20722
+ ]
20547
20723
  },
20548
20724
  searchValue: {
20549
20725
  types: [
@@ -20699,7 +20875,32 @@ var patterns_registry_default = {
20699
20875
  types: [
20700
20876
  "object"
20701
20877
  ],
20702
- description: "Error state"
20878
+ description: "Error state (UiError)",
20879
+ properties: {
20880
+ message: {
20881
+ types: [
20882
+ "string"
20883
+ ]
20884
+ },
20885
+ name: {
20886
+ types: [
20887
+ "string"
20888
+ ]
20889
+ },
20890
+ code: {
20891
+ types: [
20892
+ "string"
20893
+ ]
20894
+ },
20895
+ stack: {
20896
+ types: [
20897
+ "string"
20898
+ ]
20899
+ }
20900
+ },
20901
+ propertyRequired: [
20902
+ "message"
20903
+ ]
20703
20904
  },
20704
20905
  sortBy: {
20705
20906
  types: [
@@ -20711,7 +20912,11 @@ var patterns_registry_default = {
20711
20912
  types: [
20712
20913
  "string"
20713
20914
  ],
20714
- description: "Current sort direction"
20915
+ description: "Current sort direction",
20916
+ enumValues: [
20917
+ "asc",
20918
+ "desc"
20919
+ ]
20715
20920
  },
20716
20921
  searchValue: {
20717
20922
  types: [
@@ -20871,7 +21076,32 @@ var patterns_registry_default = {
20871
21076
  types: [
20872
21077
  "object"
20873
21078
  ],
20874
- description: "Error state"
21079
+ description: "Error state (UiError)",
21080
+ properties: {
21081
+ message: {
21082
+ types: [
21083
+ "string"
21084
+ ]
21085
+ },
21086
+ name: {
21087
+ types: [
21088
+ "string"
21089
+ ]
21090
+ },
21091
+ code: {
21092
+ types: [
21093
+ "string"
21094
+ ]
21095
+ },
21096
+ stack: {
21097
+ types: [
21098
+ "string"
21099
+ ]
21100
+ }
21101
+ },
21102
+ propertyRequired: [
21103
+ "message"
21104
+ ]
20875
21105
  },
20876
21106
  sortBy: {
20877
21107
  types: [
@@ -20883,7 +21113,11 @@ var patterns_registry_default = {
20883
21113
  types: [
20884
21114
  "string"
20885
21115
  ],
20886
- description: "Current sort direction"
21116
+ description: "Current sort direction",
21117
+ enumValues: [
21118
+ "asc",
21119
+ "desc"
21120
+ ]
20887
21121
  },
20888
21122
  searchValue: {
20889
21123
  types: [
@@ -20932,6 +21166,11 @@ var patterns_registry_default = {
20932
21166
  "number"
20933
21167
  ],
20934
21168
  description: "columns prop",
21169
+ numericEnumValues: [
21170
+ 2,
21171
+ 3,
21172
+ 4
21173
+ ],
20935
21174
  default: 3
20936
21175
  },
20937
21176
  heading: {
@@ -21014,7 +21253,32 @@ var patterns_registry_default = {
21014
21253
  types: [
21015
21254
  "object"
21016
21255
  ],
21017
- description: "Error state"
21256
+ description: "Error state (UiError)",
21257
+ properties: {
21258
+ message: {
21259
+ types: [
21260
+ "string"
21261
+ ]
21262
+ },
21263
+ name: {
21264
+ types: [
21265
+ "string"
21266
+ ]
21267
+ },
21268
+ code: {
21269
+ types: [
21270
+ "string"
21271
+ ]
21272
+ },
21273
+ stack: {
21274
+ types: [
21275
+ "string"
21276
+ ]
21277
+ }
21278
+ },
21279
+ propertyRequired: [
21280
+ "message"
21281
+ ]
21018
21282
  },
21019
21283
  sortBy: {
21020
21284
  types: [
@@ -21026,7 +21290,11 @@ var patterns_registry_default = {
21026
21290
  types: [
21027
21291
  "string"
21028
21292
  ],
21029
- description: "Current sort direction"
21293
+ description: "Current sort direction",
21294
+ enumValues: [
21295
+ "asc",
21296
+ "desc"
21297
+ ]
21030
21298
  },
21031
21299
  searchValue: {
21032
21300
  types: [
@@ -21075,6 +21343,12 @@ var patterns_registry_default = {
21075
21343
  "number"
21076
21344
  ],
21077
21345
  description: "columns prop",
21346
+ numericEnumValues: [
21347
+ 2,
21348
+ 3,
21349
+ 4,
21350
+ 6
21351
+ ],
21078
21352
  default: 3
21079
21353
  }
21080
21354
  }
@@ -21156,7 +21430,32 @@ var patterns_registry_default = {
21156
21430
  types: [
21157
21431
  "object"
21158
21432
  ],
21159
- description: "Error state"
21433
+ description: "Error state (UiError)",
21434
+ properties: {
21435
+ message: {
21436
+ types: [
21437
+ "string"
21438
+ ]
21439
+ },
21440
+ name: {
21441
+ types: [
21442
+ "string"
21443
+ ]
21444
+ },
21445
+ code: {
21446
+ types: [
21447
+ "string"
21448
+ ]
21449
+ },
21450
+ stack: {
21451
+ types: [
21452
+ "string"
21453
+ ]
21454
+ }
21455
+ },
21456
+ propertyRequired: [
21457
+ "message"
21458
+ ]
21160
21459
  },
21161
21460
  sortBy: {
21162
21461
  types: [
@@ -21168,7 +21467,11 @@ var patterns_registry_default = {
21168
21467
  types: [
21169
21468
  "string"
21170
21469
  ],
21171
- description: "Current sort direction"
21470
+ description: "Current sort direction",
21471
+ enumValues: [
21472
+ "asc",
21473
+ "desc"
21474
+ ]
21172
21475
  },
21173
21476
  searchValue: {
21174
21477
  types: [
@@ -21326,7 +21629,32 @@ var patterns_registry_default = {
21326
21629
  types: [
21327
21630
  "object"
21328
21631
  ],
21329
- description: "Error state"
21632
+ description: "Error state (UiError)",
21633
+ properties: {
21634
+ message: {
21635
+ types: [
21636
+ "string"
21637
+ ]
21638
+ },
21639
+ name: {
21640
+ types: [
21641
+ "string"
21642
+ ]
21643
+ },
21644
+ code: {
21645
+ types: [
21646
+ "string"
21647
+ ]
21648
+ },
21649
+ stack: {
21650
+ types: [
21651
+ "string"
21652
+ ]
21653
+ }
21654
+ },
21655
+ propertyRequired: [
21656
+ "message"
21657
+ ]
21330
21658
  },
21331
21659
  sortBy: {
21332
21660
  types: [
@@ -21338,7 +21666,11 @@ var patterns_registry_default = {
21338
21666
  types: [
21339
21667
  "string"
21340
21668
  ],
21341
- description: "Current sort direction"
21669
+ description: "Current sort direction",
21670
+ enumValues: [
21671
+ "asc",
21672
+ "desc"
21673
+ ]
21342
21674
  },
21343
21675
  searchValue: {
21344
21676
  types: [
@@ -21498,6 +21830,12 @@ var patterns_registry_default = {
21498
21830
  "number"
21499
21831
  ],
21500
21832
  description: "featureColumns prop",
21833
+ numericEnumValues: [
21834
+ 2,
21835
+ 3,
21836
+ 4,
21837
+ 6
21838
+ ],
21501
21839
  default: 3
21502
21840
  }
21503
21841
  }
@@ -22172,7 +22510,11 @@ var patterns_registry_default = {
22172
22510
  types: [
22173
22511
  "object"
22174
22512
  ],
22175
- freeform: true
22513
+ mapValue: {
22514
+ types: [
22515
+ "node"
22516
+ ]
22517
+ }
22176
22518
  }
22177
22519
  },
22178
22520
  propertyRequired: [
@@ -22630,7 +22972,12 @@ var patterns_registry_default = {
22630
22972
  "object"
22631
22973
  ],
22632
22974
  description: "Selected value per row, keyed by rowId",
22633
- freeform: true
22975
+ mapValue: {
22976
+ types: [
22977
+ "number",
22978
+ "string"
22979
+ ]
22980
+ }
22634
22981
  },
22635
22982
  onChange: {
22636
22983
  types: [
@@ -22771,7 +23118,8 @@ var patterns_registry_default = {
22771
23118
  name: "error",
22772
23119
  type: "object"
22773
23120
  }
22774
- ]
23121
+ ],
23122
+ nonEmittable: true
22775
23123
  },
22776
23124
  facingMode: {
22777
23125
  types: [
@@ -23368,7 +23716,13 @@ var patterns_registry_default = {
23368
23716
  types: [
23369
23717
  "object"
23370
23718
  ],
23371
- freeform: true
23719
+ mapValue: {
23720
+ types: [
23721
+ "string",
23722
+ "number",
23723
+ "boolean"
23724
+ ]
23725
+ }
23372
23726
  },
23373
23727
  children: {
23374
23728
  types: [
@@ -23700,8 +24054,8 @@ var patterns_registry_default = {
23700
24054
  types: [
23701
24055
  "object"
23702
24056
  ],
23703
- description: "constraint prop",
23704
- required: true,
24057
+ description: "Selection constraint. Optional \u2014 defaults to single-select (the generic factory can't author a discriminated-union value; an author overrides it).",
24058
+ nonAuthorable: true,
23705
24059
  properties: {
23706
24060
  type: {
23707
24061
  types: [
@@ -23716,7 +24070,10 @@ var patterns_registry_default = {
23716
24070
  },
23717
24071
  propertyRequired: [
23718
24072
  "type"
23719
- ]
24073
+ ],
24074
+ default: {
24075
+ type: "single"
24076
+ }
23720
24077
  },
23721
24078
  selected: {
23722
24079
  types: [
@@ -24202,6 +24559,12 @@ var patterns_registry_default = {
24202
24559
  "string"
24203
24560
  ],
24204
24561
  description: "Size variant",
24562
+ enumValues: [
24563
+ "sm",
24564
+ "md",
24565
+ "lg",
24566
+ "xl"
24567
+ ],
24205
24568
  default: "md"
24206
24569
  },
24207
24570
  shape: {
@@ -24209,6 +24572,11 @@ var patterns_registry_default = {
24209
24572
  "string"
24210
24573
  ],
24211
24574
  description: "Shape variant",
24575
+ enumValues: [
24576
+ "circle",
24577
+ "rounded",
24578
+ "square"
24579
+ ],
24212
24580
  default: "circle"
24213
24581
  },
24214
24582
  variant: {
@@ -24216,6 +24584,11 @@ var patterns_registry_default = {
24216
24584
  "string"
24217
24585
  ],
24218
24586
  description: "Visual variant",
24587
+ enumValues: [
24588
+ "primary",
24589
+ "secondary",
24590
+ "ghost"
24591
+ ],
24219
24592
  default: "secondary"
24220
24593
  },
24221
24594
  onPress: {
@@ -24986,7 +25359,27 @@ var patterns_registry_default = {
24986
25359
  "object"
24987
25360
  ],
24988
25361
  description: "Custom state styles to extend/override defaults",
24989
- freeform: true
25362
+ mapValue: {
25363
+ types: [
25364
+ "object"
25365
+ ],
25366
+ properties: {
25367
+ icon: {
25368
+ types: [
25369
+ "string"
25370
+ ]
25371
+ },
25372
+ bgClass: {
25373
+ types: [
25374
+ "string"
25375
+ ]
25376
+ }
25377
+ },
25378
+ required: [
25379
+ "icon",
25380
+ "bgClass"
25381
+ ]
25382
+ }
24990
25383
  },
24991
25384
  className: {
24992
25385
  types: [
@@ -26768,7 +27161,156 @@ var patterns_registry_default = {
26768
27161
  types: [
26769
27162
  "object"
26770
27163
  ],
26771
- freeform: true
27164
+ mapValue: {
27165
+ types: [
27166
+ "object"
27167
+ ],
27168
+ properties: {
27169
+ name: {
27170
+ types: [
27171
+ "string"
27172
+ ]
27173
+ },
27174
+ linkedEntity: {
27175
+ types: [
27176
+ "string"
27177
+ ]
27178
+ },
27179
+ states: {
27180
+ types: [
27181
+ "array"
27182
+ ],
27183
+ items: {
27184
+ types: [
27185
+ "object"
27186
+ ],
27187
+ properties: {
27188
+ name: {
27189
+ types: [
27190
+ "string"
27191
+ ]
27192
+ },
27193
+ isInitial: {
27194
+ types: [
27195
+ "boolean"
27196
+ ]
27197
+ },
27198
+ isTerminal: {
27199
+ types: [
27200
+ "boolean"
27201
+ ]
27202
+ }
27203
+ },
27204
+ required: [
27205
+ "name"
27206
+ ]
27207
+ }
27208
+ },
27209
+ transitions: {
27210
+ types: [
27211
+ "array"
27212
+ ],
27213
+ items: {
27214
+ types: [
27215
+ "object"
27216
+ ],
27217
+ properties: {
27218
+ from: {
27219
+ types: [
27220
+ "string"
27221
+ ]
27222
+ },
27223
+ to: {
27224
+ types: [
27225
+ "string"
27226
+ ]
27227
+ },
27228
+ event: {
27229
+ types: [
27230
+ "string"
27231
+ ]
27232
+ },
27233
+ guard: {
27234
+ types: [
27235
+ "unknown"
27236
+ ]
27237
+ },
27238
+ effects: {
27239
+ types: [
27240
+ "array"
27241
+ ],
27242
+ items: {
27243
+ types: [
27244
+ "object"
27245
+ ],
27246
+ properties: {
27247
+ type: {
27248
+ types: [
27249
+ "string"
27250
+ ]
27251
+ },
27252
+ args: {
27253
+ types: [
27254
+ "array"
27255
+ ],
27256
+ items: {
27257
+ types: [
27258
+ "unknown"
27259
+ ]
27260
+ }
27261
+ }
27262
+ },
27263
+ required: [
27264
+ "type",
27265
+ "args"
27266
+ ]
27267
+ }
27268
+ },
27269
+ index: {
27270
+ types: [
27271
+ "number"
27272
+ ]
27273
+ }
27274
+ },
27275
+ required: [
27276
+ "from",
27277
+ "to",
27278
+ "event",
27279
+ "effects",
27280
+ "index"
27281
+ ]
27282
+ }
27283
+ },
27284
+ emittedEvents: {
27285
+ types: [
27286
+ "array"
27287
+ ],
27288
+ items: {
27289
+ types: [
27290
+ "string"
27291
+ ]
27292
+ }
27293
+ },
27294
+ listenedEvents: {
27295
+ types: [
27296
+ "array"
27297
+ ],
27298
+ items: {
27299
+ types: [
27300
+ "string"
27301
+ ]
27302
+ }
27303
+ }
27304
+ },
27305
+ required: [
27306
+ "name",
27307
+ "linkedEntity",
27308
+ "states",
27309
+ "transitions",
27310
+ "emittedEvents",
27311
+ "listenedEvents"
27312
+ ]
27313
+ }
26772
27314
  },
26773
27315
  externalLinks: {
26774
27316
  types: [
@@ -26989,7 +27531,156 @@ var patterns_registry_default = {
26989
27531
  types: [
26990
27532
  "object"
26991
27533
  ],
26992
- freeform: true
27534
+ mapValue: {
27535
+ types: [
27536
+ "object"
27537
+ ],
27538
+ properties: {
27539
+ name: {
27540
+ types: [
27541
+ "string"
27542
+ ]
27543
+ },
27544
+ linkedEntity: {
27545
+ types: [
27546
+ "string"
27547
+ ]
27548
+ },
27549
+ states: {
27550
+ types: [
27551
+ "array"
27552
+ ],
27553
+ items: {
27554
+ types: [
27555
+ "object"
27556
+ ],
27557
+ properties: {
27558
+ name: {
27559
+ types: [
27560
+ "string"
27561
+ ]
27562
+ },
27563
+ isInitial: {
27564
+ types: [
27565
+ "boolean"
27566
+ ]
27567
+ },
27568
+ isTerminal: {
27569
+ types: [
27570
+ "boolean"
27571
+ ]
27572
+ }
27573
+ },
27574
+ required: [
27575
+ "name"
27576
+ ]
27577
+ }
27578
+ },
27579
+ transitions: {
27580
+ types: [
27581
+ "array"
27582
+ ],
27583
+ items: {
27584
+ types: [
27585
+ "object"
27586
+ ],
27587
+ properties: {
27588
+ from: {
27589
+ types: [
27590
+ "string"
27591
+ ]
27592
+ },
27593
+ to: {
27594
+ types: [
27595
+ "string"
27596
+ ]
27597
+ },
27598
+ event: {
27599
+ types: [
27600
+ "string"
27601
+ ]
27602
+ },
27603
+ guard: {
27604
+ types: [
27605
+ "unknown"
27606
+ ]
27607
+ },
27608
+ effects: {
27609
+ types: [
27610
+ "array"
27611
+ ],
27612
+ items: {
27613
+ types: [
27614
+ "object"
27615
+ ],
27616
+ properties: {
27617
+ type: {
27618
+ types: [
27619
+ "string"
27620
+ ]
27621
+ },
27622
+ args: {
27623
+ types: [
27624
+ "array"
27625
+ ],
27626
+ items: {
27627
+ types: [
27628
+ "unknown"
27629
+ ]
27630
+ }
27631
+ }
27632
+ },
27633
+ required: [
27634
+ "type",
27635
+ "args"
27636
+ ]
27637
+ }
27638
+ },
27639
+ index: {
27640
+ types: [
27641
+ "number"
27642
+ ]
27643
+ }
27644
+ },
27645
+ required: [
27646
+ "from",
27647
+ "to",
27648
+ "event",
27649
+ "effects",
27650
+ "index"
27651
+ ]
27652
+ }
27653
+ },
27654
+ emittedEvents: {
27655
+ types: [
27656
+ "array"
27657
+ ],
27658
+ items: {
27659
+ types: [
27660
+ "string"
27661
+ ]
27662
+ }
27663
+ },
27664
+ listenedEvents: {
27665
+ types: [
27666
+ "array"
27667
+ ],
27668
+ items: {
27669
+ types: [
27670
+ "string"
27671
+ ]
27672
+ }
27673
+ }
27674
+ },
27675
+ required: [
27676
+ "name",
27677
+ "linkedEntity",
27678
+ "states",
27679
+ "transitions",
27680
+ "emittedEvents",
27681
+ "listenedEvents"
27682
+ ]
27683
+ }
26993
27684
  },
26994
27685
  externalLinks: {
26995
27686
  types: [
@@ -27089,6 +27780,11 @@ var patterns_registry_default = {
27089
27780
  variant: {
27090
27781
  types: [
27091
27782
  "string"
27783
+ ],
27784
+ enumValues: [
27785
+ "primary",
27786
+ "secondary",
27787
+ "ghost"
27092
27788
  ]
27093
27789
  }
27094
27790
  },
@@ -27813,7 +28509,8 @@ var patterns_registry_default = {
27813
28509
  name: "frame",
27814
28510
  type: "number"
27815
28511
  }
27816
- ]
28512
+ ],
28513
+ nonEmittable: true
27817
28514
  },
27818
28515
  onTick: {
27819
28516
  types: [
@@ -27885,7 +28582,12 @@ var patterns_registry_default = {
27885
28582
  types: [
27886
28583
  "string"
27887
28584
  ],
27888
- description: "Position of the HUD"
28585
+ description: "Position of the HUD",
28586
+ enumValues: [
28587
+ "top",
28588
+ "bottom",
28589
+ "corners"
28590
+ ]
27889
28591
  },
27890
28592
  stats: {
27891
28593
  types: [
@@ -28073,6 +28775,11 @@ var patterns_registry_default = {
28073
28775
  variant: {
28074
28776
  types: [
28075
28777
  "string"
28778
+ ],
28779
+ enumValues: [
28780
+ "primary",
28781
+ "secondary",
28782
+ "ghost"
28076
28783
  ]
28077
28784
  },
28078
28785
  disabled: {
@@ -28129,6 +28836,11 @@ var patterns_registry_default = {
28129
28836
  variant: {
28130
28837
  types: [
28131
28838
  "string"
28839
+ ],
28840
+ enumValues: [
28841
+ "primary",
28842
+ "secondary",
28843
+ "ghost"
28132
28844
  ]
28133
28845
  },
28134
28846
  disabled: {
@@ -28190,6 +28902,11 @@ var patterns_registry_default = {
28190
28902
  variant: {
28191
28903
  types: [
28192
28904
  "string"
28905
+ ],
28906
+ enumValues: [
28907
+ "primary",
28908
+ "secondary",
28909
+ "ghost"
28193
28910
  ]
28194
28911
  },
28195
28912
  disabled: {
@@ -28219,7 +28936,8 @@ var patterns_registry_default = {
28219
28936
  types: [
28220
28937
  "object"
28221
28938
  ],
28222
- description: "Event bus for emitting UI events (optional, uses hook if not provided)"
28939
+ description: "Event bus for emitting UI events (optional, uses hook if not provided)",
28940
+ nonAuthorable: true
28223
28941
  },
28224
28942
  background: {
28225
28943
  types: [
@@ -28450,7 +29168,8 @@ var patterns_registry_default = {
28450
29168
  types: [
28451
29169
  "object"
28452
29170
  ],
28453
- description: "Event bus for emitting UI events (optional, uses hook if not provided)"
29171
+ description: "Event bus for emitting UI events (optional, uses hook if not provided)",
29172
+ nonAuthorable: true
28454
29173
  },
28455
29174
  variant: {
28456
29175
  types: [
@@ -29871,7 +30590,8 @@ var patterns_registry_default = {
29871
30590
  name: "getImage",
29872
30591
  type: "function"
29873
30592
  }
29874
- ]
30593
+ ],
30594
+ nonEmittable: true
29875
30595
  },
29876
30596
  hasActiveEffects: {
29877
30597
  types: [
@@ -29896,25 +30616,41 @@ var patterns_registry_default = {
29896
30616
  types: [
29897
30617
  "object"
29898
30618
  ],
29899
- freeform: true
30619
+ mapValue: {
30620
+ types: [
30621
+ "string"
30622
+ ]
30623
+ }
29900
30624
  },
29901
30625
  units: {
29902
30626
  types: [
29903
30627
  "object"
29904
30628
  ],
29905
- freeform: true
30629
+ mapValue: {
30630
+ types: [
30631
+ "string"
30632
+ ]
30633
+ }
29906
30634
  },
29907
30635
  features: {
29908
30636
  types: [
29909
30637
  "object"
29910
30638
  ],
29911
- freeform: true
30639
+ mapValue: {
30640
+ types: [
30641
+ "string"
30642
+ ]
30643
+ }
29912
30644
  },
29913
30645
  effects: {
29914
30646
  types: [
29915
30647
  "object"
29916
30648
  ],
29917
- freeform: true
30649
+ mapValue: {
30650
+ types: [
30651
+ "string"
30652
+ ]
30653
+ }
29918
30654
  }
29919
30655
  }
29920
30656
  }
@@ -30088,7 +30824,11 @@ var patterns_registry_default = {
30088
30824
  "object"
30089
30825
  ],
30090
30826
  description: "Map of platform type to tile sprite URL",
30091
- freeform: true
30827
+ mapValue: {
30828
+ types: [
30829
+ "string"
30830
+ ]
30831
+ }
30092
30832
  },
30093
30833
  backgroundImage: {
30094
30834
  types: [
@@ -30475,6 +31215,12 @@ var patterns_registry_default = {
30475
31215
  "string"
30476
31216
  ],
30477
31217
  description: "Display format",
31218
+ enumValues: [
31219
+ "number",
31220
+ "hearts",
31221
+ "bar",
31222
+ "text"
31223
+ ],
30478
31224
  default: "number"
30479
31225
  },
30480
31226
  icon: {
@@ -30488,6 +31234,11 @@ var patterns_registry_default = {
30488
31234
  "string"
30489
31235
  ],
30490
31236
  description: "Size variant",
31237
+ enumValues: [
31238
+ "sm",
31239
+ "md",
31240
+ "lg"
31241
+ ],
30491
31242
  default: "md"
30492
31243
  },
30493
31244
  variant: {
@@ -30495,6 +31246,13 @@ var patterns_registry_default = {
30495
31246
  "string"
30496
31247
  ],
30497
31248
  description: "Visual variant",
31249
+ enumValues: [
31250
+ "default",
31251
+ "primary",
31252
+ "success",
31253
+ "warning",
31254
+ "danger"
31255
+ ],
30498
31256
  default: "default"
30499
31257
  },
30500
31258
  className: {
@@ -30702,8 +31460,7 @@ var patterns_registry_default = {
30702
31460
  orbitalSchema: {
30703
31461
  types: [
30704
31462
  "object"
30705
- ],
30706
- freeform: true
31463
+ ]
30707
31464
  }
30708
31465
  },
30709
31466
  propertyRequired: [
@@ -30896,8 +31653,7 @@ var patterns_registry_default = {
30896
31653
  orbitalSchema: {
30897
31654
  types: [
30898
31655
  "object"
30899
- ],
30900
- freeform: true
31656
+ ]
30901
31657
  }
30902
31658
  },
30903
31659
  required: [
@@ -30969,7 +31725,32 @@ var patterns_registry_default = {
30969
31725
  types: [
30970
31726
  "object"
30971
31727
  ],
30972
- description: "Error state"
31728
+ description: "Error state (UiError)",
31729
+ properties: {
31730
+ message: {
31731
+ types: [
31732
+ "string"
31733
+ ]
31734
+ },
31735
+ name: {
31736
+ types: [
31737
+ "string"
31738
+ ]
31739
+ },
31740
+ code: {
31741
+ types: [
31742
+ "string"
31743
+ ]
31744
+ },
31745
+ stack: {
31746
+ types: [
31747
+ "string"
31748
+ ]
31749
+ }
31750
+ },
31751
+ propertyRequired: [
31752
+ "message"
31753
+ ]
30973
31754
  },
30974
31755
  sortBy: {
30975
31756
  types: [
@@ -30981,7 +31762,11 @@ var patterns_registry_default = {
30981
31762
  types: [
30982
31763
  "string"
30983
31764
  ],
30984
- description: "Current sort direction"
31765
+ description: "Current sort direction",
31766
+ enumValues: [
31767
+ "asc",
31768
+ "desc"
31769
+ ]
30985
31770
  },
30986
31771
  searchValue: {
30987
31772
  types: [
@@ -31299,25 +32084,41 @@ var patterns_registry_default = {
31299
32084
  types: [
31300
32085
  "object"
31301
32086
  ],
31302
- freeform: true
32087
+ mapValue: {
32088
+ types: [
32089
+ "string"
32090
+ ]
32091
+ }
31303
32092
  },
31304
32093
  units: {
31305
32094
  types: [
31306
32095
  "object"
31307
32096
  ],
31308
- freeform: true
32097
+ mapValue: {
32098
+ types: [
32099
+ "string"
32100
+ ]
32101
+ }
31309
32102
  },
31310
32103
  features: {
31311
32104
  types: [
31312
32105
  "object"
31313
32106
  ],
31314
- freeform: true
32107
+ mapValue: {
32108
+ types: [
32109
+ "string"
32110
+ ]
32111
+ }
31315
32112
  },
31316
32113
  effects: {
31317
32114
  types: [
31318
32115
  "object"
31319
32116
  ],
31320
- freeform: true
32117
+ mapValue: {
32118
+ types: [
32119
+ "string"
32120
+ ]
32121
+ }
31321
32122
  }
31322
32123
  },
31323
32124
  required: [
@@ -36584,7 +37385,8 @@ var patterns_registry_default = {
36584
37385
  name: "timestamp",
36585
37386
  type: "number"
36586
37387
  }
36587
- ]
37388
+ ],
37389
+ nonEmittable: true
36588
37390
  },
36589
37391
  hasActiveEffects: {
36590
37392
  types: [
@@ -37141,10 +37943,10 @@ var patterns_registry_default = {
37141
37943
  propsSchema: {
37142
37944
  entity: {
37143
37945
  types: [
37144
- "object"
37946
+ "object",
37947
+ "array"
37145
37948
  ],
37146
- description: "Castle entity data",
37147
- required: true,
37949
+ description: "Castle entity data. Also accepts the canonical `EntityRow` the compiler binds (and arrays); narrowed to `CastleEntity` internally.",
37148
37950
  properties: {
37149
37951
  id: {
37150
37952
  types: [
@@ -37473,19 +38275,31 @@ var patterns_registry_default = {
37473
38275
  types: [
37474
38276
  "object"
37475
38277
  ],
37476
- freeform: true
38278
+ mapValue: {
38279
+ types: [
38280
+ "string"
38281
+ ]
38282
+ }
37477
38283
  },
37478
38284
  units: {
37479
38285
  types: [
37480
38286
  "object"
37481
38287
  ],
37482
- freeform: true
38288
+ mapValue: {
38289
+ types: [
38290
+ "string"
38291
+ ]
38292
+ }
37483
38293
  },
37484
38294
  features: {
37485
38295
  types: [
37486
38296
  "object"
37487
38297
  ],
37488
- freeform: true
38298
+ mapValue: {
38299
+ types: [
38300
+ "string"
38301
+ ]
38302
+ }
37489
38303
  }
37490
38304
  },
37491
38305
  required: [
@@ -39270,7 +40084,57 @@ var patterns_registry_default = {
39270
40084
  ],
39271
40085
  description: "Sound manifest \u2014 keys mapped to SoundEntry definitions",
39272
40086
  required: true,
39273
- freeform: true
40087
+ mapValue: {
40088
+ types: [
40089
+ "object"
40090
+ ],
40091
+ properties: {
40092
+ path: {
40093
+ types: [
40094
+ "string",
40095
+ "array"
40096
+ ],
40097
+ items: {
40098
+ types: [
40099
+ "string"
40100
+ ]
40101
+ }
40102
+ },
40103
+ volume: {
40104
+ types: [
40105
+ "number"
40106
+ ]
40107
+ },
40108
+ loop: {
40109
+ types: [
40110
+ "boolean"
40111
+ ]
40112
+ },
40113
+ poolSize: {
40114
+ types: [
40115
+ "number"
40116
+ ]
40117
+ },
40118
+ autostart: {
40119
+ types: [
40120
+ "boolean"
40121
+ ]
40122
+ },
40123
+ crossfade: {
40124
+ types: [
40125
+ "boolean"
40126
+ ]
40127
+ },
40128
+ crossfadeDurationMs: {
40129
+ types: [
40130
+ "number"
40131
+ ]
40132
+ }
40133
+ },
40134
+ required: [
40135
+ "path"
40136
+ ]
40137
+ }
39274
40138
  },
39275
40139
  baseUrl: {
39276
40140
  types: [
@@ -39603,7 +40467,27 @@ var patterns_registry_default = {
39603
40467
  "object"
39604
40468
  ],
39605
40469
  description: "Category \u2192 color mapping",
39606
- freeform: true
40470
+ mapValue: {
40471
+ types: [
40472
+ "object"
40473
+ ],
40474
+ properties: {
40475
+ bg: {
40476
+ types: [
40477
+ "string"
40478
+ ]
40479
+ },
40480
+ border: {
40481
+ types: [
40482
+ "string"
40483
+ ]
40484
+ }
40485
+ },
40486
+ required: [
40487
+ "bg",
40488
+ "border"
40489
+ ]
40490
+ }
39607
40491
  },
39608
40492
  tooltipFrameUrl: {
39609
40493
  types: [
@@ -40123,7 +41007,27 @@ var patterns_registry_default = {
40123
41007
  "object"
40124
41008
  ],
40125
41009
  description: "Custom state styles passed to StateIndicator",
40126
- freeform: true
41010
+ mapValue: {
41011
+ types: [
41012
+ "object"
41013
+ ],
41014
+ properties: {
41015
+ icon: {
41016
+ types: [
41017
+ "string"
41018
+ ]
41019
+ },
41020
+ bgClass: {
41021
+ types: [
41022
+ "string"
41023
+ ]
41024
+ }
41025
+ },
41026
+ required: [
41027
+ "icon",
41028
+ "bgClass"
41029
+ ]
41030
+ }
40127
41031
  },
40128
41032
  className: {
40129
41033
  types: [
@@ -40192,10 +41096,10 @@ var patterns_registry_default = {
40192
41096
  propsSchema: {
40193
41097
  entity: {
40194
41098
  types: [
40195
- "object"
41099
+ "object",
41100
+ "array"
40196
41101
  ],
40197
- description: "entity prop",
40198
- required: true,
41102
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
40199
41103
  properties: {
40200
41104
  initialUnits: {
40201
41105
  types: [
@@ -40444,7 +41348,7 @@ var patterns_registry_default = {
40444
41348
  "object",
40445
41349
  "array"
40446
41350
  ],
40447
- description: "World map entity data",
41351
+ description: "World map entity data. Also accepts the canonical `EntityRow` the compiler binds; the component narrows to `WorldMapEntity` below.",
40448
41352
  properties: {
40449
41353
  id: {
40450
41354
  types: [
@@ -40489,7 +41393,11 @@ var patterns_registry_default = {
40489
41393
  types: [
40490
41394
  "object"
40491
41395
  ],
40492
- freeform: true
41396
+ mapValue: {
41397
+ types: [
41398
+ "object"
41399
+ ]
41400
+ }
40493
41401
  },
40494
41402
  passable: {
40495
41403
  types: [
@@ -40526,6 +41434,10 @@ var patterns_registry_default = {
40526
41434
  owner: {
40527
41435
  types: [
40528
41436
  "string"
41437
+ ],
41438
+ enumValues: [
41439
+ "player",
41440
+ "enemy"
40529
41441
  ]
40530
41442
  },
40531
41443
  position: {
@@ -40688,19 +41600,31 @@ var patterns_registry_default = {
40688
41600
  types: [
40689
41601
  "object"
40690
41602
  ],
40691
- freeform: true
41603
+ mapValue: {
41604
+ types: [
41605
+ "string"
41606
+ ]
41607
+ }
40692
41608
  },
40693
41609
  units: {
40694
41610
  types: [
40695
41611
  "object"
40696
41612
  ],
40697
- freeform: true
41613
+ mapValue: {
41614
+ types: [
41615
+ "string"
41616
+ ]
41617
+ }
40698
41618
  },
40699
41619
  features: {
40700
41620
  types: [
40701
41621
  "object"
40702
41622
  ],
40703
- freeform: true
41623
+ mapValue: {
41624
+ types: [
41625
+ "string"
41626
+ ]
41627
+ }
40704
41628
  }
40705
41629
  },
40706
41630
  required: [
@@ -40974,7 +41898,11 @@ var patterns_registry_default = {
40974
41898
  types: [
40975
41899
  "object"
40976
41900
  ],
40977
- freeform: true
41901
+ mapValue: {
41902
+ types: [
41903
+ "object"
41904
+ ]
41905
+ }
40978
41906
  },
40979
41907
  passable: {
40980
41908
  types: [
@@ -41006,6 +41934,10 @@ var patterns_registry_default = {
41006
41934
  owner: {
41007
41935
  types: [
41008
41936
  "string"
41937
+ ],
41938
+ enumValues: [
41939
+ "player",
41940
+ "enemy"
41009
41941
  ]
41010
41942
  },
41011
41943
  position: {
@@ -41104,6 +42036,10 @@ var patterns_registry_default = {
41104
42036
  owner: {
41105
42037
  types: [
41106
42038
  "string"
42039
+ ],
42040
+ enumValues: [
42041
+ "player",
42042
+ "enemy"
41107
42043
  ]
41108
42044
  },
41109
42045
  position: {
@@ -41311,7 +42247,11 @@ var patterns_registry_default = {
41311
42247
  types: [
41312
42248
  "object"
41313
42249
  ],
41314
- freeform: true
42250
+ mapValue: {
42251
+ types: [
42252
+ "object"
42253
+ ]
42254
+ }
41315
42255
  },
41316
42256
  passable: {
41317
42257
  types: [
@@ -41343,6 +42283,10 @@ var patterns_registry_default = {
41343
42283
  owner: {
41344
42284
  types: [
41345
42285
  "string"
42286
+ ],
42287
+ enumValues: [
42288
+ "player",
42289
+ "enemy"
41346
42290
  ]
41347
42291
  },
41348
42292
  position: {
@@ -41441,6 +42385,10 @@ var patterns_registry_default = {
41441
42385
  owner: {
41442
42386
  types: [
41443
42387
  "string"
42388
+ ],
42389
+ enumValues: [
42390
+ "player",
42391
+ "enemy"
41444
42392
  ]
41445
42393
  },
41446
42394
  position: {
@@ -41648,7 +42596,11 @@ var patterns_registry_default = {
41648
42596
  types: [
41649
42597
  "object"
41650
42598
  ],
41651
- freeform: true
42599
+ mapValue: {
42600
+ types: [
42601
+ "object"
42602
+ ]
42603
+ }
41652
42604
  },
41653
42605
  passable: {
41654
42606
  types: [
@@ -41680,6 +42632,10 @@ var patterns_registry_default = {
41680
42632
  owner: {
41681
42633
  types: [
41682
42634
  "string"
42635
+ ],
42636
+ enumValues: [
42637
+ "player",
42638
+ "enemy"
41683
42639
  ]
41684
42640
  },
41685
42641
  position: {
@@ -41778,6 +42734,10 @@ var patterns_registry_default = {
41778
42734
  owner: {
41779
42735
  types: [
41780
42736
  "string"
42737
+ ],
42738
+ enumValues: [
42739
+ "player",
42740
+ "enemy"
41781
42741
  ]
41782
42742
  },
41783
42743
  position: {
@@ -41985,7 +42945,11 @@ var patterns_registry_default = {
41985
42945
  types: [
41986
42946
  "object"
41987
42947
  ],
41988
- freeform: true
42948
+ mapValue: {
42949
+ types: [
42950
+ "object"
42951
+ ]
42952
+ }
41989
42953
  },
41990
42954
  passable: {
41991
42955
  types: [
@@ -42017,6 +42981,10 @@ var patterns_registry_default = {
42017
42981
  owner: {
42018
42982
  types: [
42019
42983
  "string"
42984
+ ],
42985
+ enumValues: [
42986
+ "player",
42987
+ "enemy"
42020
42988
  ]
42021
42989
  },
42022
42990
  position: {
@@ -42115,6 +43083,10 @@ var patterns_registry_default = {
42115
43083
  owner: {
42116
43084
  types: [
42117
43085
  "string"
43086
+ ],
43087
+ enumValues: [
43088
+ "player",
43089
+ "enemy"
42118
43090
  ]
42119
43091
  },
42120
43092
  position: {
@@ -42351,7 +43323,11 @@ var patterns_registry_default = {
42351
43323
  types: [
42352
43324
  "object"
42353
43325
  ],
42354
- freeform: true
43326
+ mapValue: {
43327
+ types: [
43328
+ "object"
43329
+ ]
43330
+ }
42355
43331
  },
42356
43332
  passable: {
42357
43333
  types: [
@@ -42590,7 +43566,45 @@ var patterns_registry_default = {
42590
43566
  types: [
42591
43567
  "object"
42592
43568
  ],
42593
- freeform: true
43569
+ mapValue: {
43570
+ types: [
43571
+ "object"
43572
+ ],
43573
+ properties: {
43574
+ value: {
43575
+ types: [
43576
+ "number"
43577
+ ]
43578
+ },
43579
+ min: {
43580
+ types: [
43581
+ "number"
43582
+ ]
43583
+ },
43584
+ max: {
43585
+ types: [
43586
+ "number"
43587
+ ]
43588
+ },
43589
+ step: {
43590
+ types: [
43591
+ "number"
43592
+ ]
43593
+ },
43594
+ label: {
43595
+ types: [
43596
+ "string"
43597
+ ]
43598
+ }
43599
+ },
43600
+ required: [
43601
+ "value",
43602
+ "min",
43603
+ "max",
43604
+ "step",
43605
+ "label"
43606
+ ]
43607
+ }
42594
43608
  }
42595
43609
  },
42596
43610
  propertyRequired: [
@@ -42671,7 +43685,45 @@ var patterns_registry_default = {
42671
43685
  ],
42672
43686
  description: "parameters prop",
42673
43687
  required: true,
42674
- freeform: true
43688
+ mapValue: {
43689
+ types: [
43690
+ "object"
43691
+ ],
43692
+ properties: {
43693
+ value: {
43694
+ types: [
43695
+ "number"
43696
+ ]
43697
+ },
43698
+ min: {
43699
+ types: [
43700
+ "number"
43701
+ ]
43702
+ },
43703
+ max: {
43704
+ types: [
43705
+ "number"
43706
+ ]
43707
+ },
43708
+ step: {
43709
+ types: [
43710
+ "number"
43711
+ ]
43712
+ },
43713
+ label: {
43714
+ types: [
43715
+ "string"
43716
+ ]
43717
+ }
43718
+ },
43719
+ required: [
43720
+ "value",
43721
+ "min",
43722
+ "max",
43723
+ "step",
43724
+ "label"
43725
+ ]
43726
+ }
42675
43727
  },
42676
43728
  onPlay: {
42677
43729
  types: [
@@ -42855,10 +43907,10 @@ var patterns_registry_default = {
42855
43907
  propsSchema: {
42856
43908
  entity: {
42857
43909
  types: [
42858
- "object"
43910
+ "object",
43911
+ "array"
42859
43912
  ],
42860
- description: "entity prop",
42861
- required: true,
43913
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
42862
43914
  properties: {
42863
43915
  id: {
42864
43916
  types: [
@@ -43041,10 +44093,10 @@ var patterns_registry_default = {
43041
44093
  propsSchema: {
43042
44094
  entity: {
43043
44095
  types: [
43044
- "object"
44096
+ "object",
44097
+ "array"
43045
44098
  ],
43046
- description: "entity prop",
43047
- required: true,
44099
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
43048
44100
  properties: {
43049
44101
  id: {
43050
44102
  types: [
@@ -43222,10 +44274,10 @@ var patterns_registry_default = {
43222
44274
  propsSchema: {
43223
44275
  entity: {
43224
44276
  types: [
43225
- "object"
44277
+ "object",
44278
+ "array"
43226
44279
  ],
43227
- description: "entity prop",
43228
- required: true,
44280
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
43229
44281
  properties: {
43230
44282
  id: {
43231
44283
  types: [
@@ -43373,10 +44425,10 @@ var patterns_registry_default = {
43373
44425
  propsSchema: {
43374
44426
  entity: {
43375
44427
  types: [
43376
- "object"
44428
+ "object",
44429
+ "array"
43377
44430
  ],
43378
- description: "Puzzle data",
43379
- required: true,
44431
+ description: "Puzzle data. The compiler binds the generic `EntityRow`, so the inlet accepts it (and arrays) as union members; the component narrows to its curated `EventHandlerPuzzleEntity` read-shape below (a valid union-narrow) and renders nothing until a puzzle entity is present.",
43380
44432
  properties: {
43381
44433
  id: {
43382
44434
  types: [
@@ -44092,10 +45144,10 @@ var patterns_registry_default = {
44092
45144
  propsSchema: {
44093
45145
  entity: {
44094
45146
  types: [
44095
- "object"
45147
+ "object",
45148
+ "array"
44096
45149
  ],
44097
- description: "entity prop",
44098
- required: true,
45150
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
44099
45151
  properties: {
44100
45152
  id: {
44101
45153
  types: [
@@ -44428,7 +45480,27 @@ var patterns_registry_default = {
44428
45480
  "object"
44429
45481
  ],
44430
45482
  description: "Category \u2192 color mapping",
44431
- freeform: true
45483
+ mapValue: {
45484
+ types: [
45485
+ "object"
45486
+ ],
45487
+ properties: {
45488
+ bg: {
45489
+ types: [
45490
+ "string"
45491
+ ]
45492
+ },
45493
+ border: {
45494
+ types: [
45495
+ "string"
45496
+ ]
45497
+ }
45498
+ },
45499
+ required: [
45500
+ "bg",
45501
+ "border"
45502
+ ]
45503
+ }
44432
45504
  },
44433
45505
  size: {
44434
45506
  types: [
@@ -44612,7 +45684,27 @@ var patterns_registry_default = {
44612
45684
  "object"
44613
45685
  ],
44614
45686
  description: "Category \u2192 color mapping",
44615
- freeform: true
45687
+ mapValue: {
45688
+ types: [
45689
+ "object"
45690
+ ],
45691
+ properties: {
45692
+ bg: {
45693
+ types: [
45694
+ "string"
45695
+ ]
45696
+ },
45697
+ border: {
45698
+ types: [
45699
+ "string"
45700
+ ]
45701
+ }
45702
+ },
45703
+ required: [
45704
+ "bg",
45705
+ "border"
45706
+ ]
45707
+ }
44616
45708
  }
44617
45709
  }
44618
45710
  },
@@ -44928,7 +46020,27 @@ var patterns_registry_default = {
44928
46020
  "object"
44929
46021
  ],
44930
46022
  description: "Category \u2192 color mapping",
44931
- freeform: true
46023
+ mapValue: {
46024
+ types: [
46025
+ "object"
46026
+ ],
46027
+ properties: {
46028
+ bg: {
46029
+ types: [
46030
+ "string"
46031
+ ]
46032
+ },
46033
+ border: {
46034
+ types: [
46035
+ "string"
46036
+ ]
46037
+ }
46038
+ },
46039
+ required: [
46040
+ "bg",
46041
+ "border"
46042
+ ]
46043
+ }
44932
46044
  },
44933
46045
  slotFeedback: {
44934
46046
  types: [
@@ -44980,10 +46092,10 @@ var patterns_registry_default = {
44980
46092
  propsSchema: {
44981
46093
  entity: {
44982
46094
  types: [
44983
- "object"
46095
+ "object",
46096
+ "array"
44984
46097
  ],
44985
- description: "Puzzle data",
44986
- required: true,
46098
+ description: "Puzzle data. Also accepts the canonical `EntityRow` the compiler binds (and arrays); narrowed to `SequencerPuzzleEntity` internally.",
44987
46099
  properties: {
44988
46100
  id: {
44989
46101
  types: [
@@ -45225,7 +46337,27 @@ var patterns_registry_default = {
45225
46337
  "object"
45226
46338
  ],
45227
46339
  description: "Category \u2192 color mapping",
45228
- freeform: true
46340
+ mapValue: {
46341
+ types: [
46342
+ "object"
46343
+ ],
46344
+ properties: {
46345
+ bg: {
46346
+ types: [
46347
+ "string"
46348
+ ]
46349
+ },
46350
+ border: {
46351
+ types: [
46352
+ "string"
46353
+ ]
46354
+ }
46355
+ },
46356
+ required: [
46357
+ "bg",
46358
+ "border"
46359
+ ]
46360
+ }
45229
46361
  },
45230
46362
  stepDurationMs: {
45231
46363
  types: [
@@ -45284,10 +46416,10 @@ var patterns_registry_default = {
45284
46416
  propsSchema: {
45285
46417
  entity: {
45286
46418
  types: [
45287
- "object"
46419
+ "object",
46420
+ "array"
45288
46421
  ],
45289
- description: "entity prop",
45290
- required: true,
46422
+ description: "The compiler binds the generic `EntityRow`, so the inlet accepts it (and",
45291
46423
  properties: {
45292
46424
  id: {
45293
46425
  types: [
@@ -45527,10 +46659,10 @@ var patterns_registry_default = {
45527
46659
  propsSchema: {
45528
46660
  entity: {
45529
46661
  types: [
45530
- "object"
46662
+ "object",
46663
+ "array"
45531
46664
  ],
45532
- description: "Puzzle data",
45533
- required: true,
46665
+ description: "Puzzle data. Also accepts the canonical `EntityRow` the compiler binds (and arrays); narrowed to `StateArchitectPuzzleEntity` internally.",
45534
46666
  properties: {
45535
46667
  id: {
45536
46668
  types: [
@@ -46302,7 +47434,11 @@ var patterns_registry_default = {
46302
47434
  "object"
46303
47435
  ],
46304
47436
  description: "Feature color overrides",
46305
- freeform: true
47437
+ mapValue: {
47438
+ types: [
47439
+ "string"
47440
+ ]
47441
+ }
46306
47442
  }
46307
47443
  }
46308
47444
  },
@@ -46344,7 +47480,32 @@ var patterns_registry_default = {
46344
47480
  types: [
46345
47481
  "object"
46346
47482
  ],
46347
- description: "Error state"
47483
+ description: "Error state (UiError)",
47484
+ properties: {
47485
+ message: {
47486
+ types: [
47487
+ "string"
47488
+ ]
47489
+ },
47490
+ name: {
47491
+ types: [
47492
+ "string"
47493
+ ]
47494
+ },
47495
+ code: {
47496
+ types: [
47497
+ "string"
47498
+ ]
47499
+ },
47500
+ stack: {
47501
+ types: [
47502
+ "string"
47503
+ ]
47504
+ }
47505
+ },
47506
+ propertyRequired: [
47507
+ "message"
47508
+ ]
46348
47509
  },
46349
47510
  sortBy: {
46350
47511
  types: [
@@ -46356,7 +47517,11 @@ var patterns_registry_default = {
46356
47517
  types: [
46357
47518
  "string"
46358
47519
  ],
46359
- description: "Current sort direction"
47520
+ description: "Current sort direction",
47521
+ enumValues: [
47522
+ "asc",
47523
+ "desc"
47524
+ ]
46360
47525
  },
46361
47526
  searchValue: {
46362
47527
  types: [
@@ -46405,6 +47570,11 @@ var patterns_registry_default = {
46405
47570
  "number"
46406
47571
  ],
46407
47572
  description: "Number of columns",
47573
+ numericEnumValues: [
47574
+ 2,
47575
+ 3,
47576
+ 4
47577
+ ],
46408
47578
  default: 3
46409
47579
  },
46410
47580
  gap: {
@@ -46443,11 +47613,21 @@ var patterns_registry_default = {
46443
47613
  colSpan: {
46444
47614
  types: [
46445
47615
  "number"
47616
+ ],
47617
+ numericEnumValues: [
47618
+ 1,
47619
+ 2,
47620
+ 3,
47621
+ 4
46446
47622
  ]
46447
47623
  },
46448
47624
  rowSpan: {
46449
47625
  types: [
46450
47626
  "number"
47627
+ ],
47628
+ numericEnumValues: [
47629
+ 1,
47630
+ 2
46451
47631
  ]
46452
47632
  }
46453
47633
  }
@@ -47643,6 +48823,130 @@ var patterns_registry_default = {
47643
48823
  }
47644
48824
  }
47645
48825
  },
48826
+ "step-flow": {
48827
+ type: "step-flow",
48828
+ category: "component",
48829
+ tier: "molecules",
48830
+ family: "marketing",
48831
+ description: "StepFlow component",
48832
+ suggestedFor: [
48833
+ "step",
48834
+ "flow",
48835
+ "step flow"
48836
+ ],
48837
+ typicalSize: "medium",
48838
+ propsSchema: {
48839
+ steps: {
48840
+ types: [
48841
+ "array"
48842
+ ],
48843
+ description: "steps prop",
48844
+ required: true,
48845
+ items: {
48846
+ types: [
48847
+ "object"
48848
+ ],
48849
+ properties: {
48850
+ number: {
48851
+ types: [
48852
+ "number"
48853
+ ]
48854
+ },
48855
+ title: {
48856
+ types: [
48857
+ "string"
48858
+ ]
48859
+ },
48860
+ description: {
48861
+ types: [
48862
+ "string"
48863
+ ]
48864
+ },
48865
+ icon: {
48866
+ types: [
48867
+ "string"
48868
+ ]
48869
+ }
48870
+ },
48871
+ required: [
48872
+ "title",
48873
+ "description"
48874
+ ]
48875
+ }
48876
+ },
48877
+ orientation: {
48878
+ types: [
48879
+ "string"
48880
+ ],
48881
+ description: "orientation prop",
48882
+ enumValues: [
48883
+ "horizontal",
48884
+ "vertical"
48885
+ ],
48886
+ default: "horizontal"
48887
+ },
48888
+ showConnectors: {
48889
+ types: [
48890
+ "boolean"
48891
+ ],
48892
+ description: "showConnectors prop",
48893
+ default: true
48894
+ },
48895
+ className: {
48896
+ types: [
48897
+ "string"
48898
+ ],
48899
+ description: "className prop"
48900
+ }
48901
+ }
48902
+ },
48903
+ "stat-card": {
48904
+ type: "stat-card",
48905
+ category: "display",
48906
+ tier: "atoms",
48907
+ family: "marketing",
48908
+ description: "StatCard component",
48909
+ suggestedFor: [
48910
+ "stat",
48911
+ "card",
48912
+ "stat card"
48913
+ ],
48914
+ typicalSize: "small",
48915
+ propsSchema: {
48916
+ value: {
48917
+ types: [
48918
+ "string"
48919
+ ],
48920
+ description: "The stat value to display prominently",
48921
+ required: true
48922
+ },
48923
+ label: {
48924
+ types: [
48925
+ "string"
48926
+ ],
48927
+ description: "Label describing the value",
48928
+ required: true
48929
+ },
48930
+ size: {
48931
+ types: [
48932
+ "string"
48933
+ ],
48934
+ description: "Size of the value text",
48935
+ enumValues: [
48936
+ "sm",
48937
+ "md",
48938
+ "lg"
48939
+ ],
48940
+ default: "md"
48941
+ },
48942
+ className: {
48943
+ types: [
48944
+ "string"
48945
+ ],
48946
+ description: "Additional class names"
48947
+ }
48948
+ }
48949
+ },
47646
48950
  heading: {
47647
48951
  type: "heading",
47648
48952
  category: "component",
@@ -47684,6 +48988,14 @@ var patterns_registry_default = {
47684
48988
  "number"
47685
48989
  ],
47686
48990
  description: "Heading level (1-6) - alternative to variant for headings",
48991
+ numericEnumValues: [
48992
+ 1,
48993
+ 2,
48994
+ 3,
48995
+ 4,
48996
+ 5,
48997
+ 6
48998
+ ],
47687
48999
  default: 2
47688
49000
  },
47689
49001
  color: {
@@ -47763,7 +49075,7 @@ var patterns_registry_default = {
47763
49075
  },
47764
49076
  as: {
47765
49077
  types: [
47766
- "string"
49078
+ "component"
47767
49079
  ],
47768
49080
  description: "Custom HTML element"
47769
49081
  },
@@ -47840,6 +49152,14 @@ var patterns_registry_default = {
47840
49152
  "number"
47841
49153
  ],
47842
49154
  description: "Heading level (1-6) - alternative to variant for headings",
49155
+ numericEnumValues: [
49156
+ 1,
49157
+ 2,
49158
+ 3,
49159
+ 4,
49160
+ 5,
49161
+ 6
49162
+ ],
47843
49163
  default: 2
47844
49164
  },
47845
49165
  color: {
@@ -47919,7 +49239,7 @@ var patterns_registry_default = {
47919
49239
  },
47920
49240
  as: {
47921
49241
  types: [
47922
- "string"
49242
+ "component"
47923
49243
  ],
47924
49244
  description: "Custom HTML element"
47925
49245
  },
@@ -48581,11 +49901,11 @@ var integrators_registry_default = {
48581
49901
  // src/component-mapping.json
48582
49902
  var component_mapping_default = {
48583
49903
  version: "1.0.0",
48584
- exportedAt: "2026-06-07T18:38:16.149Z",
49904
+ exportedAt: "2026-06-09T01:18:33.001Z",
48585
49905
  mappings: {
48586
49906
  "page-header": {
48587
49907
  component: "PageHeader",
48588
- importPath: "@/components/organisms/PageHeader",
49908
+ importPath: "@/components/molecules/PageHeader",
48589
49909
  category: "header"
48590
49910
  },
48591
49911
  "entity-list": {
@@ -48603,11 +49923,6 @@ var component_mapping_default = {
48603
49923
  importPath: "@/components/organisms/CardGrid",
48604
49924
  category: "display"
48605
49925
  },
48606
- stats: {
48607
- component: "StatCard",
48608
- importPath: "@/components/atoms/StatCard",
48609
- category: "display"
48610
- },
48611
49926
  "detail-panel": {
48612
49927
  component: "DetailPanel",
48613
49928
  importPath: "@/components/organisms/DetailPanel",
@@ -48670,7 +49985,7 @@ var component_mapping_default = {
48670
49985
  },
48671
49986
  "wizard-container": {
48672
49987
  component: "WizardContainer",
48673
- importPath: "@/components/organisms/WizardContainer",
49988
+ importPath: "@/components/molecules/WizardContainer",
48674
49989
  category: "navigation"
48675
49990
  },
48676
49991
  "wizard-progress": {
@@ -48705,7 +50020,7 @@ var component_mapping_default = {
48705
50020
  },
48706
50021
  "confirm-dialog": {
48707
50022
  component: "ConfirmDialog",
48708
- importPath: "@/components/organisms/ConfirmDialog",
50023
+ importPath: "@/components/molecules/ConfirmDialog",
48709
50024
  category: "layout"
48710
50025
  },
48711
50026
  "master-detail": {
@@ -48987,7 +50302,7 @@ var component_mapping_default = {
48987
50302
  },
48988
50303
  header: {
48989
50304
  component: "Header",
48990
- importPath: "@/components/organisms/Header",
50305
+ importPath: "@/components/molecules/Header",
48991
50306
  category: "header"
48992
50307
  },
48993
50308
  "modal-slot": {
@@ -48997,34 +50312,29 @@ var component_mapping_default = {
48997
50312
  },
48998
50313
  navigation: {
48999
50314
  component: "Navigation",
49000
- importPath: "@/components/organisms/Navigation",
50315
+ importPath: "@/components/molecules/Navigation",
49001
50316
  category: "navigation"
49002
50317
  },
49003
50318
  "orbital-visualization": {
49004
50319
  component: "OrbitalVisualization",
49005
- importPath: "@/components/organisms/OrbitalVisualization",
50320
+ importPath: "@/components/molecules/OrbitalVisualization",
49006
50321
  category: "display"
49007
50322
  },
49008
50323
  section: {
49009
50324
  component: "Section",
49010
- importPath: "@/components/organisms/Section",
50325
+ importPath: "@/components/molecules/Section",
49011
50326
  category: "display"
49012
50327
  },
49013
50328
  sidebar: {
49014
50329
  component: "Sidebar",
49015
- importPath: "@/components/organisms/Sidebar",
50330
+ importPath: "@/components/molecules/Sidebar",
49016
50331
  category: "navigation"
49017
50332
  },
49018
50333
  split: {
49019
50334
  component: "Split",
49020
- importPath: "@/components/organisms/Split",
50335
+ importPath: "@/components/molecules/Split",
49021
50336
  category: "layout"
49022
50337
  },
49023
- table: {
49024
- component: "Table",
49025
- importPath: "@/components/organisms/Table",
49026
- category: "display"
49027
- },
49028
50338
  "toast-slot": {
49029
50339
  component: "ToastSlot",
49030
50340
  importPath: "@/components/organisms/ToastSlot",
@@ -49062,7 +50372,7 @@ var component_mapping_default = {
49062
50372
  },
49063
50373
  chart: {
49064
50374
  component: "Chart",
49065
- importPath: "@/components/organisms/Chart",
50375
+ importPath: "@/components/molecules/Chart",
49066
50376
  category: "visualization"
49067
50377
  },
49068
50378
  meter: {
@@ -49082,22 +50392,22 @@ var component_mapping_default = {
49082
50392
  },
49083
50393
  "signature-pad": {
49084
50394
  component: "SignaturePad",
49085
- importPath: "@/components/organisms/SignaturePad",
50395
+ importPath: "@/components/molecules/SignaturePad",
49086
50396
  category: "form"
49087
50397
  },
49088
50398
  "document-viewer": {
49089
50399
  component: "DocumentViewer",
49090
- importPath: "@/components/organisms/DocumentViewer",
50400
+ importPath: "@/components/molecules/DocumentViewer",
49091
50401
  category: "display"
49092
50402
  },
49093
50403
  "graph-canvas": {
49094
50404
  component: "GraphCanvas",
49095
- importPath: "@/components/organisms/GraphCanvas",
50405
+ importPath: "@/components/molecules/GraphCanvas",
49096
50406
  category: "visualization"
49097
50407
  },
49098
50408
  "code-viewer": {
49099
50409
  component: "CodeViewer",
49100
- importPath: "@/components/organisms/CodeViewer",
50410
+ importPath: "@/components/molecules/CodeViewer",
49101
50411
  category: "display"
49102
50412
  },
49103
50413
  "battle-template": {
@@ -49142,12 +50452,12 @@ var component_mapping_default = {
49142
50452
  },
49143
50453
  "content-renderer": {
49144
50454
  component: "ContentRenderer",
49145
- importPath: "@/components/organisms/ContentRenderer",
50455
+ importPath: "@/components/molecules/ContentRenderer",
49146
50456
  category: "display"
49147
50457
  },
49148
50458
  "jazari-state-machine": {
49149
50459
  component: "JazariStateMachine",
49150
- importPath: "@/components/organisms/JazariStateMachine",
50460
+ importPath: "@/components/molecules/JazariStateMachine",
49151
50461
  category: "display"
49152
50462
  },
49153
50463
  "state-machine-view": {
@@ -49320,11 +50630,6 @@ var component_mapping_default = {
49320
50630
  importPath: "@/components/molecules/CaseStudyCard",
49321
50631
  category: "display"
49322
50632
  },
49323
- "code-example": {
49324
- component: "CodeExample",
49325
- importPath: "@/components/molecules/CodeExample",
49326
- category: "component"
49327
- },
49328
50633
  "community-links": {
49329
50634
  component: "CommunityLinks",
49330
50635
  importPath: "@/components/molecules/CommunityLinks",
@@ -49385,11 +50690,6 @@ var component_mapping_default = {
49385
50690
  importPath: "@/components/molecules/StatsGrid",
49386
50691
  category: "display"
49387
50692
  },
49388
- "step-item": {
49389
- component: "StepItem",
49390
- importPath: "@/components/molecules/StepItem",
49391
- category: "component"
49392
- },
49393
50693
  "tag-cloud": {
49394
50694
  component: "TagCloud",
49395
50695
  importPath: "@/components/molecules/TagCloud",
@@ -50105,6 +51405,16 @@ var component_mapping_default = {
50105
51405
  importPath: "@/components/molecules/TableView",
50106
51406
  category: "display"
50107
51407
  },
51408
+ "step-flow": {
51409
+ component: "StepFlow",
51410
+ importPath: "@/components/molecules/StepFlow",
51411
+ category: "component"
51412
+ },
51413
+ "stat-card": {
51414
+ component: "StatCard",
51415
+ importPath: "@/components/atoms/StatCard",
51416
+ category: "display"
51417
+ },
50108
51418
  heading: {
50109
51419
  component: "Typography",
50110
51420
  importPath: "@/components/atoms/Typography",
@@ -50121,7 +51431,7 @@ var component_mapping_default = {
50121
51431
  // src/event-contracts.json
50122
51432
  var event_contracts_default = {
50123
51433
  version: "1.0.0",
50124
- exportedAt: "2026-06-07T18:38:16.149Z",
51434
+ exportedAt: "2026-06-09T01:18:33.001Z",
50125
51435
  contracts: {
50126
51436
  form: {
50127
51437
  emits: [
@@ -50657,11 +51967,6 @@ var event_contracts_default = {
50657
51967
  requires: [],
50658
51968
  entityAware: true
50659
51969
  },
50660
- stats: {
50661
- emits: [],
50662
- requires: [],
50663
- entityAware: false
50664
- },
50665
51970
  card: {
50666
51971
  emits: [
50667
51972
  {