@almadar/std 16.180.0 → 16.182.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 (81) hide show
  1. package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +290 -0
  2. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +290 -0
  3. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +238 -40
  4. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +180 -3
  5. package/behaviors/lolo/ui/core/atoms/ui-badge.lolo +1 -9
  6. package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +2 -25
  7. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -0
  8. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +4 -4
  9. package/behaviors/lolo/ui/game/.hand-authored.json +1 -1
  10. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +5 -0
  11. package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +5 -0
  12. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +2 -36
  13. package/behaviors/lolo/ui/game/templates/ui-game-shell.lolo +5 -5
  14. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1643 -0
  15. package/behaviors/registry/infra/atoms/std-notification-center.orb +1621 -0
  16. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1734 -169
  17. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +846 -2
  18. package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -38
  19. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +2 -90
  20. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +9 -0
  21. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -2
  22. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +13 -1
  23. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +13 -1
  24. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +2 -101
  25. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +5 -5
  26. package/canonical-operators.json +21 -1
  27. package/dist/behaviors/exports-reader.js +8303 -3043
  28. package/dist/behaviors/functions/index.d.ts +476 -36
  29. package/dist/behaviors/functions/index.js +18352 -13109
  30. package/dist/behaviors/index.d.ts +1 -1
  31. package/dist/behaviors/index.js +8304 -3044
  32. package/dist/behaviors/query.js +8303 -3043
  33. package/dist/behaviors-embeddings.hash.json +3 -3
  34. package/dist/behaviors-embeddings.json +365 -357
  35. package/dist/behaviors-registry.json +1170 -29
  36. package/dist/index.d.ts +3 -3
  37. package/dist/index.js +8275 -2978
  38. package/dist/knob-embeddings.hash.json +3 -3
  39. package/dist/knob-embeddings.json +1 -1
  40. package/dist/modules/anim.d.ts +1 -1
  41. package/dist/modules/array.d.ts +1 -1
  42. package/dist/modules/async.d.ts +1 -1
  43. package/dist/modules/behavior.d.ts +1 -1
  44. package/dist/modules/browser.d.ts +1 -1
  45. package/dist/modules/browser.js +21 -0
  46. package/dist/modules/composition.d.ts +1 -1
  47. package/dist/modules/contract.d.ts +1 -1
  48. package/dist/modules/core.d.ts +1 -1
  49. package/dist/modules/core.js +18 -2
  50. package/dist/modules/data.d.ts +1 -1
  51. package/dist/modules/ease.d.ts +1 -1
  52. package/dist/modules/format.d.ts +1 -1
  53. package/dist/modules/geo.d.ts +1 -1
  54. package/dist/modules/graph.d.ts +1 -1
  55. package/dist/modules/grid.d.ts +1 -1
  56. package/dist/modules/index.d.ts +1 -1
  57. package/dist/modules/index.js +39 -2
  58. package/dist/modules/integration.d.ts +1 -1
  59. package/dist/modules/llm.d.ts +1 -1
  60. package/dist/modules/math.d.ts +1 -1
  61. package/dist/modules/memory.d.ts +1 -1
  62. package/dist/modules/nn.d.ts +1 -1
  63. package/dist/modules/noise.d.ts +1 -1
  64. package/dist/modules/object.d.ts +1 -1
  65. package/dist/modules/os.d.ts +1 -1
  66. package/dist/modules/path.d.ts +1 -1
  67. package/dist/modules/prob.d.ts +1 -1
  68. package/dist/modules/session.d.ts +1 -1
  69. package/dist/modules/str.d.ts +1 -1
  70. package/dist/modules/tensor.d.ts +1 -1
  71. package/dist/modules/time.d.ts +1 -1
  72. package/dist/modules/trace.d.ts +1 -1
  73. package/dist/modules/train.d.ts +1 -1
  74. package/dist/modules/validate.d.ts +1 -1
  75. package/dist/modules/vector.d.ts +1 -1
  76. package/dist/modules/workspace.d.ts +1 -1
  77. package/dist/registry/factory-signatures.json +1 -1
  78. package/dist/registry.d.ts +1 -1
  79. package/dist/registry.js +39 -2
  80. package/dist/{types-DGJ6Y6nW.d.ts → types-BXWzEjFm.d.ts} +1 -1
  81. package/package.json +3 -3
