pristine-charts 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +154 -0
  2. package/dist/area-chart/index.cjs +1736 -0
  3. package/dist/area-chart/index.cjs.map +1 -0
  4. package/dist/area-chart/index.d.cts +75 -0
  5. package/dist/area-chart/index.d.ts +75 -0
  6. package/dist/area-chart/index.js +1730 -0
  7. package/dist/area-chart/index.js.map +1 -0
  8. package/dist/bar-chart/index.cjs +1808 -0
  9. package/dist/bar-chart/index.cjs.map +1 -0
  10. package/dist/bar-chart/index.d.cts +72 -0
  11. package/dist/bar-chart/index.d.ts +72 -0
  12. package/dist/bar-chart/index.js +1802 -0
  13. package/dist/bar-chart/index.js.map +1 -0
  14. package/dist/box-plot/index.cjs +1858 -0
  15. package/dist/box-plot/index.cjs.map +1 -0
  16. package/dist/box-plot/index.d.cts +58 -0
  17. package/dist/box-plot/index.d.ts +58 -0
  18. package/dist/box-plot/index.js +1852 -0
  19. package/dist/box-plot/index.js.map +1 -0
  20. package/dist/bullet-chart/index.cjs +1707 -0
  21. package/dist/bullet-chart/index.cjs.map +1 -0
  22. package/dist/bullet-chart/index.d.cts +68 -0
  23. package/dist/bullet-chart/index.d.ts +68 -0
  24. package/dist/bullet-chart/index.js +1701 -0
  25. package/dist/bullet-chart/index.js.map +1 -0
  26. package/dist/histogram-chart/index.cjs +1876 -0
  27. package/dist/histogram-chart/index.cjs.map +1 -0
  28. package/dist/histogram-chart/index.d.cts +76 -0
  29. package/dist/histogram-chart/index.d.ts +76 -0
  30. package/dist/histogram-chart/index.js +1870 -0
  31. package/dist/histogram-chart/index.js.map +1 -0
  32. package/dist/index.cjs +6940 -0
  33. package/dist/index.cjs.map +1 -0
  34. package/dist/index.d.cts +19 -0
  35. package/dist/index.d.ts +19 -0
  36. package/dist/index.js +6860 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/kpi-card/index.cjs +1315 -0
  39. package/dist/kpi-card/index.cjs.map +1 -0
  40. package/dist/kpi-card/index.d.cts +79 -0
  41. package/dist/kpi-card/index.d.ts +79 -0
  42. package/dist/kpi-card/index.js +1304 -0
  43. package/dist/kpi-card/index.js.map +1 -0
  44. package/dist/line-chart/index.cjs +1742 -0
  45. package/dist/line-chart/index.cjs.map +1 -0
  46. package/dist/line-chart/index.d.cts +54 -0
  47. package/dist/line-chart/index.d.ts +54 -0
  48. package/dist/line-chart/index.js +1736 -0
  49. package/dist/line-chart/index.js.map +1 -0
  50. package/dist/linearSeries-BQL4Ud3w.d.cts +14 -0
  51. package/dist/linearSeries-BQL4Ud3w.d.ts +14 -0
  52. package/dist/pie-donut-chart/index.cjs +1663 -0
  53. package/dist/pie-donut-chart/index.cjs.map +1 -0
  54. package/dist/pie-donut-chart/index.d.cts +83 -0
  55. package/dist/pie-donut-chart/index.d.ts +83 -0
  56. package/dist/pie-donut-chart/index.js +1655 -0
  57. package/dist/pie-donut-chart/index.js.map +1 -0
  58. package/dist/progress-bar/index.cjs +1336 -0
  59. package/dist/progress-bar/index.cjs.map +1 -0
  60. package/dist/progress-bar/index.d.cts +54 -0
  61. package/dist/progress-bar/index.d.ts +54 -0
  62. package/dist/progress-bar/index.js +1329 -0
  63. package/dist/progress-bar/index.js.map +1 -0
  64. package/dist/ranked-list/index.cjs +1584 -0
  65. package/dist/ranked-list/index.cjs.map +1 -0
  66. package/dist/ranked-list/index.d.cts +70 -0
  67. package/dist/ranked-list/index.d.ts +70 -0
  68. package/dist/ranked-list/index.js +1576 -0
  69. package/dist/ranked-list/index.js.map +1 -0
  70. package/dist/result-C2epnG6V.d.cts +33 -0
  71. package/dist/result-C2epnG6V.d.ts +33 -0
  72. package/dist/scatter-plot/index.cjs +1618 -0
  73. package/dist/scatter-plot/index.cjs.map +1 -0
  74. package/dist/scatter-plot/index.d.cts +55 -0
  75. package/dist/scatter-plot/index.d.ts +55 -0
  76. package/dist/scatter-plot/index.js +1612 -0
  77. package/dist/scatter-plot/index.js.map +1 -0
  78. package/dist/sparkline/index.cjs +1456 -0
  79. package/dist/sparkline/index.cjs.map +1 -0
  80. package/dist/sparkline/index.d.cts +47 -0
  81. package/dist/sparkline/index.d.ts +47 -0
  82. package/dist/sparkline/index.js +1451 -0
  83. package/dist/sparkline/index.js.map +1 -0
  84. package/package.json +126 -0
