@agent-ui-kit/web-components 0.0.15 → 0.0.17
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 +1700 -361
- package/dist/api.tokens.json +3 -3
- package/dist/api.tokens.yaml +3 -3
- package/dist/blocks/action-toolbar/action-toolbar.d.ts +0 -0
- package/dist/blocks/agent-artifact-card/agent-artifact-card.d.ts +0 -0
- package/dist/blocks/agent-chat-response/agent-chat-response.d.ts +0 -0
- package/dist/blocks/agent-code-result/agent-code-result.d.ts +0 -0
- package/dist/blocks/agent-context-panel/agent-context-panel.d.ts +0 -0
- package/dist/blocks/agent-feedback-controls/agent-feedback-controls.d.ts +0 -0
- package/dist/blocks/agent-follow-up-chips/agent-follow-up-chips.d.ts +0 -0
- package/dist/blocks/agent-model-selector/agent-model-selector.d.ts +0 -0
- package/dist/blocks/agent-prompt-input/agent-prompt-input.d.ts +0 -0
- package/dist/blocks/agent-streaming-message/agent-streaming-message.d.ts +0 -0
- package/dist/blocks/agent-suggestion-card/agent-suggestion-card.d.ts +0 -0
- package/dist/blocks/agent-task-card/agent-task-card.d.ts +0 -0
- package/dist/blocks/agent-thinking-state/agent-thinking-state.d.ts +0 -0
- package/dist/blocks/agent-tool-use-card/agent-tool-use-card.d.ts +0 -0
- package/dist/blocks/auth-card/auth-card.d.ts +0 -0
- package/dist/blocks/commerce-pricing-table/commerce-pricing-table.d.ts +0 -0
- package/dist/blocks/comms-chat-thread/comms-chat-thread.d.ts +0 -0
- package/dist/blocks/comms-notification-list/comms-notification-list.d.ts +0 -0
- package/dist/blocks/content-article-card/content-article-card.d.ts +0 -0
- package/dist/blocks/dashboard-kpi-grid/dashboard-kpi-grid.d.ts +0 -0
- package/dist/blocks/data-activity-log/data-activity-log.d.ts +0 -0
- package/dist/blocks/data-metric-card/data-metric-card.d.ts +0 -0
- package/dist/blocks/data-table/data-table.d.ts +0 -0
- package/dist/blocks/data-timeline/data-timeline.d.ts +0 -0
- package/dist/blocks/feedback-alert-banner/feedback-alert-banner.d.ts +0 -0
- package/dist/blocks/feedback-empty-state/feedback-empty-state.d.ts +0 -0
- package/dist/blocks/feedback-progress-stepper/feedback-progress-stepper.d.ts +0 -0
- package/dist/blocks/form-settings-section/form-settings-section.d.ts +0 -0
- package/dist/blocks/game-battleship/game-battleship.d.ts +0 -0
- package/dist/blocks/game-chess/game-chess.d.ts +0 -0
- package/dist/blocks/game-connect-four/game-connect-four.d.ts +0 -0
- package/dist/blocks/game-tic-tac-toe/game-tic-tac-toe.d.ts +0 -0
- package/dist/blocks/list-kanban-board/list-kanban-board.d.ts +0 -0
- package/dist/blocks/media-image-gallery/media-image-gallery.d.ts +0 -0
- package/dist/blocks/nav-sidebar/nav-sidebar.d.ts +0 -0
- package/dist/blocks/onboard-stepper/onboard-stepper.d.ts +0 -0
- package/dist/blocks/overlay-confirmation-modal/overlay-confirmation-modal.d.ts +0 -0
- package/dist/blocks/overlay-dropdown-menu/overlay-dropdown-menu.d.ts +0 -0
- package/dist/blocks/user-profile-card/user-profile-card.d.ts +0 -0
- package/dist/blocks/user-team-list/user-team-list.d.ts +0 -0
- 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/action-toolbar.yaml +73 -0
- package/dist/docs/blocks/agent-artifact-card.yaml +67 -0
- package/dist/docs/blocks/agent-chat-response.yaml +65 -0
- package/dist/docs/blocks/agent-chat.yaml +33 -25
- package/dist/docs/blocks/agent-code-result.yaml +41 -0
- package/dist/docs/blocks/agent-context-panel.yaml +96 -0
- package/dist/docs/blocks/agent-feedback-controls.yaml +101 -0
- package/dist/docs/blocks/agent-follow-up-chips.yaml +37 -0
- package/dist/docs/blocks/agent-model-selector.yaml +83 -0
- package/dist/docs/blocks/agent-prompt-input.yaml +49 -0
- package/dist/docs/blocks/agent-streaming-message.yaml +46 -0
- package/dist/docs/blocks/agent-suggestion-card.yaml +68 -0
- package/dist/docs/blocks/agent-task-card.yaml +112 -0
- package/dist/docs/blocks/agent-thinking-state.yaml +56 -0
- package/dist/docs/blocks/agent-tool-use-card.yaml +142 -0
- package/dist/docs/blocks/announcement-card.yaml +14 -10
- package/dist/docs/blocks/auth-card.yaml +74 -0
- 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/commerce-pricing-table.yaml +142 -0
- package/dist/docs/blocks/comms-chat-thread.yaml +88 -0
- package/dist/docs/blocks/comms-notification-list.yaml +88 -0
- package/dist/docs/blocks/content-article-card.yaml +47 -0
- package/dist/docs/blocks/contributors.yaml +17 -11
- package/dist/docs/blocks/cyber-threat.yaml +158 -4
- package/dist/docs/blocks/dashboard-kpi-grid.yaml +72 -0
- package/dist/docs/blocks/dashboard-layout.yaml +24 -18
- package/dist/docs/blocks/data-activity-log.yaml +99 -0
- package/dist/docs/blocks/data-eng-dag.yaml +222 -6
- package/dist/docs/blocks/data-metric-card.yaml +50 -0
- package/dist/docs/blocks/data-table.yaml +106 -0
- package/dist/docs/blocks/data-timeline.yaml +103 -0
- 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/feedback-alert-banner.yaml +42 -0
- package/dist/docs/blocks/feedback-empty-state.yaml +18 -0
- package/dist/docs/blocks/feedback-progress-stepper.yaml +82 -0
- package/dist/docs/blocks/financial-risk.yaml +161 -4
- package/dist/docs/blocks/flow-editor.yaml +27 -18
- package/dist/docs/blocks/form-settings-section.yaml +129 -0
- package/dist/docs/blocks/game-battleship.yaml +184 -0
- package/dist/docs/blocks/game-chess.yaml +83 -0
- package/dist/docs/blocks/game-connect-four.yaml +80 -0
- package/dist/docs/blocks/game-tic-tac-toe.yaml +51 -0
- 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/list-kanban-board.yaml +158 -0
- 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/media-image-gallery.yaml +39 -0
- 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/nav-sidebar.yaml +84 -0
- package/dist/docs/blocks/notification-list.yaml +18 -13
- package/dist/docs/blocks/onboard-stepper.yaml +111 -0
- package/dist/docs/blocks/oncology-pathway.yaml +227 -4
- package/dist/docs/blocks/overlay-confirmation-modal.yaml +60 -0
- package/dist/docs/blocks/overlay-dropdown-menu.yaml +72 -0
- 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 +16 -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 +22 -22
- package/dist/docs/blocks/sidebar-nav.yaml +21 -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/blocks/user-profile-card.yaml +52 -0
- package/dist/docs/blocks/user-team-list.yaml +116 -0
- package/dist/docs/components/agent-activity.yaml +27 -7
- package/dist/docs/components/agent-feed.yaml +2 -2
- 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 +14 -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/icons.js +137 -128
- package/dist/icons.js.map +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
package/dist/components/agent.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as t, d as a, e as i, f as s, g, h as n, i as u, j as d, k as r } from "../chunks/agent-
|
|
1
|
+
import { b as t, d as a, e as i, f as s, g, h as n, i as u, j as d, k as r } from "../chunks/agent-XMhz_6OA.js";
|
|
2
2
|
export {
|
|
3
3
|
t as AuiAgentActivity,
|
|
4
4
|
a as AuiAgentFeed,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AgentElement, AttributeSchema } from '../../element/index.ts';
|
|
2
|
+
export declare class AuiCheckboxGroup extends AgentElement {
|
|
3
|
+
#private;
|
|
4
|
+
static attributes: AttributeSchema;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
required: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
min: number;
|
|
11
|
+
max: number;
|
|
12
|
+
protected activate(): void;
|
|
13
|
+
protected dispose(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuiCheckboxGroup } from './checkbox-group.ts';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AgentElement, AttributeSchema } from '../../element/index.ts';
|
|
2
|
+
export declare class AuiForm extends AgentElement {
|
|
3
|
+
#private;
|
|
4
|
+
static attributes: AttributeSchema;
|
|
5
|
+
action: string;
|
|
6
|
+
method: string;
|
|
7
|
+
get noValidate(): boolean;
|
|
8
|
+
protected activate(): void;
|
|
9
|
+
protected dispose(): void;
|
|
10
|
+
/** Programmatic submit — runs validation then dispatches. */
|
|
11
|
+
submit(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuiForm } from './form.ts';
|
package/dist/components/graph.js
CHANGED
|
@@ -70,3 +70,5 @@ export { AuiCarousel } from './carousel/index.ts';
|
|
|
70
70
|
export { AuiNotificationCenter } from './notification-center/index.ts';
|
|
71
71
|
export type { Notification } from './notification-center/index.ts';
|
|
72
72
|
export { AuiEmptyState } from './empty-state/index.ts';
|
|
73
|
+
export { AuiCheckboxGroup } from './checkbox-group/index.ts';
|
|
74
|
+
export { AuiForm } from './form/index.ts';
|
|
@@ -18,7 +18,7 @@ export interface NoodleOptions {
|
|
|
18
18
|
selector?: string;
|
|
19
19
|
/** Allow interactive creation/deletion of connections (default: false) */
|
|
20
20
|
editable?: boolean;
|
|
21
|
-
/** Noodle stroke color (default: 'var(--aui-accent
|
|
21
|
+
/** Noodle stroke color (default: 'var(--aui-accent)') */
|
|
22
22
|
color?: string;
|
|
23
23
|
/** Noodle stroke width in px (default: 2) */
|
|
24
24
|
strokeWidth?: number;
|
package/dist/components.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as a } from "./chunks/agent-
|
|
2
|
-
import { a as p, b as m, d as
|
|
3
|
-
import { A as
|
|
4
|
-
import { g as
|
|
1
|
+
import { A as a } from "./chunks/agent-XMhz_6OA.js";
|
|
2
|
+
import { a as p, b as m, d as c, e as g, f as C, g as T, h as S, i as b, j as x, k as I, R as P, r as k, s as R } from "./chunks/agent-XMhz_6OA.js";
|
|
3
|
+
import { A as h, a as G, b as f, c as D, d as B, e as E, f as M, g as w, h as y, i as H, j as O, k as v, l as L, m as N, n as j, o as U, p as _, q, r as z, s as Y, t as J, u as K, v as Q, w as V, x as W, y as X, z as Z, B as $, C as aa, D as ia, E as sa, F as ea, G as ua, H as Aa, I as ta, J as oa, K as ra, L as na, M as da, N as la, O as pa, P as ma, Q as ca, R as ga, S as Ca, T as Ta, U as Sa, V as ba, W as xa, X as Ia, Y as Pa, Z as ka, _ as Ra, $ as Fa, a0 as ha, a1 as Ga, a2 as fa, a3 as Da, a4 as Ba, a5 as Ea, a6 as Ma, a7 as wa, a8 as ya, a9 as Ha, aa as Oa, ab as va, ac as La, ad as Na, ae as ja, af as Ua, ag as _a, ah as qa, ai as za, aj as Ya, ak as Ja, al as Ka, am as Qa, an as Va, ao as Wa, ap as Xa, aq as Za, ar as $a, as as ai, at as ii, au as si } from "./chunks/form-oekEhwja.js";
|
|
4
|
+
import { g as ui, a as Ai, r as ti } from "./chunks/registry-BNb5ABBs.js";
|
|
5
5
|
class e extends a {
|
|
6
6
|
}
|
|
7
|
-
class A extends a {
|
|
8
|
-
}
|
|
9
7
|
class u extends a {
|
|
10
8
|
}
|
|
9
|
+
class A extends a {
|
|
10
|
+
}
|
|
11
11
|
class t extends a {
|
|
12
12
|
}
|
|
13
13
|
class o extends a {
|
|
@@ -18,20 +18,20 @@ class n extends a {
|
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
20
|
p as ACTION_REGISTRY,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
h as AuiAccordion,
|
|
22
|
+
G as AuiAccordionItem,
|
|
23
23
|
m as AuiAgentActivity,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
c as AuiAgentFeed,
|
|
25
|
+
g as AuiAgentInput,
|
|
26
26
|
C as AuiAgentMessage,
|
|
27
27
|
T as AuiAgentPanel,
|
|
28
28
|
S as AuiAgentPrompt,
|
|
29
29
|
b as AuiAgentSeeds,
|
|
30
30
|
x as AuiAgentText,
|
|
31
31
|
I as AuiAgentThread,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
u as AuiAlert,
|
|
33
|
+
f as AuiAppShell,
|
|
34
|
+
D as AuiAvatarGroup,
|
|
35
35
|
B as AuiBreadcrumb,
|
|
36
36
|
E as AuiBreadcrumbItem,
|
|
37
37
|
M as AuiButton,
|
|
@@ -39,88 +39,90 @@ export {
|
|
|
39
39
|
y as AuiCalendarRangePicker,
|
|
40
40
|
H as AuiCarousel,
|
|
41
41
|
O as AuiCheckbox,
|
|
42
|
-
v as
|
|
43
|
-
L as
|
|
44
|
-
N as
|
|
45
|
-
j as
|
|
46
|
-
U as
|
|
47
|
-
_ as
|
|
48
|
-
q as
|
|
49
|
-
z as
|
|
50
|
-
Y as
|
|
51
|
-
J as
|
|
52
|
-
K as
|
|
53
|
-
Q as
|
|
54
|
-
V as
|
|
55
|
-
W as
|
|
56
|
-
X as
|
|
57
|
-
Z as
|
|
58
|
-
$ as
|
|
59
|
-
aa as
|
|
60
|
-
ia as
|
|
61
|
-
sa as
|
|
62
|
-
ea as
|
|
42
|
+
v as AuiCheckboxGroup,
|
|
43
|
+
L as AuiChip,
|
|
44
|
+
N as AuiCodeBlock,
|
|
45
|
+
j as AuiColorArea,
|
|
46
|
+
U as AuiColorField,
|
|
47
|
+
_ as AuiColorPicker,
|
|
48
|
+
q as AuiColorSlider,
|
|
49
|
+
z as AuiCommand,
|
|
50
|
+
Y as AuiCommandEmpty,
|
|
51
|
+
J as AuiCommandGroup,
|
|
52
|
+
K as AuiCommandInput,
|
|
53
|
+
Q as AuiCommandItem,
|
|
54
|
+
V as AuiCommandList,
|
|
55
|
+
W as AuiContainer,
|
|
56
|
+
X as AuiContextMenu,
|
|
57
|
+
Z as AuiCopyButton,
|
|
58
|
+
$ as AuiDateField,
|
|
59
|
+
aa as AuiDialog,
|
|
60
|
+
ia as AuiDisclosure,
|
|
61
|
+
sa as AuiDisclosureGroup,
|
|
62
|
+
ea as AuiDrawer,
|
|
63
|
+
ua as AuiDropdownMenu,
|
|
63
64
|
Aa as AuiEmptyState,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
ta as AuiFeed,
|
|
66
|
+
oa as AuiFileUpload,
|
|
67
|
+
ra as AuiForm,
|
|
68
|
+
na as AuiGripper,
|
|
69
|
+
da as AuiHoverCard,
|
|
70
|
+
la as AuiIcon,
|
|
71
|
+
pa as AuiImage,
|
|
72
|
+
ma as AuiInput,
|
|
73
|
+
ca as AuiInputOtp,
|
|
74
|
+
A as AuiLink,
|
|
75
|
+
ga as AuiMeter,
|
|
74
76
|
o as AuiNavItem,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
77
|
+
Ca as AuiNotificationCenter,
|
|
78
|
+
Ta as AuiOptgroup,
|
|
79
|
+
Sa as AuiOption,
|
|
80
|
+
ba as AuiPage,
|
|
81
|
+
xa as AuiPageContext,
|
|
82
|
+
Ia as AuiPageMain,
|
|
83
|
+
Pa as AuiPagination,
|
|
84
|
+
ka as AuiPane,
|
|
85
|
+
Ra as AuiPanes,
|
|
86
|
+
Fa as AuiProgress,
|
|
87
|
+
ha as AuiProgressCircle,
|
|
88
|
+
Ga as AuiRadio,
|
|
87
89
|
fa as AuiRadioGroup,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
90
|
+
Da as AuiRange,
|
|
91
|
+
Ba as AuiRoot,
|
|
92
|
+
Ea as AuiSegment,
|
|
93
|
+
Ma as AuiSegmentedControl,
|
|
94
|
+
wa as AuiSelect,
|
|
95
|
+
ya as AuiSidebar,
|
|
96
|
+
Ha as AuiSidebarContent,
|
|
97
|
+
Oa as AuiSidebarFooter,
|
|
98
|
+
va as AuiSidebarHeader,
|
|
97
99
|
e as AuiSkeleton,
|
|
98
|
-
|
|
100
|
+
La as AuiSparkline,
|
|
99
101
|
t as AuiSpinner,
|
|
100
|
-
|
|
102
|
+
Na as AuiStat,
|
|
101
103
|
n as AuiStep,
|
|
102
104
|
r as AuiStepper,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
105
|
+
ja as AuiSwitch,
|
|
106
|
+
Ua as AuiTab,
|
|
107
|
+
_a as AuiTabPanel,
|
|
108
|
+
qa as AuiTable,
|
|
109
|
+
za as AuiTableBody,
|
|
110
|
+
Ya as AuiTableCell,
|
|
111
|
+
Ja as AuiTableHead,
|
|
112
|
+
Ka as AuiTableHeader,
|
|
113
|
+
Qa as AuiTableRow,
|
|
114
|
+
Va as AuiTabs,
|
|
115
|
+
Wa as AuiTagGroup,
|
|
116
|
+
Xa as AuiTextarea,
|
|
117
|
+
Za as AuiTimeField,
|
|
118
|
+
$a as AuiToast,
|
|
119
|
+
ai as AuiTooltip,
|
|
120
|
+
ii as AuiTree,
|
|
121
|
+
si as AuiTreeItem,
|
|
120
122
|
P as ROLE_DEFAULTS,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
ui as getIcon,
|
|
124
|
+
Ai as registerIcon,
|
|
125
|
+
ti as registerIcons,
|
|
124
126
|
k as renderMarkdown,
|
|
125
127
|
R as sanitizeHtml
|
|
126
128
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
name: action-toolbar
|
|
2
|
+
type: block
|
|
3
|
+
summary: Three toolbar variants — editor formatting, table actions, and bulk selection.
|
|
4
|
+
description: |
|
|
5
|
+
Three toolbar contexts in a vertical stack. The editor toolbar uses aui-button-group to cluster ghost icon-only buttons by function (formatting, alignment, insert), separated by vertical dividers. The table toolbar has a scrim Filters button, spacer, ghost icon actions, divider, and a primary Add row button. The bulk selection toolbar uses an accent container with a selection count heading, spacer, scrim action buttons, divider, and a danger ghost delete button. All use widget kind with bordered containers.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-button
|
|
13
|
+
- aui-button-group
|
|
14
|
+
- aui-divider
|
|
15
|
+
kind: widget
|
|
16
|
+
examples:
|
|
17
|
+
- description: Three toolbar variants — editor formatting, table actions, and bulk selection.
|
|
18
|
+
html: |-
|
|
19
|
+
<aui-stack gap="4">
|
|
20
|
+
|
|
21
|
+
<!-- Editor toolbar -->
|
|
22
|
+
<aui-container kind="widget" bordered>
|
|
23
|
+
<aui-inset>
|
|
24
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
25
|
+
<aui-button-group>
|
|
26
|
+
<aui-button ghost hide-label label="Bold" icon-leading="file-text" size="sm"></aui-button>
|
|
27
|
+
<aui-button ghost hide-label label="Italic" icon-leading="pencil" size="sm"></aui-button>
|
|
28
|
+
<aui-button ghost hide-label label="Underline" icon-leading="minus" size="sm"></aui-button>
|
|
29
|
+
</aui-button-group>
|
|
30
|
+
<aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
|
|
31
|
+
<aui-button-group>
|
|
32
|
+
<aui-button ghost hide-label label="Align left" icon-leading="list-checks" size="sm"></aui-button>
|
|
33
|
+
<aui-button ghost hide-label label="Align center" icon-leading="list-checks" size="sm"></aui-button>
|
|
34
|
+
</aui-button-group>
|
|
35
|
+
<aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
|
|
36
|
+
<aui-button-group>
|
|
37
|
+
<aui-button ghost hide-label label="Link" icon-leading="paperclip" size="sm"></aui-button>
|
|
38
|
+
<aui-button ghost hide-label label="Code" icon-leading="file-text" size="sm"></aui-button>
|
|
39
|
+
</aui-button-group>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
</aui-inset>
|
|
42
|
+
</aui-container>
|
|
43
|
+
|
|
44
|
+
<!-- Table toolbar -->
|
|
45
|
+
<aui-container kind="widget" bordered>
|
|
46
|
+
<aui-inset>
|
|
47
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
48
|
+
<aui-button scrim size="sm" icon-leading="sliders">Filters</aui-button>
|
|
49
|
+
<aui-text size="xs" muted spacer></aui-text>
|
|
50
|
+
<aui-button ghost hide-label label="Search" icon-leading="magnifying-glass" size="sm"></aui-button>
|
|
51
|
+
<aui-button ghost hide-label label="Sort" icon-leading="arrow-up" size="sm"></aui-button>
|
|
52
|
+
<aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
|
|
53
|
+
<aui-button primary accent size="sm" icon-leading="plus">Add row</aui-button>
|
|
54
|
+
</aui-stack>
|
|
55
|
+
</aui-inset>
|
|
56
|
+
</aui-container>
|
|
57
|
+
|
|
58
|
+
<!-- Bulk selection toolbar -->
|
|
59
|
+
<aui-container kind="widget" bordered accent>
|
|
60
|
+
<aui-inset>
|
|
61
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
62
|
+
<aui-heading size="sm">5 selected</aui-heading>
|
|
63
|
+
<aui-text size="xs" muted spacer></aui-text>
|
|
64
|
+
<aui-button scrim size="sm" icon-leading="pencil">Edit</aui-button>
|
|
65
|
+
<aui-button scrim size="sm" icon-leading="copy">Duplicate</aui-button>
|
|
66
|
+
<aui-button scrim size="sm" icon-leading="star">Move</aui-button>
|
|
67
|
+
<aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
|
|
68
|
+
<aui-button ghost danger hide-label label="Delete" icon-leading="trash" size="sm"></aui-button>
|
|
69
|
+
</aui-stack>
|
|
70
|
+
</aui-inset>
|
|
71
|
+
</aui-container>
|
|
72
|
+
|
|
73
|
+
</aui-stack>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: agent-artifact-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Code and document artifact cards with preview fade, file metadata, and copy action.
|
|
4
|
+
description: |
|
|
5
|
+
Artifact cards showing agent-generated code or documents. Each card has a top aui-code preview area with a CSS gradient mask fading to transparent, and a bottom info row with a type-colored avatar icon, file name (truncated with ellipsis), size metadata, and an aui-copy-button. Uses the interactive attribute on the container for hover affordance. Code previews use aui-code with custom max-height and mask-image for the fade effect.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-avatar
|
|
13
|
+
- aui-icon
|
|
14
|
+
- aui-copy-button
|
|
15
|
+
- aui-code
|
|
16
|
+
kind: widget
|
|
17
|
+
examples:
|
|
18
|
+
- description: Code and document artifact cards with preview fade, file metadata, and copy action.
|
|
19
|
+
html: |-
|
|
20
|
+
<aui-stack>
|
|
21
|
+
|
|
22
|
+
<!-- Code artifact -->
|
|
23
|
+
<aui-container kind="widget" bordered interactive>
|
|
24
|
+
<aui-code style="max-height: 8rem; mask-image: linear-gradient(to bottom, black 60%, transparent);">import { signal, computed, effect } from './reactivity'
|
|
25
|
+
|
|
26
|
+
export function createStore(initial) {
|
|
27
|
+
const state = signal(initial)
|
|
28
|
+
const derived = computed(() => transform(state.value))
|
|
29
|
+
|
|
30
|
+
effect(() => console.log('State changed:', state.value))
|
|
31
|
+
|
|
32
|
+
return { state, derived }
|
|
33
|
+
}</aui-code>
|
|
34
|
+
<aui-inset>
|
|
35
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
36
|
+
<aui-avatar size="xs" accent solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
|
|
37
|
+
<aui-stack gap="1" spacer min-width="0">
|
|
38
|
+
<aui-heading density="compact" truncate>reactivity-store.ts</aui-heading>
|
|
39
|
+
<aui-text muted size="xs">TypeScript · 847 bytes</aui-text>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
<aui-copy-button></aui-copy-button>
|
|
42
|
+
</aui-stack>
|
|
43
|
+
</aui-inset>
|
|
44
|
+
</aui-container>
|
|
45
|
+
|
|
46
|
+
<!-- Document artifact -->
|
|
47
|
+
<aui-container kind="widget" bordered interactive>
|
|
48
|
+
<aui-code style="max-height: 8rem; mask-image: linear-gradient(to bottom, black 60%, transparent);"># Migration Guide v3.0
|
|
49
|
+
|
|
50
|
+
## Breaking Changes
|
|
51
|
+
|
|
52
|
+
1. The `createApp()` function now requires a config object
|
|
53
|
+
2. Router middleware signature changed to async
|
|
54
|
+
3. State management uses signals instead of observables</aui-code>
|
|
55
|
+
<aui-inset>
|
|
56
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
57
|
+
<aui-avatar size="xs" success solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
|
|
58
|
+
<aui-stack gap="1" spacer min-width="0">
|
|
59
|
+
<aui-heading density="compact" truncate>migration-guide.md</aui-heading>
|
|
60
|
+
<aui-text muted size="xs">Markdown · 2.1 KB</aui-text>
|
|
61
|
+
</aui-stack>
|
|
62
|
+
<aui-copy-button></aui-copy-button>
|
|
63
|
+
</aui-stack>
|
|
64
|
+
</aui-inset>
|
|
65
|
+
</aui-container>
|
|
66
|
+
|
|
67
|
+
</aui-stack>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
name: agent-chat-response
|
|
2
|
+
type: block
|
|
3
|
+
summary: Agent chat message with identity row, prose + code content, citations, and action toolbar.
|
|
4
|
+
description: |
|
|
5
|
+
A chat response block showing an agent message. Identity row has an accent solid avatar with sparkle icon, assistant name heading with spacer, and a sources badge. Response body is a vertical stack of prose text with inline mono code using aui-text font="mono" inline, and an aui-code block for larger snippets. Below the body, citation chips in a wrapping row using aui-chip size="sm" (not badges). Action toolbar has aui-copy-button and ghost icon-only buttons (regenerate, thumbs up/down) separated by a vertical divider.
|
|
6
|
+
components:
|
|
7
|
+
- aui-stack
|
|
8
|
+
- aui-heading
|
|
9
|
+
- aui-text
|
|
10
|
+
- aui-avatar
|
|
11
|
+
- aui-icon
|
|
12
|
+
- aui-badge
|
|
13
|
+
- aui-chip
|
|
14
|
+
- aui-button
|
|
15
|
+
- aui-copy-button
|
|
16
|
+
- aui-code
|
|
17
|
+
- aui-divider
|
|
18
|
+
kind: widget
|
|
19
|
+
examples:
|
|
20
|
+
- description: Agent chat message with identity row, prose + code content, citations, and action toolbar.
|
|
21
|
+
html: |-
|
|
22
|
+
<aui-stack>
|
|
23
|
+
|
|
24
|
+
<!-- Identity row -->
|
|
25
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
26
|
+
<aui-avatar density="compact" accent solid><aui-icon name="sparkle"></aui-icon></aui-avatar>
|
|
27
|
+
<aui-heading density="compact" spacer>Assistant</aui-heading>
|
|
28
|
+
<aui-badge accent>Searched 3 sources</aui-badge>
|
|
29
|
+
</aui-stack>
|
|
30
|
+
|
|
31
|
+
<!-- Response body -->
|
|
32
|
+
<aui-stack>
|
|
33
|
+
<aui-text density="compact">The <strong>design token pipeline</strong> is a build-time process that transforms raw token definitions into platform-specific outputs. Here's how it works:</aui-text>
|
|
34
|
+
|
|
35
|
+
<aui-text density="compact">First, tokens are defined in a canonical JSON format. Each token has a <aui-text font="mono" density="compact" inline>$value</aui-text> and optional <aui-text font="mono" density="compact" inline>$type</aui-text> field following the W3C Design Tokens specification.</aui-text>
|
|
36
|
+
|
|
37
|
+
<aui-code>{
|
|
38
|
+
"color": {
|
|
39
|
+
"primary": {
|
|
40
|
+
"$value": "#0066FF",
|
|
41
|
+
"$type": "color"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}</aui-code>
|
|
45
|
+
|
|
46
|
+
<aui-text density="compact">The transform pipeline then applies platform-specific conversions — CSS custom properties for web, Swift constants for iOS, and XML resources for Android.</aui-text>
|
|
47
|
+
</aui-stack>
|
|
48
|
+
|
|
49
|
+
<!-- Citations -->
|
|
50
|
+
<aui-stack direction="row" gap="2" wrap>
|
|
51
|
+
<aui-chip size="sm">W3C Design Tokens Spec</aui-chip>
|
|
52
|
+
<aui-chip size="sm">Style Dictionary Docs</aui-chip>
|
|
53
|
+
<aui-chip size="sm">Token Pipeline Guide</aui-chip>
|
|
54
|
+
</aui-stack>
|
|
55
|
+
|
|
56
|
+
<!-- Action toolbar -->
|
|
57
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
58
|
+
<aui-copy-button density="compact"></aui-copy-button>
|
|
59
|
+
<aui-button ghost hide-label label="Regenerate" icon-leading="arrow-clockwise" density="compact"></aui-button>
|
|
60
|
+
<aui-divider orientation="vertical" style="height: 1rem;"></aui-divider>
|
|
61
|
+
<aui-button ghost hide-label label="Good response" icon-leading="thumbs-up" density="compact"></aui-button>
|
|
62
|
+
<aui-button ghost hide-label label="Bad response" icon-leading="thumbs-down" density="compact"></aui-button>
|
|
63
|
+
</aui-stack>
|
|
64
|
+
|
|
65
|
+
</aui-stack>
|
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
name: agent-chat
|
|
2
2
|
type: block
|
|
3
3
|
summary: Full agent chat interface with message feed, composer, and suggestion chips.
|
|
4
|
-
description:
|
|
5
|
-
Complete chat composition showing a multi-turn conversation between
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
description: |
|
|
5
|
+
Complete chat composition showing a multi-turn conversation between user and AI assistant. Uses aui-agent-panel as the outer shell to coordinate header, feed, and input. Includes message feed with auto-scroll, threaded messages with avatars, markdown rendering, activity indicators, bordered prompt input with action toolbar, and suggestion chips. Demonstrates all aui-agent-* components working together as a cohesive chat experience.
|
|
6
|
+
components:
|
|
7
|
+
- aui-agent-panel
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-avatar
|
|
15
|
+
- aui-badge
|
|
16
|
+
- aui-button
|
|
17
|
+
- aui-icon
|
|
18
|
+
- aui-agent-feed
|
|
19
|
+
- aui-agent-thread
|
|
20
|
+
- aui-agent-message
|
|
21
|
+
- aui-agent-text
|
|
22
|
+
- aui-agent-activity
|
|
23
|
+
- aui-agent-seeds
|
|
24
|
+
- aui-agent-input
|
|
25
|
+
- aui-agent-prompt
|
|
14
26
|
kind: panel
|
|
15
|
-
|
|
16
27
|
examples:
|
|
17
|
-
-
|
|
28
|
+
- description: Full chat interface with multi-turn conversation, thinking indicator, and suggestion chips
|
|
29
|
+
html: |-
|
|
18
30
|
<aui-agent-panel panel-title="Design Assistant" max-width="xl" style="height: 32rem;">
|
|
19
31
|
<aui-header dividers>
|
|
20
|
-
<
|
|
21
|
-
<aui-
|
|
22
|
-
|
|
23
|
-
<aui-
|
|
24
|
-
|
|
25
|
-
<aui-text muted size="xs">Claude 3.5 Sonnet</aui-text>
|
|
26
|
-
</aui-stack>
|
|
32
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
33
|
+
<aui-avatar square>AI</aui-avatar>
|
|
34
|
+
<aui-stack gap="0" spacer>
|
|
35
|
+
<aui-heading size="sm">Design Assistant</aui-heading>
|
|
36
|
+
<aui-text muted size="xs">Claude Sonnet 4</aui-text>
|
|
27
37
|
</aui-stack>
|
|
28
|
-
|
|
29
|
-
|
|
38
|
+
<aui-badge accent>Online</aui-badge>
|
|
39
|
+
</aui-stack>
|
|
30
40
|
</aui-header>
|
|
31
41
|
<aui-agent-feed auto-scroll scrollable>
|
|
32
42
|
<aui-agent-thread role="user" sender="You">
|
|
@@ -68,9 +78,8 @@ examples:
|
|
|
68
78
|
</aui-agent-input>
|
|
69
79
|
<aui-agent-seeds options='[{"value":"tokens","label":"Generate token file"},{"value":"themes","label":"Add dark theme"},{"value":"chart","label":"Chart palette"}]'></aui-agent-seeds>
|
|
70
80
|
</aui-agent-panel>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- html: |
|
|
81
|
+
- description: Code review chat with structured markdown feedback
|
|
82
|
+
html: |-
|
|
74
83
|
<aui-agent-panel panel-title="Code Review" max-width="xl" style="height: 28rem;">
|
|
75
84
|
<aui-header dividers>
|
|
76
85
|
<span slot="leading">
|
|
@@ -108,4 +117,3 @@ examples:
|
|
|
108
117
|
</aui-agent-prompt>
|
|
109
118
|
</aui-agent-input>
|
|
110
119
|
</aui-agent-panel>
|
|
111
|
-
description: Code review chat with structured markdown feedback.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: agent-code-result
|
|
2
|
+
type: block
|
|
3
|
+
summary: Code execution result with source, output status badge, and stdout display.
|
|
4
|
+
description: |
|
|
5
|
+
A code execution card showing source and output. Header has a solid-bg file-text icon avatar, mono filename heading with spacer, and aui-copy-button. Source aui-code block shows the executed code. A second compact header below shows a success badge, muted stdout label with spacer, and mono execution time. A second aui-code block shows the stdout result. Both code blocks drop radius inside the container automatically. Container uses max-width="lg".
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-avatar
|
|
13
|
+
- aui-icon
|
|
14
|
+
- aui-badge
|
|
15
|
+
- aui-copy-button
|
|
16
|
+
- aui-code
|
|
17
|
+
kind: widget
|
|
18
|
+
examples:
|
|
19
|
+
- description: Code execution result with source, output status badge, and stdout display.
|
|
20
|
+
html: |-
|
|
21
|
+
<aui-container kind="widget" bordered max-width="lg">
|
|
22
|
+
<aui-code-block filename="main.py" copyable>import pandas as pd
|
|
23
|
+
|
|
24
|
+
df = pd.read_csv("data/sales.csv")
|
|
25
|
+
monthly = df.groupby("month")["revenue"].sum()
|
|
26
|
+
print(monthly.to_string())</aui-code-block>
|
|
27
|
+
|
|
28
|
+
<!-- Output section -->
|
|
29
|
+
<aui-header density="compact">
|
|
30
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
31
|
+
<aui-badge success>Success</aui-badge>
|
|
32
|
+
<aui-text size="xs" muted spacer>stdout</aui-text>
|
|
33
|
+
<aui-text size="xs" muted font="mono">0.42s</aui-text>
|
|
34
|
+
</aui-stack>
|
|
35
|
+
</aui-header>
|
|
36
|
+
<aui-code>January 12450.00
|
|
37
|
+
February 15230.00
|
|
38
|
+
March 18920.00
|
|
39
|
+
April 14100.00
|
|
40
|
+
May 21340.00</aui-code>
|
|
41
|
+
</aui-container>
|