@equinor/echo-components 2.2.1 → 2.2.3

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": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "dependencies": {
5
5
  "chart.js": "4.5.1",
6
6
  "react-datepicker": "8.7.0",
@@ -8,7 +8,7 @@
8
8
  "react-window": "1.8.11"
9
9
  },
10
10
  "peerDependencies": {
11
- "@equinor/echo-utils": ">= 2.2.1 < 3.0.0",
11
+ "@equinor/echo-utils": ">= 2.2.3 < 3.0.0",
12
12
  "@equinor/eds-core-react": "0.49.0",
13
13
  "@equinor/eds-icons": "0.22.0",
14
14
  "@equinor/eds-tokens": "0.10.0",
@@ -18,6 +18,7 @@ export interface ItemMarkerProps {
18
18
  onMouseLeave?: () => void;
19
19
  maxNumberOfChips?: number;
20
20
  zIndex?: number | string;
21
+ highlightColor?: string;
21
22
  }
22
23
  /**
23
24
  * Renders an item marker with optional chips.
@@ -38,6 +39,7 @@ export interface ItemMarkerProps {
38
39
  * @param {() => void} onMouseLeave - Mouse leave handler for the itemMarker (optional).
39
40
  * @param {number} maxNumberOfChips - Maximum chips displayed (optional).
40
41
  * @param {number | string} [zIndex] - z-index of the marker and chips (optional).
42
+ * @param {string} highlightColor - Highlight color for the marker (optional).
41
43
  *
42
44
  * @returns {JSX.Element} Component
43
45
  */
@@ -9,5 +9,6 @@ export type ItemMarkerContentProps = {
9
9
  isActive?: boolean;
10
10
  isTransparent?: boolean;
11
11
  onClick?: () => void;
12
+ highlightColor?: string;
12
13
  };
13
- export declare const ItemMarkerContent: ({ icon, size, hasPointer, pointerPosition, backgroundColor, iconColor, isActive, isTransparent, onClick }: ItemMarkerContentProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ItemMarkerContent: ({ icon, size, hasPointer, pointerPosition, backgroundColor, iconColor, isActive, isTransparent, onClick, highlightColor }: ItemMarkerContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -7,6 +7,7 @@ interface ItemMarkerIconProps {
7
7
  iconColor?: string;
8
8
  onClick?: () => void;
9
9
  size?: ItemMarkerSize;
10
+ highlightColor?: string;
10
11
  }
11
12
  export declare const ItemMarkerIcon: React.FC<ItemMarkerIconProps>;
12
13
  export {};
@@ -316,6 +316,7 @@ export declare const echoModes: {
316
316
  readonly standardRandomFillRandom_14: "#ad6200";
317
317
  readonly standardRandomFillRandom_15: "#243746";
318
318
  readonly standardRandomFillMultiple: "#3d3d3d";
319
+ readonly standardRandomFillUnknown: "#bebebe";
319
320
  readonly standardRandomTextIconRandom_1: "#000000";
320
321
  readonly standardRandomTextIconRandom_2: "#000000";
321
322
  readonly standardRandomTextIconRandom_3: "#000000";
@@ -332,6 +333,7 @@ export declare const echoModes: {
332
333
  readonly standardRandomTextIconRandom_14: "#ffffff";
333
334
  readonly standardRandomTextIconRandom_15: "#ffffff";
334
335
  readonly standardRandomTextIconMultiple: "#ffffff";
336
+ readonly standardRandomTextIconUnknown: "#000000";
335
337
  readonly projectEngineeringCodeFillA: "#e24973";
336
338
  readonly projectEngineeringCodeFillB: "#52c0ff";
337
339
  readonly projectEngineeringCodeFillC: "#ff9200";
@@ -65,6 +65,7 @@ export declare const echoPrimitives: {
65
65
  readonly standardTrafficLightWeakBlue_2: "#99cbf0";
66
66
  readonly standardTrafficLightStrongBlue_2: "#004088";
67
67
  readonly standardTrafficLightStrongYellow_1: "#ffd500";
68
+ readonly edsPrimaryEdsMossGreenHover: "#004f55";
68
69
  readonly edsPrimaryEdsMossGreen_55: "#73b1b5";
69
70
  readonly edsPrimaryEdsMossGreen_34: "#a8ced1";
70
71
  readonly edsPrimaryEdsMossGreen_21: "#c9e0e2";