@almadar/core 10.111.0 → 10.112.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 (97) hide show
  1. package/dist/builders.d.ts +4 -4
  2. package/dist/builders.js +77 -8
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-DS-GzSrs.d.ts → bus-BZ9ekDiD.d.ts} +3 -1
  5. package/dist/{domain-Bf6sf9NR.d.ts → domain-DV8lmH3r.d.ts} +1857 -39
  6. package/dist/{effect-BD47AL48.d.ts → effect-B9nMpTKN.d.ts} +26 -2
  7. package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-Ak_ZvGXZ.d.ts} +2 -2
  8. package/dist/factory/index.d.ts +4 -4
  9. package/dist/factory/index.js +381 -9
  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 +77 -8
  13. package/dist/factory-runtime/index.js.map +1 -1
  14. package/dist/fixtures.d.ts +2 -2
  15. package/dist/fixtures.js.map +1 -1
  16. package/dist/i18n/index.js +36 -4
  17. package/dist/i18n/index.js.map +1 -1
  18. package/dist/{index-DgD_3g5F.d.ts → index-DmkUMeXz.d.ts} +14 -7
  19. package/dist/index.d.ts +68 -17
  20. package/dist/index.js +16867 -5223
  21. package/dist/index.js.map +1 -1
  22. package/dist/mock/index.d.ts +5 -5
  23. package/dist/mock/index.js +12 -6
  24. package/dist/mock/index.js.map +1 -1
  25. package/dist/patterns/component-mapping.json +1 -1
  26. package/dist/patterns/event-contracts.json +1 -1
  27. package/dist/patterns/index.d.ts +1041 -227
  28. package/dist/patterns/index.js +392 -13
  29. package/dist/patterns/index.js.map +1 -1
  30. package/dist/patterns/patterns-registry.json +382 -10
  31. package/dist/patterns/registry.json +382 -10
  32. package/dist/{schema-B3GE83sz.d.ts → schema-C-HLTS_Q.d.ts} +2968 -43
  33. package/dist/themes/index.d.ts +1 -1
  34. package/dist/themes/index.js +16303 -5151
  35. package/dist/themes/index.js.map +1 -1
  36. package/dist/{trait-BNxIGRUF.d.ts → trait-CRgDZSy_.d.ts} +9 -1
  37. package/dist/types/index.d.ts +7 -7
  38. package/dist/types/index.js +84 -9
  39. package/dist/types/index.js.map +1 -1
  40. package/dist/{types-5IX1FGgd.d.ts → types-C3nlpTDW.d.ts} +2 -2
  41. package/package.json +1 -1
  42. package/themes/almadar-website.json +7 -0
  43. package/themes/almadar.json +16 -4
  44. package/themes/aqua.json +420 -0
  45. package/themes/arabesque.json +512 -0
  46. package/themes/art-deco.json +340 -0
  47. package/themes/art-nouveau.json +340 -0
  48. package/themes/atelier.json +43 -187
  49. package/themes/bauhaus.json +330 -0
  50. package/themes/bloomberg-dense.json +69 -213
  51. package/themes/blueprint.json +330 -0
  52. package/themes/clay.json +53 -188
  53. package/themes/comic.json +107 -146
  54. package/themes/constructivist.json +340 -0
  55. package/themes/corporate.json +62 -197
  56. package/themes/cyberpunk.json +418 -0
  57. package/themes/frutiger-aero.json +422 -0
  58. package/themes/game-adventure.json +46 -21
  59. package/themes/game-rpg.json +48 -22
  60. package/themes/game-sci-fi.json +47 -21
  61. package/themes/game-ui-pack.json +39 -17
  62. package/themes/gazette.json +50 -194
  63. package/themes/glass.json +78 -201
  64. package/themes/gothic.json +329 -0
  65. package/themes/ink-wash.json +512 -0
  66. package/themes/kawaii.json +512 -0
  67. package/themes/kiosk.json +70 -200
  68. package/themes/linear-clean.json +67 -202
  69. package/themes/luxury.json +322 -0
  70. package/themes/mac-classic.json +330 -0
  71. package/themes/material.json +328 -0
  72. package/themes/memphis.json +337 -0
  73. package/themes/mid-century.json +338 -0
  74. package/themes/minimalist.json +60 -204
  75. package/themes/mudcloth.json +512 -0
  76. package/themes/neon.json +51 -212
  77. package/themes/neumorphic.json +322 -0
  78. package/themes/newsprint.json +330 -0
  79. package/themes/notion-editorial.json +51 -186
  80. package/themes/pixel.json +321 -0
  81. package/themes/prism.json +66 -69
  82. package/themes/retro.json +126 -165
  83. package/themes/risograph.json +325 -0
  84. package/themes/scandi.json +512 -0
  85. package/themes/sketch.json +330 -0
  86. package/themes/solarpunk.json +512 -0
  87. package/themes/steampunk.json +327 -0
  88. package/themes/swiss.json +338 -0
  89. package/themes/terminal.json +86 -156
  90. package/themes/trait-wars.json +143 -184
  91. package/themes/ukiyo-e.json +512 -0
  92. package/themes/vaporwave.json +420 -0
  93. package/themes/victorian.json +337 -0
  94. package/themes/wabi-sabi.json +512 -0
  95. package/themes/win95.json +324 -0
  96. package/themes/wireframe.json +44 -179
  97. package/themes/zine.json +330 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-09-28T12:49:04.761Z",
