@equinor/echo-framework 0.14.1-beta-6 → 0.14.2

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.14.1-beta-6",
3
+ "version": "0.14.2",
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",
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "main": "./index.cjs",
23
23
  "type": "commonjs",
24
- "types": "./src\\index.d.ts",
24
+ "types": "./src/index.d.ts",
25
25
  "dependencies": {}
26
26
  }
package/src/index.d.ts CHANGED
@@ -32,6 +32,14 @@ export declare const registerEchopediaComponent: ({ name, component }: {
32
32
  name: import("./lib/services/componentRegistry/componentRegistry").RegisteredComponentName;
33
33
  component: import("react").FunctionComponent<any>;
34
34
  }) => void;
35
+ /**
36
+ * Use named exports here.
37
+ */
38
+ export * from './lib/hooks';
39
+ /**
40
+ * Don't add any more default exports here - it may cause some import issues in other packages
41
+ * Let's stick to named imports
42
+ */
35
43
  declare const EchoFramework: Readonly<{
36
44
  Utils: Readonly<{
37
45
  Navigation: Readonly<{
@@ -4,3 +4,4 @@ export * from './details';
4
4
  export * from './fileSizeDisplay';
5
5
  export * from './info';
6
6
  export * from './link/Link';
7
+ export * from './statusLabel/StatusLabel';
@@ -0,0 +1,6 @@
1
+ interface StatusLabelProps {
2
+ isActive: boolean;
3
+ fontLarge?: boolean;
4
+ }
5
+ export declare function StatusLabel({ isActive, fontLarge }: StatusLabelProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};