@equinor/echo-framework 0.16.0 → 0.16.1-beta-1
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/{47deeba42768c5d1.svg → 063009f06499d102.svg} +8 -8
- package/README.md +28 -28
- package/{1bd97dd2170d0f64.svg → f4c85313e79b1662.svg} +850 -850
- package/index.cjs.d.ts +2 -2
- package/index.cjs.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/echoLogo/index.d.ts +1 -0
- package/src/lib/components/footer/footer.d.ts +10 -0
- package/src/lib/components/footer/index.d.ts +1 -0
- package/src/lib/components/index.d.ts +4 -1
- package/src/lib/components/pageMenu/Navigation/applicationList.d.ts +3 -0
- package/src/lib/components/pageMenu/defaultAccordionItem.d.ts +12 -0
- package/src/lib/components/pageMenu/index.d.ts +3 -0
- package/src/lib/components/pageMenu/pageMenu.d.ts +15 -0
- package/src/lib/components/pageMenu/pageMenuDrawerItem.d.ts +16 -0
- package/src/lib/components/pageMenu/settings/asset.d.ts +6 -0
- package/src/lib/components/pageMenu/settings/profile.d.ts +6 -0
- package/src/lib/components/pageMenu/settings/settings.d.ts +7 -0
- package/src/lib/components/pageMenu/version/version.d.ts +3 -0
- package/src/lib/components/searchMenu/index.d.ts +1 -0
- package/src/lib/components/searchMenu/searchMenu.d.ts +3 -0
- package/src/lib/coreApplication/EchoContentPanels.d.ts +10 -0
- package/src/lib/coreApplication/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './echoLogo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './footer';
|
|
@@ -3,12 +3,14 @@ export * from './containers';
|
|
|
3
3
|
export * from './contextualAppLinks/externalLinkButtons/index';
|
|
4
4
|
export { ContextualAppLinks } from './contextualAppLinks/index';
|
|
5
5
|
export * from './echo3DButton';
|
|
6
|
-
export
|
|
6
|
+
export * from './echoLogo';
|
|
7
7
|
export * from './errorBoundary';
|
|
8
8
|
export * from './externalLinkButton/externalLinkButton';
|
|
9
|
+
export * from './footer';
|
|
9
10
|
export * from './fullScreenButtons';
|
|
10
11
|
export * from './lazyLoading';
|
|
11
12
|
export * from './mediator';
|
|
13
|
+
export * from './pageMenu';
|
|
12
14
|
export * from './panel';
|
|
13
15
|
export * from './panelButton';
|
|
14
16
|
export * from './plantSelector';
|
|
@@ -16,5 +18,6 @@ export * from './prepview';
|
|
|
16
18
|
export * from './projectSelector';
|
|
17
19
|
export * from './realTimeData';
|
|
18
20
|
export * from './router';
|
|
21
|
+
export * from './searchMenu';
|
|
19
22
|
export * from './tagNumber';
|
|
20
23
|
export * from './toaster';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type DefaultAccordionItemProps = {
|
|
3
|
+
isExpanded: boolean;
|
|
4
|
+
handleClick: () => void;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
iconName: string;
|
|
8
|
+
iconTitle: string;
|
|
9
|
+
children: React.ReactChild | React.ReactChild[];
|
|
10
|
+
};
|
|
11
|
+
declare const DefaultAccordionItem: React.FC<DefaultAccordionItemProps>;
|
|
12
|
+
export default DefaultAccordionItem;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface PageMenuProps {
|
|
3
|
+
trackEventOpenExternalLink: (linkTo: string) => void;
|
|
4
|
+
isSyncing: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Component for displaying a side menu including Home button, Profile, About Echo link and Terms & Conditions link.
|
|
8
|
+
* @param {PageMenuProps} {
|
|
9
|
+
* trackEventOpenExternalLink: Function for tracking event in appInsight.
|
|
10
|
+
* isSyncing: Flag to determine whether the app is currently syncing data or not.
|
|
11
|
+
* }
|
|
12
|
+
* @return {*}
|
|
13
|
+
*/
|
|
14
|
+
export declare const PageMenu: React.FC<PageMenuProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ExternalLinkProps {
|
|
3
|
+
link: string;
|
|
4
|
+
linkText: string;
|
|
5
|
+
trackEvent: string;
|
|
6
|
+
}
|
|
7
|
+
interface PageMenuDrawerItemProps {
|
|
8
|
+
iconName: string;
|
|
9
|
+
iconTitle: string;
|
|
10
|
+
trackEventOpenExternalLink: (linkTo: string) => void;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
externalLink?: ExternalLinkProps;
|
|
13
|
+
classNames?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const PageMenuDrawerItem: React.FC<PageMenuDrawerItemProps>;
|
|
16
|
+
export default PageMenuDrawerItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './searchMenu';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Panel } from '@equinor/echo-core';
|
|
2
|
+
/** TODO: This is not used (?) **/
|
|
3
|
+
/**
|
|
4
|
+
* Core Main menu panel registered at client startup
|
|
5
|
+
*/
|
|
6
|
+
export declare const mainMenu: Panel;
|
|
7
|
+
/**
|
|
8
|
+
* Core Application search panel registered at client startup
|
|
9
|
+
*/
|
|
10
|
+
export declare const searchPanel: Panel;
|