diff --git a/package-lock.json b/package-lock.json index c8ae08e..fe48cda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "1.15.2", "license": "MIT", "dependencies": { - "@types/react-dom": "^18.0.10", "usehooks-ts": "^2.9.1" }, "devDependencies": { @@ -24,6 +23,7 @@ "@storybook/test": "^8.4.7", "@types/apple-mapkit-js-browser": "^5.65.3", "@types/react": "^18.0.25", + "@types/react-dom": "^18.0.10", "@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/parser": "^5.44.0", "@vitejs/plugin-react": "^3.0.0", @@ -46,6 +46,8 @@ "vite-plugin-dts": "^1.7.1" }, "peerDependencies": { + "@types/react": "^18 || ^19", + "@types/react-dom": "^18 || ^19", "react": "^18 || ^19", "react-dom": "^18 || ^19" } @@ -2391,12 +2393,14 @@ "node_modules/@types/prop-types": { "version": "15.7.13", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", - "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==" + "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", + "dev": true }, "node_modules/@types/react": { "version": "18.3.12", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", + "dev": true, "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -2406,6 +2410,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", + "dev": true, "dependencies": { "@types/react": "*" } @@ -3581,7 +3586,8 @@ "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true }, "node_modules/damerau-levenshtein": { "version": "1.0.8", diff --git a/package.json b/package.json index dabdc42..5829d25 100644 --- a/package.json +++ b/package.json @@ -34,12 +34,13 @@ "dist" ], "dependencies": { - "@types/react-dom": "^18.0.10", "usehooks-ts": "^2.9.1" }, "peerDependencies": { "react": "^18 || ^19", - "react-dom": "^18 || ^19" + "react-dom": "^18 || ^19", + "@types/react": "^18 || ^19", + "@types/react-dom": "^18 || ^19" }, "devDependencies": { "@babel/core": "^7.20.5", @@ -53,6 +54,7 @@ "@storybook/test": "^8.4.7", "@types/apple-mapkit-js-browser": "^5.65.3", "@types/react": "^18.0.25", + "@types/react-dom": "^18.0.10", "@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/parser": "^5.44.0", "@vitejs/plugin-react": "^3.0.0",