@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,157 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "signed-in-entry-atom",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "list-item-atom",
|
|
7
|
-
"description": "Flat row with icon, device/browser text, IP meta, current-badge, and revoke button. Used inside larger session-list compositions.",
|
|
8
|
-
"shape": "Row(Icon,Column(Text,Text),Column(Text,Text),Badge,Button)",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": [
|
|
11
|
-
"row-atom"
|
|
12
|
-
],
|
|
13
|
-
"layout": "row"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"session row",
|
|
17
|
-
"device row",
|
|
18
|
-
"active device row"
|
|
19
|
-
],
|
|
20
|
-
"slots": [
|
|
21
|
-
{
|
|
22
|
-
"name": "deviceIcon",
|
|
23
|
-
"targetId": "sdr-ic",
|
|
24
|
-
"attribute": "name",
|
|
25
|
-
"defaultValue": "laptop"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "deviceName",
|
|
29
|
-
"targetId": "sdr-n",
|
|
30
|
-
"attribute": "textContent",
|
|
31
|
-
"required": true
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "deviceMeta",
|
|
35
|
-
"targetId": "sdr-b",
|
|
36
|
-
"attribute": "textContent",
|
|
37
|
-
"required": true
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "ipAddress",
|
|
41
|
-
"targetId": "sdr-ip",
|
|
42
|
-
"attribute": "textContent",
|
|
43
|
-
"required": true
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "lastSeen",
|
|
47
|
-
"targetId": "sdr-ls",
|
|
48
|
-
"attribute": "textContent",
|
|
49
|
-
"required": true
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "badgeLabel",
|
|
53
|
-
"targetId": "sdr-cur",
|
|
54
|
-
"attribute": "text",
|
|
55
|
-
"defaultValue": ""
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "badgeVariant",
|
|
59
|
-
"targetId": "sdr-cur",
|
|
60
|
-
"attribute": "variant",
|
|
61
|
-
"defaultValue": "success"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "revokeLabel",
|
|
65
|
-
"targetId": "sdr-rev",
|
|
66
|
-
"attribute": "text",
|
|
67
|
-
"defaultValue": "Revoke"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"template": [
|
|
71
|
-
{
|
|
72
|
-
"id": "sdr-root",
|
|
73
|
-
"component": "Row",
|
|
74
|
-
"gap": "3",
|
|
75
|
-
"children": [
|
|
76
|
-
"sdr-ic",
|
|
77
|
-
"sdr-dev",
|
|
78
|
-
"sdr-meta",
|
|
79
|
-
"sdr-cur",
|
|
80
|
-
"sdr-rev"
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"id": "sdr-ic",
|
|
85
|
-
"component": "Icon",
|
|
86
|
-
"name": "laptop"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"id": "sdr-dev",
|
|
90
|
-
"component": "Column",
|
|
91
|
-
"gap": "0",
|
|
92
|
-
"children": [
|
|
93
|
-
"sdr-n",
|
|
94
|
-
"sdr-b"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"id": "sdr-n",
|
|
99
|
-
"component": "Text",
|
|
100
|
-
"variant": "label",
|
|
101
|
-
"textContent": "Device"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"id": "sdr-b",
|
|
105
|
-
"component": "Text",
|
|
106
|
-
"variant": "caption",
|
|
107
|
-
"color": "muted",
|
|
108
|
-
"textContent": "Browser \u00b7 OS"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"id": "sdr-meta",
|
|
112
|
-
"component": "Column",
|
|
113
|
-
"gap": "0",
|
|
114
|
-
"children": [
|
|
115
|
-
"sdr-ip",
|
|
116
|
-
"sdr-ls"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"id": "sdr-ip",
|
|
121
|
-
"component": "Text",
|
|
122
|
-
"variant": "caption",
|
|
123
|
-
"textContent": "0.0.0.0"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"id": "sdr-ls",
|
|
127
|
-
"component": "Text",
|
|
128
|
-
"variant": "caption",
|
|
129
|
-
"color": "muted",
|
|
130
|
-
"textContent": "just now"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"id": "sdr-cur",
|
|
134
|
-
"component": "Badge",
|
|
135
|
-
"text": "",
|
|
136
|
-
"variant": "success"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"id": "sdr-rev",
|
|
140
|
-
"component": "Button",
|
|
141
|
-
"variant": "danger",
|
|
142
|
-
"size": "sm",
|
|
143
|
-
"text": "Revoke"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"links": {
|
|
147
|
-
"uses_components": [
|
|
148
|
-
"Row",
|
|
149
|
-
"Icon",
|
|
150
|
-
"Column",
|
|
151
|
-
"Text",
|
|
152
|
-
"Badge",
|
|
153
|
-
"Button"
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"metrics": { "leverage": 4, "pattern_count": 0, "instance_count": 4 }
|
|
157
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "stage-entry-atom",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "list-item-atom",
|
|
7
|
-
"description": "Flat row with stage text, progress bar, and conversion badge. Used inside larger funnel compositions.",
|
|
8
|
-
"shape": "Row(Column(Text,Text),Progress,Badge)",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": [
|
|
11
|
-
"row-atom"
|
|
12
|
-
],
|
|
13
|
-
"layout": "row"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"stage row",
|
|
17
|
-
"conversion row",
|
|
18
|
-
"funnel step row"
|
|
19
|
-
],
|
|
20
|
-
"slots": [
|
|
21
|
-
{
|
|
22
|
-
"name": "stageName",
|
|
23
|
-
"targetId": "fsr-lbl",
|
|
24
|
-
"attribute": "textContent",
|
|
25
|
-
"required": true
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "stageCount",
|
|
29
|
-
"targetId": "fsr-cnt",
|
|
30
|
-
"attribute": "textContent",
|
|
31
|
-
"required": true
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "progressValue",
|
|
35
|
-
"targetId": "fsr-bar",
|
|
36
|
-
"attribute": "value",
|
|
37
|
-
"defaultValue": 0
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "progressVariant",
|
|
41
|
-
"targetId": "fsr-bar",
|
|
42
|
-
"attribute": "variant",
|
|
43
|
-
"defaultValue": "success"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "conversionPct",
|
|
47
|
-
"targetId": "fsr-pct",
|
|
48
|
-
"attribute": "text",
|
|
49
|
-
"required": true
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "pctVariant",
|
|
53
|
-
"targetId": "fsr-pct",
|
|
54
|
-
"attribute": "variant",
|
|
55
|
-
"defaultValue": "success"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"template": [
|
|
59
|
-
{
|
|
60
|
-
"id": "fsr-root",
|
|
61
|
-
"component": "Row",
|
|
62
|
-
"gap": "3",
|
|
63
|
-
"children": [
|
|
64
|
-
"fsr-col",
|
|
65
|
-
"fsr-bar",
|
|
66
|
-
"fsr-pct"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "fsr-col",
|
|
71
|
-
"component": "Column",
|
|
72
|
-
"gap": "0",
|
|
73
|
-
"children": [
|
|
74
|
-
"fsr-lbl",
|
|
75
|
-
"fsr-cnt"
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"id": "fsr-lbl",
|
|
80
|
-
"component": "Text",
|
|
81
|
-
"variant": "label",
|
|
82
|
-
"textContent": "Stage"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"id": "fsr-cnt",
|
|
86
|
-
"component": "Text",
|
|
87
|
-
"variant": "caption",
|
|
88
|
-
"color": "muted",
|
|
89
|
-
"textContent": "0"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"id": "fsr-bar",
|
|
93
|
-
"component": "Progress",
|
|
94
|
-
"value": 0,
|
|
95
|
-
"max": 100,
|
|
96
|
-
"variant": "success"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"id": "fsr-pct",
|
|
100
|
-
"component": "Badge",
|
|
101
|
-
"text": "0%",
|
|
102
|
-
"variant": "success"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"links": {
|
|
106
|
-
"uses_components": [
|
|
107
|
-
"Row",
|
|
108
|
-
"Column",
|
|
109
|
-
"Text",
|
|
110
|
-
"Progress",
|
|
111
|
-
"Badge"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
"metrics": { "leverage": 5, "pattern_count": 0, "instance_count": 5 }
|
|
115
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "stat-card",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "metric-tile",
|
|
7
|
-
"description": "Single stat tile — label, large value, optional trend indicator. The atomic dashboard KPI card.",
|
|
8
|
-
"shape": "Card(Section(Column(Text,Text,Text)))",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": ["metric", "kpi", "stat"],
|
|
11
|
-
"layout": "card"
|
|
12
|
-
},
|
|
13
|
-
"keywords": ["stat", "metric", "kpi", "dashboard", "number", "count", "trend"],
|
|
14
|
-
"slots": [
|
|
15
|
-
{ "name": "label", "targetId": "sc-label", "attribute": "textContent", "required": true },
|
|
16
|
-
{ "name": "value", "targetId": "sc-value", "attribute": "textContent", "required": true },
|
|
17
|
-
{ "name": "trend", "targetId": "sc-trend", "attribute": "textContent" }
|
|
18
|
-
],
|
|
19
|
-
"template": [
|
|
20
|
-
{ "id": "sc-card", "component": "Card", "children": ["sc-sec"] },
|
|
21
|
-
{ "id": "sc-sec", "component": "Section", "children": ["sc-col"] },
|
|
22
|
-
{ "id": "sc-col", "component": "Column", "children": ["sc-label", "sc-value", "sc-trend"], "gap": "1" },
|
|
23
|
-
{ "id": "sc-label", "component": "Text", "variant": "caption", "textContent": "Metric" },
|
|
24
|
-
{ "id": "sc-value", "component": "Text", "variant": "heading", "textContent": "0" },
|
|
25
|
-
{ "id": "sc-trend", "component": "Text", "variant": "caption", "textContent": "" }
|
|
26
|
-
],
|
|
27
|
-
"links": {
|
|
28
|
-
"uses_components": ["Card", "Section", "Column", "Text"]
|
|
29
|
-
},
|
|
30
|
-
"metrics": { "leverage": 33, "pattern_count": 0, "instance_count": 33 }
|
|
31
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Generated by scripts/generate-yaml-scaffolds.mjs
|
|
2
|
-
# Narrative doc — JSON sibling remains the canonical machine source.
|
|
3
|
-
# Fill in TODO sections by hand.
|
|
4
|
-
|
|
5
|
-
$schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
|
|
6
|
-
kind: fragment
|
|
7
|
-
name: stat-card
|
|
8
|
-
description: >-
|
|
9
|
-
Single stat tile — label, large value, optional trend indicator. The atomic dashboard KPI card.
|
|
10
|
-
keywords:
|
|
11
|
-
- stat
|
|
12
|
-
- metric
|
|
13
|
-
- kpi
|
|
14
|
-
- dashboard
|
|
15
|
-
- number
|
|
16
|
-
- count
|
|
17
|
-
- trend
|
|
18
|
-
slots:
|
|
19
|
-
label:
|
|
20
|
-
required: true
|
|
21
|
-
target: sc-label.textContent
|
|
22
|
-
description: "TODO: describe 'label' slot"
|
|
23
|
-
value:
|
|
24
|
-
required: true
|
|
25
|
-
target: sc-value.textContent
|
|
26
|
-
description: "TODO: describe 'value' slot"
|
|
27
|
-
trend:
|
|
28
|
-
required: false
|
|
29
|
-
target: sc-trend.textContent
|
|
30
|
-
description: "TODO: describe 'trend' slot"
|
|
31
|
-
leverage: 33
|
|
32
|
-
used_by: []
|
|
33
|
-
use-cases:
|
|
34
|
-
- "TODO: describe when to reach for this fragment"
|
|
35
|
-
components:
|
|
36
|
-
- Card
|
|
37
|
-
- Section
|
|
38
|
-
- Column
|
|
39
|
-
- Text
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "user-identity-row",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "user-identity",
|
|
7
|
-
"description": "Avatar paired with a stacked name + meta (role, email, timestamp). The canonical 'who is this' row used in chat, comments, member lists, and headers.",
|
|
8
|
-
"shape": "Row(Avatar,Column(Text,Text))",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": ["identity", "user"],
|
|
11
|
-
"layout": "row"
|
|
12
|
-
},
|
|
13
|
-
"keywords": ["user", "profile", "avatar", "identity", "member", "author", "comment"],
|
|
14
|
-
"slots": [
|
|
15
|
-
{ "name": "avatarName", "targetId": "u-av", "attribute": "name", "required": true, "description": "For avatar initials" },
|
|
16
|
-
{ "name": "avatarSrc", "targetId": "u-av", "attribute": "src", "required": false },
|
|
17
|
-
{ "name": "primary", "targetId": "u-p", "attribute": "textContent", "required": true, "description": "Display name" },
|
|
18
|
-
{ "name": "secondary", "targetId": "u-s", "attribute": "textContent", "required": false, "description": "Role, email, or timestamp" }
|
|
19
|
-
],
|
|
20
|
-
"template": [
|
|
21
|
-
{ "id": "u-root", "component": "Row", "children": ["u-av", "u-col"], "gap": "3" },
|
|
22
|
-
{ "id": "u-av", "component": "Avatar", "name": "User", "size": "md" },
|
|
23
|
-
{ "id": "u-col", "component": "Column", "children": ["u-p", "u-s"], "gap": "0" },
|
|
24
|
-
{ "id": "u-p", "component": "Text", "variant": "body", "textContent": "Name" },
|
|
25
|
-
{ "id": "u-s", "component": "Text", "variant": "caption", "color": "muted", "textContent": "Meta" }
|
|
26
|
-
],
|
|
27
|
-
"links": {
|
|
28
|
-
"uses_components": ["Row", "Avatar", "Column", "Text"],
|
|
29
|
-
"used_by": [],
|
|
30
|
-
"related": []
|
|
31
|
-
},
|
|
32
|
-
"metrics": { "leverage": 15, "pattern_count": 0, "instance_count": 15 }
|
|
33
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Generated by scripts/generate-yaml-scaffolds.mjs
|
|
2
|
-
# Narrative doc — JSON sibling remains the canonical machine source.
|
|
3
|
-
# Fill in TODO sections by hand.
|
|
4
|
-
|
|
5
|
-
$schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
|
|
6
|
-
kind: fragment
|
|
7
|
-
name: user-identity-row
|
|
8
|
-
description: >-
|
|
9
|
-
Avatar paired with a stacked name + meta (role, email, timestamp). The canonical 'who is this' row used in chat, comments, member lists, and headers.
|
|
10
|
-
keywords:
|
|
11
|
-
- user
|
|
12
|
-
- profile
|
|
13
|
-
- avatar
|
|
14
|
-
- identity
|
|
15
|
-
- member
|
|
16
|
-
- author
|
|
17
|
-
- comment
|
|
18
|
-
slots:
|
|
19
|
-
avatarName:
|
|
20
|
-
required: true
|
|
21
|
-
target: u-av.name
|
|
22
|
-
description: For avatar initials
|
|
23
|
-
avatarSrc:
|
|
24
|
-
required: false
|
|
25
|
-
target: u-av.src
|
|
26
|
-
description: "TODO: describe 'avatarSrc' slot"
|
|
27
|
-
primary:
|
|
28
|
-
required: true
|
|
29
|
-
target: u-p.textContent
|
|
30
|
-
description: Display name
|
|
31
|
-
secondary:
|
|
32
|
-
required: false
|
|
33
|
-
target: u-s.textContent
|
|
34
|
-
description: "Role, email, or timestamp"
|
|
35
|
-
leverage: 15
|
|
36
|
-
used_by: []
|
|
37
|
-
use-cases:
|
|
38
|
-
- "TODO: describe when to reach for this fragment"
|
|
39
|
-
components:
|
|
40
|
-
- Row
|
|
41
|
-
- Avatar
|
|
42
|
-
- Column
|
|
43
|
-
- Text
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "user-notification-row",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "user-activity-row",
|
|
7
|
-
"description": "User identity row (avatar + primary + secondary) paired with a trailing status badge — for activity feeds, notification centers, timeline entries where each row has an actor and a status/action label.",
|
|
8
|
-
"shape": "Row(Avatar,Column(Text,Text),Badge)",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": ["activity-row", "notification-row", "timeline-entry"],
|
|
11
|
-
"layout": "inline"
|
|
12
|
-
},
|
|
13
|
-
"keywords": ["activity", "notification", "feed", "timeline", "badge", "status", "user", "avatar", "timeline"],
|
|
14
|
-
"slots": [
|
|
15
|
-
{ "name": "avatarName", "targetId": "unr-avatar", "attribute": "name", "required": true, "defaultValue": "User" },
|
|
16
|
-
{ "name": "primary", "targetId": "unr-primary", "attribute": "textContent", "required": true, "defaultValue": "Activity" },
|
|
17
|
-
{ "name": "secondary", "targetId": "unr-secondary", "attribute": "textContent", "required": false, "defaultValue": "just now" },
|
|
18
|
-
{ "name": "badgeLabel", "targetId": "unr-badge", "attribute": "textContent", "required": true, "defaultValue": "New" },
|
|
19
|
-
{ "name": "badgeVariant","targetId": "unr-badge", "attribute": "variant", "required": false, "defaultValue": "info" }
|
|
20
|
-
],
|
|
21
|
-
"template": [
|
|
22
|
-
{ "id": "unr-root", "component": "Row", "children": ["unr-avatar", "unr-col", "unr-badge"], "gap": "3", "align": "center" },
|
|
23
|
-
{ "id": "unr-avatar", "component": "Avatar", "name": "User", "size": "sm" },
|
|
24
|
-
{ "id": "unr-col", "component": "Column", "children": ["unr-primary", "unr-secondary"], "gap": "0" },
|
|
25
|
-
{ "id": "unr-primary","component": "Text", "variant": "body", "textContent": "Activity" },
|
|
26
|
-
{ "id": "unr-secondary","component": "Text", "variant": "caption", "color": "muted", "textContent": "just now" },
|
|
27
|
-
{ "id": "unr-badge", "component": "Badge", "variant": "info", "textContent": "New" }
|
|
28
|
-
],
|
|
29
|
-
"links": {
|
|
30
|
-
"uses_components": ["Row", "Avatar", "Column", "Text", "Badge"],
|
|
31
|
-
"used_by": [],
|
|
32
|
-
"related": ["user-identity-row"]
|
|
33
|
-
},
|
|
34
|
-
"metrics": { "leverage": 15, "pattern_count": 0, "instance_count": 15 }
|
|
35
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Generated by scripts/generate-yaml-scaffolds.mjs
|
|
2
|
-
# Narrative doc — JSON sibling remains the canonical machine source.
|
|
3
|
-
# Fill in TODO sections by hand.
|
|
4
|
-
|
|
5
|
-
$schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
|
|
6
|
-
kind: fragment
|
|
7
|
-
name: user-notification-row
|
|
8
|
-
description: >-
|
|
9
|
-
User identity row (avatar + primary + secondary) paired with a trailing status badge — for activity feeds, notification centers, timeline entries where each row has an actor and a status/action label.
|
|
10
|
-
keywords:
|
|
11
|
-
- activity
|
|
12
|
-
- notification
|
|
13
|
-
- feed
|
|
14
|
-
- timeline
|
|
15
|
-
- badge
|
|
16
|
-
- status
|
|
17
|
-
- user
|
|
18
|
-
- avatar
|
|
19
|
-
- timeline
|
|
20
|
-
slots:
|
|
21
|
-
avatarName:
|
|
22
|
-
required: true
|
|
23
|
-
target: unr-avatar.name
|
|
24
|
-
description: "TODO: describe 'avatarName' slot"
|
|
25
|
-
primary:
|
|
26
|
-
required: true
|
|
27
|
-
target: unr-primary.textContent
|
|
28
|
-
description: "TODO: describe 'primary' slot"
|
|
29
|
-
secondary:
|
|
30
|
-
required: false
|
|
31
|
-
target: unr-secondary.textContent
|
|
32
|
-
description: "TODO: describe 'secondary' slot"
|
|
33
|
-
badgeLabel:
|
|
34
|
-
required: true
|
|
35
|
-
target: unr-badge.textContent
|
|
36
|
-
description: "TODO: describe 'badgeLabel' slot"
|
|
37
|
-
badgeVariant:
|
|
38
|
-
required: false
|
|
39
|
-
target: unr-badge.variant
|
|
40
|
-
description: "TODO: describe 'badgeVariant' slot"
|
|
41
|
-
leverage: 15
|
|
42
|
-
used_by: []
|
|
43
|
-
use-cases:
|
|
44
|
-
- "TODO: describe when to reach for this fragment"
|
|
45
|
-
components:
|
|
46
|
-
- Row
|
|
47
|
-
- Avatar
|
|
48
|
-
- Column
|
|
49
|
-
- Text
|
|
50
|
-
- Badge
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "wizard-step-row",
|
|
4
|
-
"version": 1,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "list-item-atom",
|
|
7
|
-
"description": "Flat row with icon, title, badge. Used inside larger step-list compositions.",
|
|
8
|
-
"shape": "Row(Icon,Text,Badge)",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": [
|
|
11
|
-
"row-atom"
|
|
12
|
-
],
|
|
13
|
-
"layout": "row"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"step row atom",
|
|
17
|
-
"checklist step atom"
|
|
18
|
-
],
|
|
19
|
-
"slots": [
|
|
20
|
-
{
|
|
21
|
-
"name": "icon",
|
|
22
|
-
"targetId": "wsr-icon",
|
|
23
|
-
"attribute": "name",
|
|
24
|
-
"required": true,
|
|
25
|
-
"defaultValue": "circle"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "title",
|
|
29
|
-
"targetId": "wsr-title",
|
|
30
|
-
"attribute": "textContent",
|
|
31
|
-
"required": true,
|
|
32
|
-
"defaultValue": "Step"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "badgeLabel",
|
|
36
|
-
"targetId": "wsr-badge",
|
|
37
|
-
"attribute": "text",
|
|
38
|
-
"required": false,
|
|
39
|
-
"defaultValue": "todo"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "badgeVariant",
|
|
43
|
-
"targetId": "wsr-badge",
|
|
44
|
-
"attribute": "variant",
|
|
45
|
-
"required": false,
|
|
46
|
-
"defaultValue": "neutral"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"template": [
|
|
50
|
-
{
|
|
51
|
-
"id": "wsr-root",
|
|
52
|
-
"component": "Row",
|
|
53
|
-
"gap": "2",
|
|
54
|
-
"align": "center",
|
|
55
|
-
"children": [
|
|
56
|
-
"wsr-icon",
|
|
57
|
-
"wsr-title",
|
|
58
|
-
"wsr-badge"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"id": "wsr-icon",
|
|
63
|
-
"component": "Icon",
|
|
64
|
-
"name": "circle"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"id": "wsr-title",
|
|
68
|
-
"component": "Text",
|
|
69
|
-
"textContent": "Step",
|
|
70
|
-
"grow": true
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"id": "wsr-badge",
|
|
74
|
-
"component": "Badge",
|
|
75
|
-
"text": "todo",
|
|
76
|
-
"variant": "neutral"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"links": {
|
|
80
|
-
"uses_components": [
|
|
81
|
-
"Row",
|
|
82
|
-
"Icon",
|
|
83
|
-
"Text",
|
|
84
|
-
"Badge"
|
|
85
|
-
],
|
|
86
|
-
"used_by": [],
|
|
87
|
-
"related": [
|
|
88
|
-
"icon-text-row"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
"metrics": {
|
|
92
|
-
"leverage": 4,
|
|
93
|
-
"pattern_count": 1,
|
|
94
|
-
"instance_count": 4
|
|
95
|
-
}
|
|
96
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../_schema.json",
|
|
3
|
-
"name": "labeled-checkbox",
|
|
4
|
-
"version": 3,
|
|
5
|
-
"kind": "fragment",
|
|
6
|
-
"semantic_role": "consent-field",
|
|
7
|
-
"description": "Single checkbox with its own label — for consent, opt-ins, boolean preferences. CheckBox carries the label natively; no Field wrapper. Wrapping in Field(inline) creates ghost rows + extra DOM and is the wrong pattern.",
|
|
8
|
-
"shape": "CheckBox",
|
|
9
|
-
"tags": {
|
|
10
|
-
"purpose": ["form-field", "consent"],
|
|
11
|
-
"layout": "inline"
|
|
12
|
-
},
|
|
13
|
-
"keywords": ["checkbox", "consent", "agree", "accept", "terms", "opt-in", "toggle", "remember-me"],
|
|
14
|
-
"slots": [
|
|
15
|
-
{ "name": "label", "targetId": "fcb-in", "attribute": "label", "required": true },
|
|
16
|
-
{ "name": "name", "targetId": "fcb-in", "attribute": "name", "required": true },
|
|
17
|
-
{ "name": "checked", "targetId": "fcb-in", "attribute": "checked", "defaultValue": false }
|
|
18
|
-
],
|
|
19
|
-
"template": [
|
|
20
|
-
{ "id": "fcb-in", "component": "CheckBox", "label": "Label", "name": "field", "checked": false }
|
|
21
|
-
],
|
|
22
|
-
"links": {
|
|
23
|
-
"uses_components": ["CheckBox"]
|
|
24
|
-
},
|
|
25
|
-
"metrics": { "leverage": 8, "pattern_count": 0, "instance_count": 8 }
|
|
26
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Generated by scripts/generate-yaml-scaffolds.mjs
|
|
2
|
-
# Narrative doc — JSON sibling remains the canonical machine source.
|
|
3
|
-
# Fill in TODO sections by hand.
|
|
4
|
-
|
|
5
|
-
$schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
|
|
6
|
-
kind: fragment
|
|
7
|
-
name: labeled-checkbox
|
|
8
|
-
description: >-
|
|
9
|
-
Checkbox with an inline label. Use for terms acceptance, opt-ins, boolean preferences in forms.
|
|
10
|
-
keywords:
|
|
11
|
-
- checkbox
|
|
12
|
-
- consent
|
|
13
|
-
- agree
|
|
14
|
-
- accept
|
|
15
|
-
- terms
|
|
16
|
-
- opt-in
|
|
17
|
-
- toggle
|
|
18
|
-
slots:
|
|
19
|
-
label:
|
|
20
|
-
required: true
|
|
21
|
-
target: fcb-in.label
|
|
22
|
-
description: "TODO: describe 'label' slot"
|
|
23
|
-
name:
|
|
24
|
-
required: true
|
|
25
|
-
target: fcb-in.name
|
|
26
|
-
description: "TODO: describe 'name' slot"
|
|
27
|
-
checked:
|
|
28
|
-
required: false
|
|
29
|
-
target: fcb-in.checked
|
|
30
|
-
description: "TODO: describe 'checked' slot"
|
|
31
|
-
leverage: 8
|
|
32
|
-
used_by: []
|
|
33
|
-
use-cases:
|
|
34
|
-
- "TODO: describe when to reach for this fragment"
|
|
35
|
-
components:
|
|
36
|
-
- CheckBox
|