@equinor/echo-framework 0.14.0-test-0 → 0.14.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/README.md +32 -1
- package/index.css +77 -24
- package/index.js +10 -10
- package/package.json +3 -3
- package/src/index.d.ts +2 -0
- package/src/lib/components/fullScreenButtons/FullScreenButton.d.ts +7 -0
- package/src/lib/components/fullScreenButtons/FullScreenChip.d.ts +8 -0
- package/src/lib/components/fullScreenButtons/FullScreenModeButtons.d.ts +7 -0
- package/src/lib/components/fullScreenButtons/index.d.ts +3 -0
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/coreApplication/EchoBarComponent.d.ts +1 -0
- package/src/lib/hooks/index.d.ts +1 -0
- package/src/lib/hooks/useIsFullScreenModeEnabled.d.ts +1 -0
- package/src/lib/services/eventCallbacks/plantChanged.d.ts +1 -1
- package/src/lib/types/eventTypes/fullScreenModeEvent.d.ts +3 -0
- package/src/lib/types/eventTypes/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-framework",
|
|
3
|
-
"version": "0.14.0
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@equinor/echo-base": ">= 0.6.12 < 0.7.0",
|
|
6
6
|
"@equinor/echo-components": ">= 0.7.0 < 0.8.0",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"@equinor/eds-icons": "^0.17.0",
|
|
12
12
|
"react": ">= 17.0.2",
|
|
13
13
|
"react-dom": ">= 17.0.2",
|
|
14
|
-
"@microsoft/signalr": "7.0.
|
|
14
|
+
"@microsoft/signalr": "7.0.5",
|
|
15
15
|
"classnames": "2.3.2",
|
|
16
|
-
"history": "
|
|
16
|
+
"history": "5.3.0",
|
|
17
17
|
"lodash": "4.17.21",
|
|
18
18
|
"react-router-dom": "5.3.4",
|
|
19
19
|
"ua-parser-js": "1.0.35",
|
package/src/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './lib/components';
|
|
|
7
7
|
export * from './lib/coreApplication';
|
|
8
8
|
export { RegisteredHookName } from './lib/hooks/hookLibrary';
|
|
9
9
|
export { useIsCompactLayout } from './lib/hooks/useIsCompactLayout';
|
|
10
|
+
export { useIsFullScreenModeEnabled } from './lib/hooks/useIsFullScreenModeEnabled';
|
|
10
11
|
export { useScreenOrientation } from './lib/hooks/useScreenOrientation';
|
|
11
12
|
export { useScreenValues } from './lib/hooks/useScreenValues';
|
|
12
13
|
export { RegisteredComponentName } from './lib/services/componentRegistry/componentRegistry';
|
|
@@ -50,6 +51,7 @@ declare const EchoFramework: Readonly<{
|
|
|
50
51
|
[key: string]: string;
|
|
51
52
|
} | undefined, state?: any) => void;
|
|
52
53
|
useHas3dAccess(plantCode?: string | undefined): boolean;
|
|
54
|
+
useIsFullScreenModeEnabled(): boolean;
|
|
53
55
|
usePlantAvailableIn3d(plantCode?: string | undefined): boolean;
|
|
54
56
|
usePlantAvailableIn3dWeb(plantCode?: string | undefined): boolean;
|
|
55
57
|
useScreenOrientation(): import("./lib/types/hookLibrary").ScreenOrientation;
|
|
@@ -7,6 +7,7 @@ export * from './echoLogo';
|
|
|
7
7
|
export * from './errorBoundary';
|
|
8
8
|
export * from './externalLinkButton/externalLinkButton';
|
|
9
9
|
export * from './footer';
|
|
10
|
+
export * from './fullScreenButtons';
|
|
10
11
|
export * from './lazyLoading';
|
|
11
12
|
export * from './mediator';
|
|
12
13
|
export * from './pageMenu';
|
package/src/lib/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useIsFullScreenModeEnabled(): boolean;
|
|
@@ -6,4 +6,4 @@ import { History } from 'history';
|
|
|
6
6
|
* @param {Plant} newSelectedPlant
|
|
7
7
|
* @return {*} {Promise<void>}
|
|
8
8
|
*/
|
|
9
|
-
export declare const handlePlantChanged: (newSelectedPlant: Plant, history: History
|
|
9
|
+
export declare const handlePlantChanged: (newSelectedPlant: Plant, history: History, stayOnPath?: boolean) => Promise<void>;
|