@adia-ai/a2ui-corpus 0.0.1
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 +98 -0
- package/README.md +168 -0
- package/catalog-a2ui_0_9.json +12554 -0
- package/catalog-a2ui_0_9_rules.txt +54 -0
- package/compositions/_schema.json +26 -0
- package/compositions/agent/ai-streaming-response.json +19 -0
- package/compositions/agent/ai-streaming-response.yaml +32 -0
- package/compositions/agent/alert-banner.json +23 -0
- package/compositions/agent/alert-banner.yaml +34 -0
- package/compositions/agent/chat-interface.json +127 -0
- package/compositions/agent/chat-interface.yaml +34 -0
- package/compositions/agent/command-palette.json +113 -0
- package/compositions/agent/command-palette.yaml +30 -0
- package/compositions/agent/empty-state.json +22 -0
- package/compositions/agent/empty-state.yaml +35 -0
- package/compositions/agent/error-state-retry.json +32 -0
- package/compositions/agent/loading-skeleton.json +25 -0
- package/compositions/agent/loading-skeleton.yaml +31 -0
- package/compositions/agent/notification-preferences.json +177 -0
- package/compositions/agent/toast-stack.json +17 -0
- package/compositions/agent/toast-stack.yaml +28 -0
- package/compositions/data/activity-feed.json +31 -0
- package/compositions/data/activity-feed.yaml +43 -0
- package/compositions/data/audit-log-viewer.json +75 -0
- package/compositions/data/bookmark-list.json +32 -0
- package/compositions/data/bookmark-list.yaml +41 -0
- package/compositions/data/bulk-action-toolbar.json +28 -0
- package/compositions/data/changelog-feed.json +54 -0
- package/compositions/data/chart-dashboard.json +26 -0
- package/compositions/data/chart-dashboard.yaml +34 -0
- package/compositions/data/cohort-retention.json +50 -0
- package/compositions/data/column-manager.json +321 -0
- package/compositions/data/data-table-paginated.json +29 -0
- package/compositions/data/data-table-paginated.yaml +36 -0
- package/compositions/data/email-inbox-list.json +30 -0
- package/compositions/data/email-inbox-list.yaml +41 -0
- package/compositions/data/funnel-analytics.json +34 -0
- package/compositions/data/heatmap-calendar.json +122 -0
- package/compositions/data/invoice-table.json +26 -0
- package/compositions/data/invoice-table.yaml +33 -0
- package/compositions/data/kpi-overview.json +28 -0
- package/compositions/data/kpi-overview.yaml +42 -0
- package/compositions/data/notification-center.json +31 -0
- package/compositions/data/notification-center.yaml +41 -0
- package/compositions/data/object-inspector.json +53 -0
- package/compositions/data/product-specs-card.json +19 -0
- package/compositions/data/product-specs-card.yaml +35 -0
- package/compositions/data/progress-tracker.json +27 -0
- package/compositions/data/progress-tracker.yaml +47 -0
- package/compositions/data/review-card.json +21 -0
- package/compositions/data/review-card.yaml +34 -0
- package/compositions/data/saved-views-filter-bar.json +52 -0
- package/compositions/data/shopping-cart-summary.json +28 -0
- package/compositions/data/shopping-cart-summary.yaml +43 -0
- package/compositions/data/stat-card-dashboard.json +30 -0
- package/compositions/data/stat-card-dashboard.yaml +44 -0
- package/compositions/data/status-page.json +48 -0
- package/compositions/data/virtualized-table.json +50 -0
- package/compositions/data/weather-widget.json +20 -0
- package/compositions/data/weather-widget.yaml +31 -0
- package/compositions/form/data-import-wizard.json +217 -0
- package/compositions/forms/change-password-form.json +32 -0
- package/compositions/forms/change-password-form.yaml +44 -0
- package/compositions/forms/color-picker-panel.json +25 -0
- package/compositions/forms/color-picker-panel.yaml +36 -0
- package/compositions/forms/contact-form.json +49 -0
- package/compositions/forms/contact-form.yaml +54 -0
- package/compositions/forms/credit-card-payment-form.json +33 -0
- package/compositions/forms/credit-card-payment-form.yaml +46 -0
- package/compositions/forms/data-import-mapper.json +247 -0
- package/compositions/forms/date-time-picker-form.json +23 -0
- package/compositions/forms/date-time-picker-form.yaml +38 -0
- package/compositions/forms/destructive-confirm.json +43 -0
- package/compositions/forms/feedback-form.json +30 -0
- package/compositions/forms/feedback-form.yaml +41 -0
- package/compositions/forms/file-upload-form.json +28 -0
- package/compositions/forms/file-upload-form.yaml +37 -0
- package/compositions/forms/login-form.json +71 -0
- package/compositions/forms/login-form.yaml +43 -0
- package/compositions/forms/multi-step-wizard.json +27 -0
- package/compositions/forms/multi-step-wizard.yaml +37 -0
- package/compositions/forms/newsletter-subscription-form.json +28 -0
- package/compositions/forms/newsletter-subscription-form.yaml +40 -0
- package/compositions/forms/otp-verification-form.json +29 -0
- package/compositions/forms/otp-verification-form.yaml +42 -0
- package/compositions/forms/password-reset-form.json +28 -0
- package/compositions/forms/password-reset-form.yaml +40 -0
- package/compositions/forms/permission-matrix.json +40 -0
- package/compositions/forms/profile-edit-form.json +32 -0
- package/compositions/forms/profile-edit-form.yaml +46 -0
- package/compositions/forms/radio-group-form.json +30 -0
- package/compositions/forms/radio-group-form.yaml +39 -0
- package/compositions/forms/search-filters.json +30 -0
- package/compositions/forms/search-filters.yaml +41 -0
- package/compositions/forms/settings-toggles-page.json +32 -0
- package/compositions/forms/settings-toggles-page.yaml +43 -0
- package/compositions/forms/signup-form.json +34 -0
- package/compositions/forms/signup-form.yaml +48 -0
- package/compositions/forms/slider-range-form.json +17 -0
- package/compositions/forms/slider-range-form.yaml +34 -0
- package/compositions/forms/tag-input-form.json +24 -0
- package/compositions/forms/tag-input-form.yaml +31 -0
- package/compositions/forms/team-members-rbac.json +279 -0
- package/compositions/layout/accordion-settings.json +56 -0
- package/compositions/layout/avatar-group-display.json +20 -0
- package/compositions/layout/avatar-group-display.yaml +30 -0
- package/compositions/layout/badge-variants-display.json +27 -0
- package/compositions/layout/badge-variants-display.yaml +31 -0
- package/compositions/layout/bento-overview.json +40 -0
- package/compositions/layout/calendar-month-view.json +209 -0
- package/compositions/layout/calendar-month-view.yaml +29 -0
- package/compositions/layout/code-block.json +21 -0
- package/compositions/layout/code-block.yaml +30 -0
- package/compositions/layout/comparison-table.json +28 -0
- package/compositions/layout/comparison-table.yaml +32 -0
- package/compositions/layout/divider-with-label.json +17 -0
- package/compositions/layout/divider-with-label.yaml +29 -0
- package/compositions/layout/drawer-panel.json +23 -0
- package/compositions/layout/drawer-panel.yaml +34 -0
- package/compositions/layout/embed-iframe.json +19 -0
- package/compositions/layout/embed-iframe.yaml +31 -0
- package/compositions/layout/faq-accordion.json +85 -0
- package/compositions/layout/faq-accordion.yaml +32 -0
- package/compositions/layout/feature-grid.json +33 -0
- package/compositions/layout/feature-grid.yaml +42 -0
- package/compositions/layout/footer-nav.json +30 -0
- package/compositions/layout/footer-nav.yaml +35 -0
- package/compositions/layout/hero-cta.json +24 -0
- package/compositions/layout/hero-cta.yaml +35 -0
- package/compositions/layout/image-gallery.json +20 -0
- package/compositions/layout/image-gallery.yaml +43 -0
- package/compositions/layout/image-with-caption.json +19 -0
- package/compositions/layout/image-with-caption.yaml +29 -0
- package/compositions/layout/kanban-board.json +38 -0
- package/compositions/layout/kanban-board.yaml +37 -0
- package/compositions/layout/keyboard-shortcuts.json +26 -0
- package/compositions/layout/keyboard-shortcuts.yaml +42 -0
- package/compositions/layout/markdown-editor-preview.json +166 -0
- package/compositions/layout/media-player.json +22 -0
- package/compositions/layout/media-player.yaml +30 -0
- package/compositions/layout/modal-form.json +22 -0
- package/compositions/layout/modal-form.yaml +34 -0
- package/compositions/layout/onboarding-checklist.json +94 -0
- package/compositions/layout/onboarding-checklist.yaml +31 -0
- package/compositions/layout/popover-tooltip.json +21 -0
- package/compositions/layout/popover-tooltip.yaml +31 -0
- package/compositions/layout/pricing-tiers.json +42 -0
- package/compositions/layout/pricing-tiers.yaml +41 -0
- package/compositions/layout/product-card.json +28 -0
- package/compositions/layout/product-card.yaml +35 -0
- package/compositions/layout/sidebar-layout.json +24 -0
- package/compositions/layout/sidebar-layout.yaml +39 -0
- package/compositions/layout/split-pane-layout.json +20 -0
- package/compositions/layout/split-pane-layout.yaml +31 -0
- package/compositions/layout/tabs-panel.json +25 -0
- package/compositions/layout/tabs-panel.yaml +34 -0
- package/compositions/layout/testimonial-grid.json +42 -0
- package/compositions/layout/testimonial-grid.yaml +39 -0
- package/compositions/layout/three-pane-shell.json +316 -0
- package/compositions/layout/toolbar-actions.json +22 -0
- package/compositions/layout/toolbar-actions.yaml +29 -0
- package/compositions/navigation/breadcrumb-nav.json +18 -0
- package/compositions/navigation/breadcrumb-nav.yaml +29 -0
- package/compositions/navigation/nav-menu-with-icons.json +25 -0
- package/compositions/navigation/nav-menu-with-icons.yaml +39 -0
- package/compositions/navigation/pagination-controls.json +44 -0
- package/compositions/navigation/pagination-controls.yaml +34 -0
- package/compositions/navigation/segmented-control-tabs.json +17 -0
- package/compositions/navigation/segmented-control-tabs.yaml +29 -0
- package/compositions/navigation/workspace-switcher.json +29 -0
- package/compositions/settings/api-keys.json +57 -0
- package/compositions/settings/feature-flags.json +41 -0
- package/compositions/settings/integrations-gallery.json +66 -0
- package/compositions/settings/session-device-mgmt.json +52 -0
- package/compositions/settings/usage-quota-meter.json +47 -0
- package/compositions/settings/webhooks.json +62 -0
- package/exemplars/AUDIT-REPORT.md +116 -0
- package/exemplars/blocks-reference.md +409 -0
- package/exemplars/index.html +21 -0
- package/exemplars/prose/auth-login/a2ui.json +2143 -0
- package/exemplars/prose/auth-login/auth-login.yaml +38 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-1.json +316 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-10.json +102 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-11.json +100 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-12.json +101 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-13.json +117 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-2.json +132 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-3.json +190 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-4.json +64 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-5.json +68 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-6.json +117 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-7.json +86 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-8.json +218 -0
- package/exemplars/prose/auth-login/chunks/prose-auth-login-card-9.json +81 -0
- package/exemplars/prose/auth-login/index.html +539 -0
- package/exemplars/prose/cta/README.md +3 -0
- package/exemplars/prose/cta/a2ui.json +570 -0
- package/exemplars/prose/cta/chunks/prose-cta-card-1.json +191 -0
- package/exemplars/prose/cta/chunks/prose-cta-card-2.json +96 -0
- package/exemplars/prose/cta/cta.yaml +38 -0
- package/exemplars/prose/cta/data.json +6 -0
- package/exemplars/prose/cta/index.html +143 -0
- package/exemplars/prose/feature-grid/README.md +3 -0
- package/exemplars/prose/feature-grid/a2ui.json +464 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-1.json +72 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-2.json +72 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-3.json +72 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-4.json +72 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-5.json +72 -0
- package/exemplars/prose/feature-grid/chunks/prose-feature-grid-card-6.json +72 -0
- package/exemplars/prose/feature-grid/data.json +13 -0
- package/exemplars/prose/feature-grid/feature-grid.yaml +35 -0
- package/exemplars/prose/feature-grid/index.html +103 -0
- package/exemplars/prose/footer/README.md +3 -0
- package/exemplars/prose/footer/a2ui.json +359 -0
- package/exemplars/prose/footer/data.json +10 -0
- package/exemplars/prose/footer/footer.yaml +32 -0
- package/exemplars/prose/footer/index.html +110 -0
- package/exemplars/prose/hero/README.md +3 -0
- package/exemplars/prose/hero/a2ui.json +982 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-1.json +52 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-2.json +52 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-3.json +50 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-4.json +50 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-5.json +50 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-6.json +70 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-7.json +70 -0
- package/exemplars/prose/hero/chunks/prose-hero-card-8.json +70 -0
- package/exemplars/prose/hero/data.json +6 -0
- package/exemplars/prose/hero/hero.yaml +38 -0
- package/exemplars/prose/hero/index.html +227 -0
- package/exemplars/prose/pricing/README.md +3 -0
- package/exemplars/prose/pricing/a2ui.json +1367 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-1.json +240 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-2.json +312 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-3.json +333 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-4.json +51 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-5.json +51 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-6.json +51 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-7.json +51 -0
- package/exemplars/prose/pricing/chunks/prose-pricing-card-8.json +80 -0
- package/exemplars/prose/pricing/data.json +9 -0
- package/exemplars/prose/pricing/index.html +308 -0
- package/exemplars/prose/pricing/pricing.yaml +38 -0
- package/exemplars/prose/steps/README.md +3 -0
- package/exemplars/prose/steps/a2ui.json +662 -0
- package/exemplars/prose/steps/chunks/prose-steps-card-1.json +129 -0
- package/exemplars/prose/steps/chunks/prose-steps-card-2.json +114 -0
- package/exemplars/prose/steps/chunks/prose-steps-card-3.json +182 -0
- package/exemplars/prose/steps/chunks/prose-steps-card-4.json +172 -0
- package/exemplars/prose/steps/data.json +31 -0
- package/exemplars/prose/steps/index.html +173 -0
- package/exemplars/prose/steps/setup.js +12 -0
- package/exemplars/prose/steps/steps.yaml +38 -0
- package/exemplars/prose/testimonials/README.md +3 -0
- package/exemplars/prose/testimonials/a2ui.json +1373 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-1.json +182 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-2.json +145 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-3.json +146 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-4.json +146 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-5.json +146 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-6.json +146 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-7.json +146 -0
- package/exemplars/prose/testimonials/chunks/prose-testimonials-card-8.json +173 -0
- package/exemplars/prose/testimonials/data.json +14 -0
- package/exemplars/prose/testimonials/index.html +294 -0
- package/exemplars/prose/testimonials/testimonials.yaml +33 -0
- package/exemplars/ui/auth-login/a2ui.json +1821 -0
- package/exemplars/ui/auth-login/auth-login.yaml +38 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-1.json +172 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-10.json +123 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-11.json +101 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-12.json +108 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-2.json +153 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-3.json +201 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-4.json +148 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-5.json +91 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-6.json +112 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-7.json +100 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-8.json +99 -0
- package/exemplars/ui/auth-login/chunks/auth-login-card-9.json +286 -0
- package/exemplars/ui/auth-login/index.html +383 -0
- package/fragments/_schema.json +72 -0
- package/fragments/action/dual-cta-row.json +29 -0
- package/fragments/action/dual-cta-row.yaml +34 -0
- package/fragments/action/footer-cancel-save.json +31 -0
- package/fragments/action/footer-cancel-save.yaml +34 -0
- package/fragments/action/footer-primary-only.json +23 -0
- package/fragments/action/footer-primary-only.yaml +26 -0
- package/fragments/content/calendar-day-cell.json +29 -0
- package/fragments/content/chart-legend.json +122 -0
- package/fragments/content/column-config-atom.json +121 -0
- package/fragments/content/credential-entry-atom.json +128 -0
- package/fragments/content/directory-entry-atom.json +150 -0
- package/fragments/content/email-row.json +35 -0
- package/fragments/content/email-row.yaml +43 -0
- package/fragments/content/faq-item.json +54 -0
- package/fragments/content/health-entry-atom.json +87 -0
- package/fragments/content/icon-text-row.json +29 -0
- package/fragments/content/icon-text-row.yaml +36 -0
- package/fragments/content/icon-title-description.json +30 -0
- package/fragments/content/icon-title-description.yaml +37 -0
- package/fragments/content/image-tile.json +28 -0
- package/fragments/content/image-tile.yaml +32 -0
- package/fragments/content/incident-row.json +109 -0
- package/fragments/content/kbd-shortcut-row.json +29 -0
- package/fragments/content/kbd-shortcut-row.yaml +33 -0
- package/fragments/content/key-value-row.json +29 -0
- package/fragments/content/key-value-row.yaml +36 -0
- package/fragments/content/labeled-progress.json +29 -0
- package/fragments/content/labeled-progress.yaml +33 -0
- package/fragments/content/link-list-column.json +33 -0
- package/fragments/content/link-list-column.yaml +41 -0
- package/fragments/content/linked-record-row.json +95 -0
- package/fragments/content/marketplace-tile-atom.json +149 -0
- package/fragments/content/metadata-description-list.json +28 -0
- package/fragments/content/metadata-description-list.yaml +36 -0
- package/fragments/content/pending-invite-row.json +113 -0
- package/fragments/content/release-entry.json +159 -0
- package/fragments/content/rollout-entry-atom.json +170 -0
- package/fragments/content/signed-in-entry-atom.json +159 -0
- package/fragments/content/stage-entry-atom.json +117 -0
- package/fragments/content/stat-card.json +31 -0
- package/fragments/content/stat-card.yaml +39 -0
- package/fragments/content/user-identity-row.json +33 -0
- package/fragments/content/user-identity-row.yaml +43 -0
- package/fragments/content/user-notification-row.json +35 -0
- package/fragments/content/user-notification-row.yaml +50 -0
- package/fragments/content/wizard-step-row.json +96 -0
- package/fragments/form/labeled-checkbox.json +27 -0
- package/fragments/form/labeled-checkbox.yaml +36 -0
- package/fragments/form/labeled-input.json +28 -0
- package/fragments/form/labeled-input.yaml +38 -0
- package/fragments/form/labeled-slider.json +34 -0
- package/fragments/form/labeled-slider.yaml +50 -0
- package/fragments/form/labeled-textarea.json +28 -0
- package/fragments/form/labeled-textarea.yaml +39 -0
- package/fragments/form/labeled-toggle.json +29 -0
- package/fragments/form/labeled-toggle.yaml +43 -0
- package/fragments/form/rating-row.json +31 -0
- package/fragments/form/rating-row.yaml +40 -0
- package/fragments/layout/card-header-heading.json +39 -0
- package/fragments/layout/card-header-heading.yaml +27 -0
- package/fragments/layout/card-header-with-badge.json +30 -0
- package/fragments/layout/card-header-with-badge.yaml +40 -0
- package/fragments/layout/card-header-with-description.json +29 -0
- package/fragments/layout/card-header-with-description.yaml +32 -0
- package/fragments/layout/pricing-tier-card.json +37 -0
- package/fragments/layout/pricing-tier-card.yaml +50 -0
- package/fragments/layout/text-card.json +28 -0
- package/fragments/layout/text-card.yaml +30 -0
- package/manifest.json +6 -0
- package/package.json +33 -0
- package/patterns/_components.json +3320 -0
- package/patterns/_index.json +3232 -0
- package/patterns/_schema.json +206 -0
- package/patterns/_taxonomy.json +1970 -0
- package/patterns/agent/_domain.json +27 -0
- package/patterns/agent/alert-banner.json +41 -0
- package/patterns/agent/alert-banner.yaml +38 -0
- package/patterns/agent/chat-interface.json +205 -0
- package/patterns/agent/chat-interface.yaml +58 -0
- package/patterns/agent/command-palette.json +169 -0
- package/patterns/agent/command-palette.yaml +48 -0
- package/patterns/agent/empty-state.json +77 -0
- package/patterns/agent/empty-state.yaml +44 -0
- package/patterns/agent/error-state.json +67 -0
- package/patterns/agent/error-state.yaml +43 -0
- package/patterns/agent/loading-skeleton.json +101 -0
- package/patterns/agent/loading-skeleton.yaml +41 -0
- package/patterns/agent/notifications.json +87 -0
- package/patterns/agent/notifications.yaml +41 -0
- package/patterns/agent/streaming-response.json +58 -0
- package/patterns/agent/streaming-response.yaml +41 -0
- package/patterns/agent/toast-notification.json +70 -0
- package/patterns/agent/toast-notification.yaml +45 -0
- package/patterns/data/_domain.json +35 -0
- package/patterns/data/admin-dashboard-with-charts.json +755 -0
- package/patterns/data/admin-dashboard-with-charts.yaml +79 -0
- package/patterns/data/api-key-table.json +131 -0
- package/patterns/data/api-key-table.yaml +43 -0
- package/patterns/data/bookmark-list-categories.json +143 -0
- package/patterns/data/bookmark-list-categories.yaml +53 -0
- package/patterns/data/bookmark-list.json +163 -0
- package/patterns/data/bookmark-list.yaml +47 -0
- package/patterns/data/chart-dashboard.json +335 -0
- package/patterns/data/chart-dashboard.yaml +48 -0
- package/patterns/data/dashboard.json +153 -0
- package/patterns/data/dashboard.yaml +45 -0
- package/patterns/data/data-table-view.json +121 -0
- package/patterns/data/data-table-view.yaml +61 -0
- package/patterns/data/email-inbox.json +272 -0
- package/patterns/data/email-inbox.yaml +48 -0
- package/patterns/data/event-calendar-details.json +334 -0
- package/patterns/data/event-calendar-details.yaml +57 -0
- package/patterns/data/inventory-table.json +119 -0
- package/patterns/data/inventory-table.yaml +42 -0
- package/patterns/data/leaderboard.json +131 -0
- package/patterns/data/leaderboard.yaml +41 -0
- package/patterns/data/metrics.json +163 -0
- package/patterns/data/metrics.yaml +40 -0
- package/patterns/data/notification-center.json +264 -0
- package/patterns/data/notification-center.yaml +56 -0
- package/patterns/data/onboarding-checklist.json +114 -0
- package/patterns/data/onboarding-checklist.yaml +43 -0
- package/patterns/data/order-tracking.json +167 -0
- package/patterns/data/order-tracking.yaml +48 -0
- package/patterns/data/pagination-nav.json +48 -0
- package/patterns/data/pagination-nav.yaml +42 -0
- package/patterns/data/progress-dashboard.json +195 -0
- package/patterns/data/progress-dashboard.yaml +50 -0
- package/patterns/data/progress-tracker.json +119 -0
- package/patterns/data/progress-tracker.yaml +44 -0
- package/patterns/data/restaurant-menu.json +271 -0
- package/patterns/data/restaurant-menu.yaml +58 -0
- package/patterns/data/stat-cards.json +144 -0
- package/patterns/data/stat-cards.yaml +42 -0
- package/patterns/data/team-activity.json +170 -0
- package/patterns/data/team-activity.yaml +46 -0
- package/patterns/forms/_domain.json +32 -0
- package/patterns/forms/auth-signup.json +221 -0
- package/patterns/forms/auth-signup.yaml +55 -0
- package/patterns/forms/bleed-design-settings.json +201 -0
- package/patterns/forms/bleed-design-settings.yaml +57 -0
- package/patterns/forms/color-picker-demo.json +52 -0
- package/patterns/forms/color-picker-demo.yaml +43 -0
- package/patterns/forms/color-picker-panel.json +48 -0
- package/patterns/forms/color-picker-panel.yaml +38 -0
- package/patterns/forms/color-theme-builder.json +198 -0
- package/patterns/forms/color-theme-builder.yaml +55 -0
- package/patterns/forms/create-form.json +191 -0
- package/patterns/forms/create-form.yaml +55 -0
- package/patterns/forms/credit-card-payment.json +282 -0
- package/patterns/forms/credit-card-payment.yaml +61 -0
- package/patterns/forms/data-import.json +111 -0
- package/patterns/forms/data-import.yaml +49 -0
- package/patterns/forms/date-picker.json +85 -0
- package/patterns/forms/date-picker.yaml +44 -0
- package/patterns/forms/date-range-picker.json +155 -0
- package/patterns/forms/date-range-picker.yaml +54 -0
- package/patterns/forms/file-upload-form.json +151 -0
- package/patterns/forms/file-upload-form.yaml +60 -0
- package/patterns/forms/file-upload-gallery.json +174 -0
- package/patterns/forms/file-upload-gallery.yaml +56 -0
- package/patterns/forms/image-upload-preview.json +72 -0
- package/patterns/forms/image-upload-preview.yaml +42 -0
- package/patterns/forms/login-form.json +213 -0
- package/patterns/forms/login-form.yaml +61 -0
- package/patterns/forms/modal-dialog-form.json +233 -0
- package/patterns/forms/modal-dialog-form.yaml +52 -0
- package/patterns/forms/newsletter-subscribe.json +69 -0
- package/patterns/forms/newsletter-subscribe.yaml +47 -0
- package/patterns/forms/notification-filters.json +345 -0
- package/patterns/forms/notification-filters.yaml +80 -0
- package/patterns/forms/notification-preferences.json +302 -0
- package/patterns/forms/notification-preferences.yaml +66 -0
- package/patterns/forms/otp-form.json +89 -0
- package/patterns/forms/otp-form.yaml +46 -0
- package/patterns/forms/otp-verification.json +128 -0
- package/patterns/forms/otp-verification.yaml +52 -0
- package/patterns/forms/password-reset.json +206 -0
- package/patterns/forms/password-reset.yaml +56 -0
- package/patterns/forms/price-range-filter.json +133 -0
- package/patterns/forms/price-range-filter.yaml +51 -0
- package/patterns/forms/radio-group-selection.json +209 -0
- package/patterns/forms/radio-group-selection.yaml +51 -0
- package/patterns/forms/radio-group.json +143 -0
- package/patterns/forms/radio-group.yaml +50 -0
- package/patterns/forms/search-filters.json +201 -0
- package/patterns/forms/search-filters.yaml +60 -0
- package/patterns/forms/settings-page.json +364 -0
- package/patterns/forms/settings-page.yaml +64 -0
- package/patterns/forms/slider-range.json +119 -0
- package/patterns/forms/slider-range.yaml +45 -0
- package/patterns/forms/survey-rating-scales.json +450 -0
- package/patterns/forms/survey-rating-scales.yaml +69 -0
- package/patterns/forms/tag-input.json +112 -0
- package/patterns/forms/tag-input.yaml +47 -0
- package/patterns/forms/theme-customizer.json +180 -0
- package/patterns/forms/theme-customizer.yaml +53 -0
- package/patterns/forms/two-factor-auth.json +99 -0
- package/patterns/forms/two-factor-auth.yaml +62 -0
- package/patterns/forms/volume-control.json +99 -0
- package/patterns/forms/volume-control.yaml +47 -0
- package/patterns/forms/wizard-steps.json +130 -0
- package/patterns/forms/wizard-steps.yaml +58 -0
- package/patterns/layout/_domain.json +29 -0
- package/patterns/layout/accordion-settings.json +345 -0
- package/patterns/layout/accordion-settings.yaml +55 -0
- package/patterns/layout/avatar-group.json +136 -0
- package/patterns/layout/avatar-group.yaml +47 -0
- package/patterns/layout/badge-showcase.json +244 -0
- package/patterns/layout/badge-showcase.yaml +46 -0
- package/patterns/layout/calendar-view.json +88 -0
- package/patterns/layout/calendar-view.yaml +42 -0
- package/patterns/layout/code-block.json +88 -0
- package/patterns/layout/code-block.yaml +47 -0
- package/patterns/layout/consent-banner.json +89 -0
- package/patterns/layout/consent-banner.yaml +50 -0
- package/patterns/layout/cta-banner.json +99 -0
- package/patterns/layout/cta-banner.yaml +46 -0
- package/patterns/layout/divider-label.json +68 -0
- package/patterns/layout/divider-label.yaml +42 -0
- package/patterns/layout/drawer-panel.json +220 -0
- package/patterns/layout/drawer-panel.yaml +54 -0
- package/patterns/layout/embed-content.json +86 -0
- package/patterns/layout/embed-content.yaml +46 -0
- package/patterns/layout/faq-accordion.json +159 -0
- package/patterns/layout/faq-accordion.yaml +47 -0
- package/patterns/layout/feature-carousel.json +263 -0
- package/patterns/layout/feature-carousel.yaml +47 -0
- package/patterns/layout/feature-grid.json +197 -0
- package/patterns/layout/feature-grid.yaml +45 -0
- package/patterns/layout/hero-section.json +109 -0
- package/patterns/layout/hero-section.yaml +46 -0
- package/patterns/layout/image-caption.json +48 -0
- package/patterns/layout/image-caption.yaml +37 -0
- package/patterns/layout/image-carousel.json +173 -0
- package/patterns/layout/image-carousel.yaml +47 -0
- package/patterns/layout/image-gallery.json +128 -0
- package/patterns/layout/image-gallery.yaml +45 -0
- package/patterns/layout/kanban-board.json +292 -0
- package/patterns/layout/kanban-board.yaml +58 -0
- package/patterns/layout/kbd-shortcuts.json +178 -0
- package/patterns/layout/kbd-shortcuts.yaml +43 -0
- package/patterns/layout/markdown-editor.json +126 -0
- package/patterns/layout/markdown-editor.yaml +46 -0
- package/patterns/layout/music-player.json +107 -0
- package/patterns/layout/music-player.yaml +42 -0
- package/patterns/layout/pagination-demo.json +55 -0
- package/patterns/layout/pagination-demo.yaml +44 -0
- package/patterns/layout/pagination-table.json +107 -0
- package/patterns/layout/pagination-table.yaml +59 -0
- package/patterns/layout/popover-demo.json +71 -0
- package/patterns/layout/popover-demo.yaml +46 -0
- package/patterns/layout/popover-menu.json +117 -0
- package/patterns/layout/popover-menu.yaml +45 -0
- package/patterns/layout/pricing-tiers.json +354 -0
- package/patterns/layout/pricing-tiers.yaml +52 -0
- package/patterns/layout/product-card.json +89 -0
- package/patterns/layout/product-card.yaml +46 -0
- package/patterns/layout/product-carousel.json +251 -0
- package/patterns/layout/product-carousel.yaml +47 -0
- package/patterns/layout/social-post.json +119 -0
- package/patterns/layout/social-post.yaml +45 -0
- package/patterns/layout/split-pane.json +69 -0
- package/patterns/layout/split-pane.yaml +41 -0
- package/patterns/layout/swiper-carousel.json +97 -0
- package/patterns/layout/swiper-carousel.yaml +55 -0
- package/patterns/layout/tabs-panels.json +173 -0
- package/patterns/layout/tabs-panels.yaml +46 -0
- package/patterns/layout/team-carousel.json +332 -0
- package/patterns/layout/team-carousel.yaml +50 -0
- package/patterns/layout/testimonials-carousel.json +281 -0
- package/patterns/layout/testimonials-carousel.yaml +50 -0
- package/patterns/layout/testimonials-grid.json +286 -0
- package/patterns/layout/testimonials-grid.yaml +46 -0
- package/patterns/layout/toolbar-buttons.json +179 -0
- package/patterns/layout/toolbar-buttons.yaml +47 -0
- package/patterns/layout/tooltip-buttons.json +127 -0
- package/patterns/layout/tooltip-buttons.yaml +44 -0
- package/patterns/layout/user-profile.json +123 -0
- package/patterns/layout/user-profile.yaml +45 -0
- package/patterns/layout/video-player.json +95 -0
- package/patterns/layout/video-player.yaml +45 -0
- package/patterns/layout/weather-widget.json +127 -0
- package/patterns/layout/weather-widget.yaml +46 -0
- package/patterns/navigation/_domain.json +25 -0
- package/patterns/navigation/breadcrumb-nav.json +57 -0
- package/patterns/navigation/breadcrumb-nav.yaml +39 -0
- package/patterns/navigation/nav-menu-icons.json +71 -0
- package/patterns/navigation/nav-menu-icons.yaml +38 -0
- package/patterns/navigation/section-subnav.json +79 -0
- package/patterns/navigation/segmented-control.json +56 -0
- package/patterns/navigation/segmented-control.yaml +40 -0
- package/patterns/navigation/sidebar-nav.json +207 -0
- package/patterns/navigation/sidebar-nav.yaml +44 -0
- package/patterns/settings/settings-page.json +280 -0
- package/patterns/settings/settings-page.yaml +51 -0
|
@@ -0,0 +1,44 @@
|
|
|
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/composition.yaml.schema.json
|
|
6
|
+
kind: composition
|
|
7
|
+
name: change-password-form
|
|
8
|
+
domain: forms
|
|
9
|
+
description: >-
|
|
10
|
+
Change existing password — current password plus new password with confirmation.
|
|
11
|
+
keywords:
|
|
12
|
+
- change password
|
|
13
|
+
- update password
|
|
14
|
+
- security
|
|
15
|
+
- credentials
|
|
16
|
+
tags:
|
|
17
|
+
purpose:
|
|
18
|
+
- auth
|
|
19
|
+
- account
|
|
20
|
+
- security
|
|
21
|
+
complexity: simple
|
|
22
|
+
layout: single-column
|
|
23
|
+
interaction:
|
|
24
|
+
- form-submit
|
|
25
|
+
related:
|
|
26
|
+
- password-reset-form
|
|
27
|
+
- login-form
|
|
28
|
+
fragments_used:
|
|
29
|
+
- fragment: card-header-with-description
|
|
30
|
+
prefix: ""
|
|
31
|
+
- fragment: labeled-input
|
|
32
|
+
prefix: ""
|
|
33
|
+
- fragment: labeled-input
|
|
34
|
+
prefix: ""
|
|
35
|
+
- fragment: labeled-input
|
|
36
|
+
prefix: ""
|
|
37
|
+
- fragment: footer-cancel-save
|
|
38
|
+
prefix: ""
|
|
39
|
+
use-cases:
|
|
40
|
+
- "TODO: primary use case"
|
|
41
|
+
wiring-intent:
|
|
42
|
+
summary: Static composition (no interactive wiring).
|
|
43
|
+
controllers: []
|
|
44
|
+
actions: []
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "color-picker-panel",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "Color selection panel with a picker and swatch grid — for theme customization and design tools.",
|
|
8
|
+
"tags": {
|
|
9
|
+
"purpose": ["theme", "color", "customization"],
|
|
10
|
+
"complexity": "simple",
|
|
11
|
+
"layout": "single-column"
|
|
12
|
+
},
|
|
13
|
+
"keywords": ["color", "picker", "swatch", "theme", "palette", "customize"],
|
|
14
|
+
|
|
15
|
+
"template": [
|
|
16
|
+
{ "id": "root", "component": "Card", "children": ["hdr", "sec"] },
|
|
17
|
+
{ "id": "hdr", "$fragment": "card-header-with-description",
|
|
18
|
+
"bindings": { "heading": "Choose a color", "description": "Pick a color or enter a hex value." } },
|
|
19
|
+
{ "id": "sec", "component": "Section", "children": ["col"] },
|
|
20
|
+
{ "id": "col", "component": "Column", "children": ["cp", "hex"], "gap": "3" },
|
|
21
|
+
{ "id": "cp", "component": "ColorPicker", "name": "color", "value": "#4f46e5" },
|
|
22
|
+
{ "id": "hex", "$fragment": "labeled-input",
|
|
23
|
+
"bindings": { "label": "Hex value", "name": "hex", "type": "text", "placeholder": "#4f46e5" } }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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/composition.yaml.schema.json
|
|
6
|
+
kind: composition
|
|
7
|
+
name: color-picker-panel
|
|
8
|
+
domain: forms
|
|
9
|
+
description: >-
|
|
10
|
+
Color selection panel with a picker and swatch grid — for theme customization and design tools.
|
|
11
|
+
keywords:
|
|
12
|
+
- color
|
|
13
|
+
- picker
|
|
14
|
+
- swatch
|
|
15
|
+
- theme
|
|
16
|
+
- palette
|
|
17
|
+
- customize
|
|
18
|
+
tags:
|
|
19
|
+
purpose:
|
|
20
|
+
- theme
|
|
21
|
+
- color
|
|
22
|
+
- customization
|
|
23
|
+
complexity: simple
|
|
24
|
+
layout: single-column
|
|
25
|
+
related: []
|
|
26
|
+
fragments_used:
|
|
27
|
+
- fragment: card-header-with-description
|
|
28
|
+
prefix: ""
|
|
29
|
+
- fragment: labeled-input
|
|
30
|
+
prefix: ""
|
|
31
|
+
use-cases:
|
|
32
|
+
- "TODO: primary use case"
|
|
33
|
+
wiring-intent:
|
|
34
|
+
summary: Static composition (no interactive wiring).
|
|
35
|
+
controllers: []
|
|
36
|
+
actions: []
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "contact-form",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "Contact form with name, email, subject, and message. Collects inbound inquiries.",
|
|
8
|
+
"tags": {
|
|
9
|
+
"purpose": ["contact", "inquiry", "support"],
|
|
10
|
+
"complexity": "simple",
|
|
11
|
+
"layout": "single-column",
|
|
12
|
+
"interaction": ["form-submit"]
|
|
13
|
+
},
|
|
14
|
+
"keywords": ["contact", "inquiry", "message", "support", "feedback", "reach out", "subject"],
|
|
15
|
+
"related": ["signup-form"],
|
|
16
|
+
|
|
17
|
+
"template": [
|
|
18
|
+
{ "id": "root", "component": "Card", "children": ["hdr", "sec", "ftr"] },
|
|
19
|
+
{ "id": "hdr", "$fragment": "card-header-with-description",
|
|
20
|
+
"bindings": { "heading": "Get in touch", "description": "We usually reply within one business day." } },
|
|
21
|
+
{ "id": "sec", "component": "Section", "children": ["col"] },
|
|
22
|
+
{ "id": "col", "component": "Column", "children": ["name", "email", "subject", "message"], "gap": "4" },
|
|
23
|
+
{ "id": "name", "$fragment": "labeled-input",
|
|
24
|
+
"bindings": { "label": "Name", "name": "name", "type": "text", "placeholder": "Your name" } },
|
|
25
|
+
{ "id": "email", "$fragment": "labeled-input",
|
|
26
|
+
"bindings": { "label": "Email", "name": "email", "type": "email", "placeholder": "you@example.com" } },
|
|
27
|
+
{ "id": "subject", "$fragment": "labeled-input",
|
|
28
|
+
"bindings": { "label": "Subject", "name": "subject", "type": "text", "placeholder": "How can we help?" } },
|
|
29
|
+
{ "id": "message", "$fragment": "labeled-textarea",
|
|
30
|
+
"bindings": { "label": "Message", "name": "message", "placeholder": "Tell us more…", "rows": 6 } },
|
|
31
|
+
{ "id": "ftr", "$fragment": "footer-primary-only",
|
|
32
|
+
"bindings": { "label": "Send message" } }
|
|
33
|
+
],
|
|
34
|
+
"wiring": {
|
|
35
|
+
"controllers": [
|
|
36
|
+
{ "id": "contact-ctrl", "type": "FormController", "host": "col",
|
|
37
|
+
"config": { "validateOn": "submit" },
|
|
38
|
+
"bind": { "values": "/form/values", "valid": "/form/valid" } }
|
|
39
|
+
],
|
|
40
|
+
"actions": [
|
|
41
|
+
{ "event": { "event": "press", "target": "ftr--fp-btn" },
|
|
42
|
+
"handler": "submit-resource",
|
|
43
|
+
"config": { "uri": "api://contact/messages", "method": "POST" },
|
|
44
|
+
"onSuccess": [{ "handler": "notify", "config": { "message": "Thanks — we'll be in touch shortly.", "variant": "success" } }],
|
|
45
|
+
"onError": [{ "handler": "notify", "config": { "message": "Could not send your message. Please try again.", "variant": "error" } }]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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/composition.yaml.schema.json
|
|
6
|
+
kind: composition
|
|
7
|
+
name: contact-form
|
|
8
|
+
domain: forms
|
|
9
|
+
description: >-
|
|
10
|
+
Contact form with name, email, subject, and message. Collects inbound inquiries.
|
|
11
|
+
keywords:
|
|
12
|
+
- contact
|
|
13
|
+
- inquiry
|
|
14
|
+
- message
|
|
15
|
+
- support
|
|
16
|
+
- feedback
|
|
17
|
+
- reach out
|
|
18
|
+
- subject
|
|
19
|
+
tags:
|
|
20
|
+
purpose:
|
|
21
|
+
- contact
|
|
22
|
+
- inquiry
|
|
23
|
+
- support
|
|
24
|
+
complexity: simple
|
|
25
|
+
layout: single-column
|
|
26
|
+
interaction:
|
|
27
|
+
- form-submit
|
|
28
|
+
related:
|
|
29
|
+
- signup-form
|
|
30
|
+
fragments_used:
|
|
31
|
+
- fragment: card-header-with-description
|
|
32
|
+
prefix: ""
|
|
33
|
+
- fragment: labeled-input
|
|
34
|
+
prefix: ""
|
|
35
|
+
- fragment: labeled-input
|
|
36
|
+
prefix: ""
|
|
37
|
+
- fragment: labeled-input
|
|
38
|
+
prefix: ""
|
|
39
|
+
- fragment: labeled-textarea
|
|
40
|
+
prefix: ""
|
|
41
|
+
- fragment: footer-primary-only
|
|
42
|
+
prefix: ""
|
|
43
|
+
use-cases:
|
|
44
|
+
- "TODO: primary use case"
|
|
45
|
+
wiring-intent:
|
|
46
|
+
summary: "TODO: describe wiring intent"
|
|
47
|
+
controllers:
|
|
48
|
+
- id: contact-ctrl
|
|
49
|
+
type: FormController
|
|
50
|
+
host: col
|
|
51
|
+
actions:
|
|
52
|
+
- event: press
|
|
53
|
+
target: ftr--fp-btn
|
|
54
|
+
handler: submit-resource
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "credit-card-payment-form",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "Credit card payment collection — card number, expiry, CVC, cardholder name.",
|
|
8
|
+
"tags": {
|
|
9
|
+
"purpose": ["payment", "checkout", "billing"],
|
|
10
|
+
"complexity": "medium",
|
|
11
|
+
"layout": "single-column",
|
|
12
|
+
"interaction": ["form-submit"]
|
|
13
|
+
},
|
|
14
|
+
"keywords": ["credit card", "payment", "checkout", "billing", "card", "pay"],
|
|
15
|
+
|
|
16
|
+
"template": [
|
|
17
|
+
{ "id": "root", "component": "Card", "children": ["hdr", "sec", "ftr"] },
|
|
18
|
+
{ "id": "hdr", "$fragment": "card-header-with-description",
|
|
19
|
+
"bindings": { "heading": "Payment details", "description": "Your card is processed securely." } },
|
|
20
|
+
{ "id": "sec", "component": "Section", "children": ["col"] },
|
|
21
|
+
{ "id": "col", "component": "Column", "children": ["cardName", "cardNumber", "expiry", "cvc"], "gap": "4" },
|
|
22
|
+
{ "id": "cardName", "$fragment": "labeled-input",
|
|
23
|
+
"bindings": { "label": "Cardholder name", "name": "cardName", "type": "text", "placeholder": "Ada Lovelace" } },
|
|
24
|
+
{ "id": "cardNumber", "$fragment": "labeled-input",
|
|
25
|
+
"bindings": { "label": "Card number", "name": "cardNumber", "type": "text", "placeholder": "1234 5678 9012 3456" } },
|
|
26
|
+
{ "id": "expiry", "$fragment": "labeled-input",
|
|
27
|
+
"bindings": { "label": "Expiry (MM/YY)", "name": "expiry", "type": "text", "placeholder": "08/29" } },
|
|
28
|
+
{ "id": "cvc", "$fragment": "labeled-input",
|
|
29
|
+
"bindings": { "label": "CVC", "name": "cvc", "type": "text", "placeholder": "123" } },
|
|
30
|
+
{ "id": "ftr", "$fragment": "footer-cancel-save",
|
|
31
|
+
"bindings": { "cancelLabel": "Cancel", "confirmLabel": "Pay now" } }
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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/composition.yaml.schema.json
|
|
6
|
+
kind: composition
|
|
7
|
+
name: credit-card-payment-form
|
|
8
|
+
domain: forms
|
|
9
|
+
description: >-
|
|
10
|
+
Credit card payment collection — card number, expiry, CVC, cardholder name.
|
|
11
|
+
keywords:
|
|
12
|
+
- credit card
|
|
13
|
+
- payment
|
|
14
|
+
- checkout
|
|
15
|
+
- billing
|
|
16
|
+
- card
|
|
17
|
+
- pay
|
|
18
|
+
tags:
|
|
19
|
+
purpose:
|
|
20
|
+
- payment
|
|
21
|
+
- checkout
|
|
22
|
+
- billing
|
|
23
|
+
complexity: medium
|
|
24
|
+
layout: single-column
|
|
25
|
+
interaction:
|
|
26
|
+
- form-submit
|
|
27
|
+
related: []
|
|
28
|
+
fragments_used:
|
|
29
|
+
- fragment: card-header-with-description
|
|
30
|
+
prefix: ""
|
|
31
|
+
- fragment: labeled-input
|
|
32
|
+
prefix: ""
|
|
33
|
+
- fragment: labeled-input
|
|
34
|
+
prefix: ""
|
|
35
|
+
- fragment: labeled-input
|
|
36
|
+
prefix: ""
|
|
37
|
+
- fragment: labeled-input
|
|
38
|
+
prefix: ""
|
|
39
|
+
- fragment: footer-cancel-save
|
|
40
|
+
prefix: ""
|
|
41
|
+
use-cases:
|
|
42
|
+
- "TODO: primary use case"
|
|
43
|
+
wiring-intent:
|
|
44
|
+
summary: Static composition (no interactive wiring).
|
|
45
|
+
controllers: []
|
|
46
|
+
actions: []
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "data-import-mapper",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "CSV column-to-destination-field mapping step. Shows uploaded header tags, per-column destination selectors with auto-match detection, preview of first 5 rows, and validation errors. Companion to data-import-wizard.",
|
|
8
|
+
"tags": {
|
|
9
|
+
"purpose": [
|
|
10
|
+
"csv-import",
|
|
11
|
+
"column-mapping",
|
|
12
|
+
"data-migration",
|
|
13
|
+
"field-mapping",
|
|
14
|
+
"import"
|
|
15
|
+
],
|
|
16
|
+
"complexity": "complex",
|
|
17
|
+
"layout": "stacked"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"csv column mapping",
|
|
21
|
+
"column mapper",
|
|
22
|
+
"field mapping",
|
|
23
|
+
"csv import",
|
|
24
|
+
"data import mapper",
|
|
25
|
+
"map columns",
|
|
26
|
+
"destination field",
|
|
27
|
+
"source column",
|
|
28
|
+
"match fields",
|
|
29
|
+
"import preview",
|
|
30
|
+
"validation errors",
|
|
31
|
+
"import csv",
|
|
32
|
+
"hubspot import",
|
|
33
|
+
"stripe import",
|
|
34
|
+
"airtable import",
|
|
35
|
+
"header detection",
|
|
36
|
+
"auto match",
|
|
37
|
+
"skip column",
|
|
38
|
+
"bulk import",
|
|
39
|
+
"data migration",
|
|
40
|
+
"column to field mapping",
|
|
41
|
+
"header mapping",
|
|
42
|
+
"source to destination mapping",
|
|
43
|
+
"field mapper",
|
|
44
|
+
"csv mapping",
|
|
45
|
+
"field mapping step",
|
|
46
|
+
"destination column",
|
|
47
|
+
"target field",
|
|
48
|
+
"column mapping wizard"
|
|
49
|
+
],
|
|
50
|
+
"related": [
|
|
51
|
+
"data-import-wizard",
|
|
52
|
+
"file-upload-form"
|
|
53
|
+
],
|
|
54
|
+
"template": [
|
|
55
|
+
{
|
|
56
|
+
"id": "root",
|
|
57
|
+
"component": "Card",
|
|
58
|
+
"children": [
|
|
59
|
+
"hdr",
|
|
60
|
+
"sec",
|
|
61
|
+
"ftr"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "hdr",
|
|
66
|
+
"$fragment": "card-header-with-description",
|
|
67
|
+
"bindings": {
|
|
68
|
+
"heading": "Map your columns",
|
|
69
|
+
"description": "We detected 8 columns in customers.csv \u00b7 match each CSV column to a destination field. 6 of 8 auto-matched."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "sec",
|
|
74
|
+
"component": "Section",
|
|
75
|
+
"children": [
|
|
76
|
+
"col"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "col",
|
|
81
|
+
"component": "Column",
|
|
82
|
+
"gap": "4",
|
|
83
|
+
"children": [
|
|
84
|
+
"headers-label",
|
|
85
|
+
"headers-tags",
|
|
86
|
+
"divider",
|
|
87
|
+
"map-label",
|
|
88
|
+
"m1",
|
|
89
|
+
"m2",
|
|
90
|
+
"m3",
|
|
91
|
+
"m4",
|
|
92
|
+
"m5",
|
|
93
|
+
"notes",
|
|
94
|
+
"divider2",
|
|
95
|
+
"preview-alert"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "headers-label",
|
|
100
|
+
"component": "Text",
|
|
101
|
+
"variant": "caption",
|
|
102
|
+
"textContent": "Detected CSV headers (248 rows, UTF-8):"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "headers-tags",
|
|
106
|
+
"component": "Row",
|
|
107
|
+
"gap": "2",
|
|
108
|
+
"children": [
|
|
109
|
+
"t1",
|
|
110
|
+
"t2",
|
|
111
|
+
"t3",
|
|
112
|
+
"t4",
|
|
113
|
+
"t5",
|
|
114
|
+
"t6",
|
|
115
|
+
"t7",
|
|
116
|
+
"t8"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "t1",
|
|
121
|
+
"component": "Tag",
|
|
122
|
+
"text": "full_name"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "t2",
|
|
126
|
+
"component": "Tag",
|
|
127
|
+
"text": "email_addr"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "t3",
|
|
131
|
+
"component": "Tag",
|
|
132
|
+
"text": "company"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "t4",
|
|
136
|
+
"component": "Tag",
|
|
137
|
+
"text": "phone_number"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "t5",
|
|
141
|
+
"component": "Tag",
|
|
142
|
+
"text": "lifetime_value"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "t6",
|
|
146
|
+
"component": "Tag",
|
|
147
|
+
"text": "signup_date"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "t7",
|
|
151
|
+
"component": "Tag",
|
|
152
|
+
"text": "notes"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "t8",
|
|
156
|
+
"component": "Tag",
|
|
157
|
+
"text": "internal_id"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "divider",
|
|
161
|
+
"component": "Divider"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "map-label",
|
|
165
|
+
"component": "Text",
|
|
166
|
+
"variant": "section",
|
|
167
|
+
"textContent": "Column mapping"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "m1",
|
|
171
|
+
"$fragment": "labeled-input",
|
|
172
|
+
"bindings": {
|
|
173
|
+
"label": "full_name \u2192 Name",
|
|
174
|
+
"name": "map_full_name",
|
|
175
|
+
"placeholder": "Name"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "m2",
|
|
180
|
+
"$fragment": "labeled-input",
|
|
181
|
+
"bindings": {
|
|
182
|
+
"label": "email_addr \u2192 Email",
|
|
183
|
+
"name": "map_email_addr",
|
|
184
|
+
"placeholder": "Email",
|
|
185
|
+
"type": "email"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "m3",
|
|
190
|
+
"$fragment": "labeled-input",
|
|
191
|
+
"bindings": {
|
|
192
|
+
"label": "company \u2192 Company",
|
|
193
|
+
"name": "map_company",
|
|
194
|
+
"placeholder": "Company"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "m4",
|
|
199
|
+
"$fragment": "labeled-input",
|
|
200
|
+
"bindings": {
|
|
201
|
+
"label": "phone_number \u2192 Phone",
|
|
202
|
+
"name": "map_phone",
|
|
203
|
+
"placeholder": "Phone"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "m5",
|
|
208
|
+
"$fragment": "labeled-input",
|
|
209
|
+
"bindings": {
|
|
210
|
+
"label": "signup_date \u2192 Created at",
|
|
211
|
+
"name": "map_signup_date",
|
|
212
|
+
"placeholder": "Created at",
|
|
213
|
+
"type": "date"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "notes",
|
|
218
|
+
"$fragment": "labeled-textarea",
|
|
219
|
+
"bindings": {
|
|
220
|
+
"label": "Import notes & validation overrides",
|
|
221
|
+
"name": "import_notes",
|
|
222
|
+
"placeholder": "Notes about unmapped columns (lifetime_value, notes), skip rules, and how to handle validation warnings.",
|
|
223
|
+
"rows": 3
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "divider2",
|
|
228
|
+
"component": "Divider"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "preview-alert",
|
|
232
|
+
"component": "Alert",
|
|
233
|
+
"variant": "info",
|
|
234
|
+
"icon": "info",
|
|
235
|
+
"title": "Preview: 248 rows ready to import",
|
|
236
|
+
"description": "6 columns auto-matched \u00b7 2 unmapped (lifetime_value, notes) \u00b7 3 validation warnings found. Continue to review preview and validation errors."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "ftr",
|
|
240
|
+
"$fragment": "footer-cancel-save",
|
|
241
|
+
"bindings": {
|
|
242
|
+
"cancelLabel": "Back",
|
|
243
|
+
"confirmLabel": "Preview import"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "date-time-picker-form",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "Date and time selection form — calendar picker plus time input for scheduling flows.",
|
|
8
|
+
"tags": { "purpose": ["scheduling", "date", "time"], "complexity": "simple", "layout": "single-column" },
|
|
9
|
+
"keywords": ["date picker", "time picker", "calendar", "schedule", "event", "booking"],
|
|
10
|
+
|
|
11
|
+
"template": [
|
|
12
|
+
{ "id": "root", "component": "Card", "children": ["hdr", "sec", "ftr"] },
|
|
13
|
+
{ "id": "hdr", "$fragment": "card-header-with-description",
|
|
14
|
+
"bindings": { "heading": "Pick a date and time", "description": "All times in your local timezone." } },
|
|
15
|
+
{ "id": "sec", "component": "Section", "children": ["col"] },
|
|
16
|
+
{ "id": "col", "component": "Column", "children": ["cal", "time"], "gap": "3" },
|
|
17
|
+
{ "id": "cal", "component": "CalendarPicker", "name": "date" },
|
|
18
|
+
{ "id": "time", "$fragment": "labeled-input",
|
|
19
|
+
"bindings": { "label": "Time", "name": "time", "type": "time", "placeholder": "14:30" } },
|
|
20
|
+
{ "id": "ftr", "$fragment": "footer-cancel-save",
|
|
21
|
+
"bindings": { "cancelLabel": "Cancel", "confirmLabel": "Confirm" } }
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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/composition.yaml.schema.json
|
|
6
|
+
kind: composition
|
|
7
|
+
name: date-time-picker-form
|
|
8
|
+
domain: forms
|
|
9
|
+
description: >-
|
|
10
|
+
Date and time selection form — calendar picker plus time input for scheduling flows.
|
|
11
|
+
keywords:
|
|
12
|
+
- date picker
|
|
13
|
+
- time picker
|
|
14
|
+
- calendar
|
|
15
|
+
- schedule
|
|
16
|
+
- event
|
|
17
|
+
- booking
|
|
18
|
+
tags:
|
|
19
|
+
purpose:
|
|
20
|
+
- scheduling
|
|
21
|
+
- date
|
|
22
|
+
- time
|
|
23
|
+
complexity: simple
|
|
24
|
+
layout: single-column
|
|
25
|
+
related: []
|
|
26
|
+
fragments_used:
|
|
27
|
+
- fragment: card-header-with-description
|
|
28
|
+
prefix: ""
|
|
29
|
+
- fragment: labeled-input
|
|
30
|
+
prefix: ""
|
|
31
|
+
- fragment: footer-cancel-save
|
|
32
|
+
prefix: ""
|
|
33
|
+
use-cases:
|
|
34
|
+
- "TODO: primary use case"
|
|
35
|
+
wiring-intent:
|
|
36
|
+
summary: Static composition (no interactive wiring).
|
|
37
|
+
controllers: []
|
|
38
|
+
actions: []
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "destructive-confirm",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"kind": "composition",
|
|
6
|
+
"domain": "forms",
|
|
7
|
+
"description": "Type-to-confirm destructive modal. User must type the workspace name or the word DELETE to enable the red confirmation button. Includes irreversibility copy, list of what will be deleted, and alternate cancel action.",
|
|
8
|
+
"tags": {
|
|
9
|
+
"purpose": ["confirmation", "destructive", "delete", "type-to-confirm", "modal"],
|
|
10
|
+
"complexity": "simple",
|
|
11
|
+
"layout": "stacked"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"destructive confirmation", "type to confirm", "type name to confirm",
|
|
15
|
+
"delete workspace", "delete account", "delete project",
|
|
16
|
+
"danger zone", "irreversible action", "cannot be undone",
|
|
17
|
+
"confirm delete", "red button", "delete modal",
|
|
18
|
+
"type DELETE", "confirmation token", "are you sure"
|
|
19
|
+
],
|
|
20
|
+
"related": ["modal-dialog-form", "settings-page"],
|
|
21
|
+
|
|
22
|
+
"template": [
|
|
23
|
+
{ "id": "root", "component": "Card", "children": ["hdr", "sec", "ftr"] },
|
|
24
|
+
{ "id": "hdr", "$fragment": "card-header-with-description",
|
|
25
|
+
"bindings": { "heading": "Delete workspace \"acme-prod\"?", "description": "This permanently deletes acme-prod and all associated data. This action cannot be undone." } },
|
|
26
|
+
{ "id": "sec", "component": "Section", "children": ["col"] },
|
|
27
|
+
{ "id": "col", "component": "Column", "gap": "4", "children": ["alert", "items-title", "items", "divider", "confirm-input", "reason-input"] },
|
|
28
|
+
|
|
29
|
+
{ "id": "alert", "component": "Alert", "variant": "danger", "icon": "warning", "title": "This action is irreversible", "description": "32 projects, 14 members, and 4.2 GB of storage will be permanently deleted. You cannot recover this workspace." },
|
|
30
|
+
{ "id": "items-title", "component": "Text", "variant": "caption", "textContent": "The following will be permanently deleted:" },
|
|
31
|
+
{ "id": "items", "component": "Column", "gap": "1", "children": ["i1", "i2", "i3", "i4"] },
|
|
32
|
+
{ "id": "i1", "$fragment": "icon-text-row", "bindings": { "icon": "x-circle", "label": "32 projects and all their files" } },
|
|
33
|
+
{ "id": "i2", "$fragment": "icon-text-row", "bindings": { "icon": "x-circle", "label": "14 member accounts (workspace-scoped)" } },
|
|
34
|
+
{ "id": "i3", "$fragment": "icon-text-row", "bindings": { "icon": "x-circle", "label": "287,402 activity log entries" } },
|
|
35
|
+
{ "id": "i4", "$fragment": "icon-text-row", "bindings": { "icon": "x-circle", "label": "Billing history and invoices" } },
|
|
36
|
+
{ "id": "divider", "component": "Divider" },
|
|
37
|
+
{ "id": "confirm-input", "$fragment": "labeled-input", "bindings": { "label": "Type \"acme-prod\" to confirm workspace deletion", "name": "confirm", "placeholder": "acme-prod" } },
|
|
38
|
+
{ "id": "reason-input", "$fragment": "labeled-textarea", "bindings": { "label": "Reason for deletion (optional)", "name": "deletion_reason", "placeholder": "Why are you deleting this workspace? This helps us improve.", "rows": 3 } },
|
|
39
|
+
|
|
40
|
+
{ "id": "ftr", "$fragment": "footer-cancel-save",
|
|
41
|
+
"bindings": { "cancelLabel": "Cancel", "confirmLabel": "I understand, delete workspace" } }
|
|
42
|
+
]
|
|
43
|
+
}
|