@equinor/echo-components 0.11.20 → 0.11.21
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/components/index.d.ts +1 -0
- package/src/components/listItem/ListItem.d.ts +1 -0
- package/src/components/mediaViewer/MediaViewer.d.ts +20 -0
- package/src/components/mediaViewer/MediaViewerFooter.d.ts +9 -0
- package/src/components/mediaViewer/NavigationButton.d.ts +8 -0
- package/src/icons/echoAssets/external.d.ts +5 -0
- package/src/theme/themeConst.d.ts +3 -3
package/package.json
CHANGED
|
@@ -35,6 +35,7 @@ export * from './linkIcon/LinkIcon';
|
|
|
35
35
|
export * from './listItem';
|
|
36
36
|
export * from './listRow/ListRow';
|
|
37
37
|
export * from './markedContent/MarkedContent';
|
|
38
|
+
export * from './mediaViewer/MediaViewer';
|
|
38
39
|
export * from './multilineTabs/MultilineTabs';
|
|
39
40
|
export * from './noDataLabel';
|
|
40
41
|
export * from './notificationListItem/NotificationListItem';
|
|
@@ -53,6 +53,7 @@ interface ListItemBaseProps {
|
|
|
53
53
|
footer?: React.ReactNode;
|
|
54
54
|
iconColor?: string;
|
|
55
55
|
showChevron?: boolean;
|
|
56
|
+
hideBorderBottom?: boolean;
|
|
56
57
|
}
|
|
57
58
|
export type ListItemProps = ListItemBaseProps & WithVisualOrIconOptions;
|
|
58
59
|
declare function ListItem(props: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface MediaViewerProps {
|
|
3
|
+
title: string;
|
|
4
|
+
fileName?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
date: string;
|
|
7
|
+
showPrevious: () => void;
|
|
8
|
+
showNext: () => void;
|
|
9
|
+
showPrevIcon: boolean;
|
|
10
|
+
showNextIcon: boolean;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
open: boolean;
|
|
13
|
+
children: JSX.Element;
|
|
14
|
+
isMobile?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Media Viewer - use this viewer to show image or video content
|
|
18
|
+
*/
|
|
19
|
+
export declare const MediaViewer: React.FC<React.PropsWithChildren<MediaViewerProps>>;
|
|
20
|
+
export default MediaViewer;
|
|
@@ -5,3 +5,8 @@ export declare const robim_external_timp_text: IconData;
|
|
|
5
5
|
export declare const robim_external_iwit: IconData;
|
|
6
6
|
export declare const robim_external_methane_sensor: IconData;
|
|
7
7
|
export declare const robim_external_satellite: IconData;
|
|
8
|
+
export declare const robim_external_timp_subsea: IconData;
|
|
9
|
+
export declare const robim_external_timp_ps: IconData;
|
|
10
|
+
export declare const robim_external_timp_system: IconData;
|
|
11
|
+
export declare const robim_external_timp_discipline: IconData;
|
|
12
|
+
export declare const robim_external_timp_indicator: IconData;
|
|
@@ -97,9 +97,9 @@ export declare const themeConst: {
|
|
|
97
97
|
locations: string;
|
|
98
98
|
ofpDark: string;
|
|
99
99
|
ofpLight: string;
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
100
|
+
readonly onWatch: string;
|
|
101
|
+
readonly inProgress: string;
|
|
102
|
+
readonly iocAnnotationError: string;
|
|
103
103
|
blueOvercast: string;
|
|
104
104
|
readonly warningText: string;
|
|
105
105
|
readonly warningIcon: string;
|