@almadar/std 16.244.1 → 16.245.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.
- package/behaviors/behaviors-registry.json +385 -12
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +13 -5
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +7 -0
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +18 -9
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +20 -2
- package/behaviors/signatures.lolo +788 -88
- package/dist/behaviors/exports-reader.js +18 -9
- package/dist/behaviors/functions/index.d.ts +4 -3
- package/dist/behaviors/functions/index.js +18 -9
- package/dist/behaviors/index.js +18 -9
- package/dist/behaviors/query.js +18 -9
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/behaviors-registry.json +385 -12
- package/dist/index.js +18 -9
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +5 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +2 -2
|
@@ -323,6 +323,7 @@ orbital CalendarEventOrbital {
|
|
|
323
323
|
gap: md
|
|
324
324
|
justify: between
|
|
325
325
|
type: stack
|
|
326
|
+
wrap: true
|
|
326
327
|
}, (if @config.bodySearch {
|
|
327
328
|
children: [{
|
|
328
329
|
className: "w-full max-w-md"
|
|
@@ -387,7 +388,7 @@ orbital CalendarEventOrbital {
|
|
|
387
388
|
children: [{
|
|
388
389
|
align: center
|
|
389
390
|
children: [{ name: list, size: xl, type: icon }, {
|
|
390
|
-
content:
|
|
391
|
+
content: @config.title
|
|
391
392
|
type: typography
|
|
392
393
|
variant: h2
|
|
393
394
|
}]
|
|
@@ -403,6 +404,7 @@ orbital CalendarEventOrbital {
|
|
|
403
404
|
gap: md
|
|
404
405
|
justify: between
|
|
405
406
|
type: stack
|
|
407
|
+
wrap: true
|
|
406
408
|
}, (if @config.bodySearch {
|
|
407
409
|
children: [{
|
|
408
410
|
className: "w-full max-w-md"
|
|
@@ -438,6 +440,7 @@ orbital CalendarEventOrbital {
|
|
|
438
440
|
fields: []
|
|
439
441
|
gap: md
|
|
440
442
|
groupBy: @config.agendaGroupBy
|
|
443
|
+
groupFormat: date
|
|
441
444
|
itemActions: (array/filter @config.agendaItemActions (fn action (or (= (array/len (object/get @action roles [])) 0) (array/includes (object/get @action roles []) @config.viewerRole))))
|
|
442
445
|
renderItem: (fn item {
|
|
443
446
|
children: [{
|
|
@@ -451,25 +454,27 @@ orbital CalendarEventOrbital {
|
|
|
451
454
|
type: typography
|
|
452
455
|
variant: overline
|
|
453
456
|
}, {
|
|
457
|
+
className: "hidden sm:block"
|
|
454
458
|
color: muted
|
|
455
459
|
name: clock
|
|
456
460
|
size: sm
|
|
457
461
|
type: icon
|
|
458
462
|
}]
|
|
459
|
-
className: "w-16 shrink-0"
|
|
463
|
+
className: "w-14 sm:w-16 shrink-0"
|
|
460
464
|
direction: vertical
|
|
461
465
|
gap: xs
|
|
462
466
|
type: stack
|
|
463
|
-
}, { orientation: vertical, type: divider }, {
|
|
467
|
+
}, { className: "hidden sm:block", orientation: vertical, type: divider }, {
|
|
464
468
|
children: [{
|
|
465
469
|
align: center
|
|
466
470
|
children: [{
|
|
467
|
-
className:
|
|
471
|
+
className: "min-w-[8rem] flex-1 line-clamp-2 break-words"
|
|
468
472
|
content: @config.titleBinding
|
|
469
473
|
type: typography
|
|
470
474
|
variant: h4
|
|
471
475
|
weight: medium
|
|
472
476
|
}, {
|
|
477
|
+
className: "shrink-0 whitespace-nowrap"
|
|
473
478
|
label: @config.badgeBinding
|
|
474
479
|
size: sm
|
|
475
480
|
type: badge
|
|
@@ -479,6 +484,7 @@ orbital CalendarEventOrbital {
|
|
|
479
484
|
gap: sm
|
|
480
485
|
justify: between
|
|
481
486
|
type: stack
|
|
487
|
+
wrap: true
|
|
482
488
|
}, {
|
|
483
489
|
className: truncate
|
|
484
490
|
color: muted
|
|
@@ -499,6 +505,7 @@ orbital CalendarEventOrbital {
|
|
|
499
505
|
padding: md
|
|
500
506
|
type: card
|
|
501
507
|
})
|
|
508
|
+
surface: none
|
|
502
509
|
type: data-list
|
|
503
510
|
variant: default
|
|
504
511
|
}]
|
|
@@ -516,7 +523,7 @@ orbital CalendarEventOrbital {
|
|
|
516
523
|
children: [{
|
|
517
524
|
align: center
|
|
518
525
|
children: [{ name: calendar, size: xl, type: icon }, {
|
|
519
|
-
content:
|
|
526
|
+
content: @config.title
|
|
520
527
|
type: typography
|
|
521
528
|
variant: h2
|
|
522
529
|
}]
|
|
@@ -555,6 +562,7 @@ orbital CalendarEventOrbital {
|
|
|
555
562
|
gap: md
|
|
556
563
|
justify: between
|
|
557
564
|
type: stack
|
|
565
|
+
wrap: true
|
|
558
566
|
}, (if @config.bodySearch {
|
|
559
567
|
children: [{
|
|
560
568
|
className: "w-full max-w-md"
|
|
@@ -91,6 +91,7 @@ orbital DataListOrbital {
|
|
|
91
91
|
gap: @config.gap
|
|
92
92
|
variant: @config.variant
|
|
93
93
|
groupBy: @config.groupBy
|
|
94
|
+
groupFormat: @config.groupFormat
|
|
94
95
|
senderField: @config.senderField
|
|
95
96
|
senderLabelField: @config.senderLabelField
|
|
96
97
|
currentUser: @config.currentUser
|
|
@@ -155,6 +156,7 @@ orbital DataListOrbital {
|
|
|
155
156
|
gap: @config.gap
|
|
156
157
|
variant: @config.variant
|
|
157
158
|
groupBy: @config.groupBy
|
|
159
|
+
groupFormat: @config.groupFormat
|
|
158
160
|
senderField: @config.senderField
|
|
159
161
|
senderLabelField: @config.senderLabelField
|
|
160
162
|
currentUser: @config.currentUser
|
|
@@ -219,6 +221,7 @@ orbital DataListOrbital {
|
|
|
219
221
|
gap: @config.gap
|
|
220
222
|
variant: @config.variant
|
|
221
223
|
groupBy: @config.groupBy
|
|
224
|
+
groupFormat: @config.groupFormat
|
|
222
225
|
senderField: @config.senderField
|
|
223
226
|
senderLabelField: @config.senderLabelField
|
|
224
227
|
currentUser: @config.currentUser
|
|
@@ -377,6 +380,10 @@ orbital DataListOrbital {
|
|
|
377
380
|
@label "Group By"
|
|
378
381
|
@description "Group items by a field value (renders section headers between groups)"
|
|
379
382
|
@tier "presentation"
|
|
383
|
+
groupFormat : "date" | "time" | "datetime" | "currency" | "number" | "boolean" | "percent"
|
|
384
|
+
@label "Group Format"
|
|
385
|
+
@description "How a `groupBy` value is bucketed and labelled (`date` = one section per day)"
|
|
386
|
+
@tier "presentation"
|
|
380
387
|
senderField : string
|
|
381
388
|
@label "Sender Field"
|
|
382
389
|
@description "Field name identifying the sender (used with variant: 'message')"
|