rbro-tat-uds 1.6.19 → 1.6.20
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/dist/components/Bar/Bar.d.ts +1 -1
- package/dist/components/DonutGraph/DonutGraph.d.ts +13 -0
- package/dist/components/DonutGraph/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +1 -0
- package/dist/components/SidebarItem/SidebarItem.d.ts +1 -0
- package/dist/components/UnitlinkGraph/UnitlinkGraph.d.ts +20 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +233 -233
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1271 -1234
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
@@ -4,7 +4,7 @@ export interface BarProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
value?: number;
|
5
5
|
leftColor?: keyof typeof colors;
|
6
6
|
rightColor?: keyof typeof colors;
|
7
|
-
height?: 8 | 16 | 24 | 32 | 40;
|
7
|
+
height?: 8 | 12 | 16 | 24 | 32 | 40;
|
8
8
|
radius?: 2 | 4 | 8 | 12 | 16;
|
9
9
|
}
|
10
10
|
declare const Bar: React.FC<BarProps>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
export interface DonutGraphProps {
|
3
|
+
width: number;
|
4
|
+
height: number;
|
5
|
+
items: {
|
6
|
+
value: number;
|
7
|
+
color: string;
|
8
|
+
}[];
|
9
|
+
innerRadius?: number;
|
10
|
+
outerRadius?: number;
|
11
|
+
}
|
12
|
+
declare const DonutGraph: React.FC<DonutGraphProps>;
|
13
|
+
export default DonutGraph;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as DonutGraph } from './DonutGraph';
|
@@ -6,6 +6,7 @@ export interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonE
|
|
6
6
|
disabled?: boolean;
|
7
7
|
selected?: boolean;
|
8
8
|
onClick?: () => void;
|
9
|
+
theme?: "light" | "dark";
|
9
10
|
}
|
10
11
|
declare const SidebarItem: React.FC<SidebarItemProps>;
|
11
12
|
export default SidebarItem;
|
@@ -1,6 +1,26 @@
|
|
1
1
|
import { HTMLAttributes, default as React } from 'react';
|
2
|
+
interface BarConfiguration {
|
3
|
+
header: string;
|
4
|
+
color_primary: string;
|
5
|
+
color_secondary: string;
|
6
|
+
percentage: number;
|
7
|
+
actions: Array<{
|
8
|
+
label: string;
|
9
|
+
sublabel?: string;
|
10
|
+
}>;
|
11
|
+
}
|
2
12
|
export interface UnitLinkGraphProps extends HTMLAttributes<SVGSVGElement> {
|
3
13
|
height?: number;
|
14
|
+
barMainConfiguration: BarConfiguration & {
|
15
|
+
place_at_ani: number;
|
16
|
+
};
|
17
|
+
barSecondaryConfiguration?: BarConfiguration;
|
18
|
+
maximum_ani?: number;
|
19
|
+
timeline_texts?: {
|
20
|
+
left: string;
|
21
|
+
right?: string;
|
22
|
+
};
|
23
|
+
initialSliderValue?: number;
|
4
24
|
}
|
5
25
|
declare const UnitLinkGraph: React.FC<UnitLinkGraphProps>;
|
6
26
|
export default UnitLinkGraph;
|