@almadar/patterns 2.0.1 → 2.0.3

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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  var version$3 = "1.0.0";
2
- var exportedAt$3 = "2026-03-03T11:14:06.592Z";
2
+ var exportedAt$3 = "2026-03-05T06:51:24.222Z";
3
3
  var patterns = {
4
4
  "entity-table": {
5
5
  type: "entity-table",
@@ -475,6 +475,18 @@ var patterns = {
475
475
  "boolean"
476
476
  ],
477
477
  description: "Show total count in pagination"
478
+ },
479
+ showAvatar: {
480
+ types: [
481
+ "boolean"
482
+ ],
483
+ description: "Show avatar/image field on cards"
484
+ },
485
+ variant: {
486
+ types: [
487
+ "string"
488
+ ],
489
+ description: "Visual variant for the card grid"
478
490
  }
479
491
  }
480
492
  },
@@ -2152,6 +2164,12 @@ var patterns = {
2152
2164
  "unknown"
2153
2165
  ],
2154
2166
  description: "Metrics to display (schema format) - accepts readonly for compatibility with generated const arrays"
2167
+ },
2168
+ compact: {
2169
+ types: [
2170
+ "boolean"
2171
+ ],
2172
+ description: "Compact display mode"
2155
2173
  }
2156
2174
  }
2157
2175
  },
@@ -2166,6 +2184,84 @@ var patterns = {
2166
2184
  ],
2167
2185
  typicalSize: "large",
2168
2186
  propsSchema: {
2187
+ entity: {
2188
+ types: [
2189
+ "string"
2190
+ ],
2191
+ description: "Entity name for schema-driven integration"
2192
+ },
2193
+ data: {
2194
+ types: [
2195
+ "array"
2196
+ ],
2197
+ description: "Data array provided by the trait via render-ui"
2198
+ },
2199
+ className: {
2200
+ types: [
2201
+ "string"
2202
+ ],
2203
+ description: "Additional CSS classes"
2204
+ },
2205
+ isLoading: {
2206
+ types: [
2207
+ "boolean"
2208
+ ],
2209
+ description: "Loading state indicator"
2210
+ },
2211
+ error: {
2212
+ types: [
2213
+ "object"
2214
+ ],
2215
+ description: "Error state"
2216
+ },
2217
+ sortBy: {
2218
+ types: [
2219
+ "string"
2220
+ ],
2221
+ description: "Current sort field"
2222
+ },
2223
+ sortDirection: {
2224
+ types: [
2225
+ "string"
2226
+ ],
2227
+ description: "Current sort direction"
2228
+ },
2229
+ searchValue: {
2230
+ types: [
2231
+ "string"
2232
+ ],
2233
+ description: "Current search query value"
2234
+ },
2235
+ page: {
2236
+ types: [
2237
+ "number"
2238
+ ],
2239
+ description: "Current page number"
2240
+ },
2241
+ pageSize: {
2242
+ types: [
2243
+ "number"
2244
+ ],
2245
+ description: "Number of items per page"
2246
+ },
2247
+ totalCount: {
2248
+ types: [
2249
+ "number"
2250
+ ],
2251
+ description: "Total number of items"
2252
+ },
2253
+ activeFilters: {
2254
+ types: [
2255
+ "object"
2256
+ ],
2257
+ description: "Active filters"
2258
+ },
2259
+ selectedIds: {
2260
+ types: [
2261
+ "array"
2262
+ ],
2263
+ description: "Currently selected item IDs"
2264
+ },
2169
2265
  columns: {
2170
2266
  types: [
2171
2267
  "number"
@@ -2184,12 +2280,6 @@ var patterns = {
2184
2280
  ],
2185
2281
  description: "Cell definitions",
2186
2282
  required: true
2187
- },
2188
- className: {
2189
- types: [
2190
- "string"
2191
- ],
2192
- description: "Additional CSS classes"
2193
2283
  }
2194
2284
  }
2195
2285
  },
@@ -3389,6 +3479,12 @@ var patterns = {
3389
3479
  "badgesize"
3390
3480
  ],
3391
3481
  description: "size prop"
3482
+ },
3483
+ amount: {
3484
+ types: [
3485
+ "number"
3486
+ ],
3487
+ description: "Numeric count or amount to display in badge"
3392
3488
  }
3393
3489
  }
3394
3490
  },
@@ -3597,6 +3693,30 @@ var patterns = {
3597
3693
  "string"
3598
3694
  ],
3599
3695
  description: "Declarative event name — emits UI:{action} via eventBus on card click"
3696
+ },
3697
+ isSelected: {
3698
+ types: [
3699
+ "boolean"
3700
+ ],
3701
+ description: "Whether the card is selected (highlighted state)"
3702
+ },
3703
+ name: {
3704
+ types: [
3705
+ "string"
3706
+ ],
3707
+ description: "Card name (alias for title)"
3708
+ },
3709
+ level: {
3710
+ types: [
3711
+ "number"
3712
+ ],
3713
+ description: "Level indicator"
3714
+ },
3715
+ maxLevel: {
3716
+ types: [
3717
+ "number"
3718
+ ],
3719
+ description: "Maximum level"
3600
3720
  }
