@almadar/std 16.231.0 → 16.232.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 (35) hide show
  1. package/behaviors/behaviors-registry.json +4010 -768
  2. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +36 -3
  3. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +38 -65
  4. package/behaviors/lolo/ui/core/molecules/ui-change-list.lolo +57 -0
  5. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +143 -0
  6. package/behaviors/lolo/ui/core/molecules/ui-version-diff.lolo +19 -3
  7. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +1 -0
  8. package/behaviors/lolo-behavior-contracts.json +1 -1
  9. package/behaviors/registry/factory-signatures.json +1 -1
  10. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +52 -3
  11. package/behaviors/registry/ui/core/atoms/std-version-history.orb +470 -346
  12. package/behaviors/registry/ui/core/molecules/ui-change-list.orb +290 -0
  13. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +441 -0
  14. package/behaviors/registry/ui/core/molecules/ui-header.orb +43 -0
  15. package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +418 -0
  16. package/behaviors/registry/ui/core/molecules/ui-menu.orb +13 -0
  17. package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +277 -0
  18. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +109 -18
  19. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +43 -5
  20. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +8 -0
  21. package/dist/behaviors/exports-reader.js +1438 -1039
  22. package/dist/behaviors/functions/index.d.ts +355 -31
  23. package/dist/behaviors/functions/index.js +1427 -1040
  24. package/dist/behaviors/index.d.ts +1 -1
  25. package/dist/behaviors/index.js +1439 -1040
  26. package/dist/behaviors/query.js +1438 -1039
  27. package/dist/behaviors-embeddings.hash.json +3 -3
  28. package/dist/behaviors-embeddings.json +33 -5
  29. package/dist/behaviors-registry.json +4010 -768
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.js +1439 -1040
  32. package/dist/knob-embeddings.hash.json +3 -3
  33. package/dist/knob-embeddings.json +189 -13
  34. package/dist/registry/factory-signatures.json +1 -1
  35. package/package.json +2 -2
