@almadar/std 16.188.0 → 16.189.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 (46) hide show
  1. package/behaviors/lolo/ui/core/.hand-authored.json +0 -4
  2. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +20 -8
  3. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +428 -26
  4. package/behaviors/lolo/ui/core/atoms/std-related.lolo +5 -1
  5. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  6. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +80 -0
  7. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +213 -0
  8. package/behaviors/lolo/ui/core/molecules/{ui-rich-block-editor.lolo → ui-rich-text-editor.lolo} +25 -25
  9. package/behaviors/lolo/ui/game/atoms/std-choice-gate.lolo +100 -0
  10. package/behaviors/lolo/ui/game/atoms/std-coef-pad.lolo +114 -0
  11. package/behaviors/lolo/ui/game/atoms/std-curve-fog.lolo +50 -0
  12. package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +5 -1
  13. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +29 -3
  14. package/behaviors/lolo/ui/game/atoms/std-zone-card.lolo +95 -0
  15. package/behaviors/lolo/ui/game/organisms/std-platformer-board-2d.lolo +9 -0
  16. package/behaviors/registry/ui/core/atoms/std-calendar.orb +51 -27
  17. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +2399 -180
  18. package/behaviors/registry/ui/core/atoms/std-related.orb +23 -1
  19. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
  20. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +342 -0
  21. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +655 -0
  22. package/behaviors/registry/ui/core/molecules/{ui-rich-block-editor.orb → ui-rich-text-editor.orb} +84 -97
  23. package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +855 -0
  24. package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +928 -0
  25. package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +337 -0
  26. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +31 -1
  27. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +847 -401
  28. package/behaviors/registry/ui/game/atoms/std-zone-card.orb +642 -0
  29. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +38 -6
  30. package/dist/behaviors/exports-reader.js +6491 -6163
  31. package/dist/behaviors/functions/index.d.ts +669 -300
  32. package/dist/behaviors/functions/index.js +6469 -6152
  33. package/dist/behaviors/index.d.ts +1 -1
  34. package/dist/behaviors/index.js +6492 -6164
  35. package/dist/behaviors/query.js +6491 -6163
  36. package/dist/behaviors-embeddings.hash.json +3 -3
  37. package/dist/behaviors-embeddings.json +367 -375
  38. package/dist/behaviors-registry.json +4104 -2597
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +6492 -6164
  41. package/dist/knob-embeddings.hash.json +3 -3
  42. package/dist/knob-embeddings.json +1 -1
  43. package/dist/registry/factory-signatures.json +1 -1
  44. package/package.json +4 -4
  45. package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +0 -790
  46. package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +0 -2225