3
+ "exportedAt": "2026-09-30T15:57:56.420Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -281,6 +281,12 @@
281
281
  "types": [
282
282
  "function"
283
283
  ]
284
+ },
285
+ "when": {
286
+ "types": [
287
+ "sexpr",
288
+ "function"
289
+ ]
284
290
  }
285
291
  },
286
292
  "required": [
@@ -396,6 +402,12 @@
396
402
  "string"
397
403
  ],
398
404
  "kind": "event"
405
+ },
406
+ "when": {
407
+ "types": [
408
+ "sexpr",
409
+ "function"
410
+ ]
399
411
  }
400
412
  },
401
413
  "required": [
@@ -716,6 +728,12 @@
716
728
  "types": [
717
729
  "function"
718
730
  ]
731
+ },
732
+ "when": {
733
+ "types": [
734
+ "sexpr",
735
+ "function"
736
+ ]
719
737
  }
720
738
  },
721
739
  "required": [
@@ -1213,6 +1231,12 @@
1213
1231
  "types": [
1214
1232
  "string"
1215
1233
  ]
1234
+ },
1235
+ "when": {
1236
+ "types": [
1237
+ "sexpr",
1238
+ "function"
1239
+ ]
1216
1240
  }
1217
1241
  },
1218
1242
  "required": [
@@ -1550,6 +1574,12 @@
1550
1574
  "ghost",
1551
1575
  "danger"
1552
1576
  ]
1577
+ },
1578
+ "when": {
1579
+ "types": [
1580
+ "sexpr",
1581
+ "function"
1582
+ ]
1553
1583
  }
1554
1584
  },
1555
1585
  "required": [
@@ -1607,6 +1637,12 @@
1607
1637
  "ghost",
1608
1638
  "danger"
1609
1639
  ]
1640
+ },
1641
+ "when": {
1642
+ "types": [
1643
+ "sexpr",
1644
+ "function"
1645
+ ]
1610
1646
  }
1611
1647
  },
1612
1648
  "propertyRequired": [
@@ -1820,6 +1856,13 @@
1820
1856
  ],
1821
1857
  "description": "Page title - accepts string or number from generated code accessing dynamic entity data"
1822
1858
  },
1859
+ "icon": {
1860
+ "types": [
1861
+ "icon",
1862
+ "string"
1863
+ ],
1864
+ "description": "Icon shown before the title."
1865
+ },
1823
1866
  "subtitle": {
1824
1867
  "types": [
1825
1868
  "string",
@@ -3907,6 +3950,7 @@
3907
3950
  "tier": "molecules",
3908
3951
  "family": "core",
3909
3952
  "description": "Search input with events",
3953
+ "minUsableWidth": 160,
3910
3954
  "suggestedFor": [
3911
3955
  "search functionality",
3912
3956
  "quick filters"
@@ -6418,6 +6462,13 @@
6418
6462
  "full-screen"
6419
6463
  ],
6420
6464
  "default": "centered-card"
6465
+ },
6466
+ "contained": {
6467
+ "types": [
6468
+ "boolean"
6469
+ ],
6470
+ "description": "Render inside the nearest positioned ancestor (a preview frame) instead of portaling over the whole window; page scroll is left alone.",
6471
+ "default": false
6421
6472
  }
6422
6473
  }
