-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
release-bot
committed
Sep 22, 2021
1 parent
c59b15a
commit 64c8952
Showing
314 changed files
with
15,112 additions
and
1,728 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Name } from "../chip/Chip"; | ||
import { BaseProps } from "../../../utils/types"; | ||
export interface GenericChipProps extends BaseProps { | ||
label: string; | ||
icon?: string; | ||
clearButton?: boolean; | ||
disabled?: boolean; | ||
selected?: boolean; | ||
onClose?: () => void; | ||
onClick?: () => void; | ||
name: Name; | ||
} | ||
export declare const GenericChip: { | ||
(props: GenericChipProps): JSX.Element; | ||
displayName: string; | ||
}; | ||
export default GenericChip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react'; | ||
interface Props { | ||
children: React.ReactNode; | ||
componentType: string; | ||
className?: string; | ||
} | ||
declare const GenericText: ({ children, componentType, className, ...props }: Props) => React.ReactElement<{ | ||
className: string | undefined; | ||
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>; | ||
export default GenericText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { BaseProps } from "../../../utils/types"; | ||
import { TooltipProps } from "../../../index.type"; | ||
export declare type Appearance = 'primary' | 'secondary' | 'alert' | 'warning' | 'success' | 'accent1' | 'accent2' | 'accent3' | 'accent4'; | ||
export declare type Size = 'regular' | 'tiny'; | ||
export interface AvatarProps extends BaseProps { | ||
appearance?: Appearance; | ||
children?: string; | ||
firstName?: string; | ||
lastName?: string; | ||
withTooltip: boolean; | ||
tooltipPosition: TooltipProps['position']; | ||
size: Size; | ||
} | ||
export declare const Avatar: { | ||
(props: AvatarProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
tooltipPosition: string; | ||
withTooltip: boolean; | ||
size: string; | ||
}; | ||
}; | ||
export default Avatar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Avatar"; | ||
export * from "./Avatar"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { BaseProps } from "../../../utils/types"; | ||
import { AvatarProps, PopoverProps } from "../../../index.type"; | ||
export declare type Size = 'regular' | 'tiny'; | ||
interface AvatarData extends Record<string, any> { | ||
firstName?: string; | ||
lastName?: string; | ||
appearance?: AvatarProps['appearance']; | ||
} | ||
interface PopperProps { | ||
popperRenderer?: (names: AvatarData[]) => JSX.Element; | ||
appendToBody?: PopoverProps['appendToBody']; | ||
dark?: PopoverProps['dark']; | ||
position?: PopoverProps['position']; | ||
on?: PopoverProps['on']; | ||
maxHeight?: number; | ||
popperClassName?: string; | ||
} | ||
export interface AvatarGroupProps extends BaseProps { | ||
list: AvatarData[]; | ||
max: number; | ||
borderColor: string; | ||
popoverOptions: PopperProps; | ||
tooltipPosition: PopoverProps['position']; | ||
} | ||
export declare const AvatarGroup: { | ||
(props: AvatarGroupProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
max: number; | ||
borderColor: string; | ||
tooltipPosition: string; | ||
popoverOptions: {}; | ||
}; | ||
}; | ||
export default AvatarGroup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./AvatarGroup"; | ||
export * from "./AvatarGroup"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import * as React from 'react'; | ||
import { BaseProps } from "../../../utils/types"; | ||
export interface BackdropProps extends BaseProps { | ||
open: boolean; | ||
zIndex?: number; | ||
} | ||
export declare const Backdrop: React.FC<BackdropProps>; | ||
export default Backdrop; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default, default as Backdrop } from "./Backdrop"; | ||
export * from "./Backdrop"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import * as React from 'react'; | ||
import { BaseProps } from "../../../utils/types"; | ||
export declare type Appearance = 'primary' | 'secondary' | 'alert' | 'warning' | 'success' | 'accent1' | 'accent2' | 'accent3' | 'accent4'; | ||
export interface BadgeProps extends BaseProps { | ||
appearance: Appearance; | ||
subtle?: boolean; | ||
children: React.ReactText; | ||
} | ||
export declare const Badge: { | ||
(props: BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
export default Badge; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SolidAlert.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const solidAlert: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SolidSecondary.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const solidSecondary: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SolidWarning.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const solidWarning: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SubtleAlert.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const subtleAlert: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SubtleSecondary.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const subtleSecondary: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/SubtleWarning.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const subtleWarning: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/Success.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const success: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
12 changes: 12 additions & 0 deletions
12
dist/core/components/atoms/badge/_stories_/index.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export declare const all: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/variants/Appearance.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const appearance: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
19 changes: 19 additions & 0 deletions
19
dist/core/components/atoms/badge/_stories_/variants/Subtle.story.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export declare const subtle: () => JSX.Element; | ||
declare const _default: { | ||
title: string; | ||
component: { | ||
(props: import("../../Badge").BadgeProps): JSX.Element; | ||
displayName: string; | ||
defaultProps: { | ||
appearance: string; | ||
}; | ||
}; | ||
parameters: { | ||
docs: { | ||
docPage: { | ||
title: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Badge"; | ||
export * from "./Badge"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { BaseProps } from "../../../utils/types"; | ||
interface Breadcrumb { | ||
label: string; | ||
link: string; | ||
} | ||
export interface BreadcrumbsProps extends BaseProps { | ||
list: Breadcrumb[]; | ||
onClick?: (link: string) => void; | ||
} | ||
export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element; | ||
export default Breadcrumbs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Breadcrumbs"; | ||
export * from "./Breadcrumbs"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import * as React from 'react'; | ||
import { BaseProps, BaseHtmlProps } from "../../../utils/types"; | ||
export declare type ButtonType = 'button' | 'submit' | 'reset'; | ||
export declare type Appearance = 'basic' | 'primary' | 'success' | 'alert' | 'transparent'; | ||
export declare type Size = 'tiny' | 'regular' | 'large'; | ||
export declare type Alignment = 'left' | 'right'; | ||
export interface ButtonProps extends BaseProps, BaseHtmlProps<HTMLButtonElement> { | ||
type?: ButtonType; | ||
size?: Size; | ||
appearance?: Appearance; | ||
disabled?: boolean; | ||
expanded?: boolean; | ||
selected?: boolean; | ||
loading?: boolean; | ||
icon?: string; | ||
tooltip?: string; | ||
iconAlign?: Alignment; | ||
largeIcon?: boolean; | ||
children?: React.ReactText; | ||
tabIndex?: number; | ||
autoFocus?: boolean; | ||
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; | ||
onMouseEnter?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; | ||
onMouseLeave?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; | ||
} | ||
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; | ||
export default Button; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Button"; | ||
export * from "./Button"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as React from 'react'; | ||
import { BaseProps } from "../../../utils/types"; | ||
export interface CaptionProps extends BaseProps { | ||
children: React.ReactNode; | ||
error?: boolean; | ||
hide?: boolean; | ||
withInput?: boolean; | ||
} | ||
export declare const Caption: { | ||
(props: CaptionProps): JSX.Element; | ||
displayName: string; | ||
}; | ||
export default Caption; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Caption"; | ||
export * from "./Caption"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import * as React from 'react'; | ||
import { BaseHtmlProps, BaseProps } from "../../../utils/types"; | ||
export declare type Shadow = 'none' | 'default' | 'light' | 'medium' | 'dark'; | ||
export interface CardProps extends BaseProps, BaseHtmlProps<HTMLDivElement> { | ||
shadow?: Shadow; | ||
} | ||
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; | ||
export default Card; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default } from "./Card"; | ||
export * from "./Card"; |
Oops, something went wrong.