@varlet/ui 3.20.7 → 3.20.8

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": "3.20.7",
3
+ "version": "3.20.8",
4
4
  "description": "A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.",
5
5
  "keywords": [
6
6
  "Vue3",
@@ -44,13 +44,13 @@
44
44
  "@popperjs/core": "^2.11.6",
45
45
  "dayjs": "^1.10.4",
46
46
  "decimal.js": "^10.2.1",
47
- "@varlet/shared": "3.20.7",
48
- "@varlet/icons": "3.20.7",
49
- "@varlet/use": "3.20.7"
47
+ "@varlet/icons": "3.20.8",
48
+ "@varlet/shared": "3.20.8",
49
+ "@varlet/use": "3.20.8"
50
50
  },
51
51
  "devDependencies": {
52
- "@types/node": "^20.19.0",
53
- "@vitest/coverage-istanbul": "4.1.10",
52
+ "@types/node": "^22.18.0",
53
+ "@vitest/coverage-istanbul": "5.0.3",
54
54
  "@vue/runtime-core": "3.5.21",
55
55
  "@vue/test-utils": "2.4.6",
56
56
  "clipboard": "^2.0.6",
@@ -58,13 +58,13 @@
58
58
  "live-server": "^1.2.1",
59
59
  "shiki": "^1.21.0",
60
60
  "typescript": "5.6.3",
61
- "vitest": "4.1.10",
61
+ "vitest": "5.0.3",
62
62
  "vue": "3.5.21",
63
63
  "vue-router": "4.5.1",
64
64
  "zod": "^3.23.8",
65
- "@varlet/ui": "3.20.7",
66
- "@varlet/cli": "3.20.7",
67
- "@varlet/touch-emulator": "3.20.7"
65
+ "@varlet/cli": "3.20.8",
66
+ "@varlet/ui": "3.20.8",
67
+ "@varlet/touch-emulator": "3.20.8"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vue": "^3.2.0"
package/types/select.d.ts CHANGED
@@ -80,12 +80,12 @@ export class Select extends VarComponent {
80
80
  $props: SelectProps
81
81
 
82
82
  $slots: {
83
- 'selected'(): VNode[]
83
+ selected(): VNode[]
84
84
  'prepend-icon'(): VNode[]
85
85
  'clear-icon'(data: SelectClearIconData): VNode[]
86
86
  'append-icon'(): VNode[]
87
87
  'arrow-icon'(data: SelectArrowIconData): VNode[]
88
- 'empty'(): VNode[]
88
+ empty(): VNode[]
89
89
  }
90
90
 
91
91
  focus(): void
@@ -20,6 +20,7 @@ export interface SnackbarProps extends BasicAttributes {
20
20
  lockScroll?: boolean
21
21
  contentClass?: string
22
22
  duration?: number
23
+ progress?: boolean
23
24
  elevation?: boolean | string | number
24
25
  vertical?: boolean
25
26
  show?: boolean
@@ -52,6 +53,7 @@ export interface SnackbarOptions {
52
53
  icon?: string | VNode | (() => VNode)
53
54
  action?: string | VNode | (() => VNode)
54
55
  duration?: number
56
+ progress?: boolean
55
57
  elevation?: boolean | string | number
56
58
  contentClass?: string
57
59
  vertical?: boolean
@@ -762,6 +762,8 @@ interface BaseStyleVars {
762
762
  '--snackbar-action-margin'?: string
763
763
  '--snackbar-icon-margin'?: string
764
764
  '--snackbar-vertical-action-margin'?: string
765
+ '--snackbar-progress-height'?: string
766
+ '--snackbar-progress-color'?: string
765
767
  '--space-size-mini-y'?: string
766
768
  '--space-size-mini-x'?: string
767
769
  '--space-size-small-y'?: string