@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.
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +77 -8
- package/dist/builders.js.map +1 -1
- package/dist/{bus-DS-GzSrs.d.ts → bus-BZ9ekDiD.d.ts} +3 -1
- package/dist/{domain-Bf6sf9NR.d.ts → domain-DV8lmH3r.d.ts} +1857 -39
- package/dist/{effect-BD47AL48.d.ts → effect-B9nMpTKN.d.ts} +26 -2
- package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-Ak_ZvGXZ.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +381 -9
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +77 -8
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js.map +1 -1
- package/dist/i18n/index.js +36 -4
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-DgD_3g5F.d.ts → index-DmkUMeXz.d.ts} +14 -7
- package/dist/index.d.ts +68 -17
- package/dist/index.js +16867 -5223
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/mock/index.js +12 -6
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1041 -227
- package/dist/patterns/index.js +392 -13
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +382 -10
- package/dist/patterns/registry.json +382 -10
- package/dist/{schema-B3GE83sz.d.ts → schema-C-HLTS_Q.d.ts} +2968 -43
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.js +16303 -5151
- package/dist/themes/index.js.map +1 -1
- package/dist/{trait-BNxIGRUF.d.ts → trait-CRgDZSy_.d.ts} +9 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +84 -9
- package/dist/types/index.js.map +1 -1
- package/dist/{types-5IX1FGgd.d.ts → types-C3nlpTDW.d.ts} +2 -2
- package/package.json +1 -1
- package/themes/almadar-website.json +7 -0
- package/themes/almadar.json +16 -4
- package/themes/aqua.json +420 -0
- package/themes/arabesque.json +512 -0
- package/themes/art-deco.json +340 -0
- package/themes/art-nouveau.json +340 -0
- package/themes/atelier.json +43 -187
- package/themes/bauhaus.json +330 -0
- package/themes/bloomberg-dense.json +69 -213
- package/themes/blueprint.json +330 -0
- package/themes/clay.json +53 -188
- package/themes/comic.json +107 -146
- package/themes/constructivist.json +340 -0
- package/themes/corporate.json +62 -197
- package/themes/cyberpunk.json +418 -0
- package/themes/frutiger-aero.json +422 -0
- package/themes/game-adventure.json +46 -21
- package/themes/game-rpg.json +48 -22
- package/themes/game-sci-fi.json +47 -21
- package/themes/game-ui-pack.json +39 -17
- package/themes/gazette.json +50 -194
- package/themes/glass.json +78 -201
- package/themes/gothic.json +329 -0
- package/themes/ink-wash.json +512 -0
- package/themes/kawaii.json +512 -0
- package/themes/kiosk.json +70 -200
- package/themes/linear-clean.json +67 -202
- package/themes/luxury.json +322 -0
- package/themes/mac-classic.json +330 -0
- package/themes/material.json +328 -0
- package/themes/memphis.json +337 -0
- package/themes/mid-century.json +338 -0
- package/themes/minimalist.json +60 -204
- package/themes/mudcloth.json +512 -0
- package/themes/neon.json +51 -212
- package/themes/neumorphic.json +322 -0
- package/themes/newsprint.json +330 -0
- package/themes/notion-editorial.json +51 -186
- package/themes/pixel.json +321 -0
- package/themes/prism.json +66 -69
- package/themes/retro.json +126 -165
- package/themes/risograph.json +325 -0
- package/themes/scandi.json +512 -0
- package/themes/sketch.json +330 -0
- package/themes/solarpunk.json +512 -0
- package/themes/steampunk.json +327 -0
- package/themes/swiss.json +338 -0
- package/themes/terminal.json +86 -156
- package/themes/trait-wars.json +143 -184
- package/themes/ukiyo-e.json +512 -0
- package/themes/vaporwave.json +420 -0
- package/themes/victorian.json +337 -0
- package/themes/wabi-sabi.json +512 -0
- package/themes/win95.json +324 -0
- package/themes/wireframe.json +44 -179
- package/themes/zine.json +330 -0
package/dist/patterns/index.js
CHANGED
|
@@ -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-
|
|
6
|
+
exportedAt: "2026-09-30T15:57:56.420Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -284,6 +284,12 @@ var patterns_registry_default = {
|
|
|
284
284
|
types: [
|
|
285
285
|
"function"
|
|
286
286
|
]
|
|
287
|
+
},
|
|
288
|
+
when: {
|
|
289
|
+
types: [
|
|
290
|
+
"sexpr",
|
|
291
|
+
"function"
|
|
292
|
+
]
|
|
287
293
|
}
|
|
288
294
|
},
|
|
289
295
|
required: [
|
|
@@ -399,6 +405,12 @@ var patterns_registry_default = {
|
|
|
399
405
|
"string"
|
|
400
406
|
],
|
|
401
407
|
kind: "event"
|
|
408
|
+
},
|
|
409
|
+
when: {
|
|
410
|
+
types: [
|
|
411
|
+
"sexpr",
|
|
412
|
+
"function"
|
|
413
|
+
]
|
|
402
414
|
}
|
|
403
415
|
},
|
|
404
416
|
required: [
|
|
@@ -719,6 +731,12 @@ var patterns_registry_default = {
|
|
|
719
731
|
types: [
|
|
720
732
|
"function"
|
|
721
733
|
]
|
|
734
|
+
},
|
|
735
|
+
when: {
|
|
736
|
+
types: [
|
|
737
|
+
"sexpr",
|
|
738
|
+
"function"
|
|
739
|
+
]
|
|
722
740
|
}
|
|
723
741
|
},
|
|
724
742
|
required: [
|
|
@@ -1216,6 +1234,12 @@ var patterns_registry_default = {
|
|
|
1216
1234
|
types: [
|
|
1217
1235
|
"string"
|
|
1218
1236
|
]
|
|
1237
|
+
},
|
|
1238
|
+
when: {
|
|
1239
|
+
types: [
|
|
1240
|
+
"sexpr",
|
|
1241
|
+
"function"
|
|
1242
|
+
]
|
|
1219
1243
|
}
|
|
1220
1244
|
},
|
|
1221
1245
|
required: [
|
|
@@ -1553,6 +1577,12 @@ var patterns_registry_default = {
|
|
|
1553
1577
|
"ghost",
|
|
1554
1578
|
"danger"
|
|
1555
1579
|
]
|
|
1580
|
+
},
|
|
1581
|
+
when: {
|
|
1582
|
+
types: [
|
|
1583
|
+
"sexpr",
|
|
1584
|
+
"function"
|
|
1585
|
+
]
|
|
1556
1586
|
}
|
|
1557
1587
|
},
|
|
1558
1588
|
required: [
|
|
@@ -1610,6 +1640,12 @@ var patterns_registry_default = {
|
|
|
1610
1640
|
"ghost",
|
|
1611
1641
|
"danger"
|
|
1612
1642
|
]
|
|
1643
|
+
},
|
|
1644
|
+
when: {
|
|
1645
|
+
types: [
|
|
1646
|
+
"sexpr",
|
|
1647
|
+
"function"
|
|
1648
|
+
]
|
|
1613
1649
|
}
|
|
1614
1650
|
},
|
|
1615
1651
|
propertyRequired: [
|
|
@@ -1823,6 +1859,13 @@ var patterns_registry_default = {
|
|
|
1823
1859
|
],
|
|
1824
1860
|
description: "Page title - accepts string or number from generated code accessing dynamic entity data"
|
|
1825
1861
|
},
|
|
1862
|
+
icon: {
|
|
1863
|
+
types: [
|
|
1864
|
+
"icon",
|
|
1865
|
+
"string"
|
|
1866
|
+
],
|
|
1867
|
+
description: "Icon shown before the title."
|
|
1868
|
+
},
|
|
1826
1869
|
subtitle: {
|
|
1827
1870
|
types: [
|
|
1828
1871
|
"string",
|
|
@@ -3910,6 +3953,7 @@ var patterns_registry_default = {
|
|
|
3910
3953
|
tier: "molecules",
|
|
3911
3954
|
family: "core",
|
|
3912
3955
|
description: "Search input with events",
|
|
3956
|
+
minUsableWidth: 160,
|
|
3913
3957
|
suggestedFor: [
|
|
3914
3958
|
"search functionality",
|
|
3915
3959
|
"quick filters"
|
|
@@ -6421,6 +6465,13 @@ var patterns_registry_default = {
|
|
|
6421
6465
|
"full-screen"
|
|
6422
6466
|
],
|
|
6423
6467
|
default: "centered-card"
|
|
6468
|
+
},
|
|
6469
|
+
contained: {
|
|
6470
|
+
types: [
|
|
6471
|
+
"boolean"
|
|
6472
|
+
],
|
|
6473
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of portaling over the whole window; page scroll is left alone.",
|
|
6474
|
+
default: false
|
|
6424
6475
|
}
|
|
6425
6476
|
}
|
|
6426
6477
|
},
|
|
@@ -6445,6 +6496,21 @@ var patterns_registry_default = {
|
|
|
6445
6496
|
description: "Whether the drawer is open (defaults to true when rendered by slot wrapper)",
|
|
6446
6497
|
default: true
|
|
6447
6498
|
},
|
|
6499
|
+
onExited: {
|
|
6500
|
+
types: [
|
|
6501
|
+
"function"
|
|
6502
|
+
],
|
|
6503
|
+
description: "Fires after the exit animation completes (the drawer is about to unmount).",
|
|
6504
|
+
kind: "callback",
|
|
6505
|
+
callbackArgs: []
|
|
6506
|
+
},
|
|
6507
|
+
contained: {
|
|
6508
|
+
types: [
|
|
6509
|
+
"boolean"
|
|
6510
|
+
],
|
|
6511
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of over the window.",
|
|
6512
|
+
default: false
|
|
6513
|
+
},
|
|
6448
6514
|
onClose: {
|
|
6449
6515
|
types: [
|
|
6450
6516
|
"function"
|
|
@@ -6554,6 +6620,14 @@ var patterns_registry_default = {
|
|
|
6554
6620
|
kind: "callback",
|
|
6555
6621
|
callbackArgs: []
|
|
6556
6622
|
},
|
|
6623
|
+
onExited: {
|
|
6624
|
+
types: [
|
|
6625
|
+
"function"
|
|
6626
|
+
],
|
|
6627
|
+
description: "Fires after the exit animation completes (the dialog is about to unmount).",
|
|
6628
|
+
kind: "callback",
|
|
6629
|
+
callbackArgs: []
|
|
6630
|
+
},
|
|
6557
6631
|
onConfirm: {
|
|
6558
6632
|
types: [
|
|
6559
6633
|
"function"
|
|
@@ -14500,6 +14574,19 @@ var patterns_registry_default = {
|
|
|
14500
14574
|
description: 'Format X-axis labels as time (ISO date in \u2192 "Mar 2026"-style label out)',
|
|
14501
14575
|
default: false
|
|
14502
14576
|
},
|
|
14577
|
+
period: {
|
|
14578
|
+
types: [
|
|
14579
|
+
"string"
|
|
14580
|
+
],
|
|
14581
|
+
description: 'Bucket granularity of a time axis \u2014 labels read "Oct 2", "Week of Sep 28", "Oct 2026", "Q4 2026" or "2026"',
|
|
14582
|
+
enumValues: [
|
|
14583
|
+
"day",
|
|
14584
|
+
"week",
|
|
14585
|
+
"month",
|
|
14586
|
+
"quarter",
|
|
14587
|
+
"year"
|
|
14588
|
+
]
|
|
14589
|
+
},
|
|
14503
14590
|
drillEvent: {
|
|
14504
14591
|
types: [
|
|
14505
14592
|
"string"
|
|
@@ -17827,6 +17914,52 @@ var patterns_registry_default = {
|
|
|
17827
17914
|
}
|
|
17828
17915
|
]
|
|
17829
17916
|
},
|
|
17917
|
+
onTransitionClick: {
|
|
17918
|
+
types: [
|
|
17919
|
+
"function"
|
|
17920
|
+
],
|
|
17921
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
17922
|
+
kind: "callback",
|
|
17923
|
+
callbackArgs: [
|
|
17924
|
+
{
|
|
17925
|
+
name: "transition",
|
|
17926
|
+
type: "object",
|
|
17927
|
+
schema: {
|
|
17928
|
+
types: [
|
|
17929
|
+
"object"
|
|
17930
|
+
],
|
|
17931
|
+
properties: {
|
|
17932
|
+
index: {
|
|
17933
|
+
types: [
|
|
17934
|
+
"number"
|
|
17935
|
+
]
|
|
17936
|
+
},
|
|
17937
|
+
event: {
|
|
17938
|
+
types: [
|
|
17939
|
+
"string"
|
|
17940
|
+
]
|
|
17941
|
+
},
|
|
17942
|
+
from: {
|
|
17943
|
+
types: [
|
|
17944
|
+
"string"
|
|
17945
|
+
]
|
|
17946
|
+
},
|
|
17947
|
+
to: {
|
|
17948
|
+
types: [
|
|
17949
|
+
"string"
|
|
17950
|
+
]
|
|
17951
|
+
}
|
|
17952
|
+
},
|
|
17953
|
+
required: [
|
|
17954
|
+
"index",
|
|
17955
|
+
"event",
|
|
17956
|
+
"from",
|
|
17957
|
+
"to"
|
|
17958
|
+
]
|
|
17959
|
+
}
|
|
17960
|
+
}
|
|
17961
|
+
]
|
|
17962
|
+
},
|
|
17830
17963
|
selectedState: {
|
|
17831
17964
|
types: [
|
|
17832
17965
|
"string"
|
|
@@ -19107,6 +19240,7 @@ var patterns_registry_default = {
|
|
|
19107
19240
|
description: "DataGrid \u2014 structured records grid rendering rows over configurable columns, with sort, select, and drag-reorder.",
|
|
19108
19241
|
capabilities: "admin table, records grid, user list, CRUD list, manage-records view, spreadsheet-style data grid, sortable columns",
|
|
19109
19242
|
fieldsContract: "display",
|
|
19243
|
+
minUsableWidth: 200,
|
|
19110
19244
|
suggestedFor: [
|
|
19111
19245
|
"data",
|
|
19112
19246
|
"grid",
|
|
@@ -19162,6 +19296,47 @@ var patterns_registry_default = {
|
|
|
19162
19296
|
],
|
|
19163
19297
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
19164
19298
|
},
|
|
19299
|
+
emptyIcon: {
|
|
19300
|
+
types: [
|
|
19301
|
+
"icon",
|
|
19302
|
+
"string"
|
|
19303
|
+
],
|
|
19304
|
+
description: "Domain icon for the empty state."
|
|
19305
|
+
},
|
|
19306
|
+
emptyTitle: {
|
|
19307
|
+
types: [
|
|
19308
|
+
"string"
|
|
19309
|
+
],
|
|
19310
|
+
description: 'Specific title ("No orders yet").'
|
|
19311
|
+
},
|
|
19312
|
+
emptyDescription: {
|
|
19313
|
+
types: [
|
|
19314
|
+
"string"
|
|
19315
|
+
],
|
|
19316
|
+
description: "What will appear here once rows exist."
|
|
19317
|
+
},
|
|
19318
|
+
emptyAction: {
|
|
19319
|
+
types: [
|
|
19320
|
+
"object"
|
|
19321
|
+
],
|
|
19322
|
+
description: "Create-the-first-item action.",
|
|
19323
|
+
properties: {
|
|
19324
|
+
label: {
|
|
19325
|
+
types: [
|
|
19326
|
+
"string"
|
|
19327
|
+
]
|
|
19328
|
+
},
|
|
19329
|
+
event: {
|
|
19330
|
+
types: [
|
|
19331
|
+
"string"
|
|
19332
|
+
],
|
|
19333
|
+
kind: "event"
|
|
19334
|
+
}
|
|
19335
|
+
},
|
|
19336
|
+
propertyRequired: [
|
|
19337
|
+
"label"
|
|
19338
|
+
]
|
|
19339
|
+
},
|
|
19165
19340
|
entity: {
|
|
19166
19341
|
types: [
|
|
19167
19342
|
"object",
|
|
@@ -19352,6 +19527,12 @@ var patterns_registry_default = {
|
|
|
19352
19527
|
"ghost",
|
|
19353
19528
|
"danger"
|
|
19354
19529
|
]
|
|
19530
|
+
},
|
|
19531
|
+
when: {
|
|
19532
|
+
types: [
|
|
19533
|
+
"sexpr",
|
|
19534
|
+
"function"
|
|
19535
|
+
]
|
|
19355
19536
|
}
|
|
19356
19537
|
},
|
|
19357
19538
|
required: [
|
|
@@ -19615,6 +19796,7 @@ var patterns_registry_default = {
|
|
|
19615
19796
|
family: "core",
|
|
19616
19797
|
description: "DataList component",
|
|
19617
19798
|
fieldsContract: "display",
|
|
19799
|
+
minUsableWidth: 200,
|
|
19618
19800
|
suggestedFor: [
|
|
19619
19801
|
"data",
|
|
19620
19802
|
"list",
|
|
@@ -19671,6 +19853,47 @@ var patterns_registry_default = {
|
|
|
19671
19853
|
],
|
|
19672
19854
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
19673
19855
|
},
|
|
19856
|
+
emptyIcon: {
|
|
19857
|
+
types: [
|
|
19858
|
+
"icon",
|
|
19859
|
+
"string"
|
|
19860
|
+
],
|
|
19861
|
+
description: "Domain icon for the empty state."
|
|
19862
|
+
},
|
|
19863
|
+
emptyTitle: {
|
|
19864
|
+
types: [
|
|
19865
|
+
"string"
|
|
19866
|
+
],
|
|
19867
|
+
description: 'Specific title ("No orders yet").'
|
|
19868
|
+
},
|
|
19869
|
+
emptyDescription: {
|
|
19870
|
+
types: [
|
|
19871
|
+
"string"
|
|
19872
|
+
],
|
|
19873
|
+
description: "What will appear here once rows exist."
|
|
19874
|
+
},
|
|
19875
|
+
emptyAction: {
|
|
19876
|
+
types: [
|
|
19877
|
+
"object"
|
|
19878
|
+
],
|
|
19879
|
+
description: "Create-the-first-item action.",
|
|
19880
|
+
properties: {
|
|
19881
|
+
label: {
|
|
19882
|
+
types: [
|
|
19883
|
+
"string"
|
|
19884
|
+
]
|
|
19885
|
+
},
|
|
19886
|
+
event: {
|
|
19887
|
+
types: [
|
|
19888
|
+
"string"
|
|
19889
|
+
],
|
|
19890
|
+
kind: "event"
|
|
19891
|
+
}
|
|
19892
|
+
},
|
|
19893
|
+
propertyRequired: [
|
|
19894
|
+
"label"
|
|
19895
|
+
]
|
|
19896
|
+
},
|
|
19674
19897
|
entity: {
|
|
19675
19898
|
types: [
|
|
19676
19899
|
"object",
|
|
@@ -19836,6 +20059,12 @@ var patterns_registry_default = {
|
|
|
19836
20059
|
"ghost",
|
|
19837
20060
|
"danger"
|
|
19838
20061
|
]
|
|
20062
|
+
},
|
|
20063
|
+
when: {
|
|
20064
|
+
types: [
|
|
20065
|
+
"sexpr",
|
|
20066
|
+
"function"
|
|
20067
|
+
]
|
|
19839
20068
|
}
|
|
19840
20069
|
},
|
|
19841
20070
|
required: [
|
|
@@ -21860,14 +22089,19 @@ var patterns_registry_default = {
|
|
|
21860
22089
|
],
|
|
21861
22090
|
eventPayloadBrand: true,
|
|
21862
22091
|
payloadFor: "event"
|
|
22092
|
+
},
|
|
22093
|
+
when: {
|
|
22094
|
+
types: [
|
|
22095
|
+
"sexpr",
|
|
22096
|
+
"function"
|
|
22097
|
+
]
|
|
21863
22098
|
}
|
|
21864
22099
|
},
|
|
21865
22100
|
required: [
|
|
21866
22101
|
"label",
|
|
21867
22102
|
"event"
|
|
21868
22103
|
]
|
|
21869
|
-
}
|
|
21870
|
-
default: []
|
|
22104
|
+
}
|
|
21871
22105
|
},
|
|
21872
22106
|
rightActions: {
|
|
21873
22107
|
types: [
|
|
@@ -21915,14 +22149,19 @@ var patterns_registry_default = {
|
|
|
21915
22149
|
],
|
|
21916
22150
|
eventPayloadBrand: true,
|
|
21917
22151
|
payloadFor: "event"
|
|
22152
|
+
},
|
|
22153
|
+
when: {
|
|
22154
|
+
types: [
|
|
22155
|
+
"sexpr",
|
|
22156
|
+
"function"
|
|
22157
|
+
]
|
|
21918
22158
|
}
|
|
21919
22159
|
},
|
|
21920
22160
|
required: [
|
|
21921
22161
|
"label",
|
|
21922
22162
|
"event"
|
|
21923
22163
|
]
|
|
21924
|
-
}
|
|
21925
|
-
default: []
|
|
22164
|
+
}
|
|
21926
22165
|
},
|
|
21927
22166
|
threshold: {
|
|
21928
22167
|
types: [
|
|
@@ -22959,6 +23198,12 @@ var patterns_registry_default = {
|
|
|
22959
23198
|
propertyRequired: [
|
|
22960
23199
|
"enabled"
|
|
22961
23200
|
]
|
|
23201
|
+
},
|
|
23202
|
+
pageKey: {
|
|
23203
|
+
types: [
|
|
23204
|
+
"string"
|
|
23205
|
+
],
|
|
23206
|
+
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."
|
|
22962
23207
|
}
|
|
22963
23208
|
}
|
|
22964
23209
|
},
|
|
@@ -33470,6 +33715,7 @@ var patterns_registry_default = {
|
|
|
33470
33715
|
description: "TableView \u2014 sortable, selectable data table rendering rows over configurable columns, with inline row actions and grouping.",
|
|
33471
33716
|
capabilities: "admin console table, records list, CRUD data table, user list, manage-users grid, sortable columns, row selection with bulk actions, grouped list view",
|
|
33472
33717
|
fieldsContract: "display",
|
|
33718
|
+
minUsableWidth: 240,
|
|
33473
33719
|
suggestedFor: [
|
|
33474
33720
|
"table",
|
|
33475
33721
|
"view",
|
|
@@ -33525,6 +33771,47 @@ var patterns_registry_default = {
|
|
|
33525
33771
|
],
|
|
33526
33772
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
33527
33773
|
},
|
|
33774
|
+
emptyIcon: {
|
|
33775
|
+
types: [
|
|
33776
|
+
"icon",
|
|
33777
|
+
"string"
|
|
33778
|
+
],
|
|
33779
|
+
description: "Domain icon for the empty state."
|
|
33780
|
+
},
|
|
33781
|
+
emptyTitle: {
|
|
33782
|
+
types: [
|
|
33783
|
+
"string"
|
|
33784
|
+
],
|
|
33785
|
+
description: 'Specific title ("No orders yet").'
|
|
33786
|
+
},
|
|
33787
|
+
emptyDescription: {
|
|
33788
|
+
types: [
|
|
33789
|
+
"string"
|
|
33790
|
+
],
|
|
33791
|
+
description: "What will appear here once rows exist."
|
|
33792
|
+
},
|
|
33793
|
+
emptyAction: {
|
|
33794
|
+
types: [
|
|
33795
|
+
"object"
|
|
33796
|
+
],
|
|
33797
|
+
description: "Create-the-first-item action.",
|
|
33798
|
+
properties: {
|
|
33799
|
+
label: {
|
|
33800
|
+
types: [
|
|
33801
|
+
"string"
|
|
33802
|
+
]
|
|
33803
|
+
},
|
|
33804
|
+
event: {
|
|
33805
|
+
types: [
|
|
33806
|
+
"string"
|
|
33807
|
+
],
|
|
33808
|
+
kind: "event"
|
|
33809
|
+
}
|
|
33810
|
+
},
|
|
33811
|
+
propertyRequired: [
|
|
33812
|
+
"label"
|
|
33813
|
+
]
|
|
33814
|
+
},
|
|
33528
33815
|
entity: {
|
|
33529
33816
|
types: [
|
|
33530
33817
|
"object",
|
|
@@ -33754,6 +34041,12 @@ var patterns_registry_default = {
|
|
|
33754
34041
|
"ghost",
|
|
33755
34042
|
"danger"
|
|
33756
34043
|
]
|
|
34044
|
+
},
|
|
34045
|
+
when: {
|
|
34046
|
+
types: [
|
|
34047
|
+
"sexpr",
|
|
34048
|
+
"function"
|
|
34049
|
+
]
|
|
33757
34050
|
}
|
|
33758
34051
|
},
|
|
33759
34052
|
required: [
|
|
@@ -46837,6 +47130,37 @@ var patterns_registry_default = {
|
|
|
46837
47130
|
],
|
|
46838
47131
|
typicalSize: "small",
|
|
46839
47132
|
propsSchema: {
|
|
47133
|
+
animation: {
|
|
47134
|
+
types: [
|
|
47135
|
+
"string"
|
|
47136
|
+
],
|
|
47137
|
+
description: "Which motion preset to use (maps to `animate-<name>-in/out`).",
|
|
47138
|
+
required: true,
|
|
47139
|
+
enumValues: [
|
|
47140
|
+
"modal",
|
|
47141
|
+
"overlay",
|
|
47142
|
+
"slide-up",
|
|
47143
|
+
"drawer",
|
|
47144
|
+
"popover",
|
|
47145
|
+
"toast",
|
|
47146
|
+
"fade",
|
|
47147
|
+
"page"
|
|
47148
|
+
]
|
|
47149
|
+
},
|
|
47150
|
+
animate: {
|
|
47151
|
+
types: [
|
|
47152
|
+
"boolean"
|
|
47153
|
+
],
|
|
47154
|
+
description: "Per-instance opt-out. Global opt-out is `--motion-enable` / reduced-motion. @default true"
|
|
47155
|
+
},
|
|
47156
|
+
onExited: {
|
|
47157
|
+
types: [
|
|
47158
|
+
"function"
|
|
47159
|
+
],
|
|
47160
|
+
description: "Fired after the exit animation completes (before unmount).",
|
|
47161
|
+
kind: "callback",
|
|
47162
|
+
callbackArgs: []
|
|
47163
|
+
},
|
|
46840
47164
|
show: {
|
|
46841
47165
|
types: [
|
|
46842
47166
|
"boolean"
|
|
@@ -46877,7 +47201,7 @@ var patterns_registry_default = {
|
|
|
46877
47201
|
types: [
|
|
46878
47202
|
"string"
|
|
46879
47203
|
],
|
|
46880
|
-
description: "Value that changes on navigation (
|
|
47204
|
+
description: "Value that changes on navigation (a page path).",
|
|
46881
47205
|
required: true
|
|
46882
47206
|
},
|
|
46883
47207
|
children: {
|
|
@@ -50414,9 +50738,10 @@ var patterns_registry_default = {
|
|
|
50414
50738
|
},
|
|
50415
50739
|
children: {
|
|
50416
50740
|
types: [
|
|
50417
|
-
"node"
|
|
50741
|
+
"node",
|
|
50742
|
+
"function"
|
|
50418
50743
|
],
|
|
50419
|
-
description: "Compiled mode: render children directly instead of resolving from context"
|
|
50744
|
+
description: "Compiled mode: render children directly instead of resolving from context. A function receives the slot's presence \u2014 compiled self-overlaying content (Modal / ConfirmDialog) takes it as `isOpen`/`onExited` to play its exit."
|
|
50420
50745
|
},
|
|
50421
50746
|
pattern: {
|
|
50422
50747
|
types: [
|
|
@@ -51666,14 +51991,15 @@ var patterns_registry_default = {
|
|
|
51666
51991
|
types: [
|
|
51667
51992
|
"string"
|
|
51668
51993
|
],
|
|
51669
|
-
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
|
|
51994
|
+
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).",
|
|
51670
51995
|
enumValues: [
|
|
51671
51996
|
"user",
|
|
51672
51997
|
"agent",
|
|
51673
51998
|
"restore",
|
|
51674
51999
|
"undo",
|
|
51675
52000
|
"redo",
|
|
51676
|
-
"snapshot"
|
|
52001
|
+
"snapshot",
|
|
52002
|
+
"merge"
|
|
51677
52003
|
]
|
|
51678
52004
|
},
|
|
51679
52005
|
additions: {
|
|
@@ -52097,6 +52423,52 @@ var patterns_registry_default = {
|
|
|
52097
52423
|
}
|
|
52098
52424
|
]
|
|
52099
52425
|
},
|
|
52426
|
+
onTransitionClick: {
|
|
52427
|
+
types: [
|
|
52428
|
+
"function"
|
|
52429
|
+
],
|
|
52430
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
52431
|
+
kind: "callback",
|
|
52432
|
+
callbackArgs: [
|
|
52433
|
+
{
|
|
52434
|
+
name: "transition",
|
|
52435
|
+
type: "object",
|
|
52436
|
+
schema: {
|
|
52437
|
+
types: [
|
|
52438
|
+
"object"
|
|
52439
|
+
],
|
|
52440
|
+
properties: {
|
|
52441
|
+
index: {
|
|
52442
|
+
types: [
|
|
52443
|
+
"number"
|
|
52444
|
+
]
|
|
52445
|
+
},
|
|
52446
|
+
event: {
|
|
52447
|
+
types: [
|
|
52448
|
+
"string"
|
|
52449
|
+
]
|
|
52450
|
+
},
|
|
52451
|
+
from: {
|
|
52452
|
+
types: [
|
|
52453
|
+
"string"
|
|
52454
|
+
]
|
|
52455
|
+
},
|
|
52456
|
+
to: {
|
|
52457
|
+
types: [
|
|
52458
|
+
"string"
|
|
52459
|
+
]
|
|
52460
|
+
}
|
|
52461
|
+
},
|
|
52462
|
+
required: [
|
|
52463
|
+
"index",
|
|
52464
|
+
"event",
|
|
52465
|
+
"from",
|
|
52466
|
+
"to"
|
|
52467
|
+
]
|
|
52468
|
+
}
|
|
52469
|
+
}
|
|
52470
|
+
]
|
|
52471
|
+
},
|
|
52100
52472
|
selectedState: {
|
|
52101
52473
|
types: [
|
|
52102
52474
|
"string"
|
|
@@ -56294,7 +56666,7 @@ var integrators_registry_default = {
|
|
|
56294
56666
|
// src/patterns/component-mapping.json
|
|
56295
56667
|
var component_mapping_default = {
|
|
56296
56668
|
version: "1.0.0",
|
|
56297
|
-
exportedAt: "2026-09-
|
|
56669
|
+
exportedAt: "2026-09-30T15:57:56.420Z",
|
|
56298
56670
|
mappings: {
|
|
56299
56671
|
"page-header": {
|
|
56300
56672
|
component: "PageHeader",
|
|
@@ -57604,7 +57976,7 @@ var component_mapping_default = {
|
|
|
57604
57976
|
// src/patterns/event-contracts.json
|
|
57605
57977
|
var event_contracts_default = {
|
|
57606
57978
|
version: "1.0.0",
|
|
57607
|
-
exportedAt: "2026-09-
|
|
57979
|
+
exportedAt: "2026-09-30T15:57:56.420Z",
|
|
57608
57980
|
contracts: {
|
|
57609
57981
|
form: {
|
|
57610
57982
|
emits: [
|
|
@@ -59487,6 +59859,13 @@ function eventListPropsOf(patternType) {
|
|
|
59487
59859
|
function getPatternFieldsContract(patternType) {
|
|
59488
59860
|
return getPatternDefinition(patternType)?.fieldsContract;
|
|
59489
59861
|
}
|
|
59862
|
+
function getPatternMinUsableWidths() {
|
|
59863
|
+
const out = /* @__PURE__ */ new Map();
|
|
59864
|
+
for (const [name, entry] of Object.entries(patterns_registry_default.patterns ?? {})) {
|
|
59865
|
+
if (typeof entry.minUsableWidth === "number") out.set(name, entry.minUsableWidth);
|
|
59866
|
+
}
|
|
59867
|
+
return out;
|
|
59868
|
+
}
|
|
59490
59869
|
function isDrawablePattern(patternType) {
|
|
59491
59870
|
const definition = getPatternDefinition(patternType);
|
|
59492
59871
|
if (!definition) return false;
|
|
@@ -59526,6 +59905,6 @@ function propHostsDrawables(schema) {
|
|
|
59526
59905
|
return false;
|
|
59527
59906
|
}
|
|
59528
59907
|
|
|
59529
|
-
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiEntriesOf, renderUiPatternTypesOf };
|
|
59908
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternMinUsableWidths, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiEntriesOf, renderUiPatternTypesOf };
|
|
59530
59909
|
//# sourceMappingURL=index.js.map
|
|
59531
59910
|
//# sourceMappingURL=index.js.map
|