@agent-ui-kit/web-components 0.0.14 → 0.0.15
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 +4570 -1641
- package/dist/api.tokens.json +34 -2
- package/dist/api.tokens.yaml +26 -2
- package/dist/chunks/{agent-C72JZNe6.js → agent-BF_R_HJk.js} +65 -61
- package/dist/chunks/{agent-C72JZNe6.js.map → agent-BF_R_HJk.js.map} +1 -1
- package/dist/chunks/{empty-state-5M3uR5CM.js → meter-Dju8ik6C.js} +1169 -934
- package/dist/chunks/meter-Dju8ik6C.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/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/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/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/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 +114 -127
- package/dist/components.js.map +1 -1
- package/dist/docs/blocks/login-two-column.yaml +6 -6
- package/dist/docs/blocks/profile-card.yaml +5 -5
- package/dist/docs/components/accordion-item.yaml +13 -21
- package/dist/docs/components/accordion.yaml +23 -29
- package/dist/docs/components/agent-activity.yaml +27 -39
- 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 +28 -46
- package/dist/docs/components/agent-seeds.yaml +15 -23
- 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 +60 -25
- package/dist/docs/components/button-group.yaml +93 -0
- package/dist/docs/components/button.yaml +177 -261
- package/dist/docs/components/calendar-picker.yaml +14 -34
- 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 +88 -54
- 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 +64 -38
- 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 +83 -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 +54 -0
- package/dist/docs/components/hover-card.yaml +17 -25
- package/dist/docs/components/icon.yaml +32 -65
- package/dist/docs/components/input-group.yaml +102 -0
- package/dist/docs/components/input-otp.yaml +20 -19
- package/dist/docs/components/input.yaml +92 -132
- 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 +27 -38
- package/dist/docs/components/nav-item.yaml +51 -40
- 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/stepper.yaml +31 -38
- 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 +74 -33
- 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 +258 -244
- 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-BF_R_HJk.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
|
|
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
|
package/dist/components/graph.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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,127 @@
|
|
|
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-BF_R_HJk.js";
|
|
2
|
+
import { a as p, b as m, d as g, e as c, 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-BF_R_HJk.js";
|
|
3
|
+
import { A as f, a as h, b as D, c as G, 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 Aa, H as ua, 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 ga, R as ca, 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 fa, a1 as ha, a2 as Da, a3 as Ga, 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 } from "./chunks/meter-Dju8ik6C.js";
|
|
4
|
+
import { g as si, a as ei, r as Ai } from "./chunks/registry-BNb5ABBs.js";
|
|
5
|
+
class e extends a {
|
|
8
6
|
}
|
|
9
|
-
class
|
|
7
|
+
class A extends a {
|
|
10
8
|
}
|
|
11
|
-
class
|
|
9
|
+
class u 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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
20
|
+
p as ACTION_REGISTRY,
|
|
21
|
+
f as AuiAccordion,
|
|
22
|
+
h as AuiAccordionItem,
|
|
23
|
+
m as AuiAgentActivity,
|
|
24
|
+
g as AuiAgentFeed,
|
|
25
|
+
c 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
|
+
A as AuiAlert,
|
|
33
|
+
D as AuiAppShell,
|
|
34
|
+
G 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 AuiChip,
|
|
43
|
+
L as AuiCodeBlock,
|
|
44
|
+
N as AuiColorArea,
|
|
45
|
+
j as AuiColorField,
|
|
46
|
+
U as AuiColorPicker,
|
|
47
|
+
_ as AuiColorSlider,
|
|
48
|
+
q as AuiCommand,
|
|
49
|
+
z as AuiCommandEmpty,
|
|
50
|
+
Y as AuiCommandGroup,
|
|
51
|
+
J as AuiCommandInput,
|
|
52
|
+
K as AuiCommandItem,
|
|
53
|
+
Q as AuiCommandList,
|
|
54
|
+
V as AuiContainer,
|
|
55
|
+
W as AuiContextMenu,
|
|
56
|
+
X as AuiCopyButton,
|
|
57
|
+
Z as AuiDateField,
|
|
58
|
+
$ as AuiDialog,
|
|
59
|
+
aa as AuiDisclosure,
|
|
60
|
+
ia as AuiDisclosureGroup,
|
|
61
|
+
sa as AuiDrawer,
|
|
62
|
+
ea as AuiDropdownMenu,
|
|
63
|
+
Aa as AuiEmptyState,
|
|
64
|
+
ua as AuiFeed,
|
|
65
|
+
ta as AuiFileUpload,
|
|
66
|
+
oa as AuiGripper,
|
|
67
|
+
ra as AuiHoverCard,
|
|
68
|
+
na as AuiIcon,
|
|
69
|
+
da as AuiImage,
|
|
70
|
+
la as AuiInput,
|
|
71
|
+
pa as AuiInputOtp,
|
|
72
|
+
u as AuiLink,
|
|
73
|
+
ma as AuiMeter,
|
|
74
|
+
o as AuiNavItem,
|
|
75
|
+
ga as AuiNotificationCenter,
|
|
76
|
+
ca as AuiOptgroup,
|
|
77
|
+
Ca as AuiOption,
|
|
78
|
+
Ta as AuiPage,
|
|
79
|
+
Sa as AuiPageContext,
|
|
80
|
+
ba as AuiPageMain,
|
|
81
|
+
xa as AuiPagination,
|
|
82
|
+
Ia as AuiPane,
|
|
83
|
+
Pa as AuiPanes,
|
|
84
|
+
ka as AuiProgress,
|
|
85
|
+
Ra as AuiProgressCircle,
|
|
99
86
|
Fa as AuiRadio,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
87
|
+
fa as AuiRadioGroup,
|
|
88
|
+
ha as AuiRange,
|
|
89
|
+
Da as AuiRoot,
|
|
103
90
|
Ga as AuiSegment,
|
|
104
91
|
Ba as AuiSegmentedControl,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
92
|
+
Ea as AuiSelect,
|
|
93
|
+
Ma as AuiSidebar,
|
|
94
|
+
wa as AuiSidebarContent,
|
|
95
|
+
ya as AuiSidebarFooter,
|
|
96
|
+
Ha as AuiSidebarHeader,
|
|
97
|
+
e as AuiSkeleton,
|
|
98
|
+
Oa as AuiSparkline,
|
|
99
|
+
t as AuiSpinner,
|
|
100
|
+
va as AuiStat,
|
|
101
|
+
n as AuiStep,
|
|
102
|
+
r as AuiStepper,
|
|
103
|
+
La as AuiSwitch,
|
|
104
|
+
Na as AuiTab,
|
|
105
|
+
ja as AuiTabPanel,
|
|
106
|
+
Ua as AuiTable,
|
|
107
|
+
_a as AuiTableBody,
|
|
108
|
+
qa as AuiTableCell,
|
|
109
|
+
za as AuiTableHead,
|
|
110
|
+
Ya as AuiTableHeader,
|
|
111
|
+
Ja as AuiTableRow,
|
|
112
|
+
Ka as AuiTabs,
|
|
113
|
+
Qa as AuiTagGroup,
|
|
114
|
+
Va as AuiTextarea,
|
|
115
|
+
Wa as AuiTimeField,
|
|
116
|
+
Xa as AuiToast,
|
|
117
|
+
Za as AuiTooltip,
|
|
118
|
+
$a as AuiTree,
|
|
119
|
+
ai as AuiTreeItem,
|
|
120
|
+
P as ROLE_DEFAULTS,
|
|
121
|
+
si as getIcon,
|
|
122
|
+
ei as registerIcon,
|
|
123
|
+
Ai as registerIcons,
|
|
124
|
+
k as renderMarkdown,
|
|
125
|
+
R as sanitizeHtml
|
|
139
126
|
};
|
|
140
127
|
//# 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;"}
|
|
@@ -9,7 +9,7 @@ description: >
|
|
|
9
9
|
marketing-oriented sign-in pages where you want to reinforce brand
|
|
10
10
|
identity alongside the auth flow.
|
|
11
11
|
|
|
12
|
-
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-field, aui-input, aui-button, aui-divider]
|
|
12
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-field, aui-input, aui-button, aui-button-group, aui-divider]
|
|
13
13
|
kind: panel
|
|
14
14
|
|
|
15
15
|
examples:
|
|
@@ -48,11 +48,11 @@ examples:
|
|
|
48
48
|
</aui-stack>
|
|
49
49
|
|
|
50
50
|
<!-- Social row -->
|
|
51
|
-
<aui-
|
|
52
|
-
<aui-button scrim grow="1">Apple</aui-button>
|
|
53
|
-
<aui-button scrim grow="1">Google</aui-button>
|
|
54
|
-
<aui-button scrim grow="1">Meta</aui-button>
|
|
55
|
-
</aui-
|
|
51
|
+
<aui-button-group>
|
|
52
|
+
<aui-button scrim grow="1" basis="0">Apple</aui-button>
|
|
53
|
+
<aui-button scrim grow="1" basis="0">Google</aui-button>
|
|
54
|
+
<aui-button scrim grow="1" basis="0">Meta</aui-button>
|
|
55
|
+
</aui-button-group>
|
|
56
56
|
|
|
57
57
|
<!-- Terms -->
|
|
58
58
|
<aui-text muted size="xs" align-items="center" text="center">By clicking continue, you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</aui-text>
|
|
@@ -8,7 +8,7 @@ description: >
|
|
|
8
8
|
team directories, account pages, or social-style dashboards where you
|
|
9
9
|
need to present identity alongside engagement metrics.
|
|
10
10
|
|
|
11
|
-
components: [aui-container, aui-inset, aui-header, aui-content, aui-footer, aui-stack, aui-heading, aui-text, aui-stat, aui-avatar, aui-button]
|
|
11
|
+
components: [aui-container, aui-inset, aui-header, aui-content, aui-footer, aui-stack, aui-heading, aui-text, aui-stat, aui-avatar, aui-button, aui-button-group]
|
|
12
12
|
kind: card
|
|
13
13
|
|
|
14
14
|
examples:
|
|
@@ -28,10 +28,10 @@ examples:
|
|
|
28
28
|
<aui-stat label="Followers" value="1.2k"></aui-stat>
|
|
29
29
|
<aui-stat label="Following" value="340"></aui-stat>
|
|
30
30
|
</aui-stack>
|
|
31
|
-
<aui-
|
|
32
|
-
<aui-button scrim
|
|
33
|
-
<aui-button primary accent
|
|
34
|
-
</aui-
|
|
31
|
+
<aui-button-group>
|
|
32
|
+
<aui-button scrim grow="1" basis="0">Edit profile</aui-button>
|
|
33
|
+
<aui-button primary accent grow="1" basis="0">Message</aui-button>
|
|
34
|
+
</aui-button-group>
|
|
35
35
|
</aui-stack>
|
|
36
36
|
</aui-inset>
|
|
37
37
|
</aui-content>
|
|
@@ -2,40 +2,34 @@ name: aui-accordion-item
|
|
|
2
2
|
tag: aui-accordion-item
|
|
3
3
|
type: component
|
|
4
4
|
summary: Collapsible section with trigger and content panel.
|
|
5
|
-
description:
|
|
6
|
-
Uses native details/summary for baseline accessibility. Chevron
|
|
7
|
-
indicator rotates on open. Can be used standalone or inside
|
|
8
|
-
aui-accordion for coordinated single-open behavior.
|
|
9
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Uses native details/summary for baseline accessibility. Chevron indicator rotates on open. Can be used standalone or inside aui-accordion for coordinated single-open behavior.
|
|
10
7
|
base: AgentElement
|
|
11
|
-
|
|
12
8
|
attributes:
|
|
13
9
|
open:
|
|
14
10
|
syntax: boolean
|
|
15
11
|
type: boolean
|
|
16
12
|
default: false
|
|
17
13
|
description: Whether the content is expanded.
|
|
18
|
-
|
|
19
14
|
disabled:
|
|
20
15
|
syntax: boolean
|
|
21
16
|
type: boolean
|
|
22
17
|
default: false
|
|
23
18
|
description: Prevents toggling.
|
|
24
|
-
|
|
25
19
|
a11y:
|
|
26
20
|
role: Uses native details/summary semantics.
|
|
27
21
|
keyboard:
|
|
28
22
|
Enter: Toggle open/closed.
|
|
29
23
|
Space: Toggle open/closed.
|
|
30
|
-
|
|
31
24
|
events:
|
|
32
25
|
toggle:
|
|
33
26
|
description: Fired when open state changes. detail.open is the new state.
|
|
34
|
-
|
|
35
27
|
composition:
|
|
36
|
-
parents:
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
parents:
|
|
29
|
+
- aui-accordion
|
|
30
|
+
- any
|
|
31
|
+
children:
|
|
32
|
+
- any
|
|
39
33
|
tokens:
|
|
40
34
|
- name: --aui-accordion-item-border-color
|
|
41
35
|
default: var(--aui-border-muted)
|
|
@@ -76,18 +70,16 @@ tokens:
|
|
|
76
70
|
- name: --aui-accordion-item-color-disabled
|
|
77
71
|
default: var(--aui-ink-disabled, var(--aui-ink-muted))
|
|
78
72
|
description: Header text color when disabled.
|
|
79
|
-
|
|
80
73
|
examples:
|
|
81
|
-
-
|
|
74
|
+
- description: Single collapsible section
|
|
75
|
+
html: |-
|
|
82
76
|
<aui-accordion-item>
|
|
83
77
|
<span data-trigger>Section Title</span>
|
|
84
|
-
<
|
|
78
|
+
<aui-text>Collapsible content here.</aui-text>
|
|
85
79
|
</aui-accordion-item>
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- html: |
|
|
80
|
+
- description: Pre-opened section
|
|
81
|
+
html: |-
|
|
89
82
|
<aui-accordion-item open>
|
|
90
83
|
<span data-trigger>Initially Open</span>
|
|
91
|
-
<
|
|
84
|
+
<aui-text>This section starts expanded.</aui-text>
|
|
92
85
|
</aui-accordion-item>
|
|
93
|
-
description: Pre-opened section.
|