@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
|
@@ -2,42 +2,33 @@ name: aui-pagination
|
|
|
2
2
|
tag: aui-pagination
|
|
3
3
|
type: component
|
|
4
4
|
summary: Page navigation with numbered buttons and prev/next.
|
|
5
|
-
description:
|
|
6
|
-
Stamps page buttons, prev/next arrows, and ellipsis from the
|
|
7
|
-
page and total attributes. Handles large page counts with
|
|
8
|
-
configurable sibling count.
|
|
9
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Stamps page buttons, prev/next arrows, and ellipsis from the page and total attributes. Handles large page counts with configurable sibling count.
|
|
10
7
|
base: AgentElement
|
|
11
|
-
|
|
12
8
|
attributes:
|
|
13
9
|
page:
|
|
14
10
|
syntax: key-value
|
|
15
11
|
type: string
|
|
16
12
|
default: "1"
|
|
17
13
|
description: Current page number.
|
|
18
|
-
|
|
19
14
|
total:
|
|
20
15
|
syntax: key-value
|
|
21
16
|
type: string
|
|
22
17
|
default: "1"
|
|
23
18
|
description: Total number of pages.
|
|
24
|
-
|
|
25
19
|
siblings:
|
|
26
20
|
syntax: key-value
|
|
27
21
|
type: string
|
|
28
22
|
default: "1"
|
|
29
23
|
description: Number of sibling pages to show around the current page.
|
|
30
|
-
|
|
31
24
|
a11y:
|
|
32
25
|
role: navigation
|
|
33
26
|
aria:
|
|
34
27
|
aria-label: Pagination
|
|
35
28
|
aria-current: page (on the current page button).
|
|
36
|
-
|
|
37
29
|
events:
|
|
38
30
|
change:
|
|
39
31
|
description: Fired when page changes. detail.page is the new page number.
|
|
40
|
-
|
|
41
32
|
tokens:
|
|
42
33
|
- name: --aui-pagination-gap
|
|
43
34
|
default: 2px
|
|
@@ -67,7 +58,7 @@ tokens:
|
|
|
67
58
|
default: var(--aui-solid, var(--aui-accent, oklch(0.55 0.2 260)))
|
|
68
59
|
description: Background color of the current page button.
|
|
69
60
|
- name: --aui-pagination-current-color
|
|
70
|
-
default: var(--aui-
|
|
61
|
+
default: var(--aui-solid-ink,
|
|
71
62
|
description: Text color of the current page button.
|
|
72
63
|
- name: --aui-pagination-current-font-weight
|
|
73
64
|
default: var(--aui-font-weight-medium)
|
|
@@ -78,10 +69,22 @@ tokens:
|
|
|
78
69
|
- name: --aui-pagination-ellipsis-color
|
|
79
70
|
default: var(--aui-ink-muted)
|
|
80
71
|
description: Color of the ellipsis indicators.
|
|
81
|
-
|
|
82
72
|
examples:
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
73
|
+
- description: Pagination on page 3 of 10
|
|
74
|
+
html: <aui-pagination page="3" total="10"></aui-pagination>
|
|
75
|
+
- description: Small pagination with 2 siblings
|
|
76
|
+
html: <aui-pagination page="1" total="5" siblings="2"></aui-pagination>
|
|
77
|
+
- description: First page — prev should be disabled
|
|
78
|
+
html: <aui-pagination page="1" total="10"></aui-pagination>
|
|
79
|
+
- description: Last page — next should be disabled
|
|
80
|
+
html: <aui-pagination page="10" total="10"></aui-pagination>
|
|
81
|
+
- description: Middle of a large set (page 5 of 20)
|
|
82
|
+
html: <aui-pagination page="5" total="20"></aui-pagination>
|
|
83
|
+
- description: Many pages with 2 siblings (page 8 of 30)
|
|
84
|
+
html: <aui-pagination page="8" total="30" siblings="2"></aui-pagination>
|
|
85
|
+
- description: Many pages with 3 siblings for wider range (page 12 of 50)
|
|
86
|
+
html: <aui-pagination page="12" total="50" siblings="3"></aui-pagination>
|
|
87
|
+
- description: Few pages, all visible
|
|
88
|
+
html: <aui-pagination page="2" total="3"></aui-pagination>
|
|
89
|
+
- description: Single page — both prev/next disabled
|
|
90
|
+
html: <aui-pagination page="1" total="1"></aui-pagination>
|
|
@@ -2,68 +2,55 @@ name: aui-pane
|
|
|
2
2
|
tag: aui-pane
|
|
3
3
|
type: component
|
|
4
4
|
summary: Individual pane within a resizable split layout.
|
|
5
|
-
description:
|
|
6
|
-
A flexible panel within aui-panes. Supports auto-stamped headers with
|
|
7
|
-
label, icon, close and minimize buttons. Can be minimized to header-only,
|
|
8
|
-
collapsed to a thin strip, or hidden. Resize priority (high/normal/low)
|
|
9
|
-
controls how cascade resizing distributes space.
|
|
10
|
-
|
|
5
|
+
description: |
|
|
6
|
+
A flexible panel within aui-panes. Supports auto-stamped headers with label, icon, close and minimize buttons. Can be minimized to header-only, collapsed to a thin strip, or hidden. Resize priority (high/normal/low) controls how cascade resizing distributes space.
|
|
11
7
|
base: AgentElement
|
|
12
|
-
|
|
13
8
|
attributes:
|
|
14
9
|
label:
|
|
15
10
|
syntax: key-value
|
|
16
11
|
type: string
|
|
17
12
|
default: ""
|
|
18
|
-
description:
|
|
19
|
-
Pane header label. When set, auto-stamps an aui-header with the label
|
|
20
|
-
text and optional action buttons.
|
|
21
|
-
|
|
13
|
+
description: |
|
|
14
|
+
Pane header label. When set, auto-stamps an aui-header with the label text and optional action buttons.
|
|
22
15
|
icon:
|
|
23
16
|
syntax: key-value
|
|
24
17
|
type: string
|
|
25
18
|
default: ""
|
|
26
19
|
description: Icon name shown before the label in the stamped header.
|
|
27
|
-
|
|
28
20
|
closeable:
|
|
29
21
|
syntax: boolean
|
|
30
22
|
type: boolean
|
|
31
23
|
default: false
|
|
32
24
|
description: Adds a close button to the stamped header.
|
|
33
|
-
|
|
34
25
|
minimizable:
|
|
35
26
|
syntax: boolean
|
|
36
27
|
type: boolean
|
|
37
28
|
default: false
|
|
38
29
|
description: Adds a minimize/restore button to the stamped header.
|
|
39
|
-
|
|
40
30
|
minimized:
|
|
41
31
|
syntax: boolean
|
|
42
32
|
type: boolean
|
|
43
33
|
default: false
|
|
44
34
|
description: Collapses pane to header-only.
|
|
45
|
-
|
|
46
35
|
fixed-size:
|
|
47
36
|
syntax: key-value
|
|
48
37
|
type: string
|
|
49
38
|
default: ""
|
|
50
39
|
description: Fixed flex value (e.g. "300px"). Sets flex to 0 1 {fixed-size}.
|
|
51
|
-
|
|
52
40
|
basis:
|
|
53
41
|
syntax: key-value
|
|
54
42
|
type: string
|
|
55
43
|
default: ""
|
|
56
44
|
description: Preferred size (e.g. "14rem"). Sets flex to 1 1 {basis}.
|
|
57
|
-
|
|
58
45
|
priority:
|
|
59
46
|
syntax: key-value
|
|
60
47
|
type: enum
|
|
61
|
-
values:
|
|
48
|
+
values:
|
|
49
|
+
- high
|
|
50
|
+
- low
|
|
62
51
|
default: ""
|
|
63
|
-
description:
|
|
64
|
-
Resize priority. High-priority panes absorb delta first during
|
|
65
|
-
cascade resize. Low-priority panes resize last.
|
|
66
|
-
|
|
52
|
+
description: |
|
|
53
|
+
Resize priority. High-priority panes absorb delta first during cascade resize. Low-priority panes resize last.
|
|
67
54
|
tokens:
|
|
68
55
|
- name: --aui-pane-accent
|
|
69
56
|
default: var(--aui-focus)
|
|
@@ -84,15 +71,16 @@ tokens:
|
|
|
84
71
|
default: var(--aui-font-weight-semibold)
|
|
85
72
|
description: Font weight for the pane header label.
|
|
86
73
|
- name: --aui-pane-header-letter-spacing
|
|
87
|
-
default:
|
|
74
|
+
default: 0.04em
|
|
88
75
|
description: Letter spacing for the uppercase pane header label.
|
|
89
|
-
|
|
90
76
|
composition:
|
|
91
|
-
parents:
|
|
92
|
-
|
|
93
|
-
|
|
77
|
+
parents:
|
|
78
|
+
- aui-panes
|
|
79
|
+
children:
|
|
80
|
+
- any
|
|
94
81
|
examples:
|
|
95
|
-
-
|
|
82
|
+
- description: Two-pane split with labeled headers and resizable boundary
|
|
83
|
+
html: |-
|
|
96
84
|
<aui-panes style="height: 20rem; border: 1px solid var(--aui-border-muted); border-radius: var(--aui-radius);">
|
|
97
85
|
<aui-pane label="Explorer" size="xs" density="compact">
|
|
98
86
|
<aui-stack gap="1" padding="2">
|
|
@@ -107,9 +95,8 @@ examples:
|
|
|
107
95
|
</aui-stack>
|
|
108
96
|
</aui-pane>
|
|
109
97
|
</aui-panes>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- html: |
|
|
98
|
+
- description: Vertical split with minimizable panes
|
|
99
|
+
html: |-
|
|
113
100
|
<aui-panes direction="vertical" style="height: 20rem; border: 1px solid var(--aui-border-muted); border-radius: var(--aui-radius);">
|
|
114
101
|
<aui-pane label="Output" minimizable size="xs" density="compact">
|
|
115
102
|
<aui-stack padding="2">
|
|
@@ -122,4 +109,3 @@ examples:
|
|
|
122
109
|
</aui-stack>
|
|
123
110
|
</aui-pane>
|
|
124
111
|
</aui-panes>
|
|
125
|
-
description: Vertical split with minimizable panes.
|
|
@@ -2,34 +2,29 @@ name: aui-panes
|
|
|
2
2
|
tag: aui-panes
|
|
3
3
|
type: component
|
|
4
4
|
summary: Resizable split layout with pointer-proximity resize.
|
|
5
|
-
description:
|
|
6
|
-
Split-pane container with VS Code-style cascade resize. No handle elements —
|
|
7
|
-
resize boundaries are detected by pointer proximity (8px threshold) and
|
|
8
|
-
visualized with an accent bar. Supports priority-based size distribution,
|
|
9
|
-
min/max constraints, and proportional container resize.
|
|
10
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Split-pane container with VS Code-style cascade resize. No handle elements — resize boundaries are detected by pointer proximity (8px threshold) and visualized with an accent bar. Supports priority-based size distribution, min/max constraints, and proportional container resize.
|
|
11
7
|
base: AgentElement
|
|
12
|
-
|
|
13
8
|
attributes:
|
|
14
9
|
direction:
|
|
15
10
|
syntax: key-value
|
|
16
11
|
type: enum
|
|
17
|
-
values:
|
|
12
|
+
values:
|
|
13
|
+
- vertical
|
|
18
14
|
default: ""
|
|
19
|
-
description:
|
|
20
|
-
Layout direction. Default is horizontal (row). Set to "vertical"
|
|
21
|
-
for top/bottom stacking.
|
|
22
|
-
|
|
15
|
+
description: |
|
|
16
|
+
Layout direction. Default is horizontal (row). Set to "vertical" for top/bottom stacking.
|
|
23
17
|
composition:
|
|
24
|
-
parents:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
parents:
|
|
19
|
+
- any
|
|
20
|
+
children:
|
|
21
|
+
- aui-pane
|
|
22
|
+
- aui-panes
|
|
23
|
+
context: |
|
|
24
|
+
Direct children should be aui-pane elements. Nested aui-panes are supported for complex layouts. No gripper elements needed — resize is handled by pointer proximity detection.
|
|
31
25
|
examples:
|
|
32
|
-
-
|
|
26
|
+
- description: Horizontal split — hover between panes to see resize handle
|
|
27
|
+
html: |-
|
|
33
28
|
<aui-panes style="height: 16rem; border: 1px solid var(--aui-border-muted); border-radius: var(--aui-radius);">
|
|
34
29
|
<aui-pane label="Sidebar" basis="12rem" size="xs" density="compact">
|
|
35
30
|
<aui-stack gap="1" padding="2">
|
|
@@ -43,9 +38,8 @@ examples:
|
|
|
43
38
|
</aui-stack>
|
|
44
39
|
</aui-pane>
|
|
45
40
|
</aui-panes>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- html: |
|
|
41
|
+
- description: Vertical split with minimizable bottom pane
|
|
42
|
+
html: |-
|
|
49
43
|
<aui-panes direction="vertical" style="height: 20rem; border: 1px solid var(--aui-border-muted); border-radius: var(--aui-radius);">
|
|
50
44
|
<aui-pane label="Editor" size="xs" density="compact">
|
|
51
45
|
<aui-stack padding="2">
|
|
@@ -58,9 +52,8 @@ examples:
|
|
|
58
52
|
</aui-stack>
|
|
59
53
|
</aui-pane>
|
|
60
54
|
</aui-panes>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- html: |
|
|
55
|
+
- description: Three-pane layout with resize priority
|
|
56
|
+
html: |-
|
|
64
57
|
<aui-panes style="height: 18rem; border: 1px solid var(--aui-border-muted); border-radius: var(--aui-radius);">
|
|
65
58
|
<aui-pane label="Files" basis="10rem" priority="low" size="xs" density="compact">
|
|
66
59
|
<aui-stack gap="1" padding="2">
|
|
@@ -79,4 +72,3 @@ examples:
|
|
|
79
72
|
</aui-stack>
|
|
80
73
|
</aui-pane>
|
|
81
74
|
</aui-panes>
|
|
82
|
-
description: Three-pane layout with resize priority.
|
|
@@ -2,104 +2,113 @@ name: aui-progress-circle
|
|
|
2
2
|
tag: aui-progress-circle
|
|
3
3
|
type: component
|
|
4
4
|
summary: Circular SVG ring progress indicator with value, size, and intent variants.
|
|
5
|
-
description:
|
|
6
|
-
Circular progress ring rendered as an SVG arc. The value attribute
|
|
7
|
-
(0-100) is clamped by JS and mapped to stroke-dasharray via the
|
|
8
|
-
--aui-progress-circle-value custom property. Supports optional
|
|
9
|
-
center label text, size variants, and intent colors.
|
|
10
|
-
|
|
5
|
+
description: |
|
|
6
|
+
Circular progress ring rendered as an SVG arc. The value attribute (0-100) is clamped by JS and mapped to stroke-dasharray via the --aui-progress-circle-value custom property. Supports optional center label text, size variants, and intent colors.
|
|
11
7
|
base: AgentElement
|
|
12
|
-
|
|
13
|
-
# -- Presentational attributes -----------------------------------------
|
|
14
|
-
|
|
15
8
|
presentational:
|
|
16
9
|
size:
|
|
17
10
|
syntax: key-value
|
|
18
11
|
attribute: size
|
|
19
12
|
cascades: false
|
|
20
13
|
default: default
|
|
21
|
-
values:
|
|
22
|
-
|
|
14
|
+
values:
|
|
15
|
+
- sm
|
|
16
|
+
- lg
|
|
17
|
+
description: |
|
|
23
18
|
Controls the ring diameter. Default is 48px. sm = 32px, lg = 64px.
|
|
24
|
-
|
|
25
19
|
intent:
|
|
26
20
|
syntax: boolean
|
|
27
21
|
exclusive: true
|
|
28
22
|
cascades: false
|
|
29
23
|
default: accent
|
|
30
|
-
values:
|
|
31
|
-
|
|
24
|
+
values:
|
|
25
|
+
- success
|
|
26
|
+
- warning
|
|
27
|
+
- danger
|
|
28
|
+
description: |
|
|
32
29
|
Color family for the fill stroke. Default uses the accent color.
|
|
33
|
-
|
|
34
|
-
# -- Component attributes ---------------------------------------------
|
|
35
|
-
|
|
36
30
|
attributes:
|
|
37
31
|
value:
|
|
38
32
|
syntax: key-value
|
|
39
33
|
type: string
|
|
40
34
|
default: "0"
|
|
41
|
-
description:
|
|
42
|
-
Progress percentage (0-100). Clamped by JS and set as
|
|
43
|
-
--aui-progress-circle-value for the CSS stroke-dasharray calculation.
|
|
44
|
-
|
|
35
|
+
description: |
|
|
36
|
+
Progress percentage (0-100). Clamped by JS and set as --aui-progress-circle-value for the CSS stroke-dasharray calculation.
|
|
45
37
|
label:
|
|
46
38
|
syntax: key-value
|
|
47
39
|
type: string
|
|
48
40
|
default: ""
|
|
49
|
-
description:
|
|
41
|
+
description: |
|
|
50
42
|
Center text displayed over the ring (e.g. "75%").
|
|
51
|
-
|
|
52
|
-
# -- Content model -----------------------------------------------------
|
|
53
|
-
|
|
54
43
|
content:
|
|
55
44
|
model: empty
|
|
56
45
|
accepts: []
|
|
57
46
|
required: false
|
|
58
|
-
description:
|
|
47
|
+
description: |
|
|
59
48
|
No child content. The SVG ring and label are stamped by JS.
|
|
60
|
-
|
|
61
|
-
# -- CSS tokens consumed -----------------------------------------------
|
|
62
|
-
|
|
63
49
|
tokens:
|
|
64
50
|
- name: --aui-progress-circle-value
|
|
65
51
|
default: "0"
|
|
66
52
|
description: Fill percentage set by JS. Drives stroke-dasharray.
|
|
67
|
-
|
|
68
|
-
# -- Accessibility -----------------------------------------------------
|
|
69
|
-
|
|
70
53
|
a11y:
|
|
71
54
|
role: progressbar
|
|
72
55
|
aria:
|
|
73
56
|
aria-valuenow: Set from value attribute.
|
|
74
57
|
aria-valuemin: "0"
|
|
75
58
|
aria-valuemax: "100"
|
|
76
|
-
|
|
77
|
-
# -- Use cases ---------------------------------------------------------
|
|
78
|
-
|
|
79
59
|
use-cases:
|
|
80
60
|
- Usage/billing panels (storage, API quota rings).
|
|
81
61
|
- Dashboard KPI cards with circular metrics.
|
|
82
62
|
- Upload progress indicators.
|
|
83
63
|
- Profile completion rings.
|
|
84
64
|
- Plan limit indicators.
|
|
85
|
-
|
|
86
|
-
# -- Examples ----------------------------------------------------------
|
|
87
|
-
|
|
88
65
|
examples:
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
66
|
+
- description: Default progress circle at 75%
|
|
67
|
+
html: <aui-progress-circle value="75"></aui-progress-circle>
|
|
68
|
+
- description: Half-way progress
|
|
69
|
+
html: <aui-progress-circle value="50"></aui-progress-circle>
|
|
70
|
+
- description: Nearly complete
|
|
71
|
+
html: |-
|
|
72
|
+
<aui-progress-circle value="85"></aui-progress-circle>
|
|
73
|
+
|
|
74
|
+
<!-- ===============================================================
|
|
75
|
+
WITH LABEL
|
|
76
|
+
=============================================================== -->
|
|
77
|
+
- description: Circle with center label
|
|
78
|
+
html: <aui-progress-circle value="75" label="75%"></aui-progress-circle>
|
|
79
|
+
- description: Another labeled circle
|
|
80
|
+
html: |-
|
|
81
|
+
<aui-progress-circle value="42" label="42%"></aui-progress-circle>
|
|
82
|
+
|
|
83
|
+
<!-- ===============================================================
|
|
84
|
+
SIZE VARIANTS
|
|
85
|
+
=============================================================== -->
|
|
86
|
+
- description: Small size
|
|
87
|
+
html: <aui-progress-circle value="65" size="sm"></aui-progress-circle>
|
|
88
|
+
- description: Default size with label
|
|
89
|
+
html: <aui-progress-circle value="65" label="65%"></aui-progress-circle>
|
|
90
|
+
- description: Large size with label
|
|
91
|
+
html: |-
|
|
92
|
+
<aui-progress-circle value="65" size="lg" label="65%"></aui-progress-circle>
|
|
93
|
+
|
|
94
|
+
<!-- ===============================================================
|
|
95
|
+
INTENT VARIANTS
|
|
96
|
+
=============================================================== -->
|
|
97
|
+
- description: Warning intent at 90%
|
|
98
|
+
html: <aui-progress-circle value="90" warning label="90%"></aui-progress-circle>
|
|
99
|
+
- description: Danger intent at 95%
|
|
100
|
+
html: <aui-progress-circle value="95" danger label="95%"></aui-progress-circle>
|
|
101
|
+
- description: Success intent at 100%
|
|
102
|
+
html: |-
|
|
103
|
+
<aui-progress-circle value="100" success label="100%"></aui-progress-circle>
|
|
104
|
+
|
|
105
|
+
<!-- ===============================================================
|
|
106
|
+
GROUP -- row of progress circles
|
|
107
|
+
=============================================================== -->
|
|
108
|
+
- description: Row of metric circles
|
|
109
|
+
html: |-
|
|
110
|
+
<aui-stack direction="row" gap="4">
|
|
111
|
+
<aui-progress-circle value="72" label="CPU"></aui-progress-circle>
|
|
112
|
+
<aui-progress-circle value="45" success label="RAM"></aui-progress-circle>
|
|
113
|
+
<aui-progress-circle value="89" warning label="Disk"></aui-progress-circle>
|
|
114
|
+
</aui-stack>
|
|
@@ -2,58 +2,45 @@ name: aui-progress
|
|
|
2
2
|
tag: aui-progress
|
|
3
3
|
type: component
|
|
4
4
|
summary: Horizontal progress bar with value, size, and intent variants.
|
|
5
|
-
description:
|
|
6
|
-
A simple horizontal progress indicator. The fill width is driven by the
|
|
7
|
-
value attribute (0–100), which JS clamps and maps to the
|
|
8
|
-
--aui-progress-value custom property. The bar itself is rendered via a
|
|
9
|
-
CSS ::after pseudo-element — no inner DOM required. Size and intent
|
|
10
|
-
variants control height and fill color respectively.
|
|
11
|
-
|
|
5
|
+
description: |
|
|
6
|
+
A simple horizontal progress indicator. The fill width is driven by the value attribute (0–100), which JS clamps and maps to the --aui-progress-value custom property. The bar itself is rendered via a CSS ::after pseudo-element — no inner DOM required. Size and intent variants control height and fill color respectively.
|
|
12
7
|
base: AgentElement
|
|
13
|
-
|
|
14
|
-
# ── Presentational attributes ─────────────────────────────
|
|
15
|
-
|
|
16
8
|
presentational:
|
|
17
9
|
size:
|
|
18
10
|
syntax: key-value
|
|
19
11
|
attribute: size
|
|
20
12
|
cascades: false
|
|
21
13
|
default: default
|
|
22
|
-
values:
|
|
23
|
-
|
|
14
|
+
values:
|
|
15
|
+
- sm
|
|
16
|
+
- lg
|
|
17
|
+
description: |
|
|
24
18
|
Controls the bar height. Default is 4px. sm = 2px, lg = 6px.
|
|
25
|
-
|
|
26
19
|
intent:
|
|
27
20
|
syntax: boolean
|
|
28
21
|
exclusive: true
|
|
29
22
|
cascades: false
|
|
30
23
|
default: neutral
|
|
31
|
-
values:
|
|
32
|
-
|
|
24
|
+
values:
|
|
25
|
+
- success
|
|
26
|
+
- warning
|
|
27
|
+
- danger
|
|
28
|
+
- info
|
|
29
|
+
description: |
|
|
33
30
|
Color family for the fill bar. Default uses the accent color.
|
|
34
|
-
|
|
35
|
-
# ── Component attributes ──────────────────────────────────
|
|
36
|
-
|
|
37
31
|
attributes:
|
|
38
32
|
value:
|
|
39
33
|
syntax: key-value
|
|
40
34
|
type: string
|
|
41
35
|
default: "0"
|
|
42
|
-
description:
|
|
43
|
-
Progress percentage (0–100). Clamped by JS and set as
|
|
44
|
-
--aui-progress-value for the CSS width calculation.
|
|
45
|
-
|
|
46
|
-
# ── Content model ─────────────────────────────────────────
|
|
47
|
-
|
|
36
|
+
description: |
|
|
37
|
+
Progress percentage (0–100). Clamped by JS and set as --aui-progress-value for the CSS width calculation.
|
|
48
38
|
content:
|
|
49
39
|
model: empty
|
|
50
40
|
accepts: []
|
|
51
41
|
required: false
|
|
52
|
-
description:
|
|
42
|
+
description: |
|
|
53
43
|
No child content. The bar is rendered entirely via CSS ::after.
|
|
54
|
-
|
|
55
|
-
# ── CSS tokens consumed ──────────────────────────────────
|
|
56
|
-
|
|
57
44
|
tokens:
|
|
58
45
|
- name: --aui-progress-height
|
|
59
46
|
default: 4px
|
|
@@ -67,38 +54,35 @@ tokens:
|
|
|
67
54
|
- name: --aui-progress-fill
|
|
68
55
|
default: var(--aui-accent)
|
|
69
56
|
description: Fill bar color. Overridden by intent attributes.
|
|
70
|
-
|
|
71
|
-
# ── Accessibility ─────────────────────────────────────────
|
|
72
|
-
|
|
73
57
|
a11y:
|
|
74
58
|
role: progressbar
|
|
75
59
|
aria:
|
|
76
60
|
aria-valuenow: Set from value attribute.
|
|
77
61
|
aria-valuemin: "0"
|
|
78
62
|
aria-valuemax: "100"
|
|
79
|
-
|
|
80
|
-
# ── Use cases ─────────────────────────────────────────────
|
|
81
|
-
|
|
82
63
|
use-cases:
|
|
83
64
|
- Upload or download progress indicator.
|
|
84
65
|
- Step completion percentage in onboarding flows.
|
|
85
66
|
- Resource usage bar (storage, quota, CPU).
|
|
86
67
|
- Form completion meter.
|
|
87
|
-
|
|
88
|
-
# ── Examples ──────────────────────────────────────────────
|
|
89
|
-
|
|
90
68
|
examples:
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
|
|
69
|
+
- description: Default progress bar
|
|
70
|
+
html: <aui-progress value="40"></aui-progress>
|
|
71
|
+
- description: Half-way progress
|
|
72
|
+
html: <aui-progress value="50"></aui-progress>
|
|
73
|
+
- description: Nearly complete
|
|
74
|
+
html: <aui-progress value="85"></aui-progress>
|
|
75
|
+
- description: Small size
|
|
76
|
+
html: <aui-progress value="65" size="sm"></aui-progress>
|
|
77
|
+
- description: Large size
|
|
78
|
+
html: <aui-progress value="65" size="lg"></aui-progress>
|
|
79
|
+
- description: Small size with success intent
|
|
80
|
+
html: <aui-progress value="90" size="sm" success></aui-progress>
|
|
81
|
+
- description: Large size with warning at 60%
|
|
82
|
+
html: <aui-progress value="60" size="lg" warning></aui-progress>
|
|
83
|
+
- description: Danger at high usage
|
|
84
|
+
html: <aui-progress value="95" danger></aui-progress>
|
|
85
|
+
- description: Info intent
|
|
86
|
+
html: <aui-progress value="45" info></aui-progress>
|
|
87
|
+
- description: Complete with success
|
|
88
|
+
html: <aui-progress value="100" success></aui-progress>
|