@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,352 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// .generated/catalog/components/dither-charts/DitherBook.tsx
|
|
4
|
+
import { useState, useEffect } from "react";
|
|
5
|
+
import { motion, AnimatePresence } from "framer-motion";
|
|
6
|
+
import { Settings2, X, ChevronLeft, ChevronRight } from "lucide-react";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var PAGES = [
|
|
9
|
+
{ id: "1", title: "SKETCH 01", src: "https://i.pinimg.com/736x/9a/63/20/9a632012291e49436b7695f50d8aa20e.jpg" },
|
|
10
|
+
{ id: "2", title: "SKETCH 02", src: "https://i.pinimg.com/736x/0c/e1/6e/0ce16e5cfb36927669b7421c670035e0.jpg" },
|
|
11
|
+
{ id: "3", title: "SKETCH 03", src: "https://i.pinimg.com/736x/63/16/b2/6316b20446639cd7f923882cc0d5b0a5.jpg" },
|
|
12
|
+
{ id: "4", title: "SKETCH 04", src: "https://i.pinimg.com/736x/8b/36/b9/8b36b9f128dd0a65dc260e323ac5e333.jpg" },
|
|
13
|
+
{ id: "5", title: "SKETCH 05", src: "https://i.pinimg.com/736x/10/b6/bf/10b6bfda558137d1fd3fe5089c36ad9c.jpg" },
|
|
14
|
+
{ id: "6", title: "SKETCH 06", src: "https://i.pinimg.com/736x/f9/a7/d1/f9a7d15098baeb3ea28d7232f4ac86ea.jpg" }
|
|
15
|
+
];
|
|
16
|
+
function Book({
|
|
17
|
+
pages = PAGES,
|
|
18
|
+
currentIndex,
|
|
19
|
+
isFlipping,
|
|
20
|
+
direction,
|
|
21
|
+
onFlipComplete,
|
|
22
|
+
settings,
|
|
23
|
+
isIntro,
|
|
24
|
+
onPrevPage,
|
|
25
|
+
onNextPage
|
|
26
|
+
}) {
|
|
27
|
+
const [localIndex, setLocalIndex] = useState(currentIndex);
|
|
28
|
+
const [flipState, setFlipState] = useState({ active: false, from: 0, to: 0, dir: 1 });
|
|
29
|
+
const animDuration = isIntro ? 0.14 : 0.45;
|
|
30
|
+
const animEase = isIntro ? "linear" : [0.33, 1, 0.68, 1];
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
if (currentIndex !== localIndex) {
|
|
33
|
+
setFlipState({
|
|
34
|
+
active: true,
|
|
35
|
+
from: localIndex,
|
|
36
|
+
to: currentIndex,
|
|
37
|
+
dir: direction
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}, [currentIndex, localIndex, direction]);
|
|
41
|
+
const handleAnimationComplete = () => {
|
|
42
|
+
setLocalIndex(flipState.to);
|
|
43
|
+
setFlipState({ active: false, from: flipState.to, to: flipState.to, dir: 1 });
|
|
44
|
+
if (onFlipComplete) onFlipComplete();
|
|
45
|
+
};
|
|
46
|
+
const getIndex = (index) => (index % pages.length + pages.length) % pages.length;
|
|
47
|
+
const PaperTexture = () => /* @__PURE__ */ jsx(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
className: "absolute inset-0 pointer-events-none opacity-40 mix-blend-multiply",
|
|
51
|
+
style: { backgroundImage: 'url("https://www.transparenttextures.com/patterns/cream-paper.png")' }
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
const PageContent = ({ index }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0", style: { backgroundColor: settings.paperColor } }),
|
|
56
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none", style: { padding: `${settings.padding}px` }, children: /* @__PURE__ */ jsx(
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
className: "w-full h-full bg-cover bg-center bg-no-repeat shadow-inner",
|
|
60
|
+
style: {
|
|
61
|
+
backgroundImage: `url(${pages[getIndex(index)].src})`,
|
|
62
|
+
borderRadius: `${settings.imageRadius}px`,
|
|
63
|
+
boxShadow: `0 4px ${settings.shadowIntensity}px rgba(0,0,0,0.15)`
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
) }),
|
|
67
|
+
/* @__PURE__ */ jsx(PaperTexture, {})
|
|
68
|
+
] });
|
|
69
|
+
const creaseLeft = "absolute inset-y-0 right-0 w-12 pointer-events-none mix-blend-multiply z-20";
|
|
70
|
+
const creaseRight = "absolute inset-y-0 left-0 w-12 pointer-events-none mix-blend-multiply z-20";
|
|
71
|
+
const creaseLeftStyle = {
|
|
72
|
+
background: `linear-gradient(to left, rgba(0,0,0,${settings.creaseOpacity / 100}), rgba(0,0,0,${settings.creaseOpacity / 400}), transparent)`,
|
|
73
|
+
boxShadow: `inset -4px 0 10px rgba(0,0,0,0.1)`
|
|
74
|
+
};
|
|
75
|
+
const creaseRightStyle = {
|
|
76
|
+
background: `linear-gradient(to right, rgba(0,0,0,${settings.creaseOpacity / 100}), rgba(0,0,0,${settings.creaseOpacity / 400}), transparent)`,
|
|
77
|
+
boxShadow: `inset 4px 0 10px rgba(0,0,0,0.1)`
|
|
78
|
+
};
|
|
79
|
+
const leftIndex = flipState.active ? flipState.dir === 1 ? flipState.from - 1 : flipState.to - 1 : localIndex - 1;
|
|
80
|
+
const rightIndex = flipState.active ? flipState.dir === 1 ? flipState.to : flipState.from : localIndex;
|
|
81
|
+
const frontIndex = flipState.dir === 1 ? flipState.from : flipState.to;
|
|
82
|
+
const backIndex = flipState.dir === 1 ? flipState.to - 1 : flipState.from - 1;
|
|
83
|
+
return /* @__PURE__ */ jsx("div", { className: "relative w-full max-w-lg aspect-[16/10] mx-auto perspective-[2400px] select-none", children: /* @__PURE__ */ jsxs(
|
|
84
|
+
motion.div,
|
|
85
|
+
{
|
|
86
|
+
className: "w-full h-full relative shadow-xl rounded-md",
|
|
87
|
+
initial: { rotateX: 12, rotateY: -10, rotateZ: -2, scale: 0.95 },
|
|
88
|
+
animate: { rotateX: 6, rotateY: -4, rotateZ: 0, scale: 1 },
|
|
89
|
+
transition: { duration: 1.2, ease: "easeOut" },
|
|
90
|
+
style: { transformStyle: "preserve-3d" },
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsxs(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
onClick: onPrevPage,
|
|
96
|
+
className: "absolute top-0 left-0 w-1/2 h-full overflow-hidden rounded-l-md border-y border-l border-r border-black/10 shadow-[2px_0_15px_rgba(0,0,0,0.2)] cursor-pointer group",
|
|
97
|
+
title: "Click to turn page back",
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ jsx(PageContent, { index: leftIndex }),
|
|
100
|
+
/* @__PURE__ */ jsx("div", { className: creaseLeft, style: creaseLeftStyle }),
|
|
101
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-black/0 group-hover:bg-black/5 transition-colors flex items-center justify-start pl-3", children: /* @__PURE__ */ jsx(ChevronLeft, { className: "w-5 h-5 text-black/50 opacity-0 group-hover:opacity-100 transition-opacity" }) })
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ jsxs(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
onClick: onNextPage,
|
|
109
|
+
className: "absolute top-0 right-0 w-1/2 h-full overflow-hidden rounded-r-md border-y border-r border-l border-black/10 shadow-[-2px_0_15px_rgba(0,0,0,0.2)] cursor-pointer group",
|
|
110
|
+
title: "Click to turn page forward",
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ jsx(PageContent, { index: rightIndex }),
|
|
113
|
+
/* @__PURE__ */ jsx("div", { className: creaseRight, style: creaseRightStyle }),
|
|
114
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-black/0 group-hover:bg-black/5 transition-colors flex items-center justify-end pr-3", children: /* @__PURE__ */ jsx(ChevronRight, { className: "w-5 h-5 text-black/50 opacity-0 group-hover:opacity-100 transition-opacity" }) })
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
flipState.active && /* @__PURE__ */ jsxs(
|
|
119
|
+
motion.div,
|
|
120
|
+
{
|
|
121
|
+
className: "absolute top-0 w-1/2 h-full origin-left bg-[#fcfbf9] z-30",
|
|
122
|
+
style: {
|
|
123
|
+
left: "50%",
|
|
124
|
+
transformStyle: "preserve-3d"
|
|
125
|
+
},
|
|
126
|
+
initial: { rotateY: flipState.dir === 1 ? 0 : -180 },
|
|
127
|
+
animate: { rotateY: flipState.dir === 1 ? -180 : 0 },
|
|
128
|
+
transition: { duration: animDuration, ease: animEase },
|
|
129
|
+
onAnimationComplete: handleAnimationComplete,
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 backface-hidden overflow-hidden rounded-r-md border-y border-r border-l border-black/10", style: { backfaceVisibility: "hidden" }, children: [
|
|
132
|
+
/* @__PURE__ */ jsx(PageContent, { index: frontIndex }),
|
|
133
|
+
/* @__PURE__ */ jsx("div", { className: creaseRight, style: creaseRightStyle }),
|
|
134
|
+
/* @__PURE__ */ jsx(
|
|
135
|
+
motion.div,
|
|
136
|
+
{
|
|
137
|
+
className: "absolute inset-0 bg-gradient-to-r from-transparent to-black",
|
|
138
|
+
initial: { opacity: flipState.dir === 1 ? 0 : 0.4 },
|
|
139
|
+
animate: { opacity: flipState.dir === 1 ? 0.4 : 0 },
|
|
140
|
+
transition: { duration: animDuration, ease: animEase }
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
] }),
|
|
144
|
+
/* @__PURE__ */ jsxs(
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
className: "absolute inset-0 backface-hidden overflow-hidden rounded-l-md border-y border-l border-r border-black/10",
|
|
148
|
+
style: {
|
|
149
|
+
transform: "rotateY(180deg)",
|
|
150
|
+
backfaceVisibility: "hidden"
|
|
151
|
+
},
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ jsx(PageContent, { index: backIndex }),
|
|
154
|
+
/* @__PURE__ */ jsx("div", { className: creaseLeft, style: creaseLeftStyle }),
|
|
155
|
+
/* @__PURE__ */ jsx(
|
|
156
|
+
motion.div,
|
|
157
|
+
{
|
|
158
|
+
className: "absolute inset-0 bg-gradient-to-l from-transparent to-black",
|
|
159
|
+
initial: { opacity: flipState.dir === 1 ? 0.4 : 0 },
|
|
160
|
+
animate: { opacity: flipState.dir === 1 ? 0 : 0.4 },
|
|
161
|
+
transition: { duration: animDuration, ease: animEase }
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
)
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
) });
|
|
173
|
+
}
|
|
174
|
+
function DitherBook({ theme = "dark", compact = false }) {
|
|
175
|
+
const [currentIndex, setCurrentIndex] = useState(0);
|
|
176
|
+
const [direction, setDirection] = useState(1);
|
|
177
|
+
const [isFlipping, setIsFlipping] = useState(false);
|
|
178
|
+
const [showSettings, setShowSettings] = useState(false);
|
|
179
|
+
const [introFlips, setIntroFlips] = useState(10);
|
|
180
|
+
const isIntro = introFlips > 0;
|
|
181
|
+
useEffect(() => {
|
|
182
|
+
if (introFlips > 0 && !isFlipping) {
|
|
183
|
+
const timer = setTimeout(() => {
|
|
184
|
+
setDirection(1);
|
|
185
|
+
setIsFlipping(true);
|
|
186
|
+
setCurrentIndex((i) => (i + 1) % PAGES.length);
|
|
187
|
+
setIntroFlips((f) => f - 1);
|
|
188
|
+
}, introFlips === 10 ? 300 : 70);
|
|
189
|
+
return () => clearTimeout(timer);
|
|
190
|
+
}
|
|
191
|
+
}, [introFlips, isFlipping]);
|
|
192
|
+
const [settings, setSettings] = useState({
|
|
193
|
+
padding: compact ? 6 : 10,
|
|
194
|
+
imageRadius: compact ? 8 : 20,
|
|
195
|
+
creaseOpacity: 11,
|
|
196
|
+
paperColor: "#fcfbf9",
|
|
197
|
+
shadowIntensity: compact ? 10 : 24
|
|
198
|
+
});
|
|
199
|
+
const next = () => {
|
|
200
|
+
if (!isFlipping) {
|
|
201
|
+
setDirection(1);
|
|
202
|
+
setIsFlipping(true);
|
|
203
|
+
setCurrentIndex((i) => (i + 1) % PAGES.length);
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
const prev = () => {
|
|
207
|
+
if (!isFlipping) {
|
|
208
|
+
setDirection(-1);
|
|
209
|
+
setIsFlipping(true);
|
|
210
|
+
setCurrentIndex((i) => (i - 1 + PAGES.length) % PAGES.length);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
const handleFlipComplete = () => {
|
|
214
|
+
setIsFlipping(false);
|
|
215
|
+
};
|
|
216
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col items-center justify-center relative p-1 sm:p-2 font-sans", children: [
|
|
217
|
+
/* @__PURE__ */ jsx(
|
|
218
|
+
Book,
|
|
219
|
+
{
|
|
220
|
+
pages: PAGES,
|
|
221
|
+
currentIndex,
|
|
222
|
+
isFlipping,
|
|
223
|
+
direction,
|
|
224
|
+
onFlipComplete: handleFlipComplete,
|
|
225
|
+
settings,
|
|
226
|
+
isIntro,
|
|
227
|
+
onPrevPage: prev,
|
|
228
|
+
onNextPage: next
|
|
229
|
+
}
|
|
230
|
+
),
|
|
231
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between w-full max-w-lg mt-3 px-1", children: [
|
|
232
|
+
/* @__PURE__ */ jsxs(
|
|
233
|
+
"button",
|
|
234
|
+
{
|
|
235
|
+
onClick: prev,
|
|
236
|
+
disabled: isFlipping,
|
|
237
|
+
className: `flex items-center gap-1 px-3 py-1 rounded-full text-[11px] font-medium transition-all cursor-pointer ${theme === "dark" ? "bg-white/10 hover:bg-white/20 text-white" : "bg-neutral-200 hover:bg-neutral-300 text-black"}`,
|
|
238
|
+
children: [
|
|
239
|
+
/* @__PURE__ */ jsx(ChevronLeft, { className: "w-3.5 h-3.5" }),
|
|
240
|
+
/* @__PURE__ */ jsx("span", { children: "Prev" })
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
),
|
|
244
|
+
/* @__PURE__ */ jsx("span", { className: `text-[11px] font-semibold tracking-widest uppercase ${theme === "dark" ? "text-neutral-400" : "text-neutral-600"}`, children: PAGES[currentIndex].title }),
|
|
245
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
246
|
+
/* @__PURE__ */ jsx(
|
|
247
|
+
"button",
|
|
248
|
+
{
|
|
249
|
+
onClick: () => setShowSettings(!showSettings),
|
|
250
|
+
className: `p-1.5 rounded-full transition-all cursor-pointer ${theme === "dark" ? "bg-white/10 hover:bg-white/20 text-white" : "bg-neutral-200 hover:bg-neutral-300 text-black"}`,
|
|
251
|
+
title: "Book Settings",
|
|
252
|
+
children: /* @__PURE__ */ jsx(Settings2, { className: "w-3.5 h-3.5" })
|
|
253
|
+
}
|
|
254
|
+
),
|
|
255
|
+
/* @__PURE__ */ jsxs(
|
|
256
|
+
"button",
|
|
257
|
+
{
|
|
258
|
+
onClick: next,
|
|
259
|
+
disabled: isFlipping,
|
|
260
|
+
className: `flex items-center gap-1 px-3 py-1 rounded-full text-[11px] font-medium transition-all cursor-pointer ${theme === "dark" ? "bg-white/10 hover:bg-white/20 text-white" : "bg-neutral-200 hover:bg-neutral-300 text-black"}`,
|
|
261
|
+
children: [
|
|
262
|
+
/* @__PURE__ */ jsx("span", { children: "Next" }),
|
|
263
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "w-3.5 h-3.5" })
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
)
|
|
267
|
+
] })
|
|
268
|
+
] }),
|
|
269
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: showSettings && /* @__PURE__ */ jsxs(
|
|
270
|
+
motion.div,
|
|
271
|
+
{
|
|
272
|
+
initial: { opacity: 0, scale: 0.95 },
|
|
273
|
+
animate: { opacity: 1, scale: 1 },
|
|
274
|
+
exit: { opacity: 0, scale: 0.95 },
|
|
275
|
+
className: `mt-3 w-full max-w-sm rounded-xl p-4 shadow-xl border ${theme === "dark" ? "bg-[#1e1e1e] border-white/15 text-white" : "bg-white border-neutral-200 text-black"}`,
|
|
276
|
+
children: [
|
|
277
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-3", children: [
|
|
278
|
+
/* @__PURE__ */ jsx("h4", { className: "text-[11px] font-bold uppercase tracking-wider text-neutral-400", children: "Book Controls" }),
|
|
279
|
+
/* @__PURE__ */ jsx("button", { onClick: () => setShowSettings(false), className: "text-neutral-400 hover:text-white", children: /* @__PURE__ */ jsx(X, { className: "w-3.5 h-3.5" }) })
|
|
280
|
+
] }),
|
|
281
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-3 text-[11px]", children: [
|
|
282
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
283
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between font-medium", children: [
|
|
284
|
+
/* @__PURE__ */ jsx("span", { children: "Image Padding" }),
|
|
285
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
286
|
+
settings.padding,
|
|
287
|
+
"px"
|
|
288
|
+
] })
|
|
289
|
+
] }),
|
|
290
|
+
/* @__PURE__ */ jsx(
|
|
291
|
+
"input",
|
|
292
|
+
{
|
|
293
|
+
type: "range",
|
|
294
|
+
min: "0",
|
|
295
|
+
max: "30",
|
|
296
|
+
value: settings.padding,
|
|
297
|
+
onChange: (e) => setSettings({ ...settings, padding: parseInt(e.target.value) }),
|
|
298
|
+
className: "w-full cursor-pointer accent-white"
|
|
299
|
+
}
|
|
300
|
+
)
|
|
301
|
+
] }),
|
|
302
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
303
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between font-medium", children: [
|
|
304
|
+
/* @__PURE__ */ jsx("span", { children: "Image Radius" }),
|
|
305
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
306
|
+
settings.imageRadius,
|
|
307
|
+
"px"
|
|
308
|
+
] })
|
|
309
|
+
] }),
|
|
310
|
+
/* @__PURE__ */ jsx(
|
|
311
|
+
"input",
|
|
312
|
+
{
|
|
313
|
+
type: "range",
|
|
314
|
+
min: "0",
|
|
315
|
+
max: "40",
|
|
316
|
+
value: settings.imageRadius,
|
|
317
|
+
onChange: (e) => setSettings({ ...settings, imageRadius: parseInt(e.target.value) }),
|
|
318
|
+
className: "w-full cursor-pointer accent-white"
|
|
319
|
+
}
|
|
320
|
+
)
|
|
321
|
+
] }),
|
|
322
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
323
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between font-medium", children: [
|
|
324
|
+
/* @__PURE__ */ jsx("span", { children: "Crease Opacity" }),
|
|
325
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
326
|
+
settings.creaseOpacity,
|
|
327
|
+
"%"
|
|
328
|
+
] })
|
|
329
|
+
] }),
|
|
330
|
+
/* @__PURE__ */ jsx(
|
|
331
|
+
"input",
|
|
332
|
+
{
|
|
333
|
+
type: "range",
|
|
334
|
+
min: "0",
|
|
335
|
+
max: "40",
|
|
336
|
+
value: settings.creaseOpacity,
|
|
337
|
+
onChange: (e) => setSettings({ ...settings, creaseOpacity: parseInt(e.target.value) }),
|
|
338
|
+
className: "w-full cursor-pointer accent-white"
|
|
339
|
+
}
|
|
340
|
+
)
|
|
341
|
+
] })
|
|
342
|
+
] })
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
) })
|
|
346
|
+
] });
|
|
347
|
+
}
|
|
348
|
+
export {
|
|
349
|
+
Book,
|
|
350
|
+
DitherBook,
|
|
351
|
+
PAGES
|
|
352
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DitherChartsGridProps {
|
|
3
|
+
theme: 'dark' | 'light';
|
|
4
|
+
showToast?: (message: string) => void;
|
|
5
|
+
triggerHaptic?: (type: 'success' | 'warning' | 'error' | 'light' | 'medium' | 'heavy') => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function DitherChartsGrid({ theme, showToast, triggerHaptic }: DitherChartsGridProps): React.JSX.Element;
|
|
8
|
+
export declare const SimpleCompGrid: typeof DitherChartsGrid;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
ditherChartsData
|
|
4
|
+
} from "../../../catalog-chunks/chunk-OWYADZUR.js";
|
|
5
|
+
import "../../../catalog-chunks/chunk-VMGI6CMO.js";
|
|
6
|
+
import "../../../catalog-chunks/chunk-FXF53HPE.js";
|
|
7
|
+
import {
|
|
8
|
+
StorageUsageChart
|
|
9
|
+
} from "../../../catalog-chunks/chunk-ZUQZVT7M.js";
|
|
10
|
+
import {
|
|
11
|
+
TrafficBubble
|
|
12
|
+
} from "../../../catalog-chunks/chunk-ZCRXHCGS.js";
|
|
13
|
+
import {
|
|
14
|
+
UptimeChart
|
|
15
|
+
} from "../../../catalog-chunks/chunk-7XF4PVBJ.js";
|
|
16
|
+
import {
|
|
17
|
+
DitherStackedChart
|
|
18
|
+
} from "../../../catalog-chunks/chunk-I5MYV6VF.js";
|
|
19
|
+
import {
|
|
20
|
+
RevenueLineChart
|
|
21
|
+
} from "../../../catalog-chunks/chunk-4M7HZE4Z.js";
|
|
22
|
+
import {
|
|
23
|
+
ServerGauge
|
|
24
|
+
} from "../../../catalog-chunks/chunk-KYYXENHF.js";
|
|
25
|
+
import {
|
|
26
|
+
DitherDonutChart
|
|
27
|
+
} from "../../../catalog-chunks/chunk-ZXDZMNRZ.js";
|
|
28
|
+
import {
|
|
29
|
+
DitherFunnelChart
|
|
30
|
+
} from "../../../catalog-chunks/chunk-3QX6CASP.js";
|
|
31
|
+
import {
|
|
32
|
+
DitherGrowthChart
|
|
33
|
+
} from "../../../catalog-chunks/chunk-KN7YEZTH.js";
|
|
34
|
+
import {
|
|
35
|
+
ActivityHeatmap
|
|
36
|
+
} from "../../../catalog-chunks/chunk-62CFYJEA.js";
|
|
37
|
+
import {
|
|
38
|
+
DeviceUsageChart
|
|
39
|
+
} from "../../../catalog-chunks/chunk-B64DVBSK.js";
|
|
40
|
+
import "../../../catalog-chunks/chunk-GDCQNKP7.js";
|
|
41
|
+
import {
|
|
42
|
+
IconSwap,
|
|
43
|
+
IconSwapItem
|
|
44
|
+
} from "../../../catalog-chunks/chunk-3TYA5TCG.js";
|
|
45
|
+
|
|
46
|
+
// .generated/catalog/components/dither-charts/DitherChartsGrid.tsx
|
|
47
|
+
import { useState, useCallback } from "react";
|
|
48
|
+
import { motion } from "framer-motion";
|
|
49
|
+
import { Copy, Check } from "lucide-react";
|
|
50
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
51
|
+
function DitherChartsGrid({ theme, showToast, triggerHaptic }) {
|
|
52
|
+
const [copiedId, setCopiedId] = useState(null);
|
|
53
|
+
const handleCopyCode = useCallback((item) => {
|
|
54
|
+
navigator.clipboard.writeText(item.codeSnippet).then(() => {
|
|
55
|
+
if (triggerHaptic) triggerHaptic("success");
|
|
56
|
+
setCopiedId(item.id);
|
|
57
|
+
setTimeout(() => setCopiedId(null), 2e3);
|
|
58
|
+
if (showToast) showToast(`Copied ${item.label} code!`);
|
|
59
|
+
}).catch(() => {
|
|
60
|
+
if (triggerHaptic) triggerHaptic("error");
|
|
61
|
+
if (showToast) showToast("Failed to copy code.");
|
|
62
|
+
});
|
|
63
|
+
}, [showToast, triggerHaptic]);
|
|
64
|
+
return /* @__PURE__ */ jsx("div", { className: "w-full flex flex-col gap-8 max-w-[1060px] mx-auto text-left font-sans", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5 w-full", children: ditherChartsData.map((item) => {
|
|
65
|
+
const isCopied = copiedId === item.id;
|
|
66
|
+
return /* @__PURE__ */ jsxs(
|
|
67
|
+
"div",
|
|
68
|
+
{
|
|
69
|
+
className: `relative group rounded-2xl flex flex-col items-center justify-between p-3.5 transition-all duration-300 border ${theme === "dark" ? "bg-[#181818] border-white/5 hover:bg-[#1f1f1f] shadow-[inset_0_1px_0_rgba(255,255,255,0.02)]" : "bg-white border-neutral-100 hover:shadow-[0_4px_12px_rgba(0,0,0,0.03)] hover:border-neutral-200/50"}`,
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 flex items-center justify-center w-full h-[180px] overflow-hidden rounded-xl", children: [
|
|
72
|
+
item.id === "dither-donut" && /* @__PURE__ */ jsx(DitherDonutChart, { theme, compact: true }),
|
|
73
|
+
item.id === "dither-stacked" && /* @__PURE__ */ jsx(DitherStackedChart, { theme, compact: true }),
|
|
74
|
+
item.id === "dither-growth" && /* @__PURE__ */ jsx(DitherGrowthChart, { theme, compact: true }),
|
|
75
|
+
item.id === "dither-heatmap" && /* @__PURE__ */ jsx(ActivityHeatmap, { theme, compact: true }),
|
|
76
|
+
item.id === "dither-gauge" && /* @__PURE__ */ jsx(ServerGauge, { theme, compact: true }),
|
|
77
|
+
item.id === "dither-traffic" && /* @__PURE__ */ jsx(TrafficBubble, { theme, compact: true }),
|
|
78
|
+
item.id === "dither-funnel" && /* @__PURE__ */ jsx(DitherFunnelChart, { theme, compact: true }),
|
|
79
|
+
item.id === "dither-device" && /* @__PURE__ */ jsx(DeviceUsageChart, { theme, compact: true }),
|
|
80
|
+
item.id === "dither-storage" && /* @__PURE__ */ jsx(StorageUsageChart, { theme, compact: true }),
|
|
81
|
+
item.id === "dither-revenue" && /* @__PURE__ */ jsx(RevenueLineChart, { theme, compact: true }),
|
|
82
|
+
item.id === "dither-uptime" && /* @__PURE__ */ jsx(UptimeChart, { theme, compact: true })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ jsxs("div", { className: "w-full flex items-center justify-between mt-2.5 px-1 gap-1", children: [
|
|
85
|
+
/* @__PURE__ */ jsx("span", { className: `text-[12px] font-medium truncate transition-colors ${theme === "dark" ? "text-neutral-300" : "text-neutral-700"}`, title: item.label, children: item.label }),
|
|
86
|
+
/* @__PURE__ */ jsx(
|
|
87
|
+
motion.button,
|
|
88
|
+
{
|
|
89
|
+
whileHover: { scale: 1.1 },
|
|
90
|
+
whileTap: { scale: 0.9 },
|
|
91
|
+
onClick: () => handleCopyCode(item),
|
|
92
|
+
className: `p-1.5 rounded-lg transition-all cursor-pointer border flex items-center justify-center ${isCopied ? theme === "dark" ? "bg-emerald-500/20 text-emerald-400 border-emerald-500/30" : "bg-emerald-100 text-emerald-600 border-emerald-300" : theme === "dark" ? "bg-white/[0.08] border-transparent text-neutral-300 hover:text-white hover:bg-white/[0.14]" : "bg-neutral-100/90 border-transparent text-neutral-600 hover:text-black hover:bg-neutral-200"}`,
|
|
93
|
+
title: "Copy usage example",
|
|
94
|
+
children: /* @__PURE__ */ jsx(IconSwap, { children: /* @__PURE__ */ jsx(IconSwapItem, { children: isCopied ? /* @__PURE__ */ jsx(Check, { className: "w-3.5 h-3.5 text-emerald-500 dark:text-emerald-400" }) : /* @__PURE__ */ jsx(Copy, { className: "w-3.5 h-3.5" }) }, isCopied ? "check" : "copy") })
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
] })
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
item.id
|
|
101
|
+
);
|
|
102
|
+
}) }) });
|
|
103
|
+
}
|
|
104
|
+
var SimpleCompGrid = DitherChartsGrid;
|
|
105
|
+
export {
|
|
106
|
+
DitherChartsGrid,
|
|
107
|
+
SimpleCompGrid
|
|
108
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// .generated/catalog/components/dither-charts/DitherHeatmapGrid.tsx
|
|
4
|
+
import { useEffect, useRef, useState, useMemo } from "react";
|
|
5
|
+
import { motion, AnimatePresence } from "framer-motion";
|
|
6
|
+
import { LayoutGrid } from "lucide-react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
9
|
+
var HOURS = 12;
|
|
10
|
+
function DitherHeatmapGrid({ theme = "dark", compact = false }) {
|
|
11
|
+
const [hoveredCell, setHoveredCell] = useState(null);
|
|
12
|
+
const canvasRef = useRef(null);
|
|
13
|
+
const timeRef = useRef(0);
|
|
14
|
+
const requestRef = useRef(void 0);
|
|
15
|
+
const matrixData = useMemo(() => {
|
|
16
|
+
return DAYS.map(
|
|
17
|
+
(_, d) => Array.from({ length: HOURS }, (_2, h) => Math.round(20 + Math.sin(d * 1.5 + h * 0.8) * 35 + Math.random() * 40))
|
|
18
|
+
);
|
|
19
|
+
}, []);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const draw = () => {
|
|
22
|
+
timeRef.current += 0.03;
|
|
23
|
+
const canvas = canvasRef.current;
|
|
24
|
+
if (!canvas) return;
|
|
25
|
+
const ctx = canvas.getContext("2d");
|
|
26
|
+
if (!ctx) return;
|
|
27
|
+
const dpr = Math.min(window.devicePixelRatio || 1, 2);
|
|
28
|
+
const rect = canvas.getBoundingClientRect();
|
|
29
|
+
if (canvas.width !== rect.width * dpr || canvas.height !== rect.height * dpr) {
|
|
30
|
+
canvas.width = rect.width * dpr;
|
|
31
|
+
canvas.height = rect.height * dpr;
|
|
32
|
+
}
|
|
33
|
+
ctx.save();
|
|
34
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
35
|
+
ctx.scale(dpr, dpr);
|
|
36
|
+
const w = rect.width;
|
|
37
|
+
const h = rect.height;
|
|
38
|
+
const cellW = w / HOURS;
|
|
39
|
+
const cellH = h / DAYS.length;
|
|
40
|
+
const dotCell = Math.max(3, Math.round(w / 160));
|
|
41
|
+
matrixData.forEach((row, d) => {
|
|
42
|
+
row.forEach((val, hIdx) => {
|
|
43
|
+
const x0 = hIdx * cellW;
|
|
44
|
+
const y0 = d * cellH;
|
|
45
|
+
const isHovered = hoveredCell?.day === d && hoveredCell?.hour === hIdx;
|
|
46
|
+
const intensity = val / 100;
|
|
47
|
+
for (let bx = Math.floor(x0); bx < Math.ceil(x0 + cellW - 2); bx += dotCell) {
|
|
48
|
+
for (let by = Math.floor(y0); by < Math.ceil(y0 + cellH - 2); by += dotCell) {
|
|
49
|
+
const shimmer = Math.sin(bx * 0.1 + timeRef.current * 2) * 0.1;
|
|
50
|
+
if (Math.random() < intensity + shimmer || isHovered) {
|
|
51
|
+
ctx.fillStyle = isHovered ? "#FFFFFF" : `rgba(255, 255, 255, ${Math.min(1, Math.max(0.2, intensity))})`;
|
|
52
|
+
const sz = dotCell * (isHovered ? 0.95 : 0.75);
|
|
53
|
+
ctx.fillRect(bx, by, sz, sz);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
ctx.restore();
|
|
60
|
+
requestRef.current = requestAnimationFrame(draw);
|
|
61
|
+
};
|
|
62
|
+
requestRef.current = requestAnimationFrame(draw);
|
|
63
|
+
return () => {
|
|
64
|
+
if (requestRef.current) cancelAnimationFrame(requestRef.current);
|
|
65
|
+
};
|
|
66
|
+
}, [matrixData, hoveredCell]);
|
|
67
|
+
return /* @__PURE__ */ jsx("div", { className: "w-full flex flex-col items-center gap-3 font-sans", children: /* @__PURE__ */ jsxs("div", { className: `w-full rounded-2xl p-4 flex flex-col gap-3 shadow-lg border transition-colors ${theme === "dark" ? "bg-[#181818] border-white/10 text-white" : "bg-white border-neutral-200 text-black"}`, children: [
|
|
68
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
69
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
70
|
+
/* @__PURE__ */ jsx(LayoutGrid, { className: "w-4 h-4 text-neutral-400" }),
|
|
71
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold uppercase tracking-wider text-neutral-400", children: "Dither Heatmap Grid" })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-emerald-400", children: "Peak Active" })
|
|
74
|
+
] }),
|
|
75
|
+
/* @__PURE__ */ jsxs(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: "relative h-[160px] w-full touch-none cursor-pointer",
|
|
79
|
+
onPointerMove: (e) => {
|
|
80
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
81
|
+
const x = e.clientX - rect.left;
|
|
82
|
+
const y = e.clientY - rect.top;
|
|
83
|
+
const hIdx = Math.min(Math.max(0, Math.floor(x / rect.width * HOURS)), HOURS - 1);
|
|
84
|
+
const dIdx = Math.min(Math.max(0, Math.floor(y / rect.height * DAYS.length)), DAYS.length - 1);
|
|
85
|
+
setHoveredCell({ day: dIdx, hour: hIdx });
|
|
86
|
+
},
|
|
87
|
+
onPointerLeave: () => setHoveredCell(null),
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-full pointer-events-none" }),
|
|
90
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: hoveredCell !== null && /* @__PURE__ */ jsxs(
|
|
91
|
+
motion.div,
|
|
92
|
+
{
|
|
93
|
+
initial: { opacity: 0, scale: 0.9 },
|
|
94
|
+
animate: { opacity: 1, scale: 1 },
|
|
95
|
+
exit: { opacity: 0, scale: 0.9 },
|
|
96
|
+
className: "absolute bg-neutral-900 border border-neutral-700 text-white rounded-lg px-2.5 py-1 text-xs font-semibold shadow-xl pointer-events-none transform -translate-x-1/2 -translate-y-full top-2",
|
|
97
|
+
style: { left: `${(hoveredCell.hour + 0.5) / HOURS * 100}%` },
|
|
98
|
+
children: [
|
|
99
|
+
DAYS[hoveredCell.day],
|
|
100
|
+
" @ ",
|
|
101
|
+
hoveredCell.hour * 2,
|
|
102
|
+
":00 - ",
|
|
103
|
+
matrixData[hoveredCell.day][hoveredCell.hour],
|
|
104
|
+
" ops/s"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
) })
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
] }) });
|
|
112
|
+
}
|
|
113
|
+
export {
|
|
114
|
+
DitherHeatmapGrid
|
|
115
|
+
};
|