@equinor/echo-framework 0.16.0 → 0.16.1-beta-0

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-framework",
3
- "version": "0.16.0",
3
+ "version": "0.16.1-beta-0",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
6
6
  "@equinor/echo-components": ">= 0.9.0 < 0.10.0",
@@ -0,0 +1 @@
1
+ export * from './echoLogo';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export declare enum FooterType {
3
+ normal = "normal",
4
+ termOfService = "tos"
5
+ }
6
+ interface FooterProps {
7
+ footerType?: FooterType;
8
+ }
9
+ export declare const Footer: React.FC<FooterProps>;
10
+ export {};
@@ -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 { EchoLogo } from './echoLogo/echoLogo';
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,3 @@
1
+ import React from 'react';
2
+ declare const ApplicationList: React.FC;
3
+ export default ApplicationList;
@@ -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,3 @@
1
+ export * from './defaultAccordionItem';
2
+ export * from './pageMenu';
3
+ export * from './pageMenuDrawerItem';
@@ -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,6 @@
1
+ import React from 'react';
2
+ interface AssetProps {
3
+ isDisabled: boolean;
4
+ }
5
+ declare const Asset: React.FC<AssetProps>;
6
+ export default Asset;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface ProfileProps {
3
+ trackEventOpenExternalLink: (linkTo: string) => void;
4
+ }
5
+ declare const Profile: React.FC<ProfileProps>;
6
+ export default Profile;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface SettingsProps {
3
+ trackEventOpenExternalLink: (linkTo: string) => void;
4
+ isDisabled: boolean;
5
+ }
6
+ declare const Settings: React.FC<SettingsProps>;
7
+ export default Settings;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Version: React.FC;
3
+ export default Version;
@@ -0,0 +1 @@
1
+ export * from './searchMenu';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SearchMenu: React.FC;
3
+ export default SearchMenu;