@almadar/std 16.141.0 → 16.142.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 (84) hide show
  1. package/behaviors/lolo/ui/avl/molecules/ui-module-card.lolo +1 -1
  2. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +22 -1
  3. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +10 -0
  4. package/behaviors/lolo/ui/core/atoms/std-filter.lolo +3 -0
  5. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +0 -244
  6. package/behaviors/lolo/ui/core/atoms/ui-aside.lolo +1 -1
  7. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +2 -2
  8. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +3 -3
  9. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +1 -1
  10. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +2 -2
  11. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +1 -1
  12. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +1 -1
  13. package/behaviors/lolo/ui/core/molecules/ui-quiz-block.lolo +1 -1
  14. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +1 -1
  15. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +1 -1
  16. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +1 -1
  17. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +1 -1
  18. package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +2 -12
  19. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-stat-card.lolo +1 -1
  20. package/behaviors/lolo/ui/marketing/molecules/ui-case-study-card.lolo +1 -1
  21. package/behaviors/lolo/ui/marketing/molecules/ui-feature-card.lolo +1 -1
  22. package/behaviors/lolo/ui/marketing/molecules/ui-pricing-card.lolo +1 -1
  23. package/behaviors/registry/factory-signatures.json +286 -3335
  24. package/behaviors/registry/ui/avl/molecules/ui-module-card.orb +1 -1
  25. package/behaviors/registry/ui/core/atoms/std-app-search.orb +83 -0
  26. package/behaviors/registry/ui/core/atoms/std-browse.orb +24 -4
  27. package/behaviors/registry/ui/core/atoms/std-filter.orb +3 -0
  28. package/behaviors/registry/ui/core/atoms/std-wizard.orb +0 -912
  29. package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  30. package/behaviors/registry/ui/core/atoms/ui-typography.orb +4 -2
  31. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +54 -32
  32. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
  33. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +2 -2
  34. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  35. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  36. package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  37. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  38. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  39. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  40. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
  41. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +4 -47
  42. package/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +1 -1
  43. package/behaviors/registry/ui/marketing/molecules/ui-case-study-card.orb +1 -1
  44. package/behaviors/registry/ui/marketing/molecules/ui-feature-card.orb +1 -1
  45. package/behaviors/registry/ui/marketing/molecules/ui-pricing-card.orb +1 -1
  46. package/dist/behaviors/behaviors-embeddings.json +324 -324
  47. package/dist/behaviors/behaviors-registry.json +35 -26
  48. package/dist/behaviors/exports-reader.js +25 -518
  49. package/dist/behaviors/functions/index.d.ts +80 -119
  50. package/dist/behaviors/functions/index.js +23 -486
  51. package/dist/behaviors/index.d.ts +1 -1
  52. package/dist/behaviors/index.js +26 -519
  53. package/dist/behaviors/knob-embeddings.json +1 -1
  54. package/dist/behaviors/query.js +25 -518
  55. package/dist/behaviors/registry/factory-signatures.json +286 -3335
  56. package/dist/behaviors/registry/ui/avl/molecules/ui-module-card.orb +1 -1
  57. package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +83 -0
  58. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +24 -4
  59. package/dist/behaviors/registry/ui/core/atoms/std-filter.orb +3 -0
  60. package/dist/behaviors/registry/ui/core/atoms/std-wizard.orb +0 -912
  61. package/dist/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  62. package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +4 -2
  63. package/dist/behaviors/registry/ui/core/molecules/ui-code-block.orb +54 -32
  64. package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
  65. package/dist/behaviors/registry/ui/core/molecules/ui-drawer.orb +2 -2
  66. package/dist/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  67. package/dist/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  68. package/dist/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  69. package/dist/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  70. package/dist/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  71. package/dist/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  72. package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
  73. package/dist/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +4 -47
  74. package/dist/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +1 -1
  75. package/dist/behaviors/registry/ui/marketing/molecules/ui-case-study-card.orb +1 -1
  76. package/dist/behaviors/registry/ui/marketing/molecules/ui-feature-card.orb +1 -1
  77. package/dist/behaviors/registry/ui/marketing/molecules/ui-pricing-card.orb +1 -1
  78. package/dist/behaviors-embeddings.json +324 -324
  79. package/dist/behaviors-registry.json +35 -26
  80. package/dist/index.d.ts +1 -1
  81. package/dist/index.js +26 -519
  82. package/dist/knob-embeddings.json +1 -1
  83. package/dist/registry/factory-signatures.json +286 -3335
  84. package/package.json +4 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "ModuleCard — a card summarizing one course module or lesson with progress and entry point.",
