@agent-ui-kit/web-components 0.0.14 → 0.0.16
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/dist/agent-ui.css +1 -1
- package/dist/api.colors.json +2 -2
- package/dist/api.colors.yaml +2 -2
- package/dist/api.components.json +3878 -636
- package/dist/api.tokens.json +35 -3
- package/dist/api.tokens.yaml +27 -3
- package/dist/chunks/{agent-C72JZNe6.js → agent-XMhz_6OA.js} +85 -76
- package/dist/chunks/{agent-C72JZNe6.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{empty-state-5M3uR5CM.js → form-oekEhwja.js} +1409 -960
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +6 -6
- package/dist/components/avatar/avatar.d.ts +0 -0
- package/dist/components/badge/badge.d.ts +0 -0
- package/dist/components/bar/bar.d.ts +0 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +0 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/code/code.d.ts +0 -0
- package/dist/components/color-area/color-area.d.ts +2 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -0
- package/dist/components/color-picker/oklch-utils.d.ts +18 -0
- package/dist/components/color-slider/color-slider.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch.d.ts +0 -0
- package/dist/components/content/content.d.ts +0 -0
- package/dist/components/description-list/description-list.d.ts +0 -0
- package/dist/components/divider/divider.d.ts +0 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/fieldset/fieldset.d.ts +0 -0
- package/dist/components/footer/footer.d.ts +0 -0
- package/dist/components/form/form.d.ts +12 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/grid/grid.d.ts +0 -0
- package/dist/components/header/header.d.ts +0 -0
- package/dist/components/heading/heading.d.ts +0 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-group/input-group.d.ts +0 -0
- package/dist/components/inset/inset.d.ts +0 -0
- package/dist/components/kbd/kbd.d.ts +0 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components/stack/stack.d.ts +0 -0
- package/dist/components/stat/stat.d.ts +4 -0
- package/dist/components/text/text.d.ts +0 -0
- package/dist/components/time-field/time-field.d.ts +1 -0
- package/dist/components/wrap/wrap.d.ts +0 -0
- package/dist/components.js +115 -126
- package/dist/components.js.map +1 -1
- package/dist/docs/blocks/agent-chat.yaml +33 -25
- package/dist/docs/blocks/announcement-card.yaml +14 -10
- package/dist/docs/blocks/bpm-process.yaml +216 -4
- package/dist/docs/blocks/chart-activity.yaml +12 -10
- package/dist/docs/blocks/chart-card.yaml +14 -11
- package/dist/docs/blocks/chart-donut.yaml +27 -23
- package/dist/docs/blocks/chart-grouped.yaml +14 -11
- package/dist/docs/blocks/chart-horizontal.yaml +13 -10
- package/dist/docs/blocks/chart-interactive.yaml +20 -17
- package/dist/docs/blocks/chart-labeled.yaml +14 -11
- package/dist/docs/blocks/checkout-form.yaml +26 -16
- package/dist/docs/blocks/clinical-trial.yaml +180 -4
- package/dist/docs/blocks/contributors.yaml +17 -11
- package/dist/docs/blocks/cyber-threat.yaml +158 -4
- package/dist/docs/blocks/dashboard-layout.yaml +25 -18
- package/dist/docs/blocks/data-eng-dag.yaml +222 -6
- package/dist/docs/blocks/date-picker.yaml +11 -10
- package/dist/docs/blocks/ddx-workflow.yaml +202 -6
- package/dist/docs/blocks/empty-state.yaml +8 -11
- package/dist/docs/blocks/env-variables.yaml +29 -20
- package/dist/docs/blocks/feature-upgrade.yaml +25 -18
- package/dist/docs/blocks/financial-risk.yaml +161 -4
- package/dist/docs/blocks/flow-editor.yaml +27 -18
- package/dist/docs/blocks/gen-ai-pipeline.yaml +232 -5
- package/dist/docs/blocks/issue-assign.yaml +25 -14
- package/dist/docs/blocks/keyboard-shortcuts.yaml +14 -9
- package/dist/docs/blocks/login-branded.yaml +62 -23
- package/dist/docs/blocks/login-email-only.yaml +14 -13
- package/dist/docs/blocks/login-form.yaml +17 -11
- package/dist/docs/blocks/login-simple.yaml +18 -12
- package/dist/docs/blocks/login-social.yaml +21 -14
- package/dist/docs/blocks/login-two-column.yaml +42 -22
- package/dist/docs/blocks/marketing-automation.yaml +209 -4
- package/dist/docs/blocks/member-list.yaml +23 -18
- package/dist/docs/blocks/ml-pipeline.yaml +163 -4
- package/dist/docs/blocks/nav-card.yaml +13 -11
- package/dist/docs/blocks/notification-list.yaml +18 -13
- package/dist/docs/blocks/oncology-pathway.yaml +227 -4
- package/dist/docs/blocks/pricing-card.yaml +20 -13
- package/dist/docs/blocks/processing-state.yaml +14 -11
- package/dist/docs/blocks/profile-card.yaml +22 -16
- package/dist/docs/blocks/saas-onboarding.yaml +222 -4
- package/dist/docs/blocks/settings-form.yaml +20 -11
- package/dist/docs/blocks/settings-panel.yaml +23 -22
- package/dist/docs/blocks/sidebar-nav.yaml +23 -15
- package/dist/docs/blocks/signup-form.yaml +17 -11
- package/dist/docs/blocks/stat-cards.yaml +12 -13
- package/dist/docs/blocks/status-card.yaml +20 -17
- package/dist/docs/blocks/suggested-labs.yaml +20 -13
- package/dist/docs/blocks/supply-chain.yaml +160 -4
- package/dist/docs/blocks/survey-card.yaml +21 -13
- package/dist/docs/blocks/tabbed-panel.yaml +21 -15
- package/dist/docs/blocks/team-empty.yaml +8 -9
- package/dist/docs/blocks/usage-billing.yaml +20 -16
- package/dist/docs/components/accordion-item.yaml +13 -21
- package/dist/docs/components/accordion.yaml +23 -29
- package/dist/docs/components/agent-activity.yaml +49 -41
- package/dist/docs/components/agent-feed.yaml +15 -22
- package/dist/docs/components/agent-input.yaml +238 -0
- package/dist/docs/components/agent-message.yaml +29 -48
- package/dist/docs/components/agent-panel.yaml +21 -24
- package/dist/docs/components/agent-prompt.yaml +29 -47
- package/dist/docs/components/agent-seeds.yaml +16 -24
- package/dist/docs/components/agent-text.yaml +14 -24
- package/dist/docs/components/agent-thread.yaml +15 -24
- package/dist/docs/components/alert.yaml +41 -39
- package/dist/docs/components/avatar-group.yaml +72 -45
- package/dist/docs/components/avatar.yaml +99 -0
- package/dist/docs/components/badge.yaml +110 -0
- package/dist/docs/components/bar.yaml +84 -0
- package/dist/docs/components/breadcrumb-item.yaml +8 -17
- package/dist/docs/components/breadcrumb.yaml +91 -29
- package/dist/docs/components/button-group.yaml +93 -0
- package/dist/docs/components/button.yaml +188 -261
- package/dist/docs/components/calendar-picker.yaml +16 -35
- package/dist/docs/components/calendar-range-picker.yaml +11 -29
- package/dist/docs/components/calendar.yaml +11 -29
- package/dist/docs/components/canvas.yaml +44 -61
- package/dist/docs/components/checkbox.yaml +37 -49
- package/dist/docs/components/chip.yaml +89 -55
- package/dist/docs/components/code-block.yaml +54 -53
- package/dist/docs/components/code.yaml +37 -0
- package/dist/docs/components/color-area.yaml +119 -0
- package/dist/docs/components/color-field.yaml +121 -0
- package/dist/docs/components/color-picker.yaml +87 -35
- package/dist/docs/components/color-slider.yaml +153 -0
- package/dist/docs/components/color-swatch.yaml +98 -0
- package/dist/docs/components/command.yaml +13 -18
- package/dist/docs/components/container.yaml +84 -73
- package/dist/docs/components/content.yaml +100 -0
- package/dist/docs/components/context-menu.yaml +11 -20
- package/dist/docs/components/date-field.yaml +81 -33
- package/dist/docs/components/description-list.yaml +81 -0
- package/dist/docs/components/disclosure-group.yaml +61 -42
- package/dist/docs/components/disclosure.yaml +60 -46
- package/dist/docs/components/divider.yaml +63 -0
- package/dist/docs/components/dropdown-menu.yaml +16 -25
- package/dist/docs/components/feed.yaml +15 -24
- package/dist/docs/components/field.yaml +50 -71
- package/dist/docs/components/fieldset.yaml +92 -0
- package/dist/docs/components/footer.yaml +147 -0
- package/dist/docs/components/grid.yaml +87 -0
- package/dist/docs/components/gripper.yaml +11 -23
- package/dist/docs/components/header.yaml +168 -0
- package/dist/docs/components/heading.yaml +58 -0
- package/dist/docs/components/hover-card.yaml +17 -25
- package/dist/docs/components/icon.yaml +32 -65
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input-group.yaml +102 -0
- package/dist/docs/components/input-otp.yaml +20 -19
- package/dist/docs/components/input.yaml +100 -139
- package/dist/docs/components/inset.yaml +59 -0
- package/dist/docs/components/kbd.yaml +57 -0
- package/dist/docs/components/link.yaml +36 -45
- package/dist/docs/components/meter.yaml +54 -42
- package/dist/docs/components/nav-item.yaml +54 -43
- package/dist/docs/components/noodles.yaml +72 -104
- package/dist/docs/components/option.yaml +12 -23
- package/dist/docs/components/pagination.yaml +21 -18
- package/dist/docs/components/pane.yaml +18 -32
- package/dist/docs/components/panes.yaml +19 -27
- package/dist/docs/components/progress-circle.yaml +64 -55
- package/dist/docs/components/progress.yaml +35 -51
- package/dist/docs/components/radio-group.yaml +99 -40
- package/dist/docs/components/radio.yaml +40 -41
- package/dist/docs/components/range.yaml +24 -27
- package/dist/docs/components/segmented-control.yaml +58 -17
- package/dist/docs/components/select.yaml +80 -100
- package/dist/docs/components/skeleton.yaml +39 -39
- package/dist/docs/components/sparkline.yaml +28 -45
- package/dist/docs/components/spinner.yaml +32 -33
- package/dist/docs/components/stack.yaml +126 -0
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +46 -53
- package/dist/docs/components/switch.yaml +36 -47
- package/dist/docs/components/tab-panel.yaml +27 -18
- package/dist/docs/components/tab.yaml +25 -22
- package/dist/docs/components/table-header.yaml +22 -12
- package/dist/docs/components/tabs.yaml +103 -20
- package/dist/docs/components/tag-group.yaml +63 -47
- package/dist/docs/components/text.yaml +67 -0
- package/dist/docs/components/textarea.yaml +43 -60
- package/dist/docs/components/time-field.yaml +108 -34
- package/dist/docs/components/toast.yaml +13 -30
- package/dist/docs/components/tooltip.yaml +56 -49
- package/dist/docs/components/tree-item.yaml +9 -10
- package/dist/docs/components/tree.yaml +127 -10
- package/dist/docs/components/wrap.yaml +60 -0
- package/dist/docs/traits/toggle-theme.yaml +34 -0
- package/dist/element.js +1 -1
- package/dist/icons.js +79 -59
- package/dist/icons.js.map +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/register.d.ts +0 -1
- package/dist/register.js +368 -352
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits/toggle-theme/toggle-theme.d.ts +0 -0
- package/dist/traits/toggle-theme/toggle-theme.trait.d.ts +2 -0
- package/dist/traits.js +528 -485
- package/dist/traits.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/empty-state-5M3uR5CM.js.map +0 -1
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
name: tabbed-panel
|
|
2
2
|
type: block
|
|
3
3
|
summary: Segmented control card with tab-switched content panels.
|
|
4
|
-
description:
|
|
5
|
-
A panel using a segmented control to switch between two views. Demonstrates
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A panel using a segmented control to switch between two views. Demonstrates tabs with header actions and distinct empty/content states per tab. Use for settings panels, repository browsers, or any dual-view UI.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-icon
|
|
16
|
+
- aui-button
|
|
17
|
+
- aui-segmented-control
|
|
18
|
+
- aui-segment
|
|
10
19
|
kind: card
|
|
11
|
-
|
|
12
20
|
examples:
|
|
13
|
-
-
|
|
21
|
+
- description: Segmented control card with tab-switched content panels.
|
|
22
|
+
html: |-
|
|
14
23
|
<aui-container kind="card" bordered max-width="md">
|
|
15
24
|
<aui-header>
|
|
16
25
|
<span slot="content">
|
|
@@ -21,19 +30,17 @@ examples:
|
|
|
21
30
|
</span>
|
|
22
31
|
</aui-header>
|
|
23
32
|
<aui-header>
|
|
24
|
-
<
|
|
25
|
-
<aui-stack gap="1">
|
|
33
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
34
|
+
<aui-stack gap="1" spacer>
|
|
26
35
|
<aui-heading size="md">Codespaces</aui-heading>
|
|
27
36
|
<aui-text muted size="sm">Your workspaces in the cloud</aui-text>
|
|
28
37
|
</aui-stack>
|
|
29
|
-
</span>
|
|
30
|
-
<span slot="trailing">
|
|
31
38
|
<aui-button label="Add" icon-leading="plus" scrim hide-label></aui-button>
|
|
32
|
-
</
|
|
39
|
+
</aui-stack>
|
|
33
40
|
</aui-header>
|
|
34
41
|
<aui-content>
|
|
35
42
|
<aui-inset>
|
|
36
|
-
<aui-stack
|
|
43
|
+
<aui-stack align-items="center" text="center" style="padding: 1.5rem 0;">
|
|
37
44
|
<div style="width: 6rem; height: 6rem; border-radius: var(--aui-radius); background: linear-gradient(135deg, var(--aui-control) 0%, var(--aui-panel) 100%); display: flex; align-items: center; justify-content: center;">
|
|
38
45
|
<aui-icon name="gear" size="3xl" muted></aui-icon>
|
|
39
46
|
</div>
|
|
@@ -50,4 +57,3 @@ examples:
|
|
|
50
57
|
<span slot="content"><aui-text muted size="xs">Codespace usage for this repository is paid for by <strong>AgentOS</strong>.</aui-text></span>
|
|
51
58
|
</aui-footer>
|
|
52
59
|
</aui-container>
|
|
53
|
-
description: Codespaces panel with tab selector and empty state.
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
name: team-empty
|
|
2
2
|
type: block
|
|
3
3
|
summary: Empty state for team member lists with invite action.
|
|
4
|
-
description:
|
|
5
|
-
An inviting empty state shown when a team or project has no members
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
description: |
|
|
5
|
+
An inviting empty state shown when a team or project has no members yet. Uses aui-empty-state with a users icon, heading, description, and an invite action button. Purpose-built for team contexts.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-empty-state
|
|
9
|
+
- aui-button
|
|
10
10
|
kind: card
|
|
11
|
-
|
|
12
11
|
examples:
|
|
13
|
-
-
|
|
12
|
+
- description: Empty state for team member lists with invite action.
|
|
13
|
+
html: |-
|
|
14
14
|
<aui-container kind="card" bordered max-width="prose">
|
|
15
15
|
<aui-empty-state icon="users-three" heading="No Team Members" description="Invite your team to collaborate on this project.">
|
|
16
16
|
<aui-button accent>Invite Members</aui-button>
|
|
17
17
|
</aui-empty-state>
|
|
18
18
|
</aui-container>
|
|
19
|
-
description: Team empty state with icon, heading, description, and invite button.
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
name: usage-billing
|
|
2
2
|
type: block
|
|
3
3
|
summary: Billing usage panel with progress circle rings and cost breakdown.
|
|
4
|
-
description:
|
|
5
|
-
A card showing current billing cycle usage broken down by service line item.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing current billing cycle usage broken down by service line item. Each row has an aui-progress-circle size="sm" showing utilization, a service name, and a cost or usage/limit value. Use for billing dashboards, plan overviews, or resource monitoring.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-divider
|
|
15
|
+
- aui-progress-circle
|
|
11
16
|
kind: card
|
|
12
|
-
|
|
13
17
|
examples:
|
|
14
|
-
-
|
|
18
|
+
- description: Billing usage panel with progress circle rings and cost breakdown.
|
|
19
|
+
html: |-
|
|
15
20
|
<aui-container kind="card" bordered max-width="sm">
|
|
16
21
|
<aui-header>
|
|
17
22
|
<span slot="content"><aui-text muted size="sm">5 days remaining in cycle</aui-text></span>
|
|
@@ -23,7 +28,7 @@ examples:
|
|
|
23
28
|
<!-- Edge Requests: 91% -->
|
|
24
29
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
25
30
|
<aui-progress-circle value="91" size="sm"></aui-progress-circle>
|
|
26
|
-
<aui-
|
|
31
|
+
<aui-heading size="sm" spacer truncate>Edge Requests</aui-heading>
|
|
27
32
|
<aui-text size="sm" weight="medium">$1.83K</aui-text>
|
|
28
33
|
</aui-stack>
|
|
29
34
|
<aui-divider></aui-divider>
|
|
@@ -31,7 +36,7 @@ examples:
|
|
|
31
36
|
<!-- Fast Data Transfer: 73% -->
|
|
32
37
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
33
38
|
<aui-progress-circle value="73" size="sm"></aui-progress-circle>
|
|
34
|
-
<aui-
|
|
39
|
+
<aui-heading size="sm" spacer truncate>Fast Data Transfer</aui-heading>
|
|
35
40
|
<aui-text size="sm" weight="medium">$952.51</aui-text>
|
|
36
41
|
</aui-stack>
|
|
37
42
|
<aui-divider></aui-divider>
|
|
@@ -39,7 +44,7 @@ examples:
|
|
|
39
44
|
<!-- Monitoring Data Points: 58% -->
|
|
40
45
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
41
46
|
<aui-progress-circle value="58" size="sm"></aui-progress-circle>
|
|
42
|
-
<aui-
|
|
47
|
+
<aui-heading size="sm" spacer truncate>Monitoring Data Points</aui-heading>
|
|
43
48
|
<aui-text size="sm" weight="medium">$901.20</aui-text>
|
|
44
49
|
</aui-stack>
|
|
45
50
|
<aui-divider></aui-divider>
|
|
@@ -47,7 +52,7 @@ examples:
|
|
|
47
52
|
<!-- Web Analytics Events: 42% -->
|
|
48
53
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
49
54
|
<aui-progress-circle value="42" size="sm"></aui-progress-circle>
|
|
50
|
-
<aui-
|
|
55
|
+
<aui-heading size="sm" spacer truncate>Web Analytics Events</aui-heading>
|
|
51
56
|
<aui-text size="sm" weight="medium">$603.71</aui-text>
|
|
52
57
|
</aui-stack>
|
|
53
58
|
<aui-divider></aui-divider>
|
|
@@ -55,7 +60,7 @@ examples:
|
|
|
55
60
|
<!-- ISR Writes: 26% (524K / 2M) -->
|
|
56
61
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
57
62
|
<aui-progress-circle value="26" size="sm"></aui-progress-circle>
|
|
58
|
-
<aui-
|
|
63
|
+
<aui-heading size="sm" spacer truncate>ISR Writes</aui-heading>
|
|
59
64
|
<aui-text muted size="sm">524.52K / 2M</aui-text>
|
|
60
65
|
</aui-stack>
|
|
61
66
|
<aui-divider></aui-divider>
|
|
@@ -63,7 +68,7 @@ examples:
|
|
|
63
68
|
<!-- Function Duration: 0.5% (5.11 / 1K GB Hrs) -->
|
|
64
69
|
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
65
70
|
<aui-progress-circle value="1" size="sm"></aui-progress-circle>
|
|
66
|
-
<aui-
|
|
71
|
+
<aui-heading size="sm" spacer truncate>Function Duration</aui-heading>
|
|
67
72
|
<aui-text muted size="sm">5.11 GB Hrs / 1K GB Hrs</aui-text>
|
|
68
73
|
</aui-stack>
|
|
69
74
|
|
|
@@ -71,4 +76,3 @@ examples:
|
|
|
71
76
|
</aui-inset>
|
|
72
77
|
</aui-content>
|
|
73
78
|
</aui-container>
|
|
74
|
-
description: Six billing line items with aui-progress-circle size="sm" at varied fill levels.
|
|
@@ -2,40 +2,34 @@ name: aui-accordion-item
|
|
|
2
2
|
tag: aui-accordion-item
|
|
3
3
|
type: component
|
|
4
4
|
summary: Collapsible section with trigger and content panel.
|
|
5
|
-
description:
|
|
6
|
-
Uses native details/summary for baseline accessibility. Chevron
|
|
7
|
-
indicator rotates on open. Can be used standalone or inside
|
|
8
|
-
aui-accordion for coordinated single-open behavior.
|
|
9
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Uses native details/summary for baseline accessibility. Chevron indicator rotates on open. Can be used standalone or inside aui-accordion for coordinated single-open behavior.
|
|
10
7
|
base: AgentElement
|
|
11
|
-
|
|
12
8
|
attributes:
|
|
13
9
|
open:
|
|
14
10
|
syntax: boolean
|
|
15
11
|
type: boolean
|
|
16
12
|
default: false
|
|
17
13
|
description: Whether the content is expanded.
|
|
18
|
-
|
|
19
14
|
disabled:
|
|
20
15
|
syntax: boolean
|
|
21
16
|
type: boolean
|
|
22
17
|
default: false
|
|
23
18
|
description: Prevents toggling.
|
|
24
|
-
|
|
25
19
|
a11y:
|
|
26
20
|
role: Uses native details/summary semantics.
|
|
27
21
|
keyboard:
|
|
28
22
|
Enter: Toggle open/closed.
|
|
29
23
|
Space: Toggle open/closed.
|
|
30
|
-
|
|
31
24
|
events:
|
|
32
25
|
toggle:
|
|
33
26
|
description: Fired when open state changes. detail.open is the new state.
|
|
34
|
-
|
|
35
27
|
composition:
|
|
36
|
-
parents:
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
parents:
|
|
29
|
+
- aui-accordion
|
|
30
|
+
- any
|
|
31
|
+
children:
|
|
32
|
+
- any
|
|
39
33
|
tokens:
|
|
40
34
|
- name: --aui-accordion-item-border-color
|
|
41
35
|
default: var(--aui-border-muted)
|
|
@@ -76,18 +70,16 @@ tokens:
|
|
|
76
70
|
- name: --aui-accordion-item-color-disabled
|
|
77
71
|
default: var(--aui-ink-disabled, var(--aui-ink-muted))
|
|
78
72
|
description: Header text color when disabled.
|
|
79
|
-
|
|
80
73
|
examples:
|
|
81
|
-
-
|
|
74
|
+
- description: Single collapsible section
|
|
75
|
+
html: |-
|
|
82
76
|
<aui-accordion-item>
|
|
83
77
|
<span data-trigger>Section Title</span>
|
|
84
|
-
<
|
|
78
|
+
<aui-text>Collapsible content here.</aui-text>
|
|
85
79
|
</aui-accordion-item>
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- html: |
|
|
80
|
+
- description: Pre-opened section
|
|
81
|
+
html: |-
|
|
89
82
|
<aui-accordion-item open>
|
|
90
83
|
<span data-trigger>Initially Open</span>
|
|
91
|
-
<
|
|
84
|
+
<aui-text>This section starts expanded.</aui-text>
|
|
92
85
|
</aui-accordion-item>
|
|
93
|
-
description: Pre-opened section.
|
|
@@ -2,73 +2,67 @@ name: aui-accordion
|
|
|
2
2
|
tag: aui-accordion
|
|
3
3
|
type: component
|
|
4
4
|
summary: Collapsible section group with optional single-open mode.
|
|
5
|
-
description:
|
|
6
|
-
Container for aui-accordion-item children. By default, only one
|
|
7
|
-
item can be open at a time. Set `multiple` to allow several.
|
|
8
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Container for aui-accordion-item children. By default, only one item can be open at a time. Set `multiple` to allow several.
|
|
9
7
|
base: AgentElement
|
|
10
|
-
|
|
11
8
|
attributes:
|
|
12
9
|
multiple:
|
|
13
10
|
syntax: boolean
|
|
14
11
|
type: boolean
|
|
15
12
|
default: false
|
|
16
13
|
description: Allow multiple items open simultaneously.
|
|
17
|
-
|
|
18
14
|
caret:
|
|
19
15
|
syntax: key-value
|
|
20
16
|
type: enum
|
|
21
|
-
values:
|
|
17
|
+
values:
|
|
18
|
+
- leading
|
|
19
|
+
- trailing
|
|
22
20
|
default: leading
|
|
23
|
-
description:
|
|
24
|
-
Position of the expand/collapse chevron.
|
|
25
|
-
Leading places it before the label, trailing after.
|
|
26
|
-
|
|
21
|
+
description: |
|
|
22
|
+
Position of the expand/collapse chevron. Leading places it before the label, trailing after.
|
|
27
23
|
composition:
|
|
28
|
-
parents:
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
parents:
|
|
25
|
+
- any
|
|
26
|
+
children:
|
|
27
|
+
- aui-accordion-item
|
|
31
28
|
tokens:
|
|
32
29
|
- name: --aui-accordion-border-color
|
|
33
30
|
default: var(--aui-border-muted)
|
|
34
31
|
description: Border color of the accordion container top border and item dividers.
|
|
35
|
-
|
|
36
32
|
examples:
|
|
37
|
-
-
|
|
33
|
+
- description: Single-open accordion
|
|
34
|
+
html: |-
|
|
38
35
|
<aui-accordion>
|
|
39
36
|
<aui-accordion-item>
|
|
40
37
|
<span data-trigger>Section 1</span>
|
|
41
|
-
<
|
|
38
|
+
<aui-text>Content 1</aui-text>
|
|
42
39
|
</aui-accordion-item>
|
|
43
40
|
<aui-accordion-item>
|
|
44
41
|
<span data-trigger>Section 2</span>
|
|
45
|
-
<
|
|
42
|
+
<aui-text>Content 2</aui-text>
|
|
46
43
|
</aui-accordion-item>
|
|
47
44
|
</aui-accordion>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
- html: |
|
|
45
|
+
- description: Multiple-open accordion
|
|
46
|
+
html: |-
|
|
51
47
|
<aui-accordion multiple>
|
|
52
48
|
<aui-accordion-item open>
|
|
53
49
|
<span data-trigger>FAQ 1</span>
|
|
54
|
-
<
|
|
50
|
+
<aui-text>Answer 1</aui-text>
|
|
55
51
|
</aui-accordion-item>
|
|
56
52
|
<aui-accordion-item open>
|
|
57
53
|
<span data-trigger>FAQ 2</span>
|
|
58
|
-
<
|
|
54
|
+
<aui-text>Answer 2</aui-text>
|
|
59
55
|
</aui-accordion-item>
|
|
60
56
|
</aui-accordion>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- html: |
|
|
57
|
+
- description: Trailing caret position
|
|
58
|
+
html: |-
|
|
64
59
|
<aui-accordion caret="trailing">
|
|
65
60
|
<aui-accordion-item open>
|
|
66
61
|
<span data-trigger>Trailing caret</span>
|
|
67
|
-
<
|
|
62
|
+
<aui-text>Chevron on the right side.</aui-text>
|
|
68
63
|
</aui-accordion-item>
|
|
69
64
|
<aui-accordion-item>
|
|
70
65
|
<span data-trigger>Another section</span>
|
|
71
|
-
<
|
|
66
|
+
<aui-text>More content here.</aui-text>
|
|
72
67
|
</aui-accordion-item>
|
|
73
68
|
</aui-accordion>
|
|
74
|
-
description: Trailing caret position.
|
|
@@ -2,54 +2,46 @@ name: aui-agent-activity
|
|
|
2
2
|
tag: aui-agent-activity
|
|
3
3
|
type: component
|
|
4
4
|
summary: Streaming activity indicator with typing dots and elapsed timer.
|
|
5
|
-
description:
|
|
6
|
-
When active, shows an animated indicator with elapsed time.
|
|
7
|
-
When expandable, clicking toggles visibility of slotted trace content
|
|
8
|
-
(e.g. reasoning trace, tool calls).
|
|
9
|
-
|
|
5
|
+
description: |
|
|
6
|
+
When active, shows an animated indicator with elapsed time. When expandable, clicking toggles visibility of slotted trace content (e.g. reasoning trace, tool calls).
|
|
10
7
|
base: AgentElement
|
|
11
|
-
|
|
12
8
|
attributes:
|
|
13
9
|
type:
|
|
14
10
|
syntax: key-value
|
|
15
11
|
type: string
|
|
16
12
|
default: typing
|
|
17
13
|
description: Activity type — typing, thinking, or tool-use.
|
|
18
|
-
|
|
19
14
|
label:
|
|
20
15
|
syntax: key-value
|
|
21
16
|
type: string
|
|
22
17
|
default: ""
|
|
23
18
|
description: Custom label text (overrides default per-type label).
|
|
24
|
-
|
|
25
19
|
active:
|
|
26
20
|
syntax: boolean
|
|
27
21
|
type: boolean
|
|
28
22
|
default: false
|
|
29
23
|
description: Currently streaming / in progress.
|
|
30
|
-
|
|
31
24
|
expandable:
|
|
32
25
|
syntax: boolean
|
|
33
26
|
type: boolean
|
|
34
27
|
default: false
|
|
35
28
|
description: Allow click to expand trace content.
|
|
36
|
-
|
|
37
29
|
expanded:
|
|
38
30
|
syntax: boolean
|
|
39
31
|
type: boolean
|
|
40
32
|
default: false
|
|
41
33
|
description: Whether trace content is visible.
|
|
42
|
-
|
|
43
34
|
events:
|
|
44
35
|
aui:activity-toggle:
|
|
45
|
-
description:
|
|
46
|
-
Fired when trace is expanded/collapsed.
|
|
47
|
-
detail contains expanded boolean.
|
|
48
|
-
|
|
36
|
+
description: |
|
|
37
|
+
Fired when trace is expanded/collapsed. detail contains expanded boolean.
|
|
49
38
|
composition:
|
|
50
|
-
parents:
|
|
51
|
-
|
|
52
|
-
|
|
39
|
+
parents:
|
|
40
|
+
- aui-agent-message
|
|
41
|
+
children:
|
|
42
|
+
- pre
|
|
43
|
+
- div
|
|
44
|
+
- any
|
|
53
45
|
tokens:
|
|
54
46
|
- name: --aui-agent-activity-color
|
|
55
47
|
default: var(--aui-ink-muted)
|
|
@@ -67,10 +59,10 @@ tokens:
|
|
|
67
59
|
default: var(--aui-agent-bubble-pad-inline, 0.875rem)
|
|
68
60
|
description: Inline padding of the activity container.
|
|
69
61
|
- name: --aui-agent-activity-row-gap
|
|
70
|
-
default:
|
|
62
|
+
default: calc(var(--aui-space) * 1.5)
|
|
71
63
|
description: Gap between items in the status row (arrow, label, dots, timer).
|
|
72
64
|
- name: --aui-agent-activity-content-padding-inline-start
|
|
73
|
-
default:
|
|
65
|
+
default: calc(var(--aui-space) * 3)
|
|
74
66
|
description: Left indent of the expandable content area.
|
|
75
67
|
- name: --aui-agent-activity-content-font-family
|
|
76
68
|
default: var(--aui-font-mono, monospace)
|
|
@@ -81,31 +73,47 @@ tokens:
|
|
|
81
73
|
- name: --aui-agent-activity-content-max-height
|
|
82
74
|
default: var(--aui-agent-activity-max-height, 20rem)
|
|
83
75
|
description: Maximum height of the expandable content area before scrolling.
|
|
84
|
-
|
|
85
76
|
examples:
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
description: Thinking indicator with custom label and elapsed timer — used during extended reasoning or chain-of-thought processing.
|
|
93
|
-
|
|
94
|
-
- html: |
|
|
77
|
+
- description: Typing indicator — animated dots signaling the assistant is composing a response
|
|
78
|
+
html: <aui-agent-activity type="typing" active></aui-agent-activity>
|
|
79
|
+
- description: Thinking indicator with custom label and elapsed timer
|
|
80
|
+
html: <aui-agent-activity type="thinking" active label="Reasoning"></aui-agent-activity>
|
|
81
|
+
- description: Expandable reasoning trace — click header to toggle
|
|
82
|
+
html: |-
|
|
95
83
|
<aui-agent-activity type="thinking" expandable expanded>
|
|
96
84
|
<div data-role="trace">
|
|
97
|
-
<aui-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
85
|
+
<aui-stack gap="2">
|
|
86
|
+
<aui-text muted size="sm">The user is asking about onboarding drop-off. I should consider:</aui-text>
|
|
87
|
+
<aui-text muted size="sm">1. Funnel analysis — where exactly are users leaving?</aui-text>
|
|
88
|
+
<aui-text muted size="sm">2. Session recordings — qualitative signals</aui-text>
|
|
89
|
+
<aui-text muted size="sm">3. Survey data — self-reported friction points</aui-text>
|
|
90
|
+
<aui-text muted size="sm">Let me structure a response around these three data sources.</aui-text>
|
|
91
|
+
</aui-stack>
|
|
102
92
|
</div>
|
|
103
93
|
</aui-agent-activity>
|
|
104
|
-
|
|
94
|
+
- description: Tool-use activities as nested disclosures
|
|
95
|
+
html: |-
|
|
96
|
+
<aui-stack gap="2">
|
|
97
|
+
<aui-disclosure summary="search_files — 12 matches" open>
|
|
98
|
+
<aui-code>search_files("auth middleware", include=["*.ts", "*.tsx"])
|
|
99
|
+
→ Found 12 matches in 5 files</aui-code>
|
|
100
|
+
</aui-disclosure>
|
|
105
101
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
<aui-disclosure summary="read_file — auth.middleware.ts">
|
|
103
|
+
<aui-code>read_file("src/middleware/auth.middleware.ts")
|
|
104
|
+
→ 142 lines read</aui-code>
|
|
105
|
+
</aui-disclosure>
|
|
106
|
+
|
|
107
|
+
<aui-disclosure summary="analyze_code — 3 issues found">
|
|
108
|
+
<aui-code>analyze_code("src/middleware/auth.middleware.ts")
|
|
109
|
+
→ 2 warnings, 1 suggestion</aui-code>
|
|
110
|
+
</aui-disclosure>
|
|
111
|
+
</aui-stack>
|
|
112
|
+
- description: Active tool-use with trace
|
|
113
|
+
html: |-
|
|
114
|
+
<aui-agent-activity type="tool-use" active label="Searching codebase" expandable expanded>
|
|
115
|
+
<div data-role="trace">
|
|
116
|
+
<aui-code>search_files("auth middleware", include=["*.ts", "*.tsx"])
|
|
117
|
+
→ Found 12 matches in 5 files</aui-code>
|
|
118
|
+
</div>
|
|
110
119
|
</aui-agent-activity>
|
|
111
|
-
description: Tool-use activity with live trace — shows the tool call and partial results while the operation is in progress.
|
|
@@ -2,40 +2,35 @@ name: aui-agent-feed
|
|
|
2
2
|
tag: aui-agent-feed
|
|
3
3
|
type: component
|
|
4
4
|
summary: Scrollable chat thread coordinator with auto-scroll and token definitions.
|
|
5
|
-
description:
|
|
6
|
-
Wraps aui-agent-thread groups and manages auto-scroll behavior.
|
|
7
|
-
When pinned to bottom, new content automatically scrolls into view.
|
|
8
|
-
Defines CSS custom properties (tokens) for the entire agent chat system.
|
|
9
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Wraps aui-agent-thread groups and manages auto-scroll behavior. When pinned to bottom, new content automatically scrolls into view. Defines CSS custom properties (tokens) for the entire agent chat system.
|
|
10
7
|
base: AgentElement
|
|
11
|
-
|
|
12
8
|
attributes:
|
|
13
9
|
auto-scroll:
|
|
14
10
|
syntax: boolean
|
|
15
11
|
type: boolean
|
|
16
12
|
default: true
|
|
17
13
|
description: Enable auto-scroll to bottom on new content.
|
|
18
|
-
|
|
19
14
|
scrollable:
|
|
20
15
|
syntax: boolean
|
|
21
16
|
type: boolean
|
|
22
17
|
default: false
|
|
23
18
|
description: Enable scroll container. Remove to delegate scrolling to a parent.
|
|
24
|
-
|
|
25
19
|
a11y:
|
|
26
20
|
role: log
|
|
27
21
|
aria-live: polite
|
|
28
|
-
|
|
29
22
|
events:
|
|
30
23
|
aui:feed-scroll:
|
|
31
|
-
description:
|
|
32
|
-
Fired when scroll pinned state changes.
|
|
33
|
-
detail contains isPinned and scrollTop.
|
|
34
|
-
|
|
24
|
+
description: |
|
|
25
|
+
Fired when scroll pinned state changes. detail contains isPinned and scrollTop.
|
|
35
26
|
composition:
|
|
36
|
-
parents:
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
parents:
|
|
28
|
+
- aui-content
|
|
29
|
+
- aui-pane
|
|
30
|
+
- div
|
|
31
|
+
- any
|
|
32
|
+
children:
|
|
33
|
+
- aui-agent-thread
|
|
39
34
|
tokens:
|
|
40
35
|
- name: --aui-agent-feed-gap
|
|
41
36
|
default: var(--aui-pad-gap-container)
|
|
@@ -43,9 +38,9 @@ tokens:
|
|
|
43
38
|
- name: --aui-agent-feed-padding
|
|
44
39
|
default: var(--aui-pad-container, var(--aui-space))
|
|
45
40
|
description: Padding around the feed container.
|
|
46
|
-
|
|
47
41
|
examples:
|
|
48
|
-
-
|
|
42
|
+
- description: Chat conversation with a user question and an assistant response containing a code block
|
|
43
|
+
html: |-
|
|
49
44
|
<aui-agent-feed auto-scroll scrollable style="height: 24rem;">
|
|
50
45
|
<aui-agent-thread role="user" sender="You">
|
|
51
46
|
<aui-agent-message role="user">
|
|
@@ -72,9 +67,8 @@ examples:
|
|
|
72
67
|
</aui-agent-message>
|
|
73
68
|
</aui-agent-thread>
|
|
74
69
|
</aui-agent-feed>
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
- html: |
|
|
70
|
+
- description: Feed with an active thinking indicator — the assistant is processing the user's question
|
|
71
|
+
html: |-
|
|
78
72
|
<aui-agent-feed auto-scroll scrollable style="height: 20rem;">
|
|
79
73
|
<aui-agent-thread role="user" sender="You">
|
|
80
74
|
<aui-agent-message role="user">
|
|
@@ -88,4 +82,3 @@ examples:
|
|
|
88
82
|
</aui-agent-message>
|
|
89
83
|
</aui-agent-thread>
|
|
90
84
|
</aui-agent-feed>
|
|
91
|
-
description: Feed with an active thinking indicator — the assistant is processing the user's question.
|