6423
6474
  },
@@ -6442,6 +6493,21 @@
6442
6493
  "description": "Whether the drawer is open (defaults to true when rendered by slot wrapper)",
6443
6494
  "default": true
6444
6495
  },
6496
+ "onExited": {
6497
+ "types": [
6498
+ "function"
6499
+ ],
6500
+ "description": "Fires after the exit animation completes (the drawer is about to unmount).",
6501
+ "kind": "callback",
6502
+ "callbackArgs": []
6503
+ },
6504
+ "contained": {
6505
+ "types": [
6506
+ "boolean"
6507
+ ],
6508
+ "description": "Render inside the nearest positioned ancestor (a preview frame) instead of over the window.",
6509
+ "default": false
6510
+ },
6445
6511
  "onClose": {
6446
6512
  "types": [
6447
6513
  "function"
@@ -6551,6 +6617,14 @@
6551
6617
  "kind": "callback",
6552
6618
  "callbackArgs": []
6553
6619
  },
6620
+ "onExited": {
6621
+ "types": [
6622
+ "function"
6623
+ ],
6624
+ "description": "Fires after the exit animation completes (the dialog is about to unmount).",
6625
+ "kind": "callback",
6626
+ "callbackArgs": []
6627
+ },
6554
6628
  "onConfirm": {
6555
6629
  "types": [
6556
6630
  "function"
@@ -14497,6 +14571,19 @@
14497
14571
  "description": "Format X-axis labels as time (ISO date in → \"Mar 2026\"-style label out)",
14498
14572
  "default": false
14499
14573
  },
14574
+ "period": {
14575
+ "types": [
14576
+ "string"
14577
+ ],
14578
+ "description": "Bucket granularity of a time axis — labels read \"Oct 2\", \"Week of Sep 28\", \"Oct 2026\", \"Q4 2026\" or \"2026\"",
14579
+ "enumValues": [
14580
+ "day",
14581
+ "week",
14582
+ "month",
14583
+ "quarter",
14584
+ "year"
14585
+ ]
14586
+ },
14500
14587
  "drillEvent": {
14501
14588
  "types": [
14502
14589
  "string"
@@ -17824,6 +17911,52 @@
17824
17911
  }
17825
17912
  ]
17826
17913
  },
17914
+ "onTransitionClick": {
17915
+ "types": [
17916
+ "function"
17917
+ ],
17918
+ "description": "Direct transition-click callback, for React hosts (e.g. a canvas node).",
17919
+ "kind": "callback",
17920
+ "callbackArgs": [
17921
+ {
17922
+ "name": "transition",
17923
+ "type": "object",
17924
+ "schema": {
17925
+ "types": [
17926
+ "object"
17927
+ ],
17928
+ "properties": {
17929
+ "index": {
17930
+ "types": [
17931
+ "number"
17932
+ ]
17933
+ },
17934
+ "event": {
17935
+ "types": [
17936
+ "string"
17937
+ ]
17938
+ },
17939
+ "from": {
17940
+ "types": [
17941
+ "string"
17942
+ ]
17943
+ },
17944
+ "to": {
17945
+ "types": [
17946
+ "string"
17947
+ ]
17948
+ }
17949
+ },
17950
+ "required": [
17951
+ "index",
17952
+ "event",
17953
+ "from",
17954
+ "to"
17955
+ ]
17956
+ }
17957
+ }
17958
+ ]
17959
+ },
17827
17960
  "selectedState": {
17828
17961
  "types": [
17829
17962
  "string"
@@ -19104,6 +19237,7 @@
19104
19237
  "description": "DataGrid — structured records grid rendering rows over configurable columns, with sort, select, and drag-reorder.",
19105
19238
  "capabilities": "admin table, records grid, user list, CRUD list, manage-records view, spreadsheet-style data grid, sortable columns",
19106
19239
  "fieldsContract": "display",
19240
+ "minUsableWidth": 200,
19107
19241
  "suggestedFor": [
19108
19242
  "data",
19109
19243
  "grid",
@@ -19159,6 +19293,47 @@
19159
19293
  ],
19160
19294
  "description": "Mark this container as the DnD root for its subtree — descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
19161
19295
  },
19296
+ "emptyIcon": {
19297
+ "types": [
19298
+ "icon",
19299
+ "string"
19300
+ ],
19301
+ "description": "Domain icon for the empty state."
19302
+ },
19303
+ "emptyTitle": {
19304
+ "types": [
19305
+ "string"
19306
+ ],
19307
+ "description": "Specific title (\"No orders yet\")."
19308
+ },
19309
+ "emptyDescription": {
19310
+ "types": [
19311
+ "string"
19312
+ ],
19313
+ "description": "What will appear here once rows exist."
19314
+ },
19315
+ "emptyAction": {
19316
+ "types": [
19317
+ "object"
19318
+ ],
19319
+ "description": "Create-the-first-item action.",
19320
+ "properties": {
19321
+ "label": {
19322
+ "types": [
19323
+ "string"
19324
+ ]
19325
+ },
19326
+ "event": {
19327
+ "types": [
19328
+ "string"
19329
+ ],
19330
+ "kind": "event"
19331
+ }
19332
+ },
19333
+ "propertyRequired": [
19334
+ "label"
19335
+ ]
19336
+ },
19162
19337
  "entity": {
19163
19338
  "types": [
19164
19339
  "object",
@@ -19349,6 +19524,12 @@
19349
19524
  "ghost",
19350
19525
  "danger"
19351
19526
  ]
19527
+ },
19528
+ "when": {
19529
+ "types": [
19530
+ "sexpr",
19531
+ "function"
19532
+ ]
19352
19533
  }
19353
19534
  },
19354
19535
  "required": [
@@ -19612,6 +19793,7 @@
19612
19793
  "family": "core",
19613
19794
  "description": "DataList component",
19614
19795
  "fieldsContract": "display",
19796
+ "minUsableWidth": 200,
19615
19797
  "suggestedFor": [
19616
19798
  "data",
19617
19799
  "list",
@@ -19668,6 +19850,47 @@
19668
19850
  ],
19669
19851
  "description": "Mark this container as the DnD root for its subtree — descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
19670
19852
  },
19853
+ "emptyIcon": {
19854
+ "types": [
19855
+ "icon",
19856
+ "string"
19857
+ ],
19858
+ "description": "Domain icon for the empty state."
19859
+ },
19860
+ "emptyTitle": {
19861
+ "types": [
19862
+ "string"
19863
+ ],
19864
+ "description": "Specific title (\"No orders yet\")."
19865
+ },
19866
+ "emptyDescription": {
19867
+ "types": [
19868
+ "string"
19869
+ ],
19870
+ "description": "What will appear here once rows exist."
19871
+ },
19872
+ "emptyAction": {
19873
+ "types": [
19874
+ "object"
19875
+ ],
19876
+ "description": "Create-the-first-item action.",
19877
+ "properties": {
19878
+ "label": {
19879
+ "types": [
19880
+ "string"
19881
+ ]
19882
+ },
19883
+ "event": {
19884
+ "types": [
19885
+ "string"
19886
+ ],
19887
+ "kind": "event"
19888
+ }
19889
+ },
19890
+ "propertyRequired": [
19891
+ "label"
19892
+ ]
19893
+ },
19671
19894
  "entity": {
19672
19895
  "types": [
19673
19896
  "object",
@@ -19833,6 +20056,12 @@
19833
20056
  "ghost",
19834
20057
  "danger"
19835
20058
  ]
20059
+ },
20060
+ "when": {
20061
+ "types": [
20062
+ "sexpr",
20063
+ "function"
20064
+ ]
19836
20065
  }
19837
20066
  },
