@flux-ui/types 3.0.0-next.68 → 3.0.0-next.69
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/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/statistics.ts +8 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -102,5 +102,6 @@ export type {
|
|
|
102
102
|
FluxStatisticsChartScatterPoint,
|
|
103
103
|
FluxStatisticsChartScatterSeries,
|
|
104
104
|
FluxStatisticsChartTreemapNode,
|
|
105
|
-
FluxStatisticsChartTreemapSeries
|
|
105
|
+
FluxStatisticsChartTreemapSeries,
|
|
106
|
+
FluxStatisticsPercentageBarItemObject
|
|
106
107
|
} from './statistics';
|
package/src/statistics.ts
CHANGED
|
@@ -8,6 +8,14 @@ export type FluxStatisticsChange = {
|
|
|
8
8
|
|
|
9
9
|
export type FluxStatisticsChartColor = FluxColor | `#${string}` | `var(--${string})`;
|
|
10
10
|
|
|
11
|
+
export interface FluxStatisticsPercentageBarItemObject {
|
|
12
|
+
readonly color?: FluxStatisticsChartColor;
|
|
13
|
+
readonly icon?: FluxIconName;
|
|
14
|
+
readonly label: string;
|
|
15
|
+
readonly value: number;
|
|
16
|
+
readonly displayValue?: string | number;
|
|
17
|
+
}
|
|
18
|
+
|
|
11
19
|
export interface FluxStatisticsChartCategoryPoint {
|
|
12
20
|
readonly label?: string;
|
|
13
21
|
readonly value: number;
|