@varlet/ui 2.12.2 → 2.12.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "2.12.2",
3
+ "version": "2.12.3",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -46,9 +46,9 @@
46
46
  "@popperjs/core": "^2.11.6",
47
47
  "dayjs": "^1.10.4",
48
48
  "decimal.js": "^10.2.1",
49
- "@varlet/shared": "2.12.2",
50
- "@varlet/icons": "2.12.2",
51
- "@varlet/use": "2.12.2"
49
+ "@varlet/shared": "2.12.3",
50
+ "@varlet/icons": "2.12.3",
51
+ "@varlet/use": "2.12.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@vue/runtime-core": "3.3.4",
@@ -63,8 +63,8 @@
63
63
  "typescript": "^5.1.5",
64
64
  "vue": "3.3.4",
65
65
  "vue-router": "4.2.0",
66
- "@varlet/touch-emulator": "2.12.2",
67
- "@varlet/cli": "2.12.2"
66
+ "@varlet/cli": "2.12.3",
67
+ "@varlet/touch-emulator": "2.12.3"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",
@@ -1,22 +1,28 @@
1
- import { VarComponent, BasicAttributes } from './varComponent'
1
+ import { VarComponent, BasicAttributes, Type as ProgressType } from './varComponent'
2
2
  import { VNode } from 'vue'
3
3
 
4
4
  export type ProgressMode = 'linear' | 'circle'
5
5
 
6
+ export { ProgressType }
7
+
6
8
  export declare const progressProps: Record<string, any>
7
9
 
8
10
  export interface ProgressProps extends BasicAttributes {
9
11
  mode?: ProgressMode
12
+ type?: ProgressType
13
+ indeterminate?: boolean
10
14
  lineWidth?: string | number
11
15
  color?: string
12
16
  trackColor?: string
13
- ripple?: boolean
14
17
  label?: boolean
15
18
  labelClass?: string
16
19
  track?: boolean
17
20
  value?: number | string
18
- size?: number
21
+ size?: number | string
19
22
  rotate?: number
23
+
24
+ /** @deprecated Use indeterminate to instead. */
25
+ ripple?: boolean
20
26
  }
21
27
 
22
28
  export class Progress extends VarComponent {