@equinor/echo-framework 3.0.0 → 3.1.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,12 +1,12 @@
1
1
  {
2
2
  "name": "@equinor/echo-framework",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 3.0.0 < 4.0.0",
6
- "@equinor/echo-components": ">= 3.0.0 < 4.0.0",
7
- "@equinor/echo-core": ">= 3.0.0 < 4.0.0",
6
+ "@equinor/echo-components": ">= 3.1.0 < 4.0.0",
7
+ "@equinor/echo-core": ">= 3.1.0 < 4.0.0",
8
8
  "@equinor/echo-search": ">= 3.0.0 < 4.0.0",
9
- "@equinor/echo-utils": ">= 3.0.0 < 4.0.0",
9
+ "@equinor/echo-utils": ">= 3.1.0 < 4.0.0",
10
10
  "@equinor/eds-core-react": "0.49.0",
11
11
  "@equinor/eds-icons": "0.22.0",
12
12
  "react": ">= 17.0.2",
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Had to move this simple reload function so that it can be mocked in tests without mocking the entire location object,
3
+ * which caused issues with jsdom and test execution.
4
+ * By placing it in its own module, we can easily mock it in our tests without affecting other parts of the environment.
5
+ * This also ensures that we dont get console errors about jsdom not implementing location.reload when we mock it in our tests.
6
+ */
7
+ export declare function reloadPage(): void;