@agent-ui-kit/web-components 0.0.2 → 0.0.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.
Files changed (194) hide show
  1. package/README.md +429 -0
  2. package/dist/agent-ui.css +1 -1
  3. package/dist/api.json +9519 -0
  4. package/dist/docs/blocks/agent-chat.yaml +111 -0
  5. package/dist/docs/blocks/announcement-card.yaml +30 -0
  6. package/dist/docs/blocks/bpm-process.yaml +7 -0
  7. package/dist/docs/blocks/chart-activity.yaml +73 -0
  8. package/dist/docs/blocks/chart-card.yaml +55 -0
  9. package/dist/docs/blocks/chart-donut.yaml +83 -0
  10. package/dist/docs/blocks/chart-grouped.yaml +75 -0
  11. package/dist/docs/blocks/chart-horizontal.yaml +59 -0
  12. package/dist/docs/blocks/chart-interactive.yaml +58 -0
  13. package/dist/docs/blocks/chart-labeled.yaml +66 -0
  14. package/dist/docs/blocks/checkout-form.yaml +57 -0
  15. package/dist/docs/blocks/clinical-trial.yaml +7 -0
  16. package/dist/docs/blocks/contributors.yaml +51 -0
  17. package/dist/docs/blocks/cyber-threat.yaml +7 -0
  18. package/dist/docs/blocks/dashboard-layout.yaml +121 -0
  19. package/dist/docs/blocks/data-eng-dag.yaml +9 -0
  20. package/dist/docs/blocks/date-picker.yaml +30 -0
  21. package/dist/docs/blocks/ddx-workflow.yaml +9 -0
  22. package/dist/docs/blocks/empty-state.yaml +26 -0
  23. package/dist/docs/blocks/env-variables.yaml +46 -0
  24. package/dist/docs/blocks/feature-upgrade.yaml +52 -0
  25. package/dist/docs/blocks/financial-risk.yaml +7 -0
  26. package/dist/docs/blocks/flow-editor.yaml +113 -0
  27. package/dist/docs/blocks/gen-ai-pipeline.yaml +8 -0
  28. package/dist/docs/blocks/index.yaml +245 -0
  29. package/dist/docs/blocks/issue-assign.yaml +34 -0
  30. package/dist/docs/blocks/keyboard-shortcuts.yaml +49 -0
  31. package/dist/docs/blocks/login-branded.yaml +81 -0
  32. package/dist/docs/blocks/login-email-only.yaml +39 -0
  33. package/dist/docs/blocks/login-form.yaml +42 -0
  34. package/dist/docs/blocks/login-simple.yaml +54 -0
  35. package/dist/docs/blocks/login-social.yaml +73 -0
  36. package/dist/docs/blocks/login-two-column.yaml +78 -0
  37. package/dist/docs/blocks/marketing-automation.yaml +7 -0
  38. package/dist/docs/blocks/member-list.yaml +58 -0
  39. package/dist/docs/blocks/ml-pipeline.yaml +7 -0
  40. package/dist/docs/blocks/nav-card.yaml +27 -0
  41. package/dist/docs/blocks/notification-list.yaml +58 -0
  42. package/dist/docs/blocks/oncology-pathway.yaml +7 -0
  43. package/dist/docs/blocks/pricing-card.yaml +53 -0
  44. package/dist/docs/blocks/processing-state.yaml +25 -0
  45. package/dist/docs/blocks/profile-card.yaml +48 -0
  46. package/dist/docs/blocks/saas-onboarding.yaml +7 -0
  47. package/dist/docs/blocks/settings-form.yaml +42 -0
  48. package/dist/docs/blocks/settings-panel.yaml +54 -0
  49. package/dist/docs/blocks/sidebar-nav.yaml +55 -0
  50. package/dist/docs/blocks/signup-form.yaml +47 -0
  51. package/dist/docs/blocks/stat-cards.yaml +49 -0
  52. package/dist/docs/blocks/status-card.yaml +40 -0
  53. package/dist/docs/blocks/suggested-labs.yaml +79 -0
  54. package/dist/docs/blocks/supply-chain.yaml +7 -0
  55. package/dist/docs/blocks/survey-card.yaml +52 -0
  56. package/dist/docs/blocks/tabbed-panel.yaml +53 -0
  57. package/dist/docs/blocks/team-empty.yaml +27 -0
  58. package/dist/docs/blocks/usage-billing.yaml +99 -0
  59. package/dist/docs/components/accordion-item.yaml +52 -0
  60. package/dist/docs/components/accordion.yaml +69 -0
  61. package/dist/docs/components/agent-activity.yaml +79 -0
  62. package/dist/docs/components/agent-feed.yaml +83 -0
  63. package/dist/docs/components/agent-message.yaml +120 -0
  64. package/dist/docs/components/agent-panel.yaml +91 -0
  65. package/dist/docs/components/agent-prompt.yaml +78 -0
  66. package/dist/docs/components/agent-seeds.yaml +44 -0
  67. package/dist/docs/components/agent-text.yaml +57 -0
  68. package/dist/docs/components/agent-thread.yaml +82 -0
  69. package/dist/docs/components/app-shell.yaml +64 -0
  70. package/dist/docs/components/breadcrumb-item.yaml +49 -0
  71. package/dist/docs/components/breadcrumb.yaml +59 -0
  72. package/dist/docs/components/button.yaml +439 -0
  73. package/dist/docs/components/calendar.yaml +74 -0
  74. package/dist/docs/components/canvas.yaml +161 -0
  75. package/dist/docs/components/checkbox.yaml +141 -0
  76. package/dist/docs/components/command-empty.yaml +13 -0
  77. package/dist/docs/components/command-group.yaml +23 -0
  78. package/dist/docs/components/command-input.yaml +19 -0
  79. package/dist/docs/components/command-item.yaml +37 -0
  80. package/dist/docs/components/command-list.yaml +17 -0
  81. package/dist/docs/components/command.yaml +64 -0
  82. package/dist/docs/components/container.yaml +298 -0
  83. package/dist/docs/components/dialog.yaml +133 -0
  84. package/dist/docs/components/drawer.yaml +124 -0
  85. package/dist/docs/components/editor-layer.yaml +59 -0
  86. package/dist/docs/components/editor.yaml +168 -0
  87. package/dist/docs/components/feed.yaml +72 -0
  88. package/dist/docs/components/field.yaml +145 -0
  89. package/dist/docs/components/graph-layer.yaml +41 -0
  90. package/dist/docs/components/graph-node.yaml +58 -0
  91. package/dist/docs/components/graph-noodle.yaml +103 -0
  92. package/dist/docs/components/graph-port.yaml +71 -0
  93. package/dist/docs/components/graph-ui.yaml +64 -0
  94. package/dist/docs/components/gripper.yaml +55 -0
  95. package/dist/docs/components/icon.yaml +133 -0
  96. package/dist/docs/components/index.yaml +320 -0
  97. package/dist/docs/components/input-otp.yaml +59 -0
  98. package/dist/docs/components/input.yaml +289 -0
  99. package/dist/docs/components/noodles.yaml +184 -0
  100. package/dist/docs/components/optgroup.yaml +38 -0
  101. package/dist/docs/components/option.yaml +56 -0
  102. package/dist/docs/components/page-context.yaml +55 -0
  103. package/dist/docs/components/page-main.yaml +39 -0
  104. package/dist/docs/components/page.yaml +36 -0
  105. package/dist/docs/components/pagination.yaml +46 -0
  106. package/dist/docs/components/pane.yaml +102 -0
  107. package/dist/docs/components/panes.yaml +82 -0
  108. package/dist/docs/components/preview-app.yaml +170 -0
  109. package/dist/docs/components/radio-group.yaml +108 -0
  110. package/dist/docs/components/radio.yaml +132 -0
  111. package/dist/docs/components/range.yaml +97 -0
  112. package/dist/docs/components/root.yaml +18 -0
  113. package/dist/docs/components/segment.yaml +41 -0
  114. package/dist/docs/components/segmented-control.yaml +52 -0
  115. package/dist/docs/components/select.yaml +241 -0
  116. package/dist/docs/components/sidebar-content.yaml +32 -0
  117. package/dist/docs/components/sidebar-footer.yaml +28 -0
  118. package/dist/docs/components/sidebar-header.yaml +28 -0
  119. package/dist/docs/components/sidebar.yaml +133 -0
  120. package/dist/docs/components/switch.yaml +131 -0
  121. package/dist/docs/components/tab-panel.yaml +41 -0
  122. package/dist/docs/components/tab.yaml +51 -0
  123. package/dist/docs/components/table-body.yaml +11 -0
  124. package/dist/docs/components/table-cell.yaml +11 -0
  125. package/dist/docs/components/table-column.yaml +76 -0
  126. package/dist/docs/components/table-head.yaml +11 -0
  127. package/dist/docs/components/table-header.yaml +11 -0
  128. package/dist/docs/components/table-row.yaml +11 -0
  129. package/dist/docs/components/table.yaml +219 -0
  130. package/dist/docs/components/tabs.yaml +61 -0
  131. package/dist/docs/components/textarea.yaml +196 -0
  132. package/dist/docs/components/toast.yaml +62 -0
  133. package/dist/docs/components/tooltip.yaml +98 -0
  134. package/dist/docs/components/tree-item.yaml +46 -0
  135. package/dist/docs/components/tree.yaml +27 -0
  136. package/dist/docs/traits/auto-dismiss.yaml +23 -0
  137. package/dist/docs/traits/backtick-wrap.yaml +22 -0
  138. package/dist/docs/traits/clipboard.yaml +31 -0
  139. package/dist/docs/traits/collapsible.yaml +23 -0
  140. package/dist/docs/traits/confetti.yaml +37 -0
  141. package/dist/docs/traits/copy.yaml +27 -0
  142. package/dist/docs/traits/css-inspect.yaml +46 -0
  143. package/dist/docs/traits/dismiss.yaml +23 -0
  144. package/dist/docs/traits/drag.yaml +88 -0
  145. package/dist/docs/traits/drop-zone.yaml +37 -0
  146. package/dist/docs/traits/edit.yaml +39 -0
  147. package/dist/docs/traits/flip.yaml +40 -0
  148. package/dist/docs/traits/gateway.yaml +33 -0
  149. package/dist/docs/traits/hover.yaml +39 -0
  150. package/dist/docs/traits/intersect.yaml +42 -0
  151. package/dist/docs/traits/link-paste.yaml +28 -0
  152. package/dist/docs/traits/linked-scroll.yaml +37 -0
  153. package/dist/docs/traits/list-navigate.yaml +46 -0
  154. package/dist/docs/traits/magnet.yaml +33 -0
  155. package/dist/docs/traits/mention.yaml +40 -0
  156. package/dist/docs/traits/modal.yaml +28 -0
  157. package/dist/docs/traits/noodle.yaml +45 -0
  158. package/dist/docs/traits/overlay.yaml +58 -0
  159. package/dist/docs/traits/pan-zoom.yaml +47 -0
  160. package/dist/docs/traits/parallax.yaml +36 -0
  161. package/dist/docs/traits/persist.yaml +42 -0
  162. package/dist/docs/traits/popover.yaml +28 -0
  163. package/dist/docs/traits/present.yaml +42 -0
  164. package/dist/docs/traits/press-hold.yaml +34 -0
  165. package/dist/docs/traits/range-select.yaml +42 -0
  166. package/dist/docs/traits/resize.yaml +39 -0
  167. package/dist/docs/traits/ripple.yaml +20 -0
  168. package/dist/docs/traits/roving-focus.yaml +30 -0
  169. package/dist/docs/traits/search.yaml +44 -0
  170. package/dist/docs/traits/selection.yaml +41 -0
  171. package/dist/docs/traits/shortcut.yaml +25 -0
  172. package/dist/docs/traits/slash-command.yaml +40 -0
  173. package/dist/docs/traits/snap-resize.yaml +39 -0
  174. package/dist/docs/traits/sort.yaml +47 -0
  175. package/dist/docs/traits/store.yaml +32 -0
  176. package/dist/docs/traits/swipe.yaml +38 -0
  177. package/dist/docs/traits/text-trigger.yaml +35 -0
  178. package/dist/docs/traits/toast.yaml +41 -0
  179. package/dist/docs/traits/toggle-scheme.yaml +40 -0
  180. package/dist/docs/traits/toggle-state.yaml +23 -0
  181. package/dist/docs/traits/tooltip.yaml +39 -0
  182. package/dist/docs/traits/toss.yaml +40 -0
  183. package/dist/docs/traits/trap-focus.yaml +20 -0
  184. package/dist/docs/traits/validate.yaml +52 -0
  185. package/dist/docs/traits/virtual-scroll.yaml +44 -0
  186. package/dist/favicon/apple-touch-icon.png +0 -0
  187. package/dist/favicon/favicon-96x96.png +0 -0
  188. package/dist/favicon/favicon.ico +0 -0
  189. package/dist/favicon/favicon.svg +1 -0
  190. package/dist/favicon/site.webmanifest +21 -0
  191. package/dist/favicon/web-app-manifest-192x192.png +0 -0
  192. package/dist/favicon/web-app-manifest-512x512.png +0 -0
  193. package/dist/icon.svg +4 -0
  194. package/package.json +4 -2
