@true-engineering/true-react-common-ui-kit 2.3.0 → 2.3.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/README.md +12 -0
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/FiltersPane/FilterSelect/FilterSelect.d.ts +1 -1
- package/dist/components/FiltersPane/FiltersPane.d.ts +1 -1
- package/dist/components/FlexibleTable/FlexibleTable.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.d.ts +1 -1
- package/dist/components/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +521 -521
- package/dist/true-react-common-ui-kit.umd.cjs +521 -521
- package/package.json +2 -2
- package/src/components/DateInput/DateInput.tsx +1 -1
- package/src/components/DatePicker/DatePicker.tsx +1 -1
- package/src/components/FiltersPane/FilterSelect/FilterSelect.tsx +1 -1
- package/src/components/FiltersPane/FiltersPane.tsx +1 -1
- package/src/components/FlexibleTable/FlexibleTable.tsx +1 -1
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.tsx +1 -1
- package/src/components/MultiSelectList/MultiSelectList.tsx +1 -1
- package/src/components/PhoneInput/PhoneInput.tsx +1 -1
- package/src/components/Select/Select.tsx +1 -1
- package/src/components/ThemedPreloader/ThemedPreloader.tsx +1 -1
- package/src/helpers/deprecated.ts +2 -1
package/README.md
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
# Release Notes
|
|
12
12
|
|
|
13
|
+
## v2.3.2
|
|
14
|
+
|
|
15
|
+
### Changes
|
|
16
|
+
|
|
17
|
+
- **Modal**: исправляет баг с закрытием модалки по Esc
|
|
18
|
+
|
|
19
|
+
## v2.3.1
|
|
20
|
+
|
|
21
|
+
### Changes
|
|
22
|
+
|
|
23
|
+
- Обновление версии **@true-engineering/true-react-platform-helpers@0.0.5** и функции isNotEmpty
|
|
24
|
+
|
|
13
25
|
## v2.3.0
|
|
14
26
|
|
|
15
27
|
### Changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC, SyntheticEvent } from 'react';
|
|
2
2
|
import ReactDatePicker from 'react-datepicker';
|
|
3
3
|
import { IDateInputProps } from '../DateInput';
|
|
4
|
-
import { DatePickerStyles } from './DatePicker.styles';
|
|
5
4
|
import { IDatePickerBaseProps, IRange } from './types';
|
|
5
|
+
import { DatePickerStyles } from './DatePicker.styles';
|
|
6
6
|
export interface IDatePickerProps extends IDatePickerBaseProps {
|
|
7
7
|
selectedDate?: Date | null;
|
|
8
8
|
locale: Locale;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../../types';
|
|
3
3
|
import { IFilterLocaleKey } from '../locales';
|
|
4
|
-
import { FilterSelectStyles } from './FilterSelect.styles';
|
|
5
4
|
import { ISelectLocale } from './locales';
|
|
5
|
+
import { FilterSelectStyles } from './FilterSelect.styles';
|
|
6
6
|
export interface IFilterSelectProps<Value> extends ICommonProps {
|
|
7
7
|
tweakStyles?: FilterSelectStyles;
|
|
8
8
|
value?: Value;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
|
-
import { FiltersPaneStyles } from './FiltersPane.styles';
|
|
4
3
|
import { IFiltersPaneSearchProps } from './FiltersPaneSearch';
|
|
5
4
|
import { IFilterLocaleKey, IPartialFilterLocale } from './locales';
|
|
6
5
|
import { ConfigType } from './types';
|
|
6
|
+
import { FiltersPaneStyles } from './FiltersPane.styles';
|
|
7
7
|
export interface IFiltersPaneProps<Values, Content = Values> extends ICommonProps {
|
|
8
8
|
tweakStyles?: FiltersPaneStyles;
|
|
9
9
|
filtersConfig: ConfigType<Values>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { RefObject } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
|
-
import { FlexibleTableStyles } from './FlexibleTable.styles';
|
|
4
3
|
import { FlexibleTableConfigType, IInfinityScrollConfig } from './types';
|
|
4
|
+
import { FlexibleTableStyles } from './FlexibleTable.styles';
|
|
5
5
|
export interface IFlexibleTableProps<Values extends Record<string, any>> extends ICommonProps {
|
|
6
6
|
tweakStyles?: FlexibleTableStyles;
|
|
7
7
|
content: Values[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
|
-
import { IconStyles } from './Icon.styles';
|
|
4
3
|
import { IComplexIcon } from './complexIcons';
|
|
5
4
|
import { ICommonIcon } from './icons';
|
|
5
|
+
import { IconStyles } from './Icon.styles';
|
|
6
6
|
export declare type IIconType = ICommonIcon | IComplexIcon;
|
|
7
7
|
export interface IIconProps extends ICommonProps {
|
|
8
8
|
tweakStyles?: IconStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
|
-
import { MultiSelectListStyles } from './MultiSelectList.styles';
|
|
4
3
|
import { IMultiSelectLocale, IMultiSelectLocaleKey } from './locales';
|
|
4
|
+
import { MultiSelectListStyles } from './MultiSelectList.styles';
|
|
5
5
|
export interface IMultiSelectListValues<Option> {
|
|
6
6
|
include: Option[];
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { IInputProps } from '../Input';
|
|
3
|
-
import { PhoneInputStyles } from './PhoneInput.styles';
|
|
4
3
|
import { IPhoneValue } from './types';
|
|
4
|
+
import { PhoneInputStyles } from './PhoneInput.styles';
|
|
5
5
|
export interface IPhoneInputProps extends Omit<IInputProps, 'value' | 'onChange' | 'type' | 'mask' | 'units' | 'placeholder'> {
|
|
6
6
|
tweakStyles?: PhoneInputStyles;
|
|
7
7
|
locale?: string;
|
|
@@ -2,8 +2,8 @@ import { ReactNode, SyntheticEvent } from 'react';
|
|
|
2
2
|
import { IDropdownWithPopperOptions, IIcon } from '../../types';
|
|
3
3
|
import { IInputProps } from '../Input';
|
|
4
4
|
import { ISearchInputProps } from '../SearchInput';
|
|
5
|
-
import { SelectStyles } from './Select.styles';
|
|
6
5
|
import { IMultipleSelectValue } from './types';
|
|
6
|
+
import { SelectStyles } from './Select.styles';
|
|
7
7
|
export interface ISelectProps<Value> extends Omit<IInputProps, 'value' | 'onChange' | 'onBlur' | 'type'> {
|
|
8
8
|
tweakStyles?: SelectStyles;
|
|
9
9
|
defaultOptionLabel?: string;
|