react-native-metrify 0.1.0-alpha.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/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +332 -0
- package/dist/cjs/core/animation/index.js +99 -0
- package/dist/cjs/core/animation/index.js.map +1 -0
- package/dist/cjs/core/animation/index.web.js +95 -0
- package/dist/cjs/core/animation/index.web.js.map +1 -0
- package/dist/cjs/core/hooks/index.js +50 -0
- package/dist/cjs/core/hooks/index.js.map +1 -0
- package/dist/cjs/core/index.js +36 -0
- package/dist/cjs/core/index.js.map +1 -0
- package/dist/cjs/core/layout/index.js +80 -0
- package/dist/cjs/core/layout/index.js.map +1 -0
- package/dist/cjs/core/math/index.js +62 -0
- package/dist/cjs/core/math/index.js.map +1 -0
- package/dist/cjs/core/theme/ThemeProvider.js +63 -0
- package/dist/cjs/core/theme/ThemeProvider.js.map +1 -0
- package/dist/cjs/core/theme/index.js +13 -0
- package/dist/cjs/core/theme/index.js.map +1 -0
- package/dist/cjs/core/theme/themes.js +120 -0
- package/dist/cjs/core/theme/themes.js.map +1 -0
- package/dist/cjs/core/types/index.js +11 -0
- package/dist/cjs/core/types/index.js.map +1 -0
- package/dist/cjs/core/utils/responsive.js +118 -0
- package/dist/cjs/core/utils/responsive.js.map +1 -0
- package/dist/cjs/core/utils/time.js +84 -0
- package/dist/cjs/core/utils/time.js.map +1 -0
- package/dist/cjs/index.js +28 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/renderer-svg/adapters/index.js +67 -0
- package/dist/cjs/renderer-svg/adapters/index.js.map +1 -0
- package/dist/cjs/renderer-svg/index.js +25 -0
- package/dist/cjs/renderer-svg/index.js.map +1 -0
- package/dist/cjs/renderer-svg/paths/arc.js +79 -0
- package/dist/cjs/renderer-svg/paths/arc.js.map +1 -0
- package/dist/cjs/renderer-svg/paths/index.js +23 -0
- package/dist/cjs/renderer-svg/paths/index.js.map +1 -0
- package/dist/cjs/renderer-svg/paths/line.js +70 -0
- package/dist/cjs/renderer-svg/paths/line.js.map +1 -0
- package/dist/cjs/renderer-svg/paths/rect.js +54 -0
- package/dist/cjs/renderer-svg/paths/rect.js.map +1 -0
- package/dist/cjs/renderer-svg/primitives/AnimatedCircle.js +54 -0
- package/dist/cjs/renderer-svg/primitives/AnimatedCircle.js.map +1 -0
- package/dist/cjs/renderer-svg/primitives/AnimatedPath.js +54 -0
- package/dist/cjs/renderer-svg/primitives/AnimatedPath.js.map +1 -0
- package/dist/cjs/renderer-svg/primitives/Text.js +66 -0
- package/dist/cjs/renderer-svg/primitives/Text.js.map +1 -0
- package/dist/cjs/renderer-svg/primitives/index.js +23 -0
- package/dist/cjs/renderer-svg/primitives/index.js.map +1 -0
- package/dist/cjs/widgets/AreaChart/AreaChart.js +179 -0
- package/dist/cjs/widgets/AreaChart/AreaChart.js.map +1 -0
- package/dist/cjs/widgets/AreaChart/index.js +6 -0
- package/dist/cjs/widgets/AreaChart/index.js.map +1 -0
- package/dist/cjs/widgets/AreaChart/types.js +3 -0
- package/dist/cjs/widgets/AreaChart/types.js.map +1 -0
- package/dist/cjs/widgets/BarChart/BarChart.js +203 -0
- package/dist/cjs/widgets/BarChart/BarChart.js.map +1 -0
- package/dist/cjs/widgets/BarChart/index.js +9 -0
- package/dist/cjs/widgets/BarChart/index.js.map +1 -0
- package/dist/cjs/widgets/BarChart/types.js +3 -0
- package/dist/cjs/widgets/BarChart/types.js.map +1 -0
- package/dist/cjs/widgets/BoxPlot/BoxPlot.js +186 -0
- package/dist/cjs/widgets/BoxPlot/BoxPlot.js.map +1 -0
- package/dist/cjs/widgets/BoxPlot/index.js +6 -0
- package/dist/cjs/widgets/BoxPlot/index.js.map +1 -0
- package/dist/cjs/widgets/BoxPlot/types.js +3 -0
- package/dist/cjs/widgets/BoxPlot/types.js.map +1 -0
- package/dist/cjs/widgets/BubbleChart/BubbleChart.js +158 -0
- package/dist/cjs/widgets/BubbleChart/BubbleChart.js.map +1 -0
- package/dist/cjs/widgets/BubbleChart/index.js +6 -0
- package/dist/cjs/widgets/BubbleChart/index.js.map +1 -0
- package/dist/cjs/widgets/BubbleChart/types.js +3 -0
- package/dist/cjs/widgets/BubbleChart/types.js.map +1 -0
- package/dist/cjs/widgets/CandlestickChart/CandlestickChart.js +168 -0
- package/dist/cjs/widgets/CandlestickChart/CandlestickChart.js.map +1 -0
- package/dist/cjs/widgets/CandlestickChart/index.js +6 -0
- package/dist/cjs/widgets/CandlestickChart/index.js.map +1 -0
- package/dist/cjs/widgets/CandlestickChart/types.js +3 -0
- package/dist/cjs/widgets/CandlestickChart/types.js.map +1 -0
- package/dist/cjs/widgets/FunnelChart/FunnelChart.js +149 -0
- package/dist/cjs/widgets/FunnelChart/FunnelChart.js.map +1 -0
- package/dist/cjs/widgets/FunnelChart/index.js +6 -0
- package/dist/cjs/widgets/FunnelChart/index.js.map +1 -0
- package/dist/cjs/widgets/FunnelChart/types.js +3 -0
- package/dist/cjs/widgets/FunnelChart/types.js.map +1 -0
- package/dist/cjs/widgets/Gauge/Gauge.js +171 -0
- package/dist/cjs/widgets/Gauge/Gauge.js.map +1 -0
- package/dist/cjs/widgets/Gauge/index.js +9 -0
- package/dist/cjs/widgets/Gauge/index.js.map +1 -0
- package/dist/cjs/widgets/Gauge/types.js +3 -0
- package/dist/cjs/widgets/Gauge/types.js.map +1 -0
- package/dist/cjs/widgets/GroupedBarChart/GroupedBarChart.js +155 -0
- package/dist/cjs/widgets/GroupedBarChart/GroupedBarChart.js.map +1 -0
- package/dist/cjs/widgets/GroupedBarChart/index.js +6 -0
- package/dist/cjs/widgets/GroupedBarChart/index.js.map +1 -0
- package/dist/cjs/widgets/GroupedBarChart/types.js +3 -0
- package/dist/cjs/widgets/GroupedBarChart/types.js.map +1 -0
- package/dist/cjs/widgets/Heatmap/Heatmap.js +182 -0
- package/dist/cjs/widgets/Heatmap/Heatmap.js.map +1 -0
- package/dist/cjs/widgets/Heatmap/index.js +6 -0
- package/dist/cjs/widgets/Heatmap/index.js.map +1 -0
- package/dist/cjs/widgets/Heatmap/types.js +3 -0
- package/dist/cjs/widgets/Heatmap/types.js.map +1 -0
- package/dist/cjs/widgets/Histogram/Histogram.js +152 -0
- package/dist/cjs/widgets/Histogram/Histogram.js.map +1 -0
- package/dist/cjs/widgets/Histogram/index.js +6 -0
- package/dist/cjs/widgets/Histogram/index.js.map +1 -0
- package/dist/cjs/widgets/Histogram/types.js +3 -0
- package/dist/cjs/widgets/Histogram/types.js.map +1 -0
- package/dist/cjs/widgets/HorizontalBarChart/HorizontalBarChart.js +124 -0
- package/dist/cjs/widgets/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/dist/cjs/widgets/HorizontalBarChart/index.js +6 -0
- package/dist/cjs/widgets/HorizontalBarChart/index.js.map +1 -0
- package/dist/cjs/widgets/HorizontalBarChart/types.js +3 -0
- package/dist/cjs/widgets/HorizontalBarChart/types.js.map +1 -0
- package/dist/cjs/widgets/KPI/KPI.js +195 -0
- package/dist/cjs/widgets/KPI/KPI.js.map +1 -0
- package/dist/cjs/widgets/KPI/index.js +9 -0
- package/dist/cjs/widgets/KPI/index.js.map +1 -0
- package/dist/cjs/widgets/KPI/types.js +3 -0
- package/dist/cjs/widgets/KPI/types.js.map +1 -0
- package/dist/cjs/widgets/LineChart/LineChart.js +298 -0
- package/dist/cjs/widgets/LineChart/LineChart.js.map +1 -0
- package/dist/cjs/widgets/LineChart/index.js +9 -0
- package/dist/cjs/widgets/LineChart/index.js.map +1 -0
- package/dist/cjs/widgets/LineChart/types.js +3 -0
- package/dist/cjs/widgets/LineChart/types.js.map +1 -0
- package/dist/cjs/widgets/MultiLineSparkline/MultiLineSparkline.js +192 -0
- package/dist/cjs/widgets/MultiLineSparkline/MultiLineSparkline.js.map +1 -0
- package/dist/cjs/widgets/MultiLineSparkline/index.js +9 -0
- package/dist/cjs/widgets/MultiLineSparkline/index.js.map +1 -0
- package/dist/cjs/widgets/MultiLineSparkline/types.js +3 -0
- package/dist/cjs/widgets/MultiLineSparkline/types.js.map +1 -0
- package/dist/cjs/widgets/PieChart/PieChart.js +241 -0
- package/dist/cjs/widgets/PieChart/PieChart.js.map +1 -0
- package/dist/cjs/widgets/PieChart/index.js +9 -0
- package/dist/cjs/widgets/PieChart/index.js.map +1 -0
- package/dist/cjs/widgets/PieChart/types.js +3 -0
- package/dist/cjs/widgets/PieChart/types.js.map +1 -0
- package/dist/cjs/widgets/Progress/Progress.js +166 -0
- package/dist/cjs/widgets/Progress/Progress.js.map +1 -0
- package/dist/cjs/widgets/Progress/index.js +9 -0
- package/dist/cjs/widgets/Progress/index.js.map +1 -0
- package/dist/cjs/widgets/Progress/types.js +3 -0
- package/dist/cjs/widgets/Progress/types.js.map +1 -0
- package/dist/cjs/widgets/RadarChart/RadarChart.js +162 -0
- package/dist/cjs/widgets/RadarChart/RadarChart.js.map +1 -0
- package/dist/cjs/widgets/RadarChart/index.js +6 -0
- package/dist/cjs/widgets/RadarChart/index.js.map +1 -0
- package/dist/cjs/widgets/RadarChart/types.js +3 -0
- package/dist/cjs/widgets/RadarChart/types.js.map +1 -0
- package/dist/cjs/widgets/SankeyDiagram/SankeyDiagram.js +211 -0
- package/dist/cjs/widgets/SankeyDiagram/SankeyDiagram.js.map +1 -0
- package/dist/cjs/widgets/SankeyDiagram/index.js +6 -0
- package/dist/cjs/widgets/SankeyDiagram/index.js.map +1 -0
- package/dist/cjs/widgets/SankeyDiagram/types.js +3 -0
- package/dist/cjs/widgets/SankeyDiagram/types.js.map +1 -0
- package/dist/cjs/widgets/ScatterPlot/ScatterPlot.js +152 -0
- package/dist/cjs/widgets/ScatterPlot/ScatterPlot.js.map +1 -0
- package/dist/cjs/widgets/ScatterPlot/index.js +6 -0
- package/dist/cjs/widgets/ScatterPlot/index.js.map +1 -0
- package/dist/cjs/widgets/ScatterPlot/types.js +3 -0
- package/dist/cjs/widgets/ScatterPlot/types.js.map +1 -0
- package/dist/cjs/widgets/Sparkline/Sparkline.js +154 -0
- package/dist/cjs/widgets/Sparkline/Sparkline.js.map +1 -0
- package/dist/cjs/widgets/Sparkline/index.js +9 -0
- package/dist/cjs/widgets/Sparkline/index.js.map +1 -0
- package/dist/cjs/widgets/Sparkline/types.js +3 -0
- package/dist/cjs/widgets/Sparkline/types.js.map +1 -0
- package/dist/cjs/widgets/StackedBarChart/StackedBarChart.js +152 -0
- package/dist/cjs/widgets/StackedBarChart/StackedBarChart.js.map +1 -0
- package/dist/cjs/widgets/StackedBarChart/index.js +6 -0
- package/dist/cjs/widgets/StackedBarChart/index.js.map +1 -0
- package/dist/cjs/widgets/StackedBarChart/types.js +3 -0
- package/dist/cjs/widgets/StackedBarChart/types.js.map +1 -0
- package/dist/cjs/widgets/SunburstChart/SunburstChart.js +134 -0
- package/dist/cjs/widgets/SunburstChart/SunburstChart.js.map +1 -0
- package/dist/cjs/widgets/SunburstChart/index.js +6 -0
- package/dist/cjs/widgets/SunburstChart/index.js.map +1 -0
- package/dist/cjs/widgets/SunburstChart/types.js +3 -0
- package/dist/cjs/widgets/SunburstChart/types.js.map +1 -0
- package/dist/cjs/widgets/Treemap/Treemap.js +145 -0
- package/dist/cjs/widgets/Treemap/Treemap.js.map +1 -0
- package/dist/cjs/widgets/Treemap/index.js +6 -0
- package/dist/cjs/widgets/Treemap/index.js.map +1 -0
- package/dist/cjs/widgets/Treemap/types.js +3 -0
- package/dist/cjs/widgets/Treemap/types.js.map +1 -0
- package/dist/cjs/widgets/WaterfallChart/WaterfallChart.js +175 -0
- package/dist/cjs/widgets/WaterfallChart/WaterfallChart.js.map +1 -0
- package/dist/cjs/widgets/WaterfallChart/index.js +6 -0
- package/dist/cjs/widgets/WaterfallChart/index.js.map +1 -0
- package/dist/cjs/widgets/WaterfallChart/types.js +3 -0
- package/dist/cjs/widgets/WaterfallChart/types.js.map +1 -0
- package/dist/cjs/widgets/index.js +51 -0
- package/dist/cjs/widgets/index.js.map +1 -0
- package/dist/core/animation/index.d.ts +66 -0
- package/dist/core/animation/index.d.ts.map +1 -0
- package/dist/core/animation/index.web.d.ts +63 -0
- package/dist/core/animation/index.web.d.ts.map +1 -0
- package/dist/core/hooks/index.d.ts +34 -0
- package/dist/core/hooks/index.d.ts.map +1 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/layout/index.d.ts +39 -0
- package/dist/core/layout/index.d.ts.map +1 -0
- package/dist/core/math/index.d.ts +37 -0
- package/dist/core/math/index.d.ts.map +1 -0
- package/dist/core/theme/ThemeProvider.d.ts +19 -0
- package/dist/core/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/core/theme/index.d.ts +6 -0
- package/dist/core/theme/index.d.ts.map +1 -0
- package/dist/core/theme/themes.d.ts +13 -0
- package/dist/core/theme/themes.d.ts.map +1 -0
- package/dist/core/types/index.d.ts +137 -0
- package/dist/core/types/index.d.ts.map +1 -0
- package/dist/core/utils/responsive.d.ts +92 -0
- package/dist/core/utils/responsive.d.ts.map +1 -0
- package/dist/core/utils/time.d.ts +20 -0
- package/dist/core/utils/time.d.ts.map +1 -0
- package/dist/esm/core/animation/index.js +88 -0
- package/dist/esm/core/animation/index.js.map +1 -0
- package/dist/esm/core/animation/index.web.js +81 -0
- package/dist/esm/core/animation/index.web.js.map +1 -0
- package/dist/esm/core/hooks/index.js +44 -0
- package/dist/esm/core/hooks/index.js.map +1 -0
- package/dist/esm/core/index.js +20 -0
- package/dist/esm/core/index.js.map +1 -0
- package/dist/esm/core/layout/index.js +73 -0
- package/dist/esm/core/layout/index.js.map +1 -0
- package/dist/esm/core/math/index.js +54 -0
- package/dist/esm/core/math/index.js.map +1 -0
- package/dist/esm/core/theme/ThemeProvider.js +26 -0
- package/dist/esm/core/theme/ThemeProvider.js.map +1 -0
- package/dist/esm/core/theme/index.js +6 -0
- package/dist/esm/core/theme/index.js.map +1 -0
- package/dist/esm/core/theme/themes.js +117 -0
- package/dist/esm/core/theme/themes.js.map +1 -0
- package/dist/esm/core/types/index.js +10 -0
- package/dist/esm/core/types/index.js.map +1 -0
- package/dist/esm/core/utils/responsive.js +112 -0
- package/dist/esm/core/utils/responsive.js.map +1 -0
- package/dist/esm/core/utils/time.js +79 -0
- package/dist/esm/core/utils/time.js.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/renderer-svg/adapters/index.js +62 -0
- package/dist/esm/renderer-svg/adapters/index.js.map +1 -0
- package/dist/esm/renderer-svg/index.js +9 -0
- package/dist/esm/renderer-svg/index.js.map +1 -0
- package/dist/esm/renderer-svg/paths/arc.js +74 -0
- package/dist/esm/renderer-svg/paths/arc.js.map +1 -0
- package/dist/esm/renderer-svg/paths/index.js +7 -0
- package/dist/esm/renderer-svg/paths/index.js.map +1 -0
- package/dist/esm/renderer-svg/paths/line.js +64 -0
- package/dist/esm/renderer-svg/paths/line.js.map +1 -0
- package/dist/esm/renderer-svg/paths/rect.js +50 -0
- package/dist/esm/renderer-svg/paths/rect.js.map +1 -0
- package/dist/esm/renderer-svg/primitives/AnimatedCircle.js +15 -0
- package/dist/esm/renderer-svg/primitives/AnimatedCircle.js.map +1 -0
- package/dist/esm/renderer-svg/primitives/AnimatedPath.js +15 -0
- package/dist/esm/renderer-svg/primitives/AnimatedPath.js.map +1 -0
- package/dist/esm/renderer-svg/primitives/Text.js +29 -0
- package/dist/esm/renderer-svg/primitives/Text.js.map +1 -0
- package/dist/esm/renderer-svg/primitives/index.js +7 -0
- package/dist/esm/renderer-svg/primitives/index.js.map +1 -0
- package/dist/esm/widgets/AreaChart/AreaChart.js +143 -0
- package/dist/esm/widgets/AreaChart/AreaChart.js.map +1 -0
- package/dist/esm/widgets/AreaChart/index.js +2 -0
- package/dist/esm/widgets/AreaChart/index.js.map +1 -0
- package/dist/esm/widgets/AreaChart/types.js +2 -0
- package/dist/esm/widgets/AreaChart/types.js.map +1 -0
- package/dist/esm/widgets/BarChart/BarChart.js +167 -0
- package/dist/esm/widgets/BarChart/BarChart.js.map +1 -0
- package/dist/esm/widgets/BarChart/index.js +5 -0
- package/dist/esm/widgets/BarChart/index.js.map +1 -0
- package/dist/esm/widgets/BarChart/types.js +2 -0
- package/dist/esm/widgets/BarChart/types.js.map +1 -0
- package/dist/esm/widgets/BoxPlot/BoxPlot.js +150 -0
- package/dist/esm/widgets/BoxPlot/BoxPlot.js.map +1 -0
- package/dist/esm/widgets/BoxPlot/index.js +2 -0
- package/dist/esm/widgets/BoxPlot/index.js.map +1 -0
- package/dist/esm/widgets/BoxPlot/types.js +2 -0
- package/dist/esm/widgets/BoxPlot/types.js.map +1 -0
- package/dist/esm/widgets/BubbleChart/BubbleChart.js +122 -0
- package/dist/esm/widgets/BubbleChart/BubbleChart.js.map +1 -0
- package/dist/esm/widgets/BubbleChart/index.js +2 -0
- package/dist/esm/widgets/BubbleChart/index.js.map +1 -0
- package/dist/esm/widgets/BubbleChart/types.js +2 -0
- package/dist/esm/widgets/BubbleChart/types.js.map +1 -0
- package/dist/esm/widgets/CandlestickChart/CandlestickChart.js +132 -0
- package/dist/esm/widgets/CandlestickChart/CandlestickChart.js.map +1 -0
- package/dist/esm/widgets/CandlestickChart/index.js +2 -0
- package/dist/esm/widgets/CandlestickChart/index.js.map +1 -0
- package/dist/esm/widgets/CandlestickChart/types.js +2 -0
- package/dist/esm/widgets/CandlestickChart/types.js.map +1 -0
- package/dist/esm/widgets/FunnelChart/FunnelChart.js +113 -0
- package/dist/esm/widgets/FunnelChart/FunnelChart.js.map +1 -0
- package/dist/esm/widgets/FunnelChart/index.js +2 -0
- package/dist/esm/widgets/FunnelChart/index.js.map +1 -0
- package/dist/esm/widgets/FunnelChart/types.js +2 -0
- package/dist/esm/widgets/FunnelChart/types.js.map +1 -0
- package/dist/esm/widgets/Gauge/Gauge.js +132 -0
- package/dist/esm/widgets/Gauge/Gauge.js.map +1 -0
- package/dist/esm/widgets/Gauge/index.js +5 -0
- package/dist/esm/widgets/Gauge/index.js.map +1 -0
- package/dist/esm/widgets/Gauge/types.js +2 -0
- package/dist/esm/widgets/Gauge/types.js.map +1 -0
- package/dist/esm/widgets/GroupedBarChart/GroupedBarChart.js +119 -0
- package/dist/esm/widgets/GroupedBarChart/GroupedBarChart.js.map +1 -0
- package/dist/esm/widgets/GroupedBarChart/index.js +2 -0
- package/dist/esm/widgets/GroupedBarChart/index.js.map +1 -0
- package/dist/esm/widgets/GroupedBarChart/types.js +2 -0
- package/dist/esm/widgets/GroupedBarChart/types.js.map +1 -0
- package/dist/esm/widgets/Heatmap/Heatmap.js +146 -0
- package/dist/esm/widgets/Heatmap/Heatmap.js.map +1 -0
- package/dist/esm/widgets/Heatmap/index.js +2 -0
- package/dist/esm/widgets/Heatmap/index.js.map +1 -0
- package/dist/esm/widgets/Heatmap/types.js +2 -0
- package/dist/esm/widgets/Heatmap/types.js.map +1 -0
- package/dist/esm/widgets/Histogram/Histogram.js +116 -0
- package/dist/esm/widgets/Histogram/Histogram.js.map +1 -0
- package/dist/esm/widgets/Histogram/index.js +2 -0
- package/dist/esm/widgets/Histogram/index.js.map +1 -0
- package/dist/esm/widgets/Histogram/types.js +2 -0
- package/dist/esm/widgets/Histogram/types.js.map +1 -0
- package/dist/esm/widgets/HorizontalBarChart/HorizontalBarChart.js +88 -0
- package/dist/esm/widgets/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/dist/esm/widgets/HorizontalBarChart/index.js +2 -0
- package/dist/esm/widgets/HorizontalBarChart/index.js.map +1 -0
- package/dist/esm/widgets/HorizontalBarChart/types.js +2 -0
- package/dist/esm/widgets/HorizontalBarChart/types.js.map +1 -0
- package/dist/esm/widgets/KPI/KPI.js +159 -0
- package/dist/esm/widgets/KPI/KPI.js.map +1 -0
- package/dist/esm/widgets/KPI/index.js +5 -0
- package/dist/esm/widgets/KPI/index.js.map +1 -0
- package/dist/esm/widgets/KPI/types.js +2 -0
- package/dist/esm/widgets/KPI/types.js.map +1 -0
- package/dist/esm/widgets/LineChart/LineChart.js +262 -0
- package/dist/esm/widgets/LineChart/LineChart.js.map +1 -0
- package/dist/esm/widgets/LineChart/index.js +5 -0
- package/dist/esm/widgets/LineChart/index.js.map +1 -0
- package/dist/esm/widgets/LineChart/types.js +2 -0
- package/dist/esm/widgets/LineChart/types.js.map +1 -0
- package/dist/esm/widgets/MultiLineSparkline/MultiLineSparkline.js +153 -0
- package/dist/esm/widgets/MultiLineSparkline/MultiLineSparkline.js.map +1 -0
- package/dist/esm/widgets/MultiLineSparkline/index.js +5 -0
- package/dist/esm/widgets/MultiLineSparkline/index.js.map +1 -0
- package/dist/esm/widgets/MultiLineSparkline/types.js +2 -0
- package/dist/esm/widgets/MultiLineSparkline/types.js.map +1 -0
- package/dist/esm/widgets/PieChart/PieChart.js +205 -0
- package/dist/esm/widgets/PieChart/PieChart.js.map +1 -0
- package/dist/esm/widgets/PieChart/index.js +5 -0
- package/dist/esm/widgets/PieChart/index.js.map +1 -0
- package/dist/esm/widgets/PieChart/types.js +2 -0
- package/dist/esm/widgets/PieChart/types.js.map +1 -0
- package/dist/esm/widgets/Progress/Progress.js +130 -0
- package/dist/esm/widgets/Progress/Progress.js.map +1 -0
- package/dist/esm/widgets/Progress/index.js +5 -0
- package/dist/esm/widgets/Progress/index.js.map +1 -0
- package/dist/esm/widgets/Progress/types.js +2 -0
- package/dist/esm/widgets/Progress/types.js.map +1 -0
- package/dist/esm/widgets/RadarChart/RadarChart.js +126 -0
- package/dist/esm/widgets/RadarChart/RadarChart.js.map +1 -0
- package/dist/esm/widgets/RadarChart/index.js +2 -0
- package/dist/esm/widgets/RadarChart/index.js.map +1 -0
- package/dist/esm/widgets/RadarChart/types.js +2 -0
- package/dist/esm/widgets/RadarChart/types.js.map +1 -0
- package/dist/esm/widgets/SankeyDiagram/SankeyDiagram.js +175 -0
- package/dist/esm/widgets/SankeyDiagram/SankeyDiagram.js.map +1 -0
- package/dist/esm/widgets/SankeyDiagram/index.js +2 -0
- package/dist/esm/widgets/SankeyDiagram/index.js.map +1 -0
- package/dist/esm/widgets/SankeyDiagram/types.js +2 -0
- package/dist/esm/widgets/SankeyDiagram/types.js.map +1 -0
- package/dist/esm/widgets/ScatterPlot/ScatterPlot.js +116 -0
- package/dist/esm/widgets/ScatterPlot/ScatterPlot.js.map +1 -0
- package/dist/esm/widgets/ScatterPlot/index.js +2 -0
- package/dist/esm/widgets/ScatterPlot/index.js.map +1 -0
- package/dist/esm/widgets/ScatterPlot/types.js +2 -0
- package/dist/esm/widgets/ScatterPlot/types.js.map +1 -0
- package/dist/esm/widgets/Sparkline/Sparkline.js +118 -0
- package/dist/esm/widgets/Sparkline/Sparkline.js.map +1 -0
- package/dist/esm/widgets/Sparkline/index.js +5 -0
- package/dist/esm/widgets/Sparkline/index.js.map +1 -0
- package/dist/esm/widgets/Sparkline/types.js +2 -0
- package/dist/esm/widgets/Sparkline/types.js.map +1 -0
- package/dist/esm/widgets/StackedBarChart/StackedBarChart.js +116 -0
- package/dist/esm/widgets/StackedBarChart/StackedBarChart.js.map +1 -0
- package/dist/esm/widgets/StackedBarChart/index.js +2 -0
- package/dist/esm/widgets/StackedBarChart/index.js.map +1 -0
- package/dist/esm/widgets/StackedBarChart/types.js +2 -0
- package/dist/esm/widgets/StackedBarChart/types.js.map +1 -0
- package/dist/esm/widgets/SunburstChart/SunburstChart.js +98 -0
- package/dist/esm/widgets/SunburstChart/SunburstChart.js.map +1 -0
- package/dist/esm/widgets/SunburstChart/index.js +2 -0
- package/dist/esm/widgets/SunburstChart/index.js.map +1 -0
- package/dist/esm/widgets/SunburstChart/types.js +2 -0
- package/dist/esm/widgets/SunburstChart/types.js.map +1 -0
- package/dist/esm/widgets/Treemap/Treemap.js +109 -0
- package/dist/esm/widgets/Treemap/Treemap.js.map +1 -0
- package/dist/esm/widgets/Treemap/index.js +2 -0
- package/dist/esm/widgets/Treemap/index.js.map +1 -0
- package/dist/esm/widgets/Treemap/types.js +2 -0
- package/dist/esm/widgets/Treemap/types.js.map +1 -0
- package/dist/esm/widgets/WaterfallChart/WaterfallChart.js +139 -0
- package/dist/esm/widgets/WaterfallChart/WaterfallChart.js.map +1 -0
- package/dist/esm/widgets/WaterfallChart/index.js +2 -0
- package/dist/esm/widgets/WaterfallChart/index.js.map +1 -0
- package/dist/esm/widgets/WaterfallChart/types.js +2 -0
- package/dist/esm/widgets/WaterfallChart/types.js.map +1 -0
- package/dist/esm/widgets/index.js +35 -0
- package/dist/esm/widgets/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/renderer-svg/adapters/index.d.ts +21 -0
- package/dist/renderer-svg/adapters/index.d.ts.map +1 -0
- package/dist/renderer-svg/index.d.ts +9 -0
- package/dist/renderer-svg/index.d.ts.map +1 -0
- package/dist/renderer-svg/paths/arc.d.ts +24 -0
- package/dist/renderer-svg/paths/arc.d.ts.map +1 -0
- package/dist/renderer-svg/paths/index.d.ts +7 -0
- package/dist/renderer-svg/paths/index.d.ts.map +1 -0
- package/dist/renderer-svg/paths/line.d.ts +21 -0
- package/dist/renderer-svg/paths/line.d.ts.map +1 -0
- package/dist/renderer-svg/paths/rect.d.ts +24 -0
- package/dist/renderer-svg/paths/rect.d.ts.map +1 -0
- package/dist/renderer-svg/primitives/AnimatedCircle.d.ts +19 -0
- package/dist/renderer-svg/primitives/AnimatedCircle.d.ts.map +1 -0
- package/dist/renderer-svg/primitives/AnimatedPath.d.ts +19 -0
- package/dist/renderer-svg/primitives/AnimatedPath.d.ts.map +1 -0
- package/dist/renderer-svg/primitives/Text.d.ts +25 -0
- package/dist/renderer-svg/primitives/Text.d.ts.map +1 -0
- package/dist/renderer-svg/primitives/index.d.ts +7 -0
- package/dist/renderer-svg/primitives/index.d.ts.map +1 -0
- package/dist/widgets/AreaChart/AreaChart.d.ts +7 -0
- package/dist/widgets/AreaChart/AreaChart.d.ts.map +1 -0
- package/dist/widgets/AreaChart/index.d.ts +3 -0
- package/dist/widgets/AreaChart/index.d.ts.map +1 -0
- package/dist/widgets/AreaChart/types.d.ts +30 -0
- package/dist/widgets/AreaChart/types.d.ts.map +1 -0
- package/dist/widgets/BarChart/BarChart.d.ts +10 -0
- package/dist/widgets/BarChart/BarChart.d.ts.map +1 -0
- package/dist/widgets/BarChart/index.d.ts +6 -0
- package/dist/widgets/BarChart/index.d.ts.map +1 -0
- package/dist/widgets/BarChart/types.d.ts +24 -0
- package/dist/widgets/BarChart/types.d.ts.map +1 -0
- package/dist/widgets/BoxPlot/BoxPlot.d.ts +7 -0
- package/dist/widgets/BoxPlot/BoxPlot.d.ts.map +1 -0
- package/dist/widgets/BoxPlot/index.d.ts +3 -0
- package/dist/widgets/BoxPlot/index.d.ts.map +1 -0
- package/dist/widgets/BoxPlot/types.d.ts +25 -0
- package/dist/widgets/BoxPlot/types.d.ts.map +1 -0
- package/dist/widgets/BubbleChart/BubbleChart.d.ts +7 -0
- package/dist/widgets/BubbleChart/BubbleChart.d.ts.map +1 -0
- package/dist/widgets/BubbleChart/index.d.ts +3 -0
- package/dist/widgets/BubbleChart/index.d.ts.map +1 -0
- package/dist/widgets/BubbleChart/types.d.ts +30 -0
- package/dist/widgets/BubbleChart/types.d.ts.map +1 -0
- package/dist/widgets/CandlestickChart/CandlestickChart.d.ts +7 -0
- package/dist/widgets/CandlestickChart/CandlestickChart.d.ts.map +1 -0
- package/dist/widgets/CandlestickChart/index.d.ts +3 -0
- package/dist/widgets/CandlestickChart/index.d.ts.map +1 -0
- package/dist/widgets/CandlestickChart/types.d.ts +27 -0
- package/dist/widgets/CandlestickChart/types.d.ts.map +1 -0
- package/dist/widgets/FunnelChart/FunnelChart.d.ts +7 -0
- package/dist/widgets/FunnelChart/FunnelChart.d.ts.map +1 -0
- package/dist/widgets/FunnelChart/index.d.ts +3 -0
- package/dist/widgets/FunnelChart/index.d.ts.map +1 -0
- package/dist/widgets/FunnelChart/types.d.ts +20 -0
- package/dist/widgets/FunnelChart/types.d.ts.map +1 -0
- package/dist/widgets/Gauge/Gauge.d.ts +11 -0
- package/dist/widgets/Gauge/Gauge.d.ts.map +1 -0
- package/dist/widgets/Gauge/index.d.ts +6 -0
- package/dist/widgets/Gauge/index.d.ts.map +1 -0
- package/dist/widgets/Gauge/types.d.ts +18 -0
- package/dist/widgets/Gauge/types.d.ts.map +1 -0
- package/dist/widgets/GroupedBarChart/GroupedBarChart.d.ts +7 -0
- package/dist/widgets/GroupedBarChart/GroupedBarChart.d.ts.map +1 -0
- package/dist/widgets/GroupedBarChart/index.d.ts +3 -0
- package/dist/widgets/GroupedBarChart/index.d.ts.map +1 -0
- package/dist/widgets/GroupedBarChart/types.d.ts +27 -0
- package/dist/widgets/GroupedBarChart/types.d.ts.map +1 -0
- package/dist/widgets/Heatmap/Heatmap.d.ts +7 -0
- package/dist/widgets/Heatmap/Heatmap.d.ts.map +1 -0
- package/dist/widgets/Heatmap/index.d.ts +3 -0
- package/dist/widgets/Heatmap/index.d.ts.map +1 -0
- package/dist/widgets/Heatmap/types.d.ts +25 -0
- package/dist/widgets/Heatmap/types.d.ts.map +1 -0
- package/dist/widgets/Histogram/Histogram.d.ts +7 -0
- package/dist/widgets/Histogram/Histogram.d.ts.map +1 -0
- package/dist/widgets/Histogram/index.d.ts +3 -0
- package/dist/widgets/Histogram/index.d.ts.map +1 -0
- package/dist/widgets/Histogram/types.d.ts +17 -0
- package/dist/widgets/Histogram/types.d.ts.map +1 -0
- package/dist/widgets/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
- package/dist/widgets/HorizontalBarChart/HorizontalBarChart.d.ts.map +1 -0
- package/dist/widgets/HorizontalBarChart/index.d.ts +3 -0
- package/dist/widgets/HorizontalBarChart/index.d.ts.map +1 -0
- package/dist/widgets/HorizontalBarChart/types.d.ts +21 -0
- package/dist/widgets/HorizontalBarChart/types.d.ts.map +1 -0
- package/dist/widgets/KPI/KPI.d.ts +11 -0
- package/dist/widgets/KPI/KPI.d.ts.map +1 -0
- package/dist/widgets/KPI/index.d.ts +6 -0
- package/dist/widgets/KPI/index.d.ts.map +1 -0
- package/dist/widgets/KPI/types.d.ts +17 -0
- package/dist/widgets/KPI/types.d.ts.map +1 -0
- package/dist/widgets/LineChart/LineChart.d.ts +10 -0
- package/dist/widgets/LineChart/LineChart.d.ts.map +1 -0
- package/dist/widgets/LineChart/index.d.ts +6 -0
- package/dist/widgets/LineChart/index.d.ts.map +1 -0
- package/dist/widgets/LineChart/types.d.ts +31 -0
- package/dist/widgets/LineChart/types.d.ts.map +1 -0
- package/dist/widgets/MultiLineSparkline/MultiLineSparkline.d.ts +10 -0
- package/dist/widgets/MultiLineSparkline/MultiLineSparkline.d.ts.map +1 -0
- package/dist/widgets/MultiLineSparkline/index.d.ts +6 -0
- package/dist/widgets/MultiLineSparkline/index.d.ts.map +1 -0
- package/dist/widgets/MultiLineSparkline/types.d.ts +22 -0
- package/dist/widgets/MultiLineSparkline/types.d.ts.map +1 -0
- package/dist/widgets/PieChart/PieChart.d.ts +10 -0
- package/dist/widgets/PieChart/PieChart.d.ts.map +1 -0
- package/dist/widgets/PieChart/index.d.ts +6 -0
- package/dist/widgets/PieChart/index.d.ts.map +1 -0
- package/dist/widgets/PieChart/types.d.ts +23 -0
- package/dist/widgets/PieChart/types.d.ts.map +1 -0
- package/dist/widgets/Progress/Progress.d.ts +11 -0
- package/dist/widgets/Progress/Progress.d.ts.map +1 -0
- package/dist/widgets/Progress/index.d.ts +6 -0
- package/dist/widgets/Progress/index.d.ts.map +1 -0
- package/dist/widgets/Progress/types.d.ts +17 -0
- package/dist/widgets/Progress/types.d.ts.map +1 -0
- package/dist/widgets/RadarChart/RadarChart.d.ts +7 -0
- package/dist/widgets/RadarChart/RadarChart.d.ts.map +1 -0
- package/dist/widgets/RadarChart/index.d.ts +3 -0
- package/dist/widgets/RadarChart/index.d.ts.map +1 -0
- package/dist/widgets/RadarChart/types.d.ts +26 -0
- package/dist/widgets/RadarChart/types.d.ts.map +1 -0
- package/dist/widgets/SankeyDiagram/SankeyDiagram.d.ts +7 -0
- package/dist/widgets/SankeyDiagram/SankeyDiagram.d.ts.map +1 -0
- package/dist/widgets/SankeyDiagram/index.d.ts +3 -0
- package/dist/widgets/SankeyDiagram/index.d.ts.map +1 -0
- package/dist/widgets/SankeyDiagram/types.d.ts +26 -0
- package/dist/widgets/SankeyDiagram/types.d.ts.map +1 -0
- package/dist/widgets/ScatterPlot/ScatterPlot.d.ts +7 -0
- package/dist/widgets/ScatterPlot/ScatterPlot.d.ts.map +1 -0
- package/dist/widgets/ScatterPlot/index.d.ts +3 -0
- package/dist/widgets/ScatterPlot/index.d.ts.map +1 -0
- package/dist/widgets/ScatterPlot/types.d.ts +29 -0
- package/dist/widgets/ScatterPlot/types.d.ts.map +1 -0
- package/dist/widgets/Sparkline/Sparkline.d.ts +11 -0
- package/dist/widgets/Sparkline/Sparkline.d.ts.map +1 -0
- package/dist/widgets/Sparkline/index.d.ts +6 -0
- package/dist/widgets/Sparkline/index.d.ts.map +1 -0
- package/dist/widgets/Sparkline/types.d.ts +16 -0
- package/dist/widgets/Sparkline/types.d.ts.map +1 -0
- package/dist/widgets/StackedBarChart/StackedBarChart.d.ts +7 -0
- package/dist/widgets/StackedBarChart/StackedBarChart.d.ts.map +1 -0
- package/dist/widgets/StackedBarChart/index.d.ts +3 -0
- package/dist/widgets/StackedBarChart/index.d.ts.map +1 -0
- package/dist/widgets/StackedBarChart/types.d.ts +26 -0
- package/dist/widgets/StackedBarChart/types.d.ts.map +1 -0
- package/dist/widgets/SunburstChart/SunburstChart.d.ts +7 -0
- package/dist/widgets/SunburstChart/SunburstChart.d.ts.map +1 -0
- package/dist/widgets/SunburstChart/index.d.ts +3 -0
- package/dist/widgets/SunburstChart/index.d.ts.map +1 -0
- package/dist/widgets/SunburstChart/types.d.ts +20 -0
- package/dist/widgets/SunburstChart/types.d.ts.map +1 -0
- package/dist/widgets/Treemap/Treemap.d.ts +7 -0
- package/dist/widgets/Treemap/Treemap.d.ts.map +1 -0
- package/dist/widgets/Treemap/index.d.ts +3 -0
- package/dist/widgets/Treemap/index.d.ts.map +1 -0
- package/dist/widgets/Treemap/types.d.ts +21 -0
- package/dist/widgets/Treemap/types.d.ts.map +1 -0
- package/dist/widgets/WaterfallChart/WaterfallChart.d.ts +7 -0
- package/dist/widgets/WaterfallChart/WaterfallChart.d.ts.map +1 -0
- package/dist/widgets/WaterfallChart/index.d.ts +3 -0
- package/dist/widgets/WaterfallChart/index.d.ts.map +1 -0
- package/dist/widgets/WaterfallChart/types.d.ts +24 -0
- package/dist/widgets/WaterfallChart/types.d.ts.map +1 -0
- package/dist/widgets/index.d.ts +29 -0
- package/dist/widgets/index.d.ts.map +1 -0
- package/package.json +84 -0
- package/src/core/animation/index.ts +113 -0
- package/src/core/animation/index.web.ts +112 -0
- package/src/core/hooks/index.ts +66 -0
- package/src/core/index.ts +26 -0
- package/src/core/layout/index.ts +101 -0
- package/src/core/math/index.ts +72 -0
- package/src/core/package.json +13 -0
- package/src/core/theme/ThemeProvider.tsx +36 -0
- package/src/core/theme/index.ts +5 -0
- package/src/core/theme/themes.ts +132 -0
- package/src/core/types/index.ts +164 -0
- package/src/core/utils/responsive.ts +203 -0
- package/src/core/utils/time.ts +100 -0
- package/src/index.ts +13 -0
- package/src/renderer-svg/adapters/index.ts +84 -0
- package/src/renderer-svg/index.ts +8 -0
- package/src/renderer-svg/package.json +17 -0
- package/src/renderer-svg/paths/arc.ts +93 -0
- package/src/renderer-svg/paths/index.ts +6 -0
- package/src/renderer-svg/paths/line.ts +83 -0
- package/src/renderer-svg/paths/rect.ts +80 -0
- package/src/renderer-svg/primitives/AnimatedCircle.tsx +48 -0
- package/src/renderer-svg/primitives/AnimatedPath.tsx +48 -0
- package/src/renderer-svg/primitives/Text.tsx +73 -0
- package/src/renderer-svg/primitives/index.ts +6 -0
- package/src/widgets/AreaChart/AreaChart.tsx +213 -0
- package/src/widgets/AreaChart/index.ts +2 -0
- package/src/widgets/AreaChart/types.ts +34 -0
- package/src/widgets/BarChart/BarChart.tsx +249 -0
- package/src/widgets/BarChart/index.ts +10 -0
- package/src/widgets/BarChart/types.ts +27 -0
- package/src/widgets/BoxPlot/BoxPlot.tsx +252 -0
- package/src/widgets/BoxPlot/index.ts +2 -0
- package/src/widgets/BoxPlot/types.ts +27 -0
- package/src/widgets/BubbleChart/BubbleChart.tsx +175 -0
- package/src/widgets/BubbleChart/index.ts +2 -0
- package/src/widgets/BubbleChart/types.ts +33 -0
- package/src/widgets/CandlestickChart/CandlestickChart.tsx +204 -0
- package/src/widgets/CandlestickChart/index.ts +2 -0
- package/src/widgets/CandlestickChart/types.ts +29 -0
- package/src/widgets/FunnelChart/FunnelChart.tsx +172 -0
- package/src/widgets/FunnelChart/index.ts +2 -0
- package/src/widgets/FunnelChart/types.ts +22 -0
- package/src/widgets/Gauge/Gauge.tsx +235 -0
- package/src/widgets/Gauge/index.ts +5 -0
- package/src/widgets/Gauge/types.ts +19 -0
- package/src/widgets/GroupedBarChart/GroupedBarChart.tsx +190 -0
- package/src/widgets/GroupedBarChart/index.ts +2 -0
- package/src/widgets/GroupedBarChart/types.ts +30 -0
- package/src/widgets/Heatmap/Heatmap.tsx +216 -0
- package/src/widgets/Heatmap/index.ts +2 -0
- package/src/widgets/Heatmap/types.ts +27 -0
- package/src/widgets/Histogram/Histogram.tsx +173 -0
- package/src/widgets/Histogram/index.ts +2 -0
- package/src/widgets/Histogram/types.ts +18 -0
- package/src/widgets/HorizontalBarChart/HorizontalBarChart.tsx +125 -0
- package/src/widgets/HorizontalBarChart/index.ts +2 -0
- package/src/widgets/HorizontalBarChart/types.ts +23 -0
- package/src/widgets/KPI/KPI.tsx +222 -0
- package/src/widgets/KPI/index.ts +5 -0
- package/src/widgets/KPI/types.ts +19 -0
- package/src/widgets/LineChart/LineChart.tsx +364 -0
- package/src/widgets/LineChart/index.ts +10 -0
- package/src/widgets/LineChart/types.ts +34 -0
- package/src/widgets/MultiLineSparkline/MultiLineSparkline.tsx +234 -0
- package/src/widgets/MultiLineSparkline/index.ts +10 -0
- package/src/widgets/MultiLineSparkline/types.ts +25 -0
- package/src/widgets/PieChart/PieChart.tsx +275 -0
- package/src/widgets/PieChart/index.ts +10 -0
- package/src/widgets/PieChart/types.ts +26 -0
- package/src/widgets/Progress/Progress.tsx +201 -0
- package/src/widgets/Progress/index.ts +5 -0
- package/src/widgets/Progress/types.ts +19 -0
- package/src/widgets/RadarChart/RadarChart.tsx +213 -0
- package/src/widgets/RadarChart/index.ts +2 -0
- package/src/widgets/RadarChart/types.ts +29 -0
- package/src/widgets/SankeyDiagram/SankeyDiagram.tsx +272 -0
- package/src/widgets/SankeyDiagram/index.ts +2 -0
- package/src/widgets/SankeyDiagram/types.ts +29 -0
- package/src/widgets/ScatterPlot/ScatterPlot.tsx +167 -0
- package/src/widgets/ScatterPlot/index.ts +2 -0
- package/src/widgets/ScatterPlot/types.ts +32 -0
- package/src/widgets/Sparkline/Sparkline.tsx +203 -0
- package/src/widgets/Sparkline/index.ts +5 -0
- package/src/widgets/Sparkline/types.ts +18 -0
- package/src/widgets/StackedBarChart/StackedBarChart.tsx +181 -0
- package/src/widgets/StackedBarChart/index.ts +2 -0
- package/src/widgets/StackedBarChart/types.ts +29 -0
- package/src/widgets/SunburstChart/SunburstChart.tsx +176 -0
- package/src/widgets/SunburstChart/index.ts +2 -0
- package/src/widgets/SunburstChart/types.ts +22 -0
- package/src/widgets/Treemap/Treemap.tsx +191 -0
- package/src/widgets/Treemap/index.ts +2 -0
- package/src/widgets/Treemap/types.ts +23 -0
- package/src/widgets/WaterfallChart/WaterfallChart.tsx +226 -0
- package/src/widgets/WaterfallChart/index.ts +2 -0
- package/src/widgets/WaterfallChart/types.ts +26 -0
- package/src/widgets/index.ts +40 -0
- package/src/widgets/package.json +18 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.1.0] - 2026-01-21
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Initial release
|
|
9
|
+
- 24+ chart types (KPI, Gauge, LineChart, BarChart, PieChart, etc.)
|
|
10
|
+
- SVG-based rendering with react-native-svg
|
|
11
|
+
- Theme support (light/dark themes)
|
|
12
|
+
- Smooth animations with react-native-reanimated
|
|
13
|
+
- TypeScript support with full type definitions
|
|
14
|
+
- Responsive font sizing
|
|
15
|
+
- Cross-platform support (iOS, Android, Web)
|
|
16
|
+
- Expo compatibility
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Krishna Kumar (chvvkrishnakumar)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
# react-native-metrify
|
|
2
|
+
|
|
3
|
+
> Mobile-first SVG chart library for React Native, Expo, and React Native Web
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/react-native-metrify)
|
|
6
|
+
|
|
7
|
+
## ⚠️ Alpha Release
|
|
8
|
+
|
|
9
|
+
**This package is in early alpha.** The core functionality works, but the library is under active development.
|
|
10
|
+
|
|
11
|
+
- ✅ 24 chart types implemented and working
|
|
12
|
+
- ✅ TypeScript support with full type definitions
|
|
13
|
+
- ✅ Responsive font sizing
|
|
14
|
+
- ⚠️ Limited testing coverage
|
|
15
|
+
- ⚠️ APIs may change in future versions
|
|
16
|
+
- 🚧 Examples and demos coming soon
|
|
17
|
+
|
|
18
|
+
**Installation:**
|
|
19
|
+
```bash
|
|
20
|
+
npm install react-native-metrify@alpha
|
|
21
|
+
# or
|
|
22
|
+
yarn add react-native-metrify@alpha
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Feedback and contributions welcome!
|
|
26
|
+
[](https://opensource.org/licenses/MIT)
|
|
27
|
+
|
|
28
|
+
A comprehensive, performance-focused chart library built specifically for React Native. Features 24+ chart types, SVG-based rendering, theme support, and smooth animations.
|
|
29
|
+
|
|
30
|
+
## ✨ Features
|
|
31
|
+
|
|
32
|
+
- 🎨 **24+ Chart Types** - KPI, Gauge, Line, Bar, Pie, Area, Scatter, Heatmap, and more
|
|
33
|
+
- 📱 **Mobile-First** - Optimized for small screens and touch interactions
|
|
34
|
+
- ⚡ **High Performance** - UI thread animations with react-native-reanimated
|
|
35
|
+
- 🎭 **Theme Support** - Built-in light/dark themes with customization
|
|
36
|
+
- 📦 **Zero Config** - Sensible defaults, minimal API surface
|
|
37
|
+
- 🔧 **TypeScript** - Full type definitions included
|
|
38
|
+
- 🌐 **Cross-Platform** - Works on iOS, Android, and Web (React Native Web)
|
|
39
|
+
- 🎯 **Expo Compatible** - Works in Expo Go and managed workflow
|
|
40
|
+
|
|
41
|
+
## 📦 Installation
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm install react-native-metrify@alpha
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Peer Dependencies
|
|
48
|
+
|
|
49
|
+
This library requires the following peer dependencies:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npm install react-native-svg react-native-reanimated
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
For Expo projects, these are typically already installed. For bare React Native:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Install peer dependencies
|
|
59
|
+
npm install react-native-svg react-native-reanimated
|
|
60
|
+
|
|
61
|
+
# iOS only - install pods
|
|
62
|
+
cd ios && pod install
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 🚀 Quick Start
|
|
66
|
+
|
|
67
|
+
### 1. Wrap your app with ThemeProvider
|
|
68
|
+
|
|
69
|
+
```tsx
|
|
70
|
+
import { ThemeProvider } from 'react-native-metrify';
|
|
71
|
+
|
|
72
|
+
export default function App() {
|
|
73
|
+
return (
|
|
74
|
+
<ThemeProvider>
|
|
75
|
+
{/* Your app content */}
|
|
76
|
+
</ThemeProvider>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### 2. Use any chart component
|
|
82
|
+
|
|
83
|
+
```tsx
|
|
84
|
+
import { KPI, LineChart, Gauge } from 'react-native-metrify';
|
|
85
|
+
import { View } from 'react-native';
|
|
86
|
+
|
|
87
|
+
export default function Dashboard() {
|
|
88
|
+
return (
|
|
89
|
+
<View>
|
|
90
|
+
<KPI
|
|
91
|
+
value={1234}
|
|
92
|
+
label="Total Sales"
|
|
93
|
+
trend={12.5}
|
|
94
|
+
format="currency"
|
|
95
|
+
/>
|
|
96
|
+
|
|
97
|
+
<LineChart
|
|
98
|
+
data={[10, 25, 15, 40, 30, 55, 45]}
|
|
99
|
+
width={300}
|
|
100
|
+
height={200}
|
|
101
|
+
/>
|
|
102
|
+
|
|
103
|
+
<Gauge
|
|
104
|
+
value={75}
|
|
105
|
+
min={0}
|
|
106
|
+
max={100}
|
|
107
|
+
width={200}
|
|
108
|
+
height={200}
|
|
109
|
+
/>
|
|
110
|
+
</View>
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## 📊 Available Charts
|
|
116
|
+
|
|
117
|
+
### Core Widgets
|
|
118
|
+
- **KPI** - Display key metrics with trends and formatting
|
|
119
|
+
- **Gauge** - Circular or semi-circular gauge charts
|
|
120
|
+
- **Progress** - Linear progress bars with variants
|
|
121
|
+
- **Sparkline** - Minimal inline charts
|
|
122
|
+
|
|
123
|
+
### Line & Area Charts
|
|
124
|
+
- **LineChart** - Single or multi-line charts
|
|
125
|
+
- **AreaChart** - Filled area charts
|
|
126
|
+
- **MultiLineSparkline** - Compact multi-line visualization
|
|
127
|
+
|
|
128
|
+
### Bar Charts
|
|
129
|
+
- **BarChart** - Vertical bar charts
|
|
130
|
+
- **HorizontalBarChart** - Horizontal bar charts
|
|
131
|
+
- **StackedBarChart** - Stacked bar visualization
|
|
132
|
+
- **GroupedBarChart** - Side-by-side bars
|
|
133
|
+
- **WaterfallChart** - Cumulative change visualization
|
|
134
|
+
|
|
135
|
+
### Distribution & Comparison
|
|
136
|
+
- **PieChart** - Pie and donut charts
|
|
137
|
+
- **FunnelChart** - Conversion funnel visualization
|
|
138
|
+
- **Histogram** - Distribution frequency charts
|
|
139
|
+
- **BoxPlot** - Statistical box and whisker plots
|
|
140
|
+
|
|
141
|
+
### Scientific & Advanced
|
|
142
|
+
- **ScatterPlot** - X-Y scatter charts with optional bubbles
|
|
143
|
+
- **BubbleChart** - Multi-dimensional bubble visualization
|
|
144
|
+
- **Heatmap** - Grid-based heat intensity maps
|
|
145
|
+
- **RadarChart** - Multi-axis spider charts
|
|
146
|
+
- **CandlestickChart** - Financial OHLC charts
|
|
147
|
+
|
|
148
|
+
### Hierarchical & Flow
|
|
149
|
+
- **Treemap** - Hierarchical rectangle visualization
|
|
150
|
+
- **SunburstChart** - Radial hierarchical charts
|
|
151
|
+
- **SankeyDiagram** - Flow and relationship visualization
|
|
152
|
+
|
|
153
|
+
## 🎨 Theming
|
|
154
|
+
|
|
155
|
+
### Using Built-in Themes
|
|
156
|
+
|
|
157
|
+
```tsx
|
|
158
|
+
import { ThemeProvider, DefaultTheme, DarkTheme } from 'react-native-metrify';
|
|
159
|
+
|
|
160
|
+
function App() {
|
|
161
|
+
const [isDark, setIsDark] = useState(false);
|
|
162
|
+
|
|
163
|
+
return (
|
|
164
|
+
<ThemeProvider theme={isDark ? DarkTheme : DefaultTheme}>
|
|
165
|
+
{/* Your content */}
|
|
166
|
+
</ThemeProvider>
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Custom Theme
|
|
172
|
+
|
|
173
|
+
```tsx
|
|
174
|
+
import { ThemeProvider, Theme } from 'react-native-metrify';
|
|
175
|
+
|
|
176
|
+
const customTheme: Theme = {
|
|
177
|
+
background: '#ffffff',
|
|
178
|
+
text: '#000000',
|
|
179
|
+
primary: '#007AFF',
|
|
180
|
+
secondary: '#5856D6',
|
|
181
|
+
success: '#34C759',
|
|
182
|
+
warning: '#FF9500',
|
|
183
|
+
error: '#FF3B30',
|
|
184
|
+
grid: '#E5E5EA',
|
|
185
|
+
// ... more colors
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
<ThemeProvider theme={customTheme}>
|
|
189
|
+
{/* Your content */}
|
|
190
|
+
</ThemeProvider>
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## 📖 API Reference
|
|
194
|
+
|
|
195
|
+
### Common Props
|
|
196
|
+
|
|
197
|
+
All chart components support these common props:
|
|
198
|
+
|
|
199
|
+
```tsx
|
|
200
|
+
interface BaseWidgetProps {
|
|
201
|
+
width?: number; // Chart width (default: container width)
|
|
202
|
+
height?: number; // Chart height (required for most charts)
|
|
203
|
+
style?: ViewStyle; // Container style
|
|
204
|
+
testID?: string; // Test identifier
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### KPI Component
|
|
209
|
+
|
|
210
|
+
```tsx
|
|
211
|
+
<KPI
|
|
212
|
+
value={1234}
|
|
213
|
+
label="Revenue"
|
|
214
|
+
trend={12.5} // Percentage change
|
|
215
|
+
format="currency" // 'number' | 'currency' | 'percentage'
|
|
216
|
+
currency="USD" // Currency code for formatting
|
|
217
|
+
precision={2} // Decimal places
|
|
218
|
+
width={200}
|
|
219
|
+
/>
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### LineChart Component
|
|
223
|
+
|
|
224
|
+
```tsx
|
|
225
|
+
<LineChart
|
|
226
|
+
data={[10, 25, 15, 40, 30]}
|
|
227
|
+
labels={['Jan', 'Feb', 'Mar', 'Apr', 'May']}
|
|
228
|
+
width={300}
|
|
229
|
+
height={200}
|
|
230
|
+
curved={true} // Use curved lines
|
|
231
|
+
showGrid={true} // Show background grid
|
|
232
|
+
showPoints={true} // Show data points
|
|
233
|
+
/>
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Gauge Component
|
|
237
|
+
|
|
238
|
+
```tsx
|
|
239
|
+
<Gauge
|
|
240
|
+
value={75}
|
|
241
|
+
min={0}
|
|
242
|
+
max={100}
|
|
243
|
+
width={200}
|
|
244
|
+
height={200}
|
|
245
|
+
variant="semi" // 'full' | 'semi'
|
|
246
|
+
showValue={true}
|
|
247
|
+
unit="%"
|
|
248
|
+
/>
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
## 📐 Responsive Font Sizing
|
|
252
|
+
|
|
253
|
+
Text automatically scales based on widget dimensions:
|
|
254
|
+
|
|
255
|
+
```tsx
|
|
256
|
+
// Small widget - fonts scale down
|
|
257
|
+
<KPI
|
|
258
|
+
data={{ value: 1234, label: "Revenue" }}
|
|
259
|
+
width={150}
|
|
260
|
+
height={80}
|
|
261
|
+
/>
|
|
262
|
+
|
|
263
|
+
// Large widget - fonts scale up
|
|
264
|
+
<KPI
|
|
265
|
+
data={{ value: 1234, label: "Revenue" }}
|
|
266
|
+
width={600}
|
|
267
|
+
height={200}
|
|
268
|
+
/>
|
|
269
|
+
|
|
270
|
+
// Custom font sizes (disable responsive)
|
|
271
|
+
<KPI
|
|
272
|
+
data={{ value: 1234, label: "Revenue" }}
|
|
273
|
+
width={300}
|
|
274
|
+
height={120}
|
|
275
|
+
fontSize={{
|
|
276
|
+
labelSize: 14,
|
|
277
|
+
valueSize: 36,
|
|
278
|
+
secondarySize: 16,
|
|
279
|
+
responsive: false
|
|
280
|
+
}}
|
|
281
|
+
/>
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
## 🎯 Design Philosophy
|
|
285
|
+
|
|
286
|
+
- **Mobile-First**: Optimized for small screens and touch interactions
|
|
287
|
+
- **Performance**: UI thread animations with react-native-reanimated
|
|
288
|
+
- **Type-Safe**: Full TypeScript support with inference
|
|
289
|
+
- **Zero Config**: Sensible defaults, minimal API surface
|
|
290
|
+
|
|
291
|
+
## 📱 Platform Support
|
|
292
|
+
|
|
293
|
+
| Platform | Status | Notes |
|
|
294
|
+
|----------|--------|-------|
|
|
295
|
+
| iOS | ✅ Fully Supported | Requires iOS 13+ |
|
|
296
|
+
| Android | ✅ Fully Supported | Requires Android 6.0+ |
|
|
297
|
+
| Web | ✅ Supported | Via React Native Web |
|
|
298
|
+
| Expo Go | ✅ Supported | Works out of the box |
|
|
299
|
+
|
|
300
|
+
## 🤝 Contributing
|
|
301
|
+
|
|
302
|
+
Contributions are welcome! Please:
|
|
303
|
+
1. Open an issue to discuss changes
|
|
304
|
+
2. Fork the repo and create a feature branch
|
|
305
|
+
3. Submit a PR with clear description
|
|
306
|
+
|
|
307
|
+
## 📄 License
|
|
308
|
+
|
|
309
|
+
MIT © [Krishna Kumar](https://github.com/chvvkrishnakumar)
|
|
310
|
+
|
|
311
|
+
## 🔗 Links
|
|
312
|
+
|
|
313
|
+
- [Documentation](https://github.com/chvvkrishnakumar/react-native-metrify#readme)
|
|
314
|
+
- [Examples](./examples/)
|
|
315
|
+
- [Changelog](./CHANGELOG.md)
|
|
316
|
+
- [Issues](https://github.com/chvvkrishnakumar/react-native-metrify/issues)
|
|
317
|
+
|
|
318
|
+
## 💡 Examples
|
|
319
|
+
|
|
320
|
+
Check out the [examples directory](./examples/expo-template/) for a full-featured demo app showcasing all chart types.
|
|
321
|
+
|
|
322
|
+
To run the example:
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
cd examples/expo-template
|
|
326
|
+
npm install
|
|
327
|
+
npm start
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
Made with ❤️ for the React Native community
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_SPRING_CONFIG = exports.DEFAULT_TIMING_CONFIG = exports.Easing = exports.withSpring = exports.withTiming = exports.useSharedValue = void 0;
|
|
4
|
+
exports.useAnimatedValue = useAnimatedValue;
|
|
5
|
+
exports.useAnimatedProgress = useAnimatedProgress;
|
|
6
|
+
exports.useSpringValue = useSpringValue;
|
|
7
|
+
exports.useTimingConfig = useTimingConfig;
|
|
8
|
+
exports.useSpringConfig = useSpringConfig;
|
|
9
|
+
/**
|
|
10
|
+
* Animation helpers - Simple version without reanimated
|
|
11
|
+
* For full animation support, use react-native-reanimated separately
|
|
12
|
+
*/
|
|
13
|
+
const react_1 = require("react");
|
|
14
|
+
// Simple implementations (no animations, just values)
|
|
15
|
+
const useSharedValue = (initialValue) => {
|
|
16
|
+
return { value: initialValue };
|
|
17
|
+
};
|
|
18
|
+
exports.useSharedValue = useSharedValue;
|
|
19
|
+
const withTiming = (value, config) => value;
|
|
20
|
+
exports.withTiming = withTiming;
|
|
21
|
+
const withSpring = (value, config) => value;
|
|
22
|
+
exports.withSpring = withSpring;
|
|
23
|
+
exports.Easing = {
|
|
24
|
+
linear: (t) => t,
|
|
25
|
+
ease: (t) => t,
|
|
26
|
+
quad: (t) => t * t,
|
|
27
|
+
cubic: (t) => t * t * t,
|
|
28
|
+
bezier: (x1, y1, x2, y2) => (t) => t,
|
|
29
|
+
in: (easing) => easing,
|
|
30
|
+
out: (easing) => (t) => 1 - easing(1 - t),
|
|
31
|
+
inOut: (easing) => (t) => t < 0.5 ? easing(t * 2) / 2 : 1 - easing((1 - t) * 2) / 2,
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Default timing configuration
|
|
35
|
+
*/
|
|
36
|
+
exports.DEFAULT_TIMING_CONFIG = {
|
|
37
|
+
duration: 300,
|
|
38
|
+
easing: exports.Easing.out(exports.Easing.cubic),
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Default spring configuration
|
|
42
|
+
*/
|
|
43
|
+
exports.DEFAULT_SPRING_CONFIG = {
|
|
44
|
+
damping: 15,
|
|
45
|
+
stiffness: 150,
|
|
46
|
+
mass: 1,
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Hook that creates an animated value that transitions to a target
|
|
50
|
+
* @param target - Target value to animate to
|
|
51
|
+
* @param config - Animation configuration
|
|
52
|
+
*/
|
|
53
|
+
function useAnimatedValue(target, config = {}) {
|
|
54
|
+
const animatedValue = (0, exports.useSharedValue)(target);
|
|
55
|
+
(0, react_1.useEffect)(() => {
|
|
56
|
+
animatedValue.value = (0, exports.withTiming)(target, {
|
|
57
|
+
duration: config.duration ?? exports.DEFAULT_TIMING_CONFIG.duration,
|
|
58
|
+
easing: exports.DEFAULT_TIMING_CONFIG.easing,
|
|
59
|
+
});
|
|
60
|
+
}, [target, config.duration, animatedValue]);
|
|
61
|
+
return animatedValue;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Hook that creates an animated progress value (0 to normalized)
|
|
65
|
+
* @param value - Current value
|
|
66
|
+
* @param max - Maximum value
|
|
67
|
+
* @param config - Animation configuration
|
|
68
|
+
*/
|
|
69
|
+
function useAnimatedProgress(value, max, config = {}) {
|
|
70
|
+
const normalized = max > 0 ? Math.min(value / max, 1) : 0;
|
|
71
|
+
return useAnimatedValue(normalized, config);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Hook that creates a spring-animated value
|
|
75
|
+
* @param target - Target value to animate to
|
|
76
|
+
*/
|
|
77
|
+
function useSpringValue(target) {
|
|
78
|
+
const animatedValue = (0, exports.useSharedValue)(target);
|
|
79
|
+
(0, react_1.useEffect)(() => {
|
|
80
|
+
animatedValue.value = (0, exports.withSpring)(target, exports.DEFAULT_SPRING_CONFIG);
|
|
81
|
+
}, [target, animatedValue]);
|
|
82
|
+
return animatedValue;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Creates timing config for manual animations
|
|
86
|
+
*/
|
|
87
|
+
function useTimingConfig(config = {}) {
|
|
88
|
+
return {
|
|
89
|
+
duration: config.duration ?? exports.DEFAULT_TIMING_CONFIG.duration,
|
|
90
|
+
easing: exports.DEFAULT_TIMING_CONFIG.easing,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Creates spring config for manual animations
|
|
95
|
+
*/
|
|
96
|
+
function useSpringConfig() {
|
|
97
|
+
return exports.DEFAULT_SPRING_CONFIG;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/animation/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_SPRING_CONFIG = exports.DEFAULT_TIMING_CONFIG = exports.Easing = exports.withRepeat = exports.withSequence = exports.withDelay = exports.withSpring = exports.withTiming = exports.useSharedValue = void 0;
|
|
4
|
+
exports.useAnimatedValue = useAnimatedValue;
|
|
5
|
+
exports.useAnimatedProgress = useAnimatedProgress;
|
|
6
|
+
exports.useSpringValue = useSpringValue;
|
|
7
|
+
exports.useTimingConfig = useTimingConfig;
|
|
8
|
+
exports.useSpringConfig = useSpringConfig;
|
|
9
|
+
// Web-compatible stubs for reanimated functions
|
|
10
|
+
const useSharedValue = (initialValue) => {
|
|
11
|
+
return { value: initialValue };
|
|
12
|
+
};
|
|
13
|
+
exports.useSharedValue = useSharedValue;
|
|
14
|
+
const withTiming = (value, config) => {
|
|
15
|
+
return value;
|
|
16
|
+
};
|
|
17
|
+
exports.withTiming = withTiming;
|
|
18
|
+
const withSpring = (value, config) => {
|
|
19
|
+
return value;
|
|
20
|
+
};
|
|
21
|
+
exports.withSpring = withSpring;
|
|
22
|
+
const withDelay = (delay, animation) => {
|
|
23
|
+
return animation;
|
|
24
|
+
};
|
|
25
|
+
exports.withDelay = withDelay;
|
|
26
|
+
const withSequence = (...animations) => {
|
|
27
|
+
return animations[animations.length - 1];
|
|
28
|
+
};
|
|
29
|
+
exports.withSequence = withSequence;
|
|
30
|
+
const withRepeat = (animation, numberOfReps, reverse) => {
|
|
31
|
+
return animation;
|
|
32
|
+
};
|
|
33
|
+
exports.withRepeat = withRepeat;
|
|
34
|
+
exports.Easing = {
|
|
35
|
+
linear: (t) => t,
|
|
36
|
+
ease: (t) => t,
|
|
37
|
+
quad: (t) => t * t,
|
|
38
|
+
cubic: (t) => t * t * t,
|
|
39
|
+
bezier: (x1, y1, x2, y2) => (t) => t,
|
|
40
|
+
in: (easing) => easing,
|
|
41
|
+
out: (easing) => (t) => 1 - easing(1 - t),
|
|
42
|
+
inOut: (easing) => (t) => t < 0.5 ? easing(t * 2) / 2 : 1 - easing((1 - t) * 2) / 2,
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Default timing configuration
|
|
46
|
+
*/
|
|
47
|
+
exports.DEFAULT_TIMING_CONFIG = {
|
|
48
|
+
duration: 300,
|
|
49
|
+
easing: exports.Easing.linear,
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Default spring configuration
|
|
53
|
+
*/
|
|
54
|
+
exports.DEFAULT_SPRING_CONFIG = {
|
|
55
|
+
damping: 15,
|
|
56
|
+
stiffness: 150,
|
|
57
|
+
mass: 1,
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Hook to animate value changes (web version)
|
|
61
|
+
*/
|
|
62
|
+
function useAnimatedValue(target, config = {}) {
|
|
63
|
+
// On web, just return the value directly
|
|
64
|
+
// Full animation support requires additional setup
|
|
65
|
+
return (0, exports.useSharedValue)(target);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Hook that creates an animated progress value (0 to normalized)
|
|
69
|
+
*/
|
|
70
|
+
function useAnimatedProgress(value, max, config = {}) {
|
|
71
|
+
const normalized = max > 0 ? Math.min(value / max, 1) : 0;
|
|
72
|
+
return useAnimatedValue(normalized, config);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Hook that creates a spring-animated value
|
|
76
|
+
*/
|
|
77
|
+
function useSpringValue(target) {
|
|
78
|
+
return (0, exports.useSharedValue)(target);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Creates timing config for manual animations
|
|
82
|
+
*/
|
|
83
|
+
function useTimingConfig(config = {}) {
|
|
84
|
+
return {
|
|
85
|
+
duration: config.duration ?? exports.DEFAULT_TIMING_CONFIG.duration,
|
|
86
|
+
easing: exports.DEFAULT_TIMING_CONFIG.easing,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Creates spring config for manual animations
|
|
91
|
+
*/
|
|
92
|
+
function useSpringConfig() {
|
|
93
|
+
return exports.DEFAULT_SPRING_CONFIG;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/core/animation/index.web.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useWidgetDimensions = useWidgetDimensions;
|
|
4
|
+
exports.useWidgetTheme = useWidgetTheme;
|
|
5
|
+
exports.useWidgetPadding = useWidgetPadding;
|
|
6
|
+
exports.useInnerDimensions = useInnerDimensions;
|
|
7
|
+
/**
|
|
8
|
+
* Reusable hooks for widgets
|
|
9
|
+
*/
|
|
10
|
+
const react_1 = require("react");
|
|
11
|
+
const theme_1 = require("../theme");
|
|
12
|
+
/**
|
|
13
|
+
* Hook to get widget dimensions with defaults
|
|
14
|
+
*/
|
|
15
|
+
function useWidgetDimensions(width, height, defaultWidth = 300, defaultHeight = 200) {
|
|
16
|
+
return (0, react_1.useMemo)(() => ({
|
|
17
|
+
width: width ?? defaultWidth,
|
|
18
|
+
height: height ?? defaultHeight,
|
|
19
|
+
}), [width, height, defaultWidth, defaultHeight]);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Hook to merge theme overrides
|
|
23
|
+
*/
|
|
24
|
+
function useWidgetTheme(themeOverride) {
|
|
25
|
+
const contextTheme = (0, theme_1.useTheme)();
|
|
26
|
+
return themeOverride ?? contextTheme;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Hook for widget padding calculations
|
|
30
|
+
*/
|
|
31
|
+
function useWidgetPadding(theme) {
|
|
32
|
+
return (0, react_1.useMemo)(() => ({
|
|
33
|
+
top: theme.spacing.md,
|
|
34
|
+
right: theme.spacing.md,
|
|
35
|
+
bottom: theme.spacing.md,
|
|
36
|
+
left: theme.spacing.md,
|
|
37
|
+
horizontal: theme.spacing.md * 2,
|
|
38
|
+
vertical: theme.spacing.md * 2,
|
|
39
|
+
}), [theme.spacing.md]);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Hook to calculate inner dimensions after padding
|
|
43
|
+
*/
|
|
44
|
+
function useInnerDimensions(width, height, padding) {
|
|
45
|
+
return (0, react_1.useMemo)(() => ({
|
|
46
|
+
width: Math.max(0, width - padding.horizontal),
|
|
47
|
+
height: Math.max(0, height - padding.vertical),
|
|
48
|
+
}), [width, height, padding.horizontal, padding.vertical]);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/hooks/index.ts"],"names":[],"mappings":";;AAUA,kDAaC;AAKD,wCAGC;AAKD,4CAYC;AAKD,gDAYC;AAjED;;GAEG;AACH,iCAAgC;AAEhC,oCAAoC;AAEpC;;GAEG;AACH,SAAgB,mBAAmB,CACjC,KAAc,EACd,MAAe,EACf,eAAuB,GAAG,EAC1B,gBAAwB,GAAG;IAE3B,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,EAAE,KAAK,IAAI,YAAY;QAC5B,MAAM,EAAE,MAAM,IAAI,aAAa;KAChC,CAAC,EACF,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,CAAC,CAC7C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAAC,aAAqB;IAClD,MAAM,YAAY,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAChC,OAAO,aAAa,IAAI,YAAY,CAAC;AACvC,CAAC;AAED;;GAEG;AACH,SAAgB,gBAAgB,CAAC,KAAY;IAC3C,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC,CAAC;QACL,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE;QACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE;QACvB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE;QACxB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE;QACtB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG,CAAC;QAChC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG,CAAC;KAC/B,CAAC,EACF,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CACnB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,KAAa,EACb,MAAc,EACd,OAAiD;IAEjD,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC;QAC9C,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;KAC/C,CAAC,EACF,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core package - Foundation for all widgets
|
|
4
|
+
* NO SVG dependencies allowed here
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
// Math utilities
|
|
22
|
+
__exportStar(require("./math"), exports);
|
|
23
|
+
// Layout utilities
|
|
24
|
+
__exportStar(require("./layout"), exports);
|
|
25
|
+
// Theme system
|
|
26
|
+
__exportStar(require("./theme"), exports);
|
|
27
|
+
// Animation helpers
|
|
28
|
+
__exportStar(require("./animation"), exports);
|
|
29
|
+
// Hooks
|
|
30
|
+
__exportStar(require("./hooks"), exports);
|
|
31
|
+
// Types
|
|
32
|
+
__exportStar(require("./types"), exports);
|
|
33
|
+
// Utils
|
|
34
|
+
__exportStar(require("./utils/time"), exports);
|
|
35
|
+
__exportStar(require("./utils/responsive"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,iBAAiB;AACjB,yCAAuB;AAEvB,mBAAmB;AACnB,2CAAyB;AAEzB,eAAe;AACf,0CAAwB;AAExB,oBAAoB;AACpB,8CAA4B;AAE5B,QAAQ;AACR,0CAAwB;AAExB,QAAQ;AACR,0CAAwB;AAExB,QAAQ;AACR,+CAA6B;AAC7B,qDAAmC"}
|