2
+ "description": "ModuleCard — a card summarizing one course module or lesson with progress and entry point. — UI factory (1:1 with the @almadar/ui module-card pattern).",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01KXG04FKSYY9A3NQ7WZ87XF4Q": {
@@ -55,6 +55,15 @@
55
55
  "parent": "trt_01KXG04FP653E5CSJQC70S95F9",
56
56
  "renames": []
57
57
  },
58
+ "evt_01KY4KGRYBC8YABZ19GPEHBZSS": {
59
+ "bakedName": "INIT",
60
+ "curName": "INIT",
61
+ "id": "evt_01KY4KGRYBC8YABZ19GPEHBZSS",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6",
65
+ "renames": []
66
+ },
58
67
  "orb_01KXG04FP6QAS7WJ3AM0W5ZSED": {
59
68
  "bakedName": "AppSearchOrbital",
60
69
  "curName": "AppSearchOrbital",
@@ -78,6 +87,14 @@
78
87
  "kind": "trait",
79
88
  "owner": "workspace",
80
89
  "renames": []
90
+ },
91
+ "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6": {
92
+ "bakedName": "AppSearchIdleHint",
93
+ "curName": "AppSearchIdleHint",
94
+ "id": "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6",
95
+ "kind": "trait",
96
+ "owner": "workspace",
97
+ "renames": []
81
98
  }
82
99
  },
83
100
  "schemaVersion": 1
@@ -127,12 +144,75 @@
127
144
  }
128
145
  ],
129
146
  "traits": [
147
+ {
148
+ "category": "interaction",
149
+ "entityRefIds": {
150
+ "AppSearchTarget": "ent_01KXG04FP6C6T654ZZ7KVS3JGS"
151
+ },
152
+ "id": "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6",
153
+ "linkedEntity": "AppSearchTarget",
154
+ "linkedEntityId": "ent_01KXG04FP6C6T654ZZ7KVS3JGS",
155
+ "name": "AppSearchIdleHint",
156
+ "scope": "instance",
157
+ "stateMachine": {
158
+ "events": [
159
+ {
160
+ "id": "evt_01KY4KGRYBC8YABZ19GPEHBZSS",
161
+ "key": "INIT",
162
+ "name": "Initialize"
163
+ }
164
+ ],
165
+ "states": [
166
+ {
167
+ "isInitial": true,
168
+ "name": "idle"
169
+ }
170
+ ],
171
+ "transitions": [
172
+ {
173
+ "effects": [
174
+ [
175
+ "render-ui",
176
+ "main",
177
+ {
178
+ "align": "center",
179
+ "children": [
180
+ {
181
+ "color": "muted",
182
+ "name": "search",
183
+ "size": "lg",
184
+ "type": "icon"
185
+ },
186
+ {
187
+ "color": "muted",
188
+ "content": "Start typing to search",
189
+ "type": "typography",
190
+ "variant": "caption"
191
+ }
192
+ ],
193
+ "className": "py-12",
194
+ "direction": "vertical",
195
+ "gap": "sm",
196
+ "type": "stack"
197
+ }
198
+ ]
199
+ ],
200
+ "event": "INIT",
201
+ "eventId": "evt_01KY4KGRYBC8YABZ19GPEHBZSS",
202
+ "from": "idle",
203
+ "to": "idle"
204
+ }
205
+ ]
206
+ }
207
+ },
130
208
  {
131
209
  "category": "interaction",
132
210
  "config": {
133
211
  "idleContent": {
212
+ "default": "@trait.AppSearchIdleHint",
134
213
  "description": "The normal content view (e.g. the data ledger/browse trait) shown when no search is active.",
135
214
  "label": "Idle content",
215
+ "refId": "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6",
136
216
  "tier": "presentation",
137
217
  "type": "trait"
138
218
  },
@@ -701,6 +781,9 @@
701
781
  "to": "idle"
702
782
  }
703
783
  ]
784
+ },
785
+ "traitEmbedIds": {
786
+ "AppSearchIdleHint": "trt_01KY4KGRYBQTSMQ8BKNEJE5WV6"
704
787
  }
