@mova-ui/react 0.1.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -21
- package/bin/mova.mjs +38 -12
- package/dist/catalog/components/AnimatedButton.d.ts +9 -0
- package/dist/catalog/components/AnimatedButton.js +346 -0
- package/dist/catalog/components/IconSwap.d.ts +6 -0
- package/dist/catalog/components/IconSwap.js +9 -0
- package/dist/catalog/components/InViewRender.d.ts +4 -0
- package/dist/catalog/components/InViewRender.js +14 -0
- package/dist/catalog/components/PageTransitionCard.d.ts +9 -0
- package/dist/catalog/components/PageTransitionCard.js +110 -0
- package/dist/catalog/components/PageTransitionModal.d.ts +10 -0
- package/dist/catalog/components/PageTransitionModal.js +180 -0
- package/dist/catalog/components/PageTransitionOverlay.d.ts +9 -0
- package/dist/catalog/components/PageTransitionOverlay.js +7 -0
- package/dist/catalog/components/cards/CardArc5.d.ts +14 -0
- package/dist/catalog/components/cards/CardArc5.js +76 -0
- package/dist/catalog/components/cards/CardArc7.d.ts +14 -0
- package/dist/catalog/components/cards/CardArc7.js +77 -0
- package/dist/catalog/components/cards/CardCarousel.d.ts +12 -0
- package/dist/catalog/components/cards/CardCarousel.js +139 -0
- package/dist/catalog/components/cards/CardCascadeStagger.d.ts +9 -0
- package/dist/catalog/components/cards/CardCascadeStagger.js +64 -0
- package/dist/catalog/components/cards/CardCornerFan.d.ts +12 -0
- package/dist/catalog/components/cards/CardCornerFan.js +66 -0
- package/dist/catalog/components/cards/CardCoverFlow.d.ts +12 -0
- package/dist/catalog/components/cards/CardCoverFlow.js +115 -0
- package/dist/catalog/components/cards/CardLinearSpread.d.ts +12 -0
- package/dist/catalog/components/cards/CardLinearSpread.js +62 -0
- package/dist/catalog/components/cards/CardLongArc5.d.ts +14 -0
- package/dist/catalog/components/cards/CardLongArc5.js +76 -0
- package/dist/catalog/components/cards/CardScatterSpread.d.ts +9 -0
- package/dist/catalog/components/cards/CardScatterSpread.js +69 -0
- package/dist/catalog/components/cards/CardStampArc.d.ts +14 -0
- package/dist/catalog/components/cards/CardStampArc.js +101 -0
- package/dist/catalog/components/cards/CardTimeMachine.d.ts +8 -0
- package/dist/catalog/components/cards/CardTimeMachine.js +182 -0
- package/dist/catalog/components/cards/CardWheelFan.d.ts +9 -0
- package/dist/catalog/components/cards/CardWheelFan.js +68 -0
- package/dist/catalog/components/cards/FocusBlur.d.ts +14 -0
- package/dist/catalog/components/cards/FocusBlur.js +7 -0
- package/dist/catalog/components/css-animations/Dock.d.ts +6 -0
- package/dist/catalog/components/css-animations/Dock.js +93 -0
- package/dist/catalog/components/css-animations/FocusBlur.d.ts +4 -0
- package/dist/catalog/components/css-animations/FocusBlur.js +35 -0
- package/dist/catalog/components/css-animations/FrequencySelector.d.ts +6 -0
- package/dist/catalog/components/css-animations/FrequencySelector.js +100 -0
- package/dist/catalog/components/css-animations/MediaBetweenText.d.ts +34 -0
- package/dist/catalog/components/css-animations/MediaBetweenText.js +125 -0
- package/dist/catalog/components/css-animations/ScrambleHover.d.ts +16 -0
- package/dist/catalog/components/css-animations/ScrambleHover.js +101 -0
- package/dist/catalog/components/css-animations/TabBar.d.ts +6 -0
- package/dist/catalog/components/css-animations/TabBar.js +57 -0
- package/dist/catalog/components/css-animations/whimsical/AppleLoaders.d.ts +9 -0
- package/dist/catalog/components/css-animations/whimsical/AppleLoaders.js +57 -0
- package/dist/catalog/components/css-animations/whimsical/Area1.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Area1.js +56 -0
- package/dist/catalog/components/css-animations/whimsical/Area6.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Area6.js +53 -0
- package/dist/catalog/components/css-animations/whimsical/Bookmark.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Bookmark.js +183 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios1.d.ts +37 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios1.js +253 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios2.d.ts +37 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios2.js +237 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios3.d.ts +73 -0
- package/dist/catalog/components/css-animations/whimsical/ConceptTrios3.js +441 -0
- package/dist/catalog/components/css-animations/whimsical/Curtain.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Curtain.js +155 -0
- package/dist/catalog/components/css-animations/whimsical/Kakikaki.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Kakikaki.js +67 -0
- package/dist/catalog/components/css-animations/whimsical/KineticTensionCapsule.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/KineticTensionCapsule.js +82 -0
- package/dist/catalog/components/css-animations/whimsical/MatrixGridLoader.d.ts +5 -0
- package/dist/catalog/components/css-animations/whimsical/MatrixGridLoader.js +88 -0
- package/dist/catalog/components/css-animations/whimsical/RedesignedPhysicsTrios.d.ts +103 -0
- package/dist/catalog/components/css-animations/whimsical/RedesignedPhysicsTrios.js +607 -0
- package/dist/catalog/components/css-animations/whimsical/Tissue.d.ts +7 -0
- package/dist/catalog/components/css-animations/whimsical/Tissue.js +111 -0
- package/dist/catalog/components/css-animations/whimsical/Tsumiki.d.ts +8 -0
- package/dist/catalog/components/css-animations/whimsical/Tsumiki.js +83 -0
- package/dist/catalog/components/css-animations/whimsical/WhimsicalVariations.d.ts +37 -0
- package/dist/catalog/components/css-animations/whimsical/WhimsicalVariations.js +325 -0
- package/dist/catalog/components/css-animations/whimsical/YuiPhysicsExperiments.d.ts +37 -0
- package/dist/catalog/components/css-animations/whimsical/YuiPhysicsExperiments.js +247 -0
- package/dist/catalog/components/css-animations/yui-components/RedesignedUiTrios.d.ts +19 -0
- package/dist/catalog/components/css-animations/yui-components/RedesignedUiTrios.js +174 -0
- package/dist/catalog/components/css-animations/yui-components/UiKitTrios.d.ts +19 -0
- package/dist/catalog/components/css-animations/yui-components/UiKitTrios.js +147 -0
- package/dist/catalog/components/css-animations/yui-components/YuiUiKit1.d.ts +29 -0
- package/dist/catalog/components/css-animations/yui-components/YuiUiKit1.js +317 -0
- package/dist/catalog/components/css-animations/yui-components/YuiUiKit2.d.ts +34 -0
- package/dist/catalog/components/css-animations/yui-components/YuiUiKit2.js +356 -0
- package/dist/catalog/components/dither-charts/ActivityHeatmap.d.ts +5 -0
- package/dist/catalog/components/dither-charts/ActivityHeatmap.js +8 -0
- package/dist/catalog/components/dither-charts/ChartCard.d.ts +2 -0
- package/dist/catalog/components/dither-charts/ChartCard.js +8 -0
- package/dist/catalog/components/dither-charts/DeviceUsageChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DeviceUsageChart.js +8 -0
- package/dist/catalog/components/dither-charts/DitherBarChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherBarChart.js +148 -0
- package/dist/catalog/components/dither-charts/DitherBook.d.ts +23 -0
- package/dist/catalog/components/dither-charts/DitherBook.js +352 -0
- package/dist/catalog/components/dither-charts/DitherChartsGrid.d.ts +9 -0
- package/dist/catalog/components/dither-charts/DitherChartsGrid.js +108 -0
- package/dist/catalog/components/dither-charts/DitherDonutChart.d.ts +7 -0
- package/dist/catalog/components/dither-charts/DitherDonutChart.js +8 -0
- package/dist/catalog/components/dither-charts/DitherFunnelChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherFunnelChart.js +8 -0
- package/dist/catalog/components/dither-charts/DitherGrowthChart.d.ts +7 -0
- package/dist/catalog/components/dither-charts/DitherGrowthChart.js +8 -0
- package/dist/catalog/components/dither-charts/DitherHeatmapGrid.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherHeatmapGrid.js +115 -0
- package/dist/catalog/components/dither-charts/DitherRadialChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherRadialChart.js +114 -0
- package/dist/catalog/components/dither-charts/DitherScatterChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherScatterChart.js +151 -0
- package/dist/catalog/components/dither-charts/DitherSparklineMatrix.d.ts +5 -0
- package/dist/catalog/components/dither-charts/DitherSparklineMatrix.js +89 -0
- package/dist/catalog/components/dither-charts/DitherStackedChart.d.ts +7 -0
- package/dist/catalog/components/dither-charts/DitherStackedChart.js +8 -0
- package/dist/catalog/components/dither-charts/MembersGrowthChart.d.ts +2 -0
- package/dist/catalog/components/dither-charts/MembersGrowthChart.js +8 -0
- package/dist/catalog/components/dither-charts/PaymentsChart.d.ts +2 -0
- package/dist/catalog/components/dither-charts/PaymentsChart.js +8 -0
- package/dist/catalog/components/dither-charts/RevenueLineChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/RevenueLineChart.js +8 -0
- package/dist/catalog/components/dither-charts/ServerGauge.d.ts +5 -0
- package/dist/catalog/components/dither-charts/ServerGauge.js +8 -0
- package/dist/catalog/components/dither-charts/SimpleCompExtracted.d.ts +6 -0
- package/dist/catalog/components/dither-charts/SimpleCompExtracted.js +423 -0
- package/dist/catalog/components/dither-charts/StorageUsageChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/StorageUsageChart.js +8 -0
- package/dist/catalog/components/dither-charts/TrafficBubble.d.ts +5 -0
- package/dist/catalog/components/dither-charts/TrafficBubble.js +8 -0
- package/dist/catalog/components/dither-charts/UptimeChart.d.ts +5 -0
- package/dist/catalog/components/dither-charts/UptimeChart.js +8 -0
- package/dist/catalog/components/dither-charts/lib/ditherPatterns.d.ts +7 -0
- package/dist/catalog/components/dither-charts/lib/ditherPatterns.js +107 -0
- package/dist/catalog/components/dither-charts/lib/recharts-legend.d.ts +8 -0
- package/dist/catalog/components/dither-charts/lib/recharts-legend.js +40 -0
- package/dist/catalog/components/dither-charts/lib/recharts-tooltip.d.ts +10 -0
- package/dist/catalog/components/dither-charts/lib/recharts-tooltip.js +7 -0
- package/dist/catalog/components/dither-charts/lib/utils.d.ts +3 -0
- package/dist/catalog/components/dither-charts/lib/utils.js +7 -0
- package/dist/catalog/components/forms/AnimatedFormElement.d.ts +8 -0
- package/dist/catalog/components/forms/AnimatedFormElement.js +412 -0
- package/dist/catalog/components/metrics/AnimatedMetricCard.d.ts +8 -0
- package/dist/catalog/components/metrics/AnimatedMetricCard.js +1049 -0
- package/dist/catalog/components/metrics/Budget.d.ts +1 -0
- package/dist/catalog/components/metrics/Budget.js +35 -0
- package/dist/catalog/components/metrics/CacheStatsCard.d.ts +1 -0
- package/dist/catalog/components/metrics/CacheStatsCard.js +88 -0
- package/dist/catalog/components/metrics/CourseProgressCard.d.ts +1 -0
- package/dist/catalog/components/metrics/CourseProgressCard.js +86 -0
- package/dist/catalog/components/metrics/CreditScoreCards.d.ts +1 -0
- package/dist/catalog/components/metrics/CreditScoreCards.js +139 -0
- package/dist/catalog/components/metrics/FeedbackCard.d.ts +1 -0
- package/dist/catalog/components/metrics/FeedbackCard.js +59 -0
- package/dist/catalog/components/metrics/FinanceDashboard.d.ts +1 -0
- package/dist/catalog/components/metrics/FinanceDashboard.js +164 -0
- package/dist/catalog/components/metrics/Growth.d.ts +1 -0
- package/dist/catalog/components/metrics/Growth.js +40 -0
- package/dist/catalog/components/metrics/GrowthCalendar.d.ts +1 -0
- package/dist/catalog/components/metrics/GrowthCalendar.js +87 -0
- package/dist/catalog/components/metrics/HealthCards.d.ts +1 -0
- package/dist/catalog/components/metrics/HealthCards.js +244 -0
- package/dist/catalog/components/metrics/MarketingCards.d.ts +1 -0
- package/dist/catalog/components/metrics/MarketingCards.js +70 -0
- package/dist/catalog/components/metrics/NetworkTelemetry.d.ts +1 -0
- package/dist/catalog/components/metrics/NetworkTelemetry.js +198 -0
- package/dist/catalog/components/metrics/NoiseCards.d.ts +1 -0
- package/dist/catalog/components/metrics/NoiseCards.js +61 -0
- package/dist/catalog/components/metrics/OverviewChart.d.ts +1 -0
- package/dist/catalog/components/metrics/OverviewChart.js +69 -0
- package/dist/catalog/components/metrics/ProgressIndicator.d.ts +1 -0
- package/dist/catalog/components/metrics/ProgressIndicator.js +35 -0
- package/dist/catalog/components/metrics/PromptsCard.d.ts +1 -0
- package/dist/catalog/components/metrics/PromptsCard.js +29 -0
- package/dist/catalog/components/metrics/RealTimeAlerts.d.ts +1 -0
- package/dist/catalog/components/metrics/RealTimeAlerts.js +64 -0
- package/dist/catalog/components/metrics/RunningStatsCard.d.ts +1 -0
- package/dist/catalog/components/metrics/RunningStatsCard.js +41 -0
- package/dist/catalog/components/metrics/SalesDashboard.d.ts +1 -0
- package/dist/catalog/components/metrics/SalesDashboard.js +156 -0
- package/dist/catalog/components/metrics/SalesOverview.d.ts +1 -0
- package/dist/catalog/components/metrics/SalesOverview.js +71 -0
- package/dist/catalog/components/metrics/SavingsCards.d.ts +1 -0
- package/dist/catalog/components/metrics/SavingsCards.js +118 -0
- package/dist/catalog/components/metrics/ServerPerformance.d.ts +1 -0
- package/dist/catalog/components/metrics/ServerPerformance.js +26 -0
- package/dist/catalog/components/metrics/StatusCards.d.ts +1 -0
- package/dist/catalog/components/metrics/StatusCards.js +165 -0
- package/dist/catalog/components/metrics/StockChartCard.d.ts +1 -0
- package/dist/catalog/components/metrics/StockChartCard.js +122 -0
- package/dist/catalog/components/metrics/SystemMetricsCard.d.ts +1 -0
- package/dist/catalog/components/metrics/SystemMetricsCard.js +129 -0
- package/dist/catalog/components/metrics/TimerCard.d.ts +1 -0
- package/dist/catalog/components/metrics/TimerCard.js +35 -0
- package/dist/catalog/components/metrics/UserMetrics.d.ts +1 -0
- package/dist/catalog/components/metrics/UserMetrics.js +128 -0
- package/dist/catalog/components/metrics/UsersChartCard.d.ts +1 -0
- package/dist/catalog/components/metrics/UsersChartCard.js +111 -0
- package/dist/catalog/components/metrics/VisitorsChartCard.d.ts +1 -0
- package/dist/catalog/components/metrics/VisitorsChartCard.js +178 -0
- package/dist/catalog/components/mono-charts/GitHubActivity.d.ts +30 -0
- package/dist/catalog/components/mono-charts/GitHubActivity.js +547 -0
- package/dist/catalog/components/mono-charts/MonoActivityHeatmap.d.ts +14 -0
- package/dist/catalog/components/mono-charts/MonoActivityHeatmap.js +170 -0
- package/dist/catalog/components/mono-charts/MonoRoundedAreaChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedAreaChart.js +107 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBarChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBarChart.js +121 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBubbleChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBubbleChart.js +67 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBulletChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedBulletChart.js +64 -0
- package/dist/catalog/components/mono-charts/MonoRoundedCandlestickChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedCandlestickChart.js +76 -0
- package/dist/catalog/components/mono-charts/MonoRoundedComposedChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedComposedChart.js +117 -0
- package/dist/catalog/components/mono-charts/MonoRoundedDonutChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedDonutChart.js +97 -0
- package/dist/catalog/components/mono-charts/MonoRoundedFunnelChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedFunnelChart.js +65 -0
- package/dist/catalog/components/mono-charts/MonoRoundedGaugeArc.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedGaugeArc.js +64 -0
- package/dist/catalog/components/mono-charts/MonoRoundedHeatmapChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedHeatmapChart.js +56 -0
- package/dist/catalog/components/mono-charts/MonoRoundedKpiCardChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedKpiCardChart.js +61 -0
- package/dist/catalog/components/mono-charts/MonoRoundedLineChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedLineChart.js +142 -0
- package/dist/catalog/components/mono-charts/MonoRoundedMeterChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedMeterChart.js +68 -0
- package/dist/catalog/components/mono-charts/MonoRoundedPolarChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedPolarChart.js +67 -0
- package/dist/catalog/components/mono-charts/MonoRoundedPyramidChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedPyramidChart.js +52 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadarChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadarChart.js +70 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadialBarGroup.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadialBarGroup.js +69 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadialGaugeChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRadialGaugeChart.js +68 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRangeChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedRangeChart.js +77 -0
- package/dist/catalog/components/mono-charts/MonoRoundedSankeyChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedSankeyChart.js +66 -0
- package/dist/catalog/components/mono-charts/MonoRoundedScatterChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedScatterChart.js +82 -0
- package/dist/catalog/components/mono-charts/MonoRoundedSparklineChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedSparklineChart.js +73 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStackedBarChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStackedBarChart.js +63 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStepChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStepChart.js +72 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStreamChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedStreamChart.js +98 -0
- package/dist/catalog/components/mono-charts/MonoRoundedTreemapChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedTreemapChart.js +56 -0
- package/dist/catalog/components/mono-charts/MonoRoundedWaterfallChart.d.ts +7 -0
- package/dist/catalog/components/mono-charts/MonoRoundedWaterfallChart.js +67 -0
- package/dist/catalog/components/simple-comp/ActivityHeatmap.d.ts +5 -0
- package/dist/catalog/components/simple-comp/ActivityHeatmap.js +7 -0
- package/dist/catalog/components/simple-comp/ChartCard.d.ts +2 -0
- package/dist/catalog/components/simple-comp/ChartCard.js +8 -0
- package/dist/catalog/components/simple-comp/DeviceUsageChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DeviceUsageChart.js +7 -0
- package/dist/catalog/components/simple-comp/DitherBarChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherBarChart.js +148 -0
- package/dist/catalog/components/simple-comp/DitherBook.d.ts +23 -0
- package/dist/catalog/components/simple-comp/DitherBook.js +352 -0
- package/dist/catalog/components/simple-comp/DitherChartsGrid.d.ts +9 -0
- package/dist/catalog/components/simple-comp/DitherChartsGrid.js +107 -0
- package/dist/catalog/components/simple-comp/DitherDonutChart.d.ts +7 -0
- package/dist/catalog/components/simple-comp/DitherDonutChart.js +7 -0
- package/dist/catalog/components/simple-comp/DitherFunnelChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherFunnelChart.js +7 -0
- package/dist/catalog/components/simple-comp/DitherGrowthChart.d.ts +7 -0
- package/dist/catalog/components/simple-comp/DitherGrowthChart.js +7 -0
- package/dist/catalog/components/simple-comp/DitherHeatmapGrid.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherHeatmapGrid.js +115 -0
- package/dist/catalog/components/simple-comp/DitherRadialChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherRadialChart.js +114 -0
- package/dist/catalog/components/simple-comp/DitherScatterChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherScatterChart.js +151 -0
- package/dist/catalog/components/simple-comp/DitherSparklineMatrix.d.ts +5 -0
- package/dist/catalog/components/simple-comp/DitherSparklineMatrix.js +89 -0
- package/dist/catalog/components/simple-comp/DitherStackedChart.d.ts +7 -0
- package/dist/catalog/components/simple-comp/DitherStackedChart.js +7 -0
- package/dist/catalog/components/simple-comp/MembersGrowthChart.d.ts +2 -0
- package/dist/catalog/components/simple-comp/MembersGrowthChart.js +8 -0
- package/dist/catalog/components/simple-comp/PaymentsChart.d.ts +2 -0
- package/dist/catalog/components/simple-comp/PaymentsChart.js +8 -0
- package/dist/catalog/components/simple-comp/RevenueLineChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/RevenueLineChart.js +7 -0
- package/dist/catalog/components/simple-comp/ServerGauge.d.ts +5 -0
- package/dist/catalog/components/simple-comp/ServerGauge.js +7 -0
- package/dist/catalog/components/simple-comp/SimpleCompExtracted.d.ts +6 -0
- package/dist/catalog/components/simple-comp/SimpleCompExtracted.js +423 -0
- package/dist/catalog/components/simple-comp/StorageUsageChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/StorageUsageChart.js +7 -0
- package/dist/catalog/components/simple-comp/TrafficBubble.d.ts +5 -0
- package/dist/catalog/components/simple-comp/TrafficBubble.js +7 -0
- package/dist/catalog/components/simple-comp/UptimeChart.d.ts +5 -0
- package/dist/catalog/components/simple-comp/UptimeChart.js +7 -0
- package/dist/catalog/components/simple-comp/lib/utils.d.ts +3 -0
- package/dist/catalog/components/simple-comp/lib/utils.js +7 -0
- package/dist/catalog/components/text/AnimatedText.d.ts +8 -0
- package/dist/catalog/components/text/AnimatedText.js +554 -0
- package/dist/catalog/components/toggles/AnimatedToggle.d.ts +8 -0
- package/dist/catalog/components/toggles/AnimatedToggle.js +243 -0
- package/dist/catalog/data/buttons.d.ts +14 -0
- package/dist/catalog/data/buttons.js +94 -0
- package/dist/catalog/data/ditherCharts.d.ts +12 -0
- package/dist/catalog/data/ditherCharts.js +11 -0
- package/dist/catalog/data/formElements.d.ts +9 -0
- package/dist/catalog/data/formElements.js +117 -0
- package/dist/catalog/data/installCommand.d.ts +3 -0
- package/dist/catalog/data/installCommand.js +10 -0
- package/dist/catalog/data/metrics.d.ts +10 -0
- package/dist/catalog/data/metrics.js +136 -0
- package/dist/catalog/data/supportedRegistryIds.d.ts +1 -0
- package/dist/catalog/data/supportedRegistryIds.js +7 -0
- package/dist/catalog/data/textAnimations.d.ts +10 -0
- package/dist/catalog/data/textAnimations.js +65 -0
- package/dist/catalog/data/toggles.d.ts +9 -0
- package/dist/catalog/data/toggles.js +96 -0
- package/dist/catalog/data/transitions.d.ts +11 -0
- package/dist/catalog/data/transitions.js +198 -0
- package/dist/catalog/hooks/useCanvasSetup.d.ts +25 -0
- package/dist/catalog/hooks/useCanvasSetup.js +7 -0
- package/dist/catalog/hooks/useIsMobile.d.ts +5 -0
- package/dist/catalog/hooks/useIsMobile.js +7 -0
- package/dist/catalog/hooks/useLoopFlg.d.ts +1 -0
- package/dist/catalog/hooks/useLoopFlg.js +7 -0
- package/dist/catalog/hooks/useWebHaptics.d.ts +4 -0
- package/dist/catalog/hooks/useWebHaptics.js +7 -0
- package/dist/catalog/utils/cn.d.ts +1 -0
- package/dist/catalog/utils/cn.js +7 -0
- package/dist/catalog-chunks/chunk-3QX6CASP.js +93 -0
- package/dist/catalog-chunks/chunk-3TYA5TCG.js +34 -0
- package/dist/catalog-chunks/chunk-4M7HZE4Z.js +107 -0
- package/dist/catalog-chunks/chunk-62CFYJEA.js +141 -0
- package/dist/catalog-chunks/chunk-7GU353UA.js +261 -0
- package/dist/catalog-chunks/chunk-7XF4PVBJ.js +85 -0
- package/dist/catalog-chunks/chunk-AJLUWL56.js +99 -0
- package/dist/catalog-chunks/chunk-B64DVBSK.js +105 -0
- package/dist/catalog-chunks/chunk-BSR45QIS.js +349 -0
- package/dist/catalog-chunks/chunk-E2GLS5WF.js +325 -0
- package/dist/catalog-chunks/chunk-EC4R54F3.js +35 -0
- package/dist/catalog-chunks/chunk-F47LIDB6.js +19 -0
- package/dist/catalog-chunks/chunk-FXF53HPE.js +476 -0
- package/dist/catalog-chunks/chunk-GDCQNKP7.js +45 -0
- package/dist/catalog-chunks/chunk-I4BVACNZ.js +349 -0
- package/dist/catalog-chunks/chunk-I5MYV6VF.js +248 -0
- package/dist/catalog-chunks/chunk-JSEX6PVP.js +84 -0
- package/dist/catalog-chunks/chunk-KN7YEZTH.js +294 -0
- package/dist/catalog-chunks/chunk-KRXJK3FG.js +19 -0
- package/dist/catalog-chunks/chunk-KTP5OAIN.js +17 -0
- package/dist/catalog-chunks/chunk-KYYXENHF.js +105 -0
- package/dist/catalog-chunks/chunk-M2O2SNWE.js +132 -0
- package/dist/catalog-chunks/chunk-NITEDAMY.js +325 -0
- package/dist/catalog-chunks/chunk-OTFAZXKB.js +8 -0
- package/dist/catalog-chunks/chunk-OVOLUMYF.js +452 -0
- package/dist/catalog-chunks/chunk-OWYADZUR.js +156 -0
- package/dist/catalog-chunks/chunk-PD47DK6W.js +100 -0
- package/dist/catalog-chunks/chunk-QITBAUBH.js +101 -0
- package/dist/catalog-chunks/chunk-QXWREUPI.js +56 -0
- package/dist/catalog-chunks/chunk-RKATUMDL.js +244 -0
- package/dist/catalog-chunks/chunk-S7UYABQK.js +99 -0
- package/dist/catalog-chunks/chunk-SIL53FHG.js +169 -0
- package/dist/catalog-chunks/chunk-SWPGAN45.js +28 -0
- package/dist/catalog-chunks/chunk-VCDBPAAS.js +85 -0
- package/dist/catalog-chunks/chunk-VMGI6CMO.js +15 -0
- package/dist/catalog-chunks/chunk-W7ZMAKCC.js +53 -0
- package/dist/catalog-chunks/chunk-XDDKOCZ7.js +89 -0
- package/dist/catalog-chunks/chunk-YGLQ5K3F.js +452 -0
- package/dist/catalog-chunks/chunk-YHU4BQDL.js +292 -0
- package/dist/catalog-chunks/chunk-ZCRXHCGS.js +108 -0
- package/dist/catalog-chunks/chunk-ZUQZVT7M.js +87 -0
- package/dist/catalog-chunks/chunk-ZXDZMNRZ.js +267 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +6237 -879
- package/dist/styles.css +1 -1
- package/dist/ui/ai/ai-approval-card.d.ts +28 -0
- package/dist/ui/ai/ai-code-block.d.ts +33 -0
- package/dist/ui/ai/ai-context-meter.d.ts +14 -0
- package/dist/ui/ai/ai-fine-tune-card.d.ts +43 -0
- package/dist/ui/ai/ai-prompt-bar.d.ts +25 -0
- package/dist/ui/ai/ai-sidebar-nav.d.ts +26 -0
- package/dist/ui/ai/ai-sources.d.ts +16 -0
- package/dist/ui/ai/ai-suggestions.d.ts +12 -0
- package/dist/ui/ai/ai-task-list.d.ts +15 -0
- package/dist/ui/ai/ai-tool-call.d.ts +13 -0
- package/dist/ui/ai/rudder-issue-board.d.ts +21 -0
- package/dist/ui/animated-sidebar.d.ts +9 -0
- package/dist/ui/hover/inset-button.d.ts +16 -0
- package/dist/ui/loading/analyzing-image.d.ts +2 -0
- package/dist/ui/loading/border-trail-loading.d.ts +9 -0
- package/dist/ui/loading/wandering-eyes.d.ts +10 -0
- package/dist/ui/patterns/animated-tags.d.ts +14 -0
- package/dist/ui/patterns/expanding-icon-tabs.d.ts +8 -0
- package/dist/ui/patterns/gooey-popover.d.ts +24 -0
- package/package.json +79 -14
- package/registry/1.json +19 -0
- package/registry/10.json +19 -0
- package/registry/11.json +19 -0
- package/registry/12.json +19 -0
- package/registry/13.json +19 -0
- package/registry/14.json +19 -0
- package/registry/15.json +19 -0
- package/registry/16.json +19 -0
- package/registry/17.json +19 -0
- package/registry/18.json +19 -0
- package/registry/19.json +19 -0
- package/registry/2.json +19 -0
- package/registry/20.json +19 -0
- package/registry/21.json +19 -0
- package/registry/22.json +19 -0
- package/registry/23.json +19 -0
- package/registry/24.json +19 -0
- package/registry/25.json +19 -0
- package/registry/26.json +19 -0
- package/registry/27.json +19 -0
- package/registry/28.json +19 -0
- package/registry/29.json +19 -0
- package/registry/3.json +19 -0
- package/registry/30.json +19 -0
- package/registry/31.json +19 -0
- package/registry/32.json +19 -0
- package/registry/33.json +19 -0
- package/registry/34.json +19 -0
- package/registry/35.json +19 -0
- package/registry/36.json +16 -0
- package/registry/37.json +16 -0
- package/registry/4.json +19 -0
- package/registry/5.json +19 -0
- package/registry/6.json +19 -0
- package/registry/7.json +19 -0
- package/registry/8.json +19 -0
- package/registry/9.json +19 -0
- package/registry/LICENSE.third-party +542 -0
- package/registry/ab-segmented-tabs.json +18 -0
- package/registry/accordion-blind.json +15 -0
- package/registry/accordion-loader.json +9 -0
- package/registry/ai-approval-card.json +17 -0
- package/registry/ai-code-block.json +19 -0
- package/registry/ai-context-meter.json +19 -0
- package/registry/ai-fine-tune-card.json +19 -0
- package/registry/ai-prompt-bar.json +17 -0
- package/registry/ai-sidebar-nav.json +17 -0
- package/registry/ai-sources.json +20 -0
- package/registry/ai-suggestions.json +19 -0
- package/registry/ai-task-list.json +20 -0
- package/registry/ai-tool-call.json +20 -0
- package/registry/analyzing-image.json +17 -0
- package/registry/animated-sidebar.json +19 -0
- package/registry/animated-tags.json +19 -0
- package/registry/app-icon-load.json +9 -0
- package/registry/apple-breathe.json +9 -0
- package/registry/apple-equalizer.json +9 -0
- package/registry/apple-icon-morph.json +9 -0
- package/registry/apple-pulse-dots.json +9 -0
- package/registry/apple-scale-pulse.json +9 -0
- package/registry/apple-sound-wave.json +9 -0
- package/registry/apple-text-reveal.json +9 -0
- package/registry/apple-unlock.json +9 -0
- package/registry/arc-tracer.json +9 -0
- package/registry/bar-cascade.json +9 -0
- package/registry/bar-sweep.json +9 -0
- package/registry/blur-text.json +9 -0
- package/registry/blur-up-char.json +19 -0
- package/registry/blur-up-word.json +19 -0
- package/registry/bobbing-dots.json +9 -0
- package/registry/bookmark-corner-peel.json +15 -0
- package/registry/bookmark-save-pill.json +18 -0
- package/registry/bookmark-toggle.json +19 -0
- package/registry/border-trail-loading.json +17 -0
- package/registry/bounce-dots.json +9 -0
- package/registry/bounce-in-char.json +19 -0
- package/registry/bouncing-bars.json +9 -0
- package/registry/bouncing-dots.json +9 -0
- package/registry/bouncing-lines.json +9 -0
- package/registry/bouncing-square.json +9 -0
- package/registry/breathe-ring.json +9 -0
- package/registry/breathing-glow.json +9 -0
- package/registry/breathing-square.json +9 -0
- package/registry/btn-1.json +19 -0
- package/registry/btn-10.json +19 -0
- package/registry/btn-11.json +19 -0
- package/registry/btn-12.json +19 -0
- package/registry/btn-13.json +19 -0
- package/registry/btn-14.json +19 -0
- package/registry/btn-15.json +19 -0
- package/registry/btn-16.json +19 -0
- package/registry/btn-17.json +19 -0
- package/registry/btn-18.json +19 -0
- package/registry/btn-19.json +19 -0
- package/registry/btn-2.json +19 -0
- package/registry/btn-20.json +19 -0
- package/registry/btn-21.json +19 -0
- package/registry/btn-22.json +19 -0
- package/registry/btn-23.json +19 -0
- package/registry/btn-24.json +19 -0
- package/registry/btn-25.json +19 -0
- package/registry/btn-26.json +19 -0
- package/registry/btn-27.json +19 -0
- package/registry/btn-28.json +19 -0
- package/registry/btn-29.json +19 -0
- package/registry/btn-3.json +19 -0
- package/registry/btn-30.json +19 -0
- package/registry/btn-31.json +19 -0
- package/registry/btn-32.json +19 -0
- package/registry/btn-33.json +19 -0
- package/registry/btn-34.json +19 -0
- package/registry/btn-35.json +19 -0
- package/registry/btn-36.json +16 -0
- package/registry/btn-37.json +16 -0
- package/registry/btn-4.json +19 -0
- package/registry/btn-5.json +19 -0
- package/registry/btn-6.json +19 -0
- package/registry/btn-7.json +19 -0
- package/registry/btn-8.json +19 -0
- package/registry/btn-9.json +19 -0
- package/registry/button-slide-arrow.json +19 -0
- package/registry/cacheable-bandwidth-cost.json +19 -0
- package/registry/card-arc-5.json +18 -0
- package/registry/card-arc-7.json +18 -0
- package/registry/card-carousel-mono.json +19 -0
- package/registry/card-carousel.json +19 -0
- package/registry/card-cascade-stagger.json +18 -0
- package/registry/card-corner-fan.json +18 -0
- package/registry/card-cover-flow-mono.json +19 -0
- package/registry/card-cover-flow.json +19 -0
- package/registry/card-deck-cascade.json +15 -0
- package/registry/card-glance-preview.json +18 -0
- package/registry/card-hover.json +9 -0
- package/registry/card-linear-spread.json +18 -0
- package/registry/card-long-arc-5.json +18 -0
- package/registry/card-scatter-spread.json +18 -0
- package/registry/card-stack-peel.json +15 -0
- package/registry/card-stamp-arc.json +18 -0
- package/registry/card-time-machine-mono.json +18 -0
- package/registry/card-time-machine.json +18 -0
- package/registry/card-wheel-fan.json +18 -0
- package/registry/category-select.json +18 -0
- package/registry/character-stagger.json +9 -0
- package/registry/checkbox-draw.json +19 -0
- package/registry/checkmark-draw.json +19 -0
- package/registry/circle-toggle.json +19 -0
- package/registry/circuit-trace-draw.json +15 -0
- package/registry/circular-bars.json +9 -0
- package/registry/circular-create-button.json +16 -0
- package/registry/classic-spinner.json +9 -0
- package/registry/classic-toggle.json +9 -0
- package/registry/clock-spinner.json +9 -0
- package/registry/comet-spinner.json +9 -0
- package/registry/compass-needle-deflect.json +15 -0
- package/registry/concentric-pulse.json +9 -0
- package/registry/concentric-ring.json +9 -0
- package/registry/concentric-squares.json +9 -0
- package/registry/context-menu.json +18 -0
- package/registry/conveyor-loop.json +9 -0
- package/registry/credit-score-barcode-meter.json +19 -0
- package/registry/cross-spinner.json +9 -0
- package/registry/cube-flip-spring.json +9 -0
- package/registry/cursor-trail.json +9 -0
- package/registry/dash-ring.json +9 -0
- package/registry/dashed-spiral.json +9 -0
- package/registry/date-position-selector.json +18 -0
- package/registry/dia-text-reveal.json +19 -0
- package/registry/diamond-grid.json +9 -0
- package/registry/diamond-rotate-spring.json +9 -0
- package/registry/dislike-toggle.json +19 -0
- package/registry/dither-book.json +19 -0
- package/registry/domino-cascade.json +15 -0
- package/registry/dot-spinner.json +9 -0
- package/registry/dots-ring.json +9 -0
- package/registry/double-bounce-toggle.json +19 -0
- package/registry/double-ring.json +9 -0
- package/registry/download-icons.json +18 -0
- package/registry/drop-dot.json +9 -0
- package/registry/drop-in-char.json +19 -0
- package/registry/droplet-squish.json +15 -0
- package/registry/dual-arc.json +9 -0
- package/registry/dual-magnet-dipole.json +15 -0
- package/registry/dynamic-island.json +9 -0
- package/registry/elastic-bars.json +9 -0
- package/registry/elastic-square.json +9 -0
- package/registry/elastic-tag-snap.json +15 -0
- package/registry/error-shake.json +19 -0
- package/registry/expanding-cross.json +9 -0
- package/registry/expanding-icon-tabs.json +17 -0
- package/registry/face-id-scan.json +9 -0
- package/registry/fade-arc.json +9 -0
- package/registry/fade-dots.json +9 -0
- package/registry/fade-down.json +9 -0
- package/registry/fade-in-char.json +19 -0
- package/registry/fade-in-text.json +19 -0
- package/registry/fade-in-word.json +19 -0
- package/registry/fade-in.json +9 -0
- package/registry/fade-up.json +9 -0
- package/registry/file-upload-dropzone.json +19 -0
- package/registry/filter-tag-pill.json +18 -0
- package/registry/flip-square.json +9 -0
- package/registry/flip-x-char.json +19 -0
- package/registry/flip-y-char.json +19 -0
- package/registry/float-char.json +19 -0
- package/registry/float-word.json +19 -0
- package/registry/floating-diamonds.json +9 -0
- package/registry/floating-label-input.json +19 -0
- package/registry/fluid-bars.json +9 -0
- package/registry/fluid-diamond.json +9 -0
- package/registry/fluid-dot-orbit.json +9 -0
- package/registry/fluid-skeleton.json +9 -0
- package/registry/focus-blur.json +18 -0
- package/registry/form-submit-button.json +19 -0
- package/registry/french-doors-3d.json +18 -0
- package/registry/gear-tooth-step.json +15 -0
- package/registry/gears.json +9 -0
- package/registry/gelatin-wobble.json +15 -0
- package/registry/geometric-iris-shutter.json +15 -0
- package/registry/glassmorphic-card.json +9 -0
- package/registry/glow-button.json +9 -0
- package/registry/glow-text.json +19 -0
- package/registry/gooey-popover.json +18 -0
- package/registry/gradient-arc.json +9 -0
- package/registry/gradient-shimmer.json +18 -0
- package/registry/grid-dots.json +9 -0
- package/registry/haptic-ring.json +9 -0
- package/registry/heartbeat.json +9 -0
- package/registry/hex-lattice-draw.json +15 -0
- package/registry/hexagon-spinner.json +9 -0
- package/registry/hourglass.json +9 -0
- package/registry/hover-lift-char.json +19 -0
- package/registry/hover-lift-word.json +19 -0
- package/registry/hover-link-card.json +18 -0
- package/registry/hover-scale-char.json +19 -0
- package/registry/hover-scale-word.json +19 -0
- package/registry/inertia-skid-stop.json +15 -0
- package/registry/infinity-path.json +9 -0
- package/registry/input-focus-glow.json +19 -0
- package/registry/inset-action-button.json +16 -0
- package/registry/inset-button.json +17 -0
- package/registry/intersecting-rings.json +9 -0
- package/registry/ios-spinner.json +9 -0
- package/registry/kinetic-metronome-tick.json +15 -0
- package/registry/kinetic-tension-capsule.json +15 -0
- package/registry/light-dark-morph.json +18 -0
- package/registry/like-toggle.json +19 -0
- package/registry/line-spinner.json +9 -0
- package/registry/liquid-dots.json +9 -0
- package/registry/mac-terminal.json +9 -0
- package/registry/magnetic-button.json +9 -0
- package/registry/magnetic-disks.json +15 -0
- package/registry/magnetic-dots.json +9 -0
- package/registry/magnetic-slide-btn.json +18 -0
- package/registry/manifest.json +11258 -0
- package/registry/matrix-grid-loader.json +15 -0
- package/registry/minimal-triangle.json +9 -0
- package/registry/modular-tile-snap.json +15 -0
- package/registry/mono-activity-blue.json +18 -0
- package/registry/mono-activity-green.json +18 -0
- package/registry/mono-activity-purple.json +18 -0
- package/registry/mono-heatmap.json +19 -0
- package/registry/mono-rounded-area.json +18 -0
- package/registry/mono-rounded-bar.json +18 -0
- package/registry/mono-rounded-bubble.json +18 -0
- package/registry/mono-rounded-bullet.json +16 -0
- package/registry/mono-rounded-candlestick.json +16 -0
- package/registry/mono-rounded-composed.json +18 -0
- package/registry/mono-rounded-donut.json +18 -0
- package/registry/mono-rounded-funnel.json +18 -0
- package/registry/mono-rounded-gauge-arc.json +18 -0
- package/registry/mono-rounded-heatmap.json +16 -0
- package/registry/mono-rounded-kpi.json +18 -0
- package/registry/mono-rounded-line.json +18 -0
- package/registry/mono-rounded-meter.json +18 -0
- package/registry/mono-rounded-polar.json +18 -0
- package/registry/mono-rounded-pyramid.json +16 -0
- package/registry/mono-rounded-radar.json +18 -0
- package/registry/mono-rounded-radial-gauge.json +18 -0
- package/registry/mono-rounded-radial-group.json +18 -0
- package/registry/mono-rounded-range.json +18 -0
- package/registry/mono-rounded-sankey.json +16 -0
- package/registry/mono-rounded-scatter.json +18 -0
- package/registry/mono-rounded-sparkline.json +18 -0
- package/registry/mono-rounded-stacked-bar.json +18 -0
- package/registry/mono-rounded-step.json +18 -0
- package/registry/mono-rounded-stream.json +18 -0
- package/registry/mono-rounded-treemap.json +16 -0
- package/registry/mono-rounded-waterfall.json +18 -0
- package/registry/mono-stock.json +19 -0
- package/registry/morph-action-pill.json +18 -0
- package/registry/morph-dot-ring.json +9 -0
- package/registry/morph-loader.json +9 -0
- package/registry/morph-toggle.json +19 -0
- package/registry/morphing-bars.json +9 -0
- package/registry/morphing-infinity.json +9 -0
- package/registry/morphing-ring.json +9 -0
- package/registry/morphing-shape.json +9 -0
- package/registry/mouse-follow.json +9 -0
- package/registry/multi-select-chips.json +19 -0
- package/registry/multi-tab-bar.json +18 -0
- package/registry/neon-sign-draw.json +15 -0
- package/registry/nested-orbital-gimbal.json +15 -0
- package/registry/network-telemetry-matrix.json +19 -0
- package/registry/newtons-cradle.json +9 -0
- package/registry/noise-decibel-level.json +19 -0
- package/registry/obsidian-liquid-wave.json +16 -0
- package/registry/offset-rings.json +9 -0
- package/registry/orbiting-circles.json +9 -0
- package/registry/orbiting-dot.json +9 -0
- package/registry/origami-envelope-unfold.json +15 -0
- package/registry/origami-shape.json +9 -0
- package/registry/otp-input.json +19 -0
- package/registry/overview-bar-scrubber-card.json +19 -0
- package/registry/page-transition.json +11 -0
- package/registry/page-turn-curl.json +15 -0
- package/registry/password-toggle.json +19 -0
- package/registry/pendulum-bubble-level.json +15 -0
- package/registry/pendulum.json +9 -0
- package/registry/perspective-flip-stage.json +18 -0
- package/registry/perspective-flip.json +18 -0
- package/registry/perspective-layout-switcher.json +18 -0
- package/registry/physics-dock.json +17 -0
- package/registry/pill-tabs.json +19 -0
- package/registry/plus-minus-toggle.json +18 -0
- package/registry/presets.json +9 -0
- package/registry/prism-block-stack.json +15 -0
- package/registry/progress-indicator-piano.json +19 -0
- package/registry/progress-indicator.json +9 -0
- package/registry/progress-stepper.json +18 -0
- package/registry/pulsating-dots.json +9 -0
- package/registry/pulse-char.json +19 -0
- package/registry/pulse-dot.json +9 -0
- package/registry/pulse-dots.json +9 -0
- package/registry/pulse-square.json +9 -0
- package/registry/pulse-word.json +19 -0
- package/registry/pulse.json +9 -0
- package/registry/pumping-heart.json +9 -0
- package/registry/pyramid-block-build.json +15 -0
- package/registry/radar-sweep.json +9 -0
- package/registry/radial-iris-mask.json +18 -0
- package/registry/radial-spinner.json +15 -0
- package/registry/radio-scale.json +19 -0
- package/registry/range-slider.json +19 -0
- package/registry/receipt-tape-print.json +15 -0
- package/registry/rectangle-toggle.json +19 -0
- package/registry/repost-toggle.json +19 -0
- package/registry/reveal-text.json +19 -0
- package/registry/ribbon-banner-slide.json +15 -0
- package/registry/ring-sweep.json +9 -0
- package/registry/ripple-effect.json +9 -0
- package/registry/rise-up-word.json +19 -0
- package/registry/roller-blind-drop.json +15 -0
- package/registry/rolling-tumble.json +15 -0
- package/registry/rotate-in-char.json +19 -0
- package/registry/rotating-cross.json +9 -0
- package/registry/rotating-louvers.json +15 -0
- package/registry/rotating-triangle.json +9 -0
- package/registry/rudder-issue-board.json +24 -0
- package/registry/sales-analytics-dual-bars.json +19 -0
- package/registry/sales-overview-radial-dashboard.json +19 -0
- package/registry/sales-target-segmented-arc.json +19 -0
- package/registry/scale-in-char.json +19 -0
- package/registry/scale-in-text.json +19 -0
- package/registry/scale-in-word.json +19 -0
- package/registry/scale-in.json +9 -0
- package/registry/scramble-text.json +18 -0
- package/registry/scroll-canvas-unroll.json +15 -0
- package/registry/scroll-reveal.json +9 -0
- package/registry/search-expand.json +19 -0
- package/registry/segmented-arc-meter.json +18 -0
- package/registry/segmented-link-stretch.json +15 -0
- package/registry/segmented-step-bar.json +18 -0
- package/registry/segmented-stepper-dots.json +18 -0
- package/registry/select-dropdown.json +19 -0
- package/registry/server-performance-step-bars.json +19 -0
- package/registry/shape-shift-grid.json +9 -0
- package/registry/shimmer-line.json +9 -0
- package/registry/shimmer-text.json +19 -0
- package/registry/shutter-slide.json +15 -0
- package/registry/shutter-step-slices.json +15 -0
- package/registry/siri-wave.json +9 -0
- package/registry/skeleton-loader.json +9 -0
- package/registry/skeleton.json +9 -0
- package/registry/skew-x-char.json +19 -0
- package/registry/slide-down-char.json +19 -0
- package/registry/slide-down-word.json +19 -0
- package/registry/slide-left-char.json +19 -0
- package/registry/slide-left.json +9 -0
- package/registry/slide-right-char.json +19 -0
- package/registry/slide-right.json +9 -0
- package/registry/slide-up-char.json +19 -0
- package/registry/slide-up-text.json +19 -0
- package/registry/slide-up-word.json +19 -0
- package/registry/sliding-bars.json +9 -0
- package/registry/slinky-coil.json +15 -0
- package/registry/smart-card-dispenser.json +15 -0
- package/registry/smooth-dot-shift.json +9 -0
- package/registry/smooth-ring.json +9 -0
- package/registry/smooth-rounded-square.json +9 -0
- package/registry/solid-switch.json +19 -0
- package/registry/spatial-door-portal.json +18 -0
- package/registry/spinning-squares.json +9 -0
- package/registry/spiral-spinner.json +9 -0
- package/registry/split-gate-reveal.json +15 -0
- package/registry/spotlight.json +9 -0
- package/registry/spring-bars.json +9 -0
- package/registry/spring-dot-matrix.json +9 -0
- package/registry/spring-hexagon.json +9 -0
- package/registry/spring-ring-expand.json +9 -0
- package/registry/spring-text-pop.json +9 -0
- package/registry/spring-text.json +19 -0
- package/registry/square-accordion.json +9 -0
- package/registry/square-grid.json +9 -0
- package/registry/square-snake.json +9 -0
- package/registry/square-spinner.json +9 -0
- package/registry/squash-sphere.json +15 -0
- package/registry/stacked-bar-pulse.json +9 -0
- package/registry/stagger-text.json +19 -0
- package/registry/staggered-glass-curtain.json +18 -0
- package/registry/sticky-note-peel.json +15 -0
- package/registry/sticky-reveal.json +9 -0
- package/registry/stretch-x-char.json +19 -0
- package/registry/stretch-y-char.json +19 -0
- package/registry/stroke-waveform.json +15 -0
- package/registry/submenu-flyout.json +18 -0
- package/registry/success-check.json +19 -0
- package/registry/sudden-brake.json +15 -0
- package/registry/swapping-dots.json +9 -0
- package/registry/swing-word.json +19 -0
- package/registry/swirling-spinner.json +9 -0
- package/registry/symmetric-wave.json +9 -0
- package/registry/terminal-loader.json +9 -0
- package/registry/text-blink.json +9 -0
- package/registry/text-dots.json +9 -0
- package/registry/text-morph.json +9 -0
- package/registry/text-reveal.json +9 -0
- package/registry/text-shimmer-wave.json +9 -0
- package/registry/text-shimmer.json +9 -0
- package/registry/textarea-auto-grow.json +19 -0
- package/registry/theme-toggle.json +19 -0
- package/registry/tilt-card.json +9 -0
- package/registry/timer-preparation-segmented.json +19 -0
- package/registry/tracking-in-text.json +19 -0
- package/registry/tracking-out-text.json +19 -0
- package/registry/trailing-dots.json +9 -0
- package/registry/triple-dot-spinner.json +9 -0
- package/registry/twin-orbit.json +9 -0
- package/registry/typewriter-text.json +18 -0
- package/registry/typing-indicator.json +9 -0
- package/registry/typing.json +9 -0
- package/registry/use-mouse-position.json +10 -0
- package/registry/use-reduced-motion.json +9 -0
- package/registry/use-scroll-progress.json +9 -0
- package/registry/use-stagger.json +9 -0
- package/registry/use-web-haptics.json +10 -0
- package/registry/users-growth-pill-progress.json +19 -0
- package/registry/utils.json +10 -0
- package/registry/vertical-wheel-counter.json +18 -0
- package/registry/views-hourly-wave-chart.json +19 -0
- package/registry/wandering-cube.json +9 -0
- package/registry/wandering-eyes.json +15 -0
- package/registry/watch-spinner.json +9 -0
- package/registry/wave-dots.json +9 -0
- package/registry/wave-physics-loader.json +9 -0
- package/registry/wave-reveal.json +18 -0
- package/registry/waveform-loader.json +9 -0
- package/registry/word-reveal.json +9 -0
- package/registry/zig-zag-pulse.json +9 -0
- package/registry/zoom-in-text.json +19 -0
- package/registry/zoom-in.json +9 -0
- package/registry/zoom-out-text.json +19 -0
|
@@ -0,0 +1,1049 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
useWebHaptics
|
|
4
|
+
} from "../../../catalog-chunks/chunk-EC4R54F3.js";
|
|
5
|
+
|
|
6
|
+
// .generated/catalog/components/metrics/AnimatedMetricCard.tsx
|
|
7
|
+
import { useState } from "react";
|
|
8
|
+
import { motion } from "framer-motion";
|
|
9
|
+
import { TrendingUp, Zap, Check, ArrowUpRight, Share2, MoreHorizontal, ChevronDown, Star, Crown, HelpCircle } from "lucide-react";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
var AnimatedMetricCard = ({ config, theme }) => {
|
|
12
|
+
const [stockRange, setStockRange] = useState("1W");
|
|
13
|
+
const [viewsRange, setViewsRange] = useState("Day");
|
|
14
|
+
const [salesAnalyticsRange, setSalesAnalyticsRange] = useState("Weekly");
|
|
15
|
+
const [salesTargetRange, setSalesTargetRange] = useState("Yearly");
|
|
16
|
+
const [timerActive, setTimerActive] = useState(false);
|
|
17
|
+
const [decibelLevel, setDecibelLevel] = useState(40);
|
|
18
|
+
const { trigger: triggerHaptic } = useWebHaptics();
|
|
19
|
+
const isDark = theme === "dark";
|
|
20
|
+
const containerClasses = `w-full h-full p-4 flex flex-col justify-between select-none font-sans transition-colors duration-300 ${isDark ? "text-white" : "text-black"}`;
|
|
21
|
+
switch (config.interactionType) {
|
|
22
|
+
// --- CACHEABLE BANDWIDTH COST CARD ---
|
|
23
|
+
case "cacheable-bandwidth-cost":
|
|
24
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#FAFAFA] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
25
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
26
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1.5", children: [
|
|
27
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-black tracking-tight", children: "90.5 GB" }),
|
|
28
|
+
/* @__PURE__ */ jsx("span", { className: "text-base font-bold text-neutral-400 font-normal", children: "(69.8%)" })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between text-xs font-semibold mt-1", children: [
|
|
31
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-neutral-500 dark:text-neutral-400", children: [
|
|
32
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-full bg-[#A855F7]" }),
|
|
33
|
+
/* @__PURE__ */ jsx("span", { children: "Cacheable Bandwidth" })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-neutral-600 dark:text-neutral-300 font-bold", children: [
|
|
36
|
+
/* @__PURE__ */ jsx("span", { className: "w-3.5 h-3.5 rounded-full bg-neutral-200 dark:bg-white/15 text-[10px] flex items-center justify-center font-black", children: "$" }),
|
|
37
|
+
/* @__PURE__ */ jsx("span", { children: "$9.50" }),
|
|
38
|
+
/* @__PURE__ */ jsx(HelpCircle, { className: "w-3.5 h-3.5 text-neutral-400 cursor-pointer" })
|
|
39
|
+
] })
|
|
40
|
+
] })
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ jsx("div", { className: "my-2", children: /* @__PURE__ */ jsxs("div", { className: "w-full h-4 bg-neutral-200 dark:bg-neutral-800 rounded-full flex items-center p-0.5 overflow-hidden gap-0.5", children: [
|
|
43
|
+
/* @__PURE__ */ jsx("div", { className: "h-full w-[25%] bg-[#1E1B4B] dark:bg-[#312E81] rounded-l-full" }),
|
|
44
|
+
/* @__PURE__ */ jsx("div", { className: "h-full w-[20%] bg-[#A855F7]" }),
|
|
45
|
+
/* @__PURE__ */ jsx("div", { className: "h-full flex-1 rounded-r-full bg-[#F3E8FF] dark:bg-[#2E1065] relative overflow-hidden", children: /* @__PURE__ */ jsxs("svg", { className: "absolute inset-0 w-full h-full opacity-40", viewBox: "0 0 100 100", preserveAspectRatio: "none", children: [
|
|
46
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: "bandwidth-stripes", width: "8", height: "8", patternTransform: "rotate(90 0 0)", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx("line", { x1: "0", y1: "0", x2: "0", y2: "8", stroke: "#A855F7", strokeWidth: "4" }) }) }),
|
|
47
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: "url(#bandwidth-stripes)" })
|
|
48
|
+
] }) })
|
|
49
|
+
] }) }),
|
|
50
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5 text-xs font-semibold", children: [
|
|
51
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between text-neutral-600 dark:text-neutral-300", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
52
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-full bg-[#A855F7]" }),
|
|
53
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
54
|
+
"Cached ",
|
|
55
|
+
/* @__PURE__ */ jsx("strong", { className: "text-black dark:text-white font-bold", children: "12.8 GB" }),
|
|
56
|
+
" ",
|
|
57
|
+
/* @__PURE__ */ jsx("span", { className: "text-neutral-400 font-normal", children: "(9.8%)" })
|
|
58
|
+
] })
|
|
59
|
+
] }) }),
|
|
60
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between text-neutral-600 dark:text-neutral-300", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
61
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-full bg-[#1E1B4B] dark:bg-white" }),
|
|
62
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
63
|
+
"Non-Cacheable ",
|
|
64
|
+
/* @__PURE__ */ jsx("strong", { className: "text-black dark:text-white font-bold", children: "26.3 GB" }),
|
|
65
|
+
" ",
|
|
66
|
+
/* @__PURE__ */ jsx("span", { className: "text-neutral-400 font-normal", children: "(20.3%)" })
|
|
67
|
+
] })
|
|
68
|
+
] }) }),
|
|
69
|
+
/* @__PURE__ */ jsxs("div", { className: "pt-1 border-t border-neutral-100 dark:border-white/10 text-neutral-500 font-medium", children: [
|
|
70
|
+
"Total ",
|
|
71
|
+
/* @__PURE__ */ jsx("strong", { className: "text-black dark:text-white font-bold", children: "129.6 GB" })
|
|
72
|
+
] })
|
|
73
|
+
] })
|
|
74
|
+
] });
|
|
75
|
+
// --- OTHER IMAGE COMPONENTS ---
|
|
76
|
+
case "sales-analytics-dual-bars":
|
|
77
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#F9FAFB] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
78
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
79
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
80
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-bold tracking-tight", children: "Sales analytics" }),
|
|
81
|
+
/* @__PURE__ */ jsx("div", { className: "text-[11px] text-neutral-400 font-medium mt-1", children: "Total units sold" }),
|
|
82
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1 mt-0.5", children: [
|
|
83
|
+
/* @__PURE__ */ jsx("span", { className: "text-2xl font-black tracking-tight", children: "345" }),
|
|
84
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold text-neutral-400", children: "/500" })
|
|
85
|
+
] })
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ jsx("div", { className: `flex items-center p-0.5 rounded-full border ${isDark ? "bg-white/5 border-white/10" : "bg-neutral-100 border-neutral-200"}`, children: ["Monthly", "Weekly"].map((r) => /* @__PURE__ */ jsx(
|
|
88
|
+
"button",
|
|
89
|
+
{
|
|
90
|
+
onClick: (e) => {
|
|
91
|
+
e.stopPropagation();
|
|
92
|
+
triggerHaptic("light");
|
|
93
|
+
setSalesAnalyticsRange(r);
|
|
94
|
+
},
|
|
95
|
+
className: `px-3 py-1 text-[10px] font-bold rounded-full transition-colors cursor-pointer border-0 ${salesAnalyticsRange === r ? isDark ? "bg-white text-black" : "bg-white text-black shadow-xs" : "text-neutral-400 hover:text-white"}`,
|
|
96
|
+
children: r
|
|
97
|
+
},
|
|
98
|
+
r
|
|
99
|
+
)) })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ jsxs("div", { className: `p-3 rounded-2xl border flex flex-col justify-between h-36 mt-1 ${isDark ? "bg-[#121214] border-white/5" : "bg-white border-neutral-100 shadow-xs"}`, children: [
|
|
102
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[10px] font-bold", children: [
|
|
103
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5 text-neutral-600 dark:text-neutral-300", children: [
|
|
104
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-xs bg-[#EA580C]" }),
|
|
105
|
+
/* @__PURE__ */ jsx("span", { children: "Total Sales" })
|
|
106
|
+
] }),
|
|
107
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5 text-neutral-600 dark:text-neutral-300", children: [
|
|
108
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-xs bg-[#FDBA74]" }),
|
|
109
|
+
/* @__PURE__ */ jsx("span", { children: "Total Earnings" })
|
|
110
|
+
] })
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-end justify-between px-2 h-20", children: [
|
|
113
|
+
/* @__PURE__ */ jsx("div", { className: "w-6 bg-neutral-200/50 dark:bg-neutral-800/40 rounded-lg h-[40%]" }),
|
|
114
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-end gap-1 h-full", children: [
|
|
115
|
+
/* @__PURE__ */ jsx(motion.div, { initial: { height: 0 }, animate: { height: "75%" }, transition: { duration: 0.6 }, className: "w-6 bg-[#EA580C] rounded-lg shadow-sm" }),
|
|
116
|
+
/* @__PURE__ */ jsx(motion.div, { initial: { height: 0 }, animate: { height: "90%" }, transition: { duration: 0.6, delay: 0.1 }, className: "w-6 bg-[#FDBA74] rounded-lg shadow-sm" })
|
|
117
|
+
] }),
|
|
118
|
+
/* @__PURE__ */ jsx("div", { className: "w-6 bg-neutral-200/50 dark:bg-neutral-800/40 rounded-lg h-[55%]" }),
|
|
119
|
+
/* @__PURE__ */ jsx("div", { className: "w-6 bg-neutral-200/50 dark:bg-neutral-800/40 rounded-lg h-[45%]" })
|
|
120
|
+
] }),
|
|
121
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between px-2 text-[9px] font-bold text-neutral-400 uppercase", children: [
|
|
122
|
+
/* @__PURE__ */ jsx("span", { children: "Sep" }),
|
|
123
|
+
/* @__PURE__ */ jsx("span", { className: "text-black dark:text-white font-black", children: "Oct" }),
|
|
124
|
+
/* @__PURE__ */ jsx("span", { children: "Nov" }),
|
|
125
|
+
/* @__PURE__ */ jsx("span", { children: "Dec" })
|
|
126
|
+
] })
|
|
127
|
+
] })
|
|
128
|
+
] });
|
|
129
|
+
case "sales-target-segmented-arc":
|
|
130
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#F9FAFB] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
131
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
132
|
+
/* @__PURE__ */ jsx("span", { className: "text-base font-bold tracking-tight", children: "Sales target" }),
|
|
133
|
+
/* @__PURE__ */ jsx("div", { className: `flex items-center p-0.5 rounded-full border ${isDark ? "bg-white/5 border-white/10" : "bg-neutral-100 border-neutral-200"}`, children: ["Monthly", "Yearly"].map((r) => /* @__PURE__ */ jsx(
|
|
134
|
+
"button",
|
|
135
|
+
{
|
|
136
|
+
onClick: (e) => {
|
|
137
|
+
e.stopPropagation();
|
|
138
|
+
triggerHaptic("light");
|
|
139
|
+
setSalesTargetRange(r);
|
|
140
|
+
},
|
|
141
|
+
className: `px-3 py-1 text-[10px] font-bold rounded-full transition-colors cursor-pointer border-0 ${salesTargetRange === r ? isDark ? "bg-white text-black" : "bg-white text-black shadow-xs" : "text-neutral-400 hover:text-white"}`,
|
|
142
|
+
children: r
|
|
143
|
+
},
|
|
144
|
+
r
|
|
145
|
+
)) })
|
|
146
|
+
] }),
|
|
147
|
+
/* @__PURE__ */ jsxs("div", { className: `p-3 rounded-2xl border flex flex-col items-center justify-between h-44 mt-1 relative overflow-hidden ${isDark ? "bg-[#121214] border-white/5" : "bg-white border-neutral-100 shadow-xs"}`, children: [
|
|
148
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[10px] font-bold w-full justify-start", children: [
|
|
149
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5 text-neutral-600 dark:text-neutral-300", children: [
|
|
150
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-full bg-[#FDBA74]" }),
|
|
151
|
+
/* @__PURE__ */ jsx("span", { children: "Property listed" })
|
|
152
|
+
] }),
|
|
153
|
+
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1.5 text-neutral-600 dark:text-neutral-300", children: [
|
|
154
|
+
/* @__PURE__ */ jsx("span", { className: "w-2 h-2 rounded-full bg-[#EA580C]" }),
|
|
155
|
+
/* @__PURE__ */ jsx("span", { children: "Property delivered" })
|
|
156
|
+
] })
|
|
157
|
+
] }),
|
|
158
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-52 h-28 flex items-center justify-center mt-2", children: [
|
|
159
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 200 110", className: "w-full h-full overflow-visible", children: Array.from({ length: 16 }).map((_, i) => {
|
|
160
|
+
const angle = -180 + i * (180 / 15);
|
|
161
|
+
const isListed = i < 5;
|
|
162
|
+
const isDelivered = i >= 5 && i < 12;
|
|
163
|
+
return /* @__PURE__ */ jsx("g", { transform: `rotate(${angle} 100 100)`, children: /* @__PURE__ */ jsx(
|
|
164
|
+
"rect",
|
|
165
|
+
{
|
|
166
|
+
x: "93",
|
|
167
|
+
y: "10",
|
|
168
|
+
width: "14",
|
|
169
|
+
height: "28",
|
|
170
|
+
rx: "4",
|
|
171
|
+
fill: isListed ? "#FDBA74" : isDelivered ? "#EA580C" : isDark ? "#26262B" : "#E5E7EB"
|
|
172
|
+
}
|
|
173
|
+
) }, i);
|
|
174
|
+
}) }),
|
|
175
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute bottom-1 flex flex-col items-center", children: [
|
|
176
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-black tracking-tight", children: "70%" }),
|
|
177
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-semibold text-neutral-400", children: "Achieved" })
|
|
178
|
+
] })
|
|
179
|
+
] })
|
|
180
|
+
] })
|
|
181
|
+
] });
|
|
182
|
+
case "sales-overview-radial-dashboard":
|
|
183
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#FAFAFA] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
184
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
185
|
+
/* @__PURE__ */ jsx("span", { className: "text-base font-bold tracking-tight", children: "Sales Overview" }),
|
|
186
|
+
/* @__PURE__ */ jsx("div", { className: "w-7 h-7 rounded-full bg-neutral-100 dark:bg-white/10 flex items-center justify-center cursor-pointer", children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "w-4 h-4 text-neutral-500 dark:text-neutral-300" }) })
|
|
187
|
+
] }),
|
|
188
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-[#F3F0FF] dark:bg-[#2E1A47] text-[#6D28D9] dark:text-[#DDD6FE] px-3 py-1.5 rounded-xl text-xs font-bold flex items-center gap-2 my-1", children: [
|
|
189
|
+
/* @__PURE__ */ jsx(Crown, { className: "w-4 h-4 fill-[#6D28D9] dark:fill-[#DDD6FE]" }),
|
|
190
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
191
|
+
"You're the top ",
|
|
192
|
+
/* @__PURE__ */ jsx("strong", { className: "text-[#4C1D95] dark:text-white", children: "17%" }),
|
|
193
|
+
" of performers"
|
|
194
|
+
] })
|
|
195
|
+
] }),
|
|
196
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-48 h-24 flex items-center justify-center mx-auto my-1", children: [
|
|
197
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 200 110", className: "w-full h-full overflow-visible", children: Array.from({ length: 14 }).map((_, i) => {
|
|
198
|
+
const angle = -180 + i * (180 / 13);
|
|
199
|
+
const isActive = i < 9;
|
|
200
|
+
return /* @__PURE__ */ jsx("g", { transform: `rotate(${angle} 100 100)`, children: /* @__PURE__ */ jsx(
|
|
201
|
+
"rect",
|
|
202
|
+
{
|
|
203
|
+
x: "93",
|
|
204
|
+
y: "10",
|
|
205
|
+
width: "14",
|
|
206
|
+
height: "28",
|
|
207
|
+
rx: "4",
|
|
208
|
+
fill: isActive ? "#6366F1" : isDark ? "#26262B" : "#E5E7EB"
|
|
209
|
+
}
|
|
210
|
+
) }, i);
|
|
211
|
+
}) }),
|
|
212
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute bottom-0 flex flex-col items-center", children: [
|
|
213
|
+
/* @__PURE__ */ jsx("span", { className: "text-2xl font-black tracking-tight", children: "67.2%" }),
|
|
214
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-semibold text-neutral-400", children: "sales goals" })
|
|
215
|
+
] })
|
|
216
|
+
] }),
|
|
217
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2 mt-1", children: [
|
|
218
|
+
/* @__PURE__ */ jsxs("div", { className: `p-2.5 rounded-xl border flex flex-col justify-between ${isDark ? "bg-white/5 border-white/5" : "bg-white border-neutral-200/80 shadow-xs"}`, children: [
|
|
219
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
220
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-semibold text-neutral-500", children: "Number of Sales" }),
|
|
221
|
+
/* @__PURE__ */ jsx("span", { className: "px-1.5 py-0.5 rounded-md bg-[#6366F1]/15 text-[#6366F1] text-[9px] font-bold", children: "3.5% \u2197" })
|
|
222
|
+
] }),
|
|
223
|
+
/* @__PURE__ */ jsx("div", { className: "text-xl font-black tracking-tight mt-1", children: "1,304" })
|
|
224
|
+
] }),
|
|
225
|
+
/* @__PURE__ */ jsxs("div", { className: `p-2.5 rounded-xl border flex flex-col justify-between ${isDark ? "bg-white/5 border-white/5" : "bg-white border-neutral-200/80 shadow-xs"}`, children: [
|
|
226
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
227
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-semibold text-neutral-500", children: "Total Revenue" }),
|
|
228
|
+
/* @__PURE__ */ jsx("span", { className: "px-1.5 py-0.5 rounded-md bg-neutral-900 text-white text-[9px] font-bold", children: "4.5% \u2198" })
|
|
229
|
+
] }),
|
|
230
|
+
/* @__PURE__ */ jsx("div", { className: "text-xl font-black tracking-tight mt-1", children: "$21.1K" })
|
|
231
|
+
] })
|
|
232
|
+
] })
|
|
233
|
+
] });
|
|
234
|
+
case "users-growth-pill-progress":
|
|
235
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col justify-between select-none font-sans bg-[#0E0E10] text-white rounded-[24px] border border-white/10", children: [
|
|
236
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
237
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
238
|
+
/* @__PURE__ */ jsx(Star, { className: "w-5 h-5 fill-white text-white" }),
|
|
239
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold tracking-tight", children: "Users growth" })
|
|
240
|
+
] }),
|
|
241
|
+
/* @__PURE__ */ jsx("div", { className: "w-7 h-7 rounded-full bg-neutral-700 overflow-hidden border border-white/20", children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=100&auto=format&fit=crop&q=80", alt: "Avatar", className: "w-full h-full object-cover" }) })
|
|
242
|
+
] }),
|
|
243
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-2 my-1", children: [
|
|
244
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-bold text-[#818CF8]", children: "\u2197" }),
|
|
245
|
+
/* @__PURE__ */ jsx("span", { className: "text-4xl font-black tracking-tight", children: "+88.3%" }),
|
|
246
|
+
/* @__PURE__ */ jsxs("span", { className: "text-[10px] font-bold text-neutral-400 flex items-center gap-0.5", children: [
|
|
247
|
+
"+1.78% ",
|
|
248
|
+
/* @__PURE__ */ jsx(TrendingUp, { className: "w-3 h-3" })
|
|
249
|
+
] })
|
|
250
|
+
] }),
|
|
251
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2 my-1", children: [
|
|
252
|
+
/* @__PURE__ */ jsx("div", { className: "w-full h-9 bg-[#1A1A1E] rounded-full flex items-center p-1", children: /* @__PURE__ */ jsx("div", { className: "w-[45%] h-full bg-white text-black rounded-full flex items-center px-3 text-xs font-bold", children: "12.01" }) }),
|
|
253
|
+
/* @__PURE__ */ jsx("div", { className: "w-full h-9 bg-[#1A1A1E] rounded-full flex items-center p-1", children: /* @__PURE__ */ jsx("div", { className: "w-[78%] h-full bg-white text-black rounded-full flex items-center px-3 text-xs font-bold", children: "13.01" }) }),
|
|
254
|
+
/* @__PURE__ */ jsx("div", { className: "w-full h-9 bg-gradient-to-r from-[#2E284A] to-[#A5B4FC] rounded-full flex items-center px-3 text-xs font-bold text-white shadow-md", children: "14.01" })
|
|
255
|
+
] })
|
|
256
|
+
] });
|
|
257
|
+
case "overview-bar-scrubber-card":
|
|
258
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#FAFAFA] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
259
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
260
|
+
/* @__PURE__ */ jsx("span", { className: "text-base font-bold tracking-tight", children: "Overview" }),
|
|
261
|
+
/* @__PURE__ */ jsxs("div", { className: `px-3 py-1 rounded-xl text-xs font-semibold flex items-center gap-1 border cursor-pointer ${isDark ? "bg-white/10 border-white/15 text-white" : "bg-white border-neutral-200 text-neutral-700 shadow-xs"}`, children: [
|
|
262
|
+
/* @__PURE__ */ jsx("span", { children: "Last Month" }),
|
|
263
|
+
/* @__PURE__ */ jsx(ChevronDown, { className: "w-3 h-3 text-neutral-400" })
|
|
264
|
+
] })
|
|
265
|
+
] }),
|
|
266
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-2 my-0.5", children: [
|
|
267
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
268
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] text-neutral-400 font-semibold uppercase", children: "Avg Per month" }),
|
|
269
|
+
/* @__PURE__ */ jsxs("div", { className: "text-2xl font-black tracking-tight", children: [
|
|
270
|
+
"1,860",
|
|
271
|
+
/* @__PURE__ */ jsx("span", { className: "text-neutral-400 font-normal text-base", children: "/3K" })
|
|
272
|
+
] })
|
|
273
|
+
] }),
|
|
274
|
+
/* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 rounded-md bg-[#22C55E]/15 text-[#22C55E] text-[10px] font-bold flex items-center gap-0.5", children: "50,2% \u25B2" })
|
|
275
|
+
] }),
|
|
276
|
+
/* @__PURE__ */ jsx("div", { className: "relative w-full h-28 my-1 flex items-end justify-between px-1", children: [
|
|
277
|
+
{ month: "Apr", h: "45%" },
|
|
278
|
+
{ month: "May", h: "30%" },
|
|
279
|
+
{ month: "Jun", h: "75%" },
|
|
280
|
+
{ month: "Jul", h: "50%" },
|
|
281
|
+
{ month: "Aug", h: "85%", active: true },
|
|
282
|
+
{ month: "Sep", h: "40%" },
|
|
283
|
+
{ month: "Oct", h: "60%" },
|
|
284
|
+
{ month: "Nov", h: "70%" }
|
|
285
|
+
].map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-1 flex-1 relative", children: [
|
|
286
|
+
item.active && /* @__PURE__ */ jsxs("div", { className: "absolute -top-11 z-20 flex flex-col items-center", children: [
|
|
287
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-[#1E1E22] text-white text-[10px] font-bold px-2.5 py-1 rounded-xl shadow-xl border border-white/10 text-center", children: [
|
|
288
|
+
/* @__PURE__ */ jsx("div", { children: "August 2025" }),
|
|
289
|
+
/* @__PURE__ */ jsx("div", { className: "text-neutral-300", children: "120 pcs" })
|
|
290
|
+
] }),
|
|
291
|
+
/* @__PURE__ */ jsx("div", { className: "w-0 h-0 border-l-[4px] border-l-transparent border-r-[4px] border-r-transparent border-t-[4px] border-t-[#1E1E22]" })
|
|
292
|
+
] }),
|
|
293
|
+
/* @__PURE__ */ jsxs(
|
|
294
|
+
"div",
|
|
295
|
+
{
|
|
296
|
+
className: `w-7 rounded-2xl relative overflow-hidden flex items-start justify-center ${item.active ? "bg-[#27272A] border-2 border-white/20 shadow-md" : "bg-neutral-200/60 dark:bg-neutral-800/40"}`,
|
|
297
|
+
style: { height: item.h },
|
|
298
|
+
children: [
|
|
299
|
+
/* @__PURE__ */ jsxs("svg", { className: "absolute inset-0 w-full h-full opacity-20", viewBox: "0 0 100 100", preserveAspectRatio: "none", children: [
|
|
300
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: `stripe-${i}`, width: "16", height: "16", patternTransform: "rotate(45 0 0)", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx("line", { x1: "0", y1: "0", x2: "0", y2: "16", stroke: "#FFFFFF", strokeWidth: "8" }) }) }),
|
|
301
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#stripe-${i})` })
|
|
302
|
+
] }),
|
|
303
|
+
item.active && /* @__PURE__ */ jsx("div", { className: "w-2.5 h-2.5 rounded-full bg-white border-2 border-[#27272A] mt-1 z-10" })
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ jsx("span", { className: `text-[9px] font-bold ${item.active ? "text-black dark:text-white font-black" : "text-neutral-400"}`, children: item.month })
|
|
308
|
+
] }, i)) })
|
|
309
|
+
] });
|
|
310
|
+
case "network-telemetry-matrix":
|
|
311
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col justify-between select-none font-mono bg-[#0B0D0E] text-white rounded-[24px] border border-white/10", children: [
|
|
312
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
313
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-sans font-bold tracking-tight", children: "Network Telemetry" }),
|
|
314
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-neutral-500", children: [
|
|
315
|
+
/* @__PURE__ */ jsx(Share2, { className: "w-3.5 h-3.5 hover:text-white transition-colors cursor-pointer" }),
|
|
316
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "w-3.5 h-3.5 hover:text-white transition-colors cursor-pointer" })
|
|
317
|
+
] })
|
|
318
|
+
] }),
|
|
319
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-3 my-1", children: [
|
|
320
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
321
|
+
/* @__PURE__ */ jsx("div", { className: "text-[8px] font-bold text-neutral-500 uppercase tracking-widest", children: "Average Finality" }),
|
|
322
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1 mt-0.5", children: [
|
|
323
|
+
/* @__PURE__ */ jsx("span", { className: "text-2xl font-black font-sans", children: "1.8s" }),
|
|
324
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-bold text-[#22C55E] flex items-center gap-0.5", children: "\u2191 14.6%" })
|
|
325
|
+
] })
|
|
326
|
+
] }),
|
|
327
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
328
|
+
/* @__PURE__ */ jsx("div", { className: "text-[8px] font-bold text-neutral-500 uppercase tracking-widest", children: "Intents Finalized" }),
|
|
329
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1 mt-0.5", children: [
|
|
330
|
+
/* @__PURE__ */ jsx("span", { className: "text-2xl font-black font-sans", children: "312,134" }),
|
|
331
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-bold text-[#22C55E] flex items-center gap-0.5", children: "\u2191 11.5%" })
|
|
332
|
+
] })
|
|
333
|
+
] })
|
|
334
|
+
] }),
|
|
335
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
336
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-[8px] font-bold text-neutral-500 tracking-wider", children: [
|
|
337
|
+
/* @__PURE__ */ jsx("span", { children: "AUGUST / TESTNET V0" }),
|
|
338
|
+
/* @__PURE__ */ jsx("span", { children: "12,430 INTENTS" })
|
|
339
|
+
] }),
|
|
340
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-16 gap-0.5 h-6", children: Array.from({ length: 48 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
341
|
+
"div",
|
|
342
|
+
{
|
|
343
|
+
className: `w-full h-full rounded-[1px] ${[3, 7, 12, 18, 22, 29, 34, 41, 45].includes(i) ? "bg-[#22C55E]" : "bg-[#142319]"}`
|
|
344
|
+
},
|
|
345
|
+
i
|
|
346
|
+
)) })
|
|
347
|
+
] }),
|
|
348
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
349
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-[8px] font-bold text-neutral-500 tracking-wider", children: [
|
|
350
|
+
/* @__PURE__ */ jsx("span", { children: "SEPTEMBER / V1 SEQUENCER" }),
|
|
351
|
+
/* @__PURE__ */ jsx("span", { children: "18,916 INTENTS" })
|
|
352
|
+
] }),
|
|
353
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-16 gap-0.5 h-6", children: Array.from({ length: 48 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
354
|
+
"div",
|
|
355
|
+
{
|
|
356
|
+
className: `w-full h-full rounded-[1px] ${[2, 6, 11, 15, 24, 31, 38, 43, 47].includes(i) ? "bg-[#22C55E]" : "bg-[#142319]"}`
|
|
357
|
+
},
|
|
358
|
+
i
|
|
359
|
+
)) })
|
|
360
|
+
] })
|
|
361
|
+
] });
|
|
362
|
+
case "progress-indicator-piano":
|
|
363
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col justify-between select-none font-sans bg-[#0E0E10] text-white rounded-[24px] border border-white/10", children: [
|
|
364
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
365
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-neutral-300", children: "Progress Indicator" }),
|
|
366
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "w-4 h-4 text-neutral-500 cursor-pointer" })
|
|
367
|
+
] }),
|
|
368
|
+
/* @__PURE__ */ jsx("div", { className: "text-[11px] text-neutral-400 font-medium my-0.5", children: "You are on track to finish the goal three days early" }),
|
|
369
|
+
/* @__PURE__ */ jsx("div", { className: "w-full h-px bg-white/10 my-1" }),
|
|
370
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-2 my-1", children: [
|
|
371
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-black tracking-tight", children: "66%" }),
|
|
372
|
+
/* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 rounded-full bg-white/10 text-white text-[10px] font-bold border border-white/15 flex items-center gap-1", children: /* @__PURE__ */ jsx("span", { children: "\u2197 71 avg" }) }),
|
|
373
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-neutral-500 font-medium", children: "vs. the last period" })
|
|
374
|
+
] }),
|
|
375
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 h-12 w-full mt-2", children: Array.from({ length: 28 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
376
|
+
"div",
|
|
377
|
+
{
|
|
378
|
+
className: `flex-1 h-full rounded-xs transition-colors ${i < 18 ? "bg-white shadow-[0_0_8px_rgba(255,255,255,0.4)]" : "bg-[#26262B]"}`
|
|
379
|
+
},
|
|
380
|
+
i
|
|
381
|
+
)) })
|
|
382
|
+
] });
|
|
383
|
+
case "server-performance-step-bars":
|
|
384
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col justify-between select-none font-sans bg-[#0E0E10] text-white rounded-[24px] border border-white/10", children: [
|
|
385
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
386
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-neutral-400", children: "Server Performance Metrics" }),
|
|
387
|
+
/* @__PURE__ */ jsx(ArrowUpRight, { className: "w-4 h-4 text-neutral-400" })
|
|
388
|
+
] }),
|
|
389
|
+
/* @__PURE__ */ jsx("div", { className: "text-4xl font-black tracking-tight my-1", children: "+45%" }),
|
|
390
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-end justify-between gap-1.5 h-20 mt-2 px-1", children: [15, 22, 30, 45, 58, 72, 90].map((h, i) => /* @__PURE__ */ jsx("div", { className: "flex-1 bg-[#222226] rounded-t-sm relative overflow-hidden flex flex-col justify-end", style: { height: `${h}%` }, children: /* @__PURE__ */ jsx("div", { className: "w-full h-1 bg-white" }) }, i)) })
|
|
391
|
+
] });
|
|
392
|
+
case "credit-score-barcode-meter":
|
|
393
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-[#FAFAFA] text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
394
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
395
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
396
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-bold tracking-tight", children: "Credit Score" }),
|
|
397
|
+
/* @__PURE__ */ jsx("div", { className: "text-[11px] text-neutral-400 font-medium", children: "Your current credit rating." })
|
|
398
|
+
] }),
|
|
399
|
+
/* @__PURE__ */ jsxs("div", { className: `px-3 py-1 rounded-xl text-xs font-semibold flex items-center gap-1 border cursor-pointer ${isDark ? "bg-white/10 border-white/15 text-white" : "bg-white border-neutral-200 text-neutral-700 shadow-xs"}`, children: [
|
|
400
|
+
/* @__PURE__ */ jsx("span", { children: "Weekly" }),
|
|
401
|
+
/* @__PURE__ */ jsx(ChevronDown, { className: "w-3 h-3 text-neutral-400" })
|
|
402
|
+
] })
|
|
403
|
+
] }),
|
|
404
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-2 my-1", children: [
|
|
405
|
+
/* @__PURE__ */ jsxs("span", { className: "text-4xl font-black tracking-tight", children: [
|
|
406
|
+
"88",
|
|
407
|
+
/* @__PURE__ */ jsx("span", { className: "text-neutral-400 font-normal text-2xl", children: "/100" })
|
|
408
|
+
] }),
|
|
409
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] font-bold text-[#22C55E]", children: "\u25B2 13.6%" }),
|
|
410
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] text-neutral-400 font-medium", children: "vs last month" })
|
|
411
|
+
] }),
|
|
412
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between gap-1 h-9 w-full mt-2", children: Array.from({ length: 42 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
413
|
+
"div",
|
|
414
|
+
{
|
|
415
|
+
className: `w-1 h-full rounded-full ${i < 36 ? "bg-[#22C55E]" : isDark ? "bg-white/10" : "bg-neutral-200"}`
|
|
416
|
+
},
|
|
417
|
+
i
|
|
418
|
+
)) })
|
|
419
|
+
] });
|
|
420
|
+
case "views-hourly-wave-chart":
|
|
421
|
+
return /* @__PURE__ */ jsxs("div", { className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] border transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border-white/10" : "bg-white text-neutral-900 border-neutral-200 shadow-sm"}`, children: [
|
|
422
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
423
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
424
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-bold tracking-tight", children: "Views" }),
|
|
425
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1.5 mt-0.5", children: [
|
|
426
|
+
/* @__PURE__ */ jsx("span", { className: "text-3xl font-black tracking-tight", children: "12.7K" }),
|
|
427
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-bold text-[#22C55E]", children: "\u2197 2.6%" }),
|
|
428
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] text-neutral-400 font-bold uppercase", children: "VS PREV. DAY" })
|
|
429
|
+
] })
|
|
430
|
+
] }),
|
|
431
|
+
/* @__PURE__ */ jsx("div", { className: `flex items-center p-0.5 rounded-xl border ${isDark ? "bg-white/5 border-white/10" : "bg-neutral-100 border-neutral-200"}`, children: ["Day", "Week", "Month"].map((p) => /* @__PURE__ */ jsx(
|
|
432
|
+
"button",
|
|
433
|
+
{
|
|
434
|
+
onClick: (e) => {
|
|
435
|
+
e.stopPropagation();
|
|
436
|
+
triggerHaptic("light");
|
|
437
|
+
setViewsRange(p);
|
|
438
|
+
},
|
|
439
|
+
className: `px-2.5 py-1 text-[10px] font-bold rounded-lg transition-colors cursor-pointer border-0 ${viewsRange === p ? isDark ? "bg-white text-black" : "bg-white text-black shadow-xs" : "text-neutral-400 hover:text-white"}`,
|
|
440
|
+
children: p
|
|
441
|
+
},
|
|
442
|
+
p
|
|
443
|
+
)) })
|
|
444
|
+
] }),
|
|
445
|
+
/* @__PURE__ */ jsx("div", { className: "relative w-full h-20 my-1", children: /* @__PURE__ */ jsxs("svg", { className: "w-full h-full overflow-visible", preserveAspectRatio: "none", viewBox: "0 0 100 40", children: [
|
|
446
|
+
/* @__PURE__ */ jsx("line", { x1: "0", y1: "20", x2: "100", y2: "20", stroke: "#F59E0B", strokeWidth: "1", strokeDasharray: "3 3" }),
|
|
447
|
+
/* @__PURE__ */ jsx("text", { x: "92", y: "18", fill: "#F59E0B", fontSize: "4", fontWeight: "bold", children: "AVG" }),
|
|
448
|
+
/* @__PURE__ */ jsx("path", { d: "M0,25 Q15,30 25,12 T50,15 T75,18 T100,28 L100,40 L0,40 Z", fill: "url(#blue-wave-grad)", opacity: "0.25" }),
|
|
449
|
+
/* @__PURE__ */ jsx(
|
|
450
|
+
motion.path,
|
|
451
|
+
{
|
|
452
|
+
d: "M0,25 Q15,30 25,12 T50,15 T75,18 T100,28",
|
|
453
|
+
fill: "none",
|
|
454
|
+
stroke: "#3B82F6",
|
|
455
|
+
strokeWidth: "2.5",
|
|
456
|
+
strokeLinecap: "round",
|
|
457
|
+
initial: { pathLength: 0 },
|
|
458
|
+
animate: { pathLength: 1 },
|
|
459
|
+
transition: { duration: 0.8 }
|
|
460
|
+
}
|
|
461
|
+
),
|
|
462
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "blue-wave-grad", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
463
|
+
/* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: "#3B82F6", stopOpacity: "0.6" }),
|
|
464
|
+
/* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: "#3B82F6", stopOpacity: "0.0" })
|
|
465
|
+
] }) })
|
|
466
|
+
] }) }),
|
|
467
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-[9px] font-bold text-neutral-400 uppercase px-1", children: [
|
|
468
|
+
/* @__PURE__ */ jsx("span", { children: "12 AM" }),
|
|
469
|
+
/* @__PURE__ */ jsx("span", { children: "4 AM" }),
|
|
470
|
+
/* @__PURE__ */ jsx("span", { children: "8 AM" }),
|
|
471
|
+
/* @__PURE__ */ jsx("span", { children: "12 PM" }),
|
|
472
|
+
/* @__PURE__ */ jsx("span", { children: "4 PM" }),
|
|
473
|
+
/* @__PURE__ */ jsx("span", { children: "8 PM" })
|
|
474
|
+
] })
|
|
475
|
+
] });
|
|
476
|
+
case "timer-preparation-segmented":
|
|
477
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col justify-between select-none font-sans bg-[#12141A] text-white rounded-[24px]", children: [
|
|
478
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
479
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
480
|
+
/* @__PURE__ */ jsx("div", { className: "text-4xl font-black tracking-tight leading-none font-sans", children: "25:04" }),
|
|
481
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs font-semibold text-neutral-400 mt-1", children: "Left for preparation" })
|
|
482
|
+
] }),
|
|
483
|
+
/* @__PURE__ */ jsx("div", { className: "w-8 h-8 rounded-full bg-[#1A3660] text-[#3B82F6] flex items-center justify-center border border-[#2563EB]/30", children: /* @__PURE__ */ jsx(Check, { className: "w-4 h-4 stroke-[3]" }) })
|
|
484
|
+
] }),
|
|
485
|
+
/* @__PURE__ */ jsxs("div", { className: "relative pt-6", children: [
|
|
486
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute top-0 right-3 transform -translate-y-full flex flex-col items-center", children: [
|
|
487
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-[#2563EB] text-white text-[11px] font-bold px-3 py-1 rounded-full shadow-lg flex items-center gap-1", children: [
|
|
488
|
+
/* @__PURE__ */ jsx("span", { className: "w-3.5 h-3.5 rounded-full bg-white text-[#2563EB] text-[9px] font-black flex items-center justify-center", children: "1" }),
|
|
489
|
+
/* @__PURE__ */ jsx("span", { children: "Preparation" })
|
|
490
|
+
] }),
|
|
491
|
+
/* @__PURE__ */ jsx("div", { className: "w-0 h-0 border-l-[5px] border-l-transparent border-r-[5px] border-r-transparent border-t-[5px] border-t-[#2563EB]" })
|
|
492
|
+
] }),
|
|
493
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-full h-11 bg-[#1A2333] rounded-xl p-1 flex items-center justify-between gap-1 overflow-hidden", children: [
|
|
494
|
+
[1, 2, 3].map((seg) => /* @__PURE__ */ jsx("div", { className: "flex-1 h-full bg-[#121B2B] rounded-lg" }, seg)),
|
|
495
|
+
/* @__PURE__ */ jsx("div", { className: "relative flex-1 h-full bg-[#2563EB] rounded-lg overflow-hidden flex items-center justify-center", children: /* @__PURE__ */ jsxs("svg", { className: "absolute inset-0 w-full h-full opacity-30", viewBox: "0 0 100 100", preserveAspectRatio: "none", children: [
|
|
496
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: "stripes", width: "20", height: "20", patternTransform: "rotate(45 0 0)", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx("line", { x1: "0", y1: "0", x2: "0", y2: "20", stroke: "#FFFFFF", strokeWidth: "10" }) }) }),
|
|
497
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: "url(#stripes)" })
|
|
498
|
+
] }) }),
|
|
499
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-0 bottom-0 right-10 w-0.5 bg-white shadow-[0_0_8px_rgba(255,255,255,0.8)] z-10" })
|
|
500
|
+
] })
|
|
501
|
+
] })
|
|
502
|
+
] });
|
|
503
|
+
case "noise-decibel-level":
|
|
504
|
+
return /* @__PURE__ */ jsxs(
|
|
505
|
+
"div",
|
|
506
|
+
{
|
|
507
|
+
onClick: (e) => {
|
|
508
|
+
e.stopPropagation();
|
|
509
|
+
triggerHaptic("light");
|
|
510
|
+
setDecibelLevel(decibelLevel === 40 ? 60 : 40);
|
|
511
|
+
},
|
|
512
|
+
className: `w-full h-full p-4 flex flex-col justify-between select-none font-sans rounded-[24px] cursor-pointer transition-colors duration-300 ${isDark ? "bg-[#18181A] text-white border border-white/10" : "bg-[#EAEBED] text-neutral-900"}`,
|
|
513
|
+
children: [
|
|
514
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
515
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-neutral-400", children: "Current noise level" }),
|
|
516
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-end gap-1 h-4", children: [
|
|
517
|
+
/* @__PURE__ */ jsx("div", { className: `w-1 rounded-full ${decibelLevel === 40 ? "h-2 bg-[#22C55E]" : "h-2 bg-[#EAB308]"}` }),
|
|
518
|
+
/* @__PURE__ */ jsx("div", { className: `w-1 rounded-full ${decibelLevel === 40 ? "h-3 bg-[#22C55E]" : "h-3 bg-[#EAB308]"}` }),
|
|
519
|
+
/* @__PURE__ */ jsx("div", { className: `w-1 rounded-full ${decibelLevel === 40 ? "h-4 bg-[#22C55E]" : "h-4 bg-[#EAB308]"}` })
|
|
520
|
+
] })
|
|
521
|
+
] }),
|
|
522
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1 my-1", children: [
|
|
523
|
+
/* @__PURE__ */ jsx("span", { className: "text-5xl font-black tracking-tight leading-none font-sans", children: decibelLevel }),
|
|
524
|
+
/* @__PURE__ */ jsx("span", { className: "text-base font-bold text-neutral-400", children: "dB" })
|
|
525
|
+
] }),
|
|
526
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-[11px] font-semibold text-neutral-400 px-0.5 mb-1", children: [
|
|
527
|
+
/* @__PURE__ */ jsx("span", { children: "Low" }),
|
|
528
|
+
/* @__PURE__ */ jsx("span", { children: "High" })
|
|
529
|
+
] }),
|
|
530
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
531
|
+
/* @__PURE__ */ jsxs("div", { className: `relative flex-1 h-12 rounded-2xl flex items-center justify-start px-4 overflow-hidden ${decibelLevel === 40 ? "bg-[#22C55E] text-white shadow-md" : "bg-[#EAB308] text-white shadow-md"}`, children: [
|
|
532
|
+
/* @__PURE__ */ jsxs("svg", { className: "absolute inset-0 w-full h-full opacity-25", viewBox: "0 0 100 100", preserveAspectRatio: "none", children: [
|
|
533
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: "db-stripes", width: "16", height: "16", patternTransform: "rotate(45 0 0)", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx("line", { x1: "0", y1: "0", x2: "0", y2: "16", stroke: "#FFFFFF", strokeWidth: "8" }) }) }),
|
|
534
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: "url(#db-stripes)" })
|
|
535
|
+
] }),
|
|
536
|
+
/* @__PURE__ */ jsx("span", { className: "relative z-10 text-base font-black font-sans", children: decibelLevel })
|
|
537
|
+
] }),
|
|
538
|
+
/* @__PURE__ */ jsx("div", { className: "w-1 h-8 bg-neutral-400/40 rounded-full" }),
|
|
539
|
+
/* @__PURE__ */ jsx("div", { className: `flex-1 h-12 rounded-2xl flex items-center justify-end px-4 font-black text-base font-sans ${isDark ? "bg-white/10 text-neutral-400" : "bg-neutral-300/80 text-neutral-500"}`, children: "120" })
|
|
540
|
+
] })
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
);
|
|
544
|
+
// --- MONOCHROMATIC COMPONENTS ---
|
|
545
|
+
case "mono-stock":
|
|
546
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
547
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
|
|
548
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
549
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 font-bold text-[10px] tracking-wider uppercase opacity-60", children: [
|
|
550
|
+
/* @__PURE__ */ jsx("span", { children: "AAPL" }),
|
|
551
|
+
/* @__PURE__ */ jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-white animate-pulse" })
|
|
552
|
+
] }),
|
|
553
|
+
/* @__PURE__ */ jsx("div", { className: "text-2xl font-black tracking-tight mt-0.5", children: "$182.40" }),
|
|
554
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[10px] font-bold opacity-80 mt-0.5", children: [
|
|
555
|
+
/* @__PURE__ */ jsx(TrendingUp, { className: "w-3 h-3" }),
|
|
556
|
+
/* @__PURE__ */ jsx("span", { children: "+$4.15 (+2.33%)" })
|
|
557
|
+
] })
|
|
558
|
+
] }),
|
|
559
|
+
/* @__PURE__ */ jsx("div", { className: `flex items-center p-0.5 rounded-full border ${isDark ? "bg-neutral-900 border-white/10" : "bg-neutral-100 border-black/10"}`, children: ["1D", "1W", "1M", "1Y"].map((r) => /* @__PURE__ */ jsx(
|
|
560
|
+
"button",
|
|
561
|
+
{
|
|
562
|
+
onClick: (e) => {
|
|
563
|
+
e.stopPropagation();
|
|
564
|
+
triggerHaptic("light");
|
|
565
|
+
setStockRange(r);
|
|
566
|
+
},
|
|
567
|
+
className: `px-2 py-0.5 text-[9px] font-bold rounded-full transition-colors cursor-pointer border-0 ${stockRange === r ? isDark ? "bg-white text-black" : "bg-black text-white" : isDark ? "text-neutral-400 hover:text-white" : "text-neutral-600 hover:text-black"}`,
|
|
568
|
+
children: r
|
|
569
|
+
},
|
|
570
|
+
r
|
|
571
|
+
)) })
|
|
572
|
+
] }),
|
|
573
|
+
/* @__PURE__ */ jsx("div", { className: "relative w-full h-16 mt-2", children: /* @__PURE__ */ jsxs("svg", { className: "w-full h-full overflow-visible", preserveAspectRatio: "none", viewBox: "0 0 100 40", children: [
|
|
574
|
+
/* @__PURE__ */ jsx("path", { d: "M0,30 Q15,10 30,25 T60,15 T90,5 L100,2 L100,40 L0,40 Z", fill: isDark ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.04)" }),
|
|
575
|
+
/* @__PURE__ */ jsx(
|
|
576
|
+
motion.path,
|
|
577
|
+
{
|
|
578
|
+
d: "M0,30 Q15,10 30,25 T60,15 T90,5 L100,2",
|
|
579
|
+
fill: "none",
|
|
580
|
+
stroke: isDark ? "#FFFFFF" : "#000000",
|
|
581
|
+
strokeWidth: "2.5",
|
|
582
|
+
strokeLinecap: "round",
|
|
583
|
+
initial: { pathLength: 0 },
|
|
584
|
+
animate: { pathLength: 1 },
|
|
585
|
+
transition: { duration: 0.8 }
|
|
586
|
+
}
|
|
587
|
+
),
|
|
588
|
+
/* @__PURE__ */ jsx("circle", { cx: "100", cy: "2", r: "3", fill: isDark ? "#FFFFFF" : "#000000" })
|
|
589
|
+
] }) })
|
|
590
|
+
] });
|
|
591
|
+
case "mono-revenue":
|
|
592
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
593
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
594
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
595
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] font-bold opacity-50 uppercase tracking-wider", children: "Revenue Stream" }),
|
|
596
|
+
/* @__PURE__ */ jsx("div", { className: "text-2xl font-black mt-0.5", children: "$94,820.00" })
|
|
597
|
+
] }),
|
|
598
|
+
/* @__PURE__ */ jsx("div", { className: `p-2 rounded-xl border ${isDark ? "bg-white/5 border-white/10 text-white" : "bg-black/5 border-black/10 text-black"}`, children: /* @__PURE__ */ jsx(Zap, { className: "w-4 h-4" }) })
|
|
599
|
+
] }),
|
|
600
|
+
/* @__PURE__ */ jsx("div", { className: "relative w-full h-16 mt-2", children: /* @__PURE__ */ jsxs("svg", { className: "w-full h-full overflow-visible", preserveAspectRatio: "none", viewBox: "0 0 100 40", children: [
|
|
601
|
+
/* @__PURE__ */ jsx("path", { d: "M0,35 Q20,10 40,20 T80,5 L100,12 L100,40 L0,40 Z", fill: isDark ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.04)" }),
|
|
602
|
+
/* @__PURE__ */ jsx(
|
|
603
|
+
motion.path,
|
|
604
|
+
{
|
|
605
|
+
d: "M0,35 Q20,10 40,20 T80,5 L100,12",
|
|
606
|
+
fill: "none",
|
|
607
|
+
stroke: isDark ? "#FFFFFF" : "#000000",
|
|
608
|
+
strokeWidth: "2.5",
|
|
609
|
+
strokeLinecap: "round",
|
|
610
|
+
initial: { pathLength: 0 },
|
|
611
|
+
animate: { pathLength: 1 },
|
|
612
|
+
transition: { duration: 0.8 }
|
|
613
|
+
}
|
|
614
|
+
)
|
|
615
|
+
] }) })
|
|
616
|
+
] });
|
|
617
|
+
case "mono-credit":
|
|
618
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col items-center justify-center text-center select-none font-sans", children: [
|
|
619
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-24 h-24 flex items-center justify-center mb-1", children: [
|
|
620
|
+
/* @__PURE__ */ jsxs("svg", { className: "w-full h-full transform -rotate-90", viewBox: "0 0 36 36", children: [
|
|
621
|
+
/* @__PURE__ */ jsx("path", { className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "3.5", stroke: "currentColor", fill: "none", d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" }),
|
|
622
|
+
/* @__PURE__ */ jsx(
|
|
623
|
+
motion.path,
|
|
624
|
+
{
|
|
625
|
+
className: isDark ? "text-white" : "text-black",
|
|
626
|
+
strokeWidth: "3.5",
|
|
627
|
+
strokeDasharray: "78, 100",
|
|
628
|
+
strokeLinecap: "round",
|
|
629
|
+
stroke: "currentColor",
|
|
630
|
+
fill: "none",
|
|
631
|
+
d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831",
|
|
632
|
+
initial: { strokeDasharray: "0, 100" },
|
|
633
|
+
animate: { strokeDasharray: "78, 100" },
|
|
634
|
+
transition: { duration: 0.8 }
|
|
635
|
+
}
|
|
636
|
+
)
|
|
637
|
+
] }),
|
|
638
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
639
|
+
/* @__PURE__ */ jsx("span", { className: `text-xl font-black ${isDark ? "text-white" : "text-black"}`, children: "785" }),
|
|
640
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold opacity-60 uppercase", children: "Score" })
|
|
641
|
+
] })
|
|
642
|
+
] }),
|
|
643
|
+
/* @__PURE__ */ jsx("span", { className: `text-[9px] font-bold px-2 py-0.5 rounded-full border ${isDark ? "bg-white/10 text-white border-white/20" : "bg-black/10 text-black border-black/20"}`, children: "Excellent Tier" })
|
|
644
|
+
] });
|
|
645
|
+
case "mono-wallet":
|
|
646
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
647
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
648
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Wallet Balance" }),
|
|
649
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "$24,500.00" })
|
|
650
|
+
] }),
|
|
651
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2 my-1", children: [
|
|
652
|
+
/* @__PURE__ */ jsxs("div", { className: `p-2 rounded-xl border ${isDark ? "bg-white/[0.03] border-white/10" : "bg-black/[0.03] border-black/10"}`, children: [
|
|
653
|
+
/* @__PURE__ */ jsx("div", { className: "text-[9px] font-medium opacity-50", children: "Inflow" }),
|
|
654
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-black", children: "+$8,240" })
|
|
655
|
+
] }),
|
|
656
|
+
/* @__PURE__ */ jsxs("div", { className: `p-2 rounded-xl border ${isDark ? "bg-white/[0.03] border-white/10" : "bg-black/[0.03] border-black/10"}`, children: [
|
|
657
|
+
/* @__PURE__ */ jsx("div", { className: "text-[9px] font-medium opacity-50", children: "Outflow" }),
|
|
658
|
+
/* @__PURE__ */ jsx("div", { className: "text-base font-black", children: "-$2,150" })
|
|
659
|
+
] })
|
|
660
|
+
] }),
|
|
661
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] opacity-60", children: "Auto-save enabled \xB7 4 cards linked" })
|
|
662
|
+
] });
|
|
663
|
+
case "mono-savings":
|
|
664
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
665
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
666
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Savings Goal" }),
|
|
667
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "$12,400" })
|
|
668
|
+
] }),
|
|
669
|
+
/* @__PURE__ */ jsxs("div", { className: "my-2", children: [
|
|
670
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] opacity-60", children: "Target: New House ($15,000)" }),
|
|
671
|
+
/* @__PURE__ */ jsx("div", { className: `w-full h-2 rounded-full mt-1.5 overflow-hidden ${isDark ? "bg-neutral-800" : "bg-neutral-200"}`, children: /* @__PURE__ */ jsx(motion.div, { initial: { width: 0 }, animate: { width: "82%" }, transition: { duration: 0.7 }, className: `h-full rounded-full ${isDark ? "bg-white" : "bg-black"}` }) })
|
|
672
|
+
] }),
|
|
673
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] font-medium opacity-60", children: "+ $800 auto-deposit / mo" })
|
|
674
|
+
] });
|
|
675
|
+
case "mono-heatmap":
|
|
676
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
677
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
678
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Activity Heatmap" }),
|
|
679
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] font-mono font-bold", children: "342 Commits" })
|
|
680
|
+
] }),
|
|
681
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-7 gap-1 my-1", children: Array.from({ length: 28 }).map((_, i) => /* @__PURE__ */ jsx(
|
|
682
|
+
"div",
|
|
683
|
+
{
|
|
684
|
+
className: `w-full aspect-square rounded-xs ${i % 5 === 0 ? isDark ? "bg-white" : "bg-black" : i % 3 === 0 ? isDark ? "bg-neutral-500" : "bg-neutral-400" : isDark ? "bg-neutral-800" : "bg-neutral-200"}`
|
|
685
|
+
},
|
|
686
|
+
i
|
|
687
|
+
)) }),
|
|
688
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] opacity-50", children: "High Activity Matrix" })
|
|
689
|
+
] });
|
|
690
|
+
case "mono-activity-ring":
|
|
691
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
692
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
693
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Activity Rings" }),
|
|
694
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "3 Goals Hit" })
|
|
695
|
+
] }),
|
|
696
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-24 h-24 flex items-center justify-center mx-auto my-1", children: [
|
|
697
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "absolute inset-0 w-full h-full transform -rotate-90", children: [
|
|
698
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "42", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "4", stroke: "currentColor", fill: "none" }),
|
|
699
|
+
/* @__PURE__ */ jsx(motion.circle, { cx: "50", cy: "50", r: "42", className: isDark ? "text-white" : "text-black", strokeWidth: "4", strokeLinecap: "round", stroke: "currentColor", fill: "none", strokeDasharray: "263.8", strokeDashoffset: "52.7" })
|
|
700
|
+
] }),
|
|
701
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "absolute inset-0 w-full h-full transform -rotate-90", children: [
|
|
702
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "32", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "4", stroke: "currentColor", fill: "none" }),
|
|
703
|
+
/* @__PURE__ */ jsx(motion.circle, { cx: "50", cy: "50", r: "32", className: isDark ? "text-neutral-400" : "text-neutral-600", strokeWidth: "4", strokeLinecap: "round", stroke: "currentColor", fill: "none", strokeDasharray: "201", strokeDashoffset: "40.2" })
|
|
704
|
+
] }),
|
|
705
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "absolute inset-0 w-full h-full transform -rotate-90", children: [
|
|
706
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "22", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "4", stroke: "currentColor", fill: "none" }),
|
|
707
|
+
/* @__PURE__ */ jsx(motion.circle, { cx: "50", cy: "50", r: "22", className: isDark ? "text-neutral-600" : "text-neutral-400", strokeWidth: "4", strokeLinecap: "round", stroke: "currentColor", fill: "none", strokeDasharray: "138.2", strokeDashoffset: "27.6" })
|
|
708
|
+
] }),
|
|
709
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-black", children: "88%" })
|
|
710
|
+
] }),
|
|
711
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-around text-[10px] font-semibold opacity-70", children: [
|
|
712
|
+
/* @__PURE__ */ jsx("span", { children: "Move" }),
|
|
713
|
+
" \xB7 ",
|
|
714
|
+
/* @__PURE__ */ jsx("span", { children: "Exercise" }),
|
|
715
|
+
" \xB7 ",
|
|
716
|
+
/* @__PURE__ */ jsx("span", { children: "Stand" })
|
|
717
|
+
] })
|
|
718
|
+
] });
|
|
719
|
+
case "mono-users":
|
|
720
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
721
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
722
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Active Users (MAU)" }),
|
|
723
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "+12.4%" })
|
|
724
|
+
] }),
|
|
725
|
+
/* @__PURE__ */ jsx("div", { className: "text-3xl font-black", children: "48.2k" }),
|
|
726
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 text-[10px] opacity-70", children: [
|
|
727
|
+
/* @__PURE__ */ jsx("span", { className: `px-1.5 py-0.5 rounded font-semibold ${isDark ? "bg-white/10 text-white" : "bg-black/10 text-black"}`, children: "US 54%" }),
|
|
728
|
+
/* @__PURE__ */ jsx("span", { className: `px-1.5 py-0.5 rounded font-semibold ${isDark ? "bg-white/10 text-white" : "bg-black/10 text-black"}`, children: "EU 32%" })
|
|
729
|
+
] })
|
|
730
|
+
] });
|
|
731
|
+
case "mono-kfactor":
|
|
732
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
733
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
734
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Viral K-Factor Arc" }),
|
|
735
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "K = 1.42" })
|
|
736
|
+
] }),
|
|
737
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-24 h-24 flex items-center justify-center mx-auto my-1", children: [
|
|
738
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 36 36", className: "w-full h-full transform -rotate-90", children: [
|
|
739
|
+
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "18", r: "14", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "3.5", stroke: "currentColor", fill: "none" }),
|
|
740
|
+
/* @__PURE__ */ jsx(
|
|
741
|
+
motion.circle,
|
|
742
|
+
{
|
|
743
|
+
cx: "18",
|
|
744
|
+
cy: "18",
|
|
745
|
+
r: "14",
|
|
746
|
+
className: isDark ? "text-white" : "text-black",
|
|
747
|
+
strokeWidth: "3.5",
|
|
748
|
+
strokeLinecap: "round",
|
|
749
|
+
stroke: "currentColor",
|
|
750
|
+
fill: "none",
|
|
751
|
+
strokeDasharray: "88",
|
|
752
|
+
strokeDashoffset: "26",
|
|
753
|
+
initial: { strokeDashoffset: 88 },
|
|
754
|
+
animate: { strokeDashoffset: 26 },
|
|
755
|
+
transition: { duration: 1 }
|
|
756
|
+
}
|
|
757
|
+
)
|
|
758
|
+
] }),
|
|
759
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
760
|
+
/* @__PURE__ */ jsx("span", { className: "text-lg font-black", children: "1.42x" }),
|
|
761
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold opacity-60 uppercase", children: "Growth" })
|
|
762
|
+
] })
|
|
763
|
+
] }),
|
|
764
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] text-center opacity-60", children: "Exponential referral multiplier" })
|
|
765
|
+
] });
|
|
766
|
+
case "mono-latency":
|
|
767
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
768
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
769
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Latency P99" }),
|
|
770
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-mono font-bold", children: "1.8ms" })
|
|
771
|
+
] }),
|
|
772
|
+
/* @__PURE__ */ jsxs("div", { className: "my-1", children: [
|
|
773
|
+
/* @__PURE__ */ jsx("div", { className: "text-2xl font-black", children: "1.8s Avg" }),
|
|
774
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] opacity-50", children: "P99: 3.6s \xB7 P95: 0.4s" })
|
|
775
|
+
] }),
|
|
776
|
+
/* @__PURE__ */ jsx("div", { className: "h-10 w-full mt-1", children: /* @__PURE__ */ jsx("svg", { className: "w-full h-full overflow-visible", preserveAspectRatio: "none", viewBox: "0 0 100 30", children: /* @__PURE__ */ jsx("path", { d: "M0,20 L20,25 L40,15 L60,25 L80,10 L100,5", fill: "none", stroke: isDark ? "#FFFFFF" : "#000000", strokeWidth: "2.5", strokeLinecap: "round" }) }) })
|
|
777
|
+
] });
|
|
778
|
+
case "mono-bandwidth":
|
|
779
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
780
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
781
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Bandwidth Speed Dial" }),
|
|
782
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-mono font-bold", children: "1.2 Gbps" })
|
|
783
|
+
] }),
|
|
784
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-full h-16 flex items-center justify-center my-1", children: [
|
|
785
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 50", className: "w-full h-full overflow-visible", children: [
|
|
786
|
+
/* @__PURE__ */ jsx("path", { d: "M 10 50 A 40 40 0 0 1 90 50", fill: "none", stroke: isDark ? "#262626" : "#E5E5E5", strokeWidth: "8", strokeLinecap: "round" }),
|
|
787
|
+
/* @__PURE__ */ jsx(
|
|
788
|
+
motion.path,
|
|
789
|
+
{
|
|
790
|
+
d: "M 10 50 A 40 40 0 0 1 90 50",
|
|
791
|
+
fill: "none",
|
|
792
|
+
stroke: isDark ? "#FFFFFF" : "#000000",
|
|
793
|
+
strokeWidth: "8",
|
|
794
|
+
strokeLinecap: "round",
|
|
795
|
+
strokeDasharray: "125.6",
|
|
796
|
+
strokeDashoffset: "25",
|
|
797
|
+
initial: { strokeDashoffset: 125.6 },
|
|
798
|
+
animate: { strokeDashoffset: 25 },
|
|
799
|
+
transition: { duration: 1 }
|
|
800
|
+
}
|
|
801
|
+
)
|
|
802
|
+
] }),
|
|
803
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-1 flex flex-col items-center", children: /* @__PURE__ */ jsx("span", { className: "text-lg font-black", children: "840 Mbps" }) })
|
|
804
|
+
] }),
|
|
805
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-[10px] font-mono opacity-60", children: [
|
|
806
|
+
/* @__PURE__ */ jsx("span", { children: "Latency: 1.2ms" }),
|
|
807
|
+
/* @__PURE__ */ jsx("span", { children: "Packet Loss: 0%" })
|
|
808
|
+
] })
|
|
809
|
+
] });
|
|
810
|
+
case "mono-server":
|
|
811
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
812
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
813
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Dual Arc Server Gauge" }),
|
|
814
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "Normal" })
|
|
815
|
+
] }),
|
|
816
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-around my-1", children: [
|
|
817
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-20 h-20 flex items-center justify-center", children: [
|
|
818
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 36 36", className: "w-full h-full transform -rotate-90", children: [
|
|
819
|
+
/* @__PURE__ */ jsx("path", { className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "4", stroke: "currentColor", fill: "none", d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" }),
|
|
820
|
+
/* @__PURE__ */ jsx(
|
|
821
|
+
motion.path,
|
|
822
|
+
{
|
|
823
|
+
className: isDark ? "text-white" : "text-black",
|
|
824
|
+
strokeWidth: "4",
|
|
825
|
+
strokeDasharray: "32, 100",
|
|
826
|
+
strokeLinecap: "round",
|
|
827
|
+
stroke: "currentColor",
|
|
828
|
+
fill: "none",
|
|
829
|
+
d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831",
|
|
830
|
+
initial: { strokeDasharray: "0, 100" },
|
|
831
|
+
animate: { strokeDasharray: "32, 100" },
|
|
832
|
+
transition: { duration: 0.8 }
|
|
833
|
+
}
|
|
834
|
+
)
|
|
835
|
+
] }),
|
|
836
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
837
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-black", children: "32%" }),
|
|
838
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold opacity-60 uppercase", children: "CPU" })
|
|
839
|
+
] })
|
|
840
|
+
] }),
|
|
841
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-20 h-20 flex items-center justify-center", children: [
|
|
842
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 36 36", className: "w-full h-full transform -rotate-90", children: [
|
|
843
|
+
/* @__PURE__ */ jsx("path", { className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "4", stroke: "currentColor", fill: "none", d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" }),
|
|
844
|
+
/* @__PURE__ */ jsx(
|
|
845
|
+
motion.path,
|
|
846
|
+
{
|
|
847
|
+
className: isDark ? "text-neutral-400" : "text-neutral-600",
|
|
848
|
+
strokeWidth: "4",
|
|
849
|
+
strokeDasharray: "64, 100",
|
|
850
|
+
strokeLinecap: "round",
|
|
851
|
+
stroke: "currentColor",
|
|
852
|
+
fill: "none",
|
|
853
|
+
d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831",
|
|
854
|
+
initial: { strokeDasharray: "0, 100" },
|
|
855
|
+
animate: { strokeDasharray: "64, 100" },
|
|
856
|
+
transition: { duration: 0.8, delay: 0.1 }
|
|
857
|
+
}
|
|
858
|
+
)
|
|
859
|
+
] }),
|
|
860
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
861
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-black", children: "64%" }),
|
|
862
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-bold opacity-60 uppercase", children: "RAM" })
|
|
863
|
+
] })
|
|
864
|
+
] })
|
|
865
|
+
] }),
|
|
866
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-around text-[10px] font-mono opacity-60", children: [
|
|
867
|
+
/* @__PURE__ */ jsx("span", { children: "Nodes: 8 Active" }),
|
|
868
|
+
/* @__PURE__ */ jsx("span", { children: "Heap: 4.2 GB" })
|
|
869
|
+
] })
|
|
870
|
+
] });
|
|
871
|
+
case "mono-progress":
|
|
872
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
873
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
874
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Circular Build Ring" }),
|
|
875
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "Building..." })
|
|
876
|
+
] }),
|
|
877
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-24 h-24 flex items-center justify-center mx-auto my-1", children: [
|
|
878
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 36 36", className: "w-full h-full transform -rotate-90", children: [
|
|
879
|
+
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "18", r: "14", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "3", stroke: "currentColor", fill: "none" }),
|
|
880
|
+
/* @__PURE__ */ jsx(
|
|
881
|
+
motion.circle,
|
|
882
|
+
{
|
|
883
|
+
cx: "18",
|
|
884
|
+
cy: "18",
|
|
885
|
+
r: "14",
|
|
886
|
+
className: isDark ? "text-white" : "text-black",
|
|
887
|
+
strokeWidth: "3",
|
|
888
|
+
strokeLinecap: "round",
|
|
889
|
+
stroke: "currentColor",
|
|
890
|
+
fill: "none",
|
|
891
|
+
strokeDasharray: "88",
|
|
892
|
+
strokeDashoffset: "22",
|
|
893
|
+
initial: { strokeDashoffset: 88 },
|
|
894
|
+
animate: { strokeDashoffset: 22 },
|
|
895
|
+
transition: { duration: 1 }
|
|
896
|
+
}
|
|
897
|
+
)
|
|
898
|
+
] }),
|
|
899
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
900
|
+
/* @__PURE__ */ jsx("span", { className: "text-xl font-black", children: "75%" }),
|
|
901
|
+
/* @__PURE__ */ jsx("span", { className: "text-[8px] font-semibold opacity-60", children: "Stage 3/4" })
|
|
902
|
+
] })
|
|
903
|
+
] }),
|
|
904
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] text-center opacity-60", children: "Compiling bundle chunks..." })
|
|
905
|
+
] });
|
|
906
|
+
case "mono-radar":
|
|
907
|
+
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
908
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
909
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Incident Radar Arc" }),
|
|
910
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs font-bold flex items-center gap-1", children: [
|
|
911
|
+
/* @__PURE__ */ jsx("span", { className: `w-2 h-2 rounded-full animate-ping ${isDark ? "bg-white" : "bg-black"}` }),
|
|
912
|
+
/* @__PURE__ */ jsx("span", { children: "Scanning" })
|
|
913
|
+
] })
|
|
914
|
+
] }),
|
|
915
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-full h-16 flex items-center justify-center my-1", children: [
|
|
916
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 50", className: "w-full h-full overflow-visible", children: [
|
|
917
|
+
/* @__PURE__ */ jsx("path", { d: "M 10 50 A 40 40 0 0 1 90 50", fill: "none", stroke: isDark ? "#262626" : "#E5E5E5", strokeWidth: "6", strokeLinecap: "round" }),
|
|
918
|
+
/* @__PURE__ */ jsx(
|
|
919
|
+
motion.path,
|
|
920
|
+
{
|
|
921
|
+
d: "M 10 50 A 40 40 0 0 1 90 50",
|
|
922
|
+
fill: "none",
|
|
923
|
+
stroke: isDark ? "#FFFFFF" : "#000000",
|
|
924
|
+
strokeWidth: "6",
|
|
925
|
+
strokeLinecap: "round",
|
|
926
|
+
strokeDasharray: "125.6",
|
|
927
|
+
strokeDashoffset: "0",
|
|
928
|
+
initial: { strokeDashoffset: 125.6 },
|
|
929
|
+
animate: { strokeDashoffset: 0 },
|
|
930
|
+
transition: { duration: 1 }
|
|
931
|
+
}
|
|
932
|
+
)
|
|
933
|
+
] }),
|
|
934
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-1 flex flex-col items-center", children: /* @__PURE__ */ jsx("span", { className: "text-xs font-black", children: "Zero Criticals" }) })
|
|
935
|
+
] }),
|
|
936
|
+
/* @__PURE__ */ jsx("div", { className: "text-[10px] opacity-60 text-center", children: "Monitored 24/7 \xB7 0 Open Alerts" })
|
|
937
|
+
] });
|
|
938
|
+
case "mono-timer-arc":
|
|
939
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col items-center justify-between select-none font-sans", children: [
|
|
940
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
941
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Focus Arc Gauge" }),
|
|
942
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-mono font-bold", children: "25:00" })
|
|
943
|
+
] }),
|
|
944
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-28 h-28 flex items-center justify-center my-1", children: [
|
|
945
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "w-full h-full transform -rotate-90", children: [
|
|
946
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "40", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "8", stroke: "currentColor", fill: "none" }),
|
|
947
|
+
/* @__PURE__ */ jsx(
|
|
948
|
+
motion.circle,
|
|
949
|
+
{
|
|
950
|
+
cx: "50",
|
|
951
|
+
cy: "50",
|
|
952
|
+
r: "40",
|
|
953
|
+
className: isDark ? "text-white" : "text-black",
|
|
954
|
+
strokeWidth: "8",
|
|
955
|
+
strokeLinecap: "round",
|
|
956
|
+
stroke: "currentColor",
|
|
957
|
+
fill: "none",
|
|
958
|
+
strokeDasharray: "251.2",
|
|
959
|
+
strokeDashoffset: "62.8",
|
|
960
|
+
initial: { strokeDashoffset: 62.8 },
|
|
961
|
+
animate: { strokeDashoffset: 62.8 },
|
|
962
|
+
transition: { duration: 1.2 }
|
|
963
|
+
}
|
|
964
|
+
)
|
|
965
|
+
] }),
|
|
966
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute flex flex-col items-center", children: [
|
|
967
|
+
/* @__PURE__ */ jsx("span", { className: `text-xl font-black ${isDark ? "text-white" : "text-black"}`, children: "18:42" }),
|
|
968
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-semibold opacity-60 uppercase tracking-widest", children: "Remaining" })
|
|
969
|
+
] })
|
|
970
|
+
] }),
|
|
971
|
+
/* @__PURE__ */ jsx(
|
|
972
|
+
"button",
|
|
973
|
+
{
|
|
974
|
+
onClick: (e) => {
|
|
975
|
+
e.stopPropagation();
|
|
976
|
+
triggerHaptic("medium");
|
|
977
|
+
setTimerActive(!timerActive);
|
|
978
|
+
},
|
|
979
|
+
className: `px-4 py-1 text-xs font-bold rounded-full border-0 cursor-pointer ${isDark ? "bg-white text-black" : "bg-black text-white"}`,
|
|
980
|
+
children: timerActive ? "Pause" : "Start Focus"
|
|
981
|
+
}
|
|
982
|
+
)
|
|
983
|
+
] });
|
|
984
|
+
case "mono-timer-ring":
|
|
985
|
+
default:
|
|
986
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full p-4 flex flex-col items-center justify-between select-none font-sans", children: [
|
|
987
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
988
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold opacity-60", children: "Concentric Ring Timer" }),
|
|
989
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-bold", children: "Deep Work" })
|
|
990
|
+
] }),
|
|
991
|
+
/* @__PURE__ */ jsxs("div", { className: "relative w-28 h-28 flex items-center justify-center", children: [
|
|
992
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "absolute inset-0 w-full h-full transform -rotate-90", children: [
|
|
993
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "42", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "5", stroke: "currentColor", fill: "none" }),
|
|
994
|
+
/* @__PURE__ */ jsx(
|
|
995
|
+
motion.circle,
|
|
996
|
+
{
|
|
997
|
+
cx: "50",
|
|
998
|
+
cy: "50",
|
|
999
|
+
r: "42",
|
|
1000
|
+
className: isDark ? "text-white" : "text-black",
|
|
1001
|
+
strokeWidth: "5",
|
|
1002
|
+
strokeLinecap: "round",
|
|
1003
|
+
stroke: "currentColor",
|
|
1004
|
+
fill: "none",
|
|
1005
|
+
strokeDasharray: "263.8",
|
|
1006
|
+
strokeDashoffset: "65.9",
|
|
1007
|
+
initial: { strokeDashoffset: 263.8 },
|
|
1008
|
+
animate: { strokeDashoffset: 65.9 },
|
|
1009
|
+
transition: { duration: 1 }
|
|
1010
|
+
}
|
|
1011
|
+
)
|
|
1012
|
+
] }),
|
|
1013
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 100", className: "absolute inset-0 w-full h-full transform -rotate-90", children: [
|
|
1014
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "32", className: isDark ? "text-neutral-800" : "text-neutral-200", strokeWidth: "5", stroke: "currentColor", fill: "none" }),
|
|
1015
|
+
/* @__PURE__ */ jsx(
|
|
1016
|
+
motion.circle,
|
|
1017
|
+
{
|
|
1018
|
+
cx: "50",
|
|
1019
|
+
cy: "50",
|
|
1020
|
+
r: "32",
|
|
1021
|
+
className: isDark ? "text-neutral-400" : "text-neutral-600",
|
|
1022
|
+
strokeWidth: "5",
|
|
1023
|
+
strokeLinecap: "round",
|
|
1024
|
+
stroke: "currentColor",
|
|
1025
|
+
fill: "none",
|
|
1026
|
+
strokeDasharray: "201",
|
|
1027
|
+
strokeDashoffset: "40.2",
|
|
1028
|
+
initial: { strokeDashoffset: 201 },
|
|
1029
|
+
animate: { strokeDashoffset: 40.2 },
|
|
1030
|
+
transition: { duration: 1, delay: 0.2 }
|
|
1031
|
+
}
|
|
1032
|
+
)
|
|
1033
|
+
] }),
|
|
1034
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
1035
|
+
/* @__PURE__ */ jsx("span", { className: `text-lg font-black ${isDark ? "text-white" : "text-black"}`, children: "75%" }),
|
|
1036
|
+
/* @__PURE__ */ jsx("span", { className: "text-[9px] font-bold opacity-60", children: "Goal" })
|
|
1037
|
+
] })
|
|
1038
|
+
] }),
|
|
1039
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[10px] font-semibold opacity-70", children: [
|
|
1040
|
+
/* @__PURE__ */ jsx("span", { children: "Focus 45m" }),
|
|
1041
|
+
" \xB7 ",
|
|
1042
|
+
/* @__PURE__ */ jsx("span", { children: "Break 15m" })
|
|
1043
|
+
] })
|
|
1044
|
+
] });
|
|
1045
|
+
}
|
|
1046
|
+
};
|
|
1047
|
+
export {
|
|
1048
|
+
AnimatedMetricCard
|
|
1049
|
+
};
|