@equinor/echo-components 0.26.10 → 1.0.0
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/index.cjs.js +1 -1
- package/package.json +3 -3
- package/src/components/charts/lineChart/dummy/lineChartConfig.d.ts +2 -1
- package/src/components/legendChip/LegendChip.d.ts +1 -0
- package/src/icons/echoAssets/general.d.ts +1 -0
- package/src/providers/UIPreferenceProvider.d.ts +1 -1
- package/src/theme/echoModes.generated.d.ts +0 -4
- package/src/theme/echoPrimitives.generated.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"chart.js": "4.5.0",
|
|
6
|
-
"react-datepicker": "8.
|
|
6
|
+
"react-datepicker": "8.7.0",
|
|
7
7
|
"react-swipeable": "7.0.2",
|
|
8
8
|
"react-window": "1.8.11"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@equinor/echo-utils": ">= 0.
|
|
11
|
+
"@equinor/echo-utils": ">= 1.0.0 < 2.0.0",
|
|
12
12
|
"@equinor/eds-core-react": "0.43.0",
|
|
13
13
|
"@equinor/eds-icons": "0.22.0",
|
|
14
14
|
"@equinor/eds-tokens": "0.9.2",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TooltipItem } from 'chart.js';
|
|
1
2
|
export declare const chartDataSet: {
|
|
2
3
|
labels: string[];
|
|
3
4
|
datasets: {
|
|
@@ -11,6 +12,6 @@ export declare const chartDataSet: {
|
|
|
11
12
|
};
|
|
12
13
|
export declare const tooltip: {
|
|
13
14
|
callbacks: {
|
|
14
|
-
title: (tooltipItems: [
|
|
15
|
+
title: (tooltipItems: TooltipItem<"line">[]) => string | undefined;
|
|
15
16
|
};
|
|
16
17
|
};
|
|
@@ -10,7 +10,7 @@ interface UIPreferencesContextType {
|
|
|
10
10
|
interface UIPreferencesProviderProps {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
mode: Mode;
|
|
13
|
-
density
|
|
13
|
+
density?: Density;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Adds a context provider for UI preferences, allowing components to access the current mode and density.
|
|
@@ -428,8 +428,6 @@ export declare const echoModes: {
|
|
|
428
428
|
readonly defaultSelectioncolorsColorSelectioncolor10: "#7304ff";
|
|
429
429
|
readonly defaultSelectioncolorsColorSelectioncolor11: "#ff0000";
|
|
430
430
|
readonly defaultSelectioncolorsColorSelectioncolor12: "#ff006b";
|
|
431
|
-
readonly defaultSelectioncolorsColorSelectioncolor13: "#000000";
|
|
432
|
-
readonly defaultSelectioncolorsColorSelectioncolor14: "#ffffff";
|
|
433
431
|
readonly defaultSelectioncolorsTextIconSelectioncolor1: "#000000";
|
|
434
432
|
readonly defaultSelectioncolorsTextIconSelectioncolor2: "#000000";
|
|
435
433
|
readonly defaultSelectioncolorsTextIconSelectioncolor3: "#000000";
|
|
@@ -442,6 +440,4 @@ export declare const echoModes: {
|
|
|
442
440
|
readonly defaultSelectioncolorsTextIconSelectioncolor10: "#ffffff";
|
|
443
441
|
readonly defaultSelectioncolorsTextIconSelectioncolor11: "#000000";
|
|
444
442
|
readonly defaultSelectioncolorsTextIconSelectioncolor12: "#000000";
|
|
445
|
-
readonly defaultSelectioncolorsTextIconSelectioncolor13: "#ffffff";
|
|
446
|
-
readonly defaultSelectioncolorsTextIconSelectioncolor14: "#000000";
|
|
447
443
|
};
|
|
@@ -68,6 +68,4 @@ export declare const echoPrimitives: {
|
|
|
68
68
|
readonly seletionColorsSelectioncolor10: "#7304ff";
|
|
69
69
|
readonly seletionColorsSelectioncolor11: "#ff0000";
|
|
70
70
|
readonly seletionColorsSelectioncolor12: "#ff006b";
|
|
71
|
-
readonly seletionColorsSelectioncolor13: "#000000";
|
|
72
|
-
readonly seletionColorsSelectioncolor14: "#ffffff";
|
|
73
71
|
};
|