@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.
Files changed (99) hide show
  1. package/dist/agent-ui.css +1 -1
  2. package/dist/api.colors.json +2 -2
  3. package/dist/api.colors.yaml +2 -2
  4. package/dist/api.components.json +1246 -220
  5. package/dist/api.tokens.json +2 -2
  6. package/dist/api.tokens.yaml +2 -2
  7. package/dist/blocks/action-toolbar/action-toolbar.d.ts +0 -0
  8. package/dist/blocks/agent-artifact-card/agent-artifact-card.d.ts +0 -0
  9. package/dist/blocks/agent-chat-response/agent-chat-response.d.ts +0 -0
  10. package/dist/blocks/agent-code-result/agent-code-result.d.ts +0 -0
  11. package/dist/blocks/agent-context-panel/agent-context-panel.d.ts +0 -0
  12. package/dist/blocks/agent-feedback-controls/agent-feedback-controls.d.ts +0 -0
  13. package/dist/blocks/agent-follow-up-chips/agent-follow-up-chips.d.ts +0 -0
  14. package/dist/blocks/agent-model-selector/agent-model-selector.d.ts +0 -0
  15. package/dist/blocks/agent-prompt-input/agent-prompt-input.d.ts +0 -0
  16. package/dist/blocks/agent-streaming-message/agent-streaming-message.d.ts +0 -0
  17. package/dist/blocks/agent-suggestion-card/agent-suggestion-card.d.ts +0 -0
  18. package/dist/blocks/agent-task-card/agent-task-card.d.ts +0 -0
  19. package/dist/blocks/agent-thinking-state/agent-thinking-state.d.ts +0 -0
  20. package/dist/blocks/agent-tool-use-card/agent-tool-use-card.d.ts +0 -0
  21. package/dist/blocks/auth-card/auth-card.d.ts +0 -0
  22. package/dist/blocks/commerce-pricing-table/commerce-pricing-table.d.ts +0 -0
  23. package/dist/blocks/comms-chat-thread/comms-chat-thread.d.ts +0 -0
  24. package/dist/blocks/comms-notification-list/comms-notification-list.d.ts +0 -0
  25. package/dist/blocks/content-article-card/content-article-card.d.ts +0 -0
  26. package/dist/blocks/dashboard-kpi-grid/dashboard-kpi-grid.d.ts +0 -0
  27. package/dist/blocks/data-activity-log/data-activity-log.d.ts +0 -0
  28. package/dist/blocks/data-metric-card/data-metric-card.d.ts +0 -0
  29. package/dist/blocks/data-table/data-table.d.ts +0 -0
  30. package/dist/blocks/data-timeline/data-timeline.d.ts +0 -0
  31. package/dist/blocks/feedback-alert-banner/feedback-alert-banner.d.ts +0 -0
  32. package/dist/blocks/feedback-empty-state/feedback-empty-state.d.ts +0 -0
  33. package/dist/blocks/feedback-progress-stepper/feedback-progress-stepper.d.ts +0 -0
  34. package/dist/blocks/form-settings-section/form-settings-section.d.ts +0 -0
  35. package/dist/blocks/game-battleship/game-battleship.d.ts +0 -0
  36. package/dist/blocks/game-chess/game-chess.d.ts +0 -0
  37. package/dist/blocks/game-connect-four/game-connect-four.d.ts +0 -0
  38. package/dist/blocks/game-tic-tac-toe/game-tic-tac-toe.d.ts +0 -0
  39. package/dist/blocks/list-kanban-board/list-kanban-board.d.ts +0 -0
  40. package/dist/blocks/media-image-gallery/media-image-gallery.d.ts +0 -0
  41. package/dist/blocks/nav-sidebar/nav-sidebar.d.ts +0 -0
  42. package/dist/blocks/onboard-stepper/onboard-stepper.d.ts +0 -0
  43. package/dist/blocks/overlay-confirmation-modal/overlay-confirmation-modal.d.ts +0 -0
  44. package/dist/blocks/overlay-dropdown-menu/overlay-dropdown-menu.d.ts +0 -0
  45. package/dist/blocks/user-profile-card/user-profile-card.d.ts +0 -0
  46. package/dist/blocks/user-team-list/user-team-list.d.ts +0 -0
  47. package/dist/docs/blocks/action-toolbar.yaml +73 -0
  48. package/dist/docs/blocks/agent-artifact-card.yaml +67 -0
  49. package/dist/docs/blocks/agent-chat-response.yaml +65 -0
  50. package/dist/docs/blocks/agent-code-result.yaml +41 -0
  51. package/dist/docs/blocks/agent-context-panel.yaml +96 -0
  52. package/dist/docs/blocks/agent-feedback-controls.yaml +101 -0
  53. package/dist/docs/blocks/agent-follow-up-chips.yaml +37 -0
  54. package/dist/docs/blocks/agent-model-selector.yaml +83 -0
  55. package/dist/docs/blocks/agent-prompt-input.yaml +49 -0
  56. package/dist/docs/blocks/agent-streaming-message.yaml +46 -0
  57. package/dist/docs/blocks/agent-suggestion-card.yaml +68 -0
  58. package/dist/docs/blocks/agent-task-card.yaml +112 -0
  59. package/dist/docs/blocks/agent-thinking-state.yaml +56 -0
  60. package/dist/docs/blocks/agent-tool-use-card.yaml +142 -0
  61. package/dist/docs/blocks/auth-card.yaml +74 -0
  62. package/dist/docs/blocks/chart-grouped.yaml +1 -1
  63. package/dist/docs/blocks/chart-interactive.yaml +1 -1
  64. package/dist/docs/blocks/chart-labeled.yaml +1 -1
  65. package/dist/docs/blocks/commerce-pricing-table.yaml +142 -0
  66. package/dist/docs/blocks/comms-chat-thread.yaml +88 -0
  67. package/dist/docs/blocks/comms-notification-list.yaml +88 -0
  68. package/dist/docs/blocks/content-article-card.yaml +47 -0
  69. package/dist/docs/blocks/dashboard-kpi-grid.yaml +72 -0
  70. package/dist/docs/blocks/dashboard-layout.yaml +0 -1
  71. package/dist/docs/blocks/data-activity-log.yaml +99 -0
  72. package/dist/docs/blocks/data-metric-card.yaml +50 -0
  73. package/dist/docs/blocks/data-table.yaml +106 -0
  74. package/dist/docs/blocks/data-timeline.yaml +103 -0
  75. package/dist/docs/blocks/feedback-alert-banner.yaml +42 -0
  76. package/dist/docs/blocks/feedback-empty-state.yaml +18 -0
  77. package/dist/docs/blocks/feedback-progress-stepper.yaml +82 -0
  78. package/dist/docs/blocks/form-settings-section.yaml +129 -0
  79. package/dist/docs/blocks/game-battleship.yaml +184 -0
  80. package/dist/docs/blocks/game-chess.yaml +83 -0
  81. package/dist/docs/blocks/game-connect-four.yaml +80 -0
  82. package/dist/docs/blocks/game-tic-tac-toe.yaml +51 -0
  83. package/dist/docs/blocks/issue-assign.yaml +2 -2
  84. package/dist/docs/blocks/list-kanban-board.yaml +158 -0
  85. package/dist/docs/blocks/media-image-gallery.yaml +39 -0
  86. package/dist/docs/blocks/nav-sidebar.yaml +84 -0
  87. package/dist/docs/blocks/onboard-stepper.yaml +111 -0
  88. package/dist/docs/blocks/overlay-confirmation-modal.yaml +60 -0
  89. package/dist/docs/blocks/overlay-dropdown-menu.yaml +72 -0
  90. package/dist/docs/blocks/profile-card.yaml +1 -3
  91. package/dist/docs/blocks/settings-panel.yaml +1 -2
  92. package/dist/docs/blocks/sidebar-nav.yaml +0 -2
  93. package/dist/docs/blocks/user-profile-card.yaml +52 -0
  94. package/dist/docs/blocks/user-team-list.yaml +116 -0
  95. package/dist/docs/components/agent-feed.yaml +2 -2
  96. package/dist/docs/components/button.yaml +3 -2
  97. package/dist/icons.js +137 -128
  98. package/dist/icons.js.map +1 -1
  99. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "package": "@agent-ui-kit/web-components",
