@almadar/core 10.112.0 → 10.113.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.
Files changed (95) hide show
  1. package/dist/builders.d.ts +4 -4
  2. package/dist/builders.js +2 -1
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-BZ9ekDiD.d.ts → bus-CJ7jZVcV.d.ts} +1 -1
  5. package/dist/{domain-DV8lmH3r.d.ts → domain-CkvF0zvD.d.ts} +6 -5
  6. package/dist/{effect-B9nMpTKN.d.ts → effect-BLZKE5PN.d.ts} +26 -2
  7. package/dist/{entityAccess-Ak_ZvGXZ.d.ts → entityAccess-utY3tRcQ.d.ts} +2 -2
  8. package/dist/factory/index.d.ts +4 -4
  9. package/dist/factory/index.js +857 -63
  10. package/dist/factory/index.js.map +1 -1
  11. package/dist/factory-runtime/index.d.ts +4 -4
  12. package/dist/factory-runtime/index.js +2 -1
  13. package/dist/factory-runtime/index.js.map +1 -1
  14. package/dist/fixtures.d.ts +2 -2
  15. package/dist/i18n/index.js +1 -0
  16. package/dist/i18n/index.js.map +1 -1
  17. package/dist/{index-DmkUMeXz.d.ts → index-BiHNP9jd.d.ts} +6 -6
  18. package/dist/index.d.ts +13 -13
  19. package/dist/index.js +1079 -182
  20. package/dist/index.js.map +1 -1
  21. package/dist/mock/index.d.ts +5 -5
  22. package/dist/patterns/component-mapping.json +1 -1
  23. package/dist/patterns/event-contracts.json +1 -8
  24. package/dist/patterns/index.d.ts +1806 -309
  25. package/dist/patterns/index.js +860 -73
  26. package/dist/patterns/index.js.map +1 -1
  27. package/dist/patterns/patterns-registry.json +858 -64
  28. package/dist/patterns/registry.json +858 -64
  29. package/dist/{schema-C-HLTS_Q.d.ts → schema-BJGPvTln.d.ts} +243 -243
  30. package/dist/themes/index.d.ts +1 -1
  31. package/dist/themes/index.js +218 -109
  32. package/dist/themes/index.js.map +1 -1
  33. package/dist/{trait-CRgDZSy_.d.ts → trait-DlZMxzEB.d.ts} +53 -53
  34. package/dist/types/index.d.ts +7 -7
  35. package/dist/types/index.js +2 -1
  36. package/dist/types/index.js.map +1 -1
  37. package/dist/{types-C3nlpTDW.d.ts → types-7d7mtx4j.d.ts} +2 -2
  38. package/fixtures/theme-tokens/every-key.json +2 -1
  39. package/package.json +2 -2
  40. package/themes/almadar-website.json +4 -2
  41. package/themes/almadar.json +4 -2
  42. package/themes/aqua.json +4 -2
  43. package/themes/arabesque.json +4 -2
  44. package/themes/art-deco.json +4 -2
  45. package/themes/art-nouveau.json +4 -2
  46. package/themes/atelier.json +4 -2
  47. package/themes/bauhaus.json +4 -2
  48. package/themes/bloomberg-dense.json +4 -2
  49. package/themes/blueprint.json +4 -2
  50. package/themes/clay.json +4 -2
  51. package/themes/comic.json +4 -2
  52. package/themes/constructivist.json +4 -2
  53. package/themes/corporate.json +4 -2
  54. package/themes/cyberpunk.json +4 -2
  55. package/themes/frutiger-aero.json +4 -2
  56. package/themes/game-adventure.json +2 -1
  57. package/themes/game-rpg.json +2 -1
  58. package/themes/game-sci-fi.json +2 -1
  59. package/themes/game-ui-pack.json +2 -1
  60. package/themes/gazette.json +4 -2
  61. package/themes/glass.json +4 -2
  62. package/themes/gothic.json +4 -2
  63. package/themes/ink-wash.json +4 -2
  64. package/themes/kawaii.json +4 -2
  65. package/themes/kiosk.json +4 -2
  66. package/themes/linear-clean.json +4 -2
  67. package/themes/luxury.json +4 -2
  68. package/themes/mac-classic.json +4 -2
  69. package/themes/material.json +4 -2
  70. package/themes/memphis.json +4 -2
  71. package/themes/mid-century.json +4 -2
  72. package/themes/minimalist.json +4 -2
  73. package/themes/mudcloth.json +4 -2
  74. package/themes/neon.json +4 -2
  75. package/themes/neumorphic.json +4 -2
  76. package/themes/newsprint.json +4 -2
  77. package/themes/notion-editorial.json +4 -2
  78. package/themes/pixel.json +4 -2
  79. package/themes/prism.json +4 -2
  80. package/themes/retro.json +4 -2
  81. package/themes/risograph.json +4 -2
  82. package/themes/scandi.json +4 -2
  83. package/themes/sketch.json +4 -2
  84. package/themes/solarpunk.json +4 -2
  85. package/themes/steampunk.json +4 -2
  86. package/themes/swiss.json +4 -2
  87. package/themes/terminal.json +4 -2
  88. package/themes/trait-wars.json +4 -2
  89. package/themes/ukiyo-e.json +4 -2
  90. package/themes/vaporwave.json +4 -2
  91. package/themes/victorian.json +4 -2
  92. package/themes/wabi-sabi.json +4 -2
  93. package/themes/win95.json +4 -2
  94. package/themes/wireframe.json +4 -2
  95. package/themes/zine.json +4 -2
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // src/patterns/patterns-registry.json
4
4
  var patterns_registry_default = {
5
5
  version: "1.0.0",
6
- exportedAt: "2026-09-30T15:57:56.420Z",
6
+ exportedAt: "2026-09-30T21:06:42.691Z",
7
7
  patterns: {
8
8
  "entity-table": {
9
9
  type: "entity-table",
@@ -180,6 +180,28 @@ var patterns_registry_default = {
180
180
  "boolean"
181
181
  ]
182
182
  },
183
+ align: {
184
+ types: [
185
+ "string"
186
+ ],
187
+ enumValues: [
188
+ "left",
189
+ "center",
190
+ "right"
191
+ ]
192
+ },
193
+ format: {
194
+ types: [
195
+ "string"
196
+ ],
197
+ enumValues: [
198
+ "date",
199
+ "currency",
200
+ "number",
201
+ "boolean",
202
+ "percent"
203
+ ]
204
+ },
183
205
  render: {
184
206
  types: [
185
207
  "function"
@@ -228,6 +250,28 @@ var patterns_registry_default = {
228
250
  "boolean"
229
251
  ]
230
252
  },
253
+ align: {
254
+ types: [
255
+ "string"
256
+ ],
257
+ enumValues: [
258
+ "left",
259
+ "center",
260
+ "right"
261
+ ]
262
+ },
263
+ format: {
264
+ types: [
265
+ "string"
266
+ ],
267
+ enumValues: [
268
+ "date",
269
+ "currency",
270
+ "number",
271
+ "boolean",
272
+ "percent"
273
+ ]
274
+ },
231
275
  render: {
232
276
  types: [
233
277
  "function"
@@ -236,6 +280,26 @@ var patterns_registry_default = {
236
280
  }
237
281
  }
238
282
  },
283
+ itemClickEvent: {
284
+ types: [
285
+ "string"
286
+ ],
287
+ description: "When set, rows are activatable and emit UI:{itemClickEvent} with { id, row }",
288
+ kind: "event-ref",
289
+ entityRowField: "row",
290
+ emitPayloadSchema: [
291
+ {
292
+ name: "id",
293
+ type: "string",
294
+ required: true
295
+ },
296
+ {
297
+ name: "row",
298
+ type: "@entity",
299
+ required: true
300
+ }
301
+ ]
302
+ },
239
303
  itemActions: {
240
304
  types: [
241
305
  "array"
@@ -727,6 +791,12 @@ var patterns_registry_default = {
727
791
  "default"
728
792
  ]
729
793
  },
794
+ icon: {
795
+ types: [
796
+ "icon",
797
+ "string"
798
+ ]
799
+ },
730
800
  onClick: {
731
801
  types: [
732
802
  "function"
@@ -883,7 +953,7 @@ var patterns_registry_default = {
883
953
  types: [
884
954
  "array"
885
955
  ],
886
- description: "Fields to display - accepts string[] or {key, header}[] for unified interface",
956
+ description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
887
957
  required: true,
888
958
  items: {
889
959
  types: [
@@ -891,27 +961,84 @@ var patterns_registry_default = {
891
961
  "object"
892
962
  ],
893
963
  properties: {
894
- key: {
964
+ name: {
895
965
  types: [
896
966
  "string"
897
967
  ]
898
968
  },
899
- header: {
969
+ label: {
900
970
  types: [
901
971
  "string"
902
972
  ]
903
973
  },
904
- name: {
974
+ icon: {
905
975
  types: [
976
+ "icon",
906
977
  "string"
907
978
  ]
908
979
  },
909
- label: {
980
+ variant: {
981
+ types: [
982
+ "string"
983
+ ],
984
+ enumValues: [
985
+ "h3",
986
+ "h4",
987
+ "body",
988
+ "caption",
989
+ "badge",
990
+ "small",
991
+ "progress"
992
+ ]
993
+ },
994
+ format: {
910
995
  types: [
911
996
  "string"
997
+ ],
998
+ enumValues: [
999
+ "date",
1000
+ "currency",
1001
+ "number",
1002
+ "boolean",
1003
+ "percent"
912
1004
  ]
1005
+ },
1006
+ colorMap: {
1007
+ types: [
1008
+ "object"
1009
+ ],
1010
+ mapValue: {
1011
+ types: [
1012
+ "string"
1013
+ ],
1014
+ enumValues: [
1015
+ "default",
1016
+ "primary",
1017
+ "secondary",
1018
+ "success",
1019
+ "warning",
1020
+ "danger",
1021
+ "error",
1022
+ "info",
1023
+ "neutral",
1024
+ "destructive"
1025
+ ]
1026
+ }
1027
+ },
1028
+ labels: {
1029
+ types: [
1030
+ "object"
1031
+ ],
1032
+ mapValue: {
1033
+ types: [
1034
+ "string"
1035
+ ]
1036
+ }
913
1037
  }
914
- }
1038
+ },
1039
+ required: [
1040
+ "name"
1041
+ ]
915
1042
  }
916
1043
  },
917
1044
  fieldNames: {
@@ -924,6 +1051,38 @@ var patterns_registry_default = {
924
1051
  "string"
925
1052
  ]
926
1053
  }
1054
+ },
1055
+ itemClickEvent: {
1056
+ types: [
1057
+ "string"
1058
+ ],
1059
+ description: "When set, clicking a row emits UI:{itemClickEvent} with { id, row }. Omit = rows are not clickable.",
1060
+ kind: "event-ref",
1061
+ entityRowField: "row",
1062
+ emitPayloadSchema: [
1063
+ {
1064
+ name: "id",
1065
+ type: "string",
1066
+ required: true
1067
+ },
1068
+ {
1069
+ name: "row",
1070
+ type: "@entity",
1071
+ required: true
1072
+ }
1073
+ ]
1074
+ },
1075
+ completedField: {
1076
+ types: [
1077
+ "string"
1078
+ ],
1079
+ description: "Row field that marks an item completed (`true` strikes its title through)"
1080
+ },
1081
+ disabledField: {
1082
+ types: [
1083
+ "string"
1084
+ ],
1085
+ description: "Row field that marks an item disabled (`true` dims the row and disables its click)"
927
1086
  }
928
1087
  }
929
1088
  },
@@ -1124,27 +1283,84 @@ var patterns_registry_default = {
1124
1283
  "object"
1125
1284
  ],
1126
1285
  properties: {
1127
- key: {
1286
+ name: {
1128
1287
  types: [
1129
1288
  "string"
1130
1289
  ]
1131
1290
  },
1132
- header: {
1291
+ label: {
1133
1292
  types: [
1134
1293
  "string"
1135
1294
  ]
1136
1295
  },
1137
- name: {
1296
+ icon: {
1138
1297
  types: [
1298
+ "icon",
1139
1299
  "string"
1140
1300
  ]
1141
1301
  },
1142
- label: {
1302
+ variant: {
1303
+ types: [
1304
+ "string"
1305
+ ],
1306
+ enumValues: [
1307
+ "h3",
1308
+ "h4",
1309
+ "body",
1310
+ "caption",
1311
+ "badge",
1312
+ "small",
1313
+ "progress"
1314
+ ]
1315
+ },
1316
+ format: {
1143
1317
  types: [
1144
1318
  "string"
1319
+ ],
1320
+ enumValues: [
1321
+ "date",
1322
+ "currency",
1323
+ "number",
1324
+ "boolean",
1325
+ "percent"
1145
1326
  ]
1327
+ },
1328
+ colorMap: {
1329
+ types: [
1330
+ "object"
1331
+ ],
1332
+ mapValue: {
1333
+ types: [
1334
+ "string"
1335
+ ],
1336
+ enumValues: [
1337
+ "default",
1338
+ "primary",
1339
+ "secondary",
1340
+ "success",
1341
+ "warning",
1342
+ "danger",
1343
+ "error",
1344
+ "info",
1345
+ "neutral",
1346
+ "destructive"
1347
+ ]
1348
+ }
1349
+ },
1350
+ labels: {
1351
+ types: [
1352
+ "object"
1353
+ ],
1354
+ mapValue: {
1355
+ types: [
1356
+ "string"
1357
+ ]
1358
+ }
1146
1359
  }
1147
- }
1360
+ },
1361
+ required: [
1362
+ "name"
1363
+ ]
1148
1364
  }
1149
1365
  },
1150
1366
  fieldNames: {
@@ -1169,29 +1385,106 @@ var patterns_registry_default = {
1169
1385
  "object"
1170
1386
  ],
1171
1387
  properties: {
1172
- key: {
1388
+ name: {
1173
1389
  types: [
1174
1390
  "string"
1175
1391
  ]
1176
1392
  },
1177
- header: {
1393
+ label: {
1178
1394
  types: [
1179
1395
  "string"
1180
1396
  ]
1181
1397
  },
1182
- name: {
1398
+ icon: {
1183
1399
  types: [
1400
+ "icon",
1184
1401
  "string"
1185
1402
  ]
1186
1403
  },
1187
- label: {
1404
+ variant: {
1188
1405
  types: [
1189
1406
  "string"
1407
+ ],
1408
+ enumValues: [
1409
+ "h3",
1410
+ "h4",
1411
+ "body",
1412
+ "caption",
1413
+ "badge",
1414
+ "small",
1415
+ "progress"
1416
+ ]
1417
+ },
1418
+ format: {
1419
+ types: [
1420
+ "string"
1421
+ ],
1422
+ enumValues: [
1423
+ "date",
1424
+ "currency",
1425
+ "number",
1426
+ "boolean",
1427
+ "percent"
1190
1428
  ]
1429
+ },
1430
+ colorMap: {
1431
+ types: [
1432
+ "object"
1433
+ ],
1434
+ mapValue: {
1435
+ types: [
1436
+ "string"
1437
+ ],
1438
+ enumValues: [
1439
+ "default",
1440
+ "primary",
1441
+ "secondary",
1442
+ "success",
1443
+ "warning",
1444
+ "danger",
1445
+ "error",
1446
+ "info",
1447
+ "neutral",
1448
+ "destructive"
1449
+ ]
1450
+ }
1451
+ },
1452
+ labels: {
1453
+ types: [
1454
+ "object"
1455
+ ],
1456
+ mapValue: {
1457
+ types: [
1458
+ "string"
1459
+ ]
1460
+ }
1191
1461
  }
1192
- }
1462
+ },
1463
+ required: [
1464
+ "name"
1465
+ ]
1193
1466
  }
1194
1467
  },
1468
+ itemClickEvent: {
1469
+ types: [
1470
+ "string"
1471
+ ],
1472
+ description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
1473
+ kind: "event-ref",
1474
+ entityRowField: "row",
1475
+ emitPayloadSchema: [
1476
+ {
1477
+ name: "id",
1478
+ type: "string",
1479
+ required: true
1480
+ },
1481
+ {
1482
+ name: "row",
1483
+ type: "@entity",
1484
+ required: true
1485
+ }
1486
+ ]
1487
+ },
1195
1488
  itemActions: {
1196
1489
  types: [
1197
1490
  "array"
@@ -1652,6 +1945,13 @@ var patterns_registry_default = {
1652
1945
  "label"
1653
1946
  ]
1654
1947
  },
1948
+ closeEvent: {
1949
+ types: [
1950
+ "string"
1951
+ ],
1952
+ description: "The event of the declared action that dismisses the panel. The matching action renders as the header close \xD7; omitted, no \xD7 is drawn.",
1953
+ kind: "event"
1954
+ },
1655
1955
  footer: {
1656
1956
  types: [
1657
1957
  "node"
@@ -1669,7 +1969,7 @@ var patterns_registry_default = {
1669
1969
  types: [
1670
1970
  "array"
1671
1971
  ],
1672
- description: "Fields to display - accepts string[], {key, header}[], or DetailField[]",
1972
+ description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
1673
1973
  required: true,
1674
1974
  items: {
1675
1975
  types: [
@@ -1677,16 +1977,80 @@ var patterns_registry_default = {
1677
1977
  "object"
1678
1978
  ],
1679
1979
  properties: {
1680
- key: {
1980
+ name: {
1681
1981
  types: [
1682
1982
  "string"
1683
1983
  ]
1684
1984
  },
1685
- header: {
1985
+ label: {
1986
+ types: [
1987
+ "string"
1988
+ ]
1989
+ },
1990
+ icon: {
1991
+ types: [
1992
+ "icon",
1993
+ "string"
1994
+ ]
1995
+ },
1996
+ variant: {
1686
1997
  types: [
1687
1998
  "string"
1999
+ ],
2000
+ enumValues: [
2001
+ "h3",
2002
+ "h4",
2003
+ "body",
2004
+ "caption",
2005
+ "badge",
2006
+ "small",
2007
+ "progress"
1688
2008
  ]
1689
2009
  },
2010
+ format: {
2011
+ types: [
2012
+ "string"
2013
+ ],
2014
+ enumValues: [
2015
+ "date",
2016
+ "currency",
2017
+ "number",
2018
+ "boolean",
2019
+ "percent"
2020
+ ]
2021
+ },
2022
+ colorMap: {
2023
+ types: [
2024
+ "object"
2025
+ ],
2026
+ mapValue: {
2027
+ types: [
2028
+ "string"
2029
+ ],
2030
+ enumValues: [
2031
+ "default",
2032
+ "primary",
2033
+ "secondary",
2034
+ "success",
2035
+ "warning",
2036
+ "danger",
2037
+ "error",
2038
+ "info",
2039
+ "neutral",
2040
+ "destructive"
2041
+ ]
2042
+ }
2043
+ },
2044
+ labels: {
2045
+ types: [
2046
+ "object"
2047
+ ],
2048
+ mapValue: {
2049
+ types: [
2050
+ "string"
2051
+ ]
2052
+ }
2053
+ },
1690
2054
  type: {
1691
2055
  types: [
1692
2056
  "string"
@@ -1731,7 +2095,7 @@ var patterns_registry_default = {
1731
2095
  }
1732
2096
  },
1733
2097
  required: [
1734
- "key"
2098
+ "name"
1735
2099
  ]
1736
2100
  }
1737
2101
  },
@@ -2278,6 +2642,16 @@ var patterns_registry_default = {
2278
2642
  ]
2279
2643
  }
2280
2644
  },
2645
+ labels: {
2646
+ types: [
2647
+ "object"
2648
+ ],
2649
+ mapValue: {
2650
+ types: [
2651
+ "string"
2652
+ ]
2653
+ }
2654
+ },
2281
2655
  relation: {
2282
2656
  types: [
2283
2657
  "object"
@@ -2836,6 +3210,16 @@ var patterns_registry_default = {
2836
3210
  ]
2837
3211
  }
2838
3212
  },
3213
+ labels: {
3214
+ types: [
3215
+ "object"
3216
+ ],
3217
+ mapValue: {
3218
+ types: [
3219
+ "string"
3220
+ ]
3221
+ }
3222
+ },
2839
3223
  relation: {
2840
3224
  types: [
2841
3225
  "object"
@@ -3195,6 +3579,16 @@ var patterns_registry_default = {
3195
3579
  ]
3196
3580
  }
3197
3581
  },
3582
+ labels: {
3583
+ types: [
3584
+ "object"
3585
+ ],
3586
+ mapValue: {
3587
+ types: [
3588
+ "string"
3589
+ ]
3590
+ }
3591
+ },
3198
3592
  relation: {
3199
3593
  types: [
3200
3594
  "object"
@@ -3753,6 +4147,16 @@ var patterns_registry_default = {
3753
4147
  ]
3754
4148
  }
3755
4149
  },
4150
+ labels: {
4151
+ types: [
4152
+ "object"
4153
+ ],
4154
+ mapValue: {
4155
+ types: [
4156
+ "string"
4157
+ ]
4158
+ }
4159
+ },
3756
4160
  relation: {
3757
4161
  types: [
3758
4162
  "object"
@@ -9312,6 +9716,13 @@ var patterns_registry_default = {
9312
9716
  ],
9313
9717
  description: "actions prop"
9314
9718
  },
9719
+ icon: {
9720
+ types: [
9721
+ "icon",
9722
+ "string"
9723
+ ],
9724
+ description: "Icon shown instead of the variant's default (Lucide name or component)"
9725
+ },
9315
9726
  className: {
9316
9727
  types: [
9317
9728
  "string"
@@ -9517,6 +9928,15 @@ var patterns_registry_default = {
9517
9928
  "object"
9518
9929
  ],
9519
9930
  properties: {
9931
+ type: {
9932
+ types: [
9933
+ "string"
9934
+ ],
9935
+ enumValues: [
9936
+ "item",
9937
+ "divider"
9938
+ ]
9939
+ },
9520
9940
  id: {
9521
9941
  types: [
9522
9942
  "string"
@@ -10544,6 +10964,12 @@ var patterns_registry_default = {
10544
10964
  ],
10545
10965
  description: "Role for accessibility"
10546
10966
  },
10967
+ id: {
10968
+ types: [
10969
+ "string"
10970
+ ],
10971
+ description: "Element id"
10972
+ },
10547
10973
  tabIndex: {
10548
10974
  types: [
10549
10975
  "number"
@@ -10881,6 +11307,12 @@ var patterns_registry_default = {
10881
11307
  ]
10882
11308
  }
10883
11309
  },
11310
+ role: {
11311
+ types: [
11312
+ "string"
11313
+ ],
11314
+ description: "Accessibility role"
11315
+ },
10884
11316
  format: {
10885
11317
  types: [
10886
11318
  "string"
@@ -13492,8 +13924,7 @@ var patterns_registry_default = {
13492
13924
  types: [
13493
13925
  "string"
13494
13926
  ],
13495
- description: "App name",
13496
- default: "My App"
13927
+ description: "App name"
13497
13928
  },
13498
13929
  logo: {
13499
13930
  types: [
@@ -13640,8 +14071,7 @@ var patterns_registry_default = {
13640
14071
  types: [
13641
14072
  "string"
13642
14073
  ],
13643
- description: "Title displayed above the counter",
13644
- default: "Counter"
14074
+ description: "Title displayed above the counter"
13645
14075
  },
13646
14076
  showReset: {
13647
14077
  types: [
@@ -13693,8 +14123,7 @@ var patterns_registry_default = {
13693
14123
  types: [
13694
14124
  "string"
13695
14125
  ],
13696
- description: "App name shown in sidebar",
13697
- default: "{{APP_TITLE}}"
14126
+ description: "App name shown in sidebar"
13698
14127
  },
13699
14128
  logo: {
13700
14129
  types: [
@@ -14069,8 +14498,7 @@ var patterns_registry_default = {
14069
14498
  types: [
14070
14499
  "string"
14071
14500
  ],
14072
- description: "Application / game title shown as a floating chip",
14073
- default: "Game"
14501
+ description: "Application / game title shown as a floating chip"
14074
14502
  },
14075
14503
  hud: {
14076
14504
  types: [
@@ -15033,14 +15461,37 @@ var patterns_registry_default = {
15033
15461
  types: [
15034
15462
  "array"
15035
15463
  ],
15036
- description: "Fields to display",
15037
- required: true,
15464
+ description: "Entity fields the timeline draws; each slot is named by its own `*Field` prop.",
15038
15465
  items: {
15039
15466
  types: [
15040
15467
  "string"
15041
15468
  ]
15042
15469
  }
15043
15470
  },
15471
+ titleField: {
15472
+ types: [
15473
+ "string"
15474
+ ],
15475
+ description: "Entity field holding each item's title."
15476
+ },
15477
+ descriptionField: {
15478
+ types: [
15479
+ "string"
15480
+ ],
15481
+ description: "Entity field holding each item's description."
15482
+ },
15483
+ dateField: {
15484
+ types: [
15485
+ "string"
15486
+ ],
15487
+ description: "Entity field holding each item's date."
15488
+ },
15489
+ statusField: {
15490
+ types: [
15491
+ "string"
15492
+ ],
15493
+ description: "Entity field holding each item's status (complete | active | pending | error)."
15494
+ },
15044
15495
  itemActions: {
15045
15496
  types: [
15046
15497
  "array"
@@ -15409,6 +15860,20 @@ var patterns_registry_default = {
15409
15860
  "portrait"
15410
15861
  ],
15411
15862
  default: "square"
15863
+ },
15864
+ srcField: {
15865
+ types: [
15866
+ "string"
15867
+ ],
15868
+ description: "Record field holding each image's URL (entity mode). Default `src`.",
15869
+ default: "src"
15870
+ },
15871
+ captionField: {
15872
+ types: [
15873
+ "string"
15874
+ ],
15875
+ description: "Record field holding each image's caption (entity mode). Default `caption`.",
15876
+ default: "caption"
15412
15877
  }
15413
15878
  }
15414
15879
  },
@@ -18381,6 +18846,44 @@ var patterns_registry_default = {
18381
18846
  ],
18382
18847
  description: "Whether this slot contains an event",
18383
18848
  default: false
18849
+ },
18850
+ onPointerDown: {
18851
+ types: [
18852
+ "function"
18853
+ ],
18854
+ description: "onPointerDown prop",
18855
+ kind: "callback",
18856
+ callbackArgs: []
18857
+ },
18858
+ onPointerUp: {
18859
+ types: [
18860
+ "function"
18861
+ ],
18862
+ description: "onPointerUp prop",
18863
+ kind: "callback",
18864
+ callbackArgs: []
18865
+ },
18866
+ onPointerCancel: {
18867
+ types: [
18868
+ "function"
18869
+ ],
18870
+ description: "onPointerCancel prop",
18871
+ kind: "callback",
18872
+ callbackArgs: []
18873
+ },
18874
+ onPointerLeave: {
18875
+ types: [
18876
+ "function"
18877
+ ],
18878
+ description: "onPointerLeave prop",
18879
+ kind: "callback",
18880
+ callbackArgs: []
18881
+ },
18882
+ "data-testid": {
18883
+ types: [
18884
+ "string"
18885
+ ],
18886
+ description: "data-testid prop"
18384
18887
  }
18385
18888
  }
18386
18889
  },
@@ -19400,6 +19903,28 @@ var patterns_registry_default = {
19400
19903
  ]
19401
19904
  },
19402
19905
  colorMap: {
19906
+ types: [
19907
+ "object"
19908
+ ],
19909
+ mapValue: {
19910
+ types: [
19911
+ "string"
19912
+ ],
19913
+ enumValues: [
19914
+ "default",
19915
+ "primary",
19916
+ "secondary",
19917
+ "success",
19918
+ "warning",
19919
+ "danger",
19920
+ "error",
19921
+ "info",
19922
+ "neutral",
19923
+ "destructive"
19924
+ ]
19925
+ }
19926
+ },
19927
+ labels: {
19403
19928
  types: [
19404
19929
  "object"
19405
19930
  ],
@@ -19468,6 +19993,28 @@ var patterns_registry_default = {
19468
19993
  ]
19469
19994
  },
19470
19995
  colorMap: {
19996
+ types: [
19997
+ "object"
19998
+ ],
19999
+ mapValue: {
20000
+ types: [
20001
+ "string"
20002
+ ],
20003
+ enumValues: [
20004
+ "default",
20005
+ "primary",
20006
+ "secondary",
20007
+ "success",
20008
+ "warning",
20009
+ "danger",
20010
+ "error",
20011
+ "info",
20012
+ "neutral",
20013
+ "destructive"
20014
+ ]
20015
+ }
20016
+ },
20017
+ labels: {
19471
20018
  types: [
19472
20019
  "object"
19473
20020
  ],
@@ -19540,6 +20087,26 @@ var patterns_registry_default = {
19540
20087
  ]
19541
20088
  }
19542
20089
  },
20090
+ itemClickEvent: {
20091
+ types: [
20092
+ "string"
20093
+ ],
20094
+ description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
20095
+ kind: "event-ref",
20096
+ entityRowField: "row",
20097
+ emitPayloadSchema: [
20098
+ {
20099
+ name: "id",
20100
+ type: "string",
20101
+ required: true
20102
+ },
20103
+ {
20104
+ name: "row",
20105
+ type: "@entity",
20106
+ required: true
20107
+ }
20108
+ ]
20109
+ },
19543
20110
  maxInlineActions: {
19544
20111
  types: [
19545
20112
  "number"
@@ -19955,6 +20522,38 @@ var patterns_registry_default = {
19955
20522
  "boolean",
19956
20523
  "percent"
19957
20524
  ]
20525
+ },
20526
+ colorMap: {
20527
+ types: [
20528
+ "object"
20529
+ ],
20530
+ mapValue: {
20531
+ types: [
20532
+ "string"
20533
+ ],
20534
+ enumValues: [
20535
+ "default",
20536
+ "primary",
20537
+ "secondary",
20538
+ "success",
20539
+ "warning",
20540
+ "danger",
20541
+ "error",
20542
+ "info",
20543
+ "neutral",
20544
+ "destructive"
20545
+ ]
20546
+ }
20547
+ },
20548
+ labels: {
20549
+ types: [
20550
+ "object"
20551
+ ],
20552
+ mapValue: {
20553
+ types: [
20554
+ "string"
20555
+ ]
20556
+ }
19958
20557
  }
19959
20558
  },
19960
20559
  required: [
@@ -20013,6 +20612,38 @@ var patterns_registry_default = {
20013
20612
  "boolean",
20014
20613
  "percent"
20015
20614
  ]
20615
+ },
20616
+ colorMap: {
20617
+ types: [
20618
+ "object"
20619
+ ],
20620
+ mapValue: {
20621
+ types: [
20622
+ "string"
20623
+ ],
20624
+ enumValues: [
20625
+ "default",
20626
+ "primary",
20627
+ "secondary",
20628
+ "success",
20629
+ "warning",
20630
+ "danger",
20631
+ "error",
20632
+ "info",
20633
+ "neutral",
20634
+ "destructive"
20635
+ ]
20636
+ }
20637
+ },
20638
+ labels: {
20639
+ types: [
20640
+ "object"
20641
+ ],
20642
+ mapValue: {
20643
+ types: [
20644
+ "string"
20645
+ ]
20646
+ }
20016
20647
  }
20017
20648
  },
20018
20649
  required: [
@@ -21528,7 +22159,7 @@ var patterns_registry_default = {
21528
22159
  types: [
21529
22160
  "string"
21530
22161
  ],
21531
- description: `"number" (locale grouping), "currency" ($x.xx), "percent" (rounded %). Unset keeps the value's own decimals.`
22162
+ description: `"number" (locale grouping), "currency" (locale currency), "percent" (rounded %). Unset keeps the value's own decimals.`
21532
22163
  },
21533
22164
  className: {
21534
22165
  types: [
@@ -22518,8 +23149,7 @@ var patterns_registry_default = {
22518
23149
  types: [
22519
23150
  "string"
22520
23151
  ],
22521
- description: "Label for the link button",
22522
- default: "Learn more"
23152
+ description: "Label for the link button"
22523
23153
  },
22524
23154
  variant: {
22525
23155
  types: [
@@ -23636,7 +24266,7 @@ var patterns_registry_default = {
23636
24266
  types: [
23637
24267
  "array"
23638
24268
  ],
23639
- description: "Scale points (defaults to a 5-point agree/disagree set)",
24269
+ description: "Scale points (defaults to a translated 5-point agree/disagree set)",
23640
24270
  items: {
23641
24271
  types: [
23642
24272
  "object"
@@ -25259,8 +25889,7 @@ var patterns_registry_default = {
25259
25889
  "string"
25260
25890
  ],
25261
25891
  description: "Choice text content",
25262
- required: true,
25263
- default: "Charge forward into the fray"
25892
+ required: true
25264
25893
  },
25265
25894
  index: {
25266
25895
  types: [
@@ -25637,16 +26266,14 @@ var patterns_registry_default = {
25637
26266
  types: [
25638
26267
  "string"
25639
26268
  ],
25640
- description: "Speaker name displayed at the top",
25641
- default: "Hero"
26269
+ description: "Speaker name displayed at the top"
25642
26270
  },
25643
26271
  text: {
25644
26272
  types: [
25645
26273
  "string"
25646
26274
  ],
25647
26275
  description: "Dialogue text content",
25648
- required: true,
25649
- default: "The dungeon awaits. Choose your path wisely."
26276
+ required: true
25650
26277
  },
25651
26278
  portrait: {
25652
26279
  types: [
@@ -26230,8 +26857,7 @@ var patterns_registry_default = {
26230
26857
  types: [
26231
26858
  "string"
26232
26859
  ],
26233
- description: "Number formatting locale",
26234
- default: "en-US"
26860
+ description: "Number formatting locale"
26235
26861
  }
26236
26862
  }
26237
26863
  },
@@ -29724,8 +30350,7 @@ var patterns_registry_default = {
29724
30350
  "string"
29725
30351
  ],
29726
30352
  description: "Menu title",
29727
- required: true,
29728
- default: "Epic Quest"
30353
+ required: true
29729
30354
  },
29730
30355
  subtitle: {
29731
30356
  types: [
@@ -33422,7 +34047,7 @@ var patterns_registry_default = {
33422
34047
  types: [
33423
34048
  "array"
33424
34049
  ],
33425
- description: "Preset shortcuts. Defaults to the standard finance set (Last 7d / Last 30d / This Month / This Quarter / YTD). Pass an empty array to hide presets entirely.",
34050
+ description: "Preset shortcuts. Defaults to the translated standard finance set (Last 7d / Last 30d / This Month / This Quarter / YTD). Pass an empty array to hide presets entirely.",
33426
34051
  items: {
33427
34052
  types: [
33428
34053
  "object"
@@ -33471,15 +34096,13 @@ var patterns_registry_default = {
33471
34096
  types: [
33472
34097
  "string"
33473
34098
  ],
33474
- description: "From-input label.",
33475
- default: "From"
34099
+ description: "From-input label."
33476
34100
  },
33477
34101
  toLabel: {
33478
34102
  types: [
33479
34103
  "string"
33480
34104
  ],
33481
- description: "To-input label.",
33482
- default: "To"
34105
+ description: "To-input label."
33483
34106
  },
33484
34107
  className: {
33485
34108
  types: [
@@ -33895,6 +34518,47 @@ var patterns_registry_default = {
33895
34518
  "boolean"
33896
34519
  ]
33897
34520
  },
34521
+ colorMap: {
34522
+ types: [
34523
+ "object"
34524
+ ],
34525
+ mapValue: {
34526
+ types: [
34527
+ "string"
34528
+ ],
34529
+ enumValues: [
34530
+ "default",
34531
+ "primary",
34532
+ "secondary",
34533
+ "success",
34534
+ "warning",
34535
+ "danger",
34536
+ "error",
34537
+ "info",
34538
+ "neutral",
34539
+ "destructive"
34540
+ ]
34541
+ }
34542
+ },
34543
+ labels: {
34544
+ types: [
34545
+ "object"
34546
+ ],
34547
+ mapValue: {
34548
+ types: [
34549
+ "string"
34550
+ ]
34551
+ }
34552
+ },
34553
+ variant: {
34554
+ types: [
34555
+ "string"
34556
+ ],
34557
+ enumValues: [
34558
+ "h3",
34559
+ "h4"
34560
+ ]
34561
+ },
33898
34562
  icon: {
33899
34563
  types: [
33900
34564
  "icon",
@@ -33985,6 +34649,47 @@ var patterns_registry_default = {
33985
34649
  "boolean"
33986
34650
  ]
33987
34651
  },
34652
+ colorMap: {
34653
+ types: [
34654
+ "object"
34655
+ ],
34656
+ mapValue: {
34657
+ types: [
34658
+ "string"
34659
+ ],
34660
+ enumValues: [
34661
+ "default",
34662
+ "primary",
34663
+ "secondary",
34664
+ "success",
34665
+ "warning",
34666
+ "danger",
34667
+ "error",
34668
+ "info",
34669
+ "neutral",
34670
+ "destructive"
34671
+ ]
34672
+ }
34673
+ },
34674
+ labels: {
34675
+ types: [
34676
+ "object"
34677
+ ],
34678
+ mapValue: {
34679
+ types: [
34680
+ "string"
34681
+ ]
34682
+ }
34683
+ },
34684
+ variant: {
34685
+ types: [
34686
+ "string"
34687
+ ],
34688
+ enumValues: [
34689
+ "h3",
34690
+ "h4"
34691
+ ]
34692
+ },
33988
34693
  icon: {
33989
34694
  types: [
33990
34695
  "icon",
@@ -34065,9 +34770,21 @@ var patterns_registry_default = {
34065
34770
  types: [
34066
34771
  "string"
34067
34772
  ],
34068
- description: "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. When OMITTED and `itemActions` exist, the row click defaults to the first non-danger item action (the view/open action by authoring convention) \u2014 a danger action never becomes the row default (destructive actions require intentional reach).",
34069
- kind: "event",
34070
- default: ""
34773
+ description: "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. Omit = rows are not clickable.",
34774
+ kind: "event-ref",
34775
+ entityRowField: "row",
34776
+ emitPayloadSchema: [
34777
+ {
34778
+ name: "id",
34779
+ type: "string",
34780
+ required: true
34781
+ },
34782
+ {
34783
+ name: "row",
34784
+ type: "@entity",
34785
+ required: true
34786
+ }
34787
+ ]
34071
34788
  },
34072
34789
  selectable: {
34073
34790
  types: [
@@ -34591,6 +35308,38 @@ var patterns_registry_default = {
34591
35308
  types: [
34592
35309
  "string"
34593
35310
  ]
35311
+ },
35312
+ aggregate: {
35313
+ types: [
35314
+ "string"
35315
+ ],
35316
+ enumValues: [
35317
+ "count",
35318
+ "sum"
35319
+ ]
35320
+ },
35321
+ filter: {
35322
+ types: [
35323
+ "object"
35324
+ ],
35325
+ properties: {
35326
+ field: {
35327
+ types: [
35328
+ "string"
35329
+ ]
35330
+ },
35331
+ equals: {
35332
+ types: [
35333
+ "string",
35334
+ "number",
35335
+ "boolean"
35336
+ ]
35337
+ }
35338
+ },
35339
+ required: [
35340
+ "field",
35341
+ "equals"
35342
+ ]
34594
35343
  }
34595
35344
  },
34596
35345
  required: [
@@ -36718,6 +37467,12 @@ var patterns_registry_default = {
36718
37467
  ],
36719
37468
  description: "Role for accessibility"
36720
37469
  },
37470
+ id: {
37471
+ types: [
37472
+ "string"
37473
+ ],
37474
+ description: "Element id"
37475
+ },
36721
37476
  tabIndex: {
36722
37477
  types: [
36723
37478
  "number"
@@ -36890,6 +37645,12 @@ var patterns_registry_default = {
36890
37645
  ],
36891
37646
  description: "Role for accessibility"
36892
37647
  },
37648
+ id: {
37649
+ types: [
37650
+ "string"
37651
+ ],
37652
+ description: "Element id"
37653
+ },
36893
37654
  tabIndex: {
36894
37655
  types: [
36895
37656
  "number"
@@ -47255,6 +48016,11 @@ var patterns_registry_default = {
47255
48016
  "string"
47256
48017
  ]
47257
48018
  },
48019
+ title: {
48020
+ types: [
48021
+ "string"
48022
+ ]
48023
+ },
47258
48024
  fields: {
47259
48025
  types: [
47260
48026
  "object"
@@ -47355,15 +48121,13 @@ var patterns_registry_default = {
47355
48121
  types: [
47356
48122
  "string"
47357
48123
  ],
47358
- description: "Confirm button label",
47359
- default: "Confirm import"
48124
+ description: "Confirm button label"
47360
48125
  },
47361
48126
  cancelLabel: {
47362
48127
  types: [
47363
48128
  "string"
47364
48129
  ],
47365
- description: "Cancel button label",
47366
- default: "Cancel"
48130
+ description: "Cancel button label"
47367
48131
  },
47368
48132
  indent: {
47369
48133
  types: [
@@ -47857,8 +48621,7 @@ var patterns_registry_default = {
47857
48621
  types: [
47858
48622
  "string"
47859
48623
  ],
47860
- description: "Accessible label for the trigger button",
47861
- default: "Add emoji"
48624
+ description: "Accessible label for the trigger button"
47862
48625
  },
47863
48626
  className: {
47864
48627
  types: [
@@ -49852,6 +50615,16 @@ var patterns_registry_default = {
49852
50615
  ]
49853
50616
  }
49854
50617
  },
50618
+ labels: {
50619
+ types: [
50620
+ "object"
50621
+ ],
50622
+ mapValue: {
50623
+ types: [
50624
+ "string"
50625
+ ]
50626
+ }
50627
+ },
49855
50628
  format: {
49856
50629
  types: [
49857
50630
  "string"
@@ -50510,15 +51283,13 @@ var patterns_registry_default = {
50510
51283
  types: [
50511
51284
  "string"
50512
51285
  ],
50513
- description: "Search field placeholder. Consumers own i18n \u2014 plain string prop, no package-internal translation (matches FloatingToolbar's convention).",
50514
- default: "Type a command..."
51286
+ description: 'Search field placeholder. Defaults to the translated "Type a command...".'
50515
51287
  },
50516
51288
  emptyLabel: {
50517
51289
  types: [
50518
51290
  "string"
50519
51291
  ],
50520
- description: "Label shown when no command matches the query",
50521
- default: "No matching commands"
51292
+ description: "Label shown when no command matches the query. Defaults to the translated message."
50522
51293
  },
50523
51294
  className: {
50524
51295
  types: [
@@ -51249,9 +52020,32 @@ var patterns_registry_default = {
51249
52020
  types: [
51250
52021
  "string"
51251
52022
  ],
51252
- description: "Row field holding the bar status (drives bar colour). Defaults to `status`.",
52023
+ description: "Row field holding the bar status. Defaults to `status`.",
51253
52024
  default: "status"
51254
52025
  },
52026
+ statusColorMap: {
52027
+ types: [
52028
+ "object"
52029
+ ],
52030
+ description: "Bar colour per exact status value; unmapped statuses are primary bars.",
52031
+ mapValue: {
52032
+ types: [
52033
+ "string"
52034
+ ],
52035
+ enumValues: [
52036
+ "default",
52037
+ "primary",
52038
+ "secondary",
52039
+ "success",
52040
+ "warning",
52041
+ "danger",
52042
+ "error",
52043
+ "info",
52044
+ "neutral",
52045
+ "destructive"
52046
+ ]
52047
+ }
52048
+ },
51255
52049
  groupField: {
51256
52050
  types: [
51257
52051
  "string"
@@ -56666,7 +57460,7 @@ var integrators_registry_default = {
56666
57460
  // src/patterns/component-mapping.json
56667
57461
  var component_mapping_default = {
56668
57462
  version: "1.0.0",
56669
- exportedAt: "2026-09-30T15:57:56.420Z",
57463
+ exportedAt: "2026-09-30T21:06:42.691Z",
56670
57464
  mappings: {
56671
57465
  "page-header": {
56672
57466
  component: "PageHeader",
@@ -57976,7 +58770,7 @@ var component_mapping_default = {
57976
58770
  // src/patterns/event-contracts.json
57977
58771
  var event_contracts_default = {
57978
58772
  version: "1.0.0",
57979
- exportedAt: "2026-09-30T15:57:56.420Z",
58773
+ exportedAt: "2026-09-30T21:06:42.691Z",
57980
58774
  contracts: {
57981
58775
  form: {
57982
58776
  emits: [
@@ -58096,13 +58890,6 @@ var event_contracts_default = {
58096
58890
  type: "object"
58097
58891
  }
58098
58892
  },
58099
- {
58100
- event: "VIEW",
58101
- trigger: "action",
58102
- payload: {
58103
- type: "object"
58104
- }
58105
- },
58106
58893
  {
58107
58894
  event: "DESELECT",
58108
58895
  trigger: "action",