@true-engineering/true-react-common-ui-kit 3.0.0-alpha.8 → 3.0.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.
Files changed (124) hide show
  1. package/README.md +26 -0
  2. package/dist/components/Button/Button.d.ts +2 -1
  3. package/dist/components/Button/Button.styles.d.ts +1 -1
  4. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  5. package/dist/components/Checkbox/Checkbox.styles.d.ts +1 -1
  6. package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +1 -1
  7. package/dist/components/Description/Description.styles.d.ts +1 -1
  8. package/dist/components/FiltersPane/FiltersPane.styles.d.ts +1 -1
  9. package/dist/components/FiltersPane/components/Filter/Filter.d.ts +1 -1
  10. package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +2 -2
  11. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +3 -3
  12. package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +1 -1
  13. package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +4 -4
  14. package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +1 -1
  15. package/dist/components/FiltersPane/constants.d.ts +1 -1
  16. package/dist/components/FiltersPane/types.d.ts +1 -1
  17. package/dist/components/FlexibleTable/FlexibleTable.d.ts +3 -2
  18. package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +2 -2
  19. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +2 -3
  20. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +1 -1
  21. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +1 -1
  22. package/dist/components/FlexibleTable/helpers.d.ts +3 -0
  23. package/dist/components/FlexibleTable/types.d.ts +1 -1
  24. package/dist/components/Icon/helpers.d.ts +1 -1
  25. package/dist/components/Icon/icons-list.d.ts +1 -1
  26. package/dist/components/Icon/index.d.ts +1 -0
  27. package/dist/{helpers/snippets.d.ts → components/Icon/snippet.d.ts} +1 -1
  28. package/dist/components/Icon/types.d.ts +2 -1
  29. package/dist/components/Input/Input.d.ts +2 -1
  30. package/dist/components/Input/Input.styles.d.ts +1 -1
  31. package/dist/components/List/List.d.ts +3 -3
  32. package/dist/components/List/components/ListItem/ListItem.d.ts +15 -0
  33. package/dist/components/List/components/ListItem/ListItem.styles.d.ts +3 -0
  34. package/dist/components/List/components/ListItem/index.d.ts +2 -0
  35. package/dist/components/List/components/index.d.ts +1 -0
  36. package/dist/components/List/index.d.ts +1 -1
  37. package/dist/components/Modal/Modal.styles.d.ts +1 -1
  38. package/dist/components/MoreMenu/MoreMenu.styles.d.ts +1 -1
  39. package/dist/components/MultiSelect/MultiSelect.styles.d.ts +1 -1
  40. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.d.ts +2 -1
  41. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +1 -1
  42. package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +1 -1
  43. package/dist/components/Notification/Notification.styles.d.ts +1 -1
  44. package/dist/components/NumberInput/helpers.d.ts +1 -1
  45. package/dist/components/PhoneInput/PhoneInput.styles.d.ts +1 -1
  46. package/dist/components/PhoneInput/index.d.ts +0 -1
  47. package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +5 -5
  48. package/dist/components/Select/Select.d.ts +2 -1
  49. package/dist/components/Select/Select.styles.d.ts +7 -7
  50. package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +1 -1
  51. package/dist/components/Skeleton/Skeleton.d.ts +7 -0
  52. package/dist/components/Skeleton/Skeleton.styles.d.ts +3 -0
  53. package/dist/components/Skeleton/index.d.ts +2 -0
  54. package/dist/components/Switch/Switch.d.ts +1 -1
  55. package/dist/components/Switch/Switch.styles.d.ts +1 -1
  56. package/dist/components/TextArea/TextArea.styles.d.ts +1 -1
  57. package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +1 -1
  58. package/dist/components/Toaster/Toaster.styles.d.ts +1 -1
  59. package/dist/components/Tooltip/Tooltip.styles.d.ts +1 -1
  60. package/dist/components/index.d.ts +1 -0
  61. package/dist/constants/index.d.ts +1 -0
  62. package/dist/constants/phone-info.d.ts +2 -0
  63. package/dist/helpers/phone.d.ts +1 -1
  64. package/dist/hooks/index.d.ts +1 -0
  65. package/dist/hooks/use-merged-refs.d.ts +2 -0
  66. package/dist/index.d.ts +1 -1
  67. package/dist/theme/types.d.ts +3 -1
  68. package/dist/true-react-common-ui-kit.js +24270 -24085
  69. package/dist/true-react-common-ui-kit.js.map +1 -1
  70. package/dist/true-react-common-ui-kit.umd.cjs +24269 -24084
  71. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  72. package/dist/types.d.ts +0 -3
  73. package/package.json +2 -1
  74. package/src/components/Button/Button.tsx +2 -2
  75. package/src/components/Checkbox/Checkbox.tsx +1 -1
  76. package/src/components/FiltersPane/components/Filter/Filter.tsx +1 -1
  77. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +1 -1
  78. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.ts +1 -1
  79. package/src/components/FiltersPane/constants.ts +1 -1
  80. package/src/components/FiltersPane/types.ts +1 -1
  81. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +1 -0
  82. package/src/components/FlexibleTable/FlexibleTable.styles.ts +6 -1
  83. package/src/components/FlexibleTable/FlexibleTable.tsx +118 -55
  84. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +26 -30
  85. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +4 -0
  86. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +13 -12
  87. package/src/components/FlexibleTable/helpers.ts +15 -0
  88. package/src/components/FlexibleTable/types.ts +1 -1
  89. package/src/components/Icon/{helpers.ts → helpers.tsx} +1 -1
  90. package/src/components/Icon/icons-list.ts +30 -0
  91. package/src/components/Icon/index.ts +1 -0
  92. package/src/{helpers/snippets.tsx → components/Icon/snippet.tsx} +2 -2
  93. package/src/components/Icon/types.ts +3 -1
  94. package/src/components/Input/Input.tsx +2 -3
  95. package/src/components/List/List.stories.tsx +11 -4
  96. package/src/components/List/List.tsx +9 -32
  97. package/src/components/List/components/ListItem/ListItem.styles.ts +47 -0
  98. package/src/components/List/components/ListItem/ListItem.tsx +57 -0
  99. package/src/components/List/components/ListItem/index.ts +2 -0
  100. package/src/components/List/components/index.ts +1 -0
  101. package/src/components/List/index.ts +1 -1
  102. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.tsx +3 -2
  103. package/src/components/NumberInput/helpers.ts +1 -1
  104. package/src/components/PhoneInput/PhoneInput.stories.tsx +1 -1
  105. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +1 -1
  106. package/src/components/PhoneInput/index.ts +0 -1
  107. package/src/components/Select/Select.tsx +2 -2
  108. package/src/components/Skeleton/Skeleton.stories.tsx +19 -0
  109. package/src/components/Skeleton/Skeleton.styles.ts +46 -0
  110. package/src/components/Skeleton/Skeleton.tsx +12 -0
  111. package/src/components/Skeleton/index.ts +2 -0
  112. package/src/components/Switch/Switch.tsx +2 -2
  113. package/src/components/index.ts +1 -0
  114. package/src/constants/index.ts +1 -0
  115. package/src/{components/PhoneInput → constants}/phone-info.ts +1 -1
  116. package/src/helpers/phone.ts +2 -1
  117. package/src/hooks/index.ts +1 -0
  118. package/src/hooks/use-merged-refs.ts +4 -0
  119. package/src/index.ts +1 -1
  120. package/src/theme/types.ts +4 -0
  121. package/src/types.ts +0 -4
  122. package/dist/components/List/types.d.ts +0 -12
  123. package/dist/components/PhoneInput/phone-info.d.ts +0 -2
  124. package/src/components/List/types.ts +0 -13
