@equinor/echo-framework 0.11.0-rc11 → 0.11.0-rc13
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/dist/components/homePage/HomePage.d.ts +1 -0
- package/dist/components/panel/corePanelLeft.d.ts +1 -4
- package/dist/components/panel/corePanelRight.d.ts +1 -4
- package/dist/coreApplication/EchoBarComponent.d.ts +0 -8
- package/dist/coreApplication/{EchoUserInterfaceContextProvider.d.ts → EchoUserInterfaceStore.d.ts} +4 -8
- package/dist/coreApplication/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +30 -3
- package/dist/types/legend.d.ts +1 -0
- package/dist/utils/legendUtils.d.ts +7 -4
- package/package.json +124 -123
|
@@ -4,14 +4,6 @@ interface EchoBottomBarProps {
|
|
|
4
4
|
activeAppMenuItem: string;
|
|
5
5
|
updateActiveAppMenuItem: (newActiveAppMenuItem: string) => void;
|
|
6
6
|
}
|
|
7
|
-
interface EchoBottomBarButtonProps {
|
|
8
|
-
name: string;
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
onButtonClick: (name: string) => void;
|
|
11
|
-
label?: string;
|
|
12
|
-
iconClassName?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const EchoBottomBarButton: React.FC<EchoBottomBarButtonProps>;
|
|
15
7
|
export declare const EchoBarComponent: React.FC<EchoBottomBarProps>;
|
|
16
8
|
declare const _default: React.NamedExoticComponent<EchoBottomBarProps>;
|
|
17
9
|
export default _default;
|
package/dist/coreApplication/{EchoUserInterfaceContextProvider.d.ts → EchoUserInterfaceStore.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import * as zustand from 'zustand';
|
|
3
|
+
export interface EchoUiState {
|
|
3
4
|
activeAppMenuItem: string;
|
|
4
5
|
isLegendActive: boolean | undefined;
|
|
5
6
|
activeTopMenuItem: string;
|
|
@@ -13,9 +14,4 @@ interface EchoUiContextState {
|
|
|
13
14
|
updateModuleName: (newModuleName: string) => void;
|
|
14
15
|
updateShowPlantNameContent: (showPlantNameContent: boolean) => void;
|
|
15
16
|
}
|
|
16
|
-
export declare const
|
|
17
|
-
interface EchoUiContextProviderProps {
|
|
18
|
-
children: React.ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export declare const EchoUiContextProvider: React.FC<EchoUiContextProviderProps>;
|
|
21
|
-
export {};
|
|
17
|
+
export declare const useEchoUserInterfaceStore: zustand.UseBoundStore<zustand.StoreApi<EchoUiState>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { LegendStatus, LegendType } from './types/legend';
|
|
|
20
20
|
export type { ModelPermissions } from './types/modelPermissions';
|
|
21
21
|
export { PingableSources } from './types/pingableSources';
|
|
22
22
|
export * from './utils';
|
|
23
|
-
export { getLegendStatusColor, legendTypeToLegendStatus, valueToEnum } from './utils/legendUtils';
|
|
23
|
+
export { getLegendStatusColor, legendTypeToLegendStatus, toLegendStatusOrString, valueToEnum } from './utils/legendUtils';
|
|
24
24
|
export * from './utils/startup';
|
|
25
25
|
export declare const registerEchopediaComponent: ({ name, component }: {
|
|
26
26
|
name: import("./services/componentRegistry/componentRegistry").RegisteredComponentName;
|