@adia-ai/a2ui-corpus 0.3.3 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -19,6 +19,23 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
19
19
 
20
20
  _No pending changes._
21
21
 
22
+ ## [0.3.4] - 2026-05-07
23
+
24
+ ### Changed
25
+
26
+ - **Component catalog regenerated** — 100 → 107 yamls (+7 from new admin-* CSS-only structural children added in `@adia-ai/web-modules`). `catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` regenerated by `scripts/build/components.mjs`.
27
+
28
+ - **New catalog entries** for the bespoke shell-tier family per ADR-0023:
29
+ - `AdminSidebar` (admin-sidebar) — JS-bearing
30
+ - `AdminCommand` (admin-command) — JS-bearing
31
+ - `AdminContent` / `AdminTopbar` / `AdminStatusbar` / `AdminScroll` / `AdminPage` / `AdminPageHeader` / `AdminPageBody` — CSS-only structural
32
+
33
+ The catalog is consumed by `@adia-ai/a2ui-retrieval` for protocol-vocabulary composition. Composers (zettel, chunk-zettel) now have addressable entries for shell sub-regions instead of falling back to chunk-name retrieval.
34
+
35
+ ### No source changes
36
+
37
+ Corpus chunks, fragments, compositions, and patterns are byte-identical to v0.3.3. The only change is the regenerated catalog manifest.
38
+
22
39
  ## [0.3.3] - 2026-05-07
23
40
 