package/README.md CHANGED
@@ -10,6 +10,32 @@
10
10
 
11
11
  # Release Notes
12
12
 
13
+ ## v2.7.0
14
+
15
+ ### Changes
16
+
17
+ - **ListItem**: вынесен компонент для отрисовки пункта из списка List
18
+ - **Icon**: добавлены иконки folder, folder-add, presentation
19
+
20
+ ## v2.6.0
21
+
22
+ ### Changes
23
+
24
+ - **Input**: изменен тип пропса `label` на ReactNode
25
+
26
+ ## v2.5.0
27
+
28
+ ### Changes
29
+
30
+ - **DatePicker**: добавлен тип для стилей `IDatePickerStyleProps`
31
+ - **Input**: добавлена пропса `shouldAlwaysShowPlaceholder`
32
+
33
+ ## v2.4.0
34
+
35
+ ### Changes
36
+
37
+ - Изменения по файловой структуре проекта
38
+
13
39
  ## v2.3.2
14
40
 
15
41
  ### Changes
@@ -1,5 +1,6 @@
1
1
  import { ReactNode, ButtonHTMLAttributes, MouseEvent } from 'react';
2
- import { ICommonProps, IIcon } from '../../types';
2
+ import { ICommonProps } from '../../types';
3
+ import { IIcon } from '../Icon';
3
4
  import { IThemedPreloaderProps } from '../ThemedPreloader';
4
5
  import { IButtonSize, IButtonView } from './types';
5
6
  import { IButtonStyles } from './Button.styles';
@@ -1,7 +1,7 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IThemedPreloaderStyles } from '../ThemedPreloader';
3
3
  import { IButtonSize } from './types';
4
- export declare const useStyles: import("../../theme").IUseStyles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "s" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "m" | "l" | "xl" | "loader" | "loading", unknown>;
4
+ export declare const useStyles: import("../../theme").IUseStyles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown>;
5
5
  export declare const getPreloaderStyles: (size: IButtonSize) => IThemedPreloaderStyles | undefined;