705
788
  }
706
789
  ]
@@ -224,9 +224,18 @@
224
224
  "id": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
225
225
  "linkedEntity": "BrowseItem",
226
226
  "linkedEntityId": "ent_01KXG04FVGGWM52VJZVMAEG5H0",
227
+ "listens": [
228
+ {
229
+ "event": "BrowseItemLoaded",
230
+ "source": {
231
+ "kind": "trait",
232
+ "trait": "BrowseItemBrowse"
233
+ },
234
+ "triggers": "DataGridLoaded"
235
+ }
236
+ ],
227
237
  "name": "DataGrid1",
228
- "ref": "DataGrid.traits.DataGridRender",
229
- "refId": "trt_01KXG04N8B3PF7M8CWQWG5WQ60"
238
+ "ref": "DataGrid.traits.DataGridRender"
230
239
  },
231
240
  {
232
241
  "config": {
@@ -262,9 +271,18 @@
262
271
  "id": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
263
272
  "linkedEntity": "BrowseItem",
264
273
  "linkedEntityId": "ent_01KXG04FVGGWM52VJZVMAEG5H0",
274
+ "listens": [
275
+ {
276
+ "event": "BrowseItemLoaded",
277
+ "source": {
278
+ "kind": "trait",
279
+ "trait": "BrowseItemBrowse"
280
+ },
281
+ "triggers": "TableViewLoaded"
282
+ }
283
+ ],
265
284
  "name": "DenseTableView",
266
- "ref": "TableView.traits.TableViewRender",
267
- "refId": "trt_01KXG04RSAMGZ70BX7E6M2EKPH"
285
+ "ref": "TableView.traits.TableViewRender"
268
286
  },
269
287
  {
270
288
  "category": "interaction",
@@ -697,6 +715,8 @@
697
715
  "entity": "@payload.data",
698
716
  "fields": [],
699
717
  "gap": "lg",
718
+ "itemActions": "@config.itemActions",
719
+ "maxInlineActions": "@config.maxInlineActions",
700
720
  "minCardWidth": 260.0,
701
721
  "renderItem": [
702
722
  "fn",
@@ -270,6 +270,7 @@
270
270
  "main",
271
271
  {
272
272
  "entity": "FilterTarget",
273
+ "event": "@config.event",
273
274
  "filters": "@config.filters",
274
275
  "look": "@config.filterBarLook",
275
276
  "type": "filter-group"
@@ -298,6 +299,7 @@
298
299
  "main",
299
300
  {
300
301
  "entity": "FilterTarget",
302
+ "event": "@config.event",
301
303
  "filters": "@config.filters",
302
304
  "look": "@config.filterBarLook",
303
305
  "type": "filter-group"
@@ -334,6 +336,7 @@
334
336
  "main",
335
337
  {
336
338
  "entity": "FilterTarget",
339
+ "event": "@config.event",
337
340
  "filters": "@config.filters",
338
341
  "look": "@config.filterBarLook",
339
342
  "type": "filter-group"