@equinor/echo-framework 0.10.25 → 0.10.26-rc1
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/LICENSE +21 -21
- package/README.md +11 -11
- package/dist/{47deeba42768c5d1.svg → 063009f06499d102.svg} +8 -8
- package/dist/components/homePage/HomePage.d.ts +1 -0
- package/dist/components/tagNumber/tagNumber.d.ts +3 -2
- package/dist/{1bd97dd2170d0f64.svg → f4c85313e79b1662.svg} +850 -850
- package/dist/hooks/useWindowSize.d.ts +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.js +37 -2
- package/dist/services/componentRegistry/componentRegistry.d.ts +26 -6
- package/dist/services/searchItemDetails/searchItemDetails.store.d.ts +26 -0
- package/dist/services/searchItemDetails/searchItemDetails.store.test.d.ts +1 -0
- package/dist/services/searchItemDetails/searchItemDetailsContainer.d.ts +6 -0
- package/dist/types/eventTypes/index.d.ts +1 -0
- package/dist/types/eventTypes/searchDetailsContainerEvents.d.ts +3 -0
- package/dist/types/hookLibrary.d.ts +18 -3
- package/package.json +125 -123
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { useScreenOrientation } from './hooks/useScreenOrientation';
|
|
|
11
11
|
export { useScreenValues } from './hooks/useScreenValues';
|
|
12
12
|
export { RegisteredComponentName } from './services/componentRegistry/componentRegistry';
|
|
13
13
|
export * from './services/eventHubActions';
|
|
14
|
+
export * from './services/searchItemDetails/searchItemDetails.store';
|
|
15
|
+
export { SearchItemDetailsContainer } from './services/searchItemDetails/searchItemDetailsContainer';
|
|
14
16
|
export * from './theme/themeConst';
|
|
15
17
|
export type { EchoHubPlant } from './types/echoHubPlant';
|
|
16
18
|
export * from './types/eventTypes';
|
|
@@ -36,6 +38,11 @@ declare const EchoFramework: Readonly<{
|
|
|
36
38
|
}>;
|
|
37
39
|
}>;
|
|
38
40
|
Hooks: Readonly<{
|
|
41
|
+
searchItems: Readonly<{
|
|
42
|
+
useSearchItemDetailsStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState>, "setState"> & {
|
|
43
|
+
setState(nextStateOrUpdater: import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState | Partial<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState> | ((state: import("immer/dist/internal").WritableDraft<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState>) => void), shouldReplace?: boolean | undefined): void;
|
|
44
|
+
}>;
|
|
45
|
+
}>;
|
|
39
46
|
useEchoHistory(): (path: string, params?: {
|
|
40
47
|
[key: string]: string;
|
|
41
48
|
} | undefined, state?: any) => void;
|
|
@@ -60,7 +67,19 @@ declare const EchoFramework: Readonly<{
|
|
|
60
67
|
useSetActiveMcPackNo: () => import("./types/hookLibrary").SetActiveMcPackNo;
|
|
61
68
|
}>;
|
|
62
69
|
EchopediaComponentLibrary: Readonly<{
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated Please use 'getTagListItem()' instead - that supports the new search flow
|
|
72
|
+
* Returns with the TagItem component, which is used in EchopediaWeb's search panel
|
|
73
|
+
* and pdf side drawer when listing out tags.
|
|
74
|
+
* @returns {React.FC<any>} legacy TagItem component
|
|
75
|
+
*/
|
|
63
76
|
getTagItem: () => import("react").FunctionComponent<any>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns with the TagItem component, which is used in EchopediaWeb's search panel
|
|
79
|
+
* and pdf side drawer when listing out tags.
|
|
80
|
+
* @returns {React.FC<any>} TagListItem component
|
|
81
|
+
*/
|
|
82
|
+
getTagListItem: () => import("react").FunctionComponent<any>;
|
|
64
83
|
}>;
|
|
65
84
|
APIs: Readonly<{
|
|
66
85
|
getPlantsInfo: typeof getPlantsInfo;
|