3601
3721
  }
3602
3722
  },
@@ -7473,6 +7593,12 @@ var patterns = {
7473
7593
  "function"
7474
7594
  ],
7475
7595
  description: "Callback when user clicks sign out (optional - uses auth context signOut if not provided)"
7596
+ },
7597
+ children: {
7598
+ types: [
7599
+ "node"
7600
+ ],
7601
+ description: "Page content rendered inside the main area"
7476
7602
  }
7477
7603
  }
7478
7604
  },
@@ -7618,6 +7744,12 @@ var patterns = {
7618
7744
  "boolean"
7619
7745
  ],
7620
7746
  description: "Whether to show the minimal top bar (default: true)"
7747
+ },
7748
+ children: {
7749
+ types: [
7750
+ "node"
7751
+ ],
7752
+ description: "Game content rendered inside the full-screen area"
7621
7753
  }
7622
7754
  }
7623
7755
  },
@@ -8627,11 +8759,23 @@ var patterns = {
8627
8759
  ],
8628
8760
  typicalSize: "large",
8629
8761
  propsSchema: {
8762
+ entity: {
8763
+ types: [
8764
+ "string"
8765
+ ],
8766
+ description: "Entity name for schema-driven integration"
8767
+ },
8768
+ data: {
8769
+ types: [
8770
+ "array"
8771
+ ],
8772
+ description: "Data array provided by the trait via render-ui"
8773
+ },
8630
8774
  className: {
8631
8775
  types: [
8632
8776
  "string"
8633
8777
  ],
8634
- description: "--- Closed-circuit props (MANDATORY) ---"
8778
+ description: "Additional CSS classes"
8635
8779
  },
8636
8780
  isLoading: {
8637
8781
  types: [
@@ -8641,21 +8785,63 @@ var patterns = {
8641
8785
  },
8642
8786
  error: {
8643
8787
  types: [
8644
- "error"
8788
+ "object"
8645
8789
  ],
8646
8790
  description: "Error state"
8647
8791
  },
8648
- entity: {
8792
+ sortBy: {
8649
8793
  types: [
8650
8794
  "string"
8651
8795
  ],
8652
- description: "Entity name for schema-driven auto-fetch"
8796
+ description: "Current sort field"
8797
+ },
8798
+ sortDirection: {
8799
+ types: [
8800
+ "string"
8801
+ ],
8802
+ description: "Current sort direction"
8803
+ },
8804
+ searchValue: {
8805
+ types: [
8806
+ "string"
8807
+ ],
8808
+ description: "Current search query value"
8809
+ },
8810
+ page: {
8811
+ types: [
8812
+ "number"
8813
+ ],
8814
+ description: "Current page number"
8815
+ },
8816
+ pageSize: {
8817
+ types: [
8818
+ "number"
8819
+ ],
8820
+ description: "Number of items per page"
8821
+ },
8822
+ totalCount: {
8823
+ types: [
8824
+ "number"
8825
+ ],
8826
+ description: "Total number of items"
8827
+ },
8828
+ activeFilters: {
8829
+ types: [
8830
+ "object"
8831
+ ],
8832
+ description: "Active filters"
8833
+ },
8834
+ selectedIds: {
8835
+ types: [
8836
+ "array"
8837
+ ],
8838
+ description: "Currently selected item IDs"
8653
8839
  },
8654
8840
  tiles: {
8655
8841
  types: [
8656
8842
  "array"
8657
8843
  ],
8658
- description: "--- Grid data ---"
8844
+ description: "EntityDisplayProps provides: className, isLoading, error, entity,"
8659
8845
  },
8660
8846
  units: {
8661
8847
  types: [
@@ -8697,25 +8883,25 @@ var patterns = {
8697
8883
  types: [
8698
8884
  "function"
8699
8885
  ],
8700
- description: "--- Event handlers ---"
8886
+ description: "--- Event handlers (legacy callbacks — prefer declarative event string props below) ---"
8701
8887
  },
8702
8888
  onUnitClick: {
8703
8889
  types: [
8704
8890
  "function"
8705
8891
  ],
8706
- description: "Unit click handler"
8892
+ description: "eslint-disable-next-line almadar/organism-no-callback-props"
8707
8893
  },
8708
8894
  onTileHover: {
8709
8895
  types: [
8710
8896
  "function"
8711
8897
  ],
8712
- description: "Tile hover handler"
8898
+ description: "eslint-disable-next-line almadar/organism-no-callback-props"
8713
8899
  },
8714
8900
  onTileLeave: {
8715
8901
  types: [
8716
8902
  "function"
8717
8903
  ],
8718
- description: "Tile leave handler"
8904
+ description: "eslint-disable-next-line almadar/organism-no-callback-props"
8719
8905
  },
8720
8906
  tileClickEvent: {
8721
8907
  types: [
@@ -8777,6 +8963,18 @@ var patterns = {
8777
8963
  ],
8778
8964
  description: "Extra scale multiplier for unit draw size. 1 = default."
8779
8965
  },
8966
+ boardWidth: {
8967
+ types: [
8968
+ "number"
8969
+ ],
8970
+ description: "Board width in tiles (overrides tile-derived size)"
8971
+ },
8972
+ boardHeight: {
8973
+ types: [
8974
+ "number"
8975
+ ],
8976
+ description: "Board height in tiles (overrides tile-derived size)"
8977
+ },
8780
8978
  diamondTopY: {
8781
8979
  types: [
8782
8980
  "number"
@@ -8817,7 +9015,7 @@ var patterns = {
8817
9015
  types: [
8818
9016
  "function"
8819
9017
  ],
8820
- description: "Callback to draw canvas effects after units"
9018
+ description: "Callback to draw canvas effects after units (canvas-specific: cannot be declarative)"
8821
9019
  },
8822
9020
  hasActiveEffects: {
8823
9021
  types: [
@@ -9456,10 +9654,81 @@ var patterns = {
9456
9654
  propsSchema: {
9457
9655
  entity: {
9458
9656
  types: [
9459
- "worldmapentity"
9657
+ "string"
9460
9658
  ],
9461
- description: "World map entity data",
9462
- required: true
9659
+ description: "Entity name for schema-driven integration"
9660
+ },
9661
+ data: {
9662
+ types: [
9663
+ "array"
9664
+ ],
9665
+ description: "Data array provided by the trait via render-ui"
9666
+ },
9667
+ className: {
9668
+ types: [
9669
+ "string"
9670
+ ],
9671
+ description: "className prop"
9672
+ },
9673
+ isLoading: {
9674
+ types: [
9675
+ "boolean"
9676
+ ],
9677
+ description: "Loading state indicator"
9678
+ },
9679
+ error: {
9680
+ types: [
9681
+ "object"
9682
+ ],
9683
+ description: "Error state"
9684
+ },
9685
+ sortBy: {
9686
+ types: [
9687
+ "string"
9688
+ ],
9689
+ description: "Current sort field"
9690
+ },
9691
+ sortDirection: {
9692
+ types: [
9693
+ "string"
9694
+ ],
9695
+ description: "Current sort direction"
9696
+ },
9697
+ searchValue: {
9698
+ types: [
9699
+ "string"
9700
+ ],
9701
+ description: "Current search query value"
9702
+ },
9703
+ page: {
9704
+ types: [
9705
+ "number"
9706
+ ],
9707
+ description: "Current page number"
9708
+ },
9709
+ pageSize: {
9710
+ types: [
9711
+ "number"
9712
+ ],
9713
+ description: "Number of items per page"
9714
+ },
9715
+ totalCount: {
9716
+ types: [
9717
+ "number"
9718
+ ],
9719
+ description: "Total number of items"
9720
+ },
9721
+ activeFilters: {
9722
+ types: [
9723
+ "object"
9724
+ ],
9725
+ description: "Active filters"
9726
+ },
9727
+ selectedIds: {
9728
+ types: [
9729
+ "array"
9730
+ ],
9731
+ description: "Currently selected item IDs"
9463
9732
  },
9464
9733
  scale: {
9465
9734
  types: [
@@ -9586,12 +9855,6 @@ var patterns = {
9586
9855
  "function"
9587
9856
  ],
9588
9857
  description: "resolveUnitFrame prop"
9589
- },
9590
- className: {
9591
- types: [
9592
- "string"
9593
- ],
9594
- description: "className prop"
9595
9858
  }
9596
9859
  }
9597
9860
  },
@@ -14076,7 +14339,7 @@ var integratorsRegistry = {
14076
14339
  };
14077
14340
 
14078
14341
  var version$1 = "1.0.0";
14079
- var exportedAt$1 = "2026-03-03T11:14:06.592Z";
14342
+ var exportedAt$1 = "2026-03-05T06:51:24.222Z";
14080
14343
  var mappings = {
14081
14344
  "page-header": {
14082
14345
  component: "PageHeader",
@@ -15034,7 +15297,7 @@ var componentMapping = {
15034
15297
  };
15035
15298
 
15036
15299
  var version = "1.0.0";
15037
- var exportedAt = "2026-03-03T11:14:06.592Z";
15300
+ var exportedAt = "2026-03-05T06:51:24.222Z";
15038
15301
  var contracts = {
15039
15302
  form: {
15040
15303
  emits: [
@@ -15198,13 +15461,6 @@ var contracts = {
15198
15461
  type: "object"
15199
15462
  }
15200
15463
  },
15201
- {
15202
- event: "VIEW",
15203
- trigger: "action",
15204
- payload: {
15205
- type: "object"
15206
- }
15207
- },
15208
15464
  {
15209
15465
  event: "NAVIGATE",
15210
15466
  trigger: "action",
@@ -15240,13 +15496,6 @@ var contracts = {
15240
15496
  payload: {
15241
15497
  type: "object"
15242
15498
  }
15243
- },
15244
- {
15245
- event: "VIEW",
15246
- trigger: "action",
15247
- payload: {
15248
- type: "object"
15249
- }
15250
15499
  }
15251
15500
  ],
15252
15501
  requires: [
@@ -15595,7 +15844,7 @@ var contracts = {
15595
15844
  ],
15596
15845
  requires: [
15597
15846
  ],
15598
- entityAware: false
15847
+ entityAware: true
15599
15848
  },
15600
15849
  stats: {
15601
15850
  emits: [
@@ -15690,19 +15939,25 @@ var contracts = {
15690
15939
  "dialogue-box": {
15691
15940
  emits: [
15692
15941
  {
15693
- event: "ADVANCE",
15694
- trigger: "click",
15942
+ event: "COMPLETE",
15943
+ trigger: "action",
15695
15944
  payload: {
15696
- type: "void"
15945
+ type: "object"
15697
15946
  }
15698
15947
  },
15699
15948
  {
15700
- event: "CHOOSE",
15701
- trigger: "click",
15949
+ event: "CHOICE",
15950
+ trigger: "action",
15702
15951
  payload: {
15703
- type: "EntityRow"
15704
- },
15705
- optional: true
15952
+ type: "object"
15953
+ }
15954
+ },
15955
+ {
15956
+ event: "ADVANCE",
15957
+ trigger: "action",
15958
+ payload: {
15959
+ type: "object"
15960
+ }
15706
15961
  }
15707
15962
  ],
15708
15963
  requires: [
@@ -16163,6 +16418,132 @@ var contracts = {
16163
16418
  requires: [
16164
16419
  ],
16165
16420
  entityAware: true
16421
+ },
16422
+ "action-buttons": {
16423
+ emits: [
16424
+ {
16425
+ event: "ACTION",
16426
+ trigger: "action",
16427
+ payload: {
16428
+ type: "object"
16429
+ }
16430
+ }
16431
+ ],
16432
+ requires: [
16433
+ ],
16434
+ entityAware: false
16435
+ },
16436
+ "d-pad": {
16437
+ emits: [
16438
+ {
16439
+ event: "DIRECTION",
16440
+ trigger: "action",
16441
+ payload: {
16442
+ type: "object"
16443
+ }
16444
+ }
16445
+ ],
16446
+ requires: [
16447
+ ],
16448
+ entityAware: false
16449
+ },
16450
+ "isometric-canvas": {
16451
+ emits: [
16452
+ {
16453
+ event: "TILE_CLICK",
16454
+ trigger: "action",
16455
+ payload: {
16456
+ type: "object"
16457
+ }
16458
+ },
16459
+ {
16460
+ event: "UNIT_CLICK",
16461
+ trigger: "action",
16462
+ payload: {
16463
+ type: "object"
16464
+ }
16465
+ },
16466
+ {
16467
+ event: "TILE_HOVER",
16468
+ trigger: "action",
16469
+ payload: {
16470
+ type: "object"
16471
+ }
16472
+ },
16473
+ {
16474
+ event: "TILE_LEAVE",
16475
+ trigger: "action",
16476
+ payload: {
16477
+ type: "object"
16478
+ }
16479
+ }
16480
+ ],
16481
+ requires: [
16482
+ ],
16483
+ entityAware: true
16484
+ },
16485
+ "trait-slot": {
16486
+ emits: [
16487
+ {
16488
+ event: "CLICK",
16489
+ trigger: "action",
16490
+ payload: {
16491
+ type: "object"
16492
+ }
16493
+ },
16494
+ {
16495
+ event: "REMOVE",
16496
+ trigger: "action",
16497
+ payload: {
16498
+ type: "object"
16499
+ }
16500
+ }
16501
+ ],
16502
+ requires: [
16503
+ ],
16504
+ entityAware: true
16505
+ },
16506
+ "world-map-board": {
16507
+ emits: [
16508
+ {
16509
+ event: "HERO_SELECT",
16510
+ trigger: "action",
16511
+ payload: {
16512
+ type: "object"
16513
+ }
16514
+ },
16515
+ {
16516
+ event: "HERO_MOVE",
16517
+ trigger: "action",
16518
+ payload: {
16519
+ type: "object"
16520
+ }
16521
+ },
16522
+ {
16523
+ event: "BATTLE_ENCOUNTER",
16524
+ trigger: "action",
16525
+ payload: {
16526
+ type: "object"
16527
+ }
16528
+ },
16529
+ {
16530
+ event: "FEATURE_ENTER",
16531
+ trigger: "action",
16532
+ payload: {
16533
+ type: "object"
16534
+ }
16535
+ },
16536
+ {
16537
+ event: "TILE_CLICK",
16538
+ trigger: "action",
16539
+ payload: {
16540
+ type: "object"
16541
+ }
16542
+ }
16543
+ ],
16544
+ requires: [
16545
+ ],
16546
+ entityAware: true
16166
16547
  }
16167
16548
  };
16168
16549
  var eventContracts = {
@@ -19021,6 +19402,15 @@ declare function isValidPatternType(type: string): type is PatternType;
19021
19402
  * @packageDocumentation
19022
19403
  */
19023
19404
 
19405
+ type PatternEntry$1 = {
19406
+ category?: string;
19407
+ description?: string;
19408
+ propsSchema?: Record<string, {
19409
+ types?: string[];
19410
+ required?: boolean;
19411
+ }>;
19412
+ entityAware?: boolean;
19413
+ };
19024
19414
  /**
19025
19415
  * Get patterns grouped by category.
19026
19416
  * Categories are derived from pattern registry metadata.
@@ -19048,7 +19438,7 @@ declare function getAllPatternTypes(): PatternType[];
19048
19438
  /**
19049
19439
  * Get pattern metadata for a specific pattern.
19050
19440
  */
19051
- declare function getPatternMetadata(patternType: string): any;
19441
+ declare function getPatternMetadata(patternType: string): PatternEntry$1 | null;
19052
19442
 
19053
19443
  /**
19054
19444
  * Pattern Recommender
@@ -19461,6 +19851,14 @@ declare const registry: {
19461
19851
  types: string[];
19462
19852
  description: string;
19463
19853
  };
19854
+ showAvatar: {
19855
+ types: string[];
19856
+ description: string;
19857
+ };
19858
+ variant: {
19859
+ types: string[];
19860
+ description: string;
19861
+ };
19464
19862
  };
19465
19863
  };
19466
19864
  "detail-panel": {
@@ -20581,6 +20979,10 @@ declare const registry: {
20581
20979
  types: string[];
20582
20980
  description: string;
20583
20981
  };
20982
+ compact: {
20983
+ types: string[];
20984
+ description: string;
20985
+ };
20584
20986
  };
20585
20987
  };
20586
20988
  "dashboard-grid": {
@@ -20590,6 +20992,58 @@ declare const registry: {
20590
20992
  suggestedFor: string[];
20591
20993
  typicalSize: string;
20592
20994
  propsSchema: {
20995
+ entity: {
20996
+ types: string[];
20997
+ description: string;
20998
+ };
20999
+ data: {
21000
+ types: string[];
21001
+ description: string;
21002
+ };
21003
+ className: {
21004
+ types: string[];
21005
+ description: string;
21006
+ };
21007
+ isLoading: {
21008
+ types: string[];
21009
+ description: string;
21010
+ };
21011
+ error: {
21012
+ types: string[];
21013
+ description: string;
21014
+ };
21015
+ sortBy: {
21016
+ types: string[];
21017
+ description: string;
21018
+ };
21019
+ sortDirection: {
21020
+ types: string[];
21021
+ description: string;
21022
+ };
21023
+ searchValue: {
21024
+ types: string[];
21025
+ description: string;
21026
+ };
21027
+ page: {
21028
+ types: string[];
21029
+ description: string;
21030
+ };
21031
+ pageSize: {
21032
+ types: string[];
21033
+ description: string;
21034
+ };
21035
+ totalCount: {
21036
+ types: string[];
21037
+ description: string;
21038
+ };
21039
+ activeFilters: {
21040
+ types: string[];
21041
+ description: string;
21042
+ };
21043
+ selectedIds: {
21044
+ types: string[];
21045
+ description: string;
21046
+ };
20593
21047
  columns: {
20594
21048
  types: string[];
20595
21049
  description: string;
@@ -20603,10 +21057,6 @@ declare const registry: {
20603
21057
  description: string;
20604
21058
  required: boolean;
20605
21059
  };
20606
- className: {
20607
- types: string[];
20608
- description: string;
20609
- };
20610
21060
  };
20611
21061
  };
20612
21062
  modal: {
@@ -21411,6 +21861,10 @@ declare const registry: {
21411
21861
  types: string[];
21412
21862
  description: string;
21413
21863
  };
21864
+ amount: {
21865
+ types: string[];
21866
+ description: string;
21867
+ };
21414
21868
  };
21415
21869
  };
21416
21870
  avatar: {
@@ -21550,6 +22004,22 @@ declare const registry: {
21550
22004
  types: string[];
21551
22005
  description: string;
21552
22006
  };
22007
+ isSelected: {
22008
+ types: string[];
22009
+ description: string;
22010
+ };
22011
+ name: {
22012
+ types: string[];
22013
+ description: string;
22014
+ };
22015
+ level: {
22016
+ types: string[];
22017
+ description: string;
22018
+ };
22019
+ maxLevel: {
22020
+ types: string[];
22021
+ description: string;
22022
+ };
21553
22023
  };
21554
22024
  };
21555
22025
  "progress-bar": {
@@ -24180,6 +24650,10 @@ declare const registry: {
24180
24650
  types: string[];
24181
24651
  description: string;
24182
24652
  };
24653
+ children: {
24654
+ types: string[];
24655
+ description: string;
24656
+ };
24183
24657
  };
24184
24658
  };
24185
24659
  "game-template": {
@@ -24278,6 +24752,10 @@ declare const registry: {
24278
24752
  types: string[];
24279
24753
  description: string;
24280
24754
  };
24755
+ children: {
24756
+ types: string[];
24757
+ description: string;
24758
+ };
24281
24759
  };
24282
24760
  };
24283
24761
  chart: {
@@ -24948,6 +25426,14 @@ declare const registry: {
24948
25426
  suggestedFor: string[];
24949
25427
  typicalSize: string;
24950
25428
  propsSchema: {
25429
+ entity: {
25430
+ types: string[];
25431
+ description: string;
25432
+ };
25433
+ data: {
25434
+ types: string[];
25435
+ description: string;
25436
+ };
24951
25437
  className: {
24952
25438
  types: string[];
24953
25439
  description: string;
@@ -24960,7 +25446,35 @@ declare const registry: {
24960
25446
  types: string[];
24961
25447
  description: string;
24962
25448
  };
24963
- entity: {
25449
+ sortBy: {
25450
+ types: string[];
25451
+ description: string;
25452
+ };
25453
+ sortDirection: {
25454
+ types: string[];
25455
+ description: string;
25456
+ };
25457
+ searchValue: {
25458
+ types: string[];
25459
+ description: string;
25460
+ };
25461
+ page: {
25462
+ types: string[];
25463
+ description: string;
25464
+ };
25465
+ pageSize: {
25466
+ types: string[];
25467
+ description: string;
25468
+ };
25469
+ totalCount: {
25470
+ types: string[];
25471
+ description: string;
25472
+ };
25473
+ activeFilters: {
25474
+ types: string[];
25475
+ description: string;
25476
+ };
25477
+ selectedIds: {
24964
25478
  types: string[];
24965
25479
  description: string;
24966
25480
  };
@@ -25048,6 +25562,14 @@ declare const registry: {
25048
25562
  types: string[];
25049
25563
  description: string;
25050
25564
  };
25565
+ boardWidth: {
25566
+ types: string[];
25567
+ description: string;
25568
+ };
25569
+ boardHeight: {
25570
+ types: string[];
25571
+ description: string;
25572
+ };
25051
25573
  diamondTopY: {
25052
25574
  types: string[];
25053
25575
  description: string;
@@ -25504,7 +26026,54 @@ declare const registry: {
25504
26026
  entity: {
25505
26027
  types: string[];
25506
26028
  description: string;
25507
- required: boolean;
26029
+ };
26030
+ data: {
26031
+ types: string[];
26032
+ description: string;
26033
+ };
26034
+ className: {
26035
+ types: string[];
26036
+ description: string;
26037
+ };
26038
+ isLoading: {
26039
+ types: string[];
26040
+ description: string;
26041
+ };
26042
+ error: {
26043
+ types: string[];
26044
+ description: string;
26045
+ };
26046
+ sortBy: {
26047
+ types: string[];
26048
+ description: string;
26049
+ };
26050
+ sortDirection: {
26051
+ types: string[];
26052
+ description: string;
26053
+ };
26054
+ searchValue: {
26055
+ types: string[];
26056
+ description: string;
26057
+ };
26058
+ page: {
26059
+ types: string[];
26060
+ description: string;
26061
+ };
26062
+ pageSize: {
26063
+ types: string[];
26064
+ description: string;
26065
+ };
26066
+ totalCount: {
26067
+ types: string[];
26068
+ description: string;
26069
+ };
26070
+ activeFilters: {
26071
+ types: string[];
26072
+ description: string;
26073
+ };
26074
+ selectedIds: {
26075
+ types: string[];
26076
+ description: string;
25508
26077
  };
25509
26078
  scale: {
25510
26079
  types: string[];
@@ -25590,10 +26159,6 @@ declare const registry: {
25590
26159
  types: string[];
25591
26160
  description: string;
25592
26161
  };
25593
- className: {
25594
- types: string[];
25595
- description: string;
25596
- };
25597
26162
  };
25598
26163
  };
25599
26164
  "collapsible-section": {
@@ -28441,6 +29006,14 @@ declare const PATTERN_REGISTRY: {
28441
29006
  types: string[];
28442
29007
  description: string;
28443
29008
  };
29009
+ showAvatar: {
29010
+ types: string[];
29011
+ description: string;
29012
+ };
29013
+ variant: {
29014
+ types: string[];
29015
+ description: string;
29016
+ };
28444
29017
  };
28445
29018
  };
28446
29019
  "detail-panel": {
@@ -29561,6 +30134,10 @@ declare const PATTERN_REGISTRY: {
29561
30134
  types: string[];
29562
30135
  description: string;
29563
30136
  };
30137
+ compact: {
30138
+ types: string[];
30139
+ description: string;
30140
+ };
29564
30141
  };
29565
30142
  };
29566
30143
  "dashboard-grid": {
@@ -29570,6 +30147,58 @@ declare const PATTERN_REGISTRY: {
29570
30147
  suggestedFor: string[];
29571
30148
  typicalSize: string;
29572
30149
  propsSchema: {
30150
+ entity: {
30151
+ types: string[];
30152
+ description: string;
30153
+ };
30154
+ data: {
30155
+ types: string[];
30156
+ description: string;
30157
+ };
30158
+ className: {
30159
+ types: string[];
30160
+ description: string;
30161
+ };
30162
+ isLoading: {
30163
+ types: string[];
30164
+ description: string;
30165
+ };
30166
+ error: {
30167
+ types: string[];
30168
+ description: string;
30169
+ };
30170
+ sortBy: {
30171
+ types: string[];
30172
+ description: string;
30173
+ };
30174
+ sortDirection: {
30175
+ types: string[];
30176
+ description: string;
30177
+ };
30178
+ searchValue: {
30179
+ types: string[];
30180
+ description: string;
30181
+ };
30182
+ page: {
30183
+ types: string[];
30184
+ description: string;
30185
+ };
30186
+ pageSize: {
30187
+ types: string[];
30188
+ description: string;
30189
+ };
30190
+ totalCount: {
30191
+ types: string[];
30192
+ description: string;
30193
+ };
30194
+ activeFilters: {
30195
+ types: string[];
30196
+ description: string;
30197
+ };
30198
+ selectedIds: {
30199
+ types: string[];
30200
+ description: string;
30201
+ };
29573
30202
  columns: {
29574
30203
  types: string[];
29575
30204
  description: string;
@@ -29583,10 +30212,6 @@ declare const PATTERN_REGISTRY: {
29583
30212
  description: string;
29584
30213
  required: boolean;
29585
30214
  };
29586
- className: {
29587
- types: string[];
29588
- description: string;
29589
- };
29590
30215
  };
29591
30216
  };
29592
30217
  modal: {
@@ -30391,6 +31016,10 @@ declare const PATTERN_REGISTRY: {
30391
31016
  types: string[];
30392
31017
  description: string;
30393
31018
  };
31019
+ amount: {
31020
+ types: string[];
31021
+ description: string;
31022
+ };
30394
31023
  };
30395
31024
  };
30396
31025
  avatar: {
@@ -30530,6 +31159,22 @@ declare const PATTERN_REGISTRY: {
30530
31159
  types: string[];
30531
31160
  description: string;
30532
31161
  };
31162
+ isSelected: {
31163
+ types: string[];
31164
+ description: string;
31165
+ };
31166
+ name: {
31167
+ types: string[];
31168
+ description: string;
31169
+ };
31170
+ level: {
31171
+ types: string[];
31172
+ description: string;
31173
+ };
31174
+ maxLevel: {
31175
+ types: string[];
31176
+ description: string;
31177
+ };
30533
31178
  };
30534
31179
  };
30535
31180
  "progress-bar": {
@@ -33160,6 +33805,10 @@ declare const PATTERN_REGISTRY: {
33160
33805
  types: string[];
33161
33806
  description: string;
33162
33807
  };
33808
+ children: {
33809
+ types: string[];
33810
+ description: string;
33811
+ };
33163
33812
  };
33164
33813
  };
33165
33814
  "game-template": {
@@ -33258,6 +33907,10 @@ declare const PATTERN_REGISTRY: {
33258
33907
  types: string[];
33259
33908
  description: string;
33260
33909
  };
33910
+ children: {
33911
+ types: string[];
33912
+ description: string;
33913
+ };
33261
33914
  };
33262
33915
  };
33263
33916
  chart: {
@@ -33928,6 +34581,14 @@ declare const PATTERN_REGISTRY: {
33928
34581
  suggestedFor: string[];
33929
34582
  typicalSize: string;
33930
34583
  propsSchema: {
34584
+ entity: {
34585
+ types: string[];
34586
+ description: string;
34587
+ };
34588
+ data: {
34589
+ types: string[];
34590
+ description: string;
34591
+ };
33931
34592
  className: {
33932
34593
  types: string[];
33933
34594
  description: string;
@@ -33940,7 +34601,35 @@ declare const PATTERN_REGISTRY: {
33940
34601
  types: string[];
33941
34602
  description: string;
33942
34603
  };
33943
- entity: {
34604
+ sortBy: {
34605
+ types: string[];
34606
+ description: string;
34607
+ };
34608
+ sortDirection: {
34609
+ types: string[];
34610
+ description: string;
34611
+ };
34612
+ searchValue: {
34613
+ types: string[];
34614
+ description: string;
34615
+ };
34616
+ page: {
34617
+ types: string[];
34618
+ description: string;
34619
+ };
34620
+ pageSize: {
34621
+ types: string[];
34622
+ description: string;
34623
+ };
34624
+ totalCount: {
34625
+ types: string[];
34626
+ description: string;
34627
+ };
34628
+ activeFilters: {
34629
+ types: string[];
34630
+ description: string;
34631
+ };
34632
+ selectedIds: {
33944
34633
  types: string[];
33945
34634
  description: string;
33946
34635
  };
@@ -34028,6 +34717,14 @@ declare const PATTERN_REGISTRY: {
34028
34717
  types: string[];
34029
34718
  description: string;
34030
34719
  };
34720
+ boardWidth: {
34721
+ types: string[];
34722
+ description: string;
34723
+ };
34724
+ boardHeight: {
34725
+ types: string[];
34726
+ description: string;
34727
+ };
34031
34728
  diamondTopY: {
34032
34729
  types: string[];
34033
34730
  description: string;
@@ -34484,7 +35181,54 @@ declare const PATTERN_REGISTRY: {
34484
35181
  entity: {
34485
35182
  types: string[];
34486
35183
  description: string;
34487
- required: boolean;
35184
+ };
35185
+ data: {
35186
+ types: string[];
35187
+ description: string;
35188
+ };
35189
+ className: {
35190
+ types: string[];
35191
+ description: string;
35192
+ };
35193
+ isLoading: {
35194
+ types: string[];
35195
+ description: string;
35196
+ };
35197
+ error: {
35198
+ types: string[];
35199
+ description: string;
35200
+ };
35201
+ sortBy: {
35202
+ types: string[];
35203
+ description: string;
35204
+ };
35205
+ sortDirection: {
35206
+ types: string[];
35207
+ description: string;
35208
+ };
35209
+ searchValue: {
35210
+ types: string[];
35211
+ description: string;
35212
+ };
35213
+ page: {
35214
+ types: string[];
35215
+ description: string;
35216
+ };
35217
+ pageSize: {
35218
+ types: string[];
35219
+ description: string;
35220
+ };
35221
+ totalCount: {
35222
+ types: string[];
35223
+ description: string;
35224
+ };
35225
+ activeFilters: {
35226
+ types: string[];
35227
+ description: string;
35228
+ };
35229
+ selectedIds: {
35230
+ types: string[];
35231
+ description: string;
34488
35232
  };
34489
35233
  scale: {
34490
35234
  types: string[];
@@ -34570,10 +35314,6 @@ declare const PATTERN_REGISTRY: {
34570
35314
  types: string[];
34571
35315
  description: string;
34572
35316
  };
34573
- className: {
34574
- types: string[];
34575
- description: string;
34576
- };
34577
35317
  };
34578
35318
  };
34579
35319
  "collapsible-section": {
@@ -38982,21 +39722,13 @@ declare const EVENT_CONTRACTS: {
38982
39722
  entityAware: boolean;
38983
39723
  };
38984
39724
  "dialogue-box": {
38985
- emits: ({
38986
- event: string;
38987
- trigger: string;
38988
- payload: {
38989
- type: string;
38990
- };
38991
- optional?: undefined;
38992
- } | {
39725
+ emits: {
38993
39726
  event: string;
38994
39727
  trigger: string;
38995
39728
  payload: {
38996
39729
  type: string;
38997
39730
  };
38998
- optional: boolean;
38999
- })[];
39731
+ }[];
39000
39732
  requires: never[];
39001
39733
  entityAware: boolean;
39002
39734
  };
@@ -39261,10 +39993,77 @@ declare const EVENT_CONTRACTS: {
39261
39993
  requires: never[];
39262
39994
  entityAware: boolean;
39263
39995
  };
39996
+ "action-buttons": {
39997
+ emits: {
39998
+ event: string;
39999
+ trigger: string;
40000
+ payload: {
40001
+ type: string;
40002
+ };
40003
+ }[];
40004
+ requires: never[];
40005
+ entityAware: boolean;
40006
+ };
40007
+ "d-pad": {
40008
+ emits: {
40009
+ event: string;
40010
+ trigger: string;
40011
+ payload: {
40012
+ type: string;
40013
+ };
40014
+ }[];
40015
+ requires: never[];
40016
+ entityAware: boolean;
40017
+ };
40018
+ "isometric-canvas": {
40019
+ emits: {
40020
+ event: string;
40021
+ trigger: string;
40022
+ payload: {
40023
+ type: string;
40024
+ };
40025
+ }[];
40026
+ requires: never[];
40027
+ entityAware: boolean;
40028
+ };
40029
+ "trait-slot": {
40030
+ emits: {
40031
+ event: string;
40032
+ trigger: string;
40033
+ payload: {
40034
+ type: string;
40035
+ };
40036
+ }[];
40037
+ requires: never[];
40038
+ entityAware: boolean;
40039
+ };
40040
+ "world-map-board": {
40041
+ emits: {
40042
+ event: string;
40043
+ trigger: string;
40044
+ payload: {
40045
+ type: string;
40046
+ };
40047
+ }[];
40048
+ requires: never[];
40049
+ entityAware: boolean;
40050
+ };
39264
40051
  };
39265
40052
  };
39266
- declare function getPatternDefinition(patternType: string): any;
39267
- declare function getComponentForPattern(patternType: string): any;
40053
+ type PatternEntry = {
40054
+ type: string;
40055
+ category: string;
40056
+ description?: string;
40057
+ suggestedFor?: string[];
40058
+ typicalSize?: string;
40059
+ propsSchema?: Record<string, {
40060
+ types?: string[];
40061
+ required?: boolean;
40062
+ }>;
40063
+ entityAware?: boolean;
40064
+ };
40065
+ declare function getPatternDefinition(patternType: string): PatternEntry | null;
40066
+ declare function getComponentForPattern(patternType: string): string | null;
39268
40067
  /**
39269
40068
  * Check if a pattern is entity-aware (requires data injection).
39270
40069
  *