6
6
  export declare type IButtonStyles = ITweakStyles<typeof useStyles, {
7
7
  tweakPreloader: IThemedPreloaderStyles;
@@ -3,7 +3,7 @@ import { ICommonProps } from '../../types';
3
3
  import { ICheckboxStyles } from './Checkbox.styles';
4
4
  export interface ICheckboxProps<V> extends ICommonProps<ICheckboxStyles> {
5
5
  children?: ReactNode;
6
- isChecked?: boolean;
6
+ isChecked: boolean | undefined;
7
7
  isSemiChecked?: boolean;
8
8
  isDisabled?: boolean;
9
9
  isReadonly?: boolean;
@@ -1,3 +1,3 @@
1
1
  import { ITweakStyles } from '../../theme';
2
- export declare const useStyles: import("../../theme").IUseStyles<"check" | "root" | "disabled" | "input" | "children" | "checked" | "labelPositionLeft", unknown>;
2
+ export declare const useStyles: import("../../theme").IUseStyles<"input" | "root" | "disabled" | "children" | "check" | "checked" | "labelPositionLeft", unknown>;
3
3
  export declare type ICheckboxStyles = ITweakStyles<typeof useStyles>;
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../../../theme';
2
2
  import { ISelectStyles } from '../../../Select';
3
- export declare const useStyles: import("../../../../theme").IUseStyles<"header" | "select" | "btn" | "selectValue" | "selectControl" | "buttons", unknown>;
3
+ export declare const useStyles: import("../../../../theme").IUseStyles<"select" | "btn" | "selectValue" | "selectControl" | "header" | "buttons", unknown>;
4
4
  export declare const selectStyles: ISelectStyles;
5
5
  export declare type IDatePickerHeaderStyles = ITweakStyles<typeof useStyles, {
6
6
  tweakSelect: ISelectStyles;
@@ -1,3 +1,3 @@
1
1
  import { ITweakStyles } from '../../theme';
2
- export declare const useStyles: import("../../theme").IUseStyles<"link" | "root" | "button", unknown>;
2
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "link" | "button", unknown>;
3
3
  export declare type IDescriptionStyles = ITweakStyles<typeof useStyles>;
@@ -1,7 +1,7 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IButtonStyles } from '../Button';
3
3
  export declare const FILTER_HEIGHT = 36;
4
- export declare const useStyles: import("../../theme").IUseStyles<"settings" | "clear" | "root" | "settingsIcon" | "filterWithClearButton", unknown>;
4
+ export declare const useStyles: import("../../theme").IUseStyles<"clear" | "root" | "settings" | "settingsIcon" | "filterWithClearButton", unknown>;
5
5
  export declare const clearButtonStyles: IButtonStyles;
6
6
  export declare const innerTextButtonStyles: IButtonStyles;
7
7
  export declare type IFiltersPaneStyles = ITweakStyles<typeof useStyles, {
@@ -1,6 +1,6 @@
1
1
  import { RefObject } from 'react';
2
2
  import { Classes } from 'jss';
3
- import { IFilterWrapperProps } from '../FilterWrapper';
3
+ import type { IFilterWrapperProps } from '../FilterWrapper';
4
4
  export interface IFilterProps<Values, Key extends keyof Values> extends IFilterWrapperProps<Values, Key> {
5
5
  parentRef?: RefObject<HTMLElement>;
6
6
  isInline?: boolean;
@@ -3,8 +3,8 @@ import { IButtonStyles } from '../../../Button';
3
3
  import { IInputStyles } from '../../../Input';
4
4
  export declare const useStyles: import("../../../../theme").IUseStyles<"clear" | "root" | "inputWrapper" | "autosize", unknown>;
5
5
  export declare const inputStyles: IInputStyles;
6
- export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "s" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
7
- tweakPreloader: Partial<import("jss").Styles<"currentColor" | "root" | "default" | "dots" | "logo", unknown, undefined>> & Partial<{
6
+ export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
7
+ tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
8
8
  tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
9
9
  tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
10
10
  }>;
@@ -1,10 +1,10 @@
1
1
  import { ITweakStyles } from '../../../../theme';
2
2
  import { IButtonStyles } from '../../../Button';
3
3
  import { ISearchInputStyles } from '../../../SearchInput';
4
- export declare const useStyles: import("../../../../theme").IUseStyles<"list" | "clear" | "item" | "root" | "icon" | "footer" | "label" | "option" | "labelChosen" | "withoutTopGap" | "withClearButton" | "panel" | "panelWithFooter" | "preloader" | "dropdownInput" | "nothingFound", unknown>;
4
+ export declare const useStyles: import("../../../../theme").IUseStyles<"clear" | "item" | "root" | "icon" | "list" | "label" | "labelChosen" | "withoutTopGap" | "withClearButton" | "option" | "panel" | "panelWithFooter" | "footer" | "preloader" | "dropdownInput" | "nothingFound", unknown>;
5
5
  export declare const searchInputStyles: ISearchInputStyles;
6
- export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "s" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
7
- tweakPreloader: Partial<import("jss").Styles<"currentColor" | "root" | "default" | "dots" | "logo", unknown, undefined>> & Partial<{
6
+ export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
7
+ tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
8
8
  tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
9
9
  tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
10
10
  }>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ICommonProps } from '../../../../types';
3
- import { IFilterWrapperProps } from '../FilterWrapper';
3
+ import type { IFilterWrapperProps } from '../FilterWrapper';
4
4
  import { IFilterValueViewStyles } from './FilterValueView.styles';
5
5
  export declare function FilterValueView<Values, Key extends keyof Values>({ locale, localeKey, filter, value, tweakStyles, }: Omit<IFilterWrapperProps<Values, Key>, 'onChange' | 'filtersPaneRef' | 'tweakStyles'> & ICommonProps<IFilterValueViewStyles>): JSX.Element;
@@ -2,14 +2,14 @@ import { ITweakStyles } from '../../../../theme';
2
2
  import { IButtonStyles } from '../../../Button';
3
3
  import { IDatePickerStyles } from '../../../DatePicker';
4
4
  export declare const useStyles: import("../../../../theme").IUseStyles<"root" | "datepicker" | "container" | "containerItem" | "btnRow", unknown>;
5
- export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "s" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
6
- tweakPreloader: Partial<import("jss").Styles<"currentColor" | "root" | "default" | "dots" | "logo", unknown, undefined>> & Partial<{
5
+ export declare const clearButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
6
+ tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
7
7
  tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
8
8
  tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
9
9
  }>;
10
10
  }>;
11
- export declare const backButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "s" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
12
- tweakPreloader: Partial<import("jss").Styles<"currentColor" | "root" | "default" | "dots" | "logo", unknown, undefined>> & Partial<{
11
+ export declare const backButtonStyles: Partial<import("jss").Styles<"content" | "outline" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "custom" | "children" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown, undefined>> & Partial<{
12
+ tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
13
13
  tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
14
14
  tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
15
15
  }>;
@@ -1,5 +1,5 @@
1
1
  import { ITweakStyles } from '../../../../theme';
2
- import { IFilterValueViewStyles } from '../FilterValueView';
2
+ import type { IFilterValueViewStyles } from '../FilterValueView';
3
3
  export declare const useStyles: import("../../../../theme").IUseStyles<"boolean" | "right" | "left" | "item" | "value" | "name" | "root" | "open" | "disabled" | "booleanItem" | "noValue" | "openNoValue" | "openWithValue" | "withValue" | "iconContainer" | "dropdown" | "animationEnd" | "animationStart" | "dropdown-enter" | "dropdown-enter-active" | "dropdown-exit-active" | "dropdown-exit", unknown>;
4
4
  export declare type IFilterWrapperStyles = ITweakStyles<typeof useStyles, {
5
5
  tweakValueView: IFilterValueViewStyles;
@@ -1,4 +1,4 @@
1
- import { IFilterLocale, IFilterLocaleKey, IPeriodGetter, ISelectLocale, ISelectLocaleKey } from './types';
1
+ import type { IFilterLocale, IFilterLocaleKey, IPeriodGetter, ISelectLocale, ISelectLocaleKey } from './types';
2
2
  export declare const PERIODS: readonly ["THIS_MONTH", "LAST_MONTH", "THIS_YEAR", "LAST_YEAR", "CUSTOM"];
3
3
  export declare const SelectLocales: Record<string, ISelectLocale>;
4
4
  export declare const FilterLocales: Record<string, IFilterLocale>;
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { IDatePickerProps } from '../DatePicker';
3
3
  import { IMultiSelectListValues } from '../MultiSelectList';
4
- import { IFilterIntervalProps, IFilterMultiSelectProps, IFilterSelectProps, IFilterWithDatesProps, IFilterWithPeriodProps } from './components';
4
+ import type { IFilterIntervalProps, IFilterMultiSelectProps, IFilterSelectProps, IFilterWithDatesProps, IFilterWithPeriodProps } from './components';
5
5
  import { FilterLocales, PERIODS, SelectLocales } from './constants';
6
6
  export declare type IPeriodType = (typeof PERIODS)[number];
7
7
  export declare type IFilterMultiSelectValues<Option = string> = IMultiSelectListValues<Option>;
@@ -7,7 +7,7 @@ export interface IFlexibleTableProps<Values extends Record<string, any>> extends
7
7
  headerContent?: Partial<Record<keyof Values, any>>;
8
8
  enabledColumns?: Array<keyof Values>;
9
9
  activeRows?: number[];
10
- config?: IFlexibleTableConfigType<Values>;
10
+ config: IFlexibleTableConfigType<Values>;
11
11
  isHorizontallyScrollable?: boolean;
12
12
  isFirstColumnSticky?: boolean;
13
13
  infinityScrollConfig?: IInfinityScrollConfig;
@@ -16,6 +16,7 @@ export interface IFlexibleTableProps<Values extends Record<string, any>> extends
16
16
  */
17
17
  uniqueField?: keyof Values;
18
18
  onHeadClick?: (column: keyof Values) => void;
19
+ isLoading?: boolean;
19
20
  onRowClick?: (id: string) => void;
20
21
  onRowHover?: (id?: string) => void;
21
22
  rowAttributes?: Array<keyof Values>;
@@ -23,4 +24,4 @@ export interface IFlexibleTableProps<Values extends Record<string, any>> extends
23
24
  nothingFoundContent?: ReactNode;
24
25
  expandableRowComponent?: (item: Values, isOpen: boolean, close: () => void) => ReactNode;
25
26
  }
26
- export declare function FlexibleTable<Values extends Record<string, any>>({ data, tweakStyles, content, headerContent, config, activeRows, enabledColumns, isHorizontallyScrollable, isFirstColumnSticky, infinityScrollConfig, uniqueField, onHeadClick, onRowHover, onRowClick, refForScroll, rowAttributes, nothingFoundContent, testId, expandableRowComponent, }: IFlexibleTableProps<Values>): JSX.Element;
27
+ export declare function FlexibleTable<Values extends Record<string, any>>({ data, tweakStyles, content, headerContent, config, activeRows, enabledColumns, isHorizontallyScrollable, isFirstColumnSticky, infinityScrollConfig, uniqueField, isLoading, onHeadClick, onRowHover, onRowClick, refForScroll, rowAttributes, nothingFoundContent, testId, expandableRowComponent, }: IFlexibleTableProps<Values>): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { ITweakStyles } from '../../theme';
2
- import { IFlexibleTableRowStyles } from './components';
2
+ import type { IFlexibleTableRowStyles } from './components';
3
3
  export declare const STICKY_SHADOW_PADDING = 12;
4
- export declare const useStyles: import("../../theme").IUseStyles<"root" | "scroll" | "header" | "loader" | "headerRow" | "headerSticky" | "headerSecond", unknown>;
4
+ export declare const useStyles: import("../../theme").IUseStyles<"scroll" | "root" | "loader" | "header" | "headerRow" | "headerSticky" | "headerSecond" | "skeleton", unknown>;
5
5
  export declare type IFlexibleTableStyles = ITweakStyles<typeof useStyles, {
6
6
  tweakTableRow: IFlexibleTableRowStyles;
7
7
  }>;
@@ -5,7 +5,7 @@ import { IFlexibleTableCellStyles } from './FlexibleTableCell.styles';
5
5
  export interface IFlexibleTableCellProps<Values extends Record<string, any>> extends Pick<ICommonProps<IFlexibleTableCellStyles>, 'tweakStyles'> {
6
6
  item: Values;
7
7
  columnName: keyof Values;
8
- config?: IFlexibleTableConfigType<Values>;
8
+ config: IFlexibleTableConfigType<Values>;
9
9
  isFocusedRow?: boolean;
10
10
  isSecond?: boolean;
11
11
  isSticky?: boolean;
@@ -13,5 +13,4 @@ export interface IFlexibleTableCellProps<Values extends Record<string, any>> ext
13
13
  isRowNestedComponentExpanded: boolean;
14
14
  onSetNestedComponent(component?: ReactNode): void;
15
15
  }
16
- declare function FlexibleTableCell<Values extends Record<string, any>>({ item, columnName, config, isFocusedRow, isSecond, isSticky, isNestedComponentExpanded, isRowNestedComponentExpanded, tweakStyles, onSetNestedComponent, }: IFlexibleTableCellProps<Values>): JSX.Element;
17
- export default FlexibleTableCell;
16
+ export declare function FlexibleTableCell<Values extends Record<string, any>>({ item, columnName, config, isFocusedRow, isSecond, isSticky, isNestedComponentExpanded, isRowNestedComponentExpanded, tweakStyles, onSetNestedComponent, }: IFlexibleTableCellProps<Values>): JSX.Element;
@@ -7,7 +7,7 @@ export interface IFlexibleTableRowProps<Values extends Record<string, any>> exte
7
7
  uniqueField?: keyof Values;
8
8
  isFirstColumnSticky?: boolean;
9
9
  isActive: boolean;
10
- config?: IFlexibleTableConfigType<Values>;
10
+ config: IFlexibleTableConfigType<Values>;
11
11
  enabledColumns?: Array<keyof Values>;
12
12
  rowAttributes?: Array<keyof Values>;
13
13
  expandableRowComponent?(item: Values, isOpen: boolean, close: () => void): ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../../../theme';
2
2
  import { IFlexibleTableCellStyles } from '../FlexibleTableCell';
3
- export declare const useStyles: import("../../../../theme").IUseStyles<"root" | "active" | "editable", unknown>;
3
+ export declare const useStyles: import("../../../../theme").IUseStyles<"root" | "active" | "editable" | "clickable", unknown>;
4
4
  export declare type IFlexibleTableRowStyles = ITweakStyles<typeof useStyles, {
5
5
  tweakTableCell: IFlexibleTableCellStyles;
6
6
  }>;
@@ -0,0 +1,3 @@
1
+ import { IFlexibleTableConfigType } from './types';
2
+ export declare const hasHorizontalScrollBar: (el: HTMLElement | null | undefined) => boolean;
3
+ export declare const formatCellContent: <Values>(value: unknown, config?: IFlexibleTableConfigType<Values>[keyof Values] | undefined) => string;
@@ -17,7 +17,7 @@ export declare type IFlexibleTableConfigType<Values> = {
17
17
  [Key in keyof Values]?: {
18
18
  title?: ReactNode;
19
19
  titleComponent?: ITitleComponent<unknown>;
20
- component?: IValueComponent<Values, Values[Key]>;
20
+ component?: IValueComponent<Values, NonNullable<Values[Key]>>;
21
21
  dateFormat?: string;
22
22
  minWidth?: string | number;
23
23
  width?: string | number;
@@ -1,4 +1,4 @@
1
- import { IIconType, ISvgIcon } from './types';
1
+ import type { IIconType, ISvgIcon } from './types';
2
2
  export declare const isComplexIcon: (type: IIconType) => type is "avatar";
3
3
  /**
4
4
  * Эта функция позволяет корректно определить ключи в типе
@@ -1 +1 @@
1
- export declare const iconsList: Record<"document" | "vendor-service" | "aircraft-takeoff" | "archive" | "arrow" | "arrow-right" | "baggage" | "balloon" | "bluetooth" | "bonus" | "book" | "box" | "business" | "calendar" | "cancel" | "check" | "check-big" | "check-all" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down-small" | "chevron-left-small" | "chevron-right-small" | "chevron-up-small" | "circle-check" | "close" | "close-large" | "close-window" | "copy" | "copy-outline" | "crane" | "danger" | "direction" | "download" | "email" | "eye" | "eye-closed" | "female" | "filter" | "food" | "information" | "insurance" | "link" | "list" | "lock" | "lock-open" | "male" | "menu" | "minus" | "burger-menu" | "pencil" | "pin" | "plane" | "plane-circle" | "plus" | "print" | "question" | "refresh" | "repeat" | "rocket" | "round-trip" | "vendor-logo" | "scan" | "search" | "send-email" | "settings" | "sign-out" | "size" | "sort" | "sort-asc" | "sort-desc" | "sort-list-asc" | "sort-list-desc" | "star" | "status-error" | "status-info" | "status-not-ok" | "status-ok" | "status-warning" | "three-circles" | "ticket-revert" | "ticket" | "time" | "trash-can" | "upgrade" | "user" | "user-group" | "voucher", import("./types").ISvgIcon>;
1
+ export declare const iconsList: Record<"document" | "direction" | "filter" | "copy" | "close" | "search" | "repeat" | "link" | "sort" | "size" | "menu" | "check" | "settings" | "list" | "arrow" | "time" | "vendor-service" | "aircraft-takeoff" | "archive" | "arrow-right" | "baggage" | "balloon" | "bluetooth" | "bonus" | "book" | "box" | "business" | "calendar" | "cancel" | "check-big" | "check-all" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down-small" | "chevron-left-small" | "chevron-right-small" | "chevron-up-small" | "circle-check" | "close-large" | "close-window" | "copy-outline" | "crane" | "danger" | "download" | "email" | "eye" | "eye-closed" | "female" | "folder" | "folder-add" | "food" | "information" | "insurance" | "lock" | "lock-open" | "male" | "minus" | "burger-menu" | "pencil" | "pin" | "plane" | "plane-circle" | "plus" | "presentation" | "print" | "question" | "refresh" | "rocket" | "round-trip" | "vendor-logo" | "scan" | "send-email" | "sign-out" | "sort-asc" | "sort-desc" | "sort-list-asc" | "sort-list-desc" | "star" | "status-error" | "status-info" | "status-not-ok" | "status-ok" | "status-warning" | "three-circles" | "ticket-revert" | "ticket" | "trash-can" | "upgrade" | "user" | "user-group" | "voucher", import("./types").ISvgIcon>;
@@ -2,3 +2,4 @@ export * from './Icon';
2
2
  export * from './types';
3
3
  export { iconsList } from './icons-list';
4
4
  export type { IIconStyles } from './Icon.styles';
5
+ export * from './snippet';
@@ -1,3 +1,3 @@
1
1
  import { ReactNode } from 'react';
2
- import { IIcon } from '../types';
2
+ import { IIcon } from './types';
3
3
  export declare const renderIcon: (icon: IIcon) => ReactNode;
@@ -1,4 +1,4 @@
1
- import { SVGAttributes } from 'react';
1
+ import { ReactElement, SVGAttributes } from 'react';
2
2
  import { complexIcons } from './complexIcons';
3
3
  import { iconsList } from './icons-list';
4
4
  export interface ISvgIcon {
@@ -10,3 +10,4 @@ export interface ISvgIcon {
10
10
  export declare type ICommonIcon = keyof typeof iconsList;
11
11
  export declare type IComplexIcon = keyof typeof complexIcons;
12
12
  export declare type IIconType = ICommonIcon | IComplexIcon;
13
+ export declare type IIcon = IIconType | ReactElement;
@@ -1,5 +1,6 @@
1
1
  import { FormEvent, FocusEvent, KeyboardEvent, ClipboardEvent, ReactNode } from 'react';
2
- import { ICommonProps, IIcon } from '../../types';
2
+ import { ICommonProps } from '../../types';
3
+ import { IIcon } from '../Icon';
3
4
  import { IReactInputMaskProps } from './types';
4
5
  import { IInputStyles } from './Input.styles';
5
6
  export interface IInputProps extends ICommonProps<IInputStyles>, IReactInputMaskProps {
@@ -1,7 +1,7 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IThemedPreloaderStyles } from '../ThemedPreloader';
3
3
  export declare const AUTOSIZE_MAX_WIDTH = 480;
4
- export declare const useStyles: import("../../theme").IUseStyles<"top" | "bottom" | "right" | "left" | "root" | "middle" | "icon" | "disabled" | "input" | "label" | "error" | "invalid" | "loading" | "inputWrapper" | "autosize" | "focused" | "inputContent" | "unitsWrapper" | "fakeValue" | "units" | "withFloatingLabel" | "floatingLabelWithoutPadding" | "floating" | "activeLabel" | "required" | "floatingWithoutPadding" | "requiredLabel" | "activeIcon" | "border-top" | "border-bottom" | "border-left" | "border-right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "controls" | "clearIcon" | "inputIcon" | "withIcons" | "withControls" | "invalidLabel" | "info" | "error-top" | "error-bottom" | "withUnits", unknown>;
4
+ export declare const useStyles: import("../../theme").IUseStyles<"top" | "bottom" | "right" | "left" | "error" | "input" | "invalid" | "root" | "middle" | "icon" | "disabled" | "loading" | "inputWrapper" | "autosize" | "label" | "focused" | "inputContent" | "unitsWrapper" | "fakeValue" | "units" | "withFloatingLabel" | "floatingLabelWithoutPadding" | "floating" | "activeLabel" | "required" | "floatingWithoutPadding" | "requiredLabel" | "activeIcon" | "border-top" | "border-bottom" | "border-left" | "border-right" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "controls" | "clearIcon" | "inputIcon" | "withIcons" | "withControls" | "invalidLabel" | "info" | "error-top" | "error-bottom" | "withUnits", unknown>;
5
5
  export declare type IInputStyles = ITweakStyles<typeof useStyles, {
6
6
  tweakPreloader: IThemedPreloaderStyles;
7
7
  }>;
@@ -1,9 +1,9 @@
1
- import { FC } from 'react';
1
+ import { FC, KeyboardEvent, MouseEvent } from 'react';
2
2
  import { ICommonProps } from '../../types';
3
- import { IListItem } from './types';
3
+ import { IListItemProps as IListItem } from './components';
4
4
  import { IListStyles } from './List.styles';
5
5
  export interface IListProps extends ICommonProps<IListStyles> {
6
6
  items: IListItem[];
7
- onClick?(): void;
7
+ onClick?(event: MouseEvent | KeyboardEvent): void;
8
8
  }
9
9
  export declare const List: FC<IListProps>;
@@ -0,0 +1,15 @@
1
+ import { FC, MouseEvent, KeyboardEvent, ReactNode } from 'react';
2
+ import { ICommonProps } from '../../../../types';
3
+ import { IIcon } from '../../../Icon';
4
+ import { IListItemStyles } from './ListItem.styles';
5
+ export interface IListItemProps extends ICommonProps<IListItemStyles> {
6
+ item: ReactNode;
7
+ view?: 'default' | 'destructive';
8
+ icon?: IIcon;
9
+ disabled?: boolean;
10
+ shouldDrawSpacerAbove?: boolean;
11
+ shouldDrawSpacerBelow?: boolean;
12
+ withIconGap?: boolean;
13
+ onClick(event: MouseEvent | KeyboardEvent): void;
14
+ }
15
+ export declare const ListItem: FC<IListItemProps>;
@@ -0,0 +1,3 @@
1
+ import { ITweakStyles } from '../../../../theme';
2
+ export declare const useStyles: import("../../../../theme").IUseStyles<"content" | "root" | "default" | "icon" | "destructive" | "disabledItem" | "spacer" | "withIconGap", unknown>;
3
+ export declare type IListItemStyles = ITweakStyles<typeof useStyles>;
@@ -0,0 +1,2 @@
1
+ export * from './ListItem';
2
+ export type { IListItemStyles } from './ListItem.styles';
@@ -0,0 +1 @@
1
+ export * from './ListItem';
@@ -1,3 +1,3 @@
1
1
  export * from './List';
2
- export * from './types';
3
2
  export type { IListStyles } from './List.styles';
3
+ export type { IListItemStyles, IListItemProps as IListItem } from './components';
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { ICloseButtonStyles } from '../CloseButton';
3
- export declare const useStyles: import("../../theme").IUseStyles<"close" | "content" | "root" | "overlay" | "footer" | "s" | "title" | "m" | "l" | "animationEnd" | "animationStart" | "fixedPosition" | "innerOverlay" | "sideBar" | "position-static" | "position-left" | "position-right" | "position-center" | "modal" | "titleWithCloseButton" | "stickyFooterWrapper" | "stickyFooter" | "buttons-left" | "buttons-center" | "buttons-right" | "withoutFooter" | "withStickyFooter" | "footerWrapper" | "modalWrapper" | "modal-enter" | "modal-enter-active" | "modal-exit" | "modal-exit-active", unknown>;
3
+ export declare const useStyles: import("../../theme").IUseStyles<"content" | "close" | "root" | "overlay" | "s" | "m" | "l" | "footer" | "animationEnd" | "animationStart" | "fixedPosition" | "innerOverlay" | "sideBar" | "position-static" | "position-left" | "position-right" | "position-center" | "modal" | "title" | "titleWithCloseButton" | "stickyFooterWrapper" | "stickyFooter" | "buttons-left" | "buttons-center" | "buttons-right" | "withoutFooter" | "withStickyFooter" | "footerWrapper" | "modalWrapper" | "modal-enter" | "modal-enter-active" | "modal-exit" | "modal-exit-active", unknown>;
4
4
  export declare type IModalStyles = ITweakStyles<typeof useStyles, {
5
5
  tweakCloseButton: ICloseButtonStyles;
6
6
  }>;
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IListStyles } from '../List';
3
- export declare const useStyles: import("../../theme").IUseStyles<"menu" | "root" | "button" | "icon" | "active" | "disabled" | "hasCircle", unknown>;
3
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "button" | "icon" | "menu" | "active" | "disabled" | "hasCircle", unknown>;
4
4
  export declare type IMoreMenuStyles = ITweakStyles<typeof useStyles, {
5
5
  tweakList: IListStyles;
6
6
  }>;
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IMultiSelectListStyles } from '../MultiSelectList';
3
- export declare const useStyles: import("../../theme").IUseStyles<"right" | "left" | "root" | "open" | "disabled" | "invalid" | "required" | "listContainer" | "full", unknown>;
3
+ export declare const useStyles: import("../../theme").IUseStyles<"right" | "left" | "invalid" | "root" | "open" | "disabled" | "required" | "listContainer" | "full", unknown>;
4
4
  export declare const multiSelectListStyles: IMultiSelectListStyles;
5
5
  export declare type IMultiSelectStyles = ITweakStyles<typeof useStyles, {
6
6
  tweakMultiSelectList: IMultiSelectListStyles;
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ICommonProps } from '../../../../types';
3
- import { IMultiSelectInputStyles, IMultiSelectListValues } from '../../../index';
3
+ import { IMultiSelectListValues } from '../../../MultiSelectList';
4
+ import { IMultiSelectInputStyles } from './MultiSelectInput.styles';
4
5
  export interface IMultiSelectInputProps<Value> extends Pick<ICommonProps<IMultiSelectInputStyles>, 'tweakStyles'> {
5
6
  value?: IMultiSelectListValues<Value>;
6
7
  isOpen: boolean;
@@ -1,3 +1,3 @@
1
1
  import { ITweakStyles } from '../../../../theme';
2
- export declare const useStyles: import("../../../../theme").IUseStyles<"arrow" | "value" | "root" | "values" | "placeholder" | "placeholderSmall" | "amount" | "indicator" | "arrowUp" | "indicatorDisabled", unknown>;
2
+ export declare const useStyles: import("../../../../theme").IUseStyles<"value" | "root" | "values" | "placeholder" | "placeholderSmall" | "amount" | "indicator" | "arrow" | "arrowUp" | "indicatorDisabled", unknown>;
3
3
  export declare type IMultiSelectInputStyles = ITweakStyles<typeof useStyles>;
@@ -2,7 +2,7 @@ import { ITweakStyles } from '../../theme';
2
2
  import { IButtonStyles } from '../Button';
3
3
  import { ICheckboxStyles } from '../Checkbox';
4
4
  import { ISearchInputStyles } from '../SearchInput';
5
- export declare const useStyles: import("../../theme").IUseStyles<"list" | "clear" | "item" | "root" | "label" | "option" | "labelChosen" | "withoutTopGap" | "panel" | "preloader" | "dropdownInput" | "nothingFound" | "selectedItem", unknown>;
5
+ export declare const useStyles: import("../../theme").IUseStyles<"clear" | "item" | "root" | "list" | "label" | "labelChosen" | "withoutTopGap" | "option" | "panel" | "preloader" | "dropdownInput" | "nothingFound" | "selectedItem", unknown>;
6
6
  export declare const searchInputStyles: ISearchInputStyles;
7
7
  export declare const checkboxStyles: ICheckboxStyles;
8
8
  export declare const clearButtonStyles: IButtonStyles;
@@ -1,3 +1,3 @@
1
1
  import { ITweakStyles } from '../../theme';
2
- export declare const useStyles: import("../../theme").IUseStyles<"content" | "root" | "inline" | "text" | "icon" | "body" | "s" | "title" | "error" | "warning" | "m" | "l" | "info" | "withText" | "withTitle" | "ok" | "not-ok", unknown>;
2
+ export declare const useStyles: import("../../theme").IUseStyles<"content" | "error" | "root" | "inline" | "text" | "icon" | "warning" | "s" | "m" | "l" | "info" | "title" | "body" | "withText" | "withTitle" | "ok" | "not-ok", unknown>;
3
3
  export declare type INotificationStyles = ITweakStyles<typeof useStyles>;
@@ -1,4 +1,4 @@
1
- import { INumberInputProps } from './NumberInput';
1
+ import type { INumberInputProps } from './NumberInput';
2
2
  export declare const getNewCaretPosition: (defaultPosition: number, oldValue: string, newValue: string, isDeleteForwardAction?: boolean) => number;
3
3
  export declare const formatNumberWithDefault: (value: number | undefined, defaultValue?: number) => string;
4
4
  export declare const constructRegExp: ({ canBeFloat, canBeNegative, intPartPrecision, precision, }: Pick<INumberInputProps, 'canBeFloat' | 'canBeNegative' | 'intPartPrecision' | 'precision'>) => string;
@@ -1,7 +1,7 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IInputStyles } from '../Input';
3
3
  import { IPhoneInputCountryListStyles } from './components';
4
- export declare const useStyles: import("../../theme").IUseStyles<"arrow" | "root" | "countrySelectContainer" | "disabledCountrySelect" | "flag" | "up" | "invalidArrow" | "focusedBorder" | "invalidBorder" | "inputContainer" | "flagListContainer", unknown>;
4
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "arrow" | "countrySelectContainer" | "disabledCountrySelect" | "flag" | "up" | "invalidArrow" | "focusedBorder" | "invalidBorder" | "inputContainer" | "flagListContainer", unknown>;
5
5
  export declare const inputStyles: IInputStyles;
6
6
  export declare type IPhoneInputStyles = ITweakStyles<typeof useStyles, {
7
7
  tweakInput: IInputStyles;
@@ -1,5 +1,4 @@
1
1
  export * from './PhoneInput';
2
- export { phoneInfo } from './phone-info';
3
2
  export * from './types';
4
3
  export type { IPhoneInputStyles } from './PhoneInput.styles';
5
4
  export type { IPhoneInputCountryListStyles } from './components';
@@ -160,27 +160,27 @@ export declare class ScrollIntoViewIfNeeded extends PureComponent<IScrollIntoVie
160
160
  results?: number | undefined;
161
161
  security?: string | undefined;
162
162
  unselectable?: "on" | "off" | undefined;
163
- inputMode?: "none" | "email" | "search" | "text" | "tel" | "url" | "numeric" | "decimal" | undefined;
163
+ inputMode?: "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
164
164
  is?: string | undefined;
165
165
  'aria-activedescendant'?: string | undefined;
166
166
  'aria-atomic'?: (boolean | "false" | "true") | undefined;
167
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
167
+ 'aria-autocomplete'?: "inline" | "none" | "both" | "list" | undefined;
168
168
  'aria-busy'?: (boolean | "false" | "true") | undefined;
169
169
  'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
170
170
  'aria-colcount'?: number | undefined;
171
171
  'aria-colindex'?: number | undefined;
172
172
  'aria-colspan'?: number | undefined;
173
173
  'aria-controls'?: string | undefined;
174
- 'aria-current'?: boolean | "time" | "page" | "false" | "true" | "date" | "step" | "location" | undefined;
174
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
175
175
  'aria-describedby'?: string | undefined;
176
176
  'aria-details'?: string | undefined;
177
177
  'aria-disabled'?: (boolean | "false" | "true") | undefined;
178
- 'aria-dropeffect'?: "none" | "copy" | "link" | "move" | "execute" | "popup" | undefined;
178
+ 'aria-dropeffect'?: "copy" | "none" | "link" | "move" | "execute" | "popup" | undefined;
179
179
  'aria-errormessage'?: string | undefined;
180
180
  'aria-expanded'?: (boolean | "false" | "true") | undefined;
181
181
  'aria-flowto'?: string | undefined;
182
182
  'aria-grabbed'?: (boolean | "false" | "true") | undefined;
183
- 'aria-haspopup'?: boolean | "menu" | "grid" | "listbox" | "false" | "true" | "dialog" | "tree" | undefined;
183
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
184
184
  'aria-hidden'?: (boolean | "false" | "true") | undefined;
185
185
  'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
186
186
  'aria-keyshortcuts'?: string | undefined;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode, SyntheticEvent } from 'react';
2
- import { ICommonProps, IDropdownWithPopperOptions, IIcon } from '../../types';
2
+ import { ICommonProps, IDropdownWithPopperOptions } from '../../types';
3
+ import { IIcon } from '../Icon';
3
4
  import { IInputProps } from '../Input';
4
5
  import { ISearchInputProps } from '../SearchInput';
5
6
  import { IMultipleSelectValue } from './types';