@adia-ai/a2ui-corpus 0.6.22 → 0.6.24
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/CHANGELOG.md +23 -0
- package/catalog-a2ui_0_9.json +6 -1
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +2000 -133
- package/chunks/accordion-settings.json +1 -1
- package/chunks/agent-activity-feed.json +1 -1
- package/chunks/agent-canvas-shell.json +282 -1
- package/chunks/agent-command-palette-search.json +1 -1
- package/chunks/agent-reasoning-collapsed.json +1 -1
- package/chunks/agent-tool-call-result.json +1 -1
- package/chunks/agent-trace-timeline.json +1 -1
- package/chunks/ai-streaming-response.json +1 -1
- package/chunks/alert-banner.json +1 -1
- package/chunks/auth-account-deleted-actions.json +37 -1
- package/chunks/auth-account-deleted.json +152 -1
- package/chunks/auth-card-content.json +14 -1
- package/chunks/auth-card-header.json +14 -1
- package/chunks/auth-email-entry.json +1 -1
- package/chunks/auth-email-verify-confirm.json +37 -1
- package/chunks/auth-email-verify.json +141 -1
- package/chunks/auth-forbidden-actions.json +45 -1
- package/chunks/auth-forbidden.json +160 -1
- package/chunks/auth-invite-actions.json +35 -1
- package/chunks/auth-invite-team-card.json +75 -1
- package/chunks/auth-link-expired-form.json +50 -1
- package/chunks/auth-link-expired.json +163 -1
- package/chunks/auth-locked-account.json +162 -1
- package/chunks/auth-locked-recovery-options.json +47 -1
- package/chunks/auth-mfa-enrollment-submit.json +39 -1
- package/chunks/auth-mfa-enrollment.json +1 -1
- package/chunks/auth-mfa-fallback-actions.json +39 -1
- package/chunks/auth-mfa-recovery.json +48 -1
- package/chunks/auth-new-password-form.json +62 -1
- package/chunks/auth-new-password.json +1 -1
- package/chunks/auth-oauth-fallback-actions.json +38 -1
- package/chunks/auth-oauth-interstitial.json +143 -1
- package/chunks/auth-password-challenge.json +81 -1
- package/chunks/auth-password-reset-form.json +49 -1
- package/chunks/auth-password-reset.json +1 -1
- package/chunks/auth-profile-form.json +59 -1
- package/chunks/auth-profile-setup.json +162 -1
- package/chunks/auth-reset-sent.json +137 -1
- package/chunks/auth-session-expired-actions.json +38 -1
- package/chunks/auth-session-expired.json +153 -1
- package/chunks/auth-signin-card-email.json +1 -1
- package/chunks/auth-signin-card-magic-link.json +1 -1
- package/chunks/auth-signin-card-mfa.json +1 -1
- package/chunks/auth-signin-card-otp.json +1 -1
- package/chunks/auth-signin-card-password.json +1 -1
- package/chunks/auth-signin-card-recovery.json +167 -1
- package/chunks/auth-signout-actions.json +37 -1
- package/chunks/auth-signout.json +142 -1
- package/chunks/auth-signup-email-entry.json +51 -1
- package/chunks/auth-signup-entry.json +1 -1
- package/chunks/auth-signup-social-auths.json +41 -1
- package/chunks/auth-signup-verify.json +149 -1
- package/chunks/auth-social-auths.json +49 -1
- package/chunks/auth-sso-providers.json +41 -1
- package/chunks/auth-sso-required.json +160 -1
- package/chunks/auth-team-invite.json +228 -1
- package/chunks/avatar-group-overflow.json +1 -1
- package/chunks/breadcrumb-nav.json +1 -1
- package/chunks/calendar-month-view.json +1 -1
- package/chunks/card-header-with-description.json +35 -1
- package/chunks/chart-with-filter-pills.json +1 -1
- package/chunks/chat-page-shell.json +1 -1
- package/chunks/chat-streaming-surface.json +1 -1
- package/chunks/color-picker-swatches.json +1 -1
- package/chunks/command-palette.json +1 -1
- package/chunks/commerce-pricing-tiers.json +1 -1
- package/chunks/comparison-table.json +1 -1
- package/chunks/conversion-funnel-6step.json +1 -1
- package/chunks/dashboard-acquisition-panel.json +17 -39
- package/chunks/dashboard-admin-page.json +2 -2
- package/chunks/dashboard-audience-kpis.json +153 -3
- package/chunks/dashboard-audience-panel.json +4 -8
- package/chunks/dashboard-behavior-panel.json +1 -1
- package/chunks/dashboard-chart-recent.json +7 -5
- package/chunks/dashboard-cohort-retention.json +72 -1
- package/chunks/dashboard-conversion-panel.json +1 -1
- package/chunks/dashboard-country-list.json +292 -1
- package/chunks/dashboard-filter-bar.json +1 -1
- package/chunks/dashboard-funnel.json +1 -1
- package/chunks/dashboard-kpi-grid.json +7 -9
- package/chunks/dashboard-notifications-feed.json +421 -2
- package/chunks/dashboard-notifications-panel.json +3 -2
- package/chunks/dashboard-overview-panel.json +12 -15
- package/chunks/dashboard-page-header.json +1 -1
- package/chunks/dashboard-pages-table.json +75 -1
- package/chunks/dashboard-quick-actions.json +105 -1
- package/chunks/dashboard-reports-panel.json +3 -2
- package/chunks/dashboard-reports-table.json +82 -2
- package/chunks/dashboard-spark-cards.json +7 -5
- package/chunks/dashboard-storage-card.json +93 -1
- package/chunks/dashboard-tabs.json +1 -1
- package/chunks/dashboard-team-actions-storage.json +7 -5
- package/chunks/dashboard-team-list.json +322 -1
- package/chunks/dashboard-traffic-channels.json +136 -3
- package/chunks/dashboard-transactions-table.json +4 -3
- package/chunks/date-time-picker-form.json +1 -1
- package/chunks/destructive-confirm-modal.json +1 -1
- package/chunks/divider-text-label.json +1 -1
- package/chunks/doc-editor-shell.json +334 -1
- package/chunks/drawer-2fa-key.json +250 -2
- package/chunks/drawer-2fa-sms.json +234 -2
- package/chunks/drawer-2fa-totp.json +346 -2
- package/chunks/drawer-cancel-sub.json +325 -2
- package/chunks/drawer-change-plan.json +468 -2
- package/chunks/drawer-custom-roles.json +667 -2
- package/chunks/drawer-data-start.json +139 -2
- package/chunks/drawer-delete-account.json +309 -2
- package/chunks/drawer-delete-workspace.json +323 -2
- package/chunks/drawer-discord.json +429 -2
- package/chunks/drawer-figma.json +390 -2
- package/chunks/drawer-first-dashboard.json +206 -2
- package/chunks/drawer-gcal.json +452 -2
- package/chunks/drawer-github.json +557 -2
- package/chunks/drawer-invite.json +355 -2
- package/chunks/drawer-payment-method.json +4 -3
- package/chunks/drawer-report.json +556 -2
- package/chunks/drawer-revoke-session.json +271 -2
- package/chunks/drawer-role.json +158 -2
- package/chunks/drawer-slack.json +408 -2
- package/chunks/drawer-smtp.json +456 -2
- package/chunks/drawer-source.json +273 -2
- package/chunks/drawer-transaction.json +452 -2
- package/chunks/editor-code-pane.json +1 -1
- package/chunks/editor-page-shell.json +127 -1
- package/chunks/editor-preview-pane.json +1 -1
- package/chunks/empty-state-danger.json +57 -0
- package/chunks/empty-state-minimal.json +44 -0
- package/chunks/empty-state-warning.json +52 -0
- package/chunks/empty-state.json +1 -1
- package/chunks/error-404-actions.json +40 -1
- package/chunks/error-404.json +1 -1
- package/chunks/error-500-actions.json +47 -1
- package/chunks/error-500.json +1 -1
- package/chunks/error-maintenance-actions.json +39 -1
- package/chunks/error-maintenance.json +1 -1
- package/chunks/error-page-shell.json +1 -1
- package/chunks/faq-accordion.json +1 -1
- package/chunks/file-upload-dnd.json +1 -1
- package/chunks/footer-multi-column.json +1 -1
- package/chunks/footer-primary-only.json +30 -1
- package/chunks/form-page-shell.json +1 -1
- package/chunks/gallery-page-shell.json +1 -1
- package/chunks/hero-section-split.json +1 -1
- package/chunks/icon-text-row.json +45 -1
- package/chunks/image-carousel.json +1 -1
- package/chunks/image-tile.json +78 -1
- package/chunks/image-upload-preview.json +1 -1
- package/chunks/inventory-list-stock.json +1 -1
- package/chunks/kanban-board-3col.json +2 -10
- package/chunks/kanban-page-shell.json +1 -1
- package/chunks/kbd-shortcuts.json +1 -1
- package/chunks/labeled-textarea.json +1 -1
- package/chunks/leaderboard-table.json +1 -1
- package/chunks/linked-record-row.json +1 -1
- package/chunks/marketing-hero-cta.json +1 -1
- package/chunks/marketing-page-shell.json +1 -1
- package/chunks/masonry-gallery.json +1 -1
- package/chunks/member-edit-drawer.json +251 -1
- package/chunks/metadata-description-list.json +95 -1
- package/chunks/multi-step-wizard.json +1 -1
- package/chunks/notification-toast-row.json +1 -1
- package/chunks/onb-completion.json +104 -1
- package/chunks/onb-extension-install.json +114 -1
- package/chunks/onb-hero-welcome.json +53 -1
- package/chunks/onb-import-picker.json +73 -1
- package/chunks/onb-mobile-handoff.json +108 -1
- package/chunks/onb-notification-prefs.json +68 -1
- package/chunks/onb-persona-picker.json +69 -1
- package/chunks/onb-provider-tiles.json +114 -1
- package/chunks/onb-settings-review.json +234 -1
- package/chunks/onb-step-footer.json +14 -1
- package/chunks/onb-step-header.json +14 -1
- package/chunks/onb-step-progress.json +13 -1
- package/chunks/onb-step-shell.json +1 -1
- package/chunks/onb-story-pane.json +14 -1
- package/chunks/onb-tutorial-steps.json +180 -1
- package/chunks/pagination-controls.json +1 -1
- package/chunks/playground-a2ui.json +169 -1
- package/chunks/playground-app-shell.json +422 -2
- package/chunks/playground-chat.json +85 -2
- package/chunks/playground-construct-canvas.json +107 -1
- package/chunks/playground-gen-ui.json +200 -1
- package/chunks/playground-render-preview.json +287 -1
- package/chunks/playground-streams-bridge.json +353 -1
- package/chunks/playground-table-toolbar.json +20 -1
- package/chunks/popover-with-content.json +1 -1
- package/chunks/progress-tracker-milestones.json +1 -1
- package/chunks/real-time-metrics-dashboard.json +3 -2
- package/chunks/reg-address-form.json +1 -1
- package/chunks/reg-billing-card.json +1 -1
- package/chunks/reg-brand-scrape.json +324 -1
- package/chunks/reg-departments-toggle.json +246 -2
- package/chunks/reg-extended-profile.json +405 -1
- package/chunks/reg-final-done.json +358 -2
- package/chunks/reg-helpdesk-grid.json +420 -2
- package/chunks/reg-import-picker.json +116 -1
- package/chunks/reg-integrations-grid.json +280 -2
- package/chunks/reg-invite-form.json +1 -1
- package/chunks/reg-legal-entity.json +313 -1
- package/chunks/reg-org-chart-review.json +501 -1
- package/chunks/reg-profile-identity.json +166 -1
- package/chunks/reg-step-footer.json +14 -1
- package/chunks/reg-step-header.json +13 -1
- package/chunks/reg-step-progress.json +13 -1
- package/chunks/reg-step-shell.json +2 -2
- package/chunks/reg-story-pane.json +14 -1
- package/chunks/reg-success-summary.json +157 -1
- package/chunks/reg-team-size.json +142 -1
- package/chunks/reg-usecase-picker.json +89 -1
- package/chunks/reg-workspace-name.json +1 -1
- package/chunks/responsive-grid-pattern.json +71 -0
- package/chunks/responsive-kpi-grid.json +166 -0
- package/chunks/responsive-row-pattern.json +71 -0
- package/chunks/responsive-wrap-at-pattern.json +76 -0
- package/chunks/search-with-filters.json +1 -1
- package/chunks/section-with-stack.json +37 -1
- package/chunks/settings-admin-page.json +5 -8
- package/chunks/settings-appearance.json +1 -1
- package/chunks/settings-billing-plan.json +95 -2
- package/chunks/settings-general-form.json +1 -1
- package/chunks/settings-integrations.json +8 -8
- package/chunks/settings-members-invite.json +106 -1
- package/chunks/settings-notifications.json +1 -1
- package/chunks/settings-page-shell.json +1 -1
- package/chunks/settings-profile-security.json +1 -1
- package/chunks/sidebar-collapsible-nav.json +1 -1
- package/chunks/slider-range-controls.json +1 -1
- package/chunks/tabs-with-panels.json +1 -1
- package/chunks/testimonial-grid.json +1 -1
- package/chunks/text-card.json +44 -5
- package/chunks/timeline-events.json +1 -1
- package/chunks/toolbar-icons.json +1 -1
- package/chunks/toolbar-tooltips.json +1 -1
- package/chunks/user-identity-row.json +66 -1
- package/chunks/user-profile-card.json +1 -1
- package/chunks/users-table-badge.json +1 -1
- package/chunks/video-player-controls.json +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,90 @@
|
|
|
9
9
|
"proxy-url": "/api/chat",
|
|
10
10
|
"model": "claude-haiku-4-5-20251001"
|
|
11
11
|
},
|
|
12
|
-
"html": "<chat-shell id=\"chat\" proxy-url=\"/api/chat\" model=\"claude-haiku-4-5-20251001\" style=\"flex: 1; border: none; border-radius: 0\">\n <chat-header>\n <span slot=\"name\">Factory Chat</span>\n <chat-status slot=\"status\"></chat-status>\n <span slot=\"action\" style=\"display: flex; align-items: center; gap: var(--a-space-1)\">\n <button-ui id=\"theme-toggle\" icon=\"moon\" variant=\"ghost\" size=\"sm\"></button-ui>\n <popover-ui id=\"theme-popover\" placement=\"bottom-end\">\n <button-ui icon=\"gear\" variant=\"ghost\" size=\"sm\" slot=\"trigger\"></button-ui>\n <div slot=\"content\" style=\"padding: var(--a-space-3); display: flex; flex-direction: column; gap: var(--a-space-3); min-width: 240px\">\n <text-ui variant=\"label\">Theme</text-ui>\n <div style=\"display: flex; gap: var(--a-space-1); flex-wrap: wrap\">\n <button-ui id=\"theme-default\" text=\"Default\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-ocean\" text=\"Ocean\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-forest\" text=\"Forest\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-sunset\" text=\"Sunset\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-lavender\" text=\"Lavender\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-rose\" text=\"Rose\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-slate\" text=\"Slate\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-midnight\" text=\"Midnight\" variant=\"outline\" size=\"sm\"></button-ui>\n </div>\n <divider-ui></divider-ui>\n <text-ui variant=\"label\">Parametric</text-ui>\n <field-ui label=\"Density\">\n <slider-ui id=\"param-density\" value=\"1\" min=\"0.5\" max=\"1.5\" step=\"0.05\" suffix=\"×\"></slider-ui>\n </field-ui>\n <field-ui label=\"Radius\">\n <slider-ui id=\"param-radius\" value=\"1\" min=\"0\" max=\"2\" step=\"0.1\" suffix=\"×\"></slider-ui>\n </field-ui>\n </div>\n </popover-ui>\n </span>\n </chat-header>\n <chat-thread>\n <chat-empty>\n <empty-state-ui\n icon=\"chat-circle\"\n heading=\"AdiaUI Chat\"\n description=\"Type a message to start a conversation. Connects to LLM model via proxy if available.\">\n </empty-state-ui>\n </chat-empty>\n </chat-thread>\n <chat-composer>\n <chat-input-ui placeholder=\"Message Claude...\"></chat-input-ui>\n </chat-composer>\n</chat-shell>",
|
|
12
|
+
"html": "<chat-shell id=\"chat\" proxy-url=\"/api/chat\" model=\"claude-haiku-4-5-20251001\" style=\"flex: 1; border: none; border-radius: 0\">\n <chat-header>\n <span slot=\"name\">Factory Chat</span>\n <chat-status slot=\"status\"></chat-status>\n <span slot=\"action\" size=\"sm\" style=\"display: flex; align-items: center; gap: var(--a-space-1)\">\n <button-ui id=\"theme-toggle\" icon=\"moon\" variant=\"ghost\" size=\"sm\"></button-ui>\n <popover-ui id=\"theme-popover\" placement=\"bottom-end\">\n <button-ui icon=\"gear\" variant=\"ghost\" size=\"sm\" slot=\"trigger\"></button-ui>\n <div slot=\"content\" style=\"padding: var(--a-space-3); display: flex; flex-direction: column; gap: var(--a-space-3); min-width: 240px\">\n <text-ui variant=\"label\">Theme</text-ui>\n <div style=\"display: flex; gap: var(--a-space-1); flex-wrap: wrap\">\n <button-ui id=\"theme-default\" text=\"Default\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-ocean\" text=\"Ocean\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-forest\" text=\"Forest\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-sunset\" text=\"Sunset\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-lavender\" text=\"Lavender\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-rose\" text=\"Rose\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-slate\" text=\"Slate\" variant=\"outline\" size=\"sm\"></button-ui>\n <button-ui id=\"theme-midnight\" text=\"Midnight\" variant=\"outline\" size=\"sm\"></button-ui>\n </div>\n <divider-ui></divider-ui>\n <text-ui variant=\"label\">Parametric</text-ui>\n <field-ui label=\"Density\">\n <slider-ui id=\"param-density\" value=\"1\" min=\"0.5\" max=\"1.5\" step=\"0.05\" suffix=\"×\"></slider-ui>\n </field-ui>\n <field-ui label=\"Radius\">\n <slider-ui id=\"param-radius\" value=\"1\" min=\"0\" max=\"2\" step=\"0.1\" suffix=\"×\"></slider-ui>\n </field-ui>\n </div>\n </popover-ui>\n </span>\n </chat-header>\n <chat-thread>\n <chat-empty>\n <empty-state-ui\n icon=\"chat-circle\"\n heading=\"AdiaUI Chat\"\n description=\"Type a message to start a conversation. Connects to LLM model via proxy if available.\">\n </empty-state-ui>\n </chat-empty>\n </chat-thread>\n <chat-composer>\n <chat-input-ui placeholder=\"Message Claude...\"></chat-input-ui>\n </chat-composer>\n</chat-shell>",
|
|
13
13
|
"source": "playgrounds/chat/app/chat.contents.html",
|
|
14
|
-
"
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "agent",
|
|
16
|
+
"description": "Chat playground — full chat thread interface with composer and streaming response.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"playground",
|
|
19
|
+
"chat",
|
|
20
|
+
"thread",
|
|
21
|
+
"streaming",
|
|
22
|
+
"composer",
|
|
23
|
+
"agent"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"captured_at": "2026-05-22T22:31:46.761Z",
|
|
27
|
+
"template": [
|
|
28
|
+
{
|
|
29
|
+
"id": "text",
|
|
30
|
+
"component": "Text",
|
|
31
|
+
"variant": "body",
|
|
32
|
+
"textContent": "Factory Chat"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "chat-status",
|
|
36
|
+
"component": "ChatStatus"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "text-2",
|
|
40
|
+
"component": "Text",
|
|
41
|
+
"variant": "body",
|
|
42
|
+
"size": "sm",
|
|
43
|
+
"textContent": "Theme Parametric"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "chat-header",
|
|
47
|
+
"component": "ChatHeader",
|
|
48
|
+
"children": [
|
|
49
|
+
"text",
|
|
50
|
+
"chat-status",
|
|
51
|
+
"text-2"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "empty-state",
|
|
56
|
+
"component": "EmptyState",
|
|
57
|
+
"description": "Type a message to start a conversation. Connects to LLM model via proxy if available.",
|
|
58
|
+
"heading": "AdiaUI Chat",
|
|
59
|
+
"icon": "chat-circle"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "chat-empty",
|
|
63
|
+
"component": "ChatEmpty",
|
|
64
|
+
"children": [
|
|
65
|
+
"empty-state"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "chat-thread",
|
|
70
|
+
"component": "ChatThread",
|
|
71
|
+
"children": [
|
|
72
|
+
"chat-empty"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "chat-input",
|
|
77
|
+
"component": "ChatInput",
|
|
78
|
+
"placeholder": "Message Claude..."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "chat-composer",
|
|
82
|
+
"component": "ChatComposer",
|
|
83
|
+
"children": [
|
|
84
|
+
"chat-input"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "root",
|
|
89
|
+
"component": "ChatShell",
|
|
90
|
+
"model": "claude-haiku-4-5-20251001",
|
|
91
|
+
"children": [
|
|
92
|
+
"chat-header",
|
|
93
|
+
"chat-thread",
|
|
94
|
+
"chat-composer"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
15
98
|
}
|
|
@@ -8,5 +8,111 @@
|
|
|
8
8
|
"attrs": {},
|
|
9
9
|
"html": "<editor-canvas>\n <div id=\"canvas-host\" role=\"application\" aria-label=\"Construct canvas — drag, zoom, and connect cards\" tabindex=\"0\">\n <!-- canvas-projection mounts a #cc-pan-frame > <noodles-ui> in here -->\n </div>\n <!-- Floating zoom + pan controls (graph-editor convention: bottom-right).\n toolbar-ui owns the flex/border/bg/role chrome; the .cc-zoom-controls\n class only adds floating positioning + backdrop-blur on top. -->\n <toolbar-ui class=\"cc-zoom-controls\" bordered aria-label=\"Canvas zoom\">\n <button-ui\n id=\"zoom-out\"\n icon=\"minus\"\n variant=\"ghost\"\n size=\"sm\"\n aria-label=\"Zoom out\"\n title=\"Zoom out (-)\"\n data-hotkey=\"-\"\n data-hotkey-global\n ></button-ui>\n <span id=\"zoom-label\" aria-live=\"polite\">100%</span>\n <button-ui id=\"zoom-in\" icon=\"plus\" variant=\"ghost\" size=\"sm\" aria-label=\"Zoom in\" title=\"Zoom in (+)\"></button-ui>\n <divider-ui vertical style=\"height: 16px\"></divider-ui>\n <button-ui\n id=\"zoom-fit\"\n icon=\"frame-corners\"\n variant=\"ghost\"\n size=\"sm\"\n aria-label=\"Fit to content\"\n title=\"Fit to content (1)\"\n data-hotkey=\"1\"\n data-hotkey-global\n ></button-ui>\n <button-ui\n id=\"zoom-reset\"\n icon=\"circle\"\n variant=\"ghost\"\n size=\"sm\"\n aria-label=\"Reset to 100%\"\n title=\"Reset to 100% (0)\"\n data-hotkey=\"0\"\n data-hotkey-global\n ></button-ui>\n <divider-ui vertical style=\"height: 16px\"></divider-ui>\n <button-ui\n id=\"auto-arrange-btn\"\n icon=\"layout\"\n variant=\"ghost\"\n size=\"sm\"\n aria-label=\"Auto-arrange\"\n title=\"Auto-arrange (L)\"\n data-hotkey=\"l\"\n data-hotkey-global\n ></button-ui>\n </toolbar-ui>\n </editor-canvas>",
|
|
10
10
|
"source": "apps/construct-canvas/app/construct-canvas.contents.html",
|
|
11
|
-
"
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "agent",
|
|
13
|
+
"description": "Construct canvas playground — visual agent canvas editor with inspector panel.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"playground",
|
|
16
|
+
"canvas",
|
|
17
|
+
"construct",
|
|
18
|
+
"agent",
|
|
19
|
+
"inspector",
|
|
20
|
+
"visual",
|
|
21
|
+
"editor"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"captured_at": "2026-05-22T22:31:46.761Z",
|
|
25
|
+
"template": [
|
|
26
|
+
{
|
|
27
|
+
"id": "canvas-host",
|
|
28
|
+
"component": "Column"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "zoom-out",
|
|
32
|
+
"component": "Button",
|
|
33
|
+
"aria-label": "Zoom out",
|
|
34
|
+
"icon": "minus",
|
|
35
|
+
"size": "sm",
|
|
36
|
+
"variant": "ghost",
|
|
37
|
+
"data-hotkey": "-",
|
|
38
|
+
"data-hotkey-global": ""
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "zoom-label",
|
|
42
|
+
"component": "Text",
|
|
43
|
+
"variant": "body",
|
|
44
|
+
"textContent": "100%"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "zoom-in",
|
|
48
|
+
"component": "Button",
|
|
49
|
+
"aria-label": "Zoom in",
|
|
50
|
+
"icon": "plus",
|
|
51
|
+
"size": "sm",
|
|
52
|
+
"variant": "ghost"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "divider",
|
|
56
|
+
"component": "Divider",
|
|
57
|
+
"vertical": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "zoom-fit",
|
|
61
|
+
"component": "Button",
|
|
62
|
+
"aria-label": "Fit to content",
|
|
63
|
+
"icon": "frame-corners",
|
|
64
|
+
"size": "sm",
|
|
65
|
+
"variant": "ghost",
|
|
66
|
+
"data-hotkey": "1",
|
|
67
|
+
"data-hotkey-global": ""
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "zoom-reset",
|
|
71
|
+
"component": "Button",
|
|
72
|
+
"aria-label": "Reset to 100%",
|
|
73
|
+
"icon": "circle",
|
|
74
|
+
"size": "sm",
|
|
75
|
+
"variant": "ghost",
|
|
76
|
+
"data-hotkey": "0",
|
|
77
|
+
"data-hotkey-global": ""
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "divider-2",
|
|
81
|
+
"component": "Divider",
|
|
82
|
+
"vertical": true
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "auto-arrange-btn",
|
|
86
|
+
"component": "Button",
|
|
87
|
+
"aria-label": "Auto-arrange",
|
|
88
|
+
"icon": "layout",
|
|
89
|
+
"size": "sm",
|
|
90
|
+
"variant": "ghost",
|
|
91
|
+
"data-hotkey": "l",
|
|
92
|
+
"data-hotkey-global": ""
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "canvas-zoom",
|
|
96
|
+
"component": "Toolbar",
|
|
97
|
+
"bordered": true,
|
|
98
|
+
"children": [
|
|
99
|
+
"zoom-out",
|
|
100
|
+
"zoom-label",
|
|
101
|
+
"zoom-in",
|
|
102
|
+
"divider",
|
|
103
|
+
"zoom-fit",
|
|
104
|
+
"zoom-reset",
|
|
105
|
+
"divider-2",
|
|
106
|
+
"auto-arrange-btn"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "root",
|
|
111
|
+
"component": "EditorCanvas",
|
|
112
|
+
"children": [
|
|
113
|
+
"canvas-host",
|
|
114
|
+
"canvas-zoom"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
]
|
|
12
118
|
}
|
|
@@ -10,5 +10,204 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div id=\"gen-ui-shell\" data-view=\"chat\">\n <!-- Chat pane (resizable via pane-ui) -->\n <pane-ui id=\"chat-pane\" resizable min-width=\"280\">\n <section>\n <chat-shell id=\"gen-chat\">\n <chat-thread>\n <chat-empty>\n <empty-state-ui icon=\"magic-wand\" heading=\"AdiaUI Generator\" description=\"Describe a UI and watch it render live.\">\n </empty-state-ui>\n </chat-empty>\n </chat-thread>\n <chat-composer>\n <chat-input-ui placeholder=\"Describe a UI...\"></chat-input-ui>\n </chat-composer>\n </chat-shell>\n </section>\n </pane-ui>\n\n <!-- Canvas panel (plain div — no collapse behavior) -->\n <div id=\"canvas-panel\">\n <div id=\"canvas-toolbar\">\n <row-ui gap=\"2\" align=\"center\">\n <button-ui id=\"btn-toggle-view\" text=\"Chat\" variant=\"ghost\" size=\"sm\" icon=\"chat-circle\"></button-ui>\n <icon-ui name=\"layout\" color=\"muted\"></icon-ui>\n <text-ui strong>Canvas</text-ui>\n <badge-ui id=\"validation-badge\" text=\"\" variant=\"default\" size=\"sm\" hidden></badge-ui>\n </row-ui>\n <row-ui gap=\"1\">\n <button-ui id=\"btn-back\" variant=\"ghost\" size=\"sm\" icon=\"arrow-left\" disabled></button-ui>\n <button-ui id=\"btn-forward\" variant=\"ghost\" size=\"sm\" icon=\"arrow-right\" disabled></button-ui>\n <button-ui id=\"btn-clear\" variant=\"ghost\" size=\"sm\" icon=\"trash\"></button-ui>\n <button-ui id=\"btn-code\" variant=\"ghost\" size=\"sm\" icon=\"code\"></button-ui>\n </row-ui>\n </div>\n <section>\n <canvas-ui id=\"canvas\"></canvas-ui>\n </section>\n <footer id=\"code-panel\" hidden>\n <code-ui id=\"code-view\" language=\"json\" style=\"font-size: var(--a-ui-sm)\"></code-ui>\n </footer>\n </div>\n </div>",
|
|
12
12
|
"source": "apps/genui/app/gen-ui/gen-ui.contents.html",
|
|
13
|
-
"
|
|
13
|
+
"metadata": {
|
|
14
|
+
"domain": "layout",
|
|
15
|
+
"description": "Gen-UI playground — A2UI generation interface with prompt input and output preview.",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"playground",
|
|
18
|
+
"gen",
|
|
19
|
+
"ui",
|
|
20
|
+
"a2ui",
|
|
21
|
+
"generate",
|
|
22
|
+
"prompt",
|
|
23
|
+
"output",
|
|
24
|
+
"preview"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"captured_at": "2026-05-22T22:31:46.761Z",
|
|
28
|
+
"template": [
|
|
29
|
+
{
|
|
30
|
+
"id": "empty-state",
|
|
31
|
+
"component": "EmptyState",
|
|
32
|
+
"description": "Describe a UI and watch it render live.",
|
|
33
|
+
"heading": "AdiaUI Generator",
|
|
34
|
+
"icon": "magic-wand"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "chat-empty",
|
|
38
|
+
"component": "ChatEmpty",
|
|
39
|
+
"children": [
|
|
40
|
+
"empty-state"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "chat-thread",
|
|
45
|
+
"component": "ChatThread",
|
|
46
|
+
"children": [
|
|
47
|
+
"chat-empty"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "chat-input",
|
|
52
|
+
"component": "ChatInput",
|
|
53
|
+
"placeholder": "Describe a UI..."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "chat-composer",
|
|
57
|
+
"component": "ChatComposer",
|
|
58
|
+
"children": [
|
|
59
|
+
"chat-input"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "gen-chat",
|
|
64
|
+
"component": "ChatShell",
|
|
65
|
+
"children": [
|
|
66
|
+
"chat-thread",
|
|
67
|
+
"chat-composer"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "section",
|
|
72
|
+
"component": "Section",
|
|
73
|
+
"children": [
|
|
74
|
+
"gen-chat"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "chat-pane",
|
|
79
|
+
"component": "Panel",
|
|
80
|
+
"resizable": true,
|
|
81
|
+
"children": [
|
|
82
|
+
"section"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "btn-toggle-view",
|
|
87
|
+
"component": "Button",
|
|
88
|
+
"icon": "chat-circle",
|
|
89
|
+
"size": "sm",
|
|
90
|
+
"text": "Chat",
|
|
91
|
+
"variant": "ghost"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "layout",
|
|
95
|
+
"component": "Icon",
|
|
96
|
+
"name": "layout"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "text",
|
|
100
|
+
"component": "Text",
|
|
101
|
+
"strong": true,
|
|
102
|
+
"textContent": "Canvas"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "validation-badge",
|
|
106
|
+
"component": "Badge",
|
|
107
|
+
"size": "sm",
|
|
108
|
+
"variant": "default"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "row",
|
|
112
|
+
"component": "Row",
|
|
113
|
+
"align": "center",
|
|
114
|
+
"gap": "2",
|
|
115
|
+
"children": [
|
|
116
|
+
"btn-toggle-view",
|
|
117
|
+
"layout",
|
|
118
|
+
"text",
|
|
119
|
+
"validation-badge"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "btn-back",
|
|
124
|
+
"component": "Button",
|
|
125
|
+
"disabled": true,
|
|
126
|
+
"icon": "arrow-left",
|
|
127
|
+
"size": "sm",
|
|
128
|
+
"variant": "ghost"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "btn-forward",
|
|
132
|
+
"component": "Button",
|
|
133
|
+
"disabled": true,
|
|
134
|
+
"icon": "arrow-right",
|
|
135
|
+
"size": "sm",
|
|
136
|
+
"variant": "ghost"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "btn-clear",
|
|
140
|
+
"component": "Button",
|
|
141
|
+
"icon": "trash",
|
|
142
|
+
"size": "sm",
|
|
143
|
+
"variant": "ghost"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "btn-code",
|
|
147
|
+
"component": "Button",
|
|
148
|
+
"icon": "code",
|
|
149
|
+
"size": "sm",
|
|
150
|
+
"variant": "ghost"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "row-2",
|
|
154
|
+
"component": "Row",
|
|
155
|
+
"gap": "1",
|
|
156
|
+
"children": [
|
|
157
|
+
"btn-back",
|
|
158
|
+
"btn-forward",
|
|
159
|
+
"btn-clear",
|
|
160
|
+
"btn-code"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "canvas-toolbar",
|
|
165
|
+
"component": "Column",
|
|
166
|
+
"children": [
|
|
167
|
+
"row",
|
|
168
|
+
"row-2"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "canvas",
|
|
173
|
+
"component": "Column"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "section-2",
|
|
177
|
+
"component": "Section",
|
|
178
|
+
"children": [
|
|
179
|
+
"canvas"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "code-view",
|
|
184
|
+
"component": "Code",
|
|
185
|
+
"language": "json"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "code-panel",
|
|
189
|
+
"component": "Footer",
|
|
190
|
+
"children": [
|
|
191
|
+
"code-view"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "canvas-panel",
|
|
196
|
+
"component": "Column",
|
|
197
|
+
"children": [
|
|
198
|
+
"canvas-toolbar",
|
|
199
|
+
"section-2",
|
|
200
|
+
"code-panel"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "root",
|
|
205
|
+
"component": "Column",
|
|
206
|
+
"data-view": "chat",
|
|
207
|
+
"children": [
|
|
208
|
+
"chat-pane",
|
|
209
|
+
"canvas-panel"
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
]
|
|
14
213
|
}
|