@varlet/ui 3.16.0 → 3.16.1

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.16.0",
3
+ "version": "3.16.1",
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.16.0",
48
- "@varlet/shared": "3.16.0",
49
- "@varlet/use": "3.16.0"
47
+ "@varlet/shared": "3.16.1",
48
+ "@varlet/icons": "3.16.1",
49
+ "@varlet/use": "3.16.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^20.19.0",
@@ -62,9 +62,9 @@
62
62
  "vue": "3.5.21",
63
63
  "vue-router": "4.5.1",
64
64
  "zod": "^3.23.8",
65
- "@varlet/ui": "3.16.0",
66
- "@varlet/cli": "3.16.0",
67
- "@varlet/touch-emulator": "3.16.0"
65
+ "@varlet/cli": "3.16.1",
66
+ "@varlet/ui": "3.16.1",
67
+ "@varlet/touch-emulator": "3.16.1"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vue": "^3.2.0"
@@ -14,6 +14,8 @@ export type OtpInputType = 'digit' | 'text' | 'alphanumeric'
14
14
 
15
15
  export type OtpInputValidateTrigger = 'onInput' | 'onClick' | 'onPaste' | 'onComplete'
16
16
 
17
+ export type OtpInputAlign = 'start' | 'center' | 'end'
18
+
17
19
  export interface OtpInputProps extends BasicAttributes {
18
20
  modelValue?: string
19
21
  length?: string | number
@@ -30,6 +32,7 @@ export interface OtpInputProps extends BasicAttributes {
30
32
  readonly?: boolean
31
33
  autofocus?: boolean
32
34
  gutter?: string | number
35
+ align?: OtpInputAlign
33
36
  validateTrigger?: OtpInputValidateTrigger[]
34
37
  rules?: OtpInputRules
35
38
  allowPaste?: boolean