Skip to content

Commit 15d5a34

Browse files
author
issayah
committed
Finished up standard component types. Edge cases not added still
1 parent 125f440 commit 15d5a34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+207
-32
lines changed

src/types/components/BAccordion.d.ts renamed to src/types/components/BAccordion/BAccordion.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
export interface Props {
33
flush?: boolean
44
free?: boolean
5-
id: string | undefined
5+
id?: string
66
}
77
// Emits
88

src/types/components/BAlert.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type {ColorVariant} from 'src/types'
12
// Props
23
export interface Props {
34
dismissLabel?: string

src/types/components/BAvatar/BAvatar.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ColorVariant from 'src/types/ColorVariant'
1+
import type {ColorVariant, InputSize} from 'src/types'
22

33
// Props
44
export interface Props {

src/types/components/BAvatar/BAvatarGroup.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type {ComputedRef} from 'vue'
2+
import type {ColorVariant, InputSize} from 'src/types'
13
// Props
24
export interface Props {
35
overlap?: number | string
@@ -12,8 +14,8 @@ export interface Props {
1214
// Other
1315
export interface ParentData {
1416
overlapScale: ComputedRef<number>
15-
size: InputSize | string | undefined
17+
size?: InputSize | string
1618
square: boolean
1719
rounded: boolean | string
18-
variant: ColorVariant | undefined
20+
variant?: ColorVariant
1921
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Props
2-
2+
export type LinkProps = Omit<Props, 'event'>
33
// Emits
44

55
// Other

src/types/components/BBreadcrumb/BBreadcrumb.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Props
2-
interface Props {
3-
items: Array<BreadcrumbItem>
2+
export interface Props {
3+
items: Array<BreadcrumbItem> // TODO whatever this is
44
}
55
// Emits
66

src/types/components/BCard/BCard.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type {Alignment, ColorVariant} from 'src/types'
12
// Props
23
export interface Props {
34
align?: Alignment

0 commit comments

Comments
 (0)