@adia-ai/a2ui-corpus 0.3.2 → 0.3.3
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 +72 -0
- package/README.md +64 -0
- package/catalog-a2ui_0_9.json +2 -29
- package/chunks/_index.json +5 -5
- package/chunks/agent-activity-feed.json +1 -1
- package/chunks/agent-reasoning-collapsed.json +1 -1
- package/chunks/auth-account-deleted-actions.json +1 -1
- package/chunks/auth-account-deleted.json +1 -1
- package/chunks/auth-card-content.json +1 -1
- package/chunks/auth-card-header.json +1 -1
- package/chunks/auth-email-entry.json +1 -1
- package/chunks/auth-email-verify-confirm.json +1 -1
- package/chunks/auth-email-verify.json +1 -1
- package/chunks/auth-forbidden-actions.json +1 -1
- package/chunks/auth-forbidden.json +1 -1
- package/chunks/auth-invite-actions.json +1 -1
- package/chunks/auth-invite-team-card.json +1 -1
- package/chunks/auth-link-expired-form.json +1 -1
- package/chunks/auth-link-expired.json +1 -1
- package/chunks/auth-locked-account.json +1 -1
- package/chunks/auth-locked-recovery-options.json +1 -1
- package/chunks/auth-mfa-enrollment-submit.json +1 -1
- package/chunks/auth-mfa-enrollment.json +1 -1
- package/chunks/auth-mfa-fallback-actions.json +1 -1
- package/chunks/auth-mfa-recovery.json +1 -1
- package/chunks/auth-new-password-form.json +1 -1
- package/chunks/auth-new-password.json +1 -1
- package/chunks/auth-oauth-fallback-actions.json +1 -1
- package/chunks/auth-oauth-interstitial.json +1 -1
- package/chunks/auth-password-challenge.json +1 -1
- package/chunks/auth-password-reset-form.json +1 -1
- package/chunks/auth-password-reset.json +1 -1
- package/chunks/auth-profile-form.json +1 -1
- package/chunks/auth-profile-setup.json +1 -1
- package/chunks/auth-reset-sent.json +1 -1
- package/chunks/auth-session-expired-actions.json +1 -1
- package/chunks/auth-session-expired.json +1 -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 +1 -1
- package/chunks/auth-signout-actions.json +1 -1
- package/chunks/auth-signout.json +1 -1
- package/chunks/auth-signup-email-entry.json +1 -1
- package/chunks/auth-signup-entry.json +1 -1
- package/chunks/auth-signup-social-auths.json +1 -1
- package/chunks/auth-signup-verify.json +1 -1
- package/chunks/auth-social-auths.json +1 -1
- package/chunks/auth-sso-providers.json +1 -1
- package/chunks/auth-sso-required.json +1 -1
- package/chunks/auth-team-invite.json +1 -1
- package/chunks/chat-streaming-surface.json +1 -1
- package/chunks/{command-palette-grouped.json → command-palette.json} +2 -2
- package/chunks/commerce-pricing-tiers.json +1 -1
- package/chunks/conversion-funnel-6step.json +1 -1
- package/chunks/dashboard-acquisition-panel.json +1 -1
- package/chunks/dashboard-admin-page.json +2 -2
- package/chunks/dashboard-audience-kpis.json +1 -1
- package/chunks/dashboard-audience-panel.json +1 -1
- package/chunks/dashboard-behavior-panel.json +1 -1
- package/chunks/dashboard-chart-recent.json +1 -1
- package/chunks/dashboard-cohort-retention.json +1 -1
- package/chunks/dashboard-conversion-panel.json +1 -1
- package/chunks/dashboard-country-list.json +1 -1
- package/chunks/dashboard-filter-bar.json +1 -1
- package/chunks/dashboard-funnel.json +1 -1
- package/chunks/dashboard-kpi-grid.json +1 -1
- package/chunks/dashboard-notifications-feed.json +1 -1
- package/chunks/dashboard-notifications-panel.json +1 -1
- package/chunks/dashboard-overview-panel.json +1 -1
- package/chunks/dashboard-page-header.json +1 -1
- package/chunks/dashboard-pages-table.json +1 -1
- package/chunks/dashboard-quick-actions.json +1 -1
- package/chunks/dashboard-reports-panel.json +1 -1
- package/chunks/dashboard-reports-table.json +1 -1
- package/chunks/dashboard-spark-cards.json +1 -1
- package/chunks/dashboard-storage-card.json +1 -1
- package/chunks/dashboard-tabs.json +1 -1
- package/chunks/dashboard-team-actions-storage.json +1 -1
- package/chunks/dashboard-team-list.json +1 -1
- package/chunks/dashboard-traffic-channels.json +1 -1
- package/chunks/dashboard-transactions-table.json +1 -1
- package/chunks/destructive-confirm-modal.json +1 -1
- package/chunks/drawer-2fa-key.json +1 -1
- package/chunks/drawer-2fa-sms.json +1 -1
- package/chunks/drawer-2fa-totp.json +1 -1
- package/chunks/drawer-cancel-sub.json +1 -1
- package/chunks/drawer-change-plan.json +1 -1
- package/chunks/drawer-custom-roles.json +1 -1
- package/chunks/drawer-data-start.json +1 -1
- package/chunks/drawer-delete-account.json +1 -1
- package/chunks/drawer-delete-workspace.json +1 -1
- package/chunks/drawer-discord.json +1 -1
- package/chunks/drawer-figma.json +1 -1
- package/chunks/drawer-first-dashboard.json +1 -1
- package/chunks/drawer-gcal.json +1 -1
- package/chunks/drawer-github.json +1 -1
- package/chunks/drawer-invite.json +1 -1
- package/chunks/drawer-payment-method.json +1 -1
- package/chunks/drawer-report.json +1 -1
- package/chunks/drawer-revoke-session.json +1 -1
- package/chunks/drawer-role.json +1 -1
- package/chunks/drawer-slack.json +1 -1
- package/chunks/drawer-smtp.json +1 -1
- package/chunks/drawer-source.json +1 -1
- package/chunks/drawer-transaction.json +1 -1
- package/chunks/editor-code-pane.json +1 -1
- package/chunks/editor-page-shell.json +1 -1
- package/chunks/editor-preview-pane.json +1 -1
- package/chunks/error-404-actions.json +1 -1
- package/chunks/error-404.json +1 -1
- package/chunks/error-500-actions.json +1 -1
- package/chunks/error-500.json +1 -1
- package/chunks/error-maintenance-actions.json +1 -1
- package/chunks/error-maintenance.json +1 -1
- package/chunks/error-page-shell.json +1 -1
- package/chunks/form-page-shell.json +4 -4
- package/chunks/kanban-board-3col.json +1 -1
- package/chunks/marketing-hero-cta.json +1 -1
- package/chunks/marketing-page-shell.json +1 -1
- package/chunks/member-edit-drawer.json +1 -1
- package/chunks/onb-completion.json +1 -1
- package/chunks/onb-extension-install.json +1 -1
- package/chunks/onb-hero-welcome.json +1 -1
- package/chunks/onb-import-picker.json +1 -1
- package/chunks/onb-mobile-handoff.json +1 -1
- package/chunks/onb-notification-prefs.json +1 -1
- package/chunks/onb-persona-picker.json +1 -1
- package/chunks/onb-provider-tiles.json +1 -1
- package/chunks/onb-settings-review.json +1 -1
- package/chunks/onb-step-footer.json +1 -1
- package/chunks/onb-step-header.json +1 -1
- package/chunks/onb-step-progress.json +1 -1
- package/chunks/onb-step-shell.json +1 -1
- package/chunks/onb-story-pane.json +1 -1
- package/chunks/onb-tutorial-steps.json +1 -1
- package/chunks/playground-a2ui.json +1 -1
- package/chunks/playground-app-shell.json +1 -1
- package/chunks/playground-chat.json +1 -1
- package/chunks/playground-construct-canvas.json +1 -1
- package/chunks/playground-gen-ui.json +1 -1
- package/chunks/playground-render-preview.json +1 -1
- package/chunks/playground-streams-bridge.json +2 -2
- package/chunks/playground-table-toolbar.json +1 -1
- package/chunks/reg-address-form.json +1 -1
- package/chunks/reg-billing-card.json +1 -1
- package/chunks/reg-brand-scrape.json +1 -1
- package/chunks/reg-departments-toggle.json +1 -1
- package/chunks/reg-extended-profile.json +1 -1
- package/chunks/reg-final-done.json +1 -1
- package/chunks/reg-helpdesk-grid.json +1 -1
- package/chunks/reg-import-picker.json +1 -1
- package/chunks/reg-integrations-grid.json +1 -1
- package/chunks/reg-invite-form.json +1 -1
- package/chunks/reg-legal-entity.json +1 -1
- package/chunks/reg-org-chart-review.json +1 -1
- package/chunks/reg-profile-identity.json +1 -1
- package/chunks/reg-step-footer.json +1 -1
- package/chunks/reg-step-header.json +1 -1
- package/chunks/reg-step-progress.json +1 -1
- package/chunks/reg-step-shell.json +1 -1
- package/chunks/reg-story-pane.json +1 -1
- package/chunks/reg-success-summary.json +1 -1
- package/chunks/reg-team-size.json +1 -1
- package/chunks/reg-usecase-picker.json +1 -1
- package/chunks/reg-workspace-name.json +1 -1
- package/chunks/settings-billing-plan.json +1 -1
- package/chunks/settings-general-form.json +1 -1
- package/chunks/settings-integrations.json +1 -1
- package/chunks/settings-members-invite.json +1 -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/user-profile-card.json +1 -1
- package/chunks/users-table-badge.json +1 -1
- package/compositions/{form → forms}/data-import-wizard.json +1 -1
- package/exemplars/README.md +49 -0
- package/fragments/layout/auth-card-header.json +64 -0
- package/package.json +2 -2
- package/scripts/chunk-library.js +14 -6
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
},
|
|
13
13
|
"html": "<section data-reg-form role=\"radiogroup\" aria-label=\"Use case\">\n <col-ui gap=\"2\">\n <option-card-ui\n name=\"use-case\"\n value=\"build\"\n checked\n heading=\"I'm building a product\"\n description=\"Spinning up a new project — design, ship, iterate.\"\n ></option-card-ui>\n <option-card-ui\n name=\"use-case\"\n value=\"explore\"\n heading=\"I'm exploring the product\"\n description=\"Kicking the tires before bringing a team along.\"\n ></option-card-ui>\n <option-card-ui\n name=\"use-case\"\n value=\"migrate\"\n heading=\"I'm migrating from another tool\"\n description=\"Moving an existing workspace and want a smooth port.\"\n ></option-card-ui>\n <option-card-ui\n name=\"use-case\"\n value=\"evaluate\"\n heading=\"I'm evaluating for my team\"\n description=\"Comparing options and want to dig into specifics.\"\n ></option-card-ui>\n <option-card-ui name=\"use-case\" value=\"other\" heading=\"Something else\" description=\"Tell us more — we read every response.\">\n <textarea-ui name=\"use-case-detail\" placeholder=\"What brings you to AdiaUI?\" rows=\"3\"></textarea-ui>\n </option-card-ui>\n </col-ui>\n </section>",
|
|
14
14
|
"source": "apps/user-flow/app/registration/use-case/use-case.contents.html",
|
|
15
|
-
"captured_at": "2026-05-
|
|
15
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
16
16
|
}
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
},
|
|
17
17
|
"html": "<form data-reg-input action=\"/site/examples/registration/profile\" method=\"get\">\n <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n <section data-reg-form>\n <field-ui inline label=\"Workspace Name\" hint=\"Letters, numbers, and spaces.\">\n <input-ui name=\"workspace\" autocomplete=\"organization\" placeholder=\"Acme, Inc.\" required></input-ui>\n </field-ui>\n <field-ui inline label=\"Workspace URL\" hint=\"your-workspace.adia.ai\">\n <input-ui name=\"slug\" autocomplete=\"off\" placeholder=\"acme\" suffix=\".adia.ai\" required></input-ui>\n </field-ui>\n </section>\n\n <footer><!-- nested: reg-step-footer --></footer>\n </form>",
|
|
18
18
|
"source": "apps/user-flow/app/registration/workspace/workspace.contents.html",
|
|
19
|
-
"captured_at": "2026-05-
|
|
19
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
20
20
|
}
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div data-col>\n <card-ui size=\"sm\">\n <header>\n <span slot=\"icon\">\n <avatar-ui icon=\"star\"></avatar-ui>\n </span>\n <span slot=\"heading\">\n <text-ui strong>Pro</text-ui>\n <badge-ui text=\"Current\" variant=\"accent\"></badge-ui>\n </span>\n <span slot=\"action\">\n <button-ui text=\"Change plan\" variant=\"primary\" size=\"sm\" onclick=\"document.getElementById('drawer-change-plan').open = true\"></button-ui>\n </span>\n <span slot=\"description\">\n <text-ui color=\"subtle\" size=\"sm\">$49/month · billed monthly · Next invoice May 14, 2026</text-ui>\n </span>\n </header>\n </card-ui>\n <field-ui label=\"Billing interval\">\n <segmented-ui value=\"monthly\">\n <segment-ui value=\"monthly\" text=\"Monthly\"></segment-ui>\n <segment-ui value=\"annual\" text=\"Annual · 2 months free\"></segment-ui>\n </segmented-ui>\n </field-ui>\n </div>",
|
|
12
12
|
"source": "apps/saas/app/billing/billing.contents.html",
|
|
13
|
-
"captured_at": "2026-05-
|
|
13
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
14
14
|
}
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div data-col>\n <field-ui label=\"Workspace name\">\n <input-ui placeholder=\"My Workspace\" value=\"AdiaUI\"></input-ui>\n </field-ui>\n <field-ui label=\"Slug\">\n <input-ui prefix=\"/\" placeholder=\"my-workspace\" value=\"adia-ui\"></input-ui>\n </field-ui>\n </div>",
|
|
12
12
|
"source": "apps/saas/app/settings-page/settings-page.contents.html",
|
|
13
|
-
"captured_at": "2026-05-
|
|
13
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
14
14
|
}
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div data-col>\n <card-ui size=\"sm\">\n <header>\n <span slot=\"icon\">\n <avatar-ui icon=\"slack-logo\"></avatar-ui>\n </span>\n <span slot=\"heading\">\n <text-ui strong>Slack</text-ui>\n <badge-ui text=\"Connected\" variant=\"success\"></badge-ui>\n </span>\n <span slot=\"action\">\n <button-ui text=\"Configure\" onclick=\"document.getElementById('drawer-slack').open = true\"></button-ui>\n </span>\n <span slot=\"description\">\n <text-ui color=\"subtle\" size=\"sm\">Posts to #product-updates · connected by Alex Chen</text-ui>\n </span>\n </header>\n </card-ui>\n <card-ui size=\"sm\">\n <header>\n <span slot=\"icon\">\n <avatar-ui icon=\"github-logo\"></avatar-ui>\n </span>\n <span slot=\"heading\">\n <text-ui strong>GitHub</text-ui>\n <badge-ui text=\"Connected\" variant=\"success\"></badge-ui>\n </span>\n <span slot=\"action\">\n <button-ui text=\"Configure\" onclick=\"document.getElementById('drawer-github').open = true\"></button-ui>\n </span>\n <span slot=\"description\">\n <text-ui color=\"subtle\" size=\"sm\">acme-corp organization · 14 repositories synced</text-ui>\n </span>\n </header>\n </card-ui>\n <card-ui size=\"sm\">\n <header>\n <span slot=\"icon\">\n <avatar-ui icon=\"envelope\"></avatar-ui>\n </span>\n <span slot=\"heading\">\n <text-ui strong>Email (SMTP)</text-ui>\n <badge-ui text=\"Action needed\" variant=\"warning\"></badge-ui>\n </span>\n <span slot=\"action\">\n <button-ui text=\"Reconnect\" variant=\"primary\" onclick=\"document.getElementById('drawer-smtp').open = true\"></button-ui>\n </span>\n <span slot=\"description\">\n <text-ui color=\"subtle\" size=\"sm\">Credentials expired on April 12, 2026</text-ui>\n </span>\n </header>\n </card-ui>\n </div>",
|
|
12
12
|
"source": "apps/saas/app/integrations/integrations.contents.html",
|
|
13
|
-
"captured_at": "2026-05-
|
|
13
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
14
14
|
}
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div data-col>\n <field-ui label=\"Email addresses\">\n <textarea-ui placeholder=\"alex@acme.com, sarah@acme.com (comma or newline separated)\" rows=\"3\"></textarea-ui>\n </field-ui>\n <field-ui label=\"Default role\">\n <select-ui value=\"member\">\n <option value=\"admin\">Admin · can invite, remove, and billing</option>\n <option value=\"member\">Member · can edit and invite</option>\n <option value=\"viewer\">Viewer · read-only</option>\n </select-ui>\n </field-ui>\n <field-ui label=\"Send welcome email\" inline>\n <switch-ui checked></switch-ui>\n </field-ui>\n <button-ui text=\"Send invites\" variant=\"primary\" icon=\"paper-plane-tilt\"></button-ui>\n </div>",
|
|
12
12
|
"source": "apps/saas/app/members/members.contents.html",
|
|
13
|
-
"captured_at": "2026-05-
|
|
13
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
14
14
|
}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"attrs": {},
|
|
9
9
|
"html": "<card-ui>\n <header>\n <h3>Notifications</h3>\n <text-ui slot=\"description\" color=\"subtle\">Choose what you want to be notified about</text-ui>\n </header>\n <section>\n <col-ui gap=\"4\">\n <section>\n <text-ui weight=\"semibold\">Email</text-ui>\n <col-ui gap=\"2\">\n <row-ui gap=\"2\" align=\"center\" justify=\"space-between\">\n <text-ui>Weekly digest</text-ui>\n <switch-ui checked></switch-ui>\n </row-ui>\n <row-ui gap=\"2\" align=\"center\" justify=\"space-between\">\n <text-ui>New mentions</text-ui>\n <switch-ui checked></switch-ui>\n </row-ui>\n <row-ui gap=\"2\" align=\"center\" justify=\"space-between\">\n <text-ui>Product updates</text-ui>\n <switch-ui></switch-ui>\n </row-ui>\n </col-ui>\n </section>\n <divider-ui></divider-ui>\n <section>\n <text-ui weight=\"semibold\">Push</text-ui>\n <col-ui gap=\"2\">\n <row-ui gap=\"2\" align=\"center\" justify=\"space-between\">\n <text-ui>Direct messages</text-ui>\n <switch-ui checked></switch-ui>\n </row-ui>\n <row-ui gap=\"2\" align=\"center\" justify=\"space-between\">\n <text-ui>Team alerts</text-ui>\n <switch-ui></switch-ui>\n </row-ui>\n </col-ui>\n </section>\n </col-ui>\n </section>\n</card-ui>",
|
|
10
10
|
"source": "apps/patterns/app/settings-notifications/settings-notifications.contents.html",
|
|
11
|
-
"captured_at": "2026-05-
|
|
11
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
12
12
|
}
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"attrs": {},
|
|
25
25
|
"html": "<article>\n <header data-chunk-slot=\"page-header\">\n <h1>Settings</h1>\n <text-ui color=\"subtle\">Manage your account preferences</text-ui>\n </header>\n\n <tabs-ui value=\"general\" data-chunk-slot=\"page-tabs\">\n <tab-ui value=\"general\" text=\"General\"></tab-ui>\n <tab-ui value=\"integrations\" text=\"Integrations\"></tab-ui>\n <tab-ui value=\"billing\" text=\"Billing\"></tab-ui>\n </tabs-ui>\n\n <section data-chunk-slot=\"page-content\">\n <card-ui>\n <header><h3>General settings</h3></header>\n <section>\n <field-ui label=\"Display name\">\n <input-ui value=\"Jane Doe\"></input-ui>\n </field-ui>\n <field-ui label=\"Email\" hint=\"Used for notifications\">\n <input-ui type=\"email\" value=\"jane@example.com\"></input-ui>\n </field-ui>\n </section>\n </card-ui>\n </section>\n</article>",
|
|
26
26
|
"source": "apps/generic-shells/app/settings-page/settings-page.contents.html",
|
|
27
|
-
"captured_at": "2026-05-
|
|
27
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
28
28
|
}
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
},
|
|
11
11
|
"html": "<div data-col>\n <row-ui gap=\"4\" align=\"center\">\n <avatar-ui text=\"Kim Granlund\" size=\"xl\"></avatar-ui>\n <col-ui gap=\"2\">\n <field-ui label=\"Upload new avatar\">\n <upload-ui accept=\"image/*\"></upload-ui>\n </field-ui>\n <text-ui color=\"subtle\" size=\"sm\">JPG, PNG or WebP. Max 2 MB. Square images render best.</text-ui>\n </col-ui>\n </row-ui>\n <field-ui label=\"Full name\">\n <input-ui value=\"Kim Granlund\"></input-ui>\n </field-ui>\n <field-ui label=\"Display name\">\n <input-ui value=\"kimba\" prefix=\"@\"></input-ui>\n </field-ui>\n <field-ui label=\"Email\">\n <input-ui value=\"kim@acme.com\" type=\"email\"></input-ui>\n </field-ui>\n <field-ui label=\"Bio\">\n <textarea-ui placeholder=\"Tell the team a bit about yourself\" rows=\"3\">Product engineer. Working on the gen-UI pipeline.</textarea-ui>\n </field-ui>\n </div>",
|
|
12
12
|
"source": "apps/saas/app/profile-security/profile-security.contents.html",
|
|
13
|
-
"captured_at": "2026-05-
|
|
13
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
14
14
|
}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"attrs": {},
|
|
9
9
|
"html": "<card-ui>\n <header>\n <row-ui gap=\"3\" align=\"center\">\n <avatar-ui text=\"Jane Doe\" size=\"lg\"></avatar-ui>\n <col-ui gap=\"0\">\n <text-ui weight=\"semibold\" size=\"lg\">Jane Doe</text-ui>\n <text-ui color=\"subtle\">Product Designer</text-ui>\n </col-ui>\n </row-ui>\n </header>\n <section>\n <col-ui gap=\"3\">\n <field-ui label=\"Email\" inline>\n <input-ui type=\"email\" value=\"jane@example.com\"></input-ui>\n </field-ui>\n <field-ui label=\"Role\" inline>\n <select-ui value=\"designer\">\n <option value=\"designer\">Designer</option>\n <option value=\"engineer\">Engineer</option>\n <option value=\"manager\">Manager</option>\n </select-ui>\n </field-ui>\n <field-ui label=\"Bio\" inline>\n <textarea-ui rows=\"2\">Building design systems at AdiaUI</textarea-ui>\n </field-ui>\n </col-ui>\n </section>\n <footer>\n <row-ui gap=\"2\" justify=\"end\">\n <button-ui text=\"Cancel\" variant=\"ghost\" size=\"sm\"></button-ui>\n <button-ui text=\"Save\" variant=\"primary\" size=\"sm\"></button-ui>\n </row-ui>\n </footer>\n</card-ui>",
|
|
10
10
|
"source": "apps/patterns/app/user-profile-card/user-profile-card.contents.html",
|
|
11
|
-
"captured_at": "2026-05-
|
|
11
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"attrs": {},
|
|
9
9
|
"html": "<card-ui>\n <header>\n <h3>Users</h3>\n <text-ui slot=\"description\" color=\"subtle\">Team members and their roles</text-ui>\n </header>\n <section bleed>\n <table-ui>\n <thead>\n <tr>\n <th>User</th>\n <th>Role</th>\n <th>Status</th>\n <th>Last active</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td><row-ui gap=\"2\" align=\"center\"><avatar-ui text=\"Alex Chen\" size=\"sm\"></avatar-ui><text-ui>Alex Chen</text-ui></row-ui></td>\n <td><badge-ui text=\"Admin\" variant=\"accent\" size=\"sm\"></badge-ui></td>\n <td><badge-ui text=\"Online\" variant=\"success\" size=\"sm\"></badge-ui></td>\n <td><text-ui color=\"subtle\" size=\"sm\">2m ago</text-ui></td>\n </tr>\n <tr>\n <td><row-ui gap=\"2\" align=\"center\"><avatar-ui text=\"Sarah Miller\" size=\"sm\"></avatar-ui><text-ui>Sarah Miller</text-ui></row-ui></td>\n <td><badge-ui text=\"Editor\" variant=\"info\" size=\"sm\"></badge-ui></td>\n <td><badge-ui text=\"Away\" variant=\"warning\" size=\"sm\"></badge-ui></td>\n <td><text-ui color=\"subtle\" size=\"sm\">1h ago</text-ui></td>\n </tr>\n <tr>\n <td><row-ui gap=\"2\" align=\"center\"><avatar-ui text=\"James Park\" size=\"sm\"></avatar-ui><text-ui>James Park</text-ui></row-ui></td>\n <td><badge-ui text=\"Viewer\" variant=\"muted\" size=\"sm\"></badge-ui></td>\n <td><badge-ui text=\"Offline\" variant=\"muted\" size=\"sm\"></badge-ui></td>\n <td><text-ui color=\"subtle\" size=\"sm\">3h ago</text-ui></td>\n </tr>\n </tbody>\n </table-ui>\n </section>\n</card-ui>",
|
|
10
10
|
"source": "apps/patterns/app/users-table-badge/users-table-badge.contents.html",
|
|
11
|
-
"captured_at": "2026-05-
|
|
11
|
+
"captured_at": "2026-05-07T15:03:20.693Z"
|
|
12
12
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "data-import-wizard",
|
|
4
4
|
"version": 1,
|
|
5
5
|
"kind": "composition",
|
|
6
|
-
"domain": "
|
|
6
|
+
"domain": "forms",
|
|
7
7
|
"description": "Multi-step data import wizard with a step progress indicator, file upload input, column-mapping form, preview feedback, and prev/next wizard navigation.",
|
|
8
8
|
"tags": { "purpose": ["wizard", "import", "form", "multi-step"], "complexity": "high", "layout": "stacked" },
|
|
9
9
|
"keywords": [
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# `exemplars/` — RETIRED 2026-04-28
|
|
2
|
+
|
|
3
|
+
> **This folder is no longer harvested into the corpus.**
|
|
4
|
+
> Don't add `data-chunk` markers expecting them to land in
|
|
5
|
+
> `packages/a2ui/corpus/chunks/`. Use the `apps/<name>/app/<demo>/`
|
|
6
|
+
> layout instead, per ADR-0020.
|
|
7
|
+
|
|
8
|
+
## What was here
|
|
9
|
+
|
|
10
|
+
`exemplars/` was the v0.0.x and early v0.1.x source surface for
|
|
11
|
+
hand-authored A2UI demonstrations: sample shells, blocks-reference
|
|
12
|
+
prose, prototype layouts. Each piece was a static reference for
|
|
13
|
+
designers and the gen-UI synthesizer's training corpus.
|
|
14
|
+
|
|
15
|
+
## Why it was retired
|
|
16
|
+
|
|
17
|
+
Three convergent reasons (per the v0.0.6 / mcp v0.0.5 cut on 2026-04-28):
|
|
18
|
+
|
|
19
|
+
1. **The `data-chunk` marker pipeline replaced it.** Patterns that
|
|
20
|
+
matter as training material now live as live HTML demos under
|
|
21
|
+
`apps/<name>/app/<demo>/<demo>.contents.html` with
|
|
22
|
+
`data-chunk="<slug>"` and `data-chunk-kind` attributes. The
|
|
23
|
+
harvester (`scripts/build/harvest-chunks.mjs`) extracts them into
|
|
24
|
+
`packages/a2ui/corpus/chunks/`.
|
|
25
|
+
2. **Single source of truth.** Maintaining hand-authored exemplars
|
|
26
|
+
alongside live apps doubled the surface that drifts. Apps are
|
|
27
|
+
already the artifacts users see; harvesting from them keeps demos
|
|
28
|
+
and training material in sync.
|
|
29
|
+
3. **Composition vs. example.** Compositions and fragments with
|
|
30
|
+
live `$fragment` linking moved into
|
|
31
|
+
`packages/a2ui/corpus/{compositions,fragments}/`; everything else
|
|
32
|
+
(page-level demos) is now sourced from `apps/`.
|
|
33
|
+
|
|
34
|
+
## What's still in this folder
|
|
35
|
+
|
|
36
|
+
The 37 files (~248 KB) are kept on disk as historical reference
|
|
37
|
+
(audit reports, blocks-reference prose, prototype shells) — they
|
|
38
|
+
**don't ship** in the npm tarball (see the package.json `files`
|
|
39
|
+
field in `packages/a2ui/corpus/`). Consider this folder a frozen
|
|
40
|
+
snapshot of the pre-v0.1 era; it may be removed entirely in a
|
|
41
|
+
future cleanup.
|
|
42
|
+
|
|
43
|
+
## See also
|
|
44
|
+
|
|
45
|
+
- [`packages/a2ui/corpus/README.md`](../README.md) — current corpus structure
|
|
46
|
+
- [`docs/specs/genui-chunk-marker.md`](../../../../docs/specs/genui-chunk-marker.md) — `data-chunk` convention
|
|
47
|
+
- [`.agents/skills/chunk-corpus-migration/SKILL.md`](../../../../.agents/skills/chunk-corpus-migration/SKILL.md) — corpus-migration playbook
|
|
48
|
+
- ADR-0020 — apps/ + co-located component demos
|
|
49
|
+
- Backlog item #92 (closed by this README)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "auth-card-header",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "fragment",
|
|
6
|
+
"semantic_role": "auth-titlebar",
|
|
7
|
+
"description": "Authentication card titlebar — centered logo (linking home), heading, and short body text. The canonical header for any auth, error, or onboarding shell card. Promoted from the chunk corpus where this exact shape appeared 23× across user-flow auth screens (sign-in, sign-up, forgot-password, MFA, account-locked, etc.) plus errors/{404,500,maintenance}.",
|
|
8
|
+
"shape": "Header(Column[align=center,gap=1](Image[role=logo], Text[v=heading], Text[v=body]))",
|
|
9
|
+
"tags": {
|
|
10
|
+
"purpose": ["auth-titlebar", "card-header"],
|
|
11
|
+
"layout": "stacked",
|
|
12
|
+
"alignment": "center"
|
|
13
|
+
},
|
|
14
|
+
"keywords": ["auth", "header", "title", "logo", "card", "sign-in", "sign-up", "error", "onboarding"],
|
|
15
|
+
"slots": [
|
|
16
|
+
{
|
|
17
|
+
"name": "logoSrc",
|
|
18
|
+
"targetId": "ach-logo",
|
|
19
|
+
"attribute": "src",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Path to the brand logo image (SVG preferred)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "logoAlt",
|
|
25
|
+
"targetId": "ach-logo",
|
|
26
|
+
"attribute": "alt",
|
|
27
|
+
"defaultValue": "Logo",
|
|
28
|
+
"description": "Alt text for the logo image"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "heading",
|
|
32
|
+
"targetId": "ach-heading",
|
|
33
|
+
"attribute": "textContent",
|
|
34
|
+
"required": true,
|
|
35
|
+
"description": "Primary heading — auth state or error code (e.g. 'Sign in', '404 — Page not found', 'Reset your password')"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "body",
|
|
39
|
+
"targetId": "ach-body",
|
|
40
|
+
"attribute": "textContent",
|
|
41
|
+
"description": "Short supporting copy below the heading"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"template": [
|
|
45
|
+
{ "id": "ach-root", "component": "Header", "children": ["ach-col"] },
|
|
46
|
+
{ "id": "ach-col", "component": "Column", "align": "center", "gap": "1", "children": ["ach-logo", "ach-heading", "ach-body"] },
|
|
47
|
+
{ "id": "ach-logo", "component": "Image", "src": "/icons/agent-ui-light.svg", "alt": "Logo" },
|
|
48
|
+
{ "id": "ach-heading", "component": "Text", "variant": "heading", "textContent": "Heading" },
|
|
49
|
+
{ "id": "ach-body", "component": "Text", "variant": "body", "textContent": "" }
|
|
50
|
+
],
|
|
51
|
+
"links": {
|
|
52
|
+
"uses_components": ["Header", "Column", "Image", "Text"],
|
|
53
|
+
"uses_fragments": [],
|
|
54
|
+
"used_by": [],
|
|
55
|
+
"related": ["card-header-heading", "card-header-with-description"],
|
|
56
|
+
"spawned_from": ["chunk:auth-card-header"]
|
|
57
|
+
},
|
|
58
|
+
"metrics": {
|
|
59
|
+
"leverage": 23.0,
|
|
60
|
+
"pattern_count": 0,
|
|
61
|
+
"instance_count": 23,
|
|
62
|
+
"_provenance": "Promoted 2026-05-07 from chunks/auth-card-header.json (23 instances across user-flow auth + errors apps). See docs/reports/chunk-reconcile-2026-05-07.md for the full reconciliation context."
|
|
63
|
+
}
|
|
64
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AdiaUI A2UI training corpus \u2014 patterns, fragments, compositions, exemplars, eval fixtures, feedback, gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
|
|
6
6
|
"exports": {
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
"url": "git+https://github.com/adiahealth/gen-ui-kit.git",
|
|
39
39
|
"directory": "packages/a2ui/corpus"
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
}
|
package/scripts/chunk-library.js
CHANGED
|
@@ -146,12 +146,20 @@ export async function searchChunksAsync(query, { kind, limit = 20 } = {}) {
|
|
|
146
146
|
if (!query || typeof query !== 'string') return [];
|
|
147
147
|
|
|
148
148
|
let cosineByName = null;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
// Env-var override: A2UI_DISABLE_EMBEDDINGS=1 forces keyword-only mode.
|
|
150
|
+
// Used by `npm run eval:diff -- --engine chunk-zettel-fast` and any
|
|
151
|
+
// diagnostic that needs to confirm the keyword path is independently
|
|
152
|
+
// healthy (i.e. retrieval works even when embeddings are stale or
|
|
153
|
+
// missing). Default: embeddings enabled when available.
|
|
154
|
+
const embeddingsDisabled = process.env.A2UI_DISABLE_EMBEDDINGS === '1';
|
|
155
|
+
if (!embeddingsDisabled) {
|
|
156
|
+
try {
|
|
157
|
+
const { scoreAll, available } = await import('../../retrieval/embedding/chunk-embedding-retriever.js');
|
|
158
|
+
if (await available()) {
|
|
159
|
+
cosineByName = await scoreAll(query);
|
|
160
|
+
}
|
|
161
|
+
} catch { /* embeddings unavailable — keyword-only */ }
|
|
162
|
+
}
|
|
155
163
|
|
|
156
164
|
const candidates = [];
|
|
157
165
|
for (const [name, rec] of chunks) {
|