@varlet/ui 2.10.0 → 2.10.1-alpha.1682608027166

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.10.0",
3
+ "version": "2.10.1-alpha.1682608027166",
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/icons": "2.10.0",
50
- "@varlet/shared": "2.10.0",
51
- "@varlet/use": "2.10.0"
49
+ "@varlet/icons": "2.10.1-alpha.1682608027166",
50
+ "@varlet/shared": "2.10.1-alpha.1682608027166",
51
+ "@varlet/use": "2.10.1-alpha.1682608027166"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/jest": "^26.0.15",
@@ -63,8 +63,8 @@
63
63
  "typescript": "^4.4.4",
64
64
  "vue": "3.2.47",
65
65
  "vue-router": "4.1.6",
66
- "@varlet/cli": "2.10.0",
67
- "@varlet/touch-emulator": "2.10.0"
66
+ "@varlet/cli": "2.10.1-alpha.1682608027166",
67
+ "@varlet/touch-emulator": "2.10.1-alpha.1682608027166"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",
package/types/slider.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { VarComponent, BasicAttributes, ListenerProp } from './varComponent'
1
+ import { VarComponent, BasicAttributes, Direction as SliderDirection, ListenerProp } from './varComponent'
2
2
  import { VNode } from 'vue'
3
3
 
4
+ export { SliderDirection }
5
+
4
6
  export type SliderLabelVisible = 'always' | 'normal' | 'never'
5
7
 
6
8
  export declare const sliderProps: Record<string, any>
@@ -21,6 +23,7 @@ export interface SliderProps extends BasicAttributes {
21
23
  max?: string | number
22
24
  disabled?: boolean
23
25
  readonly?: boolean
26
+ direction?: SliderDirection
24
27
  rules?: Array<(value: any) => any>
25
28
  onChange?: ListenerProp<(value: number | Array<number>) => void>
26
29
  onStart?: ListenerProp<() => void>