@sanity/ui 1.3.0 → 1.3.2

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/ui",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "sideEffects": false,
5
5
  "types": "./dist/index.d.ts",
6
6
  "source": "./src/index.ts",
@@ -53,7 +53,7 @@
53
53
  "@sanity/color": "^2.2.3",
54
54
  "@sanity/icons": "^2.2.2",
55
55
  "csstype": "^3.1.1",
56
- "framer-motion": "^9.0.4",
56
+ "framer-motion": "^10.0.0",
57
57
  "react-refractor": "^2.1.7"
58
58
  },
59
59
  "devDependencies": {
@@ -64,12 +64,12 @@
64
64
  "@commitlint/cli": "^17.4.4",
65
65
  "@commitlint/config-conventional": "^17.4.4",
66
66
  "@juggle/resize-observer": "^3.4.0",
67
- "@sanity/pkg-utils": "^2.2.5",
68
- "@sanity/semantic-release-preset": "^4.0.0",
67
+ "@sanity/pkg-utils": "^2.2.13",
68
+ "@sanity/semantic-release-preset": "^4.1.0",
69
69
  "@sanity/ui-workshop": "^1.2.1",
70
- "@testing-library/dom": "^8.20.0",
70
+ "@testing-library/dom": "^9.0.0",
71
71
  "@testing-library/jest-dom": "^5.16.5",
72
- "@testing-library/react": "^13.4.0",
72
+ "@testing-library/react": "^14.0.0",
73
73
  "@types/jest": "^29.4.0",
74
74
  "@types/jest-axe": "^3.5.5",
75
75
  "@types/node": "^18.14.0",
@@ -82,10 +82,10 @@
82
82
  "@typescript-eslint/eslint-plugin": "^5.52.0",
83
83
  "@typescript-eslint/parser": "^5.52.0",
84
84
  "commitizen": "^4.3.0",
85
- "cypress": "^12.6.0",
85
+ "cypress": "^12.8.1",
86
86
  "cypress-real-events": "^1.7.6",
87
87
  "cz-conventional-changelog": "^3.3.0",
88
- "esbuild": "^0.17.9",
88
+ "esbuild": "^0.17.12",
89
89
  "esbuild-register": "^3.4.2",
90
90
  "eslint": "^8.34.0",
91
91
  "eslint-config-prettier": "^8.6.0",
@@ -106,12 +106,12 @@
106
106
  "react": "^18.2.0",
107
107
  "react-dom": "^18.2.0",
108
108
  "react-is": "^18.2.0",
109
- "rimraf": "^4.1.2",
110
- "semantic-release": "^20.1.0",
111
- "start-server-and-test": "^1.15.4",
112
- "styled-components": "^5.3.6",
109
+ "rimraf": "^5.0.0",
110
+ "semantic-release": "^21.0.0",
111
+ "start-server-and-test": "^2.0.0",
112
+ "styled-components": "^5.3.9",
113
113
  "tsconfig-paths": "^4.1.2",
114
- "typescript": "^4.9.5"
114
+ "typescript": "^5.0.0"
115
115
  },
116
116
  "peerDependencies": {
117
117
  "react": "^18",
@@ -146,7 +146,7 @@
146
146
  "prettier --write --cache --ignore-unknown"
147
147
  ]
148
148
  },
149
- "packageManager": "pnpm@7.27.1",
149
+ "packageManager": "pnpm@8.2.0",
150
150
  "publishConfig": {
151
151
  "access": "public"
152
152
  },
@@ -4,6 +4,6 @@ import {ResizeObserver as ResizeObserverPolyfill} from '@juggle/resize-observer'
4
4
  * @internal
5
5
  */
6
6
  export const _ResizeObserver: typeof ResizeObserver =
7
- typeof document !== 'undefined' && window.ResizeObserver
7
+ typeof document !== 'undefined' && typeof window !== 'undefined' && window.ResizeObserver
8
8
  ? window.ResizeObserver
9
9
  : ResizeObserverPolyfill