@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.
Files changed (876) hide show
  1. package/README.md +70 -21
  2. package/bin/mova.mjs +38 -12
  3. package/dist/catalog/components/AnimatedButton.d.ts +9 -0
  4. package/dist/catalog/components/AnimatedButton.js +346 -0
  5. package/dist/catalog/components/IconSwap.d.ts +6 -0
  6. package/dist/catalog/components/IconSwap.js +9 -0
  7. package/dist/catalog/components/InViewRender.d.ts +4 -0
  8. package/dist/catalog/components/InViewRender.js +14 -0
  9. package/dist/catalog/components/PageTransitionCard.d.ts +9 -0
  10. package/dist/catalog/components/PageTransitionCard.js +110 -0
  11. package/dist/catalog/components/PageTransitionModal.d.ts +10 -0
  12. package/dist/catalog/components/PageTransitionModal.js +180 -0
  13. package/dist/catalog/components/PageTransitionOverlay.d.ts +9 -0
  14. package/dist/catalog/components/PageTransitionOverlay.js +7 -0
  15. package/dist/catalog/components/cards/CardArc5.d.ts +14 -0
  16. package/dist/catalog/components/cards/CardArc5.js +76 -0
  17. package/dist/catalog/components/cards/CardArc7.d.ts +14 -0
  18. package/dist/catalog/components/cards/CardArc7.js +77 -0
  19. package/dist/catalog/components/cards/CardCarousel.d.ts +12 -0
  20. package/dist/catalog/components/cards/CardCarousel.js +139 -0
  21. package/dist/catalog/components/cards/CardCascadeStagger.d.ts +9 -0
  22. package/dist/catalog/components/cards/CardCascadeStagger.js +64 -0
  23. package/dist/catalog/components/cards/CardCornerFan.d.ts +12 -0
  24. package/dist/catalog/components/cards/CardCornerFan.js +66 -0
  25. package/dist/catalog/components/cards/CardCoverFlow.d.ts +12 -0
  26. package/dist/catalog/components/cards/CardCoverFlow.js +115 -0
  27. package/dist/catalog/components/cards/CardLinearSpread.d.ts +12 -0
  28. package/dist/catalog/components/cards/CardLinearSpread.js +62 -0
  29. package/dist/catalog/components/cards/CardLongArc5.d.ts +14 -0
  30. package/dist/catalog/components/cards/CardLongArc5.js +76 -0
  31. package/dist/catalog/components/cards/CardScatterSpread.d.ts +9 -0
  32. package/dist/catalog/components/cards/CardScatterSpread.js +69 -0
  33. package/dist/catalog/components/cards/CardStampArc.d.ts +14 -0
  34. package/dist/catalog/components/cards/CardStampArc.js +101 -0
  35. package/dist/catalog/components/cards/CardTimeMachine.d.ts +8 -0
  36. package/dist/catalog/components/cards/CardTimeMachine.js +182 -0
  37. package/dist/catalog/components/cards/CardWheelFan.d.ts +9 -0
  38. package/dist/catalog/components/cards/CardWheelFan.js +68 -0
  39. package/dist/catalog/components/cards/FocusBlur.d.ts +14 -0
  40. package/dist/catalog/components/cards/FocusBlur.js +7 -0
  41. package/dist/catalog/components/css-animations/Dock.d.ts +6 -0
  42. package/dist/catalog/components/css-animations/Dock.js +93 -0
  43. package/dist/catalog/components/css-animations/FocusBlur.d.ts +4 -0
  44. package/dist/catalog/components/css-animations/FocusBlur.js +35 -0
  45. package/dist/catalog/components/css-animations/FrequencySelector.d.ts +6 -0
  46. package/dist/catalog/components/css-animations/FrequencySelector.js +100 -0
  47. package/dist/catalog/components/css-animations/MediaBetweenText.d.ts +34 -0
  48. package/dist/catalog/components/css-animations/MediaBetweenText.js +125 -0
  49. package/dist/catalog/components/css-animations/ScrambleHover.d.ts +16 -0
  50. package/dist/catalog/components/css-animations/ScrambleHover.js +101 -0
  51. package/dist/catalog/components/css-animations/TabBar.d.ts +6 -0
  52. package/dist/catalog/components/css-animations/TabBar.js +57 -0
  53. package/dist/catalog/components/css-animations/whimsical/AppleLoaders.d.ts +9 -0
  54. package/dist/catalog/components/css-animations/whimsical/AppleLoaders.js +57 -0
  55. package/dist/catalog/components/css-animations/whimsical/Area1.d.ts +7 -0
  56. package/dist/catalog/components/css-animations/whimsical/Area1.js +56 -0
  57. package/dist/catalog/components/css-animations/whimsical/Area6.d.ts +7 -0
  58. package/dist/catalog/components/css-animations/whimsical/Area6.js +53 -0
  59. package/dist/catalog/components/css-animations/whimsical/Bookmark.d.ts +7 -0
  60. package/dist/catalog/components/css-animations/whimsical/Bookmark.js +183 -0
  61. package/dist/catalog/components/css-animations/whimsical/ConceptTrios1.d.ts +37 -0
  62. package/dist/catalog/components/css-animations/whimsical/ConceptTrios1.js +253 -0
  63. package/dist/catalog/components/css-animations/whimsical/ConceptTrios2.d.ts +37 -0
  64. package/dist/catalog/components/css-animations/whimsical/ConceptTrios2.js +237 -0
  65. package/dist/catalog/components/css-animations/whimsical/ConceptTrios3.d.ts +73 -0
  66. package/dist/catalog/components/css-animations/whimsical/ConceptTrios3.js +441 -0
  67. package/dist/catalog/components/css-animations/whimsical/Curtain.d.ts +7 -0
  68. package/dist/catalog/components/css-animations/whimsical/Curtain.js +155 -0
  69. package/dist/catalog/components/css-animations/whimsical/Kakikaki.d.ts +7 -0
  70. package/dist/catalog/components/css-animations/whimsical/Kakikaki.js +67 -0
  71. package/dist/catalog/components/css-animations/whimsical/KineticTensionCapsule.d.ts +7 -0
  72. package/dist/catalog/components/css-animations/whimsical/KineticTensionCapsule.js +82 -0
  73. package/dist/catalog/components/css-animations/whimsical/MatrixGridLoader.d.ts +5 -0
  74. package/dist/catalog/components/css-animations/whimsical/MatrixGridLoader.js +88 -0
  75. package/dist/catalog/components/css-animations/whimsical/RedesignedPhysicsTrios.d.ts +103 -0
  76. package/dist/catalog/components/css-animations/whimsical/RedesignedPhysicsTrios.js +607 -0
  77. package/dist/catalog/components/css-animations/whimsical/Tissue.d.ts +7 -0
  78. package/dist/catalog/components/css-animations/whimsical/Tissue.js +111 -0
  79. package/dist/catalog/components/css-animations/whimsical/Tsumiki.d.ts +8 -0
  80. package/dist/catalog/components/css-animations/whimsical/Tsumiki.js +83 -0
  81. package/dist/catalog/components/css-animations/whimsical/WhimsicalVariations.d.ts +37 -0
  82. package/dist/catalog/components/css-animations/whimsical/WhimsicalVariations.js +325 -0
  83. package/dist/catalog/components/css-animations/whimsical/YuiPhysicsExperiments.d.ts +37 -0
  84. package/dist/catalog/components/css-animations/whimsical/YuiPhysicsExperiments.js +247 -0
  85. package/dist/catalog/components/css-animations/yui-components/RedesignedUiTrios.d.ts +19 -0
  86. package/dist/catalog/components/css-animations/yui-components/RedesignedUiTrios.js +174 -0
  87. package/dist/catalog/components/css-animations/yui-components/UiKitTrios.d.ts +19 -0
  88. package/dist/catalog/components/css-animations/yui-components/UiKitTrios.js +147 -0
  89. package/dist/catalog/components/css-animations/yui-components/YuiUiKit1.d.ts +29 -0
  90. package/dist/catalog/components/css-animations/yui-components/YuiUiKit1.js +317 -0
  91. package/dist/catalog/components/css-animations/yui-components/YuiUiKit2.d.ts +34 -0
  92. package/dist/catalog/components/css-animations/yui-components/YuiUiKit2.js +356 -0
  93. package/dist/catalog/components/dither-charts/ActivityHeatmap.d.ts +5 -0
  94. package/dist/catalog/components/dither-charts/ActivityHeatmap.js +8 -0
  95. package/dist/catalog/components/dither-charts/ChartCard.d.ts +2 -0
  96. package/dist/catalog/components/dither-charts/ChartCard.js +8 -0
  97. package/dist/catalog/components/dither-charts/DeviceUsageChart.d.ts +5 -0
  98. package/dist/catalog/components/dither-charts/DeviceUsageChart.js +8 -0
  99. package/dist/catalog/components/dither-charts/DitherBarChart.d.ts +5 -0
  100. package/dist/catalog/components/dither-charts/DitherBarChart.js +148 -0
  101. package/dist/catalog/components/dither-charts/DitherBook.d.ts +23 -0
  102. package/dist/catalog/components/dither-charts/DitherBook.js +352 -0
  103. package/dist/catalog/components/dither-charts/DitherChartsGrid.d.ts +9 -0
  104. package/dist/catalog/components/dither-charts/DitherChartsGrid.js +108 -0
  105. package/dist/catalog/components/dither-charts/DitherDonutChart.d.ts +7 -0
  106. package/dist/catalog/components/dither-charts/DitherDonutChart.js +8 -0
  107. package/dist/catalog/components/dither-charts/DitherFunnelChart.d.ts +5 -0
  108. package/dist/catalog/components/dither-charts/DitherFunnelChart.js +8 -0
  109. package/dist/catalog/components/dither-charts/DitherGrowthChart.d.ts +7 -0
  110. package/dist/catalog/components/dither-charts/DitherGrowthChart.js +8 -0
  111. package/dist/catalog/components/dither-charts/DitherHeatmapGrid.d.ts +5 -0
  112. package/dist/catalog/components/dither-charts/DitherHeatmapGrid.js +115 -0
  113. package/dist/catalog/components/dither-charts/DitherRadialChart.d.ts +5 -0
  114. package/dist/catalog/components/dither-charts/DitherRadialChart.js +114 -0
  115. package/dist/catalog/components/dither-charts/DitherScatterChart.d.ts +5 -0
  116. package/dist/catalog/components/dither-charts/DitherScatterChart.js +151 -0
  117. package/dist/catalog/components/dither-charts/DitherSparklineMatrix.d.ts +5 -0
  118. package/dist/catalog/components/dither-charts/DitherSparklineMatrix.js +89 -0
  119. package/dist/catalog/components/dither-charts/DitherStackedChart.d.ts +7 -0
  120. package/dist/catalog/components/dither-charts/DitherStackedChart.js +8 -0
  121. package/dist/catalog/components/dither-charts/MembersGrowthChart.d.ts +2 -0
  122. package/dist/catalog/components/dither-charts/MembersGrowthChart.js +8 -0
  123. package/dist/catalog/components/dither-charts/PaymentsChart.d.ts +2 -0
  124. package/dist/catalog/components/dither-charts/PaymentsChart.js +8 -0
  125. package/dist/catalog/components/dither-charts/RevenueLineChart.d.ts +5 -0
  126. package/dist/catalog/components/dither-charts/RevenueLineChart.js +8 -0
  127. package/dist/catalog/components/dither-charts/ServerGauge.d.ts +5 -0
  128. package/dist/catalog/components/dither-charts/ServerGauge.js +8 -0
  129. package/dist/catalog/components/dither-charts/SimpleCompExtracted.d.ts +6 -0
  130. package/dist/catalog/components/dither-charts/SimpleCompExtracted.js +423 -0
  131. package/dist/catalog/components/dither-charts/StorageUsageChart.d.ts +5 -0
  132. package/dist/catalog/components/dither-charts/StorageUsageChart.js +8 -0
  133. package/dist/catalog/components/dither-charts/TrafficBubble.d.ts +5 -0
  134. package/dist/catalog/components/dither-charts/TrafficBubble.js +8 -0
  135. package/dist/catalog/components/dither-charts/UptimeChart.d.ts +5 -0
  136. package/dist/catalog/components/dither-charts/UptimeChart.js +8 -0
  137. package/dist/catalog/components/dither-charts/lib/ditherPatterns.d.ts +7 -0
  138. package/dist/catalog/components/dither-charts/lib/ditherPatterns.js +107 -0
  139. package/dist/catalog/components/dither-charts/lib/recharts-legend.d.ts +8 -0
  140. package/dist/catalog/components/dither-charts/lib/recharts-legend.js +40 -0
  141. package/dist/catalog/components/dither-charts/lib/recharts-tooltip.d.ts +10 -0
  142. package/dist/catalog/components/dither-charts/lib/recharts-tooltip.js +7 -0
  143. package/dist/catalog/components/dither-charts/lib/utils.d.ts +3 -0
  144. package/dist/catalog/components/dither-charts/lib/utils.js +7 -0
  145. package/dist/catalog/components/forms/AnimatedFormElement.d.ts +8 -0
  146. package/dist/catalog/components/forms/AnimatedFormElement.js +412 -0
  147. package/dist/catalog/components/metrics/AnimatedMetricCard.d.ts +8 -0
  148. package/dist/catalog/components/metrics/AnimatedMetricCard.js +1049 -0
  149. package/dist/catalog/components/metrics/Budget.d.ts +1 -0
  150. package/dist/catalog/components/metrics/Budget.js +35 -0
  151. package/dist/catalog/components/metrics/CacheStatsCard.d.ts +1 -0
  152. package/dist/catalog/components/metrics/CacheStatsCard.js +88 -0
  153. package/dist/catalog/components/metrics/CourseProgressCard.d.ts +1 -0
  154. package/dist/catalog/components/metrics/CourseProgressCard.js +86 -0
  155. package/dist/catalog/components/metrics/CreditScoreCards.d.ts +1 -0
  156. package/dist/catalog/components/metrics/CreditScoreCards.js +139 -0
  157. package/dist/catalog/components/metrics/FeedbackCard.d.ts +1 -0
  158. package/dist/catalog/components/metrics/FeedbackCard.js +59 -0
  159. package/dist/catalog/components/metrics/FinanceDashboard.d.ts +1 -0
  160. package/dist/catalog/components/metrics/FinanceDashboard.js +164 -0
  161. package/dist/catalog/components/metrics/Growth.d.ts +1 -0
  162. package/dist/catalog/components/metrics/Growth.js +40 -0
  163. package/dist/catalog/components/metrics/GrowthCalendar.d.ts +1 -0
  164. package/dist/catalog/components/metrics/GrowthCalendar.js +87 -0
  165. package/dist/catalog/components/metrics/HealthCards.d.ts +1 -0
  166. package/dist/catalog/components/metrics/HealthCards.js +244 -0
  167. package/dist/catalog/components/metrics/MarketingCards.d.ts +1 -0
  168. package/dist/catalog/components/metrics/MarketingCards.js +70 -0
  169. package/dist/catalog/components/metrics/NetworkTelemetry.d.ts +1 -0
  170. package/dist/catalog/components/metrics/NetworkTelemetry.js +198 -0
  171. package/dist/catalog/components/metrics/NoiseCards.d.ts +1 -0
  172. package/dist/catalog/components/metrics/NoiseCards.js +61 -0
  173. package/dist/catalog/components/metrics/OverviewChart.d.ts +1 -0
  174. package/dist/catalog/components/metrics/OverviewChart.js +69 -0
  175. package/dist/catalog/components/metrics/ProgressIndicator.d.ts +1 -0
  176. package/dist/catalog/components/metrics/ProgressIndicator.js +35 -0
  177. package/dist/catalog/components/metrics/PromptsCard.d.ts +1 -0
  178. package/dist/catalog/components/metrics/PromptsCard.js +29 -0
  179. package/dist/catalog/components/metrics/RealTimeAlerts.d.ts +1 -0
  180. package/dist/catalog/components/metrics/RealTimeAlerts.js +64 -0
  181. package/dist/catalog/components/metrics/RunningStatsCard.d.ts +1 -0
  182. package/dist/catalog/components/metrics/RunningStatsCard.js +41 -0
  183. package/dist/catalog/components/metrics/SalesDashboard.d.ts +1 -0
  184. package/dist/catalog/components/metrics/SalesDashboard.js +156 -0
  185. package/dist/catalog/components/metrics/SalesOverview.d.ts +1 -0
  186. package/dist/catalog/components/metrics/SalesOverview.js +71 -0
  187. package/dist/catalog/components/metrics/SavingsCards.d.ts +1 -0
  188. package/dist/catalog/components/metrics/SavingsCards.js +118 -0
  189. package/dist/catalog/components/metrics/ServerPerformance.d.ts +1 -0
  190. package/dist/catalog/components/metrics/ServerPerformance.js +26 -0
  191. package/dist/catalog/components/metrics/StatusCards.d.ts +1 -0
  192. package/dist/catalog/components/metrics/StatusCards.js +165 -0
  193. package/dist/catalog/components/metrics/StockChartCard.d.ts +1 -0
  194. package/dist/catalog/components/metrics/StockChartCard.js +122 -0
  195. package/dist/catalog/components/metrics/SystemMetricsCard.d.ts +1 -0
  196. package/dist/catalog/components/metrics/SystemMetricsCard.js +129 -0
  197. package/dist/catalog/components/metrics/TimerCard.d.ts +1 -0
  198. package/dist/catalog/components/metrics/TimerCard.js +35 -0
  199. package/dist/catalog/components/metrics/UserMetrics.d.ts +1 -0
  200. package/dist/catalog/components/metrics/UserMetrics.js +128 -0
  201. package/dist/catalog/components/metrics/UsersChartCard.d.ts +1 -0
  202. package/dist/catalog/components/metrics/UsersChartCard.js +111 -0
  203. package/dist/catalog/components/metrics/VisitorsChartCard.d.ts +1 -0
  204. package/dist/catalog/components/metrics/VisitorsChartCard.js +178 -0
  205. package/dist/catalog/components/mono-charts/GitHubActivity.d.ts +30 -0
  206. package/dist/catalog/components/mono-charts/GitHubActivity.js +547 -0
  207. package/dist/catalog/components/mono-charts/MonoActivityHeatmap.d.ts +14 -0
  208. package/dist/catalog/components/mono-charts/MonoActivityHeatmap.js +170 -0
  209. package/dist/catalog/components/mono-charts/MonoRoundedAreaChart.d.ts +7 -0
  210. package/dist/catalog/components/mono-charts/MonoRoundedAreaChart.js +107 -0
  211. package/dist/catalog/components/mono-charts/MonoRoundedBarChart.d.ts +7 -0
  212. package/dist/catalog/components/mono-charts/MonoRoundedBarChart.js +121 -0
  213. package/dist/catalog/components/mono-charts/MonoRoundedBubbleChart.d.ts +7 -0
  214. package/dist/catalog/components/mono-charts/MonoRoundedBubbleChart.js +67 -0
  215. package/dist/catalog/components/mono-charts/MonoRoundedBulletChart.d.ts +7 -0
  216. package/dist/catalog/components/mono-charts/MonoRoundedBulletChart.js +64 -0
  217. package/dist/catalog/components/mono-charts/MonoRoundedCandlestickChart.d.ts +7 -0
  218. package/dist/catalog/components/mono-charts/MonoRoundedCandlestickChart.js +76 -0
  219. package/dist/catalog/components/mono-charts/MonoRoundedComposedChart.d.ts +7 -0
  220. package/dist/catalog/components/mono-charts/MonoRoundedComposedChart.js +117 -0
  221. package/dist/catalog/components/mono-charts/MonoRoundedDonutChart.d.ts +7 -0
  222. package/dist/catalog/components/mono-charts/MonoRoundedDonutChart.js +97 -0
  223. package/dist/catalog/components/mono-charts/MonoRoundedFunnelChart.d.ts +7 -0
  224. package/dist/catalog/components/mono-charts/MonoRoundedFunnelChart.js +65 -0
  225. package/dist/catalog/components/mono-charts/MonoRoundedGaugeArc.d.ts +7 -0
  226. package/dist/catalog/components/mono-charts/MonoRoundedGaugeArc.js +64 -0
  227. package/dist/catalog/components/mono-charts/MonoRoundedHeatmapChart.d.ts +7 -0
  228. package/dist/catalog/components/mono-charts/MonoRoundedHeatmapChart.js +56 -0
  229. package/dist/catalog/components/mono-charts/MonoRoundedKpiCardChart.d.ts +7 -0
  230. package/dist/catalog/components/mono-charts/MonoRoundedKpiCardChart.js +61 -0
  231. package/dist/catalog/components/mono-charts/MonoRoundedLineChart.d.ts +7 -0
  232. package/dist/catalog/components/mono-charts/MonoRoundedLineChart.js +142 -0
  233. package/dist/catalog/components/mono-charts/MonoRoundedMeterChart.d.ts +7 -0
  234. package/dist/catalog/components/mono-charts/MonoRoundedMeterChart.js +68 -0
  235. package/dist/catalog/components/mono-charts/MonoRoundedPolarChart.d.ts +7 -0
  236. package/dist/catalog/components/mono-charts/MonoRoundedPolarChart.js +67 -0
  237. package/dist/catalog/components/mono-charts/MonoRoundedPyramidChart.d.ts +7 -0
  238. package/dist/catalog/components/mono-charts/MonoRoundedPyramidChart.js +52 -0
  239. package/dist/catalog/components/mono-charts/MonoRoundedRadarChart.d.ts +7 -0
  240. package/dist/catalog/components/mono-charts/MonoRoundedRadarChart.js +70 -0
  241. package/dist/catalog/components/mono-charts/MonoRoundedRadialBarGroup.d.ts +7 -0
  242. package/dist/catalog/components/mono-charts/MonoRoundedRadialBarGroup.js +69 -0
  243. package/dist/catalog/components/mono-charts/MonoRoundedRadialGaugeChart.d.ts +7 -0
  244. package/dist/catalog/components/mono-charts/MonoRoundedRadialGaugeChart.js +68 -0
  245. package/dist/catalog/components/mono-charts/MonoRoundedRangeChart.d.ts +7 -0
  246. package/dist/catalog/components/mono-charts/MonoRoundedRangeChart.js +77 -0
  247. package/dist/catalog/components/mono-charts/MonoRoundedSankeyChart.d.ts +7 -0
  248. package/dist/catalog/components/mono-charts/MonoRoundedSankeyChart.js +66 -0
  249. package/dist/catalog/components/mono-charts/MonoRoundedScatterChart.d.ts +7 -0
  250. package/dist/catalog/components/mono-charts/MonoRoundedScatterChart.js +82 -0
  251. package/dist/catalog/components/mono-charts/MonoRoundedSparklineChart.d.ts +7 -0
  252. package/dist/catalog/components/mono-charts/MonoRoundedSparklineChart.js +73 -0
  253. package/dist/catalog/components/mono-charts/MonoRoundedStackedBarChart.d.ts +7 -0
  254. package/dist/catalog/components/mono-charts/MonoRoundedStackedBarChart.js +63 -0
  255. package/dist/catalog/components/mono-charts/MonoRoundedStepChart.d.ts +7 -0
  256. package/dist/catalog/components/mono-charts/MonoRoundedStepChart.js +72 -0
  257. package/dist/catalog/components/mono-charts/MonoRoundedStreamChart.d.ts +7 -0
  258. package/dist/catalog/components/mono-charts/MonoRoundedStreamChart.js +98 -0
  259. package/dist/catalog/components/mono-charts/MonoRoundedTreemapChart.d.ts +7 -0
  260. package/dist/catalog/components/mono-charts/MonoRoundedTreemapChart.js +56 -0
  261. package/dist/catalog/components/mono-charts/MonoRoundedWaterfallChart.d.ts +7 -0
  262. package/dist/catalog/components/mono-charts/MonoRoundedWaterfallChart.js +67 -0
  263. package/dist/catalog/components/simple-comp/ActivityHeatmap.d.ts +5 -0
  264. package/dist/catalog/components/simple-comp/ActivityHeatmap.js +7 -0
  265. package/dist/catalog/components/simple-comp/ChartCard.d.ts +2 -0
  266. package/dist/catalog/components/simple-comp/ChartCard.js +8 -0
  267. package/dist/catalog/components/simple-comp/DeviceUsageChart.d.ts +5 -0
  268. package/dist/catalog/components/simple-comp/DeviceUsageChart.js +7 -0
  269. package/dist/catalog/components/simple-comp/DitherBarChart.d.ts +5 -0
  270. package/dist/catalog/components/simple-comp/DitherBarChart.js +148 -0
  271. package/dist/catalog/components/simple-comp/DitherBook.d.ts +23 -0
  272. package/dist/catalog/components/simple-comp/DitherBook.js +352 -0
  273. package/dist/catalog/components/simple-comp/DitherChartsGrid.d.ts +9 -0
  274. package/dist/catalog/components/simple-comp/DitherChartsGrid.js +107 -0
  275. package/dist/catalog/components/simple-comp/DitherDonutChart.d.ts +7 -0
  276. package/dist/catalog/components/simple-comp/DitherDonutChart.js +7 -0
  277. package/dist/catalog/components/simple-comp/DitherFunnelChart.d.ts +5 -0
  278. package/dist/catalog/components/simple-comp/DitherFunnelChart.js +7 -0
  279. package/dist/catalog/components/simple-comp/DitherGrowthChart.d.ts +7 -0
  280. package/dist/catalog/components/simple-comp/DitherGrowthChart.js +7 -0
  281. package/dist/catalog/components/simple-comp/DitherHeatmapGrid.d.ts +5 -0
  282. package/dist/catalog/components/simple-comp/DitherHeatmapGrid.js +115 -0
  283. package/dist/catalog/components/simple-comp/DitherRadialChart.d.ts +5 -0
  284. package/dist/catalog/components/simple-comp/DitherRadialChart.js +114 -0
  285. package/dist/catalog/components/simple-comp/DitherScatterChart.d.ts +5 -0
  286. package/dist/catalog/components/simple-comp/DitherScatterChart.js +151 -0
  287. package/dist/catalog/components/simple-comp/DitherSparklineMatrix.d.ts +5 -0
  288. package/dist/catalog/components/simple-comp/DitherSparklineMatrix.js +89 -0
  289. package/dist/catalog/components/simple-comp/DitherStackedChart.d.ts +7 -0
  290. package/dist/catalog/components/simple-comp/DitherStackedChart.js +7 -0
  291. package/dist/catalog/components/simple-comp/MembersGrowthChart.d.ts +2 -0
  292. package/dist/catalog/components/simple-comp/MembersGrowthChart.js +8 -0
  293. package/dist/catalog/components/simple-comp/PaymentsChart.d.ts +2 -0
  294. package/dist/catalog/components/simple-comp/PaymentsChart.js +8 -0
  295. package/dist/catalog/components/simple-comp/RevenueLineChart.d.ts +5 -0
  296. package/dist/catalog/components/simple-comp/RevenueLineChart.js +7 -0
  297. package/dist/catalog/components/simple-comp/ServerGauge.d.ts +5 -0
  298. package/dist/catalog/components/simple-comp/ServerGauge.js +7 -0
  299. package/dist/catalog/components/simple-comp/SimpleCompExtracted.d.ts +6 -0
  300. package/dist/catalog/components/simple-comp/SimpleCompExtracted.js +423 -0
  301. package/dist/catalog/components/simple-comp/StorageUsageChart.d.ts +5 -0
  302. package/dist/catalog/components/simple-comp/StorageUsageChart.js +7 -0
  303. package/dist/catalog/components/simple-comp/TrafficBubble.d.ts +5 -0
  304. package/dist/catalog/components/simple-comp/TrafficBubble.js +7 -0
  305. package/dist/catalog/components/simple-comp/UptimeChart.d.ts +5 -0
  306. package/dist/catalog/components/simple-comp/UptimeChart.js +7 -0
  307. package/dist/catalog/components/simple-comp/lib/utils.d.ts +3 -0
  308. package/dist/catalog/components/simple-comp/lib/utils.js +7 -0
  309. package/dist/catalog/components/text/AnimatedText.d.ts +8 -0
  310. package/dist/catalog/components/text/AnimatedText.js +554 -0
  311. package/dist/catalog/components/toggles/AnimatedToggle.d.ts +8 -0
  312. package/dist/catalog/components/toggles/AnimatedToggle.js +243 -0
  313. package/dist/catalog/data/buttons.d.ts +14 -0
  314. package/dist/catalog/data/buttons.js +94 -0
  315. package/dist/catalog/data/ditherCharts.d.ts +12 -0
  316. package/dist/catalog/data/ditherCharts.js +11 -0
  317. package/dist/catalog/data/formElements.d.ts +9 -0
  318. package/dist/catalog/data/formElements.js +117 -0
  319. package/dist/catalog/data/installCommand.d.ts +3 -0
  320. package/dist/catalog/data/installCommand.js +10 -0
  321. package/dist/catalog/data/metrics.d.ts +10 -0
  322. package/dist/catalog/data/metrics.js +136 -0
  323. package/dist/catalog/data/supportedRegistryIds.d.ts +1 -0
  324. package/dist/catalog/data/supportedRegistryIds.js +7 -0
  325. package/dist/catalog/data/textAnimations.d.ts +10 -0
  326. package/dist/catalog/data/textAnimations.js +65 -0
  327. package/dist/catalog/data/toggles.d.ts +9 -0
  328. package/dist/catalog/data/toggles.js +96 -0
  329. package/dist/catalog/data/transitions.d.ts +11 -0
  330. package/dist/catalog/data/transitions.js +198 -0
  331. package/dist/catalog/hooks/useCanvasSetup.d.ts +25 -0
  332. package/dist/catalog/hooks/useCanvasSetup.js +7 -0
  333. package/dist/catalog/hooks/useIsMobile.d.ts +5 -0
  334. package/dist/catalog/hooks/useIsMobile.js +7 -0
  335. package/dist/catalog/hooks/useLoopFlg.d.ts +1 -0
  336. package/dist/catalog/hooks/useLoopFlg.js +7 -0
  337. package/dist/catalog/hooks/useWebHaptics.d.ts +4 -0
  338. package/dist/catalog/hooks/useWebHaptics.js +7 -0
  339. package/dist/catalog/utils/cn.d.ts +1 -0
  340. package/dist/catalog/utils/cn.js +7 -0
  341. package/dist/catalog-chunks/chunk-3QX6CASP.js +93 -0
  342. package/dist/catalog-chunks/chunk-3TYA5TCG.js +34 -0
  343. package/dist/catalog-chunks/chunk-4M7HZE4Z.js +107 -0
  344. package/dist/catalog-chunks/chunk-62CFYJEA.js +141 -0
  345. package/dist/catalog-chunks/chunk-7GU353UA.js +261 -0
  346. package/dist/catalog-chunks/chunk-7XF4PVBJ.js +85 -0
  347. package/dist/catalog-chunks/chunk-AJLUWL56.js +99 -0
  348. package/dist/catalog-chunks/chunk-B64DVBSK.js +105 -0
  349. package/dist/catalog-chunks/chunk-BSR45QIS.js +349 -0
  350. package/dist/catalog-chunks/chunk-E2GLS5WF.js +325 -0
  351. package/dist/catalog-chunks/chunk-EC4R54F3.js +35 -0
  352. package/dist/catalog-chunks/chunk-F47LIDB6.js +19 -0
  353. package/dist/catalog-chunks/chunk-FXF53HPE.js +476 -0
  354. package/dist/catalog-chunks/chunk-GDCQNKP7.js +45 -0
  355. package/dist/catalog-chunks/chunk-I4BVACNZ.js +349 -0
  356. package/dist/catalog-chunks/chunk-I5MYV6VF.js +248 -0
  357. package/dist/catalog-chunks/chunk-JSEX6PVP.js +84 -0
  358. package/dist/catalog-chunks/chunk-KN7YEZTH.js +294 -0
  359. package/dist/catalog-chunks/chunk-KRXJK3FG.js +19 -0
  360. package/dist/catalog-chunks/chunk-KTP5OAIN.js +17 -0
  361. package/dist/catalog-chunks/chunk-KYYXENHF.js +105 -0
  362. package/dist/catalog-chunks/chunk-M2O2SNWE.js +132 -0
  363. package/dist/catalog-chunks/chunk-NITEDAMY.js +325 -0
  364. package/dist/catalog-chunks/chunk-OTFAZXKB.js +8 -0
  365. package/dist/catalog-chunks/chunk-OVOLUMYF.js +452 -0
  366. package/dist/catalog-chunks/chunk-OWYADZUR.js +156 -0
  367. package/dist/catalog-chunks/chunk-PD47DK6W.js +100 -0
  368. package/dist/catalog-chunks/chunk-QITBAUBH.js +101 -0
  369. package/dist/catalog-chunks/chunk-QXWREUPI.js +56 -0
  370. package/dist/catalog-chunks/chunk-RKATUMDL.js +244 -0
  371. package/dist/catalog-chunks/chunk-S7UYABQK.js +99 -0
  372. package/dist/catalog-chunks/chunk-SIL53FHG.js +169 -0
  373. package/dist/catalog-chunks/chunk-SWPGAN45.js +28 -0
  374. package/dist/catalog-chunks/chunk-VCDBPAAS.js +85 -0
  375. package/dist/catalog-chunks/chunk-VMGI6CMO.js +15 -0
  376. package/dist/catalog-chunks/chunk-W7ZMAKCC.js +53 -0
  377. package/dist/catalog-chunks/chunk-XDDKOCZ7.js +89 -0
  378. package/dist/catalog-chunks/chunk-YGLQ5K3F.js +452 -0
  379. package/dist/catalog-chunks/chunk-YHU4BQDL.js +292 -0
  380. package/dist/catalog-chunks/chunk-ZCRXHCGS.js +108 -0
  381. package/dist/catalog-chunks/chunk-ZUQZVT7M.js +87 -0
  382. package/dist/catalog-chunks/chunk-ZXDZMNRZ.js +267 -0
  383. package/dist/index.d.ts +27 -0
  384. package/dist/index.js +6237 -879
  385. package/dist/styles.css +1 -1
  386. package/dist/ui/ai/ai-approval-card.d.ts +28 -0
  387. package/dist/ui/ai/ai-code-block.d.ts +33 -0
  388. package/dist/ui/ai/ai-context-meter.d.ts +14 -0
  389. package/dist/ui/ai/ai-fine-tune-card.d.ts +43 -0
  390. package/dist/ui/ai/ai-prompt-bar.d.ts +25 -0
  391. package/dist/ui/ai/ai-sidebar-nav.d.ts +26 -0
  392. package/dist/ui/ai/ai-sources.d.ts +16 -0
  393. package/dist/ui/ai/ai-suggestions.d.ts +12 -0
  394. package/dist/ui/ai/ai-task-list.d.ts +15 -0
  395. package/dist/ui/ai/ai-tool-call.d.ts +13 -0
  396. package/dist/ui/ai/rudder-issue-board.d.ts +21 -0
  397. package/dist/ui/animated-sidebar.d.ts +9 -0
  398. package/dist/ui/hover/inset-button.d.ts +16 -0
  399. package/dist/ui/loading/analyzing-image.d.ts +2 -0
  400. package/dist/ui/loading/border-trail-loading.d.ts +9 -0
  401. package/dist/ui/loading/wandering-eyes.d.ts +10 -0
  402. package/dist/ui/patterns/animated-tags.d.ts +14 -0
  403. package/dist/ui/patterns/expanding-icon-tabs.d.ts +8 -0
  404. package/dist/ui/patterns/gooey-popover.d.ts +24 -0
  405. package/package.json +79 -14
  406. package/registry/1.json +19 -0
  407. package/registry/10.json +19 -0
  408. package/registry/11.json +19 -0
  409. package/registry/12.json +19 -0
  410. package/registry/13.json +19 -0
  411. package/registry/14.json +19 -0
  412. package/registry/15.json +19 -0
  413. package/registry/16.json +19 -0
  414. package/registry/17.json +19 -0
  415. package/registry/18.json +19 -0
  416. package/registry/19.json +19 -0
  417. package/registry/2.json +19 -0
  418. package/registry/20.json +19 -0
  419. package/registry/21.json +19 -0
  420. package/registry/22.json +19 -0
  421. package/registry/23.json +19 -0
  422. package/registry/24.json +19 -0
  423. package/registry/25.json +19 -0
  424. package/registry/26.json +19 -0
  425. package/registry/27.json +19 -0
  426. package/registry/28.json +19 -0
  427. package/registry/29.json +19 -0
  428. package/registry/3.json +19 -0
  429. package/registry/30.json +19 -0
  430. package/registry/31.json +19 -0
  431. package/registry/32.json +19 -0
  432. package/registry/33.json +19 -0
  433. package/registry/34.json +19 -0
  434. package/registry/35.json +19 -0
  435. package/registry/36.json +16 -0
  436. package/registry/37.json +16 -0
  437. package/registry/4.json +19 -0
  438. package/registry/5.json +19 -0
  439. package/registry/6.json +19 -0
  440. package/registry/7.json +19 -0
  441. package/registry/8.json +19 -0
  442. package/registry/9.json +19 -0
  443. package/registry/LICENSE.third-party +542 -0
  444. package/registry/ab-segmented-tabs.json +18 -0
  445. package/registry/accordion-blind.json +15 -0
  446. package/registry/accordion-loader.json +9 -0
  447. package/registry/ai-approval-card.json +17 -0
  448. package/registry/ai-code-block.json +19 -0
  449. package/registry/ai-context-meter.json +19 -0
  450. package/registry/ai-fine-tune-card.json +19 -0
  451. package/registry/ai-prompt-bar.json +17 -0
  452. package/registry/ai-sidebar-nav.json +17 -0
  453. package/registry/ai-sources.json +20 -0
  454. package/registry/ai-suggestions.json +19 -0
  455. package/registry/ai-task-list.json +20 -0
  456. package/registry/ai-tool-call.json +20 -0
  457. package/registry/analyzing-image.json +17 -0
  458. package/registry/animated-sidebar.json +19 -0
  459. package/registry/animated-tags.json +19 -0
  460. package/registry/app-icon-load.json +9 -0
  461. package/registry/apple-breathe.json +9 -0
  462. package/registry/apple-equalizer.json +9 -0
  463. package/registry/apple-icon-morph.json +9 -0
  464. package/registry/apple-pulse-dots.json +9 -0
  465. package/registry/apple-scale-pulse.json +9 -0
  466. package/registry/apple-sound-wave.json +9 -0
  467. package/registry/apple-text-reveal.json +9 -0
  468. package/registry/apple-unlock.json +9 -0
  469. package/registry/arc-tracer.json +9 -0
  470. package/registry/bar-cascade.json +9 -0
  471. package/registry/bar-sweep.json +9 -0
  472. package/registry/blur-text.json +9 -0
  473. package/registry/blur-up-char.json +19 -0
  474. package/registry/blur-up-word.json +19 -0
  475. package/registry/bobbing-dots.json +9 -0
  476. package/registry/bookmark-corner-peel.json +15 -0
  477. package/registry/bookmark-save-pill.json +18 -0
  478. package/registry/bookmark-toggle.json +19 -0
  479. package/registry/border-trail-loading.json +17 -0
  480. package/registry/bounce-dots.json +9 -0
  481. package/registry/bounce-in-char.json +19 -0
  482. package/registry/bouncing-bars.json +9 -0
  483. package/registry/bouncing-dots.json +9 -0
  484. package/registry/bouncing-lines.json +9 -0
  485. package/registry/bouncing-square.json +9 -0
  486. package/registry/breathe-ring.json +9 -0
  487. package/registry/breathing-glow.json +9 -0
  488. package/registry/breathing-square.json +9 -0
  489. package/registry/btn-1.json +19 -0
  490. package/registry/btn-10.json +19 -0
  491. package/registry/btn-11.json +19 -0
  492. package/registry/btn-12.json +19 -0
  493. package/registry/btn-13.json +19 -0
  494. package/registry/btn-14.json +19 -0
  495. package/registry/btn-15.json +19 -0
  496. package/registry/btn-16.json +19 -0
  497. package/registry/btn-17.json +19 -0
  498. package/registry/btn-18.json +19 -0
  499. package/registry/btn-19.json +19 -0
  500. package/registry/btn-2.json +19 -0
  501. package/registry/btn-20.json +19 -0
  502. package/registry/btn-21.json +19 -0
  503. package/registry/btn-22.json +19 -0
  504. package/registry/btn-23.json +19 -0
  505. package/registry/btn-24.json +19 -0
  506. package/registry/btn-25.json +19 -0
  507. package/registry/btn-26.json +19 -0
  508. package/registry/btn-27.json +19 -0
  509. package/registry/btn-28.json +19 -0
  510. package/registry/btn-29.json +19 -0
  511. package/registry/btn-3.json +19 -0
  512. package/registry/btn-30.json +19 -0
  513. package/registry/btn-31.json +19 -0
  514. package/registry/btn-32.json +19 -0
  515. package/registry/btn-33.json +19 -0
  516. package/registry/btn-34.json +19 -0
  517. package/registry/btn-35.json +19 -0
  518. package/registry/btn-36.json +16 -0
  519. package/registry/btn-37.json +16 -0
  520. package/registry/btn-4.json +19 -0
  521. package/registry/btn-5.json +19 -0
  522. package/registry/btn-6.json +19 -0
  523. package/registry/btn-7.json +19 -0
  524. package/registry/btn-8.json +19 -0
  525. package/registry/btn-9.json +19 -0
  526. package/registry/button-slide-arrow.json +19 -0
  527. package/registry/cacheable-bandwidth-cost.json +19 -0
  528. package/registry/card-arc-5.json +18 -0
  529. package/registry/card-arc-7.json +18 -0
  530. package/registry/card-carousel-mono.json +19 -0
  531. package/registry/card-carousel.json +19 -0
  532. package/registry/card-cascade-stagger.json +18 -0
  533. package/registry/card-corner-fan.json +18 -0
  534. package/registry/card-cover-flow-mono.json +19 -0
  535. package/registry/card-cover-flow.json +19 -0
  536. package/registry/card-deck-cascade.json +15 -0
  537. package/registry/card-glance-preview.json +18 -0
  538. package/registry/card-hover.json +9 -0
  539. package/registry/card-linear-spread.json +18 -0
  540. package/registry/card-long-arc-5.json +18 -0
  541. package/registry/card-scatter-spread.json +18 -0
  542. package/registry/card-stack-peel.json +15 -0
  543. package/registry/card-stamp-arc.json +18 -0
  544. package/registry/card-time-machine-mono.json +18 -0
  545. package/registry/card-time-machine.json +18 -0
  546. package/registry/card-wheel-fan.json +18 -0
  547. package/registry/category-select.json +18 -0
  548. package/registry/character-stagger.json +9 -0
  549. package/registry/checkbox-draw.json +19 -0
  550. package/registry/checkmark-draw.json +19 -0
  551. package/registry/circle-toggle.json +19 -0
  552. package/registry/circuit-trace-draw.json +15 -0
  553. package/registry/circular-bars.json +9 -0
  554. package/registry/circular-create-button.json +16 -0
  555. package/registry/classic-spinner.json +9 -0
  556. package/registry/classic-toggle.json +9 -0
  557. package/registry/clock-spinner.json +9 -0
  558. package/registry/comet-spinner.json +9 -0
  559. package/registry/compass-needle-deflect.json +15 -0
  560. package/registry/concentric-pulse.json +9 -0
  561. package/registry/concentric-ring.json +9 -0
  562. package/registry/concentric-squares.json +9 -0
  563. package/registry/context-menu.json +18 -0
  564. package/registry/conveyor-loop.json +9 -0
  565. package/registry/credit-score-barcode-meter.json +19 -0
  566. package/registry/cross-spinner.json +9 -0
  567. package/registry/cube-flip-spring.json +9 -0
  568. package/registry/cursor-trail.json +9 -0
  569. package/registry/dash-ring.json +9 -0
  570. package/registry/dashed-spiral.json +9 -0
  571. package/registry/date-position-selector.json +18 -0
  572. package/registry/dia-text-reveal.json +19 -0
  573. package/registry/diamond-grid.json +9 -0
  574. package/registry/diamond-rotate-spring.json +9 -0
  575. package/registry/dislike-toggle.json +19 -0
  576. package/registry/dither-book.json +19 -0
  577. package/registry/domino-cascade.json +15 -0
  578. package/registry/dot-spinner.json +9 -0
  579. package/registry/dots-ring.json +9 -0
  580. package/registry/double-bounce-toggle.json +19 -0
  581. package/registry/double-ring.json +9 -0
  582. package/registry/download-icons.json +18 -0
  583. package/registry/drop-dot.json +9 -0
  584. package/registry/drop-in-char.json +19 -0
  585. package/registry/droplet-squish.json +15 -0
  586. package/registry/dual-arc.json +9 -0
  587. package/registry/dual-magnet-dipole.json +15 -0
  588. package/registry/dynamic-island.json +9 -0
  589. package/registry/elastic-bars.json +9 -0
  590. package/registry/elastic-square.json +9 -0
  591. package/registry/elastic-tag-snap.json +15 -0
  592. package/registry/error-shake.json +19 -0
  593. package/registry/expanding-cross.json +9 -0
  594. package/registry/expanding-icon-tabs.json +17 -0
  595. package/registry/face-id-scan.json +9 -0
  596. package/registry/fade-arc.json +9 -0
  597. package/registry/fade-dots.json +9 -0
  598. package/registry/fade-down.json +9 -0
  599. package/registry/fade-in-char.json +19 -0
  600. package/registry/fade-in-text.json +19 -0
  601. package/registry/fade-in-word.json +19 -0
  602. package/registry/fade-in.json +9 -0
  603. package/registry/fade-up.json +9 -0
  604. package/registry/file-upload-dropzone.json +19 -0
  605. package/registry/filter-tag-pill.json +18 -0
  606. package/registry/flip-square.json +9 -0
  607. package/registry/flip-x-char.json +19 -0
  608. package/registry/flip-y-char.json +19 -0
  609. package/registry/float-char.json +19 -0
  610. package/registry/float-word.json +19 -0
  611. package/registry/floating-diamonds.json +9 -0
  612. package/registry/floating-label-input.json +19 -0
  613. package/registry/fluid-bars.json +9 -0
  614. package/registry/fluid-diamond.json +9 -0
  615. package/registry/fluid-dot-orbit.json +9 -0
  616. package/registry/fluid-skeleton.json +9 -0
  617. package/registry/focus-blur.json +18 -0
  618. package/registry/form-submit-button.json +19 -0
  619. package/registry/french-doors-3d.json +18 -0
  620. package/registry/gear-tooth-step.json +15 -0
  621. package/registry/gears.json +9 -0
  622. package/registry/gelatin-wobble.json +15 -0
  623. package/registry/geometric-iris-shutter.json +15 -0
  624. package/registry/glassmorphic-card.json +9 -0
  625. package/registry/glow-button.json +9 -0
  626. package/registry/glow-text.json +19 -0
  627. package/registry/gooey-popover.json +18 -0
  628. package/registry/gradient-arc.json +9 -0
  629. package/registry/gradient-shimmer.json +18 -0
  630. package/registry/grid-dots.json +9 -0
  631. package/registry/haptic-ring.json +9 -0
  632. package/registry/heartbeat.json +9 -0
  633. package/registry/hex-lattice-draw.json +15 -0
  634. package/registry/hexagon-spinner.json +9 -0
  635. package/registry/hourglass.json +9 -0
  636. package/registry/hover-lift-char.json +19 -0
  637. package/registry/hover-lift-word.json +19 -0
  638. package/registry/hover-link-card.json +18 -0
  639. package/registry/hover-scale-char.json +19 -0
  640. package/registry/hover-scale-word.json +19 -0
  641. package/registry/inertia-skid-stop.json +15 -0
  642. package/registry/infinity-path.json +9 -0
  643. package/registry/input-focus-glow.json +19 -0
  644. package/registry/inset-action-button.json +16 -0
  645. package/registry/inset-button.json +17 -0
  646. package/registry/intersecting-rings.json +9 -0
  647. package/registry/ios-spinner.json +9 -0
  648. package/registry/kinetic-metronome-tick.json +15 -0
  649. package/registry/kinetic-tension-capsule.json +15 -0
  650. package/registry/light-dark-morph.json +18 -0
  651. package/registry/like-toggle.json +19 -0
  652. package/registry/line-spinner.json +9 -0
  653. package/registry/liquid-dots.json +9 -0
  654. package/registry/mac-terminal.json +9 -0
  655. package/registry/magnetic-button.json +9 -0
  656. package/registry/magnetic-disks.json +15 -0
  657. package/registry/magnetic-dots.json +9 -0
  658. package/registry/magnetic-slide-btn.json +18 -0
  659. package/registry/manifest.json +11258 -0
  660. package/registry/matrix-grid-loader.json +15 -0
  661. package/registry/minimal-triangle.json +9 -0
  662. package/registry/modular-tile-snap.json +15 -0
  663. package/registry/mono-activity-blue.json +18 -0
  664. package/registry/mono-activity-green.json +18 -0
  665. package/registry/mono-activity-purple.json +18 -0
  666. package/registry/mono-heatmap.json +19 -0
  667. package/registry/mono-rounded-area.json +18 -0
  668. package/registry/mono-rounded-bar.json +18 -0
  669. package/registry/mono-rounded-bubble.json +18 -0
  670. package/registry/mono-rounded-bullet.json +16 -0
  671. package/registry/mono-rounded-candlestick.json +16 -0
  672. package/registry/mono-rounded-composed.json +18 -0
  673. package/registry/mono-rounded-donut.json +18 -0
  674. package/registry/mono-rounded-funnel.json +18 -0
  675. package/registry/mono-rounded-gauge-arc.json +18 -0
  676. package/registry/mono-rounded-heatmap.json +16 -0
  677. package/registry/mono-rounded-kpi.json +18 -0
  678. package/registry/mono-rounded-line.json +18 -0
  679. package/registry/mono-rounded-meter.json +18 -0
  680. package/registry/mono-rounded-polar.json +18 -0
  681. package/registry/mono-rounded-pyramid.json +16 -0
  682. package/registry/mono-rounded-radar.json +18 -0
  683. package/registry/mono-rounded-radial-gauge.json +18 -0
  684. package/registry/mono-rounded-radial-group.json +18 -0
  685. package/registry/mono-rounded-range.json +18 -0
  686. package/registry/mono-rounded-sankey.json +16 -0
  687. package/registry/mono-rounded-scatter.json +18 -0
  688. package/registry/mono-rounded-sparkline.json +18 -0
  689. package/registry/mono-rounded-stacked-bar.json +18 -0
  690. package/registry/mono-rounded-step.json +18 -0
  691. package/registry/mono-rounded-stream.json +18 -0
  692. package/registry/mono-rounded-treemap.json +16 -0
  693. package/registry/mono-rounded-waterfall.json +18 -0
  694. package/registry/mono-stock.json +19 -0
  695. package/registry/morph-action-pill.json +18 -0
  696. package/registry/morph-dot-ring.json +9 -0
  697. package/registry/morph-loader.json +9 -0
  698. package/registry/morph-toggle.json +19 -0
  699. package/registry/morphing-bars.json +9 -0
  700. package/registry/morphing-infinity.json +9 -0
  701. package/registry/morphing-ring.json +9 -0
  702. package/registry/morphing-shape.json +9 -0
  703. package/registry/mouse-follow.json +9 -0
  704. package/registry/multi-select-chips.json +19 -0
  705. package/registry/multi-tab-bar.json +18 -0
  706. package/registry/neon-sign-draw.json +15 -0
  707. package/registry/nested-orbital-gimbal.json +15 -0
  708. package/registry/network-telemetry-matrix.json +19 -0
  709. package/registry/newtons-cradle.json +9 -0
  710. package/registry/noise-decibel-level.json +19 -0
  711. package/registry/obsidian-liquid-wave.json +16 -0
  712. package/registry/offset-rings.json +9 -0
  713. package/registry/orbiting-circles.json +9 -0
  714. package/registry/orbiting-dot.json +9 -0
  715. package/registry/origami-envelope-unfold.json +15 -0
  716. package/registry/origami-shape.json +9 -0
  717. package/registry/otp-input.json +19 -0
  718. package/registry/overview-bar-scrubber-card.json +19 -0
  719. package/registry/page-transition.json +11 -0
  720. package/registry/page-turn-curl.json +15 -0
  721. package/registry/password-toggle.json +19 -0
  722. package/registry/pendulum-bubble-level.json +15 -0
  723. package/registry/pendulum.json +9 -0
  724. package/registry/perspective-flip-stage.json +18 -0
  725. package/registry/perspective-flip.json +18 -0
  726. package/registry/perspective-layout-switcher.json +18 -0
  727. package/registry/physics-dock.json +17 -0
  728. package/registry/pill-tabs.json +19 -0
  729. package/registry/plus-minus-toggle.json +18 -0
  730. package/registry/presets.json +9 -0
  731. package/registry/prism-block-stack.json +15 -0
  732. package/registry/progress-indicator-piano.json +19 -0
  733. package/registry/progress-indicator.json +9 -0
  734. package/registry/progress-stepper.json +18 -0
  735. package/registry/pulsating-dots.json +9 -0
  736. package/registry/pulse-char.json +19 -0
  737. package/registry/pulse-dot.json +9 -0
  738. package/registry/pulse-dots.json +9 -0
  739. package/registry/pulse-square.json +9 -0
  740. package/registry/pulse-word.json +19 -0
  741. package/registry/pulse.json +9 -0
  742. package/registry/pumping-heart.json +9 -0
  743. package/registry/pyramid-block-build.json +15 -0
  744. package/registry/radar-sweep.json +9 -0
  745. package/registry/radial-iris-mask.json +18 -0
  746. package/registry/radial-spinner.json +15 -0
  747. package/registry/radio-scale.json +19 -0
  748. package/registry/range-slider.json +19 -0
  749. package/registry/receipt-tape-print.json +15 -0
  750. package/registry/rectangle-toggle.json +19 -0
  751. package/registry/repost-toggle.json +19 -0
  752. package/registry/reveal-text.json +19 -0
  753. package/registry/ribbon-banner-slide.json +15 -0
  754. package/registry/ring-sweep.json +9 -0
  755. package/registry/ripple-effect.json +9 -0
  756. package/registry/rise-up-word.json +19 -0
  757. package/registry/roller-blind-drop.json +15 -0
  758. package/registry/rolling-tumble.json +15 -0
  759. package/registry/rotate-in-char.json +19 -0
  760. package/registry/rotating-cross.json +9 -0
  761. package/registry/rotating-louvers.json +15 -0
  762. package/registry/rotating-triangle.json +9 -0
  763. package/registry/rudder-issue-board.json +24 -0
  764. package/registry/sales-analytics-dual-bars.json +19 -0
  765. package/registry/sales-overview-radial-dashboard.json +19 -0
  766. package/registry/sales-target-segmented-arc.json +19 -0
  767. package/registry/scale-in-char.json +19 -0
  768. package/registry/scale-in-text.json +19 -0
  769. package/registry/scale-in-word.json +19 -0
  770. package/registry/scale-in.json +9 -0
  771. package/registry/scramble-text.json +18 -0
  772. package/registry/scroll-canvas-unroll.json +15 -0
  773. package/registry/scroll-reveal.json +9 -0
  774. package/registry/search-expand.json +19 -0
  775. package/registry/segmented-arc-meter.json +18 -0
  776. package/registry/segmented-link-stretch.json +15 -0
  777. package/registry/segmented-step-bar.json +18 -0
  778. package/registry/segmented-stepper-dots.json +18 -0
  779. package/registry/select-dropdown.json +19 -0
  780. package/registry/server-performance-step-bars.json +19 -0
  781. package/registry/shape-shift-grid.json +9 -0
  782. package/registry/shimmer-line.json +9 -0
  783. package/registry/shimmer-text.json +19 -0
  784. package/registry/shutter-slide.json +15 -0
  785. package/registry/shutter-step-slices.json +15 -0
  786. package/registry/siri-wave.json +9 -0
  787. package/registry/skeleton-loader.json +9 -0
  788. package/registry/skeleton.json +9 -0
  789. package/registry/skew-x-char.json +19 -0
  790. package/registry/slide-down-char.json +19 -0
  791. package/registry/slide-down-word.json +19 -0
  792. package/registry/slide-left-char.json +19 -0
  793. package/registry/slide-left.json +9 -0
  794. package/registry/slide-right-char.json +19 -0
  795. package/registry/slide-right.json +9 -0
  796. package/registry/slide-up-char.json +19 -0
  797. package/registry/slide-up-text.json +19 -0
  798. package/registry/slide-up-word.json +19 -0
  799. package/registry/sliding-bars.json +9 -0
  800. package/registry/slinky-coil.json +15 -0
  801. package/registry/smart-card-dispenser.json +15 -0
  802. package/registry/smooth-dot-shift.json +9 -0
  803. package/registry/smooth-ring.json +9 -0
  804. package/registry/smooth-rounded-square.json +9 -0
  805. package/registry/solid-switch.json +19 -0
  806. package/registry/spatial-door-portal.json +18 -0
  807. package/registry/spinning-squares.json +9 -0
  808. package/registry/spiral-spinner.json +9 -0
  809. package/registry/split-gate-reveal.json +15 -0
  810. package/registry/spotlight.json +9 -0
  811. package/registry/spring-bars.json +9 -0
  812. package/registry/spring-dot-matrix.json +9 -0
  813. package/registry/spring-hexagon.json +9 -0
  814. package/registry/spring-ring-expand.json +9 -0
  815. package/registry/spring-text-pop.json +9 -0
  816. package/registry/spring-text.json +19 -0
  817. package/registry/square-accordion.json +9 -0
  818. package/registry/square-grid.json +9 -0
  819. package/registry/square-snake.json +9 -0
  820. package/registry/square-spinner.json +9 -0
  821. package/registry/squash-sphere.json +15 -0
  822. package/registry/stacked-bar-pulse.json +9 -0
  823. package/registry/stagger-text.json +19 -0
  824. package/registry/staggered-glass-curtain.json +18 -0
  825. package/registry/sticky-note-peel.json +15 -0
  826. package/registry/sticky-reveal.json +9 -0
  827. package/registry/stretch-x-char.json +19 -0
  828. package/registry/stretch-y-char.json +19 -0
  829. package/registry/stroke-waveform.json +15 -0
  830. package/registry/submenu-flyout.json +18 -0
  831. package/registry/success-check.json +19 -0
  832. package/registry/sudden-brake.json +15 -0
  833. package/registry/swapping-dots.json +9 -0
  834. package/registry/swing-word.json +19 -0
  835. package/registry/swirling-spinner.json +9 -0
  836. package/registry/symmetric-wave.json +9 -0
  837. package/registry/terminal-loader.json +9 -0
  838. package/registry/text-blink.json +9 -0
  839. package/registry/text-dots.json +9 -0
  840. package/registry/text-morph.json +9 -0
  841. package/registry/text-reveal.json +9 -0
  842. package/registry/text-shimmer-wave.json +9 -0
  843. package/registry/text-shimmer.json +9 -0
  844. package/registry/textarea-auto-grow.json +19 -0
  845. package/registry/theme-toggle.json +19 -0
  846. package/registry/tilt-card.json +9 -0
  847. package/registry/timer-preparation-segmented.json +19 -0
  848. package/registry/tracking-in-text.json +19 -0
  849. package/registry/tracking-out-text.json +19 -0
  850. package/registry/trailing-dots.json +9 -0
  851. package/registry/triple-dot-spinner.json +9 -0
  852. package/registry/twin-orbit.json +9 -0
  853. package/registry/typewriter-text.json +18 -0
  854. package/registry/typing-indicator.json +9 -0
  855. package/registry/typing.json +9 -0
  856. package/registry/use-mouse-position.json +10 -0
  857. package/registry/use-reduced-motion.json +9 -0
  858. package/registry/use-scroll-progress.json +9 -0
  859. package/registry/use-stagger.json +9 -0
  860. package/registry/use-web-haptics.json +10 -0
  861. package/registry/users-growth-pill-progress.json +19 -0
  862. package/registry/utils.json +10 -0
  863. package/registry/vertical-wheel-counter.json +18 -0
  864. package/registry/views-hourly-wave-chart.json +19 -0
  865. package/registry/wandering-cube.json +9 -0
  866. package/registry/wandering-eyes.json +15 -0
  867. package/registry/watch-spinner.json +9 -0
  868. package/registry/wave-dots.json +9 -0
  869. package/registry/wave-physics-loader.json +9 -0
  870. package/registry/wave-reveal.json +18 -0
  871. package/registry/waveform-loader.json +9 -0
  872. package/registry/word-reveal.json +9 -0
  873. package/registry/zig-zag-pulse.json +9 -0
  874. package/registry/zoom-in-text.json +19 -0
  875. package/registry/zoom-in.json +9 -0
  876. package/registry/zoom-out-text.json +19 -0
