@sveltia/ui 0.25.10 → 0.25.12
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.
|
@@ -234,10 +234,20 @@
|
|
|
234
234
|
.footer {
|
|
235
235
|
margin: var(--sui-dialog-footer-margin, 0 24px 24px);
|
|
236
236
|
}
|
|
237
|
+
@media (width < 768px) {
|
|
238
|
+
.footer {
|
|
239
|
+
margin: var(--sui-dialog-footer-margin, 0 16px 16px);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
237
242
|
|
|
238
243
|
.body {
|
|
239
244
|
overflow: auto;
|
|
240
245
|
margin: var(--sui-dialog-body-margin, 24px 24px);
|
|
241
246
|
white-space: normal;
|
|
242
247
|
line-height: var(--sui-line-height-compact);
|
|
248
|
+
}
|
|
249
|
+
@media (width < 768px) {
|
|
250
|
+
.body {
|
|
251
|
+
margin: var(--sui-dialog-body-margin, 16px 16px);
|
|
252
|
+
}
|
|
243
253
|
}</style>
|
|
@@ -89,7 +89,15 @@
|
|
|
89
89
|
// @ts-ignore
|
|
90
90
|
value = target.dataset.type === 'number' ? Number(target.value) : target.value;
|
|
91
91
|
_onChange();
|
|
92
|
-
onChange?.(
|
|
92
|
+
onChange?.(
|
|
93
|
+
new CustomEvent('Change', {
|
|
94
|
+
detail: {
|
|
95
|
+
target: inputElement,
|
|
96
|
+
name: target.name,
|
|
97
|
+
value,
|
|
98
|
+
},
|
|
99
|
+
}),
|
|
100
|
+
);
|
|
93
101
|
};
|
|
94
102
|
|
|
95
103
|
$effect(() => {
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
font-family: var(--sui-control-font-family);
|
|
90
90
|
font-size: var(--sui-control-font-size);
|
|
91
91
|
line-height: var(--sui-control-line-height);
|
|
92
|
+
font-weight: var(--sui-font-weight-normal, normal);
|
|
92
93
|
text-align: start;
|
|
93
94
|
cursor: pointer;
|
|
94
95
|
-webkit-user-select: none;
|
|
@@ -79,10 +79,13 @@
|
|
|
79
79
|
align-items: center;
|
|
80
80
|
gap: 8px;
|
|
81
81
|
margin: 0;
|
|
82
|
-
padding:
|
|
82
|
+
padding-inline-end: 12px;
|
|
83
83
|
min-width: 0;
|
|
84
84
|
font-size: var(--sui-font-size-x-large);
|
|
85
85
|
}
|
|
86
|
+
[role=toolbar] :global(h2):first-child {
|
|
87
|
+
padding-inline-start: 12px;
|
|
88
|
+
}
|
|
86
89
|
[role=toolbar] :global(h2) :global(strong) {
|
|
87
90
|
display: block;
|
|
88
91
|
overflow: hidden;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/ui",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -28,18 +28,18 @@
|
|
|
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.
|
|
41
|
-
"@sveltia/utils": "^0.7.
|
|
42
|
-
"lexical": "^0.
|
|
31
|
+
"@lexical/code": "^0.29.0",
|
|
32
|
+
"@lexical/dragon": "^0.29.0",
|
|
33
|
+
"@lexical/history": "^0.29.0",
|
|
34
|
+
"@lexical/link": "^0.29.0",
|
|
35
|
+
"@lexical/list": "^0.29.0",
|
|
36
|
+
"@lexical/markdown": "^0.29.0",
|
|
37
|
+
"@lexical/rich-text": "^0.29.0",
|
|
38
|
+
"@lexical/selection": "^0.29.0",
|
|
39
|
+
"@lexical/table": "^0.29.0",
|
|
40
|
+
"@lexical/utils": "^0.29.0",
|
|
41
|
+
"@sveltia/utils": "^0.7.1",
|
|
42
|
+
"lexical": "^0.29.0",
|
|
43
43
|
"prismjs": "^1.30.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -47,32 +47,32 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@playwright/test": "^1.51.1",
|
|
50
|
-
"@sveltejs/adapter-auto": "^
|
|
51
|
-
"@sveltejs/kit": "^2.20.
|
|
50
|
+
"@sveltejs/adapter-auto": "^6.0.0",
|
|
51
|
+
"@sveltejs/kit": "^2.20.4",
|
|
52
52
|
"@sveltejs/package": "^2.3.10",
|
|
53
53
|
"@sveltejs/vite-plugin-svelte": "5.0.3",
|
|
54
|
-
"cspell": "^8.
|
|
54
|
+
"cspell": "^8.18.1",
|
|
55
55
|
"eslint": "^8.57.1",
|
|
56
56
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
57
57
|
"eslint-config-prettier": "^10.1.1",
|
|
58
58
|
"eslint-plugin-import": "^2.31.0",
|
|
59
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
59
|
+
"eslint-plugin-jsdoc": "^50.6.9",
|
|
60
60
|
"eslint-plugin-svelte": "^2.46.1",
|
|
61
61
|
"postcss": "^8.5.3",
|
|
62
62
|
"postcss-html": "^1.8.0",
|
|
63
63
|
"prettier": "^3.5.3",
|
|
64
64
|
"prettier-plugin-svelte": "^3.3.3",
|
|
65
|
-
"sass": "^1.86.
|
|
66
|
-
"stylelint": "^16.
|
|
65
|
+
"sass": "^1.86.3",
|
|
66
|
+
"stylelint": "^16.17.0",
|
|
67
67
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
68
68
|
"stylelint-scss": "^6.11.1",
|
|
69
|
-
"svelte": "5.
|
|
69
|
+
"svelte": "5.25.7",
|
|
70
70
|
"svelte-check": "^4.1.5",
|
|
71
71
|
"svelte-i18n": "^4.0.1",
|
|
72
72
|
"svelte-preprocess": "^6.0.3",
|
|
73
73
|
"tslib": "^2.8.1",
|
|
74
|
-
"vite": "^6.2.
|
|
75
|
-
"vitest": "^3.
|
|
74
|
+
"vite": "^6.2.5",
|
|
75
|
+
"vitest": "^3.1.1"
|
|
76
76
|
},
|
|
77
77
|
"exports": {
|
|
78
78
|
".": {
|