@@ -25,21 +25,6 @@ orbital FilterPillOrbital {
25
25
  removeEvent: @config.removeEvent
26
26
  type: filter-pill
27
27
  })
28
- REMOVE -> idle
29
- (set @entity.label ?label)
30
- (render-ui main {
31
- className: @config.className
32
- variant: @config.variant
33
- size: @config.size
34
- label: @entity.label
35
- icon: @config.icon
36
- onRemove: @config.onRemove
37
- removable: @config.removable
38
- onClick: @config.onClick
39
- clickEvent: @config.clickEvent
40
- removeEvent: @config.removeEvent
41
- type: filter-pill
42
- })
43
28
  CLICK -> idle
44
29
  (set @entity.label ?label)
45
30
  (render-ui main {
@@ -58,11 +43,6 @@ orbital FilterPillOrbital {
58
43
  }
59
44
 
60
45
  emits {
61
- @config.onRemove -> external {
62
- label : string!
63
- }
64
- @description "Called when the user clicks the remove (×) button"
65
- @tier "essential"
66
46
  @config.onClick -> external {
67
47
  label : string!
68
48
  }
@@ -71,9 +51,6 @@ orbital FilterPillOrbital {
71
51
  }
72
52
 
73
53
  listens {
74
- REMOVE {
75
- label : string!
76
- }
77
54
  CLICK {
78
55
  label : string!
79
56
  }
@@ -100,7 +77,7 @@ orbital FilterPillOrbital {
100
77
  @label "Icon"
101
78
  @description "Lucide icon component or canonical kebab-case icon name string"
102
79
  @tier "presentation"
103
- onRemove : string = "REMOVE"
80
+ onRemove : string = ""
104
81
  @label "On Remove"
105
82
  @description "Called when the user clicks the remove (×) button"
106
83
  @tier "presentation"
@@ -116,7 +93,7 @@ orbital FilterPillOrbital {
116
93
  @label "Click Event"
117
94
  @description "Event name dispatched via event bus when the pill body is clicked. Payload: { label }"
118
95
  @tier "presentation"
119
- removeEvent : string = "REMOVE"
96
+ removeEvent : string = ""
120
97
  @label "Remove Event"
121
98
  @description "Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }"
122
99
  @tier "presentation"
@@ -32,6 +32,7 @@ orbital CalendarGridOrbital {
32
32
  dayWindow: @config.dayWindow
33
33
  titleField: @config.titleField
34
34
  startField: @config.startField
35
+ endField: @config.endField
35
36
  colorField: @config.colorField
36
37
  type: calendar-grid
37
38
  })
@@ -51,6 +52,7 @@ orbital CalendarGridOrbital {
51
52
  dayWindow: @config.dayWindow
52
53
  titleField: @config.titleField
53
54
  startField: @config.startField
55
+ endField: @config.endField
54
56
  colorField: @config.colorField
55
57
  type: calendar-grid
56
58
  })
@@ -148,6 +150,10 @@ orbital CalendarGridOrbital {
148
150
  @label "Start Field"
149
151
  @description "Row field holding the start timestamp (ISO or epoch). Defaults to `startTime`."
150
152
  @tier "presentation"
153
+ endField : string = endTime
154
+ @label "End Field"
155
+ @description "Row field holding the end timestamp (ISO or epoch). Defaults to `endTime`. When a row carries an end, the event's chip renders in its start slot and every further slot it covers shows a subdued continuation bar — without this, multi-hour events silently collapsed to their first hour."
156
+ @tier "presentation"
151
157
  colorField : string = color
152
158
  @label "Color Field"
153
159
  @description "Row field holding the chip's Tailwind colour class. Defaults to `color`."
@@ -208,9 +208,9 @@ orbital DetailPanelOrbital {
208
208
  @label "Actions"
209
209
  @description "Unified actions array - first action with variant='primary' is the main action"
210
210
  @tier "presentation"
211
- maxInlineActions : number
211
+ maxInlineActions : number = 2
212
212
  @label "Max Inline Actions"
213
- @description "Max inline action buttons before the rest collapse into a '⋯' overflow menu (mirrors DataGrid's maxInlineActions). Omit = all inline."
213
+ @description "Max inline action buttons before the rest collapse into a '⋯' overflow menu (mirrors DataGrid's maxInlineActions). Defaults to 2 — primary + secondary visible, the rest under the menu — so every detail panel carries the same action pattern."
214
214
  @tier "presentation"
215
215
  backAction : DetailPanelBackAction
216
216
  @label "Back Action"
@@ -248,9 +248,9 @@ orbital DetailPanelOrbital {
248
248
  @label "Display Fields"
249
249
  @description "Display fields (alias for fields)"
250
250
  @tier "presentation"
251
- showActions : boolean
251
+ showActions : boolean = true
252
252
  @label "Show Actions"
253
- @description "Show actions flag"
253
+ @description "When false, hides the action buttons + overflow menu (and the close ×). Defaults to true."
254
254
  @tier "presentation"
255
255
  relationsData : Map string [DetailPanelRelationsDataValueItem] = {}
256
256
  @label "Relations Data"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "game-shell": {
3
- "signature": "4b559ed095e1be08",
3
+ "signature": "008546c47daeac39",
4
4
  "board": "packages/almadar-std/behaviors/lolo/ui/game/templates/ui-game-shell.lolo"
5
5
  },
6
6
  "timer-display": {
@@ -60,6 +60,7 @@ orbital ControlGridOrbital {
60
60
  directionAssets: @config.directionAssets
61
61
  size: @config.size
62
62
  disabled: @config.disabled
63
+ visibility: @config.visibility
63
64
  className: @config.className
64
65
  type: control-grid
65
66
  })
@@ -133,6 +134,10 @@ orbital ControlGridOrbital {
133
134
  @label "Disabled"
134
135
  @description "disabled prop"
135
136
  @tier "presentation"
137
+ visibility : "auto" | "always" = auto
138
+ @label "Visibility"
139
+ @description "'auto' (default) renders only on coarse-pointer (touch) devices; 'always' renders everywhere."
140
+ @tier "presentation"
136
141
  className : string
137
142
  @label "Class Name"
138
143
  @description "className prop"
@@ -50,6 +50,7 @@ orbital GameHudOrbital {
50
50
  items: @config.items
51
51
  elements: @config.elements
52
52
  size: @config.size
53
+ variant: @config.variant
53
54
  className: @config.className
54
55
  transparent: @config.transparent
55
56
  type: game-hud
@@ -77,6 +78,10 @@ orbital GameHudOrbital {
77
78
  @label "Size"
78
79
  @description "Size variant"
79
80
  @tier "presentation"
81
+ variant : "floating" | "bar" = floating
82
+ @label "Variant"
83
+ @description "Layout variant: 'floating' (default) renders a compact pill cluster that hugs its content width; 'bar' preserves the legacy full-width split bar."
84
+ @tier "presentation"
80
85
  className : string
81
86
  @label "Class Name"
82
87
  @description "Additional CSS classes"
@@ -156,32 +156,6 @@ orbital TraitSlotOrbital {
156
156
  dropEvent: @config.dropEvent
157
157
  type: trait-slot
158
158
  })
159
- REMOVE -> idle
160
- (set @entity.slotNumber ?slotNumber)
161
- (render-ui main {
162
- slotNumber: @entity.slotNumber
163
- equippedItem: @config.equippedItem
164
- locked: @config.locked
165
- lockLabel: @config.lockLabel
166
- selected: @config.selected
167
- size: @config.size
168
- showTooltip: @config.showTooltip
169
- categoryColors: @config.categoryColors
170
- tooltipFrameUrl: @config.tooltipFrameUrl
171
- className: @config.className
172
- isLoading: @config.isLoading
173
- error: @config.error
174
- onItemDrop: @config.onItemDrop
175
- draggable: @config.draggable
176
- onDragStart: @config.onDragStart
177
- feedback: @config.feedback
178
- onClick: @config.onClick
179
- onRemove: @config.onRemove
180
- clickEvent: @config.clickEvent
181
- removeEvent: @config.removeEvent
182
- dropEvent: @config.dropEvent
183
- type: trait-slot
184
- })
185
159
  DROP -> idle
186
160
  (set @entity.slotNumber ?slotNumber)
187
161
  (render-ui main {
@@ -226,11 +200,6 @@ orbital TraitSlotOrbital {
226
200
  }
227
201
  @description "-- Callbacks --"
228
202
  @tier "essential"
229
- @config.onRemove -> external {
230
- slotNumber : number!
231
- }
232
- @description "Remove handler"
233
- @tier "essential"
234
203
  @config.dropEvent -> external {
235
204
  slotNumber : number!
236
205
  itemId : string!
@@ -243,9 +212,6 @@ orbital TraitSlotOrbital {
243
212
  CLICK {
244
213
  slotNumber : number!
245
214
  }
246
- REMOVE {
247
- slotNumber : number!
248
- }
249
215
  DROP {
250
216
  slotNumber : number!
251
217
  itemId : string!
@@ -321,7 +287,7 @@ orbital TraitSlotOrbital {
321
287
  @label "On Click"
322
288
  @description "-- Callbacks --"
323
289
  @tier "presentation"
324
- onRemove : string = "REMOVE"
290
+ onRemove : string = ""
325
291
  @label "On Remove"
326
292
  @description "Remove handler"
327
293
  @tier "presentation"
@@ -329,7 +295,7 @@ orbital TraitSlotOrbital {
329
295
  @label "Click Event"
330
296
  @description "-- Declarative events --"
331
297
  @tier "presentation"
332
- removeEvent : string = "REMOVE"
298
+ removeEvent : string = ""
333
299
  @label "Remove Event"
334
300
  @description "Emits UI:{removeEvent} with { slotNumber }"
335
301
  @tier "presentation"
@@ -63,19 +63,19 @@ orbital GameShellOrbital {
63
63
  @tier "presentation"
64
64
  hud : node
65
65
  @label "Hud"
66
- @description "Stat chips row — floats along the top edge"
66
+ @description "Stat chips row — floats along the top edge. Legacy chrome surface: new behaviors emit HUD chrome via render-ui \"hud-top\" instead."
67
67
  @tier "presentation"
68
68
  addons : node
69
69
  @label "Addons"
70
- @description "Action cluster — floats bottom-right (End Turn, Fire, Reset, …)"
70
+ @description "Action cluster — floats bottom-right (End Turn, Fire, Reset, …). Legacy chrome surface: new behaviors emit action chrome via render-ui \"hud-bottom\" or \"floating\" instead."
71
71
  @tier "presentation"
72
72
  controls : node
73
73
  @label "Controls"
74
- @description "Movement controls — floats bottom-left (d-pad / control-grid)."
74
+ @description "Movement controls — floats bottom-left (d-pad / control-grid). Legacy chrome surface: new behaviors emit movement controls via render-ui \"hud-bottom\" instead."
75
75
  @tier "presentation"
76
76
  overlay : node
77
77
  @label "Overlay"
78
- @description "Centered overlay layer (victory/defeat banners, dialogs)."
78
+ @description "Centered overlay layer (victory/defeat banners, dialogs). Legacy chrome surface: new behaviors emit overlays via render-ui \"overlay\" (clear with render-ui \"overlay\" null on every exit) instead."
79
79
  @tier "presentation"
80
80
  className : string
81
81
  @label "Class Name"
@@ -99,7 +99,7 @@ orbital GameShellOrbital {
99
99
  @tier "presentation"
100
100
  fontFamily : string = future
101
101
  @label "Font Family"
102
- @description "Game font key (future | future-narrow | pixel | blocks | mini) or a CSS font-family."
102
+ @description "Game display-font key (future | future-narrow | pixel | blocks | mini) or a CSS font-family. Scoped override of the theme contract's --font-family-display slot: titles and numerics take this face, body text follows the active theme."
103
103
  @tier "presentation"
104
104
  theme : string = ""
105
105
  @label "Theme"