@innovaccer/design-system 2.28.3 → 2.30.0
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/CHANGELOG.md +87 -0
- package/css/dist/index.css +287 -0
- package/css/dist/index.css.map +1 -1
- package/css/src/components/avatarSelection.css +111 -0
- package/css/src/components/calendar.css +4 -0
- package/css/src/components/grid.css +6 -0
- package/css/src/components/listbox.css +4 -0
- package/css/src/components/menu.css +27 -0
- package/css/src/components/select.css +127 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +858 -34
- package/dist/core/common.type.d.ts +7 -0
- package/dist/core/components/atoms/_text/index.d.ts +2 -4
- package/dist/core/components/atoms/avatar/Avatar.d.ts +1 -0
- package/dist/core/components/atoms/avatar/avatarIcon/AvatarIcon.d.ts +0 -4
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +59 -0
- package/dist/core/components/atoms/avatarSelection/AvatarSelectionContext.d.ts +19 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionEmptyState.d.ts +8 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionInput.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionList.d.ts +20 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionOption.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionPopover.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/index.d.ts +5 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/utils.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/AvatarSelectionCount.d.ts +13 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatar.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatarsWrapper.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/index.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/utils.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/index.d.ts +2 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +23 -19
- package/dist/core/components/atoms/text/Text.d.ts +3 -10
- package/dist/core/components/molecules/popover/Popover.d.ts +6 -1
- package/dist/core/components/molecules/tooltip/Tooltip.d.ts +10 -0
- package/dist/core/components/organisms/calendar/Calendar.d.ts +1 -0
- package/dist/core/components/organisms/combobox/Combobox.d.ts +45 -0
- package/dist/core/components/organisms/combobox/ComboboxContext.d.ts +23 -0
- package/dist/core/components/organisms/combobox/ComboboxList.d.ts +20 -0
- package/dist/core/components/organisms/combobox/ComboboxOption.d.ts +18 -0
- package/dist/core/components/organisms/combobox/index.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/ChipInputBox.d.ts +3 -0
- package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +20 -0
- package/dist/core/components/organisms/combobox/trigger/InputBox.d.ts +3 -0
- package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +40 -0
- package/dist/core/components/organisms/combobox/trigger/index.d.ts +1 -0
- package/dist/core/components/organisms/combobox/trigger/utils.d.ts +3 -0
- package/dist/core/components/organisms/combobox/utils.d.ts +2 -0
- package/dist/core/components/organisms/list/List.d.ts +1 -0
- package/dist/core/components/organisms/listbox/Listbox.d.ts +2 -2
- package/dist/core/components/organisms/listbox/listboxItem/ListBody.d.ts +4 -1
- package/dist/core/components/organisms/listbox/listboxItem/ListboxItem.d.ts +5 -4
- package/dist/core/components/organisms/menu/Menu.d.ts +49 -0
- package/dist/core/components/organisms/menu/MenuContext.d.ts +13 -0
- package/dist/core/components/organisms/menu/MenuGroup.d.ts +14 -0
- package/dist/core/components/organisms/menu/MenuItem.d.ts +17 -0
- package/dist/core/components/organisms/menu/MenuList.d.ts +19 -0
- package/dist/core/components/organisms/menu/SubMenu.d.ts +6 -0
- package/dist/core/components/organisms/menu/SubMenuContext.d.ts +10 -0
- package/dist/core/components/organisms/menu/index.d.ts +2 -0
- package/dist/core/components/organisms/menu/trigger/MenuTrigger.d.ts +6 -0
- package/dist/core/components/organisms/menu/trigger/utils.d.ts +3 -0
- package/dist/core/components/organisms/menu/utils.d.ts +2 -0
- package/dist/core/components/organisms/select/SearchInput.d.ts +8 -0
- package/dist/core/components/organisms/select/Select.d.ts +35 -0
- package/dist/core/components/organisms/select/SelectContext.d.ts +24 -0
- package/dist/core/components/organisms/select/SelectEmptyTemplate.d.ts +9 -0
- package/dist/core/components/organisms/select/SelectFooter.d.ts +7 -0
- package/dist/core/components/organisms/select/SelectList.d.ts +20 -0
- package/dist/core/components/organisms/select/SelectOption.d.ts +19 -0
- package/dist/core/components/organisms/select/SelectTrigger.d.ts +24 -0
- package/dist/core/components/organisms/select/__test__/Select.test.d.ts +1 -0
- package/dist/core/components/organisms/select/__test__/utils.test.d.ts +1 -0
- package/dist/core/components/organisms/select/index.d.ts +2 -0
- package/dist/core/components/organisms/select/utils.d.ts +12 -0
- package/dist/core/components/organisms/table/Header.d.ts +2 -0
- package/dist/core/components/organisms/table/Table.d.ts +3 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.type.d.ts +6 -0
- package/dist/index.esm.js +2779 -152
- package/dist/index.js +2627 -52
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
|
@@ -14,3 +14,10 @@ export declare type TextColor = 'white' | 'primary' | 'secondary' | 'success' |
|
|
|
14
14
|
export declare type AvatarSize = 'regular' | 'tiny';
|
|
15
15
|
export declare type AvatarShape = 'round' | 'square';
|
|
16
16
|
export declare type IconType = 'rounded' | 'outlined';
|
|
17
|
+
export declare type PositionType = 'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
18
|
+
export declare type OptionType = {
|
|
19
|
+
label: string;
|
|
20
|
+
value: any;
|
|
21
|
+
isSelectedOption?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare type TListboxSize = 'standard' | 'compressed' | 'tight';
|
|
@@ -4,7 +4,5 @@ interface Props {
|
|
|
4
4
|
componentType: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>;
|
|
10
|
-
export default GenericText;
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
|
|
8
|
+
export default _default;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { BaseProps } from "../../../../utils/types";
|
|
3
2
|
export interface AvatarIconProps extends BaseProps {
|
|
4
3
|
name?: string;
|
|
5
4
|
type?: 'outlined' | 'rounded';
|
|
6
|
-
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
|
|
8
|
-
tabIndex?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>['tabIndex'];
|
|
9
5
|
}
|
|
10
6
|
export declare const AvatarIcon: (props: AvatarIconProps) => JSX.Element;
|
|
11
7
|
export default AvatarIcon;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps } from "../../../utils/types";
|
|
3
|
+
import { AvatarProps, TooltipProps } from "../../../index.type";
|
|
4
|
+
import { AvatarSize } from "../../../common.type";
|
|
5
|
+
export interface AvatarData extends Record<string, any> {
|
|
6
|
+
firstName?: string;
|
|
7
|
+
lastName?: string;
|
|
8
|
+
appearance?: AvatarProps['appearance'];
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
image?: React.ReactNode;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AvatarSelectionProps extends BaseProps {
|
|
14
|
+
list: AvatarData[];
|
|
15
|
+
max: number;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
size: AvatarSize;
|
|
18
|
+
tooltipPosition: TooltipProps['position'];
|
|
19
|
+
avatarRenderer?: (data: AvatarData) => JSX.Element;
|
|
20
|
+
onSelect?: (data?: AvatarData) => void;
|
|
21
|
+
width?: number;
|
|
22
|
+
maxHeight?: number;
|
|
23
|
+
minHeight?: number;
|
|
24
|
+
withSearch?: boolean;
|
|
25
|
+
searchPlaceholder?: string;
|
|
26
|
+
searchComparator?: (searchValue: string, avatarData: AvatarData) => boolean;
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const AvatarSelection: {
|
|
31
|
+
(props: AvatarSelectionProps): JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
defaultProps: {
|
|
34
|
+
max: number;
|
|
35
|
+
tooltipPosition: string;
|
|
36
|
+
borderColor: string;
|
|
37
|
+
size: string;
|
|
38
|
+
width: number;
|
|
39
|
+
maxHeight: number;
|
|
40
|
+
};
|
|
41
|
+
Input: (props: import("../input/Input").InputProps) => JSX.Element;
|
|
42
|
+
List: {
|
|
43
|
+
(props: import("./avatarPopover").SelectionListProps): JSX.Element;
|
|
44
|
+
defaultProps: {
|
|
45
|
+
type: string;
|
|
46
|
+
showDivider: boolean;
|
|
47
|
+
size: string;
|
|
48
|
+
tagName: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
Option: {
|
|
52
|
+
(props: import("./avatarPopover").SelectionOptionProps): JSX.Element;
|
|
53
|
+
defaultProps: {
|
|
54
|
+
tagName: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
EmptyState: (props: import("./avatarPopover").AvatarEmptyStateProps) => JSX.Element;
|
|
58
|
+
};
|
|
59
|
+
export default AvatarSelection;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AvatarData } from "./AvatarSelection";
|
|
3
|
+
export declare type ContextProps = {
|
|
4
|
+
listRef?: React.RefObject<HTMLDivElement>;
|
|
5
|
+
onSelect?: (data?: AvatarData) => void;
|
|
6
|
+
withSearch?: boolean;
|
|
7
|
+
triggerRef?: React.LegacyRef<HTMLDivElement>;
|
|
8
|
+
selectedItems: AvatarData[];
|
|
9
|
+
focusedOption?: HTMLElement;
|
|
10
|
+
setSelectedItems?: React.Dispatch<React.SetStateAction<AvatarData[]>>;
|
|
11
|
+
setFocusedOption?: React.Dispatch<React.SetStateAction<HTMLElement | undefined>>;
|
|
12
|
+
setHighlightFirstItem?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
13
|
+
setHighlightLastItem?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
|
+
setOpenPopover?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
15
|
+
openPopover?: boolean;
|
|
16
|
+
popoverId?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const AvatarSelectionContext: React.Context<Partial<ContextProps>>;
|
|
19
|
+
export default AvatarSelectionContext;
|
package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionEmptyState.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface AvatarEmptyStateProps {
|
|
3
|
+
height?: number;
|
|
4
|
+
title?: React.ReactText;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const AvatarSelectionEmptyState: (props: AvatarEmptyStateProps) => JSX.Element;
|
|
8
|
+
export default AvatarSelectionEmptyState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TListboxSize } from "../../../../common.type";
|
|
3
|
+
import { BaseProps } from "../../../../utils/types";
|
|
4
|
+
declare type TagType = 'ul' | 'ol' | 'div' | 'nav';
|
|
5
|
+
export interface SelectionListProps extends BaseProps {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
size: TListboxSize;
|
|
8
|
+
tagName: TagType;
|
|
9
|
+
showDivider: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const AvatarSelectionList: {
|
|
12
|
+
(props: SelectionListProps): JSX.Element;
|
|
13
|
+
defaultProps: {
|
|
14
|
+
type: string;
|
|
15
|
+
showDivider: boolean;
|
|
16
|
+
size: string;
|
|
17
|
+
tagName: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default AvatarSelectionList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps } from "../../../../utils/types";
|
|
3
|
+
export declare type ItemTagType = 'li' | 'div';
|
|
4
|
+
export interface SelectionOptionProps extends BaseProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
value?: any;
|
|
7
|
+
tagName: ItemTagType;
|
|
8
|
+
}
|
|
9
|
+
export declare const AvatarSelectionOption: {
|
|
10
|
+
(props: SelectionOptionProps): JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
tagName: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default AvatarSelectionOption;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AvatarData } from "../AvatarSelection";
|
|
3
|
+
interface AvatarPopoverProps {
|
|
4
|
+
hiddenAvatarList: AvatarData[];
|
|
5
|
+
searchPlaceholder?: string;
|
|
6
|
+
searchComparator?: (searchValue: string, avatarData: AvatarData) => boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
customStyle: {
|
|
9
|
+
width?: number;
|
|
10
|
+
minHeight?: number;
|
|
11
|
+
maxHeight?: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare const AvatarSelectionPopover: (props: AvatarPopoverProps) => JSX.Element;
|
|
15
|
+
export default AvatarSelectionPopover;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const handleKeyDown: (event: React.KeyboardEvent, focusedOption: Element | undefined, setFocusedOption?: React.Dispatch<React.SetStateAction<HTMLElement | undefined>> | undefined, setHighlightFirstItem?: React.Dispatch<React.SetStateAction<boolean>> | undefined, setHighlightLastItem?: React.Dispatch<React.SetStateAction<boolean>> | undefined, listRef?: any, withSearch?: boolean | undefined, setOpenPopover?: React.Dispatch<React.SetStateAction<boolean>> | undefined, triggerRef?: any) => void;
|
|
3
|
+
export declare const handleInputKeyDown: (event: React.KeyboardEvent, listRef: any, setFocusedOption?: React.Dispatch<React.SetStateAction<HTMLElement | undefined>> | undefined, setOpenPopover?: React.Dispatch<React.SetStateAction<boolean>> | undefined, triggerRef?: any) => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AvatarData } from "../AvatarSelection";
|
|
2
|
+
import { AvatarSize } from "../../../../common.type";
|
|
3
|
+
interface CountAvatarProp {
|
|
4
|
+
size?: AvatarSize;
|
|
5
|
+
hiddenAvatarCount?: number;
|
|
6
|
+
hiddenAvatarList: AvatarData[];
|
|
7
|
+
avatarStyle?: {
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
boxShadow?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare const AvatarSelectionCount: (props: CountAvatarProp) => JSX.Element;
|
|
13
|
+
export default AvatarSelectionCount;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AvatarSize } from "../../../../common.type";
|
|
3
|
+
import { AvatarProps, TooltipProps } from "../../../../index.type";
|
|
4
|
+
interface SelectionAvatarProps {
|
|
5
|
+
size?: AvatarSize;
|
|
6
|
+
appearance?: AvatarProps['appearance'];
|
|
7
|
+
firstName?: string;
|
|
8
|
+
lastName?: string;
|
|
9
|
+
withTooltip?: boolean;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
image?: React.ReactNode;
|
|
12
|
+
tooltipPosition?: TooltipProps['position'];
|
|
13
|
+
}
|
|
14
|
+
export declare const SelectionAvatar: (props: SelectionAvatarProps) => JSX.Element;
|
|
15
|
+
export default SelectionAvatar;
|
package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatarsWrapper.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AvatarData } from "../AvatarSelection";
|
|
2
|
+
import { AvatarSize } from "../../../../common.type";
|
|
3
|
+
import { TooltipProps } from "../../../../index.type";
|
|
4
|
+
interface SelectionAvatarsWrapperProps {
|
|
5
|
+
size?: AvatarSize;
|
|
6
|
+
avatarList: AvatarData[];
|
|
7
|
+
avatarRenderer?: (data: AvatarData) => JSX.Element;
|
|
8
|
+
tooltipPosition?: TooltipProps['position'];
|
|
9
|
+
avatarStyle?: {
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
boxShadow?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare const SelectionAvatarsWrapper: (props: SelectionAvatarsWrapperProps) => JSX.Element;
|
|
15
|
+
export default SelectionAvatarsWrapper;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const handleKeyDown: (event: React.KeyboardEvent, setOpenPopover?: React.Dispatch<React.SetStateAction<boolean>> | undefined, setHighlightFirstItem?: React.Dispatch<React.SetStateAction<boolean>> | undefined, setHighlightLastItem?: React.Dispatch<React.SetStateAction<boolean>> | undefined) => void;
|
|
3
|
+
export declare const focusListItem: (position: string, setFocusedOption?: React.Dispatch<React.SetStateAction<HTMLElement | undefined>> | undefined, listRef?: any, withSearch?: boolean | undefined) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
import { PositionType } from "../../../common.type";
|
|
3
3
|
declare type ActionType = 'click' | 'hover';
|
|
4
4
|
declare type Offset = 'small' | 'medium' | 'large';
|
|
5
5
|
declare type PopperChildrenProps = {
|
|
@@ -29,6 +29,10 @@ export interface PopperWrapperProps {
|
|
|
29
29
|
open: string;
|
|
30
30
|
close: string;
|
|
31
31
|
};
|
|
32
|
+
triggerCoordinates?: {
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
};
|
|
32
36
|
}
|
|
33
37
|
interface PopperWrapperState {
|
|
34
38
|
zIndex?: number;
|
|
@@ -144,12 +148,12 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
144
148
|
boxDecorationBreak?: "slice" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clone" | undefined;
|
|
145
149
|
boxShadow?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined;
|
|
146
150
|
boxSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | undefined;
|
|
147
|
-
breakAfter?: "region" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
148
|
-
breakBefore?: "region" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
151
|
+
breakAfter?: "region" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "page" | "all" | "always" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | "column" | "recto" | "verso" | undefined;
|
|
152
|
+
breakBefore?: "region" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "page" | "all" | "always" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | "column" | "recto" | "verso" | undefined;
|
|
149
153
|
breakInside?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | undefined;
|
|
150
154
|
captionSide?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "top" | "bottom" | "block-end" | "block-start" | "inline-end" | "inline-start" | undefined;
|
|
151
155
|
caretColor?: (string & {}) | "white" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined;
|
|
152
|
-
clear?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
156
|
+
clear?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "both" | "inline-end" | "inline-start" | undefined;
|
|
153
157
|
clipPath?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined;
|
|
154
158
|
color?: (string & {}) | "white" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined;
|
|
155
159
|
colorAdjust?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact" | undefined;
|
|
@@ -178,7 +182,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
178
182
|
flexGrow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined;
|
|
179
183
|
flexShrink?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined;
|
|
180
184
|
flexWrap?: "wrap" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap-reverse" | undefined;
|
|
181
|
-
float?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
185
|
+
float?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "inline-end" | "inline-start" | undefined;
|
|
182
186
|
fontFamily?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "cursive" | "fantasy" | "monospace" | "sans-serif" | "serif" | undefined;
|
|
183
187
|
fontFeatureSettings?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined;
|
|
184
188
|
fontKerning?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | undefined;
|
|
@@ -225,10 +229,10 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
225
229
|
insetInlineEnd?: string | number | (string & {}) | undefined;
|
|
226
230
|
insetInlineStart?: string | number | (string & {}) | undefined;
|
|
227
231
|
isolation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "isolate" | undefined;
|
|
228
|
-
justifyContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
229
|
-
justifyItems?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
230
|
-
justifySelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
231
|
-
justifyTracks?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
232
|
+
justifyContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined;
|
|
233
|
+
justifyItems?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | "legacy" | undefined;
|
|
234
|
+
justifySelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined;
|
|
235
|
+
justifyTracks?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined;
|
|
232
236
|
left?: string | number | (string & {}) | undefined;
|
|
233
237
|
letterSpacing?: string | number | undefined;
|
|
234
238
|
lineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined;
|
|
@@ -312,8 +316,8 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
312
316
|
paddingLeft?: string | number | (string & {}) | undefined;
|
|
313
317
|
paddingRight?: string | number | (string & {}) | undefined;
|
|
314
318
|
paddingTop?: string | number | (string & {}) | undefined;
|
|
315
|
-
pageBreakAfter?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
316
|
-
pageBreakBefore?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
319
|
+
pageBreakAfter?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "always" | "avoid" | "recto" | "verso" | undefined;
|
|
320
|
+
pageBreakBefore?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "always" | "avoid" | "recto" | "verso" | undefined;
|
|
317
321
|
pageBreakInside?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "avoid" | undefined;
|
|
318
322
|
paintOrder?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "fill" | "markers" | "stroke" | undefined;
|
|
319
323
|
perspective?: string | number | undefined;
|
|
@@ -369,8 +373,8 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
369
373
|
shapeOutside?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "margin-box" | undefined;
|
|
370
374
|
tabSize?: string | number | (string & {}) | (number & {}) | undefined;
|
|
371
375
|
tableLayout?: "fixed" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined;
|
|
372
|
-
textAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
373
|
-
textAlignLast?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
376
|
+
textAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "end" | "justify" | "match-parent" | undefined;
|
|
377
|
+
textAlignLast?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "center" | "end" | "justify" | undefined;
|
|
374
378
|
textCombineUpright?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "all" | undefined;
|
|
375
379
|
textDecorationColor?: (string & {}) | "white" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined;
|
|
376
380
|
textDecorationLine?: "blink" | "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "grammar-error" | "line-through" | "overline" | "spelling-error" | "underline" | undefined;
|
|
@@ -391,7 +395,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
391
395
|
textSizeAdjust?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined;
|
|
392
396
|
textTransform?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined;
|
|
393
397
|
textUnderlineOffset?: string | number | (string & {}) | undefined;
|
|
394
|
-
textUnderlinePosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
398
|
+
textUnderlinePosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "from-font" | "under" | undefined;
|
|
395
399
|
top?: string | number | (string & {}) | undefined;
|
|
396
400
|
touchAction?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-ms-manipulation" | "-ms-none" | "-ms-pinch-zoom" | "manipulation" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom" | undefined;
|
|
397
401
|
transform?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined;
|
|
@@ -541,7 +545,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
541
545
|
msHyphenateLimitZone?: string | number | (string & {}) | undefined;
|
|
542
546
|
msHyphens?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "manual" | undefined;
|
|
543
547
|
msImeAlign?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "after" | undefined;
|
|
544
|
-
msJustifySelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
548
|
+
msJustifySelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined;
|
|
545
549
|
msLineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined;
|
|
546
550
|
msOrder?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined;
|
|
547
551
|
msOverflowStyle?: "none" | "scrollbar" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-ms-autohiding-scrollbar" | undefined;
|
|
@@ -631,7 +635,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
631
635
|
WebkitFontVariantLigatures?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | undefined;
|
|
632
636
|
WebkitHyphens?: "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "manual" | undefined;
|
|
633
637
|
WebkitInitialLetter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "normal" | undefined;
|
|
634
|
-
WebkitJustifyContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
638
|
+
WebkitJustifyContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined;
|
|
635
639
|
WebkitLineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined;
|
|
636
640
|
WebkitLineClamp?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined;
|
|
637
641
|
WebkitMarginEnd?: string | number | (string & {}) | undefined;
|
|
@@ -678,7 +682,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
678
682
|
WebkitTextSizeAdjust?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined;
|
|
679
683
|
WebkitTextStrokeColor?: (string & {}) | "white" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined;
|
|
680
684
|
WebkitTextStrokeWidth?: string | number | undefined;
|
|
681
|
-
WebkitTextUnderlinePosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
685
|
+
WebkitTextUnderlinePosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "from-font" | "under" | undefined;
|
|
682
686
|
WebkitTouchCallout?: "default" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined;
|
|
683
687
|
WebkitTransform?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined;
|
|
684
688
|
WebkitTransformOrigin?: string | number | (string & {}) | undefined;
|
|
@@ -715,7 +719,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
715
719
|
WebkitTextEmphasis?: "open" | "none" | (string & {}) | "filled" | "white" | "circle" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "dot" | "double-circle" | "sesame" | "triangle" | undefined;
|
|
716
720
|
WebkitTextStroke?: string | number | (string & {}) | undefined;
|
|
717
721
|
WebkitTransition?: "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined;
|
|
718
|
-
azimuth?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
722
|
+
azimuth?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "left" | "center" | "behind" | "center-left" | "center-right" | "far-left" | "far-right" | "left-side" | "leftwards" | "right-side" | "rightwards" | undefined;
|
|
719
723
|
boxAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "baseline" | undefined;
|
|
720
724
|
boxDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "reverse" | undefined;
|
|
721
725
|
boxFlex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined;
|
|
@@ -783,7 +787,7 @@ export declare class PopperWrapper extends React.Component<PopperWrapperProps, P
|
|
|
783
787
|
MozOutlineRadiusTopright?: string | number | (string & {}) | undefined;
|
|
784
788
|
MozOutlineStyle?: "hidden" | "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined;
|
|
785
789
|
MozOutlineWidth?: string | number | undefined;
|
|
786
|
-
MozTextAlignLast?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "
|
|
790
|
+
MozTextAlignLast?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "right" | "left" | "center" | "end" | "justify" | undefined;
|
|
787
791
|
MozTextDecorationColor?: (string & {}) | "white" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined;
|
|
788
792
|
MozTextDecorationLine?: "blink" | "none" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "grammar-error" | "line-through" | "overline" | "spelling-error" | "underline" | undefined;
|
|
789
793
|
MozTextDecorationStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "solid" | "wavy" | undefined;
|
|
@@ -7,16 +7,9 @@ export interface TextProps extends BaseProps, BaseHtmlProps<HTMLSpanElement> {
|
|
|
7
7
|
children: React.ReactText;
|
|
8
8
|
weight?: 'strong' | 'medium';
|
|
9
9
|
small?: boolean;
|
|
10
|
-
appearance
|
|
11
|
-
size
|
|
10
|
+
appearance?: TextAppearance;
|
|
11
|
+
size?: TextSize;
|
|
12
12
|
color?: TextColor;
|
|
13
13
|
}
|
|
14
|
-
export declare const Text:
|
|
15
|
-
(props: TextProps): JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
defaultProps: {
|
|
18
|
-
appearance: string;
|
|
19
|
-
size: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
14
|
+
export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
22
15
|
export default Text;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PopperWrapperProps } from "../../atoms/popperWrapper";
|
|
3
3
|
import { BaseProps } from "../../../utils/types";
|
|
4
|
-
|
|
4
|
+
import { PositionType as Position } from "../../../common.type";
|
|
5
5
|
export interface CustomStyle {
|
|
6
6
|
height?: number | string;
|
|
7
7
|
minHeight?: number | string;
|
|
@@ -25,6 +25,11 @@ export interface PopoverProps extends Pick<PopperWrapperProps, PopperProps>, Bas
|
|
|
25
25
|
open: string;
|
|
26
26
|
close: string;
|
|
27
27
|
};
|
|
28
|
+
name?: string;
|
|
29
|
+
triggerCoordinates?: {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
};
|
|
28
33
|
}
|
|
29
34
|
export declare const Popover: {
|
|
30
35
|
(props: PopoverProps): JSX.Element;
|
|
@@ -1,17 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { PopoverProps } from "../../../index.type";
|
|
2
3
|
import { BaseProps } from "../../../utils/types";
|
|
4
|
+
declare type Position = 'top-start' | 'top' | 'top-end' | 'right' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left';
|
|
3
5
|
declare const tooltipPropsList: readonly ["trigger", "on", "open", "offset", "onToggle", "dark", "customStyle", "closeOnBackdropClick", "hideOnReferenceEscape", "closeOnScroll"];
|
|
4
6
|
declare type TooltipPopperProps = typeof tooltipPropsList[number];
|
|
5
7
|
export interface TooltipProps extends Omit<PopoverProps, TooltipPopperProps>, BaseProps {
|
|
6
8
|
tooltip: string;
|
|
7
9
|
showTooltip?: boolean;
|
|
8
10
|
children: PopoverProps['trigger'];
|
|
11
|
+
position: Position;
|
|
12
|
+
showOnTruncation?: boolean;
|
|
13
|
+
elementRef?: React.RefObject<HTMLElement>;
|
|
9
14
|
}
|
|
15
|
+
export declare const detectTruncation: (boundaryRef: React.RefObject<HTMLElement>) => boolean;
|
|
10
16
|
export declare const Tooltip: {
|
|
11
17
|
(props: TooltipProps): JSX.Element;
|
|
18
|
+
useAutoTooltip(): {
|
|
19
|
+
detectTruncation: (boundaryRef: React.RefObject<HTMLElement>) => boolean;
|
|
20
|
+
};
|
|
12
21
|
defaultProps: Record<string, any> & {
|
|
13
22
|
hoverable: boolean;
|
|
14
23
|
showTooltip: boolean;
|
|
24
|
+
showOnTruncation: boolean;
|
|
15
25
|
};
|
|
16
26
|
};
|
|
17
27
|
export default Tooltip;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps } from "../../../utils/types";
|
|
3
|
+
import { OptionType, IconType } from "../../../common.type";
|
|
4
|
+
import { ContextProps } from "./ComboboxContext";
|
|
5
|
+
export declare type ComboboxInputSize = 'tiny' | 'regular' | 'large';
|
|
6
|
+
export interface ComboboxProps extends BaseProps {
|
|
7
|
+
multiSelect?: boolean;
|
|
8
|
+
children: React.ReactNode | ((contextProp: ContextProps) => React.ReactNode);
|
|
9
|
+
maxHeight?: number;
|
|
10
|
+
width?: number;
|
|
11
|
+
onChange?: (option?: OptionType | OptionType[]) => void;
|
|
12
|
+
onSearch?: (value?: string) => void;
|
|
13
|
+
value?: OptionType;
|
|
14
|
+
chipValue?: OptionType[];
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
onClear?: (event: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>) => void;
|
|
21
|
+
icon?: string;
|
|
22
|
+
iconType?: IconType;
|
|
23
|
+
size?: ComboboxInputSize;
|
|
24
|
+
clearButton?: boolean;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const Combobox: {
|
|
28
|
+
(props: ComboboxProps): JSX.Element;
|
|
29
|
+
List: {
|
|
30
|
+
(props: import("./ComboboxList").ComboboxListProps): JSX.Element;
|
|
31
|
+
defaultProps: {
|
|
32
|
+
type: string;
|
|
33
|
+
showDivider: boolean;
|
|
34
|
+
tagName: string;
|
|
35
|
+
size: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
Option: {
|
|
39
|
+
(props: import("./ComboboxOption").ComboboxOptionProps): JSX.Element;
|
|
40
|
+
defaultProps: {
|
|
41
|
+
tagName: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default Combobox;
|