@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flux-ui/types",
3
3
  "description": "Contains all public types of Flux UI packages.",
4
- "version": "3.0.0-next.68",
4
+ "version": "3.0.0-next.69",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/basmilius",
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;