24
41
  **Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` ranges stay at `^0.3.0` (patch-cut asymmetry — caret floats `0.3.x`).
@@ -317,6 +317,725 @@
317
317
  "version": 1
318
318
  }
319
319
  },
320
+ "AdminCommand": {
321
+ "title": "AdminCommand",
322
+ "description": "Module-tier command palette wrapper — wraps a native <dialog> and the\ninner <command-ui>. Owns the keyboard shortcut listener, focus\nmanagement, and dismiss handlers. Reflects [open].\n\nSits inside <admin-shell> as a direct child. The host wires\n[data-command-trigger] elements to <admin-command>.show() via lookup.\n\nThis is the bespoke web-component replacement for the legacy\n<dialog data-command> shape. <admin-shell> still recognizes the\nlegacy shape via :is() selector. New code should prefer <admin-command>.\n",
323
+ "type": "object",
324
+ "allOf": [
325
+ {
326
+ "$ref": "#/$defs/ComponentCommon"
327
+ },
328
+ {
329
+ "$ref": "#/$defs/CatalogComponentCommon"
330
+ }
331
+ ],
332
+ "properties": {
333
+ "component": {
334
+ "const": "AdminCommand"
335
+ },
336
+ "no-shortcut": {
337
+ "description": "Opts out of the keyboard listener entirely. Use when the host\nwires its own shortcut handling, or when the palette should be\nmouse-only.\n",
338
+ "type": "boolean",
339
+ "default": false
340
+ },
341
+ "open": {
342
+ "description": "Reflected — set while the dialog is showing. Synced with both\nprogrammatic .show()/.hide() and native dialog close events\n(esc key, backdrop click).\n",
343
+ "type": "boolean",
344
+ "default": false
345
+ },
346
+ "shortcut": {
347
+ "description": "Keyboard shortcut binding. \"cmd+k\" responds only on Mac\n(metaKey); \"ctrl+k\" responds only when ctrlKey; \"both\" (default)\nresponds to either, which is the canonical AdiaUI behavior for\ncross-platform Cmd+K affordance.\n",
348
+ "type": "string",
349
+ "enum": [
350
+ "both",
351
+ "cmd+k",
352
+ "ctrl+k"
353
+ ],
354
+ "default": "both"
355
+ }
356
+ },
357
+ "required": [
358
+ "component"
359
+ ],
360
+ "unevaluatedProperties": false,
361
+ "x-adiaui": {
362
+ "anti_patterns": [],
363
+ "category": "interaction",
364
+ "events": {
365
+ "command-select": {
366
+ "description": "Forwarded from the inner <command-ui> when an option is chosen. Detail mirrors the inner event's detail.",
367
+ "detail": {
368
+ "value": "string"
369
+ }
370
+ }
371
+ },
372
+ "examples": [],
373
+ "keywords": [
374
+ "admin-command",
375
+ "command-palette",
376
+ "palette",
377
+ "cmd-k",
378
+ "keyboard-shortcut",
379
+ "quickaction"
380
+ ],
381
+ "name": "AdminCommand",
382
+ "related": [
383
+ "AdminShell",
384
+ "AdminSidebar",
385
+ "Command"
386
+ ],
387
+ "slots": {
388
+ "default": {
389
+ "description": "Default slot — the inner <command-ui> (and any other content inside the dialog). Authors typically place exactly one <command-ui placeholder=\"…\">."
390
+ }
391
+ },
392
+ "states": [
393
+ {
394
+ "description": "Default, palette closed.",
395
+ "name": "idle"
396
+ },
397
+ {
398
+ "description": "Dialog is showing; first input has focus.",
399
+ "attribute": "open",
400
+ "name": "open"
401
+ }
402
+ ],
403
+ "synonyms": {
404
+ "cmd-k": [
405
+ "ctrl-k",
406
+ "command-shortcut"
407
+ ],
408
+ "command-palette": [
409
+ "palette",
410
+ "quick-action",
411
+ "omnibox"
412
+ ]
413
+ },
414
+ "tag": "admin-command",
415
+ "tokens": {},
416
+ "traits": [],
417
+ "version": 1
418
+ }
419
+ },
420
+ "AdminContent": {
421
+ "title": "AdminContent",
422
+ "description": "Module-tier shell main-column container. CSS-only — no behavior, no\nJS. Sits inside <admin-shell> as the center column between leading\nand trailing sidebars. Authors compose chrome bars + scroll surface\nvia slot vocabulary.\n\nThis is the bespoke replacement for the legacy raw <main> element\ninside admin-shell. Both shapes still render correctly per ADR-0023\nPhase 1 backwards-compat; new code should prefer <admin-content>.\n",
423
+ "type": "object",
424
+ "allOf": [
425
+ {
426
+ "$ref": "#/$defs/ComponentCommon"
427
+ },
428
+ {
429
+ "$ref": "#/$defs/CatalogComponentCommon"
430
+ }
431
+ ],
432
+ "properties": {
433
+ "component": {
434
+ "const": "AdminContent"
435
+ }
436
+ },
437
+ "required": [
438
+ "component"
439
+ ],
440
+ "unevaluatedProperties": false,
441
+ "x-adiaui": {
442
+ "anti_patterns": [],
443
+ "category": "layout",
444
+ "events": {},
445
+ "examples": [],
446
+ "keywords": [
447
+ "admin-content",
448
+ "main",
449
+ "center-column",
450
+ "workspace"
451
+ ],
452
+ "name": "AdminContent",
453
+ "related": [
454
+ "AdminShell",
455
+ "AdminSidebar",
456
+ "AdminTopbar",
457
+ "AdminStatusbar",
458
+ "AdminScroll",
459
+ "AdminPage"
460
+ ],
461
+ "slots": {
462
+ "default": {
463
+ "description": "Default content — typically <admin-topbar slot=\"header\">, an <admin-scroll> wrapping content, and an optional <admin-statusbar slot=\"footer\">."
464
+ },
465
+ "footer": {
466
+ "description": "Bottom chrome bar — typically <admin-statusbar>."
467
+ },
468
+ "header": {
469
+ "description": "Top chrome bar — typically <admin-topbar>."
470
+ }
471
+ },
472
+ "states": [
473
+ {
474
+ "description": "Default, the only state.",
475
+ "name": "idle"
476
+ }
477
+ ],
478
+ "synonyms": {
479
+ "main": [
480
+ "content",
481
+ "center",
482
+ "workspace"
483
+ ]
484
+ },
485
+ "tag": "admin-content",
486
+ "tokens": {},
487
+ "traits": [],
488
+ "version": 1
489
+ }
490
+ },
491
+ "AdminPage": {
492
+ "title": "AdminPage",
493
+ "description": "Module-tier page wrapper. CSS-only — no behavior, no JS. Provides\nthe page-content-root container query (named `page-content`) so\ndescendants can adapt to available content width (sidebars expanded\nvs collapsed) instead of viewport width. Stamps the sticky-band\nlayout: <admin-page-header> + <admin-page-body> + optional footer.\n\nReplaces the legacy <article data-content-root> shape per ADR-0023.\n",
494
+ "type": "object",
495
+ "allOf": [
496
+ {
497
+ "$ref": "#/$defs/ComponentCommon"
498
+ },
499
+ {
500
+ "$ref": "#/$defs/CatalogComponentCommon"
501
+ }
502
+ ],
503
+ "properties": {
504
+ "component": {
505
+ "const": "AdminPage"
506
+ }
507
+ },
508
+ "required": [
509
+ "component"
510
+ ],
511
+ "unevaluatedProperties": false,
512
+ "x-adiaui": {
513
+ "anti_patterns": [],
514
+ "category": "layout",
515
+ "events": {},
516
+ "examples": [],
517
+ "keywords": [
518
+ "admin-page",
519
+ "page-content",
520
+ "container-query-host"
521
+ ],
522
+ "name": "AdminPage",
523
+ "related": [
524
+ "AdminShell",
525
+ "AdminContent",
526
+ "AdminScroll",
527
+ "AdminPageHeader",
528
+ "AdminPageBody"
529
+ ],
530
+ "slots": {
531
+ "default": {
532
+ "description": "Default — typically <admin-page-header> + <admin-page-body>."
533
+ },
534
+ "body": {
535
+ "description": "Centered reading column (alternate slot for the body band)."
536
+ },
537
+ "footer": {
538
+ "description": "Sticky bottom band."
539
+ },
540
+ "header": {
541
+ "description": "Sticky top band (alternate slot for the header band)."
542
+ }
543
+ },
544
+ "states": [
545
+ {
546
+ "description": "Default, the only state.",
547
+ "name": "idle"
548
+ }
549
+ ],
550
+ "synonyms": {
551
+ "page-content": [
552
+ "content-area",
553
+ "content-root",
554
+ "document-region"
555
+ ]
556
+ },
557
+ "tag": "admin-page",
558
+ "tokens": {},
559
+ "traits": [],
560
+ "version": 1
561
+ }
562
+ },
563
+ "AdminPageBody": {
564
+ "title": "AdminPageBody",
565
+ "description": "Module-tier page-body band. CSS-only — no behavior, no JS.\nScrollable centered body inside <admin-page>. Owns full-width\nscroll sizing; wraps an inner <section-ui> or raw <section> for\nthe centered reading column.\n",
566
+ "type": "object",
567
+ "allOf": [
568
+ {
569
+ "$ref": "#/$defs/ComponentCommon"
570
+ },
571
+ {
572
+ "$ref": "#/$defs/CatalogComponentCommon"
573
+ }
574
+ ],
575
+ "properties": {
576
+ "component": {
577
+ "const": "AdminPageBody"
578
+ }
579
+ },
580
+ "required": [
581
+ "component"
582
+ ],
583
+ "unevaluatedProperties": false,
584
+ "x-adiaui": {
585
+ "anti_patterns": [],
586
+ "category": "layout",
587
+ "events": {},
588
+ "examples": [],
589
+ "keywords": [
590
+ "admin-page-body",
591
+ "page-body",
592
+ "centered-body"
593
+ ],
594
+ "name": "AdminPageBody",
595
+ "related": [
596
+ "AdminPage",
597
+ "AdminPageHeader",
598
+ "Section"
599
+ ],
600
+ "slots": {
601
+ "default": {
602
+ "description": "Default — typically <section-ui> or <section> with the page content. Full-bleed content (iframes, split panes) can sit directly here to opt out of the centered column."
603
+ }
604
+ },
605
+ "states": [
606
+ {
607
+ "description": "Default, the only state.",
608
+ "name": "idle"
609
+ }
610
+ ],
611
+ "synonyms": {
612
+ "page-body": [
613
+ "content-body",
614
+ "document-body"
615
+ ]
616
+ },
617
+ "tag": "admin-page-body",
618
+ "tokens": {},
619
+ "traits": [],
620
+ "version": 1
621
+ }
622
+ },
623
+ "AdminPageHeader": {
624
+ "title": "AdminPageHeader",
625
+ "description": "Module-tier page-header band. CSS-only — no behavior, no JS.\nSticky top band inside <admin-page>. Owns full-width concerns\n(sticky position, border-bottom, background); wraps an inner\n<header-ui> or raw <header> for the centered reading column\n(max-width, gutter, rhythm).\n",
626
+ "type": "object",
627
+ "allOf": [
628
+ {
629
+ "$ref": "#/$defs/ComponentCommon"
630
+ },
631
+ {
632
+ "$ref": "#/$defs/CatalogComponentCommon"
633
+ }
634
+ ],
635
+ "properties": {
636
+ "component": {
637
+ "const": "AdminPageHeader"
638
+ }
639
+ },
640
+ "required": [
641
+ "component"
642
+ ],
643
+ "unevaluatedProperties": false,
644
+ "x-adiaui": {
645
+ "anti_patterns": [],
646
+ "category": "layout",
647
+ "events": {},
648
+ "examples": [],
649
+ "keywords": [
650
+ "admin-page-header",
651
+ "sticky-header",
652
+ "page-band"
653
+ ],
654
+ "name": "AdminPageHeader",
655
+ "related": [
656
+ "AdminPage",
657
+ "AdminPageBody",
658
+ "Header"
659
+ ],
660
+ "slots": {
661
+ "default": {
662
+ "description": "Default — typically <header-ui> or <header> with title + actions."
663
+ }
664
+ },
665
+ "states": [
666
+ {
667
+ "description": "Default, the only state.",
668
+ "name": "idle"
669
+ }
670
+ ],
671
+ "synonyms": {
672
+ "sticky-header": [
673
+ "page-titlebar",
674
+ "top-band"
675
+ ]
676
+ },
677
+ "tag": "admin-page-header",
678
+ "tokens": {},
679
+ "traits": [],
680
+ "version": 1
681
+ }
682
+ },
683
+ "AdminScroll": {
684
+ "title": "AdminScroll",
685
+ "description": "Module-tier shell scroll surface. CSS-only — no behavior, no JS.\nSits inside <admin-content> as the central scrollable region.\nSingle-axis scroll (vertical), scroll-contained so wheel/touch\nevents don't propagate to the document.\n\nReplaces the legacy <section> child of <main> at shell-tier per\nADR-0023.\n",
686
+ "type": "object",
687
+ "allOf": [
688
+ {
689
+ "$ref": "#/$defs/ComponentCommon"
690
+ },
691
+ {
692
+ "$ref": "#/$defs/CatalogComponentCommon"
693
+ }
694
+ ],
695
+ "properties": {
696
+ "component": {
697
+ "const": "AdminScroll"
698
+ }
699
+ },
700
+ "required": [
701
+ "component"
702
+ ],
703
+ "unevaluatedProperties": false,
704
+ "x-adiaui": {
705
+ "anti_patterns": [],
706
+ "category": "layout",
707
+ "events": {},
708
+ "examples": [],
709
+ "keywords": [
710
+ "admin-scroll",
711
+ "scroll-region",
712
+ "scroll-container"
713
+ ],
714
+ "name": "AdminScroll",
715
+ "related": [
716
+ "AdminShell",
717
+ "AdminContent",
718
+ "AdminPage"
719
+ ],
720
+ "slots": {
721
+ "default": {
722
+ "description": "Scrollable content — typically <admin-page> wrapping the page-tier sticky bands + body."
723
+ }
724
+ },
725
+ "states": [
726
+ {
727
+ "description": "Default, the only state.",
728
+ "name": "idle"
729
+ }
730
+ ],
731
+ "synonyms": {
732
+ "scroll-region": [
733
+ "scroll-area",
734
+ "viewport-content"
735
+ ]
736
+ },
737
+ "tag": "admin-scroll",
738
+ "tokens": {},
739
+ "traits": [],
740
+ "version": 1
741
+ }
742
+ },
743
+ "AdminSidebar": {
744
+ "title": "AdminSidebar",
745
+ "description": "Module-tier shell sidebar — owns resize, snap-to-collapsed, persistence,\nand the [collapsed] reflected attribute. Sits inside <admin-shell> as\nslot=\"leading\" or slot=\"trailing\". Authors compose chrome bars + content\ninside via slot vocabulary.\n\nThis is the bespoke web-component replacement for the legacy\n<aside data-sidebar> shape. <admin-shell> still recognizes the legacy\nshape via :is() selector for backwards compat. New code should prefer\n<admin-sidebar>.\n",
746
+ "type": "object",
747
+ "allOf": [
748
+ {
749
+ "$ref": "#/$defs/ComponentCommon"
750
+ },
751
+ {
752
+ "$ref": "#/$defs/CatalogComponentCommon"
753
+ }
754
+ ],
755
+ "properties": {
756
+ "collapsed": {
757
+ "description": "Reflected — set when the sidebar's measured width is at or below\n96px. Consumers query this to style \"collapsed mode\" without\nduplicating threshold math.\n",
758
+ "type": "boolean",
759
+ "default": false
760
+ },
761
+ "collapsible": {
762
+ "description": "Opts in to programmatic collapse — toggle button wiring + the\n.toggle() / .collapse() / .expand() public methods.\n",
763
+ "type": "boolean",
764
+ "default": false
765
+ },
766
+ "component": {
767
+ "const": "AdminSidebar"
768
+ },
769
+ "min-width": {
770
+ "description": "Optional override for the snap-floor width. Defaults to reading\nCSS min-width via getComputedStyle.\n",
771
+ "type": "string",
772
+ "default": ""
773
+ },
774
+ "name": {
775
+ "description": "Identifier for localStorage namespacing. Defaults to slot value\n(\"leading\" or \"trailing\"). Override when running multiple sidebars\nwith the same slot.\n",
776
+ "type": "string",
777
+ "default": ""
778
+ },
779
+ "resizable": {
780
+ "description": "Opts in to drag-to-resize behavior. Author supplies a child\n[data-resize] element as the drag handle.\n",
781
+ "type": "boolean",
782
+ "default": false
783
+ },
784
+ "resizing": {
785
+ "description": "Reflected — set during an active pointer-drag on the resize handle.\nUseful for suppressing transitions while dragging.\n",
786
+ "type": "boolean",
787
+ "default": false
788
+ }
789
+ },
790
+ "required": [
791
+ "component"
792
+ ],
793
+ "unevaluatedProperties": false,
794
+ "x-adiaui": {
795
+ "anti_patterns": [],
796
+ "category": "layout",
797
+ "events": {
798
+ "sidebar-resize": {
799
+ "description": "Bubbles when an active pointer-drag releases.",
800
+ "detail": {
801
+ "name": "string",
802
+ "width": "number"
803
+ }
804
+ },
805
+ "sidebar-toggle": {
806
+ "description": "Bubbles when sidebar collapses or expands.",
807
+ "detail": {
808
+ "expanded": "boolean",
809
+ "name": "string"
810
+ }
811
+ }
812
+ },
813
+ "examples": [],
814
+ "keywords": [
815
+ "admin-sidebar",
816
+ "sidebar",
817
+ "aside",
818
+ "rail",
819
+ "panel",
820
+ "leading",
821
+ "trailing",
822
+ "inspector",
823
+ "nav"
824
+ ],
825
+ "name": "AdminSidebar",
826
+ "related": [
827
+ "AdminShell",
828
+ "AdminCommand",
829
+ "Aside",
830
+ "Nav",
831
+ "NavGroup",
832
+ "NavItem"
833
+ ],
834
+ "slots": {
835
+ "default": {
836
+ "description": "Default content — typically a <nav-ui> for navigation, or a list / tree for the trailing inspector pattern."
837
+ },
838
+ "footer": {
839
+ "description": "Bottom chrome bar (user select, status indicator, etc.)."
840
+ },
841
+ "header": {
842
+ "description": "Top chrome bar (workspace select, breadcrumb, etc.)."
843
+ }
844
+ },
845
+ "states": [
846
+ {
847
+ "description": "Default, expanded.",
848
+ "name": "idle"
849
+ },
850
+ {
851
+ "description": "Sidebar width is at or below the snap threshold; CSS container queries flip child layout to icon-only mode.",
852
+ "attribute": "collapsed",
853
+ "name": "collapsed"
854
+ },
855
+ {
856
+ "description": "Active pointer-drag in progress.",
857
+ "attribute": "resizing",
858
+ "name": "resizing"
859
+ }
860
+ ],
861
+ "synonyms": {
862
+ "collapsed": [
863
+ "minimized",
864
+ "narrow",
865
+ "icon-only"
866
+ ],
867
+ "sidebar": [
868
+ "aside",
869
+ "rail",
870
+ "panel"
871
+ ]
872
+ },
873
+ "tag": "admin-sidebar",
874
+ "tokens": {},
875
+ "traits": [],
876
+ "version": 1
877
+ }
878
+ },
879
+ "AdminStatusbar": {
880
+ "title": "AdminStatusbar",
881
+ "description": "Module-tier shell bottom chrome bar. CSS-only — no behavior, no JS.\nSame shape as <admin-topbar> (icon + heading + description + action\nclusters via slot vocabulary), conventionally used for read-only\nstatus — connection state, sync indicator, footer metadata.\n\nReplaces legacy <footer-ui> usage at shell-tier. Both still work per\nADR-0023 backwards-compat.\n",
882
+ "type": "object",
883
+ "allOf": [
884
+ {
885
+ "$ref": "#/$defs/ComponentCommon"
886
+ },
887
+ {
888
+ "$ref": "#/$defs/CatalogComponentCommon"
889
+ }
890
+ ],
891
+ "properties": {
892
+ "component": {
893
+ "const": "AdminStatusbar"
894
+ }
895
+ },
896
+ "required": [
897
+ "component"
898
+ ],
899
+ "unevaluatedProperties": false,
900
+ "x-adiaui": {
901
+ "anti_patterns": [],
902
+ "category": "layout",
903
+ "events": {},
904
+ "examples": [],
905
+ "keywords": [
906
+ "admin-statusbar",
907
+ "statusbar",
908
+ "footer-bar",
909
+ "app-footer",
910
+ "status-line"
911
+ ],
912
+ "name": "AdminStatusbar",
913
+ "related": [
914
+ "AdminShell",
915
+ "AdminContent",
916
+ "AdminTopbar",
917
+ "Footer"
918
+ ],
919
+ "slots": {
920
+ "description": {
921
+ "description": "Secondary metadata."
922
+ },
923
+ "default": {
924
+ "description": "Default content — status text or inline children."
925
+ },
926
+ "action": {
927
+ "description": "Trailing control cluster."
928
+ },
929
+ "action-leading": {
930
+ "description": "Leading control cluster."
931
+ },
932
+ "heading": {
933
+ "description": "Primary label."
934
+ },
935
+ "icon": {
936
+ "description": "Leading glyph (icon-ui or img)."
937
+ }
938
+ },
939
+ "states": [
940
+ {
941
+ "description": "Default, the only state.",
942
+ "name": "idle"
943
+ }
944
+ ],
945
+ "synonyms": {
946
+ "statusbar": [
947
+ "status-line",
948
+ "footer-bar",
949
+ "app-footer"
950
+ ]
951
+ },
952
+ "tag": "admin-statusbar",
953
+ "tokens": {},
954
+ "traits": [],
955
+ "version": 1
956
+ }
957
+ },
958
+ "AdminTopbar": {
959
+ "title": "AdminTopbar",
960
+ "description": "Module-tier shell top chrome bar. CSS-only — no behavior, no JS.\nSits at the top of <admin-content>, <admin-sidebar>, or any chrome\nregion. Provides the canonical icon + heading + description +\naction-clusters layout via slot vocabulary.\n\nReplaces the legacy <header-ui> usage at shell-tier. Both still work\nper ADR-0023 backwards-compat; new code should prefer <admin-topbar>\nfor shell-tier chrome bars (use <header-ui> for primitive containers\nlike Card / Drawer / Modal).\n",
961
+ "type": "object",
962
+ "allOf": [
963
+ {
964
+ "$ref": "#/$defs/ComponentCommon"
965
+ },
966
+ {
967
+ "$ref": "#/$defs/CatalogComponentCommon"
968
+ }
969
+ ],
970
+ "properties": {
971
+ "component": {
972
+ "const": "AdminTopbar"
973
+ }
974
+ },
975
+ "required": [
976
+ "component"
977
+ ],
978
+ "unevaluatedProperties": false,
979
+ "x-adiaui": {
980
+ "anti_patterns": [],
981
+ "category": "layout",
982
+ "events": {},
983
+ "examples": [],
984
+ "keywords": [
985
+ "admin-topbar",
986
+ "topbar",
987
+ "chrome-bar",
988
+ "app-header",
989
+ "shell-header"
990
+ ],
991
+ "name": "AdminTopbar",
992
+ "related": [
993
+ "AdminShell",
994
+ "AdminContent",
995
+ "AdminSidebar",
996
+ "AdminStatusbar",
997
+ "Header"
998
+ ],
999
+ "slots": {
1000
+ "description": {
1001
+ "description": "Secondary metadata. Muted + smaller font."
1002
+ },
1003
+ "default": {
1004
+ "description": "Default content — typically a breadcrumb, page title, or ad-hoc inline children. Use named slots for canonical clusters."
1005
+ },
1006
+ "action": {
1007
+ "description": "Trailing control cluster (buttons, menus, etc.). The first [slot=\"action\"] child pushes itself + siblings to the end; subsequent siblings flow with gap."
1008
+ },
1009
+ "action-leading": {
1010
+ "description": "Leading control cluster (back button, menu trigger, etc.). Pairs with [slot=\"action\"] for dual-cluster chrome."
1011
+ },
1012
+ "heading": {
1013
+ "description": "Primary label. Medium-weight + strong fg."
1014
+ },
1015
+ "icon": {
1016
+ "description": "Leading glyph (icon-ui or img). Muted color, flex-aligned."
1017
+ }
1018
+ },
1019
+ "states": [
1020
+ {
1021
+ "description": "Default, the only state.",
1022
+ "name": "idle"
1023
+ }
1024
+ ],
1025
+ "synonyms": {
1026
+ "topbar": [
1027
+ "appbar",
1028
+ "app-header",
1029
+ "header-bar",
1030
+ "navbar"
1031
+ ]
1032
+ },
1033
+ "tag": "admin-topbar",
1034
+ "tokens": {},
1035
+ "traits": [],
1036
+ "version": 1
1037
+ }
1038
+ },
320
1039
  "AgentArtifact": {
321
1040
  "title": "AgentArtifact",
322
1041
  "description": "Inline container for structured agent artifacts (A2UI, JSON, tickets).",
@@ -1166,16 +1885,6 @@
1166
1885
  {
1167
1886
  "description": "Default, interactive shell.",
1168
1887
  "name": "idle"
1169
- },
1170
- {
1171
- "description": "Leading sidebar is collapsed; content expands.",
1172
- "attribute": "data-sidebar-leading-collapsed",
1173
- "name": "collapsed-leading"
1174
- },
1175
- {
1176
- "description": "Trailing sidebar (inspector) is collapsed.",
1177
- "attribute": "data-sidebar-trailing-collapsed",
1178
- "name": "collapsed-trailing"
1179
1888
  }
1180
1889
  ],
1181
1890
  "synonyms": {
@@ -25,6 +25,35 @@
25
25
  ## GenRoot
26
26
  - gen-root is an integration shell. Prefer admin-shell for admin UIs; use gen-root only for chat+canvas tooling.
27
27
 
28
+ ## AdminCommand
29
+ - admin-command wraps a native <dialog>; the inner <command-ui> is the actual palette. Keyboard shortcut defaults to both Cmd+K (mac) and Ctrl+K (other) — the AdiaUI convention.
30
+ - Place admin-command as a direct child of admin-shell, NOT inside a sidebar or main column. The host coordinates triggers ([data-command-trigger]) by reaching across siblings.
31
+
32
+ ## AdminContent
33
+ - admin-content is the bespoke replacement for raw <main> inside admin-shell. CSS-only; the shell's css/main.css selectors target both shapes via :is(main, admin-content).
34
+
35
+ ## AdminPageBody
36
+ - admin-page-body is the centered body band of <admin-page>. Wraps an inner <section-ui> for centered reading-column rhythm; can host full-bleed content directly to opt out.
37
+
38
+ ## AdminPageHeader
39
+ - admin-page-header is the sticky top band of <admin-page>. Wraps an inner <header-ui> for centered reading-column rhythm.
40
+
41
+ ## AdminPage
42
+ - admin-page is the bespoke replacement for <article data-content-root>. Provides the page-content named container query so descendants can use @container page-content (max-width: 720px) etc.
43
+
44
+ ## AdminScroll
45
+ - admin-scroll is the bespoke replacement for the legacy <section> child of <main> inside admin-shell. Single child convention — typically wraps an <admin-page> for sticky-band layout.
46
+
28
47
  ## AppShell
29
48
  - admin-shell is a behavior wrapper; its children are native HTML landmarks (aside, main, header). Don't wrap them in col-ui/row-ui — app-shell.css handles grid layout based on [data-sidebar] attributes.
30
49
 
50
+ ## AdminSidebar
51
+ - admin-sidebar is the bespoke replacement for legacy <aside data-sidebar>. Use slot="leading" or slot="trailing" to position. Add resizable + collapsible attributes to opt in to interactive behaviors.
52
+ - For chrome bars inside the sidebar, prefer <admin-topbar slot="header"> and <admin-statusbar slot="footer"> over raw <header-ui> / <footer-ui> when authoring shell-tier markup.
53
+
54
+ ## AdminStatusbar
55
+ - admin-statusbar replaces <footer-ui> at shell-tier. Same slot vocabulary as <admin-topbar>; visual treatment differs (the shell css applies a top-border instead of bottom).
56
+
57
+ ## AdminTopbar
58
+ - admin-topbar replaces <header-ui> at shell-tier — use it for chrome bars inside admin-shell, admin-content, admin-sidebar. Use <header-ui> for primitive containers (Card / Drawer / Modal).
59
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-corpus",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "description": "AdiaUI A2UI training corpus \u2014 patterns, fragments, compositions, exemplars, eval fixtures, feedback, gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
6
6
  "exports": {