diff --git a/packages/web-react/package.json b/packages/web-react/package.json index 0884ef8bd0..6babaf8bc0 100644 --- a/packages/web-react/package.json +++ b/packages/web-react/package.json @@ -21,6 +21,7 @@ "types": "./index.d.ts", "dependencies": { "@floating-ui/react": "^0.26.5", + "@react-hook/resize-observer": "^1.2.6", "classnames": "^2.3.1", "html-dom-parser": "5.0.10", "html-react-parser": "5.1.18", @@ -85,11 +86,18 @@ "webpack-merge": "6.0.1" }, "peerDependencies": { - "@lmc-eu/spirit-design-tokens": "*", - "@lmc-eu/spirit-icons": "*", - "@lmc-eu/spirit-web": "*", "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "react-dom": "^17.0.2 || ^18.0.0", + "@lmc-eu/spirit-icons": "^1.1.1", + "@lmc-eu/spirit-web": "^1.10.0" + }, + "peerDependenciesMeta": { + "@lmc-eu/spirit-icons": { + "optional": true + }, + "@lmc-eu/spirit-web": { + "optional": true + } }, "scripts": { "build:prepare": "shx rm -rf dist && shx mkdir -p dist && shx cp package.json README.md dist/ ",