mhz-ui 1.1.57 → 1.1.58

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.
@@ -10415,7 +10415,7 @@ const vp = ee.create({
10415
10415
  const { state: i } = t, s = i.doc.slice(n.from, n.to);
10416
10416
  r.deleteRange(n.from, n.to);
10417
10417
  const o = r.mapping.map(e);
10418
- return r.insert(o, s.content), r.setSelection(new D(r.doc.resolve(o - 1))), !0;
10418
+ return r.insert(o, s.content), r.setSelection(new D(r.doc.resolve(Math.max(o - 1, 0)))), !0;
10419
10419
  }, Op = () => ({ tr: n, dispatch: e }) => {
10420
10420
  const { selection: t } = n, r = t.$anchor.node();
10421
10421
  if (r.content.size > 0)
@@ -13932,7 +13932,7 @@ class Tg {
13932
13932
  }
13933
13933
  createTooltip() {
13934
13934
  const { element: e } = this.editor.options, t = !!e.parentElement;
13935
- this.tippy || !t || (this.tippy = yn(e, {
13935
+ this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = yn(e, {
13936
13936
  duration: 0,
13937
13937
  getReferenceClientRect: null,
13938
13938
  content: this.element,
@@ -14018,7 +14018,7 @@ class Eg {
14018
14018
  }
14019
14019
  createTooltip() {
14020
14020
  const { element: e } = this.editor.options, t = !!e.parentElement;
14021
- this.tippy || !t || (this.tippy = yn(e, {
14021
+ this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = yn(e, {
14022
14022
  duration: 0,
14023
14023
  getReferenceClientRect: null,
14024
14024
  content: this.element,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mhz-ui",
3
3
  "description": "Mhz ui kit",
4
- "version": "1.1.57",
4
+ "version": "1.1.58",
5
5
  "author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -25,12 +25,12 @@
25
25
  "test:cov": "vitest run --coverage"
26
26
  },
27
27
  "dependencies": {
28
- "@tiptap/pm": "2.23.0",
29
- "@tiptap/starter-kit": "2.23.0",
30
- "@tiptap/vue-3": "2.23.0",
28
+ "@tiptap/pm": "2.24.2",
29
+ "@tiptap/starter-kit": "2.24.2",
30
+ "@tiptap/vue-3": "2.24.2",
31
31
  "@vueform/slider": "2.1.10",
32
- "@vueuse/core": "13.4.0",
33
- "@vueuse/integrations": "13.4.0",
32
+ "@vueuse/core": "13.5.0",
33
+ "@vueuse/integrations": "13.5.0",
34
34
  "chart.js": "4.5.0",
35
35
  "mhz-helpers": "*",
36
36
  "perfect-debounce": "1.0.0",
@@ -40,43 +40,43 @@
40
40
  "vue-router": "4.5.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@eslint/js": "9.30.0",
44
- "@storybook/addon-docs": "9.0.14",
45
- "@storybook/vue3": "9.0.14",
46
- "@storybook/vue3-vite": "9.0.14",
47
- "@types/node": "24.0.7",
43
+ "@eslint/js": "9.30.1",
44
+ "@storybook/addon-docs": "9.0.15",
45
+ "@storybook/vue3": "9.0.15",
46
+ "@storybook/vue3-vite": "9.0.15",
47
+ "@types/node": "24.0.10",
48
48
  "@vitejs/plugin-vue": "6.0.0",
49
49
  "@vitest/coverage-istanbul": "3.2.4",
50
50
  "@vue/test-utils": "2.4.6",
51
- "eslint": "9.30.0",
51
+ "eslint": "9.30.1",
52
52
  "eslint-config-prettier": "10.1.5",
53
53
  "eslint-import-resolver-typescript": "4.4.4",
54
54
  "eslint-plugin-import-x": "4.16.1",
55
55
  "eslint-plugin-prettier": "5.5.1",
56
- "eslint-plugin-vue": "10.2.0",
57
- "globals": "16.2.0",
56
+ "eslint-plugin-vue": "10.3.0",
57
+ "globals": "16.3.0",
58
58
  "happy-dom": "18.0.1",
59
59
  "postcss-html": "1.8.0",
60
60
  "postcss-scss": "4.0.9",
61
61
  "prettier": "3.6.2",
62
62
  "sass-embedded": "1.89.2",
63
- "storybook": "9.0.14",
64
- "stylelint": "16.21.0",
63
+ "storybook": "9.0.15",
64
+ "stylelint": "16.21.1",
65
65
  "stylelint-config-recess-order": "7.1.0",
66
66
  "stylelint-config-recommended-scss": "15.0.1",
67
67
  "stylelint-config-recommended-vue": "1.6.1",
68
68
  "stylelint-order": "7.0.0",
69
69
  "stylelint-prettier": "5.0.3",
70
70
  "typescript": "5.8.3",
71
- "typescript-eslint": "8.35.0",
72
- "vite": "7.0.0",
71
+ "typescript-eslint": "8.35.1",
72
+ "vite": "7.0.2",
73
73
  "vite-plugin-dts": "4.5.4",
74
74
  "vite-plugin-static-copy": "3.1.0",
75
75
  "vite-svg-loader": "5.1.0",
76
76
  "vitest": "3.2.4",
77
- "vue-eslint-parser": "10.1.4",
77
+ "vue-eslint-parser": "10.2.0",
78
78
  "vue-linters-config": "0.3.14",
79
- "vue-tsc": "2.2.10"
79
+ "vue-tsc": "3.0.1"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "vue": "3.5.17",