diff --git a/package-lock.json b/package-lock.json index a62f484..2f10a52 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@sanity/icons": "^2.0.0", "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/ui": "^2.0.0", + "@sanity/ui": "^1.0 || ^2.0", "@sanity/util": "^3.0.0", "@sanity/uuid": "^3.0.1", "dlv": "^1.1.3", @@ -51,9 +51,11 @@ "node": ">=18" }, "peerDependencies": { + "@sanity/ui": "^1.0 || ^2.0", "react": "^18", "react-dom": "^18", - "sanity": "^3.0.0" + "sanity": "^3.0.0", + "styled-components": "^5.0 || ^6.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 5d5daf8..45e2e3d 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "dependencies": { "@sanity/icons": "^2.0.0", "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/ui": "^2.0.0", + "@sanity/ui": "^1.0 || ^2.0", "@sanity/util": "^3.0.0", "@sanity/uuid": "^3.0.1", "dlv": "^1.1.3", @@ -92,9 +92,11 @@ "typescript": "^5.0.0" }, "peerDependencies": { + "@sanity/ui": "^1.0 || ^2.0", "react": "^18", "react-dom": "^18", - "sanity": "^3.0.0" + "sanity": "^3.0.0", + "styled-components": "^5.0 || ^6.0" }, "engines": { "node": ">=18"