@equinor/echo-components 0.11.4 → 0.11.5

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.4",
3
+ "version": "0.11.5",
4
4
  "dependencies": {
5
5
  "chart.js": "4.4.2",
6
6
  "react-window": "1.8.10",
@@ -3,3 +3,4 @@ export declare const activeWorkOrderItemMock: WorkOrderItem;
3
3
  export declare const basicFinishWorkOrderItemMock: WorkOrderItem;
4
4
  export declare const completedWorkOrderItemMock: WorkOrderItem;
5
5
  export declare const completedWorkOrderItemMockLongDesc: WorkOrderItem;
6
+ export declare const workOrderWithIconsItemMock: WorkOrderItem;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export interface FunctionalLocationListeItemProps {
3
+ className?: string;
4
+ functionalLocationId: string;
5
+ functionalLocationDescription: string;
6
+ category?: string;
7
+ categoryId?: string;
8
+ maintenancePlant?: string;
9
+ /**
10
+ * Add List Action Area
11
+ */
12
+ listAction?: React.ReactNode;
13
+ /**
14
+ * Add Item Action Area
15
+ */
16
+ itemAction?: React.ReactNode;
17
+ /**
18
+ * Change container element. Default is "li"
19
+ */
20
+ as?: React.ElementType;
21
+ /**
22
+ * onClick event
23
+ */
24
+ onClick?: () => void;
25
+ }
26
+ export declare function FunctionalLocationListItem(props: Readonly<FunctionalLocationListeItemProps>): import("react/jsx-runtime").JSX.Element;
@@ -15,6 +15,7 @@ export * from './echoCard/index';
15
15
  export * from './echoHeader/EchoHeader';
16
16
  export * from './floatingActionButton';
17
17
  export * from './floatingActionButton/FloatingActionButton';
18
+ export * from './functionalLocationListItem/FunctionalLocationListItem';
18
19
  export * from './horizontalTabView';
19
20
  export * from './iconLink/compactIconLink/CompactIconLink';
20
21
  export * from './iconLink/inlineTagIconLink/InlineTagIconLink';
@@ -21,4 +21,8 @@ export interface WorkOrderItem {
21
21
  earlyFinishDate?: Date;
22
22
  basicFinishDateStatus?: string;
23
23
  basicFinishDateTime?: Date;
24
+ sortField?: string;
25
+ hasPrts?: boolean;
26
+ recordTypeIds?: string[];
27
+ hasB30Document?: boolean;
24
28
  }
@@ -1,4 +1,5 @@
1
1
  export * from './colors';
2
2
  export * from './date';
3
3
  export * from './notification';
4
+ export * from './tag';
4
5
  export * from './workorder';
@@ -0,0 +1 @@
1
+ export declare function getSAPTagCategoryIconName(tagCategoryId: string): string;