@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
@@ -1272,6 +1272,28 @@ var patterns_registry_default = {
1272
1272
  "boolean"
1273
1273
  ]
1274
1274
  },
1275
+ align: {
1276
+ types: [
1277
+ "string"
1278
+ ],
1279
+ enumValues: [
1280
+ "left",
1281
+ "center",
1282
+ "right"
1283
+ ]
1284
+ },
1285
+ format: {
1286
+ types: [
1287
+ "string"
1288
+ ],
1289
+ enumValues: [
1290
+ "date",
1291
+ "currency",
1292
+ "number",
1293
+ "boolean",
1294
+ "percent"
1295
+ ]
1296
+ },
1275
1297
  render: {
1276
1298
  types: [
1277
1299
  "function"
@@ -1320,6 +1342,28 @@ var patterns_registry_default = {
1320
1342
  "boolean"
1321
1343
  ]
1322
1344
  },
1345
+ align: {
1346
+ types: [
1347
+ "string"
1348
+ ],
1349
+ enumValues: [
1350
+ "left",
1351
+ "center",
1352
+ "right"
1353
+ ]
1354
+ },
1355
+ format: {
1356
+ types: [
1357
+ "string"
1358
+ ],
1359
+ enumValues: [
1360
+ "date",
1361
+ "currency",
1362
+ "number",
1363
+ "boolean",
1364
+ "percent"
1365
+ ]
1366
+ },
1323
1367
  render: {
1324
1368
  types: [
1325
1369
  "function"
@@ -1328,6 +1372,26 @@ var patterns_registry_default = {
1328
1372
  }
1329
1373
  }
1330
1374
  },
1375
+ itemClickEvent: {
1376
+ types: [
1377
+ "string"
1378
+ ],
1379
+ description: "When set, rows are activatable and emit UI:{itemClickEvent} with { id, row }",
1380
+ kind: "event-ref",
1381
+ entityRowField: "row",
1382
+ emitPayloadSchema: [
1383
+ {
1384
+ name: "id",
1385
+ type: "string",
1386
+ required: true
1387
+ },
1388
+ {
1389
+ name: "row",
1390
+ type: "@entity",
1391
+ required: true
1392
+ }
1393
+ ]
1394
+ },
1331
1395
  itemActions: {
1332
1396
  types: [
1333
1397
  "array"
@@ -1819,6 +1883,12 @@ var patterns_registry_default = {
1819
1883
  "default"
1820
1884
  ]
1821
1885
  },
1886
+ icon: {
1887
+ types: [
1888
+ "icon",
1889
+ "string"
1890
+ ]
1891
+ },
1822
1892
  onClick: {
1823
1893
  types: [
1824
1894
  "function"
@@ -1975,7 +2045,7 @@ var patterns_registry_default = {
1975
2045
  types: [
1976
2046
  "array"
1977
2047
  ],
1978
- description: "Fields to display - accepts string[] or {key, header}[] for unified interface",
2048
+ description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
1979
2049
  required: true,
1980
2050
  items: {
1981
2051
  types: [
@@ -1983,27 +2053,84 @@ var patterns_registry_default = {
1983
2053
  "object"
1984
2054
  ],
1985
2055
  properties: {
1986
- key: {
2056
+ name: {
1987
2057
  types: [
1988
2058
  "string"
1989
2059
  ]
1990
2060
  },
1991
- header: {
2061
+ label: {
1992
2062
  types: [
1993
2063
  "string"
1994
2064
  ]
1995
2065
  },
1996
- name: {
2066
+ icon: {
1997
2067
  types: [
2068
+ "icon",
1998
2069
  "string"
1999
2070
  ]
2000
2071
  },
2001
- label: {
2072
+ variant: {
2002
2073
  types: [
2003
2074
  "string"
2075
+ ],
2076
+ enumValues: [
2077
+ "h3",
2078
+ "h4",
2079
+ "body",
2080
+ "caption",
2081
+ "badge",
2082
+ "small",
2083
+ "progress"
2084
+ ]
2085
+ },
2086
+ format: {
2087
+ types: [
2088
+ "string"
2089
+ ],
2090
+ enumValues: [
2091
+ "date",
2092
+ "currency",
2093
+ "number",
2094
+ "boolean",
2095
+ "percent"
2004
2096
  ]
2097
+ },
2098
+ colorMap: {
2099
+ types: [
2100
+ "object"
2101
+ ],
2102
+ mapValue: {
2103
+ types: [
2104
+ "string"
2105
+ ],
2106
+ enumValues: [
2107
+ "default",
2108
+ "primary",
2109
+ "secondary",
2110
+ "success",
2111
+ "warning",
2112
+ "danger",
2113
+ "error",
2114
+ "info",
2115
+ "neutral",
2116
+ "destructive"
2117
+ ]
2118
+ }
2119
+ },
2120
+ labels: {
2121
+ types: [
2122
+ "object"
2123
+ ],
2124
+ mapValue: {
2125
+ types: [
2126
+ "string"
2127
+ ]
2128
+ }
2005
2129
  }
2006
- }
2130
+ },
2131
+ required: [
2132
+ "name"
2133
+ ]
2007
2134
  }
2008
2135
  },
2009
2136
  fieldNames: {
@@ -2016,6 +2143,38 @@ var patterns_registry_default = {
2016
2143
  "string"
2017
2144
  ]
2018
2145
  }
2146
+ },
2147
+ itemClickEvent: {
2148
+ types: [
2149
+ "string"
2150
+ ],
2151
+ description: "When set, clicking a row emits UI:{itemClickEvent} with { id, row }. Omit = rows are not clickable.",
2152
+ kind: "event-ref",
2153
+ entityRowField: "row",
2154
+ emitPayloadSchema: [
2155
+ {
2156
+ name: "id",
2157
+ type: "string",
2158
+ required: true
2159
+ },
2160
+ {
2161
+ name: "row",
2162
+ type: "@entity",
2163
+ required: true
2164
+ }
2165
+ ]
2166
+ },
2167
+ completedField: {
2168
+ types: [
2169
+ "string"
2170
+ ],
2171
+ description: "Row field that marks an item completed (`true` strikes its title through)"
2172
+ },
2173
+ disabledField: {
2174
+ types: [
2175
+ "string"
2176
+ ],
2177
+ description: "Row field that marks an item disabled (`true` dims the row and disables its click)"
2019
2178
  }
2020
2179
  }
2021
2180
  },
@@ -2216,27 +2375,84 @@ var patterns_registry_default = {
2216
2375
  "object"
2217
2376
  ],
2218
2377
  properties: {
2219
- key: {
2378
+ name: {
2220
2379
  types: [
2221
2380
  "string"
2222
2381
  ]
2223
2382
  },
2224
- header: {
2383
+ label: {
2225
2384
  types: [
2226
2385
  "string"
2227
2386
  ]
2228
2387
  },
2229
- name: {
2388
+ icon: {
2230
2389
  types: [
2390
+ "icon",
2231
2391
  "string"
2232
2392
  ]
2233
2393
  },
2234
- label: {
2394
+ variant: {
2235
2395
  types: [
2236
2396
  "string"
2397
+ ],
2398
+ enumValues: [
2399
+ "h3",
2400
+ "h4",
2401
+ "body",
2402
+ "caption",
2403
+ "badge",
2404
+ "small",
2405
+ "progress"
2237
2406
  ]
2407
+ },
2408
+ format: {
2409
+ types: [
2410
+ "string"
2411
+ ],
2412
+ enumValues: [
2413
+ "date",
2414
+ "currency",
2415
+ "number",
2416
+ "boolean",
2417
+ "percent"
2418
+ ]
2419
+ },
2420
+ colorMap: {
2421
+ types: [
2422
+ "object"
2423
+ ],
2424
+ mapValue: {
2425
+ types: [
2426
+ "string"
2427
+ ],
2428
+ enumValues: [
2429
+ "default",
2430
+ "primary",
2431
+ "secondary",
2432
+ "success",
2433
+ "warning",
2434
+ "danger",
2435
+ "error",
2436
+ "info",
2437
+ "neutral",
2438
+ "destructive"
2439
+ ]
2440
+ }
2441
+ },
2442
+ labels: {
2443
+ types: [
2444
+ "object"
2445
+ ],
2446
+ mapValue: {
2447
+ types: [
2448
+ "string"
2449
+ ]
2450
+ }
2238
2451
  }
2239
- }
2452
+ },
2453
+ required: [
2454
+ "name"
2455
+ ]
2240
2456
  }
2241
2457
  },
2242
2458
  fieldNames: {
@@ -2261,29 +2477,106 @@ var patterns_registry_default = {
2261
2477
  "object"
2262
2478
  ],
2263
2479
  properties: {
2264
- key: {
2480
+ name: {
2265
2481
  types: [
2266
2482
  "string"
2267
2483
  ]
2268
2484
  },
2269
- header: {
2485
+ label: {
2270
2486
  types: [
2271
2487
  "string"
2272
2488
  ]
2273
2489
  },
2274
- name: {
2490
+ icon: {
2275
2491
  types: [
2492
+ "icon",
2276
2493
  "string"
2277
2494
  ]
2278
2495
  },
2279
- label: {
2496
+ variant: {
2280
2497
  types: [
2281
2498
  "string"
2499
+ ],
2500
+ enumValues: [
2501
+ "h3",
2502
+ "h4",
2503
+ "body",
2504
+ "caption",
2505
+ "badge",
2506
+ "small",
2507
+ "progress"
2282
2508
  ]
2509
+ },
2510
+ format: {
2511
+ types: [
2512
+ "string"
2513
+ ],
2514
+ enumValues: [
2515
+ "date",
2516
+ "currency",
2517
+ "number",
2518
+ "boolean",
2519
+ "percent"
2520
+ ]
2521
+ },
2522
+ colorMap: {
2523
+ types: [
2524
+ "object"
2525
+ ],
2526
+ mapValue: {
2527
+ types: [
2528
+ "string"
2529
+ ],
2530
+ enumValues: [
2531
+ "default",
2532
+ "primary",
2533
+ "secondary",
2534
+ "success",
2535
+ "warning",
2536
+ "danger",
2537
+ "error",
2538
+ "info",
2539
+ "neutral",
2540
+ "destructive"
2541
+ ]
2542
+ }
2543
+ },
2544
+ labels: {
2545
+ types: [
2546
+ "object"
2547
+ ],
2548
+ mapValue: {
2549
+ types: [
2550
+ "string"
2551
+ ]
2552
+ }
2283
2553
  }
2284
- }
2554
+ },
2555
+ required: [
2556
+ "name"
2557
+ ]
2285
2558
  }
2286
2559
  },
2560
+ itemClickEvent: {
2561
+ types: [
2562
+ "string"
2563
+ ],
2564
+ description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
2565
+ kind: "event-ref",
2566
+ entityRowField: "row",
2567
+ emitPayloadSchema: [
2568
+ {
2569
+ name: "id",
2570
+ type: "string",
2571
+ required: true
2572
+ },
2573
+ {
2574
+ name: "row",
2575
+ type: "@entity",
2576
+ required: true
2577
+ }
2578
+ ]
2579
+ },
2287
2580
  itemActions: {
2288
2581
  types: [
2289
2582
  "array"
@@ -2744,6 +3037,13 @@ var patterns_registry_default = {
2744
3037
  "label"
2745
3038
  ]
2746
3039
  },
3040
+ closeEvent: {
3041
+ types: [
3042
+ "string"
3043
+ ],
3044
+ 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.",
3045
+ kind: "event"
3046
+ },
2747
3047
  footer: {
2748
3048
  types: [
2749
3049
  "node"
@@ -2761,7 +3061,7 @@ var patterns_registry_default = {
2761
3061
  types: [
2762
3062
  "array"
2763
3063
  ],
2764
- description: "Fields to display - accepts string[], {key, header}[], or DetailField[]",
3064
+ description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
2765
3065
  required: true,
2766
3066
  items: {
2767
3067
  types: [
@@ -2769,16 +3069,80 @@ var patterns_registry_default = {
2769
3069
  "object"
2770
3070
  ],
2771
3071
  properties: {
2772
- key: {
3072
+ name: {
2773
3073
  types: [
2774
3074
  "string"
2775
3075
  ]
2776
3076
  },
2777
- header: {
3077
+ label: {
2778
3078
  types: [
2779
3079
  "string"
2780
3080
  ]
2781
3081
  },
3082
+ icon: {
3083
+ types: [
3084
+ "icon",
3085
+ "string"
3086
+ ]
3087
+ },
3088
+ variant: {
3089
+ types: [
3090
+ "string"
3091
+ ],
3092
+ enumValues: [
3093
+ "h3",
3094
+ "h4",
3095
+ "body",
3096
+ "caption",
3097
+ "badge",
3098
+ "small",
3099
+ "progress"
3100
+ ]
3101
+ },
3102
+ format: {
3103
+ types: [
3104
+ "string"
3105
+ ],
3106
+ enumValues: [
3107
+ "date",
3108
+ "currency",
3109
+ "number",
3110
+ "boolean",
3111
+ "percent"
3112
+ ]
3113
+ },
3114
+ colorMap: {
3115
+ types: [
3116
+ "object"
3117
+ ],
3118
+ mapValue: {
3119
+ types: [
3120
+ "string"
3121
+ ],
3122
+ enumValues: [
3123
+ "default",
3124
+ "primary",
3125
+ "secondary",
3126
+ "success",
3127
+ "warning",
3128
+ "danger",
3129
+ "error",
3130
+ "info",
3131
+ "neutral",
3132
+ "destructive"
3133
+ ]
3134
+ }
3135
+ },
3136
+ labels: {
3137
+ types: [
3138
+ "object"
3139
+ ],
3140
+ mapValue: {
3141
+ types: [
3142
+ "string"
3143
+ ]
3144
+ }
3145
+ },
2782
3146
  type: {
2783
3147
  types: [
2784
3148
  "string"
@@ -2823,7 +3187,7 @@ var patterns_registry_default = {
2823
3187
  }
2824
3188
  },
2825
3189
  required: [
2826
- "key"
3190
+ "name"
2827
3191
  ]
2828
3192
  }
2829
3193
  },
@@ -3370,6 +3734,16 @@ var patterns_registry_default = {
3370
3734
  ]
3371
3735
  }
3372
3736
  },
3737
+ labels: {
3738
+ types: [
3739
+ "object"
3740
+ ],
3741
+ mapValue: {
3742
+ types: [
3743
+ "string"
3744
+ ]
3745
+ }
3746
+ },
3373
3747
  relation: {
3374
3748
  types: [
3375
3749
  "object"
@@ -3928,6 +4302,16 @@ var patterns_registry_default = {
3928
4302
  ]
3929
4303
  }
3930
4304
  },
4305
+ labels: {
4306
+ types: [
4307
+ "object"
4308
+ ],
4309
+ mapValue: {
4310
+ types: [
4311
+ "string"
4312
+ ]
4313
+ }
4314
+ },
3931
4315
  relation: {
3932
4316
  types: [
3933
4317
  "object"
@@ -4287,6 +4671,16 @@ var patterns_registry_default = {
4287
4671
  ]
4288
4672
  }
4289
4673
  },
4674
+ labels: {
4675
+ types: [
4676
+ "object"
4677
+ ],
4678
+ mapValue: {
4679
+ types: [
4680
+ "string"
4681
+ ]
4682
+ }
4683
+ },
4290
4684
  relation: {
4291
4685
  types: [
4292
4686
  "object"
@@ -4845,6 +5239,16 @@ var patterns_registry_default = {
4845
5239
  ]
4846
5240
  }
4847
5241
  },
5242
+ labels: {
5243
+ types: [
5244
+ "object"
5245
+ ],
5246
+ mapValue: {
5247
+ types: [
5248
+ "string"
5249
+ ]
5250
+ }
5251
+ },
4848
5252
  relation: {
4849
5253
  types: [
4850
5254
  "object"
@@ -10404,6 +10808,13 @@ var patterns_registry_default = {
10404
10808
  ],
10405
10809
  description: "actions prop"
10406
10810
  },
10811
+ icon: {
10812
+ types: [
10813
+ "icon",
10814
+ "string"
10815
+ ],
10816
+ description: "Icon shown instead of the variant's default (Lucide name or component)"
10817
+ },
10407
10818
  className: {
10408
10819
  types: [
10409
10820
  "string"
@@ -10609,6 +11020,15 @@ var patterns_registry_default = {
10609
11020
  "object"
10610
11021
  ],
10611
11022
  properties: {
11023
+ type: {
11024
+ types: [
11025
+ "string"
11026
+ ],
11027
+ enumValues: [
11028
+ "item",
11029
+ "divider"
11030
+ ]
11031
+ },
10612
11032
  id: {
10613
11033
  types: [
10614
11034
  "string"
@@ -11636,6 +12056,12 @@ var patterns_registry_default = {
11636
12056
  ],
11637
12057
  description: "Role for accessibility"
11638
12058
  },
12059
+ id: {
12060
+ types: [
12061
+ "string"
12062
+ ],
12063
+ description: "Element id"
12064
+ },
11639
12065
  tabIndex: {
11640
12066
  types: [
11641
12067
  "number"
@@ -11973,6 +12399,12 @@ var patterns_registry_default = {
11973
12399
  ]
11974
12400
  }
11975
12401
  },
12402
+ role: {
12403
+ types: [
12404
+ "string"
12405
+ ],
12406
+ description: "Accessibility role"
12407
+ },
11976
12408
  format: {
11977
12409
  types: [
11978
12410
  "string"
@@ -14584,8 +15016,7 @@ var patterns_registry_default = {
14584
15016
  types: [
14585
15017
  "string"
14586
15018
  ],
14587
- description: "App name",
14588
- default: "My App"
15019
+ description: "App name"
14589
15020
  },
14590
15021
  logo: {
14591
15022
  types: [
@@ -14732,8 +15163,7 @@ var patterns_registry_default = {
14732
15163
  types: [
14733
15164
  "string"
14734
15165
  ],
14735
- description: "Title displayed above the counter",
14736
- default: "Counter"
15166
+ description: "Title displayed above the counter"
14737
15167
  },
14738
15168
  showReset: {
14739
15169
  types: [
@@ -14785,8 +15215,7 @@ var patterns_registry_default = {
14785
15215
  types: [
14786
15216
  "string"
14787
15217
  ],
14788
- description: "App name shown in sidebar",
14789
- default: "{{APP_TITLE}}"
15218
+ description: "App name shown in sidebar"
14790
15219
  },
14791
15220
  logo: {
14792
15221
  types: [
@@ -15161,8 +15590,7 @@ var patterns_registry_default = {
15161
15590
  types: [
15162
15591
  "string"
15163
15592
  ],
15164
- description: "Application / game title shown as a floating chip",
15165
- default: "Game"
15593
+ description: "Application / game title shown as a floating chip"
15166
15594
  },
15167
15595
  hud: {
15168
15596
  types: [
@@ -16125,14 +16553,37 @@ var patterns_registry_default = {
16125
16553
  types: [
16126
16554
  "array"
16127
16555
  ],
16128
- description: "Fields to display",
16129
- required: true,
16556
+ description: "Entity fields the timeline draws; each slot is named by its own `*Field` prop.",
16130
16557
  items: {
16131
16558
  types: [
16132
16559
  "string"
16133
16560
  ]
16134
16561
  }
16135
16562
  },
16563
+ titleField: {
16564
+ types: [
16565
+ "string"
16566
+ ],
16567
+ description: "Entity field holding each item's title."
16568
+ },
16569
+ descriptionField: {
16570
+ types: [
16571
+ "string"
16572
+ ],
16573
+ description: "Entity field holding each item's description."
16574
+ },
16575
+ dateField: {
16576
+ types: [
16577
+ "string"
16578
+ ],
16579
+ description: "Entity field holding each item's date."
16580
+ },
16581
+ statusField: {
16582
+ types: [
16583
+ "string"
16584
+ ],
16585
+ description: "Entity field holding each item's status (complete | active | pending | error)."
16586
+ },
16136
16587
  itemActions: {
16137
16588
  types: [
16138
16589
  "array"
@@ -16501,6 +16952,20 @@ var patterns_registry_default = {
16501
16952
  "portrait"
16502
16953
  ],
16503
16954
  default: "square"
16955
+ },
16956
+ srcField: {
16957
+ types: [
16958
+ "string"
16959
+ ],
16960
+ description: "Record field holding each image's URL (entity mode). Default `src`.",
16961
+ default: "src"
16962
+ },
16963
+ captionField: {
16964
+ types: [
16965
+ "string"
16966
+ ],
16967
+ description: "Record field holding each image's caption (entity mode). Default `caption`.",
16968
+ default: "caption"
16504
16969
  }
16505
16970
  }
16506
16971
  },
@@ -19473,6 +19938,44 @@ var patterns_registry_default = {
19473
19938
  ],
19474
19939
  description: "Whether this slot contains an event",
19475
19940
  default: false
19941
+ },
19942
+ onPointerDown: {
19943
+ types: [
19944
+ "function"
19945
+ ],
19946
+ description: "onPointerDown prop",
19947
+ kind: "callback",
19948
+ callbackArgs: []
19949
+ },
19950
+ onPointerUp: {
19951
+ types: [
19952
+ "function"
19953
+ ],
19954
+ description: "onPointerUp prop",
19955
+ kind: "callback",
19956
+ callbackArgs: []
19957
+ },
19958
+ onPointerCancel: {
19959
+ types: [
19960
+ "function"
19961
+ ],
19962
+ description: "onPointerCancel prop",
19963
+ kind: "callback",
19964
+ callbackArgs: []
19965
+ },
19966
+ onPointerLeave: {
19967
+ types: [
19968
+ "function"
19969
+ ],
19970
+ description: "onPointerLeave prop",
19971
+ kind: "callback",
19972
+ callbackArgs: []
19973
+ },
19974
+ "data-testid": {
19975
+ types: [
19976
+ "string"
19977
+ ],
19978
+ description: "data-testid prop"
19476
19979
  }
19477
19980
  }
19478
19981
  },
@@ -20492,6 +20995,28 @@ var patterns_registry_default = {
20492
20995
  ]
20493
20996
  },
20494
20997
  colorMap: {
20998
+ types: [
20999
+ "object"
21000
+ ],
21001
+ mapValue: {
21002
+ types: [
21003
+ "string"
21004
+ ],
21005
+ enumValues: [
21006
+ "default",
21007
+ "primary",
21008
+ "secondary",
21009
+ "success",
21010
+ "warning",
21011
+ "danger",
21012
+ "error",
21013
+ "info",
21014
+ "neutral",
21015
+ "destructive"
21016
+ ]
21017
+ }
21018
+ },
21019
+ labels: {
20495
21020
  types: [
20496
21021
  "object"
20497
21022
  ],
@@ -20560,6 +21085,28 @@ var patterns_registry_default = {
20560
21085
  ]
20561
21086
  },
20562
21087
  colorMap: {
21088
+ types: [
21089
+ "object"
21090
+ ],
21091
+ mapValue: {
21092
+ types: [
21093
+ "string"
21094
+ ],
21095
+ enumValues: [
21096
+ "default",
21097
+ "primary",
21098
+ "secondary",
21099
+ "success",
21100
+ "warning",
21101
+ "danger",
21102
+ "error",
21103
+ "info",
21104
+ "neutral",
21105
+ "destructive"
21106
+ ]
21107
+ }
21108
+ },
21109
+ labels: {
20563
21110
  types: [
20564
21111
  "object"
20565
21112
  ],
@@ -20632,6 +21179,26 @@ var patterns_registry_default = {
20632
21179
  ]
20633
21180
  }
20634
21181
  },
21182
+ itemClickEvent: {
21183
+ types: [
21184
+ "string"
21185
+ ],
21186
+ description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
21187
+ kind: "event-ref",
21188
+ entityRowField: "row",
21189
+ emitPayloadSchema: [
21190
+ {
21191
+ name: "id",
21192
+ type: "string",
21193
+ required: true
21194
+ },
21195
+ {
21196
+ name: "row",
21197
+ type: "@entity",
21198
+ required: true
21199
+ }
21200
+ ]
21201
+ },
20635
21202
  maxInlineActions: {
20636
21203
  types: [
20637
21204
  "number"
@@ -21047,6 +21614,38 @@ var patterns_registry_default = {
21047
21614
  "boolean",
21048
21615
  "percent"
21049
21616
  ]
21617
+ },
21618
+ colorMap: {
21619
+ types: [
21620
+ "object"
21621
+ ],
21622
+ mapValue: {
21623
+ types: [
21624
+ "string"
21625
+ ],
21626
+ enumValues: [
21627
+ "default",
21628
+ "primary",
21629
+ "secondary",
21630
+ "success",
21631
+ "warning",
21632
+ "danger",
21633
+ "error",
21634
+ "info",
21635
+ "neutral",
21636
+ "destructive"
21637
+ ]
21638
+ }
21639
+ },
21640
+ labels: {
21641
+ types: [
21642
+ "object"
21643
+ ],
21644
+ mapValue: {
21645
+ types: [
21646
+ "string"
21647
+ ]
21648
+ }
21050
21649
  }
21051
21650
  },
21052
21651
  required: [
@@ -21105,6 +21704,38 @@ var patterns_registry_default = {
21105
21704
  "boolean",
21106
21705
  "percent"
21107
21706
  ]
21707
+ },
21708
+ colorMap: {
21709
+ types: [
21710
+ "object"
21711
+ ],
21712
+ mapValue: {
21713
+ types: [
21714
+ "string"
21715
+ ],
21716
+ enumValues: [
21717
+ "default",
21718
+ "primary",
21719
+ "secondary",
21720
+ "success",
21721
+ "warning",
21722
+ "danger",
21723
+ "error",
21724
+ "info",
21725
+ "neutral",
21726
+ "destructive"
21727
+ ]
21728
+ }
21729
+ },
21730
+ labels: {
21731
+ types: [
21732
+ "object"
21733
+ ],
21734
+ mapValue: {
21735
+ types: [
21736
+ "string"
21737
+ ]
21738
+ }
21108
21739
  }
21109
21740
  },
21110
21741
  required: [
@@ -22620,7 +23251,7 @@ var patterns_registry_default = {
22620
23251
  types: [
22621
23252
  "string"
22622
23253
  ],
22623
- description: `"number" (locale grouping), "currency" ($x.xx), "percent" (rounded %). Unset keeps the value's own decimals.`
23254
+ description: `"number" (locale grouping), "currency" (locale currency), "percent" (rounded %). Unset keeps the value's own decimals.`
22624
23255
  },
22625
23256
  className: {
22626
23257
  types: [
@@ -23610,8 +24241,7 @@ var patterns_registry_default = {
23610
24241
  types: [
23611
24242
  "string"
23612
24243
  ],
23613
- description: "Label for the link button",
23614
- default: "Learn more"
24244
+ description: "Label for the link button"
23615
24245
  },
23616
24246
  variant: {
23617
24247
  types: [
@@ -24728,7 +25358,7 @@ var patterns_registry_default = {
24728
25358
  types: [
24729
25359
  "array"
24730
25360
  ],
24731
- description: "Scale points (defaults to a 5-point agree/disagree set)",
25361
+ description: "Scale points (defaults to a translated 5-point agree/disagree set)",
24732
25362
  items: {
24733
25363
  types: [
24734
25364
  "object"
@@ -26351,8 +26981,7 @@ var patterns_registry_default = {
26351
26981
  "string"
26352
26982
  ],
26353
26983
  description: "Choice text content",
26354
- required: true,
26355
- default: "Charge forward into the fray"
26984
+ required: true
26356
26985
  },
26357
26986
  index: {
26358
26987
  types: [
@@ -26729,16 +27358,14 @@ var patterns_registry_default = {
26729
27358
  types: [
26730
27359
  "string"
26731
27360
  ],
26732
- description: "Speaker name displayed at the top",
26733
- default: "Hero"
27361
+ description: "Speaker name displayed at the top"
26734
27362
  },
26735
27363
  text: {
26736
27364
  types: [
26737
27365
  "string"
26738
27366
  ],
26739
27367
  description: "Dialogue text content",
26740
- required: true,
26741
- default: "The dungeon awaits. Choose your path wisely."
27368
+ required: true
26742
27369
  },
26743
27370
  portrait: {
26744
27371
  types: [
@@ -27322,8 +27949,7 @@ var patterns_registry_default = {
27322
27949
  types: [
27323
27950
  "string"
27324
27951
  ],
27325
- description: "Number formatting locale",
27326
- default: "en-US"
27952
+ description: "Number formatting locale"
27327
27953
  }
27328
27954
  }
27329
27955
  },
@@ -30816,8 +31442,7 @@ var patterns_registry_default = {
30816
31442
  "string"
30817
31443
  ],
30818
31444
  description: "Menu title",
30819
- required: true,
30820
- default: "Epic Quest"
31445
+ required: true
30821
31446
  },
30822
31447
  subtitle: {
30823
31448
  types: [
@@ -34514,7 +35139,7 @@ var patterns_registry_default = {
34514
35139
  types: [
34515
35140
  "array"
34516
35141
  ],
34517
- 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.",
35142
+ 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.",
34518
35143
  items: {
34519
35144
  types: [
34520
35145
  "object"
@@ -34563,15 +35188,13 @@ var patterns_registry_default = {
34563
35188
  types: [
34564
35189
  "string"
34565
35190
  ],
34566
- description: "From-input label.",
34567
- default: "From"
35191
+ description: "From-input label."
34568
35192
  },
34569
35193
  toLabel: {
34570
35194
  types: [
34571
35195
  "string"
34572
35196
  ],
34573
- description: "To-input label.",
34574
- default: "To"
35197
+ description: "To-input label."
34575
35198
  },
34576
35199
  className: {
34577
35200
  types: [
@@ -34987,6 +35610,47 @@ var patterns_registry_default = {
34987
35610
  "boolean"
34988
35611
  ]
34989
35612
  },
35613
+ colorMap: {
35614
+ types: [
35615
+ "object"
35616
+ ],
35617
+ mapValue: {
35618
+ types: [
35619
+ "string"
35620
+ ],
35621
+ enumValues: [
35622
+ "default",
35623
+ "primary",
35624
+ "secondary",
35625
+ "success",
35626
+ "warning",
35627
+ "danger",
35628
+ "error",
35629
+ "info",
35630
+ "neutral",
35631
+ "destructive"
35632
+ ]
35633
+ }
35634
+ },
35635
+ labels: {
35636
+ types: [
35637
+ "object"
35638
+ ],
35639
+ mapValue: {
35640
+ types: [
35641
+ "string"
35642
+ ]
35643
+ }
35644
+ },
35645
+ variant: {
35646
+ types: [
35647
+ "string"
35648
+ ],
35649
+ enumValues: [
35650
+ "h3",
35651
+ "h4"
35652
+ ]
35653
+ },
34990
35654
  icon: {
34991
35655
  types: [
34992
35656
  "icon",
@@ -35077,6 +35741,47 @@ var patterns_registry_default = {
35077
35741
  "boolean"
35078
35742
  ]
35079
35743
  },
35744
+ colorMap: {
35745
+ types: [
35746
+ "object"
35747
+ ],
35748
+ mapValue: {
35749
+ types: [
35750
+ "string"
35751
+ ],
35752
+ enumValues: [
35753
+ "default",
35754
+ "primary",
35755
+ "secondary",
35756
+ "success",
35757
+ "warning",
35758
+ "danger",
35759
+ "error",
35760
+ "info",
35761
+ "neutral",
35762
+ "destructive"
35763
+ ]
35764
+ }
35765
+ },
35766
+ labels: {
35767
+ types: [
35768
+ "object"
35769
+ ],
35770
+ mapValue: {
35771
+ types: [
35772
+ "string"
35773
+ ]
35774
+ }
35775
+ },
35776
+ variant: {
35777
+ types: [
35778
+ "string"
35779
+ ],
35780
+ enumValues: [
35781
+ "h3",
35782
+ "h4"
35783
+ ]
35784
+ },
35080
35785
  icon: {
35081
35786
  types: [
35082
35787
  "icon",
@@ -35157,9 +35862,21 @@ var patterns_registry_default = {
35157
35862
  types: [
35158
35863
  "string"
35159
35864
  ],
35160
- 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).",
35161
- kind: "event",
35162
- default: ""
35865
+ 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.",
35866
+ kind: "event-ref",
35867
+ entityRowField: "row",
35868
+ emitPayloadSchema: [
35869
+ {
35870
+ name: "id",
35871
+ type: "string",
35872
+ required: true
35873
+ },
35874
+ {
35875
+ name: "row",
35876
+ type: "@entity",
35877
+ required: true
35878
+ }
35879
+ ]
35163
35880
  },
35164
35881
  selectable: {
35165
35882
  types: [
@@ -35683,6 +36400,38 @@ var patterns_registry_default = {
35683
36400
  types: [
35684
36401
  "string"
35685
36402
  ]
36403
+ },
36404
+ aggregate: {
36405
+ types: [
36406
+ "string"
36407
+ ],
36408
+ enumValues: [
36409
+ "count",
36410
+ "sum"
36411
+ ]
36412
+ },
36413
+ filter: {
36414
+ types: [
36415
+ "object"
36416
+ ],
36417
+ properties: {
36418
+ field: {
36419
+ types: [
36420
+ "string"
36421
+ ]
36422
+ },
36423
+ equals: {
36424
+ types: [
36425
+ "string",
36426
+ "number",
36427
+ "boolean"
36428
+ ]
36429
+ }
36430
+ },
36431
+ required: [
36432
+ "field",
36433
+ "equals"
36434
+ ]
35686
36435
  }
35687
36436
  },
35688
36437
  required: [
@@ -37810,6 +38559,12 @@ var patterns_registry_default = {
37810
38559
  ],
37811
38560
  description: "Role for accessibility"
37812
38561
  },
38562
+ id: {
38563
+ types: [
38564
+ "string"
38565
+ ],
38566
+ description: "Element id"
38567
+ },
37813
38568
  tabIndex: {
37814
38569
  types: [
37815
38570
  "number"
@@ -37982,6 +38737,12 @@ var patterns_registry_default = {
37982
38737
  ],
37983
38738
  description: "Role for accessibility"
37984
38739
  },
38740
+ id: {
38741
+ types: [
38742
+ "string"
38743
+ ],
38744
+ description: "Element id"
38745
+ },
37985
38746
  tabIndex: {
37986
38747
  types: [
37987
38748
  "number"
@@ -48347,6 +49108,11 @@ var patterns_registry_default = {
48347
49108
  "string"
48348
49109
  ]
48349
49110
  },
49111
+ title: {
49112
+ types: [
49113
+ "string"
49114
+ ]
49115
+ },
48350
49116
  fields: {
48351
49117
  types: [
48352
49118
  "object"
@@ -48447,15 +49213,13 @@ var patterns_registry_default = {
48447
49213
  types: [
48448
49214
  "string"
48449
49215
  ],
48450
- description: "Confirm button label",
48451
- default: "Confirm import"
49216
+ description: "Confirm button label"
48452
49217
  },
48453
49218
  cancelLabel: {
48454
49219
  types: [
48455
49220
  "string"
48456
49221
  ],
48457
- description: "Cancel button label",
48458
- default: "Cancel"
49222
+ description: "Cancel button label"
48459
49223
  },
48460
49224
  indent: {
48461
49225
  types: [
@@ -48949,8 +49713,7 @@ var patterns_registry_default = {
48949
49713
  types: [
48950
49714
  "string"
48951
49715
  ],
48952
- description: "Accessible label for the trigger button",
48953
- default: "Add emoji"
49716
+ description: "Accessible label for the trigger button"
48954
49717
  },
48955
49718
  className: {
48956
49719
  types: [
@@ -50944,6 +51707,16 @@ var patterns_registry_default = {
50944
51707
  ]
50945
51708
  }
50946
51709
  },
51710
+ labels: {
51711
+ types: [
51712
+ "object"
51713
+ ],
51714
+ mapValue: {
51715
+ types: [
51716
+ "string"
51717
+ ]
51718
+ }
51719
+ },
50947
51720
  format: {
50948
51721
  types: [
50949
51722
  "string"
@@ -51602,15 +52375,13 @@ var patterns_registry_default = {
51602
52375
  types: [
51603
52376
  "string"
51604
52377
  ],
51605
- description: "Search field placeholder. Consumers own i18n \u2014 plain string prop, no package-internal translation (matches FloatingToolbar's convention).",
51606
- default: "Type a command..."
52378
+ description: 'Search field placeholder. Defaults to the translated "Type a command...".'
51607
52379
  },
51608
52380
  emptyLabel: {
51609
52381
  types: [
51610
52382
  "string"
51611
52383
  ],
51612
- description: "Label shown when no command matches the query",
51613
- default: "No matching commands"
52384
+ description: "Label shown when no command matches the query. Defaults to the translated message."
51614
52385
  },
51615
52386
  className: {
51616
52387
  types: [
@@ -52341,9 +53112,32 @@ var patterns_registry_default = {
52341
53112
  types: [
52342
53113
  "string"
52343
53114
  ],
52344
- description: "Row field holding the bar status (drives bar colour). Defaults to `status`.",
53115
+ description: "Row field holding the bar status. Defaults to `status`.",
52345
53116
  default: "status"
52346
53117
  },
53118
+ statusColorMap: {
53119
+ types: [
53120
+ "object"
53121
+ ],
53122
+ description: "Bar colour per exact status value; unmapped statuses are primary bars.",
53123
+ mapValue: {
53124
+ types: [
53125
+ "string"
53126
+ ],
53127
+ enumValues: [
53128
+ "default",
53129
+ "primary",
53130
+ "secondary",
53131
+ "success",
53132
+ "warning",
53133
+ "danger",
53134
+ "error",
53135
+ "info",
53136
+ "neutral",
53137
+ "destructive"
53138
+ ]
53139
+ }
53140
+ },
52347
53141
  groupField: {
52348
53142
  types: [
52349
53143
  "string"