@adia-ai/web-modules 0.8.39 → 0.8.41

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 (120) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +6 -6
  3. package/agent-admin/admin-roster/admin-roster.a2ui.json +1 -0
  4. package/agent-admin/admin-roster/admin-roster.css +10 -2
  5. package/agent-admin/admin-roster/admin-roster.js +70 -22
  6. package/agent-admin/admin-settings/admin-settings.a2ui.json +1 -0
  7. package/agent-admin/agent-admin/agent-admin.a2ui.json +1 -0
  8. package/billing/billing-overview/billing-overview.a2ui.json +10 -1
  9. package/billing/billing-overview/billing-overview.class.js +142 -73
  10. package/billing/billing-overview/billing-overview.css +70 -57
  11. package/billing/billing-overview/billing-overview.yaml +5 -0
  12. package/billing/invoice-detail/invoice-detail.a2ui.json +9 -4
  13. package/billing/invoice-detail/invoice-detail.class.js +22 -5
  14. package/billing/invoice-detail/invoice-detail.yaml +9 -4
  15. package/billing/invoice-history/invoice-history.a2ui.json +7 -4
  16. package/billing/invoice-history/invoice-history.class.js +45 -12
  17. package/billing/invoice-history/invoice-history.css +18 -15
  18. package/billing/invoice-history/invoice-history.yaml +10 -4
  19. package/billing/payment-method-form/payment-method-form.a2ui.json +1 -0
  20. package/billing/payment-method-form/payment-method-form.class.js +3 -3
  21. package/billing/payment-method-form/payment-method-form.css +4 -4
  22. package/billing/payment-method-list/payment-method-list.a2ui.json +4 -0
  23. package/billing/payment-method-list/payment-method-list.class.js +31 -11
  24. package/billing/payment-method-list/payment-method-list.css +13 -10
  25. package/billing/payment-method-list/payment-method-list.yaml +3 -0
  26. package/billing/plan-picker/plan-picker.a2ui.json +6 -0
  27. package/billing/plan-picker/plan-picker.class.js +70 -22
  28. package/billing/plan-picker/plan-picker.css +21 -38
  29. package/billing/plan-picker/plan-picker.yaml +5 -0
  30. package/chat/chat-composer/chat-composer.a2ui.json +1 -0
  31. package/chat/chat-empty/chat-empty.a2ui.json +4 -0
  32. package/chat/chat-empty/chat-empty.yaml +2 -0
  33. package/chat/chat-header/chat-header.a2ui.json +5 -0
  34. package/chat/chat-header/chat-header.yaml +3 -0
  35. package/chat/chat-shell/chat-shell.a2ui.json +4 -0
  36. package/chat/chat-shell/chat-shell.yaml +2 -0
  37. package/chat/chat-shell/css/chat-shell.tokens.css +1 -1
  38. package/chat/chat-sidebar/chat-sidebar.a2ui.json +4 -0
  39. package/chat/chat-sidebar/chat-sidebar.yaml +2 -0
  40. package/chat/chat-status/chat-status.a2ui.json +4 -0
  41. package/chat/chat-status/chat-status.yaml +2 -0
  42. package/chat/chat-thread/chat-thread.a2ui.json +4 -0
  43. package/chat/chat-thread/chat-thread.yaml +2 -0
  44. package/dashboard/dashboard-layout/dashboard-layout.a2ui.json +8 -8
  45. package/dashboard/dashboard-layout/dashboard-layout.css +4 -4
  46. package/dashboard/dashboard-layout/dashboard-layout.js +10 -9
  47. package/dashboard/dashboard-layout/dashboard-layout.yaml +19 -7
  48. package/dashboard/date-range-selector/date-range-selector.a2ui.json +4 -3
  49. package/dashboard/date-range-selector/date-range-selector.yaml +6 -4
  50. package/dist/chat/chat-shell.min.css +1 -1
  51. package/dist/chat/chat-shell.min.js +25 -25
  52. package/dist/editor/editor-shell.min.js +3 -3
  53. package/dist/everything.min.js +118 -131
  54. package/dist/shell/admin-shell.min.css +1 -1
  55. package/dist/shell/admin-shell.min.js +6 -6
  56. package/dist/simple/simple-shell.min.js +5 -5
  57. package/dist/web-modules.min.css +1 -1
  58. package/dist/web-modules.sheet.js +1 -1
  59. package/editor/editor-canvas/editor-canvas.a2ui.json +4 -0
  60. package/editor/editor-canvas/editor-canvas.yaml +2 -0
  61. package/editor/editor-canvas-empty/editor-canvas-empty.a2ui.json +4 -0
  62. package/editor/editor-canvas-empty/editor-canvas-empty.yaml +2 -0
  63. package/editor/editor-canvas-toolbar/editor-canvas-toolbar.a2ui.json +4 -0
  64. package/editor/editor-canvas-toolbar/editor-canvas-toolbar.yaml +2 -0
  65. package/editor/editor-shell/editor-shell.a2ui.json +5 -0
  66. package/editor/editor-shell/editor-shell.yaml +3 -0
  67. package/editor/editor-sidebar/editor-sidebar.a2ui.json +4 -0
  68. package/editor/editor-sidebar/editor-sidebar.yaml +2 -0
  69. package/editor/editor-statusbar/editor-statusbar.a2ui.json +4 -0
  70. package/editor/editor-statusbar/editor-statusbar.yaml +2 -0
  71. package/editor/editor-toolbar/editor-toolbar.a2ui.json +4 -0
  72. package/editor/editor-toolbar/editor-toolbar.yaml +2 -0
  73. package/feedback/confirm-dialog/confirm-dialog.a2ui.json +1 -0
  74. package/form/form-popover/form-popover.a2ui.json +1 -0
  75. package/onboarding/onboarding-checklist/onboarding-checklist.a2ui.json +2 -1
  76. package/onboarding/onboarding-checklist/onboarding-checklist.js +2 -2
  77. package/onboarding/onboarding-checklist/onboarding-checklist.yaml +1 -1
  78. package/package.json +6 -6
  79. package/runtime/a2ui-root/a2ui-root.a2ui.json +6 -5
  80. package/runtime/a2ui-root/a2ui-root.css +75 -0
  81. package/runtime/a2ui-root/a2ui-root.js +118 -10
  82. package/runtime/a2ui-root/a2ui-root.yaml +7 -2
  83. package/runtime/gen-root/gen-root.a2ui.json +6 -5
  84. package/runtime/gen-root/gen-root.yaml +10 -2
  85. package/settings/integrations-page/integrations-page.a2ui.json +3 -2
  86. package/settings/integrations-page/integrations-page.js +8 -8
  87. package/settings/integrations-page/integrations-page.yaml +2 -2
  88. package/settings/notification-preferences/notification-preferences.a2ui.json +1 -0
  89. package/shell/admin-command/admin-command.a2ui.json +5 -1
  90. package/shell/admin-command/admin-command.yaml +3 -1
  91. package/shell/admin-content/admin-content.a2ui.json +4 -0
  92. package/shell/admin-content/admin-content.yaml +2 -0
  93. package/shell/admin-entity-item/admin-entity-item.a2ui.json +1 -0
  94. package/shell/admin-page/admin-page.a2ui.json +5 -0
  95. package/shell/admin-page/admin-page.yaml +3 -0
  96. package/shell/admin-page-body/admin-page-body.a2ui.json +4 -0
  97. package/shell/admin-page-body/admin-page-body.yaml +2 -0
  98. package/shell/admin-page-footer/admin-page-footer.a2ui.json +4 -0
  99. package/shell/admin-page-footer/admin-page-footer.yaml +2 -0
  100. package/shell/admin-page-header/admin-page-header.a2ui.json +4 -0
  101. package/shell/admin-page-header/admin-page-header.yaml +2 -0
  102. package/shell/admin-scroll/admin-scroll.a2ui.json +4 -0
  103. package/shell/admin-scroll/admin-scroll.yaml +2 -0
  104. package/shell/admin-shell/admin-shell.a2ui.json +7 -3
  105. package/shell/admin-shell/admin-shell.yaml +3 -1
  106. package/shell/admin-shell/css/admin-shell.sidebar.css +2 -2
  107. package/shell/admin-sidebar/admin-sidebar.a2ui.json +4 -0
  108. package/shell/admin-sidebar/admin-sidebar.yaml +2 -0
  109. package/shell/admin-statusbar/admin-statusbar.a2ui.json +6 -0
  110. package/shell/admin-statusbar/admin-statusbar.yaml +4 -0
  111. package/shell/admin-topbar/admin-topbar.a2ui.json +6 -0
  112. package/shell/admin-topbar/admin-topbar.yaml +4 -0
  113. package/shell/embed-shell/embed-shell.a2ui.json +1 -0
  114. package/simple/simple-content/simple-content.a2ui.json +4 -0
  115. package/simple/simple-content/simple-content.yaml +2 -0
  116. package/simple/simple-hero/simple-hero.a2ui.json +4 -0
  117. package/simple/simple-hero/simple-hero.yaml +2 -0
  118. package/simple/simple-shell/simple-shell.a2ui.json +4 -0
  119. package/simple/simple-shell/simple-shell.yaml +2 -0
  120. package/theme/theme-panel/theme-panel.a2ui.json +1 -0
