@cronus-ui/ui 0.6.0
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/LICENSE +21 -0
- package/README.md +262 -0
- package/dist/charts/animation.d.ts +11 -0
- package/dist/charts/animation.js +29 -0
- package/dist/charts/area-chart-loading.d.ts +34 -0
- package/dist/charts/area-chart-loading.js +22 -0
- package/dist/charts/area-chart.d.ts +48 -0
- package/dist/charts/area-chart.js +57 -0
- package/dist/charts/area-gradient-defs.d.ts +20 -0
- package/dist/charts/area-gradient-defs.js +15 -0
- package/dist/charts/area.d.ts +76 -0
- package/dist/charts/area.js +104 -0
- package/dist/charts/background.d.ts +27 -0
- package/dist/charts/background.js +68 -0
- package/dist/charts/bar-chart-loading.d.ts +17 -0
- package/dist/charts/bar-chart-loading.js +14 -0
- package/dist/charts/bar-chart.d.ts +55 -0
- package/dist/charts/bar-chart.js +432 -0
- package/dist/charts/bar-depth-geometry.d.ts +33 -0
- package/dist/charts/bar-depth-geometry.js +38 -0
- package/dist/charts/bar-depth.d.ts +157 -0
- package/dist/charts/bar-depth.js +586 -0
- package/dist/charts/bar-squares-layout.d.ts +28 -0
- package/dist/charts/bar-squares-layout.js +47 -0
- package/dist/charts/bar-squares.d.ts +49 -0
- package/dist/charts/bar-squares.js +207 -0
- package/dist/charts/bar-x-axis.d.ts +14 -0
- package/dist/charts/bar-x-axis.js +73 -0
- package/dist/charts/bar-y-axis.d.ts +12 -0
- package/dist/charts/bar-y-axis.js +64 -0
- package/dist/charts/bar.d.ts +41 -0
- package/dist/charts/bar.js +208 -0
- package/dist/charts/candlestick-chart.d.ts +46 -0
- package/dist/charts/candlestick-chart.js +203 -0
- package/dist/charts/candlestick.d.ts +24 -0
- package/dist/charts/candlestick.js +139 -0
- package/dist/charts/chart-brush-handle.d.ts +15 -0
- package/dist/charts/chart-brush-handle.js +47 -0
- package/dist/charts/chart-brush-layout.d.ts +27 -0
- package/dist/charts/chart-brush-layout.js +42 -0
- package/dist/charts/chart-brush-selection-overlay.d.ts +19 -0
- package/dist/charts/chart-brush-selection-overlay.js +44 -0
- package/dist/charts/chart-brush-track-overlay.d.ts +23 -0
- package/dist/charts/chart-brush-track-overlay.js +65 -0
- package/dist/charts/chart-brush.d.ts +32 -0
- package/dist/charts/chart-brush.js +116 -0
- package/dist/charts/chart-center-typography.d.ts +12 -0
- package/dist/charts/chart-center-typography.js +12 -0
- package/dist/charts/chart-child-passthrough.d.ts +17 -0
- package/dist/charts/chart-child-passthrough.js +74 -0
- package/dist/charts/chart-config-context.d.ts +26 -0
- package/dist/charts/chart-config-context.js +47 -0
- package/dist/charts/chart-context.d.ts +199 -0
- package/dist/charts/chart-context.js +201 -0
- package/dist/charts/chart-defs.d.ts +13 -0
- package/dist/charts/chart-defs.js +49 -0
- package/dist/charts/chart-formatters.d.ts +10 -0
- package/dist/charts/chart-formatters.js +28 -0
- package/dist/charts/chart-legend-hover.d.ts +13 -0
- package/dist/charts/chart-legend-hover.js +18 -0
- package/dist/charts/chart-legend.d.ts +55 -0
- package/dist/charts/chart-legend.js +30 -0
- package/dist/charts/chart-loading-label.d.ts +10 -0
- package/dist/charts/chart-loading-label.js +21 -0
- package/dist/charts/chart-phase.d.ts +31 -0
- package/dist/charts/chart-phase.js +21 -0
- package/dist/charts/chart-reveal-clip.d.ts +24 -0
- package/dist/charts/chart-reveal-clip.js +24 -0
- package/dist/charts/chart-scale.d.ts +12 -0
- package/dist/charts/chart-scale.js +17 -0
- package/dist/charts/chart-stat-flow.d.ts +36 -0
- package/dist/charts/chart-stat-flow.js +23 -0
- package/dist/charts/choropleth/choropleth-chart.d.ts +43 -0
- package/dist/charts/choropleth/choropleth-chart.js +218 -0
- package/dist/charts/choropleth/choropleth-context.d.ts +86 -0
- package/dist/charts/choropleth/choropleth-context.js +106 -0
- package/dist/charts/choropleth/choropleth-feature.d.ts +13 -0
- package/dist/charts/choropleth/choropleth-feature.js +125 -0
- package/dist/charts/choropleth/choropleth-graticule.d.ts +11 -0
- package/dist/charts/choropleth/choropleth-graticule.js +12 -0
- package/dist/charts/choropleth/choropleth-tooltip.d.ts +31 -0
- package/dist/charts/choropleth/choropleth-tooltip.js +50 -0
- package/dist/charts/choropleth/index.d.ts +7 -0
- package/dist/charts/choropleth/index.js +6 -0
- package/dist/charts/composed-chart.d.ts +36 -0
- package/dist/charts/composed-chart.js +152 -0
- package/dist/charts/dash-tail-stroke.d.ts +18 -0
- package/dist/charts/dash-tail-stroke.js +13 -0
- package/dist/charts/decimate-time-series.d.ts +10 -0
- package/dist/charts/decimate-time-series.js +112 -0
- package/dist/charts/fade-edges.d.ts +34 -0
- package/dist/charts/fade-edges.js +35 -0
- package/dist/charts/filter-data-by-x-domain.d.ts +5 -0
- package/dist/charts/filter-data-by-x-domain.js +42 -0
- package/dist/charts/funnel-chart.d.ts +91 -0
- package/dist/charts/funnel-chart.js +302 -0
- package/dist/charts/gauge-label-layout.d.ts +22 -0
- package/dist/charts/gauge-label-layout.js +44 -0
- package/dist/charts/gauge.d.ts +56 -0
- package/dist/charts/gauge.js +307 -0
- package/dist/charts/generate-chart-skeleton-data.d.ts +16 -0
- package/dist/charts/generate-chart-skeleton-data.js +25 -0
- package/dist/charts/grid.d.ts +58 -0
- package/dist/charts/grid.js +80 -0
- package/dist/charts/heatmap/generate-heatmap-skeleton-data.d.ts +4 -0
- package/dist/charts/heatmap/generate-heatmap-skeleton-data.js +12 -0
- package/dist/charts/heatmap/heatmap-animation.d.ts +41 -0
- package/dist/charts/heatmap/heatmap-animation.js +85 -0
- package/dist/charts/heatmap/heatmap-cells.d.ts +21 -0
- package/dist/charts/heatmap/heatmap-cells.js +265 -0
- package/dist/charts/heatmap/heatmap-chart-loading.d.ts +21 -0
- package/dist/charts/heatmap/heatmap-chart-loading.js +14 -0
- package/dist/charts/heatmap/heatmap-chart.d.ts +80 -0
- package/dist/charts/heatmap/heatmap-chart.js +275 -0
- package/dist/charts/heatmap/heatmap-colors.d.ts +70 -0
- package/dist/charts/heatmap/heatmap-colors.js +113 -0
- package/dist/charts/heatmap/heatmap-context.d.ts +109 -0
- package/dist/charts/heatmap/heatmap-context.js +69 -0
- package/dist/charts/heatmap/heatmap-legend-gradient.d.ts +20 -0
- package/dist/charts/heatmap/heatmap-legend-gradient.js +44 -0
- package/dist/charts/heatmap/heatmap-legend-swatch.d.ts +8 -0
- package/dist/charts/heatmap/heatmap-legend-swatch.js +26 -0
- package/dist/charts/heatmap/heatmap-legend.d.ts +41 -0
- package/dist/charts/heatmap/heatmap-legend.js +68 -0
- package/dist/charts/heatmap/heatmap-pattern-defs.d.ts +5 -0
- package/dist/charts/heatmap/heatmap-pattern-defs.js +25 -0
- package/dist/charts/heatmap/heatmap-resolve-separator.d.ts +8 -0
- package/dist/charts/heatmap/heatmap-resolve-separator.js +82 -0
- package/dist/charts/heatmap/heatmap-separator.d.ts +63 -0
- package/dist/charts/heatmap/heatmap-separator.js +71 -0
- package/dist/charts/heatmap/heatmap-tooltip.d.ts +30 -0
- package/dist/charts/heatmap/heatmap-tooltip.js +20 -0
- package/dist/charts/heatmap/heatmap-utils.d.ts +175 -0
- package/dist/charts/heatmap/heatmap-utils.js +595 -0
- package/dist/charts/heatmap/heatmap-x-axis.d.ts +7 -0
- package/dist/charts/heatmap/heatmap-x-axis.js +54 -0
- package/dist/charts/heatmap/heatmap-y-axis.d.ts +14 -0
- package/dist/charts/heatmap/heatmap-y-axis.js +37 -0
- package/dist/charts/heatmap/index.d.ts +15 -0
- package/dist/charts/heatmap/index.js +15 -0
- package/dist/charts/heatmap/use-delayed-tooltip-data.d.ts +3 -0
- package/dist/charts/heatmap/use-delayed-tooltip-data.js +53 -0
- package/dist/charts/highlight-segment-bounds.d.ts +18 -0
- package/dist/charts/highlight-segment-bounds.js +36 -0
- package/dist/charts/highlight-segment.d.ts +22 -0
- package/dist/charts/highlight-segment.js +14 -0
- package/dist/charts/index.d.ts +106 -0
- package/dist/charts/index.js +133 -0
- package/dist/charts/indicator-fade.d.ts +15 -0
- package/dist/charts/indicator-fade.js +42 -0
- package/dist/charts/legend/index.d.ts +8 -0
- package/dist/charts/legend/index.js +10 -0
- package/dist/charts/legend/legend-context.d.ts +48 -0
- package/dist/charts/legend/legend-context.js +34 -0
- package/dist/charts/legend/legend-item.d.ts +12 -0
- package/dist/charts/legend/legend-item.js +11 -0
- package/dist/charts/legend/legend-label.d.ts +9 -0
- package/dist/charts/legend/legend-label.js +10 -0
- package/dist/charts/legend/legend-marker.d.ts +9 -0
- package/dist/charts/legend/legend-marker.js +11 -0
- package/dist/charts/legend/legend-progress.d.ts +13 -0
- package/dist/charts/legend/legend-progress.js +15 -0
- package/dist/charts/legend/legend-value.d.ts +17 -0
- package/dist/charts/legend/legend-value.js +11 -0
- package/dist/charts/legend/legend.d.ts +23 -0
- package/dist/charts/legend/legend.js +43 -0
- package/dist/charts/line-chart-loading.d.ts +34 -0
- package/dist/charts/line-chart-loading.js +22 -0
- package/dist/charts/line-chart.d.ts +46 -0
- package/dist/charts/line-chart.js +91 -0
- package/dist/charts/line-loading-pulse.d.ts +20 -0
- package/dist/charts/line-loading-pulse.js +124 -0
- package/dist/charts/line-loading-timing.d.ts +10 -0
- package/dist/charts/line-loading-timing.js +10 -0
- package/dist/charts/line-series-terminal-marker.d.ts +16 -0
- package/dist/charts/line-series-terminal-marker.js +46 -0
- package/dist/charts/line.d.ts +64 -0
- package/dist/charts/line.js +96 -0
- package/dist/charts/live-line-chart.d.ts +35 -0
- package/dist/charts/live-line-chart.js +374 -0
- package/dist/charts/live-line.d.ts +39 -0
- package/dist/charts/live-line.js +78 -0
- package/dist/charts/live-x-axis.d.ts +12 -0
- package/dist/charts/live-x-axis.js +85 -0
- package/dist/charts/live-y-axis.d.ts +16 -0
- package/dist/charts/live-y-axis.js +137 -0
- package/dist/charts/loading-sweep.d.ts +66 -0
- package/dist/charts/loading-sweep.js +174 -0
- package/dist/charts/markers/chart-markers.d.ts +25 -0
- package/dist/charts/markers/chart-markers.js +87 -0
- package/dist/charts/markers/index.d.ts +3 -0
- package/dist/charts/markers/index.js +3 -0
- package/dist/charts/markers/marker-group.d.ts +88 -0
- package/dist/charts/markers/marker-group.js +171 -0
- package/dist/charts/motion-utils.d.ts +9 -0
- package/dist/charts/motion-utils.js +28 -0
- package/dist/charts/notch-gauge-shared.d.ts +49 -0
- package/dist/charts/notch-gauge-shared.js +103 -0
- package/dist/charts/path-stroke-utils.d.ts +20 -0
- package/dist/charts/path-stroke-utils.js +55 -0
- package/dist/charts/pattern-area.d.ts +21 -0
- package/dist/charts/pattern-area.js +19 -0
- package/dist/charts/pattern-preset.d.ts +26 -0
- package/dist/charts/pattern-preset.js +83 -0
- package/dist/charts/pie-center-shell.d.ts +24 -0
- package/dist/charts/pie-center-shell.js +109 -0
- package/dist/charts/pie-center.d.ts +46 -0
- package/dist/charts/pie-center.js +46 -0
- package/dist/charts/pie-chart.d.ts +50 -0
- package/dist/charts/pie-chart.js +248 -0
- package/dist/charts/pie-context.d.ts +74 -0
- package/dist/charts/pie-context.js +95 -0
- package/dist/charts/pie-slice.d.ts +28 -0
- package/dist/charts/pie-slice.js +180 -0
- package/dist/charts/profit-loss-legend-hover.d.ts +11 -0
- package/dist/charts/profit-loss-legend-hover.js +12 -0
- package/dist/charts/profit-loss-legend.d.ts +17 -0
- package/dist/charts/profit-loss-legend.js +18 -0
- package/dist/charts/profit-loss-line.d.ts +27 -0
- package/dist/charts/profit-loss-line.js +77 -0
- package/dist/charts/profit-loss-segments.d.ts +12 -0
- package/dist/charts/profit-loss-segments.js +86 -0
- package/dist/charts/projection-config.d.ts +11 -0
- package/dist/charts/projection-config.js +80 -0
- package/dist/charts/projection-line-end-marker.d.ts +15 -0
- package/dist/charts/projection-line-end-marker.js +27 -0
- package/dist/charts/projection-line.d.ts +40 -0
- package/dist/charts/projection-line.js +79 -0
- package/dist/charts/projection-utils.d.ts +46 -0
- package/dist/charts/projection-utils.js +253 -0
- package/dist/charts/radar-area.d.ts +17 -0
- package/dist/charts/radar-area.js +84 -0
- package/dist/charts/radar-axis.d.ts +14 -0
- package/dist/charts/radar-axis.js +24 -0
- package/dist/charts/radar-chart.d.ts +36 -0
- package/dist/charts/radar-chart.js +89 -0
- package/dist/charts/radar-context.d.ts +68 -0
- package/dist/charts/radar-context.js +87 -0
- package/dist/charts/radar-grid.d.ts +16 -0
- package/dist/charts/radar-grid.js +40 -0
- package/dist/charts/radar-labels.d.ts +16 -0
- package/dist/charts/radar-labels.js +29 -0
- package/dist/charts/reference-area-config.d.ts +10 -0
- package/dist/charts/reference-area-config.js +39 -0
- package/dist/charts/reference-area-geometry.d.ts +23 -0
- package/dist/charts/reference-area-geometry.js +68 -0
- package/dist/charts/reference-area-registration-context.d.ts +8 -0
- package/dist/charts/reference-area-registration-context.js +7 -0
- package/dist/charts/reference-area.d.ts +52 -0
- package/dist/charts/reference-area.js +101 -0
- package/dist/charts/ring-center.d.ts +46 -0
- package/dist/charts/ring-center.js +41 -0
- package/dist/charts/ring-chart.d.ts +41 -0
- package/dist/charts/ring-chart.js +212 -0
- package/dist/charts/ring-context.d.ts +66 -0
- package/dist/charts/ring-context.js +92 -0
- package/dist/charts/ring.d.ts +11 -0
- package/dist/charts/ring.js +104 -0
- package/dist/charts/sankey/index.d.ts +6 -0
- package/dist/charts/sankey/index.js +6 -0
- package/dist/charts/sankey/sankey-chart.d.ts +39 -0
- package/dist/charts/sankey/sankey-chart.js +117 -0
- package/dist/charts/sankey/sankey-context.d.ts +69 -0
- package/dist/charts/sankey/sankey-context.js +23 -0
- package/dist/charts/sankey/sankey-link.d.ts +26 -0
- package/dist/charts/sankey/sankey-link.js +155 -0
- package/dist/charts/sankey/sankey-node.d.ts +29 -0
- package/dist/charts/sankey/sankey-node.js +200 -0
- package/dist/charts/sankey/sankey-tooltip.d.ts +24 -0
- package/dist/charts/sankey/sankey-tooltip.js +70 -0
- package/dist/charts/scatter-chart-shell.d.ts +21 -0
- package/dist/charts/scatter-chart-shell.js +152 -0
- package/dist/charts/scatter-chart.d.ts +32 -0
- package/dist/charts/scatter-chart.js +56 -0
- package/dist/charts/scatter-svg.d.ts +6 -0
- package/dist/charts/scatter-svg.js +16 -0
- package/dist/charts/scatter.d.ts +21 -0
- package/dist/charts/scatter.js +30 -0
- package/dist/charts/segment.d.ts +26 -0
- package/dist/charts/segment.js +42 -0
- package/dist/charts/series-bar-layout.d.ts +18 -0
- package/dist/charts/series-bar-layout.js +31 -0
- package/dist/charts/series-bar.d.ts +20 -0
- package/dist/charts/series-bar.js +120 -0
- package/dist/charts/series-dash-tail-overlay.d.ts +17 -0
- package/dist/charts/series-dash-tail-overlay.js +39 -0
- package/dist/charts/series-highlight-layer.d.ts +23 -0
- package/dist/charts/series-highlight-layer.js +21 -0
- package/dist/charts/series-hover-dim.d.ts +29 -0
- package/dist/charts/series-hover-dim.js +26 -0
- package/dist/charts/series-markers.d.ts +14 -0
- package/dist/charts/series-markers.js +98 -0
- package/dist/charts/series-path-utils.d.ts +19 -0
- package/dist/charts/series-path-utils.js +60 -0
- package/dist/charts/series-point-marker.d.ts +48 -0
- package/dist/charts/series-point-marker.js +48 -0
- package/dist/charts/shimmering-text.d.ts +23 -0
- package/dist/charts/shimmering-text.js +31 -0
- package/dist/charts/static-chart-preview-context.d.ts +7 -0
- package/dist/charts/static-chart-preview-context.js +12 -0
- package/dist/charts/sunburst-breadcrumb.d.ts +16 -0
- package/dist/charts/sunburst-breadcrumb.js +26 -0
- package/dist/charts/sunburst-center.d.ts +5 -0
- package/dist/charts/sunburst-center.js +17 -0
- package/dist/charts/sunburst-chart.d.ts +30 -0
- package/dist/charts/sunburst-chart.js +263 -0
- package/dist/charts/sunburst-context.d.ts +61 -0
- package/dist/charts/sunburst-context.js +112 -0
- package/dist/charts/sunburst-data.d.ts +9 -0
- package/dist/charts/sunburst-data.js +2 -0
- package/dist/charts/sunburst-hint.d.ts +13 -0
- package/dist/charts/sunburst-hint.js +31 -0
- package/dist/charts/sunburst-labels.d.ts +9 -0
- package/dist/charts/sunburst-labels.js +63 -0
- package/dist/charts/sunburst-segment.d.ts +11 -0
- package/dist/charts/sunburst-segment.js +78 -0
- package/dist/charts/sunburst.d.ts +101 -0
- package/dist/charts/sunburst.js +396 -0
- package/dist/charts/time-series-chart-shell.d.ts +47 -0
- package/dist/charts/time-series-chart-shell.js +390 -0
- package/dist/charts/tooltip/chart-tooltip.d.ts +76 -0
- package/dist/charts/tooltip/chart-tooltip.js +150 -0
- package/dist/charts/tooltip/date-ticker.d.ts +11 -0
- package/dist/charts/tooltip/date-ticker.js +77 -0
- package/dist/charts/tooltip/index.d.ts +7 -0
- package/dist/charts/tooltip/index.js +7 -0
- package/dist/charts/tooltip/tooltip-box.d.ts +48 -0
- package/dist/charts/tooltip/tooltip-box.js +114 -0
- package/dist/charts/tooltip/tooltip-content.d.ts +18 -0
- package/dist/charts/tooltip/tooltip-content.js +9 -0
- package/dist/charts/tooltip/tooltip-dot.d.ts +28 -0
- package/dist/charts/tooltip/tooltip-dot.js +54 -0
- package/dist/charts/tooltip/tooltip-indicator.d.ts +45 -0
- package/dist/charts/tooltip/tooltip-indicator.js +65 -0
- package/dist/charts/use-animated-series-path.d.ts +19 -0
- package/dist/charts/use-animated-series-path.js +93 -0
- package/dist/charts/use-animated-y-domains.d.ts +14 -0
- package/dist/charts/use-animated-y-domains.js +150 -0
- package/dist/charts/use-chart-interaction.d.ts +41 -0
- package/dist/charts/use-chart-interaction.js +244 -0
- package/dist/charts/use-chart-phase-orchestrator.d.ts +23 -0
- package/dist/charts/use-chart-phase-orchestrator.js +139 -0
- package/dist/charts/use-enter-complete.d.ts +8 -0
- package/dist/charts/use-enter-complete.js +23 -0
- package/dist/charts/use-grid-shimmer.d.ts +16 -0
- package/dist/charts/use-grid-shimmer.js +63 -0
- package/dist/charts/use-highlight-segment.d.ts +14 -0
- package/dist/charts/use-highlight-segment.js +34 -0
- package/dist/charts/use-mount-progress.d.ts +4 -0
- package/dist/charts/use-mount-progress.js +22 -0
- package/dist/charts/use-scatter-chart-interaction.d.ts +35 -0
- package/dist/charts/use-scatter-chart-interaction.js +228 -0
- package/dist/charts/use-scheduled-tooltip.d.ts +9 -0
- package/dist/charts/use-scheduled-tooltip.js +76 -0
- package/dist/charts/visx-pattern.d.ts +19 -0
- package/dist/charts/visx-pattern.js +20 -0
- package/dist/charts/x-axis.d.ts +27 -0
- package/dist/charts/x-axis.js +415 -0
- package/dist/charts/y-axis-scales.d.ts +26 -0
- package/dist/charts/y-axis-scales.js +72 -0
- package/dist/charts/y-axis-ticks.d.ts +12 -0
- package/dist/charts/y-axis-ticks.js +24 -0
- package/dist/charts/y-axis.d.ts +22 -0
- package/dist/charts/y-axis.js +80 -0
- package/dist/charts/y-domain-utils.d.ts +27 -0
- package/dist/charts/y-domain-utils.js +88 -0
- package/dist/components/accordion.d.ts +6 -0
- package/dist/components/accordion.js +20 -0
- package/dist/components/alert-dialog.d.ts +18 -0
- package/dist/components/alert-dialog.js +41 -0
- package/dist/components/alert.d.ts +24 -0
- package/dist/components/alert.js +46 -0
- package/dist/components/animated-button.d.ts +5 -0
- package/dist/components/animated-button.js +16 -0
- package/dist/components/animated-list.d.ts +26 -0
- package/dist/components/animated-list.js +25 -0
- package/dist/components/animated-number.d.ts +67 -0
- package/dist/components/animated-number.js +131 -0
- package/dist/components/app-shell.d.ts +27 -0
- package/dist/components/app-shell.js +18 -0
- package/dist/components/area-chart.d.ts +11 -0
- package/dist/components/area-chart.js +12 -0
- package/dist/components/aspect-ratio.d.ts +16 -0
- package/dist/components/aspect-ratio.js +14 -0
- package/dist/components/aurora-background.d.ts +3 -0
- package/dist/components/aurora-background.js +8 -0
- package/dist/components/autocomplete.d.ts +55 -0
- package/dist/components/autocomplete.js +279 -0
- package/dist/components/avatar-group.d.ts +39 -0
- package/dist/components/avatar-group.js +50 -0
- package/dist/components/avatar.d.ts +5 -0
- package/dist/components/avatar.js +17 -0
- package/dist/components/badge.d.ts +10 -0
- package/dist/components/badge.js +35 -0
- package/dist/components/banner.d.ts +45 -0
- package/dist/components/banner.js +80 -0
- package/dist/components/bar-chart.d.ts +11 -0
- package/dist/components/bar-chart.js +9 -0
- package/dist/components/border-beam.d.ts +45 -0
- package/dist/components/border-beam.js +48 -0
- package/dist/components/breadcrumb.d.ts +12 -0
- package/dist/components/breadcrumb.js +35 -0
- package/dist/components/button-group.d.ts +7 -0
- package/dist/components/button-group.js +10 -0
- package/dist/components/button.d.ts +12 -0
- package/dist/components/button.js +39 -0
- package/dist/components/calendar.d.ts +7 -0
- package/dist/components/calendar.js +71 -0
- package/dist/components/candlestick-chart.d.ts +13 -0
- package/dist/components/candlestick-chart.js +66 -0
- package/dist/components/card-stack.d.ts +28 -0
- package/dist/components/card-stack.js +47 -0
- package/dist/components/card.d.ts +9 -0
- package/dist/components/card.js +32 -0
- package/dist/components/carousel.d.ts +82 -0
- package/dist/components/carousel.js +310 -0
- package/dist/components/chart.d.ts +100 -0
- package/dist/components/chart.js +210 -0
- package/dist/components/checkbox.d.ts +3 -0
- package/dist/components/checkbox.js +11 -0
- package/dist/components/chip.d.ts +80 -0
- package/dist/components/chip.js +186 -0
- package/dist/components/choropleth-chart.d.ts +12 -0
- package/dist/components/choropleth-chart.js +31 -0
- package/dist/components/click-spark.d.ts +19 -0
- package/dist/components/click-spark.js +51 -0
- package/dist/components/code-block.d.ts +13 -0
- package/dist/components/code-block.js +20 -0
- package/dist/components/code-tabs.d.ts +51 -0
- package/dist/components/code-tabs.js +150 -0
- package/dist/components/collapsible.d.ts +5 -0
- package/dist/components/collapsible.js +12 -0
- package/dist/components/color-picker.d.ts +30 -0
- package/dist/components/color-picker.js +300 -0
- package/dist/components/combobox.d.ts +33 -0
- package/dist/components/combobox.js +32 -0
- package/dist/components/command.d.ts +87 -0
- package/dist/components/command.js +44 -0
- package/dist/components/comparison-slider.d.ts +17 -0
- package/dist/components/comparison-slider.js +81 -0
- package/dist/components/composed-chart.d.ts +13 -0
- package/dist/components/composed-chart.js +22 -0
- package/dist/components/confetti.d.ts +21 -0
- package/dist/components/confetti.js +111 -0
- package/dist/components/confirmation-dialog.d.ts +46 -0
- package/dist/components/confirmation-dialog.js +102 -0
- package/dist/components/context-menu.d.ts +28 -0
- package/dist/components/context-menu.js +52 -0
- package/dist/components/copy-button.d.ts +13 -0
- package/dist/components/copy-button.js +72 -0
- package/dist/components/countdown.d.ts +58 -0
- package/dist/components/countdown.js +106 -0
- package/dist/components/credit-card-input.d.ts +62 -0
- package/dist/components/credit-card-input.js +211 -0
- package/dist/components/currency-input.d.ts +86 -0
- package/dist/components/currency-input.js +215 -0
- package/dist/components/data-table.d.ts +232 -0
- package/dist/components/data-table.js +359 -0
- package/dist/components/date-picker.d.ts +66 -0
- package/dist/components/date-picker.js +55 -0
- package/dist/components/date-range-picker.d.ts +59 -0
- package/dist/components/date-range-picker.js +59 -0
- package/dist/components/description-list.d.ts +84 -0
- package/dist/components/description-list.js +138 -0
- package/dist/components/dialog.d.ts +26 -0
- package/dist/components/dialog.js +35 -0
- package/dist/components/dock.d.ts +34 -0
- package/dist/components/dock.js +61 -0
- package/dist/components/dot-pattern.d.ts +24 -0
- package/dist/components/dot-pattern.js +19 -0
- package/dist/components/drawer.d.ts +22 -0
- package/dist/components/drawer.js +37 -0
- package/dist/components/dropdown-menu.d.ts +32 -0
- package/dist/components/dropdown-menu.js +56 -0
- package/dist/components/dynamic-island.d.ts +26 -0
- package/dist/components/dynamic-island.js +31 -0
- package/dist/components/empty.d.ts +7 -0
- package/dist/components/empty.js +24 -0
- package/dist/components/expandable-tabs.d.ts +24 -0
- package/dist/components/expandable-tabs.js +30 -0
- package/dist/components/fab.d.ts +35 -0
- package/dist/components/fab.js +36 -0
- package/dist/components/field.d.ts +6 -0
- package/dist/components/field.js +22 -0
- package/dist/components/file-dropzone.d.ts +28 -0
- package/dist/components/file-dropzone.js +59 -0
- package/dist/components/flickering-grid.d.ts +25 -0
- package/dist/components/flickering-grid.js +30 -0
- package/dist/components/flip-card.d.ts +70 -0
- package/dist/components/flip-card.js +117 -0
- package/dist/components/floating-label-input.d.ts +34 -0
- package/dist/components/floating-label-input.js +25 -0
- package/dist/components/form.d.ts +25 -0
- package/dist/components/form.js +68 -0
- package/dist/components/frame.d.ts +12 -0
- package/dist/components/frame.js +10 -0
- package/dist/components/funnel-chart.d.ts +11 -0
- package/dist/components/funnel-chart.js +16 -0
- package/dist/components/gauge-chart.d.ts +8 -0
- package/dist/components/gauge-chart.js +10 -0
- package/dist/components/glare-hover.d.ts +15 -0
- package/dist/components/glare-hover.js +64 -0
- package/dist/components/glass-card.d.ts +3 -0
- package/dist/components/glass-card.js +8 -0
- package/dist/components/gradient-border.d.ts +7 -0
- package/dist/components/gradient-border.js +8 -0
- package/dist/components/gradient-text.d.ts +6 -0
- package/dist/components/gradient-text.js +10 -0
- package/dist/components/grid-pattern.d.ts +23 -0
- package/dist/components/grid-pattern.js +18 -0
- package/dist/components/heatmap-chart.d.ts +6 -0
- package/dist/components/heatmap-chart.js +8 -0
- package/dist/components/heatmap.d.ts +28 -0
- package/dist/components/heatmap.js +41 -0
- package/dist/components/highlighter.d.ts +20 -0
- package/dist/components/highlighter.js +19 -0
- package/dist/components/hover-card.d.ts +5 -0
- package/dist/components/hover-card.js +12 -0
- package/dist/components/image-zoom.d.ts +47 -0
- package/dist/components/image-zoom.js +125 -0
- package/dist/components/input-group.d.ts +10 -0
- package/dist/components/input-group.js +12 -0
- package/dist/components/input-otp.d.ts +18 -0
- package/dist/components/input-otp.js +38 -0
- package/dist/components/input.d.ts +6 -0
- package/dist/components/input.js +8 -0
- package/dist/components/json-viewer.d.ts +43 -0
- package/dist/components/json-viewer.js +313 -0
- package/dist/components/kanban.d.ts +31 -0
- package/dist/components/kanban.js +143 -0
- package/dist/components/kbd.d.ts +3 -0
- package/dist/components/kbd.js +8 -0
- package/dist/components/label.d.ts +3 -0
- package/dist/components/label.js +9 -0
- package/dist/components/light-rays.d.ts +19 -0
- package/dist/components/light-rays.js +20 -0
- package/dist/components/lightbox.d.ts +24 -0
- package/dist/components/lightbox.js +68 -0
- package/dist/components/line-chart.d.ts +10 -0
- package/dist/components/line-chart.js +9 -0
- package/dist/components/live-line-chart.d.ts +12 -0
- package/dist/components/live-line-chart.js +42 -0
- package/dist/components/logo-carousel.d.ts +27 -0
- package/dist/components/logo-carousel.js +101 -0
- package/dist/components/magnetic.d.ts +44 -0
- package/dist/components/magnetic.js +172 -0
- package/dist/components/marquee.d.ts +71 -0
- package/dist/components/marquee.js +141 -0
- package/dist/components/masonry.d.ts +16 -0
- package/dist/components/masonry.js +84 -0
- package/dist/components/menubar.d.ts +33 -0
- package/dist/components/menubar.js +56 -0
- package/dist/components/meteors.d.ts +20 -0
- package/dist/components/meteors.js +39 -0
- package/dist/components/metric.d.ts +9 -0
- package/dist/components/metric.js +35 -0
- package/dist/components/mode-toggle.d.ts +32 -0
- package/dist/components/mode-toggle.js +40 -0
- package/dist/components/morphing-popover.d.ts +91 -0
- package/dist/components/morphing-popover.js +194 -0
- package/dist/components/motion-presets.d.ts +9 -0
- package/dist/components/motion-presets.js +20 -0
- package/dist/components/multi-select.d.ts +54 -0
- package/dist/components/multi-select.js +0 -0
- package/dist/components/navigation-menu.d.ts +12 -0
- package/dist/components/navigation-menu.js +42 -0
- package/dist/components/noise.d.ts +19 -0
- package/dist/components/noise.js +18 -0
- package/dist/components/notification-center.d.ts +68 -0
- package/dist/components/notification-center.js +57 -0
- package/dist/components/number-input.d.ts +45 -0
- package/dist/components/number-input.js +148 -0
- package/dist/components/orbit.d.ts +77 -0
- package/dist/components/orbit.js +100 -0
- package/dist/components/pagination.d.ts +16 -0
- package/dist/components/pagination.js +34 -0
- package/dist/components/particles.d.ts +18 -0
- package/dist/components/particles.js +92 -0
- package/dist/components/password-input.d.ts +16 -0
- package/dist/components/password-input.js +49 -0
- package/dist/components/phone-input.d.ts +67 -0
- package/dist/components/phone-input.js +225 -0
- package/dist/components/pie-chart.d.ts +12 -0
- package/dist/components/pie-chart.js +13 -0
- package/dist/components/pill-nav.d.ts +25 -0
- package/dist/components/pill-nav.js +66 -0
- package/dist/components/popover.d.ts +7 -0
- package/dist/components/popover.js +15 -0
- package/dist/components/profit-loss-chart.d.ts +10 -0
- package/dist/components/profit-loss-chart.js +8 -0
- package/dist/components/progress.d.ts +10 -0
- package/dist/components/progress.js +17 -0
- package/dist/components/progressive-blur.d.ts +24 -0
- package/dist/components/progressive-blur.js +43 -0
- package/dist/components/radar-chart.d.ts +9 -0
- package/dist/components/radar-chart.js +9 -0
- package/dist/components/radio-group.d.ts +4 -0
- package/dist/components/radio-group.js +15 -0
- package/dist/components/rating.d.ts +29 -0
- package/dist/components/rating.js +94 -0
- package/dist/components/resizable.d.ts +57 -0
- package/dist/components/resizable.js +73 -0
- package/dist/components/retro-grid.d.ts +25 -0
- package/dist/components/retro-grid.js +26 -0
- package/dist/components/reveal.d.ts +9 -0
- package/dist/components/reveal.js +14 -0
- package/dist/components/rich-text-editor.d.ts +28 -0
- package/dist/components/rich-text-editor.js +83 -0
- package/dist/components/ring-chart.d.ts +13 -0
- package/dist/components/ring-chart.js +16 -0
- package/dist/components/ripple.d.ts +25 -0
- package/dist/components/ripple.js +26 -0
- package/dist/components/sankey-chart.d.ts +16 -0
- package/dist/components/sankey-chart.js +8 -0
- package/dist/components/scatter-chart.d.ts +12 -0
- package/dist/components/scatter-chart.js +9 -0
- package/dist/components/scheduler.d.ts +50 -0
- package/dist/components/scheduler.js +93 -0
- package/dist/components/scramble-text.d.ts +39 -0
- package/dist/components/scramble-text.js +78 -0
- package/dist/components/scroll-area.d.ts +13 -0
- package/dist/components/scroll-area.js +14 -0
- package/dist/components/scroll-progress.d.ts +19 -0
- package/dist/components/scroll-progress.js +67 -0
- package/dist/components/segmented-control.d.ts +48 -0
- package/dist/components/segmented-control.js +222 -0
- package/dist/components/select.d.ts +12 -0
- package/dist/components/select.js +43 -0
- package/dist/components/separator.d.ts +3 -0
- package/dist/components/separator.js +9 -0
- package/dist/components/sheet.d.ts +25 -0
- package/dist/components/sheet.js +47 -0
- package/dist/components/shimmer.d.ts +3 -0
- package/dist/components/shimmer.js +8 -0
- package/dist/components/shiny-text.d.ts +20 -0
- package/dist/components/shiny-text.js +24 -0
- package/dist/components/sidebar.d.ts +92 -0
- package/dist/components/sidebar.js +290 -0
- package/dist/components/signature-pad.d.ts +44 -0
- package/dist/components/signature-pad.js +317 -0
- package/dist/components/skeleton.d.ts +3 -0
- package/dist/components/skeleton.js +8 -0
- package/dist/components/slider.d.ts +10 -0
- package/dist/components/slider.js +27 -0
- package/dist/components/sonner.d.ts +9 -0
- package/dist/components/sonner.js +17 -0
- package/dist/components/sparkles-text.d.ts +19 -0
- package/dist/components/sparkles-text.js +36 -0
- package/dist/components/sparkline.d.ts +22 -0
- package/dist/components/sparkline.js +100 -0
- package/dist/components/spinner.d.ts +10 -0
- package/dist/components/spinner.js +20 -0
- package/dist/components/spinning-text.d.ts +29 -0
- package/dist/components/spinning-text.js +40 -0
- package/dist/components/split-button.d.ts +71 -0
- package/dist/components/split-button.js +30 -0
- package/dist/components/spotlight-card.d.ts +11 -0
- package/dist/components/spotlight-card.js +63 -0
- package/dist/components/star-border.d.ts +19 -0
- package/dist/components/star-border.js +18 -0
- package/dist/components/status-dot.d.ts +60 -0
- package/dist/components/status-dot.js +76 -0
- package/dist/components/stepper.d.ts +98 -0
- package/dist/components/stepper.js +164 -0
- package/dist/components/sunburst-chart.d.ts +11 -0
- package/dist/components/sunburst-chart.js +45 -0
- package/dist/components/switch.d.ts +3 -0
- package/dist/components/switch.js +10 -0
- package/dist/components/table-of-contents.d.ts +64 -0
- package/dist/components/table-of-contents.js +0 -0
- package/dist/components/table.d.ts +10 -0
- package/dist/components/table.js +38 -0
- package/dist/components/tabs.d.ts +6 -0
- package/dist/components/tabs.js +22 -0
- package/dist/components/tags-input.d.ts +39 -0
- package/dist/components/tags-input.js +86 -0
- package/dist/components/terminal.d.ts +86 -0
- package/dist/components/terminal.js +182 -0
- package/dist/components/text-effect.d.ts +71 -0
- package/dist/components/text-effect.js +166 -0
- package/dist/components/textarea.d.ts +6 -0
- package/dist/components/textarea.js +8 -0
- package/dist/components/tilt-card.d.ts +30 -0
- package/dist/components/tilt-card.js +84 -0
- package/dist/components/time-picker.d.ts +58 -0
- package/dist/components/time-picker.js +245 -0
- package/dist/components/timeline.d.ts +81 -0
- package/dist/components/timeline.js +165 -0
- package/dist/components/toggle-group.d.ts +12 -0
- package/dist/components/toggle-group.js +23 -0
- package/dist/components/toggle.d.ts +12 -0
- package/dist/components/toggle.js +25 -0
- package/dist/components/toolbar.d.ts +14 -0
- package/dist/components/toolbar.js +89 -0
- package/dist/components/tooltip.d.ts +29 -0
- package/dist/components/tooltip.js +48 -0
- package/dist/components/tree-view.d.ts +45 -0
- package/dist/components/tree-view.js +197 -0
- package/dist/components/typing-text.d.ts +49 -0
- package/dist/components/typing-text.js +90 -0
- package/dist/components/usage-meter.d.ts +30 -0
- package/dist/components/usage-meter.js +90 -0
- package/dist/components/video-player.d.ts +48 -0
- package/dist/components/video-player.js +216 -0
- package/dist/components/word-rotate.d.ts +40 -0
- package/dist/components/word-rotate.js +34 -0
- package/dist/index.d.ts +306 -0
- package/dist/index.js +179 -0
- package/dist/lib/cn.d.ts +7 -0
- package/dist/lib/cn.js +10 -0
- package/dist/lib/demo-saas.d.ts +171 -0
- package/dist/lib/demo-saas.js +210 -0
- package/dist/lib/demo-store.d.ts +157 -0
- package/dist/lib/demo-store.js +353 -0
- package/dist/testing/index.d.ts +76 -0
- package/dist/testing/index.js +116 -0
- package/package.json +941 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// Utilities
|
|
2
|
+
// ── Wave 2 — overlays & navigation ─────────────────────────────────
|
|
3
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "./components/accordion.js";
|
|
4
|
+
export { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/alert.js";
|
|
5
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "./components/alert-dialog.js";
|
|
6
|
+
// ── Wave 4 — premium & brand ───────────────────────────────────────
|
|
7
|
+
export { AnimatedButton } from "./components/animated-button.js";
|
|
8
|
+
export { AnimatedList } from "./components/animated-list.js";
|
|
9
|
+
export { AnimatedNumber } from "./components/animated-number.js";
|
|
10
|
+
// ── Wave 5 — layout & app navigation ───────────────────────────────
|
|
11
|
+
export { AppShell } from "./components/app-shell.js";
|
|
12
|
+
export { AreaChart } from "./components/area-chart.js";
|
|
13
|
+
export { AspectRatio } from "./components/aspect-ratio.js";
|
|
14
|
+
export { AuroraBackground } from "./components/aurora-background.js";
|
|
15
|
+
export { Autocomplete } from "./components/autocomplete.js";
|
|
16
|
+
// ── Wave 3 — data & display ────────────────────────────────────────
|
|
17
|
+
export { Avatar, AvatarFallback, AvatarImage } from "./components/avatar.js";
|
|
18
|
+
export { AvatarGroup, avatarGroupItemVariants, avatarGroupOverflowVariants, } from "./components/avatar-group.js";
|
|
19
|
+
// ── Wave 0 — foundation ────────────────────────────────────────────
|
|
20
|
+
export { Badge, badgeVariants } from "./components/badge.js";
|
|
21
|
+
export { Banner, bannerVariants } from "./components/banner.js";
|
|
22
|
+
export { BarChart } from "./components/bar-chart.js";
|
|
23
|
+
export { BorderBeam } from "./components/border-beam.js";
|
|
24
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "./components/breadcrumb.js";
|
|
25
|
+
export { Button, buttonVariants } from "./components/button.js";
|
|
26
|
+
export { ButtonGroup } from "./components/button-group.js";
|
|
27
|
+
export { Calendar } from "./components/calendar.js";
|
|
28
|
+
export { CandlestickChart } from "./components/candlestick-chart.js";
|
|
29
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "./components/card.js";
|
|
30
|
+
export { CardStack } from "./components/card-stack.js";
|
|
31
|
+
export { Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, } from "./components/carousel.js";
|
|
32
|
+
export { ChartContainer, ChartCursor, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, chartSeriesConfig, } from "./components/chart.js";
|
|
33
|
+
// ── Wave 1 — forms ─────────────────────────────────────────────────
|
|
34
|
+
export { Checkbox } from "./components/checkbox.js";
|
|
35
|
+
export { Chip, ChipGroup, chipVariants } from "./components/chip.js";
|
|
36
|
+
export { CHOROPLETH_DEMO, ChoroplethChart } from "./components/choropleth-chart.js";
|
|
37
|
+
export { ClickSpark } from "./components/click-spark.js";
|
|
38
|
+
export { CodeBlock } from "./components/code-block.js";
|
|
39
|
+
export { CodeTabs } from "./components/code-tabs.js";
|
|
40
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "./components/collapsible.js";
|
|
41
|
+
export { ColorPicker } from "./components/color-picker.js";
|
|
42
|
+
export { Combobox } from "./components/combobox.js";
|
|
43
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "./components/command.js";
|
|
44
|
+
export { ComparisonSlider } from "./components/comparison-slider.js";
|
|
45
|
+
export { ComposedChart } from "./components/composed-chart.js";
|
|
46
|
+
export { Confetti } from "./components/confetti.js";
|
|
47
|
+
export { ConfirmationDialog } from "./components/confirmation-dialog.js";
|
|
48
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "./components/context-menu.js";
|
|
49
|
+
export { CopyButton } from "./components/copy-button.js";
|
|
50
|
+
export { Countdown } from "./components/countdown.js";
|
|
51
|
+
export { CreditCardInput } from "./components/credit-card-input.js";
|
|
52
|
+
export { CurrencyInput } from "./components/currency-input.js";
|
|
53
|
+
export { createSelectionColumn, DataTable, DataTableColumnHeader, fuzzyTextFilter, SELECTION_COLUMN_ID, tableRowsToCsv, } from "./components/data-table.js";
|
|
54
|
+
export { DatePicker } from "./components/date-picker.js";
|
|
55
|
+
export { DateRangePicker } from "./components/date-range-picker.js";
|
|
56
|
+
export { DescriptionDetails, DescriptionItem, DescriptionList, DescriptionTerm, descriptionListVariants, } from "./components/description-list.js";
|
|
57
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./components/dialog.js";
|
|
58
|
+
export { Dock } from "./components/dock.js";
|
|
59
|
+
export { DotPattern } from "./components/dot-pattern.js";
|
|
60
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, } from "./components/drawer.js";
|
|
61
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from "./components/dropdown-menu.js";
|
|
62
|
+
export { DynamicIsland } from "./components/dynamic-island.js";
|
|
63
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyIcon, EmptyTitle, } from "./components/empty.js";
|
|
64
|
+
export { ExpandableTabs } from "./components/expandable-tabs.js";
|
|
65
|
+
export { Fab } from "./components/fab.js";
|
|
66
|
+
export { Field, FieldDescription, FieldError, FieldLabel } from "./components/field.js";
|
|
67
|
+
export { FileDropzone } from "./components/file-dropzone.js";
|
|
68
|
+
export { FlickeringGrid } from "./components/flickering-grid.js";
|
|
69
|
+
export { FlipCard, FlipCardBack, FlipCardFront } from "./components/flip-card.js";
|
|
70
|
+
export { FloatingLabelInput } from "./components/floating-label-input.js";
|
|
71
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormContext, useFormField, } from "./components/form.js";
|
|
72
|
+
export { Frame } from "./components/frame.js";
|
|
73
|
+
export { FunnelChart } from "./components/funnel-chart.js";
|
|
74
|
+
export { GaugeChart } from "./components/gauge-chart.js";
|
|
75
|
+
export { GlareHover } from "./components/glare-hover.js";
|
|
76
|
+
export { GlassCard } from "./components/glass-card.js";
|
|
77
|
+
export { GradientBorder } from "./components/gradient-border.js";
|
|
78
|
+
export { GradientText } from "./components/gradient-text.js";
|
|
79
|
+
export { GridPattern } from "./components/grid-pattern.js";
|
|
80
|
+
export { getHeatmapLevel, Heatmap } from "./components/heatmap.js";
|
|
81
|
+
export { HeatmapChart } from "./components/heatmap-chart.js";
|
|
82
|
+
export { Highlighter } from "./components/highlighter.js";
|
|
83
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/hover-card.js";
|
|
84
|
+
export { ImageZoom, imageZoomVariants } from "./components/image-zoom.js";
|
|
85
|
+
export { Input } from "./components/input.js";
|
|
86
|
+
export { InputGroup, InputGroupAddon } from "./components/input-group.js";
|
|
87
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, } from "./components/input-otp.js";
|
|
88
|
+
export { JsonViewer } from "./components/json-viewer.js";
|
|
89
|
+
export { Kanban } from "./components/kanban.js";
|
|
90
|
+
export { Kbd } from "./components/kbd.js";
|
|
91
|
+
export { Label } from "./components/label.js";
|
|
92
|
+
export { LightRays } from "./components/light-rays.js";
|
|
93
|
+
export { Lightbox } from "./components/lightbox.js";
|
|
94
|
+
export { LineChart } from "./components/line-chart.js";
|
|
95
|
+
export { LiveLineChart } from "./components/live-line-chart.js";
|
|
96
|
+
export { LogoCarousel } from "./components/logo-carousel.js";
|
|
97
|
+
export { Magnetic } from "./components/magnetic.js";
|
|
98
|
+
export { Marquee } from "./components/marquee.js";
|
|
99
|
+
export { Masonry } from "./components/masonry.js";
|
|
100
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "./components/menubar.js";
|
|
101
|
+
export { Meteors } from "./components/meteors.js";
|
|
102
|
+
export { Metric, MetricDelta, MetricLabel, MetricValue } from "./components/metric.js";
|
|
103
|
+
export { ModeToggle } from "./components/mode-toggle.js";
|
|
104
|
+
export { MorphingPopover, MorphingPopoverBody, MorphingPopoverButton, MorphingPopoverClose, MorphingPopoverContent, MorphingPopoverFooter, MorphingPopoverHeader, MorphingPopoverTrigger, } from "./components/morphing-popover.js";
|
|
105
|
+
export { easeOutQuart, fadeIn, fadeInUp, scaleIn, springSnappy, springSoft, staggerContainer, } from "./components/motion-presets.js";
|
|
106
|
+
export { MultiSelect } from "./components/multi-select.js";
|
|
107
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle, } from "./components/navigation-menu.js";
|
|
108
|
+
export { Noise } from "./components/noise.js";
|
|
109
|
+
export { NotificationCenter, NotificationList, NotificationRow, } from "./components/notification-center.js";
|
|
110
|
+
export { NumberInput } from "./components/number-input.js";
|
|
111
|
+
export { Orbit, OrbitItem, OrbitRing } from "./components/orbit.js";
|
|
112
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "./components/pagination.js";
|
|
113
|
+
export { Particles } from "./components/particles.js";
|
|
114
|
+
export { getPasswordStrength, PasswordInput } from "./components/password-input.js";
|
|
115
|
+
export { DEFAULT_PHONE_COUNTRIES, PhoneInput } from "./components/phone-input.js";
|
|
116
|
+
export { PieChart } from "./components/pie-chart.js";
|
|
117
|
+
export { PillNav } from "./components/pill-nav.js";
|
|
118
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/popover.js";
|
|
119
|
+
export { ProfitLossChart } from "./components/profit-loss-chart.js";
|
|
120
|
+
export { Progress } from "./components/progress.js";
|
|
121
|
+
export { ProgressiveBlur, progressiveBlurVariants } from "./components/progressive-blur.js";
|
|
122
|
+
export { RadarChart } from "./components/radar-chart.js";
|
|
123
|
+
export { RadioGroup, RadioGroupItem } from "./components/radio-group.js";
|
|
124
|
+
export { Rating } from "./components/rating.js";
|
|
125
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "./components/resizable.js";
|
|
126
|
+
export { RetroGrid } from "./components/retro-grid.js";
|
|
127
|
+
export { Reveal } from "./components/reveal.js";
|
|
128
|
+
export { RichTextEditor } from "./components/rich-text-editor.js";
|
|
129
|
+
export { RingChart } from "./components/ring-chart.js";
|
|
130
|
+
export { Ripple } from "./components/ripple.js";
|
|
131
|
+
export { SankeyChart } from "./components/sankey-chart.js";
|
|
132
|
+
export { ScatterChart } from "./components/scatter-chart.js";
|
|
133
|
+
export { Scheduler } from "./components/scheduler.js";
|
|
134
|
+
export { ScrambleText } from "./components/scramble-text.js";
|
|
135
|
+
export { ScrollArea, ScrollBar } from "./components/scroll-area.js";
|
|
136
|
+
export { ScrollProgress } from "./components/scroll-progress.js";
|
|
137
|
+
export { SegmentedControl, SegmentedControlItem } from "./components/segmented-control.js";
|
|
138
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from "./components/select.js";
|
|
139
|
+
export { Separator } from "./components/separator.js";
|
|
140
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, sheetVariants, } from "./components/sheet.js";
|
|
141
|
+
export { Shimmer } from "./components/shimmer.js";
|
|
142
|
+
export { ShinyText } from "./components/shiny-text.js";
|
|
143
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, } from "./components/sidebar.js";
|
|
144
|
+
export { SignaturePad } from "./components/signature-pad.js";
|
|
145
|
+
export { Skeleton } from "./components/skeleton.js";
|
|
146
|
+
export { Slider } from "./components/slider.js";
|
|
147
|
+
export { Toaster, toast } from "./components/sonner.js";
|
|
148
|
+
export { SparklesText } from "./components/sparkles-text.js";
|
|
149
|
+
export { Sparkline } from "./components/sparkline.js";
|
|
150
|
+
export { Spinner } from "./components/spinner.js";
|
|
151
|
+
export { SpinningText } from "./components/spinning-text.js";
|
|
152
|
+
export { SplitButton } from "./components/split-button.js";
|
|
153
|
+
export { SpotlightCard } from "./components/spotlight-card.js";
|
|
154
|
+
export { StarBorder } from "./components/star-border.js";
|
|
155
|
+
export { StatusDot, statusDotVariants } from "./components/status-dot.js";
|
|
156
|
+
export { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperList, StepperSeparator, StepperTitle, StepperTrigger, stepperIndicatorVariants, } from "./components/stepper.js";
|
|
157
|
+
export { SunburstChart } from "./components/sunburst-chart.js";
|
|
158
|
+
export { Switch } from "./components/switch.js";
|
|
159
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "./components/table.js";
|
|
160
|
+
export { TableOfContents } from "./components/table-of-contents.js";
|
|
161
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/tabs.js";
|
|
162
|
+
export { TagsInput } from "./components/tags-input.js";
|
|
163
|
+
export { Terminal } from "./components/terminal.js";
|
|
164
|
+
export { TextEffect } from "./components/text-effect.js";
|
|
165
|
+
export { Textarea } from "./components/textarea.js";
|
|
166
|
+
export { TiltCard } from "./components/tilt-card.js";
|
|
167
|
+
export { TimePicker } from "./components/time-picker.js";
|
|
168
|
+
export { Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, timelineDotVariants, } from "./components/timeline.js";
|
|
169
|
+
export { Toggle, toggleVariants } from "./components/toggle.js";
|
|
170
|
+
export { ToggleGroup, ToggleGroupItem } from "./components/toggle-group.js";
|
|
171
|
+
export { Toolbar, ToolbarButton, ToolbarGroup, ToolbarSeparator } from "./components/toolbar.js";
|
|
172
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "./components/tooltip.js";
|
|
173
|
+
export { TreeView } from "./components/tree-view.js";
|
|
174
|
+
export { TypingText } from "./components/typing-text.js";
|
|
175
|
+
export { UsageMeter, UsageMeterCircular, UsageMeterLinear } from "./components/usage-meter.js";
|
|
176
|
+
export { VideoPlayer, videoPlayerVariants } from "./components/video-player.js";
|
|
177
|
+
export { WordRotate } from "./components/word-rotate.js";
|
|
178
|
+
export { cn } from "./lib/cn.js";
|
|
179
|
+
//# sourceMappingURL=index.js.map
|
package/dist/lib/cn.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ClassValue } from "clsx";
|
|
2
|
+
/**
|
|
3
|
+
* Merge conditional class names and de-duplicate conflicting Tailwind
|
|
4
|
+
* utilities (the last one wins). Used by every Cronus UI component.
|
|
5
|
+
*/
|
|
6
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
7
|
+
//# sourceMappingURL=cn.d.ts.map
|
package/dist/lib/cn.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
/**
|
|
4
|
+
* Merge conditional class names and de-duplicate conflicting Tailwind
|
|
5
|
+
* utilities (the last one wins). Used by every Cronus UI component.
|
|
6
|
+
*/
|
|
7
|
+
export function cn(...inputs) {
|
|
8
|
+
return twMerge(clsx(inputs));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=cn.js.map
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* demo-saas — the single source of truth for the SaaS dashboard demo dataset.
|
|
3
|
+
*
|
|
4
|
+
* PURE TS DATA (zero React / hooks / DOM), so it is safe to import from a React
|
|
5
|
+
* Server Component and ships as a `registry:lib` item (`cronus-ui add demo-saas`
|
|
6
|
+
* writes `lib/demo-saas.ts`). The application/dashboard/billing blocks (KPIs,
|
|
7
|
+
* revenue chart, activity feed, team, plans, usage, invoices) are meant to read
|
|
8
|
+
* from HERE so the same team, plans, and numbers appear across every surface.
|
|
9
|
+
*
|
|
10
|
+
* The values below are LIFTED verbatim from the existing dashboard/stats/billing
|
|
11
|
+
* blocks (behaviour-preserving), so visual snapshots stay byte-identical.
|
|
12
|
+
*
|
|
13
|
+
* Brand: {@link BRAND} is the standalone demo app name ("Northwind"), used when
|
|
14
|
+
* this dataset is consumed on its own. It is a demo default — `cronus-ui compose`
|
|
15
|
+
* does NOT override it (the composed app's brand reaches its VISIBLE chrome via
|
|
16
|
+
* the separate brandTokens literal-replacement path, not this lib).
|
|
17
|
+
*/
|
|
18
|
+
/** The SaaS product/workspace brand wordmark — the standalone demo app name. */
|
|
19
|
+
export declare const BRAND = "Northwind";
|
|
20
|
+
/** A directional metric trend. */
|
|
21
|
+
export type Trend = "up" | "down";
|
|
22
|
+
/** A headline KPI card. */
|
|
23
|
+
export interface Kpi {
|
|
24
|
+
/** Metric label (e.g. "Total revenue"). */
|
|
25
|
+
label: string;
|
|
26
|
+
/** Value, exactly as rendered (e.g. "$84,210"). */
|
|
27
|
+
value: string;
|
|
28
|
+
/** Period-over-period delta, as rendered (e.g. "+14.2%"). */
|
|
29
|
+
delta: string;
|
|
30
|
+
/** Delta direction. */
|
|
31
|
+
trend: Trend;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The four dashboard KPIs (revenue / active users / conversion / churn), lifted
|
|
35
|
+
* from the analytics dashboard block.
|
|
36
|
+
*/
|
|
37
|
+
export declare const KPIS: Kpi[];
|
|
38
|
+
/** One month of the revenue time series. */
|
|
39
|
+
export interface RevenuePoint {
|
|
40
|
+
/** Short month label ("Jan".."Jul"). */
|
|
41
|
+
month: string;
|
|
42
|
+
/** Revenue in whole currency units. */
|
|
43
|
+
revenue: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The seven-month revenue series the dashboard chart renders. The last point
|
|
47
|
+
* (`Jul → 84_210`) matches the "Total revenue" KPI value (asserted in the test).
|
|
48
|
+
*/
|
|
49
|
+
export declare const REVENUE_SERIES: RevenuePoint[];
|
|
50
|
+
/** A billing/activity status, matching the dashboard badge variants. */
|
|
51
|
+
export type ActivityStatus = "Paid" | "Pending" | "Refunded";
|
|
52
|
+
/** One row of the recent-activity feed. */
|
|
53
|
+
export interface Activity {
|
|
54
|
+
/** Invoice id, e.g. "INV-2048". */
|
|
55
|
+
id: string;
|
|
56
|
+
/** Customer display name. */
|
|
57
|
+
customer: string;
|
|
58
|
+
/** Customer email. */
|
|
59
|
+
email: string;
|
|
60
|
+
/** Customer monogram. */
|
|
61
|
+
initials: string;
|
|
62
|
+
/** Optional avatar URL (as in the source). */
|
|
63
|
+
avatar?: string;
|
|
64
|
+
/** Formatted charge amount (e.g. "$1,290.00"). */
|
|
65
|
+
amount: string;
|
|
66
|
+
/** Charge status. */
|
|
67
|
+
status: ActivityStatus;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The recent-activity feed (four rows) the analytics dashboard renders, lifted
|
|
71
|
+
* verbatim (customers, emails, avatars, amounts, statuses).
|
|
72
|
+
*/
|
|
73
|
+
export declare const ACTIVITY: Activity[];
|
|
74
|
+
/** A workspace role, matching the team block badge variants. */
|
|
75
|
+
export type Role = "Owner" | "Admin" | "Member";
|
|
76
|
+
/** A team member. */
|
|
77
|
+
export interface TeamMember {
|
|
78
|
+
/** Stable id. */
|
|
79
|
+
id: string;
|
|
80
|
+
/** Display name. */
|
|
81
|
+
name: string;
|
|
82
|
+
/** Work email. */
|
|
83
|
+
email: string;
|
|
84
|
+
/** Workspace role. */
|
|
85
|
+
role: Role;
|
|
86
|
+
/** Monogram. */
|
|
87
|
+
initials: string;
|
|
88
|
+
/** Optional avatar URL (as in the source). */
|
|
89
|
+
avatar?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The five-person team the team block renders (Mara owner, Devon admin, three
|
|
93
|
+
* members), lifted verbatim.
|
|
94
|
+
*/
|
|
95
|
+
export declare const TEAM: TeamMember[];
|
|
96
|
+
/** The signed-in account (workspace owner). */
|
|
97
|
+
export interface SaasUser {
|
|
98
|
+
name: string;
|
|
99
|
+
email: string;
|
|
100
|
+
initials: string;
|
|
101
|
+
role: Role;
|
|
102
|
+
}
|
|
103
|
+
/** The demo account — the workspace Owner (Mara). */
|
|
104
|
+
export declare const USER: SaasUser;
|
|
105
|
+
/** One billing invoice line. */
|
|
106
|
+
export interface Invoice {
|
|
107
|
+
/** Invoice id, e.g. "INV-2026-006". */
|
|
108
|
+
id: string;
|
|
109
|
+
/** Issue date, as rendered. */
|
|
110
|
+
date: string;
|
|
111
|
+
/** Formatted amount (e.g. "$290.00"). */
|
|
112
|
+
amount: string;
|
|
113
|
+
/** Payment status. */
|
|
114
|
+
status: "Paid" | "Pending";
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The four billing invoices the billing block renders (three paid at $290, one
|
|
118
|
+
* pending at $245), lifted verbatim.
|
|
119
|
+
*/
|
|
120
|
+
export declare const INVOICES: Invoice[];
|
|
121
|
+
/** One usage meter (seats / storage / API calls). */
|
|
122
|
+
export interface UsageMeter {
|
|
123
|
+
/** Stable id. */
|
|
124
|
+
id: string;
|
|
125
|
+
/** Meter label. */
|
|
126
|
+
label: string;
|
|
127
|
+
/** Amount used (numeric). */
|
|
128
|
+
used: number;
|
|
129
|
+
/** Plan limit (numeric). */
|
|
130
|
+
limit: number;
|
|
131
|
+
/** "used / limit" display string, as rendered. */
|
|
132
|
+
display: string;
|
|
133
|
+
/** Percent used (0–100), as rendered on the progress bar. */
|
|
134
|
+
value: number;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The three usage meters the usage/billing blocks render (seats, storage, API
|
|
138
|
+
* calls), lifted verbatim. `value` is the rendered percent (coherent with
|
|
139
|
+
* used/limit within rounding; asserted loosely in the test).
|
|
140
|
+
*/
|
|
141
|
+
export declare const USAGE_METERS: UsageMeter[];
|
|
142
|
+
/** A pricing plan. */
|
|
143
|
+
export interface Plan {
|
|
144
|
+
/** Stable id. */
|
|
145
|
+
id: string;
|
|
146
|
+
/** Plan name. */
|
|
147
|
+
name: string;
|
|
148
|
+
/** One-line positioning. */
|
|
149
|
+
tagline: string;
|
|
150
|
+
/** Monthly price in whole currency units (0 = free). */
|
|
151
|
+
monthly: number;
|
|
152
|
+
/** Annual (per-month, billed yearly) price. */
|
|
153
|
+
annual: number;
|
|
154
|
+
/** Feature bullets. */
|
|
155
|
+
features: string[];
|
|
156
|
+
/** Primary CTA label. */
|
|
157
|
+
cta: string;
|
|
158
|
+
/** Whether this is the highlighted plan. */
|
|
159
|
+
popular?: boolean;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The three pricing plans the billing--plans block renders (Starter free, Team
|
|
163
|
+
* $29 popular, Enterprise $89), lifted verbatim. Marketing `pricing` stays
|
|
164
|
+
* local (Pro/Custom, project features — a different narrative).
|
|
165
|
+
*/
|
|
166
|
+
export declare const PLANS: Plan[];
|
|
167
|
+
/** The currently-active plan id (matches a {@link PLANS} entry). */
|
|
168
|
+
export declare const CURRENT_PLAN_ID = "team";
|
|
169
|
+
/** Look up a plan by its stable id (undefined when absent). */
|
|
170
|
+
export declare function planById(id: string): Plan | undefined;
|
|
171
|
+
//# sourceMappingURL=demo-saas.d.ts.map
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* demo-saas — the single source of truth for the SaaS dashboard demo dataset.
|
|
3
|
+
*
|
|
4
|
+
* PURE TS DATA (zero React / hooks / DOM), so it is safe to import from a React
|
|
5
|
+
* Server Component and ships as a `registry:lib` item (`cronus-ui add demo-saas`
|
|
6
|
+
* writes `lib/demo-saas.ts`). The application/dashboard/billing blocks (KPIs,
|
|
7
|
+
* revenue chart, activity feed, team, plans, usage, invoices) are meant to read
|
|
8
|
+
* from HERE so the same team, plans, and numbers appear across every surface.
|
|
9
|
+
*
|
|
10
|
+
* The values below are LIFTED verbatim from the existing dashboard/stats/billing
|
|
11
|
+
* blocks (behaviour-preserving), so visual snapshots stay byte-identical.
|
|
12
|
+
*
|
|
13
|
+
* Brand: {@link BRAND} is the standalone demo app name ("Northwind"), used when
|
|
14
|
+
* this dataset is consumed on its own. It is a demo default — `cronus-ui compose`
|
|
15
|
+
* does NOT override it (the composed app's brand reaches its VISIBLE chrome via
|
|
16
|
+
* the separate brandTokens literal-replacement path, not this lib).
|
|
17
|
+
*/
|
|
18
|
+
/** The SaaS product/workspace brand wordmark — the standalone demo app name. */
|
|
19
|
+
export const BRAND = "Northwind";
|
|
20
|
+
/**
|
|
21
|
+
* The four dashboard KPIs (revenue / active users / conversion / churn), lifted
|
|
22
|
+
* from the analytics dashboard block.
|
|
23
|
+
*/
|
|
24
|
+
export const KPIS = [
|
|
25
|
+
{ label: "Total revenue", value: "$84,210", delta: "+14.2%", trend: "up" },
|
|
26
|
+
{ label: "Active users", value: "12,840", delta: "+6.8%", trend: "up" },
|
|
27
|
+
{ label: "Conversion", value: "4.21%", delta: "+0.9%", trend: "up" },
|
|
28
|
+
{ label: "Churn", value: "1.64%", delta: "-0.4%", trend: "down" },
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* The seven-month revenue series the dashboard chart renders. The last point
|
|
32
|
+
* (`Jul → 84_210`) matches the "Total revenue" KPI value (asserted in the test).
|
|
33
|
+
*/
|
|
34
|
+
export const REVENUE_SERIES = [
|
|
35
|
+
{ month: "Jan", revenue: 42_100 },
|
|
36
|
+
{ month: "Feb", revenue: 48_400 },
|
|
37
|
+
{ month: "Mar", revenue: 45_900 },
|
|
38
|
+
{ month: "Apr", revenue: 56_200 },
|
|
39
|
+
{ month: "May", revenue: 61_800 },
|
|
40
|
+
{ month: "Jun", revenue: 72_400 },
|
|
41
|
+
{ month: "Jul", revenue: 84_210 },
|
|
42
|
+
];
|
|
43
|
+
/**
|
|
44
|
+
* The recent-activity feed (four rows) the analytics dashboard renders, lifted
|
|
45
|
+
* verbatim (customers, emails, avatars, amounts, statuses).
|
|
46
|
+
*/
|
|
47
|
+
export const ACTIVITY = [
|
|
48
|
+
{
|
|
49
|
+
id: "INV-2048",
|
|
50
|
+
customer: "Mara Castillo",
|
|
51
|
+
email: "mara@cronus.io",
|
|
52
|
+
initials: "MC",
|
|
53
|
+
avatar: "https://i.pravatar.cc/96?img=12",
|
|
54
|
+
amount: "$1,290.00",
|
|
55
|
+
status: "Paid",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "INV-2047",
|
|
59
|
+
customer: "Devon Lane",
|
|
60
|
+
email: "devon@acme.dev",
|
|
61
|
+
initials: "DL",
|
|
62
|
+
avatar: "https://i.pravatar.cc/96?img=33",
|
|
63
|
+
amount: "$640.00",
|
|
64
|
+
status: "Pending",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "INV-2046",
|
|
68
|
+
customer: "Priya Sharma",
|
|
69
|
+
email: "priya@lumon.co",
|
|
70
|
+
initials: "PS",
|
|
71
|
+
amount: "$2,180.00",
|
|
72
|
+
status: "Paid",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "INV-2045",
|
|
76
|
+
customer: "Tobias Funke",
|
|
77
|
+
email: "tobias@bluth.com",
|
|
78
|
+
initials: "TF",
|
|
79
|
+
avatar: "https://i.pravatar.cc/96?img=68",
|
|
80
|
+
amount: "$320.00",
|
|
81
|
+
status: "Refunded",
|
|
82
|
+
},
|
|
83
|
+
];
|
|
84
|
+
/**
|
|
85
|
+
* The five-person team the team block renders (Mara owner, Devon admin, three
|
|
86
|
+
* members), lifted verbatim.
|
|
87
|
+
*/
|
|
88
|
+
export const TEAM = [
|
|
89
|
+
{
|
|
90
|
+
id: "m1",
|
|
91
|
+
name: "Mara Castillo",
|
|
92
|
+
email: "mara@cronus.io",
|
|
93
|
+
role: "Owner",
|
|
94
|
+
initials: "MC",
|
|
95
|
+
avatar: "https://i.pravatar.cc/96?img=12",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: "m2",
|
|
99
|
+
name: "Devon Lane",
|
|
100
|
+
email: "devon@cronus.io",
|
|
101
|
+
role: "Admin",
|
|
102
|
+
initials: "DL",
|
|
103
|
+
avatar: "https://i.pravatar.cc/96?img=33",
|
|
104
|
+
},
|
|
105
|
+
{ id: "m3", name: "Priya Sharma", email: "priya@cronus.io", role: "Member", initials: "PS" },
|
|
106
|
+
{
|
|
107
|
+
id: "m4",
|
|
108
|
+
name: "Tobias Funke",
|
|
109
|
+
email: "tobias@cronus.io",
|
|
110
|
+
role: "Member",
|
|
111
|
+
initials: "TF",
|
|
112
|
+
avatar: "https://i.pravatar.cc/96?img=68",
|
|
113
|
+
},
|
|
114
|
+
{ id: "m5", name: "Aiko Tanaka", email: "aiko@cronus.io", role: "Member", initials: "AT" },
|
|
115
|
+
];
|
|
116
|
+
/** The demo account — the workspace Owner (Mara). */
|
|
117
|
+
export const USER = {
|
|
118
|
+
name: "Mara Castillo",
|
|
119
|
+
email: "mara@cronus.io",
|
|
120
|
+
initials: "MC",
|
|
121
|
+
role: "Owner",
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* The four billing invoices the billing block renders (three paid at $290, one
|
|
125
|
+
* pending at $245), lifted verbatim.
|
|
126
|
+
*/
|
|
127
|
+
export const INVOICES = [
|
|
128
|
+
{ id: "INV-2026-006", date: "Jun 1, 2026", amount: "$290.00", status: "Paid" },
|
|
129
|
+
{ id: "INV-2026-005", date: "May 1, 2026", amount: "$290.00", status: "Paid" },
|
|
130
|
+
{ id: "INV-2026-004", date: "Apr 1, 2026", amount: "$290.00", status: "Paid" },
|
|
131
|
+
{ id: "INV-2026-003", date: "Mar 1, 2026", amount: "$245.00", status: "Pending" },
|
|
132
|
+
];
|
|
133
|
+
/**
|
|
134
|
+
* The three usage meters the usage/billing blocks render (seats, storage, API
|
|
135
|
+
* calls), lifted verbatim. `value` is the rendered percent (coherent with
|
|
136
|
+
* used/limit within rounding; asserted loosely in the test).
|
|
137
|
+
*/
|
|
138
|
+
export const USAGE_METERS = [
|
|
139
|
+
{ id: "usage-seats", label: "Seats", used: 18, limit: 25, display: "18 / 25", value: 72 },
|
|
140
|
+
{
|
|
141
|
+
id: "usage-storage",
|
|
142
|
+
label: "Storage",
|
|
143
|
+
used: 164,
|
|
144
|
+
limit: 250,
|
|
145
|
+
display: "164 GB / 250 GB",
|
|
146
|
+
value: 66,
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "usage-api",
|
|
150
|
+
label: "API calls",
|
|
151
|
+
used: 842_000,
|
|
152
|
+
limit: 1_000_000,
|
|
153
|
+
display: "842K / 1M",
|
|
154
|
+
value: 84,
|
|
155
|
+
},
|
|
156
|
+
];
|
|
157
|
+
/**
|
|
158
|
+
* The three pricing plans the billing--plans block renders (Starter free, Team
|
|
159
|
+
* $29 popular, Enterprise $89), lifted verbatim. Marketing `pricing` stays
|
|
160
|
+
* local (Pro/Custom, project features — a different narrative).
|
|
161
|
+
*/
|
|
162
|
+
export const PLANS = [
|
|
163
|
+
{
|
|
164
|
+
id: "starter",
|
|
165
|
+
name: "Starter",
|
|
166
|
+
tagline: "For individuals shipping their first project.",
|
|
167
|
+
monthly: 0,
|
|
168
|
+
annual: 0,
|
|
169
|
+
features: ["1 workspace", "Up to 3 seats", "5 GB storage", "Community support"],
|
|
170
|
+
cta: "Get started",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
id: "team",
|
|
174
|
+
name: "Team",
|
|
175
|
+
tagline: "For growing teams that need room to scale.",
|
|
176
|
+
monthly: 29,
|
|
177
|
+
annual: 24,
|
|
178
|
+
features: [
|
|
179
|
+
"Unlimited workspaces",
|
|
180
|
+
"Up to 25 seats",
|
|
181
|
+
"250 GB storage",
|
|
182
|
+
"Priority email support",
|
|
183
|
+
"Usage analytics",
|
|
184
|
+
],
|
|
185
|
+
cta: "Upgrade to Team",
|
|
186
|
+
popular: true,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: "enterprise",
|
|
190
|
+
name: "Enterprise",
|
|
191
|
+
tagline: "For organizations with advanced controls.",
|
|
192
|
+
monthly: 89,
|
|
193
|
+
annual: 74,
|
|
194
|
+
features: [
|
|
195
|
+
"Everything in Team",
|
|
196
|
+
"SSO & SCIM",
|
|
197
|
+
"Unlimited storage",
|
|
198
|
+
"Dedicated success manager",
|
|
199
|
+
"99.9% uptime SLA",
|
|
200
|
+
],
|
|
201
|
+
cta: "Contact sales",
|
|
202
|
+
},
|
|
203
|
+
];
|
|
204
|
+
/** The currently-active plan id (matches a {@link PLANS} entry). */
|
|
205
|
+
export const CURRENT_PLAN_ID = "team";
|
|
206
|
+
/** Look up a plan by its stable id (undefined when absent). */
|
|
207
|
+
export function planById(id) {
|
|
208
|
+
return PLANS.find((p) => p.id === id);
|
|
209
|
+
}
|
|
210
|
+
//# sourceMappingURL=demo-saas.js.map
|