savor-ui 0.31.0 → 0.31.1
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [0.31.1](https://gitee.com/mach552/savor-ui/compare/v0.31.0...v0.31.1) (2026-09-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **badge:** 修复内容没有垂直居中的问题 ([804c7e1](https://gitee.com/mach552/savor-ui/commits/804c7e133ce7ae8668334c0c8d1db4b75d0162de))
|
|
11
|
+
* **date-picker:** 修复禁用样式无效的问题 ([7d1e5fa](https://gitee.com/mach552/savor-ui/commits/7d1e5fa6ee80c45edba03679a693f0cc5b458d13))
|
|
12
|
+
|
|
5
13
|
# [0.31.0](https://gitee.com/mach552/savor-ui/compare/v0.30.0...v0.31.0) (2026-09-01)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -323,7 +323,7 @@ var O = /*@__PURE__*/ m({
|
|
|
323
323
|
t.is("range", H.value),
|
|
324
324
|
t.is("error", w(je)),
|
|
325
325
|
t.is("filled", De.value)
|
|
326
|
-
]), S(r, Re.value), x(r, "clearable", m.clearable), x(r, "placeholder", Be.value), x(r, "disabled", n), y(r, [t.e("
|
|
326
|
+
]), S(r, Re.value), x(r, "clearable", m.clearable), x(r, "placeholder", Be.value), x(r, "disabled", n), y(r, [t.e("inner")]);
|
|
327
327
|
}), b(e, null, 1), f(() => A.value && !!k.value && m.clearable, () => {
|
|
328
328
|
let e = Se();
|
|
329
329
|
return v(() => y(e, [w(O).e("close")])), b(e, null, 0), d(w(n)), g(e, "click", T(Pe, ["stop"])), e;
|
|
@@ -336,12 +336,13 @@ var O = /*@__PURE__*/ m({
|
|
|
336
336
|
r.$evtinput = p(Ze), g(r, "blur", Qe), g(r, "click", T(V, ["stop"]));
|
|
337
337
|
let o = pe(i);
|
|
338
338
|
return a.$evtinput = p($e), g(a, "blur", et), g(a, "click", T(V, ["stop"])), v(() => {
|
|
339
|
-
let t = w(O), n = m.disabled, i = ze.value, s = m.clearable, c = Ve.value, l = [t.e("
|
|
339
|
+
let t = w(O), n = m.disabled, i = ze.value, s = m.clearable, c = Ve.value, l = [t.e("inner")];
|
|
340
340
|
y(e, [
|
|
341
341
|
t.e("wrapper"),
|
|
342
342
|
t.is("disabled", n),
|
|
343
343
|
t.is("range", H.value),
|
|
344
|
-
t.is("error", w(je))
|
|
344
|
+
t.is("error", w(je)),
|
|
345
|
+
t.is("filled", De.value)
|
|
345
346
|
]), S(r, i[0]), x(r, "clearable", s), x(r, "placeholder", c[0]), x(r, "disabled", n), y(r, l), ue(o, de(m.textSeparator)), S(a, i[1]), x(a, "clearable", s), x(a, "placeholder", c[1]), x(a, "disabled", n), y(a, l);
|
|
346
347
|
}), b(e, null, 3), f(() => A.value && !!k.value && m.clearable, () => {
|
|
347
348
|
let e = Se();
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
@include when(range) {
|
|
23
23
|
&:focus-within {
|
|
24
|
-
@include be(date-picker,
|
|
24
|
+
@include be(date-picker, inner) {
|
|
25
25
|
&:focus {
|
|
26
26
|
background-color: getCssVar("color", "fill-2");
|
|
27
27
|
}
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
padding: 4px 8px 4px 4px;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
@include be(date-picker,
|
|
111
|
+
@include be(date-picker, inner) {
|
|
112
112
|
font-size: getCssVar("font-size", $size);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
@include e(
|
|
117
|
+
@include e(inner) {
|
|
118
118
|
height: 100%;
|
|
119
119
|
width: 100%;
|
|
120
120
|
padding: 0 8px 0 8px;
|
package/dist/json/web-types.json
CHANGED