@@ -32,6 +32,8 @@ states:
32
32
  traits: []
33
33
 
34
34
  a2ui:
35
+ allowedParents:
36
+ - AdminPage
35
37
  rules:
36
38
  - >-
37
39
  admin-page-header is the sticky top band of <admin-page>.
@@ -22,6 +22,9 @@
22
22
  ],
23
23
  "unevaluatedProperties": false,
24
24
  "x-adiaui": {
25
+ "allowedParents": [
26
+ "AdminContent"
27
+ ],
25
28
  "anti_patterns": [],
26
29
  "category": "layout",
27
30
  "composes": [],
@@ -33,6 +36,7 @@
33
36
  "scroll-container"
34
37
  ],
35
38
  "name": "AdminScroll",
39
+ "parts": {},
36
40
  "related": [
37
41
  "AdminShell",
38
42
  "AdminContent",
@@ -32,6 +32,8 @@ states:
32
32
  traits: []
33
33
 
34
34
  a2ui:
35
+ allowedParents:
36
+ - AdminContent
35
37
  rules:
36
38
  - >-
37
39
  admin-scroll is the bespoke replacement for the legacy <section>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://adiaui.dev/a2ui/v0_9/components/AppShell.json",
4
- "title": "AppShell",
3
+ "$id": "https://adiaui.dev/a2ui/v0_9/components/AdminShell.json",
4
+ "title": "AdminShell",
5
5
  "description": "Behavior-only application shell. Canonical authoring shape uses\ncluster-namespaced bespoke children — <admin-topbar> at the top,\n<admin-sidebar slot=\"leading|trailing\"> rails, <admin-content> for\nthe main content region, <admin-command> for the Cmd+K palette, and\noptional <admin-statusbar> at the bottom. The shell wires sidebar\ntoggle forwarding, command-palette triggers, and the ResizeObserver\nthat drives responsive sidebar collapse; each bespoke child owns\nits own resize / collapse / open state-as-attribute semantics per\nADR-0023.\n\nLegacy data-attribute shapes (<aside data-sidebar>, <dialog\ndata-command>, [data-resize], <aside-ui slot=>, <span data-spacer>,\n<div data-actions>) were RETIRED in v0.4.0 per ADR-0024 and are no\nlonger recognized. Consumers must use the bespoke vocabulary.\n",
6
6
  "type": "object",
7
7
  "allOf": [
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "properties": {
16
16
  "component": {
17
- "const": "AppShell"
17
+ "const": "AdminShell"
18
18
  },
19
19
  "mode": {
20
20
  "description": "Layout variant — space-separated token set. Recognized tokens:\n rounded — softens content-surface edges (border-radius from --page-content-radius)\n borderless — removes outer chrome borders (content dividers persist)\nThe CSS uses `mode~=\"<token>\"` attribute selectors, so multiple\ntokens combine additively (\"rounded borderless\" = both).\n\nDefault since v0.6.13: \"rounded borderless\". A bare `<admin-shell>`\nwith no `mode` attribute auto-promotes to this pair on connect.\nAuthor-supplied `mode` attributes (including the empty string\n`mode=\"\"` for flat bordered chrome) are respected verbatim.\n",
@@ -27,6 +27,9 @@
27
27
  ],
28
28
  "unevaluatedProperties": false,
29
29
  "x-adiaui": {
30
+ "allowedParents": [
31
+ "Surface"
32
+ ],
30
33
  "anti_patterns": [],
31
34
  "category": "layout",
32
35
  "composes": [],
@@ -63,6 +66,7 @@
63
66
  "nav"
64
67
  ],
65
68
  "name": "AdminShell",
69
+ "parts": {},
66
70
  "related": [
67
71
  "Nav",
68
72
  "NavGroup",
@@ -2,7 +2,7 @@ $schema: ../../../../scripts/schemas/component.yaml.schema.json
2
2
  name: AdminShell
3
3
  tag: admin-shell
4
4
  status: stable
5
- component: AppShell
5
+ component: AdminShell
6
6
  category: layout
7
7
  version: 1
8
8
  description: |
@@ -98,6 +98,8 @@ states:
98
98
  traits: []
99
99
 
100
100
  a2ui:
101
+ allowedParents:
102
+ - Surface
101
103
  rules:
102
104
  - >-
103
105
  admin-shell takes bespoke admin-* children only. The canonical
@@ -48,12 +48,12 @@ admin-sidebar[slot="trailing"] > [data-resize] { left: -3px; }
48
48
  background: var(--page-sidebar-resize-accent);
49
49
  }
50
50
 
51
- :is(admin-sidebar[slot="leading"], admin-sidebar[slot="trailing"])[data-resizing] > [data-resize] {
51
+ :is(admin-sidebar[slot="leading"], admin-sidebar[slot="trailing"])[resizing] > [data-resize] {
52
52
  background: var(--page-sidebar-resize-accent);
53
53
  }
54
54
 
55
55
  /* During drag: disable transition + text selection */
56
- :is(admin-sidebar[slot="leading"], admin-sidebar[slot="trailing"])[data-resizing] {
56
+ :is(admin-sidebar[slot="leading"], admin-sidebar[slot="trailing"])[resizing] {
57
57
  user-select: none;
58
58
  transition: none;
59
59
  }
@@ -52,6 +52,9 @@
52
52
  ],
53
53
  "unevaluatedProperties": false,
54
54
  "x-adiaui": {
55
+ "allowedParents": [
56
+ "AdminShell"
57
+ ],
55
58
  "anti_patterns": [],
56
59
  "category": "layout",
57
60
  "composes": [],
@@ -84,6 +87,7 @@
84
87
  "nav"
85
88
  ],
86
89
  "name": "AdminSidebar",
90
+ "parts": {},
87
91
  "related": [
88
92
  "AdminShell",
89
93
  "AdminCommand",
@@ -105,6 +105,8 @@ states:
105
105
  traits: []
106
106
 
107
107
  a2ui:
108
+ allowedParents:
109
+ - AdminShell
108
110
  rules:
109
111
  - >-
110
112
  admin-sidebar is the bespoke replacement for legacy
@@ -22,6 +22,11 @@
22
22
  ],
23
23
  "unevaluatedProperties": false,
24
24
  "x-adiaui": {
25
+ "allowedParents": [
26
+ "AdminShell",
27
+ "AdminContent",
28
+ "AdminSidebar"
29
+ ],
25
30
  "anti_patterns": [],
26
31
  "category": "layout",
27
32
  "composes": [],
@@ -35,6 +40,7 @@
35
40
  "status-line"
36
41
  ],
37
42
  "name": "AdminStatusbar",
43
+ "parts": {},
38
44
  "related": [
39
45
  "AdminShell",
40
46
  "AdminContent",
@@ -49,6 +49,10 @@ states:
49
49
  traits: []
50
50
 
51
51
  a2ui:
52
+ allowedParents:
53
+ - AdminShell
54
+ - AdminContent
55
+ - AdminSidebar
52
56
  rules:
53
57
  - >-
54
58
  admin-statusbar replaces <footer-ui> at shell-tier. Same slot
@@ -22,6 +22,11 @@
22
22
  ],
23
23
  "unevaluatedProperties": false,
24
24
  "x-adiaui": {
25
+ "allowedParents": [
26
+ "AdminShell",
27
+ "AdminContent",
28
+ "AdminSidebar"
29
+ ],
25
30
  "anti_patterns": [],
26
31
  "category": "layout",
27
32
  "composes": [],
@@ -35,6 +40,7 @@
35
40
  "shell-header"
36
41
  ],
37
42
  "name": "AdminTopbar",
43
+ "parts": {},
38
44
  "related": [
39
45
  "AdminShell",
40
46
  "AdminContent",
@@ -53,6 +53,10 @@ states:
53
53
  traits: []
54
54
 
55
55
  a2ui:
56
+ allowedParents:
57
+ - AdminShell
58
+ - AdminContent
59
+ - AdminSidebar
56
60
  rules:
57
61
  - >-
58
62
  admin-topbar replaces <header-ui> at shell-tier — use it for
@@ -54,6 +54,7 @@
54
54
  "app-shell"
55
55
  ],
56
56
  "name": "EmbedShell",
57
+ "parts": {},
57
58
  "related": [
58
59
  "AdminShell",
59
60
  "Frame",
@@ -22,6 +22,9 @@
22
22
  ],
23
23
  "unevaluatedProperties": false,
24
24
  "x-adiaui": {
25
+ "allowedParents": [
26
+ "SimpleShell"
27
+ ],
25
28
  "anti_patterns": [],
26
29
  "category": "shells",
27
30
  "composes": [],
@@ -37,6 +40,7 @@
37
40
  "marketing-body"
38
41
  ],
39
42
  "name": "SimpleContent",
43
+ "parts": {},
40
44
  "related": [
41
45
  "SimpleShell",
42
46
  "SimpleHero"
@@ -33,6 +33,8 @@ states:
33
33
  traits: []
34
34
 
35
35
  a2ui:
36
+ allowedParents:
37
+ - SimpleShell
36
38
  rules:
37
39
  - >-
38
40
  simple-content is the article surface inside simple-shell. Use
@@ -22,6 +22,9 @@
22
22
  ],
23
23
  "unevaluatedProperties": false,
24
24
  "x-adiaui": {
25
+ "allowedParents": [
26
+ "SimpleShell"
27
+ ],
25
28
  "anti_patterns": [],
26
29
  "category": "shells",
27
30
  "composes": [],
@@ -37,6 +40,7 @@
37
40
  "page-title"
38
41
  ],
39
42
  "name": "SimpleHero",
43
+ "parts": {},
40
44
  "related": [
41
45
  "SimpleShell",
42
46
  "SimpleContent"
@@ -35,6 +35,8 @@ states:
35
35
  traits: []
36
36
 
37
37
  a2ui:
38
+ allowedParents:
39
+ - SimpleShell
38
40
  rules:
39
41
  - >-
40
42
  simple-hero is the optional top strip inside simple-shell. Use
@@ -32,6 +32,9 @@
32
32
  ],
33
33
  "unevaluatedProperties": false,
34
34
  "x-adiaui": {
35
+ "allowedParents": [
36
+ "Surface"
37
+ ],
35
38
  "anti_patterns": [],
36
39
  "category": "shells",
37
40
  "composes": [],
@@ -47,6 +50,7 @@
47
50
  "minimal-shell"
48
51
  ],
49
52
  "name": "SimpleShell",
53
+ "parts": {},
50
54
  "related": [
51
55
  "SimpleHero",
52
56
  "SimpleContent",
@@ -50,6 +50,8 @@ states:
50
50
  traits: []
51
51
 
52
52
  a2ui:
53
+ allowedParents:
54
+ - Surface
53
55
  rules:
54
56
  - >-
55
57
  simple-shell is the bespoke shell for thin / minimal page surfaces.
@@ -141,6 +141,7 @@
141
141
  "skin"
142
142
  ],
143
143
  "name": "ThemePanel",
144
+ "parts": {},
144
145
  "related": [
145
146
  "Popover",
146
147
  "Button",