@weavy/uikit-react 21.1.2 → 22.0.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.
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react-hooks/exhaustive-deps */
1
2
  import { useEffect, useMemo, useState } from "react";
2
3
  import { Weavy } from "@weavy/uikit-web";
3
4
  import type { WeavyContext } from "@weavy/uikit-web/dist/types/index";
@@ -25,7 +26,6 @@ export function useWeavy(options: WeavyOptions) {
25
26
  return () => {
26
27
  wy?.destroy();
27
28
  };
28
- // eslint-disable-next-line react-hooks/exhaustive-deps
29
29
  }, []);
30
30
 
31
31
  useEffect(() => {
@@ -45,7 +45,6 @@ export function useWeavy(options: WeavyOptions) {
45
45
  Object.assign(weavy, validProperties);
46
46
  }
47
47
  }
48
- // eslint-disable-next-line react-hooks/exhaustive-deps
49
48
  }, [cacheSafeOptions]);
50
49
 
51
50
  return weavy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weavy/uikit-react",
3
- "version": "21.1.2",
3
+ "version": "22.0.0",
4
4
  "author": "Weavy",
5
5
  "description": "React components UI-kit for Weavy",
6
6
  "homepage": "https://github.com/weavy/weavy-uikit-react",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@lit/react": "^1.0.2",
40
- "@weavy/uikit-web": "^21.1.2"
40
+ "@weavy/uikit-web": "^22.0.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16",
@@ -49,10 +49,10 @@
49
49
  "@rollup/plugin-babel": "^6.0.4",
50
50
  "@rollup/plugin-node-resolve": "^15.2.3",
51
51
  "@types/node": "^20.11.20",
52
- "@types/react": "^18.2.43",
52
+ "@types/react": "^18.2.67",
53
53
  "@types/react-dom": "^18.2.17",
54
- "@typescript-eslint/eslint-plugin": "^6.14.0",
55
- "@typescript-eslint/parser": "^6.14.0",
54
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
55
+ "@typescript-eslint/parser": "^7.2.0",
56
56
  "@vitejs/plugin-react": "^4.2.1",
57
57
  "dotenv": "^16.3.2",
58
58
  "eslint": "^8.55.0",