@adia-ai/a2ui-corpus 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +145 -20
- package/README.md +2 -2
- package/catalog-a2ui_0_9.json +804 -41
- package/chunks/_index.json +8056 -0
- package/chunks/accordion-basic.json +15 -0
- package/chunks/accordion-combinations.json +15 -0
- package/chunks/accordion-edge-cases.json +15 -0
- package/chunks/accordion-multiple.json +15 -0
- package/chunks/accordion-open.json +15 -0
- package/chunks/action-list-basic.json +15 -0
- package/chunks/action-list-combo.json +15 -0
- package/chunks/action-list-danger.json +15 -0
- package/chunks/action-list-disabled.json +15 -0
- package/chunks/action-list-edge.json +15 -0
- package/chunks/action-list-icon.json +15 -0
- package/chunks/agent-artifact-code.json +15 -0
- package/chunks/agent-artifact-tone.json +15 -0
- package/chunks/agent-feedback-bar-basic.json +15 -0
- package/chunks/agent-feedback-bar-save.json +15 -0
- package/chunks/agent-questions-multi.json +15 -0
- package/chunks/agent-questions-single.json +15 -0
- package/chunks/agent-reasoning-iterations.json +15 -0
- package/chunks/agent-reasoning-plan-and-thoughts.json +15 -0
- package/chunks/agent-reasoning-steps-only.json +15 -0
- package/chunks/agent-suggestions-basic.json +15 -0
- package/chunks/agent-suggestions-ghost.json +15 -0
- package/chunks/agent-suggestions-icons.json +15 -0
- package/chunks/agent-trace-feedback.json +15 -0
- package/chunks/agent-trace-metrics.json +15 -0
- package/chunks/agent-trace-pills.json +15 -0
- package/chunks/alert-closable.json +15 -0
- package/chunks/alert-combinations.json +15 -0
- package/chunks/alert-edge-cases.json +15 -0
- package/chunks/alert-icon.json +15 -0
- package/chunks/alert-text.json +15 -0
- package/chunks/alert-variant.json +15 -0
- package/chunks/auth-account-deleted-actions.json +15 -0
- package/chunks/auth-account-deleted.json +18 -0
- package/chunks/auth-card-content.json +247 -0
- package/chunks/auth-card-header.json +192 -0
- package/chunks/auth-email-entry.json +16 -0
- package/chunks/auth-email-verify-confirm.json +16 -0
- package/chunks/auth-email-verify.json +18 -0
- package/chunks/auth-forbidden-actions.json +15 -0
- package/chunks/auth-forbidden.json +18 -0
- package/chunks/auth-invite-actions.json +15 -0
- package/chunks/auth-invite-team-card.json +12 -0
- package/chunks/auth-link-expired-form.json +16 -0
- package/chunks/auth-link-expired.json +18 -0
- package/chunks/auth-locked-account.json +18 -0
- package/chunks/auth-locked-recovery-options.json +14 -0
- package/chunks/auth-mfa-enrollment-submit.json +16 -0
- package/chunks/auth-mfa-enrollment.json +18 -0
- package/chunks/auth-mfa-fallback-actions.json +14 -0
- package/chunks/auth-mfa-recovery.json +14 -0
- package/chunks/auth-new-password-form.json +14 -0
- package/chunks/auth-new-password.json +18 -0
- package/chunks/auth-oauth-fallback-actions.json +15 -0
- package/chunks/auth-oauth-interstitial.json +17 -0
- package/chunks/auth-password-challenge.json +14 -0
- package/chunks/auth-password-reset-form.json +16 -0
- package/chunks/auth-password-reset.json +18 -0
- package/chunks/auth-profile-form.json +14 -0
- package/chunks/auth-profile-setup.json +18 -0
- package/chunks/auth-reset-sent.json +17 -0
- package/chunks/auth-session-expired-actions.json +15 -0
- package/chunks/auth-session-expired.json +18 -0
- package/chunks/auth-signin-card-email.json +19 -0
- package/chunks/auth-signin-card-magic-link.json +14 -0
- package/chunks/auth-signin-card-mfa.json +18 -0
- package/chunks/auth-signin-card-otp.json +14 -0
- package/chunks/auth-signin-card-password.json +18 -0
- package/chunks/auth-signin-card-recovery.json +18 -0
- package/chunks/auth-signout-actions.json +15 -0
- package/chunks/auth-signout.json +18 -0
- package/chunks/auth-signup-email-entry.json +16 -0
- package/chunks/auth-signup-entry.json +19 -0
- package/chunks/auth-signup-social-auths.json +14 -0
- package/chunks/auth-signup-verify.json +17 -0
- package/chunks/auth-social-auths.json +14 -0
- package/chunks/auth-sso-providers.json +15 -0
- package/chunks/auth-sso-required.json +18 -0
- package/chunks/auth-team-invite.json +19 -0
- package/chunks/avatar-avatar-group.json +15 -0
- package/chunks/avatar-shape.json +15 -0
- package/chunks/avatar-size.json +15 -0
- package/chunks/avatar-src.json +15 -0
- package/chunks/avatar-text.json +15 -0
- package/chunks/badge-combinations.json +15 -0
- package/chunks/badge-edge-cases.json +15 -0
- package/chunks/badge-size.json +15 -0
- package/chunks/badge-text.json +15 -0
- package/chunks/badge-variant.json +15 -0
- package/chunks/block-combo.json +15 -0
- package/chunks/block-edge.json +15 -0
- package/chunks/block-margin.json +15 -0
- package/chunks/block-padding.json +15 -0
- package/chunks/breadcrumb-basic.json +15 -0
- package/chunks/breadcrumb-combo.json +15 -0
- package/chunks/breadcrumb-edge.json +15 -0
- package/chunks/breadcrumb-links.json +15 -0
- package/chunks/breadcrumb-long.json +15 -0
- package/chunks/breadcrumb-separator.json +15 -0
- package/chunks/bulk-action-toolbar-swap.json +15 -0
- package/chunks/button-block.json +15 -0
- package/chunks/button-combinations.json +15 -0
- package/chunks/button-disabled.json +15 -0
- package/chunks/button-edge-cases.json +15 -0
- package/chunks/button-icon.json +15 -0
- package/chunks/button-size.json +15 -0
- package/chunks/button-text-icon.json +15 -0
- package/chunks/button-text.json +15 -0
- package/chunks/button-trailing.json +15 -0
- package/chunks/button-type.json +15 -0
- package/chunks/button-variant-solid.json +15 -0
- package/chunks/button-variant.json +15 -0
- package/chunks/calendar-picker-default.json +15 -0
- package/chunks/calendar-picker-disabled.json +15 -0
- package/chunks/calendar-picker-format.json +15 -0
- package/chunks/calendar-picker-label.json +15 -0
- package/chunks/calendar-picker-max.json +15 -0
- package/chunks/calendar-picker-min-max.json +15 -0
- package/chunks/calendar-picker-min.json +15 -0
- package/chunks/calendar-picker-name.json +15 -0
- package/chunks/calendar-picker-open.json +15 -0
- package/chunks/calendar-picker-placeholder.json +15 -0
- package/chunks/calendar-picker-required.json +15 -0
- package/chunks/calendar-picker-value.json +15 -0
- package/chunks/canvas-basic.json +15 -0
- package/chunks/canvas-history.json +15 -0
- package/chunks/canvas-theme.json +15 -0
- package/chunks/card-elevation.json +15 -0
- package/chunks/card-header-body-footer.json +15 -0
- package/chunks/card-raw.json +15 -0
- package/chunks/card-size-lg.json +15 -0
- package/chunks/card-size-md.json +15 -0
- package/chunks/card-size.json +15 -0
- package/chunks/card-variant-filled.json +15 -0
- package/chunks/card-variant-ghost.json +15 -0
- package/chunks/card-variant-outlined.json +15 -0
- package/chunks/card-variant.json +15 -0
- package/chunks/chart-average.json +15 -0
- package/chunks/chart-color.json +15 -0
- package/chunks/chart-data-stream.json +15 -0
- package/chunks/chart-deprecated.json +15 -0
- package/chunks/chart-format.json +15 -0
- package/chunks/chart-hideGrid.json +15 -0
- package/chunks/chart-hideValues.json +15 -0
- package/chunks/chart-in-card-chart-plus-breakdown.json +15 -0
- package/chunks/chart-in-card-chart-plus-stat.json +15 -0
- package/chunks/chart-in-card-chart-with-filter-pills.json +15 -0
- package/chunks/chart-in-card-full-chart.json +15 -0
- package/chunks/chart-in-card-sparkline-tile.json +15 -0
- package/chunks/chart-in-card-stat-with-sparkline.json +15 -0
- package/chunks/chart-in-card-trend-footer.json +15 -0
- package/chunks/chart-legend-for.json +15 -0
- package/chunks/chart-legend-on-toggle.json +15 -0
- package/chunks/chart-legend-position.json +15 -0
- package/chunks/chart-legend-shape.json +15 -0
- package/chunks/chart-legend-static.json +15 -0
- package/chunks/chart-radius.json +15 -0
- package/chunks/chart-size.json +15 -0
- package/chunks/chart-sizing.json +15 -0
- package/chunks/chart-smooth.json +15 -0
- package/chunks/chart-states.json +15 -0
- package/chunks/chart-title.json +15 -0
- package/chunks/chart-type.json +15 -0
- package/chunks/chat-basic.json +15 -0
- package/chunks/chat-streaming.json +15 -0
- package/chunks/chat-with-input.json +15 -0
- package/chunks/check-checked.json +15 -0
- package/chunks/check-combinations.json +15 -0
- package/chunks/check-disabled.json +15 -0
- package/chunks/check-edge-cases.json +15 -0
- package/chunks/check-indeterminate.json +15 -0
- package/chunks/check-label.json +15 -0
- package/chunks/check-size.json +15 -0
- package/chunks/code-bare.json +15 -0
- package/chunks/code-combo.json +15 -0
- package/chunks/code-disabled-readonly.json +15 -0
- package/chunks/code-edge.json +15 -0
- package/chunks/code-editable.json +15 -0
- package/chunks/code-form-association.json +15 -0
- package/chunks/code-inline.json +15 -0
- package/chunks/code-language.json +15 -0
- package/chunks/code-line-numbers.json +15 -0
- package/chunks/code-lint-gutter.json +15 -0
- package/chunks/code-long-code.json +15 -0
- package/chunks/code-no-language.json +15 -0
- package/chunks/color-picker-default.json +15 -0
- package/chunks/color-picker-disabled.json +15 -0
- package/chunks/color-picker-format.json +15 -0
- package/chunks/color-picker-name.json +15 -0
- package/chunks/color-picker-value.json +15 -0
- package/chunks/command-combo.json +15 -0
- package/chunks/command-edge.json +15 -0
- package/chunks/command-grouped.json +15 -0
- package/chunks/command-inline.json +15 -0
- package/chunks/command-open.json +15 -0
- package/chunks/command-placeholder.json +15 -0
- package/chunks/command-shortcuts.json +15 -0
- package/chunks/commerce-pricing-tiers.json +16 -0
- package/chunks/conversion-funnel-4-step-funnel.json +15 -0
- package/chunks/conversion-funnel-wide-summary.json +15 -0
- package/chunks/conversion-funnel-with-segment-compare.json +15 -0
- package/chunks/dashboard-acquisition-panel.json +17 -0
- package/chunks/dashboard-admin-page.json +50 -0
- package/chunks/dashboard-audience-kpis.json +15 -0
- package/chunks/dashboard-audience-panel.json +19 -0
- package/chunks/dashboard-behavior-panel.json +17 -0
- package/chunks/dashboard-chart-recent.json +15 -0
- package/chunks/dashboard-cohort-retention.json +12 -0
- package/chunks/dashboard-conversion-panel.json +18 -0
- package/chunks/dashboard-country-list.json +12 -0
- package/chunks/dashboard-filter-bar.json +12 -0
- package/chunks/dashboard-funnel.json +12 -0
- package/chunks/dashboard-kpi-grid.json +15 -0
- package/chunks/dashboard-notifications-feed.json +12 -0
- package/chunks/dashboard-notifications-panel.json +17 -0
- package/chunks/dashboard-overview-panel.json +23 -0
- package/chunks/dashboard-page-header.json +14 -0
- package/chunks/dashboard-pages-table.json +12 -0
- package/chunks/dashboard-quick-actions.json +12 -0
- package/chunks/dashboard-reports-panel.json +17 -0
- package/chunks/dashboard-reports-table.json +12 -0
- package/chunks/dashboard-spark-cards.json +15 -0
- package/chunks/dashboard-storage-card.json +12 -0
- package/chunks/dashboard-tabs.json +14 -0
- package/chunks/dashboard-team-actions-storage.json +19 -0
- package/chunks/dashboard-team-list.json +12 -0
- package/chunks/dashboard-traffic-channels.json +15 -0
- package/chunks/dashboard-transactions-table.json +12 -0
- package/chunks/description-list-align.json +15 -0
- package/chunks/description-list-inline.json +15 -0
- package/chunks/description-list-items.json +15 -0
- package/chunks/description-list-layout.json +15 -0
- package/chunks/description-list-programmatic.json +15 -0
- package/chunks/description-list-stacked.json +15 -0
- package/chunks/divider-combo.json +15 -0
- package/chunks/divider-edge.json +15 -0
- package/chunks/divider-horizontal.json +15 -0
- package/chunks/divider-label.json +15 -0
- package/chunks/divider-vertical-label.json +15 -0
- package/chunks/divider-vertical.json +15 -0
- package/chunks/drawer-2fa-key.json +15 -0
- package/chunks/drawer-2fa-sms.json +15 -0
- package/chunks/drawer-2fa-totp.json +15 -0
- package/chunks/drawer-cancel-sub.json +15 -0
- package/chunks/drawer-change-plan.json +15 -0
- package/chunks/drawer-custom-roles.json +15 -0
- package/chunks/drawer-data-start.json +15 -0
- package/chunks/drawer-delete-account.json +15 -0
- package/chunks/drawer-delete-workspace.json +15 -0
- package/chunks/drawer-discord.json +15 -0
- package/chunks/drawer-edge-cases.json +15 -0
- package/chunks/drawer-figma.json +15 -0
- package/chunks/drawer-first-dashboard.json +15 -0
- package/chunks/drawer-footer.json +15 -0
- package/chunks/drawer-gcal.json +15 -0
- package/chunks/drawer-github.json +15 -0
- package/chunks/drawer-header-grid.json +15 -0
- package/chunks/drawer-invite.json +15 -0
- package/chunks/drawer-multi-section.json +15 -0
- package/chunks/drawer-open.json +15 -0
- package/chunks/drawer-payment-method.json +15 -0
- package/chunks/drawer-permanent.json +15 -0
- package/chunks/drawer-report.json +15 -0
- package/chunks/drawer-revoke-session.json +15 -0
- package/chunks/drawer-role.json +15 -0
- package/chunks/drawer-side.json +15 -0
- package/chunks/drawer-size.json +15 -0
- package/chunks/drawer-slack.json +15 -0
- package/chunks/drawer-smtp.json +15 -0
- package/chunks/drawer-source.json +15 -0
- package/chunks/drawer-text.json +15 -0
- package/chunks/drawer-transaction.json +15 -0
- package/chunks/embed-aspect.json +15 -0
- package/chunks/embed-default.json +15 -0
- package/chunks/embed-height.json +15 -0
- package/chunks/embed-src.json +15 -0
- package/chunks/embed-width.json +15 -0
- package/chunks/empty-state-action.json +15 -0
- package/chunks/empty-state-basic.json +15 -0
- package/chunks/empty-state-description.json +15 -0
- package/chunks/empty-state-error.json +15 -0
- package/chunks/empty-state-heading.json +15 -0
- package/chunks/empty-state-icon.json +15 -0
- package/chunks/error-404-actions.json +15 -0
- package/chunks/error-404.json +18 -0
- package/chunks/error-500-actions.json +15 -0
- package/chunks/error-500.json +18 -0
- package/chunks/error-maintenance-actions.json +15 -0
- package/chunks/error-maintenance.json +18 -0
- package/chunks/field-controls.json +15 -0
- package/chunks/field-default.json +15 -0
- package/chunks/field-error.json +15 -0
- package/chunks/field-hint.json +15 -0
- package/chunks/field-inline.json +15 -0
- package/chunks/field-no-label.json +15 -0
- package/chunks/field-required.json +15 -0
- package/chunks/filter-bar-active-filters.json +15 -0
- package/chunks/filter-bar-filter-bar-with-table.json +15 -0
- package/chunks/filter-bar-saved-views.json +15 -0
- package/chunks/form-drawer-edit-form.json +15 -0
- package/chunks/form-drawer-simple-form.json +15 -0
- package/chunks/form-drawer-tall-form.json +15 -0
- package/chunks/genui-feed-message.json +14 -0
- package/chunks/heatmap-data-stream.json +15 -0
- package/chunks/heatmap-day-grid.json +15 -0
- package/chunks/heatmap-matrix.json +15 -0
- package/chunks/icon-combinations.json +15 -0
- package/chunks/icon-edge-cases.json +15 -0
- package/chunks/icon-label.json +15 -0
- package/chunks/icon-name.json +15 -0
- package/chunks/icon-size.json +15 -0
- package/chunks/image-alt.json +15 -0
- package/chunks/image-default.json +15 -0
- package/chunks/image-fallback.json +15 -0
- package/chunks/image-fit.json +15 -0
- package/chunks/image-height.json +15 -0
- package/chunks/image-radius.json +15 -0
- package/chunks/image-src.json +15 -0
- package/chunks/image-width.json +15 -0
- package/chunks/input-combinations.json +15 -0
- package/chunks/input-disabled.json +15 -0
- package/chunks/input-edge-cases.json +15 -0
- package/chunks/input-error.json +15 -0
- package/chunks/input-label.json +15 -0
- package/chunks/input-name.json +15 -0
- package/chunks/input-pattern.json +15 -0
- package/chunks/input-placeholder.json +15 -0
- package/chunks/input-prefix-suffix.json +15 -0
- package/chunks/input-prefix.json +15 -0
- package/chunks/input-raw.json +15 -0
- package/chunks/input-readonly.json +15 -0
- package/chunks/input-required.json +15 -0
- package/chunks/input-size.json +15 -0
- package/chunks/input-suffix.json +15 -0
- package/chunks/input-type.json +15 -0
- package/chunks/input-value.json +15 -0
- package/chunks/inspector-default.json +15 -0
- package/chunks/inspector-imperative.json +15 -0
- package/chunks/inspector-nested.json +15 -0
- package/chunks/inspector-value.json +15 -0
- package/chunks/kbd-combinations.json +15 -0
- package/chunks/kbd-in-context.json +15 -0
- package/chunks/kbd-single-keys.json +15 -0
- package/chunks/kbd-size.json +15 -0
- package/chunks/layout-align.json +15 -0
- package/chunks/layout-col.json +15 -0
- package/chunks/layout-combo.json +15 -0
- package/chunks/layout-edge.json +15 -0
- package/chunks/layout-grid.json +15 -0
- package/chunks/layout-justify.json +15 -0
- package/chunks/layout-row.json +15 -0
- package/chunks/layout-stack.json +15 -0
- package/chunks/layout-wrap.json +15 -0
- package/chunks/list-basic.json +15 -0
- package/chunks/list-combo.json +15 -0
- package/chunks/list-description.json +15 -0
- package/chunks/list-divider.json +15 -0
- package/chunks/list-edge.json +15 -0
- package/chunks/list-icon.json +15 -0
- package/chunks/list-spacing.json +15 -0
- package/chunks/member-edit-drawer.json +15 -0
- package/chunks/menu-basic.json +15 -0
- package/chunks/menu-combo.json +15 -0
- package/chunks/menu-disabled.json +15 -0
- package/chunks/menu-divider.json +15 -0
- package/chunks/menu-edge.json +15 -0
- package/chunks/menu-gap.json +15 -0
- package/chunks/menu-icon.json +15 -0
- package/chunks/menu-open.json +15 -0
- package/chunks/menu-placement.json +15 -0
- package/chunks/menu-variant.json +15 -0
- package/chunks/modal-basic.json +15 -0
- package/chunks/modal-closable.json +15 -0
- package/chunks/modal-combinations.json +15 -0
- package/chunks/modal-edge-cases.json +15 -0
- package/chunks/modal-open.json +15 -0
- package/chunks/modal-size-xl.json +15 -0
- package/chunks/modal-size.json +15 -0
- package/chunks/modal-text.json +15 -0
- package/chunks/modal-trigger.json +15 -0
- package/chunks/noodles-animated.json +15 -0
- package/chunks/noodles-color.json +15 -0
- package/chunks/noodles-curve.json +15 -0
- package/chunks/noodles-editable.json +15 -0
- package/chunks/noodles-portSize.json +15 -0
- package/chunks/noodles-readonly.json +15 -0
- package/chunks/noodles-showPorts.json +15 -0
- package/chunks/noodles-strokeWidth.json +15 -0
- package/chunks/noodles-tension.json +15 -0
- package/chunks/onb-completion.json +14 -0
- package/chunks/onb-extension-install.json +14 -0
- package/chunks/onb-hero-welcome.json +14 -0
- package/chunks/onb-import-picker.json +14 -0
- package/chunks/onb-mobile-handoff.json +14 -0
- package/chunks/onb-notification-prefs.json +16 -0
- package/chunks/onb-persona-picker.json +14 -0
- package/chunks/onb-provider-tiles.json +14 -0
- package/chunks/onb-settings-review.json +14 -0
- package/chunks/onb-step-footer.json +108 -0
- package/chunks/onb-step-header.json +108 -0
- package/chunks/onb-step-progress.json +108 -0
- package/chunks/onb-story-pane.json +108 -0
- package/chunks/onb-tutorial-steps.json +14 -0
- package/chunks/option-card-default.json +15 -0
- package/chunks/option-card-dense.json +15 -0
- package/chunks/option-card-disabled.json +15 -0
- package/chunks/option-card-heading-rich.json +15 -0
- package/chunks/option-card-icon.json +15 -0
- package/chunks/option-card-spillover.json +15 -0
- package/chunks/otp-input-disabled.json +15 -0
- package/chunks/otp-input-length.json +15 -0
- package/chunks/otp-input-name.json +15 -0
- package/chunks/otp-input-value.json +15 -0
- package/chunks/pagination-basic.json +15 -0
- package/chunks/pagination-combo.json +15 -0
- package/chunks/pagination-edge.json +15 -0
- package/chunks/pagination-first-page.json +15 -0
- package/chunks/pagination-last-page.json +15 -0
- package/chunks/pagination-many-pages.json +15 -0
- package/chunks/pagination-page.json +15 -0
- package/chunks/pagination-siblings.json +15 -0
- package/chunks/pagination-size.json +15 -0
- package/chunks/pagination-total.json +15 -0
- package/chunks/pagination-variant.json +15 -0
- package/chunks/pane-basic.json +15 -0
- package/chunks/pane-collapsed.json +15 -0
- package/chunks/pane-combo.json +15 -0
- package/chunks/pane-edge.json +15 -0
- package/chunks/pane-maxWidth.json +15 -0
- package/chunks/pane-minWidth.json +15 -0
- package/chunks/pane-resizable.json +15 -0
- package/chunks/pane-sections.json +15 -0
- package/chunks/pipeline-status-complete.json +15 -0
- package/chunks/pipeline-status-message.json +15 -0
- package/chunks/pipeline-status-stage.json +15 -0
- package/chunks/playground-a2ui.json +12 -0
- package/chunks/playground-app-shell.json +14 -0
- package/chunks/playground-chat.json +15 -0
- package/chunks/playground-construct-canvas.json +14 -0
- package/chunks/playground-gen-ui.json +14 -0
- package/chunks/playground-render-preview.json +12 -0
- package/chunks/playground-streams-bridge.json +12 -0
- package/chunks/playground-table-toolbar.json +16 -0
- package/chunks/popover-combo.json +15 -0
- package/chunks/popover-edge.json +15 -0
- package/chunks/popover-gap.json +15 -0
- package/chunks/popover-open.json +15 -0
- package/chunks/popover-placement.json +15 -0
- package/chunks/popover-rich-content.json +15 -0
- package/chunks/popover-trigger-click.json +15 -0
- package/chunks/popover-trigger-hover.json +15 -0
- package/chunks/popover-trigger.json +15 -0
- package/chunks/progress-indeterminate.json +15 -0
- package/chunks/progress-row-basic.json +15 -0
- package/chunks/progress-row-combo.json +15 -0
- package/chunks/progress-row-edge.json +15 -0
- package/chunks/progress-row-indeterminate.json +15 -0
- package/chunks/progress-row-label.json +15 -0
- package/chunks/progress-row-meta.json +15 -0
- package/chunks/progress-row-multiple.json +15 -0
- package/chunks/progress-row-value.json +15 -0
- package/chunks/progress-row-variant.json +15 -0
- package/chunks/progress-sizes.json +15 -0
- package/chunks/progress-value.json +15 -0
- package/chunks/progress-variant.json +15 -0
- package/chunks/radio-checked.json +15 -0
- package/chunks/radio-combinations.json +15 -0
- package/chunks/radio-disabled.json +15 -0
- package/chunks/radio-edge-cases.json +15 -0
- package/chunks/radio-error.json +15 -0
- package/chunks/radio-group.json +15 -0
- package/chunks/radio-label.json +15 -0
- package/chunks/radio-name.json +15 -0
- package/chunks/radio-required.json +15 -0
- package/chunks/radio-size.json +15 -0
- package/chunks/radio-value.json +15 -0
- package/chunks/range-combinations.json +15 -0
- package/chunks/range-default.json +15 -0
- package/chunks/range-disabled.json +15 -0
- package/chunks/range-edge-cases.json +15 -0
- package/chunks/range-error.json +15 -0
- package/chunks/range-label.json +15 -0
- package/chunks/range-name.json +15 -0
- package/chunks/range-required.json +15 -0
- package/chunks/range-suffix.json +15 -0
- package/chunks/range-value.json +15 -0
- package/chunks/rating-allowHalf.json +15 -0
- package/chunks/rating-basic.json +15 -0
- package/chunks/rating-icon.json +15 -0
- package/chunks/rating-interactive.json +15 -0
- package/chunks/rating-max.json +15 -0
- package/chunks/rating-name.json +15 -0
- package/chunks/rating-readonly.json +15 -0
- package/chunks/rating-size.json +15 -0
- package/chunks/rating-value.json +15 -0
- package/chunks/record-detail-drawer-simple-detail.json +15 -0
- package/chunks/record-detail-drawer-tabbed-detail.json +15 -0
- package/chunks/reg-address-form.json +14 -0
- package/chunks/reg-billing-card.json +14 -0
- package/chunks/reg-brand-scrape.json +14 -0
- package/chunks/reg-departments-toggle.json +14 -0
- package/chunks/reg-extended-profile.json +14 -0
- package/chunks/reg-final-done.json +14 -0
- package/chunks/reg-helpdesk-grid.json +14 -0
- package/chunks/reg-import-picker.json +14 -0
- package/chunks/reg-integrations-grid.json +14 -0
- package/chunks/reg-invite-form.json +14 -0
- package/chunks/reg-legal-entity.json +14 -0
- package/chunks/reg-org-chart-review.json +14 -0
- package/chunks/reg-profile-identity.json +20 -0
- package/chunks/reg-step-footer.json +188 -0
- package/chunks/reg-step-header.json +189 -0
- package/chunks/reg-step-progress.json +188 -0
- package/chunks/reg-story-pane.json +188 -0
- package/chunks/reg-success-summary.json +14 -0
- package/chunks/reg-team-size.json +14 -0
- package/chunks/reg-usecase-picker.json +16 -0
- package/chunks/reg-workspace-name.json +20 -0
- package/chunks/retention-cohort-default-retention.json +15 -0
- package/chunks/retention-cohort-stat-pair.json +15 -0
- package/chunks/retention-cohort-with-legend.json +15 -0
- package/chunks/richtext-code-blocks.json +15 -0
- package/chunks/richtext-default-slot.json +15 -0
- package/chunks/richtext-markdown.json +15 -0
- package/chunks/richtext-rich-markdown.json +15 -0
- package/chunks/richtext-src.json +15 -0
- package/chunks/search-debounce.json +15 -0
- package/chunks/search-default.json +15 -0
- package/chunks/search-disabled.json +15 -0
- package/chunks/search-name.json +15 -0
- package/chunks/search-placeholder.json +15 -0
- package/chunks/search-value.json +15 -0
- package/chunks/segment-basic.json +15 -0
- package/chunks/segment-disabled.json +15 -0
- package/chunks/segment-icons.json +15 -0
- package/chunks/segment-text.json +15 -0
- package/chunks/segment-value.json +15 -0
- package/chunks/segmented-basic.json +15 -0
- package/chunks/segmented-combo.json +15 -0
- package/chunks/segmented-disabled.json +15 -0
- package/chunks/segmented-edge.json +15 -0
- package/chunks/segmented-pre-selected.json +15 -0
- package/chunks/segmented-value.json +15 -0
- package/chunks/select-avatar.json +15 -0
- package/chunks/select-basic.json +15 -0
- package/chunks/select-combinations.json +15 -0
- package/chunks/select-disabled.json +15 -0
- package/chunks/select-edge-cases.json +15 -0
- package/chunks/select-error.json +15 -0
- package/chunks/select-free-text.json +15 -0
- package/chunks/select-grouped.json +15 -0
- package/chunks/select-icon.json +15 -0
- package/chunks/select-label.json +15 -0
- package/chunks/select-multiple.json +15 -0
- package/chunks/select-name.json +15 -0
- package/chunks/select-open.json +15 -0
- package/chunks/select-placeholder.json +15 -0
- package/chunks/select-readonly.json +15 -0
- package/chunks/select-required.json +15 -0
- package/chunks/select-searchable.json +15 -0
- package/chunks/select-size.json +15 -0
- package/chunks/select-value.json +15 -0
- package/chunks/settings-billing-plan.json +14 -0
- package/chunks/settings-general-form.json +14 -0
- package/chunks/settings-integrations.json +14 -0
- package/chunks/settings-members-invite.json +14 -0
- package/chunks/settings-profile-security.json +14 -0
- package/chunks/skeleton-card-placeholder.json +15 -0
- package/chunks/skeleton-height.json +15 -0
- package/chunks/skeleton-radius.json +15 -0
- package/chunks/skeleton-static.json +15 -0
- package/chunks/skeleton-width-height.json +15 -0
- package/chunks/skeleton-width.json +15 -0
- package/chunks/slider-disabled.json +15 -0
- package/chunks/slider-error.json +15 -0
- package/chunks/slider-label.json +15 -0
- package/chunks/slider-name.json +15 -0
- package/chunks/slider-required.json +15 -0
- package/chunks/slider-suffix.json +15 -0
- package/chunks/slider-value.json +15 -0
- package/chunks/stat-basic.json +15 -0
- package/chunks/stat-change.json +15 -0
- package/chunks/stat-chart-slot.json +15 -0
- package/chunks/stat-data-stream.json +15 -0
- package/chunks/stat-grid.json +15 -0
- package/chunks/stat-icon.json +15 -0
- package/chunks/stat-label.json +15 -0
- package/chunks/stat-trend.json +15 -0
- package/chunks/stat-value.json +15 -0
- package/chunks/stepper-horizontal.json +15 -0
- package/chunks/stepper-interactive.json +15 -0
- package/chunks/stepper-step.json +15 -0
- package/chunks/stepper-vertical.json +15 -0
- package/chunks/stream-basic.json +15 -0
- package/chunks/stream-hide-cursor.json +15 -0
- package/chunks/stream-pace.json +15 -0
- package/chunks/stream-streaming.json +15 -0
- package/chunks/swiper-autoplay.json +15 -0
- package/chunks/swiper-basic.json +15 -0
- package/chunks/swiper-combo.json +15 -0
- package/chunks/swiper-gap.json +15 -0
- package/chunks/swiper-interval.json +15 -0
- package/chunks/swiper-loop.json +15 -0
- package/chunks/swiper-peek.json +15 -0
- package/chunks/swiper-slides-per-view.json +15 -0
- package/chunks/swiper-snap.json +15 -0
- package/chunks/switch-checked.json +15 -0
- package/chunks/switch-combinations.json +15 -0
- package/chunks/switch-disabled.json +15 -0
- package/chunks/switch-edge-cases.json +15 -0
- package/chunks/switch-label.json +15 -0
- package/chunks/switch-size.json +15 -0
- package/chunks/table-cell-types.json +15 -0
- package/chunks/table-data-stream.json +15 -0
- package/chunks/table-density.json +15 -0
- package/chunks/table-expandable.json +15 -0
- package/chunks/table-loading.json +15 -0
- package/chunks/table-paginate.json +15 -0
- package/chunks/table-raw.json +15 -0
- package/chunks/table-search.json +15 -0
- package/chunks/table-selectable.json +15 -0
- package/chunks/table-sortable.json +15 -0
- package/chunks/table-striped.json +15 -0
- package/chunks/tabs-basic.json +15 -0
- package/chunks/tabs-combinations.json +15 -0
- package/chunks/tabs-disabled.json +15 -0
- package/chunks/tabs-edge-cases.json +15 -0
- package/chunks/tabs-icon.json +15 -0
- package/chunks/tabs-keyboard.json +15 -0
- package/chunks/tabs-orientation.json +15 -0
- package/chunks/tabs-value.json +15 -0
- package/chunks/tabs-vertical.json +15 -0
- package/chunks/tag-combinations.json +15 -0
- package/chunks/tag-disabled.json +15 -0
- package/chunks/tag-removable.json +15 -0
- package/chunks/tag-size.json +15 -0
- package/chunks/tag-text.json +15 -0
- package/chunks/tag-variant.json +15 -0
- package/chunks/text-lines.json +15 -0
- package/chunks/text-truncate.json +15 -0
- package/chunks/text-variant.json +15 -0
- package/chunks/textarea-combinations.json +15 -0
- package/chunks/textarea-disabled.json +15 -0
- package/chunks/textarea-edge-cases.json +15 -0
- package/chunks/textarea-error.json +15 -0
- package/chunks/textarea-label.json +15 -0
- package/chunks/textarea-placeholder.json +15 -0
- package/chunks/textarea-readonly.json +15 -0
- package/chunks/textarea-resize.json +15 -0
- package/chunks/textarea-rows.json +15 -0
- package/chunks/timeline-compact.json +15 -0
- package/chunks/timeline-error.json +15 -0
- package/chunks/timeline-horizontal.json +15 -0
- package/chunks/timeline-icons.json +15 -0
- package/chunks/timeline-outcomes.json +15 -0
- package/chunks/timeline-variant.json +15 -0
- package/chunks/timeline-vertical.json +15 -0
- package/chunks/toast-closable.json +15 -0
- package/chunks/toast-combo.json +15 -0
- package/chunks/toast-duration.json +15 -0
- package/chunks/toast-edge.json +15 -0
- package/chunks/toast-position.json +15 -0
- package/chunks/toast-text.json +15 -0
- package/chunks/toast-variant.json +15 -0
- package/chunks/toggle-group-combo.json +15 -0
- package/chunks/toggle-group-disabled.json +15 -0
- package/chunks/toggle-group-edge.json +15 -0
- package/chunks/toggle-group-icon-group.json +15 -0
- package/chunks/toggle-group-pre-selected.json +15 -0
- package/chunks/toggle-group-single-vs-multi.json +15 -0
- package/chunks/toggle-group-single.json +15 -0
- package/chunks/toggle-group-text-group.json +15 -0
- package/chunks/toggle-group-value.json +15 -0
- package/chunks/toolbar-align.json +15 -0
- package/chunks/toolbar-basic.json +15 -0
- package/chunks/toolbar-bordered.json +15 -0
- package/chunks/toolbar-combo.json +15 -0
- package/chunks/toolbar-dividers.json +15 -0
- package/chunks/toolbar-edge.json +15 -0
- package/chunks/toolbar-gap.json +15 -0
- package/chunks/toolbar-overflow-none.json +30 -0
- package/chunks/toolbar-overflow.json +15 -0
- package/chunks/tooltip-combinations.json +15 -0
- package/chunks/tooltip-delay.json +15 -0
- package/chunks/tooltip-edge-cases.json +15 -0
- package/chunks/tooltip-placement.json +15 -0
- package/chunks/tooltip-text.json +15 -0
- package/chunks/tree-basic.json +15 -0
- package/chunks/tree-combo.json +15 -0
- package/chunks/tree-edge.json +15 -0
- package/chunks/tree-expand-collapse.json +15 -0
- package/chunks/tree-selection.json +15 -0
- package/chunks/upload-accept.json +15 -0
- package/chunks/upload-default.json +15 -0
- package/chunks/upload-disabled.json +15 -0
- package/chunks/upload-hint.json +15 -0
- package/chunks/upload-label-hint.json +15 -0
- package/chunks/upload-label.json +15 -0
- package/chunks/upload-multiple.json +15 -0
- package/chunks/upload-name.json +15 -0
- package/chunks/upload-value.json +15 -0
- package/chunks/wizard-drawer-three-step-wizard.json +15 -0
- package/exemplars/_shell.css +88 -0
- package/exemplars/prose/auth-login/index.html +29 -26
- package/exemplars/prose/cta/a2ui.json +1 -1
- package/exemplars/prose/cta/chunks/prose-cta-card-1.json +1 -1
- package/exemplars/prose/cta/index.html +15 -33
- package/exemplars/prose/feature-grid/index.html +7 -17
- package/exemplars/prose/footer/index.html +8 -9
- package/exemplars/prose/hero/index.html +14 -24
- package/exemplars/prose/pricing/index.html +7 -17
- package/exemplars/prose/steps/index.html +8 -5
- package/exemplars/prose/testimonials/index.html +19 -16
- package/exemplars/ui/auth-login/index.html +23 -34
- package/package.json +10 -5
- package/patterns/_components.json +2 -2
- package/patterns/_index.json +131 -41
- package/patterns/data/chart-card-with-trend-footer.json +102 -0
- package/patterns/data/chart-card-with-trend-footer.yaml +56 -0
- package/patterns/data/chart-grid-with-kpis.json +314 -0
- package/patterns/data/chart-grid-with-kpis.yaml +63 -0
- package/patterns/data/chart-with-filter-pills.json +127 -0
- package/patterns/data/chart-with-filter-pills.yaml +76 -0
- package/patterns/data/stat-with-sparkline.json +67 -0
- package/patterns/data/stat-with-sparkline.yaml +51 -0
- package/scripts/chunk-library.js +123 -0
- package/fragments/content/chart-legend.json +0 -122
- package/fragments/form/rating-row.json +0 -31
- package/fragments/form/rating-row.yaml +0 -40
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "chart-grid-with-kpis",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"domain": "data",
|
|
6
|
+
"description": "Dashboard with a 4-column KPI stat-with-sparkline row on top and a 2-column grid of chart cards with trend footers below. Modernized version of chart-dashboard using the Phase 1+3 primitives.",
|
|
7
|
+
"tags": {
|
|
8
|
+
"purpose": [
|
|
9
|
+
"visualization",
|
|
10
|
+
"data-display",
|
|
11
|
+
"dashboard"
|
|
12
|
+
],
|
|
13
|
+
"complexity": "complex",
|
|
14
|
+
"layout": "grid",
|
|
15
|
+
"interaction": []
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"dashboard",
|
|
19
|
+
"chart",
|
|
20
|
+
"kpi",
|
|
21
|
+
"stats",
|
|
22
|
+
"sparkline",
|
|
23
|
+
"trend",
|
|
24
|
+
"analytics",
|
|
25
|
+
"reporting"
|
|
26
|
+
],
|
|
27
|
+
"related": [
|
|
28
|
+
"chart-dashboard",
|
|
29
|
+
"stat-with-sparkline",
|
|
30
|
+
"chart-card-with-trend-footer",
|
|
31
|
+
"chart-with-filter-pills",
|
|
32
|
+
"metrics"
|
|
33
|
+
],
|
|
34
|
+
"template": [
|
|
35
|
+
{
|
|
36
|
+
"id": "root",
|
|
37
|
+
"component": "Column",
|
|
38
|
+
"children": [
|
|
39
|
+
"dash-header",
|
|
40
|
+
"kpi-grid",
|
|
41
|
+
"chart-grid"
|
|
42
|
+
],
|
|
43
|
+
"gap": "4"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "dash-header",
|
|
47
|
+
"component": "Row",
|
|
48
|
+
"children": [
|
|
49
|
+
"dash-title",
|
|
50
|
+
"dash-actions"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "dash-title",
|
|
55
|
+
"component": "Text",
|
|
56
|
+
"textContent": "Dashboard",
|
|
57
|
+
"variant": "title"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "dash-actions",
|
|
61
|
+
"component": "Row",
|
|
62
|
+
"children": [
|
|
63
|
+
"export-btn"
|
|
64
|
+
],
|
|
65
|
+
"gap": "2"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "export-btn",
|
|
69
|
+
"component": "Button",
|
|
70
|
+
"text": "Export",
|
|
71
|
+
"variant": "outline",
|
|
72
|
+
"size": "sm",
|
|
73
|
+
"icon": "download"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "kpi-grid",
|
|
77
|
+
"component": "Grid",
|
|
78
|
+
"children": [
|
|
79
|
+
"k1",
|
|
80
|
+
"k2",
|
|
81
|
+
"k3",
|
|
82
|
+
"k4"
|
|
83
|
+
],
|
|
84
|
+
"columns": "4"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "k1",
|
|
88
|
+
"component": "Card",
|
|
89
|
+
"children": ["k1s"]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "k1s",
|
|
93
|
+
"component": "Section",
|
|
94
|
+
"children": ["k1stat"]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "k1stat",
|
|
98
|
+
"component": "Stat",
|
|
99
|
+
"label": "Revenue",
|
|
100
|
+
"value": "$48.2k",
|
|
101
|
+
"change": "+12.5%",
|
|
102
|
+
"trend": "up",
|
|
103
|
+
"children": ["k1spark"]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "k1spark",
|
|
107
|
+
"component": "Chart",
|
|
108
|
+
"slot": "chart",
|
|
109
|
+
"type": "sparkline",
|
|
110
|
+
"x": "month",
|
|
111
|
+
"y": "revenue"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "k2",
|
|
115
|
+
"component": "Card",
|
|
116
|
+
"children": ["k2s"]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "k2s",
|
|
120
|
+
"component": "Section",
|
|
121
|
+
"children": ["k2stat"]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "k2stat",
|
|
125
|
+
"component": "Stat",
|
|
126
|
+
"label": "Users",
|
|
127
|
+
"value": "2,340",
|
|
128
|
+
"change": "+8%",
|
|
129
|
+
"trend": "up",
|
|
130
|
+
"children": ["k2spark"]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "k2spark",
|
|
134
|
+
"component": "Chart",
|
|
135
|
+
"slot": "chart",
|
|
136
|
+
"type": "sparkline",
|
|
137
|
+
"x": "month",
|
|
138
|
+
"y": "users"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "k3",
|
|
142
|
+
"component": "Card",
|
|
143
|
+
"children": ["k3s"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "k3s",
|
|
147
|
+
"component": "Section",
|
|
148
|
+
"children": ["k3stat"]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "k3stat",
|
|
152
|
+
"component": "Stat",
|
|
153
|
+
"label": "Bounce",
|
|
154
|
+
"value": "24.3%",
|
|
155
|
+
"change": "-3.1%",
|
|
156
|
+
"trend": "down",
|
|
157
|
+
"children": ["k3spark"]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "k3spark",
|
|
161
|
+
"component": "Chart",
|
|
162
|
+
"slot": "chart",
|
|
163
|
+
"type": "sparkline",
|
|
164
|
+
"x": "month",
|
|
165
|
+
"y": "bounce"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "k4",
|
|
169
|
+
"component": "Card",
|
|
170
|
+
"children": ["k4s"]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "k4s",
|
|
174
|
+
"component": "Section",
|
|
175
|
+
"children": ["k4stat"]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "k4stat",
|
|
179
|
+
"component": "Stat",
|
|
180
|
+
"label": "Session",
|
|
181
|
+
"value": "4m 23s",
|
|
182
|
+
"change": "+15s",
|
|
183
|
+
"trend": "up",
|
|
184
|
+
"children": ["k4spark"]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "k4spark",
|
|
188
|
+
"component": "Chart",
|
|
189
|
+
"slot": "chart",
|
|
190
|
+
"type": "sparkline",
|
|
191
|
+
"x": "month",
|
|
192
|
+
"y": "session"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "chart-grid",
|
|
196
|
+
"component": "Grid",
|
|
197
|
+
"children": [
|
|
198
|
+
"ch1",
|
|
199
|
+
"ch2"
|
|
200
|
+
],
|
|
201
|
+
"columns": "2"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "ch1",
|
|
205
|
+
"component": "Card",
|
|
206
|
+
"children": ["ch1h", "ch1s", "ch1f"]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "ch1h",
|
|
210
|
+
"component": "Header",
|
|
211
|
+
"children": ["ch1t", "ch1d"]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "ch1t",
|
|
215
|
+
"component": "Text",
|
|
216
|
+
"slot": "heading",
|
|
217
|
+
"textContent": "Revenue",
|
|
218
|
+
"variant": "section"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "ch1d",
|
|
222
|
+
"component": "Text",
|
|
223
|
+
"slot": "description",
|
|
224
|
+
"textContent": "Last 3 months",
|
|
225
|
+
"variant": "caption"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "ch1s",
|
|
229
|
+
"component": "Section",
|
|
230
|
+
"children": ["ch1-chart"]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "ch1-chart",
|
|
234
|
+
"component": "Chart",
|
|
235
|
+
"type": "area",
|
|
236
|
+
"x": "month",
|
|
237
|
+
"y": "revenue"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "ch1f",
|
|
241
|
+
"component": "Footer",
|
|
242
|
+
"children": ["ch1ft", "ch1fd"]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "ch1ft",
|
|
246
|
+
"component": "Text",
|
|
247
|
+
"slot": "heading",
|
|
248
|
+
"textContent": "Trending up by 5.2% this month",
|
|
249
|
+
"variant": "body"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "ch1fd",
|
|
253
|
+
"component": "Text",
|
|
254
|
+
"slot": "description",
|
|
255
|
+
"textContent": "January – March 2024",
|
|
256
|
+
"variant": "caption"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "ch2",
|
|
260
|
+
"component": "Card",
|
|
261
|
+
"children": ["ch2h", "ch2s", "ch2f"]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "ch2h",
|
|
265
|
+
"component": "Header",
|
|
266
|
+
"children": ["ch2t", "ch2d"]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"id": "ch2t",
|
|
270
|
+
"component": "Text",
|
|
271
|
+
"slot": "heading",
|
|
272
|
+
"textContent": "Users",
|
|
273
|
+
"variant": "section"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "ch2d",
|
|
277
|
+
"component": "Text",
|
|
278
|
+
"slot": "description",
|
|
279
|
+
"textContent": "Daily active users",
|
|
280
|
+
"variant": "caption"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "ch2s",
|
|
284
|
+
"component": "Section",
|
|
285
|
+
"children": ["ch2-chart"]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "ch2-chart",
|
|
289
|
+
"component": "Chart",
|
|
290
|
+
"type": "line",
|
|
291
|
+
"x": "month",
|
|
292
|
+
"y": "users"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "ch2f",
|
|
296
|
+
"component": "Footer",
|
|
297
|
+
"children": ["ch2ft", "ch2fd"]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "ch2ft",
|
|
301
|
+
"component": "Text",
|
|
302
|
+
"slot": "heading",
|
|
303
|
+
"textContent": "2,340 daily users",
|
|
304
|
+
"variant": "body"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "ch2fd",
|
|
308
|
+
"component": "Text",
|
|
309
|
+
"slot": "description",
|
|
310
|
+
"textContent": "Up 8% vs last quarter",
|
|
311
|
+
"variant": "caption"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
$schema: ../../../../../scripts/schemas/pattern.yaml.schema.json
|
|
2
|
+
name: chart-grid-with-kpis
|
|
3
|
+
domain: data
|
|
4
|
+
version: 1
|
|
5
|
+
description: >-
|
|
6
|
+
Dashboard with a 4-column KPI row (stat-with-sparkline each) on top and a
|
|
7
|
+
2-column grid of chart cards with trend footers below. Modernized version
|
|
8
|
+
of chart-dashboard that uses the Phase 1 (footer heading slot) and Phase 3
|
|
9
|
+
(stat chart slot) primitives.
|
|
10
|
+
tags:
|
|
11
|
+
purpose:
|
|
12
|
+
- visualization
|
|
13
|
+
- data-display
|
|
14
|
+
- dashboard
|
|
15
|
+
complexity: complex
|
|
16
|
+
layout: grid
|
|
17
|
+
interaction: []
|
|
18
|
+
keywords:
|
|
19
|
+
- dashboard
|
|
20
|
+
- chart
|
|
21
|
+
- kpi
|
|
22
|
+
- stats
|
|
23
|
+
- sparkline
|
|
24
|
+
- trend
|
|
25
|
+
- analytics
|
|
26
|
+
- reporting
|
|
27
|
+
related:
|
|
28
|
+
- chart-dashboard
|
|
29
|
+
- stat-with-sparkline
|
|
30
|
+
- chart-card-with-trend-footer
|
|
31
|
+
- chart-with-filter-pills
|
|
32
|
+
- metrics
|
|
33
|
+
use-cases:
|
|
34
|
+
- Admin/executive dashboards with KPIs + chart cards at a glance.
|
|
35
|
+
- SaaS analytics pages — revenue / users / bounce / session cards + trend charts.
|
|
36
|
+
- Marketing dashboards where each KPI card shows a sparkline and each chart card carries a trend caption.
|
|
37
|
+
variants:
|
|
38
|
+
- name: filter-pills
|
|
39
|
+
description: >-
|
|
40
|
+
Add `Segmented` pills to chart card headers (slot="action") per the
|
|
41
|
+
chart-with-filter-pills pattern for time-range selection.
|
|
42
|
+
- name: narrower-kpi-row
|
|
43
|
+
description: >-
|
|
44
|
+
Set `columns: "3"` or `"2"` on `kpi-grid` when only 2-3 KPIs matter.
|
|
45
|
+
wiring-intent:
|
|
46
|
+
summary: >-
|
|
47
|
+
Static pattern. Typical integration wires each Stat's value + its
|
|
48
|
+
sparkline's .data from the same controller; each chart card receives
|
|
49
|
+
its `.data` + trend narrative from the same source.
|
|
50
|
+
controllers: []
|
|
51
|
+
actions: []
|
|
52
|
+
components:
|
|
53
|
+
- Column
|
|
54
|
+
- Row
|
|
55
|
+
- Grid
|
|
56
|
+
- Card
|
|
57
|
+
- Header
|
|
58
|
+
- Section
|
|
59
|
+
- Footer
|
|
60
|
+
- Text
|
|
61
|
+
- Button
|
|
62
|
+
- Stat
|
|
63
|
+
- Chart
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "chart-with-filter-pills",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"domain": "data",
|
|
6
|
+
"description": "Chart in a card with a time-range pill selector in the header's action slot. The pills are a Segmented control (single-select) that drives the data window.",
|
|
7
|
+
"tags": {
|
|
8
|
+
"purpose": [
|
|
9
|
+
"visualization",
|
|
10
|
+
"data-display",
|
|
11
|
+
"filtering"
|
|
12
|
+
],
|
|
13
|
+
"complexity": "composed",
|
|
14
|
+
"layout": "single-column",
|
|
15
|
+
"interaction": [
|
|
16
|
+
"filter",
|
|
17
|
+
"time-range"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"chart",
|
|
22
|
+
"filter",
|
|
23
|
+
"pills",
|
|
24
|
+
"time-range",
|
|
25
|
+
"segmented",
|
|
26
|
+
"analytics",
|
|
27
|
+
"dashboard"
|
|
28
|
+
],
|
|
29
|
+
"related": [
|
|
30
|
+
"chart-card-with-trend-footer",
|
|
31
|
+
"chart-dashboard",
|
|
32
|
+
"metrics"
|
|
33
|
+
],
|
|
34
|
+
"template": [
|
|
35
|
+
{
|
|
36
|
+
"id": "root",
|
|
37
|
+
"component": "Card",
|
|
38
|
+
"children": [
|
|
39
|
+
"rc-header",
|
|
40
|
+
"rc-body"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "rc-header",
|
|
45
|
+
"component": "Header",
|
|
46
|
+
"children": [
|
|
47
|
+
"rc-title",
|
|
48
|
+
"rc-filter"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "rc-title",
|
|
53
|
+
"component": "Text",
|
|
54
|
+
"slot": "heading",
|
|
55
|
+
"textContent": "Revenue",
|
|
56
|
+
"variant": "section"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "rc-filter",
|
|
60
|
+
"component": "Segmented",
|
|
61
|
+
"slot": "action",
|
|
62
|
+
"value": "1m",
|
|
63
|
+
"children": [
|
|
64
|
+
"f-1w",
|
|
65
|
+
"f-2w",
|
|
66
|
+
"f-1m",
|
|
67
|
+
"f-3m"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "f-1w",
|
|
72
|
+
"component": "Segment",
|
|
73
|
+
"text": "1w",
|
|
74
|
+
"value": "1w"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "f-2w",
|
|
78
|
+
"component": "Segment",
|
|
79
|
+
"text": "2w",
|
|
80
|
+
"value": "2w"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "f-1m",
|
|
84
|
+
"component": "Segment",
|
|
85
|
+
"text": "1m",
|
|
86
|
+
"value": "1m"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "f-3m",
|
|
90
|
+
"component": "Segment",
|
|
91
|
+
"text": "3m",
|
|
92
|
+
"value": "3m"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "rc-body",
|
|
96
|
+
"component": "Section",
|
|
97
|
+
"children": [
|
|
98
|
+
"rc-chart"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "rc-chart",
|
|
103
|
+
"component": "Chart",
|
|
104
|
+
"type": "line",
|
|
105
|
+
"x": "date",
|
|
106
|
+
"y": "revenue"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"actions": [
|
|
110
|
+
{
|
|
111
|
+
"event": { "event": "change", "target": "rc-filter" },
|
|
112
|
+
"handler": "update-data-model",
|
|
113
|
+
"config": {
|
|
114
|
+
"path": "filters.range",
|
|
115
|
+
"value": "{{event.value}}"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"event": { "event": "change", "target": "rc-filter" },
|
|
120
|
+
"handler": "fetch-resource",
|
|
121
|
+
"config": {
|
|
122
|
+
"uri": "api://metrics/revenue?range={{event.value}}",
|
|
123
|
+
"target": "rc-chart.data"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
$schema: ../../../../../scripts/schemas/pattern.yaml.schema.json
|
|
2
|
+
name: chart-with-filter-pills
|
|
3
|
+
domain: data
|
|
4
|
+
version: 1
|
|
5
|
+
description: >-
|
|
6
|
+
Chart in a card with a time-range pill selector in the header's `action`
|
|
7
|
+
slot. The pills are a `Segmented` control (single-select of `Segment`
|
|
8
|
+
children) that drives the data window. Value changes are wired via A2UI
|
|
9
|
+
action binding to the chart's .data replacement.
|
|
10
|
+
tags:
|
|
11
|
+
purpose:
|
|
12
|
+
- visualization
|
|
13
|
+
- data-display
|
|
14
|
+
- filtering
|
|
15
|
+
complexity: composed
|
|
16
|
+
layout: single-column
|
|
17
|
+
interaction:
|
|
18
|
+
- filter
|
|
19
|
+
- time-range
|
|
20
|
+
keywords:
|
|
21
|
+
- chart
|
|
22
|
+
- filter
|
|
23
|
+
- pills
|
|
24
|
+
- time-range
|
|
25
|
+
- segmented
|
|
26
|
+
- analytics
|
|
27
|
+
- dashboard
|
|
28
|
+
related:
|
|
29
|
+
- chart-card-with-trend-footer
|
|
30
|
+
- chart-dashboard
|
|
31
|
+
- metrics
|
|
32
|
+
use-cases:
|
|
33
|
+
- Revenue / user / signup charts with 1w / 2w / 1m / 3m range pills.
|
|
34
|
+
- Analytics cards where the range toggle drives a server-side data refresh.
|
|
35
|
+
- Metric cards in a SaaS dashboard with standard Last 7d / 30d / 90d pills.
|
|
36
|
+
variants:
|
|
37
|
+
- name: toggle-group
|
|
38
|
+
description: >-
|
|
39
|
+
Swap `Segmented` for `ToggleGroup` when users need to multi-select
|
|
40
|
+
(e.g., comparing multiple ranges or series).
|
|
41
|
+
- name: dropdown
|
|
42
|
+
description: >-
|
|
43
|
+
Swap the pill row for a `Select` component when the range set grows
|
|
44
|
+
beyond ~5 options.
|
|
45
|
+
wiring-intent:
|
|
46
|
+
summary: >-
|
|
47
|
+
Segmented's change event drives two A2UI actions: (1) update the
|
|
48
|
+
data model's `filters.range` path so other surfaces can react to
|
|
49
|
+
the same selection, and (2) fetch the range-scoped metric series
|
|
50
|
+
and replace the chart's `.data`. Both actions target the same
|
|
51
|
+
event (`change` on `rc-filter`) so they fire in registration
|
|
52
|
+
order — model update first, then fetch. Canonical shapes are
|
|
53
|
+
carried in the JSON's top-level `actions` array (see the pattern
|
|
54
|
+
file) so the wiring is self-documenting for authors copying the
|
|
55
|
+
composition.
|
|
56
|
+
controllers:
|
|
57
|
+
- range-filter
|
|
58
|
+
actions:
|
|
59
|
+
- event: rc-filter.change
|
|
60
|
+
handler: update-data-model
|
|
61
|
+
config:
|
|
62
|
+
path: filters.range
|
|
63
|
+
value: event.value
|
|
64
|
+
- event: rc-filter.change
|
|
65
|
+
handler: fetch-resource
|
|
66
|
+
config:
|
|
67
|
+
uri: 'api://metrics/revenue?range={{event.value}}'
|
|
68
|
+
target: rc-chart.data
|
|
69
|
+
components:
|
|
70
|
+
- Card
|
|
71
|
+
- Header
|
|
72
|
+
- Section
|
|
73
|
+
- Chart
|
|
74
|
+
- Text
|
|
75
|
+
- Segmented
|
|
76
|
+
- Segment
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../_schema.json",
|
|
3
|
+
"name": "stat-with-sparkline",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"domain": "data",
|
|
6
|
+
"description": "KPI stat card with an inline sparkline on the right side. Uses the Stat component's `chart` slot introduced in Phase 3.",
|
|
7
|
+
"tags": {
|
|
8
|
+
"purpose": [
|
|
9
|
+
"visualization",
|
|
10
|
+
"data-display",
|
|
11
|
+
"kpi"
|
|
12
|
+
],
|
|
13
|
+
"complexity": "simple",
|
|
14
|
+
"layout": "single-column",
|
|
15
|
+
"interaction": []
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"stat",
|
|
19
|
+
"kpi",
|
|
20
|
+
"sparkline",
|
|
21
|
+
"metric",
|
|
22
|
+
"chart",
|
|
23
|
+
"summary",
|
|
24
|
+
"overview"
|
|
25
|
+
],
|
|
26
|
+
"related": [
|
|
27
|
+
"chart-dashboard",
|
|
28
|
+
"chart-grid-with-kpis",
|
|
29
|
+
"chart-card-with-trend-footer",
|
|
30
|
+
"metrics"
|
|
31
|
+
],
|
|
32
|
+
"template": [
|
|
33
|
+
{
|
|
34
|
+
"id": "root",
|
|
35
|
+
"component": "Card",
|
|
36
|
+
"children": [
|
|
37
|
+
"sec"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "sec",
|
|
42
|
+
"component": "Section",
|
|
43
|
+
"children": [
|
|
44
|
+
"kpi"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "kpi",
|
|
49
|
+
"component": "Stat",
|
|
50
|
+
"label": "Revenue",
|
|
51
|
+
"value": "$48.2k",
|
|
52
|
+
"change": "+12.5%",
|
|
53
|
+
"trend": "up",
|
|
54
|
+
"children": [
|
|
55
|
+
"kpi-spark"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "kpi-spark",
|
|
60
|
+
"component": "Chart",
|
|
61
|
+
"slot": "chart",
|
|
62
|
+
"type": "sparkline",
|
|
63
|
+
"x": "month",
|
|
64
|
+
"y": "revenue"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
$schema: ../../../../../scripts/schemas/pattern.yaml.schema.json
|
|
2
|
+
name: stat-with-sparkline
|
|
3
|
+
domain: data
|
|
4
|
+
version: 1
|
|
5
|
+
description: >-
|
|
6
|
+
KPI stat card with an inline sparkline on the right side. The `Stat`
|
|
7
|
+
component's `chart` slot (Phase 3 addition) routes the sparkline into a
|
|
8
|
+
right-column region spanning rows 2-3 of the stat grid — hero number
|
|
9
|
+
and mini-chart read as a single visual unit.
|
|
10
|
+
tags:
|
|
11
|
+
purpose:
|
|
12
|
+
- visualization
|
|
13
|
+
- data-display
|
|
14
|
+
- kpi
|
|
15
|
+
complexity: simple
|
|
16
|
+
layout: single-column
|
|
17
|
+
interaction: []
|
|
18
|
+
keywords:
|
|
19
|
+
- stat
|
|
20
|
+
- kpi
|
|
21
|
+
- sparkline
|
|
22
|
+
- metric
|
|
23
|
+
- chart
|
|
24
|
+
- summary
|
|
25
|
+
- overview
|
|
26
|
+
related:
|
|
27
|
+
- chart-dashboard
|
|
28
|
+
- chart-grid-with-kpis
|
|
29
|
+
- chart-card-with-trend-footer
|
|
30
|
+
- metrics
|
|
31
|
+
use-cases:
|
|
32
|
+
- Dashboard KPI tiles with inline trend sparklines.
|
|
33
|
+
- Top-of-page metric cards that need a richer signal than a +/- badge.
|
|
34
|
+
- Executive summary views pairing a hero number with its 30-day trajectory.
|
|
35
|
+
variants:
|
|
36
|
+
- name: bar-sparkline
|
|
37
|
+
description: Swap `type: sparkline` for `type: bar` for a mini-bar version.
|
|
38
|
+
- name: no-trend-badge
|
|
39
|
+
description: Omit `change` + `trend` when only the number + sparkline are wanted.
|
|
40
|
+
wiring-intent:
|
|
41
|
+
summary: >-
|
|
42
|
+
Static pattern. Sparkline .data is typically wired alongside the stat
|
|
43
|
+
value from the same controller — a single data fetch populates both
|
|
44
|
+
the hero number and its trajectory.
|
|
45
|
+
controllers: []
|
|
46
|
+
actions: []
|
|
47
|
+
components:
|
|
48
|
+
- Card
|
|
49
|
+
- Section
|
|
50
|
+
- Stat
|
|
51
|
+
- Chart
|