@almadar/std 16.141.0 → 16.143.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 (116) hide show
  1. package/behaviors/lolo/ui/avl/molecules/ui-module-card.lolo +1 -1
  2. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +1 -1
  3. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +22 -1
  4. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +11 -1
  5. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
  6. package/behaviors/lolo/ui/core/atoms/std-filter.lolo +3 -0
  7. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +17 -0
  8. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +17 -0
  9. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +17 -0
  10. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +0 -244
  11. package/behaviors/lolo/ui/core/atoms/ui-aside.lolo +1 -1
  12. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +2 -2
  13. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +3 -3
  14. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +3 -4
  15. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +2 -3
  16. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +2 -2
  17. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +1 -1
  18. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +1 -1
  19. package/behaviors/lolo/ui/core/molecules/ui-quiz-block.lolo +1 -1
  20. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +1 -1
  21. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +1 -1
  22. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +1 -1
  23. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +3 -4
  24. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +0 -2
  25. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +0 -2
  26. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +0 -2
  27. package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +2 -12
  28. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +0 -2
  29. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-stat-card.lolo +1 -1
  30. package/behaviors/lolo/ui/marketing/molecules/ui-case-study-card.lolo +1 -1
  31. package/behaviors/lolo/ui/marketing/molecules/ui-feature-card.lolo +1 -1
  32. package/behaviors/lolo/ui/marketing/molecules/ui-pricing-card.lolo +1 -1
  33. package/behaviors/registry/factory-signatures.json +286 -3335
  34. package/behaviors/registry/ui/avl/molecules/ui-module-card.orb +1 -1
  35. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +6 -1
  36. package/behaviors/registry/ui/core/atoms/std-app-search.orb +83 -0
  37. package/behaviors/registry/ui/core/atoms/std-browse.orb +30 -5
  38. package/behaviors/registry/ui/core/atoms/std-file-store.orb +12 -2
  39. package/behaviors/registry/ui/core/atoms/std-filter.orb +3 -0
  40. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +40 -0
  41. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +40 -0
  42. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +40 -0
  43. package/behaviors/registry/ui/core/atoms/std-wizard.orb +0 -912
  44. package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  45. package/behaviors/registry/ui/core/atoms/ui-typography.orb +4 -2
  46. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +54 -32
  47. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +13 -26
  48. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +13 -26
  49. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +2 -2
  50. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  51. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  52. package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  53. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  54. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  55. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  56. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +13 -26
  57. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +0 -13
  58. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +8 -21
  59. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +0 -13
  60. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +4 -47
  61. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +0 -13
  62. package/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +1 -1
  63. package/behaviors/registry/ui/marketing/molecules/ui-case-study-card.orb +1 -1
  64. package/behaviors/registry/ui/marketing/molecules/ui-feature-card.orb +1 -1
  65. package/behaviors/registry/ui/marketing/molecules/ui-pricing-card.orb +1 -1
  66. package/dist/behaviors/behaviors-embeddings.json +463 -463
  67. package/dist/behaviors/behaviors-registry.json +35 -26
  68. package/dist/behaviors/exports-reader.js +25 -518
  69. package/dist/behaviors/functions/index.d.ts +80 -119
  70. package/dist/behaviors/functions/index.js +23 -486
  71. package/dist/behaviors/index.d.ts +1 -1
  72. package/dist/behaviors/index.js +26 -519
  73. package/dist/behaviors/knob-embeddings.json +1 -1
  74. package/dist/behaviors/query.js +25 -518
  75. package/dist/behaviors/registry/factory-signatures.json +286 -3335
  76. package/dist/behaviors/registry/ui/avl/molecules/ui-module-card.orb +1 -1
  77. package/dist/behaviors/registry/ui/core/atoms/std-app-layout.orb +6 -1
  78. package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +83 -0
  79. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +30 -5
  80. package/dist/behaviors/registry/ui/core/atoms/std-file-store.orb +12 -2
  81. package/dist/behaviors/registry/ui/core/atoms/std-filter.orb +3 -0
  82. package/dist/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +40 -0
  83. package/dist/behaviors/registry/ui/core/atoms/std-saved-search.orb +40 -0
  84. package/dist/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +40 -0
  85. package/dist/behaviors/registry/ui/core/atoms/std-wizard.orb +0 -912
  86. package/dist/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  87. package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +4 -2
  88. package/dist/behaviors/registry/ui/core/molecules/ui-code-block.orb +54 -32
  89. package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +13 -26
  90. package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +13 -26
  91. package/dist/behaviors/registry/ui/core/molecules/ui-drawer.orb +2 -2
  92. package/dist/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  93. package/dist/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  94. package/dist/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  95. package/dist/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  96. package/dist/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  97. package/dist/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  98. package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +13 -26
  99. package/dist/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +0 -13
  100. package/dist/behaviors/registry/ui/core/organisms/ui-entity-list.orb +8 -21
  101. package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +0 -13
  102. package/dist/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +4 -47
  103. package/dist/behaviors/registry/ui/core/organisms/ui-timeline.orb +0 -13
  104. package/dist/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +1 -1
  105. package/dist/behaviors/registry/ui/marketing/molecules/ui-case-study-card.orb +1 -1
  106. package/dist/behaviors/registry/ui/marketing/molecules/ui-feature-card.orb +1 -1
  107. package/dist/behaviors/registry/ui/marketing/molecules/ui-pricing-card.orb +1 -1
  108. package/dist/behaviors-embeddings.json +463 -463
  109. package/dist/behaviors-registry.json +35 -26
  110. package/dist/index.d.ts +2 -2
  111. package/dist/index.js +37 -519
  112. package/dist/knob-embeddings.json +1 -1
  113. package/dist/registry/factory-signatures.json +286 -3335
  114. package/dist/registry.d.ts +9 -1
  115. package/dist/registry.js +12 -1
  116. package/package.json +5 -4
