@sanity/ui 2.10.8 → 2.10.10

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.10.8",
3
+ "version": "2.10.10",
4
4
  "keywords": [
5
5
  "sanity",
6
6
  "ui",
@@ -110,7 +110,7 @@
110
110
  "@sanity/icons": "^3.5.2",
111
111
  "csstype": "^3.1.3",
112
112
  "framer-motion": "^11.13.5",
113
- "react-compiler-runtime": "19.0.0-beta-37ed2a7-20241206",
113
+ "react-compiler-runtime": "19.0.0-beta-201e55d-20241215",
114
114
  "react-refractor": "^2.2.0",
115
115
  "use-effect-event": "^1.0.2"
116
116
  },
@@ -154,7 +154,7 @@
154
154
  "@typescript-eslint/eslint-plugin": "^7.18.0",
155
155
  "@typescript-eslint/parser": "^7.18.0",
156
156
  "@vitejs/plugin-react": "^4.3.4",
157
- "babel-plugin-react-compiler": "19.0.0-beta-37ed2a7-20241206",
157
+ "babel-plugin-react-compiler": "19.0.0-beta-201e55d-20241215",
158
158
  "commitizen": "^4.3.1",
159
159
  "cypress": "^13.16.1",
160
160
  "cypress-real-events": "^1.13.0",
@@ -165,7 +165,7 @@
165
165
  "eslint-plugin-import": "^2.31.0",
166
166
  "eslint-plugin-jsx-a11y": "^6.10.2",
167
167
  "eslint-plugin-react": "^7.37.2",
168
- "eslint-plugin-react-compiler": "19.0.0-beta-37ed2a7-20241206",
168
+ "eslint-plugin-react-compiler": "19.0.0-beta-201e55d-20241215",
169
169
  "eslint-plugin-react-hooks": "^5.1.0",
170
170
  "eslint-plugin-storybook": "^0.11.1",
171
171
  "http-server": "^14.1.1",
@@ -118,6 +118,7 @@ export const MenuItem = forwardRef(function MenuItem(
118
118
  return (
119
119
  <Selectable
120
120
  data-ui="MenuItem"
121
+ role="menuitem"
121
122
  {...restProps}
122
123
  aria-pressed={as === 'button' && pressed}
123
124
  data-pressed={as !== 'button' && pressed ? '' : undefined}
@@ -133,7 +134,6 @@ export const MenuItem = forwardRef(function MenuItem(
133
134
  onMouseEnter={onItemMouseEnter}
134
135
  onMouseLeave={onItemMouseLeave}
135
136
  ref={setRef}
136
- role="menuitem"
137
137
  tabIndex={-1}
138
138
  type={as === 'button' ? 'button' : undefined}
139
139
  >