19838
20067
  "required": [
@@ -21857,14 +22086,19 @@
21857
22086
  ],
21858
22087
  "eventPayloadBrand": true,
21859
22088
  "payloadFor": "event"
22089
+ },
22090
+ "when": {
22091
+ "types": [
22092
+ "sexpr",
22093
+ "function"
22094
+ ]
21860
22095
  }
21861
22096
  },
21862
22097
  "required": [
21863
22098
  "label",
21864
22099
  "event"
21865
22100
  ]
21866
- },
21867
- "default": []
22101
+ }
21868
22102
  },
21869
22103
  "rightActions": {
21870
22104
  "types": [
@@ -21912,14 +22146,19 @@
21912
22146
  ],
21913
22147
  "eventPayloadBrand": true,
21914
22148
  "payloadFor": "event"
22149
+ },
22150
+ "when": {
22151
+ "types": [
22152
+ "sexpr",
22153
+ "function"
22154
+ ]
21915
22155
  }
21916
22156
  },
21917
22157
  "required": [
21918
22158
  "label",
21919
22159
  "event"
21920
22160
  ]
21921
- },
21922
- "default": []
22161
+ }
21923
22162
  },
21924
22163
  "threshold": {
21925
22164
  "types": [
@@ -22956,6 +23195,12 @@
22956
23195
  "propertyRequired": [
22957
23196
  "enabled"
22958
23197
  ]
23198
+ },
23199
+ "pageKey": {
23200
+ "types": [
23201
+ "string"
23202
+ ],
23203
+ "description": "The current page (path or name). When set, the main slot's content animates in on every page change (`PageTransition`); a layout's own content region claims the transition so its chrome stays still."
22959
23204
  }
22960
23205
  }
