@agent-ui-kit/web-components 0.0.16 → 0.0.17
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 +1246 -220
- package/dist/api.tokens.json +2 -2
- package/dist/api.tokens.yaml +2 -2
- package/dist/blocks/action-toolbar/action-toolbar.d.ts +0 -0
- package/dist/blocks/agent-artifact-card/agent-artifact-card.d.ts +0 -0
- package/dist/blocks/agent-chat-response/agent-chat-response.d.ts +0 -0
- package/dist/blocks/agent-code-result/agent-code-result.d.ts +0 -0
- package/dist/blocks/agent-context-panel/agent-context-panel.d.ts +0 -0
- package/dist/blocks/agent-feedback-controls/agent-feedback-controls.d.ts +0 -0
- package/dist/blocks/agent-follow-up-chips/agent-follow-up-chips.d.ts +0 -0
- package/dist/blocks/agent-model-selector/agent-model-selector.d.ts +0 -0
- package/dist/blocks/agent-prompt-input/agent-prompt-input.d.ts +0 -0
- package/dist/blocks/agent-streaming-message/agent-streaming-message.d.ts +0 -0
- package/dist/blocks/agent-suggestion-card/agent-suggestion-card.d.ts +0 -0
- package/dist/blocks/agent-task-card/agent-task-card.d.ts +0 -0
- package/dist/blocks/agent-thinking-state/agent-thinking-state.d.ts +0 -0
- package/dist/blocks/agent-tool-use-card/agent-tool-use-card.d.ts +0 -0
- package/dist/blocks/auth-card/auth-card.d.ts +0 -0
- package/dist/blocks/commerce-pricing-table/commerce-pricing-table.d.ts +0 -0
- package/dist/blocks/comms-chat-thread/comms-chat-thread.d.ts +0 -0
- package/dist/blocks/comms-notification-list/comms-notification-list.d.ts +0 -0
- package/dist/blocks/content-article-card/content-article-card.d.ts +0 -0
- package/dist/blocks/dashboard-kpi-grid/dashboard-kpi-grid.d.ts +0 -0
- package/dist/blocks/data-activity-log/data-activity-log.d.ts +0 -0
- package/dist/blocks/data-metric-card/data-metric-card.d.ts +0 -0
- package/dist/blocks/data-table/data-table.d.ts +0 -0
- package/dist/blocks/data-timeline/data-timeline.d.ts +0 -0
- package/dist/blocks/feedback-alert-banner/feedback-alert-banner.d.ts +0 -0
- package/dist/blocks/feedback-empty-state/feedback-empty-state.d.ts +0 -0
- package/dist/blocks/feedback-progress-stepper/feedback-progress-stepper.d.ts +0 -0
- package/dist/blocks/form-settings-section/form-settings-section.d.ts +0 -0
- package/dist/blocks/game-battleship/game-battleship.d.ts +0 -0
- package/dist/blocks/game-chess/game-chess.d.ts +0 -0
- package/dist/blocks/game-connect-four/game-connect-four.d.ts +0 -0
- package/dist/blocks/game-tic-tac-toe/game-tic-tac-toe.d.ts +0 -0
- package/dist/blocks/list-kanban-board/list-kanban-board.d.ts +0 -0
- package/dist/blocks/media-image-gallery/media-image-gallery.d.ts +0 -0
- package/dist/blocks/nav-sidebar/nav-sidebar.d.ts +0 -0
- package/dist/blocks/onboard-stepper/onboard-stepper.d.ts +0 -0
- package/dist/blocks/overlay-confirmation-modal/overlay-confirmation-modal.d.ts +0 -0
- package/dist/blocks/overlay-dropdown-menu/overlay-dropdown-menu.d.ts +0 -0
- package/dist/blocks/user-profile-card/user-profile-card.d.ts +0 -0
- package/dist/blocks/user-team-list/user-team-list.d.ts +0 -0
- package/dist/docs/blocks/action-toolbar.yaml +73 -0
- package/dist/docs/blocks/agent-artifact-card.yaml +67 -0
- package/dist/docs/blocks/agent-chat-response.yaml +65 -0
- package/dist/docs/blocks/agent-code-result.yaml +41 -0
- package/dist/docs/blocks/agent-context-panel.yaml +96 -0
- package/dist/docs/blocks/agent-feedback-controls.yaml +101 -0
- package/dist/docs/blocks/agent-follow-up-chips.yaml +37 -0
- package/dist/docs/blocks/agent-model-selector.yaml +83 -0
- package/dist/docs/blocks/agent-prompt-input.yaml +49 -0
- package/dist/docs/blocks/agent-streaming-message.yaml +46 -0
- package/dist/docs/blocks/agent-suggestion-card.yaml +68 -0
- package/dist/docs/blocks/agent-task-card.yaml +112 -0
- package/dist/docs/blocks/agent-thinking-state.yaml +56 -0
- package/dist/docs/blocks/agent-tool-use-card.yaml +142 -0
- package/dist/docs/blocks/auth-card.yaml +74 -0
- package/dist/docs/blocks/chart-grouped.yaml +1 -1
- package/dist/docs/blocks/chart-interactive.yaml +1 -1
- package/dist/docs/blocks/chart-labeled.yaml +1 -1
- package/dist/docs/blocks/commerce-pricing-table.yaml +142 -0
- package/dist/docs/blocks/comms-chat-thread.yaml +88 -0
- package/dist/docs/blocks/comms-notification-list.yaml +88 -0
- package/dist/docs/blocks/content-article-card.yaml +47 -0
- package/dist/docs/blocks/dashboard-kpi-grid.yaml +72 -0
- package/dist/docs/blocks/dashboard-layout.yaml +0 -1
- package/dist/docs/blocks/data-activity-log.yaml +99 -0
- package/dist/docs/blocks/data-metric-card.yaml +50 -0
- package/dist/docs/blocks/data-table.yaml +106 -0
- package/dist/docs/blocks/data-timeline.yaml +103 -0
- package/dist/docs/blocks/feedback-alert-banner.yaml +42 -0
- package/dist/docs/blocks/feedback-empty-state.yaml +18 -0
- package/dist/docs/blocks/feedback-progress-stepper.yaml +82 -0
- package/dist/docs/blocks/form-settings-section.yaml +129 -0
- package/dist/docs/blocks/game-battleship.yaml +184 -0
- package/dist/docs/blocks/game-chess.yaml +83 -0
- package/dist/docs/blocks/game-connect-four.yaml +80 -0
- package/dist/docs/blocks/game-tic-tac-toe.yaml +51 -0
- package/dist/docs/blocks/issue-assign.yaml +2 -2
- package/dist/docs/blocks/list-kanban-board.yaml +158 -0
- package/dist/docs/blocks/media-image-gallery.yaml +39 -0
- package/dist/docs/blocks/nav-sidebar.yaml +84 -0
- package/dist/docs/blocks/onboard-stepper.yaml +111 -0
- package/dist/docs/blocks/overlay-confirmation-modal.yaml +60 -0
- package/dist/docs/blocks/overlay-dropdown-menu.yaml +72 -0
- package/dist/docs/blocks/profile-card.yaml +1 -3
- package/dist/docs/blocks/settings-panel.yaml +1 -2
- package/dist/docs/blocks/sidebar-nav.yaml +0 -2
- package/dist/docs/blocks/user-profile-card.yaml +52 -0
- package/dist/docs/blocks/user-team-list.yaml +116 -0
- package/dist/docs/components/agent-feed.yaml +2 -2
- package/dist/docs/components/button.yaml +3 -2
- package/dist/icons.js +137 -128
- package/dist/icons.js.map +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ examples:
|
|
|
33
33
|
</aui-header>
|
|
34
34
|
<aui-content>
|
|
35
35
|
<aui-inset>
|
|
36
|
-
<aui-stack direction="row" gap="1" align-items="end"
|
|
36
|
+
<aui-stack direction="row" gap="1" align-items="end" style="height: 10rem;" data-chart-bars>
|
|
37
37
|
<aui-bar label="Apr 1 · 3,120" style="height: 35%;"></aui-bar>
|
|
38
38
|
<aui-bar label="Apr 8 · 4,890" style="height: 55%;"></aui-bar>
|
|
39
39
|
<aui-bar label="Apr 15 · 3,740" style="height: 42%;"></aui-bar>
|
|
@@ -38,7 +38,7 @@ examples:
|
|
|
38
38
|
<aui-text muted size="xs" spacer text="center">214</aui-text>
|
|
39
39
|
</aui-stack>
|
|
40
40
|
<!-- Bars: direct children of align-items="end" row so height % resolves against 8rem -->
|
|
41
|
-
<aui-stack direction="row" gap="2" align-items="end"
|
|
41
|
+
<aui-stack direction="row" gap="2" align-items="end" style="height: 10rem;">
|
|
42
42
|
<div style="flex: 1; height: 45%; background: var(--aui-chart-2); border-radius: var(--aui-radius);"></div>
|
|
43
43
|
<div style="flex: 1; height: 75%; background: var(--aui-chart-1); border-radius: var(--aui-radius);"></div>
|
|
44
44
|
<div style="flex: 1; height: 58%; background: var(--aui-chart-2); border-radius: var(--aui-radius);"></div>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
name: commerce-pricing-table
|
|
2
|
+
type: block
|
|
3
|
+
summary: Three-tier pricing comparison with billing toggle, feature checklists, and CTAs.
|
|
4
|
+
description: |
|
|
5
|
+
A pricing page layout with a centered header (title + subtitle), a monthly/yearly billing toggle using aui-segmented-control, and three tier cards in a responsive row. The featured Pro tier uses the accent intent on its container for visual emphasis and a "Most Popular" badge. Each card has a tier name, description, price heading, divider, feature checklist with success check icons using color: var(--aui-solid) for intent color, and a CTA button (outline for standard tiers, primary accent width="full" for the featured tier). The Pro card's "Most Popular" badge sits above the heading in a centered stack (align-items="center" text="center"), not in the CTA row. Cards use spacer for equal flex sizing.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-icon
|
|
13
|
+
- aui-badge
|
|
14
|
+
- aui-button
|
|
15
|
+
- aui-divider
|
|
16
|
+
- aui-segmented-control
|
|
17
|
+
- aui-segment
|
|
18
|
+
kind: card
|
|
19
|
+
examples:
|
|
20
|
+
- description: Three-tier pricing comparison with billing toggle, feature checklists, and CTAs.
|
|
21
|
+
html: |-
|
|
22
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
23
|
+
|
|
24
|
+
<!-- Header -->
|
|
25
|
+
<aui-stack gap="2" align-items="center">
|
|
26
|
+
<aui-heading size="xl">Simple, transparent pricing</aui-heading>
|
|
27
|
+
<aui-text muted>Choose the plan that fits your team. Upgrade or downgrade anytime.</aui-text>
|
|
28
|
+
</aui-stack>
|
|
29
|
+
|
|
30
|
+
<!-- Billing toggle -->
|
|
31
|
+
<aui-segmented-control value="monthly">
|
|
32
|
+
<aui-segment value="monthly" selected>Monthly</aui-segment>
|
|
33
|
+
<aui-segment value="yearly">Yearly</aui-segment>
|
|
34
|
+
</aui-segmented-control>
|
|
35
|
+
|
|
36
|
+
<!-- Pricing cards -->
|
|
37
|
+
<aui-stack direction="row" gap="3" wrap align-items="start">
|
|
38
|
+
|
|
39
|
+
<!-- Starter -->
|
|
40
|
+
<aui-container kind="card" bordered spacer min-width="14">
|
|
41
|
+
<aui-inset>
|
|
42
|
+
<aui-stack gap="4">
|
|
43
|
+
<aui-stack gap="2">
|
|
44
|
+
<aui-heading size="md">Starter</aui-heading>
|
|
45
|
+
<aui-text muted size="sm">For individuals and small projects.</aui-text>
|
|
46
|
+
</aui-stack>
|
|
47
|
+
<aui-stack gap="1">
|
|
48
|
+
<aui-heading size="2xl">$9<aui-text muted size="sm" inline> / mo</aui-text></aui-heading>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
<aui-divider></aui-divider>
|
|
51
|
+
<aui-stack gap="2">
|
|
52
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
53
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
54
|
+
<aui-text size="sm">3 projects</aui-text>
|
|
55
|
+
</aui-stack>
|
|
56
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
57
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
58
|
+
<aui-text size="sm">1 GB storage</aui-text>
|
|
59
|
+
</aui-stack>
|
|
60
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
61
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
62
|
+
<aui-text size="sm">Email support</aui-text>
|
|
63
|
+
</aui-stack>
|
|
64
|
+
</aui-stack>
|
|
65
|
+
<aui-button outline width="full">Get started</aui-button>
|
|
66
|
+
</aui-stack>
|
|
67
|
+
</aui-inset>
|
|
68
|
+
</aui-container>
|
|
69
|
+
|
|
70
|
+
<!-- Pro (featured) -->
|
|
71
|
+
<aui-container kind="card" bordered accent spacer min-width="14">
|
|
72
|
+
<aui-inset>
|
|
73
|
+
<aui-stack gap="4">
|
|
74
|
+
<aui-stack gap="2" align-items="center" text="center">
|
|
75
|
+
<aui-badge accent>Most Popular</aui-badge>
|
|
76
|
+
<aui-heading size="md">Pro</aui-heading>
|
|
77
|
+
<aui-text muted size="sm">For growing teams with advanced needs.</aui-text>
|
|
78
|
+
</aui-stack>
|
|
79
|
+
<aui-stack gap="1">
|
|
80
|
+
<aui-heading size="2xl">$29<aui-text muted size="sm" inline> / mo</aui-text></aui-heading>
|
|
81
|
+
</aui-stack>
|
|
82
|
+
<aui-divider></aui-divider>
|
|
83
|
+
<aui-stack gap="2">
|
|
84
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
85
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
86
|
+
<aui-text size="sm">Unlimited projects</aui-text>
|
|
87
|
+
</aui-stack>
|
|
88
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
89
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
90
|
+
<aui-text size="sm">50 GB storage</aui-text>
|
|
91
|
+
</aui-stack>
|
|
92
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
93
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
94
|
+
<aui-text size="sm">Priority support</aui-text>
|
|
95
|
+
</aui-stack>
|
|
96
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
97
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
98
|
+
<aui-text size="sm">API access</aui-text>
|
|
99
|
+
</aui-stack>
|
|
100
|
+
</aui-stack>
|
|
101
|
+
<aui-button primary accent width="full">Get started</aui-button>
|
|
102
|
+
</aui-stack>
|
|
103
|
+
</aui-inset>
|
|
104
|
+
</aui-container>
|
|
105
|
+
|
|
106
|
+
<!-- Enterprise -->
|
|
107
|
+
<aui-container kind="card" bordered spacer min-width="14">
|
|
108
|
+
<aui-inset>
|
|
109
|
+
<aui-stack gap="4">
|
|
110
|
+
<aui-stack gap="2">
|
|
111
|
+
<aui-heading size="md">Enterprise</aui-heading>
|
|
112
|
+
<aui-text muted size="sm">For large organizations with custom requirements.</aui-text>
|
|
113
|
+
</aui-stack>
|
|
114
|
+
<aui-stack gap="1">
|
|
115
|
+
<aui-heading size="2xl">Custom</aui-heading>
|
|
116
|
+
</aui-stack>
|
|
117
|
+
<aui-divider></aui-divider>
|
|
118
|
+
<aui-stack gap="2">
|
|
119
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
120
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
121
|
+
<aui-text size="sm">Everything in Pro</aui-text>
|
|
122
|
+
</aui-stack>
|
|
123
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
124
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
125
|
+
<aui-text size="sm">Unlimited storage</aui-text>
|
|
126
|
+
</aui-stack>
|
|
127
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
128
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
129
|
+
<aui-text size="sm">SSO & SAML</aui-text>
|
|
130
|
+
</aui-stack>
|
|
131
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
132
|
+
<aui-icon name="check" size="sm" success style="color: var(--aui-solid);"></aui-icon>
|
|
133
|
+
<aui-text size="sm">Dedicated account manager</aui-text>
|
|
134
|
+
</aui-stack>
|
|
135
|
+
</aui-stack>
|
|
136
|
+
<aui-button outline width="full">Contact sales</aui-button>
|
|
137
|
+
</aui-stack>
|
|
138
|
+
</aui-inset>
|
|
139
|
+
</aui-container>
|
|
140
|
+
|
|
141
|
+
</aui-stack>
|
|
142
|
+
</aui-stack>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
name: comms-chat-thread
|
|
2
|
+
type: block
|
|
3
|
+
summary: Direct message chat thread with sent/received bubbles, typing indicator, and input bar.
|
|
4
|
+
description: |
|
|
5
|
+
A chat interface panel (max-width="sm", fixed height) with header (avatar, name/status stack with spacer, aui-dropdown-menu for more actions), scrollable message area with received (control background, padding, radius) and sent (solid background, color: var(--aui-solid-ink), padding, radius) message bubbles aligned left/right at max-width: 80%, timestamps, a typing indicator, and a footer input bar with attach button, full-width input (min-width: 0), and primary accent send button.
|
|
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-avatar
|
|
16
|
+
- aui-input
|
|
17
|
+
- aui-button
|
|
18
|
+
- aui-dropdown-menu
|
|
19
|
+
- aui-option
|
|
20
|
+
- aui-optgroup
|
|
21
|
+
kind: panel
|
|
22
|
+
examples:
|
|
23
|
+
- description: Direct message chat thread with sent/received bubbles, typing indicator, and input bar.
|
|
24
|
+
html: |-
|
|
25
|
+
<aui-container kind="panel" bordered max-width="sm" style="height: 28rem;">
|
|
26
|
+
<aui-header>
|
|
27
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
28
|
+
<aui-avatar size="sm">SC</aui-avatar>
|
|
29
|
+
<aui-stack gap="0" spacer>
|
|
30
|
+
<aui-heading size="sm">Sarah Chen</aui-heading>
|
|
31
|
+
<aui-text muted size="xs">Online</aui-text>
|
|
32
|
+
</aui-stack>
|
|
33
|
+
<aui-dropdown-menu label="More" ghost hide-label size="sm">
|
|
34
|
+
<aui-option value="mute">Mute</aui-option>
|
|
35
|
+
<aui-option value="search">Search</aui-option>
|
|
36
|
+
<aui-option value="pin">Pin conversation</aui-option>
|
|
37
|
+
<aui-optgroup divider>
|
|
38
|
+
<aui-option value="delete" danger>Delete</aui-option>
|
|
39
|
+
</aui-optgroup>
|
|
40
|
+
</aui-dropdown-menu>
|
|
41
|
+
</aui-stack>
|
|
42
|
+
</aui-header>
|
|
43
|
+
<aui-content>
|
|
44
|
+
<aui-inset>
|
|
45
|
+
<aui-stack>
|
|
46
|
+
|
|
47
|
+
<!-- Received message -->
|
|
48
|
+
<aui-stack gap="1" style="max-width: 80%;">
|
|
49
|
+
<aui-container kind="widget" class="aui-chat-thread-bubble aui-chat-thread-bubble-received">
|
|
50
|
+
<aui-text size="sm">Hey! Have you had a chance to review the token pipeline PR?</aui-text>
|
|
51
|
+
</aui-container>
|
|
52
|
+
<aui-text muted size="xs">10:42 AM</aui-text>
|
|
53
|
+
</aui-stack>
|
|
54
|
+
|
|
55
|
+
<!-- Sent message -->
|
|
56
|
+
<aui-stack gap="1" align-items="end" style="max-width: 80%; align-self: end;">
|
|
57
|
+
<aui-container kind="widget" accent class="aui-chat-thread-bubble aui-chat-thread-bubble-sent">
|
|
58
|
+
<aui-text size="sm">Yes! Just finished reviewing it. Left a few comments on the transform stage.</aui-text>
|
|
59
|
+
</aui-container>
|
|
60
|
+
<aui-text muted size="xs">10:44 AM</aui-text>
|
|
61
|
+
</aui-stack>
|
|
62
|
+
|
|
63
|
+
<!-- Received message -->
|
|
64
|
+
<aui-stack gap="1" style="max-width: 80%;">
|
|
65
|
+
<aui-container kind="widget" class="aui-chat-thread-bubble aui-chat-thread-bubble-received">
|
|
66
|
+
<aui-text size="sm">Great, I'll take a look. Want to pair on the CSS output format?</aui-text>
|
|
67
|
+
</aui-container>
|
|
68
|
+
<aui-text muted size="xs">10:45 AM</aui-text>
|
|
69
|
+
</aui-stack>
|
|
70
|
+
|
|
71
|
+
<!-- Typing indicator -->
|
|
72
|
+
<aui-stack gap="1" style="max-width: 80%;">
|
|
73
|
+
<aui-container kind="widget" class="aui-chat-thread-bubble aui-chat-thread-bubble-received">
|
|
74
|
+
<aui-text muted size="sm">typing…</aui-text>
|
|
75
|
+
</aui-container>
|
|
76
|
+
</aui-stack>
|
|
77
|
+
|
|
78
|
+
</aui-stack>
|
|
79
|
+
</aui-inset>
|
|
80
|
+
</aui-content>
|
|
81
|
+
<aui-footer>
|
|
82
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
83
|
+
<aui-button ghost hide-label label="Attach" icon-leading="paperclip" size="sm"></aui-button>
|
|
84
|
+
<aui-input placeholder="Type a message…" width="full" size="sm"></aui-input>
|
|
85
|
+
<aui-button primary accent hide-label label="Send" icon-leading="arrow-up" size="sm"></aui-button>
|
|
86
|
+
</aui-stack>
|
|
87
|
+
</aui-footer>
|
|
88
|
+
</aui-container>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
name: comms-notification-list
|
|
2
|
+
type: block
|
|
3
|
+
summary: Notification panel with count badge, mark-all-read action, and categorized items.
|
|
4
|
+
description: |
|
|
5
|
+
A notifications panel (max-width="sm") with a header showing title heading (no spacer), count badge next to heading, spacer, then a scrim mark-all-read button. Notification items have category-colored solid avatars using the solid attribute (comment=accent chat-dots, mention=warning user, assign=success check, alert=danger warning). Each item has a heading with strong actor/entity names, muted xs timestamp, and optional unread accent dot badge. Items use gap="4" for vertical spacing.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-avatar
|
|
15
|
+
- aui-icon
|
|
16
|
+
- aui-badge
|
|
17
|
+
- aui-button
|
|
18
|
+
kind: panel
|
|
19
|
+
examples:
|
|
20
|
+
- description: Notification panel with count badge, mark-all-read action, and categorized items.
|
|
21
|
+
html: |-
|
|
22
|
+
<aui-container kind="panel" bordered max-width="sm">
|
|
23
|
+
<aui-header>
|
|
24
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
25
|
+
<aui-heading size="lg">Notifications</aui-heading>
|
|
26
|
+
<aui-badge>12</aui-badge>
|
|
27
|
+
<aui-text spacer></aui-text>
|
|
28
|
+
<aui-button scrim size="sm">Mark all read</aui-button>
|
|
29
|
+
</aui-stack>
|
|
30
|
+
</aui-header>
|
|
31
|
+
<aui-content>
|
|
32
|
+
<aui-inset>
|
|
33
|
+
<aui-stack gap="4">
|
|
34
|
+
|
|
35
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
36
|
+
<aui-avatar size="xs" accent solid><aui-icon name="chat-dots" size="xs"></aui-icon></aui-avatar>
|
|
37
|
+
<aui-stack gap="1" spacer>
|
|
38
|
+
<aui-heading size="sm"><strong>Sarah Chen</strong> commented on <strong>Auth flow redesign</strong></aui-heading>
|
|
39
|
+
<aui-text muted size="xs">2 minutes ago</aui-text>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
<aui-badge accent dot></aui-badge>
|
|
42
|
+
</aui-stack>
|
|
43
|
+
|
|
44
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
45
|
+
<aui-avatar size="xs" warning solid><aui-icon name="user" size="xs"></aui-icon></aui-avatar>
|
|
46
|
+
<aui-stack gap="1" spacer>
|
|
47
|
+
<aui-heading size="sm"><strong>Alex Rivera</strong> mentioned you in <strong>Sprint planning</strong></aui-heading>
|
|
48
|
+
<aui-text muted size="xs">15 minutes ago</aui-text>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
<aui-badge accent dot></aui-badge>
|
|
51
|
+
</aui-stack>
|
|
52
|
+
|
|
53
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
54
|
+
<aui-avatar size="xs" success solid><aui-icon name="check" size="xs"></aui-icon></aui-avatar>
|
|
55
|
+
<aui-stack gap="1" spacer>
|
|
56
|
+
<aui-heading size="sm"><strong>James Wilson</strong> assigned you to <strong>API migration</strong></aui-heading>
|
|
57
|
+
<aui-text muted size="xs">1 hour ago</aui-text>
|
|
58
|
+
</aui-stack>
|
|
59
|
+
</aui-stack>
|
|
60
|
+
|
|
61
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
62
|
+
<aui-avatar size="xs" danger solid><aui-icon name="warning" size="xs"></aui-icon></aui-avatar>
|
|
63
|
+
<aui-stack gap="1" spacer>
|
|
64
|
+
<aui-heading size="sm">Build failed on <strong>main</strong> branch</aui-heading>
|
|
65
|
+
<aui-text muted size="xs">3 hours ago</aui-text>
|
|
66
|
+
</aui-stack>
|
|
67
|
+
</aui-stack>
|
|
68
|
+
|
|
69
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
70
|
+
<aui-avatar size="xs" accent solid><aui-icon name="chat-dots" size="xs"></aui-icon></aui-avatar>
|
|
71
|
+
<aui-stack gap="1" spacer>
|
|
72
|
+
<aui-heading size="sm"><strong>Maria Santos</strong> replied to your comment</aui-heading>
|
|
73
|
+
<aui-text muted size="xs">5 hours ago</aui-text>
|
|
74
|
+
</aui-stack>
|
|
75
|
+
</aui-stack>
|
|
76
|
+
|
|
77
|
+
<aui-stack direction="row" gap="3" align-items="start">
|
|
78
|
+
<aui-avatar size="xs" success solid><aui-icon name="check" size="xs"></aui-icon></aui-avatar>
|
|
79
|
+
<aui-stack gap="1" spacer>
|
|
80
|
+
<aui-heading size="sm"><strong>Liam Walker</strong> approved your PR <strong>#142</strong></aui-heading>
|
|
81
|
+
<aui-text muted size="xs">Yesterday</aui-text>
|
|
82
|
+
</aui-stack>
|
|
83
|
+
</aui-stack>
|
|
84
|
+
|
|
85
|
+
</aui-stack>
|
|
86
|
+
</aui-inset>
|
|
87
|
+
</aui-content>
|
|
88
|
+
</aui-container>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: content-article-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Article preview card with thumbnail, tags, title, excerpt, and author row.
|
|
4
|
+
description: |
|
|
5
|
+
A vertical article card for content grids and feeds. Top zone is a 16:9 aspect-ratio thumbnail placeholder. Body contains colored tag badges, a title heading, a 3-line clamped excerpt, a divider, and an author row with avatar initials, name, date, and right-aligned read time. The container uses the interactive attribute for hover/click affordance. Suitable for blog listings, documentation indexes, and content hubs.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-badge
|
|
13
|
+
- aui-avatar
|
|
14
|
+
- aui-icon
|
|
15
|
+
- aui-divider
|
|
16
|
+
kind: card
|
|
17
|
+
examples:
|
|
18
|
+
- description: Article preview card with thumbnail, tags, title, excerpt, and author row.
|
|
19
|
+
html: |-
|
|
20
|
+
<aui-container kind="card" bordered max-width="sm" interactive>
|
|
21
|
+
|
|
22
|
+
<!-- Thumbnail -->
|
|
23
|
+
<div style="aspect-ratio: 16/9; background: var(--aui-neutral-3); display: flex; align-items: center; justify-content: center;">
|
|
24
|
+
<aui-icon name="image" style="--aui-icon-size: 2rem;" muted></aui-icon>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- Body -->
|
|
28
|
+
<aui-inset>
|
|
29
|
+
<aui-stack>
|
|
30
|
+
<aui-stack direction="row" gap="2">
|
|
31
|
+
<aui-badge accent>Engineering</aui-badge>
|
|
32
|
+
<aui-badge success>New</aui-badge>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
<aui-stack gap="1">
|
|
35
|
+
<aui-heading size="md">Building a Scalable Design Token Pipeline</aui-heading>
|
|
36
|
+
<aui-text muted size="sm" style="-webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;">How we automated our design-to-code workflow using Style Dictionary, custom transforms, and a CI pipeline that keeps tokens in sync across web, iOS, and Android platforms.</aui-text>
|
|
37
|
+
</aui-stack>
|
|
38
|
+
<aui-divider></aui-divider>
|
|
39
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
40
|
+
<aui-avatar size="sm">SR</aui-avatar>
|
|
41
|
+
<aui-text size="xs" spacer>Sarah Rivera · Mar 12</aui-text>
|
|
42
|
+
<aui-text size="xs" muted>6 min read</aui-text>
|
|
43
|
+
</aui-stack>
|
|
44
|
+
</aui-stack>
|
|
45
|
+
</aui-inset>
|
|
46
|
+
|
|
47
|
+
</aui-container>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
name: dashboard-kpi-grid
|
|
2
|
+
type: block
|
|
3
|
+
summary: Dashboard page with title, date range, period selector, and 4-card KPI grid with sparklines.
|
|
4
|
+
description: |
|
|
5
|
+
A dashboard overview layout. Header has a title, date range subtitle, and a segmented control for time period selection (24h/7d/30d/90d). Below is a responsive 4-card KPI grid using aui-stat components, each with label, large value, trend direction, change amount, and an aui-sparkline child for inline visualization. Intent attrs (danger, success) color the value when trend direction differs from sentiment.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-stat
|
|
13
|
+
- aui-segmented-control
|
|
14
|
+
- aui-segment
|
|
15
|
+
- aui-sparkline
|
|
16
|
+
kind: widget
|
|
17
|
+
examples:
|
|
18
|
+
- description: Dashboard page with title, date range, period selector, and 4-card KPI grid with sparklines.
|
|
19
|
+
html: |-
|
|
20
|
+
<aui-stack gap="4">
|
|
21
|
+
|
|
22
|
+
<!-- Dashboard header -->
|
|
23
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
24
|
+
<aui-stack gap="1" spacer>
|
|
25
|
+
<aui-heading size="xl">Overview</aui-heading>
|
|
26
|
+
<aui-text muted size="sm">Mon, Mar 10 – Sun, Mar 16</aui-text>
|
|
27
|
+
</aui-stack>
|
|
28
|
+
<aui-segmented-control value="7d" size="sm">
|
|
29
|
+
<aui-segment value="24h">24h</aui-segment>
|
|
30
|
+
<aui-segment value="7d" selected>7d</aui-segment>
|
|
31
|
+
<aui-segment value="30d">30d</aui-segment>
|
|
32
|
+
<aui-segment value="90d">90d</aui-segment>
|
|
33
|
+
</aui-segmented-control>
|
|
34
|
+
</aui-stack>
|
|
35
|
+
|
|
36
|
+
<!-- KPI grid -->
|
|
37
|
+
<aui-stack direction="row" gap="3" wrap>
|
|
38
|
+
|
|
39
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
40
|
+
<aui-inset>
|
|
41
|
+
<aui-stat label="Revenue" value="$48.2k" trend="up" change="+12.3%">
|
|
42
|
+
<aui-sparkline values="40,55,70,60,80,75,95" color="1" highlight="last"></aui-sparkline>
|
|
43
|
+
</aui-stat>
|
|
44
|
+
</aui-inset>
|
|
45
|
+
</aui-container>
|
|
46
|
+
|
|
47
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
48
|
+
<aui-inset>
|
|
49
|
+
<aui-stat label="Users" value="2,847" trend="up" change="+8.1%">
|
|
50
|
+
<aui-sparkline values="50,60,55,70,65,75,90" color="2" highlight="last"></aui-sparkline>
|
|
51
|
+
</aui-stat>
|
|
52
|
+
</aui-inset>
|
|
53
|
+
</aui-container>
|
|
54
|
+
|
|
55
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
56
|
+
<aui-inset>
|
|
57
|
+
<aui-stat label="Conversion" value="4.2%" trend="down" change="−0.3%" danger>
|
|
58
|
+
<aui-sparkline values="70,60,50,55,45,40,35" color="3" highlight="last"></aui-sparkline>
|
|
59
|
+
</aui-stat>
|
|
60
|
+
</aui-inset>
|
|
61
|
+
</aui-container>
|
|
62
|
+
|
|
63
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
64
|
+
<aui-inset>
|
|
65
|
+
<aui-stat label="Latency" value="142ms" trend="down" change="−18ms" success>
|
|
66
|
+
<aui-sparkline values="60,55,65,50,45,40,35" color="4" highlight="last"></aui-sparkline>
|
|
67
|
+
</aui-stat>
|
|
68
|
+
</aui-inset>
|
|
69
|
+
</aui-container>
|
|
70
|
+
|
|
71
|
+
</aui-stack>
|
|
72
|
+
</aui-stack>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
name: data-activity-log
|
|
2
|
+
type: block
|
|
3
|
+
summary: Chronological activity feed with date groups, semantic icons, and filter controls.
|
|
4
|
+
description: |
|
|
5
|
+
A panel listing recent activity entries grouped by date. Header has a title and a segmented control for filtering (All/Changes/Comments). Each date group has an uppercase label and a list of activity items. Each item uses a solid-color avatar with a semantic icon (deploy=success, comment=warning, update=accent, create=success, delete=danger), a text description with bold actor and entity names, optional monospace detail, and a timestamp. Groups are separated by dividers.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-avatar
|
|
15
|
+
- aui-icon
|
|
16
|
+
- aui-segmented-control
|
|
17
|
+
- aui-segment
|
|
18
|
+
- aui-divider
|
|
19
|
+
kind: panel
|
|
20
|
+
examples:
|
|
21
|
+
- description: Chronological activity feed with date groups, semantic icons, and filter controls.
|
|
22
|
+
html: |-
|
|
23
|
+
<aui-container kind="panel" bordered max-width="lg">
|
|
24
|
+
<aui-header>
|
|
25
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
26
|
+
<aui-heading size="lg" spacer>Activity</aui-heading>
|
|
27
|
+
<aui-segmented-control value="all" size="sm">
|
|
28
|
+
<aui-segment value="all" selected>All</aui-segment>
|
|
29
|
+
<aui-segment value="changes">Changes</aui-segment>
|
|
30
|
+
<aui-segment value="comments">Comments</aui-segment>
|
|
31
|
+
</aui-segmented-control>
|
|
32
|
+
</aui-stack>
|
|
33
|
+
</aui-header>
|
|
34
|
+
<aui-content>
|
|
35
|
+
<aui-inset>
|
|
36
|
+
<aui-stack gap="4">
|
|
37
|
+
|
|
38
|
+
<!-- Today group -->
|
|
39
|
+
<aui-stack gap="3">
|
|
40
|
+
<aui-heading group>Today</aui-heading>
|
|
41
|
+
|
|
42
|
+
<aui-stack gap="3">
|
|
43
|
+
<aui-stack direction="row" gap="3">
|
|
44
|
+
<aui-avatar size="xs" success shrink="0" solid><aui-icon name="arrow-up" size="xs"></aui-icon></aui-avatar>
|
|
45
|
+
<aui-stack gap="1" spacer>
|
|
46
|
+
<aui-heading size="sm"><strong>Sarah Chen</strong> deployed <strong>v2.4.1</strong> to production</aui-heading>
|
|
47
|
+
<aui-text size="xs" muted style="font-family: var(--aui-font-mono);">commit a1b2c3d</aui-text>
|
|
48
|
+
<aui-text size="xs" muted>2 minutes ago</aui-text>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
</aui-stack>
|
|
51
|
+
|
|
52
|
+
<aui-stack direction="row" gap="3">
|
|
53
|
+
<aui-avatar size="xs" warning shrink="0" solid><aui-icon name="chat-dots" size="xs"></aui-icon></aui-avatar>
|
|
54
|
+
<aui-stack gap="1" spacer>
|
|
55
|
+
<aui-heading size="sm"><strong>Alex Rivera</strong> commented on <strong>Auth flow redesign</strong></aui-heading>
|
|
56
|
+
<aui-text size="xs" muted>15 minutes ago</aui-text>
|
|
57
|
+
</aui-stack>
|
|
58
|
+
</aui-stack>
|
|
59
|
+
|
|
60
|
+
<aui-stack direction="row" gap="3">
|
|
61
|
+
<aui-avatar size="xs" accent shrink="0" solid><aui-icon name="pencil" size="xs"></aui-icon></aui-avatar>
|
|
62
|
+
<aui-stack gap="1" spacer>
|
|
63
|
+
<aui-heading size="sm"><strong>Maria Santos</strong> updated <strong>API rate limits</strong> to 1000 req/min</aui-heading>
|
|
64
|
+
<aui-text size="xs" muted>1 hour ago</aui-text>
|
|
65
|
+
</aui-stack>
|
|
66
|
+
</aui-stack>
|
|
67
|
+
</aui-stack>
|
|
68
|
+
</aui-stack>
|
|
69
|
+
|
|
70
|
+
<aui-divider></aui-divider>
|
|
71
|
+
|
|
72
|
+
<!-- Yesterday group -->
|
|
73
|
+
<aui-stack gap="3">
|
|
74
|
+
<aui-heading group>Yesterday</aui-heading>
|
|
75
|
+
|
|
76
|
+
<aui-stack gap="3">
|
|
77
|
+
<aui-stack direction="row" gap="3">
|
|
78
|
+
<aui-avatar size="xs" success shrink="0" solid><aui-icon name="plus" size="xs"></aui-icon></aui-avatar>
|
|
79
|
+
<aui-stack gap="1" spacer>
|
|
80
|
+
<aui-heading size="sm"><strong>James Wilson</strong> created <strong>Mobile app project</strong></aui-heading>
|
|
81
|
+
<aui-text size="xs" muted style="font-family: var(--aui-font-mono);">3 files added</aui-text>
|
|
82
|
+
<aui-text size="xs" muted>Yesterday at 4:32 PM</aui-text>
|
|
83
|
+
</aui-stack>
|
|
84
|
+
</aui-stack>
|
|
85
|
+
|
|
86
|
+
<aui-stack direction="row" gap="3">
|
|
87
|
+
<aui-avatar size="xs" danger shrink="0" solid><aui-icon name="trash" size="xs"></aui-icon></aui-avatar>
|
|
88
|
+
<aui-stack gap="1" spacer>
|
|
89
|
+
<aui-heading size="sm"><strong>Sarah Chen</strong> deleted <strong>Legacy endpoints</strong></aui-heading>
|
|
90
|
+
<aui-text size="xs" muted>Yesterday at 2:15 PM</aui-text>
|
|
91
|
+
</aui-stack>
|
|
92
|
+
</aui-stack>
|
|
93
|
+
</aui-stack>
|
|
94
|
+
</aui-stack>
|
|
95
|
+
|
|
96
|
+
</aui-stack>
|
|
97
|
+
</aui-inset>
|
|
98
|
+
</aui-content>
|
|
99
|
+
</aui-container>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: data-metric-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Row of KPI metric widgets with sparklines and trend indicators.
|
|
4
|
+
description: |
|
|
5
|
+
A responsive row of four compact metric cards using the aui-stat component. Each stat displays a label, large numeric value, trend direction with change amount, and an aui-sparkline child for inline visualization. Cards wrap responsively via flex-wrap. Each card uses the widget kind for compact density.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-stat
|
|
11
|
+
- aui-sparkline
|
|
12
|
+
kind: widget
|
|
13
|
+
examples:
|
|
14
|
+
- description: Row of KPI metric widgets with sparklines and trend indicators.
|
|
15
|
+
html: |-
|
|
16
|
+
<aui-stack direction="row" gap="3" wrap>
|
|
17
|
+
|
|
18
|
+
<aui-container kind="widget" bordered spacer min-width="10">
|
|
19
|
+
<aui-inset>
|
|
20
|
+
<aui-stat label="Monthly Revenue" value="$48.2k" trend="up" change="+12.3%">
|
|
21
|
+
<aui-sparkline values="40,55,35,70,60,80,95" color="1" highlight="last"></aui-sparkline>
|
|
22
|
+
</aui-stat>
|
|
23
|
+
</aui-inset>
|
|
24
|
+
</aui-container>
|
|
25
|
+
|
|
26
|
+
<aui-container kind="widget" bordered spacer min-width="10">
|
|
27
|
+
<aui-inset>
|
|
28
|
+
<aui-stat label="Active Users" value="2,847" trend="up" change="+8.1%">
|
|
29
|
+
<aui-sparkline values="60,45,55,50,70,65,85" color="2" highlight="last"></aui-sparkline>
|
|
30
|
+
</aui-stat>
|
|
31
|
+
</aui-inset>
|
|
32
|
+
</aui-container>
|
|
33
|
+
|
|
34
|
+
<aui-container kind="widget" bordered spacer min-width="10">
|
|
35
|
+
<aui-inset>
|
|
36
|
+
<aui-stat label="Churn Rate" value="3.2%" trend="up" change="+0.4%" danger>
|
|
37
|
+
<aui-sparkline values="80,70,60,50,55,40,35" color="3" highlight="last"></aui-sparkline>
|
|
38
|
+
</aui-stat>
|
|
39
|
+
</aui-inset>
|
|
40
|
+
</aui-container>
|
|
41
|
+
|
|
42
|
+
<aui-container kind="widget" bordered spacer min-width="10">
|
|
43
|
+
<aui-inset>
|
|
44
|
+
<aui-stat label="Avg. Session" value="4m 32s" trend="up" change="+0:18">
|
|
45
|
+
<aui-sparkline values="50,60,55,70,65,75,90" color="4" highlight="last"></aui-sparkline>
|
|
46
|
+
</aui-stat>
|
|
47
|
+
</aui-inset>
|
|
48
|
+
</aui-container>
|
|
49
|
+
|
|
50
|
+
</aui-stack>
|