@sveltia/ui 0.22.4 → 0.22.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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Kohei Yoshino.
3
+ Copyright (c) 2025 Kohei Yoshino.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -120,7 +120,7 @@
120
120
  * @see https://github.com/facebook/lexical/discussions/3013
121
121
  */
122
122
  const onDialogClose = async (event) => {
123
- if (event.detail !== 'cancel' && dialogMode !== 'remove') {
123
+ if (event.detail.returnValue !== 'cancel' && dialogMode !== 'remove') {
124
124
  await new Promise((resolve) => {
125
125
  $editor.update(async () => {
126
126
  let selection = getSelection() ?? getPreviousSelection()?.clone();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.22.4",
3
+ "version": "0.22.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,19 +28,19 @@
28
28
  "test:unit": "vitest"
29
29
  },
30
30
  "dependencies": {
31
- "@lexical/code": "^0.22.0",
32
- "@lexical/dragon": "^0.22.0",
33
- "@lexical/history": "^0.22.0",
34
- "@lexical/link": "^0.22.0",
35
- "@lexical/list": "^0.22.0",
36
- "@lexical/markdown": "^0.22.0",
37
- "@lexical/rich-text": "^0.22.0",
38
- "@lexical/selection": "^0.22.0",
39
- "@lexical/table": "^0.22.0",
40
- "@lexical/utils": "^0.22.0",
31
+ "@lexical/code": "^0.23.0",
32
+ "@lexical/dragon": "^0.23.0",
33
+ "@lexical/history": "^0.23.0",
34
+ "@lexical/link": "^0.23.0",
35
+ "@lexical/list": "^0.23.0",
36
+ "@lexical/markdown": "^0.23.0",
37
+ "@lexical/rich-text": "^0.23.0",
38
+ "@lexical/selection": "^0.23.0",
39
+ "@lexical/table": "^0.23.0",
40
+ "@lexical/utils": "^0.23.0",
41
41
  "@sveltia/utils": "^0.6.3",
42
42
  "prismjs": "^1.29.0",
43
- "lexical": "^0.22.0"
43
+ "lexical": "^0.23.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "svelte": "^5.0.0"
@@ -62,16 +62,16 @@
62
62
  "postcss-html": "^1.7.0",
63
63
  "prettier": "^3.4.2",
64
64
  "prettier-plugin-svelte": "^3.3.2",
65
- "sass": "^1.83.0",
65
+ "sass": "^1.83.1",
66
66
  "stylelint": "^16.12.0",
67
67
  "stylelint-config-recommended-scss": "^14.1.0",
68
68
  "stylelint-scss": "^6.10.0",
69
- "svelte": "5.16.0",
69
+ "svelte": "5.16.2",
70
70
  "svelte-check": "^4.1.1",
71
71
  "svelte-i18n": "^4.0.1",
72
72
  "svelte-preprocess": "^6.0.3",
73
73
  "tslib": "^2.8.1",
74
- "vite": "^6.0.6",
74
+ "vite": "^6.0.7",
75
75
  "vitest": "^2.1.8"
76
76
  },
77
77
  "exports": {