@@ -0,0 +1,19 @@
1
+ export { AreaChart, AreaChartError, AreaChartErrorType, AreaChartInput, AreaChartPoint, AreaChartProps, AreaChartResult, AreaCoordinateValue, Baseline, BaselinePoint, ClosingEdge, DEFAULT_AREA_CHART_VIEW_PROPS, FilledRegion, SortedDataset as SortedAreaChartDataset, ValidatedDataset as ValidatedAreaChartDataset, ValidatedAreaChartInput, ValidatedAreaChartPoint, ValidatedBaseline, computeAreaChart, formatAreaChartNumber, validateAreaChartInput } from './area-chart/index.cjs';
2
+ export { AlphabeticalOrderStrategy, Bar, BarChart, BarChartDatum, BarChartError, BarChartErrorType, BarChartInput, BarChartProps, BarChartResult, BarDirection, ByInsertionOrderStrategy, ByValueOrderStrategy, Category, CustomOrderStrategy, DEFAULT_BAR_CHART_ORDER_STRATEGY, DEFAULT_BAR_CHART_VIEW_PROPS, OrderStrategy, SortDirection, ValidatedBarChartDatum, computeBarChart, validateBarChartInput } from './bar-chart/index.cjs';
3
+ export { BandLabel, BulletChart, CurrentValue as BulletChartCurrentValue, BulletChartError, BulletChartErrorType, BulletChartInput, BulletChartProps, BulletChartResult, BulletChartSummary, DEFAULT_BULLET_CHART_VIEW_PROPS, PerformanceBand, ScaleRange, TargetValue, ValidatedBulletChartInput, ValidatedPerformanceBand, computeBulletChart, formatBulletChartNumber, validateBulletChartInput } from './bullet-chart/index.cjs';
4
+ export { BoxPlot, BoxPlotError, BoxPlotErrorType, BoxPlotInput, NumericValue as BoxPlotNumericValue, BoxPlotProps, BoxPlotResult, DEFAULT_BOX_PLOT_VIEW_PROPS, FiveNumberSummary, Outlier, SortedDataset as SortedBoxPlotDataset, ValidatedDataset as ValidatedBoxPlotDataset, ValidatedBoxPlotInput, computeBoxPlot, formatBoxPlotNumber, validateBoxPlotInput } from './box-plot/index.cjs';
5
+ export { AutoBinStrategy, BinCount, BinStrategy, DEFAULT_HISTOGRAM_BIN_STRATEGY, DEFAULT_HISTOGRAM_CHART_VIEW_PROPS, HistogramBin, HistogramChart, HistogramChartProps, HistogramError, HistogramErrorType, HistogramInput, HistogramResult, ManualBinStrategy, NumericValue, Thresholds, ValidatedBinStrategy, ValidatedDataset, ValidatedHistogramInput, computeHistogram, validateHistogramInput } from './histogram-chart/index.cjs';
6
+ export { ChangeAmount, ChangeDirection, ChangePercentage, DEFAULT_KPI_CARD_POLARITY, DEFAULT_KPI_CARD_VIEW_PROPS, HIGHER_IS_BETTER, KPICard, CurrentValue as KPICardCurrentValue, KPICardError, KPICardErrorType, KPICardInput, KPICardProps, KPICardResult, KPISummary, LOWER_IS_BETTER, MetricName, MetricPolarity, ReferenceValue, ValidatedKPICardInput, computeKPICard, formatKPICardNumber, formatKPICardPercentage, formatKPICardSignedNumber, validateKPICardInput } from './kpi-card/index.cjs';
7
+ export { CoordinateValue, DEFAULT_LINE_CHART_VIEW_PROPS, LineChart, LineChartError, LineChartErrorType, LineChartInput, LineChartPoint, LineChartProps, LineChartResult, LineSegment, SortedDataset, ValidatedDataset as ValidatedLineChartDataset, ValidatedLineChartInput, ValidatedLineChartPoint, computeLineChart, formatLineChartNumber, validateLineChartInput } from './line-chart/index.cjs';
8
+ export { Arc, ChartVariant, DEFAULT_PIE_DONUT_CHART_VARIANT, DEFAULT_PIE_DONUT_CHART_VIEW_PROPS, DonutChartVariant, InnerRadius, PieChartVariant, PieDonutChart, PieDonutChartError, PieDonutChartErrorType, PieDonutChartInput, PieDonutChartProps, PieDonutChartResult, Proportion, Radian, SegmentedWhole, Slice, ValidatedChartVariant, ValidatedDataset as ValidatedPieDonutChartDataset, ValidatedPieDonutChartInput, ValidatedSlice, Value, computePieDonutChart, formatPieDonutChartNumber, formatPieDonutChartPercentage, validatePieDonutChartInput } from './pie-donut-chart/index.cjs';
9
+ export { CurrentValue, DEFAULT_PROGRESS_BAR_VIEW_PROPS, ProgressBar, ProgressBarError, ProgressBarErrorType, ProgressBarInput, ProgressBarProps, ProgressBarResult, Ratio, Total, ValidatedProgressBarInput, computeProgressBar, formatProgressBarNumber, formatProgressBarPercentage, validateProgressBarInput } from './progress-bar/index.cjs';
10
+ export { DEFAULT_RANKED_LIST_VIEW_PROPS, PriorRank, Rank, RankChange, RankedEntry, RankedItem, RankedList, RankedListError, RankedListErrorType, RankedListInput, RankedListLabel, RankedListProps, RankedListResult, RankedListValue, ValidatedRankedItem, ValidatedDataset as ValidatedRankedListDataset, computeRankedList, formatRankedListNumber, formatRankedListRank, formatRankedListRankChange, validateRankedListInput } from './ranked-list/index.cjs';
11
+ export { DEFAULT_SCATTER_PLOT_VIEW_PROPS, ScatterCoordinateValue, ScatterPlot, ScatterPlotDot, ScatterPlotError, ScatterPlotErrorType, ScatterPlotInput, ScatterPlotPoint, ScatterPlotProps, ScatterPlotResult, ValidatedDataset as ValidatedScatterPlotDataset, ValidatedScatterPlotInput, ValidatedScatterPlotPoint, computeScatterPlot, formatScatterPlotNumber, validateScatterPlotInput } from './scatter-plot/index.cjs';
12
+ export { DEFAULT_SPARKLINE_VIEW_PROPS, SortedDataset as SortedSparklineDataset, Sparkline, SparklineCoordinateValue, SparklineError, SparklineErrorType, SparklineInput, SparklinePoint, SparklineProps, SparklineResult, SparklineSegment, ValidatedDataset as ValidatedSparklineDataset, ValidatedSparklineInput, ValidatedSparklinePoint, computeSparkline, validateSparklineInput } from './sparkline/index.cjs';
13
+ export { N as None, O as Option, a as OptionMatcher, S as Some, b as andThenResult, f as fromNullable, g as getOrElse, i as isNone, c as isSome, m as mapResult, d as matchOption, n as none, s as some } from './result-C2epnG6V.cjs';
14
+ import 'react';
15
+ import './linearSeries-BQL4Ud3w.cjs';
16
+
17
+ declare const classNames: (values: readonly string[]) => string;
18
+
19
+ export { classNames };
@@ -0,0 +1,19 @@
1
+ export { AreaChart, AreaChartError, AreaChartErrorType, AreaChartInput, AreaChartPoint, AreaChartProps, AreaChartResult, AreaCoordinateValue, Baseline, BaselinePoint, ClosingEdge, DEFAULT_AREA_CHART_VIEW_PROPS, FilledRegion, SortedDataset as SortedAreaChartDataset, ValidatedDataset as ValidatedAreaChartDataset, ValidatedAreaChartInput, ValidatedAreaChartPoint, ValidatedBaseline, computeAreaChart, formatAreaChartNumber, validateAreaChartInput } from './area-chart/index.js';
2
+ export { AlphabeticalOrderStrategy, Bar, BarChart, BarChartDatum, BarChartError, BarChartErrorType, BarChartInput, BarChartProps, BarChartResult, BarDirection, ByInsertionOrderStrategy, ByValueOrderStrategy, Category, CustomOrderStrategy, DEFAULT_BAR_CHART_ORDER_STRATEGY, DEFAULT_BAR_CHART_VIEW_PROPS, OrderStrategy, SortDirection, ValidatedBarChartDatum, computeBarChart, validateBarChartInput } from './bar-chart/index.js';
3
+ export { BandLabel, BulletChart, CurrentValue as BulletChartCurrentValue, BulletChartError, BulletChartErrorType, BulletChartInput, BulletChartProps, BulletChartResult, BulletChartSummary, DEFAULT_BULLET_CHART_VIEW_PROPS, PerformanceBand, ScaleRange, TargetValue, ValidatedBulletChartInput, ValidatedPerformanceBand, computeBulletChart, formatBulletChartNumber, validateBulletChartInput } from './bullet-chart/index.js';
4
+ export { BoxPlot, BoxPlotError, BoxPlotErrorType, BoxPlotInput, NumericValue as BoxPlotNumericValue, BoxPlotProps, BoxPlotResult, DEFAULT_BOX_PLOT_VIEW_PROPS, FiveNumberSummary, Outlier, SortedDataset as SortedBoxPlotDataset, ValidatedDataset as ValidatedBoxPlotDataset, ValidatedBoxPlotInput, computeBoxPlot, formatBoxPlotNumber, validateBoxPlotInput } from './box-plot/index.js';
5
+ export { AutoBinStrategy, BinCount, BinStrategy, DEFAULT_HISTOGRAM_BIN_STRATEGY, DEFAULT_HISTOGRAM_CHART_VIEW_PROPS, HistogramBin, HistogramChart, HistogramChartProps, HistogramError, HistogramErrorType, HistogramInput, HistogramResult, ManualBinStrategy, NumericValue, Thresholds, ValidatedBinStrategy, ValidatedDataset, ValidatedHistogramInput, computeHistogram, validateHistogramInput } from './histogram-chart/index.js';
6
+ export { ChangeAmount, ChangeDirection, ChangePercentage, DEFAULT_KPI_CARD_POLARITY, DEFAULT_KPI_CARD_VIEW_PROPS, HIGHER_IS_BETTER, KPICard, CurrentValue as KPICardCurrentValue, KPICardError, KPICardErrorType, KPICardInput, KPICardProps, KPICardResult, KPISummary, LOWER_IS_BETTER, MetricName, MetricPolarity, ReferenceValue, ValidatedKPICardInput, computeKPICard, formatKPICardNumber, formatKPICardPercentage, formatKPICardSignedNumber, validateKPICardInput } from './kpi-card/index.js';
7
+ export { CoordinateValue, DEFAULT_LINE_CHART_VIEW_PROPS, LineChart, LineChartError, LineChartErrorType, LineChartInput, LineChartPoint, LineChartProps, LineChartResult, LineSegment, SortedDataset, ValidatedDataset as ValidatedLineChartDataset, ValidatedLineChartInput, ValidatedLineChartPoint, computeLineChart, formatLineChartNumber, validateLineChartInput } from './line-chart/index.js';
8
+ export { Arc, ChartVariant, DEFAULT_PIE_DONUT_CHART_VARIANT, DEFAULT_PIE_DONUT_CHART_VIEW_PROPS, DonutChartVariant, InnerRadius, PieChartVariant, PieDonutChart, PieDonutChartError, PieDonutChartErrorType, PieDonutChartInput, PieDonutChartProps, PieDonutChartResult, Proportion, Radian, SegmentedWhole, Slice, ValidatedChartVariant, ValidatedDataset as ValidatedPieDonutChartDataset, ValidatedPieDonutChartInput, ValidatedSlice, Value, computePieDonutChart, formatPieDonutChartNumber, formatPieDonutChartPercentage, validatePieDonutChartInput } from './pie-donut-chart/index.js';
9
+ export { CurrentValue, DEFAULT_PROGRESS_BAR_VIEW_PROPS, ProgressBar, ProgressBarError, ProgressBarErrorType, ProgressBarInput, ProgressBarProps, ProgressBarResult, Ratio, Total, ValidatedProgressBarInput, computeProgressBar, formatProgressBarNumber, formatProgressBarPercentage, validateProgressBarInput } from './progress-bar/index.js';
10
+ export { DEFAULT_RANKED_LIST_VIEW_PROPS, PriorRank, Rank, RankChange, RankedEntry, RankedItem, RankedList, RankedListError, RankedListErrorType, RankedListInput, RankedListLabel, RankedListProps, RankedListResult, RankedListValue, ValidatedRankedItem, ValidatedDataset as ValidatedRankedListDataset, computeRankedList, formatRankedListNumber, formatRankedListRank, formatRankedListRankChange, validateRankedListInput } from './ranked-list/index.js';
11
+ export { DEFAULT_SCATTER_PLOT_VIEW_PROPS, ScatterCoordinateValue, ScatterPlot, ScatterPlotDot, ScatterPlotError, ScatterPlotErrorType, ScatterPlotInput, ScatterPlotPoint, ScatterPlotProps, ScatterPlotResult, ValidatedDataset as ValidatedScatterPlotDataset, ValidatedScatterPlotInput, ValidatedScatterPlotPoint, computeScatterPlot, formatScatterPlotNumber, validateScatterPlotInput } from './scatter-plot/index.js';
12
+ export { DEFAULT_SPARKLINE_VIEW_PROPS, SortedDataset as SortedSparklineDataset, Sparkline, SparklineCoordinateValue, SparklineError, SparklineErrorType, SparklineInput, SparklinePoint, SparklineProps, SparklineResult, SparklineSegment, ValidatedDataset as ValidatedSparklineDataset, ValidatedSparklineInput, ValidatedSparklinePoint, computeSparkline, validateSparklineInput } from './sparkline/index.js';
13
+ export { N as None, O as Option, a as OptionMatcher, S as Some, b as andThenResult, f as fromNullable, g as getOrElse, i as isNone, c as isSome, m as mapResult, d as matchOption, n as none, s as some } from './result-C2epnG6V.js';
14
+ import 'react';
15
+ import './linearSeries-BQL4Ud3w.js';
16
+
17
+ declare const classNames: (values: readonly string[]) => string;
18
+
19
+ export { classNames };