@varlet/ui 2.20.4 → 2.20.5-alpha.1703836585426

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.20.4",
3
+ "version": "2.20.5-alpha.1703836585426",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -48,27 +48,27 @@
48
48
  "@popperjs/core": "^2.11.6",
49
49
  "dayjs": "^1.10.4",
50
50
  "decimal.js": "^10.2.1",
51
- "@varlet/shared": "2.20.4",
52
- "@varlet/use": "2.20.4",
53
- "@varlet/icons": "2.20.4"
51
+ "@varlet/shared": "2.20.5-alpha.1703836585426",
52
+ "@varlet/icons": "2.20.5-alpha.1703836585426",
53
+ "@varlet/use": "2.20.5-alpha.1703836585426"
54
54
  },
55
55
  "devDependencies": {
56
- "@vue/runtime-core": "3.3.4",
56
+ "@vue/runtime-core": "3.4.0",
57
57
  "@vue/test-utils": "2.4.1",
58
58
  "@types/lodash-es": "^4.17.6",
59
59
  "@types/node": "^18.7.18",
60
- "@vitest/coverage-istanbul": "0.34.3",
60
+ "@vitest/coverage-istanbul": "1.1.0",
61
61
  "jsdom": "22.1.0",
62
- "vitest": "0.34.3",
62
+ "vitest": "1.1.0",
63
63
  "clipboard": "^2.0.6",
64
64
  "live-server": "^1.2.1",
65
65
  "lodash-es": "^4.17.21",
66
66
  "typescript": "^5.1.5",
67
- "vue": "3.3.4",
67
+ "vue": "3.4.0",
68
68
  "vue-router": "4.2.0",
69
- "@varlet/touch-emulator": "2.20.4",
70
- "@varlet/cli": "2.20.4",
71
- "@varlet/ui": "2.20.4"
69
+ "@varlet/ui": "2.20.5-alpha.1703836585426",
70
+ "@varlet/cli": "2.20.5-alpha.1703836585426",
71
+ "@varlet/touch-emulator": "2.20.5-alpha.1703836585426"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",
@@ -61,6 +61,8 @@ export class ImagePreviewComponent extends VarComponent {
61
61
  next(options?: SwipeToOptions): void
62
62
 
63
63
  to(index: number, options?: SwipeToOptions): void
64
+
65
+ zoom(ratio: number): void
64
66
  }
65
67
 
66
68
  export interface IImagePreview {
@@ -705,6 +705,8 @@ export interface StyleVars {
705
705
  loadingBarHeight?: string
706
706
  '--menu-background-color'?: string
707
707
  menuBackgroundColor?: string
708
+ '--menu-border-radius'?: string
709
+ menuBorderRadius?: string
708
710
  '--menu-select-menu-max-height'?: string
709
711
  menuSelectMenuMaxHeight?: string
710
712
  '--menu-select-menu-padding'?: string
@@ -1223,8 +1225,6 @@ export interface StyleVars {
1223
1225
  timePickerFontSize?: string
1224
1226
  '--time-picker-min-width'?: string
1225
1227
  timePickerMinWidth?: string
1226
- '--time-picker-height'?: string
1227
- timePickerHeight?: string
1228
1228
  '--time-picker-title-height'?: string
1229
1229
  timePickerTitleHeight?: string
1230
1230
  '--time-picker-title-padding'?: string
@@ -1301,6 +1301,10 @@ export interface StyleVars {
1301
1301
  timePickerInnerBottom?: string
1302
1302
  '--time-picker-body-background'?: string
1303
1303
  timePickerBodyBackground?: string
1304
+ '--time-picker-body-height'?: string
1305
+ timePickerBodyHeight?: string
1306
+ '--time-picker-actions-padding'?: string
1307
+ timePickerActionsPadding?: string
1304
1308
  '--tooltip-opacity'?: string
1305
1309
  tooltipOpacity?: string
1306
1310
  '--tooltip-border-radius'?: string
@@ -1,4 +1,5 @@
1
1
  import { VarComponent, BasicAttributes, ListenerProp, SetPropsDefaults } from './varComponent'
2
+ import { VNode } from 'vue'
2
3
 
3
4
  export declare const timePickerProps: Record<keyof TimePickerProps, any>
4
5
 
@@ -32,6 +33,10 @@ export class TimePicker extends VarComponent {
32
33
  static setPropsDefaults: SetPropsDefaults<TimePickerProps>
33
34
 
34
35
  $props: TimePickerProps
36
+
37
+ $slots: {
38
+ actions(): VNode[]
39
+ }
35
40
  }
36
41
 
37
42
  export class _TimePickerComponent extends TimePicker {}