@varlet/ui 3.11.1 → 3.11.3

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.11.1",
3
+ "version": "3.11.3",
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,9 +44,9 @@
44
44
  "@popperjs/core": "^2.11.6",
45
45
  "dayjs": "^1.10.4",
46
46
  "decimal.js": "^10.2.1",
47
- "@varlet/icons": "3.11.1",
48
- "@varlet/shared": "3.11.1",
49
- "@varlet/use": "3.11.1"
47
+ "@varlet/shared": "3.11.3",
48
+ "@varlet/use": "3.11.3",
49
+ "@varlet/icons": "3.11.3"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^18.7.20",
@@ -62,9 +62,9 @@
62
62
  "vue": "3.5.13",
63
63
  "vue-router": "4.5.0",
64
64
  "zod": "^3.23.8",
65
- "@varlet/cli": "3.11.1",
66
- "@varlet/ui": "3.11.1",
67
- "@varlet/touch-emulator": "3.11.1"
65
+ "@varlet/ui": "3.11.3",
66
+ "@varlet/cli": "3.11.3",
67
+ "@varlet/touch-emulator": "3.11.3"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vue": "^3.2.0"
@@ -1,33 +1,30 @@
1
1
  import { VNode } from 'vue'
2
2
  import { BasicAttributes, SetPropsDefaults, VarComponent } from './varComponent'
3
3
 
4
- export type SignatureType = 'png' | 'jpg'
5
-
6
- export declare const signatureProps: Record<keyof SignatureProps, any>
7
-
8
- export interface SignatureProps extends BasicAttributes {
9
- modelValue?: string
10
- lineWidth?: number
11
- strokeStyle?: string
12
- type?: SignatureType
13
- unsupportText?: string
14
- customClass?: string
15
- height?: number | string
16
- validateTrigger?: string[]
17
- rules?: Array<(v: string) => any>
4
+ export declare const skeletonProps: Record<keyof SkeletonProps, any>
5
+
6
+ export interface SkeletonProps extends BasicAttributes {
7
+ loading?: boolean
8
+ title?: boolean
9
+ avatar?: boolean
10
+ card?: boolean
11
+ fullscreen?: boolean
12
+ fullscreenZIndex?: string | number
13
+ titleWidth?: string | number
14
+ avatarSize?: string | number
15
+ cardHeight?: string | number
16
+ rows?: string | number
17
+ rowsWidth?: (string | number)[]
18
18
  }
19
19
 
20
- export class Signature extends VarComponent {
21
- static setPropsDefaults: SetPropsDefaults<SignatureProps>
20
+ export class Skeleton extends VarComponent {
21
+ static setPropsDefaults: SetPropsDefaults<SkeletonProps>
22
22
 
23
- $props: SignatureProps
23
+ $props: SkeletonProps
24
24
 
25
25
  $slots: {
26
26
  default(): VNode[]
27
27
  }
28
-
29
- clear(): void
30
- confirm(): void
31
28
  }
32
29
 
33
- export class _SignatureComponent extends Signature {}
30
+ export class _SkeletonComponent extends Skeleton {}