Skip to content

Commit 9199a14

Browse files
authored
Merge pull request #417 from kwiksilver3441/setup
Update vue test utils package
2 parents 254da1b + a40e17f commit 9199a14

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@vitejs/plugin-vue": "2.x.x",
5858
"@vue/compiler-sfc": "3.x.x",
5959
"@vue/eslint-config-typescript": "10.x.x",
60-
"@vue/test-utils": "^2.0.0-rc.14",
60+
"@vue/test-utils": "^2.0.0-rc.18",
6161
"eslint": "8.x.x",
6262
"eslint-config-prettier": "8.x.x",
6363
"eslint-plugin-prettier": "^4.0.0",

src/types/components/BFormCheckbox/BFormCheckbox.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type {InputSize} from '@/types'
2-
1+
import type {ButtonVariant, InputSize} from '@/types'
32
// Props
43
export interface Props {
54
ariaLabel: string
@@ -13,7 +12,7 @@ export interface Props {
1312
button?: boolean
1413
switch?: boolean
1514
disabled?: boolean
16-
buttonVariant?: string
15+
buttonVariant?: ButtonVariant
1716
inline?: boolean
1817
required?: boolean
1918
size?: InputSize

src/types/components/BFormCheckbox/BFormCheckboxGroup.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
import type {ColorVariant, Size} from '@/types'
2-
1+
import type {ButtonVariant, Size} from '@/types'
32
// Props
43
export interface Props {
54
id?: string
65
form: string
76
modelValue?: Array
87
ariaInvalid?: boolean | string
98
autofocus?: boolean
10-
buttonVariant?: ColorVariant
9+
buttonVariant?: ButtonVariant
1110
buttons?: boolean
1211
disabled?: boolean
1312
disabledField?: string

src/types/components/BFormRadio/BFormRadio.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type {ButtonVariant} from '@/types'
12
// Props
23
export interface Props {
34
ariaLabel: string
@@ -12,7 +13,7 @@ export interface Props {
1213
button?: boolean
1314
switch?: boolean
1415
disabled?: boolean
15-
buttonVariant?: string
16+
buttonVariant?: ButtonVariant
1617
inline?: boolean
1718
required?: boolean
1819
state?: boolean | null

src/types/components/BFormRadio/BFormRadioGroup.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type {ColorVariant, Size} from '@/types'
2-
1+
import type {ButtonVariant, Size} from '@/types'
32
// Props
43
export interface Props {
54
size: Size
@@ -9,7 +8,7 @@ export interface Props {
98
modelValue?: string | boolean | Array | Record<string, unknown> | number
109
ariaInvalid?: boolean | string
1110
autofocus?: boolean
12-
buttonVariant?: ColorVariant
11+
buttonVariant?: ButtonVariant
1312
buttons?: boolean
1413
disabled?: boolean
1514
disabledField?: string
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type {RawSlots, VNodeArrayChildren} from 'vue'
1+
import type {VNodeNormalizedChildren} from 'vue'
2+
import type {ColorVariant} from '@/types'
23
// Props
34
export interface Props {
45
id: string
@@ -8,10 +9,10 @@ export interface Props {
89
pill?: boolean
910
removeLabel?: string
1011
tag?: string
11-
variant?: string
12+
variant?: ColorVariant
1213
}
1314
// Emits
1415
export interface Emits {
15-
(e: 'remove', value?: string | VNodeArrayChildren | RawSlots): void
16+
(e: 'remove', value?: VNodeNormalizedChildren): void
1617
}
1718
// Other

0 commit comments

Comments
 (0)