@portabletext/editor 1.48.3 → 1.48.5

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": "@portabletext/editor",
3
- "version": "1.48.3",
3
+ "version": "1.48.5",
4
4
  "description": "Portable Text Editor made in React",
5
5
  "keywords": [
6
6
  "sanity",
@@ -73,7 +73,7 @@
73
73
  "get-random-values-esm": "^1.0.2",
74
74
  "lodash": "^4.17.21",
75
75
  "lodash.startcase": "^4.4.0",
76
- "react-compiler-runtime": "19.0.0-beta-e993439-20250328",
76
+ "react-compiler-runtime": "19.1.0-rc.1",
77
77
  "slate": "0.114.0",
78
78
  "slate-dom": "^0.114.0",
79
79
  "slate-react": "0.114.0",
@@ -100,10 +100,9 @@
100
100
  "@vitejs/plugin-react": "^4.4.1",
101
101
  "@vitest/browser": "^3.1.2",
102
102
  "@vitest/coverage-istanbul": "^3.1.2",
103
- "babel-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
103
+ "babel-plugin-react-compiler": "19.1.0-rc.1",
104
104
  "eslint": "8.57.1",
105
- "eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
106
- "eslint-plugin-react-hooks": "experimental",
105
+ "eslint-plugin-react-hooks": "0.0.0-experimental-0038c501-20250429",
107
106
  "jsdom": "^26.0.0",
108
107
  "react": "^19.1.0",
109
108
  "react-dom": "^19.1.0",
@@ -131,7 +130,7 @@
131
130
  "check:lint": "biome lint .",
132
131
  "check:types": "tsc",
133
132
  "check:types:watch": "tsc --watch",
134
- "check:react-compiler": "eslint --cache --no-inline-config --no-eslintrc --ignore-pattern '**/__tests__/**' --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --plugin react-hooks --rule 'react-compiler/react-compiler: [warn]' --rule 'react-hooks/rules-of-hooks: [error]' --rule 'react-hooks/exhaustive-deps: [error]' src",
133
+ "check:react-compiler": "eslint --cache --no-inline-config --no-eslintrc --ignore-pattern '**/__tests__/**' --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-hooks --rule 'react-hooks/react-compiler: [error]' --rule 'react-hooks/rules-of-hooks: [error]' --rule 'react-hooks/exhaustive-deps: [error]' src",
135
134
  "clean": "del .turbo && del lib && del node_modules",
136
135
  "dev": "pkg-utils watch",
137
136
  "lint:fix": "biome lint --write .",
@@ -249,6 +249,8 @@ export function performEvent({
249
249
  nativeEvent: undefined,
250
250
  })
251
251
  } else {
252
+ nativeEventPrevented = true
253
+
252
254
  const internalAction = {
253
255
  ...action.event,
254
256
  editor,