@adia-ai/a2ui-corpus 0.4.2 → 0.4.4
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 +63 -0
- package/README.md +59 -51
- package/catalog-a2ui_0_9.json +318 -15
- package/catalog-a2ui_0_9_rules.txt +18 -0
- package/chunks/_index.json +1263 -496
- package/chunks/agent-activity-feed.json +1 -1
- package/chunks/agent-canvas-shell.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 +224 -2
- 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 +156 -2
- 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 +151 -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 +190 -2
- package/chunks/auth-signin-card-magic-link.json +119 -2
- package/chunks/auth-signin-card-mfa.json +162 -1
- package/chunks/auth-signin-card-otp.json +116 -2
- package/chunks/auth-signin-card-password.json +202 -2
- 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 +191 -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/card-header-with-description.json +12 -0
- package/chunks/chat-page-shell.json +1 -1
- package/chunks/chat-streaming-surface.json +1 -1
- package/chunks/command-palette.json +1 -1
- package/chunks/commerce-pricing-tiers.json +1 -1
- package/chunks/conversion-funnel-6step.json +1 -1
- package/chunks/dashboard-acquisition-panel.json +162 -1
- package/chunks/dashboard-admin-page.json +2879 -4
- package/chunks/dashboard-audience-kpis.json +1 -1
- package/chunks/dashboard-audience-panel.json +488 -1
- package/chunks/dashboard-behavior-panel.json +91 -1
- package/chunks/dashboard-chart-recent.json +474 -3
- package/chunks/dashboard-cohort-retention.json +1 -1
- package/chunks/dashboard-conversion-panel.json +196 -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 +383 -1
- package/chunks/dashboard-overview-panel.json +1363 -1
- package/chunks/dashboard-page-header.json +140 -1
- package/chunks/dashboard-pages-table.json +1 -1
- package/chunks/dashboard-quick-actions.json +1 -1
- package/chunks/dashboard-reports-panel.json +97 -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 +502 -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/doc-editor-shell.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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +161 -3
- package/chunks/error-500-actions.json +1 -1
- package/chunks/error-500.json +166 -3
- package/chunks/error-maintenance-actions.json +1 -1
- package/chunks/error-maintenance.json +158 -3
- package/chunks/error-page-shell.json +1 -1
- package/chunks/footer-primary-only.json +12 -0
- package/chunks/form-page-shell.json +1 -1
- package/chunks/gallery-page-shell.json +1 -1
- package/chunks/icon-text-row.json +16 -0
- package/chunks/image-tile.json +12 -0
- package/chunks/kanban-board-3col.json +5 -3
- package/chunks/kanban-page-shell.json +1 -1
- package/chunks/labeled-textarea.json +14 -0
- package/chunks/linked-record-row.json +57 -0
- 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/metadata-description-list.json +14 -0
- 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 +249 -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 +2 -2
- package/chunks/playground-chat.json +2 -2
- package/chunks/playground-construct-canvas.json +4 -6
- package/chunks/playground-gen-ui.json +2 -2
- package/chunks/playground-render-preview.json +1 -1
- package/chunks/playground-streams-bridge.json +1 -1
- 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 +565 -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/section-with-stack.json +12 -0
- package/chunks/settings-appearance.json +26 -0
- package/chunks/settings-billing-plan.json +1 -1
- package/chunks/settings-general-form.json +1 -1
- package/chunks/settings-integrations.json +154 -3
- package/chunks/settings-members-invite.json +5 -3
- 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/text-card.json +14 -0
- package/chunks/user-identity-row.json +16 -0
- package/chunks/user-profile-card.json +1 -1
- package/chunks/users-table-badge.json +1 -1
- package/compositions/agent/ai-streaming-response.json +55 -9
- package/compositions/agent/alert-banner.json +46 -10
- package/compositions/agent/chat-interface.json +15 -7
- package/compositions/agent/command-palette.json +2 -2
- package/compositions/agent/empty-state.json +70 -11
- package/compositions/agent/error-state-retry.json +100 -17
- package/compositions/agent/loading-skeleton.json +76 -12
- package/compositions/agent/notification-preferences.json +386 -23
- package/compositions/agent/toast-stack.json +42 -7
- package/compositions/data/activity-feed.json +231 -17
- package/compositions/data/audit-log-viewer.json +453 -44
- package/compositions/data/bookmark-list.json +188 -16
- package/compositions/data/bulk-action-toolbar.json +137 -19
- package/compositions/data/changelog-feed.json +296 -30
- package/compositions/data/chart-dashboard.json +96 -11
- package/compositions/data/cohort-retention.json +392 -40
- package/compositions/data/column-manager.json +316 -52
- package/compositions/data/data-table-paginated.json +96 -18
- package/compositions/data/email-inbox-list.json +224 -13
- package/compositions/data/funnel-analytics.json +424 -26
- package/compositions/data/heatmap-calendar.json +140 -27
- package/compositions/data/invoice-table.json +107 -18
- package/compositions/data/kpi-overview.json +187 -17
- package/compositions/data/notification-center.json +224 -16
- package/compositions/data/object-inspector.json +463 -43
- package/compositions/data/product-specs-card.json +66 -12
- package/compositions/data/progress-tracker.json +140 -13
- package/compositions/data/review-card.json +94 -14
- package/compositions/data/saved-views-filter-bar.json +232 -37
- package/compositions/data/shopping-cart-summary.json +173 -21
- package/compositions/data/stat-card-dashboard.json +219 -18
- package/compositions/data/status-page.json +337 -30
- package/compositions/data/virtualized-table.json +269 -38
- package/compositions/data/weather-widget.json +77 -13
- package/compositions/forms/change-password-form.json +123 -16
- package/compositions/forms/color-picker-panel.json +85 -11
- package/compositions/forms/contact-form.json +127 -17
- package/compositions/forms/credit-card-payment-form.json +137 -16
- package/compositions/forms/data-import-mapper.json +244 -33
- package/compositions/forms/data-import-wizard.json +268 -29
- package/compositions/forms/date-time-picker-form.json +114 -13
- package/compositions/forms/destructive-confirm.json +206 -21
- package/compositions/forms/feedback-form.json +96 -14
- package/compositions/forms/file-upload-form.json +82 -11
- package/compositions/forms/login-form.json +122 -14
- package/compositions/forms/multi-step-wizard.json +133 -15
- package/compositions/forms/newsletter-subscription-form.json +83 -12
- package/compositions/forms/otp-verification-form.json +88 -13
- package/compositions/forms/password-reset-form.json +83 -12
- package/compositions/forms/permission-matrix.json +177 -28
- package/compositions/forms/profile-edit-form.json +125 -16
- package/compositions/forms/radio-group-form.json +110 -15
- package/compositions/forms/search-filters.json +112 -13
- package/compositions/forms/settings-toggles-page.json +188 -16
- package/compositions/forms/signup-form.json +129 -17
- package/compositions/forms/slider-range-form.json +65 -10
- package/compositions/forms/tag-input-form.json +89 -14
- package/compositions/forms/team-members-rbac.json +669 -107
- package/compositions/layout/accordion-settings.json +450 -42
- package/compositions/layout/badge-variants-display.json +121 -18
- package/compositions/layout/bento-overview.json +399 -33
- package/compositions/layout/calendar-month-view.json +96 -30
- package/compositions/layout/code-block.json +65 -11
- package/compositions/layout/comparison-table.json +113 -21
- package/compositions/layout/divider-with-label.json +40 -8
- package/compositions/layout/drawer-panel.json +105 -12
- package/compositions/layout/embed-iframe.json +62 -12
- package/compositions/layout/faq-accordion.json +35 -28
- package/compositions/layout/feature-grid.json +197 -22
- package/compositions/layout/footer-nav.json +188 -23
- package/compositions/layout/hero-cta.json +69 -13
- package/compositions/layout/image-gallery.json +112 -13
- package/compositions/layout/image-with-caption.json +48 -9
- package/compositions/layout/kanban-board.json +199 -31
- package/compositions/layout/keyboard-shortcuts.json +145 -12
- package/compositions/layout/markdown-editor-preview.json +6 -6
- package/compositions/layout/media-player.json +85 -13
- package/compositions/layout/modal-form.json +97 -12
- package/compositions/layout/onboarding-checklist.json +92 -14
- package/compositions/layout/popover-tooltip.json +74 -12
- package/compositions/layout/pricing-tiers.json +229 -31
- package/compositions/layout/product-card.json +97 -17
- package/compositions/layout/sidebar-layout.json +157 -16
- package/compositions/layout/tabs-panel.json +115 -13
- package/compositions/layout/testimonial-grid.json +240 -23
- package/compositions/layout/three-pane-shell.json +278 -63
- package/compositions/layout/toolbar-actions.json +81 -13
- package/compositions/navigation/nav-menu-with-icons.json +119 -14
- package/compositions/navigation/pagination-controls.json +2 -2
- package/compositions/navigation/workspace-switcher.json +296 -22
- package/compositions/settings/api-keys.json +592 -47
- package/compositions/settings/feature-flags.json +423 -22
- package/compositions/settings/integrations-gallery.json +839 -44
- package/compositions/settings/session-device-mgmt.json +619 -42
- package/compositions/settings/usage-quota-meter.json +214 -23
- package/compositions/settings/webhooks.json +429 -45
- package/package.json +2 -4
- package/patterns/agent/command-palette.json +1 -1
- package/patterns/agent/loading-skeleton.json +0 -6
- package/patterns/agent/toast-notification.json +6 -9
- package/patterns/data/admin-dashboard-with-charts.json +0 -4
- package/patterns/data/api-key-table.json +1 -1
- package/patterns/data/bookmark-list-categories.json +537 -128
- package/patterns/data/dashboard.json +3 -3
- package/patterns/data/data-table-view.json +34 -10
- package/patterns/data/email-inbox.json +22 -22
- package/patterns/data/event-calendar-details.json +20 -22
- package/patterns/data/inventory-table.json +1 -1
- package/patterns/data/leaderboard.json +1 -1
- package/patterns/data/notification-center.json +57 -25
- package/patterns/data/onboarding-checklist.json +10 -35
- package/patterns/data/order-tracking.json +8 -8
- package/patterns/data/pagination-nav.json +2 -2
- package/patterns/data/progress-dashboard.json +4 -16
- package/patterns/data/progress-tracker.json +3 -6
- package/patterns/data/restaurant-menu.json +241 -59
- package/patterns/forms/auth-signup.json +5 -13
- package/patterns/forms/bleed-design-settings.json +3 -11
- package/patterns/forms/credit-card-payment.json +8 -8
- package/patterns/forms/data-import.json +1 -2
- package/patterns/forms/login-form.json +4 -12
- package/patterns/forms/notification-filters.json +19 -68
- package/patterns/forms/notification-preferences.json +125 -39
- package/patterns/forms/otp-verification.json +1 -2
- package/patterns/forms/password-reset.json +1 -1
- package/patterns/forms/radio-group-selection.json +13 -45
- package/patterns/forms/radio-group.json +11 -35
- package/patterns/forms/survey-rating-scales.json +41 -121
- package/patterns/forms/two-factor-auth.json +211 -61
- package/patterns/forms/wizard-steps.json +32 -9
- package/patterns/layout/accordion-settings.json +63 -119
- package/patterns/layout/avatar-group.json +19 -40
- package/patterns/layout/badge-showcase.json +51 -89
- package/patterns/layout/code-block.json +9 -15
- package/patterns/layout/cta-banner.json +9 -17
- package/patterns/layout/divider-label.json +6 -10
- package/patterns/layout/drawer-panel.json +29 -48
- package/patterns/layout/embed-content.json +7 -9
- package/patterns/layout/feature-carousel.json +20 -20
- package/patterns/layout/feature-grid.json +30 -56
- package/patterns/layout/hero-section.json +18 -26
- package/patterns/layout/image-carousel.json +12 -12
- package/patterns/layout/kbd-shortcuts.json +6 -6
- package/patterns/layout/popover-menu.json +23 -27
- package/patterns/layout/pricing-tiers.json +50 -96
- package/patterns/layout/product-carousel.json +24 -24
- package/patterns/layout/tabs-panels.json +29 -55
- package/patterns/layout/team-carousel.json +16 -16
- package/patterns/layout/testimonials-carousel.json +12 -12
- package/patterns/layout/testimonials-grid.json +54 -92
- package/patterns/layout/toolbar-buttons.json +42 -70
- package/patterns/layout/tooltip-buttons.json +26 -44
- package/exemplars/AUDIT-REPORT.md +0 -116
- package/exemplars/README.md +0 -49
- package/exemplars/_shell.css +0 -88
- package/exemplars/blocks-reference.md +0 -409
- package/exemplars/index.html +0 -21
- package/exemplars/prose/auth-login/auth-login.yaml +0 -38
- package/exemplars/prose/auth-login/index.html +0 -542
- package/exemplars/prose/cta/README.md +0 -3
- package/exemplars/prose/cta/cta.yaml +0 -38
- package/exemplars/prose/cta/data.json +0 -6
- package/exemplars/prose/cta/index.html +0 -125
- package/exemplars/prose/feature-grid/README.md +0 -3
- package/exemplars/prose/feature-grid/data.json +0 -13
- package/exemplars/prose/feature-grid/feature-grid.yaml +0 -35
- package/exemplars/prose/feature-grid/index.html +0 -93
- package/exemplars/prose/footer/README.md +0 -3
- package/exemplars/prose/footer/data.json +0 -10
- package/exemplars/prose/footer/footer.yaml +0 -32
- package/exemplars/prose/footer/index.html +0 -109
- package/exemplars/prose/hero/README.md +0 -3
- package/exemplars/prose/hero/data.json +0 -6
- package/exemplars/prose/hero/hero.yaml +0 -38
- package/exemplars/prose/hero/index.html +0 -217
- package/exemplars/prose/pricing/README.md +0 -3
- package/exemplars/prose/pricing/data.json +0 -9
- package/exemplars/prose/pricing/index.html +0 -298
- package/exemplars/prose/pricing/pricing.yaml +0 -38
- package/exemplars/prose/steps/README.md +0 -3
- package/exemplars/prose/steps/data.json +0 -31
- package/exemplars/prose/steps/index.html +0 -176
- package/exemplars/prose/steps/setup.js +0 -12
- package/exemplars/prose/steps/steps.yaml +0 -38
- package/exemplars/prose/testimonials/README.md +0 -3
- package/exemplars/prose/testimonials/data.json +0 -14
- package/exemplars/prose/testimonials/index.html +0 -297
- package/exemplars/prose/testimonials/testimonials.yaml +0 -33
- package/exemplars/ui/auth-login/auth-login.yaml +0 -38
- package/exemplars/ui/auth-login/index.html +0 -372
- package/fragments/_schema.json +0 -72
- package/fragments/action/dual-cta-row.json +0 -29
- package/fragments/action/dual-cta-row.yaml +0 -34
- package/fragments/action/footer-cancel-save.json +0 -31
- package/fragments/action/footer-cancel-save.yaml +0 -34
- package/fragments/action/footer-primary-only.json +0 -23
- package/fragments/action/footer-primary-only.yaml +0 -26
- package/fragments/content/calendar-day-cell.json +0 -29
- package/fragments/content/column-config-atom.json +0 -121
- package/fragments/content/credential-entry-atom.json +0 -126
- package/fragments/content/directory-entry-atom.json +0 -148
- package/fragments/content/email-row.json +0 -35
- package/fragments/content/email-row.yaml +0 -43
- package/fragments/content/faq-item.json +0 -54
- package/fragments/content/health-entry-atom.json +0 -85
- package/fragments/content/icon-text-row.json +0 -29
- package/fragments/content/icon-text-row.yaml +0 -36
- package/fragments/content/icon-title-description.json +0 -30
- package/fragments/content/icon-title-description.yaml +0 -37
- package/fragments/content/image-tile.json +0 -28
- package/fragments/content/image-tile.yaml +0 -32
- package/fragments/content/incident-row.json +0 -107
- package/fragments/content/kbd-shortcut-row.json +0 -29
- package/fragments/content/kbd-shortcut-row.yaml +0 -33
- package/fragments/content/key-value-row.json +0 -29
- package/fragments/content/key-value-row.yaml +0 -36
- package/fragments/content/labeled-progress.json +0 -29
- package/fragments/content/labeled-progress.yaml +0 -33
- package/fragments/content/link-list-column.json +0 -33
- package/fragments/content/link-list-column.yaml +0 -41
- package/fragments/content/linked-record-row.json +0 -95
- package/fragments/content/marketplace-tile-atom.json +0 -147
- package/fragments/content/metadata-description-list.json +0 -28
- package/fragments/content/metadata-description-list.yaml +0 -36
- package/fragments/content/pending-invite-row.json +0 -113
- package/fragments/content/release-entry.json +0 -155
- package/fragments/content/rollout-entry-atom.json +0 -168
- package/fragments/content/signed-in-entry-atom.json +0 -157
- package/fragments/content/stage-entry-atom.json +0 -115
- package/fragments/content/stat-card.json +0 -31
- package/fragments/content/stat-card.yaml +0 -39
- package/fragments/content/user-identity-row.json +0 -33
- package/fragments/content/user-identity-row.yaml +0 -43
- package/fragments/content/user-notification-row.json +0 -35
- package/fragments/content/user-notification-row.yaml +0 -50
- package/fragments/content/wizard-step-row.json +0 -96
- package/fragments/form/labeled-checkbox.json +0 -26
- package/fragments/form/labeled-checkbox.yaml +0 -36
- package/fragments/form/labeled-input.json +0 -28
- package/fragments/form/labeled-input.yaml +0 -38
- package/fragments/form/labeled-slider.json +0 -34
- package/fragments/form/labeled-slider.yaml +0 -50
- package/fragments/form/labeled-textarea.json +0 -28
- package/fragments/form/labeled-textarea.yaml +0 -39
- package/fragments/form/labeled-toggle.json +0 -29
- package/fragments/form/labeled-toggle.yaml +0 -43
- package/fragments/layout/card-header-heading.json +0 -35
- package/fragments/layout/card-header-heading.yaml +0 -27
- package/fragments/layout/card-header-with-badge.json +0 -30
- package/fragments/layout/card-header-with-badge.yaml +0 -40
- package/fragments/layout/card-header-with-description.json +0 -29
- package/fragments/layout/card-header-with-description.yaml +0 -32
- package/fragments/layout/pricing-tier-card.json +0 -37
- package/fragments/layout/pricing-tier-card.yaml +0 -50
- package/fragments/layout/section-with-stack.json +0 -46
- package/fragments/layout/section-with-stack.yaml +0 -39
- package/fragments/layout/text-card.json +0 -28
- package/fragments/layout/text-card.yaml +0 -30
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# AdiaUI Training Data — Visual Audit Report (REVISED)
|
|
2
|
-
## April 15, 2026
|
|
3
|
-
|
|
4
|
-
### CRITICAL FINDING
|
|
5
|
-
The initial audit used Python's http.server which cannot resolve bare ES module specifiers
|
|
6
|
-
(`@core/element.js`). ALL components were failing to register. After switching to Vite
|
|
7
|
-
(the project's actual dev server), most patterns render correctly.
|
|
8
|
-
|
|
9
|
-
**Lesson: Always use `npm run dev` (Vite) to view training patterns.**
|
|
10
|
-
|
|
11
|
-
### Rating Scale
|
|
12
|
-
- 1/5: Broken / essentially blank
|
|
13
|
-
- 2/5: Renders but major structural problems
|
|
14
|
-
- 3/5: Functional but needs polish or more variations
|
|
15
|
-
- 4/5: Good quality, minor issues
|
|
16
|
-
- 5/5: Production-ready golden example
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## REVISED SCORES (with Vite)
|
|
21
|
-
|
|
22
|
-
### ⭐⭐⭐⭐⭐ (5/5) — Production quality
|
|
23
|
-
| Pattern | Notes |
|
|
24
|
-
|---------|-------|
|
|
25
|
-
| **ui/empty-state** | 8 variants across 5 categories. Icons, copy, CTAs all excellent. |
|
|
26
|
-
|
|
27
|
-
### ⭐⭐⭐⭐ (4/5) — Good, minor polish needed
|
|
28
|
-
| Pattern | Notes |
|
|
29
|
-
|---------|-------|
|
|
30
|
-
| **ui/auth-login** | 10 variations. Split layout recently fixed. Best ui pattern for variation count. |
|
|
31
|
-
| **prose/auth-login** | 7 rich compositions. Well-structured. |
|
|
32
|
-
| **ui/kanban** | 3-column board. Cards with tags, avatars, add buttons. Clean. |
|
|
33
|
-
| **ui/chat-list** | 8 contacts with search, avatars, timestamps, unread badges. |
|
|
34
|
-
| **ui/data-table** | Full table with checkboxes, sorting, status badges, pagination, toolbar. |
|
|
35
|
-
| **ui/nav-sidebar** | Full sidebar with nav groups, breadcrumbs, stat cards in main area. |
|
|
36
|
-
| **ui/toolbar** | 3 variations (text editor, app bar, canvas). Icons rendering well. |
|
|
37
|
-
| **ui/otp** | 3 variations. OTP inputs render. Timer + progress bar on 2FA variant. |
|
|
38
|
-
| **prose/footer** | Clean link grid, social icons, copyright. Best prose pattern. |
|
|
39
|
-
|
|
40
|
-
### ⭐⭐⭐½ (3.5/5) — Decent, needs more variations or polish
|
|
41
|
-
| Pattern | Notes |
|
|
42
|
-
|---------|-------|
|
|
43
|
-
| **ui/stat-cards** | 4 sections render fully. Low card-to-background contrast. |
|
|
44
|
-
| **ui/stat-pattern** | 5 sections. Need to verify sparkline rendering. |
|
|
45
|
-
| **ui/accordion-settings** | Accordions work. Toggles hidden in collapsed sections — needs expanded state. |
|
|
46
|
-
| **prose/feature-grid** | Clean 3x2 grid. Missing icons in cards. |
|
|
47
|
-
| **prose/pricing** | Classic 3-tier. Could use toggle (monthly/annual) and comparison table. |
|
|
48
|
-
| **prose/testimonials** | Grid + featured. Clean. Only 1 composition. |
|
|
49
|
-
| **prose/steps** | 4 stepper variations. Missing labels/connectors on some. |
|
|
50
|
-
|
|
51
|
-
### ⭐⭐⭐ (3/5) — Functional but needs work
|
|
52
|
-
| Pattern | Notes |
|
|
53
|
-
|---------|-------|
|
|
54
|
-
| **ui/breadcrumb** | 4 contextual variations. Separators may be rendering now — verify. |
|
|
55
|
-
| **ui/tooltip-popover** | 6 sections. Need to re-verify icon rendering. |
|
|
56
|
-
| **ui/theme-builder** | Nice concept. Verify slider controls render with Vite. |
|
|
57
|
-
| **ui/tabs-panels** | 2 variations only. Need more. Avatar may render now. |
|
|
58
|
-
| **ui/timeline-pattern** | 4 sections. Need to verify labels/icons with Vite. |
|
|
59
|
-
| **ui/divider** | 5 sections. Need to verify label rendering with Vite. |
|
|
60
|
-
| **ui/drawer-panel** | Decent list UI. Only 1 real pattern. |
|
|
61
|
-
| **ui/code-block** | Need re-audit with Vite — may have syntax highlighting now. |
|
|
62
|
-
| **ui/command-palette** | Need re-audit — search input + icons may render now. |
|
|
63
|
-
| **ui/file-upload** | Need re-audit — dropzone + progress bars may render now. |
|
|
64
|
-
| **ui/embed** | 3 card types. Minimal but functional. |
|
|
65
|
-
| **prose/cta** | Only 1 variation. Needs 2-3 more compositions. |
|
|
66
|
-
| **prose/hero** | Very minimal. 1 variation with placeholder screenshot. |
|
|
67
|
-
| **prose/user-profile** | 3 variations. Avatars should render now. Spacing needs fix. |
|
|
68
|
-
|
|
69
|
-
### ⭐⭐ (2/5) — Needs significant rework
|
|
70
|
-
| Pattern | Notes |
|
|
71
|
-
|---------|-------|
|
|
72
|
-
| **ui/auth** | Uses tabs + JS. Different paradigm than other training data. Only shows 1 panel. |
|
|
73
|
-
| **ui/ai-input** | Only 1 variation. Needs full family of chat input patterns. |
|
|
74
|
-
| **ui/chat** | Only 1 variation. Needs conversation states, group chat, etc. |
|
|
75
|
-
| **ui/notifications** | Only empty state shown. Needs populated state + variations. |
|
|
76
|
-
| **ui/settings** | Too thin. Needs full settings page with multiple sections. |
|
|
77
|
-
| **ui/skeleton** | Need to verify with Vite. May still be too minimal. |
|
|
78
|
-
| **ui/navbar** | 1 variation only. Needs mobile, sticky, with-dropdown variants. |
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## STRUCTURAL ISSUES (still valid regardless of rendering)
|
|
83
|
-
|
|
84
|
-
### 1. Too few variations
|
|
85
|
-
Many ui patterns have only 1-3 variations. auth-login (10) and empty-state (8) are the standard.
|
|
86
|
-
**Target: 4-8 variations per ui pattern.**
|
|
87
|
-
|
|
88
|
-
Patterns needing more variations:
|
|
89
|
-
- ai-input (1), chat (1), navbar (1), notifications (1), settings (1)
|
|
90
|
-
- skeleton (needs clear section labels), chat-list (1), auth (1)
|
|
91
|
-
|
|
92
|
-
### 2. Prose patterns too thin
|
|
93
|
-
Most prose patterns are single compositions. Should have 2-3 alternative layouts/styles.
|
|
94
|
-
- hero (1), cta (1), user-profile could be richer
|
|
95
|
-
|
|
96
|
-
### 3. Some patterns duplicate
|
|
97
|
-
- ui/auth vs ui/auth-login: auth uses tabs/JS, auth-login is the proper multi-variation format.
|
|
98
|
-
Consider retiring ui/auth in favor of auth-login.
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## PRIORITY ACTION PLAN (revised)
|
|
103
|
-
|
|
104
|
-
### P1 — Re-audit with Vite (fast pass)
|
|
105
|
-
Spot-check remaining ~12 patterns that weren't re-audited to get accurate scores.
|
|
106
|
-
Patterns: skeleton, chat, notifications, settings, breadcrumb, tooltip-popover,
|
|
107
|
-
theme-builder, timeline-pattern, divider, code-block, command-palette, file-upload
|
|
108
|
-
|
|
109
|
-
### P2 — Expand thin patterns (needs more variations)
|
|
110
|
-
ai-input, chat, navbar, notifications, settings, skeleton → add 4-6 variations each
|
|
111
|
-
|
|
112
|
-
### P3 — Enrich prose patterns
|
|
113
|
-
hero, cta → add 2-3 more compositions each
|
|
114
|
-
|
|
115
|
-
### P4 — Polish existing patterns
|
|
116
|
-
Fix spacing, alignment, typography issues found during audit
|
package/exemplars/README.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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)
|
package/exemplars/_shell.css
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Standalone-demo shell for AdiaUI corpus exemplars.
|
|
3
|
-
|
|
4
|
-
Each exemplar `index.html` loads this stylesheet so it can render
|
|
5
|
-
correctly when opened directly (out of the docs router shell). It
|
|
6
|
-
carries:
|
|
7
|
-
|
|
8
|
-
- body framing — flex-centered, padded, schemes set up via tokens
|
|
9
|
-
- section min-width — exemplar pages are intentionally desktop-shaped
|
|
10
|
-
- decoration classes — for the few pages that need a hero / split-
|
|
11
|
-
layout gradient that can't be expressed via component primitives
|
|
12
|
-
|
|
13
|
-
IMPORTANT — training-corpus contract: the exemplar HTML is harvested
|
|
14
|
-
for the gen-UI training pipeline. Per AGENTS.md, harvested files MUST
|
|
15
|
-
contain no `<style>` block and no `style="..."` attributes. Anything
|
|
16
|
-
in this stylesheet is allowed because it's loaded via `<link>`, not
|
|
17
|
-
inlined.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
body {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
padding: 2rem;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
}
|
|
27
|
-
body[data-anchor="bottom"] {
|
|
28
|
-
align-items: flex-end;
|
|
29
|
-
}
|
|
30
|
-
body > section,
|
|
31
|
-
body > footer {
|
|
32
|
-
min-width: 600px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/*
|
|
36
|
-
Footer-pattern link styling. footer-ui's own contract leaves <a>
|
|
37
|
-
unstyled (it doesn't slot links itself), so the prose/footer demo
|
|
38
|
-
legitimately needs a few tone + transition rules here. Defining
|
|
39
|
-
them in _shell.css keeps the harvested HTML from carrying any
|
|
40
|
-
inline style attributes for these.
|
|
41
|
-
*/
|
|
42
|
-
footer a {
|
|
43
|
-
color: var(--a-fg-subtle);
|
|
44
|
-
text-decoration: none;
|
|
45
|
-
font-size: var(--a-ui-md);
|
|
46
|
-
transition: color var(--a-duration-fast) var(--a-easing);
|
|
47
|
-
}
|
|
48
|
-
footer a:hover {
|
|
49
|
-
color: var(--a-fg);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/*
|
|
53
|
-
Auth-login brand panel — split-screen hero with photographic
|
|
54
|
-
background + dark scrim. Used on the first card of
|
|
55
|
-
prose/auth-login. Class hook keeps the harvested HTML clean
|
|
56
|
-
while preserving the visual that motivates the pattern.
|
|
57
|
-
*/
|
|
58
|
-
.demo-brand-panel {
|
|
59
|
-
background:
|
|
60
|
-
linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
|
|
61
|
-
url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1200&q=80')
|
|
62
|
-
center/cover no-repeat;
|
|
63
|
-
min-height: 560px;
|
|
64
|
-
color: #fff;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/*
|
|
68
|
-
Accent split-panel — used on the ui/auth-login split-layout card.
|
|
69
|
-
Lighter than the brand panel; just an accent-tinted surface with a
|
|
70
|
-
comfortable min-height so the form panel beside it doesn't collapse.
|
|
71
|
-
*/
|
|
72
|
-
.demo-accent-panel {
|
|
73
|
-
background: var(--a-accent-subtle);
|
|
74
|
-
min-height: 480px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/*
|
|
78
|
-
CTA hero card — photographic background with dark scrim. Used on
|
|
79
|
-
the centered CTA on prose/cta. Same shape as `.demo-brand-panel`
|
|
80
|
-
but with a different image; kept distinct so each page can be
|
|
81
|
-
retuned without leaking into the others.
|
|
82
|
-
*/
|
|
83
|
-
.demo-cta-hero {
|
|
84
|
-
background:
|
|
85
|
-
linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0,0.85)),
|
|
86
|
-
url('https://images.unsplash.com/photo-1534972195531-d756b9bfa9f2?w=1200&q=80')
|
|
87
|
-
center/cover no-repeat;
|
|
88
|
-
}
|
|
@@ -1,409 +0,0 @@
|
|
|
1
|
-
# Blocks & Patterns Reference
|
|
2
|
-
|
|
3
|
-
Reusable UI compositions built from AdiaUI components. **Blocks** are standalone sections (hero, pricing, footer). **Patterns** are functional interfaces (auth flows, chat, kanban, settings).
|
|
4
|
-
|
|
5
|
-
Each entry describes what to build, not how to copy-paste. An agent should decompose the description, select the right components, and compose a faithful recreation using AdiaUI conventions.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Conventions
|
|
10
|
-
|
|
11
|
-
Every block and pattern follows these rules:
|
|
12
|
-
|
|
13
|
-
- **Card anatomy:** `card-ui > header > section > footer` — never skip the section wrapper
|
|
14
|
-
- **Section content:** Always wrap in `col-ui` — never place content directly in `<section>`
|
|
15
|
-
- **Headings:** Every heading element has `data-heading` — `display` for hero, `title` for page-level, `section` for card headings, `label` for group names, `eyebrow` for overlines, `caption` for meta text
|
|
16
|
-
- **Slots:** `slot="heading"` only on non-heading elements (`<span>`). Native `h1-h6` inside `<header>` are auto-targeted by card CSS
|
|
17
|
-
- **Spacing:** `col-ui gap="md"` for standard vertical stacks, `row-ui gap="sm"` for inline groups
|
|
18
|
-
- **Buttons:** `text` attribute for label, `variant` for style, `icon-leading`/`icon-trailing` for icons
|
|
19
|
-
- **Form fields:** Always have `label` and `name` attributes
|
|
20
|
-
- **Layout:** `grid-ui columns="3"` for equal columns, `row-ui` for content-sized
|
|
21
|
-
- **Typography tokens:** `--a-{role}-size` for role-based sizing (e.g. `--a-heading-size`, `--a-body-size`)
|
|
22
|
-
- **UI scale tokens:** `--a-ui-size-{size}` for component font sizes
|
|
23
|
-
- **Parametric spacing:** All spacing scales with `--a-density`, all radii scale with `--a-radius-k`
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Blocks (8)
|
|
28
|
-
|
|
29
|
-
Standalone landing page sections. Each is a self-contained composition meant to be dropped into a page layout.
|
|
30
|
-
|
|
31
|
-
### Hero
|
|
32
|
-
|
|
33
|
-
A centered call-to-action section with prominent heading, subheading, dual CTA buttons, and an image/illustration area below.
|
|
34
|
-
|
|
35
|
-
**Structure:**
|
|
36
|
-
- Centered column (max-width ~600px, text-align center)
|
|
37
|
-
- `h1` with `data-heading="display"` — large, bold, hero-scale
|
|
38
|
-
- `p` description — muted color, standard body text
|
|
39
|
-
- Row of 2 buttons centered: primary (large, with trailing icon) + outline (large)
|
|
40
|
-
- Below: placeholder image area with dashed border (or actual `image-ui`)
|
|
41
|
-
|
|
42
|
-
**Components:** `button-ui` (primary + outline, size lg, with icons), `icon-ui`
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
### Navbar
|
|
47
|
-
|
|
48
|
-
Horizontal top navigation bar with brand, links, and action buttons.
|
|
49
|
-
|
|
50
|
-
**Structure:**
|
|
51
|
-
- Flex row with 3 zones: brand (left), nav links (center), actions (right)
|
|
52
|
-
- Brand: `icon-ui` logo + text span
|
|
53
|
-
- Nav links: `<a>` elements with active state styling (bold + accent underline)
|
|
54
|
-
- Actions: ghost icon button (search) + primary button (CTA, size sm)
|
|
55
|
-
|
|
56
|
-
**Components:** `icon-ui`, `button-ui` (ghost + primary, size sm)
|
|
57
|
-
|
|
58
|
-
---
|
|
59
|
-
|
|
60
|
-
### Feature Grid
|
|
61
|
-
|
|
62
|
-
Responsive grid of feature/benefit cards, each with icon, heading, and description.
|
|
63
|
-
|
|
64
|
-
**Structure:**
|
|
65
|
-
- Responsive grid: `auto-fit, minmax(250px, 1fr)` (3 columns on desktop, collapses on mobile)
|
|
66
|
-
- Each card: `card-ui` with header containing icon badge + `slot="heading"` with `data-heading="section"`, and section with paragraph text
|
|
67
|
-
- Icons: `icon-ui` inside a small circle/badge container in the header
|
|
68
|
-
|
|
69
|
-
**Components:** `card-ui`, `icon-ui`, `col-ui`
|
|
70
|
-
|
|
71
|
-
**Content:** 6 feature cards. Each has: icon name, heading text, description paragraph.
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
### Pricing
|
|
76
|
-
|
|
77
|
-
Three-tier pricing table with plan comparison, feature lists, and CTA buttons.
|
|
78
|
-
|
|
79
|
-
**Structure:**
|
|
80
|
-
- 3-column responsive grid (`auto-fit, minmax(280px, 1fr)`)
|
|
81
|
-
- Each tier: `card-ui` with header (`slot="heading"` + `slot="description"`), section with price display + feature checklist, footer with CTA button
|
|
82
|
-
- Middle tier (Pro) highlighted: accent border, `badge-ui text="Popular"` in header
|
|
83
|
-
- Feature list: `col-ui` of `row-ui` items, each with `icon-ui name="check"` + text
|
|
84
|
-
|
|
85
|
-
**Components:** `card-ui`, `badge-ui`, `icon-ui`, `col-ui`, `row-ui`, `button-ui` (primary for featured, outline for others, stretch width)
|
|
86
|
-
|
|
87
|
-
**Content:** 3 tiers (Starter $0, Pro $19, Enterprise $49). Each with 4-6 features.
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
### Stat Cards
|
|
92
|
-
|
|
93
|
-
Grid of KPI metric cards showing key numbers with trend indicators.
|
|
94
|
-
|
|
95
|
-
**Structure:**
|
|
96
|
-
- 4-column responsive grid
|
|
97
|
-
- Each card: `card-ui` with header containing icon slot + label heading (`data-heading="label"`), section with large display value (`data-heading="title"` or `display`) + row with trend icon + delta text
|
|
98
|
-
- Trend: `icon-ui name="trending-up"` (green for positive) or `trending-down` (red for negative)
|
|
99
|
-
|
|
100
|
-
**Components:** `card-ui`, `icon-ui`, `col-ui`, `row-ui`
|
|
101
|
-
|
|
102
|
-
**Content:** 4 cards (Total Revenue $45k +20%, Active Users 2.3k +8%, Orders 12k +19%, Growth +573 +201/hr)
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
### CTA (Call to Action)
|
|
107
|
-
|
|
108
|
-
Banner section encouraging user action with heading, description, and buttons.
|
|
109
|
-
|
|
110
|
-
**Structure:**
|
|
111
|
-
- Full-width banner (surface background, padding, border-radius)
|
|
112
|
-
- Flex row: text column (heading `data-heading="title"` + description) on left, button row on right
|
|
113
|
-
- 2 buttons: primary + ghost (with icons)
|
|
114
|
-
|
|
115
|
-
**Components:** `button-ui` (primary + ghost, with icon-trailing)
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
### Footer
|
|
120
|
-
|
|
121
|
-
Multi-column site footer with branding, link groups, copyright, and social icons.
|
|
122
|
-
|
|
123
|
-
**Structure:**
|
|
124
|
-
- Grid: 4 columns (brand 2fr, 3 link columns 1fr each)
|
|
125
|
-
- Brand column: logo + subtitle text
|
|
126
|
-
- Link columns: each has heading (`data-heading="label"`) + vertical stack of `<a>` links
|
|
127
|
-
- Bottom bar (border-top): copyright text left, social icon buttons right
|
|
128
|
-
- Social: `icon-ui` buttons for Twitter, GitHub, Discord, etc.
|
|
129
|
-
|
|
130
|
-
**Components:** `col-ui`, `icon-ui`, `badge-ui`, `button-ui` (ghost, icon-only)
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
### Testimonials
|
|
135
|
-
|
|
136
|
-
Customer quote cards in a grid, plus a featured large testimonial.
|
|
137
|
-
|
|
138
|
-
**Structure:**
|
|
139
|
-
- 3-column responsive grid of `card-ui variant="outlined"`
|
|
140
|
-
- Each card: section with italicized quote (with decorative quote marks), then `row-ui` with `avatar-ui` + name/title column
|
|
141
|
-
- Below grid: featured testimonial — large `card-ui` centered with `icon-ui name="quotes"` (large), prominent quote text, avatar + name centered
|
|
142
|
-
|
|
143
|
-
**Components:** `card-ui` (outlined), `avatar-ui`, `col-ui`, `row-ui`, `icon-ui`
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## Patterns (16)
|
|
148
|
-
|
|
149
|
-
Functional interface compositions. Each is a complete UI flow, not just a visual block.
|
|
150
|
-
|
|
151
|
-
### Auth
|
|
152
|
-
|
|
153
|
-
Authentication forms: login, signup, social login, and magic link.
|
|
154
|
-
|
|
155
|
-
**4 variants:**
|
|
156
|
-
|
|
157
|
-
1. **Centered Login** — `card-ui` centered (max-width 400px): header with lock icon + heading + description, section with email `input-ui` + password `input-ui` + row (remember `check-ui` + forgot link), footer with primary block button + sign-up link
|
|
158
|
-
|
|
159
|
-
2. **Split Signup** — 2-column grid: left column is branding panel (dark bg, display heading, feature list), right column is form card with name + email + password fields + terms checkbox + submit button
|
|
160
|
-
|
|
161
|
-
3. **Social Login** — `card-ui` centered: 2 OAuth buttons (Google, Apple with icons, outline variant, block), decorative divider with "or continue with email" text, email + password fields, submit button
|
|
162
|
-
|
|
163
|
-
4. **Magic Link** — `card-ui` centered: mail icon, heading, description, single email field, submit button, back-to-login link
|
|
164
|
-
|
|
165
|
-
**Key components:** `card-ui`, `input-ui`, `check-ui`, `button-ui`, `icon-ui`, `col-ui`, `row-ui`
|
|
166
|
-
|
|
167
|
-
---
|
|
168
|
-
|
|
169
|
-
### Chat
|
|
170
|
-
|
|
171
|
-
Messaging interface with bubble layout, typing indicators, and AI chat variant.
|
|
172
|
-
|
|
173
|
-
**4 variants:**
|
|
174
|
-
|
|
175
|
-
1. **Basic Chat** — Container with message list: sent messages right-aligned (accent bg), received messages left-aligned (subtle bg) with `avatar-ui`, timestamps below bubbles
|
|
176
|
-
|
|
177
|
-
2. **Typing Indicator** — Same as basic + animated 3-dot typing indicator in a received bubble (CSS keyframe bounce animation)
|
|
178
|
-
|
|
179
|
-
3. **AI Chat** — Received messages have `icon-ui` badge instead of avatar, different bubble styling (no border-radius on bottom-left)
|
|
180
|
-
|
|
181
|
-
4. **Group Chat** — Received messages show sender name label above bubble, different avatar per sender
|
|
182
|
-
|
|
183
|
-
**Key components:** `avatar-ui`, `icon-ui`, custom bubble CSS (border-radius manipulation: full except one corner)
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
### Chat List
|
|
188
|
-
|
|
189
|
-
Contact/conversation list with message previews, timestamps, and unread indicators.
|
|
190
|
-
|
|
191
|
-
**3 variants:**
|
|
192
|
-
|
|
193
|
-
1. **Contact List** — Vertical bordered list, each item: `avatar-ui` + name + preview text + time badge + optional unread count `badge-ui`
|
|
194
|
-
|
|
195
|
-
2. **With Online Indicators** — Same + green dot absolutely positioned on avatar corner
|
|
196
|
-
|
|
197
|
-
3. **With Search** — `search-ui` in header above the list
|
|
198
|
-
|
|
199
|
-
**Key components:** `avatar-ui`, `badge-ui`, `search-ui`
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
### AI Input
|
|
204
|
-
|
|
205
|
-
Compose areas for AI chat with formatting tools and response display.
|
|
206
|
-
|
|
207
|
-
**4 variants:**
|
|
208
|
-
|
|
209
|
-
1. **Basic** — `textarea-ui` + row with markdown label + send `button-ui`
|
|
210
|
-
|
|
211
|
-
2. **With Suggestions** — Same + row of `tag-ui` suggestion chips above the textarea
|
|
212
|
-
|
|
213
|
-
3. **With File Attach** — Same + file preview cards (name + size + remove button) above textarea
|
|
214
|
-
|
|
215
|
-
4. **Streaming Response** — Response area with text + blinking cursor animation (2px wide, `animation: blink 0.8s step-end infinite`)
|
|
216
|
-
|
|
217
|
-
**Key components:** `textarea-ui`, `button-ui`, `tag-ui`, `toolbar-ui`, `icon-ui`, `progress-ui`
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
|
|
221
|
-
### Data Table
|
|
222
|
-
|
|
223
|
-
Full-featured data table with search, filter, sort, selection, and pagination.
|
|
224
|
-
|
|
225
|
-
**Structure:**
|
|
226
|
-
- `card-ui` container
|
|
227
|
-
- Header: `search-ui` + `select-ui` filter dropdown + action buttons
|
|
228
|
-
- Body: `table-ui` (sortable, selectable) — data set via JS `.columns` and `.data`
|
|
229
|
-
- Footer: page info text + `pagination-ui`
|
|
230
|
-
- Optional: bulk action bar (accent background) that appears when rows are selected
|
|
231
|
-
|
|
232
|
-
**Key components:** `card-ui`, `table-ui`, `search-ui`, `select-ui`, `button-ui`, `pagination-ui`
|
|
233
|
-
|
|
234
|
-
---
|
|
235
|
-
|
|
236
|
-
### Settings
|
|
237
|
-
|
|
238
|
-
Full settings page with sidebar navigation and card-based form sections.
|
|
239
|
-
|
|
240
|
-
**Structure:**
|
|
241
|
-
- 2-column layout: sidebar (200px) + main content
|
|
242
|
-
- Sidebar: section headings + items with active state
|
|
243
|
-
- Main: stacked `card-ui` sections, each with header (h3 `data-heading="subtitle"` + description) + form section + footer with action buttons
|
|
244
|
-
- 4 sections: Profile (avatar + name + email + bio), Notifications (toggle rows), Appearance (segmented theme + select font), Danger Zone (delete button, variant danger)
|
|
245
|
-
|
|
246
|
-
**Key components:** `card-ui`, `input-ui`, `avatar-ui`, `switch-ui`, `segmented-ui`, `select-ui`, `button-ui`
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
### Kanban
|
|
251
|
-
|
|
252
|
-
Three-column task board with cards, assignees, and priority tags.
|
|
253
|
-
|
|
254
|
-
**Structure:**
|
|
255
|
-
- 3-column grid (equal width, gap md)
|
|
256
|
-
- Column header: status icon + title + count `badge-ui` + add `button-ui` (icon-only)
|
|
257
|
-
- Task cards: `card-ui` with title (h4), description (p, muted), footer with `tag-ui` labels + `avatar-ui` assignee
|
|
258
|
-
- Status columns: Todo (circle icon), In Progress (clock icon), Done (check-circle icon)
|
|
259
|
-
|
|
260
|
-
**Key components:** `card-ui`, `badge-ui`, `tag-ui`, `avatar-ui`, `button-ui`, `icon-ui`, `col-ui`, `row-ui`
|
|
261
|
-
|
|
262
|
-
**Content:** 10 task cards distributed across 3 columns with varied tags (Design, Testing, Frontend, Backend).
|
|
263
|
-
|
|
264
|
-
---
|
|
265
|
-
|
|
266
|
-
### Notifications
|
|
267
|
-
|
|
268
|
-
Notification center with filtering, read/unread states, and mark-all-read action.
|
|
269
|
-
|
|
270
|
-
**Structure:**
|
|
271
|
-
- `card-ui` with header: title + unread count `badge-ui` + "Mark all read" `button-ui` (ghost)
|
|
272
|
-
- `segmented-ui` filter: All, Unread, Mentions
|
|
273
|
-
- List of notification items: `avatar-ui` + title (bold if unread) + description + time + unread dot `badge-ui`
|
|
274
|
-
- Unread items have subtle highlighted background
|
|
275
|
-
|
|
276
|
-
**Key components:** `card-ui`, `avatar-ui`, `badge-ui` (dot + count), `segmented-ui`, `segment-ui`, `button-ui`
|
|
277
|
-
|
|
278
|
-
---
|
|
279
|
-
|
|
280
|
-
### Stat (Pattern)
|
|
281
|
-
|
|
282
|
-
KPI cards in various configurations beyond the basic stat block.
|
|
283
|
-
|
|
284
|
-
**5 variants:**
|
|
285
|
-
|
|
286
|
-
1. **Basic** — Value + delta badge (success/error variant)
|
|
287
|
-
2. **With Icon** — Same + icon in header slot
|
|
288
|
-
3. **With Sparkline** — Same + `chart-ui type="sparkline"` below the value
|
|
289
|
-
4. **With Trend Arrow** — Delta row uses `icon-ui name="trending-up/down"` instead of badge
|
|
290
|
-
5. **Stat Grid** — 4-column grid combining all variants
|
|
291
|
-
|
|
292
|
-
**Key components:** `card-ui`, `badge-ui`, `icon-ui`, `chart-ui` (sparkline type), `col-ui`, `row-ui`
|
|
293
|
-
|
|
294
|
-
---
|
|
295
|
-
|
|
296
|
-
### Steps
|
|
297
|
-
|
|
298
|
-
Step-by-step progress indicators for multi-stage flows.
|
|
299
|
-
|
|
300
|
-
**4 variants:**
|
|
301
|
-
|
|
302
|
-
1. **Horizontal** — `timeline-ui` with numbered circles connected by lines, active step highlighted
|
|
303
|
-
2. **Vertical** — Same but stacked vertically with descriptions
|
|
304
|
-
3. **With Icons** — Icon attribute replaces numbers (user, credit-card, check-circle)
|
|
305
|
-
4. **With Content** — Active step shows detail `card-ui` below with form fields or summary
|
|
306
|
-
|
|
307
|
-
**Key components:** `timeline-ui`, `timeline-item-ui`, `card-ui`, `input-ui`, `button-ui`, `avatar-group-ui`
|
|
308
|
-
|
|
309
|
-
---
|
|
310
|
-
|
|
311
|
-
### File Upload
|
|
312
|
-
|
|
313
|
-
File upload flow with drag-and-drop zone, progress tracking, and status display.
|
|
314
|
-
|
|
315
|
-
**Structure:**
|
|
316
|
-
- `upload-ui` drag-and-drop zone at top
|
|
317
|
-
- Below: file list showing upload states
|
|
318
|
-
- Each file item: type `icon-ui` + name/size info + `progress-ui` (during upload) or `badge-ui` status (Done/Error) + remove `button-ui`
|
|
319
|
-
- Error items: red-tinted border, error badge
|
|
320
|
-
|
|
321
|
-
**Key components:** `upload-ui`, `icon-ui`, `badge-ui`, `progress-ui`, `button-ui`
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
### OTP Input
|
|
326
|
-
|
|
327
|
-
One-time password entry with variants.
|
|
328
|
-
|
|
329
|
-
**3 variants:**
|
|
330
|
-
|
|
331
|
-
1. **Basic** — `otp-input-ui length="6"` + verify button
|
|
332
|
-
2. **With Separator** — Same with `separator` attribute (dash between groups of 3)
|
|
333
|
-
3. **With Timer** — Wrapped in `card-ui` with icon header, `progress-ui` countdown bar, resend link
|
|
334
|
-
|
|
335
|
-
**Key components:** `otp-input-ui`, `button-ui`, `progress-ui`, `icon-ui`, `card-ui`
|
|
336
|
-
|
|
337
|
-
---
|
|
338
|
-
|
|
339
|
-
### Theme Builder
|
|
340
|
-
|
|
341
|
-
Interactive theme customizer with live preview.
|
|
342
|
-
|
|
343
|
-
**Structure:**
|
|
344
|
-
- 2-column layout: controls (340px left), preview (right)
|
|
345
|
-
- Controls card: sliders (`slider-ui`) for radius/spacing/hue/chroma/lightness, `segmented-ui` for color scheme, `select-ui` for font, preset `button-ui` row
|
|
346
|
-
- Preview card: wrapped with `[data-theme]` attribute with live binding — shows sample components (button variants, form fields, cards, badges)
|
|
347
|
-
- Export card: `code-ui` showing generated CSS + copy `button-ui`
|
|
348
|
-
|
|
349
|
-
**Key components:** `card-ui`, `slider-ui`, `segmented-ui`, `select-ui`, `button-ui`, `badge-ui`, `input-ui`, `check-ui`, `switch-ui`, `code-ui`
|
|
350
|
-
|
|
351
|
-
---
|
|
352
|
-
|
|
353
|
-
### Timeline
|
|
354
|
-
|
|
355
|
-
Chronological event sequences with connected timeline indicators.
|
|
356
|
-
|
|
357
|
-
**4 variants:**
|
|
358
|
-
|
|
359
|
-
1. **Vertical** — `timeline-ui` with `timeline-item-ui` items, vertical line connecting dots, content right-aligned
|
|
360
|
-
2. **Horizontal** — Same but horizontal layout, compact
|
|
361
|
-
3. **With Icons** — Dot replaced by `icon-ui` (check, star, flag, etc.)
|
|
362
|
-
4. **Variant Colors** — Items use semantic variants (success=green, accent=blue, warning=yellow, danger=red)
|
|
363
|
-
|
|
364
|
-
**Key components:** `timeline-ui`, `timeline-item-ui`, `icon-ui`
|
|
365
|
-
|
|
366
|
-
---
|
|
367
|
-
|
|
368
|
-
### User Profile
|
|
369
|
-
|
|
370
|
-
Profile display patterns with stats, bio, and social links.
|
|
371
|
-
|
|
372
|
-
**3 variants:**
|
|
373
|
-
|
|
374
|
-
1. **Full Profile Card** — Large `avatar-ui`, name (`data-heading="title"`), role, email, 3-column stat cards (Projects/Contributions/Teams), bio paragraph, social icon button row, Edit Profile + Settings buttons
|
|
375
|
-
|
|
376
|
-
2. **Compact Profile** — Horizontal row: `avatar-ui` + name/role column + action buttons right-aligned
|
|
377
|
-
|
|
378
|
-
3. **Team Members Grid** — 3-column grid of profile `card-ui` elements, each with centered avatar, name, role, social row
|
|
379
|
-
|
|
380
|
-
**Key components:** `card-ui`, `avatar-ui`, `badge-ui`, `button-ui` (icon-only for social), `row-ui`, `col-ui`, `icon-ui`
|
|
381
|
-
|
|
382
|
-
---
|
|
383
|
-
|
|
384
|
-
### Empty State
|
|
385
|
-
|
|
386
|
-
Placeholder patterns for when content is absent.
|
|
387
|
-
|
|
388
|
-
**5 variants:**
|
|
389
|
-
|
|
390
|
-
1. **Default** — Centered: `icon-ui` (48px, folder-open), subtitle heading, description, primary CTA button
|
|
391
|
-
2. **Search No Results** — magnifying-glass icon, "No results" heading, "Try different keywords" description, "Clear search" outline button
|
|
392
|
-
3. **Error** — warning icon, "Something went wrong" heading, "Please try again" description, "Retry" primary button
|
|
393
|
-
4. **First Use/Onboarding** — rocket icon, welcome heading, getting-started checklist with `check-ui` items and `progress-ui` completion bar
|
|
394
|
-
5. **Inline** — Horizontal `row-ui` variant: icon left + text right, for embedding in existing layouts
|
|
395
|
-
|
|
396
|
-
**Key components:** `card-ui` (outlined), `icon-ui` (48px container), `col-ui` (centered), `button-ui`, `check-ui`, `progress-ui`
|
|
397
|
-
|
|
398
|
-
---
|
|
399
|
-
|
|
400
|
-
## Source Files
|
|
401
|
-
|
|
402
|
-
| Type | Directory | Count |
|
|
403
|
-
|------|-----------|-------|
|
|
404
|
-
| Blocks | `site/blocks/*.content.html` | 8 |
|
|
405
|
-
| Patterns | `site/patterns/*.content.html` | 16 |
|
|
406
|
-
| Block setups | `site/blocks/*.setup.js` | varies |
|
|
407
|
-
| Pattern setups | `site/patterns/*.setup.js` | varies |
|
|
408
|
-
|
|
409
|
-
Total: **24 compositions** with **62 variant examples**.
|
package/exemplars/index.html
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>AdiaUI — Training Data: Blocks Reference</title>
|
|
7
|
-
<link rel="stylesheet" href="../../web-components/styles/tokens.css" />
|
|
8
|
-
<link rel="stylesheet" href="../../web-components/styles/styles.css" />
|
|
9
|
-
<style>
|
|
10
|
-
body { margin: 0; font-family: var(--a-font-family); }
|
|
11
|
-
</style>
|
|
12
|
-
</head>
|
|
13
|
-
<body>
|
|
14
|
-
|
|
15
|
-
<richtext-ui src="./blocks-reference.md"></richtext-ui>
|
|
16
|
-
|
|
17
|
-
<script type="module">
|
|
18
|
-
import '../../web-components/components/richtext/richtext.js';
|
|
19
|
-
</script>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|