@sveltia/ui 0.25.11 → 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": {
|
|
@@ -47,11 +47,11 @@
|
|
|
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",
|
|
@@ -62,17 +62,17 @@
|
|
|
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.25.
|
|
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
|
".": {
|