@true-engineering/true-react-common-ui-kit 4.0.0-alpha44 → 4.0.0-alpha46
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/AccountInfo/AccountInfo.styles.d.ts +1 -1
- package/dist/components/AddButton/AddButton.styles.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.styles.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.styles.d.ts +1 -1
- package/dist/components/CloseButton/CloseButton.styles.d.ts +1 -1
- package/dist/components/ControlWrapper/ControlWrapper.d.ts +2 -2
- package/dist/components/ControlWrapper/ControlWrapper.styles.d.ts +1 -1
- package/dist/components/ControlWrapper/constants.d.ts +1 -0
- package/dist/components/ControlWrapper/index.d.ts +1 -0
- package/dist/components/ControlWrapper/types.d.ts +3 -1
- package/dist/components/CssBaseline/CssBaseline.styles.d.ts +1 -1
- package/dist/components/DateInput/DateInput.d.ts +1 -2
- package/dist/components/DateInput/DateInput.styles.d.ts +1 -1
- package/dist/components/DateInput/constants.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +2 -3
- package/dist/components/DatePicker/DatePicker.styles.d.ts +1 -1
- package/dist/components/DatePicker/components/DatePickerBase/DatePickerBase.d.ts +1 -1
- package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +1 -1
- package/dist/components/DatePicker/constants.d.ts +1 -1
- package/dist/components/DatePicker/types.d.ts +2 -2
- package/dist/components/Description/Description.styles.d.ts +1 -1
- package/dist/components/FileInput/FileInput.d.ts +1 -1
- package/dist/components/FileInput/FileInput.styles.d.ts +1 -1
- package/dist/components/FileItem/FileItem.styles.d.ts +1 -1
- package/dist/components/FiltersPane/FiltersPane.d.ts +0 -1
- package/dist/components/FiltersPane/FiltersPane.styles.d.ts +2 -2
- package/dist/components/FiltersPane/components/Filter/Filter.d.ts +1 -2
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +3 -6
- package/dist/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.d.ts +0 -1
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +3 -6
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +1 -2
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +5 -11
- package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.d.ts +0 -1
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +2 -2
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +1 -1
- package/dist/components/FiltersPane/constants.d.ts +1 -1
- package/dist/components/FiltersPane/helpers.d.ts +1 -1
- package/dist/components/FiltersPane/types.d.ts +1 -1
- package/dist/components/Flag/Flag.styles.d.ts +1 -1
- package/dist/components/Flag/customFlags/customFlags.d.ts +2 -2
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +2 -2
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/helpers.d.ts +2 -2
- package/dist/components/FloatDocActions/FloatDocActions.styles.d.ts +1 -1
- package/dist/components/FloatDocActions/components/DocActions/DocActions.styles.d.ts +1 -1
- package/dist/components/Icon/Icon.styles.d.ts +1 -1
- package/dist/components/Icon/icons/index.d.ts +29 -29
- package/dist/components/IconButton/IconButton.d.ts +1 -2
- package/dist/components/IconButton/IconButton.styles.d.ts +1 -1
- package/dist/components/IncrementInput/IncrementInput.styles.d.ts +1 -1
- package/dist/components/Input/Input.d.ts +1 -2
- package/dist/components/Input/Input.styles.d.ts +1 -1
- package/dist/components/Input/InputBase.d.ts +1 -1
- package/dist/components/List/List.styles.d.ts +1 -1
- package/dist/components/List/components/ListItem/ListItem.styles.d.ts +1 -1
- package/dist/components/Modal/Modal.styles.d.ts +1 -1
- package/dist/components/MoreMenu/MoreMenu.styles.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +0 -1
- package/dist/components/MultiSelect/MultiSelect.styles.d.ts +1 -1
- package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +1 -1
- package/dist/components/MultiSelectList/constants.d.ts +1 -1
- package/dist/components/MultiSelectList/helpers.d.ts +1 -1
- package/dist/components/NewMoreMenu/NewMoreMenu.styles.d.ts +1 -1
- package/dist/components/Notification/Notification.styles.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +1 -2
- package/dist/components/NumberInput/helpers.d.ts +2 -2
- package/dist/components/PhoneInput/PhoneInput.styles.d.ts +1 -1
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.styles.d.ts +1 -1
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +3 -373
- package/dist/components/ScrollIntoViewIfNeeded/constants.d.ts +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.styles.d.ts +12 -22
- package/dist/components/Select/components/SelectList/SelectList.d.ts +5 -5
- package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +1 -1
- package/dist/components/Select/components/SelectListItem/SelectListItem.d.ts +2 -2
- package/dist/components/Select/helpers.d.ts +1 -1
- package/dist/components/Selector/Selector.d.ts +0 -1
- package/dist/components/Selector/Selector.styles.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/components/SmartInput/SmartInput.d.ts +1 -1
- package/dist/components/Status/Status.styles.d.ts +1 -1
- package/dist/components/Status/types.d.ts +1 -1
- package/dist/components/Switch/Switch.styles.d.ts +1 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -1
- package/dist/components/TextArea/TextArea.styles.d.ts +1 -1
- package/dist/components/TextButton/TextButton.d.ts +1 -1
- package/dist/components/TextButton/TextButton.styles.d.ts +1 -1
- package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +1 -1
- package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +1 -1
- package/dist/components/Toaster/Toaster.styles.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.styles.d.ts +1 -1
- package/dist/components/WithMessages/WithMessages.d.ts +1 -1
- package/dist/components/WithMessages/WithMessages.styles.d.ts +1 -1
- package/dist/components/WithPopup/WithPopup.styles.d.ts +1 -1
- package/dist/components/WithPopup/types.d.ts +4 -4
- package/dist/components/index.d.ts +0 -1
- package/dist/constants/phone-info.d.ts +1 -1
- package/dist/helpers/misc.d.ts +2 -1
- package/dist/helpers/phone.d.ts +1 -1
- package/dist/hooks/use-dropdown.d.ts +3 -3
- package/dist/hooks/use-merge.d.ts +1 -1
- package/dist/hooks/use-mixed-styles.d.ts +3 -3
- package/dist/hooks/use-tweak-styles.d.ts +5 -5
- package/dist/theme/Provider.d.ts +2 -2
- package/dist/theme/common.d.ts +1 -1
- package/dist/theme/helpers.d.ts +3 -3
- package/dist/theme/true-jss/ThemedStylesManager.d.ts +1 -1
- package/dist/theme/true-jss/TweakStylesManager.d.ts +1 -1
- package/dist/theme/types.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +881 -733
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +881 -733
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +14 -16
- package/src/components/AccountInfo/AccountInfo.stories.tsx +19 -27
- package/src/components/AddButton/AddButton.stories.tsx +14 -17
- package/src/components/Button/Button.stories.tsx +7 -24
- package/src/components/Checkbox/Checkbox.stories.tsx +24 -26
- package/src/components/Checkbox/types.ts +1 -1
- package/src/components/CloseButton/CloseButton.stories.tsx +5 -6
- package/src/components/Colors/Colors.stories.tsx +63 -3
- package/src/components/ControlWrapper/ControlWrapper.stories.tsx +43 -38
- package/src/components/ControlWrapper/ControlWrapper.tsx +2 -11
- package/src/components/ControlWrapper/constants.ts +11 -0
- package/src/components/ControlWrapper/index.ts +1 -0
- package/src/components/ControlWrapper/types.ts +4 -1
- package/src/components/DateInput/DateInput.stories.tsx +13 -30
- package/src/components/DatePicker/DatePicker.stories.tsx +15 -52
- package/src/components/Description/Description.stories.tsx +11 -16
- package/src/components/FileInput/FileInput.stories.tsx +59 -63
- package/src/components/FileItem/FileItem.stories.tsx +46 -45
- package/src/components/FiltersPane/FiltersPane.stories.tsx +27 -30
- package/src/components/FiltersPane/components/Filter/Filter.tsx +1 -1
- package/src/components/FiltersPane/components/Filter/helpers.ts +3 -3
- package/src/components/FiltersPane/types.ts +0 -2
- package/src/components/Flag/Flag.stories.tsx +15 -20
- package/src/components/Flag/Flag.tsx +2 -2
- package/src/components/FlexibleTable/FlexibleTable.stories.tsx +47 -50
- package/src/components/FloatDocActions/FloatDocActions.stories.tsx +18 -24
- package/src/components/Icon/Icon.stories.tsx +9 -5
- package/src/components/Icon/types.ts +1 -1
- package/src/components/IconButton/IconButton.stories.tsx +7 -11
- package/src/components/IncrementInput/IncrementInput.stories.tsx +25 -25
- package/src/components/Input/Input.stories.tsx +35 -61
- package/src/components/List/List.stories.tsx +22 -17
- package/src/components/List/List.styles.ts +2 -1
- package/src/components/Modal/Modal.stories.tsx +50 -59
- package/src/components/MoreMenu/MoreMenu.stories.tsx +24 -15
- package/src/components/MultiSelect/MultiSelect.stories.tsx +23 -20
- package/src/components/NewMoreMenu/NewMoreMenu.stories.tsx +42 -40
- package/src/components/Notification/Notification.stories.tsx +34 -32
- package/src/components/NumberInput/NumberInput.stories.tsx +27 -27
- package/src/components/PhoneInput/PhoneInput.stories.tsx +28 -54
- package/src/components/PhoneInput/PhoneInput.tsx +1 -1
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +5 -11
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +1 -4
- package/src/components/RadioButton/RadioButton.stories.tsx +28 -31
- package/src/components/RadioButton/types.ts +1 -1
- package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +15 -9
- package/src/components/SearchInput/SearchInput.stories.tsx +14 -14
- package/src/components/Select/CustomSelect.stories.tsx +29 -33
- package/src/components/Select/MultiSelect.stories.tsx +41 -46
- package/src/components/Select/Select.stories.tsx +41 -46
- package/src/components/Select/Select.tsx +27 -27
- package/src/components/Select/components/SelectList/SelectList.tsx +4 -4
- package/src/components/Selector/Selector.stories.tsx +25 -27
- package/src/components/Selector/Selector.tsx +1 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +13 -12
- package/src/components/SmartInput/SmartInput.stories.tsx +23 -23
- package/src/components/Status/Status.stories.tsx +29 -30
- package/src/components/Status/types.ts +1 -1
- package/src/components/Switch/Switch.stories.tsx +19 -26
- package/src/components/TextArea/TextArea.stories.tsx +32 -35
- package/src/components/TextArea/types.ts +1 -1
- package/src/components/TextButton/TextButton.stories.tsx +6 -16
- package/src/components/TextWithInfo/TextWithInfo.stories.tsx +13 -21
- package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +26 -25
- package/src/components/TextWithTooltip/TextWithTooltip.tsx +1 -2
- package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +12 -23
- package/src/components/Toaster/Toaster.stories.tsx +16 -14
- package/src/components/Tooltip/Tooltip.stories.tsx +5 -4
- package/src/components/WithMessages/WithMessages.stories.tsx +16 -20
- package/src/components/WithPopup/WithPopup.stories.tsx +27 -26
- package/src/components/WithTooltip/WithTooltip.stories.tsx +28 -28
- package/src/components/index.ts +0 -1
- package/src/helpers/misc.ts +8 -5
- package/src/helpers/popper-helpers.ts +0 -1
- package/src/theme/helpers.ts +3 -1
- package/src/theme/true-jss/ThemedStylesManager.ts +2 -1
- package/src/theme/true-jss/TweakStylesManager.ts +1 -2
- package/src/theme/types.ts +0 -1
- package/src/types.ts +0 -2
- package/dist/components/Colors/Colors.d.ts +0 -2
- package/dist/components/Colors/Colors.styles.d.ts +0 -1
- package/dist/components/Colors/index.d.ts +0 -1
- package/src/components/Colors/Colors.styles.ts +0 -36
- package/src/components/Colors/Colors.tsx +0 -26
- package/src/components/Colors/index.ts +0 -1
- package/src/components/Flag/customFlags/augment.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IListStyles } from '../List';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "account" | "accountName" | "accountNameOpened" | "accountChevron" | "accountChevronOpened" | "accountMenu" | "avatarIcon" | "slide-up-enter" | "slide-up-enter-active" | "slide-up-exit-active" | "slide-up-exit">;
|
|
4
4
|
export type IAccountInfoStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakList: IListStyles;
|
|
6
6
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "icon" | "disabled" | "fullWidth">;
|
|
3
3
|
export type IAddButtonStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -38,4 +38,4 @@ export interface IButtonProps extends ICommonProps<IButtonStyles>, IDomElementIn
|
|
|
38
38
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
39
39
|
onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
40
40
|
}
|
|
41
|
-
export declare const Button: import(
|
|
41
|
+
export declare const Button: import('react').ForwardRefExoticComponent<IButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -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(
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"content" | "outline" | "custom" | "children" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading">;
|
|
5
5
|
export declare const getPreloaderStyles: (size: IButtonSize) => IThemedPreloaderStyles | undefined;
|
|
6
6
|
export type IButtonStyles = ITweakStyles<typeof useStyles, {
|
|
7
7
|
tweakPreloader: IThemedPreloaderStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { ICheckboxSizes } from './types';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"input" | "invalid" | "children" | "root" | "disabled" | "checked" | "check" | "labelPositionLeft">;
|
|
4
4
|
export type ICheckboxStyles = ITweakStyles<typeof useStyles, ICheckboxSizes>;
|
|
@@ -2,14 +2,14 @@ import { FC, ReactNode } from 'react';
|
|
|
2
2
|
import { IMaybeArray } from '../../theme';
|
|
3
3
|
import { IClickHandlerEvent, ICommonProps } from '../../types';
|
|
4
4
|
import { IIcon } from '../Icon';
|
|
5
|
-
import { IControlWrapperIcon, IControlWrapperSize } from './types';
|
|
5
|
+
import { IControlWrapperIcon, IControlWrapperSize, IGroupPlacement } from './types';
|
|
6
6
|
import { IControlWrapperStyles } from './ControlWrapper.styles';
|
|
7
7
|
export interface IControlWrapperProps extends ICommonProps<IControlWrapperStyles> {
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
label?: ReactNode;
|
|
10
10
|
icon?: IMaybeArray<IIcon | IControlWrapperIcon>;
|
|
11
11
|
size?: IControlWrapperSize;
|
|
12
|
-
groupPlacement?:
|
|
12
|
+
groupPlacement?: IGroupPlacement;
|
|
13
13
|
/** @default false */
|
|
14
14
|
isInvalid?: boolean;
|
|
15
15
|
/** @default false */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IThemedPreloaderStyles } from '../ThemedPreloader';
|
|
3
3
|
import { IControlWrapperSizes } from './types';
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"invalid" | "icon" | "disabled" | "loader" | "loading" | "label" | "requiredLabel" | "withValue" | "clearIcon" | "focused" | "wrapper" | "controlWrapper" | "minContent" | "activeLabel" | "disabledLabel" | "controls" | "iconInner" | "customIcon" | "endIcon" | "activeIcon" | "placement-top" | "placement-bottom" | "placement-top-left" | "placement-top-right" | "placement-bottom-left" | "placement-bottom-right" | "placement-left" | "placement-right" | "placement-middle">;
|
|
5
5
|
export type IControlWrapperStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakPreloader: IThemedPreloaderStyles;
|
|
7
7
|
} & IControlWrapperSizes>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GROUP_PLACEMENTS: readonly ["left", "right", "middle", "top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Key } from 'react';
|
|
2
2
|
import { IClickHandlerEvent } from '../../types';
|
|
3
3
|
import { IIcon } from '../Icon';
|
|
4
|
+
import { GROUP_PLACEMENTS } from './constants';
|
|
4
5
|
export interface IControlWrapperSizes {
|
|
5
6
|
}
|
|
6
7
|
export type IControlWrapperSize = keyof IControlWrapperSizes;
|
|
8
|
+
export type IGroupPlacement = (typeof GROUP_PLACEMENTS)[number];
|
|
7
9
|
export interface IControlWrapperIcon {
|
|
8
10
|
key?: Key;
|
|
9
11
|
iconComponent: IIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "@global html, body">;
|
|
3
3
|
export type ICssBaselineStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ICommonProps } from '../../types';
|
|
3
2
|
import { IChangeInputEvent, IInputProps } from '../Input';
|
|
4
3
|
import { IDateInputStyles } from './DateInput.styles';
|
|
@@ -13,4 +12,4 @@ export interface IDateInputProps extends Omit<IInputProps, 'value' | 'beforeMask
|
|
|
13
12
|
isRange?: boolean;
|
|
14
13
|
onChange?: (event: IChangeInputEvent, value: string) => void;
|
|
15
14
|
}
|
|
16
|
-
export declare const DateInput: import(
|
|
15
|
+
export declare const DateInput: import('react').ForwardRefExoticComponent<IDateInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IInputStyles } from '../Input';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root">;
|
|
4
4
|
export type IDateInputStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakInput: IInputStyles;
|
|
6
6
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const EMPTY_DATE_INPUT_VALUE = "__.__.____";
|
|
2
|
-
export declare const EMPTY_DATE_RANGE_INPUT_VALUE
|
|
2
|
+
export declare const EMPTY_DATE_RANGE_INPUT_VALUE = "__.__.____ - __.__.____";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC, SyntheticEvent } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
2
|
+
import { default as ReactDatePicker } from 'react-datepicker';
|
|
4
3
|
import { ICommonProps } from '../../types';
|
|
5
4
|
import { IDateInputProps } from '../DateInput';
|
|
6
5
|
import { IDatePickerLocale } from './constants';
|
|
@@ -24,4 +23,4 @@ export interface IDatePickerProps extends IDatePickerBaseProps, ICommonProps<IDa
|
|
|
24
23
|
onChangeDate?: (date: Date | null, event?: SyntheticEvent) => void;
|
|
25
24
|
onChangeRange?: (date: IRange, event?: SyntheticEvent) => void;
|
|
26
25
|
}
|
|
27
|
-
export declare const DatePicker: import(
|
|
26
|
+
export declare const DatePicker: import('react').ForwardRefExoticComponent<IDatePickerProps & import('react').RefAttributes<ReactDatePicker>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IDateInputStyles } from '../DateInput';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"popper" | "root" | "day" | "dayInner" | "datepicker">;
|
|
4
4
|
export type IDatePickerStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakDateInput: IDateInputStyles;
|
|
6
6
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ReactDatePicker,
|
|
1
|
+
import { default as ReactDatePicker, DatePickerProps } from 'react-datepicker';
|
|
2
2
|
export declare class DatePickerBase extends ReactDatePicker {
|
|
3
3
|
handleClickOutside: (event: MouseEvent) => void;
|
|
4
4
|
constructor(props: DatePickerProps);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { ISelectStyles } from '../../../Select';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"btn" | "header" | "buttons">;
|
|
4
4
|
export declare const selectStyles: ISelectStyles;
|
|
5
5
|
export type IDatePickerHeaderStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakSelect: ISelectStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Locale } from 'date-fns/locale';
|
|
2
2
|
export declare const DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
|
|
3
3
|
export declare const OUTSIDE_CLICK_IGNORE_CLASS = "react-datepicker-ignore-onclickoutside";
|
|
4
4
|
export declare const LocalesMap: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { DatePickerProps } from 'react-datepicker';
|
|
2
|
+
import { IDateInputProps } from '../DateInput';
|
|
3
3
|
export type IRange = [Date | null, Date | null] | null;
|
|
4
4
|
export type IDatePickerBaseProps = Pick<DatePickerProps, 'startDate' | 'endDate' | 'minDate' | 'maxDate' | 'allowSameDay' | 'disabledKeyboardNavigation' | 'monthsShown' | 'popperModifiers' | 'popperPlacement' | 'filterDate' | 'dayClassName' | 'calendarContainer' | 'onCalendarOpen' | 'onCalendarClose' | 'onYearChange' | 'onMonthChange' | 'focusSelectedMonth' | 'shouldCloseOnSelect' | 'showPreviousMonths' | 'todayButton' | 'renderCustomHeader' | 'customInputRef' | 'preventOpenOnFocus' | 'strictParsing' | 'highlightDates' | 'fixedHeight' | 'swapRange' | 'onKeyDown'> & Omit<IDateInputProps, 'date' | 'startDate' | 'endDate' | 'isRange' | 'isActive' | 'icon' | 'maxLength' | 'onChange' | 'onClick' | 'tweakStyles' | 'onKeyDown'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"link" | "root" | "button">;
|
|
3
3
|
export type IDescriptionStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -22,4 +22,4 @@ export interface IFileInputProps extends ICommonProps<IFileInputStyles> {
|
|
|
22
22
|
accept?: InputHTMLAttributes<HTMLInputElement>['accept'];
|
|
23
23
|
onAdd?: (files: File[]) => void;
|
|
24
24
|
}
|
|
25
|
-
export declare const FileInput: import(
|
|
25
|
+
export declare const FileInput: import('react').ForwardRefExoticComponent<IFileInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "text" | "active" | "disabled" | "label" | "requiredLabel" | "description" | "inputWrapper" | "inputLabel" | "dragged" | "fileList">;
|
|
3
3
|
export type IFileInputStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -2,7 +2,7 @@ import { ITweakStyles } from '../../theme';
|
|
|
2
2
|
import { IIconButtonStyles } from '../IconButton';
|
|
3
3
|
import { IThemedPreloaderStyles } from '../ThemedPreloader';
|
|
4
4
|
import { ITooltipStyles } from '../Tooltip';
|
|
5
|
-
export declare const useStyles: import(
|
|
5
|
+
export declare const useStyles: import('../../theme').IUseStyles<"error" | "root" | "disabled" | "m" | "l" | "fileItemWrapper" | "fileIcon" | "fileName" | "fileNameContainer" | "preloader" | "preloader-dots" | "preloader-default" | "preloader-logo" | "metadata" | "actions" | "fileSize" | "footer" | "info">;
|
|
6
6
|
export declare const themedPreloaderStyles: IThemedPreloaderStyles;
|
|
7
7
|
export type IFileItemStyles = ITweakStyles<typeof useStyles, {
|
|
8
8
|
tweakRemoveIconButton: IIconButtonStyles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IButtonStyles } from '../Button';
|
|
3
|
-
import
|
|
3
|
+
import { IFilterWrapperStyles } from './components';
|
|
4
4
|
export declare const FILTER_HEIGHT = 36;
|
|
5
|
-
export declare const useStyles: import(
|
|
5
|
+
export declare const useStyles: import('../../theme').IUseStyles<"clear" | "root" | "settings" | "settingsIcon" | "filterWithClearButton">;
|
|
6
6
|
export declare const clearButtonStyles: IButtonStyles;
|
|
7
7
|
export declare const innerTextButtonStyles: IButtonStyles;
|
|
8
8
|
export type IFiltersPaneStyles = ITweakStyles<typeof useStyles, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type { IFilterWrapperProps } from '../FilterWrapper';
|
|
1
|
+
import { IFilterWrapperProps } from '../FilterWrapper';
|
|
3
2
|
export interface IFilterProps<Values extends Record<string, unknown>, Key extends keyof Values> extends IFilterWrapperProps<Values, Key> {
|
|
4
3
|
onChange: <V>(v: V) => void;
|
|
5
4
|
onClose?: () => void;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IButtonStyles } from '../../../Button';
|
|
3
3
|
import { IInputStyles } from '../../../Input';
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"clear" | "root" | "inputWrapper" | "autosize">;
|
|
5
5
|
export declare const inputStyles: IInputStyles;
|
|
6
|
-
export declare const clearButtonStyles: Partial<import(
|
|
7
|
-
tweakPreloader:
|
|
8
|
-
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
9
|
-
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
10
|
-
}>;
|
|
6
|
+
export declare const clearButtonStyles: Partial<import('jss').Styles<"content" | "outline" | "custom" | "children" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown>> & Partial<{
|
|
7
|
+
tweakPreloader: import('../../..').IThemedPreloaderStyles;
|
|
11
8
|
}>;
|
|
12
9
|
export type IFilterIntervalStyles = ITweakStyles<typeof useStyles, {
|
|
13
10
|
tweakInput: IInputStyles;
|
|
@@ -1,13 +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(
|
|
4
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"clear" | "item" | "root" | "icon" | "label" | "preloader" | "footer" | "list" | "labelChosen" | "withoutTopGap" | "withClearButton" | "option" | "panel" | "panelWithFooter" | "dropdownInput" | "nothingFound">;
|
|
5
5
|
export declare const searchInputStyles: ISearchInputStyles;
|
|
6
|
-
export declare const clearButtonStyles: Partial<import(
|
|
7
|
-
tweakPreloader:
|
|
8
|
-
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
9
|
-
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
10
|
-
}>;
|
|
6
|
+
export declare const clearButtonStyles: Partial<import('jss').Styles<"content" | "outline" | "custom" | "children" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown>> & Partial<{
|
|
7
|
+
tweakPreloader: import('../../..').IThemedPreloaderStyles;
|
|
11
8
|
}>;
|
|
12
9
|
export type IFilterSelectStyles = ITweakStyles<typeof useStyles, {
|
|
13
10
|
tweakSearchInput: ISearchInputStyles;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ICommonProps } from '../../../../types';
|
|
3
|
-
import
|
|
2
|
+
import { IFilterWrapperProps } from '../FilterWrapper';
|
|
4
3
|
import { IFilterValueViewStyles } from './FilterValueView.styles';
|
|
5
4
|
export interface IFilterValueView<Values extends Record<string, unknown>, Key extends keyof Values> extends Omit<IFilterWrapperProps<Values, Key>, 'filtersPaneRef' | 'tweakStyles' | 'onChange'>, ICommonProps<IFilterValueViewStyles> {
|
|
6
5
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"text" | "count">;
|
|
3
3
|
export type IFilterValueViewStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IButtonStyles } from '../../../Button';
|
|
3
3
|
import { IDatePickerStyles } from '../../../DatePicker';
|
|
4
|
-
export declare const useStyles: import(
|
|
5
|
-
export declare const clearButtonStyles: Partial<import(
|
|
6
|
-
tweakPreloader:
|
|
7
|
-
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
8
|
-
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
9
|
-
}>;
|
|
4
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"container" | "root" | "datepicker" | "containerItem" | "btnRow">;
|
|
5
|
+
export declare const clearButtonStyles: Partial<import('jss').Styles<"content" | "outline" | "custom" | "children" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown>> & Partial<{
|
|
6
|
+
tweakPreloader: import('../../..').IThemedPreloaderStyles;
|
|
10
7
|
}>;
|
|
11
|
-
export declare const backButtonStyles: Partial<import(
|
|
12
|
-
tweakPreloader:
|
|
13
|
-
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
14
|
-
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
15
|
-
}>;
|
|
8
|
+
export declare const backButtonStyles: Partial<import('jss').Styles<"content" | "outline" | "custom" | "children" | "root" | "inline" | "text" | "icon" | "active" | "disabled" | "fullWidth" | "primary" | "secondary" | "warning" | "destructive" | "iconFromLeft" | "iconFromRight" | "onlyIcon" | "withIcon" | "s" | "m" | "l" | "xl" | "loader" | "loading", unknown>> & Partial<{
|
|
9
|
+
tweakPreloader: import('../../..').IThemedPreloaderStyles;
|
|
16
10
|
}>;
|
|
17
11
|
export declare const startDatePickerStyles: IDatePickerStyles;
|
|
18
12
|
export declare const startDatePickerWithButtonStyles: IDatePickerStyles;
|
package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IFilterSelectStyles } from '../FilterSelect';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"main" | "root" | "picker">;
|
|
4
4
|
export declare const filterSelectStyles: IFilterSelectStyles;
|
|
5
5
|
export type IFilterWithPeriodStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakFilterSelect: IFilterSelectStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IWithPopupStyles } from '../../../WithPopup';
|
|
3
|
-
import
|
|
4
|
-
export declare const useStyles: import(
|
|
3
|
+
import { IFilterValueViewStyles } from '../FilterValueView';
|
|
4
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"boolean" | "name" | "left" | "right" | "item" | "value" | "root" | "open" | "disabled" | "booleanItem" | "noValue" | "openNoValue" | "openWithValue" | "withValue" | "iconContainer" | "chevronIcon" | "clearIcon" | "dropdown">;
|
|
5
5
|
export type IFilterWrapperStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakWithPopup: IWithPopupStyles;
|
|
7
7
|
tweakValueView: IFilterValueViewStyles;
|
package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { ISearchInputStyles } from '../../../SearchInput';
|
|
3
3
|
import { ISelectStyles } from '../../../Select';
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"root" | "open" | "active" | "disabled" | "dropdownInput" | "chevronIcon" | "dropdown" | "focused" | "hasValue" | "selectWrapper" | "selectBlock" | "selectLabel">;
|
|
5
5
|
export declare const searchInputStyles: ISearchInputStyles;
|
|
6
6
|
export declare const selectStyles: ISelectStyles;
|
|
7
7
|
export type IFiltersPaneSearchStyles = ITweakStyles<typeof useStyles, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFilterLocale, IFilterLocaleKey, IPartialFilterLocale, ISelectLocale, ISelectLocaleKey } from './types';
|
|
2
2
|
export declare const getLocale: (key?: IFilterLocaleKey, custom?: IPartialFilterLocale, custom2?: IPartialFilterLocale) => IFilterLocale;
|
|
3
3
|
export declare const getSelectLocale: (key?: ISelectLocaleKey, custom?: Partial<ISelectLocale>, custom2?: Partial<ISelectLocale>) => ISelectLocale;
|
|
4
4
|
export declare const sortValues: (arr: Array<number | undefined>) => Array<number | undefined>;
|
|
@@ -3,7 +3,7 @@ import { ITestIdProps } from '../../types';
|
|
|
3
3
|
import { IDatePickerProps } from '../DatePicker';
|
|
4
4
|
import { IMultiSelectListValues } from '../MultiSelectList';
|
|
5
5
|
import { INumberInputProps } from '../NumberInput';
|
|
6
|
-
import
|
|
6
|
+
import { IFilterIntervalProps, IFilterMultiSelectProps, IFilterSelectProps, IFilterWithDatesProps, IFilterWithPeriodProps } from './components';
|
|
7
7
|
import { FilterLocales, PERIODS, SelectLocales } from './constants';
|
|
8
8
|
export type IPeriodType = (typeof PERIODS)[number];
|
|
9
9
|
export type IFilterMultiSelectValues<Option = string> = IMultiSelectListValues<Option>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "noFlag">;
|
|
3
3
|
export type IFlagStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
import
|
|
2
|
+
import { IFlexibleTableRowStyles } from './components';
|
|
3
3
|
export declare const STICKY_SHADOW_PADDING = 12;
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"scroll" | "root" | "loader" | "header" | "nothingFound" | "flexibleTableWrapper" | "head" | "body" | "loaderRow" | "loaderCell" | "headerRow" | "headerSticky" | "headerSecond" | "nothingFoundRow">;
|
|
5
5
|
export type IFlexibleTableStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakTableRow: IFlexibleTableRowStyles;
|
|
7
7
|
}>;
|
package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"root" | "sticky" | "loading" | "clickable" | "second" | "skeleton">;
|
|
3
3
|
export type IFlexibleTableCellStyles = ITweakStyles<typeof useStyles>;
|
package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IFlexibleTableCellStyles } from '../FlexibleTableCell';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"root" | "active" | "editable" | "clickable" | "nestedComponent">;
|
|
4
4
|
export type IFlexibleTableRowStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakTableCell: IFlexibleTableCellStyles;
|
|
6
6
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IFlexibleTableConfigType, ITableRow } from './types';
|
|
1
|
+
import { IFlexibleTableConfigType, IHeaderContent, ITableRow } from './types';
|
|
2
2
|
export declare const hasHorizontalScrollBar: (el: HTMLElement | null | undefined) => boolean;
|
|
3
|
-
export declare const formatCellContent: <Values extends ITableRow, HeaderContent extends
|
|
3
|
+
export declare const formatCellContent: <Values extends ITableRow, HeaderContent extends IHeaderContent<Values>>(value: unknown, config?: IFlexibleTableConfigType<Values, HeaderContent>[keyof Values]) => string;
|
|
@@ -2,7 +2,7 @@ import { ITweakStyles } from '../../theme';
|
|
|
2
2
|
import { IDocActionsStyles } from './components';
|
|
3
3
|
export declare const useStyles: (data?: {
|
|
4
4
|
theme?: Jss.Theme | undefined;
|
|
5
|
-
} | undefined) => import(
|
|
5
|
+
} | undefined) => import('jss').Classes<"slide-up-enter" | "slide-up-enter-active" | "slide-up-exit-active" | "slide-up-exit">;
|
|
6
6
|
export type IFloatDocActionsStyles = ITweakStyles<typeof useStyles, {
|
|
7
7
|
tweakDocActions: IDocActionsStyles;
|
|
8
8
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { ICheckboxStyles } from '../../../Checkbox';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"docActions" | "neutral" | "inverse" | "counterWrapper" | "title" | "actionsWrapper">;
|
|
4
4
|
export type IDocActionsStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakCheckbox: ICheckboxStyles;
|
|
6
6
|
}>;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export declare const iconsMap: {
|
|
2
|
-
avatar:
|
|
3
|
-
calendar:
|
|
4
|
-
check:
|
|
5
|
-
'chevron-down-small':
|
|
6
|
-
'chevron-down':
|
|
7
|
-
'chevron-left':
|
|
8
|
-
'chevron-right':
|
|
9
|
-
'close-large':
|
|
10
|
-
'close-window':
|
|
11
|
-
close:
|
|
12
|
-
'file-excel':
|
|
13
|
-
'file-image':
|
|
14
|
-
'file-other':
|
|
15
|
-
'file-pdf':
|
|
16
|
-
'file-word':
|
|
17
|
-
'file-xml':
|
|
18
|
-
'file-zip':
|
|
19
|
-
filter:
|
|
20
|
-
information:
|
|
21
|
-
menu:
|
|
22
|
-
minus:
|
|
23
|
-
plus:
|
|
24
|
-
search:
|
|
25
|
-
'status-error':
|
|
26
|
-
'status-info':
|
|
27
|
-
'status-not-ok':
|
|
28
|
-
'status-ok':
|
|
29
|
-
'status-warning':
|
|
30
|
-
'trash-can':
|
|
2
|
+
avatar: string;
|
|
3
|
+
calendar: string;
|
|
4
|
+
check: string;
|
|
5
|
+
'chevron-down-small': string;
|
|
6
|
+
'chevron-down': string;
|
|
7
|
+
'chevron-left': string;
|
|
8
|
+
'chevron-right': string;
|
|
9
|
+
'close-large': string;
|
|
10
|
+
'close-window': string;
|
|
11
|
+
close: string;
|
|
12
|
+
'file-excel': string;
|
|
13
|
+
'file-image': string;
|
|
14
|
+
'file-other': string;
|
|
15
|
+
'file-pdf': string;
|
|
16
|
+
'file-word': string;
|
|
17
|
+
'file-xml': string;
|
|
18
|
+
'file-zip': string;
|
|
19
|
+
filter: string;
|
|
20
|
+
information: string;
|
|
21
|
+
menu: string;
|
|
22
|
+
minus: string;
|
|
23
|
+
plus: string;
|
|
24
|
+
search: string;
|
|
25
|
+
'status-error': string;
|
|
26
|
+
'status-info': string;
|
|
27
|
+
'status-not-ok': string;
|
|
28
|
+
'status-ok': string;
|
|
29
|
+
'status-warning': string;
|
|
30
|
+
'trash-can': string;
|
|
31
31
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ICommonProps } from '../../types';
|
|
3
2
|
import { IIcon } from '../Icon';
|
|
4
3
|
import { IIconButtonSize, IIconButtonView, IIconButtonHTMLBaseProps } from './types';
|
|
@@ -16,4 +15,4 @@ export interface IIconButtonProps extends IIconButtonHTMLBaseProps, ICommonProps
|
|
|
16
15
|
/** @default false */
|
|
17
16
|
isLoading?: boolean;
|
|
18
17
|
}
|
|
19
|
-
export declare const IconButton: import(
|
|
18
|
+
export declare const IconButton: import('react').ForwardRefExoticComponent<IIconButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"main" | "custom" | "cancel" | "root" | "icon" | "active" | "disabled" | "s" | "m" | "l" | "loader" | "loading" | "cancel-light">;
|
|
3
3
|
export type IIconButtonStyles = ITweakStyles<typeof useStyles>;
|