@@ -0,0 +1,241 @@
1
+ name: aui-select
2
+ tag: aui-select
3
+ type: component
4
+ summary: Universal collection surface — dropdown, toolbar, listbox, and combobox in one element.
5
+ description: >
6
+ A single component with four presentation modes controlled by the mode
7
+ attribute. Default is a dropdown select. mode="bar" renders as a toolbar
8
+ with overflow management. mode="list" is a standalone scrollable listbox.
9
+ mode="combobox" adds a searchable input. Supports nested aui-select for
10
+ submenus, aui-optgroup for labeled sections, and aui-option as leaf items.
11
+ In dropdown mode, the trigger sizes to the widest option content,
12
+ matching the native <select> intrinsic sizing behavior. Automatically
13
+ stretches to full width when placed inside aui-field. Use width="full"
14
+ to override the default width in other contexts.
15
+
16
+ base: AgentElement
17
+
18
+ attributes:
19
+ mode:
20
+ syntax: key-value
21
+ type: string
22
+ default: ""
23
+ description: >
24
+ Presentation mode. Empty (default) = dropdown select.
25
+ "bar" = inline toolbar with overflow.
26
+ "list" = standalone scrollable listbox.
27
+ "combobox" = searchable dropdown with type-ahead filtering.
28
+
29
+ disabled:
30
+ syntax: boolean
31
+ type: boolean
32
+ default: false
33
+ description: Prevents interaction.
34
+
35
+ required:
36
+ syntax: boolean
37
+ type: boolean
38
+ default: false
39
+ description: Marks the field as required (dropdown/combobox modes).
40
+
41
+ placeholder:
42
+ syntax: key-value
43
+ type: string
44
+ default: "Select…"
45
+ description: Placeholder text (dropdown/combobox trigger).
46
+
47
+ value:
48
+ syntax: key-value
49
+ type: string
50
+ default: ""
51
+ description: Currently selected value(s). Comma-separated for multiple.
52
+
53
+ name:
54
+ syntax: key-value
55
+ type: string
56
+ default: ""
57
+ description: Form field name.
58
+
59
+ open:
60
+ syntax: boolean
61
+ type: boolean
62
+ default: false
63
+ description: Whether the dropdown/combobox popover is open.
64
+
65
+ multiple:
66
+ syntax: boolean
67
+ type: boolean
68
+ default: false
69
+ description: Allow multiple selection (list mode).
70
+
71
+ orientation:
72
+ syntax: key-value
73
+ type: string
74
+ default: ""
75
+ description: Set to "vertical" for vertical bar/list layout.
76
+
77
+ transparent:
78
+ syntax: boolean
79
+ type: boolean
80
+ default: false
81
+ description: Remove background and border (bar mode).
82
+
83
+ fill:
84
+ syntax: boolean
85
+ type: boolean
86
+ default: false
87
+ description: Children fill available space equally (bar mode).
88
+
89
+ bar-overflow:
90
+ description: >
91
+ In bar mode, items overflow into a "..." popover menu when the container
92
+ is too narrow. Control which items overflow first using data-priority
93
+ on children. Groups (aui-optgroup) overflow as a unit — all items in a
94
+ group move to the overflow menu together. In the bar, group labels are
95
+ hidden and auto-stamped dividers separate adjacent groups. In the
96
+ overflow menu, groups render with a horizontal divider + uppercase
97
+ group header label above their items.
98
+ data-priority:
99
+ values: ["0", "1", "2", "pin"]
100
+ aliases: { low: "0", normal: "1", high: "2" }
101
+ default: "1"
102
+ description: >
103
+ Overflow priority for bar mode children.
104
+ 0 (low) — collapses first.
105
+ 1 (normal) — default, collapses at standard threshold.
106
+ 2 (high) — collapses last.
107
+ pin — never collapses (always visible).
108
+ Items at the same priority collapse in reverse DOM order (end first).
109
+
110
+ padding:
111
+ syntax: key-value
112
+ type: string
113
+ default: ""
114
+ description: Padding variant — none, tight, regular, relaxed (bar mode).
115
+
116
+ a11y:
117
+ role: Depends on mode — combobox (dropdown), toolbar (bar), listbox (list).
118
+ keyboard:
119
+ ArrowDown: Navigate options or open dropdown.
120
+ ArrowUp: Navigate options or open dropdown.
121
+ ArrowRight: Next item (bar mode).
122
+ ArrowLeft: Previous item (bar mode).
123
+ Enter: Select option or activate action.
124
+ Space: Select option or activate action.
125
+ Escape: Close dropdown or cancel.
126
+ Home: First item.
127
+ End: Last item.
128
+
129
+ events:
130
+ change:
131
+ description: >
132
+ Fired when selection changes (dropdown/list/combobox modes).
133
+ detail contains value, option, and label.
134
+ overflow:
135
+ description: >
136
+ Fired when overflow state changes (bar mode).
137
+ detail contains visibleCount and overflowedCount.
138
+
139
+ form:
140
+ associated: true
141
+ value: Selected option value(s).
142
+
143
+ composition:
144
+ parents: [aui-field, form, aui-stack, any]
145
+ children: [aui-option, aui-optgroup, aui-select (submenu), aui-button (bar mode)]
146
+
147
+ examples:
148
+ - html: |
149
+ <aui-select placeholder="Choose a fruit">
150
+ <aui-option value="apple">Apple</aui-option>
151
+ <aui-option value="banana">Banana</aui-option>
152
+ <aui-option value="cherry">Cherry</aui-option>
153
+ </aui-select>
154
+ description: Dropdown select — click to open, arrow keys to navigate, Enter to select.
155
+
156
+ - html: |
157
+ <aui-select placeholder="Category">
158
+ <aui-optgroup label="Fruits">
159
+ <aui-option value="apple">Apple</aui-option>
160
+ <aui-option value="banana">Banana</aui-option>
161
+ </aui-optgroup>
162
+ <aui-optgroup label="Vegetables" divider>
163
+ <aui-option value="carrot">Carrot</aui-option>
164
+ <aui-option value="spinach">Spinach</aui-option>
165
+ </aui-optgroup>
166
+ </aui-select>
167
+ description: Grouped options with a divider between sections.
168
+
169
+ - html: |
170
+ <aui-select mode="combobox" placeholder="Search colors...">
171
+ <aui-option value="red">Red</aui-option>
172
+ <aui-option value="green">Green</aui-option>
173
+ <aui-option value="blue">Blue</aui-option>
174
+ <aui-option value="yellow">Yellow</aui-option>
175
+ </aui-select>
176
+ description: Combobox — type to filter options.
177
+
178
+ - html: |
179
+ <aui-select mode="list" max-width="xs">
180
+ <aui-option value="alpha">Alpha</aui-option>
181
+ <aui-option value="beta" selected>Beta</aui-option>
182
+ <aui-option value="gamma">Gamma</aui-option>
183
+ <aui-option value="delta">Delta</aui-option>
184
+ </aui-select>
185
+ description: Standalone listbox — all options visible, scrollable.
186
+
187
+ - html: |
188
+ <aui-select mode="list" multiple max-width="xs">
189
+ <aui-option value="a" selected>Engineering</aui-option>
190
+ <aui-option value="b">Design</aui-option>
191
+ <aui-option value="c" selected>Product</aui-option>
192
+ <aui-option value="d">Marketing</aui-option>
193
+ </aui-select>
194
+ description: Multi-select listbox — click to toggle, multiple selections allowed.
195
+
196
+ - html: |
197
+ <div style="resize: horizontal; overflow: hidden; border: 1px dashed var(--aui-border-muted); border-radius: var(--aui-radius); padding: 0.5rem; min-width: 10rem; max-width: 100%; width: 100%;">
198
+ <aui-select mode="bar" transparent width="full">
199
+ <aui-option>Cut</aui-option>
200
+ <aui-option>Copy</aui-option>
201
+ <aui-option>Paste</aui-option>
202
+ <hr>
203
+ <aui-option>Undo</aui-option>
204
+ <aui-option>Redo</aui-option>
205
+ <hr>
206
+ <aui-option>Bold</aui-option>
207
+ <aui-option>Italic</aui-option>
208
+ <aui-option>Underline</aui-option>
209
+ </aui-select>
210
+ </div>
211
+ description: Bar mode (toolbar) — drag to resize, items overflow into a ··· menu.
212
+
213
+ - html: |
214
+ <aui-select mode="bar" width="full">
215
+ <aui-option overflow-pin>Home</aui-option>
216
+ <aui-option>Projects</aui-option>
217
+ <aui-option>Tasks</aui-option>
218
+ <aui-option>Analytics</aui-option>
219
+ <aui-option>Reports</aui-option>
220
+ <aui-option>Settings</aui-option>
221
+ </aui-select>
222
+ description: Bar mode with pinned item — Home never overflows.
223
+
224
+ - html: |
225
+ <aui-select mode="bar" transparent width="full">
226
+ <aui-option overflow-pin>Home</aui-option>
227
+ <aui-optgroup label="Content">
228
+ <aui-option>Pages</aui-option>
229
+ <aui-option>Posts</aui-option>
230
+ <aui-option>Media</aui-option>
231
+ </aui-optgroup>
232
+ <aui-optgroup label="Settings">
233
+ <aui-option>General</aui-option>
234
+ <aui-option>Users</aui-option>
235
+ <aui-option>Billing</aui-option>
236
+ </aui-optgroup>
237
+ </aui-select>
238
+ description: >
239
+ Bar mode with grouped overflow — groups separated by auto-stamped
240
+ dividers inline. When overflowed, groups render in the menu with
241
+ divider + uppercase header + items. Group labels hidden in bar.
@@ -0,0 +1,32 @@
1
+ name: aui-sidebar-content
2
+ tag: aui-sidebar-content
3
+ type: component
4
+ summary: Scrollable content area within a sidebar.
5
+ description: >
6
+ Sits between the header and footer overlays inside aui-sidebar.
7
+ Positioned absolutely to fill the sidebar, with vertical scroll
8
+ and edge-fade mask-image for smooth content clipping.
9
+
10
+ base: AgentElement
11
+
12
+ a11y:
13
+ role: none
14
+
15
+ composition:
16
+ parents: [aui-sidebar]
17
+ children:
18
+ typical: [aui-nav-item, aui-sidebar-label]
19
+ pattern: >
20
+ Contains the primary navigation items and section labels.
21
+ Scrolls independently with hidden scrollbar and gradient
22
+ mask at top and bottom edges.
23
+
24
+ examples:
25
+ - html: |
26
+ <aui-sidebar-content>
27
+ <aui-sidebar-label>Navigation</aui-sidebar-label>
28
+ <aui-nav-item label="Dashboard" icon="home"></aui-nav-item>
29
+ <aui-nav-item label="Projects" icon="folder"></aui-nav-item>
30
+ <aui-nav-item label="Settings" icon="settings"></aui-nav-item>
31
+ </aui-sidebar-content>
32
+ description: Scrollable nav content with a section label.
@@ -0,0 +1,28 @@
1
+ name: aui-sidebar-footer
2
+ tag: aui-sidebar-footer
3
+ type: component
4
+ summary: Sticky bottom overlay within a sidebar.
5
+ description: >
6
+ Pinned below the scrollable content area of aui-sidebar.
7
+ Positioned absolutely at the bottom of the sidebar, overlaying
8
+ the content with a z-index above the scroll area.
9
+
10
+ base: AgentElement
11
+
12
+ a11y:
13
+ role: none
14
+
15
+ composition:
16
+ parents: [aui-sidebar]
17
+ children:
18
+ typical: [aui-nav-item]
19
+ pattern: >
20
+ Typically contains user account or settings nav-items.
21
+ Items use select-trigger styling with hover background.
22
+
23
+ examples:
24
+ - html: |
25
+ <aui-sidebar-footer>
26
+ <aui-nav-item label="Account" icon="user"></aui-nav-item>
27
+ </aui-sidebar-footer>
28
+ description: Sidebar footer with a user account item.
@@ -0,0 +1,28 @@
1
+ name: aui-sidebar-header
2
+ tag: aui-sidebar-header
3
+ type: component
4
+ summary: Sticky top overlay within a sidebar.
5
+ description: >
6
+ Pinned above the scrollable content area of aui-sidebar.
7
+ Positioned absolutely at the top of the sidebar, overlaying
8
+ the content with a z-index above the scroll area.
9
+
10
+ base: AgentElement
11
+
12
+ a11y:
13
+ role: none
14
+
15
+ composition:
16
+ parents: [aui-sidebar]
17
+ children:
18
+ typical: [aui-nav-item]
19
+ pattern: >
20
+ Typically contains a workspace switcher or branding nav-item.
21
+ Items use select-trigger styling with hover background.
22
+
23
+ examples:
24
+ - html: |
25
+ <aui-sidebar-header>
26
+ <aui-nav-item label="My Workspace" icon="grid"></aui-nav-item>
27
+ </aui-sidebar-header>
28
+ description: Sidebar header with a workspace switcher item.
@@ -0,0 +1,133 @@
1
+ name: aui-sidebar
2
+ tag: aui-sidebar
3
+ type: component
4
+ summary: Resizable, collapsible sidebar navigation shell.
5
+ description: >
6
+ Layout shell for sidebar navigation. Flex column, sticky, resizable via
7
+ drag handle, collapsible to icon-rail via container queries. Supports
8
+ left or right placement and emits resize/collapse events.
9
+
10
+ base: AgentElement
11
+
12
+ attributes:
13
+ width:
14
+ syntax: key-value
15
+ type: string
16
+ default: "240"
17
+ description: Initial sidebar width in pixels.
18
+
19
+ min-width:
20
+ syntax: key-value
21
+ type: string
22
+ default: "56"
23
+ description: Minimum width during resize in pixels.
24
+
25
+ max-width:
26
+ syntax: key-value
27
+ type: string
28
+ default: "480"
29
+ description: Maximum width during resize in pixels.
30
+
31
+ collapsed:
32
+ syntax: boolean
33
+ type: boolean
34
+ default: false
35
+ description: Whether the sidebar is collapsed to its minimum width.
36
+
37
+ collapsible:
38
+ syntax: boolean
39
+ type: boolean
40
+ default: false
41
+ description: Whether the sidebar supports collapsing.
42
+
43
+ side:
44
+ syntax: key-value
45
+ type: enum
46
+ values: [left, right]
47
+ default: left
48
+ description: Which side of the app shell the sidebar anchors to.
49
+
50
+ disabled:
51
+ syntax: boolean
52
+ type: boolean
53
+ default: false
54
+ description: Disables resize interaction and dims the sidebar.
55
+
56
+ methods:
57
+ collapse:
58
+ description: Collapses the sidebar and fires aui:sidebar-collapse.
59
+ expand:
60
+ description: Expands the sidebar and fires aui:sidebar-collapse.
61
+ toggle:
62
+ description: Toggles between collapsed and expanded states.
63
+
64
+ events:
65
+ aui:sidebar-resize:
66
+ description: Fires when a drag-resize ends. Detail contains { width }.
67
+ bubbles: true
68
+ aui:sidebar-collapse:
69
+ description: Fires when collapsed state changes. Detail contains { collapsed }.
70
+ bubbles: true
71
+
72
+ composition:
73
+ parents: [aui-app-shell]
74
+ children:
75
+ typical: [aui-sidebar-header, aui-sidebar-content, aui-sidebar-footer]
76
+ pattern: >
77
+ Header for branding/workspace switcher, content for scrollable
78
+ navigation items, footer for user/settings. Resize handle is
79
+ auto-stamped.
80
+ context: >
81
+ Used as the primary navigation column inside aui-app-shell.
82
+ Progressively collapses labels, groups, and icons via container
83
+ queries at 200px, 140px, and 80px breakpoints.
84
+
85
+ a11y:
86
+ role: complementary
87
+ keyboard:
88
+ Drag: Resize handle supports pointer drag to resize width.
89
+
90
+ tokens:
91
+ sizing:
92
+ - --aui-sidebar-width
93
+ - --aui-sidebar-width-min
94
+ - --aui-sidebar-width-max
95
+ - --aui-sidebar-width-collapsed
96
+ - --aui-sidebar-header-height
97
+ color:
98
+ - --aui-doc
99
+ - --aui-border
100
+ - --aui-action-active
101
+ - --aui-ink
102
+ - --aui-ink-muted
103
+ - --aui-ink-strong
104
+ - --aui-focus
105
+ motion:
106
+ - --aui-duration
107
+ - --aui-easing
108
+
109
+ examples:
110
+ - html: |
111
+ <aui-sidebar width="260" collapsible>
112
+ <aui-sidebar-header>
113
+ <aui-nav-item label="Workspace" icon="grid"></aui-nav-item>
114
+ </aui-sidebar-header>
115
+ <aui-sidebar-content>
116
+ <aui-nav-item label="Dashboard" icon="home"></aui-nav-item>
117
+ <aui-nav-item label="Settings" icon="settings"></aui-nav-item>
118
+ </aui-sidebar-content>
119
+ <aui-sidebar-footer>
120
+ <aui-nav-item label="Account" icon="user"></aui-nav-item>
121
+ </aui-sidebar-footer>
122
+ </aui-sidebar>
123
+ description: >
124
+ Collapsible sidebar with header, scrollable content, and footer.
125
+
126
+ - html: |
127
+ <aui-sidebar side="right" width="300">
128
+ <aui-sidebar-content>
129
+ <aui-nav-item label="Inspector" icon="sliders"></aui-nav-item>
130
+ <aui-nav-item label="Properties" icon="list"></aui-nav-item>
131
+ </aui-sidebar-content>
132
+ </aui-sidebar>
133
+ description: Right-side sidebar for detail panels or inspectors.
@@ -0,0 +1,131 @@
1
+ name: aui-switch
2
+ tag: aui-switch
3
+ type: component
4
+ summary: Toggle switch with track and sliding thumb.
5
+ description: >
6
+ Binary toggle rendered as an iOS-style wide track with a pill-shaped
7
+ sliding thumb. Hidden native checkbox for form participation. Label
8
+ rendered via CSS ::after { content: attr(label) } — JS only sets
9
+ aria-label for accessibility, no DOM stamping for the visible label.
10
+ Animated transitions use offset timing (thumb moves before track
11
+ fill). Press animation stretches the thumb wider on :active.
12
+
13
+ base: AgentElement
14
+
15
+ presentational:
16
+ size:
17
+ syntax: key-value
18
+ attribute: size
19
+ cascades: true
20
+ default: medium
21
+ values: [xs, sm, md, lg, xl]
22
+ description: Controls track and thumb dimensions.
23
+
24
+ intent:
25
+ syntax: boolean
26
+ exclusive: true
27
+ cascades: true
28
+ default: neutral
29
+ values: [accent, info, success, warning, danger]
30
+ description: Color family for the checked track fill.
31
+
32
+ attributes:
33
+ disabled:
34
+ syntax: boolean
35
+ type: boolean
36
+ default: false
37
+ description: Prevents interaction.
38
+
39
+ checked:
40
+ syntax: boolean
41
+ type: boolean
42
+ default: false
43
+ description: Whether the switch is on.
44
+
45
+ label:
46
+ syntax: key-value
47
+ type: string
48
+ default: ""
49
+ description: Label text displayed next to the switch.
50
+
51
+ name:
52
+ syntax: key-value
53
+ type: string
54
+ default: ""
55
+ description: Form submission name.
56
+
57
+ value:
58
+ syntax: key-value
59
+ type: string
60
+ default: "on"
61
+ description: Form submission value when checked.
62
+
63
+ content:
64
+ model: inline
65
+ accepts: [input]
66
+ required: false
67
+ description: >
68
+ Auto-stamps hidden input for form participation. Label is
69
+ rendered purely via CSS ::after on :scope — no stamped span.
70
+
71
+ composition:
72
+ parents: [aui-field, aui-stack, form, div]
73
+ children: null
74
+ context: >
75
+ Use for on/off toggles in settings panels. Place inside
76
+ aui-field for labeled form switches, or standalone with
77
+ the label attribute.
78
+
79
+ a11y:
80
+ role: switch
81
+ keyboard:
82
+ Space: Toggles checked state.
83
+ Enter: Toggles checked state.
84
+ aria:
85
+ aria-checked: Mirrors checked attribute.
86
+ aria-disabled: Mirrors disabled attribute.
87
+
88
+ events:
89
+ change:
90
+ description: Fires when checked state changes.
91
+
92
+ tokens:
93
+ sizing:
94
+ - --aui-size
95
+ - --aui-widget-size
96
+ - --aui-font-size
97
+ color:
98
+ - --aui-ink
99
+ - --aui-ink-muted
100
+ - --aui-control
101
+ - --aui-fill
102
+ - --aui-stroke
103
+ - --aui-solid
104
+ - --aui-on-solid
105
+ - --aui-focus
106
+ shape:
107
+ - --aui-radius-round
108
+ motion:
109
+ - --aui-duration
110
+ - --aui-easing
111
+
112
+ css-notes:
113
+ attr-audit:
114
+ - "AB1: [checked], [disabled] — visual state via attributes"
115
+ - "::before on [data-track] for thumb — pure CSS sliding"
116
+ - "CG3: ::after { content: attr(label) } — label rendered in CSS, no JS-stamped [data-label]"
117
+ - ":active thumb stretches wider (press animation)"
118
+ - "Offset timing: thumb translate transitions before track fill color"
119
+
120
+ examples:
121
+ - html: <aui-switch label="Notifications"></aui-switch>
122
+ description: Default off switch.
123
+
124
+ - html: <aui-switch label="Dark mode" checked></aui-switch>
125
+ description: Pre-enabled switch.
126
+
127
+ - html: <aui-switch label="Locked" disabled></aui-switch>
128
+ description: Disabled switch.
129
+
130
+ - html: <aui-switch label="Active" checked accent></aui-switch>
131
+ description: Accent-colored enabled switch.
@@ -0,0 +1,41 @@
1
+ name: aui-tab-panel
2
+ tag: aui-tab-panel
3
+ type: component
4
+ summary: Content panel associated with a tab.
5
+ description: >
6
+ Shown when the matching tab is selected, hidden otherwise.
7
+ The parent aui-tabs coordinates visibility.
8
+
9
+ base: AgentElement
10
+
11
+ attributes:
12
+ value:
13
+ syntax: key-value
14
+ type: string
15
+ default: ""
16
+ description: Panel identifier, matched against aui-tab value.
17
+
18
+ active:
19
+ syntax: boolean
20
+ type: boolean
21
+ default: false
22
+ description: Whether this panel is currently visible.
23
+
24
+ a11y:
25
+ role: tabpanel
26
+ aria:
27
+ aria-hidden: true when not active.
28
+
29
+ composition:
30
+ parents: [aui-tabs]
31
+ children: [any]
32
+
33
+ examples:
34
+ - html: |
35
+ <aui-tabs value="overview">
36
+ <aui-tab value="overview">Overview</aui-tab>
37
+ <aui-tab value="details">Details</aui-tab>
38
+ <aui-tab-panel value="overview">Overview panel with content.</aui-tab-panel>
39
+ <aui-tab-panel value="details">Details panel with more content.</aui-tab-panel>
40
+ </aui-tabs>
41
+ description: Tab panels shown within a full tabs context.
@@ -0,0 +1,51 @@
1
+ name: aui-tab
2
+ tag: aui-tab
3
+ type: component
4
+ summary: Individual tab trigger within a tabbed interface.
5
+ description: >
6
+ A single tab button within aui-tabs. Visual states driven by
7
+ selected and disabled attributes. Parent aui-tabs coordinates
8
+ selection and keyboard navigation.
9
+
10
+ base: AgentElement
11
+
12
+ attributes:
13
+ value:
14
+ syntax: key-value
15
+ type: string
16
+ default: ""
17
+ description: Tab identifier, matched against aui-tab-panel value.
18
+
19
+ disabled:
20
+ syntax: boolean
21
+ type: boolean
22
+ default: false
23
+ description: Prevents selection.
24
+
25
+ selected:
26
+ syntax: boolean
27
+ type: boolean
28
+ default: false
29
+ description: Whether this tab is currently active.
30
+
31
+ a11y:
32
+ role: tab
33
+ aria:
34
+ aria-selected: Reflects selected attribute.
35
+ aria-disabled: Reflects disabled attribute.
36
+
37
+ composition:
38
+ parents: [aui-tabs]
39
+ children: null
40
+
41
+ examples:
42
+ - html: |
43
+ <aui-tabs value="general">
44
+ <aui-tab value="general">General</aui-tab>
45
+ <aui-tab value="advanced">Advanced</aui-tab>
46
+ <aui-tab value="security">Security</aui-tab>
47
+ <aui-tab-panel value="general">General settings content.</aui-tab-panel>
48
+ <aui-tab-panel value="advanced">Advanced settings content.</aui-tab-panel>
49
+ <aui-tab-panel value="security">Security settings content.</aui-tab-panel>
50
+ </aui-tabs>
51
+ description: Tab triggers shown within a full tabs context.
@@ -0,0 +1,11 @@
1
+ name: aui-table-body
2
+ tag: aui-table-body
3
+ type: component
4
+ summary: Table body section using display contents
5
+ base: AgentElement
6
+ composition:
7
+ parents: [aui-table]
8
+ children: [aui-table-row]
9
+ examples:
10
+ - html: See aui-table for full usage.
11
+ description: Used within aui-table structure.