@agent-ui-kit/web-components 0.0.15 → 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 +463 -150
- package/dist/api.tokens.json +3 -3
- package/dist/api.tokens.yaml +3 -3
- package/dist/chunks/{agent-BF_R_HJk.js → agent-XMhz_6OA.js} +27 -22
- package/dist/chunks/{agent-BF_R_HJk.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{meter-Dju8ik6C.js → form-oekEhwja.js} +402 -188
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/form/form.d.ts +12 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components.js +89 -87
- package/dist/docs/blocks/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 +37 -17
- 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 +18 -12
- package/dist/docs/blocks/saas-onboarding.yaml +222 -4
- package/dist/docs/blocks/settings-form.yaml +20 -11
- package/dist/docs/blocks/settings-panel.yaml +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/agent-activity.yaml +27 -7
- package/dist/docs/components/agent-prompt.yaml +1 -1
- package/dist/docs/components/agent-seeds.yaml +1 -1
- package/dist/docs/components/breadcrumb.yaml +35 -8
- package/dist/docs/components/button.yaml +13 -2
- package/dist/docs/components/calendar-picker.yaml +3 -2
- package/dist/docs/components/chip.yaml +1 -1
- package/dist/docs/components/color-picker.yaml +33 -7
- package/dist/docs/components/color-slider.yaml +7 -7
- package/dist/docs/components/container.yaml +2 -1
- package/dist/docs/components/heading.yaml +4 -0
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input.yaml +10 -9
- package/dist/docs/components/meter.yaml +37 -14
- package/dist/docs/components/nav-item.yaml +7 -7
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +23 -23
- package/dist/docs/components/time-field.yaml +35 -2
- package/dist/element.js +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/register.js +299 -297
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/meter-Dju8ik6C.js.map +0 -1
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
name: chart-activity
|
|
2
2
|
type: block
|
|
3
3
|
summary: Weekly activity chart with labeled columns and rounded bars.
|
|
4
|
-
description:
|
|
5
|
-
A card showing a 7-day activity grid. Each column has a day label and a
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing a 7-day activity grid. Each column has a day label and a tall container with a rounded bar showing the day's activity level. The bar height is proportional to the value. Use for fitness summaries, commit frequency, or daily usage patterns.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
11
14
|
kind: card
|
|
12
|
-
|
|
13
15
|
examples:
|
|
14
|
-
-
|
|
16
|
+
- description: Weekly activity chart with labeled columns and rounded bars.
|
|
17
|
+
html: |-
|
|
15
18
|
<aui-container kind="card" bordered max-width="prose">
|
|
16
19
|
<aui-header>
|
|
17
20
|
<span slot="leading">
|
|
@@ -70,4 +73,3 @@ examples:
|
|
|
70
73
|
</aui-inset>
|
|
71
74
|
</aui-content>
|
|
72
75
|
</aui-container>
|
|
73
|
-
description: Weekly activity bars with day labels showing fitness load.
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
name: chart-card
|
|
2
2
|
type: block
|
|
3
3
|
summary: Simple vertical bar chart card with month labels.
|
|
4
|
-
description:
|
|
5
|
-
A card showing a 6-month bar chart built with CSS. Header has the
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing a 6-month bar chart built with CSS. Header has the chart title and date range, content shows proportional bars with month labels, footer shows a trend summary. The simplest chart pattern — one data series, one color, clear labels.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
11
15
|
kind: card
|
|
12
|
-
|
|
13
16
|
examples:
|
|
14
|
-
-
|
|
17
|
+
- description: Simple vertical bar chart card with month labels.
|
|
18
|
+
html: |-
|
|
15
19
|
<aui-container kind="card" bordered max-width="prose">
|
|
16
20
|
<aui-header>
|
|
17
21
|
<span slot="leading">
|
|
@@ -24,7 +28,7 @@ examples:
|
|
|
24
28
|
<aui-content>
|
|
25
29
|
<aui-inset>
|
|
26
30
|
<aui-stack gap="1">
|
|
27
|
-
<aui-stack direction="row" gap="1" align-items="end"
|
|
31
|
+
<aui-stack direction="row" gap="1" align-items="end" style="height: 10rem;">
|
|
28
32
|
<div style="flex: 1; height: 45%; background: var(--aui-chart-1); border-radius: var(--aui-radius);"></div>
|
|
29
33
|
<div style="flex: 1; height: 72%; background: var(--aui-chart-1); border-radius: var(--aui-radius);"></div>
|
|
30
34
|
<div style="flex: 1; height: 58%; background: var(--aui-chart-1); border-radius: var(--aui-radius);"></div>
|
|
@@ -52,4 +56,3 @@ examples:
|
|
|
52
56
|
</span>
|
|
53
57
|
</aui-footer>
|
|
54
58
|
</aui-container>
|
|
55
|
-
description: Simple 6-month visitor bar chart with trend footer.
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
name: chart-donut
|
|
2
2
|
type: block
|
|
3
3
|
summary: Donut chart card with center stat, legend, and selected segment footer.
|
|
4
|
-
description:
|
|
5
|
-
A card showing a CSS-drawn donut/ring chart with a center value, a legend
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing a CSS-drawn donut/ring chart with a center value, a legend row below the chart, and a footer showing the selected segment's value. Use for distribution data like browser share, traffic sources, or category breakdowns.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-badge
|
|
11
16
|
kind: card
|
|
12
|
-
|
|
13
17
|
examples:
|
|
14
|
-
-
|
|
18
|
+
- description: Donut chart card with center stat, legend, and selected segment footer.
|
|
19
|
+
html: |-
|
|
15
20
|
<aui-container kind="card" bordered max-width="sm">
|
|
16
21
|
<aui-header>
|
|
17
22
|
<span slot="leading">
|
|
@@ -26,19 +31,19 @@ examples:
|
|
|
26
31
|
</aui-header>
|
|
27
32
|
<aui-content>
|
|
28
33
|
<aui-inset>
|
|
29
|
-
<aui-stack
|
|
34
|
+
<aui-stack align-items="center">
|
|
30
35
|
<!-- Donut chart via SVG -->
|
|
31
36
|
<div style="position: relative; width: 9rem; height: 9rem;">
|
|
32
37
|
<svg viewBox="0 0 100 100" style="width: 100%; height: 100%; transform: rotate(-90deg);">
|
|
33
38
|
<!--
|
|
34
|
-
C = 2π × 38
|
|
35
|
-
Seg1 (60%):
|
|
36
|
-
Seg2 (20%):
|
|
37
|
-
Seg3 (20%):
|
|
39
|
+
C = 2π × 38 ≈ 238.76 Gap = 2 units per segment
|
|
40
|
+
Seg1 (60%): arc = 143.26, draw = 141.26, offset = 0
|
|
41
|
+
Seg2 (20%): arc = 47.75, draw = 45.75, offset = -143.26
|
|
42
|
+
Seg3 (20%): arc = 47.75, draw = 45.75, offset = -191.01
|
|
38
43
|
-->
|
|
39
|
-
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-1);" stroke-width="12" stroke-dasharray="141.26 238.76" stroke-dashoffset="0"
|
|
40
|
-
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-2);" stroke-width="12" stroke-dasharray="45.75 238.76" stroke-dashoffset="
|
|
41
|
-
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-3);" stroke-width="12" stroke-dasharray="45.75 238.76" stroke-dashoffset="
|
|
44
|
+
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-1);" stroke-width="12" stroke-dasharray="141.26 238.76" stroke-dashoffset="0" stroke-linecap="butt"/>
|
|
45
|
+
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-2);" stroke-width="12" stroke-dasharray="45.75 238.76" stroke-dashoffset="-143.26" stroke-linecap="butt"/>
|
|
46
|
+
<circle cx="50" cy="50" r="38" fill="none" style="stroke: var(--aui-chart-3);" stroke-width="12" stroke-dasharray="45.75 238.76" stroke-dashoffset="-191.01" stroke-linecap="butt"/>
|
|
42
47
|
</svg>
|
|
43
48
|
<div style="position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;">
|
|
44
49
|
<aui-heading size="xl">1,125</aui-heading>
|
|
@@ -48,23 +53,23 @@ examples:
|
|
|
48
53
|
<!-- Legend -->
|
|
49
54
|
<aui-wrap gap="3" style="justify-content: center;">
|
|
50
55
|
<aui-stack direction="row" gap="1" align-items="center">
|
|
51
|
-
<div style="width: 0.625rem; height: 0.625rem; border-radius:
|
|
56
|
+
<div shrink="0" style="width: 0.625rem; height: 0.625rem; border-radius: var(--aui-radius); background: var(--aui-chart-1);"></div>
|
|
52
57
|
<aui-text muted size="xs">Chrome</aui-text>
|
|
53
58
|
</aui-stack>
|
|
54
59
|
<aui-stack direction="row" gap="1" align-items="center">
|
|
55
|
-
<div style="width: 0.625rem; height: 0.625rem; border-radius:
|
|
60
|
+
<div shrink="0" style="width: 0.625rem; height: 0.625rem; border-radius: var(--aui-radius); background: var(--aui-chart-2);"></div>
|
|
56
61
|
<aui-text muted size="xs">Safari</aui-text>
|
|
57
62
|
</aui-stack>
|
|
58
63
|
<aui-stack direction="row" gap="1" align-items="center">
|
|
59
|
-
<div style="width: 0.625rem; height: 0.625rem; border-radius:
|
|
64
|
+
<div shrink="0" style="width: 0.625rem; height: 0.625rem; border-radius: var(--aui-radius); background: var(--aui-chart-3);"></div>
|
|
60
65
|
<aui-text muted size="xs">Firefox</aui-text>
|
|
61
66
|
</aui-stack>
|
|
62
67
|
<aui-stack direction="row" gap="1" align-items="center">
|
|
63
|
-
<div style="width: 0.625rem; height: 0.625rem; border-radius:
|
|
68
|
+
<div shrink="0" style="width: 0.625rem; height: 0.625rem; border-radius: var(--aui-radius); background: var(--aui-chart-4);"></div>
|
|
64
69
|
<aui-text muted size="xs">Edge</aui-text>
|
|
65
70
|
</aui-stack>
|
|
66
71
|
<aui-stack direction="row" gap="1" align-items="center">
|
|
67
|
-
<div style="width: 0.625rem; height: 0.625rem; border-radius:
|
|
72
|
+
<div shrink="0" style="width: 0.625rem; height: 0.625rem; border-radius: var(--aui-radius); background: var(--aui-chart-5);"></div>
|
|
68
73
|
<aui-text muted size="xs">Other</aui-text>
|
|
69
74
|
</aui-stack>
|
|
70
75
|
</aui-wrap>
|
|
@@ -80,4 +85,3 @@ examples:
|
|
|
80
85
|
</span>
|
|
81
86
|
</aui-footer>
|
|
82
87
|
</aui-container>
|
|
83
|
-
description: Donut chart showing browser share with Firefox selected.
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
name: chart-grouped
|
|
2
2
|
type: block
|
|
3
3
|
summary: Grouped vertical bar chart comparing two data series.
|
|
4
|
-
description:
|
|
5
|
-
A card showing paired vertical bars per category for comparing
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing paired vertical bars per category for comparing two metrics side by side (e.g. Desktop vs Mobile). Labels are in a separate row below so bar height percentages resolve correctly against the constrained bar area.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
11
15
|
kind: card
|
|
12
|
-
|
|
13
16
|
examples:
|
|
14
|
-
-
|
|
17
|
+
- description: Grouped vertical bar chart comparing two data series.
|
|
18
|
+
html: |-
|
|
15
19
|
<aui-container kind="card" bordered max-width="prose">
|
|
16
20
|
<aui-header>
|
|
17
21
|
<span slot="leading">
|
|
@@ -25,7 +29,7 @@ examples:
|
|
|
25
29
|
<aui-inset>
|
|
26
30
|
<aui-stack gap="1">
|
|
27
31
|
<!-- Bars: paired groups as direct children of align-items="end" row -->
|
|
28
|
-
<aui-stack direction="row" gap="3" align-items="end" spacer style="
|
|
32
|
+
<aui-stack direction="row" gap="3" align-items="end" spacer style="height: 10rem;">
|
|
29
33
|
<!-- Chrome: Desktop 55%, Mobile 40% -->
|
|
30
34
|
<aui-stack direction="row" gap="1" align-items="end" spacer style="height: 100%;">
|
|
31
35
|
<div style="flex: 1; height: 55%; background: var(--aui-chart-2); border-radius: var(--aui-radius);"></div>
|
|
@@ -72,4 +76,3 @@ examples:
|
|
|
72
76
|
</span>
|
|
73
77
|
</aui-footer>
|
|
74
78
|
</aui-container>
|
|
75
|
-
description: Grouped bars with category labels below, Desktop at 60% opacity and Mobile at full opacity.
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
name: chart-horizontal
|
|
2
2
|
type: block
|
|
3
3
|
summary: Horizontal bar chart with category labels.
|
|
4
|
-
description:
|
|
5
|
-
A card showing horizontal bars for comparing categories. Each row
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing horizontal bars for comparing categories. Each row has a fixed-width right-aligned label and a proportional bar sized via max-width percentage. Useful for browser share, feature usage, or any ranked categorical data.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
11
15
|
kind: card
|
|
12
|
-
|
|
13
16
|
examples:
|
|
14
|
-
-
|
|
17
|
+
- description: Horizontal bar chart with category labels.
|
|
18
|
+
html: |-
|
|
15
19
|
<aui-container kind="card" bordered max-width="prose">
|
|
16
20
|
<aui-header>
|
|
17
21
|
<span slot="leading">
|
|
@@ -56,4 +60,3 @@ examples:
|
|
|
56
60
|
</span>
|
|
57
61
|
</aui-footer>
|
|
58
62
|
</aui-container>
|
|
59
|
-
description: Horizontal bar chart comparing browser market share with proportional bars.
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
name: chart-interactive
|
|
2
2
|
type: block
|
|
3
3
|
summary: Wide chart card with stat summaries and dense bar visualization.
|
|
4
|
-
description:
|
|
5
|
-
A dashboard hero chart card. Header shows the title on the left
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A dashboard hero chart card. Header shows the title on the left with aui-stat summaries (Desktop, Mobile) trailing on the right. Content is a dense 12-bar visualization. Footer shows the date range. Designed for full-width dashboard positions.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-stat
|
|
16
|
+
- aui-bar
|
|
11
17
|
kind: card
|
|
12
|
-
|
|
13
18
|
examples:
|
|
14
|
-
-
|
|
19
|
+
- description: Wide chart card with stat summaries and dense bar visualization.
|
|
20
|
+
html: |-
|
|
15
21
|
<aui-container kind="card" bordered>
|
|
16
22
|
<aui-header>
|
|
17
|
-
<
|
|
18
|
-
<aui-stack gap="1">
|
|
23
|
+
<aui-stack direction="row" align-items="center">
|
|
24
|
+
<aui-stack gap="1" spacer>
|
|
19
25
|
<aui-heading size="lg">Total Visitors</aui-heading>
|
|
20
26
|
<aui-text muted size="sm">Last 3 months</aui-text>
|
|
21
27
|
</aui-stack>
|
|
22
|
-
|
|
23
|
-
<span slot="trailing">
|
|
24
|
-
<aui-stack direction="row" gap="4">
|
|
28
|
+
<aui-stack direction="row">
|
|
25
29
|
<aui-stat label="Desktop" value="24,828"></aui-stat>
|
|
26
30
|
<aui-stat label="Mobile" value="25,010"></aui-stat>
|
|
27
31
|
</aui-stack>
|
|
28
|
-
</
|
|
32
|
+
</aui-stack>
|
|
29
33
|
</aui-header>
|
|
30
34
|
<aui-content>
|
|
31
35
|
<aui-inset>
|
|
32
|
-
<aui-stack direction="row" gap="1" align-items="end" spacer style="
|
|
36
|
+
<aui-stack direction="row" gap="1" align-items="end" spacer style="height: 10rem;" data-chart-bars>
|
|
33
37
|
<aui-bar label="Apr 1 · 3,120" style="height: 35%;"></aui-bar>
|
|
34
38
|
<aui-bar label="Apr 8 · 4,890" style="height: 55%;"></aui-bar>
|
|
35
39
|
<aui-bar label="Apr 15 · 3,740" style="height: 42%;"></aui-bar>
|
|
@@ -49,4 +53,3 @@ examples:
|
|
|
49
53
|
<span slot="content"><aui-text muted size="sm">April 1 – June 29, 2026</aui-text></span>
|
|
50
54
|
</aui-footer>
|
|
51
55
|
</aui-container>
|
|
52
|
-
description: Wide dashboard chart with stat tabs and 12-bar dense visualization.
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
name: chart-labeled
|
|
2
2
|
type: block
|
|
3
3
|
summary: Vertical bar chart with value labels above each bar.
|
|
4
|
-
description:
|
|
5
|
-
A card showing vertical bars with exact values displayed above
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card showing vertical bars with exact values displayed above and month labels below. Labels and bars are in separate rows so percentage heights resolve correctly. Alternating opacity adds visual rhythm. Useful when exact numbers matter as much as the trend.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
11
15
|
kind: card
|
|
12
|
-
|
|
13
16
|
examples:
|
|
14
|
-
-
|
|
17
|
+
- description: Vertical bar chart with value labels above each bar.
|
|
18
|
+
html: |-
|
|
15
19
|
<aui-container kind="card" bordered max-width="prose">
|
|
16
20
|
<aui-header>
|
|
17
21
|
<span slot="leading">
|
|
@@ -34,7 +38,7 @@ examples:
|
|
|
34
38
|
<aui-text muted size="xs" spacer text="center">214</aui-text>
|
|
35
39
|
</aui-stack>
|
|
36
40
|
<!-- Bars: direct children of align-items="end" row so height % resolves against 8rem -->
|
|
37
|
-
<aui-stack direction="row" gap="2" align-items="end" spacer style="
|
|
41
|
+
<aui-stack direction="row" gap="2" align-items="end" spacer style="height: 10rem;">
|
|
38
42
|
<div style="flex: 1; height: 45%; background: var(--aui-chart-2); border-radius: var(--aui-radius);"></div>
|
|
39
43
|
<div style="flex: 1; height: 75%; background: var(--aui-chart-1); border-radius: var(--aui-radius);"></div>
|
|
40
44
|
<div style="flex: 1; height: 58%; background: var(--aui-chart-2); border-radius: var(--aui-radius);"></div>
|
|
@@ -63,4 +67,3 @@ examples:
|
|
|
63
67
|
</span>
|
|
64
68
|
</aui-footer>
|
|
65
69
|
</aui-container>
|
|
66
|
-
description: Labeled bar chart with value labels row, bar row, and month labels row.
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
name: checkout-form
|
|
2
2
|
type: block
|
|
3
3
|
summary: Payment form with card details and billing address.
|
|
4
|
-
description:
|
|
5
|
-
A structured checkout form for collecting payment information. Includes card
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A structured checkout form for collecting payment information. Includes card name, number, CVV, and expiry fields in a grid layout. The billing address section uses aui-fieldset legend="Billing Address" (borderless) with a "Same as shipping" checkbox, optional comments. Footer uses aui-button-group for submit/cancel actions.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-field
|
|
16
|
+
- aui-fieldset
|
|
17
|
+
- aui-input
|
|
18
|
+
- aui-textarea
|
|
19
|
+
- aui-checkbox
|
|
20
|
+
- aui-button
|
|
21
|
+
- aui-button-group
|
|
22
|
+
- aui-divider
|
|
12
23
|
kind: card
|
|
13
|
-
|
|
14
24
|
examples:
|
|
15
|
-
-
|
|
25
|
+
- description: Payment form with card details and billing address.
|
|
26
|
+
html: |-
|
|
16
27
|
<aui-container kind="card" bordered max-width="prose">
|
|
17
28
|
<aui-header>
|
|
18
29
|
<span slot="leading">
|
|
@@ -24,15 +35,15 @@ examples:
|
|
|
24
35
|
</aui-header>
|
|
25
36
|
<aui-content>
|
|
26
37
|
<aui-inset>
|
|
27
|
-
<aui-stack
|
|
38
|
+
<aui-stack>
|
|
28
39
|
<aui-field label="Name on Card" width="full">
|
|
29
40
|
<aui-input width="full" placeholder="John Doe"></aui-input>
|
|
30
41
|
</aui-field>
|
|
31
42
|
<aui-stack direction="row" gap="3">
|
|
32
|
-
<aui-field label="Card Number" width="full" grow="3">
|
|
43
|
+
<aui-field label="Card Number" width="full" grow="3" basis="0">
|
|
33
44
|
<aui-input width="full" placeholder="1234 5678 9012 3456"></aui-input>
|
|
34
45
|
</aui-field>
|
|
35
|
-
<aui-field label="CVV" grow="1">
|
|
46
|
+
<aui-field label="CVV" grow="1" basis="0">
|
|
36
47
|
<aui-input width="full" placeholder="123"></aui-input>
|
|
37
48
|
</aui-field>
|
|
38
49
|
</aui-stack>
|
|
@@ -49,9 +60,8 @@ examples:
|
|
|
49
60
|
</aui-content>
|
|
50
61
|
<aui-footer>
|
|
51
62
|
<aui-button-group>
|
|
52
|
-
<aui-button
|
|
53
|
-
<aui-button
|
|
63
|
+
<aui-button primary grow="1" basis="0">Submit Payment</aui-button>
|
|
64
|
+
<aui-button scrim grow="1" basis="0">Cancel</aui-button>
|
|
54
65
|
</aui-button-group>
|
|
55
66
|
</aui-footer>
|
|
56
67
|
</aui-container>
|
|
57
|
-
description: Payment form with card details, billing address toggle, comments, and submit/cancel actions.
|
|
@@ -1,7 +1,183 @@
|
|
|
1
1
|
name: clinical-trial
|
|
2
2
|
type: block
|
|
3
3
|
summary: Clinical Trial Pipeline — 13 nodes, 17 connections.
|
|
4
|
-
description:
|
|
5
|
-
Visual graph block rendered from the Clinical Trial Pipeline dataset using
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
description: |
|
|
5
|
+
Visual graph block rendered from the Clinical Trial Pipeline dataset using aui-graph components with port-selector noodle connections.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-text
|
|
9
|
+
- aui-graph-ui
|
|
10
|
+
- aui-graph-layer
|
|
11
|
+
- aui-graph-node
|
|
12
|
+
- aui-graph-noodle
|
|
13
|
+
- aui-graph-port
|
|
14
|
+
examples:
|
|
15
|
+
- description: Clinical Trial Pipeline — 13 nodes, 17 connections.
|
|
16
|
+
html: |-
|
|
17
|
+
<aui-graph-ui connectable style="width: 100%; height: 32.875rem; min-width: 79.625rem;">
|
|
18
|
+
<aui-graph-layer name="wires" type="svg">
|
|
19
|
+
<!-- Protocol → Cohort Screening -->
|
|
20
|
+
<aui-graph-noodle from="ct-protocol:right" to="ct-cohort:left" color="accent" weight="2"></aui-graph-noodle>
|
|
21
|
+
<!-- Protocol → Randomization Engine -->
|
|
22
|
+
<aui-graph-noodle from="ct-protocol:right" to="ct-randomize:left" color="accent" weight="2"></aui-graph-noodle>
|
|
23
|
+
<!-- Cohort Screening → Randomization Engine -->
|
|
24
|
+
<aui-graph-noodle from="ct-cohort:right" to="ct-randomize:left" color="accent" weight="2"></aui-graph-noodle>
|
|
25
|
+
<!-- Randomization Engine → Control Arm -->
|
|
26
|
+
<aui-graph-noodle from="ct-randomize:right" to="ct-control:left" color="accent" weight="2"></aui-graph-noodle>
|
|
27
|
+
<!-- Randomization Engine → Treatment Arm A -->
|
|
28
|
+
<aui-graph-noodle from="ct-randomize:right" to="ct-treat-a:left" color="accent" weight="2"></aui-graph-noodle>
|
|
29
|
+
<!-- Randomization Engine → Treatment Arm B -->
|
|
30
|
+
<aui-graph-noodle from="ct-randomize:right" to="ct-treat-b:left" color="accent" weight="2"></aui-graph-noodle>
|
|
31
|
+
<!-- Control Arm → Primary Endpoint -->
|
|
32
|
+
<aui-graph-noodle from="ct-control:right" to="ct-primary:left" color="accent" weight="2"></aui-graph-noodle>
|
|
33
|
+
<!-- Treatment Arm A → Primary Endpoint -->
|
|
34
|
+
<aui-graph-noodle from="ct-treat-a:right" to="ct-primary:left" color="accent" weight="2"></aui-graph-noodle>
|
|
35
|
+
<!-- Treatment Arm A → Adverse Event Monitor -->
|
|
36
|
+
<aui-graph-noodle from="ct-treat-a:right" to="ct-adverse:left" color="danger" weight="2"></aui-graph-noodle>
|
|
37
|
+
<!-- Treatment Arm B → Adverse Event Monitor -->
|
|
38
|
+
<aui-graph-noodle from="ct-treat-b:right" to="ct-adverse:left" color="danger" weight="2"></aui-graph-noodle>
|
|
39
|
+
<!-- Treatment Arm B → Secondary Endpoint -->
|
|
40
|
+
<aui-graph-noodle from="ct-treat-b:right" to="ct-secondary:left" color="accent" weight="2"></aui-graph-noodle>
|
|
41
|
+
<!-- Primary Endpoint → Interim Analysis -->
|
|
42
|
+
<aui-graph-noodle from="ct-primary:right" to="ct-interim:left" color="accent" weight="2"></aui-graph-noodle>
|
|
43
|
+
<!-- Secondary Endpoint → Interim Analysis -->
|
|
44
|
+
<aui-graph-noodle from="ct-secondary:right" to="ct-interim:left" color="accent" weight="2"></aui-graph-noodle>
|
|
45
|
+
<!-- Adverse Event Monitor → DSMB Review -->
|
|
46
|
+
<aui-graph-noodle from="ct-adverse:right" to="ct-dsmb:left" color="danger" weight="2"></aui-graph-noodle>
|
|
47
|
+
<!-- Interim Analysis → DSMB Review -->
|
|
48
|
+
<aui-graph-noodle from="ct-interim:right" to="ct-dsmb:left" color="accent" weight="2"></aui-graph-noodle>
|
|
49
|
+
<!-- DSMB Review → Regulatory Filing -->
|
|
50
|
+
<aui-graph-noodle from="ct-dsmb:right" to="ct-regulatory:left" color="accent" weight="2"></aui-graph-noodle>
|
|
51
|
+
<!-- Regulatory Filing → Publication -->
|
|
52
|
+
<aui-graph-noodle from="ct-regulatory:right" to="ct-publication:left" color="accent" weight="2"></aui-graph-noodle>
|
|
53
|
+
</aui-graph-layer>
|
|
54
|
+
<aui-graph-layer name="content">
|
|
55
|
+
<!-- Protocol -->
|
|
56
|
+
<aui-graph-node x="24" y="186" node-id="ct-protocol">
|
|
57
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
58
|
+
<aui-text weight="medium">Protocol</aui-text>
|
|
59
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
60
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
61
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
62
|
+
</aui-container>
|
|
63
|
+
</aui-graph-node>
|
|
64
|
+
<!-- Cohort Screening -->
|
|
65
|
+
<aui-graph-node x="224" y="116" node-id="ct-cohort">
|
|
66
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
67
|
+
<aui-text weight="medium">Cohort Screening</aui-text>
|
|
68
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
69
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
70
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
71
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
72
|
+
</aui-container>
|
|
73
|
+
</aui-graph-node>
|
|
74
|
+
<!-- Randomization Engine -->
|
|
75
|
+
<aui-graph-node x="224" y="256" node-id="ct-randomize">
|
|
76
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
77
|
+
<aui-text weight="medium">Randomization Engine</aui-text>
|
|
78
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
79
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
80
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
81
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
82
|
+
</aui-container>
|
|
83
|
+
</aui-graph-node>
|
|
84
|
+
<!-- Control Arm -->
|
|
85
|
+
<aui-graph-node x="424" y="46" node-id="ct-control">
|
|
86
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
87
|
+
<aui-text weight="medium">Control Arm</aui-text>
|
|
88
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
89
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
90
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
91
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
92
|
+
</aui-container>
|
|
93
|
+
</aui-graph-node>
|
|
94
|
+
<!-- Treatment Arm A -->
|
|
95
|
+
<aui-graph-node x="424" y="186" node-id="ct-treat-a">
|
|
96
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
97
|
+
<aui-text weight="medium">Treatment Arm A</aui-text>
|
|
98
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
99
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
100
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
101
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
102
|
+
</aui-container>
|
|
103
|
+
</aui-graph-node>
|
|
104
|
+
<!-- Treatment Arm B -->
|
|
105
|
+
<aui-graph-node x="424" y="326" node-id="ct-treat-b">
|
|
106
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
107
|
+
<aui-text weight="medium">Treatment Arm B</aui-text>
|
|
108
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
109
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
110
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
111
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
112
|
+
</aui-container>
|
|
113
|
+
</aui-graph-node>
|
|
114
|
+
<!-- Adverse Event Monitor -->
|
|
115
|
+
<aui-graph-node x="624" y="46" node-id="ct-adverse">
|
|
116
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
117
|
+
<aui-text weight="medium">Adverse Event Monitor</aui-text>
|
|
118
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
119
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
120
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
121
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
122
|
+
</aui-container>
|
|
123
|
+
</aui-graph-node>
|
|
124
|
+
<!-- Primary Endpoint -->
|
|
125
|
+
<aui-graph-node x="624" y="186" node-id="ct-primary">
|
|
126
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
127
|
+
<aui-text weight="medium">Primary Endpoint</aui-text>
|
|
128
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
129
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
130
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
131
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
132
|
+
</aui-container>
|
|
133
|
+
</aui-graph-node>
|
|
134
|
+
<!-- Secondary Endpoint -->
|
|
135
|
+
<aui-graph-node x="624" y="326" node-id="ct-secondary">
|
|
136
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
137
|
+
<aui-text weight="medium">Secondary Endpoint</aui-text>
|
|
138
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
139
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
140
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
141
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
142
|
+
</aui-container>
|
|
143
|
+
</aui-graph-node>
|
|
144
|
+
<!-- Interim Analysis -->
|
|
145
|
+
<aui-graph-node x="824" y="116" node-id="ct-interim">
|
|
146
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
147
|
+
<aui-text weight="medium">Interim Analysis</aui-text>
|
|
148
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
149
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
150
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
151
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
152
|
+
</aui-container>
|
|
153
|
+
</aui-graph-node>
|
|
154
|
+
<!-- DSMB Review -->
|
|
155
|
+
<aui-graph-node x="824" y="256" node-id="ct-dsmb">
|
|
156
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
157
|
+
<aui-text weight="medium">DSMB Review</aui-text>
|
|
158
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
159
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
160
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
161
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
162
|
+
</aui-container>
|
|
163
|
+
</aui-graph-node>
|
|
164
|
+
<!-- Regulatory Filing -->
|
|
165
|
+
<aui-graph-node x="1024" y="116" node-id="ct-regulatory">
|
|
166
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
167
|
+
<aui-text weight="medium">Regulatory Filing</aui-text>
|
|
168
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
169
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
170
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
171
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
172
|
+
</aui-container>
|
|
173
|
+
</aui-graph-node>
|
|
174
|
+
<!-- Publication -->
|
|
175
|
+
<aui-graph-node x="1024" y="256" node-id="ct-publication">
|
|
176
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
177
|
+
<aui-text weight="medium">Publication</aui-text>
|
|
178
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
179
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
180
|
+
</aui-container>
|
|
181
|
+
</aui-graph-node>
|
|
182
|
+
</aui-graph-layer>
|
|
183
|
+
</aui-graph-ui>
|