@@ -0,0 +1,418 @@
1
+ {
2
+ "description": "IconButton — UI factory (1:1 with the @almadar/ui icon-button pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M3G7RS60ZQVEX2EYED69PXMB": {
6
+ "bakedName": "IconButtonItem",
7
+ "curName": "IconButtonItem",
8
+ "id": "ent_01M3G7RS60ZQVEX2EYED69PXMB",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M3G7RS60KYS1W9YGVBYY32R2": {
14
+ "bakedName": "@config.action",
15
+ "curName": "@config.action",
16
+ "id": "evt_01M3G7RS60KYS1W9YGVBYY32R2",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M3G7RS60WG7NDYMZZH85E58Z",
20
+ "renames": []
21
+ },
22
+ "evt_01M3G7RS60W5J0GDZ97297T4X1": {
23
+ "bakedName": "INIT",
24
+ "curName": "INIT",
25
+ "id": "evt_01M3G7RS60W5J0GDZ97297T4X1",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M3G7RS60WG7NDYMZZH85E58Z",
29
+ "renames": []
30
+ },
31
+ "orb_01M3G7RS60JH4YSZNNSTEADN8Z": {
32
+ "bakedName": "IconButtonOrbital",
33
+ "curName": "IconButtonOrbital",
34
+ "id": "orb_01M3G7RS60JH4YSZNNSTEADN8Z",
35
+ "kind": "orbital",
36
+ "owner": "workspace",
37
+ "renames": []
38
+ },
39
+ "pag_01M3G7RS60QVVXMNNZP7D1F4DB": {
40
+ "bakedName": "IconButtonPage",
41
+ "curName": "IconButtonPage",
42
+ "id": "pag_01M3G7RS60QVVXMNNZP7D1F4DB",
43
+ "kind": "page",
44
+ "owner": "workspace",
45
+ "renames": []
46
+ },
47
+ "trt_01M3G7RS60WG7NDYMZZH85E58Z": {
48
+ "bakedName": "IconButtonRender",
49
+ "curName": "IconButtonRender",
50
+ "id": "trt_01M3G7RS60WG7NDYMZZH85E58Z",
51
+ "kind": "trait",
52
+ "owner": "workspace",
53
+ "renames": []
54
+ }
55
+ },
56
+ "schemaVersion": 1
57
+ },
58
+ "name": "ui-icon-button",
59
+ "orbitals": [
60
+ {
61
+ "entity": {
62
+ "fields": [
63
+ {
64
+ "name": "id",
65
+ "required": true,
66
+ "type": "string"
67
+ }
68
+ ],
69
+ "id": "ent_01M3G7RS60ZQVEX2EYED69PXMB",
70
+ "name": "IconButtonItem",
71
+ "persistence": "runtime"
72
+ },
73
+ "id": "orb_01M3G7RS60JH4YSZNNSTEADN8Z",
74
+ "name": "IconButtonOrbital",
75
+ "pages": [
76
+ {
77
+ "id": "pag_01M3G7RS60QVVXMNNZP7D1F4DB",
78
+ "name": "IconButtonPage",
79
+ "path": "/icon-button",
80
+ "traits": [
81
+ {
82
+ "ref": "IconButtonRender",
83
+ "refId": "trt_01M3G7RS60WG7NDYMZZH85E58Z"
84
+ }
85
+ ]
86
+ }
87
+ ],
88
+ "traits": [
89
+ {
90
+ "category": "interaction",
91
+ "config": {
92
+ "action": {
93
+ "default": "ACTION",
94
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
95
+ "label": "Action",
96
+ "tier": "presentation",
97
+ "type": "event"
98
+ },
99
+ "actionPayload": {
100
+ "description": "Payload to include with the action event",
101
+ "label": "Action Payload",
102
+ "tier": "presentation",
103
+ "type": "@payload(action)"
104
+ },
105
+ "className": {
106
+ "description": "Additional CSS classes applied to the root element.",
107
+ "label": "Class Name",
108
+ "tier": "presentation",
109
+ "type": "string"
110
+ },
111
+ "disabled": {
112
+ "description": "Disable the button (greys out, blocks click events)",
113
+ "label": "Disabled",
114
+ "tier": "presentation",
115
+ "type": "boolean"
116
+ },
117
+ "href": {
118
+ "description": "Makes the button a link: `#anchor` scrolls, an absolute URL loads, a path navigates in-app",
119
+ "label": "Href",
120
+ "tier": "presentation",
121
+ "type": "string"
122
+ },
123
+ "icon": {
124
+ "default": "circle",
125
+ "description": "icon prop",
126
+ "label": "Icon",
127
+ "tier": "presentation",
128
+ "type": "icon"
129
+ },
130
+ "iconAsset": {
131
+ "description": "Asset image rendered as the leading icon; takes precedence over icon/leftIcon when provided.",
132
+ "label": "Icon Asset",
133
+ "properties": {
134
+ "animations": {
135
+ "items": {
136
+ "type": "string"
137
+ },
138
+ "name": "animations",
139
+ "required": false,
140
+ "type": "array"
141
+ },
142
+ "aspect": {
143
+ "name": "aspect",
144
+ "required": false,
145
+ "type": "string",
146
+ "values": [
147
+ "1:1",
148
+ "16:9",
149
+ "5:7",
150
+ "8:1",
151
+ "4:1",
152
+ "5:3",
153
+ "1:2"
154
+ ]
155
+ },
156
+ "atlas": {
157
+ "name": "atlas",
158
+ "required": false,
159
+ "type": "string"
160
+ },
161
+ "category": {
162
+ "name": "category",
163
+ "required": true,
164
+ "type": "string"
165
+ },
166
+ "dimension": {
167
+ "name": "dimension",
168
+ "required": false,
169
+ "type": "string",
170
+ "values": [
171
+ "2d",
172
+ "3d"
173
+ ]
174
+ },
175
+ "name": {
176
+ "name": "name",
177
+ "required": false,
178
+ "type": "string"
179
+ },
180
+ "role": {
181
+ "name": "role",
182
+ "required": true,
183
+ "type": "string"
184
+ },
185
+ "sprite": {
186
+ "name": "sprite",
187
+ "required": false,
188
+ "type": "string"
189
+ },
190
+ "style": {
191
+ "name": "style",
192
+ "required": false,
193
+ "type": "string",
194
+ "values": [
195
+ "pixel",
196
+ "vector",
197
+ "hd",
198
+ "1-bit",
199
+ "isometric"
200
+ ]
201
+ },
202
+ "thumbnailUrl": {
203
+ "name": "thumbnailUrl",
204
+ "required": false,
205
+ "type": "string"
206
+ },
207
+ "url": {
208
+ "name": "url",
209
+ "required": true,
210
+ "type": "string"
211
+ },
212
+ "variant": {
213
+ "name": "variant",
214
+ "required": false,
215
+ "type": "string"
216
+ }
217
+ },
218
+ "tier": "presentation",
219
+ "type": "IconButtonIconAsset"
220
+ },
221
+ "isLoading": {
222
+ "description": "isLoading prop",
223
+ "label": "Is Loading",
224
+ "tier": "presentation",
225
+ "type": "boolean"
226
+ },
227
+ "label": {
228
+ "default": "",
229
+ "description": "What the button does — its accessible name and its tooltip.",
230
+ "label": "Label",
231
+ "tier": "presentation",
232
+ "type": "string"
233
+ },
234
+ "size": {
235
+ "default": "sm",
236
+ "description": "size prop",
237
+ "label": "Size",
238
+ "tier": "presentation",
239
+ "type": "string",
240
+ "values": [
241
+ "sm",
242
+ "md",
243
+ "lg"
244
+ ]
245
+ },
246
+ "tooltipPosition": {
247
+ "default": "right",
248
+ "description": "Where the tooltip opens.",
249
+ "label": "Tooltip Position",
250
+ "tier": "presentation",
251
+ "type": "string",
252
+ "values": [
253
+ "top",
254
+ "bottom",
255
+ "left",
256
+ "right"
257
+ ]
258
+ },
259
+ "variant": {
260
+ "default": "ghost",
261
+ "description": "variant prop",
262
+ "label": "Variant",
263
+ "tier": "presentation",
264
+ "type": "string",
265
+ "values": [
266
+ "primary",
267
+ "secondary",
268
+ "ghost",
269
+ "danger",
270
+ "success",
271
+ "warning",
272
+ "default",
273
+ "link"
274
+ ]
275
+ }
276
+ },
277
+ "effectRow": [
278
+ {
279
+ "kind": "render-ui",
280
+ "resource": "main"
281
+ }
282
+ ],
283
+ "emits": [
284
+ {
285
+ "definerKnob": "action",
286
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
287
+ "event": "@config.action",
288
+ "eventId": "evt_01M3G7RS60KYS1W9YGVBYY32R2",
289
+ "scope": "external",
290
+ "tier": "essential"
291
+ }
292
+ ],
293
+ "entityContract": {
294
+ "provides": [],
295
+ "requires": []
296
+ },
297
+ "entityRebindable": true,
298
+ "entityRefIds": {
299
+ "IconButtonItem": "ent_01M3G7RS60ZQVEX2EYED69PXMB"
300
+ },
301
+ "id": "trt_01M3G7RS60WG7NDYMZZH85E58Z",
302
+ "linkedEntity": "IconButtonItem",
303
+ "linkedEntityId": "ent_01M3G7RS60ZQVEX2EYED69PXMB",
304
+ "name": "IconButtonRender",
305
+ "scope": "instance",
306
+ "stateMachine": {
307
+ "events": [
308
+ {
309
+ "id": "evt_01M3G7RS60W5J0GDZ97297T4X1",
310
+ "key": "INIT",
311
+ "name": "Initialize"
312
+ },
313
+ {
314
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
315
+ "id": "evt_01M3G7RS60KYS1W9YGVBYY32R2",
316
+ "key": "@config.action",
317
+ "name": "@config.action",
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
+ "action": "@config.action",
335
+ "actionPayload": "@config.actionPayload",
336
+ "className": "@config.className",
337
+ "disabled": "@config.disabled",
338
+ "href": "@config.href",
339
+ "icon": "@config.icon",
340
+ "iconAsset": "@config.iconAsset",
341
+ "isLoading": "@config.isLoading",
342
+ "label": "@config.label",
343
+ "size": "@config.size",
344
+ "tooltipPosition": "@config.tooltipPosition",
345
+ "type": "icon-button",
346
+ "variant": "@config.variant"
347
+ }
348
+ ]
349
+ ],
350
+ "event": "INIT",
351
+ "eventId": "evt_01M3G7RS60W5J0GDZ97297T4X1",
352
+ "from": "idle",
353
+ "to": "idle"
354
+ }
355
+ ]
356
+ }
357
+ }
358
+ ],
359
+ "types": {
360
+ "IconButtonIconAsset": [
361
+ {
362
+ "name": "url",
363
+ "required": true,
364
+ "type": "asset"
365
+ },
366
+ {
367
+ "name": "role",
368
+ "required": true,
369
+ "type": "string"
370
+ },
371
+ {
372
+ "name": "category",
373
+ "required": true,
374
+ "type": "string"
375
+ },
376
+ {
377
+ "name": "animations",
378
+ "type": "[string]"
379
+ },
380
+ {
381
+ "name": "style",
382
+ "type": "string"
383
+ },
384
+ {
385
+ "name": "variant",
386
+ "type": "string"
387
+ },
388
+ {
389
+ "name": "dimension",
390
+ "type": "string"
391
+ },
392
+ {
393
+ "name": "aspect",
394
+ "type": "string"
395
+ },
396
+ {
397
+ "name": "atlas",
398
+ "type": "asset"
399
+ },
400
+ {
401
+ "name": "sprite",
402
+ "type": "string"
403
+ },
404
+ {
405
+ "name": "name",
406
+ "type": "string"
407
+ },
408
+ {
409
+ "name": "thumbnailUrl",
410
+ "type": "string"
411
+ }
412
+ ]
413
+ }
414
+ }
415
+ ],
416
+ "schemaVersion": 1,
417
+ "version": "1.0.0"
418
+ }
@@ -118,6 +118,11 @@
118
118
  "required": false,
119
119
  "type": "event"
120
120
  },
121
+ "href": {
122
+ "name": "href",
123
+ "required": false,
124
+ "type": "string"
125
+ },
121
126
  "icon": {
122
127
  "name": "icon",
123
128
  "required": false,
@@ -284,6 +289,10 @@
284
289
  "name": "event",
285
290
  "type": "event"
286
291
  },
292
+ {
293
+ "name": "href",
294
+ "type": "string"
295
+ },
287
296
  {
288
297
  "name": "url",
289
298
  "type": "string"
@@ -324,6 +333,10 @@
324
333
  "name": "event",
325
334
  "type": "event"
326
335
  },
336
+ {
337
+ "name": "href",
338
+ "type": "string"
339
+ },
327
340
  {
328
341
  "name": "url",
329
342
  "type": "string"