@equinor/echo-components 0.11.3 → 0.11.4

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": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "dependencies": {
5
5
  "chart.js": "4.4.2",
6
6
  "react-window": "1.8.10",
@@ -1,4 +1,5 @@
1
1
  import { WorkOrderItem } from '../types';
2
2
  export declare const activeWorkOrderItemMock: WorkOrderItem;
3
+ export declare const basicFinishWorkOrderItemMock: WorkOrderItem;
3
4
  export declare const completedWorkOrderItemMock: WorkOrderItem;
4
5
  export declare const completedWorkOrderItemMockLongDesc: WorkOrderItem;
@@ -26,5 +26,5 @@ interface MainLegendProps {
26
26
  */
27
27
  legendContentClassName?: string;
28
28
  }
29
- declare function MainLegend({ legends, layers, legendStyle, legendContentStyle, legendContentClassName, legendClassName }: MainLegendProps): import("react/jsx-runtime").JSX.Element;
29
+ declare const MainLegend: ({ legends, layers, legendStyle, legendContentStyle, legendContentClassName, legendClassName }: MainLegendProps) => import("react/jsx-runtime").JSX.Element;
30
30
  export { MainLegend };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ColorMap, WorkOrderItem } from '../../types';
2
+ import { ColorMap, WorkOrderDateType, WorkOrderItem } from '../../types';
3
3
  export interface WorkOrderListItemProps {
4
4
  workOrder: WorkOrderItem;
5
5
  onCardClick?: () => void;
@@ -7,6 +7,7 @@ export interface WorkOrderListItemProps {
7
7
  isHeader?: boolean;
8
8
  colorMap?: ColorMap;
9
9
  iconName?: string;
10
+ workOrderDateType?: WorkOrderDateType;
10
11
  }
11
12
  declare function WorkOrderListItem(props: WorkOrderListItemProps): import("react/jsx-runtime").JSX.Element;
12
13
  export { WorkOrderListItem };
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare function getIcon(tagCategoryDescription: string): JSX.Element;
1
+ export declare function getIcon(tagCategoryDescription: string): import("react/jsx-runtime").JSX.Element;
@@ -35,4 +35,4 @@ export declare enum TagCategoryType {
35
35
  * @return {*} {JSX.Element} Relevant icon for the provided tagCategoryDescription
36
36
  */
37
37
  export declare const TagCategoryIcon: React.FC<ViewTagIconProps>;
38
- export default TagCategoryIcon;
38
+ export {};
@@ -5,6 +5,7 @@ export * from './maps';
5
5
  export * from './misc';
6
6
  export * from './notifications';
7
7
  export * from './punches';
8
+ export * from './sap';
8
9
  export * from "./sidesheet";
9
10
  export * from './subsea';
10
11
  export * from './workOrders';
@@ -0,0 +1,4 @@
1
+ import { IconData } from '@equinor/eds-icons';
2
+ export declare const sap_b30: IconData;
3
+ export declare const sap_prts: IconData;
4
+ export declare const sap_activity_reviewed: IconData;
@@ -1,3 +1,10 @@
1
+ export declare enum WorkOrderDateType {
2
+ PM01 = "PM01",
3
+ PM02 = "PM02",
4
+ BasicFinishDate = "BasicFinishDate",
5
+ Operation = "Operation",
6
+ Unknown = "Unknown"
7
+ }
1
8
  export interface WorkOrderItem {
2
9
  id: string;
3
10
  orderType: string;