@sanity/google-maps-input 3.0.2 → 4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/google-maps-input",
3
- "version": "3.0.2",
3
+ "version": "4.0.0",
4
4
  "description": "Sanity plugin providing input handlers for geo-related input types using Google Maps",
5
5
  "keywords": [
6
6
  "sanity",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@sanity/icons": "^2.0.0",
60
60
  "@sanity/incompatible-plugin": "^1.0.4",
61
- "@sanity/ui": "^1.0.0",
61
+ "@sanity/ui": "^2.0.0",
62
62
  "lodash": "^4.17.21"
63
63
  },
64
64
  "devDependencies": {
@@ -69,7 +69,6 @@
69
69
  "@sanity/semantic-release-preset": "^4.1.4",
70
70
  "@types/google.maps": "^3.54.5",
71
71
  "@types/react": "^18.2.21",
72
- "@types/styled-components": "^5.1.29",
73
72
  "@typescript-eslint/eslint-plugin": "^6.5.0",
74
73
  "@typescript-eslint/parser": "^6.5.0",
75
74
  "eslint": "^8.48.0",
@@ -87,14 +86,15 @@
87
86
  "react-dom": "^18.2.0",
88
87
  "react-is": "^18.2.0",
89
88
  "rimraf": "^5.0.1",
90
- "sanity": "^3.16.1",
89
+ "sanity": "^3.19.0",
91
90
  "semantic-release": "^21.1.1",
92
- "styled-components": "^5.3.11",
91
+ "styled-components": "^6.1.8",
93
92
  "typescript": "^5.2.2"
94
93
  },
95
94
  "peerDependencies": {
96
95
  "react": "^18",
97
- "sanity": "^3.14"
96
+ "sanity": "^3.19.0",
97
+ "styled-components": "6.1"
98
98
  },
99
99
  "engines": {
100
100
  "node": ">=14"
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components'
1
+ import {styled} from 'styled-components'
2
2
 
3
3
  export const RootContainer = styled.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components'
1
+ import {styled} from 'styled-components'
2
2
 
3
3
  export const PreviewImage = styled.img`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components'
1
+ import {styled} from 'styled-components'
2
2
 
3
3
  export const MapContainer = styled.div`
4
4
  position: absolute;
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components'
1
+ import {styled} from 'styled-components'
2
2
 
3
3
  export const WrapperContainer = styled.div`
4
4
  position: absolute;