File tree Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 1
- import type { InputSize } from '@/types'
2
-
1
+ import type { ButtonVariant , InputSize } from '@/types'
3
2
// Props
4
3
export interface Props {
5
4
ariaLabel : string
@@ -13,7 +12,7 @@ export interface Props {
13
12
button ?: boolean
14
13
switch ?: boolean
15
14
disabled ?: boolean
16
- buttonVariant ?: string
15
+ buttonVariant ?: ButtonVariant
17
16
inline ?: boolean
18
17
required ?: boolean
19
18
size ?: InputSize
Original file line number Diff line number Diff line change 1
- import type { ColorVariant , Size } from '@/types'
2
-
1
+ import type { ButtonVariant , Size } from '@/types'
3
2
// Props
4
3
export interface Props {
5
4
id ?: string
6
5
form : string
7
6
modelValue ?: Array
8
7
ariaInvalid ?: boolean | string
9
8
autofocus ?: boolean
10
- buttonVariant ?: ColorVariant
9
+ buttonVariant ?: ButtonVariant
11
10
buttons ?: boolean
12
11
disabled ?: boolean
13
12
disabledField ?: string
Original file line number Diff line number Diff line change
1
+ import type { ButtonVariant } from '@/types'
1
2
// Props
2
3
export interface Props {
3
4
ariaLabel : string
@@ -12,7 +13,7 @@ export interface Props {
12
13
button ?: boolean
13
14
switch ?: boolean
14
15
disabled ?: boolean
15
- buttonVariant ?: string
16
+ buttonVariant ?: ButtonVariant
16
17
inline ?: boolean
17
18
required ?: boolean
18
19
state ?: boolean | null
Original file line number Diff line number Diff line change 1
- import type { ColorVariant , Size } from '@/types'
2
-
1
+ import type { ButtonVariant , Size } from '@/types'
3
2
// Props
4
3
export interface Props {
5
4
size : Size
@@ -9,7 +8,7 @@ export interface Props {
9
8
modelValue ?: string | boolean | Array | Record < string , unknown > | number
10
9
ariaInvalid ?: boolean | string
11
10
autofocus ?: boolean
12
- buttonVariant ?: ColorVariant
11
+ buttonVariant ?: ButtonVariant
13
12
buttons ?: boolean
14
13
disabled ?: boolean
15
14
disabledField ?: string
Original file line number Diff line number Diff line change 1
- import type { RawSlots , VNodeArrayChildren } from 'vue'
1
+ import type { VNodeNormalizedChildren } from 'vue'
2
+ import type { ColorVariant } from '@/types'
2
3
// Props
3
4
export interface Props {
4
5
id : string
@@ -8,10 +9,10 @@ export interface Props {
8
9
pill ?: boolean
9
10
removeLabel ?: string
10
11
tag ?: string
11
- variant ?: string
12
+ variant ?: ColorVariant
12
13
}
13
14
// Emits
14
15
export interface Emits {
15
- ( e : 'remove' , value ?: string | VNodeArrayChildren | RawSlots ) : void
16
+ ( e : 'remove' , value ?: VNodeNormalizedChildren ) : void
16
17
}
17
18
// Other
You can’t perform that action at this time.
0 commit comments