@agent-ui-kit/web-components 0.0.15 → 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 +463 -150
- package/dist/api.tokens.json +3 -3
- package/dist/api.tokens.yaml +3 -3
- package/dist/chunks/{agent-BF_R_HJk.js → agent-XMhz_6OA.js} +27 -22
- package/dist/chunks/{agent-BF_R_HJk.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{meter-Dju8ik6C.js → form-oekEhwja.js} +402 -188
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/editor.js +1 -1
- 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/index.d.ts +2 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components.js +89 -87
- 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 +37 -17
- 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 +18 -12
- 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/agent-activity.yaml +27 -7
- package/dist/docs/components/agent-prompt.yaml +1 -1
- package/dist/docs/components/agent-seeds.yaml +1 -1
- package/dist/docs/components/breadcrumb.yaml +35 -8
- package/dist/docs/components/button.yaml +13 -2
- package/dist/docs/components/calendar-picker.yaml +3 -2
- package/dist/docs/components/chip.yaml +1 -1
- package/dist/docs/components/color-picker.yaml +33 -7
- package/dist/docs/components/color-slider.yaml +7 -7
- package/dist/docs/components/container.yaml +2 -1
- package/dist/docs/components/heading.yaml +4 -0
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input.yaml +10 -9
- package/dist/docs/components/meter.yaml +37 -14
- package/dist/docs/components/nav-item.yaml +7 -7
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +23 -23
- package/dist/docs/components/time-field.yaml +35 -2
- package/dist/element.js +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/register.js +299 -297
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/meter-Dju8ik6C.js.map +0 -1
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
name: suggested-labs
|
|
2
2
|
type: block
|
|
3
3
|
summary: Lab order card with categorized tests and routing actions.
|
|
4
|
-
description:
|
|
5
|
-
A clinical decision-support card listing suggested laboratory tests.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A clinical decision-support card listing suggested laboratory tests. Each row shows the test panel name, a brief rationale, and a condition badge. A primary action routes the order to the assigned physician, with secondary actions in an aui-button-group for drafting or staging.
|
|
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-badge
|
|
16
|
+
- aui-button
|
|
17
|
+
- aui-button-group
|
|
18
|
+
- aui-divider
|
|
11
19
|
kind: card
|
|
12
|
-
|
|
13
20
|
examples:
|
|
14
|
-
-
|
|
21
|
+
- description: Lab order card with categorized tests and routing actions.
|
|
22
|
+
html: |-
|
|
15
23
|
<aui-container kind="card" bordered max-width="lg">
|
|
16
24
|
<aui-header>
|
|
17
25
|
<span slot="leading">
|
|
@@ -67,13 +75,12 @@ examples:
|
|
|
67
75
|
</aui-inset>
|
|
68
76
|
</aui-content>
|
|
69
77
|
<aui-footer>
|
|
70
|
-
<aui-stack gap="
|
|
78
|
+
<aui-stack gap="4">
|
|
71
79
|
<aui-button primary width="full">Order Now — Route to Dr. Martinez</aui-button>
|
|
72
80
|
<aui-button-group>
|
|
73
|
-
<aui-button scrim grow="1">Add to Draft Order</aui-button>
|
|
74
|
-
<aui-button scrim grow="1">Build Draft for Doctor</aui-button>
|
|
81
|
+
<aui-button scrim grow="1" basis="0">Add to Draft Order</aui-button>
|
|
82
|
+
<aui-button scrim grow="1" basis="0">Build Draft for Doctor</aui-button>
|
|
75
83
|
</aui-button-group>
|
|
76
84
|
</aui-stack>
|
|
77
85
|
</aui-footer>
|
|
78
86
|
</aui-container>
|
|
79
|
-
description: Suggested lab panel card with condition badges and physician routing actions.
|
|
@@ -1,7 +1,163 @@
|
|
|
1
1
|
name: supply-chain
|
|
2
2
|
type: block
|
|
3
3
|
summary: Supply Chain Network — 12 nodes, 13 connections.
|
|
4
|
-
description:
|
|
5
|
-
Visual graph block rendered from the Supply Chain Network dataset using
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
description: |
|
|
5
|
+
Visual graph block rendered from the Supply Chain Network dataset using aui-graph components with port-selector noodle connections.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-text
|
|
9
|
+
- aui-graph-ui
|
|
10
|
+
- aui-graph-layer
|
|
11
|
+
- aui-graph-node
|
|
12
|
+
- aui-graph-noodle
|
|
13
|
+
- aui-graph-port
|
|
14
|
+
examples:
|
|
15
|
+
- description: Supply Chain Network — 12 nodes, 13 connections.
|
|
16
|
+
html: |-
|
|
17
|
+
<aui-graph-ui connectable style="width: 100%; height: 37.25rem; min-width: 71.125rem;">
|
|
18
|
+
<aui-graph-layer name="wires" type="svg">
|
|
19
|
+
<!-- Raw Material Supplier → Assembly Line -->
|
|
20
|
+
<aui-graph-noodle from="sc-raw:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
21
|
+
<!-- Component Supplier A → Assembly Line -->
|
|
22
|
+
<aui-graph-noodle from="sc-comp-a:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
23
|
+
<!-- Component Supplier B → Assembly Line -->
|
|
24
|
+
<aui-graph-noodle from="sc-comp-b:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
25
|
+
<!-- Assembly Line → Quality Control -->
|
|
26
|
+
<aui-graph-noodle from="sc-assembly:right" to="sc-qc:left" color="accent" weight="2"></aui-graph-noodle>
|
|
27
|
+
<!-- Quality Control → Inventory Buffer -->
|
|
28
|
+
<aui-graph-noodle from="sc-qc:right" to="sc-inventory:left" color="accent" weight="2"></aui-graph-noodle>
|
|
29
|
+
<!-- Inventory Buffer → Distribution Hub East -->
|
|
30
|
+
<aui-graph-noodle from="sc-inventory:right" to="sc-hub-east:left" color="accent" weight="2"></aui-graph-noodle>
|
|
31
|
+
<!-- Inventory Buffer → Distribution Hub West -->
|
|
32
|
+
<aui-graph-noodle from="sc-inventory:right" to="sc-hub-west:left" color="accent" weight="2"></aui-graph-noodle>
|
|
33
|
+
<!-- Distribution Hub East → Retail Fulfillment -->
|
|
34
|
+
<aui-graph-noodle from="sc-hub-east:right" to="sc-retail:left" color="accent" weight="2"></aui-graph-noodle>
|
|
35
|
+
<!-- Distribution Hub West → Retail Fulfillment -->
|
|
36
|
+
<aui-graph-noodle from="sc-hub-west:right" to="sc-retail:left" color="accent" weight="2"></aui-graph-noodle>
|
|
37
|
+
<!-- Retail Fulfillment → Returns Processing -->
|
|
38
|
+
<aui-graph-noodle from="sc-retail:right" to="sc-returns:left" color="danger" weight="2"></aui-graph-noodle>
|
|
39
|
+
<!-- Returns Processing → Demand Forecast -->
|
|
40
|
+
<aui-graph-noodle from="sc-returns:right" to="sc-demand:left" color="accent" weight="2"></aui-graph-noodle>
|
|
41
|
+
<!-- Demand Forecast → Procurement Engine -->
|
|
42
|
+
<aui-graph-noodle from="sc-demand:left" to="sc-procurement:right" color="warning" weight="2"></aui-graph-noodle>
|
|
43
|
+
<!-- Procurement Engine → Assembly Line -->
|
|
44
|
+
<aui-graph-noodle from="sc-procurement:left" to="sc-assembly:left" color="warning" weight="2"></aui-graph-noodle>
|
|
45
|
+
</aui-graph-layer>
|
|
46
|
+
<aui-graph-layer name="content">
|
|
47
|
+
<!-- Raw Material Supplier -->
|
|
48
|
+
<aui-graph-node x="24" y="46" node-id="sc-raw">
|
|
49
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
50
|
+
<aui-text weight="medium">Raw Material Supplier</aui-text>
|
|
51
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
52
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
53
|
+
</aui-container>
|
|
54
|
+
</aui-graph-node>
|
|
55
|
+
<!-- Component Supplier A -->
|
|
56
|
+
<aui-graph-node x="24" y="186" node-id="sc-comp-a">
|
|
57
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
58
|
+
<aui-text weight="medium">Component Supplier A</aui-text>
|
|
59
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
60
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
61
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
62
|
+
</aui-container>
|
|
63
|
+
</aui-graph-node>
|
|
64
|
+
<!-- Component Supplier B -->
|
|
65
|
+
<aui-graph-node x="24" y="326" node-id="sc-comp-b">
|
|
66
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
67
|
+
<aui-text weight="medium">Component Supplier B</aui-text>
|
|
68
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
69
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
70
|
+
</aui-container>
|
|
71
|
+
</aui-graph-node>
|
|
72
|
+
<!-- Assembly Line -->
|
|
73
|
+
<aui-graph-node x="240" y="186" node-id="sc-assembly">
|
|
74
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
75
|
+
<aui-text weight="medium">Assembly Line</aui-text>
|
|
76
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
77
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
78
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
79
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
80
|
+
</aui-container>
|
|
81
|
+
</aui-graph-node>
|
|
82
|
+
<!-- Quality Control -->
|
|
83
|
+
<aui-graph-node x="456" y="116" node-id="sc-qc">
|
|
84
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
85
|
+
<aui-text weight="medium">Quality Control</aui-text>
|
|
86
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
87
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
88
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
89
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
90
|
+
</aui-container>
|
|
91
|
+
</aui-graph-node>
|
|
92
|
+
<!-- Inventory Buffer -->
|
|
93
|
+
<aui-graph-node x="456" y="256" node-id="sc-inventory">
|
|
94
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
95
|
+
<aui-text weight="medium">Inventory Buffer</aui-text>
|
|
96
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
97
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
98
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
99
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
100
|
+
</aui-container>
|
|
101
|
+
</aui-graph-node>
|
|
102
|
+
<!-- Distribution Hub East -->
|
|
103
|
+
<aui-graph-node x="672" y="116" node-id="sc-hub-east">
|
|
104
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
105
|
+
<aui-text weight="medium">Distribution Hub East</aui-text>
|
|
106
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
107
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
108
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
109
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
110
|
+
</aui-container>
|
|
111
|
+
</aui-graph-node>
|
|
112
|
+
<!-- Distribution Hub West -->
|
|
113
|
+
<aui-graph-node x="672" y="256" node-id="sc-hub-west">
|
|
114
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
115
|
+
<aui-text weight="medium">Distribution Hub West</aui-text>
|
|
116
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
117
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
118
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
119
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
120
|
+
</aui-container>
|
|
121
|
+
</aui-graph-node>
|
|
122
|
+
<!-- Retail Fulfillment -->
|
|
123
|
+
<aui-graph-node x="888" y="46" node-id="sc-retail">
|
|
124
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
125
|
+
<aui-text weight="medium">Retail Fulfillment</aui-text>
|
|
126
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
127
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
128
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
129
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
130
|
+
</aui-container>
|
|
131
|
+
</aui-graph-node>
|
|
132
|
+
<!-- Returns Processing -->
|
|
133
|
+
<aui-graph-node x="888" y="186" node-id="sc-returns">
|
|
134
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
135
|
+
<aui-text weight="medium">Returns Processing</aui-text>
|
|
136
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
137
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
138
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
139
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
140
|
+
</aui-container>
|
|
141
|
+
</aui-graph-node>
|
|
142
|
+
<!-- Demand Forecast -->
|
|
143
|
+
<aui-graph-node x="888" y="326" node-id="sc-demand">
|
|
144
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
145
|
+
<aui-text weight="medium">Demand Forecast</aui-text>
|
|
146
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
147
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
148
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
149
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
150
|
+
</aui-container>
|
|
151
|
+
</aui-graph-node>
|
|
152
|
+
<!-- Procurement Engine -->
|
|
153
|
+
<aui-graph-node x="240" y="396" node-id="sc-procurement">
|
|
154
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
155
|
+
<aui-text weight="medium">Procurement Engine</aui-text>
|
|
156
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
157
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
158
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
159
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
160
|
+
</aui-container>
|
|
161
|
+
</aui-graph-node>
|
|
162
|
+
</aui-graph-layer>
|
|
163
|
+
</aui-graph-ui>
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
name: survey-card
|
|
2
2
|
type: block
|
|
3
3
|
summary: Survey question card with checkbox options and submit action.
|
|
4
|
-
description:
|
|
5
|
-
A card presenting a multiple-choice survey question. Checkbox options
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card presenting a multiple-choice survey question. Checkbox options are grouped in an aui-fieldset legend="Sources" (borderless) for semantic grouping. Footer uses aui-button-group for skip/continue actions. Useful for onboarding flows, feedback, or preference selection.
|
|
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-field
|
|
16
|
+
- aui-fieldset
|
|
17
|
+
- aui-checkbox
|
|
18
|
+
- aui-button
|
|
19
|
+
- aui-button-group
|
|
11
20
|
kind: card
|
|
12
|
-
|
|
13
21
|
examples:
|
|
14
|
-
-
|
|
15
|
-
|
|
22
|
+
- description: Survey question card with checkbox options and submit action.
|
|
23
|
+
html: |-
|
|
24
|
+
<aui-container kind="card" bordered max-width="prose" min-width="22">
|
|
16
25
|
<aui-header>
|
|
17
26
|
<span slot="leading">
|
|
18
27
|
<aui-stack gap="1">
|
|
@@ -44,9 +53,8 @@ examples:
|
|
|
44
53
|
</aui-content>
|
|
45
54
|
<aui-footer>
|
|
46
55
|
<aui-button-group>
|
|
47
|
-
<aui-button
|
|
48
|
-
<aui-button
|
|
56
|
+
<aui-button primary grow="1" basis="0">Continue</aui-button>
|
|
57
|
+
<aui-button scrim grow="1" basis="0">Skip</aui-button>
|
|
49
58
|
</aui-button-group>
|
|
50
59
|
</aui-footer>
|
|
51
60
|
</aui-container>
|
|
52
|
-
description: Survey with checkbox options, header/content/footer structure, and skip/continue actions.
|
|
@@ -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.
|
|
@@ -76,13 +76,13 @@ tokens:
|
|
|
76
76
|
examples:
|
|
77
77
|
- description: Typing indicator — animated dots signaling the assistant is composing a response
|
|
78
78
|
html: <aui-agent-activity type="typing" active></aui-agent-activity>
|
|
79
|
-
- description: Thinking indicator with custom label and elapsed timer
|
|
79
|
+
- description: Thinking indicator with custom label and elapsed timer
|
|
80
80
|
html: <aui-agent-activity type="thinking" active label="Reasoning"></aui-agent-activity>
|
|
81
|
-
- description: Expandable reasoning trace —
|
|
81
|
+
- description: Expandable reasoning trace — click header to toggle
|
|
82
82
|
html: |-
|
|
83
83
|
<aui-agent-activity type="thinking" expandable expanded>
|
|
84
84
|
<div data-role="trace">
|
|
85
|
-
<aui-stack gap="
|
|
85
|
+
<aui-stack gap="2">
|
|
86
86
|
<aui-text muted size="sm">The user is asking about onboarding drop-off. I should consider:</aui-text>
|
|
87
87
|
<aui-text muted size="sm">1. Funnel analysis — where exactly are users leaving?</aui-text>
|
|
88
88
|
<aui-text muted size="sm">2. Session recordings — qualitative signals</aui-text>
|
|
@@ -91,9 +91,29 @@ examples:
|
|
|
91
91
|
</aui-stack>
|
|
92
92
|
</div>
|
|
93
93
|
</aui-agent-activity>
|
|
94
|
-
- description: Tool-use
|
|
94
|
+
- description: Tool-use activities as nested disclosures
|
|
95
95
|
html: |-
|
|
96
|
-
<aui-
|
|
97
|
-
<
|
|
98
|
-
|
|
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>
|
|
101
|
+
|
|
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>
|
|
99
119
|
</aui-agent-activity>
|
|
@@ -85,5 +85,5 @@ examples:
|
|
|
85
85
|
</aui-agent-seeds>
|
|
86
86
|
- description: Conversation starters with icons — used on an empty chat state to help users begin a session with common tasks
|
|
87
87
|
html: |-
|
|
88
|
-
<aui-agent-seeds options='[{"value":"write-email","label":"Draft an email","icon":"
|
|
88
|
+
<aui-agent-seeds options='[{"value":"write-email","label":"Draft an email","icon":"envelope"},{"value":"summarize","label":"Summarize a document","icon":"file-text"},{"value":"brainstorm","label":"Brainstorm ideas","icon":"lightbulb"},{"value":"analyze-data","label":"Analyze data","icon":"chart-bar"}]'>
|
|
89
89
|
</aui-agent-seeds>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
name: aui-breadcrumb
|
|
2
2
|
tag: aui-breadcrumb
|
|
3
3
|
type: component
|
|
4
|
-
summary: Breadcrumb navigation trail.
|
|
4
|
+
summary: Breadcrumb navigation trail with auto-current and depth collapse.
|
|
5
5
|
description: |
|
|
6
|
-
Container for aui-breadcrumb-item children. Sets role="navigation" and aria-label. Separators are rendered via CSS between items.
|
|
6
|
+
Container for aui-breadcrumb-item children. Sets role="navigation" and aria-label. Separators are rendered via CSS between items using a --_joiner custom property. The last item is automatically marked [current] by JS. When max-depth is set, middle items collapse into an ellipsis trigger that expands on click.
|
|
7
7
|
base: AgentElement
|
|
8
8
|
attributes:
|
|
9
9
|
label:
|
|
@@ -17,6 +17,12 @@ attributes:
|
|
|
17
17
|
default: /
|
|
18
18
|
description: |
|
|
19
19
|
Separator character between breadcrumb items. Common values: "/" "›" "→" "·"
|
|
20
|
+
max-depth:
|
|
21
|
+
syntax: key-value
|
|
22
|
+
type: string
|
|
23
|
+
default: ""
|
|
24
|
+
description: |
|
|
25
|
+
When set, collapses middle items to keep only the first item and the last N items visible. Hidden items are replaced by an ellipsis button that expands them on click.
|
|
20
26
|
a11y:
|
|
21
27
|
role: navigation
|
|
22
28
|
aria:
|
|
@@ -36,13 +42,24 @@ tokens:
|
|
|
36
42
|
- name: --aui-breadcrumb-gap
|
|
37
43
|
default: calc(var(--aui-space) * 2)
|
|
38
44
|
description: Gap between breadcrumb items.
|
|
45
|
+
- name: --aui-breadcrumb-item-color-current
|
|
46
|
+
default: var(--aui-ink-strong)
|
|
47
|
+
description: Color of the current (last) breadcrumb item.
|
|
48
|
+
- name: --aui-breadcrumb-item-font-weight-current
|
|
49
|
+
default: var(--aui-font-weight-medium)
|
|
50
|
+
description: Font weight of the current breadcrumb item.
|
|
51
|
+
behaviors:
|
|
52
|
+
auto-current: |
|
|
53
|
+
The last aui-breadcrumb-item child is automatically marked with the [current] attribute by JS. Any manually set [current] attributes on other items are removed.
|
|
54
|
+
max-depth-collapse: |
|
|
55
|
+
When max-depth is set and items exceed maxDepth + 1, middle items are hidden and replaced by an ellipsis button. Clicking the ellipsis expands all hidden items.
|
|
39
56
|
examples:
|
|
40
57
|
- description: Typical three-level breadcrumb trail
|
|
41
58
|
html: |-
|
|
42
59
|
<aui-breadcrumb>
|
|
43
60
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
44
61
|
<aui-breadcrumb-item href="/settings">Settings</aui-breadcrumb-item>
|
|
45
|
-
<aui-breadcrumb-item
|
|
62
|
+
<aui-breadcrumb-item >Profile</aui-breadcrumb-item>
|
|
46
63
|
</aui-breadcrumb>
|
|
47
64
|
- description: Deep breadcrumb trail with four levels
|
|
48
65
|
html: |-
|
|
@@ -50,14 +67,14 @@ examples:
|
|
|
50
67
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
51
68
|
<aui-breadcrumb-item href="/products">Products</aui-breadcrumb-item>
|
|
52
69
|
<aui-breadcrumb-item href="/products/widgets">Widgets</aui-breadcrumb-item>
|
|
53
|
-
<aui-breadcrumb-item
|
|
70
|
+
<aui-breadcrumb-item >Deluxe Widget</aui-breadcrumb-item>
|
|
54
71
|
</aui-breadcrumb>
|
|
55
72
|
- description: Custom joiner character (›)
|
|
56
73
|
html: |-
|
|
57
74
|
<aui-breadcrumb joiner="›">
|
|
58
75
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
59
76
|
<aui-breadcrumb-item href="/docs">Docs</aui-breadcrumb-item>
|
|
60
|
-
<aui-breadcrumb-item
|
|
77
|
+
<aui-breadcrumb-item >API</aui-breadcrumb-item>
|
|
61
78
|
</aui-breadcrumb>
|
|
62
79
|
- description: Deep breadcrumb trail with five levels
|
|
63
80
|
html: |-
|
|
@@ -67,7 +84,7 @@ examples:
|
|
|
67
84
|
<aui-breadcrumb-item href="/workspace/projects">Projects</aui-breadcrumb-item>
|
|
68
85
|
<aui-breadcrumb-item href="/workspace/projects/agent-ui">Agent UI</aui-breadcrumb-item>
|
|
69
86
|
<aui-breadcrumb-item href="/workspace/projects/agent-ui/components">Components</aui-breadcrumb-item>
|
|
70
|
-
<aui-breadcrumb-item
|
|
87
|
+
<aui-breadcrumb-item >Breadcrumb</aui-breadcrumb-item>
|
|
71
88
|
</aui-breadcrumb>
|
|
72
89
|
- description: Breadcrumb items with leading icons
|
|
73
90
|
html: |-
|
|
@@ -91,7 +108,7 @@ examples:
|
|
|
91
108
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
92
109
|
<aui-breadcrumb-item href="/blog">Blog</aui-breadcrumb-item>
|
|
93
110
|
<aui-breadcrumb-item href="/blog/2026">2026</aui-breadcrumb-item>
|
|
94
|
-
<aui-breadcrumb-item
|
|
111
|
+
<aui-breadcrumb-item >How to build a design system</aui-breadcrumb-item>
|
|
95
112
|
</aui-breadcrumb>
|
|
96
113
|
- description: Deep breadcrumb with arrow joiner and six levels
|
|
97
114
|
html: |-
|
|
@@ -101,5 +118,15 @@ examples:
|
|
|
101
118
|
<aui-breadcrumb-item href="/admin/users">Users</aui-breadcrumb-item>
|
|
102
119
|
<aui-breadcrumb-item href="/admin/users/roles">Roles</aui-breadcrumb-item>
|
|
103
120
|
<aui-breadcrumb-item href="/admin/users/roles/editor">Editor</aui-breadcrumb-item>
|
|
104
|
-
<aui-breadcrumb-item
|
|
121
|
+
<aui-breadcrumb-item>Permissions</aui-breadcrumb-item>
|
|
122
|
+
</aui-breadcrumb>
|
|
123
|
+
- description: max-depth="2" collapses middle items into ellipsis (click to expand)
|
|
124
|
+
html: |-
|
|
125
|
+
<aui-breadcrumb max-depth="2">
|
|
126
|
+
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
127
|
+
<aui-breadcrumb-item href="/workspace">Workspace</aui-breadcrumb-item>
|
|
128
|
+
<aui-breadcrumb-item href="/workspace/projects">Projects</aui-breadcrumb-item>
|
|
129
|
+
<aui-breadcrumb-item href="/workspace/projects/agent-ui">Agent UI</aui-breadcrumb-item>
|
|
130
|
+
<aui-breadcrumb-item href="/workspace/projects/agent-ui/components">Components</aui-breadcrumb-item>
|
|
131
|
+
<aui-breadcrumb-item>Breadcrumb</aui-breadcrumb-item>
|
|
105
132
|
</aui-breadcrumb>
|