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.
- package/README.md +154 -0
- package/dist/area-chart/index.cjs +1736 -0
- package/dist/area-chart/index.cjs.map +1 -0
- package/dist/area-chart/index.d.cts +75 -0
- package/dist/area-chart/index.d.ts +75 -0
- package/dist/area-chart/index.js +1730 -0
- package/dist/area-chart/index.js.map +1 -0
- package/dist/bar-chart/index.cjs +1808 -0
- package/dist/bar-chart/index.cjs.map +1 -0
- package/dist/bar-chart/index.d.cts +72 -0
- package/dist/bar-chart/index.d.ts +72 -0
- package/dist/bar-chart/index.js +1802 -0
- package/dist/bar-chart/index.js.map +1 -0
- package/dist/box-plot/index.cjs +1858 -0
- package/dist/box-plot/index.cjs.map +1 -0
- package/dist/box-plot/index.d.cts +58 -0
- package/dist/box-plot/index.d.ts +58 -0
- package/dist/box-plot/index.js +1852 -0
- package/dist/box-plot/index.js.map +1 -0
- package/dist/bullet-chart/index.cjs +1707 -0
- package/dist/bullet-chart/index.cjs.map +1 -0
- package/dist/bullet-chart/index.d.cts +68 -0
- package/dist/bullet-chart/index.d.ts +68 -0
- package/dist/bullet-chart/index.js +1701 -0
- package/dist/bullet-chart/index.js.map +1 -0
- package/dist/histogram-chart/index.cjs +1876 -0
- package/dist/histogram-chart/index.cjs.map +1 -0
- package/dist/histogram-chart/index.d.cts +76 -0
- package/dist/histogram-chart/index.d.ts +76 -0
- package/dist/histogram-chart/index.js +1870 -0
- package/dist/histogram-chart/index.js.map +1 -0
- package/dist/index.cjs +6940 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +6860 -0
- package/dist/index.js.map +1 -0
- package/dist/kpi-card/index.cjs +1315 -0
- package/dist/kpi-card/index.cjs.map +1 -0
- package/dist/kpi-card/index.d.cts +79 -0
- package/dist/kpi-card/index.d.ts +79 -0
- package/dist/kpi-card/index.js +1304 -0
- package/dist/kpi-card/index.js.map +1 -0
- package/dist/line-chart/index.cjs +1742 -0
- package/dist/line-chart/index.cjs.map +1 -0
- package/dist/line-chart/index.d.cts +54 -0
- package/dist/line-chart/index.d.ts +54 -0
- package/dist/line-chart/index.js +1736 -0
- package/dist/line-chart/index.js.map +1 -0
- package/dist/linearSeries-BQL4Ud3w.d.cts +14 -0
- package/dist/linearSeries-BQL4Ud3w.d.ts +14 -0
- package/dist/pie-donut-chart/index.cjs +1663 -0
- package/dist/pie-donut-chart/index.cjs.map +1 -0
- package/dist/pie-donut-chart/index.d.cts +83 -0
- package/dist/pie-donut-chart/index.d.ts +83 -0
- package/dist/pie-donut-chart/index.js +1655 -0
- package/dist/pie-donut-chart/index.js.map +1 -0
- package/dist/progress-bar/index.cjs +1336 -0
- package/dist/progress-bar/index.cjs.map +1 -0
- package/dist/progress-bar/index.d.cts +54 -0
- package/dist/progress-bar/index.d.ts +54 -0
- package/dist/progress-bar/index.js +1329 -0
- package/dist/progress-bar/index.js.map +1 -0
- package/dist/ranked-list/index.cjs +1584 -0
- package/dist/ranked-list/index.cjs.map +1 -0
- package/dist/ranked-list/index.d.cts +70 -0
- package/dist/ranked-list/index.d.ts +70 -0
- package/dist/ranked-list/index.js +1576 -0
- package/dist/ranked-list/index.js.map +1 -0
- package/dist/result-C2epnG6V.d.cts +33 -0
- package/dist/result-C2epnG6V.d.ts +33 -0
- package/dist/scatter-plot/index.cjs +1618 -0
- package/dist/scatter-plot/index.cjs.map +1 -0
- package/dist/scatter-plot/index.d.cts +55 -0
- package/dist/scatter-plot/index.d.ts +55 -0
- package/dist/scatter-plot/index.js +1612 -0
- package/dist/scatter-plot/index.js.map +1 -0
- package/dist/sparkline/index.cjs +1456 -0
- package/dist/sparkline/index.cjs.map +1 -0
- package/dist/sparkline/index.d.cts +47 -0
- package/dist/sparkline/index.d.ts +47 -0
- package/dist/sparkline/index.js +1451 -0
- package/dist/sparkline/index.js.map +1 -0
- package/package.json +126 -0
package/dist/index.d.cts
ADDED
|
@@ -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 };
|
package/dist/index.d.ts
ADDED
|
@@ -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 };
|