@@ -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": {
@@ -270,7 +270,7 @@
270
270
  "properties": {
271
271
  "event": {
272
272
  "name": "event",
273
- "required": true,
273
+ "required": false,
274
274
  "type": "string"
275
275
  },
276
276
  "icon": {
@@ -283,6 +283,11 @@
283
283
  "required": true,
284
284
  "type": "string"
285
285
  },
286
+ "navigatesTo": {
287
+ "name": "navigatesTo",
288
+ "required": false,
289
+ "type": "string"
290
+ },
286
291
  "variant": {
287
292
  "name": "variant",
288
293
  "required": false,
@@ -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",
@@ -825,7 +845,7 @@
825
845
  "properties": {
826
846
  "event": {
827
847
  "name": "event",
828
- "required": true,
848
+ "required": false,
829
849
  "type": "string"
830
850
  },
831
851
  "icon": {
@@ -838,6 +858,11 @@
838
858
  "required": true,
839
859
  "type": "string"
840
860
  },
861
+ "navigatesTo": {
862
+ "name": "navigatesTo",
863
+ "required": false,
864
+ "type": "string"
865
+ },
841
866
  "variant": {
842
867
  "name": "variant",
843
868
  "required": false,
@@ -225,7 +225,7 @@
225
225
  "properties": {
226
226
  "event": {
227
227
  "name": "event",
228
- "required": true,
228
+ "required": false,
229
229
  "type": "string"
230
230
  },
231
231
  "icon": {
@@ -238,6 +238,11 @@
238
238
  "required": true,
239
239
  "type": "string"
240
240
  },
241
+ "navigatesTo": {
242
+ "name": "navigatesTo",
243
+ "required": false,
244
+ "type": "string"
245
+ },
241
246
  "variant": {
242
247
  "name": "variant",
243
248
  "required": false,
@@ -349,7 +354,7 @@
349
354
  "properties": {
350
355
  "event": {
351
356
  "name": "event",
352
- "required": true,
357
+ "required": false,
353
358
  "type": "string"
354
359
  },
355
360
  "icon": {
@@ -362,6 +367,11 @@
362
367
  "required": true,
363
368
  "type": "string"
364
369
  },
370
+ "navigatesTo": {
371
+ "name": "navigatesTo",
372
+ "required": false,
373
+ "type": "string"
374
+ },
365
375
  "variant": {
366
376
  "name": "variant",
367
377
  "required": false,
@@ -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"
@@ -657,6 +657,46 @@
657
657
  "from": "loading",
658
658
  "to": "error"
659
659
  },
660
+ {
661
+ "effects": [
662
+ [
663
+ "fetch",
664
+ "UploadedImage",
665
+ {
666
+ "emit": {
667
+ "failure": "UploadedImageLoadFailed",
668
+ "success": "UploadedImageLoaded"
669
+ }
670
+ }
671
+ ],
672
+ [
673
+ "render-ui",
674
+ "main",
675
+ {
676
+ "align": "center",
677
+ "children": [
678
+ {
679
+ "type": "spinner"
680
+ },
681
+ {
682
+ "color": "muted",
683
+ "content": "Loading images…",
684
+ "type": "typography",
685
+ "variant": "caption"
686
+ }
687
+ ],
688
+ "className": "py-12",
689
+ "direction": "vertical",
690
+ "gap": "md",
691
+ "type": "stack"
692
+ }
693
+ ]
694
+ ],
695
+ "event": "INIT",
696
+ "eventId": "evt_01KXG04GPP89A1D4728P34VMFM",
697
+ "from": "browsing",
698
+ "to": "loading"
699
+ },
660
700
  {
661
701
  "effects": [
662
702
  [
@@ -777,6 +777,46 @@
777
777
  "from": "loading",
778
778
  "to": "error"
779
779
  },
780
+ {
781
+ "effects": [
782
+ [
783
+ "fetch",
784
+ "SavedSearch",
785
+ {
786
+ "emit": {
787
+ "failure": "SavedSearchLoadFailed",
788
+ "success": "SavedSearchLoaded"
789
+ }
790
+ }
791
+ ],
792
+ [
793
+ "render-ui",
794
+ "main",
795
+ {
796
+ "align": "center",
797
+ "children": [
798
+ {
799
+ "type": "spinner"
800
+ },
801
+ {
802
+ "color": "muted",
803
+ "content": "Loading saved searches…",
804
+ "type": "typography",
805
+ "variant": "caption"
806
+ }
807
+ ],
808
+ "className": "py-12",
809
+ "direction": "vertical",
810
+ "gap": "md",
811
+ "type": "stack"
812
+ }
813
+ ]
814
+ ],
815
+ "event": "INIT",
816
+ "eventId": "evt_01KXG04HEK6NXH4H03WDAQSW47",
817
+ "from": "browsing",
818
+ "to": "loading"
819
+ },
780
820
  {
781
821
  "effects": [
782
822
  [
@@ -491,6 +491,46 @@
491
491
  "from": "loading",
492
492
  "to": "error"
493
493
  },
494
+ {
495
+ "effects": [
496
+ [
497
+ "fetch",
498
+ "Tag",
499
+ {
500
+ "emit": {
501
+ "failure": "TagLoadFailed",
502
+ "success": "TagLoaded"
503
+ }
504
+ }
505
+ ],
506
+ [
507
+ "render-ui",
508
+ "main",
509
+ {
510
+ "align": "center",
511
+ "children": [
512
+ {
513
+ "type": "spinner"
514
+ },
515
+ {
516
+ "color": "muted",
517
+ "content": "Loading categories…",
518
+ "type": "typography",
519
+ "variant": "caption"
520
+ }
521
+ ],
522
+ "className": "py-12",
523
+ "direction": "vertical",
524
+ "gap": "md",
525
+ "type": "stack"
526
+ }
527
+ ]
528
+ ],
529
+ "event": "INIT",
530
+ "eventId": "evt_01KXG04HRHZ7R8AVV6NCG6FC0S",
531
+ "from": "browsing",
532
+ "to": "loading"
533
+ },
494
534
  {
495
535
  "effects": [
496
536
  [