@varlet/ui 2.14.2 → 2.14.3-alpha.1692871861882

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.14.2",
3
+ "version": "2.14.3-alpha.1692871861882",
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/use": "2.14.2",
50
- "@varlet/icons": "2.14.2",
51
- "@varlet/shared": "2.14.2"
49
+ "@varlet/icons": "2.14.3-alpha.1692871861882",
50
+ "@varlet/shared": "2.14.3-alpha.1692871861882",
51
+ "@varlet/use": "2.14.3-alpha.1692871861882"
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/cli": "2.14.2",
67
- "@varlet/touch-emulator": "2.14.2"
66
+ "@varlet/cli": "2.14.3-alpha.1692871861882",
67
+ "@varlet/touch-emulator": "2.14.3-alpha.1692871861882"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",
@@ -13,6 +13,7 @@ export interface CheckboxProps extends BasicAttributes {
13
13
  uncheckedColor?: string
14
14
  disabled?: boolean
15
15
  readonly?: boolean
16
+ indeterminate?: boolean
16
17
  iconSize?: string | number
17
18
  ripple?: boolean
18
19
  validateTrigger?: Array<CheckboxValidateTriggers>
@@ -20,6 +21,7 @@ export interface CheckboxProps extends BasicAttributes {
20
21
  onClick?: ListenerProp<(e: Event) => void>
21
22
  onChange?: ListenerProp<(value: any) => void>
22
23
  'onUpdate:modelValue'?: ListenerProp<(value: any) => void>
24
+ 'onUpdate:indeterminate'?: ListenerProp<(value: boolean) => void>
23
25
  }
24
26
 
25
27
  export class Checkbox extends VarComponent {
@@ -29,6 +31,7 @@ export class Checkbox extends VarComponent {
29
31
  default(): VNode[]
30
32
  'checked-icon'(): VNode[]
31
33
  'unchecked-icon'(): VNode[]
34
+ 'indeterminate-icon'(): VNode[]
32
35
  }
33
36
 
34
37
  validate(): Promise<boolean>