3
- "version": "0.0.16",
4
- "generated": "2026-03-22T04:11:44.191Z",
3
+ "version": "0.0.17",
4
+ "generated": "2026-03-22T05:03:36.053Z",
5
5
  "description": "Design tokens: sizing, typography, spacing, radius, shadow, animation.",
6
6
  "scales": {
7
7
  "size": [
@@ -1,6 +1,6 @@
1
1
  package: "@agent-ui-kit/web-components"
2
- version: 0.0.16
3
- generated: 2026-03-22T04:11:44.191Z
2
+ version: 0.0.17
3
+ generated: 2026-03-22T05:03:36.053Z
4
4
  description: "Design tokens: sizing, typography, spacing, radius, shadow, animation."
5
5
  scales:
6
6
  size:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,73 @@
1
+ name: action-toolbar
2
+ type: block
3
+ summary: Three toolbar variants — editor formatting, table actions, and bulk selection.
4
+ description: |
5
+ Three toolbar contexts in a vertical stack. The editor toolbar uses aui-button-group to cluster ghost icon-only buttons by function (formatting, alignment, insert), separated by vertical dividers. The table toolbar has a scrim Filters button, spacer, ghost icon actions, divider, and a primary Add row button. The bulk selection toolbar uses an accent container with a selection count heading, spacer, scrim action buttons, divider, and a danger ghost delete button. All use widget kind with bordered containers.
6
+ components:
7
+ - aui-container
8
+ - aui-inset
9
+ - aui-stack
10
+ - aui-heading
11
+ - aui-text
12
+ - aui-button
13
+ - aui-button-group
14
+ - aui-divider
15
+ kind: widget
16
+ examples:
17
+ - description: Three toolbar variants — editor formatting, table actions, and bulk selection.
18
+ html: |-
19
+ <aui-stack gap="4">
20
+
21
+ <!-- Editor toolbar -->
22
+ <aui-container kind="widget" bordered>
23
+ <aui-inset>
24
+ <aui-stack direction="row" gap="2" align-items="center">
25
+ <aui-button-group>
26
+ <aui-button ghost hide-label label="Bold" icon-leading="file-text" size="sm"></aui-button>
27
+ <aui-button ghost hide-label label="Italic" icon-leading="pencil" size="sm"></aui-button>
28
+ <aui-button ghost hide-label label="Underline" icon-leading="minus" size="sm"></aui-button>
29
+ </aui-button-group>
30
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
31
+ <aui-button-group>
32
+ <aui-button ghost hide-label label="Align left" icon-leading="list-checks" size="sm"></aui-button>
33
+ <aui-button ghost hide-label label="Align center" icon-leading="list-checks" size="sm"></aui-button>
34
+ </aui-button-group>
35
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
36
+ <aui-button-group>
37
+ <aui-button ghost hide-label label="Link" icon-leading="paperclip" size="sm"></aui-button>
38
+ <aui-button ghost hide-label label="Code" icon-leading="file-text" size="sm"></aui-button>
39
+ </aui-button-group>
40
+ </aui-stack>
41
+ </aui-inset>
42
+ </aui-container>
43
+
44
+ <!-- Table toolbar -->
45
+ <aui-container kind="widget" bordered>
46
+ <aui-inset>
47
+ <aui-stack direction="row" gap="2" align-items="center">
48
+ <aui-button scrim size="sm" icon-leading="sliders">Filters</aui-button>
49
+ <aui-text size="xs" muted spacer></aui-text>
50
+ <aui-button ghost hide-label label="Search" icon-leading="magnifying-glass" size="sm"></aui-button>
51
+ <aui-button ghost hide-label label="Sort" icon-leading="arrow-up" size="sm"></aui-button>
52
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
53
+ <aui-button primary accent size="sm" icon-leading="plus">Add row</aui-button>
54
+ </aui-stack>
55
+ </aui-inset>
56
+ </aui-container>
57
+
58
+ <!-- Bulk selection toolbar -->
59
+ <aui-container kind="widget" bordered accent>
60
+ <aui-inset>
61
+ <aui-stack direction="row" gap="2" align-items="center">
62
+ <aui-heading size="sm">5 selected</aui-heading>
63
+ <aui-text size="xs" muted spacer></aui-text>
64
+ <aui-button scrim size="sm" icon-leading="pencil">Edit</aui-button>
65
+ <aui-button scrim size="sm" icon-leading="copy">Duplicate</aui-button>
66
+ <aui-button scrim size="sm" icon-leading="star">Move</aui-button>
67
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
68
+ <aui-button ghost danger hide-label label="Delete" icon-leading="trash" size="sm"></aui-button>
69
+ </aui-stack>
70
+ </aui-inset>
71
+ </aui-container>
72
+
73
+ </aui-stack>
@@ -0,0 +1,67 @@
1
+ name: agent-artifact-card
2
+ type: block
3
+ summary: Code and document artifact cards with preview fade, file metadata, and copy action.
4
+ description: |
5
+ Artifact cards showing agent-generated code or documents. Each card has a top aui-code preview area with a CSS gradient mask fading to transparent, and a bottom info row with a type-colored avatar icon, file name (truncated with ellipsis), size metadata, and an aui-copy-button. Uses the interactive attribute on the container for hover affordance. Code previews use aui-code with custom max-height and mask-image for the fade effect.
6
+ components:
7
+ - aui-container
8
+ - aui-inset
9
+ - aui-stack
10
+ - aui-heading
11
+ - aui-text
12
+ - aui-avatar
13
+ - aui-icon
14
+ - aui-copy-button
15
+ - aui-code
16
+ kind: widget
17
+ examples:
18
+ - description: Code and document artifact cards with preview fade, file metadata, and copy action.
19
+ html: |-
20
+ <aui-stack>
21
+
22
+ <!-- Code artifact -->
23
+ <aui-container kind="widget" bordered interactive>
24
+ <aui-code style="max-height: 8rem; mask-image: linear-gradient(to bottom, black 60%, transparent);">import { signal, computed, effect } from './reactivity'
25
+
26
+ export function createStore(initial) {
27
+ const state = signal(initial)
28
+ const derived = computed(() => transform(state.value))
29
+
30
+ effect(() => console.log('State changed:', state.value))
31
+
32
+ return { state, derived }
33
+ }</aui-code>
34
+ <aui-inset>
35
+ <aui-stack direction="row" gap="3" align-items="center">
36
+ <aui-avatar size="xs" accent solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
37
+ <aui-stack gap="1" spacer min-width="0">
38
+ <aui-heading density="compact" truncate>reactivity-store.ts</aui-heading>
39
+ <aui-text muted size="xs">TypeScript · 847 bytes</aui-text>
40
+ </aui-stack>
41
+ <aui-copy-button></aui-copy-button>
42
+ </aui-stack>
43
+ </aui-inset>
44
+ </aui-container>
45
+
46
+ <!-- Document artifact -->
47
+ <aui-container kind="widget" bordered interactive>
48
+ <aui-code style="max-height: 8rem; mask-image: linear-gradient(to bottom, black 60%, transparent);"># Migration Guide v3.0
49
+
50
+ ## Breaking Changes
51
+
52
+ 1. The `createApp()` function now requires a config object
53
+ 2. Router middleware signature changed to async
54
+ 3. State management uses signals instead of observables</aui-code>
55
+ <aui-inset>
56
+ <aui-stack direction="row" gap="3" align-items="center">
57
+ <aui-avatar size="xs" success solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
58
+ <aui-stack gap="1" spacer min-width="0">
59
+ <aui-heading density="compact" truncate>migration-guide.md</aui-heading>
60
+ <aui-text muted size="xs">Markdown · 2.1 KB</aui-text>
61
+ </aui-stack>
62
+ <aui-copy-button></aui-copy-button>
63
+ </aui-stack>
64
+ </aui-inset>
65
+ </aui-container>
66
+
67
+ </aui-stack>
@@ -0,0 +1,65 @@
1
+ name: agent-chat-response
2
+ type: block
3
+ summary: Agent chat message with identity row, prose + code content, citations, and action toolbar.
4
+ description: |
5
+ A chat response block showing an agent message. Identity row has an accent solid avatar with sparkle icon, assistant name heading with spacer, and a sources badge. Response body is a vertical stack of prose text with inline mono code using aui-text font="mono" inline, and an aui-code block for larger snippets. Below the body, citation chips in a wrapping row using aui-chip size="sm" (not badges). Action toolbar has aui-copy-button and ghost icon-only buttons (regenerate, thumbs up/down) separated by a vertical divider.
6
+ components:
7
+ - aui-stack
8
+ - aui-heading
9
+ - aui-text
10
+ - aui-avatar
11
+ - aui-icon
12
+ - aui-badge
13
+ - aui-chip
14
+ - aui-button
15
+ - aui-copy-button
16
+ - aui-code
17
+ - aui-divider
18
+ kind: widget
19
+ examples:
20
+ - description: Agent chat message with identity row, prose + code content, citations, and action toolbar.
21
+ html: |-
22
+ <aui-stack>
23
+
24
+ <!-- Identity row -->
25
+ <aui-stack direction="row" gap="3" align-items="center">
26
+ <aui-avatar density="compact" accent solid><aui-icon name="sparkle"></aui-icon></aui-avatar>
27
+ <aui-heading density="compact" spacer>Assistant</aui-heading>
28
+ <aui-badge accent>Searched 3 sources</aui-badge>
29
+ </aui-stack>
30
+
31
+ <!-- Response body -->
32
+ <aui-stack>
33
+ <aui-text density="compact">The <strong>design token pipeline</strong> is a build-time process that transforms raw token definitions into platform-specific outputs. Here's how it works:</aui-text>
34
+
35
+ <aui-text density="compact">First, tokens are defined in a canonical JSON format. Each token has a <aui-text font="mono" density="compact" inline>$value</aui-text> and optional <aui-text font="mono" density="compact" inline>$type</aui-text> field following the W3C Design Tokens specification.</aui-text>
36
+
37
+ <aui-code>{
38
+ "color": {
39
+ "primary": {
40
+ "$value": "#0066FF",
41
+ "$type": "color"
42
+ }
43
+ }
44
+ }</aui-code>
45
+
46
+ <aui-text density="compact">The transform pipeline then applies platform-specific conversions — CSS custom properties for web, Swift constants for iOS, and XML resources for Android.</aui-text>
47
+ </aui-stack>
48
+
49
+ <!-- Citations -->
50
+ <aui-stack direction="row" gap="2" wrap>
51
+ <aui-chip size="sm">W3C Design Tokens Spec</aui-chip>
52
+ <aui-chip size="sm">Style Dictionary Docs</aui-chip>
53
+ <aui-chip size="sm">Token Pipeline Guide</aui-chip>
54
+ </aui-stack>
55
+
56
+ <!-- Action toolbar -->
57
+ <aui-stack direction="row" gap="2" align-items="center">
58
+ <aui-copy-button density="compact"></aui-copy-button>
59
+ <aui-button ghost hide-label label="Regenerate" icon-leading="arrow-clockwise" density="compact"></aui-button>
60
+ <aui-divider orientation="vertical" style="height: 1rem;"></aui-divider>
61
+ <aui-button ghost hide-label label="Good response" icon-leading="thumbs-up" density="compact"></aui-button>
62
+ <aui-button ghost hide-label label="Bad response" icon-leading="thumbs-down" density="compact"></aui-button>
63
+ </aui-stack>
64
+
65
+ </aui-stack>
@@ -0,0 +1,41 @@
1
+ name: agent-code-result
2
+ type: block
3
+ summary: Code execution result with source, output status badge, and stdout display.
4
+ description: |
5
+ A code execution card showing source and output. Header has a solid-bg file-text icon avatar, mono filename heading with spacer, and aui-copy-button. Source aui-code block shows the executed code. A second compact header below shows a success badge, muted stdout label with spacer, and mono execution time. A second aui-code block shows the stdout result. Both code blocks drop radius inside the container automatically. Container uses max-width="lg".
6
+ components:
7
+ - aui-container
8
+ - aui-header
9
+ - aui-stack
10
+ - aui-heading
11
+ - aui-text
12
+ - aui-avatar
13
+ - aui-icon
14
+ - aui-badge
15
+ - aui-copy-button
16
+ - aui-code
17
+ kind: widget
18
+ examples:
19
+ - description: Code execution result with source, output status badge, and stdout display.
20
+ html: |-
21
+ <aui-container kind="widget" bordered max-width="lg">
22
+ <aui-code-block filename="main.py" copyable>import pandas as pd
23
+
24
+ df = pd.read_csv("data/sales.csv")
25
+ monthly = df.groupby("month")["revenue"].sum()
26
+ print(monthly.to_string())</aui-code-block>
27
+
28
+ <!-- Output section -->
29
+ <aui-header density="compact">
30
+ <aui-stack direction="row" gap="2" align-items="center">
31
+ <aui-badge success>Success</aui-badge>
32
+ <aui-text size="xs" muted spacer>stdout</aui-text>
33
+ <aui-text size="xs" muted font="mono">0.42s</aui-text>
34
+ </aui-stack>
35
+ </aui-header>
36
+ <aui-code>January 12450.00
37
+ February 15230.00
38
+ March 18920.00
39
+ April 14100.00
40
+ May 21340.00</aui-code>
41
+ </aui-container>
@@ -0,0 +1,96 @@
1
+ name: agent-context-panel
2
+ type: block
3
+ summary: Sidebar context panel with file/link items, token usage bar, and add action.
4
+ description: |
5
+ A sidebar-style panel for managing AI context. Header has title heading, muted xs text count (e.g. "4 items" — plain text, not a badge), spacer, and ghost close button in a vertically centered row stack. Content is split into Files and Links sections using aui-heading group labels. Each context item has a type-colored solid avatar, truncated file/link name (using truncate attr on heading, min-width="0" on stack), metadata, and a ghost remove button. File and link lists use gap="4" between items. Links show URL in mono font with truncate. Footer shows token usage label with spacer and mono counter, a progress bar, and a scrim add 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-icon
17
+ - aui-button
18
+ - aui-progress
19
+ - aui-divider
20
+ kind: card
21
+ examples:
22
+ - description: Sidebar context panel with file/link items, token usage bar, and add action.
23
+ html: |-
24
+ <aui-container kind="card" bordered max-width="sm" style="min-height: 24rem;">
25
+ <aui-header>
26
+ <aui-stack direction="row" gap="2" align-items="center">
27
+ <aui-heading size="md">Context</aui-heading>
28
+ <aui-text muted size="xs">4 items</aui-text>
29
+ <aui-text spacer></aui-text>
30
+ <aui-button ghost hide-label label="Close" icon-leading="x"></aui-button>
31
+ </aui-stack>
32
+ </aui-header>
33
+ <aui-content>
34
+ <aui-inset>
35
+ <aui-stack gap="4">
36
+
37
+ <aui-stack gap="4">
38
+ <aui-heading group>Files</aui-heading>
39
+ <aui-stack gap="4">
40
+ <aui-stack direction="row" gap="2" align-items="center">
41
+ <aui-avatar size="xs" accent solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
42
+ <aui-stack gap="0" spacer min-width="0">
43
+ <aui-heading size="sm" truncate>tokens.config.json</aui-heading>
44
+ <aui-text muted size="xs">2.1 KB · Added 2m ago</aui-text>
45
+ </aui-stack>
46
+ <aui-button ghost hide-label label="Remove" icon-leading="x" size="sm"></aui-button>
47
+ </aui-stack>
48
+ <aui-stack direction="row" gap="2" align-items="center">
49
+ <aui-avatar size="xs" success solid><aui-icon name="file-text" size="xs"></aui-icon></aui-avatar>
50
+ <aui-stack gap="0" spacer min-width="0">
51
+ <aui-heading size="sm" truncate>README.md</aui-heading>
52
+ <aui-text muted size="xs">4.8 KB · Added 5m ago</aui-text>
53
+ </aui-stack>
54
+ <aui-button ghost hide-label label="Remove" icon-leading="x" size="sm"></aui-button>
55
+ </aui-stack>
56
+ <aui-stack direction="row" gap="2" align-items="center">
57
+ <aui-avatar size="xs" warning solid><aui-icon name="image" size="xs"></aui-icon></aui-avatar>
58
+ <aui-stack gap="0" spacer min-width="0">
59
+ <aui-heading size="sm" truncate>architecture-diagram.png</aui-heading>
60
+ <aui-text muted size="xs">128 KB · Added 12m ago</aui-text>
61
+ </aui-stack>
62
+ <aui-button ghost hide-label label="Remove" icon-leading="x" size="sm"></aui-button>
63
+ </aui-stack>
64
+ </aui-stack>
65
+ </aui-stack>
66
+
67
+ <aui-divider></aui-divider>
68
+
69
+ <aui-stack gap="4">
70
+ <aui-heading group>Links</aui-heading>
71
+ <aui-stack gap="4">
72
+ <aui-stack direction="row" gap="2" align-items="center">
73
+ <aui-avatar size="xs" info solid><aui-icon name="globe-simple" size="xs"></aui-icon></aui-avatar>
74
+ <aui-stack gap="0" spacer min-width="0">
75
+ <aui-heading size="sm" truncate>Style Dictionary Docs</aui-heading>
76
+ <aui-text muted size="xs" font="mono" truncate>styledictionary.dev/guides</aui-text>
77
+ </aui-stack>
78
+ <aui-button ghost hide-label label="Remove" icon-leading="x" size="sm"></aui-button>
79
+ </aui-stack>
80
+ </aui-stack>
81
+ </aui-stack>
82
+
83
+ </aui-stack>
84
+ </aui-inset>
85
+ </aui-content>
86
+ <aui-footer>
87
+ <aui-stack gap="2">
88
+ <aui-stack direction="row" gap="2" align-items="center">
89
+ <aui-text size="xs" muted spacer>Token usage</aui-text>
90
+ <aui-text size="xs" muted>12.4K / 128K</aui-text>
91
+ </aui-stack>
92
+ <aui-progress value="10"></aui-progress>
93
+ <aui-button scrim width="full" icon-leading="plus" size="sm">Add file or URL</aui-button>
94
+ </aui-stack>
95
+ </aui-footer>
96
+ </aui-container>
@@ -0,0 +1,101 @@
1
+ name: agent-feedback-controls
2
+ type: block
3
+ summary: Feedback toolbar with like/dislike, copy, retry, share, and version navigation.
4
+ description: |
5
+ Three variants of a chat message action toolbar. Default shows thumbs up/down in aui-button-group inline, divider, copy/retry in aui-button-group inline, spacer, share + aui-dropdown-menu (More) in aui-button-group inline. Liked state has the thumbs-up colored with success intent. Multi-version adds prev/next navigation in aui-button-group inline with a mono counter before the feedback buttons. Copy action uses aui-copy-button; all other actions use ghost icon-only buttons with vertical dividers between groups. All button-groups use the inline attribute for tight spacing.
6
+ components:
7
+ - aui-container
8
+ - aui-inset
9
+ - aui-stack
10
+ - aui-text
11
+ - aui-button
12
+ - aui-copy-button
13
+ - aui-button-group
14
+ - aui-dropdown-menu
15
+ - aui-option
16
+ - aui-divider
17
+ kind: widget
18
+ examples:
19
+ - description: Feedback toolbar with like/dislike, copy, retry, share, and version navigation.
20
+ html: |-
21
+ <aui-stack>
22
+
23
+ <!-- Default state -->
24
+ <aui-container kind="widget" bordered>
25
+ <aui-inset>
26
+ <aui-stack direction="row" gap="2" align-items="center">
27
+ <aui-button-group inline>
28
+ <aui-button ghost hide-label label="Good response" icon-leading="thumbs-up" density="compact"></aui-button>
29
+ <aui-button ghost hide-label label="Bad response" icon-leading="thumbs-down" density="compact"></aui-button>
30
+ </aui-button-group>
31
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
32
+ <aui-button-group inline>
33
+ <aui-copy-button density="compact"></aui-copy-button>
34
+ <aui-button ghost hide-label label="Retry" icon-leading="arrow-clockwise" density="compact"></aui-button>
35
+ </aui-button-group>
36
+ <aui-text spacer></aui-text>
37
+ <aui-button-group inline>
38
+ <aui-button ghost hide-label label="Share" icon-leading="arrow-up" density="compact"></aui-button>
39
+ <aui-dropdown-menu label="More" ghost hide-label density="compact">
40
+ <aui-option value="view-source">View source</aui-option>
41
+ <aui-option value="report">Report issue</aui-option>
42
+ </aui-dropdown-menu>
43
+ </aui-button-group>
44
+ </aui-stack>
45
+ </aui-inset>
46
+ </aui-container>
47
+
48
+ <!-- Liked state -->
49
+ <aui-container kind="widget" bordered>
50
+ <aui-inset>
51
+ <aui-stack direction="row" gap="2" align-items="center">
52
+ <aui-button-group inline>
53
+ <aui-button ghost hide-label label="Good response" icon-leading="thumbs-up" density="compact" success style="color: var(--aui-solid);"></aui-button>
54
+ <aui-button ghost hide-label label="Bad response" icon-leading="thumbs-down" density="compact"></aui-button>
55
+ </aui-button-group>
56
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
57
+ <aui-button-group inline>
58
+ <aui-copy-button density="compact"></aui-copy-button>
59
+ <aui-button ghost hide-label label="Retry" icon-leading="arrow-clockwise" density="compact"></aui-button>
60
+ </aui-button-group>
61
+ <aui-text spacer></aui-text>
62
+ <aui-button-group inline>
63
+ <aui-button ghost hide-label label="Share" icon-leading="arrow-up" density="compact"></aui-button>
64
+ <aui-dropdown-menu label="More" ghost hide-label density="compact">
65
+ <aui-option value="view-source">View source</aui-option>
66
+ <aui-option value="report">Report issue</aui-option>
67
+ </aui-dropdown-menu>
68
+ </aui-button-group>
69
+ </aui-stack>
70
+ </aui-inset>
71
+ </aui-container>
72
+
73
+ <!-- Multi-version navigation -->
74
+ <aui-container kind="widget" bordered>
75
+ <aui-inset>
76
+ <aui-stack direction="row" gap="2" align-items="center">
77
+ <aui-button-group inline>
78
+ <aui-button ghost hide-label label="Previous" icon-leading="caret-left" density="compact"></aui-button>
79
+ <aui-text size="xs" muted font="mono">2 / 3</aui-text>
80
+ <aui-button ghost hide-label label="Next" icon-leading="caret-right" density="compact"></aui-button>
81
+ </aui-button-group>
82
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
83
+ <aui-button-group inline>
84
+ <aui-button ghost hide-label label="Good response" icon-leading="thumbs-up" density="compact"></aui-button>
85
+ <aui-button ghost hide-label label="Bad response" icon-leading="thumbs-down" density="compact"></aui-button>
86
+ </aui-button-group>
87
+ <aui-divider orientation="vertical" style="height: 1.25rem;"></aui-divider>
88
+ <aui-button-group inline>
89
+ <aui-copy-button density="compact"></aui-copy-button>
90
+ <aui-button ghost hide-label label="Retry" icon-leading="arrow-clockwise" density="compact"></aui-button>
91
+ </aui-button-group>
92
+ <aui-text spacer></aui-text>
93
+ <aui-dropdown-menu label="More" ghost hide-label density="compact">
94
+ <aui-option value="view-source">View source</aui-option>
95
+ <aui-option value="report">Report issue</aui-option>
96
+ </aui-dropdown-menu>
97
+ </aui-stack>
98
+ </aui-inset>
99
+ </aui-container>
100
+
101
+ </aui-stack>
@@ -0,0 +1,37 @@
1
+ name: agent-follow-up-chips
2
+ type: block
3
+ summary: Follow-up question suggestions and action chips with group label and divider.
4
+ description: |
5
+ A suggestion area below an agent response. Top section has an aui-heading group label ("Continue exploring") and wrapping outline buttons with lightbulb icons for follow-up questions. A divider separates questions from action chips (copy, save, share) using scrim buttons. Both sections use flex-wrap for responsive layout.
6
+ components:
7
+ - aui-stack
8
+ - aui-heading
9
+ - aui-button
10
+ - aui-button-group
11
+ - aui-divider
12
+ kind: widget
13
+ examples:
14
+ - description: Follow-up question suggestions and action chips with group label and divider.
15
+ html: |-
16
+ <aui-stack>
17
+
18
+ <!-- Question suggestions -->
19
+ <aui-stack gap="2">
20
+ <aui-heading group>Continue exploring</aui-heading>
21
+ <aui-stack direction="row" gap="2" wrap>
22
+ <aui-button outline size="sm" icon-leading="lightbulb">How does the token pipeline handle theme variants?</aui-button>
23
+ <aui-button outline size="sm" icon-leading="lightbulb">What are the performance implications of this approach?</aui-button>
24
+ <aui-button outline size="sm" icon-leading="lightbulb">Can you show me a test example for the store?</aui-button>
25
+ </aui-stack>
26
+ </aui-stack>
27
+
28
+ <aui-divider></aui-divider>
29
+
30
+ <!-- Action chips -->
31
+ <aui-button-group>
32
+ <aui-button scrim size="sm" icon-leading="copy">Copy response</aui-button>
33
+ <aui-button scrim size="sm" icon-leading="star">Save to notes</aui-button>
34
+ <aui-button scrim size="sm" icon-leading="arrow-up">Share</aui-button>
35
+ </aui-button-group>
36
+
37
+ </aui-stack>