@sveltia/ui 0.31.8 → 0.31.9
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/components/button/button.svelte +1 -0
- package/dist/components/listbox/option.svelte +2 -0
- package/dist/components/scroll/infinite-scroll.svelte +1 -1
- package/dist/components/text-editor/core.js +4 -4
- package/dist/components/text-editor/text-editor.svelte +1 -0
- package/package.json +9 -9
|
@@ -412,10 +412,10 @@ export const convertMarkdownToLexical = async (editor, value) => {
|
|
|
412
412
|
// Split multiline formatting into separate lines to prevent Markdown parsing issues
|
|
413
413
|
// @see https://github.com/sveltia/sveltia-cms/issues/548
|
|
414
414
|
value = value
|
|
415
|
-
.replace(/_([^_\n]+?)\n([^_\n]+?)_/gm, '
|
|
416
|
-
.replace(
|
|
417
|
-
.replace(
|
|
418
|
-
.replace(
|
|
415
|
+
.replace(/(\s+)_([^_\n]+?)\n([^_\n]+?)_(\s+)/gm, '$1_$2_\n_$3_$4')
|
|
416
|
+
.replace(/(\s+)\*\*([^*\n]+?)\n([^*\n]+?)\*\*(\s+)/gm, '$1**$2**\n**$3**$4')
|
|
417
|
+
.replace(/(\s+)~~([^~\n]+?)\n([^~\n]+?)~~(\s+)/gm, '$1~~$2~~\n~~$3~~$4')
|
|
418
|
+
.replace(/(\s+)`([^`\n]+?)\n([^`\n]+?)`(\s+)/gm, '$1`$2`\n`$3`$4');
|
|
419
419
|
|
|
420
420
|
// Increase list indentation levels to prevent Markdown parsing issues: Slate uses 2 spaces for
|
|
421
421
|
// each indentation level, whereas Lexical uses 4 spaces
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -28,31 +28,31 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
31
|
-
"@sveltejs/kit": "^2.49.
|
|
31
|
+
"@sveltejs/kit": "^2.49.1",
|
|
32
32
|
"@sveltejs/package": "^2.5.7",
|
|
33
33
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
34
|
-
"cspell": "^9.
|
|
34
|
+
"cspell": "^9.4.0",
|
|
35
35
|
"eslint": "^8.57.1",
|
|
36
36
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
37
37
|
"eslint-config-prettier": "^10.1.8",
|
|
38
38
|
"eslint-plugin-import": "^2.32.0",
|
|
39
39
|
"eslint-plugin-jsdoc": "^61.4.1",
|
|
40
40
|
"eslint-plugin-svelte": "^2.46.1",
|
|
41
|
-
"oxlint": "^1.
|
|
41
|
+
"oxlint": "^1.31.0",
|
|
42
42
|
"postcss": "^8.5.6",
|
|
43
43
|
"postcss-html": "^1.8.0",
|
|
44
|
-
"prettier": "^3.7.
|
|
44
|
+
"prettier": "^3.7.4",
|
|
45
45
|
"prettier-plugin-svelte": "^3.4.0",
|
|
46
46
|
"sass": "^1.94.2",
|
|
47
47
|
"stylelint": "^16.26.1",
|
|
48
48
|
"stylelint-config-recommended-scss": "^16.0.2",
|
|
49
|
-
"stylelint-scss": "^6.
|
|
50
|
-
"svelte": "^5.45.
|
|
49
|
+
"stylelint-scss": "^6.13.0",
|
|
50
|
+
"svelte": "^5.45.5",
|
|
51
51
|
"svelte-check": "^4.3.4",
|
|
52
52
|
"svelte-preprocess": "^6.0.3",
|
|
53
53
|
"tslib": "^2.8.1",
|
|
54
|
-
"vite": "^7.2.
|
|
55
|
-
"vitest": "^4.0.
|
|
54
|
+
"vite": "^7.2.6",
|
|
55
|
+
"vitest": "^4.0.15"
|
|
56
56
|
},
|
|
57
57
|
"exports": {
|
|
58
58
|
".": {
|