@almadar/std 16.244.0 → 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.
@@ -283,7 +283,7 @@
283
283
  "when": {
284
284
  "name": "when",
285
285
  "required": false,
286
- "type": "object"
286
+ "type": "SExpr"
287
287
  }
288
288
  },
289
289
  "type": "object"
@@ -308,7 +308,7 @@
308
308
  "type": "icon"
309
309
  },
310
310
  {
311
- "content": "Agenda",
311
+ "content": "@config.title",
312
312
  "type": "typography",
313
313
  "variant": "h2"
314
314
  }
@@ -326,7 +326,8 @@
326
326
  "direction": "horizontal",
327
327
  "gap": "md",
328
328
  "justify": "between",
329
- "type": "stack"
329
+ "type": "stack",
330
+ "wrap": true
330
331
  },
331
332
  [
332
333
  "if",
@@ -389,6 +390,7 @@
389
390
  "fields": [],
390
391
  "gap": "md",
391
392
  "groupBy": "@config.agendaGroupBy",
393
+ "groupFormat": "date",
392
394
  "itemActions": [
393
395
  "array/filter",
394
396
  "@config.agendaItemActions",
@@ -442,18 +444,20 @@
442
444
  "variant": "overline"
443
445
  },
444
446
  {
447
+ "className": "hidden sm:block",
445
448
  "color": "muted",
446
449
  "name": "clock",
447
450
  "size": "sm",
448
451
  "type": "icon"
449
452
  }
450
453
  ],
451
- "className": "w-16 shrink-0",
454
+ "className": "w-14 sm:w-16 shrink-0",
452
455
  "direction": "vertical",
453
456
  "gap": "xs",
454
457
  "type": "stack"
455
458
  },
456
459
  {
460
+ "className": "hidden sm:block",
457
461
  "orientation": "vertical",
458
462
  "type": "divider"
459
463
  },
@@ -463,13 +467,14 @@
463
467
  "align": "center",
464
468
  "children": [
465
469
  {
466
- "className": "truncate",
470
+ "className": "min-w-[8rem] flex-1 line-clamp-2 break-words",
467
471
  "content": "@config.titleBinding",
468
472
  "type": "typography",
469
473
  "variant": "h4",
470
474
  "weight": "medium"
471
475
  },
472
476
  {
477
+ "className": "shrink-0 whitespace-nowrap",
473
478
  "label": "@config.badgeBinding",
474
479
  "size": "sm",
475
480
  "type": "badge",
@@ -479,7 +484,8 @@
479
484
  "direction": "horizontal",
480
485
  "gap": "sm",
481
486
  "justify": "between",
482
- "type": "stack"
487
+ "type": "stack",
488
+ "wrap": true
483
489
  },
484
490
  {
485
491
  "className": "truncate",
@@ -505,6 +511,7 @@
505
511
  "type": "card"
506
512
  }
507
513
  ],
514
+ "surface": "none",
508
515
  "type": "data-list",
509
516
  "variant": "default"
510
517
  }
@@ -559,7 +566,8 @@
559
566
  "direction": "horizontal",
560
567
  "gap": "md",
561
568
  "justify": "between",
562
- "type": "stack"
569
+ "type": "stack",
570
+ "wrap": true
563
571
  },
564
572
  [
565
573
  "if",
@@ -940,7 +948,7 @@
940
948
  "type": "icon"
941
949
  },
942
950
  {
943
- "content": "Week",
951
+ "content": "@config.title",
944
952
  "type": "typography",
945
953
  "variant": "h2"
946
954
  }
@@ -990,7 +998,8 @@
990
998
  "direction": "horizontal",
991
999
  "gap": "md",
992
1000
  "justify": "between",
993
- "type": "stack"
1001
+ "type": "stack",
1002
+ "wrap": true
994
1003
  },
995
1004
  [
996
1005
  "if",
@@ -572,6 +572,21 @@
572
572
  "tier": "presentation",
573
573
  "type": "string"
574
574
  },
575
+ "groupFormat": {
576
+ "description": "How a `groupBy` value is bucketed and labelled (`date` = one section per day)",
577
+ "label": "Group Format",
578
+ "tier": "presentation",
579
+ "type": "string",
580
+ "values": [
581
+ "date",
582
+ "time",
583
+ "datetime",
584
+ "currency",
585
+ "number",
586
+ "boolean",
587
+ "percent"
588
+ ]
589
+ },
575
590
  "hasMore": {
576
591
  "description": "Whether more items are available for infinite scroll",
577
592
  "label": "Has More",
@@ -614,7 +629,7 @@
614
629
  "payload": {
615
630
  "name": "payload",
616
631
  "required": false,
617
- "type": "object"
632
+ "type": "SExpr"
618
633
  },
619
634
  "roles": {
620
635
  "items": {
@@ -638,7 +653,7 @@
638
653
  "when": {
639
654
  "name": "when",
640
655
  "required": false,
641
- "type": "object"
656
+ "type": "SExpr"
642
657
  }
643
658
  },
644
659
  "type": "object"
@@ -1304,6 +1319,7 @@
1304
1319
  "fields": "@config.fields",
1305
1320
  "gap": "@config.gap",
1306
1321
  "groupBy": "@config.groupBy",
1322
+ "groupFormat": "@config.groupFormat",
1307
1323
  "hasMore": "@config.hasMore",
1308
1324
  "infiniteScroll": "@config.infiniteScroll",
1309
1325
  "isLoading": "@config.isLoading",
@@ -1413,6 +1429,7 @@
1413
1429
  "fields": "@config.fields",
1414
1430
  "gap": "@config.gap",
1415
1431
  "groupBy": "@config.groupBy",
1432
+ "groupFormat": "@config.groupFormat",
1416
1433
  "hasMore": "@config.hasMore",
1417
1434
  "infiniteScroll": "@config.infiniteScroll",
1418
1435
  "isLoading": "@config.isLoading",
@@ -1525,6 +1542,7 @@
1525
1542
  "fields": "@config.fields",
1526
1543
  "gap": "@config.gap",
1527
1544
  "groupBy": "@config.groupBy",
1545
+ "groupFormat": "@config.groupFormat",
1528
1546
  "hasMore": "@config.hasMore",
1529
1547
  "infiniteScroll": "@config.infiniteScroll",
1530
1548
  "isLoading": "@config.isLoading",