22961
23206
  },
@@ -33467,6 +33712,7 @@
33467
33712
  "description": "TableView — sortable, selectable data table rendering rows over configurable columns, with inline row actions and grouping.",
33468
33713
  "capabilities": "admin console table, records list, CRUD data table, user list, manage-users grid, sortable columns, row selection with bulk actions, grouped list view",
33469
33714
  "fieldsContract": "display",
33715
+ "minUsableWidth": 240,
33470
33716
  "suggestedFor": [
33471
33717
  "table",
33472
33718
  "view",
@@ -33522,6 +33768,47 @@
33522
33768
  ],
33523
33769
  "description": "Mark this container as the DnD root for its subtree — descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
33524
33770
  },
33771
+ "emptyIcon": {
33772
+ "types": [
33773
+ "icon",
33774
+ "string"
33775
+ ],
33776
+ "description": "Domain icon for the empty state."
33777
+ },
33778
+ "emptyTitle": {
33779
+ "types": [
33780
+ "string"
33781
+ ],
33782
+ "description": "Specific title (\"No orders yet\")."
33783
+ },
33784
+ "emptyDescription": {
33785
+ "types": [
33786
+ "string"
33787
+ ],
33788
+ "description": "What will appear here once rows exist."
33789
+ },
33790
+ "emptyAction": {
33791
+ "types": [
33792
+ "object"
33793
+ ],
33794
+ "description": "Create-the-first-item action.",
33795
+ "properties": {
33796
+ "label": {
33797
+ "types": [
33798
+ "string"
33799
+ ]
33800
+ },
33801
+ "event": {
33802
+ "types": [
33803
+ "string"
33804
+ ],
33805
+ "kind": "event"
33806
+ }
33807
+ },
33808
+ "propertyRequired": [
33809
+ "label"
33810
+ ]
33811
+ },
33525
33812
  "entity": {
33526
33813
  "types": [
33527
33814
  "object",
@@ -33751,6 +34038,12 @@
33751
34038
  "ghost",
33752
34039
  "danger"
33753
34040
  ]
34041
+ },
34042
+ "when": {
34043
+ "types": [
34044
+ "sexpr",
34045
+ "function"
34046
+ ]
33754
34047
  }
33755
34048
  },
33756
34049
  "required": [
@@ -46834,6 +47127,37 @@
46834
47127
  ],
