Skip to content

Commit

Permalink
Released 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
release-bot committed Sep 22, 2021
1 parent c59b15a commit 64c8952
Show file tree
Hide file tree
Showing 314 changed files with 15,112 additions and 1,728 deletions.
Binary file added css/dist/MaterialIcons-Regular.ttf
Binary file not shown.
Binary file added css/dist/MaterialIconsOutlined-Regular.otf
Binary file not shown.
Binary file added css/dist/MaterialIconsRound-Regular.otf
Binary file not shown.
Binary file added css/dist/MaterialIconsSharp-Regular.otf
Binary file not shown.
Binary file added css/dist/MaterialIconsTwoTone-Regular.otf
Binary file not shown.
7,183 changes: 7,183 additions & 0 deletions css/dist/index.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions css/dist/index.css.map

Large diffs are not rendered by default.

1,210 changes: 715 additions & 495 deletions dist/.lib/tsconfig.type.tsbuildinfo

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions dist/core/components/atoms/_chip/index.d.ts
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;
10 changes: 10 additions & 0 deletions dist/core/components/atoms/_text/index.d.ts
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;
23 changes: 23 additions & 0 deletions dist/core/components/atoms/avatar/Avatar.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/avatar/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Avatar";
export * from "./Avatar";
35 changes: 35 additions & 0 deletions dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/avatarGroup/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./AvatarGroup";
export * from "./AvatarGroup";
8 changes: 8 additions & 0 deletions dist/core/components/atoms/backdrop/Backdrop.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/backdrop/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default, default as Backdrop } from "./Backdrop";
export * from "./Backdrop";
16 changes: 16 additions & 0 deletions dist/core/components/atoms/badge/Badge.d.ts
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 dist/core/components/atoms/badge/_stories_/SolidAlert.story.d.ts
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;
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 dist/core/components/atoms/badge/_stories_/SolidWarning.story.d.ts
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 dist/core/components/atoms/badge/_stories_/SubtleAlert.story.d.ts
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;
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;
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 dist/core/components/atoms/badge/_stories_/Success.story.d.ts
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 dist/core/components/atoms/badge/_stories_/index.story.d.ts
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;
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;
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/badge/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Badge";
export * from "./Badge";
11 changes: 11 additions & 0 deletions dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/breadcrumbs/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Breadcrumbs";
export * from "./Breadcrumbs";
27 changes: 27 additions & 0 deletions dist/core/components/atoms/button/Button.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/button/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Button";
export * from "./Button";
13 changes: 13 additions & 0 deletions dist/core/components/atoms/caption/Caption.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/caption/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Caption";
export * from "./Caption";
8 changes: 8 additions & 0 deletions dist/core/components/atoms/card/Card.d.ts
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;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/card/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Card";
export * from "./Card";
Loading

0 comments on commit 64c8952

Please sign in to comment.