@agent-ui-kit/web-components 0.0.3 → 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.
- package/README.md +429 -0
- package/dist/agent-ui.css +1 -1
- package/dist/api.json +9519 -0
- package/dist/docs/blocks/agent-chat.yaml +111 -0
- package/dist/docs/blocks/announcement-card.yaml +30 -0
- package/dist/docs/blocks/bpm-process.yaml +7 -0
- package/dist/docs/blocks/chart-activity.yaml +73 -0
- package/dist/docs/blocks/chart-card.yaml +55 -0
- package/dist/docs/blocks/chart-donut.yaml +83 -0
- package/dist/docs/blocks/chart-grouped.yaml +75 -0
- package/dist/docs/blocks/chart-horizontal.yaml +59 -0
- package/dist/docs/blocks/chart-interactive.yaml +58 -0
- package/dist/docs/blocks/chart-labeled.yaml +66 -0
- package/dist/docs/blocks/checkout-form.yaml +57 -0
- package/dist/docs/blocks/clinical-trial.yaml +7 -0
- package/dist/docs/blocks/contributors.yaml +51 -0
- package/dist/docs/blocks/cyber-threat.yaml +7 -0
- package/dist/docs/blocks/dashboard-layout.yaml +121 -0
- package/dist/docs/blocks/data-eng-dag.yaml +9 -0
- package/dist/docs/blocks/date-picker.yaml +30 -0
- package/dist/docs/blocks/ddx-workflow.yaml +9 -0
- package/dist/docs/blocks/empty-state.yaml +26 -0
- package/dist/docs/blocks/env-variables.yaml +46 -0
- package/dist/docs/blocks/feature-upgrade.yaml +52 -0
- package/dist/docs/blocks/financial-risk.yaml +7 -0
- package/dist/docs/blocks/flow-editor.yaml +113 -0
- package/dist/docs/blocks/gen-ai-pipeline.yaml +8 -0
- package/dist/docs/blocks/index.yaml +245 -0
- package/dist/docs/blocks/issue-assign.yaml +34 -0
- package/dist/docs/blocks/keyboard-shortcuts.yaml +49 -0
- package/dist/docs/blocks/login-branded.yaml +81 -0
- package/dist/docs/blocks/login-email-only.yaml +39 -0
- package/dist/docs/blocks/login-form.yaml +42 -0
- package/dist/docs/blocks/login-simple.yaml +54 -0
- package/dist/docs/blocks/login-social.yaml +73 -0
- package/dist/docs/blocks/login-two-column.yaml +78 -0
- package/dist/docs/blocks/marketing-automation.yaml +7 -0
- package/dist/docs/blocks/member-list.yaml +58 -0
- package/dist/docs/blocks/ml-pipeline.yaml +7 -0
- package/dist/docs/blocks/nav-card.yaml +27 -0
- package/dist/docs/blocks/notification-list.yaml +58 -0
- package/dist/docs/blocks/oncology-pathway.yaml +7 -0
- package/dist/docs/blocks/pricing-card.yaml +53 -0
- package/dist/docs/blocks/processing-state.yaml +25 -0
- package/dist/docs/blocks/profile-card.yaml +48 -0
- package/dist/docs/blocks/saas-onboarding.yaml +7 -0
- package/dist/docs/blocks/settings-form.yaml +42 -0
- package/dist/docs/blocks/settings-panel.yaml +54 -0
- package/dist/docs/blocks/sidebar-nav.yaml +55 -0
- package/dist/docs/blocks/signup-form.yaml +47 -0
- package/dist/docs/blocks/stat-cards.yaml +49 -0
- package/dist/docs/blocks/status-card.yaml +40 -0
- package/dist/docs/blocks/suggested-labs.yaml +79 -0
- package/dist/docs/blocks/supply-chain.yaml +7 -0
- package/dist/docs/blocks/survey-card.yaml +52 -0
- package/dist/docs/blocks/tabbed-panel.yaml +53 -0
- package/dist/docs/blocks/team-empty.yaml +27 -0
- package/dist/docs/blocks/usage-billing.yaml +99 -0
- package/dist/docs/components/accordion-item.yaml +52 -0
- package/dist/docs/components/accordion.yaml +69 -0
- package/dist/docs/components/agent-activity.yaml +79 -0
- package/dist/docs/components/agent-feed.yaml +83 -0
- package/dist/docs/components/agent-message.yaml +120 -0
- package/dist/docs/components/agent-panel.yaml +91 -0
- package/dist/docs/components/agent-prompt.yaml +78 -0
- package/dist/docs/components/agent-seeds.yaml +44 -0
- package/dist/docs/components/agent-text.yaml +57 -0
- package/dist/docs/components/agent-thread.yaml +82 -0
- package/dist/docs/components/app-shell.yaml +64 -0
- package/dist/docs/components/breadcrumb-item.yaml +49 -0
- package/dist/docs/components/breadcrumb.yaml +59 -0
- package/dist/docs/components/button.yaml +439 -0
- package/dist/docs/components/calendar.yaml +74 -0
- package/dist/docs/components/canvas.yaml +161 -0
- package/dist/docs/components/checkbox.yaml +141 -0
- package/dist/docs/components/command-empty.yaml +13 -0
- package/dist/docs/components/command-group.yaml +23 -0
- package/dist/docs/components/command-input.yaml +19 -0
- package/dist/docs/components/command-item.yaml +37 -0
- package/dist/docs/components/command-list.yaml +17 -0
- package/dist/docs/components/command.yaml +64 -0
- package/dist/docs/components/container.yaml +298 -0
- package/dist/docs/components/dialog.yaml +133 -0
- package/dist/docs/components/drawer.yaml +124 -0
- package/dist/docs/components/editor-layer.yaml +59 -0
- package/dist/docs/components/editor.yaml +168 -0
- package/dist/docs/components/feed.yaml +72 -0
- package/dist/docs/components/field.yaml +145 -0
- package/dist/docs/components/graph-layer.yaml +41 -0
- package/dist/docs/components/graph-node.yaml +58 -0
- package/dist/docs/components/graph-noodle.yaml +103 -0
- package/dist/docs/components/graph-port.yaml +71 -0
- package/dist/docs/components/graph-ui.yaml +64 -0
- package/dist/docs/components/gripper.yaml +55 -0
- package/dist/docs/components/icon.yaml +133 -0
- package/dist/docs/components/index.yaml +320 -0
- package/dist/docs/components/input-otp.yaml +59 -0
- package/dist/docs/components/input.yaml +289 -0
- package/dist/docs/components/noodles.yaml +184 -0
- package/dist/docs/components/optgroup.yaml +38 -0
- package/dist/docs/components/option.yaml +56 -0
- package/dist/docs/components/page-context.yaml +55 -0
- package/dist/docs/components/page-main.yaml +39 -0
- package/dist/docs/components/page.yaml +36 -0
- package/dist/docs/components/pagination.yaml +46 -0
- package/dist/docs/components/pane.yaml +102 -0
- package/dist/docs/components/panes.yaml +82 -0
- package/dist/docs/components/preview-app.yaml +170 -0
- package/dist/docs/components/radio-group.yaml +108 -0
- package/dist/docs/components/radio.yaml +132 -0
- package/dist/docs/components/range.yaml +97 -0
- package/dist/docs/components/root.yaml +18 -0
- package/dist/docs/components/segment.yaml +41 -0
- package/dist/docs/components/segmented-control.yaml +52 -0
- package/dist/docs/components/select.yaml +241 -0
- package/dist/docs/components/sidebar-content.yaml +32 -0
- package/dist/docs/components/sidebar-footer.yaml +28 -0
- package/dist/docs/components/sidebar-header.yaml +28 -0
- package/dist/docs/components/sidebar.yaml +133 -0
- package/dist/docs/components/switch.yaml +131 -0
- package/dist/docs/components/tab-panel.yaml +41 -0
- package/dist/docs/components/tab.yaml +51 -0
- package/dist/docs/components/table-body.yaml +11 -0
- package/dist/docs/components/table-cell.yaml +11 -0
- package/dist/docs/components/table-column.yaml +76 -0
- package/dist/docs/components/table-head.yaml +11 -0
- package/dist/docs/components/table-header.yaml +11 -0
- package/dist/docs/components/table-row.yaml +11 -0
- package/dist/docs/components/table.yaml +219 -0
- package/dist/docs/components/tabs.yaml +61 -0
- package/dist/docs/components/textarea.yaml +196 -0
- package/dist/docs/components/toast.yaml +62 -0
- package/dist/docs/components/tooltip.yaml +98 -0
- package/dist/docs/components/tree-item.yaml +46 -0
- package/dist/docs/components/tree.yaml +27 -0
- package/dist/docs/traits/auto-dismiss.yaml +23 -0
- package/dist/docs/traits/backtick-wrap.yaml +22 -0
- package/dist/docs/traits/clipboard.yaml +31 -0
- package/dist/docs/traits/collapsible.yaml +23 -0
- package/dist/docs/traits/confetti.yaml +37 -0
- package/dist/docs/traits/copy.yaml +27 -0
- package/dist/docs/traits/css-inspect.yaml +46 -0
- package/dist/docs/traits/dismiss.yaml +23 -0
- package/dist/docs/traits/drag.yaml +88 -0
- package/dist/docs/traits/drop-zone.yaml +37 -0
- package/dist/docs/traits/edit.yaml +39 -0
- package/dist/docs/traits/flip.yaml +40 -0
- package/dist/docs/traits/gateway.yaml +33 -0
- package/dist/docs/traits/hover.yaml +39 -0
- package/dist/docs/traits/intersect.yaml +42 -0
- package/dist/docs/traits/link-paste.yaml +28 -0
- package/dist/docs/traits/linked-scroll.yaml +37 -0
- package/dist/docs/traits/list-navigate.yaml +46 -0
- package/dist/docs/traits/magnet.yaml +33 -0
- package/dist/docs/traits/mention.yaml +40 -0
- package/dist/docs/traits/modal.yaml +28 -0
- package/dist/docs/traits/noodle.yaml +45 -0
- package/dist/docs/traits/overlay.yaml +58 -0
- package/dist/docs/traits/pan-zoom.yaml +47 -0
- package/dist/docs/traits/parallax.yaml +36 -0
- package/dist/docs/traits/persist.yaml +42 -0
- package/dist/docs/traits/popover.yaml +28 -0
- package/dist/docs/traits/present.yaml +42 -0
- package/dist/docs/traits/press-hold.yaml +34 -0
- package/dist/docs/traits/range-select.yaml +42 -0
- package/dist/docs/traits/resize.yaml +39 -0
- package/dist/docs/traits/ripple.yaml +20 -0
- package/dist/docs/traits/roving-focus.yaml +30 -0
- package/dist/docs/traits/search.yaml +44 -0
- package/dist/docs/traits/selection.yaml +41 -0
- package/dist/docs/traits/shortcut.yaml +25 -0
- package/dist/docs/traits/slash-command.yaml +40 -0
- package/dist/docs/traits/snap-resize.yaml +39 -0
- package/dist/docs/traits/sort.yaml +47 -0
- package/dist/docs/traits/store.yaml +32 -0
- package/dist/docs/traits/swipe.yaml +38 -0
- package/dist/docs/traits/text-trigger.yaml +35 -0
- package/dist/docs/traits/toast.yaml +41 -0
- package/dist/docs/traits/toggle-scheme.yaml +40 -0
- package/dist/docs/traits/toggle-state.yaml +23 -0
- package/dist/docs/traits/tooltip.yaml +39 -0
- package/dist/docs/traits/toss.yaml +40 -0
- package/dist/docs/traits/trap-focus.yaml +20 -0
- package/dist/docs/traits/validate.yaml +52 -0
- package/dist/docs/traits/virtual-scroll.yaml +44 -0
- package/package.json +4 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: status-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Centered confirmation or alert card with icon and CTA.
|
|
4
|
+
description: >
|
|
5
|
+
A card surface for status messages — confirmations, success states,
|
|
6
|
+
or error alerts. Centered layout with icon, heading, description,
|
|
7
|
+
and a primary call-to-action. Uses intent to set the color family.
|
|
8
|
+
|
|
9
|
+
components: [aui-container, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-button]
|
|
10
|
+
kind: card
|
|
11
|
+
|
|
12
|
+
examples:
|
|
13
|
+
- html: |
|
|
14
|
+
<aui-container kind="card" bordered shadow="2" success max-width="md">
|
|
15
|
+
<aui-inset>
|
|
16
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
17
|
+
<aui-icon name="check-circle" size="2xl"></aui-icon>
|
|
18
|
+
<aui-heading size="xl">Payment Successful</aui-heading>
|
|
19
|
+
<aui-text muted>Your subscription has been renewed. You'll receive a confirmation email shortly.</aui-text>
|
|
20
|
+
<aui-button primary width="full">Go to Dashboard</aui-button>
|
|
21
|
+
</aui-stack>
|
|
22
|
+
</aui-inset>
|
|
23
|
+
</aui-container>
|
|
24
|
+
description: Success confirmation after payment.
|
|
25
|
+
|
|
26
|
+
- html: |
|
|
27
|
+
<aui-container kind="card" bordered shadow="2" danger max-width="md">
|
|
28
|
+
<aui-inset>
|
|
29
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
30
|
+
<aui-icon name="warning-circle" size="2xl"></aui-icon>
|
|
31
|
+
<aui-heading size="xl">Something went wrong</aui-heading>
|
|
32
|
+
<aui-text muted>We couldn't process your request. Please try again or contact support if the issue persists.</aui-text>
|
|
33
|
+
<aui-stack direction="row" gap="2" width="full">
|
|
34
|
+
<aui-button outline width="full">Contact Support</aui-button>
|
|
35
|
+
<aui-button primary width="full">Try Again</aui-button>
|
|
36
|
+
</aui-stack>
|
|
37
|
+
</aui-stack>
|
|
38
|
+
</aui-inset>
|
|
39
|
+
</aui-container>
|
|
40
|
+
description: Error state with retry and support actions.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
name: suggested-labs
|
|
2
|
+
type: block
|
|
3
|
+
summary: Lab order card with categorized tests and routing actions.
|
|
4
|
+
description: >
|
|
5
|
+
A clinical decision-support card listing suggested laboratory tests.
|
|
6
|
+
Each row shows the test panel name, a brief rationale, and a condition
|
|
7
|
+
badge. A primary action routes the order to the assigned physician,
|
|
8
|
+
with secondary actions for drafting or staging.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-badge, aui-button, aui-divider]
|
|
11
|
+
kind: card
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="card" bordered max-width="lg">
|
|
16
|
+
<aui-header>
|
|
17
|
+
<span slot="leading">
|
|
18
|
+
<aui-stack gap="1">
|
|
19
|
+
<aui-heading size="lg">Suggested Labs</aui-heading>
|
|
20
|
+
<aui-text muted size="sm">Based on your symptoms and family history</aui-text>
|
|
21
|
+
</aui-stack>
|
|
22
|
+
</span>
|
|
23
|
+
</aui-header>
|
|
24
|
+
<aui-content>
|
|
25
|
+
<aui-inset>
|
|
26
|
+
<aui-stack gap="3">
|
|
27
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
28
|
+
<aui-stack gap="1" spacer>
|
|
29
|
+
<aui-heading size="md">RF + Anti-CCP</aui-heading>
|
|
30
|
+
<aui-text muted size="sm">Rheumatoid Arthritis markers</aui-text>
|
|
31
|
+
</aui-stack>
|
|
32
|
+
<aui-badge accent>RA</aui-badge>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
<aui-divider></aui-divider>
|
|
35
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
36
|
+
<aui-stack gap="1" spacer>
|
|
37
|
+
<aui-heading size="md">ESR + CRP</aui-heading>
|
|
38
|
+
<aui-text muted size="sm">Inflammation levels</aui-text>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
<aui-badge accent>RA / Lupus</aui-badge>
|
|
41
|
+
</aui-stack>
|
|
42
|
+
<aui-divider></aui-divider>
|
|
43
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
44
|
+
<aui-stack gap="1" spacer>
|
|
45
|
+
<aui-heading size="md">TSH + Free T4</aui-heading>
|
|
46
|
+
<aui-text muted size="sm">Thyroid function</aui-text>
|
|
47
|
+
</aui-stack>
|
|
48
|
+
<aui-badge accent>Hypothyroidism</aui-badge>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
<aui-divider></aui-divider>
|
|
51
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
52
|
+
<aui-stack gap="1" spacer>
|
|
53
|
+
<aui-heading size="md">ANA</aui-heading>
|
|
54
|
+
<aui-text muted size="sm">Autoimmune screen</aui-text>
|
|
55
|
+
</aui-stack>
|
|
56
|
+
<aui-badge accent>Lupus</aui-badge>
|
|
57
|
+
</aui-stack>
|
|
58
|
+
<aui-divider></aui-divider>
|
|
59
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
60
|
+
<aui-stack gap="1" spacer>
|
|
61
|
+
<aui-heading size="md">CBC + Ferritin</aui-heading>
|
|
62
|
+
<aui-text muted size="sm">Anemia workup</aui-text>
|
|
63
|
+
</aui-stack>
|
|
64
|
+
<aui-badge accent>Iron Deficiency</aui-badge>
|
|
65
|
+
</aui-stack>
|
|
66
|
+
</aui-stack>
|
|
67
|
+
</aui-inset>
|
|
68
|
+
</aui-content>
|
|
69
|
+
<aui-footer>
|
|
70
|
+
<aui-stack gap="2">
|
|
71
|
+
<aui-button primary width="full">Order Now — Route to Dr. Martinez</aui-button>
|
|
72
|
+
<aui-stack direction="row" gap="2">
|
|
73
|
+
<aui-button scrim grow="1">Add to Draft Order</aui-button>
|
|
74
|
+
<aui-button scrim grow="1">Build Draft for Doctor</aui-button>
|
|
75
|
+
</aui-stack>
|
|
76
|
+
</aui-stack>
|
|
77
|
+
</aui-footer>
|
|
78
|
+
</aui-container>
|
|
79
|
+
description: Suggested lab panel card with condition badges and physician routing actions.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
name: supply-chain
|
|
2
|
+
type: block
|
|
3
|
+
summary: Supply Chain Network — 12 nodes, 13 connections.
|
|
4
|
+
description: >
|
|
5
|
+
Visual graph block rendered from the Supply Chain Network dataset using
|
|
6
|
+
aui-graph components with port-selector noodle connections.
|
|
7
|
+
components: [aui-container, aui-text, aui-graph-ui, aui-graph-layer, aui-graph-node, aui-graph-noodle, aui-graph-port]
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: survey-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Survey question card with checkbox options and submit action.
|
|
4
|
+
description: >
|
|
5
|
+
A card presenting a multiple-choice survey question. Each option is
|
|
6
|
+
a labeled checkbox that users can toggle. Includes a submit button
|
|
7
|
+
so the card feels complete and actionable — not just a floating
|
|
8
|
+
question. Useful for onboarding flows, feedback, or preference selection.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-field, aui-checkbox, aui-button]
|
|
11
|
+
kind: card
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="card" bordered max-width="prose" style="min-width: 22rem;">
|
|
16
|
+
<aui-header>
|
|
17
|
+
<span slot="leading">
|
|
18
|
+
<aui-stack gap="1">
|
|
19
|
+
<aui-heading size="lg">How did you hear about us?</aui-heading>
|
|
20
|
+
<aui-text muted size="sm">Select all that apply.</aui-text>
|
|
21
|
+
</aui-stack>
|
|
22
|
+
</span>
|
|
23
|
+
</aui-header>
|
|
24
|
+
<aui-content>
|
|
25
|
+
<aui-inset>
|
|
26
|
+
<aui-stack gap="3">
|
|
27
|
+
<aui-field>
|
|
28
|
+
<aui-checkbox>Social Media</aui-checkbox>
|
|
29
|
+
</aui-field>
|
|
30
|
+
<aui-field>
|
|
31
|
+
<aui-checkbox>Search Engine</aui-checkbox>
|
|
32
|
+
</aui-field>
|
|
33
|
+
<aui-field>
|
|
34
|
+
<aui-checkbox>Friend or Colleague</aui-checkbox>
|
|
35
|
+
</aui-field>
|
|
36
|
+
<aui-field>
|
|
37
|
+
<aui-checkbox>Blog or Article</aui-checkbox>
|
|
38
|
+
</aui-field>
|
|
39
|
+
<aui-field>
|
|
40
|
+
<aui-checkbox>Other</aui-checkbox>
|
|
41
|
+
</aui-field>
|
|
42
|
+
</aui-stack>
|
|
43
|
+
</aui-inset>
|
|
44
|
+
</aui-content>
|
|
45
|
+
<aui-footer>
|
|
46
|
+
<aui-stack direction="row" gap="2">
|
|
47
|
+
<aui-button scrim grow="1">Skip</aui-button>
|
|
48
|
+
<aui-button primary grow="1">Continue</aui-button>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
</aui-footer>
|
|
51
|
+
</aui-container>
|
|
52
|
+
description: Survey with checkbox options, header/content/footer structure, and skip/continue actions.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: tabbed-panel
|
|
2
|
+
type: block
|
|
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
|
+
tabs with header actions and distinct empty/content states per tab. Use for
|
|
7
|
+
settings panels, repository browsers, or any dual-view UI.
|
|
8
|
+
|
|
9
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-button, aui-segmented-control, aui-segment]
|
|
10
|
+
kind: card
|
|
11
|
+
|
|
12
|
+
examples:
|
|
13
|
+
- html: |
|
|
14
|
+
<aui-container kind="card" bordered max-width="md">
|
|
15
|
+
<aui-header>
|
|
16
|
+
<span slot="content">
|
|
17
|
+
<aui-segmented-control value="codespaces">
|
|
18
|
+
<aui-segment value="codespaces">Codespaces</aui-segment>
|
|
19
|
+
<aui-segment value="local">Local</aui-segment>
|
|
20
|
+
</aui-segmented-control>
|
|
21
|
+
</span>
|
|
22
|
+
</aui-header>
|
|
23
|
+
<aui-header>
|
|
24
|
+
<span slot="leading">
|
|
25
|
+
<aui-stack gap="1">
|
|
26
|
+
<aui-heading size="md">Codespaces</aui-heading>
|
|
27
|
+
<aui-text muted size="sm">Your workspaces in the cloud</aui-text>
|
|
28
|
+
</aui-stack>
|
|
29
|
+
</span>
|
|
30
|
+
<span slot="trailing">
|
|
31
|
+
<aui-button label="Add" icon-leading="plus" scrim hide-label></aui-button>
|
|
32
|
+
</span>
|
|
33
|
+
</aui-header>
|
|
34
|
+
<aui-content>
|
|
35
|
+
<aui-inset>
|
|
36
|
+
<aui-stack gap="6" align-items="center" text="center" style="padding: 1.5rem 0;">
|
|
37
|
+
<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
|
+
<aui-icon name="gear" style="--aui-icon-size: 3rem;" muted></aui-icon>
|
|
39
|
+
</div>
|
|
40
|
+
<aui-stack gap="1">
|
|
41
|
+
<aui-heading size="md">No codespaces</aui-heading>
|
|
42
|
+
<aui-text muted size="sm">You don't have any codespaces with this repository checked out</aui-text>
|
|
43
|
+
</aui-stack>
|
|
44
|
+
<aui-button primary accent>Create Codespace</aui-button>
|
|
45
|
+
<aui-text muted size="xs"><a href="#">Learn more about codespaces</a></aui-text>
|
|
46
|
+
</aui-stack>
|
|
47
|
+
</aui-inset>
|
|
48
|
+
</aui-content>
|
|
49
|
+
<aui-footer>
|
|
50
|
+
<span slot="content"><aui-text muted size="xs">Codespace usage for this repository is paid for by <strong>AgentOS</strong>.</aui-text></span>
|
|
51
|
+
</aui-footer>
|
|
52
|
+
</aui-container>
|
|
53
|
+
description: Codespaces panel with tab selector and empty state.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: team-empty
|
|
2
|
+
type: block
|
|
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
|
+
yet. Features a large user icon in a contained avatar, a clear
|
|
7
|
+
heading, helpful description, and an invite action button. Simpler
|
|
8
|
+
than the generic empty-state block — purpose-built for team contexts.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-inset, aui-stack, aui-heading, aui-text, aui-avatar, aui-icon, aui-button]
|
|
11
|
+
kind: card
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="card" bordered max-width="prose">
|
|
16
|
+
<aui-inset>
|
|
17
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
18
|
+
<aui-avatar size="xl" square><aui-icon name="user"></aui-icon></aui-avatar>
|
|
19
|
+
<aui-stack gap="1">
|
|
20
|
+
<aui-heading size="lg">No Team Members</aui-heading>
|
|
21
|
+
<aui-text muted size="sm">Invite your team to collaborate on this project.</aui-text>
|
|
22
|
+
</aui-stack>
|
|
23
|
+
<aui-button primary accent>Invite Members</aui-button>
|
|
24
|
+
</aui-stack>
|
|
25
|
+
</aui-inset>
|
|
26
|
+
</aui-container>
|
|
27
|
+
description: Team empty state with icon, heading, description, and invite button.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
name: usage-billing
|
|
2
|
+
type: block
|
|
3
|
+
summary: Billing usage panel with SVG progress rings and cost breakdown.
|
|
4
|
+
description: >
|
|
5
|
+
A card showing current billing cycle usage broken down by service line item.
|
|
6
|
+
Each row has a circular SVG progress ring showing utilization, a service
|
|
7
|
+
name, and a cost or usage/limit value. Rings use stroke-dashoffset to render
|
|
8
|
+
accurate fill levels. Use for billing dashboards, plan overviews, or
|
|
9
|
+
resource monitoring.
|
|
10
|
+
|
|
11
|
+
components: [aui-container, aui-header, aui-content, aui-inset, aui-stack, aui-heading, aui-text, aui-divider]
|
|
12
|
+
kind: card
|
|
13
|
+
|
|
14
|
+
examples:
|
|
15
|
+
- html: |
|
|
16
|
+
<aui-container kind="card" bordered max-width="sm">
|
|
17
|
+
<aui-header>
|
|
18
|
+
<span slot="content"><aui-text muted size="sm">5 days remaining in cycle</aui-text></span>
|
|
19
|
+
</aui-header>
|
|
20
|
+
<aui-content>
|
|
21
|
+
<aui-inset>
|
|
22
|
+
<aui-stack gap="0">
|
|
23
|
+
|
|
24
|
+
<!-- Edge Requests: 91% -->
|
|
25
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
26
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
27
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
28
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-1);" stroke-width="2"
|
|
29
|
+
stroke-dasharray="50.3" stroke-dashoffset="4.5" stroke-linecap="round"/>
|
|
30
|
+
</svg>
|
|
31
|
+
<aui-text size="sm" spacer>Edge Requests</aui-text>
|
|
32
|
+
<aui-text size="sm" weight="medium">$1.83K</aui-text>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
<aui-divider></aui-divider>
|
|
35
|
+
|
|
36
|
+
<!-- Fast Data Transfer: 73% -->
|
|
37
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
38
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
39
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
40
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-2);" stroke-width="2"
|
|
41
|
+
stroke-dasharray="50.3" stroke-dashoffset="13.6" stroke-linecap="round"/>
|
|
42
|
+
</svg>
|
|
43
|
+
<aui-text size="sm" spacer>Fast Data Transfer</aui-text>
|
|
44
|
+
<aui-text size="sm" weight="medium">$952.51</aui-text>
|
|
45
|
+
</aui-stack>
|
|
46
|
+
<aui-divider></aui-divider>
|
|
47
|
+
|
|
48
|
+
<!-- Monitoring Data Points: 58% -->
|
|
49
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
50
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
51
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
52
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-3);" stroke-width="2"
|
|
53
|
+
stroke-dasharray="50.3" stroke-dashoffset="21.1" stroke-linecap="round"/>
|
|
54
|
+
</svg>
|
|
55
|
+
<aui-text size="sm" spacer>Monitoring Data Points</aui-text>
|
|
56
|
+
<aui-text size="sm" weight="medium">$901.20</aui-text>
|
|
57
|
+
</aui-stack>
|
|
58
|
+
<aui-divider></aui-divider>
|
|
59
|
+
|
|
60
|
+
<!-- Web Analytics Events: 42% -->
|
|
61
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
62
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
63
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
64
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-4);" stroke-width="2"
|
|
65
|
+
stroke-dasharray="50.3" stroke-dashoffset="29.2" stroke-linecap="round"/>
|
|
66
|
+
</svg>
|
|
67
|
+
<aui-text size="sm" spacer>Web Analytics Events</aui-text>
|
|
68
|
+
<aui-text size="sm" weight="medium">$603.71</aui-text>
|
|
69
|
+
</aui-stack>
|
|
70
|
+
<aui-divider></aui-divider>
|
|
71
|
+
|
|
72
|
+
<!-- ISR Writes: 26% (524K / 2M) -->
|
|
73
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
74
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
75
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
76
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-5);" stroke-width="2"
|
|
77
|
+
stroke-dasharray="50.3" stroke-dashoffset="37.2" stroke-linecap="round"/>
|
|
78
|
+
</svg>
|
|
79
|
+
<aui-text size="sm" spacer>ISR Writes</aui-text>
|
|
80
|
+
<aui-text muted size="sm">524.52K / 2M</aui-text>
|
|
81
|
+
</aui-stack>
|
|
82
|
+
<aui-divider></aui-divider>
|
|
83
|
+
|
|
84
|
+
<!-- Function Duration: 0.5% (5.11 / 1K GB Hrs) -->
|
|
85
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.625rem 0;">
|
|
86
|
+
<svg width="20" height="20" viewBox="0 0 20 20" style="flex-shrink: 0;" transform="rotate(-90)">
|
|
87
|
+
<circle cx="10" cy="10" r="8" fill="none" stroke="var(--aui-border-muted)" stroke-width="2"/>
|
|
88
|
+
<circle cx="10" cy="10" r="8" fill="none" style="stroke: var(--aui-chart-6);" stroke-width="2"
|
|
89
|
+
stroke-dasharray="50.3" stroke-dashoffset="50" stroke-linecap="round"/>
|
|
90
|
+
</svg>
|
|
91
|
+
<aui-text size="sm" spacer>Function Duration</aui-text>
|
|
92
|
+
<aui-text muted size="sm">5.11 GB Hrs / 1K GB Hrs</aui-text>
|
|
93
|
+
</aui-stack>
|
|
94
|
+
|
|
95
|
+
</aui-stack>
|
|
96
|
+
</aui-inset>
|
|
97
|
+
</aui-content>
|
|
98
|
+
</aui-container>
|
|
99
|
+
description: Six billing line items with SVG progress rings at varied fill levels across the color spectrum.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: aui-accordion-item
|
|
2
|
+
tag: aui-accordion-item
|
|
3
|
+
type: component
|
|
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
|
+
|
|
10
|
+
base: AgentElement
|
|
11
|
+
|
|
12
|
+
attributes:
|
|
13
|
+
open:
|
|
14
|
+
syntax: boolean
|
|
15
|
+
type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
description: Whether the content is expanded.
|
|
18
|
+
|
|
19
|
+
disabled:
|
|
20
|
+
syntax: boolean
|
|
21
|
+
type: boolean
|
|
22
|
+
default: false
|
|
23
|
+
description: Prevents toggling.
|
|
24
|
+
|
|
25
|
+
a11y:
|
|
26
|
+
role: Uses native details/summary semantics.
|
|
27
|
+
keyboard:
|
|
28
|
+
Enter: Toggle open/closed.
|
|
29
|
+
Space: Toggle open/closed.
|
|
30
|
+
|
|
31
|
+
events:
|
|
32
|
+
toggle:
|
|
33
|
+
description: Fired when open state changes. detail.open is the new state.
|
|
34
|
+
|
|
35
|
+
composition:
|
|
36
|
+
parents: [aui-accordion, any]
|
|
37
|
+
children: [any]
|
|
38
|
+
|
|
39
|
+
examples:
|
|
40
|
+
- html: |
|
|
41
|
+
<aui-accordion-item>
|
|
42
|
+
<span data-trigger>Section Title</span>
|
|
43
|
+
<p>Collapsible content here.</p>
|
|
44
|
+
</aui-accordion-item>
|
|
45
|
+
description: Single collapsible section.
|
|
46
|
+
|
|
47
|
+
- html: |
|
|
48
|
+
<aui-accordion-item open>
|
|
49
|
+
<span data-trigger>Initially Open</span>
|
|
50
|
+
<p>This section starts expanded.</p>
|
|
51
|
+
</aui-accordion-item>
|
|
52
|
+
description: Pre-opened section.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
name: aui-accordion
|
|
2
|
+
tag: aui-accordion
|
|
3
|
+
type: component
|
|
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
|
+
|
|
9
|
+
base: AgentElement
|
|
10
|
+
|
|
11
|
+
attributes:
|
|
12
|
+
multiple:
|
|
13
|
+
syntax: boolean
|
|
14
|
+
type: boolean
|
|
15
|
+
default: false
|
|
16
|
+
description: Allow multiple items open simultaneously.
|
|
17
|
+
|
|
18
|
+
caret:
|
|
19
|
+
syntax: key-value
|
|
20
|
+
type: enum
|
|
21
|
+
values: [leading, trailing]
|
|
22
|
+
default: leading
|
|
23
|
+
description: >
|
|
24
|
+
Position of the expand/collapse chevron.
|
|
25
|
+
Leading places it before the label, trailing after.
|
|
26
|
+
|
|
27
|
+
composition:
|
|
28
|
+
parents: [any]
|
|
29
|
+
children: [aui-accordion-item]
|
|
30
|
+
|
|
31
|
+
examples:
|
|
32
|
+
- html: |
|
|
33
|
+
<aui-accordion>
|
|
34
|
+
<aui-accordion-item>
|
|
35
|
+
<span data-trigger>Section 1</span>
|
|
36
|
+
<p>Content 1</p>
|
|
37
|
+
</aui-accordion-item>
|
|
38
|
+
<aui-accordion-item>
|
|
39
|
+
<span data-trigger>Section 2</span>
|
|
40
|
+
<p>Content 2</p>
|
|
41
|
+
</aui-accordion-item>
|
|
42
|
+
</aui-accordion>
|
|
43
|
+
description: Single-open accordion.
|
|
44
|
+
|
|
45
|
+
- html: |
|
|
46
|
+
<aui-accordion multiple>
|
|
47
|
+
<aui-accordion-item open>
|
|
48
|
+
<span data-trigger>FAQ 1</span>
|
|
49
|
+
<p>Answer 1</p>
|
|
50
|
+
</aui-accordion-item>
|
|
51
|
+
<aui-accordion-item open>
|
|
52
|
+
<span data-trigger>FAQ 2</span>
|
|
53
|
+
<p>Answer 2</p>
|
|
54
|
+
</aui-accordion-item>
|
|
55
|
+
</aui-accordion>
|
|
56
|
+
description: Multiple-open accordion.
|
|
57
|
+
|
|
58
|
+
- html: |
|
|
59
|
+
<aui-accordion caret="trailing">
|
|
60
|
+
<aui-accordion-item open>
|
|
61
|
+
<span data-trigger>Trailing caret</span>
|
|
62
|
+
<p>Chevron on the right side.</p>
|
|
63
|
+
</aui-accordion-item>
|
|
64
|
+
<aui-accordion-item>
|
|
65
|
+
<span data-trigger>Another section</span>
|
|
66
|
+
<p>More content here.</p>
|
|
67
|
+
</aui-accordion-item>
|
|
68
|
+
</aui-accordion>
|
|
69
|
+
description: Trailing caret position.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
name: aui-agent-activity
|
|
2
|
+
tag: aui-agent-activity
|
|
3
|
+
type: component
|
|
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
|
+
|
|
10
|
+
base: AgentElement
|
|
11
|
+
|
|
12
|
+
attributes:
|
|
13
|
+
type:
|
|
14
|
+
syntax: key-value
|
|
15
|
+
type: string
|
|
16
|
+
default: typing
|
|
17
|
+
description: Activity type — typing, thinking, or tool-use.
|
|
18
|
+
|
|
19
|
+
label:
|
|
20
|
+
syntax: key-value
|
|
21
|
+
type: string
|
|
22
|
+
default: ""
|
|
23
|
+
description: Custom label text (overrides default per-type label).
|
|
24
|
+
|
|
25
|
+
active:
|
|
26
|
+
syntax: boolean
|
|
27
|
+
type: boolean
|
|
28
|
+
default: false
|
|
29
|
+
description: Currently streaming / in progress.
|
|
30
|
+
|
|
31
|
+
expandable:
|
|
32
|
+
syntax: boolean
|
|
33
|
+
type: boolean
|
|
34
|
+
default: false
|
|
35
|
+
description: Allow click to expand trace content.
|
|
36
|
+
|
|
37
|
+
expanded:
|
|
38
|
+
syntax: boolean
|
|
39
|
+
type: boolean
|
|
40
|
+
default: false
|
|
41
|
+
description: Whether trace content is visible.
|
|
42
|
+
|
|
43
|
+
events:
|
|
44
|
+
aui:activity-toggle:
|
|
45
|
+
description: >
|
|
46
|
+
Fired when trace is expanded/collapsed.
|
|
47
|
+
detail contains expanded boolean.
|
|
48
|
+
|
|
49
|
+
composition:
|
|
50
|
+
parents: [aui-agent-message]
|
|
51
|
+
children: [pre, div, any]
|
|
52
|
+
|
|
53
|
+
examples:
|
|
54
|
+
- html: |
|
|
55
|
+
<aui-agent-activity type="typing" active></aui-agent-activity>
|
|
56
|
+
description: Typing indicator — animated dots signaling the assistant is composing a response.
|
|
57
|
+
|
|
58
|
+
- html: |
|
|
59
|
+
<aui-agent-activity type="thinking" active label="Reasoning"></aui-agent-activity>
|
|
60
|
+
description: Thinking indicator with custom label and elapsed timer — used during extended reasoning or chain-of-thought processing.
|
|
61
|
+
|
|
62
|
+
- html: |
|
|
63
|
+
<aui-agent-activity type="thinking" expandable expanded>
|
|
64
|
+
<div data-role="trace">
|
|
65
|
+
<aui-text muted size="sm">The user is asking about onboarding drop-off. I should consider:</aui-text>
|
|
66
|
+
<aui-text muted size="sm">1. Funnel analysis — where exactly are users leaving?</aui-text>
|
|
67
|
+
<aui-text muted size="sm">2. Session recordings — qualitative signals</aui-text>
|
|
68
|
+
<aui-text muted size="sm">3. Survey data — self-reported friction points</aui-text>
|
|
69
|
+
<aui-text muted size="sm">Let me structure a response around these three data sources.</aui-text>
|
|
70
|
+
</div>
|
|
71
|
+
</aui-agent-activity>
|
|
72
|
+
description: Expandable reasoning trace — completed thinking step with visible chain-of-thought. Click toggles the trace content open/closed.
|
|
73
|
+
|
|
74
|
+
- html: |
|
|
75
|
+
<aui-agent-activity type="tool-use" active label="Searching codebase" expandable>
|
|
76
|
+
<pre>search_files("auth middleware", include=["*.ts", "*.tsx"])
|
|
77
|
+
→ Found 12 matches in 5 files</pre>
|
|
78
|
+
</aui-agent-activity>
|
|
79
|
+
description: Tool-use activity with live trace — shows the tool call and partial results while the operation is in progress.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
name: aui-agent-feed
|
|
2
|
+
tag: aui-agent-feed
|
|
3
|
+
type: component
|
|
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
|
+
|
|
10
|
+
base: AgentElement
|
|
11
|
+
|
|
12
|
+
attributes:
|
|
13
|
+
auto-scroll:
|
|
14
|
+
syntax: boolean
|
|
15
|
+
type: boolean
|
|
16
|
+
default: true
|
|
17
|
+
description: Enable auto-scroll to bottom on new content.
|
|
18
|
+
|
|
19
|
+
scrollable:
|
|
20
|
+
syntax: boolean
|
|
21
|
+
type: boolean
|
|
22
|
+
default: false
|
|
23
|
+
description: Enable scroll container. Remove to delegate scrolling to a parent.
|
|
24
|
+
|
|
25
|
+
a11y:
|
|
26
|
+
role: log
|
|
27
|
+
aria-live: polite
|
|
28
|
+
|
|
29
|
+
events:
|
|
30
|
+
aui:feed-scroll:
|
|
31
|
+
description: >
|
|
32
|
+
Fired when scroll pinned state changes.
|
|
33
|
+
detail contains isPinned and scrollTop.
|
|
34
|
+
|
|
35
|
+
composition:
|
|
36
|
+
parents: [aui-content, aui-pane, div, any]
|
|
37
|
+
children: [aui-agent-thread]
|
|
38
|
+
|
|
39
|
+
examples:
|
|
40
|
+
- html: |
|
|
41
|
+
<aui-agent-feed auto-scroll scrollable style="height: 24rem;">
|
|
42
|
+
<aui-agent-thread role="user" sender="You">
|
|
43
|
+
<aui-agent-message role="user">
|
|
44
|
+
<aui-agent-text format="plain">Can you help me write a Python script that reads a CSV file and groups rows by the "department" column?</aui-agent-text>
|
|
45
|
+
</aui-agent-message>
|
|
46
|
+
</aui-agent-thread>
|
|
47
|
+
<aui-agent-thread role="assistant" sender="Claude">
|
|
48
|
+
<aui-avatar>C</aui-avatar>
|
|
49
|
+
<aui-agent-message role="assistant">
|
|
50
|
+
<aui-agent-text>Sure! Here's a script using `pandas` to group CSV rows by department:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
import pandas as pd
|
|
54
|
+
|
|
55
|
+
df = pd.read_csv("data.csv")
|
|
56
|
+
grouped = df.groupby("department")
|
|
57
|
+
|
|
58
|
+
for name, group in grouped:
|
|
59
|
+
print(f"\n--- {name} ---")
|
|
60
|
+
print(group.to_string(index=False))
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
This reads `data.csv`, groups by the **department** column, and prints each group. Want me to add export to separate files?</aui-agent-text>
|
|
64
|
+
</aui-agent-message>
|
|
65
|
+
</aui-agent-thread>
|
|
66
|
+
</aui-agent-feed>
|
|
67
|
+
description: Chat conversation with a user question and an assistant response containing a code block.
|
|
68
|
+
|
|
69
|
+
- html: |
|
|
70
|
+
<aui-agent-feed auto-scroll scrollable style="height: 20rem;">
|
|
71
|
+
<aui-agent-thread role="user" sender="You">
|
|
72
|
+
<aui-agent-message role="user">
|
|
73
|
+
<aui-agent-text format="plain">What are the key differences between REST and GraphQL?</aui-agent-text>
|
|
74
|
+
</aui-agent-message>
|
|
75
|
+
</aui-agent-thread>
|
|
76
|
+
<aui-agent-thread role="assistant" sender="Claude">
|
|
77
|
+
<aui-avatar>C</aui-avatar>
|
|
78
|
+
<aui-agent-message role="assistant" status="streaming">
|
|
79
|
+
<aui-agent-activity type="thinking" active></aui-agent-activity>
|
|
80
|
+
</aui-agent-message>
|
|
81
|
+
</aui-agent-thread>
|
|
82
|
+
</aui-agent-feed>
|
|
83
|
+
description: Feed with an active thinking indicator — the assistant is processing the user's question.
|