@@ -1,62 +1,62 @@
1
1
  {
2
- "description": "RichBlockEditor — UI factory (1:1 with the @almadar/ui rich-block-editor pattern).",
2
+ "description": "RichTextEditor — UI factory (1:1 with the @almadar/ui rich-text-editor pattern).",
3
3
  "ledger": {
4
4
  "entries": {
5
- "ent_01KXG04QXXF4E9TZMBAZXPCMQC": {
6
- "bakedName": "RichBlockEditorItem",
7
- "curName": "RichBlockEditorItem",
8
- "id": "ent_01KXG04QXXF4E9TZMBAZXPCMQC",
5
+ "ent_01M13ZXCVBQ6EY5924MM941N3Y": {
6
+ "bakedName": "RichTextEditorItem",
7
+ "curName": "RichTextEditorItem",
8
+ "id": "ent_01M13ZXCVBQ6EY5924MM941N3Y",
9
9
  "kind": "entity",
10
10
  "owner": "workspace",
11
11
  "renames": []
12
12
  },
13
- "evt_01KXG04QXXK8PWFX038ZZTPX02": {
13
+ "evt_01M13ZXCVB5MMJNQ6ACK7JF58Z": {
14
14
  "bakedName": "INIT",
15
15
  "curName": "INIT",
16
- "id": "evt_01KXG04QXXK8PWFX038ZZTPX02",
16
+ "id": "evt_01M13ZXCVB5MMJNQ6ACK7JF58Z",
17
17
  "kind": "event",
18
18
  "owner": "workspace",
19
- "parent": "trt_01KXG04QXXPJBRXRDTQCWEAQPF",
19
+ "parent": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C",
20
20
  "renames": []
21
21
  },
22
- "evt_01KXG04QXZ8YG6WJY152V7BH8P": {
22
+ "evt_01M13ZXCVB6FPMRTVKKCXCY37R": {
23
23
  "bakedName": "@config.onChange",
24
24
  "curName": "@config.onChange",
25
- "id": "evt_01KXG04QXZ8YG6WJY152V7BH8P",
25
+ "id": "evt_01M13ZXCVB6FPMRTVKKCXCY37R",
26
26
  "kind": "event",
27
27
  "owner": "workspace",
28
- "parent": "trt_01KXG04QXXPJBRXRDTQCWEAQPF",
28
+ "parent": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C",
29
29
  "renames": []
30
30
  },
31
- "evt_01KXG04QXZZ9VVPHC01QSX0C4P": {
32
- "bakedName": "RichBlockEditorLoaded",
33
- "curName": "RichBlockEditorLoaded",
34
- "id": "evt_01KXG04QXZZ9VVPHC01QSX0C4P",
31
+ "evt_01M13ZXCVBRYYFS47BQ2BYZR53": {
32
+ "bakedName": "CHANGE",
33
+ "curName": "CHANGE",
34
+ "id": "evt_01M13ZXCVBRYYFS47BQ2BYZR53",
35
35
  "kind": "event",
36
36
  "owner": "workspace",
37
- "parent": "trt_01KXG04QXXPJBRXRDTQCWEAQPF",
37
+ "parent": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C",
38
38
  "renames": []
39
39
  },
40
- "orb_01KXG04QXXQ98Z301BC52J0YRV": {
41
- "bakedName": "RichBlockEditorOrbital",
42
- "curName": "RichBlockEditorOrbital",
43
- "id": "orb_01KXG04QXXQ98Z301BC52J0YRV",
40
+ "orb_01M13ZXCVB9ZXPQP0XPVZMV7QD": {
41
+ "bakedName": "RichTextEditorOrbital",
42
+ "curName": "RichTextEditorOrbital",
43
+ "id": "orb_01M13ZXCVB9ZXPQP0XPVZMV7QD",
44
44
  "kind": "orbital",
45
45
  "owner": "workspace",
46
46
  "renames": []
47
47
  },
48
- "pag_01KXG04QXZAP9M48J889G489BJ": {
49
- "bakedName": "RichBlockEditorPage",
50
- "curName": "RichBlockEditorPage",
51
- "id": "pag_01KXG04QXZAP9M48J889G489BJ",
48
+ "pag_01M13ZXCVBGC1D5B9SX877FYYG": {
49
+ "bakedName": "RichTextEditorPage",
50
+ "curName": "RichTextEditorPage",
51
+ "id": "pag_01M13ZXCVBGC1D5B9SX877FYYG",
52
52
  "kind": "page",
53
53
  "owner": "workspace",
54
54
  "renames": []
55
55
  },
56
- "trt_01KXG04QXXPJBRXRDTQCWEAQPF": {
57
- "bakedName": "RichBlockEditorRender",
58
- "curName": "RichBlockEditorRender",
59
- "id": "trt_01KXG04QXXPJBRXRDTQCWEAQPF",
56
+ "trt_01M13ZXCVBPPZ9EJN56WH5PV2C": {
57
+ "bakedName": "RichTextEditorRender",
58
+ "curName": "RichTextEditorRender",
59
+ "id": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C",
60
60
  "kind": "trait",
61
61
  "owner": "workspace",
62
62
  "renames": []
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "schemaVersion": 1
66
66
  },
67
- "name": "ui-rich-block-editor",
67
+ "name": "ui-rich-text-editor",
68
68
  "orbitals": [
69
69
  {
70
70
  "entity": {
@@ -73,23 +73,27 @@
73
73
  "name": "id",
74
74
  "required": true,
75
75
  "type": "string"
76
+ },
77
+ {
78
+ "name": "value",
79
+ "type": "string"
76
80
  }
77
81
  ],
78
- "id": "ent_01KXG04QXXF4E9TZMBAZXPCMQC",
79
- "name": "RichBlockEditorItem",
82
+ "id": "ent_01M13ZXCVBQ6EY5924MM941N3Y",
83
+ "name": "RichTextEditorItem",
80
84
  "persistence": "runtime"
81
85
  },
82
- "id": "orb_01KXG04QXXQ98Z301BC52J0YRV",
83
- "name": "RichBlockEditorOrbital",
86
+ "id": "orb_01M13ZXCVB9ZXPQP0XPVZMV7QD",
87
+ "name": "RichTextEditorOrbital",
84
88
  "pages": [
85
89
  {
86
- "id": "pag_01KXG04QXZAP9M48J889G489BJ",
87
- "name": "RichBlockEditorPage",
88
- "path": "/rich-block-editor",
90
+ "id": "pag_01M13ZXCVBGC1D5B9SX877FYYG",
91
+ "name": "RichTextEditorPage",
92
+ "path": "/rich-text-editor",
89
93
  "traits": [
90
94
  {
91
- "ref": "RichBlockEditorRender",
92
- "refId": "trt_01KXG04QXXPJBRXRDTQCWEAQPF"
95
+ "ref": "RichTextEditorRender",
96
+ "refId": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C"
93
97
  }
94
98
  ]
95
99
  }
@@ -111,13 +115,6 @@
111
115
  "tier": "presentation",
112
116
  "type": "string"
113
117
  },
114
- "enableBlocks": {
115
- "default": true,
116
- "description": "Opt-in to the Notion-style block authoring chrome (insert toolbar, per-row +/menu gutter, turn-into menu). Off by default: the editor renders as a plain rich text surface that edits block content inline without any add-block affordances.",
117
- "label": "Enable Blocks",
118
- "tier": "presentation",
119
- "type": "boolean"
120
- },
121
118
  "onChange": {
122
119
  "default": "CHANGE",
123
120
  "description": "onChange prop",
@@ -144,80 +141,71 @@
144
141
  "label": "Show Toolbar",
145
142
  "tier": "presentation",
146
143
  "type": "boolean"
144
+ },
145
+ "value": {
146
+ "description": "The rich text content as HTML. Sanitized before rendering and on every change.",
147
+ "label": "Value",
148
+ "tier": "presentation",
149
+ "type": "string"
147
150
  }
148
151
  },
149
152
  "emits": [
150
153
  {
151
154
  "description": "onChange prop",
152
155
  "event": "@config.onChange",
153
- "eventId": "evt_01KXG04QXZ8YG6WJY152V7BH8P",
156
+ "eventId": "evt_01M13ZXCVB6FPMRTVKKCXCY37R",
154
157
  "payloadSchema": [
155
158
  {
156
- "name": "blocks",
157
- "type": "[object]"
159
+ "name": "value",
160
+ "type": "string"
158
161
  }
159
162
  ],
160
163
  "scope": "external",
161
164
  "tier": "essential"
162
- },
163
- {
164
- "description": "RichBlockEditor rows finished loading; payload.data holds the collection.",
165
- "event": "RichBlockEditorLoaded",
166
- "eventId": "evt_01KXG04QXZZ9VVPHC01QSX0C4P",
167
- "payloadSchema": [
168
- {
169
- "name": "data",
170
- "type": "[RichBlockEditorItem]"
171
- }
172
- ],
173
- "scope": "internal",
174
- "synonyms": "loaded, fetched, retrieved",
175
- "tier": "essential"
176
165
  }
177
166
  ],
178
167
  "entityContract": {
179
- "provides": [],
168
+ "provides": [
169
+ "value"
170
+ ],
180
171
  "requires": []
181
172
  },
182
173
  "entityRebindable": true,
183
174
  "entityRefIds": {
184
- "RichBlockEditorItem": "ent_01KXG04QXXF4E9TZMBAZXPCMQC"
175
+ "RichTextEditorItem": "ent_01M13ZXCVBQ6EY5924MM941N3Y"
185
176
  },
186
- "id": "trt_01KXG04QXXPJBRXRDTQCWEAQPF",
187
- "linkedEntity": "RichBlockEditorItem",
188
- "linkedEntityId": "ent_01KXG04QXXF4E9TZMBAZXPCMQC",
189
- "name": "RichBlockEditorRender",
177
+ "id": "trt_01M13ZXCVBPPZ9EJN56WH5PV2C",
178
+ "linkedEntity": "RichTextEditorItem",
179
+ "linkedEntityId": "ent_01M13ZXCVBQ6EY5924MM941N3Y",
180
+ "name": "RichTextEditorRender",
190
181
  "scope": "instance",
191
182
  "stateMachine": {
192
183
  "events": [
193
184
  {
194
- "id": "evt_01KXG04QXXK8PWFX038ZZTPX02",
185
+ "id": "evt_01M13ZXCVB5MMJNQ6ACK7JF58Z",
195
186
  "key": "INIT",
196
187
  "name": "Initialize"
197
188
  },
198
189
  {
199
- "description": "RichBlockEditor rows finished loading; payload.data holds the collection.",
200
- "id": "evt_01KXG04QXZZ9VVPHC01QSX0C4P",
201
- "key": "RichBlockEditorLoaded",
202
- "name": "Rich block editor loaded",
190
+ "id": "evt_01M13ZXCVBRYYFS47BQ2BYZR53",
191
+ "key": "CHANGE",
192
+ "name": "Change",
203
193
  "payloadSchema": [
204
194
  {
205
- "name": "data",
206
- "type": "[RichBlockEditorItem]"
195
+ "name": "value",
196
+ "type": "string"
207
197
  }
208
- ],
209
- "synonyms": "loaded, fetched, retrieved",
210
- "tier": "essential"
198
+ ]
211
199
  },
212
200
  {
213
201
  "description": "onChange prop",
214
- "id": "evt_01KXG04QXZ8YG6WJY152V7BH8P",
202
+ "id": "evt_01M13ZXCVB6FPMRTVKKCXCY37R",
215
203
  "key": "@config.onChange",
216
204
  "name": "@config.on change",
217
205
  "payloadSchema": [
218
206
  {
219
- "name": "blocks",
220
- "type": "[object]"
207
+ "name": "value",
208
+ "type": "string"
221
209
  }
222
210
  ],
223
211
  "tier": "essential"
@@ -233,13 +221,9 @@
233
221
  {
234
222
  "effects": [
235
223
  [
236
- "fetch",
237
- "RichBlockEditorItem",
238
- {
239
- "emit": {
240
- "success": "RichBlockEditorLoaded"
241
- }
242
- }
224
+ "set",
225
+ "@entity.value",
226
+ "@config.value"
243
227
  ],
244
228
  [
245
229
  "render-ui",
@@ -247,41 +231,44 @@
247
231
  {
248
232
  "changeEvent": "@config.changeEvent",
249
233
  "className": "@config.className",
250
- "enableBlocks": "@config.enableBlocks",
251
- "initialBlocks": "@entity",
252
234
  "onChange": "@config.onChange",
253
235
  "placeholder": "@config.placeholder",
254
236
  "readOnly": "@config.readOnly",
255
237
  "showToolbar": "@config.showToolbar",
256
- "type": "rich-block-editor"
238
+ "type": "rich-text-editor",
239
+ "value": "@entity.value"
257
240
  }
258
241
  ]
259
242
  ],
260
243
  "event": "INIT",
261
- "eventId": "evt_01KXG04QXXK8PWFX038ZZTPX02",
244
+ "eventId": "evt_01M13ZXCVB5MMJNQ6ACK7JF58Z",
262
245
  "from": "idle",
263
246
  "to": "idle"
264
247
  },
265
248
  {
266
249
  "effects": [
250
+ [
251
+ "set",
252
+ "@entity.value",
253
+ "@payload.value"
254
+ ],
267
255
  [
268
256
  "render-ui",
269
257
  "main",
270
258
  {
271
259
  "changeEvent": "@config.changeEvent",
272
260
  "className": "@config.className",
273
- "enableBlocks": "@config.enableBlocks",
274
- "initialBlocks": "@payload.data",
275
261
  "onChange": "@config.onChange",
276
262
  "placeholder": "@config.placeholder",
277
263
  "readOnly": "@config.readOnly",
278
264
  "showToolbar": "@config.showToolbar",
279
- "type": "rich-block-editor"
265
+ "type": "rich-text-editor",
266
+ "value": "@entity.value"
280
267
  }
281
268
  ]
282
269
  ],
283
- "event": "RichBlockEditorLoaded",
284
- "eventId": "evt_01KXG04QXZZ9VVPHC01QSX0C4P",
270
+ "event": "CHANGE",
271
+ "eventId": "evt_01M13ZXCVBRYYFS47BQ2BYZR53",
285
272
  "from": "idle",
286
273
  "to": "idle"
287
274
  }