@almadar/std 16.151.0 → 16.153.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 (151) hide show
  1. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +5 -1
  2. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +15 -4
  3. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +12 -0
  4. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +56 -0
  5. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +39 -0
  6. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +11 -0
  7. package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +54 -0
  8. package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +6 -1
  9. package/behaviors/lolo/ui/game/atoms/ui-draw-sprite.lolo +2 -2
  10. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +58 -0
  11. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +103 -0
  12. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +58 -0
  13. package/behaviors/lolo/ui/game/molecules/ui-canvas-2d.lolo +11 -1
  14. package/behaviors/lolo/ui/game/molecules/ui-canvas.lolo +10 -0
  15. package/behaviors/lolo/ui/game/molecules/ui-draw-shape-layer.lolo +3 -2
  16. package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +52 -0
  17. package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +98 -0
  18. package/behaviors/lolo/ui/game/organisms/ui-fishing-board.lolo +8 -8
  19. package/behaviors/lolo/ui/game/organisms/ui-physics-sandbox-board.lolo +5 -5
  20. package/behaviors/lolo/ui/game/organisms/ui-roguelike-board.lolo +5 -5
  21. package/behaviors/lolo/ui/game/organisms/ui-sokoban-board.lolo +5 -5
  22. package/behaviors/lolo/ui/game/organisms/ui-state-architect-board.lolo +4 -4
  23. package/behaviors/lolo/ui/game/organisms/ui-winter-ski-board.lolo +7 -7
  24. package/behaviors/registry/factory-signatures.json +6211 -2181
  25. package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
  26. package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  27. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  28. package/behaviors/registry/infra/atoms/std-data-erasure.orb +17 -9
  29. package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  30. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  31. package/behaviors/registry/ml/molecules/std-escalating-decision.orb +10 -5
  32. package/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +4 -2
  33. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  34. package/behaviors/registry/ui/core/atoms/std-browse.orb +108 -28
  35. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  36. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  37. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  38. package/behaviors/registry/ui/core/atoms/std-gallery.orb +18 -9
  39. package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  40. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
  41. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +214 -0
  42. package/behaviors/registry/ui/core/molecules/ui-popover.orb +112 -1
  43. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +44 -0
  44. package/behaviors/registry/ui/game/atoms/std-arcade-flow.orb +1 -0
  45. package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -0
  46. package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -0
  47. package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -0
  48. package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -0
  49. package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -0
  50. package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -0
  51. package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -0
  52. package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -0
  53. package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -0
  54. package/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -0
  55. package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -0
  56. package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -0
  57. package/behaviors/registry/ui/game/atoms/std-production.orb +1 -0
  58. package/behaviors/registry/ui/game/atoms/std-round-flow.orb +1 -0
  59. package/behaviors/registry/ui/game/atoms/std-score.orb +1 -0
  60. package/behaviors/registry/ui/game/atoms/std-survival-flow.orb +1 -0
  61. package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -0
  62. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  63. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  64. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +2 -2
  65. package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  66. package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  67. package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  68. package/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -3
  69. package/behaviors/registry/ui/game/molecules/ui-canvas-2d.orb +16 -1
  70. package/behaviors/registry/ui/game/molecules/ui-canvas.orb +14 -0
  71. package/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  72. package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  73. package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  74. package/behaviors/registry/ui/game/organisms/ui-fishing-board.orb +16 -16
  75. package/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +10 -10
  76. package/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +10 -10
  77. package/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +10 -10
  78. package/behaviors/registry/ui/game/organisms/ui-state-architect-board.orb +8 -8
  79. package/behaviors/registry/ui/game/organisms/ui-winter-ski-board.orb +14 -14
  80. package/dist/behaviors/behaviors-embeddings.json +371 -343
  81. package/dist/behaviors/behaviors-registry.json +4851 -2388
  82. package/dist/behaviors/exports-reader.js +3409 -3101
  83. package/dist/behaviors/functions/index.d.ts +609 -6
  84. package/dist/behaviors/functions/index.js +3389 -3102
  85. package/dist/behaviors/index.d.ts +1 -1
  86. package/dist/behaviors/index.js +3410 -3102
  87. package/dist/behaviors/knob-embeddings.json +1 -1
  88. package/dist/behaviors/query.js +3409 -3101
  89. package/dist/behaviors/registry/factory-signatures.json +6211 -2181
  90. package/dist/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
  91. package/dist/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  92. package/dist/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  93. package/dist/behaviors/registry/infra/atoms/std-data-erasure.orb +17 -9
  94. package/dist/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  95. package/dist/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  96. package/dist/behaviors/registry/ml/molecules/std-escalating-decision.orb +10 -5
  97. package/dist/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +4 -2
  98. package/dist/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  99. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +108 -28
  100. package/dist/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  101. package/dist/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  102. package/dist/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  103. package/dist/behaviors/registry/ui/core/atoms/std-gallery.orb +18 -9
  104. package/dist/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  105. package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
  106. package/dist/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +214 -0
  107. package/dist/behaviors/registry/ui/core/molecules/ui-popover.orb +112 -1
  108. package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +44 -0
  109. package/dist/behaviors/registry/ui/game/atoms/std-arcade-flow.orb +1 -0
  110. package/dist/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -0
  111. package/dist/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -0
  112. package/dist/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -0
  113. package/dist/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -0
  114. package/dist/behaviors/registry/ui/game/atoms/std-gather.orb +1 -0
  115. package/dist/behaviors/registry/ui/game/atoms/std-gold.orb +1 -0
  116. package/dist/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -0
  117. package/dist/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -0
  118. package/dist/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -0
  119. package/dist/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -0
  120. package/dist/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -0
  121. package/dist/behaviors/registry/ui/game/atoms/std-patience.orb +1 -0
  122. package/dist/behaviors/registry/ui/game/atoms/std-production.orb +1 -0
  123. package/dist/behaviors/registry/ui/game/atoms/std-round-flow.orb +1 -0
  124. package/dist/behaviors/registry/ui/game/atoms/std-score.orb +1 -0
  125. package/dist/behaviors/registry/ui/game/atoms/std-survival-flow.orb +1 -0
  126. package/dist/behaviors/registry/ui/game/atoms/std-xp.orb +1 -0
  127. package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  128. package/dist/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  129. package/dist/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +2 -2
  130. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  131. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  132. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  133. package/dist/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -3
  134. package/dist/behaviors/registry/ui/game/molecules/ui-canvas-2d.orb +16 -1
  135. package/dist/behaviors/registry/ui/game/molecules/ui-canvas.orb +14 -0
  136. package/dist/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  137. package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  138. package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  139. package/dist/behaviors/registry/ui/game/organisms/ui-fishing-board.orb +16 -16
  140. package/dist/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +10 -10
  141. package/dist/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +10 -10
  142. package/dist/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +10 -10
  143. package/dist/behaviors/registry/ui/game/organisms/ui-state-architect-board.orb +8 -8
  144. package/dist/behaviors/registry/ui/game/organisms/ui-winter-ski-board.orb +14 -14
  145. package/dist/behaviors-embeddings.json +371 -343
  146. package/dist/behaviors-registry.json +4851 -2388
  147. package/dist/index.d.ts +1 -1
  148. package/dist/index.js +3410 -3102
  149. package/dist/knob-embeddings.json +1 -1
  150. package/dist/registry/factory-signatures.json +6211 -2181
  151. package/package.json +2 -2
