slate-vue3 0.8.1 → 0.8.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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SLATE_USE_ELEMENT, u as useEditor, a as SLATE_USE_SELECTION } from "./use-focused-Dy4w0CWr.js";
2
- import { e, h, D, c, f, g, d, E, b, i, j, k } from "./use-focused-Dy4w0CWr.js";
1
+ import { S as SLATE_USE_ELEMENT, u as useEditor, a as SLATE_USE_SELECTION } from "./use-focused-e8NZmCrS.js";
2
+ import { e, h, D, c, f, g, d, E, b, i, j, k } from "./use-focused-e8NZmCrS.js";
3
3
  import { E as Editor, R as Range } from "./index-CCzZ6aOH.js";
4
4
  import { inject, computed } from "vue";
5
5
  import { D as DOMEditor } from "./hotkeys-B9cuO97x.js";
@@ -1938,6 +1938,7 @@ const Editable = defineComponent({
1938
1938
  {
1939
1939
  role: readOnly ? void 0 : "textbox",
1940
1940
  "aria-multiline": readOnly ? void 0 : true,
1941
+ translate: "no",
1941
1942
  "data-slate-editor": true,
1942
1943
  "data-slate-node": "value",
1943
1944
  zindex: -1,
package/dist/yjs.js CHANGED
@@ -2,7 +2,7 @@ import { d as isObject, T as Text, N as Node, P as Path, E as Editor, c as Trans
2
2
  import { toRaw, ref, onMounted, onUnmounted, watch, onUpdated, computed } from "vue";
3
3
  import { XmlText, YTextEvent, createRelativePositionFromTypeIndex, createAbsolutePositionFromRelativePosition, createRelativePositionFromJSON, decodeRelativePosition, encodeRelativePosition, UndoManager, compareRelativePositions } from "yjs";
4
4
  import { L as Location } from "./location-Be5j1v5S.js";
5
- import { u as useEditor, j as useFocused } from "./use-focused-Dy4w0CWr.js";
5
+ import { u as useEditor, j as useFocused } from "./use-focused-e8NZmCrS.js";
6
6
  import { D as DOMEditor } from "./hotkeys-B9cuO97x.js";
7
7
  function deepEquals(node, another) {
8
8
  for (const key in node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slate-vue3",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -67,15 +67,15 @@
67
67
  "vue": "^3.0.0"
68
68
  },
69
69
  "devDependencies": {
70
- "@faker-js/faker": "^10.0.0",
71
- "@liveblocks/client": "^3.8.0",
72
- "@liveblocks/yjs": "^3.8.0",
73
- "@playwright/test": "^1.55.1",
70
+ "@faker-js/faker": "^10.1.0",
71
+ "@liveblocks/client": "^3.8.1",
72
+ "@liveblocks/yjs": "^3.8.1",
73
+ "@playwright/test": "^1.56.0",
74
74
  "@testing-library/vue": "^8.1.0",
75
75
  "@types/is-hotkey": "^0.1.10",
76
76
  "@types/is-url": "^1.2.32",
77
77
  "@types/lodash-es": "^4.17.12",
78
- "@types/node": "^24.6.2",
78
+ "@types/node": "^24.7.2",
79
79
  "@types/prismjs": "^1.26.5",
80
80
  "@vitejs/plugin-vue": "^6.0.1",
81
81
  "babel-plugin-transform-regex": "^6.0.1",
@@ -88,11 +88,11 @@
88
88
  "remark-slate-transformer": "^0.9.0",
89
89
  "typescript": "~5.9.3",
90
90
  "unified": "^11.0.5",
91
- "vite": "^7.1.9",
91
+ "vite": "^7.1.10",
92
92
  "vite-plugin-babel": "^1.3.2",
93
93
  "vite-plugin-dts": "^4.5.4",
94
94
  "vitest": "^3.2.4",
95
- "vue-router": "^4.5.1",
95
+ "vue-router": "^4.6.0",
96
96
  "yjs": "^13.6.27"
97
97
  },
98
98
  "publishConfig": {