@almadar/core 10.41.0 → 10.43.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 +596 -5
- package/dist/builders.js +47 -41
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DSbx6joe.d.ts → effect-NbTgX2yB.d.ts} +1574 -100
- package/dist/{expression-DpAj1RzP.d.ts → expression-Yf7qvvOs.d.ts} +85 -10
- package/dist/factory/index.d.ts +5 -7
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js +47 -41
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +38 -17
- package/dist/index.js +332 -506
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +32 -2
- package/dist/mock/index.js +32 -2
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +8 -23
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +343 -857
- package/dist/patterns/index.js +166 -399
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +155 -370
- package/dist/patterns/registry.json +155 -370
- package/dist/{builders-CikYSzX6.d.ts → schema-DdcBBHkb.d.ts} +7016 -2545
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-2E6TQw19.d.ts → trait-DdBiEffx.d.ts} +1336 -324
- package/dist/types/index.d.ts +148 -41
- package/dist/types/index.js +144 -112
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CzocAZtG.d.ts → types-B4NVh8V9.d.ts} +3 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +79 -0
- package/dist/entity-DfD-iXkn.d.ts +0 -1572
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-07-
|
|
6
|
+
exportedAt: "2026-07-29T19:32:01.461Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -8498,6 +8498,25 @@ var patterns_registry_default = {
|
|
|
8498
8498
|
description: "Show arrow",
|
|
8499
8499
|
default: true
|
|
8500
8500
|
},
|
|
8501
|
+
open: {
|
|
8502
|
+
types: [
|
|
8503
|
+
"boolean"
|
|
8504
|
+
],
|
|
8505
|
+
description: "Controlled open state. When set, the host owns visibility and the popover reports intent through onOpenChange instead of toggling itself."
|
|
8506
|
+
},
|
|
8507
|
+
onOpenChange: {
|
|
8508
|
+
types: [
|
|
8509
|
+
"function"
|
|
8510
|
+
],
|
|
8511
|
+
description: "Fired when the popover wants to change visibility (trigger click, outside click)",
|
|
8512
|
+
kind: "callback",
|
|
8513
|
+
callbackArgs: [
|
|
8514
|
+
{
|
|
8515
|
+
name: "open",
|
|
8516
|
+
type: "boolean"
|
|
8517
|
+
}
|
|
8518
|
+
]
|
|
8519
|
+
},
|
|
8501
8520
|
className: {
|
|
8502
8521
|
types: [
|
|
8503
8522
|
"string"
|
|
@@ -18160,6 +18179,22 @@ var patterns_registry_default = {
|
|
|
18160
18179
|
description: 'Max items to show before "Show More" button. Defaults to 5. Set to 0 to disable.',
|
|
18161
18180
|
default: 5
|
|
18162
18181
|
},
|
|
18182
|
+
sortBy: {
|
|
18183
|
+
types: [
|
|
18184
|
+
"string"
|
|
18185
|
+
],
|
|
18186
|
+
description: "Field name to order rows by. Values are compared by their own type \u2014 numbers numerically, date-like strings chronologically, everything else alphabetically \u2014 never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer."
|
|
18187
|
+
},
|
|
18188
|
+
sortDirection: {
|
|
18189
|
+
types: [
|
|
18190
|
+
"string"
|
|
18191
|
+
],
|
|
18192
|
+
description: "Direction for `sortBy`. Defaults to ascending.",
|
|
18193
|
+
enumValues: [
|
|
18194
|
+
"asc",
|
|
18195
|
+
"desc"
|
|
18196
|
+
]
|
|
18197
|
+
},
|
|
18163
18198
|
look: {
|
|
18164
18199
|
types: [
|
|
18165
18200
|
"string"
|
|
@@ -33534,6 +33569,13 @@ var patterns_registry_default = {
|
|
|
33534
33569
|
],
|
|
33535
33570
|
description: 'Max inline action buttons before the rest collapse into a "\u22EF" overflow menu. Omit = all inline.'
|
|
33536
33571
|
},
|
|
33572
|
+
itemClickEvent: {
|
|
33573
|
+
types: [
|
|
33574
|
+
"string"
|
|
33575
|
+
],
|
|
33576
|
+
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.",
|
|
33577
|
+
kind: "event"
|
|
33578
|
+
},
|
|
33537
33579
|
selectable: {
|
|
33538
33580
|
types: [
|
|
33539
33581
|
"boolean"
|
|
@@ -35052,9 +35094,22 @@ var patterns_registry_default = {
|
|
|
35052
35094
|
types: [
|
|
35053
35095
|
"number"
|
|
35054
35096
|
],
|
|
35055
|
-
description: "Render scale (
|
|
35097
|
+
description: "Render scale, legacy-squared semantics: on-screen cell \u2248 `256 \xD7 scale\xB2` px (the authored contract every board tuned its value for). Converted internally to the single camera zoom against the board's native tile width, so the cell pitch follows the asset while the on-screen size stays as authored. Ignored when `fit` is on; passed through raw for `free`/`side` (world-pixel-direct).",
|
|
35056
35098
|
default: 0.4
|
|
35057
35099
|
},
|
|
35100
|
+
tileWidth: {
|
|
35101
|
+
types: [
|
|
35102
|
+
"number"
|
|
35103
|
+
],
|
|
35104
|
+
description: "Native tile/cell width in source px for this board's asset (e.g. 16 for Kenney tiny-dungeon, ~128 for iso blocks). The grid cell pitch follows the asset, so tile textures map 1:1 (crisp, no stretch). Defaults to the detected atlas tile width, else 256."
|
|
35105
|
+
},
|
|
35106
|
+
fit: {
|
|
35107
|
+
types: [
|
|
35108
|
+
"boolean"
|
|
35109
|
+
],
|
|
35110
|
+
description: "Auto-fit the board's grid extent to the viewport (default false \u2014 boards render at their authored `scale` and overflow \u2192 pan). Opt in for whole-board-overview boards. User wheel/pinch zoom always wins after the initial fit.",
|
|
35111
|
+
default: false
|
|
35112
|
+
},
|
|
35058
35113
|
showMinimap: {
|
|
35059
35114
|
types: [
|
|
35060
35115
|
"boolean"
|
|
@@ -39210,7 +39265,8 @@ var patterns_registry_default = {
|
|
|
39210
39265
|
"cell",
|
|
39211
39266
|
"rect",
|
|
39212
39267
|
"ellipse",
|
|
39213
|
-
"poly"
|
|
39268
|
+
"poly",
|
|
39269
|
+
"path"
|
|
39214
39270
|
]
|
|
39215
39271
|
},
|
|
39216
39272
|
position: {
|
|
@@ -39295,6 +39351,12 @@ var patterns_registry_default = {
|
|
|
39295
39351
|
]
|
|
39296
39352
|
}
|
|
39297
39353
|
},
|
|
39354
|
+
d: {
|
|
39355
|
+
types: [
|
|
39356
|
+
"string"
|
|
39357
|
+
],
|
|
39358
|
+
description: "SVG path data in world units relative to the cell's projected top-left \u2014 same coordinate convention as `points`."
|
|
39359
|
+
},
|
|
39298
39360
|
fill: {
|
|
39299
39361
|
types: [
|
|
39300
39362
|
"string"
|
|
@@ -39483,13 +39545,13 @@ var patterns_registry_default = {
|
|
|
39483
39545
|
types: [
|
|
39484
39546
|
"number"
|
|
39485
39547
|
],
|
|
39486
|
-
description: "Draw width in world units (fractions of `projector.tileWidth`)
|
|
39548
|
+
description: "Draw width in world units (fractions of `projector.tileWidth`). Omitted \u2192 one cell on tile grids (`flat`/`iso`/`hex`); native source px on `free`/`side`."
|
|
39487
39549
|
},
|
|
39488
39550
|
height: {
|
|
39489
39551
|
types: [
|
|
39490
39552
|
"number"
|
|
39491
39553
|
],
|
|
39492
|
-
description: "Draw height in world units (fractions of `projector.tileWidth`)
|
|
39554
|
+
description: "Draw height in world units (fractions of `projector.tileWidth`). Omitted \u2192 one cell on tile grids (`flat`/`iso`/`hex`); native source px on `free`/`side`."
|
|
39493
39555
|
},
|
|
39494
39556
|
frame: {
|
|
39495
39557
|
types: [
|
|
@@ -39695,7 +39757,8 @@ var patterns_registry_default = {
|
|
|
39695
39757
|
"cell",
|
|
39696
39758
|
"rect",
|
|
39697
39759
|
"ellipse",
|
|
39698
|
-
"poly"
|
|
39760
|
+
"poly",
|
|
39761
|
+
"path"
|
|
39699
39762
|
]
|
|
39700
39763
|
},
|
|
39701
39764
|
position: {
|
|
@@ -39770,6 +39833,11 @@ var patterns_registry_default = {
|
|
|
39770
39833
|
]
|
|
39771
39834
|
}
|
|
39772
39835
|
},
|
|
39836
|
+
d: {
|
|
39837
|
+
types: [
|
|
39838
|
+
"string"
|
|
39839
|
+
]
|
|
39840
|
+
},
|
|
39773
39841
|
fill: {
|
|
39774
39842
|
types: [
|
|
39775
39843
|
"string"
|
|
@@ -40226,6 +40294,18 @@ var patterns_registry_default = {
|
|
|
40226
40294
|
],
|
|
40227
40295
|
description: "Minimap overlay (2D)."
|
|
40228
40296
|
},
|
|
40297
|
+
fit: {
|
|
40298
|
+
types: [
|
|
40299
|
+
"boolean"
|
|
40300
|
+
],
|
|
40301
|
+
description: "Auto-fit the board's grid extent to the viewport (2D grid layouts; default false \u2014 boards render at their authored `camera.zoom` scale)."
|
|
40302
|
+
},
|
|
40303
|
+
tileWidth: {
|
|
40304
|
+
types: [
|
|
40305
|
+
"number"
|
|
40306
|
+
],
|
|
40307
|
+
description: "Native tile/cell width in source px of the board's asset (2D grid layouts; defaults to the detected atlas tile width, else 256)."
|
|
40308
|
+
},
|
|
40229
40309
|
backgroundImage: {
|
|
40230
40310
|
types: [
|
|
40231
40311
|
"asset",
|
|
@@ -40917,175 +40997,72 @@ var patterns_registry_default = {
|
|
|
40917
40997
|
}
|
|
40918
40998
|
}
|
|
40919
40999
|
},
|
|
40920
|
-
"
|
|
40921
|
-
type: "
|
|
41000
|
+
"draw-group": {
|
|
41001
|
+
type: "draw-group",
|
|
40922
41002
|
category: "game",
|
|
40923
41003
|
tier: "atoms",
|
|
40924
41004
|
family: "game",
|
|
40925
|
-
description: "
|
|
41005
|
+
description: "DrawGroup component",
|
|
40926
41006
|
suggestedFor: [
|
|
40927
|
-
"svg",
|
|
40928
41007
|
"draw",
|
|
40929
41008
|
"group",
|
|
40930
|
-
"
|
|
41009
|
+
"draw group"
|
|
40931
41010
|
],
|
|
40932
41011
|
typicalSize: "small",
|
|
40933
41012
|
propsSchema: {
|
|
40934
|
-
|
|
40935
|
-
types: [
|
|
40936
|
-
"number"
|
|
40937
|
-
],
|
|
40938
|
-
description: "Grid-cell x of the group's origin.",
|
|
40939
|
-
default: 0
|
|
40940
|
-
},
|
|
40941
|
-
y: {
|
|
40942
|
-
types: [
|
|
40943
|
-
"number"
|
|
40944
|
-
],
|
|
40945
|
-
description: "Grid-cell y of the group's origin.",
|
|
40946
|
-
default: 0
|
|
40947
|
-
},
|
|
40948
|
-
scale: {
|
|
40949
|
-
types: [
|
|
40950
|
-
"number"
|
|
40951
|
-
],
|
|
40952
|
-
description: "Uniform scale applied after the translate."
|
|
40953
|
-
},
|
|
40954
|
-
rotate: {
|
|
40955
|
-
types: [
|
|
40956
|
-
"number"
|
|
40957
|
-
],
|
|
40958
|
-
description: "Rotation in degrees applied after the translate."
|
|
40959
|
-
},
|
|
40960
|
-
opacity: {
|
|
40961
|
-
types: [
|
|
40962
|
-
"number"
|
|
40963
|
-
],
|
|
40964
|
-
description: "0..1 opacity."
|
|
40965
|
-
},
|
|
40966
|
-
className: {
|
|
40967
|
-
types: [
|
|
40968
|
-
"string"
|
|
40969
|
-
],
|
|
40970
|
-
description: "Additional CSS classes"
|
|
40971
|
-
},
|
|
40972
|
-
children: {
|
|
40973
|
-
types: [
|
|
40974
|
-
"node"
|
|
40975
|
-
],
|
|
40976
|
-
description: "children prop"
|
|
40977
|
-
}
|
|
40978
|
-
}
|
|
40979
|
-
},
|
|
40980
|
-
"svg-draw-shape": {
|
|
40981
|
-
type: "svg-draw-shape",
|
|
40982
|
-
category: "game",
|
|
40983
|
-
tier: "atoms",
|
|
40984
|
-
family: "game",
|
|
40985
|
-
description: "SvgDrawShape component",
|
|
40986
|
-
suggestedFor: [
|
|
40987
|
-
"svg",
|
|
40988
|
-
"draw",
|
|
40989
|
-
"shape",
|
|
40990
|
-
"svg draw shape"
|
|
40991
|
-
],
|
|
40992
|
-
typicalSize: "small",
|
|
40993
|
-
propsSchema: {
|
|
40994
|
-
shape: {
|
|
41013
|
+
id: {
|
|
40995
41014
|
types: [
|
|
40996
41015
|
"string"
|
|
40997
41016
|
],
|
|
40998
|
-
description: "
|
|
40999
|
-
required: true,
|
|
41000
|
-
enumValues: [
|
|
41001
|
-
"rect",
|
|
41002
|
-
"circle",
|
|
41003
|
-
"ellipse",
|
|
41004
|
-
"polygon",
|
|
41005
|
-
"polyline",
|
|
41006
|
-
"path",
|
|
41007
|
-
"line"
|
|
41008
|
-
]
|
|
41009
|
-
},
|
|
41010
|
-
x: {
|
|
41011
|
-
types: [
|
|
41012
|
-
"number"
|
|
41013
|
-
],
|
|
41014
|
-
description: "Grid-cell x of the element's translated origin.",
|
|
41015
|
-
required: true
|
|
41017
|
+
description: "Optional source-tagged hit-test handle \u2014 the host indexes the drawable's ScenePos\u2192id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id \u2192 the host emits only the coordinate (tile click)."
|
|
41016
41018
|
},
|
|
41017
|
-
|
|
41019
|
+
type: {
|
|
41018
41020
|
types: [
|
|
41019
|
-
"
|
|
41021
|
+
"unknown"
|
|
41020
41022
|
],
|
|
41021
|
-
description: "
|
|
41023
|
+
description: "type prop",
|
|
41022
41024
|
required: true
|
|
41023
41025
|
},
|
|
41024
|
-
|
|
41025
|
-
types: [
|
|
41026
|
-
"number"
|
|
41027
|
-
],
|
|
41028
|
-
description: "Rect width in cell units."
|
|
41029
|
-
},
|
|
41030
|
-
height: {
|
|
41031
|
-
types: [
|
|
41032
|
-
"number"
|
|
41033
|
-
],
|
|
41034
|
-
description: "Rect height in cell units."
|
|
41035
|
-
},
|
|
41036
|
-
radius: {
|
|
41037
|
-
types: [
|
|
41038
|
-
"number"
|
|
41039
|
-
],
|
|
41040
|
-
description: "Circle radius / ellipse horizontal radius in cell units."
|
|
41041
|
-
},
|
|
41042
|
-
radiusY: {
|
|
41043
|
-
types: [
|
|
41044
|
-
"number"
|
|
41045
|
-
],
|
|
41046
|
-
description: "Ellipse vertical radius in cell units; omitted \u2192 `radius` (a circle)."
|
|
41047
|
-
},
|
|
41048
|
-
points: {
|
|
41026
|
+
position: {
|
|
41049
41027
|
types: [
|
|
41050
|
-
"
|
|
41028
|
+
"object"
|
|
41051
41029
|
],
|
|
41052
|
-
description: "
|
|
41053
|
-
|
|
41054
|
-
|
|
41055
|
-
|
|
41056
|
-
|
|
41030
|
+
description: "Logical scene position; the projector maps it to pixels / world.",
|
|
41031
|
+
required: true,
|
|
41032
|
+
properties: {
|
|
41033
|
+
x: {
|
|
41034
|
+
types: [
|
|
41035
|
+
"number"
|
|
41036
|
+
]
|
|
41037
|
+
},
|
|
41038
|
+
y: {
|
|
41039
|
+
types: [
|
|
41040
|
+
"number"
|
|
41041
|
+
]
|
|
41042
|
+
},
|
|
41043
|
+
z: {
|
|
41044
|
+
types: [
|
|
41045
|
+
"number"
|
|
41046
|
+
]
|
|
41047
|
+
}
|
|
41048
|
+
},
|
|
41049
|
+
propertyRequired: [
|
|
41050
|
+
"x",
|
|
41051
|
+
"y"
|
|
41057
41052
|
],
|
|
41058
|
-
|
|
41053
|
+
scenePos: true
|
|
41059
41054
|
},
|
|
41060
|
-
|
|
41055
|
+
scale: {
|
|
41061
41056
|
types: [
|
|
41062
41057
|
"number"
|
|
41063
41058
|
],
|
|
41064
|
-
description: "
|
|
41059
|
+
description: "Uniform scale applied to the whole group."
|
|
41065
41060
|
},
|
|
41066
|
-
|
|
41061
|
+
rotate: {
|
|
41067
41062
|
types: [
|
|
41068
41063
|
"number"
|
|
41069
41064
|
],
|
|
41070
|
-
description: "
|
|
41071
|
-
},
|
|
41072
|
-
fill: {
|
|
41073
|
-
types: [
|
|
41074
|
-
"string"
|
|
41075
|
-
],
|
|
41076
|
-
description: "fill prop"
|
|
41077
|
-
},
|
|
41078
|
-
stroke: {
|
|
41079
|
-
types: [
|
|
41080
|
-
"string"
|
|
41081
|
-
],
|
|
41082
|
-
description: "stroke prop"
|
|
41083
|
-
},
|
|
41084
|
-
strokeWidth: {
|
|
41085
|
-
types: [
|
|
41086
|
-
"number"
|
|
41087
|
-
],
|
|
41088
|
-
description: "strokeWidth prop"
|
|
41065
|
+
description: "Rotation in radians (painter units)."
|
|
41089
41066
|
},
|
|
41090
41067
|
opacity: {
|
|
41091
41068
|
types: [
|
|
@@ -41093,266 +41070,74 @@ var patterns_registry_default = {
|
|
|
41093
41070
|
],
|
|
41094
41071
|
description: "0..1 opacity."
|
|
41095
41072
|
},
|
|
41096
|
-
className: {
|
|
41097
|
-
types: [
|
|
41098
|
-
"string"
|
|
41099
|
-
],
|
|
41100
|
-
description: "Additional CSS classes"
|
|
41101
|
-
}
|
|
41102
|
-
}
|
|
41103
|
-
},
|
|
41104
|
-
"svg-draw-text": {
|
|
41105
|
-
type: "svg-draw-text",
|
|
41106
|
-
category: "game",
|
|
41107
|
-
tier: "atoms",
|
|
41108
|
-
family: "game",
|
|
41109
|
-
description: "SvgDrawText component",
|
|
41110
|
-
suggestedFor: [
|
|
41111
|
-
"svg",
|
|
41112
|
-
"draw",
|
|
41113
|
-
"text",
|
|
41114
|
-
"svg draw text"
|
|
41115
|
-
],
|
|
41116
|
-
typicalSize: "small",
|
|
41117
|
-
propsSchema: {
|
|
41118
|
-
x: {
|
|
41119
|
-
types: [
|
|
41120
|
-
"number"
|
|
41121
|
-
],
|
|
41122
|
-
description: "Grid-cell x of the text anchor.",
|
|
41123
|
-
required: true
|
|
41124
|
-
},
|
|
41125
|
-
y: {
|
|
41126
|
-
types: [
|
|
41127
|
-
"number"
|
|
41128
|
-
],
|
|
41129
|
-
description: "Grid-cell y of the text anchor.",
|
|
41130
|
-
required: true
|
|
41131
|
-
},
|
|
41132
|
-
text: {
|
|
41133
|
-
types: [
|
|
41134
|
-
"string"
|
|
41135
|
-
],
|
|
41136
|
-
description: "The text content.",
|
|
41137
|
-
required: true
|
|
41138
|
-
},
|
|
41139
|
-
size: {
|
|
41140
|
-
types: [
|
|
41141
|
-
"number"
|
|
41142
|
-
],
|
|
41143
|
-
description: "Font size in viewBox units (default 12).",
|
|
41144
|
-
default: 12
|
|
41145
|
-
},
|
|
41146
|
-
fill: {
|
|
41147
|
-
types: [
|
|
41148
|
-
"string"
|
|
41149
|
-
],
|
|
41150
|
-
description: "fill prop",
|
|
41151
|
-
default: "var(--color-foreground)"
|
|
41152
|
-
},
|
|
41153
|
-
anchor: {
|
|
41154
|
-
types: [
|
|
41155
|
-
"string"
|
|
41156
|
-
],
|
|
41157
|
-
description: "Text anchor (default 'middle').",
|
|
41158
|
-
enumValues: [
|
|
41159
|
-
"start",
|
|
41160
|
-
"middle",
|
|
41161
|
-
"end"
|
|
41162
|
-
],
|
|
41163
|
-
default: "middle"
|
|
41164
|
-
},
|
|
41165
|
-
className: {
|
|
41166
|
-
types: [
|
|
41167
|
-
"string"
|
|
41168
|
-
],
|
|
41169
|
-
description: "Additional CSS classes"
|
|
41170
|
-
}
|
|
41171
|
-
}
|
|
41172
|
-
},
|
|
41173
|
-
"svg-draw-shape-layer": {
|
|
41174
|
-
type: "svg-draw-shape-layer",
|
|
41175
|
-
category: "game",
|
|
41176
|
-
tier: "molecules",
|
|
41177
|
-
family: "game",
|
|
41178
|
-
description: "SvgDrawShapeLayer component",
|
|
41179
|
-
suggestedFor: [
|
|
41180
|
-
"svg",
|
|
41181
|
-
"draw",
|
|
41182
|
-
"shape",
|
|
41183
|
-
"layer",
|
|
41184
|
-
"svg draw shape layer"
|
|
41185
|
-
],
|
|
41186
|
-
typicalSize: "medium",
|
|
41187
|
-
propsSchema: {
|
|
41188
41073
|
items: {
|
|
41189
41074
|
types: [
|
|
41190
41075
|
"array"
|
|
41191
41076
|
],
|
|
41192
|
-
description: "
|
|
41077
|
+
description: "The grouped drawables, painted through the normal dispatch.",
|
|
41193
41078
|
required: true,
|
|
41194
41079
|
items: {
|
|
41195
41080
|
types: [
|
|
41196
41081
|
"object"
|
|
41197
41082
|
],
|
|
41198
|
-
|
|
41199
|
-
id: {
|
|
41200
|
-
types: [
|
|
41201
|
-
"string"
|
|
41202
|
-
]
|
|
41203
|
-
}
|
|
41204
|
-
},
|
|
41205
|
-
required: [
|
|
41206
|
-
"id"
|
|
41207
|
-
]
|
|
41083
|
+
drawableSlot: true
|
|
41208
41084
|
}
|
|
41209
|
-
},
|
|
41210
|
-
fill: {
|
|
41211
|
-
types: [
|
|
41212
|
-
"string"
|
|
41213
|
-
],
|
|
41214
|
-
description: "Default fill for items that don't set one."
|
|
41215
|
-
},
|
|
41216
|
-
stroke: {
|
|
41217
|
-
types: [
|
|
41218
|
-
"string"
|
|
41219
|
-
],
|
|
41220
|
-
description: "Default stroke for items that don't set one."
|
|
41221
|
-
},
|
|
41222
|
-
strokeWidth: {
|
|
41223
|
-
types: [
|
|
41224
|
-
"number"
|
|
41225
|
-
],
|
|
41226
|
-
description: "Default strokeWidth for items that don't set one."
|
|
41227
|
-
},
|
|
41228
|
-
opacity: {
|
|
41229
|
-
types: [
|
|
41230
|
-
"number"
|
|
41231
|
-
],
|
|
41232
|
-
description: "Default 0..1 opacity for items that don't set one."
|
|
41233
41085
|
}
|
|
41234
|
-
}
|
|
41086
|
+
},
|
|
41087
|
+
drawable: true,
|
|
41088
|
+
drawHost: true
|
|
41235
41089
|
},
|
|
41236
|
-
"
|
|
41237
|
-
type: "
|
|
41238
|
-
category: "
|
|
41090
|
+
"emoji-picker": {
|
|
41091
|
+
type: "emoji-picker",
|
|
41092
|
+
category: "component",
|
|
41239
41093
|
tier: "molecules",
|
|
41240
|
-
family: "
|
|
41241
|
-
description: "
|
|
41094
|
+
family: "core",
|
|
41095
|
+
description: "EmojiPicker component",
|
|
41242
41096
|
suggestedFor: [
|
|
41243
|
-
"
|
|
41244
|
-
"
|
|
41245
|
-
"
|
|
41097
|
+
"emoji",
|
|
41098
|
+
"picker",
|
|
41099
|
+
"emoji picker"
|
|
41246
41100
|
],
|
|
41247
41101
|
typicalSize: "medium",
|
|
41248
41102
|
propsSchema: {
|
|
41249
|
-
|
|
41250
|
-
types: [
|
|
41251
|
-
"number"
|
|
41252
|
-
],
|
|
41253
|
-
description: "Grid width in cells.",
|
|
41254
|
-
required: true
|
|
41255
|
-
},
|
|
41256
|
-
rows: {
|
|
41257
|
-
types: [
|
|
41258
|
-
"number"
|
|
41259
|
-
],
|
|
41260
|
-
description: "Grid height in cells.",
|
|
41261
|
-
required: true
|
|
41262
|
-
},
|
|
41263
|
-
tileSize: {
|
|
41264
|
-
types: [
|
|
41265
|
-
"number"
|
|
41266
|
-
],
|
|
41267
|
-
description: "ViewBox units per cell (default 32); viewBox is `0 0 cols*tileSize rows*tileSize`.",
|
|
41268
|
-
default: 32
|
|
41269
|
-
},
|
|
41270
|
-
background: {
|
|
41103
|
+
pickEvent: {
|
|
41271
41104
|
types: [
|
|
41272
41105
|
"string"
|
|
41273
41106
|
],
|
|
41274
|
-
description: "
|
|
41275
|
-
|
|
41107
|
+
description: "Declarative event name \u2014 picking an emoji emits UI:{pickEvent} with { emoji } via eventBus",
|
|
41108
|
+
kind: "event"
|
|
41276
41109
|
},
|
|
41277
|
-
|
|
41110
|
+
position: {
|
|
41278
41111
|
types: [
|
|
41279
41112
|
"string"
|
|
41280
41113
|
],
|
|
41281
|
-
description: "
|
|
41282
|
-
|
|
41283
|
-
|
|
41284
|
-
|
|
41285
|
-
name: "x",
|
|
41286
|
-
type: "number",
|
|
41287
|
-
required: true
|
|
41288
|
-
},
|
|
41289
|
-
{
|
|
41290
|
-
name: "y",
|
|
41291
|
-
type: "number",
|
|
41292
|
-
required: true
|
|
41293
|
-
}
|
|
41294
|
-
]
|
|
41295
|
-
},
|
|
41296
|
-
tileHoverEvent: {
|
|
41297
|
-
types: [
|
|
41298
|
-
"string"
|
|
41114
|
+
description: "Which side of the trigger the panel opens on",
|
|
41115
|
+
enumValues: [
|
|
41116
|
+
"top",
|
|
41117
|
+
"bottom"
|
|
41299
41118
|
],
|
|
41300
|
-
|
|
41301
|
-
kind: "event-ref",
|
|
41302
|
-
emitPayloadSchema: [
|
|
41303
|
-
{
|
|
41304
|
-
name: "x",
|
|
41305
|
-
type: "number",
|
|
41306
|
-
required: true
|
|
41307
|
-
},
|
|
41308
|
-
{
|
|
41309
|
-
name: "y",
|
|
41310
|
-
type: "number",
|
|
41311
|
-
required: true
|
|
41312
|
-
}
|
|
41313
|
-
]
|
|
41119
|
+
default: "top"
|
|
41314
41120
|
},
|
|
41315
|
-
|
|
41121
|
+
triggerIcon: {
|
|
41316
41122
|
types: [
|
|
41123
|
+
"icon",
|
|
41317
41124
|
"string"
|
|
41318
41125
|
],
|
|
41319
|
-
description: "
|
|
41320
|
-
|
|
41321
|
-
emitPayloadSchema: []
|
|
41322
|
-
},
|
|
41323
|
-
keyMap: {
|
|
41324
|
-
types: [
|
|
41325
|
-
"object"
|
|
41326
|
-
],
|
|
41327
|
-
description: "Keyboard \u2192 semantic events: `e.code` \u2192 event name, emitted as `UI:<event>` with `{}`.",
|
|
41328
|
-
mapValue: {
|
|
41329
|
-
types: [
|
|
41330
|
-
"string"
|
|
41331
|
-
]
|
|
41332
|
-
}
|
|
41126
|
+
description: "Icon shown on the trigger button",
|
|
41127
|
+
default: "smile"
|
|
41333
41128
|
},
|
|
41334
|
-
|
|
41129
|
+
triggerLabel: {
|
|
41335
41130
|
types: [
|
|
41336
|
-
"
|
|
41131
|
+
"string"
|
|
41337
41132
|
],
|
|
41338
|
-
description: "
|
|
41339
|
-
|
|
41340
|
-
types: [
|
|
41341
|
-
"string"
|
|
41342
|
-
]
|
|
41343
|
-
}
|
|
41133
|
+
description: "Accessible label for the trigger button",
|
|
41134
|
+
default: "Add emoji"
|
|
41344
41135
|
},
|
|
41345
41136
|
className: {
|
|
41346
41137
|
types: [
|
|
41347
41138
|
"string"
|
|
41348
41139
|
],
|
|
41349
|
-
description: "Additional CSS classes"
|
|
41350
|
-
},
|
|
41351
|
-
children: {
|
|
41352
|
-
types: [
|
|
41353
|
-
"node"
|
|
41354
|
-
],
|
|
41355
|
-
description: "children prop"
|
|
41140
|
+
description: "Additional CSS classes applied to the trigger button"
|
|
41356
41141
|
}
|
|
41357
41142
|
}
|
|
41358
41143
|
}
|
|
@@ -42276,7 +42061,7 @@ var integrators_registry_default = {
|
|
|
42276
42061
|
// src/patterns/component-mapping.json
|
|
42277
42062
|
var component_mapping_default = {
|
|
42278
42063
|
version: "1.0.0",
|
|
42279
|
-
exportedAt: "2026-07-
|
|
42064
|
+
exportedAt: "2026-07-29T19:32:01.461Z",
|
|
42280
42065
|
mappings: {
|
|
42281
42066
|
"page-header": {
|
|
42282
42067
|
component: "PageHeader",
|
|
@@ -43650,30 +43435,15 @@ var component_mapping_default = {
|
|
|
43650
43435
|
importPath: "@/components/core/molecules/ImportSourcePicker",
|
|
43651
43436
|
category: "component"
|
|
43652
43437
|
},
|
|
43653
|
-
"
|
|
43654
|
-
component: "
|
|
43655
|
-
importPath: "@/components/game/atoms/
|
|
43656
|
-
category: "game"
|
|
43657
|
-
},
|
|
43658
|
-
"svg-draw-shape": {
|
|
43659
|
-
component: "SvgDrawShape",
|
|
43660
|
-
importPath: "@/components/game/atoms/SvgDrawShape",
|
|
43438
|
+
"draw-group": {
|
|
43439
|
+
component: "DrawGroup",
|
|
43440
|
+
importPath: "@/components/game/atoms/DrawGroup",
|
|
43661
43441
|
category: "game"
|
|
43662
43442
|
},
|
|
43663
|
-
"
|
|
43664
|
-
component: "
|
|
43665
|
-
importPath: "@/components/
|
|
43666
|
-
category: "
|
|
43667
|
-
},
|
|
43668
|
-
"svg-draw-shape-layer": {
|
|
43669
|
-
component: "SvgDrawShapeLayer",
|
|
43670
|
-
importPath: "@/components/game/molecules/SvgDrawShapeLayer",
|
|
43671
|
-
category: "game"
|
|
43672
|
-
},
|
|
43673
|
-
"svg-stage": {
|
|
43674
|
-
component: "SvgStage",
|
|
43675
|
-
importPath: "@/components/game/molecules/SvgStage",
|
|
43676
|
-
category: "game"
|
|
43443
|
+
"emoji-picker": {
|
|
43444
|
+
component: "EmojiPicker",
|
|
43445
|
+
importPath: "@/components/core/molecules/EmojiPicker",
|
|
43446
|
+
category: "component"
|
|
43677
43447
|
}
|
|
43678
43448
|
}
|
|
43679
43449
|
};
|
|
@@ -43681,7 +43451,7 @@ var component_mapping_default = {
|
|
|
43681
43451
|
// src/patterns/event-contracts.json
|
|
43682
43452
|
var event_contracts_default = {
|
|
43683
43453
|
version: "1.0.0",
|
|
43684
|
-
exportedAt: "2026-07-
|
|
43454
|
+
exportedAt: "2026-07-29T19:32:01.461Z",
|
|
43685
43455
|
contracts: {
|
|
43686
43456
|
form: {
|
|
43687
43457
|
emits: [
|
|
@@ -44911,6 +44681,7 @@ var PATTERN_TYPES = [
|
|
|
44911
44681
|
"doc-sidebar",
|
|
44912
44682
|
"doc-toc",
|
|
44913
44683
|
"document-viewer",
|
|
44684
|
+
"draw-group",
|
|
44914
44685
|
"draw-shape",
|
|
44915
44686
|
"draw-shape-layer",
|
|
44916
44687
|
"draw-sprite",
|
|
@@ -44920,6 +44691,7 @@ var PATTERN_TYPES = [
|
|
|
44920
44691
|
"drawer",
|
|
44921
44692
|
"drawer-slot",
|
|
44922
44693
|
"edge-decoration",
|
|
44694
|
+
"emoji-picker",
|
|
44923
44695
|
"empty-state",
|
|
44924
44696
|
"entity-cards",
|
|
44925
44697
|
"entity-list",
|
|
@@ -45062,10 +44834,6 @@ var PATTERN_TYPES = [
|
|
|
45062
44834
|
"subagent-trace-panel",
|
|
45063
44835
|
"svg-branch",
|
|
45064
44836
|
"svg-connection",
|
|
45065
|
-
"svg-draw-group",
|
|
45066
|
-
"svg-draw-shape",
|
|
45067
|
-
"svg-draw-shape-layer",
|
|
45068
|
-
"svg-draw-text",
|
|
45069
44837
|
"svg-flow",
|
|
45070
44838
|
"svg-grid",
|
|
45071
44839
|
"svg-lobe",
|
|
@@ -45076,7 +44844,6 @@ var PATTERN_TYPES = [
|
|
|
45076
44844
|
"svg-ring",
|
|
45077
44845
|
"svg-shield",
|
|
45078
44846
|
"svg-stack",
|
|
45079
|
-
"svg-stage",
|
|
45080
44847
|
"swipeable-row",
|
|
45081
44848
|
"switch",
|
|
45082
44849
|
"tabbed-container",
|