@@ -0,0 +1,188 @@
1
+ {
2
+ "description": "SvgDrawShapeLayer — UI factory (1:1 with the @almadar/ui svg-draw-shape-layer pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01KYMKTFJYG59H080R8RV6DDQ0": {
6
+ "bakedName": "SvgDrawShapeLayerItem",
7
+ "curName": "SvgDrawShapeLayerItem",
8
+ "id": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01KYMKTFJYSWAQZGA9X351SKQK": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
20
+ "renames": []
21
+ },
22
+ "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB": {
23
+ "bakedName": "SvgDrawShapeLayerOrbital",
24
+ "curName": "SvgDrawShapeLayerOrbital",
25
+ "id": "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB",
26
+ "kind": "orbital",
27
+ "owner": "workspace",
28
+ "renames": []
29
+ },
30
+ "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K": {
31
+ "bakedName": "SvgDrawShapeLayerPage",
32
+ "curName": "SvgDrawShapeLayerPage",
33
+ "id": "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K",
34
+ "kind": "page",
35
+ "owner": "workspace",
36
+ "renames": []
37
+ },
38
+ "trt_01KYMKTFJY3X1PADCDKW8APT2H": {
39
+ "bakedName": "SvgDrawShapeLayerRender",
40
+ "curName": "SvgDrawShapeLayerRender",
41
+ "id": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
42
+ "kind": "trait",
43
+ "owner": "workspace",
44
+ "renames": []
45
+ }
46
+ },
47
+ "schemaVersion": 1
48
+ },
49
+ "name": "ui-svg-draw-shape-layer",
50
+ "orbitals": [
51
+ {
52
+ "entity": {
53
+ "fields": [
54
+ {
55
+ "name": "id",
56
+ "required": true,
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "id": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
61
+ "name": "SvgDrawShapeLayerItem",
62
+ "persistence": "runtime"
63
+ },
64
+ "id": "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB",
65
+ "name": "SvgDrawShapeLayerOrbital",
66
+ "pages": [
67
+ {
68
+ "id": "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K",
69
+ "name": "SvgDrawShapeLayerPage",
70
+ "path": "/svg-draw-shape-layer",
71
+ "traits": [
72
+ {
73
+ "ref": "SvgDrawShapeLayerRender",
74
+ "refId": "trt_01KYMKTFJY3X1PADCDKW8APT2H"
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "traits": [
80
+ {
81
+ "category": "interaction",
82
+ "config": {
83
+ "fill": {
84
+ "description": "Default fill for items that don't set one.",
85
+ "label": "Fill",
86
+ "tier": "presentation",
87
+ "type": "string"
88
+ },
89
+ "items": {
90
+ "default": [
91
+ {
92
+ "id": "Id"
93
+ },
94
+ {
95
+ "id": "Id 2"
96
+ }
97
+ ],
98
+ "description": "items prop",
99
+ "items": {
100
+ "properties": {
101
+ "id": {
102
+ "name": "id",
103
+ "required": true,
104
+ "type": "string"
105
+ }
106
+ },
107
+ "type": "object"
108
+ },
109
+ "label": "Items",
110
+ "tier": "presentation",
111
+ "type": "[SvgDrawShapeLayerItemsItem]"
112
+ },
113
+ "opacity": {
114
+ "description": "Default 0..1 opacity for items that don't set one.",
115
+ "label": "Opacity",
116
+ "tier": "presentation",
117
+ "type": "number"
118
+ },
119
+ "stroke": {
120
+ "description": "Default stroke for items that don't set one.",
121
+ "label": "Stroke",
122
+ "tier": "presentation",
123
+ "type": "string"
124
+ },
125
+ "strokeWidth": {
126
+ "description": "Default strokeWidth for items that don't set one.",
127
+ "label": "Stroke Width",
128
+ "tier": "presentation",
129
+ "type": "number"
130
+ }
131
+ },
132
+ "entityContract": {
133
+ "provides": [],
134
+ "requires": []
135
+ },
136
+ "entityRebindable": true,
137
+ "entityRefIds": {
138
+ "SvgDrawShapeLayerItem": "ent_01KYMKTFJYG59H080R8RV6DDQ0"
139
+ },
140
+ "id": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
141
+ "linkedEntity": "SvgDrawShapeLayerItem",
142
+ "linkedEntityId": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
143
+ "name": "SvgDrawShapeLayerRender",
144
+ "scope": "instance",
145
+ "stateMachine": {
146
+ "events": [
147
+ {
148
+ "id": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
149
+ "key": "INIT",
150
+ "name": "Initialize"
151
+ }
152
+ ],
153
+ "states": [
154
+ {
155
+ "isInitial": true,
156
+ "name": "idle"
157
+ }
158
+ ],
159
+ "transitions": [
160
+ {
161
+ "effects": [
162
+ [
163
+ "render-ui",
164
+ "main",
165
+ {
166
+ "fill": "@config.fill",
167
+ "items": "@config.items",
168
+ "opacity": "@config.opacity",
169
+ "stroke": "@config.stroke",
170
+ "strokeWidth": "@config.strokeWidth",
171
+ "type": "svg-draw-shape-layer"
172
+ }
173
+ ]
174
+ ],
175
+ "event": "INIT",
176
+ "eventId": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
177
+ "from": "idle",
178
+ "to": "idle"
179
+ }
180
+ ]
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ ],
186
+ "schemaVersion": 1,
187
+ "version": "1.0.0"
188
+ }
@@ -0,0 +1,362 @@
1
+ {
2
+ "description": "SvgStage — UI factory (1:1 with the @almadar/ui svg-stage pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01KYMKTFKPV2QRNK6ASWK59WVZ": {
6
+ "bakedName": "SvgStageItem",
7
+ "curName": "SvgStageItem",
8
+ "id": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
20
+ "renames": []
21
+ },
22
+ "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X": {
23
+ "bakedName": "@config.tileHoverEvent",
24
+ "curName": "@config.tileHoverEvent",
25
+ "id": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
29
+ "renames": []
30
+ },
31
+ "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93": {
32
+ "bakedName": "@config.tileLeaveEvent",
33
+ "curName": "@config.tileLeaveEvent",
34
+ "id": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
38
+ "renames": []
39
+ },
40
+ "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X": {
41
+ "bakedName": "@config.tileClickEvent",
42
+ "curName": "@config.tileClickEvent",
43
+ "id": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
47
+ "renames": []
48
+ },
49
+ "orb_01KYMKTFKPDBTDR7FRE565XPHD": {
50
+ "bakedName": "SvgStageOrbital",
51
+ "curName": "SvgStageOrbital",
52
+ "id": "orb_01KYMKTFKPDBTDR7FRE565XPHD",
53
+ "kind": "orbital",
54
+ "owner": "workspace",
55
+ "renames": []
56
+ },
57
+ "pag_01KYMKTFKR13VTRW51EBDYJJDB": {
58
+ "bakedName": "SvgStagePage",
59
+ "curName": "SvgStagePage",
60
+ "id": "pag_01KYMKTFKR13VTRW51EBDYJJDB",
61
+ "kind": "page",
62
+ "owner": "workspace",
63
+ "renames": []
64
+ },
65
+ "trt_01KYMKTFKP4BFAJG32Y4B6306Q": {
66
+ "bakedName": "SvgStageRender",
67
+ "curName": "SvgStageRender",
68
+ "id": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
69
+ "kind": "trait",
70
+ "owner": "workspace",
71
+ "renames": []
72
+ }
73
+ },
74
+ "schemaVersion": 1
75
+ },
76
+ "name": "ui-svg-stage",
77
+ "orbitals": [
78
+ {
79
+ "entity": {
80
+ "fields": [
81
+ {
82
+ "name": "id",
83
+ "required": true,
84
+ "type": "string"
85
+ }
86
+ ],
87
+ "id": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
88
+ "name": "SvgStageItem",
89
+ "persistence": "runtime"
90
+ },
91
+ "id": "orb_01KYMKTFKPDBTDR7FRE565XPHD",
92
+ "name": "SvgStageOrbital",
93
+ "pages": [
94
+ {
95
+ "id": "pag_01KYMKTFKR13VTRW51EBDYJJDB",
96
+ "name": "SvgStagePage",
97
+ "path": "/svg-stage",
98
+ "traits": [
99
+ {
100
+ "ref": "SvgStageRender",
101
+ "refId": "trt_01KYMKTFKP4BFAJG32Y4B6306Q"
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ "traits": [
107
+ {
108
+ "category": "interaction",
109
+ "config": {
110
+ "background": {
111
+ "default": "var(--color-background)",
112
+ "description": "Background rect fill (default `var(--color-background)`).",
113
+ "label": "Background",
114
+ "tier": "presentation",
115
+ "type": "string"
116
+ },
117
+ "children": {
118
+ "description": "children prop",
119
+ "label": "Children",
120
+ "tier": "presentation",
121
+ "type": "node"
122
+ },
123
+ "className": {
124
+ "description": "Additional CSS classes",
125
+ "label": "Class Name",
126
+ "tier": "presentation",
127
+ "type": "string"
128
+ },
129
+ "cols": {
130
+ "default": 1.0,
131
+ "description": "Grid width in cells.",
132
+ "label": "Cols",
133
+ "tier": "presentation",
134
+ "type": "number"
135
+ },
136
+ "keyMap": {
137
+ "default": {
138
+ "item": "Item"
139
+ },
140
+ "description": "Keyboard → semantic events: `e.code` → event name, emitted as `UI:<event>` with `{}`.",
141
+ "items": {
142
+ "type": "string"
143
+ },
144
+ "label": "Key Map",
145
+ "tier": "presentation",
146
+ "type": "Map<string,string>"
147
+ },
148
+ "keyUpMap": {
149
+ "default": {
150
+ "item": "Item"
151
+ },
152
+ "description": "Keyup counterpart of `keyMap`.",
153
+ "items": {
154
+ "type": "string"
155
+ },
156
+ "label": "Key Up Map",
157
+ "tier": "presentation",
158
+ "type": "Map<string,string>"
159
+ },
160
+ "rows": {
161
+ "default": 1.0,
162
+ "description": "Grid height in cells.",
163
+ "label": "Rows",
164
+ "tier": "presentation",
165
+ "type": "number"
166
+ },
167
+ "tileClickEvent": {
168
+ "default": "TILE_CLICK",
169
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
170
+ "label": "Tile Click Event",
171
+ "tier": "presentation",
172
+ "type": "string"
173
+ },
174
+ "tileHoverEvent": {
175
+ "default": "TILE_HOVER",
176
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
177
+ "label": "Tile Hover Event",
178
+ "tier": "presentation",
179
+ "type": "string"
180
+ },
181
+ "tileLeaveEvent": {
182
+ "default": "TILE_LEAVE",
183
+ "description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
184
+ "label": "Tile Leave Event",
185
+ "tier": "presentation",
186
+ "type": "string"
187
+ },
188
+ "tileSize": {
189
+ "default": 32.0,
190
+ "description": "ViewBox units per cell (default 32); viewBox is `0 0 cols*tileSize rows*tileSize`.",
191
+ "label": "Tile Size",
192
+ "tier": "presentation",
193
+ "type": "number"
194
+ }
195
+ },
196
+ "emits": [
197
+ {
198
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
199
+ "event": "@config.tileClickEvent",
200
+ "eventId": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
201
+ "payloadSchema": [
202
+ {
203
+ "name": "x",
204
+ "required": true,
205
+ "type": "number"
206
+ },
207
+ {
208
+ "name": "y",
209
+ "required": true,
210
+ "type": "number"
211
+ }
212
+ ],
213
+ "scope": "external",
214
+ "tier": "essential"
215
+ },
216
+ {
217
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
218
+ "event": "@config.tileHoverEvent",
219
+ "eventId": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
220
+ "payloadSchema": [
221
+ {
222
+ "name": "x",
223
+ "required": true,
224
+ "type": "number"
225
+ },
226
+ {
227
+ "name": "y",
228
+ "required": true,
229
+ "type": "number"
230
+ }
231
+ ],
232
+ "scope": "external",
233
+ "tier": "essential"
234
+ },
235
+ {
236
+ "description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
237
+ "event": "@config.tileLeaveEvent",
238
+ "eventId": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
239
+ "payloadSchema": [
240
+ {
241
+ "name": "id",
242
+ "type": "string"
243
+ }
244
+ ],
245
+ "scope": "external",
246
+ "tier": "essential"
247
+ }
248
+ ],
249
+ "entityContract": {
250
+ "provides": [],
251
+ "requires": []
252
+ },
253
+ "entityRebindable": true,
254
+ "entityRefIds": {
255
+ "SvgStageItem": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ"
256
+ },
257
+ "id": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
258
+ "linkedEntity": "SvgStageItem",
259
+ "linkedEntityId": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
260
+ "name": "SvgStageRender",
261
+ "scope": "instance",
262
+ "stateMachine": {
263
+ "events": [
264
+ {
265
+ "id": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
266
+ "key": "INIT",
267
+ "name": "Initialize"
268
+ },
269
+ {
270
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
271
+ "id": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
272
+ "key": "@config.tileClickEvent",
273
+ "name": "@config.tile click event",
274
+ "payloadSchema": [
275
+ {
276
+ "name": "x",
277
+ "required": true,
278
+ "type": "number"
279
+ },
280
+ {
281
+ "name": "y",
282
+ "required": true,
283
+ "type": "number"
284
+ }
285
+ ],
286
+ "tier": "essential"
287
+ },
288
+ {
289
+ "description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
290
+ "id": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
291
+ "key": "@config.tileHoverEvent",
292
+ "name": "@config.tile hover event",
293
+ "payloadSchema": [
294
+ {
295
+ "name": "x",
296
+ "required": true,
297
+ "type": "number"
298
+ },
299
+ {
300
+ "name": "y",
301
+ "required": true,
302
+ "type": "number"
303
+ }
304
+ ],
305
+ "tier": "essential"
306
+ },
307
+ {
308
+ "description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
309
+ "id": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
310
+ "key": "@config.tileLeaveEvent",
311
+ "name": "@config.tile leave event",
312
+ "payloadSchema": [
313
+ {
314
+ "name": "id",
315
+ "type": "string"
316
+ }
317
+ ],
318
+ "tier": "essential"
319
+ }
320
+ ],
321
+ "states": [
322
+ {
323
+ "isInitial": true,
324
+ "name": "idle"
325
+ }
326
+ ],
327
+ "transitions": [
328
+ {
329
+ "effects": [
330
+ [
331
+ "render-ui",
332
+ "main",
333
+ {
334
+ "background": "@config.background",
335
+ "children": "@config.children",
336
+ "className": "@config.className",
337
+ "cols": "@config.cols",
338
+ "keyMap": "@config.keyMap",
339
+ "keyUpMap": "@config.keyUpMap",
340
+ "rows": "@config.rows",
341
+ "tileClickEvent": "@config.tileClickEvent",
342
+ "tileHoverEvent": "@config.tileHoverEvent",
343
+ "tileLeaveEvent": "@config.tileLeaveEvent",
344
+ "tileSize": "@config.tileSize",
345
+ "type": "svg-stage"
346
+ }
347
+ ]
348
+ ],
349
+ "event": "INIT",
350
+ "eventId": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
351
+ "from": "idle",
352
+ "to": "idle"
353
+ }
354
+ ]
355
+ }
356
+ }
357
+ ]
358
+ }
359
+ ],
360
+ "schemaVersion": 1,
361
+ "version": "1.0.0"
362
+ }
@@ -3256,7 +3256,7 @@
3256
3256
  "@t",
3257
3257
  "terrainSprite"
3258
3258
  ],
3259
- "height": 0.5,
3259
+ "height": 1.0,
3260
3260
  "position": {
3261
3261
  "x": [
3262
3262
  "object/get",
@@ -3270,7 +3270,7 @@
3270
3270
  ]
3271
3271
  },
3272
3272
  "type": "draw-sprite",
3273
- "width": 0.5
3273
+ "width": 1.0
3274
3274
  }
3275
3275
  ]
3276
3276
  ],
@@ -3773,7 +3773,7 @@
3773
3773
  "@t",
3774
3774
  "terrainSprite"
3775
3775
  ],
3776
- "height": 0.5,
3776
+ "height": 1.0,
3777
3777
  "position": {
3778
3778
  "x": [
3779
3779
  "object/get",
@@ -3787,7 +3787,7 @@
3787
3787
  ]
3788
3788
  },
3789
3789
  "type": "draw-sprite",
3790
- "width": 0.5
3790
+ "width": 1.0
3791
3791
  }
3792
3792
  ]
3793
3793
  ],
@@ -4422,7 +4422,7 @@
4422
4422
  "@t",
4423
4423
  "terrainSprite"
4424
4424
  ],
4425
- "height": 0.5,
4425
+ "height": 1.0,
4426
4426
  "position": {
4427
4427
  "x": [
4428
4428
  "object/get",
@@ -4436,7 +4436,7 @@
4436
4436
  ]
4437
4437
  },
4438
4438
  "type": "draw-sprite",
4439
- "width": 0.5
4439
+ "width": 1.0
4440
4440
  }
4441
4441
  ]
