@varlet/ui 2.5.5-alpha.1672917543560 → 2.5.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/es/back-top/backTop.css +1 -1
- package/es/form/Form.js +1 -1
- package/es/pull-refresh/PullRefresh.js +15 -12
- package/es/pull-refresh/pullRefresh.css +1 -1
- package/es/snackbar/style/index.js +1 -1
- package/es/style.css +1 -1
- package/es/styles/common.css +1 -1
- package/es/varlet.esm.js +1546 -1549
- package/lib/back-top/backTop.css +1 -1
- package/lib/form/Form.js +1 -1
- package/lib/pull-refresh/PullRefresh.js +15 -12
- package/lib/pull-refresh/pullRefresh.css +1 -1
- package/lib/style.css +1 -1
- package/lib/styles/common.css +1 -1
- package/package.json +5 -5
- package/types/uploader.d.ts +2 -2
- package/umd/varlet.js +7 -7
package/lib/styles/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.var--box { box-sizing: border-box;}.var--box * { box-sizing: border-box;}.var--relative { position: relative;}.var--absolute { position: absolute;}.var--hidden { overflow: hidden;}.var--lock { overflow: hidden;}.var--block { display: block;}.var--ellipsis { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap;}.var--inline-block { display: inline-block;}.var--flex { display: flex;}.var--inline-flex { display: inline-flex;}:root { --font-size-xs: 10px; --font-size-sm: 12px; --font-size-md: 14px; --font-size-lg: 16px; --icon-size-xs: 16px; --icon-size-sm: 18px; --icon-size-md: 20px; --icon-size-lg: 22px; --color-body: #fff; --color-text: #333; --color-primary: #3a7afe; --color-info: #00afef; --color-success: #00c48f; --color-warning: #ff9f00; --color-danger: #f44336; --color-disabled: #e0e0e0; --color-text-disabled: #aaa; --opacity-disabled: 0.6; --cubic-bezier: cubic-bezier(0.25, 0.8, 0.5, 1); --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2); --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14); --shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12);}
|
|
1
|
+
.var--box { box-sizing: border-box;}.var--box * { box-sizing: border-box;}.var--relative { position: relative;}.var--absolute { position: absolute;}.var--hidden { overflow: hidden;}.var--lock { overflow: hidden !important;}.var--block { display: block;}.var--ellipsis { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap;}.var--inline-block { display: inline-block;}.var--flex { display: flex;}.var--inline-flex { display: inline-flex;}:root { --font-size-xs: 10px; --font-size-sm: 12px; --font-size-md: 14px; --font-size-lg: 16px; --icon-size-xs: 16px; --icon-size-sm: 18px; --icon-size-md: 20px; --icon-size-lg: 22px; --color-body: #fff; --color-text: #333; --color-primary: #3a7afe; --color-info: #00afef; --color-success: #00c48f; --color-warning: #ff9f00; --color-danger: #f44336; --color-disabled: #e0e0e0; --color-text-disabled: #aaa; --opacity-disabled: 0.6; --cubic-bezier: cubic-bezier(0.25, 0.8, 0.5, 1); --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2); --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14); --shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12);}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "2.5.5
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "A material like components library",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@popperjs/core": "^2.11.6",
|
|
48
48
|
"dayjs": "^1.10.4",
|
|
49
49
|
"decimal.js": "^10.2.1",
|
|
50
|
-
"@varlet/icons": "2.5.5
|
|
51
|
-
"@varlet/shared": "2.5.5
|
|
50
|
+
"@varlet/icons": "2.5.5",
|
|
51
|
+
"@varlet/shared": "2.5.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/jest": "^26.0.15",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"typescript": "^4.4.4",
|
|
64
64
|
"vue": "3.2.25",
|
|
65
65
|
"vue-router": "4.0.12",
|
|
66
|
-
"@varlet/cli": "2.5.5
|
|
67
|
-
"@varlet/touch-emulator": "2.5.5
|
|
66
|
+
"@varlet/cli": "2.5.5",
|
|
67
|
+
"@varlet/touch-emulator": "2.5.5"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"Chrome >= 54",
|
package/types/uploader.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type VarFileFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
|
|
|
5
5
|
|
|
6
6
|
export type VarFileState = 'loading' | 'success' | 'error'
|
|
7
7
|
|
|
8
|
-
export interface VarFile
|
|
8
|
+
export interface VarFile {
|
|
9
9
|
file?: File
|
|
10
10
|
name?: string
|
|
11
11
|
url?: string
|
|
@@ -24,7 +24,7 @@ export type UploaderVarFileUtils = {
|
|
|
24
24
|
|
|
25
25
|
export type UploaderCapture = boolean | 'user' | 'environment'
|
|
26
26
|
|
|
27
|
-
export interface UploaderProps {
|
|
27
|
+
export interface UploaderProps extends BasicAttributes {
|
|
28
28
|
modelValue?: VarFile[]
|
|
29
29
|
accept?: string
|
|
30
30
|
capture?: UploaderCapture
|