@sveltia/ui 0.87.3 → 0.88.0
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/text-editor/code-editor.svelte +0 -5
- package/dist/components/text-editor/core.d.ts +8 -1
- package/dist/components/text-editor/core.js +358 -26
- package/dist/components/text-editor/lexical-root.svelte +7 -3
- package/dist/components/text-editor/markdown.js +149 -8
- package/dist/components/text-editor/raw-markdown.d.ts +8 -0
- package/dist/components/text-editor/raw-markdown.js +85 -0
- package/dist/components/text-editor/shiki/version.d.ts +1 -1
- package/dist/components/text-editor/shiki/version.js +1 -1
- package/dist/components/text-editor/store.svelte.js +3 -3
- package/dist/components/text-editor/text-editor.svelte +44 -6
- package/dist/components/text-editor/text-editor.svelte.d.ts +28 -0
- package/dist/components/text-editor/toolbar/insert-component.d.ts +1 -2
- package/dist/components/text-editor/toolbar/insert-component.js +0 -9
- package/dist/components/text-editor/toolbar/text-editor-toolbar.svelte +1 -1
- package/dist/components/text-editor/transformers/block-escape.js +19 -24
- package/dist/components/text-editor/transformers/raw-syntax.d.ts +33 -0
- package/dist/components/text-editor/transformers/raw-syntax.js +85 -1
- package/dist/components/text-editor/transformers/table.js +8 -2
- package/dist/components/text-field/text-area.svelte +4 -4
- package/dist/shiki-engine.js +5 -5
- package/dist/typedefs.d.ts +5 -0
- package/dist/typedefs.js +2 -0
- package/package.json +8 -8
package/dist/typedefs.d.ts
CHANGED
|
@@ -809,6 +809,11 @@ export type TextEditorConfig = {
|
|
|
809
809
|
* Format of the value. Default: `markdown`.
|
|
810
810
|
*/
|
|
811
811
|
format?: TextEditorValueFormat | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* Whether the content can span multiple paragraphs and lines. With
|
|
814
|
+
* `false`, it’s kept in a single paragraph without line breaks. Default: `true`.
|
|
815
|
+
*/
|
|
816
|
+
multiline?: boolean | undefined;
|
|
812
817
|
};
|
|
813
818
|
export type EmojiEntry = {
|
|
814
819
|
/**
|
package/dist/typedefs.js
CHANGED
|
@@ -347,6 +347,8 @@
|
|
|
347
347
|
* shortcode, like `:smi`. Default: `false`.
|
|
348
348
|
* @property {string} [defaultLanguage] Default language for the code editor.
|
|
349
349
|
* @property {TextEditorValueFormat} [format] Format of the value. Default: `markdown`.
|
|
350
|
+
* @property {boolean} [multiline] Whether the content can span multiple paragraphs and lines. With
|
|
351
|
+
* `false`, it’s kept in a single paragraph without line breaks. Default: `true`.
|
|
350
352
|
*/
|
|
351
353
|
|
|
352
354
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "A collection of Svelte components and utilities for building user interfaces.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@fontsource-variable/material-symbols-outlined": "5.3.9",
|
|
70
70
|
"@fontsource-variable/source-sans-3": "5.3.1",
|
|
71
71
|
"@fontsource/noto-mono": "5.3.0",
|
|
72
|
-
"@rollup/plugin-yaml": "^5.0.
|
|
72
|
+
"@rollup/plugin-yaml": "^5.0.1",
|
|
73
73
|
"@sveltejs/adapter-auto": "^8.0.0",
|
|
74
74
|
"@sveltejs/kit": "^3.1.0",
|
|
75
75
|
"@sveltejs/package": "^3.0.1",
|
|
@@ -81,19 +81,19 @@
|
|
|
81
81
|
"eslint-config-airbnb-extended": "^3.3.0",
|
|
82
82
|
"eslint-config-prettier": "^10.1.8",
|
|
83
83
|
"eslint-plugin-import": "^2.32.0",
|
|
84
|
-
"eslint-plugin-jsdoc": "^65.
|
|
85
|
-
"eslint-plugin-package-json": "^1.
|
|
84
|
+
"eslint-plugin-jsdoc": "^65.4.2",
|
|
85
|
+
"eslint-plugin-package-json": "^1.11.0",
|
|
86
86
|
"eslint-plugin-svelte": "^3.23.1",
|
|
87
87
|
"globals": "^17.13.0",
|
|
88
|
-
"happy-dom": "^21.0.
|
|
88
|
+
"happy-dom": "^21.0.4",
|
|
89
89
|
"oxlint": "^1.89.0",
|
|
90
90
|
"playwright": "^1.64.1",
|
|
91
91
|
"postcss": "^8.5.31",
|
|
92
92
|
"postcss-html": "^2.0.0",
|
|
93
93
|
"prettier": "^3.9.10",
|
|
94
94
|
"prettier-plugin-svelte": "^4.1.1",
|
|
95
|
-
"rolldown": "^1.2.
|
|
96
|
-
"sass": "^1.
|
|
95
|
+
"rolldown": "^1.2.15",
|
|
96
|
+
"sass": "^1.106.1",
|
|
97
97
|
"shiki": "^4.5.0",
|
|
98
98
|
"stylelint": "^17.16.0",
|
|
99
99
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"svelte-check": "^4.7.7",
|
|
103
103
|
"svelte-preprocess": "^6.0.5",
|
|
104
104
|
"tslib": "^2.8.1",
|
|
105
|
-
"vite": "^8.3.
|
|
105
|
+
"vite": "^8.3.5",
|
|
106
106
|
"vitest": "^5.0.5",
|
|
107
107
|
"vitest-browser-svelte": "^3.1.0"
|
|
108
108
|
},
|