@equinor/echo-framework 0.11.0-rc3 → 0.11.0-rc5

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.
@@ -2,7 +2,8 @@
2
2
  interface InfoBlockType {
3
3
  label: string;
4
4
  stretched?: boolean;
5
+ fit?: boolean;
5
6
  children: JSX.Element | string[] | string | number;
6
7
  }
7
- declare function InfoBlock({ label, stretched, children }: InfoBlockType): JSX.Element;
8
+ declare function InfoBlock({ label, stretched, fit, children }: InfoBlockType): JSX.Element;
8
9
  export { InfoBlock };
@@ -60,6 +60,7 @@ export declare type PrepviewNotification = {
60
60
  activeStatusIds: string;
61
61
  changedDateTime?: Date;
62
62
  createdDateTime: Date;
63
+ planningPlant: string;
63
64
  mainWorkCenterId: string;
64
65
  requiredEndDateTime: Date;
65
66
  title: string;
@@ -18,6 +18,7 @@ export declare type PunchDetails = FetchStatus & {
18
18
  export declare type PrepviewPunch = {
19
19
  id: string;
20
20
  type: string;
21
+ statusId: string;
21
22
  tagNo: string;
22
23
  tagArea: string;
23
24
  description: string;
@@ -7,3 +7,4 @@ export * from './object';
7
7
  export * from './string';
8
8
  export * from './url';
9
9
  export * from './workorder';
10
+ export * from './status';
@@ -0,0 +1,3 @@
1
+ declare function getStatusColor(statusIds: string): "#4bb748" | "#fbca36";
2
+ declare function getStatusText(statusIds: string): "Completed" | "Active";
3
+ export { getStatusColor, getStatusText };