@sanity/ui 2.12.3 → 2.12.4

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": "2.12.3",
3
+ "version": "2.12.4",
4
4
  "keywords": [
5
5
  "sanity",
6
6
  "ui",
@@ -120,14 +120,14 @@
120
120
  "@sanity/color": "^3.0.6",
121
121
  "@sanity/icons": "^3.5.7",
122
122
  "csstype": "^3.1.3",
123
- "framer-motion": "^12.4.1",
123
+ "framer-motion": "^12.4.2",
124
124
  "react-compiler-runtime": "19.0.0-beta-30d8a17-20250209",
125
125
  "react-refractor": "^2.2.0",
126
126
  "use-effect-event": "^1.0.2"
127
127
  },
128
128
  "devDependencies": {
129
- "@babel/core": "^7.26.7",
130
- "@babel/preset-env": "^7.26.7",
129
+ "@babel/core": "^7.26.8",
130
+ "@babel/preset-env": "^7.26.8",
131
131
  "@babel/preset-react": "^7.26.3",
132
132
  "@babel/preset-typescript": "^7.26.0",
133
133
  "@commitlint/cli": "^19.7.1",
@@ -135,21 +135,21 @@
135
135
  "@sanity/pkg-utils": "^6.13.4",
136
136
  "@sanity/prettier-config": "^1.0.3",
137
137
  "@sanity/semantic-release-preset": "^5.0.0",
138
- "@sanity/ui-workshop": "^2.0.26",
139
- "@storybook/addon-a11y": "^8.5.3",
140
- "@storybook/addon-docs": "^8.5.3",
141
- "@storybook/addon-essentials": "^8.5.3",
142
- "@storybook/addon-interactions": "^8.5.3",
143
- "@storybook/addon-links": "^8.5.3",
144
- "@storybook/addon-mdx-gfm": "^8.5.3",
145
- "@storybook/addon-storysource": "^8.5.3",
146
- "@storybook/addon-themes": "^8.5.3",
147
- "@storybook/blocks": "^8.5.3",
148
- "@storybook/manager-api": "^8.5.3",
149
- "@storybook/react": "^8.5.3",
150
- "@storybook/react-vite": "^8.5.3",
151
- "@storybook/test": "^8.5.3",
152
- "@storybook/theming": "^8.5.3",
138
+ "@sanity/ui-workshop": "^2.0.27",
139
+ "@storybook/addon-a11y": "^8.5.5",
140
+ "@storybook/addon-docs": "^8.5.5",
141
+ "@storybook/addon-essentials": "^8.5.5",
142
+ "@storybook/addon-interactions": "^8.5.5",
143
+ "@storybook/addon-links": "^8.5.5",
144
+ "@storybook/addon-mdx-gfm": "^8.5.5",
145
+ "@storybook/addon-storysource": "^8.5.5",
146
+ "@storybook/addon-themes": "^8.5.5",
147
+ "@storybook/blocks": "^8.5.5",
148
+ "@storybook/manager-api": "^8.5.5",
149
+ "@storybook/react": "^8.5.5",
150
+ "@storybook/react-vite": "^8.5.5",
151
+ "@storybook/test": "^8.5.5",
152
+ "@storybook/theming": "^8.5.5",
153
153
  "@testing-library/dom": "^10.4.0",
154
154
  "@testing-library/jest-dom": "^6.6.3",
155
155
  "@testing-library/react": "^16.2.0",
@@ -177,7 +177,7 @@
177
177
  "eslint-plugin-jsx-a11y": "^6.10.2",
178
178
  "eslint-plugin-react": "^7.37.4",
179
179
  "eslint-plugin-react-compiler": "19.0.0-beta-30d8a17-20250209",
180
- "eslint-plugin-react-hooks": "^5.1.0",
180
+ "eslint-plugin-react-hooks": "experimental",
181
181
  "eslint-plugin-storybook": "^0.11.2",
182
182
  "http-server": "^14.1.1",
183
183
  "husky": "^8.0.3",
@@ -187,15 +187,15 @@
187
187
  "lint-staged": "^14.0.1",
188
188
  "module-alias": "^2.2.3",
189
189
  "npm-run-all2": "^5.0.2",
190
- "prettier": "^3.4.2",
190
+ "prettier": "^3.5.0",
191
191
  "react": "^19.0.0",
192
192
  "react-dom": "^19.0.0",
193
193
  "react-is": "^19.0.0",
194
194
  "refractor": "^4.8.1",
195
195
  "rimraf": "^5.0.5",
196
- "semantic-release": "^24.2.1",
196
+ "semantic-release": "^24.2.2",
197
197
  "start-server-and-test": "^2.0.10",
198
- "storybook": "^8.5.3",
198
+ "storybook": "^8.5.5",
199
199
  "styled-components": "^6.1.15",
200
200
  "tsconfig-paths": "^4.2.0",
201
201
  "typescript": "5.7.3",
@@ -66,7 +66,7 @@ export function useClickOutsideEvent(
66
66
  return () => {
67
67
  document.removeEventListener('mousedown', handleEvent)
68
68
  }
69
- }, [hasListener, onEvent])
69
+ }, [hasListener])
70
70
 
71
71
  useDebugValue(listener ? 'MouseDown On' : 'MouseDown Off')
72
72
  }
@@ -13,5 +13,5 @@ export function useGlobalKeyDown(onKeyDown: (event: KeyboardEvent) => void): voi
13
13
  window.addEventListener('keydown', handler)
14
14
 
15
15
  return () => window.removeEventListener('keydown', handler)
16
- }, [handleKeyDown])
16
+ }, [])
17
17
  }
@@ -449,5 +449,5 @@ function useCloseOnMouseLeave({
449
449
  window.addEventListener('mousemove', handleMouseMove)
450
450
 
451
451
  return () => window.removeEventListener('mousemove', handleMouseMove)
452
- }, [onMouseMove, showTooltip])
452
+ }, [showTooltip])
453
453
  }