@varlet/ui 1.27.2 → 1.27.5
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/README.en-US.md +3 -3
- package/README.md +3 -3
- package/es/rate/Rate.js +1 -1
- package/es/rate/rate.css +1 -1
- package/es/rate/rate.less +8 -6
- package/es/snackbar/style/index.js +1 -1
- package/es/snackbar/style/less.js +1 -1
- package/es/style.css +1 -1
- package/es/uploader/Uploader.js +3 -3
- package/es/uploader/uploader.css +1 -1
- package/es/uploader/uploader.less +1 -2
- package/es/varlet.esm.js +5 -5
- package/highlight/attributes.json +1 -1
- package/highlight/web-types.json +2 -2
- package/lib/rate/Rate.js +1 -1
- package/lib/rate/rate.css +1 -1
- package/lib/rate/rate.less +8 -6
- package/lib/style.css +1 -1
- package/lib/uploader/Uploader.js +3 -3
- package/lib/uploader/uploader.css +1 -1
- package/lib/uploader/uploader.less +1 -2
- package/package.json +5 -5
- package/umd/varlet.js +2 -2
package/README.en-US.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<a href="https://varlet.
|
|
3
|
-
<img src="https://varlet.
|
|
2
|
+
<a href="https://varlet-varletjs.vercel.app/#/en-US/home">
|
|
3
|
+
<img src="https://varlet-varletjs.vercel.app/logo.svg" width="150">
|
|
4
4
|
</a>
|
|
5
5
|
<h1>VARLET</h1>
|
|
6
6
|
<p>Material design mobile component library for Vue3</p>
|
|
7
7
|
<p>
|
|
8
|
-
<a href="https://varlet.
|
|
8
|
+
<a href="https://varlet-varletjs.vercel.app/#/en-US/home">Documentation</a>
|
|
9
9
|
</p>
|
|
10
10
|
<p>
|
|
11
11
|
<img src="https://img.shields.io/npm/v/@varlet/ui?style=flat-square" alt="version">
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<a href="https://varlet.
|
|
3
|
-
<img src="https://varlet.
|
|
2
|
+
<a href="https://varlet-varletjs.vercel.app">
|
|
3
|
+
<img src="https://varlet-varletjs.vercel.app/logo.svg" width="150" >
|
|
4
4
|
</a>
|
|
5
5
|
<h1>VARLET</h1>
|
|
6
6
|
<p>基于 Vue3 的 Material design 风格移动端组件库</p>
|
|
7
7
|
<p>
|
|
8
|
-
<a href="https://varlet.
|
|
8
|
+
<a href="https://varlet-varletjs.vercel.app">开发文档</a> | <a href="https://github.com/varletjs/varlet/blob/dev/README.en-US.md">English</a>
|
|
9
9
|
</p>
|
|
10
10
|
<p>
|
|
11
11
|
<img src="https://img.shields.io/npm/v/@varlet/ui?style=flat-square" alt="version">
|
package/es/rate/Rate.js
CHANGED
|
@@ -104,7 +104,7 @@ export default defineComponent({
|
|
|
104
104
|
} = transformValue(val);
|
|
105
105
|
return {
|
|
106
106
|
[n('content')]: true,
|
|
107
|
-
[n('--disabled')]: form == null ? void 0 : form.disabled.value,
|
|
107
|
+
[n('--disabled')]: (form == null ? void 0 : form.disabled.value) || props.disabled,
|
|
108
108
|
[n('--error')]: errorMessage.value,
|
|
109
109
|
[n('--primary')]: type !== 'empty' && !color
|
|
110
110
|
};
|
package/es/rate/rate.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --rate-disabled-color: var(--color-text-disabled); --rate-error-color: var(--color-danger); --rate-action-padding: 4px; --rate-primary-color: var(--color-primary);}.var-rate { display: flex; transform: translateX(calc(-1 * var(--rate-action-padding)));}.var-rate__content { padding: var(--rate-action-padding); box-sizing: unset; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.var-rate--
|
|
1
|
+
:root { --rate-disabled-color: var(--color-text-disabled); --rate-error-color: var(--color-danger); --rate-action-padding: 4px; --rate-primary-color: var(--color-primary);}.var-rate { display: flex; transform: translateX(calc(-1 * var(--rate-action-padding)));}.var-rate__content { padding: var(--rate-action-padding); box-sizing: unset; cursor: pointer; display: flex; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.var-rate--primary { color: var(--rate-primary-color);}.var-rate--disabled { color: var(--rate-disabled-color); cursor: not-allowed;}.var-rate--error { color: var(--rate-error-color);}
|
package/es/rate/rate.less
CHANGED
|
@@ -18,18 +18,20 @@
|
|
|
18
18
|
padding: var(--rate-action-padding);
|
|
19
19
|
box-sizing: unset;
|
|
20
20
|
cursor: pointer;
|
|
21
|
+
display: flex;
|
|
21
22
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
&--
|
|
25
|
-
color: var(--rate-
|
|
25
|
+
&--primary {
|
|
26
|
+
color: var(--rate-primary-color);
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
&--
|
|
29
|
-
color: var(--rate-
|
|
29
|
+
&--disabled {
|
|
30
|
+
color: var(--rate-disabled-color);
|
|
31
|
+
cursor: not-allowed;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
&--
|
|
33
|
-
color: var(--rate-
|
|
34
|
+
&--error {
|
|
35
|
+
color: var(--rate-error-color);
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../styles/common.css'
|
|
2
|
-
import '../SnackbarSfc.css'
|
|
3
2
|
import '../../styles/elevation.css'
|
|
4
3
|
import '../../loading/loading.css'
|
|
5
4
|
import '../../button/button.css'
|
|
6
5
|
import '../../icon/icon.css'
|
|
7
6
|
import '../snackbar.css'
|
|
8
7
|
import '../coreSfc.css'
|
|
8
|
+
import '../SnackbarSfc.css'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../styles/common.less'
|
|
2
|
-
import '../SnackbarSfc.less'
|
|
3
2
|
import '../../styles/elevation.less'
|
|
4
3
|
import '../../loading/loading.less'
|
|
5
4
|
import '../../button/button.less'
|
|
6
5
|
import '../../icon/icon.less'
|
|
7
6
|
import '../snackbar.less'
|
|
8
7
|
import '../coreSfc.less'
|
|
8
|
+
import '../SnackbarSfc.less'
|