@equinor/echo-components 4.3.1 → 4.3.2

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": "@equinor/echo-components",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "dependencies": {
5
5
  "chart.js": "4.5.1",
6
6
  "react-datepicker": "9.1.0",
@@ -8,7 +8,7 @@
8
8
  "react-window": "1.8.11"
9
9
  },
10
10
  "peerDependencies": {
11
- "@equinor/echo-utils": ">= 4.3.1 < 5.0.0",
11
+ "@equinor/echo-utils": ">= 4.3.2 < 5.0.0",
12
12
  "@equinor/eds-core-react": "0.49.0",
13
13
  "@equinor/eds-icons": "0.22.0",
14
14
  "@equinor/eds-tokens": "2.1.0",
@@ -8,6 +8,10 @@ export interface SelectionBarMenuItemProps {
8
8
  */
9
9
  readonly variant?: SelectionBarMenuItemVariant;
10
10
  readonly hasBorderBottom?: boolean;
11
+ /**
12
+ * Whether to show the variant icon. Defaults to true.
13
+ */
14
+ readonly showIcon?: boolean;
11
15
  /**
12
16
  * Whether the menu should close when this item is clicked. Defaults to true.
13
17
  */
@@ -1,17 +0,0 @@
1
- import { TooltipItem } from 'chart.js';
2
- export declare const chartDataSet: {
3
- labels: string[];
4
- datasets: {
5
- label: string;
6
- data: number[];
7
- borderColor: string;
8
- pointBackgroundColor: string;
9
- backgroundColor: string;
10
- fill: boolean;
11
- }[];
12
- };
13
- export declare const tooltip: {
14
- callbacks: {
15
- title: (tooltipItems: TooltipItem<"line">[]) => string | undefined;
16
- };
17
- };
@@ -1,26 +0,0 @@
1
- export declare const raw: {
2
- DATA1: {
3
- id: string;
4
- value: number;
5
- timestamp: string;
6
- status: number;
7
- }[];
8
- DATA2: {
9
- id: string;
10
- value: number;
11
- timestamp: string;
12
- status: number;
13
- }[];
14
- DATA3: {
15
- id: string;
16
- value: number;
17
- timestamp: string;
18
- status: number;
19
- }[];
20
- DATA4: {
21
- id: string;
22
- value: number;
23
- timestamp: string;
24
- status: number;
25
- }[];
26
- };
@@ -1,2 +0,0 @@
1
- import { IconData } from '@equinor/eds-icons';
2
- export declare const legend_marker_chip: IconData;
@@ -1,8 +0,0 @@
1
- export declare const echoUI: {
2
- readonly bgFabResting: "rgba(0 0 0 / 0.8)";
3
- readonly bgFabHover: "rgba(0 0 0 / 0.9)";
4
- readonly bgLightenLighten_16: "rgba(255 255 255 / 0.16)";
5
- readonly bgLightenLighten_10: "rgba(255 255 255 / 0.1)";
6
- readonly bgLightenLighten_30: "rgba(255 255 255 / 0.3)";
7
- readonly miscMarkerActive: "#00ffff";
8
- };