ingred-ui 7.34.1 → 9.0.2
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/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +20 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +5 -2
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +14 -2
- package/dist/components/Checkbox/Checkbox.d.ts +5 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -1
- package/dist/components/ConfirmModal/ConfirmModal.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/CreatableSelect/CreatableSelect.d.ts +95 -4
- package/dist/components/CreatableSelect/CreatableSelect.stories.d.ts +90 -1
- package/dist/components/DataTable/DataTable.d.ts +5 -2
- package/dist/components/DataTable/DataTable.stories.d.ts +4 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts +4 -1
- package/dist/components/DropdownButton/DropdownButton.d.ts +2 -1
- package/dist/components/DropdownButton/DropdownButton.stories.d.ts +1 -1
- package/dist/components/DropdownButton/styled.d.ts +30 -3
- package/dist/components/ErrorText/ErrorText.d.ts +1 -1
- package/dist/components/FileUploader/FileUploader.d.ts +1 -1
- package/dist/components/FileUploader/FileUploader.stories.d.ts +1 -1
- package/dist/components/FixedPanel/FixedPanel.d.ts +2 -1
- package/dist/components/FloatingTip/FloatingTip.d.ts +1 -1
- package/dist/components/FloatingTip/FloatingTip.stories.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/components/ItemEmpty/ItemEmpty.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts +26 -1
- package/dist/components/MenuList/index.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/MultipleFilter/MultipleFilter.d.ts +1 -1
- package/dist/components/MultipleFilter/MultipleFilter.stories.d.ts +1 -1
- package/dist/components/NavigationRail/ExpantionMenu/ExpantionMenu.d.ts +24 -1
- package/dist/components/NavigationRail/ExpantionMenuItem/ExpantionMenuItem.d.ts +15 -1
- package/dist/components/NavigationRail/Fixture/Fixture.d.ts +1 -1
- package/dist/components/NavigationRail/MainContent/MainContent.d.ts +1 -1
- package/dist/components/NavigationRail/Menu/Menu.d.ts +12 -1
- package/dist/components/NavigationRail/NavigationRail.d.ts +21 -17
- package/dist/components/NavigationRail/NavigationRailContainer/NavigationRailContainer.d.ts +1 -1
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +1 -1
- package/dist/components/NotificationBadge/NotificationBadge.stories.d.ts +1 -1
- package/dist/components/Pager/Pager.d.ts +1 -1
- package/dist/components/Pager/Pager.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +17 -1
- package/dist/components/RadioButton/RadioButton.d.ts +6 -5
- package/dist/components/RadioButton/RadioButton.stories.d.ts +8 -2
- package/dist/components/Select/Select.d.ts +93 -4
- package/dist/components/Select/Select.stories.d.ts +90 -1
- package/dist/components/Select/internal/ClearIndicator/ClearIndicator.d.ts +2 -2
- package/dist/components/Select/internal/MultiValueRemove/MultiValueRemove.d.ts +3 -3
- package/dist/components/Snackbar/Snackbar.d.ts +2 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/SplitAnnotation/SplitAnnotation.d.ts +2 -2
- package/dist/components/SplitAnnotation/SplitAnnotation.stories.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.stories.d.ts +1 -1
- package/dist/components/Table/Body.d.ts +2 -2
- package/dist/components/Table/Cell.d.ts +4 -1
- package/dist/components/Table/Header.d.ts +4 -2
- package/dist/components/Table/HeaderCell.d.ts +4 -1
- package/dist/components/Table/Row.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +15 -9
- package/dist/components/Table/Table.stories.d.ts +29 -11
- package/dist/components/TextField/TextField.d.ts +1 -1
- package/dist/components/TextField/TextField.stories.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +19 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +13 -1
- package/dist/hooks/useMergeRefs.d.ts +2 -2
- package/dist/index.es.js +831 -1047
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1104 -1322
- package/dist/index.js.map +1 -1
- package/package.json +30 -32
- package/CHANGELOG.md +0 -1806
|
@@ -8,5 +8,5 @@ export declare type BadgeProps = React.ComponentPropsWithoutRef<"a" | "span"> &
|
|
|
8
8
|
fontWeight?: string;
|
|
9
9
|
component?: "span" | "a";
|
|
10
10
|
};
|
|
11
|
-
declare const Badge: React.
|
|
11
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLAnchorElement | HTMLSpanElement>>;
|
|
12
12
|
export default Badge;
|
|
@@ -38,5 +38,24 @@ export declare type ButtonProps = Omit<BaseButtonProps, "color"> & {
|
|
|
38
38
|
*/
|
|
39
39
|
href?: string;
|
|
40
40
|
};
|
|
41
|
-
declare const Button: React.
|
|
41
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>>, "color"> & {
|
|
42
|
+
/**
|
|
43
|
+
* The component used for the root node.
|
|
44
|
+
* Default: `<button />`
|
|
45
|
+
*/
|
|
46
|
+
component?: keyof JSX.IntrinsicElements | React.ComponentType<{
|
|
47
|
+
className: string;
|
|
48
|
+
}> | undefined;
|
|
49
|
+
color?: ButtonColor | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Control whether "inline" or "block" Element.
|
|
52
|
+
*/
|
|
53
|
+
inline?: boolean | undefined;
|
|
54
|
+
size?: ButtonSize | undefined;
|
|
55
|
+
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* If added this props, root node becomes `<a />`.
|
|
58
|
+
*/
|
|
59
|
+
href?: string | undefined;
|
|
60
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
42
61
|
export default Button;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ButtonSize } from "../Button/Button";
|
|
3
3
|
declare type GroupButtonSize = Exclude<ButtonSize, "large">;
|
|
4
|
-
export declare type ButtonGroupProps = {
|
|
4
|
+
export declare type ButtonGroupProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
5
5
|
size?: GroupButtonSize;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const ButtonGroup: React.
|
|
8
|
+
declare const ButtonGroup: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
9
|
+
size?: GroupButtonSize | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
12
|
export default ButtonGroup;
|
|
@@ -3,9 +3,21 @@ import { Story } from "@storybook/react/types-6-0";
|
|
|
3
3
|
import { ButtonGroupProps } from "./ButtonGroup";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
7
|
+
size?: ("small" | "medium") | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
7
10
|
subcomponents: {
|
|
8
|
-
Button: React.
|
|
11
|
+
Button: React.ForwardRefExoticComponent<Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>>, "color"> & {
|
|
12
|
+
component?: keyof JSX.IntrinsicElements | React.ComponentType<{
|
|
13
|
+
className: string;
|
|
14
|
+
}> | undefined;
|
|
15
|
+
color?: import("../Button/Button").ButtonColor | undefined;
|
|
16
|
+
inline?: boolean | undefined;
|
|
17
|
+
size?: import("../Button/Button").ButtonSize | undefined;
|
|
18
|
+
onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
19
|
+
href?: string | undefined;
|
|
20
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
9
21
|
};
|
|
10
22
|
};
|
|
11
23
|
export default _default;
|
|
@@ -4,5 +4,9 @@ export declare type CheckBoxProps = React.ComponentPropsWithoutRef<"input"> & {
|
|
|
4
4
|
error?: boolean;
|
|
5
5
|
inputRef?: React.Ref<HTMLInputElement>;
|
|
6
6
|
};
|
|
7
|
-
declare const Checkbox: React.
|
|
7
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
8
|
+
indeterminate?: boolean | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
inputRef?: React.Ref<HTMLInputElement> | undefined;
|
|
11
|
+
} & React.RefAttributes<HTMLLabelElement>>;
|
|
8
12
|
export default Checkbox;
|
|
@@ -3,7 +3,11 @@ import { Story } from "@storybook/react/types-6-0";
|
|
|
3
3
|
import { CheckBoxProps } from "./Checkbox";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
7
|
+
indeterminate?: boolean | undefined;
|
|
8
|
+
error?: boolean | undefined;
|
|
9
|
+
inputRef?: React.Ref<HTMLInputElement> | undefined;
|
|
10
|
+
} & React.RefAttributes<HTMLLabelElement>>;
|
|
7
11
|
argTypes: {
|
|
8
12
|
onChange: {
|
|
9
13
|
action: string;
|
|
@@ -53,5 +53,5 @@ export declare type ConfirmModalProps = {
|
|
|
53
53
|
fadeProps?: CSSTransitionProps;
|
|
54
54
|
children?: React.ReactNode;
|
|
55
55
|
};
|
|
56
|
-
declare const ConfirmModal: React.
|
|
56
|
+
declare const ConfirmModal: React.ForwardRefExoticComponent<ConfirmModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
57
57
|
export default ConfirmModal;
|
|
@@ -22,5 +22,5 @@ export declare type ContextMenuProps = {
|
|
|
22
22
|
*/
|
|
23
23
|
menuProps?: Partial<MenuProps>;
|
|
24
24
|
};
|
|
25
|
-
declare const ContextMenu: React.
|
|
25
|
+
declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuProps & React.RefAttributes<HTMLButtonElement>>;
|
|
26
26
|
export default ContextMenu;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { CreatableProps } from "react-select/creatable";
|
|
3
|
+
import { GroupBase } from "react-select/dist/declarations/src/types";
|
|
3
4
|
import { OptionType } from "../Select";
|
|
4
5
|
export declare type CreatableSelectProps<T> = {
|
|
5
6
|
limit?: number;
|
|
@@ -8,6 +9,96 @@ export declare type CreatableSelectProps<T> = {
|
|
|
8
9
|
error?: boolean;
|
|
9
10
|
emptyMessage?: string;
|
|
10
11
|
addMessage?: string;
|
|
11
|
-
} &
|
|
12
|
-
declare const CreatableSelect: <T>(inProps: CreatableSelectProps<T>) => React.ReactElement<CreatableSelectProps<T>, string | React.JSXElementConstructor<any>>;
|
|
13
|
-
|
|
12
|
+
} & CreatableProps<OptionType<T>, boolean, GroupBase<OptionType<T>>>;
|
|
13
|
+
declare const CreatableSelect: <T>(inProps: CreatableSelectProps<T>, ref: React.Ref<HTMLDivElement>) => React.ReactElement<CreatableSelectProps<T>, string | React.JSXElementConstructor<any>>;
|
|
14
|
+
declare const _default: <T>(props: {
|
|
15
|
+
limit?: number | undefined;
|
|
16
|
+
minWidth?: string | undefined;
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
error?: boolean | undefined;
|
|
19
|
+
emptyMessage?: string | undefined;
|
|
20
|
+
addMessage?: string | undefined;
|
|
21
|
+
} & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<OptionType<T>, boolean, GroupBase<OptionType<T>>>, "form" | "theme" | "name" | "autoFocus" | "value" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<OptionType<T>, boolean, GroupBase<OptionType<T>>>, "placeholder" | "tabIndex" | "aria-live" | "styles" | "options" | "menuIsOpen" | "isDisabled" | "isMulti" | "isRtl" | "loadingMessage" | "noOptionsMessage" | "backspaceRemovesValue" | "blurInputOnSelect" | "captureMenuScroll" | "closeMenuOnSelect" | "closeMenuOnScroll" | "components" | "controlShouldRenderValue" | "escapeClearsValue" | "filterOption" | "formatGroupLabel" | "getOptionLabel" | "getOptionValue" | "isLoading" | "isOptionDisabled" | "isSearchable" | "minMenuHeight" | "maxMenuHeight" | "menuPlacement" | "menuPosition" | "menuShouldBlockScroll" | "menuShouldScrollIntoView" | "openMenuOnFocus" | "openMenuOnClick" | "pageSize" | "screenReaderStatus" | "tabSelectsValue">> & Partial<Pick<{
|
|
22
|
+
'aria-live': string;
|
|
23
|
+
backspaceRemovesValue: boolean;
|
|
24
|
+
blurInputOnSelect: boolean;
|
|
25
|
+
captureMenuScroll: boolean;
|
|
26
|
+
closeMenuOnSelect: boolean;
|
|
27
|
+
closeMenuOnScroll: boolean;
|
|
28
|
+
components: {};
|
|
29
|
+
controlShouldRenderValue: boolean;
|
|
30
|
+
escapeClearsValue: boolean;
|
|
31
|
+
filterOption: (option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, rawInput: string) => boolean;
|
|
32
|
+
formatGroupLabel: <Option_1, Group_1 extends GroupBase<Option_1>>(group: Group_1) => string;
|
|
33
|
+
getOptionLabel: <Option_2>(option: Option_2) => string;
|
|
34
|
+
getOptionValue: <Option_3>(option: Option_3) => string;
|
|
35
|
+
isDisabled: boolean;
|
|
36
|
+
isLoading: boolean;
|
|
37
|
+
isMulti: boolean;
|
|
38
|
+
isRtl: boolean;
|
|
39
|
+
isSearchable: boolean;
|
|
40
|
+
isOptionDisabled: <Option_4>(option: Option_4) => boolean;
|
|
41
|
+
loadingMessage: () => string;
|
|
42
|
+
maxMenuHeight: number;
|
|
43
|
+
minMenuHeight: number;
|
|
44
|
+
menuIsOpen: boolean;
|
|
45
|
+
menuPlacement: string;
|
|
46
|
+
menuPosition: string;
|
|
47
|
+
menuShouldBlockScroll: boolean;
|
|
48
|
+
menuShouldScrollIntoView: boolean;
|
|
49
|
+
noOptionsMessage: () => string;
|
|
50
|
+
openMenuOnFocus: boolean;
|
|
51
|
+
openMenuOnClick: boolean;
|
|
52
|
+
options: never[];
|
|
53
|
+
pageSize: number;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
screenReaderStatus: ({ count }: {
|
|
56
|
+
count: number;
|
|
57
|
+
}) => string;
|
|
58
|
+
styles: {};
|
|
59
|
+
tabIndex: number;
|
|
60
|
+
tabSelectsValue: boolean;
|
|
61
|
+
}, never>>, "value" | "onChange" | "menuIsOpen" | "inputValue" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<OptionType<T>, boolean, GroupBase<OptionType<T>>>, "form" | "theme" | "name" | "autoFocus" | "value" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<OptionType<T>, boolean, GroupBase<OptionType<T>>>, "placeholder" | "tabIndex" | "aria-live" | "styles" | "options" | "menuIsOpen" | "isDisabled" | "isMulti" | "isRtl" | "loadingMessage" | "noOptionsMessage" | "backspaceRemovesValue" | "blurInputOnSelect" | "captureMenuScroll" | "closeMenuOnSelect" | "closeMenuOnScroll" | "components" | "controlShouldRenderValue" | "escapeClearsValue" | "filterOption" | "formatGroupLabel" | "getOptionLabel" | "getOptionValue" | "isLoading" | "isOptionDisabled" | "isSearchable" | "minMenuHeight" | "maxMenuHeight" | "menuPlacement" | "menuPosition" | "menuShouldBlockScroll" | "menuShouldScrollIntoView" | "openMenuOnFocus" | "openMenuOnClick" | "pageSize" | "screenReaderStatus" | "tabSelectsValue">> & Partial<Pick<{
|
|
62
|
+
'aria-live': string;
|
|
63
|
+
backspaceRemovesValue: boolean;
|
|
64
|
+
blurInputOnSelect: boolean;
|
|
65
|
+
captureMenuScroll: boolean;
|
|
66
|
+
closeMenuOnSelect: boolean;
|
|
67
|
+
closeMenuOnScroll: boolean;
|
|
68
|
+
components: {};
|
|
69
|
+
controlShouldRenderValue: boolean;
|
|
70
|
+
escapeClearsValue: boolean;
|
|
71
|
+
filterOption: (option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, rawInput: string) => boolean;
|
|
72
|
+
formatGroupLabel: <Option_1, Group_1 extends GroupBase<Option_1>>(group: Group_1) => string;
|
|
73
|
+
getOptionLabel: <Option_2>(option: Option_2) => string;
|
|
74
|
+
getOptionValue: <Option_3>(option: Option_3) => string;
|
|
75
|
+
isDisabled: boolean;
|
|
76
|
+
isLoading: boolean;
|
|
77
|
+
isMulti: boolean;
|
|
78
|
+
isRtl: boolean;
|
|
79
|
+
isSearchable: boolean;
|
|
80
|
+
isOptionDisabled: <Option_4>(option: Option_4) => boolean;
|
|
81
|
+
loadingMessage: () => string;
|
|
82
|
+
maxMenuHeight: number;
|
|
83
|
+
minMenuHeight: number;
|
|
84
|
+
menuIsOpen: boolean;
|
|
85
|
+
menuPlacement: string;
|
|
86
|
+
menuPosition: string;
|
|
87
|
+
menuShouldBlockScroll: boolean;
|
|
88
|
+
menuShouldScrollIntoView: boolean;
|
|
89
|
+
noOptionsMessage: () => string;
|
|
90
|
+
openMenuOnFocus: boolean;
|
|
91
|
+
openMenuOnClick: boolean;
|
|
92
|
+
options: never[];
|
|
93
|
+
pageSize: number;
|
|
94
|
+
placeholder: string;
|
|
95
|
+
screenReaderStatus: ({ count }: {
|
|
96
|
+
count: number;
|
|
97
|
+
}) => string;
|
|
98
|
+
styles: {};
|
|
99
|
+
tabIndex: number;
|
|
100
|
+
tabSelectsValue: boolean;
|
|
101
|
+
}, never>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionType<T>> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<OptionType<T>, GroupBase<OptionType<T>>> & {
|
|
102
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
103
|
+
}) => ReturnType<typeof CreatableSelect>;
|
|
104
|
+
export default _default;
|
|
@@ -1,7 +1,96 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: <T>(
|
|
4
|
+
component: <T>(props: {
|
|
5
|
+
limit?: number | undefined;
|
|
6
|
+
minWidth?: string | undefined;
|
|
7
|
+
placeholder?: string | undefined;
|
|
8
|
+
error?: boolean | undefined;
|
|
9
|
+
emptyMessage?: string | undefined;
|
|
10
|
+
addMessage?: string | undefined;
|
|
11
|
+
} & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>>, "form" | "theme" | "name" | "autoFocus" | "value" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>>, "placeholder" | "tabIndex" | "aria-live" | "styles" | "options" | "menuIsOpen" | "isDisabled" | "isMulti" | "isRtl" | "loadingMessage" | "noOptionsMessage" | "backspaceRemovesValue" | "blurInputOnSelect" | "captureMenuScroll" | "closeMenuOnSelect" | "closeMenuOnScroll" | "components" | "controlShouldRenderValue" | "escapeClearsValue" | "filterOption" | "formatGroupLabel" | "getOptionLabel" | "getOptionValue" | "isLoading" | "isOptionDisabled" | "isSearchable" | "minMenuHeight" | "maxMenuHeight" | "menuPlacement" | "menuPosition" | "menuShouldBlockScroll" | "menuShouldScrollIntoView" | "openMenuOnFocus" | "openMenuOnClick" | "pageSize" | "screenReaderStatus" | "tabSelectsValue">> & Partial<Pick<{
|
|
12
|
+
'aria-live': string;
|
|
13
|
+
backspaceRemovesValue: boolean;
|
|
14
|
+
blurInputOnSelect: boolean;
|
|
15
|
+
captureMenuScroll: boolean;
|
|
16
|
+
closeMenuOnSelect: boolean;
|
|
17
|
+
closeMenuOnScroll: boolean;
|
|
18
|
+
components: {};
|
|
19
|
+
controlShouldRenderValue: boolean;
|
|
20
|
+
escapeClearsValue: boolean;
|
|
21
|
+
filterOption: (option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, rawInput: string) => boolean;
|
|
22
|
+
formatGroupLabel: <Option_1, Group_1 extends import("react-select").GroupBase<Option_1>>(group: Group_1) => string;
|
|
23
|
+
getOptionLabel: <Option_2>(option: Option_2) => string;
|
|
24
|
+
getOptionValue: <Option_3>(option: Option_3) => string;
|
|
25
|
+
isDisabled: boolean;
|
|
26
|
+
isLoading: boolean;
|
|
27
|
+
isMulti: boolean;
|
|
28
|
+
isRtl: boolean;
|
|
29
|
+
isSearchable: boolean;
|
|
30
|
+
isOptionDisabled: <Option_4>(option: Option_4) => boolean;
|
|
31
|
+
loadingMessage: () => string;
|
|
32
|
+
maxMenuHeight: number;
|
|
33
|
+
minMenuHeight: number;
|
|
34
|
+
menuIsOpen: boolean;
|
|
35
|
+
menuPlacement: string;
|
|
36
|
+
menuPosition: string;
|
|
37
|
+
menuShouldBlockScroll: boolean;
|
|
38
|
+
menuShouldScrollIntoView: boolean;
|
|
39
|
+
noOptionsMessage: () => string;
|
|
40
|
+
openMenuOnFocus: boolean;
|
|
41
|
+
openMenuOnClick: boolean;
|
|
42
|
+
options: never[];
|
|
43
|
+
pageSize: number;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
screenReaderStatus: ({ count }: {
|
|
46
|
+
count: number;
|
|
47
|
+
}) => string;
|
|
48
|
+
styles: {};
|
|
49
|
+
tabIndex: number;
|
|
50
|
+
tabSelectsValue: boolean;
|
|
51
|
+
}, never>>, "value" | "onChange" | "menuIsOpen" | "inputValue" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>>, "form" | "theme" | "name" | "autoFocus" | "value" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>>, "placeholder" | "tabIndex" | "aria-live" | "styles" | "options" | "menuIsOpen" | "isDisabled" | "isMulti" | "isRtl" | "loadingMessage" | "noOptionsMessage" | "backspaceRemovesValue" | "blurInputOnSelect" | "captureMenuScroll" | "closeMenuOnSelect" | "closeMenuOnScroll" | "components" | "controlShouldRenderValue" | "escapeClearsValue" | "filterOption" | "formatGroupLabel" | "getOptionLabel" | "getOptionValue" | "isLoading" | "isOptionDisabled" | "isSearchable" | "minMenuHeight" | "maxMenuHeight" | "menuPlacement" | "menuPosition" | "menuShouldBlockScroll" | "menuShouldScrollIntoView" | "openMenuOnFocus" | "openMenuOnClick" | "pageSize" | "screenReaderStatus" | "tabSelectsValue">> & Partial<Pick<{
|
|
52
|
+
'aria-live': string;
|
|
53
|
+
backspaceRemovesValue: boolean;
|
|
54
|
+
blurInputOnSelect: boolean;
|
|
55
|
+
captureMenuScroll: boolean;
|
|
56
|
+
closeMenuOnSelect: boolean;
|
|
57
|
+
closeMenuOnScroll: boolean;
|
|
58
|
+
components: {};
|
|
59
|
+
controlShouldRenderValue: boolean;
|
|
60
|
+
escapeClearsValue: boolean;
|
|
61
|
+
filterOption: (option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, rawInput: string) => boolean;
|
|
62
|
+
formatGroupLabel: <Option_1, Group_1 extends import("react-select").GroupBase<Option_1>>(group: Group_1) => string;
|
|
63
|
+
getOptionLabel: <Option_2>(option: Option_2) => string;
|
|
64
|
+
getOptionValue: <Option_3>(option: Option_3) => string;
|
|
65
|
+
isDisabled: boolean;
|
|
66
|
+
isLoading: boolean;
|
|
67
|
+
isMulti: boolean;
|
|
68
|
+
isRtl: boolean;
|
|
69
|
+
isSearchable: boolean;
|
|
70
|
+
isOptionDisabled: <Option_4>(option: Option_4) => boolean;
|
|
71
|
+
loadingMessage: () => string;
|
|
72
|
+
maxMenuHeight: number;
|
|
73
|
+
minMenuHeight: number;
|
|
74
|
+
menuIsOpen: boolean;
|
|
75
|
+
menuPlacement: string;
|
|
76
|
+
menuPosition: string;
|
|
77
|
+
menuShouldBlockScroll: boolean;
|
|
78
|
+
menuShouldScrollIntoView: boolean;
|
|
79
|
+
noOptionsMessage: () => string;
|
|
80
|
+
openMenuOnFocus: boolean;
|
|
81
|
+
openMenuOnClick: boolean;
|
|
82
|
+
options: never[];
|
|
83
|
+
pageSize: number;
|
|
84
|
+
placeholder: string;
|
|
85
|
+
screenReaderStatus: ({ count }: {
|
|
86
|
+
count: number;
|
|
87
|
+
}) => string;
|
|
88
|
+
styles: {};
|
|
89
|
+
tabIndex: number;
|
|
90
|
+
tabSelectsValue: boolean;
|
|
91
|
+
}, never>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<import("..").OptionType<T>> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<import("..").OptionType<T>, import("react-select").GroupBase<import("..").OptionType<T>>> & {
|
|
92
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
93
|
+
}) => React.ReactElement<import("./CreatableSelect").CreatableSelectProps<unknown>, string | React.JSXElementConstructor<any>>;
|
|
5
94
|
source: {
|
|
6
95
|
type: string;
|
|
7
96
|
};
|
|
@@ -101,5 +101,8 @@ export declare type DataTableProps<T> = {
|
|
|
101
101
|
labelRowsPerPage?: string;
|
|
102
102
|
labelDisplayedRows?: LabelDisplayRows;
|
|
103
103
|
};
|
|
104
|
-
declare const DataTable: <T extends DataTableBaseData>({ data: sourceData, columns, enablePagination, onSelectRowsChange, onRadioChange, clearSelectedRows, tabs, itemEmptyProps, per, defaultSortField, defaultSortOrder, defaultSelectedRows, defaultSelectedRow, enableRuledLine, verticalSpacing, fullWidth, disableCheckWhenClickRow, tableMaxHeight, horizontalScrollable, labelRowsPerPage, labelDisplayedRows, }: DataTableProps<T>) => JSX.Element;
|
|
105
|
-
|
|
104
|
+
declare const DataTable: <T extends DataTableBaseData>({ data: sourceData, columns, enablePagination, onSelectRowsChange, onRadioChange, clearSelectedRows, tabs, itemEmptyProps, per, defaultSortField, defaultSortOrder, defaultSelectedRows, defaultSelectedRow, enableRuledLine, verticalSpacing, fullWidth, disableCheckWhenClickRow, tableMaxHeight, horizontalScrollable, labelRowsPerPage, labelDisplayedRows, }: DataTableProps<T>, ref?: React.ForwardedRef<HTMLDivElement> | undefined) => JSX.Element;
|
|
105
|
+
declare const _default: <T>(props: DataTableProps<T> & {
|
|
106
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
107
|
+
}) => ReturnType<typeof DataTable>;
|
|
108
|
+
export default _default;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { DataTableProps } from "./DataTable";
|
|
2
3
|
import { Story } from "@storybook/react/types-6-0";
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
|
-
component: <T
|
|
6
|
+
component: <T>(props: DataTableProps<T> & {
|
|
7
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
6
9
|
parameters: {
|
|
7
10
|
docs: {
|
|
8
11
|
source: {
|
|
@@ -7,5 +7,5 @@ export declare type DatePickerProps = Partial<Omit<SingleDatePickerShape, "date"
|
|
|
7
7
|
onDateChange: (date: moment.Moment | null) => void;
|
|
8
8
|
error?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const DatePicker: React.
|
|
10
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export default DatePicker;
|
|
@@ -11,5 +11,5 @@ export declare type DateRangePickerProps = Partial<DateRangePickerShape> & {
|
|
|
11
11
|
}) => void;
|
|
12
12
|
error?: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const DateRangePicker: React.
|
|
14
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
export default DateRangePicker;
|
|
@@ -4,5 +4,8 @@ export declare type DividerProps = SpacerProps & {
|
|
|
4
4
|
color?: string;
|
|
5
5
|
orientation?: "vertical" | "horizontal";
|
|
6
6
|
};
|
|
7
|
-
declare const Divider: React.
|
|
7
|
+
declare const Divider: React.ForwardRefExoticComponent<SpacerProps & {
|
|
8
|
+
color?: string | undefined;
|
|
9
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
10
|
+
} & React.RefAttributes<HTMLHRElement>>;
|
|
8
11
|
export default Divider;
|
|
@@ -20,6 +20,7 @@ export declare type DropdownButtonProps = {
|
|
|
20
20
|
positionPriority?: PopperJS.Placement[];
|
|
21
21
|
menuMaxHeight?: MenuProps["maxHeight"];
|
|
22
22
|
menuProps?: Partial<MenuProps>;
|
|
23
|
+
children?: React.ReactNode;
|
|
23
24
|
};
|
|
24
|
-
declare const DropdownButton: React.
|
|
25
|
+
declare const DropdownButton: React.ForwardRefExoticComponent<DropdownButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
26
|
export default DropdownButton;
|
|
@@ -3,7 +3,7 @@ import { DropdownButtonProps } from "./";
|
|
|
3
3
|
import { Story } from "@storybook/react/types-6-0";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<DropdownButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const Example: Story<DropdownButtonProps>;
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ButtonContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const MainButton: import("styled-components").StyledComponent<import("react").
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare const MainButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "color"> & {
|
|
4
|
+
component?: keyof JSX.IntrinsicElements | import("react").ComponentType<{
|
|
5
|
+
className: string;
|
|
6
|
+
}> | undefined;
|
|
7
|
+
color?: import("../Button/Button").ButtonColor | undefined;
|
|
8
|
+
inline?: boolean | undefined;
|
|
9
|
+
size?: import("../Button/Button").ButtonSize | undefined;
|
|
10
|
+
onClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
11
|
+
href?: string | undefined;
|
|
12
|
+
} & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const SplitToggle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "color"> & {
|
|
14
|
+
component?: keyof JSX.IntrinsicElements | import("react").ComponentType<{
|
|
15
|
+
className: string;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
color?: import("../Button/Button").ButtonColor | undefined;
|
|
18
|
+
inline?: boolean | undefined;
|
|
19
|
+
size?: import("../Button/Button").ButtonSize | undefined;
|
|
20
|
+
onClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
21
|
+
href?: string | undefined;
|
|
22
|
+
} & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
23
|
+
export declare const SingleButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "color"> & {
|
|
24
|
+
component?: keyof JSX.IntrinsicElements | import("react").ComponentType<{
|
|
25
|
+
className: string;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
color?: import("../Button/Button").ButtonColor | undefined;
|
|
28
|
+
inline?: boolean | undefined;
|
|
29
|
+
size?: import("../Button/Button").ButtonSize | undefined;
|
|
30
|
+
onClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
31
|
+
href?: string | undefined;
|
|
32
|
+
} & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -2,5 +2,5 @@ import * as React from "react";
|
|
|
2
2
|
export declare type ErrorTextProps = {
|
|
3
3
|
children: string;
|
|
4
4
|
};
|
|
5
|
-
declare const ErrorText: React.
|
|
5
|
+
declare const ErrorText: React.ForwardRefExoticComponent<ErrorTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export default ErrorText;
|
|
@@ -10,5 +10,5 @@ export declare type FileUploaderProps = {
|
|
|
10
10
|
width?: Property.Width;
|
|
11
11
|
onSelectFiles: (event: React.DragEvent<HTMLElement> | React.ChangeEvent<HTMLElement>, files: FileList | null) => void;
|
|
12
12
|
};
|
|
13
|
-
declare const FileUploader: React.
|
|
13
|
+
declare const FileUploader: React.ForwardRefExoticComponent<FileUploaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default FileUploader;
|
|
@@ -3,7 +3,7 @@ import { Story } from "@storybook/react/types-6-0";
|
|
|
3
3
|
import { FileUploaderProps } from "./index";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<FileUploaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
argTypes: {
|
|
8
8
|
onSelectFiles: {
|
|
9
9
|
action: string;
|
|
@@ -10,6 +10,7 @@ export declare type FixedPanelProps = {
|
|
|
10
10
|
* Define distance from top/bottom.
|
|
11
11
|
*/
|
|
12
12
|
offset?: number;
|
|
13
|
+
children?: React.ReactNode;
|
|
13
14
|
};
|
|
14
|
-
declare const FixedPanel: React.
|
|
15
|
+
declare const FixedPanel: React.ForwardRefExoticComponent<FixedPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
16
|
export default FixedPanel;
|
|
@@ -16,5 +16,5 @@ export declare type FloatingTipProps = {
|
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
onClose?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: ModalCloseReason | FloatingTipCloseReason) => void;
|
|
18
18
|
};
|
|
19
|
-
declare const FloatingTip: React.
|
|
19
|
+
declare const FloatingTip: React.ForwardRefExoticComponent<FloatingTipProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export default FloatingTip;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { FloatingTipProps } from "./FloatingTip";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: React.
|
|
5
|
+
component: React.ForwardRefExoticComponent<FloatingTipProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Sample: React.FunctionComponent<FloatingTipProps>;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { Props } from "./Icon";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: React.
|
|
5
|
+
component: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
args: {
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
@@ -5,5 +5,5 @@ export declare type ItemEmptyProps = {
|
|
|
5
5
|
emptyImage?: string;
|
|
6
6
|
imageWidth?: number;
|
|
7
7
|
};
|
|
8
|
-
declare const ItemEmpty: React.
|
|
8
|
+
declare const ItemEmpty: React.ForwardRefExoticComponent<ItemEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default ItemEmpty;
|
|
@@ -29,5 +29,30 @@ export declare type MenuProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
|
29
29
|
*/
|
|
30
30
|
menuListProps?: Partial<MenuListProps>;
|
|
31
31
|
};
|
|
32
|
-
declare const Menu: React.
|
|
32
|
+
declare const Menu: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
33
|
+
isOpen?: boolean | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Basis of `<Menu />` position.
|
|
36
|
+
*/
|
|
37
|
+
baseElement?: HTMLElement | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* `type ContentProp = React.ComponentPropsWithoutRef<"div"> & {
|
|
40
|
+
* text: string;
|
|
41
|
+
* onClick: () => void;
|
|
42
|
+
* divideTop?: boolean;
|
|
43
|
+
* disabled?: boolean;
|
|
44
|
+
* }`
|
|
45
|
+
*/
|
|
46
|
+
contents: ContentProp[];
|
|
47
|
+
/**
|
|
48
|
+
* Define priority of position. Please check [this](https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements).
|
|
49
|
+
*/
|
|
50
|
+
positionPriority?: PopperJS.Placement[] | undefined;
|
|
51
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: ModalCloseReason | MenuCloseReason) => void) | undefined;
|
|
52
|
+
maxHeight?: MenuListProps["maxHeight"];
|
|
53
|
+
/**
|
|
54
|
+
* props of [MenuList](/?path=/docs/components-navigation-menulist)
|
|
55
|
+
*/
|
|
56
|
+
menuListProps?: Partial<MenuListProps> | undefined;
|
|
57
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
33
58
|
export default Menu;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./MenuList";
|
|
2
|
-
export type { MenuListProps } from "./MenuList";
|
|
2
|
+
export type { MenuListProps, ContentProp, GroupContentProp } from "./MenuList";
|
|
@@ -21,5 +21,5 @@ export declare type ModalProps = {
|
|
|
21
21
|
onClose?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: ModalCloseReason) => void;
|
|
22
22
|
children: React.ReactElement;
|
|
23
23
|
};
|
|
24
|
-
declare const Modal: React.
|
|
24
|
+
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
export default Modal;
|
|
@@ -30,5 +30,5 @@ export declare type MultipleFilterProps = {
|
|
|
30
30
|
formPlaceholder?: string;
|
|
31
31
|
width?: string;
|
|
32
32
|
};
|
|
33
|
-
declare const MultipleFilter: React.
|
|
33
|
+
declare const MultipleFilter: React.ForwardRefExoticComponent<MultipleFilterProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
export default MultipleFilter;
|
|
@@ -3,7 +3,7 @@ import { Story } from "@storybook/react/types-6-0";
|
|
|
3
3
|
import { MultipleFilterProps } from ".";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<MultipleFilterProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
parameters: {
|
|
8
8
|
docs: {
|
|
9
9
|
description: {
|