Skip to content

Commit

Permalink
Merge pull request #159 from silinternational/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
hobbitronics authored Aug 24, 2022
2 parents ee6e00d + 391011a commit ddb7d42
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@ declare module '@silintl/ui-components' {
title?: string
subtitle?: string
menuItems?: {
icon: string, label: string, url: string, urlPattern: string, hide: boolean, button: boolean, tooltip: string
icon: string
label: string
url: string
urlPattern: string
hide: boolean
button: boolean
tooltip: string
}[]
dismissible?: boolean
hasTopAppBar?: boolean
Expand Down Expand Up @@ -184,7 +190,7 @@ declare module '@silintl/ui-components' {
}

interface SelectProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {
options?: { name: string, id: number }[]
options?: { name: string; id: number }[]
width?: string
disabled?: boolean
selectedID?: string
Expand All @@ -208,6 +214,16 @@ declare module '@silintl/ui-components' {
}
export class TabBar extends SvelteComponentTyped<TabBarProps> {}

export namespace TabBar {
export class Scroller extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {}

interface TabProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {
active?: boolean
label?: string
}
export class Tab extends SvelteComponentTyped<TabProps> {}
}

interface TextAreaProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {
label?: string
value?: string
Expand Down Expand Up @@ -269,7 +285,7 @@ declare module '@silintl/ui-components' {
title?: string
icon?: string
disabled?: boolean
buttons?: { label: string, url: string }[]
buttons?: { label: string; url: string }[]
footerText?: string
}
export class CustomCard extends SvelteComponentTyped<CustomCardProps> {}
Expand Down

0 comments on commit ddb7d42

Please sign in to comment.