@equinor/echo-framework 0.20.8 → 0.20.9
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/index.cjs.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/index.d.ts +2 -0
- package/src/lib/components/prepview/common/index.d.ts +3 -3
- package/src/lib/components/prepview/common/info/index.d.ts +2 -3
- package/src/lib/components/prepview/types/shared.d.ts +0 -10
- package/src/lib/components/verticalTabsSplitView/VerticalTabsSplitView.d.ts +18 -0
- package/src/lib/components/verticalTabsSplitView/index.d.ts +1 -0
- package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.types.d.ts +3 -0
- package/src/lib/components/prepview/common/contentPicker/ContentPicker.d.ts +0 -9
- package/src/lib/components/prepview/common/contentPicker/index.d.ts +0 -1
- /package/src/lib/components/{prepview/common/info/label → infoLabel}/InfoLabel.d.ts +0 -0
- /package/src/lib/components/{prepview/common/info/label → infoLabel}/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -24,4 +24,6 @@ export * from './spinner/spinner';
|
|
|
24
24
|
export * from './tagNumber';
|
|
25
25
|
export * from './tagSearchDropDown';
|
|
26
26
|
export * from './toaster';
|
|
27
|
+
export * from './infoLabel';
|
|
28
|
+
export * from './verticalTabsSplitView';
|
|
27
29
|
export { WorkOrderListItem } from './workOrderListItem';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * from '../../verticalTabsSplitView';
|
|
1
2
|
export * from './access';
|
|
2
|
-
export * from './contentPicker';
|
|
3
3
|
export * from './details';
|
|
4
|
+
export * from './error';
|
|
4
5
|
export * from './fileSizeDisplay';
|
|
5
6
|
export * from './info';
|
|
6
|
-
export * from './statusLabel/StatusLabel';
|
|
7
|
-
export * from './error';
|
|
8
7
|
export * from './showMore';
|
|
8
|
+
export * from './statusLabel/StatusLabel';
|
|
@@ -7,16 +7,6 @@ export declare enum ItemTypes {
|
|
|
7
7
|
export type FetchStatus = {
|
|
8
8
|
statusCode?: 'Forbidden' | number;
|
|
9
9
|
};
|
|
10
|
-
export type ContentPickerGroup = {
|
|
11
|
-
title?: string;
|
|
12
|
-
items: ContentPickerItem[];
|
|
13
|
-
};
|
|
14
|
-
export type ContentPickerItem = {
|
|
15
|
-
id: string;
|
|
16
|
-
title: string;
|
|
17
|
-
content: React.ReactNode;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
};
|
|
20
10
|
export type PrepviewTagInformation = {
|
|
21
11
|
id: string;
|
|
22
12
|
functionalLocation: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export type VerticalTabsGroup = {
|
|
3
|
+
title?: string;
|
|
4
|
+
items: VerticalTabsItem[];
|
|
5
|
+
};
|
|
6
|
+
export type VerticalTabsItem = {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
content: React.ReactNode;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
};
|
|
12
|
+
interface VerticalTabsSplitViewProps {
|
|
13
|
+
groups: VerticalTabsGroup[];
|
|
14
|
+
listItemStyle?: CSSProperties;
|
|
15
|
+
infoLabelText?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function VerticalTabsSplitView({ groups, listItemStyle, infoLabelText, }: VerticalTabsSplitViewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { VerticalTabsSplitView };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './VerticalTabsSplitView';
|
package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.types.d.ts
CHANGED
|
@@ -47,6 +47,9 @@ export interface GlobalSelectionStore {
|
|
|
47
47
|
addTagToSelection: (args: {
|
|
48
48
|
tagId: string;
|
|
49
49
|
}) => Promise<ResultValue<TagSummaryDto>>;
|
|
50
|
+
addTagsToSelection: (args: {
|
|
51
|
+
tags: Readonly<TagSummaryDto[]>;
|
|
52
|
+
}) => void;
|
|
50
53
|
removeItemFromSelection: (args: {
|
|
51
54
|
itemId: string;
|
|
52
55
|
}) => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import type { ContentPickerGroup } from '../../types';
|
|
3
|
-
interface ContentPickerProps {
|
|
4
|
-
groups: ContentPickerGroup[];
|
|
5
|
-
listItemStyle?: CSSProperties;
|
|
6
|
-
infoLabelText?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function ContentPicker({ groups, listItemStyle, infoLabelText, }: ContentPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { ContentPicker };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ContentPicker';
|
|
File without changes
|
|
File without changes
|