4442
4442
  ],
@@ -4893,7 +4893,7 @@
4893
4893
  "@t",
4894
4894
  "terrainSprite"
4895
4895
  ],
4896
- "height": 0.5,
4896
+ "height": 1.0,
4897
4897
  "position": {
4898
4898
  "x": [
4899
4899
  "object/get",
@@ -4907,7 +4907,7 @@
4907
4907
  ]
4908
4908
  },
4909
4909
  "type": "draw-sprite",
4910
- "width": 0.5
4910
+ "width": 1.0
4911
4911
  }
4912
4912
  ]
4913
4913
  ],
@@ -5416,7 +5416,7 @@
5416
5416
  "@t",
5417
5417
  "terrainSprite"
5418
5418
  ],
5419
- "height": 0.5,
5419
+ "height": 1.0,
5420
5420
  "position": {
5421
5421
  "x": [
5422
5422
  "object/get",
@@ -5430,7 +5430,7 @@
5430
5430
  ]
5431
5431
  },
5432
5432
  "type": "draw-sprite",
5433
- "width": 0.5
5433
+ "width": 1.0
5434
5434
  }
5435
5435
  ]
5436
5436
  ],
@@ -6074,7 +6074,7 @@
6074
6074
  "@t",
6075
6075
  "terrainSprite"
