@varlet/ui 1.23.9 → 1.23.12-alpha.29

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/es/card/card.css +1 -1
  3. package/es/card/card.less +3 -2
  4. package/es/divider/divider.css +1 -1
  5. package/es/divider/divider.less +0 -1
  6. package/es/icon/icon.css +1 -1
  7. package/es/icon/icon.less +1 -0
  8. package/es/input/Input.js +1 -1
  9. package/es/input/input.css +1 -1
  10. package/es/input/input.less +3 -0
  11. package/es/loading/Loading.js +33 -6
  12. package/es/loading/loading.css +1 -1
  13. package/es/loading/loading.less +55 -3
  14. package/es/loading/props.js +7 -0
  15. package/es/locale/en-US.d.ts +5 -0
  16. package/es/locale/zh-CN.d.ts +5 -0
  17. package/es/select/Select.js +1 -1
  18. package/es/select/select.css +1 -1
  19. package/es/select/select.less +2 -0
  20. package/es/styles/common.css +1 -1
  21. package/es/styles/common.less +5 -0
  22. package/highlight/attributes.json +15 -7
  23. package/highlight/tags.json +2 -0
  24. package/highlight/web-types.json +46 -19
  25. package/lib/card/card.css +1 -1
  26. package/lib/card/card.less +3 -2
  27. package/lib/divider/divider.css +1 -1
  28. package/lib/divider/divider.less +0 -1
  29. package/lib/icon/icon.css +1 -1
  30. package/lib/icon/icon.less +1 -0
  31. package/lib/input/Input.js +1 -1
  32. package/lib/input/input.css +1 -1
  33. package/lib/input/input.less +3 -0
  34. package/lib/loading/Loading.js +32 -5
  35. package/lib/loading/loading.css +1 -1
  36. package/lib/loading/loading.less +55 -3
  37. package/lib/loading/props.js +7 -0
  38. package/lib/locale/en-US.d.ts +5 -0
  39. package/lib/locale/zh-CN.d.ts +5 -0
  40. package/lib/select/Select.js +1 -1
  41. package/lib/select/select.css +1 -1
  42. package/lib/select/select.less +2 -0
  43. package/lib/style.css +1 -1
  44. package/lib/styles/common.css +1 -1
  45. package/lib/styles/common.less +5 -0
  46. package/package.json +4 -6
  47. package/types/loading.d.ts +2 -0
  48. package/umd/varlet.js +4 -4
@@ -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--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; --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;}.var--block { display: block;}.var--ellipsis { overflow-x: hidden; text-overflow: ellipsis;}.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; --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);}
@@ -29,6 +29,11 @@
29
29
  display: block;
30
30
  }
31
31
 
32
+ &--ellipsis {
33
+ overflow-x: hidden;
34
+ text-overflow: ellipsis;
35
+ }
36
+
32
37
  &--inline-block {
33
38
  display: inline-block;
34
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "1.23.9",
3
+ "version": "1.23.12-alpha.29+a2c0dbc2",
4
4
  "description": "A material like components library",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",
@@ -22,9 +22,7 @@
22
22
  "umd",
23
23
  "highlight",
24
24
  "types",
25
- "CHANGELOG.md",
26
- "README.md",
27
- "README.zh-CN.md"
25
+ "CHANGELOG.md"
28
26
  ],
29
27
  "author": "haoziqaq <357229046@qq.com>",
30
28
  "license": "MIT",
@@ -49,9 +47,9 @@
49
47
  "peerDependencies": {
50
48
  "vue": "^3.2.0"
51
49
  },
52
- "gitHead": "e6f8f2c5c3cc1f0d7266ddd0de1e3846abae429d",
50
+ "gitHead": "a2c0dbc2d34de414aa36aeb62f5be2488f7747b8",
53
51
  "devDependencies": {
54
- "@varlet/cli": "^1.23.8"
52
+ "@varlet/cli": "^1.23.11"
55
53
  },
56
54
  "dependencies": {
57
55
  "dayjs": "^1.10.4",
@@ -5,6 +5,8 @@ export interface LoadingProps {
5
5
  radius?: string | number
6
6
  size?: 'normal' | 'mini' | 'small' | 'large'
7
7
  color?: string
8
+ description?: string
9
+ show?: boolean
8
10
  }
9
11
 
10
12
  export class Loading extends VarComponent {