@equinor/echo-framework 0.18.7-beta-0 → 0.18.8

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-framework",
3
- "version": "0.18.7-beta-0",
3
+ "version": "0.18.8",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
6
6
  "@equinor/echo-components": ">= 0.11.0 < 0.12.0",
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ColorMap, SideSheetOrientation } from '@equinor/echo-components';
2
+ import { ColorMap, SideSheetOrientation, WorkOrderDateType } from '@equinor/echo-components';
3
3
  import { PrepviewEvents } from './context/PrepviewContext';
4
4
  interface PrepviewProps {
5
5
  orientation: SideSheetOrientation;
@@ -12,6 +12,7 @@ interface PrepviewProps {
12
12
  headerAction?: React.ReactNode;
13
13
  events?: PrepviewEvents;
14
14
  colorMap?: ColorMap;
15
+ workOrderDateType?: WorkOrderDateType;
15
16
  }
16
17
  declare function Prepview(props: PrepviewProps): JSX.Element | null;
17
18
  export { MaintenanceApiNameForWorkOrders, WorkItemType } from './utils';
@@ -1,8 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { ColorMap, WorkOrderDateType } from '@equinor/echo-components';
2
3
  interface WorkOrderProps {
3
4
  workOrderId: string;
4
5
  closePanel: () => void;
5
6
  headerAction?: React.ReactNode;
7
+ colorMap?: ColorMap;
8
+ workOrderDateType?: WorkOrderDateType;
6
9
  }
7
10
  declare function WorkOrder(props: WorkOrderProps): JSX.Element | null;
8
11
  export { WorkOrder };
@@ -1,8 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { ColorMap, WorkOrderDateType } from '@equinor/echo-components';
2
3
  import { WorkOrderDetails } from '../../types';
3
4
  interface WorkOrderHeaderProps {
4
5
  workOrderDetails: WorkOrderDetails;
5
6
  headerAction?: React.ReactNode;
7
+ colorMap?: ColorMap;
8
+ workOrderDateType?: WorkOrderDateType;
6
9
  }
7
- declare function WorkOrderHeader({ workOrderDetails, headerAction, }: WorkOrderHeaderProps): JSX.Element | null;
10
+ declare function WorkOrderHeader(props: WorkOrderHeaderProps): JSX.Element | null;
8
11
  export { WorkOrderHeader };
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
- declare const SearchMenu: React.FC;
3
- export default SearchMenu;
2
+ export declare const SearchMenu: React.FC;