rte-utils 1.2.17 → 1.2.18
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rte-utils",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"description": "React components library in TypeScript for agigox projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -63,9 +63,6 @@
|
|
|
63
63
|
"typescript": "^5.1.0",
|
|
64
64
|
"vitest": "^3.2.4"
|
|
65
65
|
},
|
|
66
|
-
"optionalDependencies": {
|
|
67
|
-
"fsevents": "^2.3.3"
|
|
68
|
-
},
|
|
69
66
|
"repository": {
|
|
70
67
|
"type": "git",
|
|
71
68
|
"url": "git+https://github.com/agigox/rte-utils.git"
|
|
@@ -74,7 +71,7 @@
|
|
|
74
71
|
"url": "https://github.com/agigox/rte-utils/issues"
|
|
75
72
|
},
|
|
76
73
|
"homepage": "https://github.com/agigox/rte-utils#readme",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
74
|
+
"optionalDependencies": {
|
|
75
|
+
"fsevents": "^2.3.3"
|
|
79
76
|
}
|
|
80
77
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./Histogramme.css";
|
|
3
|
-
interface HistogrammeProps {
|
|
4
|
-
/** Maximum value for the bar chart */
|
|
5
|
-
maxValue: number;
|
|
6
|
-
/** Relative/current value to compare against max */
|
|
7
|
-
relativeValue: number;
|
|
8
|
-
/** Value to display in text */
|
|
9
|
-
value: number;
|
|
10
|
-
/** Unit label (e.g., "MWh") */
|
|
11
|
-
unit: string;
|
|
12
|
-
/** Description label (e.g., "Soutirage") */
|
|
13
|
-
label: string;
|
|
14
|
-
/** Background color of the container */
|
|
15
|
-
backgroundColor?: string;
|
|
16
|
-
/** Height of the histogram bar in pixels */
|
|
17
|
-
barHeight?: number;
|
|
18
|
-
/** Width of the component in pixels */
|
|
19
|
-
width?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const Histogramme: React.FC<HistogrammeProps>;
|
|
22
|
-
export {};
|