ingred-ui 11.1.1 → 11.1.3

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.
Files changed (129) hide show
  1. package/dist/components/ActionButton/ActionButton.d.ts +2 -2
  2. package/dist/components/ActionButton/styled.d.ts +1 -1
  3. package/dist/components/Backdrop/Backdrop.d.ts +1 -1
  4. package/dist/components/Badge/Badge.d.ts +3 -3
  5. package/dist/components/Badge/Badge.stories.d.ts +1 -1
  6. package/dist/components/Badge/styled.d.ts +2 -2
  7. package/dist/components/Button/Button.d.ts +5 -5
  8. package/dist/components/Button/internal/BaseButton.d.ts +1 -1
  9. package/dist/components/Button/styled.d.ts +1 -1
  10. package/dist/components/ButtonGroup/ButtonGroup.d.ts +2 -2
  11. package/dist/components/ButtonGroup/styled.d.ts +1 -1
  12. package/dist/components/Card/Card.d.ts +1 -1
  13. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  14. package/dist/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
  15. package/dist/components/ConfirmModal/ConfirmModal.d.ts +3 -3
  16. package/dist/components/ConfirmModal/styled.d.ts +1 -1
  17. package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
  18. package/dist/components/CreatableSelect/CreatableSelect.d.ts +9 -5
  19. package/dist/components/CreatableSelect/CreatableSelect.stories.d.ts +8 -4
  20. package/dist/components/DataTable/DataTable.d.ts +5 -5
  21. package/dist/components/DataTable/internal/CellCheckbox/CellCheckbox.d.ts +1 -1
  22. package/dist/components/DataTable/internal/CellRadio/CellRadio.d.ts +1 -1
  23. package/dist/components/DataTable/internal/CountChanger/CountChanger.d.ts +2 -2
  24. package/dist/components/DataTable/internal/SortableHeaderCell/SortableHeaderCell.d.ts +1 -1
  25. package/dist/components/DataTable/internal/SortableHeaderCell/styled.d.ts +1 -1
  26. package/dist/components/DataTable/internal/Table/Body.d.ts +1 -1
  27. package/dist/components/DataTable/internal/Table/Cell.d.ts +1 -1
  28. package/dist/components/DataTable/internal/Table/Header.d.ts +1 -1
  29. package/dist/components/DataTable/internal/Table/Row.d.ts +3 -3
  30. package/dist/components/DataTable/internal/Table/Table.d.ts +2 -2
  31. package/dist/components/DataTable/internal/TableTabs/TableTabs.d.ts +3 -3
  32. package/dist/components/DataTable/sort.d.ts +3 -3
  33. package/dist/components/DatePicker/DatePicker.d.ts +1 -1
  34. package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  35. package/dist/components/Divider/Divider.d.ts +1 -1
  36. package/dist/components/DropdownButton/DropdownButton.d.ts +2 -2
  37. package/dist/components/ErrorText/ErrorText.d.ts +1 -1
  38. package/dist/components/FileUploader/FileUploader.d.ts +1 -1
  39. package/dist/components/FileUploader/styled.d.ts +1 -1
  40. package/dist/components/FixedPanel/FixedPanel.d.ts +1 -1
  41. package/dist/components/FixedPanel/styled.d.ts +1 -1
  42. package/dist/components/Flex/Flex.d.ts +2 -2
  43. package/dist/components/FloatingTip/FloatingTip.d.ts +2 -2
  44. package/dist/components/Icon/Icon.d.ts +6 -6
  45. package/dist/components/Input/Input.d.ts +1 -1
  46. package/dist/components/ItemEmpty/ItemEmpty.d.ts +1 -1
  47. package/dist/components/LocaleProvider/LocaleProvider.d.ts +1 -1
  48. package/dist/components/Menu/Menu.d.ts +2 -2
  49. package/dist/components/MenuList/MenuList.d.ts +6 -6
  50. package/dist/components/MenuList/styled.d.ts +1 -1
  51. package/dist/components/Modal/Modal.d.ts +2 -2
  52. package/dist/components/MultipleFilter/MultipleFilter.d.ts +1 -1
  53. package/dist/components/MultipleFilter/MultipleFilterStatus.d.ts +1 -1
  54. package/dist/components/MultipleFilter/internal/EditFilterCard/EditFilterCard.d.ts +1 -1
  55. package/dist/components/MultipleFilter/internal/FilterCard/FilterCard.d.ts +1 -1
  56. package/dist/components/MultipleFilter/internal/Label/Label.d.ts +1 -1
  57. package/dist/components/MultipleFilter/types/index.d.ts +6 -6
  58. package/dist/components/NavigationRail/ExpantionMenu/ExpantionMenu.d.ts +1 -1
  59. package/dist/components/NavigationRail/ExpantionMenu/styled.d.ts +1 -1
  60. package/dist/components/NavigationRail/ExpantionMenuItem/ExpantionMenuItem.d.ts +1 -1
  61. package/dist/components/NavigationRail/Fixture/Fixture.d.ts +2 -2
  62. package/dist/components/NavigationRail/MainContent/MainContent.d.ts +1 -1
  63. package/dist/components/NavigationRail/Menu/Menu.d.ts +1 -1
  64. package/dist/components/NavigationRail/NavigationRail.d.ts +2 -2
  65. package/dist/components/NavigationRail/NavigationRailContainer/NavigationRailContainer.d.ts +1 -1
  66. package/dist/components/NavigationRail/internal/SideNotificationBadge/SideNotificationBadge.d.ts +1 -1
  67. package/dist/components/NavigationRail/styled.d.ts +1 -1
  68. package/dist/components/NavigationRail/utils.d.ts +1 -1
  69. package/dist/components/NotificationBadge/NotificationBadge.d.ts +1 -1
  70. package/dist/components/NotificationBadge/styled.d.ts +1 -1
  71. package/dist/components/Pager/Pager.d.ts +2 -2
  72. package/dist/components/Pager/internal/ArrowButton/index.d.ts +1 -1
  73. package/dist/components/Pager/internal/ArrowButton/styled.d.ts +1 -1
  74. package/dist/components/Pager/internal/NumberButton/index.d.ts +1 -1
  75. package/dist/components/Pager/internal/NumberButton/styled.d.ts +1 -1
  76. package/dist/components/Pager/internal/PagerButtonsWithDottedLine/index.d.ts +1 -1
  77. package/dist/components/Popover/Popover.d.ts +1 -1
  78. package/dist/components/Portal/Portal.d.ts +1 -1
  79. package/dist/components/RadioButton/RadioButton.d.ts +3 -3
  80. package/dist/components/RadioButton/RadioButton.stories.d.ts +1 -1
  81. package/dist/components/ScrollArea/ScrollArea.d.ts +1 -1
  82. package/dist/components/ScrollArea/styled.d.ts +1 -1
  83. package/dist/components/Select/Select.d.ts +10 -6
  84. package/dist/components/Select/Select.stories.d.ts +8 -4
  85. package/dist/components/Snackbar/Snackbar.d.ts +2 -2
  86. package/dist/components/Snackbar/internal/SnackbarContent/SnackbarContent.d.ts +1 -1
  87. package/dist/components/Spinner/Spinner.d.ts +1 -1
  88. package/dist/components/SplitAnnotation/SplitAnnotation.d.ts +1 -1
  89. package/dist/components/Switch/Switch.d.ts +3 -3
  90. package/dist/components/Table/Body.d.ts +1 -1
  91. package/dist/components/Table/Cell.d.ts +1 -1
  92. package/dist/components/Table/Header.d.ts +1 -1
  93. package/dist/components/Table/HeaderCell.d.ts +1 -1
  94. package/dist/components/Table/Row.d.ts +3 -3
  95. package/dist/components/Table/Table.d.ts +2 -2
  96. package/dist/components/Tabs/Tabs.d.ts +1 -1
  97. package/dist/components/Tabs/internal/Tab.d.ts +1 -1
  98. package/dist/components/Tabs/styled.d.ts +1 -1
  99. package/dist/components/TextField/TextField.d.ts +1 -1
  100. package/dist/components/Toast/DefaultToast/DefaultToast.d.ts +1 -1
  101. package/dist/components/Toast/DefaultToast/styled.d.ts +2 -2
  102. package/dist/components/Toast/Toast.d.ts +1 -1
  103. package/dist/components/Toast/ToastProvider/ToastProvider.d.ts +1 -1
  104. package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
  105. package/dist/components/ToggleButton/styled.d.ts +1 -1
  106. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  107. package/dist/components/Typography/Typography.d.ts +5 -5
  108. package/dist/components/Typography/styled.d.ts +1 -1
  109. package/dist/hooks/useMergeRefs.d.ts +1 -1
  110. package/dist/index.es.js +4 -4
  111. package/dist/index.es.js.map +1 -1
  112. package/dist/index.js +3 -3
  113. package/dist/index.js.map +1 -1
  114. package/dist/lib/react-toast-notification/src/ToastContainer.d.ts +1 -1
  115. package/dist/lib/react-toast-notification/src/ToastController.d.ts +2 -2
  116. package/dist/lib/react-toast-notification/src/ToastElement.d.ts +2 -2
  117. package/dist/lib/react-toast-notification/src/ToastProvider.d.ts +3 -3
  118. package/dist/lib/react-toast-notification/src/types.d.ts +11 -11
  119. package/dist/styles/color.d.ts +1 -1
  120. package/dist/styles/depth.d.ts +2 -2
  121. package/dist/themes/ThemeProvider.d.ts +1 -1
  122. package/dist/themes/createTheme.d.ts +2 -2
  123. package/dist/themes/palette.d.ts +6 -6
  124. package/dist/types/index.d.ts +1 -1
  125. package/dist/utils/getShadow.d.ts +6 -6
  126. package/dist/utils/reactTransitionGroup.d.ts +2 -2
  127. package/dist/utils/scrollbar.d.ts +1 -1
  128. package/dist/utils/spacer.d.ts +1 -1
  129. package/package.json +7 -7
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { IconName } from "../Icon/Icon";
3
- declare type ColorProp = "primary" | "warning";
4
- export declare type ActionButtonProps = React.ComponentPropsWithoutRef<"button"> & {
3
+ type ColorProp = "primary" | "warning";
4
+ export type ActionButtonProps = React.ComponentPropsWithoutRef<"button"> & {
5
5
  icon: IconName;
6
6
  color?: ColorProp;
7
7
  };
@@ -1,4 +1,4 @@
1
- declare type ContainerProps = {
1
+ type ContainerProps = {
2
2
  normalBackgroundColor: string;
3
3
  hoverBackgroundColor: string;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { CSSTransitionProps } from "../../utils/reactTransitionGroup";
3
- export declare type BackdropProps = React.ComponentPropsWithoutRef<"div"> & {
3
+ export type BackdropProps = React.ComponentPropsWithoutRef<"div"> & {
4
4
  isOpen?: boolean;
5
5
  invisible?: boolean;
6
6
  /**
@@ -1,12 +1,12 @@
1
1
  import * as React from "react";
2
2
  import * as Styled from "./styled";
3
- export declare type BadgeColor = "primary" | "secondary" | "success" | "warning" | "danger";
4
- export declare type BadgeProps = React.ComponentPropsWithoutRef<"a" | "span"> & {
3
+ export type BadgeColor = "primary" | "secondary" | "success" | "warning" | "danger";
4
+ export type BadgeProps = React.ComponentPropsWithoutRef<"a" | "span"> & {
5
5
  color: BadgeColor;
6
6
  type?: Styled.BadgeType;
7
7
  fontSize?: string;
8
8
  fontWeight?: string;
9
9
  component?: "span" | "a";
10
10
  };
11
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLAnchorElement | HTMLSpanElement>>;
11
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement | HTMLAnchorElement>>;
12
12
  export default Badge;
@@ -3,7 +3,7 @@ import { Story } from "@storybook/react/types-6-0";
3
3
  import { BadgeProps } from "./Badge";
4
4
  declare const _default: {
5
5
  title: string;
6
- components: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLAnchorElement | HTMLSpanElement>>;
6
+ components: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement | HTMLAnchorElement>>;
7
7
  parameters: {
8
8
  docs: {
9
9
  source: {
@@ -1,5 +1,5 @@
1
- export declare type BadgeType = "normal" | "pill";
2
- declare type Props = {
1
+ export type BadgeType = "normal" | "pill";
2
+ type Props = {
3
3
  color: string;
4
4
  backgroundColor: string;
5
5
  type: BadgeType;
@@ -1,9 +1,9 @@
1
1
  import * as React from "react";
2
2
  import { Props as BaseButtonProps } from "./internal/BaseButton";
3
3
  import { Theme } from "../../themes";
4
- export declare type ButtonSize = "small" | "medium" | "large";
5
- export declare type ButtonColor = "primary" | "secondary" | "danger" | "clear";
6
- export declare type ButtonColorStyle = {
4
+ export type ButtonSize = "small" | "medium" | "large";
5
+ export type ButtonColor = "primary" | "secondary" | "danger" | "clear";
6
+ export type ButtonColorStyle = {
7
7
  normal: {
8
8
  background: string;
9
9
  color: string;
@@ -20,12 +20,12 @@ export declare type ButtonColorStyle = {
20
20
  border: string;
21
21
  };
22
22
  };
23
- export declare type Padding = {
23
+ export type Padding = {
24
24
  theme: Theme;
25
25
  size: ButtonSize;
26
26
  color: ButtonColor;
27
27
  };
28
- export declare type ButtonProps = Omit<BaseButtonProps, "color"> & {
28
+ export type ButtonProps = Omit<BaseButtonProps, "color"> & {
29
29
  /**
30
30
  * The component used for the root node.
31
31
  * Default: `<button />`
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare type Props = React.ComponentPropsWithoutRef<"button">;
2
+ export type Props = React.ComponentPropsWithoutRef<"button">;
3
3
  export declare const BaseButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
@@ -1,5 +1,5 @@
1
1
  import { ButtonColorStyle } from "./Button";
2
- export declare type ContainerProps = ButtonColorStyle & {
2
+ export type ContainerProps = ButtonColorStyle & {
3
3
  inline: boolean;
4
4
  fontSize: string;
5
5
  fontWeight: string;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { ButtonSize } from "../Button/Button";
3
- declare type GroupButtonSize = Exclude<ButtonSize, "large">;
4
- export declare type ButtonGroupProps = React.ComponentPropsWithoutRef<"div"> & {
3
+ type GroupButtonSize = Exclude<ButtonSize, "large">;
4
+ export type ButtonGroupProps = React.ComponentPropsWithoutRef<"div"> & {
5
5
  size?: GroupButtonSize;
6
6
  disabled?: boolean;
7
7
  };
@@ -1,4 +1,4 @@
1
- export declare type ContainerProps = {
1
+ export type ContainerProps = {
2
2
  minWidth: string;
3
3
  horizontalPadding: string;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Property } from "csstype";
2
2
  import { FlexProps } from "../Flex/Flex";
3
3
  import { SpacerProps } from "../../utils/spacer";
4
- export declare type CardProps = SpacerProps & FlexProps & {
4
+ export type CardProps = SpacerProps & FlexProps & {
5
5
  width?: Property.Width;
6
6
  maxWidth?: Property.MaxWidth;
7
7
  minWidth?: Property.MinWidth;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type CheckBoxProps = React.ComponentPropsWithoutRef<"input"> & {
2
+ export type CheckBoxProps = React.ComponentPropsWithoutRef<"input"> & {
3
3
  indeterminate?: boolean;
4
4
  error?: boolean;
5
5
  inputRef?: React.Ref<HTMLInputElement>;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type ClickAwayListenerProps = {
2
+ export type ClickAwayListenerProps = {
3
3
  onClickAway?: (event: MouseEvent) => void;
4
4
  children: React.ComponentElement<HTMLElement, any>;
5
5
  };
@@ -3,13 +3,13 @@ import { ButtonColor } from "../Button/Button";
3
3
  import { IconName } from "../Icon/Icon";
4
4
  import { ModalCloseReason, ModalProps } from "../Modal";
5
5
  import { CSSTransitionProps } from "../../utils/reactTransitionGroup";
6
- export declare type ConfirmModalCloseReason = "clickCloseIcon" | "clickCancelButton";
7
- export declare type SubAction = {
6
+ export type ConfirmModalCloseReason = "clickCloseIcon" | "clickCancelButton";
7
+ export type SubAction = {
8
8
  title: string;
9
9
  icon: IconName;
10
10
  action: () => void;
11
11
  };
12
- export declare type ConfirmModalProps = {
12
+ export type ConfirmModalProps = {
13
13
  title: string;
14
14
  confirmText?: string;
15
15
  cancelText?: string;
@@ -8,7 +8,7 @@ export declare const ModalContainer: import("styled-components").StyledComponent
8
8
  }, never>;
9
9
  export declare const ModalHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
10
  export declare const LeftContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
- declare type ScrollContainerProps = {
11
+ type ScrollContainerProps = {
12
12
  overflowYScroll: boolean;
13
13
  fullSize: boolean;
14
14
  showFooter: boolean;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import * as PopperJS from "@popperjs/core";
3
3
  import { ContentProp } from "../MenuList/MenuList";
4
4
  import { MenuProps } from "../Menu";
5
- export declare type ContextMenuProps = {
5
+ export type ContextMenuProps = {
6
6
  /**
7
7
  * `type ContentProp = React.ComponentPropsWithoutRef<"div"> & {
8
8
  * text: string;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { CreatableProps } from "react-select/creatable";
3
3
  import { GroupBase } from "react-select/dist/declarations/src/types";
4
4
  import { OptionType } from "../Select";
5
- export declare type CreatableSelectProps<T> = {
5
+ export type CreatableSelectProps<T> = {
6
6
  limit?: number;
7
7
  minWidth?: string;
8
8
  placeholder?: string;
@@ -22,18 +22,19 @@ declare const _default: <T>(props: {
22
22
  placeholder?: React.ReactNode;
23
23
  tabIndex?: number | undefined;
24
24
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
25
+ classNames?: import("react-select").ClassNamesConfig<OptionType<T>, boolean, GroupBase<OptionType<T>>> | undefined;
25
26
  styles?: import("react-select").StylesConfig<OptionType<T>, boolean, GroupBase<OptionType<T>>> | undefined;
26
27
  options?: import("react-select/dist/declarations/src/types").OptionsOrGroups<OptionType<T>, GroupBase<OptionType<T>>> | undefined;
27
28
  menuIsOpen?: boolean | undefined;
28
29
  isDisabled?: boolean | undefined;
29
- isMulti?: boolean | undefined;
30
- isRtl?: boolean | undefined;
31
30
  loadingMessage?: ((obj: {
32
31
  inputValue: string;
33
32
  }) => React.ReactNode) | undefined;
34
33
  noOptionsMessage?: ((obj: {
35
34
  inputValue: string;
36
35
  }) => React.ReactNode) | undefined;
36
+ isMulti?: boolean | undefined;
37
+ isRtl?: boolean | undefined;
37
38
  backspaceRemovesValue?: boolean | undefined;
38
39
  blurInputOnSelect?: boolean | undefined;
39
40
  captureMenuScroll?: boolean | undefined;
@@ -62,22 +63,24 @@ declare const _default: <T>(props: {
62
63
  count: number;
63
64
  }) => string) | undefined;
64
65
  tabSelectsValue?: boolean | undefined;
66
+ unstyled?: boolean | undefined;
65
67
  } & {}, "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" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
66
68
  placeholder?: React.ReactNode;
67
69
  tabIndex?: number | undefined;
68
70
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
71
+ classNames?: import("react-select").ClassNamesConfig<OptionType<T>, boolean, GroupBase<OptionType<T>>> | undefined;
69
72
  styles?: import("react-select").StylesConfig<OptionType<T>, boolean, GroupBase<OptionType<T>>> | undefined;
70
73
  options?: import("react-select/dist/declarations/src/types").OptionsOrGroups<OptionType<T>, GroupBase<OptionType<T>>> | undefined;
71
74
  menuIsOpen?: boolean | undefined;
72
75
  isDisabled?: boolean | undefined;
73
- isMulti?: boolean | undefined;
74
- isRtl?: boolean | undefined;
75
76
  loadingMessage?: ((obj: {
76
77
  inputValue: string;
77
78
  }) => React.ReactNode) | undefined;
78
79
  noOptionsMessage?: ((obj: {
79
80
  inputValue: string;
80
81
  }) => React.ReactNode) | undefined;
82
+ isMulti?: boolean | undefined;
83
+ isRtl?: boolean | undefined;
81
84
  backspaceRemovesValue?: boolean | undefined;
82
85
  blurInputOnSelect?: boolean | undefined;
83
86
  captureMenuScroll?: boolean | undefined;
@@ -106,6 +109,7 @@ declare const _default: <T>(props: {
106
109
  count: number;
107
110
  }) => string) | undefined;
108
111
  tabSelectsValue?: boolean | undefined;
112
+ unstyled?: boolean | undefined;
109
113
  } & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionType<T>> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<OptionType<T>, GroupBase<OptionType<T>>> & {
110
114
  ref?: React.ForwardedRef<HTMLDivElement> | undefined;
111
115
  }) => ReturnType<typeof CreatableSelect>;
@@ -12,18 +12,19 @@ declare const _default: {
12
12
  placeholder?: React.ReactNode;
13
13
  tabIndex?: number | undefined;
14
14
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
15
+ classNames?: import("react-select").ClassNamesConfig<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
15
16
  styles?: import("react-select").StylesConfig<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
16
17
  options?: import("react-select").OptionsOrGroups<import("..").OptionType<T>, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
17
18
  menuIsOpen?: boolean | undefined;
18
19
  isDisabled?: boolean | undefined;
19
- isMulti?: boolean | undefined;
20
- isRtl?: boolean | undefined;
21
20
  loadingMessage?: ((obj: {
22
21
  inputValue: string;
23
22
  }) => React.ReactNode) | undefined;
24
23
  noOptionsMessage?: ((obj: {
25
24
  inputValue: string;
26
25
  }) => React.ReactNode) | undefined;
26
+ isMulti?: boolean | undefined;
27
+ isRtl?: boolean | undefined;
27
28
  backspaceRemovesValue?: boolean | undefined;
28
29
  blurInputOnSelect?: boolean | undefined;
29
30
  captureMenuScroll?: boolean | undefined;
@@ -52,22 +53,24 @@ declare const _default: {
52
53
  count: number;
53
54
  }) => string) | undefined;
54
55
  tabSelectsValue?: boolean | undefined;
56
+ unstyled?: boolean | undefined;
55
57
  } & {}, "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" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
56
58
  placeholder?: React.ReactNode;
57
59
  tabIndex?: number | undefined;
58
60
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
61
+ classNames?: import("react-select").ClassNamesConfig<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
59
62
  styles?: import("react-select").StylesConfig<import("..").OptionType<T>, boolean, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
60
63
  options?: import("react-select").OptionsOrGroups<import("..").OptionType<T>, import("react-select").GroupBase<import("..").OptionType<T>>> | undefined;
61
64
  menuIsOpen?: boolean | undefined;
62
65
  isDisabled?: boolean | undefined;
63
- isMulti?: boolean | undefined;
64
- isRtl?: boolean | undefined;
65
66
  loadingMessage?: ((obj: {
66
67
  inputValue: string;
67
68
  }) => React.ReactNode) | undefined;
68
69
  noOptionsMessage?: ((obj: {
69
70
  inputValue: string;
70
71
  }) => React.ReactNode) | undefined;
72
+ isMulti?: boolean | undefined;
73
+ isRtl?: boolean | undefined;
71
74
  backspaceRemovesValue?: boolean | undefined;
72
75
  blurInputOnSelect?: boolean | undefined;
73
76
  captureMenuScroll?: boolean | undefined;
@@ -96,6 +99,7 @@ declare const _default: {
96
99
  count: number;
97
100
  }) => string) | undefined;
98
101
  tabSelectsValue?: boolean | undefined;
102
+ unstyled?: boolean | undefined;
99
103
  } & {}> & 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>>> & {
100
104
  ref?: React.ForwardedRef<HTMLDivElement> | undefined;
101
105
  }) => React.ReactElement<import("./CreatableSelect").CreatableSelectProps<unknown>, string | React.JSXElementConstructor<any>>;
@@ -3,11 +3,11 @@ import { LabelDisplayRows } from "./internal/CountChanger";
3
3
  import { TypographyProps } from "../Typography";
4
4
  import { ItemEmptyProps } from "../ItemEmpty";
5
5
  import { VerticalSpacing } from "./internal/Table/Row";
6
- export declare type DataTableBaseData = {
6
+ export type DataTableBaseData = {
7
7
  id: number;
8
8
  selectDisabled?: boolean;
9
9
  };
10
- export declare type Column<T> = {
10
+ export type Column<T> = {
11
11
  name: string;
12
12
  selector: (data: T) => string | number;
13
13
  sortable?: boolean;
@@ -17,12 +17,12 @@ export declare type Column<T> = {
17
17
  align?: TypographyProps["align"];
18
18
  enableMergeCell?: boolean;
19
19
  };
20
- declare type Tab<T> = {
20
+ type Tab<T> = {
21
21
  label: string;
22
22
  filter: (data: T[]) => T[];
23
23
  disabledCheck?: boolean;
24
24
  };
25
- export declare type DataTableProps<T> = {
25
+ export type DataTableProps<T> = {
26
26
  /**
27
27
  * Array of some object that has `id: number` property.
28
28
  */
@@ -101,7 +101,7 @@ export declare type DataTableProps<T> = {
101
101
  labelRowsPerPage?: string;
102
102
  labelDisplayedRows?: LabelDisplayRows;
103
103
  };
104
- declare const DataTable: <T extends DataTableBaseData>({ data, 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>) => JSX.Element;
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>) => JSX.Element;
105
105
  declare const _default: <T extends DataTableBaseData>(props: DataTableProps<T> & {
106
106
  ref?: React.ForwardedRef<HTMLDivElement> | undefined;
107
107
  }) => ReturnType<typeof DataTable>;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
2
+ export type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
3
3
  header?: boolean;
4
4
  indeterminate?: boolean;
5
5
  selected?: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- declare type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
2
+ type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
3
3
  header?: boolean;
4
4
  selected?: boolean;
5
5
  onClick?: React.ComponentPropsWithoutRef<"input">["onClick"];
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { OptionType } from "../../../Select/Select";
3
- export declare type LabelDisplayRows = ({ from, to, total, }: {
3
+ export type LabelDisplayRows = ({ from, to, total, }: {
4
4
  from: number;
5
5
  to: number;
6
6
  total: number;
7
7
  }) => string;
8
- export declare type Props = {
8
+ export type Props = {
9
9
  per: number;
10
10
  total: number;
11
11
  index?: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { OrderStatus } from "../../sort";
3
- export declare type Props = React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
3
+ export type Props = React.ThHTMLAttributes<HTMLTableHeaderCellElement> & {
4
4
  sortable?: boolean;
5
5
  order?: OrderStatus;
6
6
  width?: string;
@@ -1,4 +1,4 @@
1
- declare type CellProps = {
1
+ type CellProps = {
2
2
  width: string;
3
3
  isSortable: boolean;
4
4
  enableRuledLine: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type Props = {
2
+ export type Props = {
3
3
  children: React.ReactNode;
4
4
  };
5
5
  export declare const Body: React.FunctionComponent<Props>;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & {
2
+ export type Props = React.TdHTMLAttributes<HTMLTableDataCellElement> & {
3
3
  width?: string;
4
4
  enableRuledLine?: boolean;
5
5
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type Props = {
2
+ export type Props = {
3
3
  children: React.ReactNode;
4
4
  };
5
5
  export declare const Header: React.FunctionComponent<Props>;
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
- export declare type VerticalSpacing = "small" | "medium" | "large";
3
- declare type RowProps = {
2
+ export type VerticalSpacing = "small" | "medium" | "large";
3
+ type RowProps = {
4
4
  highlighted: boolean;
5
5
  verticalSpacing: VerticalSpacing;
6
6
  isStickyHeader: boolean;
7
7
  disableHoverHighlight: boolean;
8
8
  };
9
- export declare type Props = React.ComponentPropsWithoutRef<"tr"> & Partial<RowProps>;
9
+ export type Props = React.ComponentPropsWithoutRef<"tr"> & Partial<RowProps>;
10
10
  export declare const Row: React.FunctionComponent<Props>;
11
11
  export {};
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
- declare type TableProps = {
2
+ type TableProps = {
3
3
  horizontalScrollable: boolean;
4
4
  };
5
- export declare type Props = TableProps & {
5
+ export type Props = TableProps & {
6
6
  children: React.ReactNode;
7
7
  };
8
8
  export declare const Table: {
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
- declare type ValueType = number;
3
- export declare type TabItem = {
2
+ type ValueType = number;
3
+ export type TabItem = {
4
4
  label: string;
5
5
  value: ValueType;
6
6
  };
7
- declare type Props = {
7
+ type Props = {
8
8
  value: ValueType;
9
9
  items: TabItem[];
10
10
  onChange: (value: ValueType) => void;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
- export declare type OrderStatus = "desc" | "asc" | null;
3
- export declare type GetValue<T> = (obj: T) => string | number;
4
- export declare type CurrentSortState<T> = {
2
+ export type OrderStatus = "desc" | "asc" | null;
3
+ export type GetValue<T> = (obj: T) => string | number;
4
+ export type CurrentSortState<T> = {
5
5
  isDesc: boolean;
6
6
  name: string;
7
7
  getValue?: GetValue<T>;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import "react-dates/initialize";
3
3
  import dayjs, { InstanceLocaleDataReturn } from "dayjs";
4
4
  import { RenderMonthProps, SingleDatePickerShape } from "react-dates";
5
- export declare type DatePickerProps = Partial<Omit<SingleDatePickerShape, "date" | "onFocusChange" | "onDateChange" | "renderMonthText">> & Omit<RenderMonthProps, "renderMonthText"> & {
5
+ export type DatePickerProps = Partial<Omit<SingleDatePickerShape, "date" | "onFocusChange" | "onDateChange" | "renderMonthText">> & Omit<RenderMonthProps, "renderMonthText"> & {
6
6
  date: dayjs.Dayjs | null;
7
7
  onDateChange: (date: dayjs.Dayjs | null) => void;
8
8
  renderMonthText?: ((month: dayjs.Dayjs) => React.ReactNode) | null;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import "react-dates/initialize";
3
3
  import dayjs, { InstanceLocaleDataReturn } from "dayjs";
4
4
  import { DateRangePickerShape } from "react-dates";
5
- export declare type DateRangePickerProps = Partial<Omit<DateRangePickerShape, "startDate" | "endDate" | "onDatesChange" | "renderMonthText">> & {
5
+ export type DateRangePickerProps = Partial<Omit<DateRangePickerShape, "startDate" | "endDate" | "onDatesChange" | "renderMonthText">> & {
6
6
  startDate: dayjs.Dayjs | null;
7
7
  endDate: dayjs.Dayjs | null;
8
8
  onDatesChange: (arg: {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { SpacerProps } from "../../utils/spacer";
3
- export declare type DividerProps = SpacerProps & {
3
+ export type DividerProps = SpacerProps & {
4
4
  color?: string;
5
5
  orientation?: "vertical" | "horizontal";
6
6
  };
@@ -3,8 +3,8 @@ import * as PopperJS from "@popperjs/core";
3
3
  import { MenuProps } from "../Menu";
4
4
  import { ButtonSize, ButtonColor } from "../Button/Button";
5
5
  import { ContentProp } from "../MenuList/MenuList";
6
- declare type DropdownButtonColor = Exclude<ButtonColor, "danger">;
7
- export declare type DropdownButtonProps = {
6
+ type DropdownButtonColor = Exclude<ButtonColor, "danger">;
7
+ export type DropdownButtonProps = {
8
8
  size?: ButtonSize;
9
9
  color?: DropdownButtonColor;
10
10
  onClick?: () => void;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type ErrorTextProps = {
2
+ export type ErrorTextProps = {
3
3
  children: string;
4
4
  };
5
5
  declare const ErrorText: React.ForwardRefExoticComponent<ErrorTextProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Property } from "csstype";
3
- export declare type FileUploaderProps = {
3
+ export type FileUploaderProps = {
4
4
  description?: string;
5
5
  title?: string;
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { Property } from "csstype";
2
- declare type Props = {
2
+ type Props = {
3
3
  filesDraggedOver: boolean;
4
4
  width?: Property.Width;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type FixedPanelProps = {
2
+ export type FixedPanelProps = {
3
3
  /**
4
4
  * If `false`, it is outside of viewport.
5
5
  */
@@ -1,4 +1,4 @@
1
- declare type ContainerProps = {
1
+ type ContainerProps = {
2
2
  isOpen: boolean;
3
3
  height: number;
4
4
  offset: number;
@@ -1,6 +1,6 @@
1
1
  import { Property } from "csstype";
2
- declare type TLengthStyledSystem = string | 0 | number;
3
- export declare type FlexProps = {
2
+ type TLengthStyledSystem = string | 0 | number;
3
+ export type FlexProps = {
4
4
  display?: "flex" | "inline-flex";
5
5
  height?: Property.Height<TLengthStyledSystem>;
6
6
  alignItems?: Property.AlignItems;
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
2
  import * as PopperJS from "@popperjs/core";
3
3
  import { ModalCloseReason } from "../Modal";
4
- export declare type FloatingTipCloseReason = "clickCloseIcon";
5
- export declare type FloatingTipProps = {
4
+ export type FloatingTipCloseReason = "clickCloseIcon";
5
+ export type FloatingTipProps = {
6
6
  /**
7
7
  * That becomes position reference of this component.
8
8
  */
@@ -1,19 +1,19 @@
1
1
  import * as React from "react";
2
- export declare type IconName = "dashboard" | "bar_chart" | "bar_chart_framed" | "line_chart_framed" | "multi_line_chart_framed" | "logout" | "setting" | "arrow_bottom" | "arrow_left" | "arrow_right" | "pencil" | "delete_bin" | "close" | "forbid" | "check" | "eye" | "eye_off" | "exclamation" | "arrow_double_left" | "arrow_double_right" | "question" | "zoom_in" | "sort_up" | "sort_down" | "sort_inactive" | "folder" | "folder_open" | "return_line" | "link" | "unlink" | "no_link" | "search" | "import" | "export" | "add_line" | "more" | "more_vert" | "date_range" | "external_link" | "desktop" | "mobile" | "desktop_mobile" | "copy" | "truck" | "camera_movie" | "code_file" | "cart_secure" | "profile" | "auction" | "mail" | "mail_open" | "filter" | "notification" | "user_settings" | "company_settings" | "heart_pulse" | "checkbox_circle" | "alart" | "base_station" | "braille" | "label" | "download_cloud" | "save" | "close_circle" | "bid_strap" | "fluct" | "data_strap" | "company" | "document" | "user" | "information";
3
- declare type IconType = "fill" | "line";
4
- declare type IconColor = IconType | "active" | string;
5
- declare type IconSize = "sm" | "md" | "lg";
2
+ export type IconName = "dashboard" | "bar_chart" | "bar_chart_framed" | "line_chart_framed" | "multi_line_chart_framed" | "logout" | "setting" | "arrow_bottom" | "arrow_left" | "arrow_right" | "pencil" | "delete_bin" | "close" | "forbid" | "check" | "eye" | "eye_off" | "exclamation" | "arrow_double_left" | "arrow_double_right" | "question" | "zoom_in" | "sort_up" | "sort_down" | "sort_inactive" | "folder" | "folder_open" | "return_line" | "link" | "unlink" | "no_link" | "search" | "import" | "export" | "add_line" | "more" | "more_vert" | "date_range" | "external_link" | "desktop" | "mobile" | "desktop_mobile" | "copy" | "truck" | "camera_movie" | "code_file" | "cart_secure" | "profile" | "auction" | "mail" | "mail_open" | "filter" | "notification" | "user_settings" | "company_settings" | "heart_pulse" | "checkbox_circle" | "alart" | "base_station" | "braille" | "label" | "download_cloud" | "save" | "close_circle" | "bid_strap" | "fluct" | "data_strap" | "company" | "document" | "user" | "information";
3
+ type IconType = "fill" | "line";
4
+ type IconColor = IconType | "active" | string;
5
+ type IconSize = "sm" | "md" | "lg";
6
6
  export declare const iconSize: {
7
7
  [key in IconSize]: number;
8
8
  };
9
- export declare type IconProps = {
9
+ export type IconProps = {
10
10
  type: IconType;
11
11
  fill: string;
12
12
  };
13
13
  export declare const icons: {
14
14
  [key in IconName]: React.FunctionComponent<IconProps>;
15
15
  };
16
- export declare type Props = {
16
+ export type Props = {
17
17
  name: IconName;
18
18
  type?: IconType;
19
19
  size?: IconSize;