Skip to content

Commit

Permalink
Released 2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
release-bot committed Jul 24, 2023
1 parent 48f31a6 commit bc4c536
Show file tree
Hide file tree
Showing 296 changed files with 33,593 additions and 13,500 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.
9,141 changes: 9,141 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.

7,975 changes: 4,622 additions & 3,353 deletions dist/.lib/tsconfig.type.tsbuildinfo

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/core/accessibility/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import isEnterKey from "./isEnterKey";
import isSpaceKey from "./isSpaceKey";
import useAccessibilityProps from "./useAccessibilityProps";
export { isEnterKey, useAccessibilityProps, isSpaceKey };
3 changes: 3 additions & 0 deletions dist/core/accessibility/utils/isEnterKey.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import React from 'react';
declare const isEnterKey: (e: React.KeyboardEvent) => boolean;
export default isEnterKey;
3 changes: 3 additions & 0 deletions dist/core/accessibility/utils/isSpaceKey.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import React from 'react';
declare const isSpaceKey: (e: React.KeyboardEvent) => boolean;
export default isSpaceKey;
19 changes: 19 additions & 0 deletions dist/core/accessibility/utils/useAccessibilityProps.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as React from 'react';
declare type AriaRoleType = React.AriaRole;
interface IProps {
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
role?: AriaRoleType;
'aria-label'?: React.AriaAttributes['aria-label'];
}
declare const useAccessibilityProps: ({ onClick, onKeyDown, role, ...rest }: IProps) => {
onClick: (event: React.MouseEvent<HTMLElement>) => void;
role: React.AriaRole;
tabIndex: number;
'aria-label': string | undefined;
onKeyDown: (e: React.SyntheticEvent<HTMLElement>) => void;
} | {
role: React.AriaRole;
'aria-label': string | undefined;
};
export default useAccessibilityProps;
14 changes: 14 additions & 0 deletions dist/core/common.type.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/// <reference types="react" />
import { OverlayFooterProps } from "./components/molecules/overlayFooter";
export declare type AccentAppearance = 'primary' | 'secondary' | 'alert' | 'warning' | 'success' | 'accent1' | 'accent2' | 'accent3' | 'accent4';
export declare type HeadingAppearance = 'default' | 'subtle' | 'disabled' | 'white';
export declare type MessageAppearance = 'default' | 'alert' | 'info' | 'success' | 'warning';
export declare type FileStatus = 'uploading' | 'completed' | 'error';
export declare type FooterOptions = {
actions: OverlayFooterProps['actions'];
};
export declare type AutoComplete = 'on' | 'off';
export declare type NumberRange = [number, number];
export declare type ChangeEvent = React.ChangeEvent<HTMLInputElement>;
export declare type TextColor = 'white' | 'primary' | 'secondary' | 'success' | 'alert' | 'warning' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'inverse' | 'primary-dark' | 'secondary-dark' | 'success-dark' | 'alert-dark' | 'warning-dark' | 'accent1-dark' | 'accent2-dark' | 'accent3-dark' | 'accent4-dark' | 'primary-darker' | 'success-darker' | 'alert-darker' | 'warning-darker' | 'accent1-darker' | 'accent2-darker' | 'accent3-darker' | 'accent4-darker' | 'primary-light' | 'secondary-light' | 'success-light' | 'alert-light' | 'warning-light' | 'accent1-light' | 'accent2-light' | 'accent3-light' | 'accent4-light' | 'inverse-light' | 'primary-lighter' | 'secondary-lighter' | 'success-lighter' | 'alert-lighter' | 'warning-lighter' | 'accent1-lighter' | 'accent2-lighter' | 'accent3-lighter' | 'accent4-lighter' | 'inverse-lighter' | 'primary-lightest' | 'secondary-lightest' | 'success-lightest' | 'alert-lightest' | 'warning-lightest' | 'accent1-lightest' | 'accent2-lightest' | 'accent3-lightest' | 'accent4-lightest' | 'inverse-lightest' | 'primary-shadow' | 'secondary-shadow' | 'success-shadow' | 'alert-shadow' | 'warning-shadow' | 'accent1-shadow' | 'accent2-shadow' | 'accent3-shadow' | 'accent4-shadow' | 'inverse-shadow';
export declare type AvatarSize = 'regular' | 'tiny';
18 changes: 18 additions & 0 deletions dist/core/components/atoms/_chip/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as React from 'react';
import { Name } from "../chip/Chip";
import { BaseProps } from "../../../utils/types";
export interface GenericChipProps extends BaseProps {
label: string | React.ReactElement;
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;
22 changes: 22 additions & 0 deletions dist/core/components/atoms/avatar/Avatar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { BaseProps } from "../../../utils/types";
import { TooltipProps } from "../../../index.type";
import { AccentAppearance, AvatarSize } from "../../../common.type";
export interface AvatarProps extends BaseProps {
appearance?: AccentAppearance;
children?: string;
firstName?: string;
lastName?: string;
withTooltip: boolean;
tooltipPosition: TooltipProps['position'];
size: AvatarSize;
}
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";
2 changes: 2 additions & 0 deletions dist/core/components/atoms/avatarGroup/AvatarCount.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const AvatarCount: (props: any) => JSX.Element;
export default AvatarCount;
37 changes: 37 additions & 0 deletions dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { BaseProps } from "../../../utils/types";
import { AvatarProps, PopoverProps } from "../../../index.type";
import { AvatarSize } from "../../../common.type";
interface AvatarData extends Record<string, any> {
firstName?: string;
lastName?: string;
appearance?: AvatarProps['appearance'];
}
interface AvatarPopoverProps {
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;
size: AvatarSize;
popoverOptions: AvatarPopoverProps;
tooltipPosition: PopoverProps['position'];
}
export declare const AvatarGroup: {
(props: AvatarGroupProps): JSX.Element;
displayName: string;
defaultProps: {
max: number;
tooltipPosition: string;
borderColor: string;
popoverOptions: {};
size: string;
};
};
export default AvatarGroup;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const AvatarPopperBody: (props: any) => any;
export default AvatarPopperBody;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/avatarGroup/Avatars.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const Avatars: (props: any) => any;
export default Avatars;
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";
import { AccentAppearance } from "../../../common.type";
export interface BadgeProps extends BaseProps {
appearance: AccentAppearance;
subtle?: boolean;
children: React.ReactText;
}
export declare const Badge: {
(props: BadgeProps): JSX.Element;
displayName: string;
defaultProps: {
appearance: string;
};
};
export default Badge;
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";
12 changes: 12 additions & 0 deletions dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { BaseProps } from "../../../utils/types";
interface Breadcrumb {
label: string;
link: string;
}
export interface BreadcrumbsProps extends BaseProps {
list: Breadcrumb[];
onClick?: (link: string) => void;
showTooltip?: boolean;
}
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 ButtonAppearance = 'basic' | 'primary' | 'success' | 'alert' | 'transparent';
export declare type ButtonSize = 'tiny' | 'regular' | 'large';
export declare type ButtonAlignment = 'left' | 'right';
export interface ButtonProps extends BaseProps, BaseHtmlProps<HTMLButtonElement> {
type?: ButtonType;
size?: ButtonSize;
appearance?: ButtonAppearance;
disabled?: boolean;
expanded?: boolean;
selected?: boolean;
loading?: boolean;
icon?: string;
tooltip?: string;
iconAlign?: ButtonAlignment;
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' | 'shadow10' | 'shadow20' | 'shadow30';
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";
10 changes: 10 additions & 0 deletions dist/core/components/atoms/cardBody/CardBody.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as React from 'react';
import { BaseProps } from "../../../utils/types";
export interface CardBodyProps extends BaseProps {
children: React.ReactNode;
}
export declare const CardBody: {
(props: CardBodyProps): JSX.Element;
displayName: string;
};
export default CardBody;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/cardBody/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./CardBody";
export * from "./CardBody";
14 changes: 14 additions & 0 deletions dist/core/components/atoms/cardFooter/CardFooter.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as React from 'react';
import { BaseProps } from "../../../utils/types";
export interface CardFooterProps extends BaseProps {
children: React.ReactNode;
withSeperator: boolean;
}
export declare const CardFooter: {
(props: CardFooterProps): JSX.Element;
displayName: string;
defaultProps: {
withSeperator: boolean;
};
};
export default CardFooter;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/cardFooter/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./CardFooter";
export * from "./CardFooter";
10 changes: 10 additions & 0 deletions dist/core/components/atoms/cardHeader/CardHeader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as React from 'react';
import { BaseProps } from "../../../utils/types";
export interface CardHeaderProps extends BaseProps {
children: React.ReactNode;
}
export declare const CardHeader: {
(props: CardHeaderProps): JSX.Element;
displayName: string;
};
export default CardHeader;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/cardHeader/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./CardHeader";
export * from "./CardHeader";
8 changes: 8 additions & 0 deletions dist/core/components/atoms/cardSubdued/CardSubdued.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";
declare type Border = 'top' | 'left' | 'right' | 'bottom';
export interface CardSubduedProps extends BaseProps, BaseHtmlProps<HTMLDivElement> {
border?: Border;
}
export declare const CardSubdued: React.ForwardRefExoticComponent<CardSubduedProps & React.RefAttributes<HTMLDivElement>>;
export default CardSubdued;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/cardSubdued/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./CardSubdued";
export * from "./CardSubdued";
21 changes: 21 additions & 0 deletions dist/core/components/atoms/checkbox/Checkbox.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import * as React from 'react';
import { BaseProps, OmitNativeProps } from "../../../utils/types";
import { ChangeEvent } from "../../../common.type";
export declare type CheckBoxSize = 'regular' | 'tiny';
export interface CheckboxProps extends BaseProps, OmitNativeProps<HTMLInputElement, 'onChange'> {
size?: CheckBoxSize;
defaultChecked?: boolean;
checked?: boolean;
indeterminate?: boolean;
disabled?: boolean;
label?: string;
helpText?: string;
name?: string;
value?: string | number;
tabIndex?: number;
onChange?: (event: ChangeEvent) => void;
error?: boolean;
id?: string;
}
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
export default Checkbox;
5 changes: 5 additions & 0 deletions dist/core/components/atoms/checkbox/CheckboxIcon.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare type CheckboxIconProp = {
name: string;
};
declare const CheckboxIcon: (props: CheckboxIconProp) => JSX.Element | null;
export default CheckboxIcon;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/checkbox/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Checkbox";
export * from "./Checkbox";
23 changes: 23 additions & 0 deletions dist/core/components/atoms/chip/Chip.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import * as React from 'react';
import { BaseProps } from "../../../utils/types";
export declare type ChipType = 'action' | 'selection' | 'input';
export declare type Name = number | string | object;
export interface ChipProps extends BaseProps {
label: string | React.ReactElement;
icon?: string;
clearButton?: boolean;
disabled?: boolean;
selected?: boolean;
type: ChipType;
onClose?: (name: Name) => void;
onClick?: (name: Name) => void;
name: Name;
}
export declare const Chip: {
(props: ChipProps): JSX.Element;
displayName: string;
defaultProps: {
type: string;
};
};
export default Chip;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/chip/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./Chip";
export * from "./Chip";
12 changes: 12 additions & 0 deletions dist/core/components/atoms/chipGroup/ChipGroup.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ChipProps } from "../chip/Chip";
import { BaseProps } from "../../../utils/types";
export interface ChipGroupProps extends BaseProps {
onClose?: (item: ChipProps) => void;
onClick?: (item: ChipProps) => void;
list: ChipProps[];
}
export declare const ChipGroup: {
(props: ChipGroupProps): JSX.Element;
displayName: string;
};
export default ChipGroup;
2 changes: 2 additions & 0 deletions dist/core/components/atoms/chipGroup/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from "./ChipGroup";
export * from "./ChipGroup";
Loading

0 comments on commit bc4c536

Please sign in to comment.