46835
47128
  "typicalSize": "small",
46836
47129
  "propsSchema": {
47130
+ "animation": {
47131
+ "types": [
47132
+ "string"
47133
+ ],
47134
+ "description": "Which motion preset to use (maps to `animate-<name>-in/out`).",
47135
+ "required": true,
47136
+ "enumValues": [
47137
+ "modal",
47138
+ "overlay",
47139
+ "slide-up",
47140
+ "drawer",
47141
+ "popover",
47142
+ "toast",
47143
+ "fade",
47144
+ "page"
47145
+ ]
47146
+ },
47147
+ "animate": {
47148
+ "types": [
47149
+ "boolean"
47150
+ ],
47151
+ "description": "Per-instance opt-out. Global opt-out is `--motion-enable` / reduced-motion. @default true"
47152
+ },
47153
+ "onExited": {
47154
+ "types": [
47155
+ "function"
47156
+ ],
47157
+ "description": "Fired after the exit animation completes (before unmount).",
47158
+ "kind": "callback",
47159
+ "callbackArgs": []
47160
+ },
46837
47161
  "show": {
46838
47162
  "types": [
46839
47163
  "boolean"
@@ -46874,7 +47198,7 @@
46874
47198
  "types": [
46875
47199
  "string"
46876
47200
  ],
46877
- "description": "Value that changes on navigation (e.g. `location.pathname`).",
47201
+ "description": "Value that changes on navigation (a page path).",
46878
47202
  "required": true
46879
47203
  },
46880
47204
  "children": {
@@ -50411,9 +50735,10 @@
50411
50735
  },
50412
50736
  "children": {
50413
50737
  "types": [
50414
- "node"
50738
+ "node",
50739
+ "function"
50415
50740
  ],
50416
- "description": "Compiled mode: render children directly instead of resolving from context"
50741
+ "description": "Compiled mode: render children directly instead of resolving from context. A function receives the slot's presence — compiled self-overlaying content (Modal / ConfirmDialog) takes it as `isOpen`/`onExited` to play its exit."
50417
50742
  },
50418
50743
  "pattern": {
50419
50744
  "types": [
@@ -51663,14 +51988,15 @@
51663
51988
  "types": [
51664
51989
  "string"
51665
51990
  ],
51666
- "description": "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
51991
+ "description": "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot, a merge of a teammate's work).",
51667
51992
  "enumValues": [
51668
51993
  "user",
51669
51994
  "agent",
51670
51995
  "restore",
51671
51996
  "undo",
51672
51997
  "redo",
51673
- "snapshot"
51998
+ "snapshot",
51999
+ "merge"
51674
52000
  ]
51675
52001
  },
51676
52002
  "additions": {
@@ -52094,6 +52420,52 @@
52094
52420
  }
52095
52421
  ]
52096
52422
  },
52423
+ "onTransitionClick": {
52424
+ "types": [
52425
+ "function"
52426
+ ],
52427
+ "description": "Direct transition-click callback, for React hosts (e.g. a canvas node).",
52428
+ "kind": "callback",
52429
+ "callbackArgs": [
52430
+ {
52431
+ "name": "transition",
52432
+ "type": "object",
52433
+ "schema": {
52434
+ "types": [
52435
+ "object"
52436
+ ],
52437
+ "properties": {
52438
+ "index": {
52439
+ "types": [
52440
+ "number"
52441
+ ]
52442
+ },
52443
+ "event": {
52444
+ "types": [
52445
+ "string"
52446
+ ]
52447
+ },
52448
+ "from": {
52449
+ "types": [
52450
+ "string"
52451
+ ]
52452
+ },
52453
+ "to": {
52454
+ "types": [
52455
+ "string"
52456
+ ]
52457
+ }
52458
+ },
52459
+ "required": [
52460
+ "index",
52461
+ "event",
52462
+ "from",
52463
+ "to"
52464
+ ]
52465
+ }
52466
+ }
52467
+ ]
52468
+ },
52097
52469
  "selectedState": {
52098
52470
  "types": [
52099
52471
  "string"