@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
|
@@ -2,36 +2,30 @@ name: aui-breadcrumb
|
|
|
2
2
|
tag: aui-breadcrumb
|
|
3
3
|
type: component
|
|
4
4
|
summary: Breadcrumb navigation trail.
|
|
5
|
-
description:
|
|
6
|
-
Container for aui-breadcrumb-item children. Sets role="navigation"
|
|
7
|
-
and aria-label. Separators are rendered via CSS between items.
|
|
8
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Container for aui-breadcrumb-item children. Sets role="navigation" and aria-label. Separators are rendered via CSS between items.
|
|
9
7
|
base: AgentElement
|
|
10
|
-
|
|
11
8
|
attributes:
|
|
12
9
|
label:
|
|
13
10
|
syntax: key-value
|
|
14
11
|
type: string
|
|
15
12
|
default: Breadcrumb
|
|
16
13
|
description: Accessible label for the navigation landmark.
|
|
17
|
-
|
|
18
14
|
joiner:
|
|
19
15
|
syntax: key-value
|
|
20
16
|
type: string
|
|
21
|
-
default:
|
|
22
|
-
description:
|
|
23
|
-
Separator character between breadcrumb items.
|
|
24
|
-
Common values: "/" "›" "→" "·"
|
|
25
|
-
|
|
17
|
+
default: /
|
|
18
|
+
description: |
|
|
19
|
+
Separator character between breadcrumb items. Common values: "/" "›" "→" "·"
|
|
26
20
|
a11y:
|
|
27
21
|
role: navigation
|
|
28
22
|
aria:
|
|
29
23
|
aria-label: Set from label attribute.
|
|
30
|
-
|
|
31
24
|
composition:
|
|
32
|
-
parents:
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
parents:
|
|
26
|
+
- any
|
|
27
|
+
children:
|
|
28
|
+
- aui-breadcrumb-item
|
|
35
29
|
tokens:
|
|
36
30
|
- name: --aui-breadcrumb-font-family
|
|
37
31
|
default: var(--aui-font-family)
|
|
@@ -40,31 +34,72 @@ tokens:
|
|
|
40
34
|
default: var(--aui-font-size)
|
|
41
35
|
description: Font size for breadcrumb text.
|
|
42
36
|
- name: --aui-breadcrumb-gap
|
|
43
|
-
default:
|
|
37
|
+
default: calc(var(--aui-space) * 2)
|
|
44
38
|
description: Gap between breadcrumb items.
|
|
45
|
-
|
|
46
39
|
examples:
|
|
47
|
-
-
|
|
40
|
+
- description: Typical three-level breadcrumb trail
|
|
41
|
+
html: |-
|
|
48
42
|
<aui-breadcrumb>
|
|
49
43
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
50
44
|
<aui-breadcrumb-item href="/settings">Settings</aui-breadcrumb-item>
|
|
51
45
|
<aui-breadcrumb-item current>Profile</aui-breadcrumb-item>
|
|
52
46
|
</aui-breadcrumb>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- html: |
|
|
47
|
+
- description: Deep breadcrumb trail with four levels
|
|
48
|
+
html: |-
|
|
56
49
|
<aui-breadcrumb>
|
|
57
50
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
58
51
|
<aui-breadcrumb-item href="/products">Products</aui-breadcrumb-item>
|
|
59
52
|
<aui-breadcrumb-item href="/products/widgets">Widgets</aui-breadcrumb-item>
|
|
60
53
|
<aui-breadcrumb-item current>Deluxe Widget</aui-breadcrumb-item>
|
|
61
54
|
</aui-breadcrumb>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
- html: |
|
|
55
|
+
- description: Custom joiner character (›)
|
|
56
|
+
html: |-
|
|
65
57
|
<aui-breadcrumb joiner="›">
|
|
66
58
|
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
67
59
|
<aui-breadcrumb-item href="/docs">Docs</aui-breadcrumb-item>
|
|
68
60
|
<aui-breadcrumb-item current>API</aui-breadcrumb-item>
|
|
69
61
|
</aui-breadcrumb>
|
|
70
|
-
|
|
62
|
+
- description: Deep breadcrumb trail with five levels
|
|
63
|
+
html: |-
|
|
64
|
+
<aui-breadcrumb>
|
|
65
|
+
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
66
|
+
<aui-breadcrumb-item href="/workspace">Workspace</aui-breadcrumb-item>
|
|
67
|
+
<aui-breadcrumb-item href="/workspace/projects">Projects</aui-breadcrumb-item>
|
|
68
|
+
<aui-breadcrumb-item href="/workspace/projects/agent-ui">Agent UI</aui-breadcrumb-item>
|
|
69
|
+
<aui-breadcrumb-item href="/workspace/projects/agent-ui/components">Components</aui-breadcrumb-item>
|
|
70
|
+
<aui-breadcrumb-item current>Breadcrumb</aui-breadcrumb-item>
|
|
71
|
+
</aui-breadcrumb>
|
|
72
|
+
- description: Breadcrumb items with leading icons
|
|
73
|
+
html: |-
|
|
74
|
+
<aui-breadcrumb>
|
|
75
|
+
<aui-breadcrumb-item href="/">
|
|
76
|
+
<aui-icon name="house" slot="leading"></aui-icon>
|
|
77
|
+
Home
|
|
78
|
+
</aui-breadcrumb-item>
|
|
79
|
+
<aui-breadcrumb-item href="/settings">
|
|
80
|
+
<aui-icon name="gear" slot="leading"></aui-icon>
|
|
81
|
+
Settings
|
|
82
|
+
</aui-breadcrumb-item>
|
|
83
|
+
<aui-breadcrumb-item current>
|
|
84
|
+
<aui-icon name="user" slot="leading"></aui-icon>
|
|
85
|
+
Profile
|
|
86
|
+
</aui-breadcrumb-item>
|
|
87
|
+
</aui-breadcrumb>
|
|
88
|
+
- description: Current page is non-clickable, previous items are links
|
|
89
|
+
html: |-
|
|
90
|
+
<aui-breadcrumb joiner="→">
|
|
91
|
+
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
92
|
+
<aui-breadcrumb-item href="/blog">Blog</aui-breadcrumb-item>
|
|
93
|
+
<aui-breadcrumb-item href="/blog/2026">2026</aui-breadcrumb-item>
|
|
94
|
+
<aui-breadcrumb-item current>How to build a design system</aui-breadcrumb-item>
|
|
95
|
+
</aui-breadcrumb>
|
|
96
|
+
- description: Deep breadcrumb with arrow joiner and six levels
|
|
97
|
+
html: |-
|
|
98
|
+
<aui-breadcrumb joiner="›">
|
|
99
|
+
<aui-breadcrumb-item href="/">Home</aui-breadcrumb-item>
|
|
100
|
+
<aui-breadcrumb-item href="/admin">Admin</aui-breadcrumb-item>
|
|
101
|
+
<aui-breadcrumb-item href="/admin/users">Users</aui-breadcrumb-item>
|
|
102
|
+
<aui-breadcrumb-item href="/admin/users/roles">Roles</aui-breadcrumb-item>
|
|
103
|
+
<aui-breadcrumb-item href="/admin/users/roles/editor">Editor</aui-breadcrumb-item>
|
|
104
|
+
<aui-breadcrumb-item current>Permissions</aui-breadcrumb-item>
|
|
105
|
+
</aui-breadcrumb>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
name: aui-button-group
|
|
2
|
+
tag: aui-button-group
|
|
3
|
+
type: element
|
|
4
|
+
summary: Groups buttons with shared or connected borders.
|
|
5
|
+
description: |
|
|
6
|
+
CSS-only element that groups buttons horizontally or vertically. Full-width (display: flex) by default with a 2-unit gap. Add the [inline] attribute for shrink-wrap (display: inline-flex) behavior. Attached mode removes gap and merges borders between buttons by stripping inner border-radius. Use for toolbars, view toggles, split buttons, and pagination controls.
|
|
7
|
+
presentational:
|
|
8
|
+
direction:
|
|
9
|
+
syntax: key-value
|
|
10
|
+
attribute: direction
|
|
11
|
+
cascades: false
|
|
12
|
+
default: row
|
|
13
|
+
values:
|
|
14
|
+
- row
|
|
15
|
+
- column
|
|
16
|
+
description: Layout axis for the button group.
|
|
17
|
+
modifiers:
|
|
18
|
+
inline:
|
|
19
|
+
syntax: boolean
|
|
20
|
+
description: |
|
|
21
|
+
Switches from full-width (display: flex) to shrink-wrap (display: inline-flex) so the group only takes the space its buttons need.
|
|
22
|
+
attached:
|
|
23
|
+
syntax: boolean
|
|
24
|
+
description: |
|
|
25
|
+
Removes gap and merges borders between buttons. Strips inner border-radius so buttons appear as one connected unit.
|
|
26
|
+
content:
|
|
27
|
+
model: flow
|
|
28
|
+
accepts:
|
|
29
|
+
- aui-button
|
|
30
|
+
required: true
|
|
31
|
+
description: |
|
|
32
|
+
Two or more aui-button elements. All buttons should share the same size and variant for visual consistency.
|
|
33
|
+
slots:
|
|
34
|
+
default:
|
|
35
|
+
accepts:
|
|
36
|
+
- aui-button
|
|
37
|
+
required: true
|
|
38
|
+
description: The grouped buttons.
|
|
39
|
+
composition:
|
|
40
|
+
parents:
|
|
41
|
+
- aui-header
|
|
42
|
+
- aui-footer
|
|
43
|
+
- aui-stack
|
|
44
|
+
- aui-wrap
|
|
45
|
+
- div
|
|
46
|
+
children:
|
|
47
|
+
- aui-button
|
|
48
|
+
context: |
|
|
49
|
+
Use in toolbars, card footers, and form actions. Attached mode is best for view toggles and segmented actions. Non-attached mode keeps a small gap for general toolbar groups.
|
|
50
|
+
tokens:
|
|
51
|
+
spacing:
|
|
52
|
+
- --aui-space
|
|
53
|
+
shape:
|
|
54
|
+
- --aui-button-radius-start
|
|
55
|
+
- --aui-button-radius-end
|
|
56
|
+
- --aui-button-radius-top
|
|
57
|
+
- --aui-button-radius-bottom
|
|
58
|
+
examples:
|
|
59
|
+
- description: Default full-width button group with 2-unit gap
|
|
60
|
+
html: |-
|
|
61
|
+
<aui-button-group>
|
|
62
|
+
<aui-button>Copy</aui-button>
|
|
63
|
+
<aui-button>Paste</aui-button>
|
|
64
|
+
<aui-button>Delete</aui-button>
|
|
65
|
+
</aui-button-group>
|
|
66
|
+
- description: Inline (shrink-wrap) button group
|
|
67
|
+
html: |-
|
|
68
|
+
<aui-button-group inline>
|
|
69
|
+
<aui-button>Copy</aui-button>
|
|
70
|
+
<aui-button>Paste</aui-button>
|
|
71
|
+
<aui-button>Delete</aui-button>
|
|
72
|
+
</aui-button-group>
|
|
73
|
+
- description: Attached button group for view toggles
|
|
74
|
+
html: |-
|
|
75
|
+
<aui-button-group attached>
|
|
76
|
+
<aui-button>List</aui-button>
|
|
77
|
+
<aui-button>Grid</aui-button>
|
|
78
|
+
<aui-button>Board</aui-button>
|
|
79
|
+
</aui-button-group>
|
|
80
|
+
- description: Vertical button group
|
|
81
|
+
html: |-
|
|
82
|
+
<aui-button-group direction="column">
|
|
83
|
+
<aui-button>Top</aui-button>
|
|
84
|
+
<aui-button>Middle</aui-button>
|
|
85
|
+
<aui-button>Bottom</aui-button>
|
|
86
|
+
</aui-button-group>
|
|
87
|
+
- description: Attached vertical button group
|
|
88
|
+
html: |-
|
|
89
|
+
<aui-button-group attached direction="column">
|
|
90
|
+
<aui-button>Top</aui-button>
|
|
91
|
+
<aui-button>Middle</aui-button>
|
|
92
|
+
<aui-button>Bottom</aui-button>
|
|
93
|
+
</aui-button-group>
|