@varlet/ui 1.27.9-alpha.1653036733481 → 1.27.9

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": "1.27.9-alpha.1653036733481",
3
+ "version": "1.27.9",
4
4
  "description": "A material like components library",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",
@@ -39,13 +39,13 @@
39
39
  },
40
40
  "gitHead": "ee9c3866bedad96c86365b0f9888a3a6bb781b1f",
41
41
  "dependencies": {
42
- "@varlet/icons": "1.27.9-alpha.1653036733481",
42
+ "@varlet/icons": "1.27.9",
43
43
  "dayjs": "^1.10.4",
44
44
  "decimal.js": "^10.2.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@varlet/cli": "1.27.9-alpha.1653036733481",
48
- "@varlet/touch-emulator": "1.27.9-alpha.1653036733481",
47
+ "@varlet/cli": "1.27.9",
48
+ "@varlet/touch-emulator": "1.27.9",
49
49
  "@vue/runtime-core": "3.2.25",
50
50
  "@vue/test-utils": "2.0.0-rc.6",
51
51
  "clipboard": "^2.0.6",
package/types/card.d.ts CHANGED
@@ -3,9 +3,12 @@ import { VarComponent } from './varComponent'
3
3
  export interface CardProps {
4
4
  src?: string
5
5
  fit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
6
+ /**
7
+ * @deprecated use imageHeight instead
8
+ */
6
9
  height?: string | number
7
- width?: string | number
8
- direction?: 'row' | 'column'
10
+ imageHeight?: string | number
11
+ imageWidth?: string | number
9
12
  alt?: string
10
13
  title?: string
11
14
  subtitle?: string
@@ -13,6 +16,10 @@ export interface CardProps {
13
16
  elevation?: string | number
14
17
  ripple?: boolean
15
18
  onClick?: (e: Event) => void
19
+ layout?: 'row' | 'column'
20
+ floating?: boolean
21
+ floatingDuration?: number
22
+ 'onUpdate:floating'?: (value: boolean) => void
16
23
  }
17
24
 
18
25
  export class Card extends VarComponent {