@@ -0,0 +1,93 @@
1
+ import {
2
+ useCanvasSetup
3
+ } from "./chunk-GDCQNKP7.js";
4
+
5
+ // .generated/catalog/components/dither-charts/DitherFunnelChart.tsx
6
+ import { useEffect, useRef, useState } from "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ var STAGES_DATA = [
9
+ { name: "Q1 Funnel", stages: [{ label: "Visitors", val: 100, color: "#FFFFFF" }, { label: "Leads", val: 62, color: "#E2E8F0" }, { label: "Deals", val: 38, color: "#CBD5E1" }, { label: "Won", val: 18, color: "#94A3B8" }] },
10
+ { name: "Q2 Funnel", stages: [{ label: "Visitors", val: 100, color: "#FFFFFF" }, { label: "Leads", val: 74, color: "#E2E8F0" }, { label: "Deals", val: 45, color: "#CBD5E1" }, { label: "Won", val: 24, color: "#94A3B8" }] }
11
+ ];
12
+ var smoothstep = (min, max, value) => {
13
+ const x = Math.max(0, Math.min(1, (value - min) / (max - min)));
14
+ return x * x * (3 - 2 * x);
15
+ };
16
+ var hash = (x, y) => {
17
+ let h = Math.sin(x * 12.9898 + y * 78.233) * 43758.5453;
18
+ return h - Math.floor(h);
19
+ };
20
+ function DitherFunnelChart({ theme = "dark", compact = false }) {
21
+ const [periodIndex, setPeriodIndex] = useState(0);
22
+ const period = STAGES_DATA[periodIndex];
23
+ const { canvasRef, rect, isVisible, reducedMotion } = useCanvasSetup();
24
+ const targetDataRef = useRef(period.stages);
25
+ const fromDataRef = useRef(period.stages);
26
+ const morphStartTimeRef = useRef(0);
27
+ useEffect(() => {
28
+ fromDataRef.current = targetDataRef.current;
29
+ targetDataRef.current = period.stages;
30
+ morphStartTimeRef.current = performance.now();
31
+ }, [period]);
32
+ useEffect(() => {
33
+ let req;
34
+ let lastFrame = 0;
35
+ let time = 0;
36
+ const draw = (now) => {
37
+ req = requestAnimationFrame(draw);
38
+ if (!isVisible.current) return;
39
+ if (now - lastFrame < 33) return;
40
+ lastFrame = now;
41
+ const canvas = canvasRef.current;
42
+ if (!canvas) return;
43
+ const ctx = canvas.getContext("2d");
44
+ if (!ctx) return;
45
+ const { width: w, height: h } = rect.current;
46
+ if (w === 0 || h === 0) return;
47
+ time += reducedMotion ? 0 : 0.02;
48
+ const dpr = Math.min(window.devicePixelRatio || 1, 2);
49
+ ctx.save();
50
+ ctx.scale(dpr, dpr);
51
+ ctx.clearRect(0, 0, w, h);
52
+ const prog = reducedMotion ? 1 : Math.min(1, (performance.now() - morphStartTimeRef.current) / 500);
53
+ const e = 1 - Math.pow(2, -10 * prog);
54
+ const count = period.stages.length;
55
+ const rowH = (h - (count - 1) * 6) / count;
56
+ const cell = Math.max(2, Math.round(w / 200));
57
+ const t2 = time;
58
+ for (let i = 0; i < count; i++) {
59
+ const target = targetDataRef.current[i];
60
+ const from = fromDataRef.current[i];
61
+ const val = from.val + (target.val - from.val) * e;
62
+ const stageW = val / 100 * w;
63
+ const yTop = i * (rowH + 6);
64
+ ctx.save();
65
+ ctx.beginPath();
66
+ ctx.rect(0, yTop, stageW, rowH);
67
+ ctx.clip();
68
+ ctx.globalAlpha = 0.85;
69
+ ctx.fillStyle = target.color;
70
+ for (let bx = 0; bx <= Math.ceil(stageW); bx += cell) {
71
+ for (let by = Math.floor(yTop); by <= Math.ceil(yTop + rowH); by += cell) {
72
+ const jx = bx + cell / 2;
73
+ const jy = by + cell / 2;
74
+ const jit = hash(jx, jy);
75
+ const waveRaw = reducedMotion ? 0 : Math.sin(jx * 0.05 + t2) + Math.sin(jy * 0.05 + t2 * 0.7);
76
+ const mod = smoothstep(-1.5, 1.5, waveRaw);
77
+ const sz = cell * (0.35 + 0.35 * mod) * (0.8 + 0.4 * jit);
78
+ ctx.fillRect(bx + (cell - sz) / 2, by + (cell - sz) / 2, sz, sz);
79
+ }
80
+ }
81
+ ctx.restore();
82
+ }
83
+ ctx.restore();
84
+ };
85
+ req = requestAnimationFrame(draw);
86
+ return () => cancelAnimationFrame(req);
87
+ }, [period, reducedMotion]);
88
+ return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex flex-col items-center justify-center p-2", children: /* @__PURE__ */ jsx("div", { className: "relative w-full h-[140px] flex items-center justify-center", children: /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-full pointer-events-none" }) }) });
89
+ }
90
+
91
+ export {
92
+ DitherFunnelChart
93
+ };
@@ -0,0 +1,34 @@
1
+ // .generated/catalog/components/IconSwap.tsx
2
+ import { AnimatePresence, motion } from "framer-motion";
3
+ import { jsx } from "react/jsx-runtime";
4
+ function IconSwap({ children }) {
5
+ return /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children });
6
+ }
7
+ function IconSwapItem({
8
+ children,
9
+ className,
10
+ ...props
11
+ }) {
12
+ return /* @__PURE__ */ jsx(
13
+ motion.span,
14
+ {
15
+ initial: { opacity: 0, scale: 0.25, filter: "blur(4px)" },
16
+ animate: { opacity: 1, scale: 1, filter: "blur(0px)" },
17
+ exit: { opacity: 0, scale: 0.25, filter: "blur(4px)" },
18
+ transition: {
19
+ type: "spring",
20
+ duration: 0.3,
21
+ bounce: 0
22
+ },
23
+ style: { display: "inline-flex", alignItems: "center", justifyContent: "center" },
24
+ className,
25
+ ...props,
26
+ children
27
+ }
28
+ );
29
+ }
30
+
31
+ export {
32
+ IconSwap,
33
+ IconSwapItem
34
+ };
@@ -0,0 +1,107 @@
1
+ import {
2
+ useCanvasSetup
3
+ } from "./chunk-GDCQNKP7.js";
4
+
5
+ // .generated/catalog/components/dither-charts/RevenueLineChart.tsx
6
+ import { useEffect, useRef, useState } from "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ var REVENUE_DATA = [
9
+ { name: "This Week", total: 12450, data: [1200, 1500, 1100, 1800, 2200, 2900, 1750] },
10
+ { name: "Last Week", total: 9800, data: [900, 1100, 800, 1300, 1600, 2100, 2e3] }
11
+ ];
12
+ var smoothstep = (min, max, value) => {
13
+ const x = Math.max(0, Math.min(1, (value - min) / (max - min)));
14
+ return x * x * (3 - 2 * x);
15
+ };
16
+ var hash = (x, y) => {
17
+ let h = Math.sin(x * 12.9898 + y * 78.233) * 43758.5453;
18
+ return h - Math.floor(h);
19
+ };
20
+ function RevenueLineChart({ theme = "dark", compact = false }) {
21
+ const [periodIndex, setPeriodIndex] = useState(0);
22
+ const period = REVENUE_DATA[periodIndex];
23
+ const { canvasRef, rect, isVisible, reducedMotion } = useCanvasSetup();
24
+ const targetDataRef = useRef(period.data);
25
+ const fromDataRef = useRef(period.data);
26
+ const morphStartTimeRef = useRef(0);
27
+ useEffect(() => {
28
+ fromDataRef.current = targetDataRef.current;
29
+ targetDataRef.current = period.data;
30
+ morphStartTimeRef.current = performance.now();
31
+ }, [period]);
32
+ useEffect(() => {
33
+ let req;
34
+ let time = 0;
35
+ const draw = () => {
36
+ if (!isVisible.current) {
37
+ req = requestAnimationFrame(draw);
38
+ return;
39
+ }
40
+ const canvas = canvasRef.current;
41
+ if (!canvas) return;
42
+ const ctx = canvas.getContext("2d");
43
+ if (!ctx) return;
44
+ const { width: w, height: h } = rect.current;
45
+ if (w === 0 || h === 0) {
46
+ req = requestAnimationFrame(draw);
47
+ return;
48
+ }
49
+ time += reducedMotion ? 0 : 0.02;
50
+ const dpr = Math.min(window.devicePixelRatio || 1, 2);
51
+ ctx.save();
52
+ ctx.scale(dpr, dpr);
53
+ ctx.clearRect(0, 0, w, h);
54
+ const prog = reducedMotion ? 1 : Math.min(1, (performance.now() - morphStartTimeRef.current) / 500);
55
+ const e = 1 - Math.pow(2, -10 * prog);
56
+ const points = period.data.length;
57
+ const maxVal = Math.max(...period.data, ...fromDataRef.current) * 1.2;
58
+ const stepX = w / (points - 1);
59
+ const cell = Math.max(2, Math.round(w / 200));
60
+ ctx.beginPath();
61
+ for (let i = 0; i < points; i++) {
62
+ const target = targetDataRef.current[i];
63
+ const from = fromDataRef.current[i];
64
+ const val = from + (target - from) * e;
65
+ const x = i * stepX;
66
+ const y = h - val / maxVal * h;
67
+ if (i === 0) ctx.moveTo(x, y);
68
+ else ctx.lineTo(x, y);
69
+ }
70
+ ctx.lineWidth = 2.5;
71
+ ctx.strokeStyle = "#FFFFFF";
72
+ ctx.lineJoin = "round";
73
+ ctx.lineCap = "round";
74
+ ctx.stroke();
75
+ ctx.lineTo(w, h);
76
+ ctx.lineTo(0, h);
77
+ ctx.closePath();
78
+ ctx.save();
79
+ ctx.clip();
80
+ ctx.fillStyle = "#FFFFFF";
81
+ for (let x = 0; x <= w; x += cell) {
82
+ for (let y = 0; y <= h; y += cell) {
83
+ const jx = x + cell / 2;
84
+ const jy = y + cell / 2;
85
+ const jit = hash(jx, jy);
86
+ const gradientFalloff = Math.max(0, 1 - jy / h);
87
+ const waveRaw = reducedMotion ? 0 : Math.sin(jx * 0.05 + time) + Math.sin(jy * 0.05 + time * 0.7);
88
+ const mod = smoothstep(-1.5, 1.5, waveRaw);
89
+ const sz = cell * (0.3 * gradientFalloff + 0.3 * mod) * (0.8 + 0.4 * jit);
90
+ if (sz > 0) {
91
+ ctx.fillRect(x + (cell - sz) / 2, y + (cell - sz) / 2, sz, sz);
92
+ }
93
+ }
94
+ }
95
+ ctx.restore();
96
+ ctx.restore();
97
+ req = requestAnimationFrame(draw);
98
+ };
99
+ req = requestAnimationFrame(draw);
100
+ return () => cancelAnimationFrame(req);
101
+ }, [period, reducedMotion]);
102
+ return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex flex-col items-center justify-center p-2", children: /* @__PURE__ */ jsx("div", { className: "relative w-full h-[120px] flex items-center justify-center", children: /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-full" }) }) });
103
+ }
104
+
105
+ export {
106
+ RevenueLineChart
107
+ };
@@ -0,0 +1,141 @@
1
+ import {
2
+ useCanvasSetup
3
+ } from "./chunk-GDCQNKP7.js";
4
+
5
+ // .generated/catalog/components/dither-charts/ActivityHeatmap.tsx
6
+ import { useEffect, useRef, useState, useMemo } from "react";
7
+ import { motion, useSpring, useTransform, useReducedMotion } from "framer-motion";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ var PERIODS = [
10
+ { name: "Last 3 Months", weeks: 12 },
11
+ { name: "Last 6 Months", weeks: 24 }
12
+ ];
13
+ var smoothstep = (min, max, value) => {
14
+ const x = Math.max(0, Math.min(1, (value - min) / (max - min)));
15
+ return x * x * (3 - 2 * x);
16
+ };
17
+ var hash = (x, y) => {
18
+ let h = Math.sin(x * 12.9898 + y * 78.233) * 43758.5453;
19
+ return h - Math.floor(h);
20
+ };
21
+ function AnimatedNumber({ value }) {
22
+ const prefersReducedMotion = useReducedMotion();
23
+ const spring = useSpring(value, { stiffness: 190, damping: 27, mass: 0.7 });
24
+ const display = useTransform(
25
+ spring,
26
+ (current) => Math.round(current).toLocaleString("en-US")
27
+ );
28
+ useEffect(() => {
29
+ if (prefersReducedMotion) spring.jump(value);
30
+ else spring.set(value);
31
+ }, [value, spring, prefersReducedMotion]);
32
+ return /* @__PURE__ */ jsx(motion.span, { className: "tabular-nums", children: display });
33
+ }
34
+ function ActivityHeatmap({ theme = "dark", compact = false }) {
35
+ const [periodIndex, setPeriodIndex] = useState(0);
36
+ const { canvasRef, rect, isVisible, reducedMotion } = useCanvasSetup();
37
+ const period = PERIODS[periodIndex];
38
+ const { data, total } = useMemo(() => {
39
+ const weeks = period.weeks;
40
+ const newData = [];
41
+ let tot = 0;
42
+ for (let w = 0; w < weeks; w++) {
43
+ const col = [];
44
+ for (let d = 0; d < 7; d++) {
45
+ const val = Math.floor(Math.sin(w * 0.5 + d * 0.2) * 2 + Math.cos(w * 1.2) * 1.5 + 2);
46
+ const clamped = Math.max(0, Math.min(4, val));
47
+ col.push(clamped);
48
+ tot += clamped * 10;
49
+ }
50
+ newData.push(col);
51
+ }
52
+ return { data: newData, total: tot };
53
+ }, [periodIndex]);
54
+ const targetDataRef = useRef(data);
55
+ const fromDataRef = useRef(data);
56
+ const morphStartTimeRef = useRef(0);
57
+ const timeRef = useRef(0);
58
+ useEffect(() => {
59
+ fromDataRef.current = targetDataRef.current;
60
+ targetDataRef.current = data;
61
+ morphStartTimeRef.current = performance.now();
62
+ }, [data]);
63
+ useEffect(() => {
64
+ let req;
65
+ const draw = () => {
66
+ if (!isVisible.current) {
67
+ req = requestAnimationFrame(draw);
68
+ return;
69
+ }
70
+ const canvas = canvasRef.current;
71
+ if (!canvas) return;
72
+ const ctx = canvas.getContext("2d");
73
+ if (!ctx) return;
74
+ const { width: w, height: h } = rect.current;
75
+ if (w === 0 || h === 0) {
76
+ req = requestAnimationFrame(draw);
77
+ return;
78
+ }
79
+ timeRef.current += reducedMotion ? 0 : 0.02;
80
+ const dpr = Math.min(window.devicePixelRatio || 1, 2);
81
+ ctx.save();
82
+ ctx.scale(dpr, dpr);
83
+ ctx.clearRect(0, 0, w, h);
84
+ const prog = reducedMotion ? 1 : Math.min(1, (performance.now() - morphStartTimeRef.current) / 500);
85
+ const e = 1 - Math.pow(2, -10 * prog);
86
+ const weeks = Math.max(fromDataRef.current.length, targetDataRef.current.length);
87
+ const cellSize = 10;
88
+ const gap = 2.5;
89
+ const totalW = weeks * (cellSize + gap) - gap;
90
+ const totalH = 7 * (cellSize + gap) - gap;
91
+ const startX = (w - totalW) / 2;
92
+ const startY = (h - totalH) / 2;
93
+ const colors = ["rgba(255,255,255,0.15)", "rgba(255,255,255,0.35)", "rgba(255,255,255,0.55)", "rgba(255,255,255,0.75)", "#FFFFFF"];
94
+ const cell = Math.max(2, Math.round(w / 250));
95
+ const t2 = timeRef.current;
96
+ for (let wk = 0; wk < weeks; wk++) {
97
+ for (let d = 0; d < 7; d++) {
98
+ const targetVal = targetDataRef.current[wk]?.[d] || 0;
99
+ const fromVal = fromDataRef.current[wk]?.[d] || 0;
100
+ const val = fromVal + (targetVal - fromVal) * e;
101
+ const x = startX + wk * (cellSize + gap);
102
+ const y = startY + d * (cellSize + gap);
103
+ const colorIdx = Math.max(0, Math.min(4, Math.round(val)));
104
+ ctx.save();
105
+ ctx.beginPath();
106
+ ctx.rect(x, y, cellSize, cellSize);
107
+ ctx.clip();
108
+ ctx.globalAlpha = 0.85;
109
+ ctx.fillStyle = colors[colorIdx];
110
+ for (let tx = Math.floor(x); tx <= Math.ceil(x + cellSize); tx += cell) {
111
+ for (let ty = Math.floor(y); ty <= Math.ceil(y + cellSize); ty += cell) {
112
+ const jx = tx + cell / 2;
113
+ const jy = ty + cell / 2;
114
+ const jit = hash(jx, jy);
115
+ const waveRaw = reducedMotion ? 0 : Math.sin(jx * 0.05 + t2) + Math.sin(jy * 0.05 + t2 * 0.7);
116
+ const mod = smoothstep(-1.5, 1.5, waveRaw);
117
+ const sz = cell * (0.4 + 0.4 * mod) * (0.8 + 0.4 * jit);
118
+ ctx.fillRect(tx + (cell - sz) / 2, ty + (cell - sz) / 2, sz, sz);
119
+ }
120
+ }
121
+ ctx.restore();
122
+ }
123
+ }
124
+ ctx.restore();
125
+ req = requestAnimationFrame(draw);
126
+ };
127
+ req = requestAnimationFrame(draw);
128
+ return () => cancelAnimationFrame(req);
129
+ }, [reducedMotion]);
130
+ return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex flex-col items-center justify-center p-2", children: /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col items-center gap-2", children: [
131
+ !compact && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between w-full px-2", children: /* @__PURE__ */ jsxs("span", { className: `text-xs font-semibold ${theme === "dark" ? "text-white" : "text-black"}`, children: [
132
+ /* @__PURE__ */ jsx(AnimatedNumber, { value: total }),
133
+ " contributions"
134
+ ] }) }),
135
+ /* @__PURE__ */ jsx("div", { className: "w-full flex justify-center", children: /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-[120px]" }) })
136
+ ] }) });
137
+ }
138
+
139
+ export {
140
+ ActivityHeatmap
141
+ };
@@ -0,0 +1,261 @@
1
+ // .generated/catalog/components/simple-comp/DitherDonutChart.tsx
2
+ import { useEffect, useRef, useState, useMemo } from "react";
3
+ import { motion, useSpring, useTransform, useReducedMotion } from "framer-motion";
4
+ import { Users } from "lucide-react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ var PLANS = [
7
+ { name: "Unlimited", color: "#FFFFFF", base: 1240 },
8
+ { name: "30-day pass", color: "#E2E8F0", base: 980 },
9
+ { name: "10-class pack", color: "#CBD5E1", base: 620 },
10
+ { name: "Drop-in", color: "#94A3B8", base: 410 },
11
+ { name: "Student", color: "#64748B", base: 300 }
12
+ ];
13
+ var PERIODS = [
14
+ { name: "Week", mult: 0.42 },
15
+ { name: "Month", mult: 1 },
16
+ { name: "Quarter", mult: 2.6 },
17
+ { name: "Year", mult: 8.4 }
18
+ ];
19
+ var smoothstep = (min, max, value) => {
20
+ const x = Math.max(0, Math.min(1, (value - min) / (max - min)));
21
+ return x * x * (3 - 2 * x);
22
+ };
23
+ var hash = (x, y) => {
24
+ let h = Math.sin(x * 12.9898 + y * 78.233) * 43758.5453;
25
+ return h - Math.floor(h);
26
+ };
27
+ var hexToRgba = (hex, alpha) => {
28
+ const r = parseInt(hex.slice(1, 3), 16);
29
+ const g = parseInt(hex.slice(3, 5), 16);
30
+ const b = parseInt(hex.slice(5, 7), 16);
31
+ return `rgba(${r}, ${g}, ${b}, ${alpha})`;
32
+ };
33
+ var drawRoundedWedge = (ctx, cx, cy, rIn, rOut, aStart, aEnd, cr) => {
34
+ const sweep = aEnd - aStart;
35
+ const maxCr = Math.min(cr, (rOut - rIn) / 2, sweep * rIn / 2);
36
+ if (sweep <= 1e-3) return;
37
+ const crIn = maxCr;
38
+ const crOut = maxCr;
39
+ const aStartIn = aStart + crIn / rIn;
40
+ const aEndIn = aEnd - crIn / rIn;
41
+ const aStartOut = aStart + crOut / rOut;
42
+ const aEndOut = aEnd - crOut / rOut;
43
+ ctx.moveTo(cx + rIn * Math.cos(aStartIn), cy + rIn * Math.sin(aStartIn));
44
+ ctx.arc(cx, cy, rIn, aStartIn, aEndIn);
45
+ ctx.arcTo(
46
+ cx + rIn * Math.cos(aEnd),
47
+ cy + rIn * Math.sin(aEnd),
48
+ cx + rOut * Math.cos(aEnd),
49
+ cy + rOut * Math.sin(aEnd),
50
+ crIn
51
+ );
52
+ ctx.arcTo(
53
+ cx + rOut * Math.cos(aEnd),
54
+ cy + rOut * Math.sin(aEnd),
55
+ cx + rOut * Math.cos(aEndOut),
56
+ cy + rOut * Math.sin(aEndOut),
57
+ crOut
58
+ );
59
+ ctx.arc(cx, cy, rOut, aEndOut, aStartOut, true);
60
+ ctx.arcTo(
61
+ cx + rOut * Math.cos(aStart),
62
+ cy + rOut * Math.sin(aStart),
63
+ cx + rIn * Math.cos(aStart),
64
+ cy + rIn * Math.sin(aStart),
65
+ crOut
66
+ );
67
+ ctx.arcTo(
68
+ cx + rIn * Math.cos(aStart),
69
+ cy + rIn * Math.sin(aStart),
70
+ cx + rIn * Math.cos(aStartIn),
71
+ cy + rIn * Math.sin(aStartIn),
72
+ crIn
73
+ );
74
+ };
75
+ function DitherDonutChart({ theme = "dark", compact = false }) {
76
+ const [periodIndex, setPeriodIndex] = useState(1);
77
+ const [hoverIndex, setHoverIndex] = useState(null);
78
+ const canvasRef = useRef(null);
79
+ const period = PERIODS[periodIndex];
80
+ const { values, shares, total } = useMemo(() => {
81
+ let newTotal = 0;
82
+ const newValues = PLANS.map((plan, i) => {
83
+ const w = 0.78 + 0.4 * (0.5 + 0.5 * Math.sin(i * 1.9 + periodIndex * 1.3));
84
+ const val = Math.round(plan.base * period.mult * w);
85
+ newTotal += val;
86
+ return val;
87
+ });
88
+ const newShares = newValues.map((v) => v / newTotal);
89
+ return { values: newValues, shares: newShares, total: newTotal };
90
+ }, [periodIndex]);
91
+ const timeRef = useRef(0);
92
+ const requestRef = useRef(void 0);
93
+ const morphStartTimeRef = useRef(0);
94
+ const fromSharesRef = useRef([]);
95
+ const targetSharesRef = useRef([]);
96
+ const dispSharesRef = useRef([]);
97
+ const hoverRef = useRef(hoverIndex);
98
+ useEffect(() => {
99
+ hoverRef.current = hoverIndex;
100
+ }, [hoverIndex]);
101
+ useEffect(() => {
102
+ if (dispSharesRef.current.length === 0) {
103
+ dispSharesRef.current = [...shares];
104
+ fromSharesRef.current = [...shares];
105
+ targetSharesRef.current = [...shares];
106
+ } else {
107
+ fromSharesRef.current = [...dispSharesRef.current];
108
+ targetSharesRef.current = [...shares];
109
+ morphStartTimeRef.current = performance.now();
110
+ }
111
+ }, [shares]);
112
+ useEffect(() => {
113
+ const draw = () => {
114
+ timeRef.current += 0.02;
115
+ const canvas = canvasRef.current;
116
+ if (!canvas) return;
117
+ const ctx = canvas.getContext("2d");
118
+ if (!ctx) return;
119
+ const dpr = Math.min(window.devicePixelRatio || 1, 2);
120
+ const logicalSize = 200;
121
+ const rect = canvas.getBoundingClientRect();
122
+ if (canvas.width !== rect.width * dpr || canvas.height !== rect.height * dpr) {
123
+ canvas.width = rect.width * dpr;
124
+ canvas.height = rect.height * dpr;
125
+ }
126
+ ctx.save();
127
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
128
+ ctx.scale(rect.width * dpr / logicalSize, rect.height * dpr / logicalSize);
129
+ let t = 0;
130
+ if (morphStartTimeRef.current > 0) {
131
+ t = (performance.now() - morphStartTimeRef.current) / 500;
132
+ if (t > 1) t = 1;
133
+ } else {
134
+ t = 1;
135
+ }
136
+ const reducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
137
+ if (reducedMotion) {
138
+ t = 1;
139
+ timeRef.current = 0;
140
+ }
141
+ const e = 1 - Math.pow(2, -10 * t);
142
+ for (let i = 0; i < targetSharesRef.current.length; i++) {
143
+ dispSharesRef.current[i] = fromSharesRef.current[i] + (targetSharesRef.current[i] - fromSharesRef.current[i]) * e;
144
+ }
145
+ let startAngle = -Math.PI / 2;
146
+ const gap = 0.07;
147
+ const currentHover = hoverRef.current;
148
+ for (let i = 0; i < dispSharesRef.current.length; i++) {
149
+ const share = dispSharesRef.current[i];
150
+ if (share === 0) continue;
151
+ let sweep = share * Math.PI * 2;
152
+ let aStart = startAngle + gap / 2;
153
+ let aEnd = startAngle + sweep - gap / 2;
154
+ if (aEnd < aStart) aEnd = aStart;
155
+ ctx.save();
156
+ const isHovered = currentHover === i;
157
+ const isAnyHovered = currentHover !== null;
158
+ if (isHovered) {
159
+ const mid = (aStart + aEnd) / 2;
160
+ ctx.translate(Math.cos(mid) * 6, Math.sin(mid) * 6);
161
+ }
162
+ ctx.beginPath();
163
+ drawRoundedWedge(ctx, 100, 100, 55, 86, aStart, aEnd, 6);
164
+ ctx.clip();
165
+ ctx.globalAlpha = isHovered ? 1 : isAnyHovered ? 0.3 * 0.72 : 0.72;
166
+ ctx.fillStyle = PLANS[i].color;
167
+ if (isHovered) {
168
+ ctx.shadowColor = hexToRgba(PLANS[i].color, 0.55);
169
+ ctx.shadowBlur = 5;
170
+ ctx.shadowOffsetX = 0;
171
+ ctx.shadowOffsetY = 0;
172
+ }
173
+ const cell = 4.6;
174
+ for (let x = 14; x <= 186; x += cell) {
175
+ for (let y = 14; y <= 186; y += cell) {
176
+ const dx = x - 100;
177
+ const dy = y - 100;
178
+ const dist = Math.sqrt(dx * dx + dy * dy);
179
+ if (dist < 55 - cell || dist > 86 + cell) continue;
180
+ let a = Math.atan2(dy, dx);
181
+ let normalizedA = a - aStart;
182
+ while (normalizedA < 0) normalizedA += Math.PI * 2;
183
+ while (normalizedA >= Math.PI * 2) normalizedA -= Math.PI * 2;
184
+ if (normalizedA > aEnd - aStart) continue;
185
+ const fullness = smoothstep(0.62, 1, (dist - 55) / (86 - 55));
186
+ const waveRaw = Math.sin(dist * 0.1 - timeRef.current) + Math.sin(a * 3 + timeRef.current * 1.5) + Math.sin(dx * 0.05 + dy * 0.05 + timeRef.current * 2);
187
+ const wave = smoothstep(-1.5, 1.5, waveRaw);
188
+ const jitter = hash(x, y);
189
+ const size = cell * ((isHovered ? 0.46 : 0.34) + 0.36 * fullness + 0.26 * wave) * (0.78 + 0.42 * jitter);
190
+ ctx.fillRect(x - size / 2, y - size / 2, size, size);
191
+ }
192
+ }
193
+ ctx.restore();
194
+ startAngle += sweep;
195
+ }
196
+ ctx.restore();
197
+ requestRef.current = requestAnimationFrame(draw);
198
+ };
199
+ requestRef.current = requestAnimationFrame(draw);
200
+ return () => {
201
+ if (requestRef.current) cancelAnimationFrame(requestRef.current);
202
+ };
203
+ }, []);
204
+ if (compact) {
205
+ return /* @__PURE__ */ jsx("div", { className: "relative w-full h-full flex items-center justify-center p-2", children: /* @__PURE__ */ jsx("div", { className: "relative w-[130px] h-[130px]", children: /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-full block" }) }) });
206
+ }
207
+ return /* @__PURE__ */ jsxs("div", { className: `relative w-full rounded-3xl p-6 transition-colors border ${theme === "dark" ? "bg-[#181818] border-white/5 text-white" : "bg-white border-neutral-200 text-black shadow-lg"}`, children: [
208
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-4", children: [
209
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
210
+ /* @__PURE__ */ jsx("div", { className: `p-2 rounded-xl ${theme === "dark" ? "bg-blue-500/10 text-blue-400" : "bg-blue-50 text-blue-600"}`, children: /* @__PURE__ */ jsx(Users, { className: "w-4 h-4" }) }),
211
+ /* @__PURE__ */ jsxs("div", { children: [
212
+ /* @__PURE__ */ jsx("h4", { className: "text-sm font-bold", children: "Plan Distribution" }),
213
+ /* @__PURE__ */ jsx("p", { className: `text-[11px] ${theme === "dark" ? "text-neutral-400" : "text-neutral-500"}`, children: "Dithered canvas chart with real-time spring physics" })
214
+ ] })
215
+ ] }),
216
+ /* @__PURE__ */ jsx("div", { className: `flex items-center p-1 rounded-full border text-xs font-medium ${theme === "dark" ? "bg-[#131313] border-white/10" : "bg-neutral-100 border-neutral-200"}`, children: PERIODS.map((p, idx) => /* @__PURE__ */ jsx(
217
+ "button",
218
+ {
219
+ onClick: () => setPeriodIndex(idx),
220
+ className: `px-2.5 py-1 rounded-full transition-all cursor-pointer ${periodIndex === idx ? theme === "dark" ? "bg-blue-600 text-white" : "bg-blue-600 text-white" : theme === "dark" ? "text-neutral-400 hover:text-white" : "text-neutral-600 hover:text-black"}`,
221
+ children: p.name
222
+ },
223
+ p.name
224
+ )) })
225
+ ] }),
226
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row items-center gap-6", children: [
227
+ /* @__PURE__ */ jsx("div", { className: "relative w-[180px] h-[180px] shrink-0", children: /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className: "w-full h-full block" }) }),
228
+ /* @__PURE__ */ jsx("div", { className: "flex-1 w-full space-y-2", children: PLANS.map((plan, idx) => {
229
+ const val = values[idx];
230
+ const pct = Math.round(shares[idx] * 100);
231
+ const isHovered = hoverIndex === idx;
232
+ return /* @__PURE__ */ jsxs(
233
+ "div",
234
+ {
235
+ onMouseEnter: () => setHoverIndex(idx),
236
+ onMouseLeave: () => setHoverIndex(null),
237
+ className: `flex items-center justify-between p-2 rounded-xl transition-all cursor-pointer border ${isHovered ? theme === "dark" ? "bg-white/10 border-white/20" : "bg-neutral-100 border-neutral-300" : "border-transparent hover:bg-white/5"}`,
238
+ children: [
239
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5", children: [
240
+ /* @__PURE__ */ jsx("div", { className: "w-2.5 h-2.5 rounded-full", style: { backgroundColor: plan.color } }),
241
+ /* @__PURE__ */ jsx("span", { className: "text-xs font-medium", children: plan.name })
242
+ ] }),
243
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-xs", children: [
244
+ /* @__PURE__ */ jsx("span", { className: `font-semibold ${theme === "dark" ? "text-neutral-300" : "text-neutral-700"}`, children: val.toLocaleString() }),
245
+ /* @__PURE__ */ jsxs("span", { className: `text-[10px] w-8 text-right font-mono ${theme === "dark" ? "text-neutral-500" : "text-neutral-400"}`, children: [
246
+ pct,
247
+ "%"
248
+ ] })
249
+ ] })
250
+ ]
251
+ },
252
+ plan.name
253
+ );
254
+ }) })
255
+ ] })
256
+ ] });
257
+ }
258
+
259
+ export {
260
+ DitherDonutChart
261
+ };