@almadar/patterns 2.43.0 → 2.44.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-16T13:40:20.131Z",
4
+ exportedAt: "2026-06-16T19:32:31.111Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -276,7 +276,8 @@ var patterns_registry_default = {
276
276
  },
277
277
  icon: {
278
278
  types: [
279
- "icon"
279
+ "icon",
280
+ "string"
280
281
  ]
281
282
  },
282
283
  variant: {
@@ -379,7 +380,8 @@ var patterns_registry_default = {
379
380
  },
380
381
  icon: {
381
382
  types: [
382
- "icon"
383
+ "icon",
384
+ "string"
383
385
  ]
384
386
  },
385
387
  onClick: {
@@ -430,7 +432,8 @@ var patterns_registry_default = {
430
432
  },
431
433
  icon: {
432
434
  types: [
433
- "icon"
435
+ "icon",
436
+ "string"
434
437
  ]
435
438
  },
436
439
  onClick: {
@@ -495,15 +498,6 @@ var patterns_registry_default = {
495
498
  ],
496
499
  typicalSize: "medium",
497
500
  propsSchema: {
498
- entity: {
499
- types: [
500
- "object",
501
- "array"
502
- ],
503
- description: "Entity record or array of records \u2014 pre-resolved by the trait via render-ui after a fetch emit",
504
- kind: "entity",
505
- cardinality: "collection"
506
- },
507
501
  className: {
508
502
  types: [
509
503
  "string"
@@ -607,6 +601,15 @@ var patterns_registry_default = {
607
601
  },
608
602
  default: []
609
603
  },
604
+ entity: {
605
+ types: [
606
+ "object",
607
+ "array"
608
+ ],
609
+ description: "Entity data (single record or collection).",
610
+ kind: "entity",
611
+ cardinality: "collection"
612
+ },
610
613
  entityType: {
611
614
  types: [
612
615
  "string"
@@ -739,7 +742,8 @@ var patterns_registry_default = {
739
742
  },
740
743
  icon: {
741
744
  types: [
742
- "icon"
745
+ "icon",
746
+ "string"
743
747
  ]
744
748
  },
745
749
  avatar: {
@@ -749,7 +753,7 @@ var patterns_registry_default = {
749
753
  properties: {
750
754
  src: {
751
755
  types: [
752
- "string"
756
+ "asset"
753
757
  ]
754
758
  },
755
759
  alt: {
@@ -1226,14 +1230,6 @@ var patterns_registry_default = {
1226
1230
  ],
1227
1231
  typicalSize: "medium",
1228
1232
  propsSchema: {
1229
- entity: {
1230
- types: [
1231
- "object"
1232
- ],
1233
- description: "RECORD-cardinality override: renders ONE record (see body collapse below).",
1234
- kind: "entity",
1235
- cardinality: "record"
1236
- },
1237
1233
  className: {
1238
1234
  types: [
1239
1235
  "string"
@@ -1336,6 +1332,14 @@ var patterns_registry_default = {
1336
1332
  ]
1337
1333
  }
1338
1334
  },
1335
+ entity: {
1336
+ types: [
1337
+ "object"
1338
+ ],
1339
+ description: "RECORD-cardinality: renders ONE record (see body collapse below).",
1340
+ kind: "entity",
1341
+ cardinality: "record"
1342
+ },
1339
1343
  title: {
1340
1344
  types: [
1341
1345
  "string"
@@ -1419,7 +1423,8 @@ var patterns_registry_default = {
1419
1423
  },
1420
1424
  icon: {
1421
1425
  types: [
1422
- "icon"
1426
+ "icon",
1427
+ "string"
1423
1428
  ]
1424
1429
  },
1425
1430
  copyable: {
@@ -1458,7 +1463,8 @@ var patterns_registry_default = {
1458
1463
  },
1459
1464
  icon: {
1460
1465
  types: [
1461
- "icon"
1466
+ "icon",
1467
+ "string"
1462
1468
  ]
1463
1469
  },
1464
1470
  onClick: {
@@ -1742,7 +1748,8 @@ var patterns_registry_default = {
1742
1748
  },
1743
1749
  icon: {
1744
1750
  types: [
1745
- "icon"
1751
+ "icon",
1752
+ "string"
1746
1753
  ]
1747
1754
  },
1748
1755
  loading: {
@@ -6638,23 +6645,20 @@ var patterns_registry_default = {
6638
6645
  },
6639
6646
  leftIcon: {
6640
6647
  types: [
6641
- "node",
6642
6648
  "icon",
6643
6649
  "string"
6644
6650
  ],
6645
- description: 'Left icon as ReactNode, Lucide component, or string name (e.g. "plus", "trash")'
6651
+ description: 'Left icon: a Lucide component or a canonical icon name string (e.g. "plus", "trash").'
6646
6652
  },
6647
6653
  rightIcon: {
6648
6654
  types: [
6649
- "node",
6650
6655
  "icon",
6651
6656
  "string"
6652
6657
  ],
6653
- description: "Right icon as ReactNode, Lucide component, or string name"
6658
+ description: "Right icon: a Lucide component or a canonical icon name string."
6654
6659
  },
6655
6660
  icon: {
6656
6661
  types: [
6657
- "node",
6658
6662
  "icon",
6659
6663
  "string"
6660
6664
  ],
@@ -6662,7 +6666,6 @@ var patterns_registry_default = {
6662
6666
  },
6663
6667
  iconRight: {
6664
6668
  types: [
6665
- "node",
6666
6669
  "icon",
6667
6670
  "string"
6668
6671
  ],
@@ -6760,9 +6763,10 @@ var patterns_registry_default = {
6760
6763
  },
6761
6764
  icon: {
6762
6765
  types: [
6763
- "node"
6766
+ "icon",
6767
+ "string"
6764
6768
  ],
6765
- description: "Icon name (Lucide icon string) or React node"
6769
+ description: "Lucide icon component or canonical kebab-case icon name string"
6766
6770
  },
6767
6771
  onRemove: {
6768
6772
  types: [
@@ -6795,7 +6799,7 @@ var patterns_registry_default = {
6795
6799
  propsSchema: {
6796
6800
  src: {
6797
6801
  types: [
6798
- "string"
6802
+ "asset"
6799
6803
  ],
6800
6804
  description: "Image source URL"
6801
6805
  },
@@ -7063,6 +7067,13 @@ var patterns_registry_default = {
7063
7067
  "node"
7064
7068
  ],
7065
7069
  description: "Card content"
7070
+ },
7071
+ action: {
7072
+ types: [
7073
+ "string"
7074
+ ],
7075
+ description: "Declarative event key emitted on click for trait dispatch",
7076
+ kind: "event"
7066
7077
  }
7067
7078
  }
7068
7079
  },
@@ -7288,13 +7299,15 @@ var patterns_registry_default = {
7288
7299
  },
7289
7300
  leftIcon: {
7290
7301
  types: [
7291
- "node"
7302
+ "icon",
7303
+ "string"
7292
7304
  ],
7293
7305
  description: "leftIcon prop"
7294
7306
  },
7295
7307
  rightIcon: {
7296
7308
  types: [
7297
- "node"
7309
+ "icon",
7310
+ "string"
7298
7311
  ],
7299
7312
  description: "rightIcon prop"
7300
7313
  },
@@ -7303,7 +7316,7 @@ var patterns_registry_default = {
7303
7316
  "icon",
7304
7317
  "string"
7305
7318
  ],
7306
- description: "Lucide icon component for left side (convenience prop), or a canonical kebab-case icon name string (resolved via `resolveIcon`)."
7319
+ description: "Lucide icon component or canonical kebab-case icon name string for left side"
7307
7320
  },
7308
7321
  clearable: {
7309
7322
  types: [
@@ -7313,11 +7326,10 @@ var patterns_registry_default = {
7313
7326
  },
7314
7327
  onClear: {
7315
7328
  types: [
7316
- "function"
7329
+ "function",
7330
+ "string"
7317
7331
  ],
7318
- description: "Callback when clear button is clicked",
7319
- kind: "callback",
7320
- callbackArgs: []
7332
+ description: "Callback or declarative event key when clear button is clicked"
7321
7333
  },
7322
7334
  options: {
7323
7335
  types: [
@@ -7355,11 +7367,10 @@ var patterns_registry_default = {
7355
7367
  },
7356
7368
  onChange: {
7357
7369
  types: [
7358
- "function"
7370
+ "function",
7371
+ "string"
7359
7372
  ],
7360
- description: "onChange handler - accepts events from input, select, or textarea",
7361
- kind: "callback",
7362
- callbackArgs: []
7373
+ description: "onChange handler or declarative event key for trait dispatch"
7363
7374
  }
7364
7375
  }
7365
7376
  },
@@ -7406,6 +7417,13 @@ var patterns_registry_default = {
7406
7417
  "string"
7407
7418
  ],
7408
7419
  description: "Error message"
7420
+ },
7421
+ onChange: {
7422
+ types: [
7423
+ "function",
7424
+ "string"
7425
+ ],
7426
+ description: "onChange handler or declarative event key for trait dispatch"
7409
7427
  }
7410
7428
  }
7411
7429
  },
@@ -7480,6 +7498,13 @@ var patterns_registry_default = {
7480
7498
  "string"
7481
7499
  ],
7482
7500
  description: "Error message"
7501
+ },
7502
+ onChange: {
7503
+ types: [
7504
+ "function",
7505
+ "string"
7506
+ ],
7507
+ description: "onChange handler or declarative event key for trait dispatch"
7483
7508
  }
7484
7509
  }
7485
7510
  },
@@ -7519,6 +7544,13 @@ var patterns_registry_default = {
7519
7544
  "string"
7520
7545
  ],
7521
7546
  description: "label prop"
7547
+ },
7548
+ onChange: {
7549
+ types: [
7550
+ "function",
7551
+ "string"
7552
+ ],
7553
+ description: "onChange handler or declarative event key for trait dispatch"
7522
7554
  }
7523
7555
  }
7524
7556
  },
@@ -9621,7 +9653,8 @@ var patterns_registry_default = {
9621
9653
  },
9622
9654
  icon: {
9623
9655
  types: [
9624
- "icon"
9656
+ "icon",
9657
+ "string"
9625
9658
  ]
9626
9659
  },
9627
9660
  onClick: {
@@ -9656,9 +9689,10 @@ var patterns_registry_default = {
9656
9689
  },
9657
9690
  icon: {
9658
9691
  types: [
9692
+ "icon",
9659
9693
  "string"
9660
9694
  ],
9661
- description: "Icon name (resolves to a Lucide icon by PascalCase / kebab-case lookup)."
9695
+ description: "Icon: a canonical icon name string (resolved by Button) or a Lucide component."
9662
9696
  },
9663
9697
  onClick: {
9664
9698
  types: [
@@ -9827,9 +9861,10 @@ var patterns_registry_default = {
9827
9861
  },
9828
9862
  icon: {
9829
9863
  types: [
9864
+ "icon",
9830
9865
  "string"
9831
9866
  ],
9832
- description: "Icon name to show before title"
9867
+ description: "Lucide icon name or component to show before title"
9833
9868
  },
9834
9869
  hasErrors: {
9835
9870
  types: [
@@ -10361,7 +10396,7 @@ var patterns_registry_default = {
10361
10396
  },
10362
10397
  logoSrc: {
10363
10398
  types: [
10364
- "string"
10399
+ "asset"
10365
10400
  ],
10366
10401
  description: "Logo image source"
10367
10402
  },
@@ -10399,7 +10434,8 @@ var patterns_registry_default = {
10399
10434
  },
10400
10435
  icon: {
10401
10436
  types: [
10402
- "icon"
10437
+ "icon",
10438
+ "string"
10403
10439
  ]
10404
10440
  },
10405
10441
  badge: {
@@ -10475,7 +10511,7 @@ var patterns_registry_default = {
10475
10511
  properties: {
10476
10512
  src: {
10477
10513
  types: [
10478
- "string"
10514
+ "asset"
10479
10515
  ]
10480
10516
  },
10481
10517
  alt: {
@@ -10725,7 +10761,8 @@ var patterns_registry_default = {
10725
10761
  },
10726
10762
  icon: {
10727
10763
  types: [
10728
- "icon"
10764
+ "icon",
10765
+ "string"
10729
10766
  ]
10730
10767
  },
10731
10768
  badge: {
@@ -11198,7 +11235,7 @@ var patterns_registry_default = {
11198
11235
  },
11199
11236
  logoSrc: {
11200
11237
  types: [
11201
- "string"
11238
+ "asset"
11202
11239
  ],
11203
11240
  description: "Logo image source"
11204
11241
  },
@@ -11232,7 +11269,8 @@ var patterns_registry_default = {
11232
11269
  },
11233
11270
  icon: {
11234
11271
  types: [
11235
- "icon"
11272
+ "icon",
11273
+ "string"
11236
11274
  ]
11237
11275
  },
11238
11276
  badge: {
@@ -11632,7 +11670,7 @@ var patterns_registry_default = {
11632
11670
  },
11633
11671
  backgroundImage: {
11634
11672
  types: [
11635
- "string"
11673
+ "asset"
11636
11674
  ],
11637
11675
  description: "Background image URL"
11638
11676
  },
@@ -11835,7 +11873,7 @@ var patterns_registry_default = {
11835
11873
  },
11836
11874
  avatar: {
11837
11875
  types: [
11838
- "string"
11876
+ "asset"
11839
11877
  ]
11840
11878
  }
11841
11879
  },
@@ -11898,6 +11936,7 @@ var patterns_registry_default = {
11898
11936
  properties: {
11899
11937
  icon: {
11900
11938
  types: [
11939
+ "icon",
11901
11940
  "string"
11902
11941
  ]
11903
11942
  },
@@ -12905,7 +12944,8 @@ var patterns_registry_default = {
12905
12944
  },
12906
12945
  icon: {
12907
12946
  types: [
12908
- "icon"
12947
+ "icon",
12948
+ "string"
12909
12949
  ]
12910
12950
  },
12911
12951
  tags: {
@@ -13143,7 +13183,7 @@ var patterns_registry_default = {
13143
13183
  },
13144
13184
  src: {
13145
13185
  types: [
13146
- "string"
13186
+ "asset"
13147
13187
  ]
13148
13188
  },
13149
13189
  alt: {
@@ -13153,7 +13193,7 @@ var patterns_registry_default = {
13153
13193
  },
13154
13194
  thumbnail: {
13155
13195
  types: [
13156
- "string"
13196
+ "asset"
13157
13197
  ]
13158
13198
  },
13159
13199
  mediaType: {
@@ -13456,7 +13496,7 @@ var patterns_registry_default = {
13456
13496
  },
13457
13497
  src: {
13458
13498
  types: [
13459
- "string"
13499
+ "asset"
13460
13500
  ],
13461
13501
  description: "Document URL (for PDF/external documents)"
13462
13502
  },
@@ -13578,7 +13618,7 @@ var patterns_registry_default = {
13578
13618
  },
13579
13619
  src: {
13580
13620
  types: [
13581
- "string"
13621
+ "asset"
13582
13622
  ]
13583
13623
  },
13584
13624
  content: {
@@ -15994,6 +16034,7 @@ var patterns_registry_default = {
15994
16034
  },
15995
16035
  icon: {
15996
16036
  types: [
16037
+ "icon",
15997
16038
  "string"
15998
16039
  ]
15999
16040
  },
@@ -16061,6 +16102,7 @@ var patterns_registry_default = {
16061
16102
  },
16062
16103
  icon: {
16063
16104
  types: [
16105
+ "icon",
16064
16106
  "string"
16065
16107
  ]
16066
16108
  },
@@ -16130,6 +16172,7 @@ var patterns_registry_default = {
16130
16172
  },
16131
16173
  icon: {
16132
16174
  types: [
16175
+ "icon",
16133
16176
  "string"
16134
16177
  ]
16135
16178
  },
@@ -16436,6 +16479,7 @@ var patterns_registry_default = {
16436
16479
  },
16437
16480
  icon: {
16438
16481
  types: [
16482
+ "icon",
16439
16483
  "string"
16440
16484
  ]
16441
16485
  },
@@ -16493,6 +16537,7 @@ var patterns_registry_default = {
16493
16537
  },
16494
16538
  icon: {
16495
16539
  types: [
16540
+ "icon",
16496
16541
  "string"
16497
16542
  ]
16498
16543
  },
@@ -16552,6 +16597,7 @@ var patterns_registry_default = {
16552
16597
  },
16553
16598
  icon: {
16554
16599
  types: [
16600
+ "icon",
16555
16601
  "string"
16556
16602
  ]
16557
16603
  },
@@ -16705,6 +16751,7 @@ var patterns_registry_default = {
16705
16751
  },
16706
16752
  icon: {
16707
16753
  types: [
16754
+ "icon",
16708
16755
  "string"
16709
16756
  ]
16710
16757
  },
@@ -16749,6 +16796,7 @@ var patterns_registry_default = {
16749
16796
  },
16750
16797
  icon: {
16751
16798
  types: [
16799
+ "icon",
16752
16800
  "string"
16753
16801
  ]
16754
16802
  },
@@ -17442,7 +17490,7 @@ var patterns_registry_default = {
17442
17490
  properties: {
17443
17491
  src: {
17444
17492
  types: [
17445
- "string"
17493
+ "asset"
17446
17494
  ]
17447
17495
  },
17448
17496
  alt: {
@@ -17759,9 +17807,10 @@ var patterns_registry_default = {
17759
17807
  },
17760
17808
  icon: {
17761
17809
  types: [
17810
+ "icon",
17762
17811
  "string"
17763
17812
  ],
17764
- description: "Icon name (Lucide string)"
17813
+ description: "Icon name or component"
17765
17814
  },
17766
17815
  disabled: {
17767
17816
  types: [
@@ -18286,6 +18335,7 @@ var patterns_registry_default = {
18286
18335
  },
18287
18336
  icon: {
18288
18337
  types: [
18338
+ "icon",
18289
18339
  "string"
18290
18340
  ]
18291
18341
  },
@@ -18338,6 +18388,7 @@ var patterns_registry_default = {
18338
18388
  },
18339
18389
  icon: {
18340
18390
  types: [
18391
+ "icon",
18341
18392
  "string"
18342
18393
  ]
18343
18394
  },
@@ -18499,9 +18550,10 @@ var patterns_registry_default = {
18499
18550
  },
18500
18551
  icon: {
18501
18552
  types: [
18502
- "node"
18553
+ "icon",
18554
+ "string"
18503
18555
  ],
18504
- description: "Lucide icon name or React node"
18556
+ description: "Lucide icon name or component"
18505
18557
  },
18506
18558
  iconBg: {
18507
18559
  types: [
@@ -18956,10 +19008,10 @@ var patterns_registry_default = {
18956
19008
  propsSchema: {
18957
19009
  icon: {
18958
19010
  types: [
18959
- "string",
18960
- "node"
19011
+ "icon",
19012
+ "string"
18961
19013
  ],
18962
- description: "Icon name (Lucide string) or ReactNode"
19014
+ description: "icon prop"
18963
19015
  },
18964
19016
  title: {
18965
19017
  types: [
@@ -19047,8 +19099,8 @@ var patterns_registry_default = {
19047
19099
  properties: {
19048
19100
  icon: {
19049
19101
  types: [
19050
- "string",
19051
- "node"
19102
+ "icon",
19103
+ "string"
19052
19104
  ]
19053
19105
  },
19054
19106
  title: {
@@ -19246,7 +19298,7 @@ var patterns_registry_default = {
19246
19298
  properties: {
19247
19299
  src: {
19248
19300
  types: [
19249
- "string"
19301
+ "object"
19250
19302
  ]
19251
19303
  },
19252
19304
  alt: {
@@ -19629,7 +19681,7 @@ var patterns_registry_default = {
19629
19681
  properties: {
19630
19682
  src: {
19631
19683
  types: [
19632
- "string"
19684
+ "object"
19633
19685
  ]
19634
19686
  },
19635
19687
  alt: {
@@ -19781,7 +19833,7 @@ var patterns_registry_default = {
19781
19833
  properties: {
19782
19834
  src: {
19783
19835
  types: [
19784
- "string"
19836
+ "object"
19785
19837
  ]
19786
19838
  },
19787
19839
  alt: {
@@ -20000,7 +20052,7 @@ var patterns_registry_default = {
20000
20052
  },
20001
20053
  avatar: {
20002
20054
  types: [
20003
- "string",
20055
+ "asset",
20004
20056
  "object"
20005
20057
  ],
20006
20058
  description: "avatar prop",
@@ -21355,7 +21407,7 @@ var patterns_registry_default = {
21355
21407
  },
21356
21408
  src: {
21357
21409
  types: [
21358
- "string"
21410
+ "asset"
21359
21411
  ],
21360
21412
  description: "URL to an SVG file. Fetched and inlined to enable stroke/fill animations."
21361
21413
  },
@@ -22188,9 +22240,10 @@ var patterns_registry_default = {
22188
22240
  },
22189
22241
  icon: {
22190
22242
  types: [
22191
- "node"
22243
+ "icon",
22244
+ "string"
22192
22245
  ],
22193
- description: "Optional icon name (Lucide icon string) or React node"
22246
+ description: "Lucide icon component or canonical kebab-case icon name string"
22194
22247
  },
22195
22248
  onRemove: {
22196
22249
  types: [
@@ -23650,7 +23703,8 @@ var patterns_registry_default = {
23650
23703
  },
23651
23704
  icon: {
23652
23705
  types: [
23653
- "node"
23706
+ "icon",
23707
+ "string"
23654
23708
  ],
23655
23709
  description: "Icon displayed before the label"
23656
23710
  },
@@ -23843,7 +23897,8 @@ var patterns_registry_default = {
23843
23897
  },
23844
23898
  icon: {
23845
23899
  types: [
23846
- "node"
23900
+ "icon",
23901
+ "string"
23847
23902
  ],
23848
23903
  description: "Icon component or emoji"
23849
23904
  },
@@ -24120,7 +24175,8 @@ var patterns_registry_default = {
24120
24175
  propsSchema: {
24121
24176
  icon: {
24122
24177
  types: [
24123
- "node"
24178
+ "icon",
24179
+ "string"
24124
24180
  ],
24125
24181
  description: "Icon component or emoji"
24126
24182
  },
@@ -24361,7 +24417,8 @@ var patterns_registry_default = {
24361
24417
  propsSchema: {
24362
24418
  icon: {
24363
24419
  types: [
24364
- "node"
24420
+ "icon",
24421
+ "string"
24365
24422
  ],
24366
24423
  description: "Icon component or emoji"
24367
24424
  },
@@ -24447,7 +24504,8 @@ var patterns_registry_default = {
24447
24504
  },
24448
24505
  icon: {
24449
24506
  types: [
24450
- "node"
24507
+ "icon",
24508
+ "string"
24451
24509
  ],
24452
24510
  description: "Icon component or emoji"
24453
24511
  },
@@ -24669,6 +24727,7 @@ var patterns_registry_default = {
24669
24727
  properties: {
24670
24728
  icon: {
24671
24729
  types: [
24730
+ "icon",
24672
24731
  "string"
24673
24732
  ]
24674
24733
  },
@@ -24707,9 +24766,10 @@ var patterns_registry_default = {
24707
24766
  propsSchema: {
24708
24767
  icon: {
24709
24768
  types: [
24769
+ "icon",
24710
24770
  "string"
24711
24771
  ],
24712
- description: "Lucide kebab-case icon name",
24772
+ description: "Lucide icon name or component",
24713
24773
  required: true
24714
24774
  },
24715
24775
  label: {
@@ -24905,7 +24965,8 @@ var patterns_registry_default = {
24905
24965
  },
24906
24966
  icon: {
24907
24967
  types: [
24908
- "node"
24968
+ "icon",
24969
+ "string"
24909
24970
  ],
24910
24971
  description: "Custom icon to render inside the marker"
24911
24972
  },
@@ -27287,7 +27348,8 @@ var patterns_registry_default = {
27287
27348
  },
27288
27349
  icon: {
27289
27350
  types: [
27290
- "node"
27351
+ "icon",
27352
+ "string"
27291
27353
  ]
27292
27354
  },
27293
27355
  variant: {
@@ -27524,7 +27586,8 @@ var patterns_registry_default = {
27524
27586
  properties: {
27525
27587
  icon: {
27526
27588
  types: [
27527
- "node"
27589
+ "icon",
27590
+ "string"
27528
27591
  ]
27529
27592
  },
27530
27593
  label: {
@@ -27559,7 +27622,8 @@ var patterns_registry_default = {
27559
27622
  properties: {
27560
27623
  icon: {
27561
27624
  types: [
27562
- "node"
27625
+ "icon",
27626
+ "string"
27563
27627
  ]
27564
27628
  },
27565
27629
  label: {
@@ -27948,7 +28012,8 @@ var patterns_registry_default = {
27948
28012
  properties: {
27949
28013
  icon: {
27950
28014
  types: [
27951
- "node"
28015
+ "icon",
28016
+ "string"
27952
28017
  ]
27953
28018
  },
27954
28019
  label: {
@@ -28059,13 +28124,13 @@ var patterns_registry_default = {
28059
28124
  },
28060
28125
  backgroundImage: {
28061
28126
  types: [
28062
- "string"
28127
+ "asset"
28063
28128
  ],
28064
28129
  description: "Background image URL"
28065
28130
  },
28066
28131
  assetBaseUrl: {
28067
28132
  types: [
28068
- "string"
28133
+ "asset"
28069
28134
  ],
28070
28135
  description: "Base URL prefix for asset URLs",
28071
28136
  default: ""
@@ -28186,6 +28251,7 @@ var patterns_registry_default = {
28186
28251
  },
28187
28252
  icon: {
28188
28253
  types: [
28254
+ "icon",
28189
28255
  "string"
28190
28256
  ]
28191
28257
  },
@@ -28537,7 +28603,8 @@ var patterns_registry_default = {
28537
28603
  },
28538
28604
  icon: {
28539
28605
  types: [
28540
- "node"
28606
+ "icon",
28607
+ "string"
28541
28608
  ]
28542
28609
  }
28543
28610
  },
@@ -28769,7 +28836,8 @@ var patterns_registry_default = {
28769
28836
  properties: {
28770
28837
  icon: {
28771
28838
  types: [
28772
- "node"
28839
+ "icon",
28840
+ "string"
28773
28841
  ]
28774
28842
  },
28775
28843
  label: {
@@ -28851,7 +28919,8 @@ var patterns_registry_default = {
28851
28919
  },
28852
28920
  icon: {
28853
28921
  types: [
28854
- "node"
28922
+ "icon",
28923
+ "string"
28855
28924
  ]
28856
28925
  },
28857
28926
  label: {
@@ -29317,7 +29386,7 @@ var patterns_registry_default = {
29317
29386
  },
29318
29387
  terrainSprite: {
29319
29388
  types: [
29320
- "string"
29389
+ "asset"
29321
29390
  ]
29322
29391
  },
29323
29392
  passable: {
@@ -29400,7 +29469,7 @@ var patterns_registry_default = {
29400
29469
  },
29401
29470
  sprite: {
29402
29471
  types: [
29403
- "string"
29472
+ "asset"
29404
29473
  ]
29405
29474
  },
29406
29475
  unitType: {
@@ -29560,12 +29629,12 @@ var patterns_registry_default = {
29560
29629
  },
29561
29630
  sprite: {
29562
29631
  types: [
29563
- "string"
29632
+ "asset"
29564
29633
  ]
29565
29634
  },
29566
29635
  assetUrl: {
29567
29636
  types: [
29568
- "string"
29637
+ "asset"
29569
29638
  ]
29570
29639
  },
29571
29640
  color: {
@@ -29803,7 +29872,7 @@ var patterns_registry_default = {
29803
29872
  },
29804
29873
  backgroundImage: {
29805
29874
  types: [
29806
- "string"
29875
+ "asset"
29807
29876
  ],
29808
29877
  description: "Background image URL tiled behind the isometric grid"
29809
29878
  },
@@ -29932,7 +30001,7 @@ var patterns_registry_default = {
29932
30001
  },
29933
30002
  sprite: {
29934
30003
  types: [
29935
- "string"
30004
+ "asset"
29936
30005
  ]
29937
30006
  },
29938
30007
  unitType: {
@@ -30079,7 +30148,7 @@ var patterns_registry_default = {
30079
30148
  description: "Additional sprite URLs to preload (e.g., effect sprites)",
30080
30149
  items: {
30081
30150
  types: [
30082
- "string"
30151
+ "asset"
30083
30152
  ]
30084
30153
  },
30085
30154
  default: []
@@ -30115,7 +30184,7 @@ var patterns_registry_default = {
30115
30184
  },
30116
30185
  assetBaseUrl: {
30117
30186
  types: [
30118
- "string"
30187
+ "asset"
30119
30188
  ],
30120
30189
  description: "--- Remote asset loading ---"
30121
30190
  },
@@ -30328,7 +30397,7 @@ var patterns_registry_default = {
30328
30397
  },
30329
30398
  playerSprite: {
30330
30399
  types: [
30331
- "string"
30400
+ "asset"
30332
30401
  ],
30333
30402
  description: "Player sprite image URL"
30334
30403
  },
@@ -30339,19 +30408,19 @@ var patterns_registry_default = {
30339
30408
  description: "Map of platform type to tile sprite URL",
30340
30409
  mapValue: {
30341
30410
  types: [
30342
- "string"
30411
+ "asset"
30343
30412
  ]
30344
30413
  }
30345
30414
  },
30346
30415
  backgroundImage: {
30347
30416
  types: [
30348
- "string"
30417
+ "asset"
30349
30418
  ],
30350
30419
  description: "Background image URL"
30351
30420
  },
30352
30421
  assetBaseUrl: {
30353
30422
  types: [
30354
- "string"
30423
+ "asset"
30355
30424
  ],
30356
30425
  description: "Base URL prefix for asset URLs",
30357
30426
  default: ""
@@ -30443,7 +30512,8 @@ var patterns_registry_default = {
30443
30512
  },
30444
30513
  icon: {
30445
30514
  types: [
30446
- "node"
30515
+ "icon",
30516
+ "string"
30447
30517
  ]
30448
30518
  },
30449
30519
  label: {
@@ -30581,7 +30651,8 @@ var patterns_registry_default = {
30581
30651
  properties: {
30582
30652
  icon: {
30583
30653
  types: [
30584
- "node"
30654
+ "icon",
30655
+ "string"
30585
30656
  ]
30586
30657
  },
30587
30658
  label: {
@@ -30738,7 +30809,8 @@ var patterns_registry_default = {
30738
30809
  },
30739
30810
  icon: {
30740
30811
  types: [
30741
- "node"
30812
+ "icon",
30813
+ "string"
30742
30814
  ],
30743
30815
  description: "Icon component or emoji"
30744
30816
  },
@@ -30831,7 +30903,8 @@ var patterns_registry_default = {
30831
30903
  },
30832
30904
  icon: {
30833
30905
  types: [
30834
- "node"
30906
+ "icon",
30907
+ "string"
30835
30908
  ]
30836
30909
  },
30837
30910
  event: {
@@ -30890,7 +30963,8 @@ var patterns_registry_default = {
30890
30963
  },
30891
30964
  icon: {
30892
30965
  types: [
30893
- "node"
30966
+ "icon",
30967
+ "string"
30894
30968
  ]
30895
30969
  },
30896
30970
  event: {
@@ -31017,7 +31091,7 @@ var patterns_registry_default = {
31017
31091
  },
31018
31092
  coverImageUrl: {
31019
31093
  types: [
31020
- "string"
31094
+ "asset"
31021
31095
  ],
31022
31096
  description: "coverImageUrl prop"
31023
31097
  },
@@ -32257,7 +32331,7 @@ var patterns_registry_default = {
32257
32331
  description: "effectSpriteUrls prop",
32258
32332
  items: {
32259
32333
  types: [
32260
- "string"
32334
+ "asset"
32261
32335
  ]
32262
32336
  },
32263
32337
  default: []
@@ -32496,13 +32570,13 @@ var patterns_registry_default = {
32496
32570
  },
32497
32571
  effectSpriteUrl: {
32498
32572
  types: [
32499
- "string"
32573
+ "asset"
32500
32574
  ],
32501
32575
  description: "--- Remote asset loading ---"
32502
32576
  },
32503
32577
  assetBaseUrl: {
32504
32578
  types: [
32505
- "string"
32579
+ "asset"
32506
32580
  ],
32507
32581
  description: "Base URL for remote assets. Prepended to relative effectSpriteUrl paths."
32508
32582
  },
@@ -32514,7 +32588,7 @@ var patterns_registry_default = {
32514
32588
  properties: {
32515
32589
  baseUrl: {
32516
32590
  types: [
32517
- "string"
32591
+ "asset"
32518
32592
  ]
32519
32593
  },
32520
32594
  particles: {
@@ -32874,12 +32948,12 @@ var patterns_registry_default = {
32874
32948
  },
32875
32949
  sprite: {
32876
32950
  types: [
32877
- "string"
32951
+ "asset"
32878
32952
  ]
32879
32953
  },
32880
32954
  assetUrl: {
32881
32955
  types: [
32882
- "string"
32956
+ "asset"
32883
32957
  ]
32884
32958
  },
32885
32959
  color: {
@@ -32947,7 +33021,7 @@ var patterns_registry_default = {
32947
33021
  },
32948
33022
  sprite: {
32949
33023
  types: [
32950
- "string"
33024
+ "asset"
32951
33025
  ]
32952
33026
  },
32953
33027
  unitType: {
@@ -33101,12 +33175,12 @@ var patterns_registry_default = {
33101
33175
  },
33102
33176
  sprite: {
33103
33177
  types: [
33104
- "string"
33178
+ "asset"
33105
33179
  ]
33106
33180
  },
33107
33181
  assetUrl: {
33108
33182
  types: [
33109
- "string"
33183
+ "asset"
33110
33184
  ]
33111
33185
  },
33112
33186
  color: {
@@ -33224,12 +33298,12 @@ var patterns_registry_default = {
33224
33298
  },
33225
33299
  sprite: {
33226
33300
  types: [
33227
- "string"
33301
+ "asset"
33228
33302
  ]
33229
33303
  },
33230
33304
  assetUrl: {
33231
33305
  types: [
33232
- "string"
33306
+ "asset"
33233
33307
  ]
33234
33308
  },
33235
33309
  color: {
@@ -33297,7 +33371,7 @@ var patterns_registry_default = {
33297
33371
  },
33298
33372
  sprite: {
33299
33373
  types: [
33300
- "string"
33374
+ "asset"
33301
33375
  ]
33302
33376
  },
33303
33377
  unitType: {
@@ -33451,12 +33525,12 @@ var patterns_registry_default = {
33451
33525
  },
33452
33526
  sprite: {
33453
33527
  types: [
33454
- "string"
33528
+ "asset"
33455
33529
  ]
33456
33530
  },
33457
33531
  assetUrl: {
33458
33532
  types: [
33459
- "string"
33533
+ "asset"
33460
33534
  ]
33461
33535
  },
33462
33536
  color: {
@@ -33574,12 +33648,12 @@ var patterns_registry_default = {
33574
33648
  },
33575
33649
  sprite: {
33576
33650
  types: [
33577
- "string"
33651
+ "asset"
33578
33652
  ]
33579
33653
  },
33580
33654
  assetUrl: {
33581
33655
  types: [
33582
- "string"
33656
+ "asset"
33583
33657
  ]
33584
33658
  },
33585
33659
  color: {
@@ -33647,7 +33721,7 @@ var patterns_registry_default = {
33647
33721
  },
33648
33722
  sprite: {
33649
33723
  types: [
33650
- "string"
33724
+ "asset"
33651
33725
  ]
33652
33726
  },
33653
33727
  unitType: {
@@ -33801,12 +33875,12 @@ var patterns_registry_default = {
33801
33875
  },
33802
33876
  sprite: {
33803
33877
  types: [
33804
- "string"
33878
+ "asset"
33805
33879
  ]
33806
33880
  },
33807
33881
  assetUrl: {
33808
33882
  types: [
33809
- "string"
33883
+ "asset"
33810
33884
  ]
33811
33885
  },
33812
33886
  color: {
@@ -33924,12 +33998,12 @@ var patterns_registry_default = {
33924
33998
  },
33925
33999
  sprite: {
33926
34000
  types: [
33927
- "string"
34001
+ "asset"
33928
34002
  ]
33929
34003
  },
33930
34004
  assetUrl: {
33931
34005
  types: [
33932
- "string"
34006
+ "asset"
33933
34007
  ]
33934
34008
  },
33935
34009
  color: {
@@ -33997,7 +34071,7 @@ var patterns_registry_default = {
33997
34071
  },
33998
34072
  sprite: {
33999
34073
  types: [
34000
- "string"
34074
+ "asset"
34001
34075
  ]
34002
34076
  },
34003
34077
  unitType: {
@@ -34151,12 +34225,12 @@ var patterns_registry_default = {
34151
34225
  },
34152
34226
  sprite: {
34153
34227
  types: [
34154
- "string"
34228
+ "asset"
34155
34229
  ]
34156
34230
  },
34157
34231
  assetUrl: {
34158
34232
  types: [
34159
- "string"
34233
+ "asset"
34160
34234
  ]
34161
34235
  },
34162
34236
  color: {
@@ -34248,12 +34322,12 @@ var patterns_registry_default = {
34248
34322
  },
34249
34323
  sprite: {
34250
34324
  types: [
34251
- "string"
34325
+ "asset"
34252
34326
  ]
34253
34327
  },
34254
34328
  assetUrl: {
34255
34329
  types: [
34256
- "string"
34330
+ "asset"
34257
34331
  ]
34258
34332
  },
34259
34333
  color: {
@@ -34334,7 +34408,7 @@ var patterns_registry_default = {
34334
34408
  },
34335
34409
  sprite: {
34336
34410
  types: [
34337
- "string"
34411
+ "asset"
34338
34412
  ]
34339
34413
  },
34340
34414
  unitType: {
@@ -34820,7 +34894,7 @@ var patterns_registry_default = {
34820
34894
  },
34821
34895
  iconUrl: {
34822
34896
  types: [
34823
- "string"
34897
+ "asset"
34824
34898
  ]
34825
34899
  },
34826
34900
  stateMachine: {
@@ -34973,7 +35047,7 @@ var patterns_registry_default = {
34973
35047
  },
34974
35048
  tooltipFrameUrl: {
34975
35049
  types: [
34976
- "string"
35050
+ "asset"
34977
35051
  ],
34978
35052
  description: "Optional tooltip frame image URL"
34979
35053
  },
@@ -35068,7 +35142,7 @@ var patterns_registry_default = {
35068
35142
  },
35069
35143
  iconUrl: {
35070
35144
  types: [
35071
- "string"
35145
+ "asset"
35072
35146
  ]
35073
35147
  },
35074
35148
  stateMachine: {
@@ -35205,7 +35279,7 @@ var patterns_registry_default = {
35205
35279
  },
35206
35280
  iconUrl: {
35207
35281
  types: [
35208
- "string"
35282
+ "asset"
35209
35283
  ]
35210
35284
  },
35211
35285
  stateMachine: {
@@ -35496,6 +35570,7 @@ var patterns_registry_default = {
35496
35570
  properties: {
35497
35571
  icon: {
35498
35572
  types: [
35573
+ "icon",
35499
35574
  "string"
35500
35575
  ]
35501
35576
  },
@@ -36357,7 +36432,7 @@ var patterns_registry_default = {
36357
36432
  description: "effectSpriteUrls prop",
36358
36433
  items: {
36359
36434
  types: [
36360
- "string"
36435
+ "asset"
36361
36436
  ]
36362
36437
  },
36363
36438
  default: []
@@ -37976,7 +38051,7 @@ var patterns_registry_default = {
37976
38051
  },
37977
38052
  iconUrl: {
37978
38053
  types: [
37979
- "string"
38054
+ "object"
37980
38055
  ]
37981
38056
  },
37982
38057
  stateMachine: {
@@ -38282,7 +38357,7 @@ var patterns_registry_default = {
38282
38357
  },
38283
38358
  iconUrl: {
38284
38359
  types: [
38285
- "string"
38360
+ "object"
38286
38361
  ]
38287
38362
  },
38288
38363
  stateMachine: {
@@ -38466,7 +38541,7 @@ var patterns_registry_default = {
38466
38541
  },
38467
38542
  iconUrl: {
38468
38543
  types: [
38469
- "string"
38544
+ "object"
38470
38545
  ]
38471
38546
  },
38472
38547
  stateMachine: {
@@ -38606,7 +38681,7 @@ var patterns_registry_default = {
38606
38681
  },
38607
38682
  iconUrl: {
38608
38683
  types: [
38609
- "string"
38684
+ "object"
38610
38685
  ]
38611
38686
  },
38612
38687
  stateMachine: {
@@ -39545,12 +39620,12 @@ var patterns_registry_default = {
39545
39620
  },
39546
39621
  sprite: {
39547
39622
  types: [
39548
- "string"
39623
+ "object"
39549
39624
  ]
39550
39625
  },
39551
39626
  assetUrl: {
39552
39627
  types: [
39553
- "string"
39628
+ "object"
39554
39629
  ]
39555
39630
  },
39556
39631
  color: {
@@ -39634,12 +39709,12 @@ var patterns_registry_default = {
39634
39709
  },
39635
39710
  sprite: {
39636
39711
  types: [
39637
- "string"
39712
+ "object"
39638
39713
  ]
39639
39714
  },
39640
39715
  assetUrl: {
39641
39716
  types: [
39642
- "string"
39717
+ "object"
39643
39718
  ]
39644
39719
  },
39645
39720
  color: {
@@ -39704,12 +39779,12 @@ var patterns_registry_default = {
39704
39779
  },
39705
39780
  sprite: {
39706
39781
  types: [
39707
- "string"
39782
+ "object"
39708
39783
  ]
39709
39784
  },
39710
39785
  assetUrl: {
39711
39786
  types: [
39712
- "string"
39787
+ "object"
39713
39788
  ]
39714
39789
  },
39715
39790
  color: {
@@ -40632,7 +40707,7 @@ var patterns_registry_default = {
40632
40707
  properties: {
40633
40708
  src: {
40634
40709
  types: [
40635
- "string"
40710
+ "asset"
40636
40711
  ]
40637
40712
  },
40638
40713
  alt: {
@@ -40805,6 +40880,7 @@ var patterns_registry_default = {
40805
40880
  },
40806
40881
  icon: {
40807
40882
  types: [
40883
+ "icon",
40808
40884
  "string"
40809
40885
  ]
40810
40886
  },
@@ -40894,6 +40970,7 @@ var patterns_registry_default = {
40894
40970
  },
40895
40971
  icon: {
40896
40972
  types: [
40973
+ "icon",
40897
40974
  "string"
40898
40975
  ]
40899
40976
  },
@@ -40932,6 +41009,7 @@ var patterns_registry_default = {
40932
41009
  },
40933
41010
  icon: {
40934
41011
  types: [
41012
+ "icon",
40935
41013
  "string"
40936
41014
  ]
40937
41015
  },
@@ -41164,6 +41242,7 @@ var patterns_registry_default = {
41164
41242
  },
41165
41243
  icon: {
41166
41244
  types: [
41245
+ "icon",
41167
41246
  "string"
41168
41247
  ]
41169
41248
  }
@@ -41246,49 +41325,6 @@ var patterns_registry_default = {
41246
41325
  description: "Additional class names"
41247
41326
  }
41248
41327
  }
41249
- },
41250
- "state-json-view": {
41251
- type: "state-json-view",
41252
- category: "game",
41253
- tier: "organisms",
41254
- family: "game",
41255
- description: "StateJsonView component",
41256
- suggestedFor: [
41257
- "state",
41258
- "json",
41259
- "view",
41260
- "state json view"
41261
- ],
41262
- typicalSize: "large",
41263
- propsSchema: {
41264
- data: {
41265
- types: [
41266
- "object"
41267
- ],
41268
- description: "JSON data to display",
41269
- required: true,
41270
- freeform: true
41271
- },
41272
- label: {
41273
- types: [
41274
- "string"
41275
- ],
41276
- description: "Label"
41277
- },
41278
- defaultExpanded: {
41279
- types: [
41280
- "boolean"
41281
- ],
41282
- description: "Whether the code is expanded by default",
41283
- default: false
41284
- },
41285
- className: {
41286
- types: [
41287
- "string"
41288
- ],
41289
- description: "Additional CSS classes"
41290
- }
41291
- }
41292
41328
  }
41293
41329
  },
41294
41330
  categories: [
@@ -41916,7 +41952,7 @@ var integrators_registry_default = {
41916
41952
  // src/component-mapping.json
41917
41953
  var component_mapping_default = {
41918
41954
  version: "1.0.0",
41919
- exportedAt: "2026-06-16T13:40:20.131Z",
41955
+ exportedAt: "2026-06-16T19:32:31.111Z",
41920
41956
  mappings: {
41921
41957
  "page-header": {
41922
41958
  component: "PageHeader",
@@ -43414,11 +43450,6 @@ var component_mapping_default = {
43414
43450
  component: "StatCard",
43415
43451
  importPath: "@/components/atoms/StatCard",
43416
43452
  category: "display"
43417
- },
43418
- "state-json-view": {
43419
- component: "StateJsonView",
43420
- importPath: "@/components/organisms/StateJsonView",
43421
- category: "game"
43422
43453
  }
43423
43454
  }
43424
43455
  };
@@ -43426,7 +43457,7 @@ var component_mapping_default = {
43426
43457
  // src/event-contracts.json
43427
43458
  var event_contracts_default = {
43428
43459
  version: "1.0.0",
43429
- exportedAt: "2026-06-16T13:40:20.131Z",
43460
+ exportedAt: "2026-06-16T19:32:31.111Z",
43430
43461
  contracts: {
43431
43462
  form: {
43432
43463
  emits: [