6076
6076
  ],
6077
- "height": 0.5,
6077
+ "height": 1.0,
6078
6078
  "position": {
6079
6079
  "x": [
6080
6080
  "object/get",
@@ -6088,7 +6088,7 @@
6088
6088
  ]
6089
6089
  },
6090
6090
  "type": "draw-sprite",
6091
- "width": 0.5
6091
+ "width": 1.0
6092
6092
  }
6093
6093
  ]
6094
6094
  ],
@@ -6678,7 +6678,7 @@
6678
6678
  "@t",
6679
6679
  "terrainSprite"
6680
6680
  ],
6681
- "height": 0.5,
6681
+ "height": 1.0,
6682
6682
  "position": {
6683
6683
  "x": [
6684
6684
  "object/get",
@@ -6692,7 +6692,7 @@
6692
6692
  ]
6693
6693
  },
6694
6694
  "type": "draw-sprite",
6695
- "width": 0.5
6695
+ "width": 1.0
6696
6696
  }
6697
6697
  ]
6698
6698
  ],
@@ -7155,7 +7155,7 @@
7155
7155
  "@t",
7156
7156
  "terrainSprite"
7157
7157
  ],
7158
- "height": 0.5,
7158
+ "height": 1.0,
7159
7159
  "position": {
7160
7160
  "x": [
7161
7161
  "object/get",
@@ -7169,7 +7169,7 @@
7169
7169
  ]
7170
7170
  },
7171
7171
  "type": "draw-sprite",
7172
- "width": 0.5
7172
+ "width": 1.0
7173
7173
  }
7174
7174
  ]
7175
7175
  ],