@selfdecode/sd-component-library 4.0.13-diet-7 → 4.0.13-diet-10
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.
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
1
2
|
export interface CompactDonutGaugeProps {
|
|
2
3
|
segments: CompactDonutSegment[];
|
|
3
4
|
value: number;
|
|
4
5
|
size?: number;
|
|
5
6
|
segmentWidth?: number;
|
|
6
7
|
outlineWidth?: number;
|
|
8
|
+
cursor?: CSSProperties["cursor"];
|
|
7
9
|
}
|
|
8
10
|
export interface CompactDonutSegment {
|
|
9
11
|
start: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SxProps } from "rebass";
|
|
3
3
|
export interface DonutDiagramProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
4
5
|
segments: DonutSegment[];
|
|
5
6
|
size?: number;
|
|
6
7
|
outlineWidth?: number;
|
|
@@ -13,7 +14,6 @@ export interface DonutDiagramProps {
|
|
|
13
14
|
verticalOffsetMobile?: number;
|
|
14
15
|
mobile?: boolean;
|
|
15
16
|
containerSx?: SxProps["sx"];
|
|
16
|
-
children?: React.ReactNode;
|
|
17
17
|
}
|
|
18
18
|
export interface DonutSegment {
|
|
19
19
|
start: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
1
2
|
import { ResponsiveTextV2Props } from "../../texts";
|
|
2
3
|
export interface LinearGaugeProps {
|
|
3
4
|
segmentHeight?: number;
|
|
@@ -6,4 +7,5 @@ export interface LinearGaugeProps {
|
|
|
6
7
|
defaultColor?: string;
|
|
7
8
|
defaultMatchedColor?: string;
|
|
8
9
|
labelProps?: Partial<Omit<ResponsiveTextV2Props, "color">>;
|
|
10
|
+
cursor?: CSSProperties["cursor"];
|
|
9
11
|
}
|