@agent-ui-kit/web-components 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-ui.css +1 -1
- package/dist/api.colors.json +2 -2
- package/dist/api.colors.yaml +2 -2
- package/dist/api.components.json +3878 -636
- package/dist/api.tokens.json +35 -3
- package/dist/api.tokens.yaml +27 -3
- package/dist/chunks/{agent-C72JZNe6.js → agent-XMhz_6OA.js} +85 -76
- package/dist/chunks/{agent-C72JZNe6.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{empty-state-5M3uR5CM.js → form-oekEhwja.js} +1409 -960
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +6 -6
- package/dist/components/avatar/avatar.d.ts +0 -0
- package/dist/components/badge/badge.d.ts +0 -0
- package/dist/components/bar/bar.d.ts +0 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +0 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/code/code.d.ts +0 -0
- package/dist/components/color-area/color-area.d.ts +2 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -0
- package/dist/components/color-picker/oklch-utils.d.ts +18 -0
- package/dist/components/color-slider/color-slider.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch.d.ts +0 -0
- package/dist/components/content/content.d.ts +0 -0
- package/dist/components/description-list/description-list.d.ts +0 -0
- package/dist/components/divider/divider.d.ts +0 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/fieldset/fieldset.d.ts +0 -0
- package/dist/components/footer/footer.d.ts +0 -0
- package/dist/components/form/form.d.ts +12 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/grid/grid.d.ts +0 -0
- package/dist/components/header/header.d.ts +0 -0
- package/dist/components/heading/heading.d.ts +0 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-group/input-group.d.ts +0 -0
- package/dist/components/inset/inset.d.ts +0 -0
- package/dist/components/kbd/kbd.d.ts +0 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components/stack/stack.d.ts +0 -0
- package/dist/components/stat/stat.d.ts +4 -0
- package/dist/components/text/text.d.ts +0 -0
- package/dist/components/time-field/time-field.d.ts +1 -0
- package/dist/components/wrap/wrap.d.ts +0 -0
- package/dist/components.js +115 -126
- package/dist/components.js.map +1 -1
- package/dist/docs/blocks/agent-chat.yaml +33 -25
- package/dist/docs/blocks/announcement-card.yaml +14 -10
- package/dist/docs/blocks/bpm-process.yaml +216 -4
- package/dist/docs/blocks/chart-activity.yaml +12 -10
- package/dist/docs/blocks/chart-card.yaml +14 -11
- package/dist/docs/blocks/chart-donut.yaml +27 -23
- package/dist/docs/blocks/chart-grouped.yaml +14 -11
- package/dist/docs/blocks/chart-horizontal.yaml +13 -10
- package/dist/docs/blocks/chart-interactive.yaml +20 -17
- package/dist/docs/blocks/chart-labeled.yaml +14 -11
- package/dist/docs/blocks/checkout-form.yaml +26 -16
- package/dist/docs/blocks/clinical-trial.yaml +180 -4
- package/dist/docs/blocks/contributors.yaml +17 -11
- package/dist/docs/blocks/cyber-threat.yaml +158 -4
- package/dist/docs/blocks/dashboard-layout.yaml +25 -18
- package/dist/docs/blocks/data-eng-dag.yaml +222 -6
- package/dist/docs/blocks/date-picker.yaml +11 -10
- package/dist/docs/blocks/ddx-workflow.yaml +202 -6
- package/dist/docs/blocks/empty-state.yaml +8 -11
- package/dist/docs/blocks/env-variables.yaml +29 -20
- package/dist/docs/blocks/feature-upgrade.yaml +25 -18
- package/dist/docs/blocks/financial-risk.yaml +161 -4
- package/dist/docs/blocks/flow-editor.yaml +27 -18
- package/dist/docs/blocks/gen-ai-pipeline.yaml +232 -5
- package/dist/docs/blocks/issue-assign.yaml +25 -14
- package/dist/docs/blocks/keyboard-shortcuts.yaml +14 -9
- package/dist/docs/blocks/login-branded.yaml +62 -23
- package/dist/docs/blocks/login-email-only.yaml +14 -13
- package/dist/docs/blocks/login-form.yaml +17 -11
- package/dist/docs/blocks/login-simple.yaml +18 -12
- package/dist/docs/blocks/login-social.yaml +21 -14
- package/dist/docs/blocks/login-two-column.yaml +42 -22
- package/dist/docs/blocks/marketing-automation.yaml +209 -4
- package/dist/docs/blocks/member-list.yaml +23 -18
- package/dist/docs/blocks/ml-pipeline.yaml +163 -4
- package/dist/docs/blocks/nav-card.yaml +13 -11
- package/dist/docs/blocks/notification-list.yaml +18 -13
- package/dist/docs/blocks/oncology-pathway.yaml +227 -4
- package/dist/docs/blocks/pricing-card.yaml +20 -13
- package/dist/docs/blocks/processing-state.yaml +14 -11
- package/dist/docs/blocks/profile-card.yaml +22 -16
- package/dist/docs/blocks/saas-onboarding.yaml +222 -4
- package/dist/docs/blocks/settings-form.yaml +20 -11
- package/dist/docs/blocks/settings-panel.yaml +23 -22
- package/dist/docs/blocks/sidebar-nav.yaml +23 -15
- package/dist/docs/blocks/signup-form.yaml +17 -11
- package/dist/docs/blocks/stat-cards.yaml +12 -13
- package/dist/docs/blocks/status-card.yaml +20 -17
- package/dist/docs/blocks/suggested-labs.yaml +20 -13
- package/dist/docs/blocks/supply-chain.yaml +160 -4
- package/dist/docs/blocks/survey-card.yaml +21 -13
- package/dist/docs/blocks/tabbed-panel.yaml +21 -15
- package/dist/docs/blocks/team-empty.yaml +8 -9
- package/dist/docs/blocks/usage-billing.yaml +20 -16
- package/dist/docs/components/accordion-item.yaml +13 -21
- package/dist/docs/components/accordion.yaml +23 -29
- package/dist/docs/components/agent-activity.yaml +49 -41
- package/dist/docs/components/agent-feed.yaml +15 -22
- package/dist/docs/components/agent-input.yaml +238 -0
- package/dist/docs/components/agent-message.yaml +29 -48
- package/dist/docs/components/agent-panel.yaml +21 -24
- package/dist/docs/components/agent-prompt.yaml +29 -47
- package/dist/docs/components/agent-seeds.yaml +16 -24
- package/dist/docs/components/agent-text.yaml +14 -24
- package/dist/docs/components/agent-thread.yaml +15 -24
- package/dist/docs/components/alert.yaml +41 -39
- package/dist/docs/components/avatar-group.yaml +72 -45
- package/dist/docs/components/avatar.yaml +99 -0
- package/dist/docs/components/badge.yaml +110 -0
- package/dist/docs/components/bar.yaml +84 -0
- package/dist/docs/components/breadcrumb-item.yaml +8 -17
- package/dist/docs/components/breadcrumb.yaml +91 -29
- package/dist/docs/components/button-group.yaml +93 -0
- package/dist/docs/components/button.yaml +188 -261
- package/dist/docs/components/calendar-picker.yaml +16 -35
- package/dist/docs/components/calendar-range-picker.yaml +11 -29
- package/dist/docs/components/calendar.yaml +11 -29
- package/dist/docs/components/canvas.yaml +44 -61
- package/dist/docs/components/checkbox.yaml +37 -49
- package/dist/docs/components/chip.yaml +89 -55
- package/dist/docs/components/code-block.yaml +54 -53
- package/dist/docs/components/code.yaml +37 -0
- package/dist/docs/components/color-area.yaml +119 -0
- package/dist/docs/components/color-field.yaml +121 -0
- package/dist/docs/components/color-picker.yaml +87 -35
- package/dist/docs/components/color-slider.yaml +153 -0
- package/dist/docs/components/color-swatch.yaml +98 -0
- package/dist/docs/components/command.yaml +13 -18
- package/dist/docs/components/container.yaml +84 -73
- package/dist/docs/components/content.yaml +100 -0
- package/dist/docs/components/context-menu.yaml +11 -20
- package/dist/docs/components/date-field.yaml +81 -33
- package/dist/docs/components/description-list.yaml +81 -0
- package/dist/docs/components/disclosure-group.yaml +61 -42
- package/dist/docs/components/disclosure.yaml +60 -46
- package/dist/docs/components/divider.yaml +63 -0
- package/dist/docs/components/dropdown-menu.yaml +16 -25
- package/dist/docs/components/feed.yaml +15 -24
- package/dist/docs/components/field.yaml +50 -71
- package/dist/docs/components/fieldset.yaml +92 -0
- package/dist/docs/components/footer.yaml +147 -0
- package/dist/docs/components/grid.yaml +87 -0
- package/dist/docs/components/gripper.yaml +11 -23
- package/dist/docs/components/header.yaml +168 -0
- package/dist/docs/components/heading.yaml +58 -0
- package/dist/docs/components/hover-card.yaml +17 -25
- package/dist/docs/components/icon.yaml +32 -65
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input-group.yaml +102 -0
- package/dist/docs/components/input-otp.yaml +20 -19
- package/dist/docs/components/input.yaml +100 -139
- package/dist/docs/components/inset.yaml +59 -0
- package/dist/docs/components/kbd.yaml +57 -0
- package/dist/docs/components/link.yaml +36 -45
- package/dist/docs/components/meter.yaml +54 -42
- package/dist/docs/components/nav-item.yaml +54 -43
- package/dist/docs/components/noodles.yaml +72 -104
- package/dist/docs/components/option.yaml +12 -23
- package/dist/docs/components/pagination.yaml +21 -18
- package/dist/docs/components/pane.yaml +18 -32
- package/dist/docs/components/panes.yaml +19 -27
- package/dist/docs/components/progress-circle.yaml +64 -55
- package/dist/docs/components/progress.yaml +35 -51
- package/dist/docs/components/radio-group.yaml +99 -40
- package/dist/docs/components/radio.yaml +40 -41
- package/dist/docs/components/range.yaml +24 -27
- package/dist/docs/components/segmented-control.yaml +58 -17
- package/dist/docs/components/select.yaml +80 -100
- package/dist/docs/components/skeleton.yaml +39 -39
- package/dist/docs/components/sparkline.yaml +28 -45
- package/dist/docs/components/spinner.yaml +32 -33
- package/dist/docs/components/stack.yaml +126 -0
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +46 -53
- package/dist/docs/components/switch.yaml +36 -47
- package/dist/docs/components/tab-panel.yaml +27 -18
- package/dist/docs/components/tab.yaml +25 -22
- package/dist/docs/components/table-header.yaml +22 -12
- package/dist/docs/components/tabs.yaml +103 -20
- package/dist/docs/components/tag-group.yaml +63 -47
- package/dist/docs/components/text.yaml +67 -0
- package/dist/docs/components/textarea.yaml +43 -60
- package/dist/docs/components/time-field.yaml +108 -34
- package/dist/docs/components/toast.yaml +13 -30
- package/dist/docs/components/tooltip.yaml +56 -49
- package/dist/docs/components/tree-item.yaml +9 -10
- package/dist/docs/components/tree.yaml +127 -10
- package/dist/docs/components/wrap.yaml +60 -0
- package/dist/docs/traits/toggle-theme.yaml +34 -0
- package/dist/element.js +1 -1
- package/dist/icons.js +79 -59
- package/dist/icons.js.map +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/register.d.ts +0 -1
- package/dist/register.js +368 -352
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits/toggle-theme/toggle-theme.d.ts +0 -0
- package/dist/traits/toggle-theme/toggle-theme.trait.d.ts +2 -0
- package/dist/traits.js +528 -485
- package/dist/traits.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/empty-state-5M3uR5CM.js.map +0 -1
package/dist/components/agent.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
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,
|
|
5
5
|
i as AuiAgentInput,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
s as AuiAgentMessage,
|
|
7
|
+
g as AuiAgentPanel,
|
|
8
|
+
n as AuiAgentPrompt,
|
|
9
9
|
u as AuiAgentSeeds,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
d as AuiAgentText,
|
|
11
|
+
r as AuiAgentThread
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=agent.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AgentElement, AttributeSchema } from '../../element/index.ts';
|
|
2
2
|
export declare class AuiBreadcrumb extends AgentElement {
|
|
3
|
+
#private;
|
|
3
4
|
static attributes: AttributeSchema;
|
|
4
5
|
label: string;
|
|
5
6
|
joiner: string;
|
|
7
|
+
'max-depth': string;
|
|
6
8
|
protected activate(): void;
|
|
7
9
|
}
|
|
File without changes
|
|
@@ -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';
|
|
File without changes
|
|
@@ -3,9 +3,10 @@ export declare class AuiColorArea extends AgentElement {
|
|
|
3
3
|
#private;
|
|
4
4
|
static attributes: AttributeSchema;
|
|
5
5
|
hue: string;
|
|
6
|
-
|
|
6
|
+
chroma: string;
|
|
7
7
|
lightness: string;
|
|
8
8
|
disabled: boolean;
|
|
9
|
+
static readonly MAX_CHROMA = 0.4;
|
|
9
10
|
protected activate(): void;
|
|
10
11
|
protected dispose(): void;
|
|
11
12
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare function oklchToHex(l: number, c: number, h: number, a?: number): string;
|
|
2
|
+
export declare function hexToOklch(hex: string): {
|
|
3
|
+
l: number;
|
|
4
|
+
c: number;
|
|
5
|
+
h: number;
|
|
6
|
+
a: number;
|
|
7
|
+
};
|
|
8
|
+
export declare function oklchToString(l: number, c: number, h: number, a?: number): string;
|
|
9
|
+
export declare function parseOklchString(str: string): {
|
|
10
|
+
l: number;
|
|
11
|
+
c: number;
|
|
12
|
+
h: number;
|
|
13
|
+
a: number;
|
|
14
|
+
} | null;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an OKLCH color is within sRGB gamut.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isInGamut(l: number, c: number, h: number): boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
@@ -6,6 +6,10 @@ export declare class AuiStat extends AgentElement {
|
|
|
6
6
|
value: string;
|
|
7
7
|
trend: string;
|
|
8
8
|
change: string;
|
|
9
|
+
'animate-count': boolean;
|
|
10
|
+
'animate-count-start': string;
|
|
11
|
+
'animate-scramble': boolean;
|
|
12
|
+
'duration-ms': string;
|
|
9
13
|
protected activate(): void;
|
|
10
14
|
protected dispose(): void;
|
|
11
15
|
}
|
|
File without changes
|
|
File without changes
|
package/dist/components.js
CHANGED
|
@@ -1,140 +1,129 @@
|
|
|
1
|
-
import { A as a } from "./chunks/agent-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
5
|
-
class
|
|
6
|
-
}
|
|
7
|
-
class n extends a {
|
|
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
|
+
class e extends a {
|
|
8
6
|
}
|
|
9
|
-
class
|
|
7
|
+
class u extends a {
|
|
10
8
|
}
|
|
11
|
-
class
|
|
9
|
+
class A extends a {
|
|
12
10
|
}
|
|
13
|
-
class
|
|
14
|
-
static attributes = {
|
|
15
|
-
value: { type: "string", default: "0" },
|
|
16
|
-
min: { type: "string", default: "0" },
|
|
17
|
-
max: { type: "string", default: "100" }
|
|
18
|
-
};
|
|
19
|
-
activate() {
|
|
20
|
-
this.addEffect(() => {
|
|
21
|
-
const e = Number(this.min) || 0, s = Number(this.max) || 100, u = Number(this.value) || 0, t = Math.max(0, Math.min(100, (u - e) / (s - e) * 100));
|
|
22
|
-
this.style.setProperty("--aui-meter-pct", String(t));
|
|
23
|
-
});
|
|
24
|
-
}
|
|
11
|
+
class t extends a {
|
|
25
12
|
}
|
|
26
|
-
class
|
|
13
|
+
class o extends a {
|
|
27
14
|
}
|
|
28
|
-
class
|
|
15
|
+
class r extends a {
|
|
29
16
|
}
|
|
30
|
-
class
|
|
17
|
+
class n extends a {
|
|
31
18
|
}
|
|
32
19
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
20
|
+
p as ACTION_REGISTRY,
|
|
21
|
+
h as AuiAccordion,
|
|
22
|
+
G as AuiAccordionItem,
|
|
23
|
+
m as AuiAgentActivity,
|
|
24
|
+
c as AuiAgentFeed,
|
|
25
|
+
g as AuiAgentInput,
|
|
26
|
+
C as AuiAgentMessage,
|
|
27
|
+
T as AuiAgentPanel,
|
|
28
|
+
S as AuiAgentPrompt,
|
|
29
|
+
b as AuiAgentSeeds,
|
|
30
|
+
x as AuiAgentText,
|
|
31
|
+
I as AuiAgentThread,
|
|
32
|
+
u as AuiAlert,
|
|
33
|
+
f as AuiAppShell,
|
|
34
|
+
D as AuiAvatarGroup,
|
|
35
|
+
B as AuiBreadcrumb,
|
|
36
|
+
E as AuiBreadcrumbItem,
|
|
37
|
+
M as AuiButton,
|
|
38
|
+
w as AuiCalendarPicker,
|
|
39
|
+
y as AuiCalendarRangePicker,
|
|
40
|
+
H as AuiCarousel,
|
|
41
|
+
O as AuiCheckbox,
|
|
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,
|
|
64
|
+
Aa as AuiEmptyState,
|
|
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,
|
|
76
|
+
o as AuiNavItem,
|
|
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,
|
|
95
84
|
ka as AuiPane,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
85
|
+
Ra as AuiPanes,
|
|
86
|
+
Fa as AuiProgress,
|
|
87
|
+
ha as AuiProgressCircle,
|
|
88
|
+
Ga as AuiRadio,
|
|
89
|
+
fa as AuiRadioGroup,
|
|
101
90
|
Da as AuiRange,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
Ba as AuiRoot,
|
|
92
|
+
Ea as AuiSegment,
|
|
93
|
+
Ma as AuiSegmentedControl,
|
|
94
|
+
wa as AuiSelect,
|
|
95
|
+
ya as AuiSidebar,
|
|
107
96
|
Ha as AuiSidebarContent,
|
|
108
97
|
Oa as AuiSidebarFooter,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
98
|
+
va as AuiSidebarHeader,
|
|
99
|
+
e as AuiSkeleton,
|
|
100
|
+
La as AuiSparkline,
|
|
101
|
+
t as AuiSpinner,
|
|
102
|
+
Na as AuiStat,
|
|
103
|
+
n as AuiStep,
|
|
104
|
+
r as AuiStepper,
|
|
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,
|
|
122
|
+
P as ROLE_DEFAULTS,
|
|
123
|
+
ui as getIcon,
|
|
124
|
+
Ai as registerIcon,
|
|
125
|
+
ti as registerIcons,
|
|
126
|
+
k as renderMarkdown,
|
|
127
|
+
R as sanitizeHtml
|
|
139
128
|
};
|
|
140
129
|
//# sourceMappingURL=components.js.map
|
package/dist/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":["../src/components/skeleton/skeleton.ts","../src/components/alert/alert.ts","../src/components/link/link.ts","../src/components/spinner/spinner.ts","../src/components/
|
|
1
|
+
{"version":3,"file":"components.js","sources":["../src/components/skeleton/skeleton.ts","../src/components/alert/alert.ts","../src/components/link/link.ts","../src/components/spinner/spinner.ts","../src/components/nav-item/nav-item.ts","../src/components/stepper/stepper.ts","../src/components/stepper/step.ts"],"sourcesContent":["import { AgentElement } from '#element'\n\nexport class AuiSkeleton extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiAlert extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiLink extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiSpinner extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiNavItem extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiStepper extends AgentElement {}\n","import { AgentElement } from '#element'\n\nexport class AuiStep extends AgentElement {}\n"],"names":["AuiSkeleton","AgentElement","AuiAlert","AuiLink","AuiSpinner","AuiNavItem","AuiStepper","AuiStep"],"mappings":";;;;AAEO,MAAMA,UAAoBC,EAAa;AAAC;ACAxC,MAAMC,UAAiBD,EAAa;AAAC;ACArC,MAAME,UAAgBF,EAAa;AAAC;ACApC,MAAMG,UAAmBH,EAAa;AAAC;ACAvC,MAAMI,UAAmBJ,EAAa;AAAC;ACAvC,MAAMK,UAAmBL,EAAa;AAAC;ACAvC,MAAMM,UAAgBN,EAAa;AAAC;"}
|
|
@@ -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.
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
name: announcement-card
|
|
2
2
|
type: block
|
|
3
3
|
summary: Announcement card with image area, description, and contextual footer actions.
|
|
4
|
-
description:
|
|
5
|
-
A card featuring a tall image or illustration area at top, followed by
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card featuring a tall image or illustration area at top, followed by a title, description, and footer with a primary action and a contextual badge or label. Use for product announcements, deprecation notices, or feature highlights.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-content
|
|
9
|
+
- aui-footer
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-badge
|
|
15
|
+
- aui-button
|
|
11
16
|
kind: card
|
|
12
|
-
|
|
13
17
|
examples:
|
|
14
|
-
-
|
|
18
|
+
- description: Announcement card with image area, description, and contextual footer actions.
|
|
19
|
+
html: |-
|
|
15
20
|
<aui-container kind="card" bordered max-width="sm" style="overflow: hidden;">
|
|
16
21
|
<div style="height: 12rem; background: linear-gradient(135deg, var(--aui-control) 0%, var(--aui-panel) 100%);"></div>
|
|
17
22
|
<aui-content>
|
|
@@ -27,4 +32,3 @@ examples:
|
|
|
27
32
|
<span slot="leading"><aui-button primary>Create Query</aui-button></span>
|
|
28
33
|
</aui-footer>
|
|
29
34
|
</aui-container>
|
|
30
|
-
description: Deprecation announcement with gradient image placeholder and warning badge.
|