@hexure/ui 1.13.39 → 1.13.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1809 -1825
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Accordion/Accordion.d.ts +1 -0
- package/dist/cjs/types/components/ActionDialog/ActionDialog.d.ts +2 -0
- package/dist/cjs/types/components/Alert/Alert.d.ts +2 -0
- package/dist/cjs/types/components/AppHeader/AppHeader.d.ts +2 -0
- package/dist/cjs/types/components/AppMenu/AppMenu.d.ts +2 -0
- package/dist/cjs/types/components/BulkActionBar/BulkActionBar.d.ts +2 -0
- package/dist/cjs/types/components/Button/Button.d.ts +2 -0
- package/dist/cjs/types/components/ButtonMenu/ButtonMenu.d.ts +2 -0
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/cjs/types/components/Checklist/Checklist.d.ts +2 -0
- package/dist/cjs/types/components/Copy/Copy.d.ts +3 -1
- package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/cjs/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/cjs/types/components/Field/Field.d.ts +2 -0
- package/dist/cjs/types/components/FieldGroup/FieldGroup.d.ts +2 -0
- package/dist/cjs/types/components/FileUpload/FileUpload.d.ts +2 -0
- package/dist/cjs/types/components/Heading/Heading.d.ts +2 -0
- package/dist/cjs/types/components/Input/Input.d.ts +2 -0
- package/dist/cjs/types/components/Link/Link.d.ts +2 -0
- package/dist/cjs/types/components/Loader/Loader.d.ts +5 -1
- package/dist/cjs/types/components/Logo/Logo.d.ts +2 -0
- package/dist/cjs/types/components/Modal/Modal.d.ts +2 -0
- package/dist/cjs/types/components/MoreMenu/MoreMenu.d.ts +2 -0
- package/dist/cjs/types/components/MultiSelect/MultiSelect.d.ts +2 -0
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +2 -0
- package/dist/cjs/types/components/Pagination/Pagination.d.ts +2 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/dist/cjs/types/components/Radio/Radio.d.ts +2 -0
- package/dist/cjs/types/components/RadioList/RadioList.d.ts +2 -0
- package/dist/cjs/types/components/Select/Select.d.ts +2 -0
- package/dist/cjs/types/components/Table/Table.d.ts +2 -0
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +2 -0
- package/dist/cjs/types/components/Tag/Tag.d.ts +2 -0
- package/dist/cjs/types/components/Toast/Toast.d.ts +2 -0
- package/dist/cjs/types/components/Toggle/Toggle.d.ts +2 -0
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/cjs/types/components/ZeroState/ZeroState.d.ts +2 -0
- package/dist/esm/index.js +1761 -1777
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Accordion/Accordion.d.ts +1 -0
- package/dist/esm/types/components/ActionDialog/ActionDialog.d.ts +2 -0
- package/dist/esm/types/components/Alert/Alert.d.ts +2 -0
- package/dist/esm/types/components/AppHeader/AppHeader.d.ts +2 -0
- package/dist/esm/types/components/AppMenu/AppMenu.d.ts +2 -0
- package/dist/esm/types/components/BulkActionBar/BulkActionBar.d.ts +2 -0
- package/dist/esm/types/components/Button/Button.d.ts +2 -0
- package/dist/esm/types/components/ButtonMenu/ButtonMenu.d.ts +2 -0
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/esm/types/components/Checklist/Checklist.d.ts +2 -0
- package/dist/esm/types/components/Copy/Copy.d.ts +3 -1
- package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/esm/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/esm/types/components/Field/Field.d.ts +2 -0
- package/dist/esm/types/components/FieldGroup/FieldGroup.d.ts +2 -0
- package/dist/esm/types/components/FileUpload/FileUpload.d.ts +2 -0
- package/dist/esm/types/components/Heading/Heading.d.ts +2 -0
- package/dist/esm/types/components/Input/Input.d.ts +2 -0
- package/dist/esm/types/components/Link/Link.d.ts +2 -0
- package/dist/esm/types/components/Loader/Loader.d.ts +5 -1
- package/dist/esm/types/components/Logo/Logo.d.ts +2 -0
- package/dist/esm/types/components/Modal/Modal.d.ts +2 -0
- package/dist/esm/types/components/MoreMenu/MoreMenu.d.ts +2 -0
- package/dist/esm/types/components/MultiSelect/MultiSelect.d.ts +2 -0
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +2 -0
- package/dist/esm/types/components/Pagination/Pagination.d.ts +2 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/dist/esm/types/components/Radio/Radio.d.ts +2 -0
- package/dist/esm/types/components/RadioList/RadioList.d.ts +2 -0
- package/dist/esm/types/components/Select/Select.d.ts +2 -0
- package/dist/esm/types/components/Table/Table.d.ts +2 -0
- package/dist/esm/types/components/Tabs/Tabs.d.ts +2 -0
- package/dist/esm/types/components/Tag/Tag.d.ts +2 -0
- package/dist/esm/types/components/Toast/Toast.d.ts +2 -0
- package/dist/esm/types/components/Toggle/Toggle.d.ts +2 -0
- package/dist/esm/types/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/esm/types/components/ZeroState/ZeroState.d.ts +2 -0
- package/dist/index.d.ts +155 -82
- package/package.json +1 -1
|
@@ -20,6 +20,8 @@ export interface ActionDialogProps extends AccessibleProps {
|
|
|
20
20
|
secondaryButton?: ButtonProps;
|
|
21
21
|
/** Set the tertiary action for the dialog. This should only be defined after a secondary action is defined */
|
|
22
22
|
tertiaryButton?: ButtonProps;
|
|
23
|
+
/** Optional ID for automation purposes */
|
|
24
|
+
id?: string;
|
|
23
25
|
}
|
|
24
26
|
interface CustomStyle {
|
|
25
27
|
[key: string]: string | number;
|
|
@@ -14,6 +14,8 @@ export interface AlertProps extends AccessibleProps {
|
|
|
14
14
|
action?: ActionProps;
|
|
15
15
|
/** Show a condensed, smaller version of the alert. The title and action props will be ignore if this is set to true */
|
|
16
16
|
small?: boolean;
|
|
17
|
+
/** Optional ID for automation purposes */
|
|
18
|
+
id?: string;
|
|
17
19
|
}
|
|
18
20
|
declare const Alert: FC<AlertProps>;
|
|
19
21
|
export default Alert;
|
|
@@ -3,6 +3,8 @@ import { ButtonProps } from '../Button/Button';
|
|
|
3
3
|
export interface AppHeaderProps {
|
|
4
4
|
logoUrl?: string;
|
|
5
5
|
buttons: ButtonProps[];
|
|
6
|
+
/** Optional ID for automation purposes */
|
|
7
|
+
id?: string;
|
|
6
8
|
}
|
|
7
9
|
declare const AppHeader: FC<AppHeaderProps>;
|
|
8
10
|
export default AppHeader;
|
|
@@ -17,6 +17,8 @@ export interface AppMenuProps extends AccessibleProps {
|
|
|
17
17
|
isCollapsed?: boolean;
|
|
18
18
|
footerTag?: string;
|
|
19
19
|
defaultWidth?: string;
|
|
20
|
+
/** Optional ID for automation purposes */
|
|
21
|
+
id?: string;
|
|
20
22
|
}
|
|
21
23
|
declare const AppMenu: FC<AppMenuProps>;
|
|
22
24
|
export default AppMenu;
|
|
@@ -11,6 +11,8 @@ export interface BulkActionBarProps extends AccessibleProps {
|
|
|
11
11
|
errorMsg?: string;
|
|
12
12
|
onClear: (e?: any) => void;
|
|
13
13
|
selectedCount?: number;
|
|
14
|
+
/** Optional ID for automation purposes */
|
|
15
|
+
id?: string;
|
|
14
16
|
}
|
|
15
17
|
declare const BulkActionBar: FC<BulkActionBarProps>;
|
|
16
18
|
export default BulkActionBar;
|
|
@@ -27,6 +27,8 @@ export interface ButtonProps extends AccessibleProps {
|
|
|
27
27
|
toolTip?: TooltipProps;
|
|
28
28
|
/** Set the title of the button on hover */
|
|
29
29
|
title?: string;
|
|
30
|
+
/** Optional ID for automation purposes */
|
|
31
|
+
id?: string;
|
|
30
32
|
}
|
|
31
33
|
declare const Button: FC<ButtonProps>;
|
|
32
34
|
export default Button;
|
|
@@ -15,6 +15,8 @@ export interface CheckboxProps extends AccessibleProps {
|
|
|
15
15
|
invalid?: boolean;
|
|
16
16
|
/** Display a tooltip next to the label */
|
|
17
17
|
tooltip?: TooltipProps;
|
|
18
|
+
/** Optional ID for automation purposes */
|
|
19
|
+
id?: string;
|
|
18
20
|
}
|
|
19
21
|
declare const Checkbox: FC<CheckboxProps>;
|
|
20
22
|
export default Checkbox;
|
|
@@ -11,6 +11,8 @@ export interface ChecklistProps extends AccessibleProps {
|
|
|
11
11
|
options: OptionProps[];
|
|
12
12
|
selected: (string | number)[];
|
|
13
13
|
showSelectAll?: boolean;
|
|
14
|
+
/** Optional ID for automation purposes */
|
|
15
|
+
id?: string;
|
|
14
16
|
}
|
|
15
17
|
declare const Checklist: FC<ChecklistProps>;
|
|
16
18
|
export default Checklist;
|
|
@@ -10,8 +10,10 @@ export interface CopyProps extends AccessibleProps {
|
|
|
10
10
|
padding?: string;
|
|
11
11
|
/** Set the type of copy to display */
|
|
12
12
|
type?: 'default' | 'bold' | 'italic' | 'underline' | 'line-through' | 'small';
|
|
13
|
-
/** Set the color of the copy based on the design system color
|
|
13
|
+
/** Set the color of the copy based on the design system color palette */
|
|
14
14
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
|
|
15
|
+
/** Optional ID for automation purposes */
|
|
16
|
+
id?: string;
|
|
15
17
|
}
|
|
16
18
|
declare const Copy: FC<CopyProps>;
|
|
17
19
|
export default Copy;
|
|
@@ -11,6 +11,8 @@ export interface DateProps extends AccessibleProps {
|
|
|
11
11
|
date?: string;
|
|
12
12
|
onChange?: (e: any) => void;
|
|
13
13
|
style?: styleProps;
|
|
14
|
+
/** Optional ID for automation purposes */
|
|
15
|
+
id?: string;
|
|
14
16
|
}
|
|
15
17
|
declare const DatePicker: FC<DateProps>;
|
|
16
18
|
export default DatePicker;
|
|
@@ -27,6 +27,8 @@ export interface DrawerProps extends AccessibleProps {
|
|
|
27
27
|
position?: 'fixed' | 'absolute';
|
|
28
28
|
/** It is used to close drawer. */
|
|
29
29
|
onClose: (e?: any) => void;
|
|
30
|
+
/** Optional ID for automation purposes */
|
|
31
|
+
id?: string;
|
|
30
32
|
}
|
|
31
33
|
declare const Drawer: FC<DrawerProps>;
|
|
32
34
|
export default Drawer;
|
|
@@ -22,6 +22,8 @@ export interface FieldProps extends AccessibleProps {
|
|
|
22
22
|
description?: string;
|
|
23
23
|
/** Display a tooltip next to the label */
|
|
24
24
|
tooltip?: TooltipProps;
|
|
25
|
+
/** Optional ID for automation purposes */
|
|
26
|
+
id?: string;
|
|
25
27
|
}
|
|
26
28
|
declare const Field: FC<FieldProps>;
|
|
27
29
|
export default Field;
|
|
@@ -4,6 +4,8 @@ export interface FieldGroupProps {
|
|
|
4
4
|
label: string;
|
|
5
5
|
/** The content of the field group...usually a set of Field components */
|
|
6
6
|
children: any;
|
|
7
|
+
/** Optional ID for automation purposes */
|
|
8
|
+
id?: string;
|
|
7
9
|
}
|
|
8
10
|
declare const FieldGroup: FC<FieldGroupProps>;
|
|
9
11
|
export default FieldGroup;
|
|
@@ -16,6 +16,8 @@ export interface FileUploadProps {
|
|
|
16
16
|
value?: File[];
|
|
17
17
|
/** A method that will be run against each file to determine if it's valid before being added. Must return a boolean. */
|
|
18
18
|
validateFile?: (file: File) => boolean;
|
|
19
|
+
/** Optional ID for automation purposes */
|
|
20
|
+
id?: string;
|
|
19
21
|
}
|
|
20
22
|
interface ErrorObject {
|
|
21
23
|
file: File;
|
|
@@ -11,6 +11,8 @@ export interface HeadingProps extends AccessibleProps {
|
|
|
11
11
|
padding?: string;
|
|
12
12
|
/** Set the type of heading to display: primary, secondary, tertiary */
|
|
13
13
|
type?: 'primary' | 'secondary' | 'tertiary';
|
|
14
|
+
/** Optional ID for automation purposes */
|
|
15
|
+
id?: string;
|
|
14
16
|
}
|
|
15
17
|
declare const Heading: FC<HeadingProps>;
|
|
16
18
|
export default Heading;
|
|
@@ -29,6 +29,8 @@ export interface InputProps extends AccessibleProps {
|
|
|
29
29
|
showErrorTextColor?: boolean;
|
|
30
30
|
innerRef?: any;
|
|
31
31
|
isAutoComplete?: boolean;
|
|
32
|
+
/** Optional ID for automation purposes */
|
|
33
|
+
id?: string;
|
|
32
34
|
}
|
|
33
35
|
declare const Input: FC<InputProps>;
|
|
34
36
|
export default Input;
|
|
@@ -7,6 +7,8 @@ export interface LinkProps extends AccessibleProps {
|
|
|
7
7
|
small?: boolean;
|
|
8
8
|
/** A method to execute when this component is clicked */
|
|
9
9
|
onClick?: (e?: any) => void;
|
|
10
|
+
/** Optional ID for automation purposes */
|
|
11
|
+
id?: string;
|
|
10
12
|
}
|
|
11
13
|
declare const Link: FC<LinkProps>;
|
|
12
14
|
export default Link;
|
|
@@ -3,6 +3,8 @@ import { AccessibleProps } from '../../utils/Accessibility';
|
|
|
3
3
|
export interface LogoProps extends AccessibleProps {
|
|
4
4
|
type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
|
|
5
5
|
height?: string;
|
|
6
|
+
/** Optional ID for automation purposes */
|
|
7
|
+
id?: string;
|
|
6
8
|
}
|
|
7
9
|
export interface colorProps {
|
|
8
10
|
fill_1: string;
|
|
@@ -31,6 +31,8 @@ export interface ModalProps extends AccessibleProps {
|
|
|
31
31
|
onClose: (e?: any) => void;
|
|
32
32
|
/** Display steps at the top of the modal */
|
|
33
33
|
steps?: StepProps[];
|
|
34
|
+
/** Optional ID for automation purposes */
|
|
35
|
+
id?: string;
|
|
34
36
|
}
|
|
35
37
|
declare const Modal: FC<ModalProps>;
|
|
36
38
|
export default Modal;
|
|
@@ -9,6 +9,8 @@ export interface MenuItemProps extends AccessibleProps {
|
|
|
9
9
|
export interface MoreMenuProps extends AccessibleProps {
|
|
10
10
|
menuItems: MenuItemProps[];
|
|
11
11
|
maxHeight?: string | number;
|
|
12
|
+
/** Optional ID for automation purposes */
|
|
13
|
+
id?: string;
|
|
12
14
|
}
|
|
13
15
|
declare const MoreMenu: FC<MoreMenuProps>;
|
|
14
16
|
export default MoreMenu;
|
|
@@ -18,6 +18,8 @@ export interface MultiSelectProps extends AccessibleProps {
|
|
|
18
18
|
showSelectAll?: boolean;
|
|
19
19
|
style?: styleProps;
|
|
20
20
|
searchable?: boolean;
|
|
21
|
+
/** Optional ID for automation purposes */
|
|
22
|
+
id?: string;
|
|
21
23
|
}
|
|
22
24
|
declare const MultiSelect: FC<MultiSelectProps>;
|
|
23
25
|
export default MultiSelect;
|
|
@@ -4,6 +4,8 @@ export interface PaginationProps extends AccessibleProps {
|
|
|
4
4
|
currentPage: number;
|
|
5
5
|
onClick: (e?: any) => void;
|
|
6
6
|
pageCount: number;
|
|
7
|
+
/** Optional ID for automation purposes */
|
|
8
|
+
id?: string;
|
|
7
9
|
}
|
|
8
10
|
declare const Pagination: FC<PaginationProps>;
|
|
9
11
|
export default Pagination;
|
|
@@ -16,6 +16,8 @@ export interface RadioProps extends AccessibleProps {
|
|
|
16
16
|
invalid?: boolean;
|
|
17
17
|
/** Display a tooltip next to the label */
|
|
18
18
|
tooltip?: TooltipProps;
|
|
19
|
+
/** Optional ID for automation purposes */
|
|
20
|
+
id?: string;
|
|
19
21
|
}
|
|
20
22
|
declare const Radio: FC<RadioProps>;
|
|
21
23
|
export default Radio;
|
|
@@ -9,6 +9,8 @@ export interface RadioListProps extends AccessibleProps {
|
|
|
9
9
|
onChange: (e: any) => void;
|
|
10
10
|
options: OptionProps[];
|
|
11
11
|
value: string;
|
|
12
|
+
/** Optional ID for automation purposes */
|
|
13
|
+
id?: string;
|
|
12
14
|
}
|
|
13
15
|
declare const RadioList: FC<RadioListProps>;
|
|
14
16
|
export default RadioList;
|
|
@@ -27,6 +27,8 @@ export interface SelectProps extends AccessibleProps {
|
|
|
27
27
|
onFocus?: (e: any) => void;
|
|
28
28
|
onBlur?: (e: any) => void;
|
|
29
29
|
onSearch?: (searchTerm: string) => void;
|
|
30
|
+
/** Optional ID for automation purposes */
|
|
31
|
+
id?: string;
|
|
30
32
|
}
|
|
31
33
|
declare const Select: FC<SelectProps>;
|
|
32
34
|
export default Select;
|
|
@@ -21,6 +21,8 @@ export interface TableProps extends AccessibleProps {
|
|
|
21
21
|
onRowClick?: (e?: any) => void;
|
|
22
22
|
onSortChange?: (e?: any) => void;
|
|
23
23
|
tableLayout?: string;
|
|
24
|
+
/** Optional ID for automation purposes */
|
|
25
|
+
id?: string;
|
|
24
26
|
}
|
|
25
27
|
declare const Table: FC<TableProps>;
|
|
26
28
|
export default Table;
|
|
@@ -9,6 +9,8 @@ export interface TagProps extends AccessibleProps {
|
|
|
9
9
|
onClick?: (e?: any) => void;
|
|
10
10
|
/** It is callback function called when user wants to close the tag. */
|
|
11
11
|
removable?: boolean;
|
|
12
|
+
/** Optional ID for automation purposes */
|
|
13
|
+
id?: string;
|
|
12
14
|
}
|
|
13
15
|
declare const Tag: FC<TagProps>;
|
|
14
16
|
export default Tag;
|
|
@@ -10,6 +10,8 @@ interface ToastProps {
|
|
|
10
10
|
customCloseButton?: React.ReactNode;
|
|
11
11
|
position?: 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
|
|
12
12
|
style?: CSSProperties;
|
|
13
|
+
/** Optional ID for automation purposes */
|
|
14
|
+
id?: string;
|
|
13
15
|
}
|
|
14
16
|
declare const Toast: React.FC<ToastProps>;
|
|
15
17
|
export default Toast;
|
|
@@ -5,6 +5,8 @@ export interface ToggleProps extends AccessibleProps {
|
|
|
5
5
|
on: boolean;
|
|
6
6
|
/** Pass a callback then fires when user change value */
|
|
7
7
|
onClick: (e?: any) => void;
|
|
8
|
+
/** Optional ID for automation purposes */
|
|
9
|
+
id?: string;
|
|
8
10
|
}
|
|
9
11
|
declare const Toggle: FC<ToggleProps>;
|
|
10
12
|
export default Toggle;
|
|
@@ -8,6 +8,8 @@ export interface TooltipProps {
|
|
|
8
8
|
width?: string;
|
|
9
9
|
/** The element to display that triggers the tooltip content */
|
|
10
10
|
trigger?: any;
|
|
11
|
+
/** Optional ID for automation purposes */
|
|
12
|
+
id?: string;
|
|
11
13
|
}
|
|
12
14
|
declare const Tooltip: FC<TooltipProps>;
|
|
13
15
|
export default Tooltip;
|
|
@@ -15,6 +15,8 @@ export interface ZeroStateProps extends AccessibleProps {
|
|
|
15
15
|
format?: 'primary' | 'secondary' | 'red' | 'green' | string;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
};
|
|
18
|
+
/** Optional ID for automation purposes */
|
|
19
|
+
id?: string;
|
|
18
20
|
}
|
|
19
21
|
declare const ZeroState: FC<ZeroStateProps>;
|
|
20
22
|
export default ZeroState;
|