@sveltia/ui 0.19.1 → 0.19.3
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/package/components/button/button.svelte +1 -1
- package/package/components/checkbox/checkbox.svelte +1 -0
- package/package/components/menu/menu-item.svelte +1 -1
- package/package/components/radio/radio.svelte +1 -0
- package/package/components/tabs/tab-list.svelte +1 -1
- package/package/components/text-editor/core.js +4 -1
- package/package/components/text-field/text-input.svelte +1 -1
- package/package.json +24 -24
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
color: var(--sui-menuitem-foreground-color, var(--sui-control-foreground-color, inherit));
|
|
115
115
|
background-color: var(--sui-menuitem-background-color, transparent);
|
|
116
116
|
font-size: var(--sui-menuitem-font-size, var(--sui-option-font-size));
|
|
117
|
-
font-weight: var(--sui-menuitem-font-weight, var(--sui-option-font-weight, normal));
|
|
117
|
+
font-weight: var(--sui-menuitem-font-weight, var(--sui-option-font-weight, var(--sui-font-weight-normal, normal)));
|
|
118
118
|
}
|
|
119
119
|
.menuitem :global(button[aria-checked="true"]) :global(.icon) {
|
|
120
120
|
color: var(--sui-primary-accent-color-text);
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
border-radius: var(--sui-tab-border-radius, 0);
|
|
162
162
|
font-family: var(--sui-tab-font-family, var(--sui-control-font-family, inherit));
|
|
163
163
|
font-size: var(--sui-tab-font-size, var(--sui-control-font-size, inherit));
|
|
164
|
-
font-weight: var(--sui-tab-font-weight, var(--sui-control-font-weight, normal));
|
|
164
|
+
font-weight: var(--sui-tab-font-weight, var(--sui-control-font-weight, var(--sui-font-weight-normal, normal)));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.inner {
|
|
@@ -138,7 +138,10 @@ const onEditorUpdate = (editor) => {
|
|
|
138
138
|
editor.getRootElement()?.dispatchEvent(
|
|
139
139
|
new CustomEvent('Update', {
|
|
140
140
|
detail: {
|
|
141
|
-
value: convertToMarkdownString(
|
|
141
|
+
value: convertToMarkdownString(
|
|
142
|
+
// Use underscores for italic text in Markdown instead of asterisks
|
|
143
|
+
TRANSFORMERS.filter((/** @type {any} */ { tag }) => tag !== '*'),
|
|
144
|
+
),
|
|
142
145
|
selectionBlockType,
|
|
143
146
|
selectionInlineTypes,
|
|
144
147
|
},
|
|
@@ -167,7 +167,7 @@ input::placeholder,
|
|
|
167
167
|
font-family: var(--sui-textbox-placeholder-font-family, var(--sui-textbox-font-family));
|
|
168
168
|
font-size: var(--sui-textbox-placeholder-font-size, var(--sui-textbox-font-size));
|
|
169
169
|
line-height: var(--sui-textbox-placeholder-singleline-line-height, var(--sui-textbox-singleline-line-height));
|
|
170
|
-
font-weight: var(--sui-textbox-placeholder-font-weight, var(--sui-textbox-font-weight, normal));
|
|
170
|
+
font-weight: var(--sui-textbox-placeholder-font-weight, var(--sui-textbox-font-weight, var(--sui-font-weight-normal, normal)));
|
|
171
171
|
text-align: var(--sui-textbox-placeholder-text-align, var(--sui-textbox-text-align, start));
|
|
172
172
|
text-indent: var(--sui-textbox-placeholder-text-indent, var(--sui-textbox-text-indent, 0));
|
|
173
173
|
letter-spacing: var(--sui-textbox-placeholder-letter-spacing, var(--sui-textbox-letter-spacing, normal));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -28,50 +28,50 @@
|
|
|
28
28
|
"test:unit": "vitest"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@lexical/code": "^0.
|
|
32
|
-
"@lexical/dragon": "^0.
|
|
33
|
-
"@lexical/history": "^0.
|
|
34
|
-
"@lexical/link": "^0.
|
|
35
|
-
"@lexical/list": "^0.
|
|
36
|
-
"@lexical/markdown": "^0.
|
|
37
|
-
"@lexical/rich-text": "^0.
|
|
38
|
-
"@lexical/selection": "^0.
|
|
39
|
-
"@lexical/table": "^0.
|
|
40
|
-
"@lexical/utils": "^0.
|
|
31
|
+
"@lexical/code": "^0.19.0",
|
|
32
|
+
"@lexical/dragon": "^0.19.0",
|
|
33
|
+
"@lexical/history": "^0.19.0",
|
|
34
|
+
"@lexical/link": "^0.19.0",
|
|
35
|
+
"@lexical/list": "^0.19.0",
|
|
36
|
+
"@lexical/markdown": "^0.19.0",
|
|
37
|
+
"@lexical/rich-text": "^0.19.0",
|
|
38
|
+
"@lexical/selection": "^0.19.0",
|
|
39
|
+
"@lexical/table": "^0.19.0",
|
|
40
|
+
"@lexical/utils": "^0.19.0",
|
|
41
41
|
"@sveltia/utils": "^0.5.0",
|
|
42
|
-
"lexical": "^0.
|
|
42
|
+
"lexical": "^0.19.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"svelte": "^5.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@playwright/test": "^1.48.
|
|
49
|
-
"@sveltejs/adapter-auto": "^3.
|
|
50
|
-
"@sveltejs/kit": "^2.7.
|
|
51
|
-
"@sveltejs/package": "^2.3.
|
|
52
|
-
"@sveltejs/vite-plugin-svelte": "4.0.0
|
|
53
|
-
"cspell": "^8.15.
|
|
48
|
+
"@playwright/test": "^1.48.2",
|
|
49
|
+
"@sveltejs/adapter-auto": "^3.3.1",
|
|
50
|
+
"@sveltejs/kit": "^2.7.3",
|
|
51
|
+
"@sveltejs/package": "^2.3.7",
|
|
52
|
+
"@sveltejs/vite-plugin-svelte": "4.0.0",
|
|
53
|
+
"cspell": "^8.15.5",
|
|
54
54
|
"eslint": "^8.57.1",
|
|
55
55
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
56
56
|
"eslint-config-prettier": "^9.1.0",
|
|
57
57
|
"eslint-plugin-import": "^2.31.0",
|
|
58
58
|
"eslint-plugin-jsdoc": "^50.4.3",
|
|
59
|
-
"eslint-plugin-svelte": "^2.
|
|
59
|
+
"eslint-plugin-svelte": "^2.46.0",
|
|
60
60
|
"postcss": "^8.4.47",
|
|
61
61
|
"postcss-html": "^1.7.0",
|
|
62
62
|
"prettier": "^3.3.3",
|
|
63
63
|
"prettier-plugin-svelte": "^3.2.7",
|
|
64
|
-
"sass": "^1.80.
|
|
64
|
+
"sass": "^1.80.5",
|
|
65
65
|
"stylelint": "^16.10.0",
|
|
66
66
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
67
67
|
"stylelint-scss": "^6.8.1",
|
|
68
|
-
"svelte": "5.
|
|
68
|
+
"svelte": "5.1.6",
|
|
69
69
|
"svelte-check": "^4.0.5",
|
|
70
|
-
"svelte-i18n": "^4.0.
|
|
70
|
+
"svelte-i18n": "^4.0.1",
|
|
71
71
|
"svelte-preprocess": "^6.0.3",
|
|
72
72
|
"tslib": "^2.8.0",
|
|
73
|
-
"vite": "^5.4.
|
|
74
|
-
"vitest": "^2.1.
|
|
73
|
+
"vite": "^5.4.10",
|
|
74
|
+
"vitest": "^2.1.4"
|
|
75
75
|
},
|
|
76
76
|
"exports": {
|
|
77
77
|
".": {
|