@true-engineering/true-react-common-ui-kit 3.0.4 → 3.0.6
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.stories.d.ts +8 -0
- package/dist/components/AccountInfo/AccountInfo.styles.d.ts +1 -1
- package/dist/components/AddButton/AddButton.stories.d.ts +8 -0
- package/dist/components/AddButton/AddButton.styles.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +6 -0
- package/dist/components/Button/Button.styles.d.ts +1 -1
- package/dist/components/Button/types.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/components/Checkbox/Checkbox.styles.d.ts +1 -1
- package/dist/components/CloseButton/CloseButton.styles.d.ts +1 -1
- package/dist/components/Colors/Colors.stories.d.ts +5 -0
- package/dist/components/CssBaseline/CssBaseline.d.ts +1 -1
- package/dist/components/CssBaseline/CssBaseline.styles.d.ts +1 -1
- package/dist/components/DateInput/DateInput.stories.d.ts +8 -0
- package/dist/components/DateInput/DateInput.styles.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +8 -0
- package/dist/components/DatePicker/DatePicker.styles.d.ts +1 -1
- package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +1 -1
- package/dist/components/DatePicker/types.d.ts +2 -2
- package/dist/components/Description/Description.stories.d.ts +18 -0
- package/dist/components/Description/Description.styles.d.ts +1 -1
- package/dist/components/FiltersPane/FiltersPane.stories.d.ts +32 -0
- package/dist/components/FiltersPane/FiltersPane.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +1 -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/types.d.ts +18 -18
- package/dist/components/Flag/Flag.stories.d.ts +14 -0
- package/dist/components/Flag/Flag.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +20 -0
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +1 -1
- 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/types.d.ts +6 -6
- package/dist/components/Icon/Icon.stories.d.ts +6 -0
- package/dist/components/Icon/Icon.styles.d.ts +1 -1
- package/dist/components/Icon/icons-list.d.ts +1 -1
- package/dist/components/Icon/types.d.ts +4 -4
- package/dist/components/IncrementInput/IncrementInput.stories.d.ts +8 -0
- package/dist/components/IncrementInput/IncrementInput.styles.d.ts +1 -1
- package/dist/components/Input/Input.stories.d.ts +35 -0
- package/dist/components/Input/Input.styles.d.ts +2 -2
- package/dist/components/Input/types.d.ts +1 -1
- package/dist/components/List/List.stories.d.ts +6 -0
- 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.stories.d.ts +30 -0
- package/dist/components/Modal/Modal.styles.d.ts +1 -1
- package/dist/components/Modal/types.d.ts +2 -2
- package/dist/components/MoreMenu/MoreMenu.stories.d.ts +8 -0
- package/dist/components/MoreMenu/MoreMenu.styles.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +14 -0
- package/dist/components/MultiSelect/MultiSelect.styles.d.ts +2 -2
- package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +1 -1
- package/dist/components/MultiSelect/types.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +1 -1
- package/dist/components/MultiSelectList/types.d.ts +1 -1
- package/dist/components/Notification/Notification.stories.d.ts +8 -0
- package/dist/components/Notification/Notification.styles.d.ts +1 -1
- package/dist/components/Notification/types.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.stories.d.ts +8 -0
- package/dist/components/PhoneInput/PhoneInput.stories.d.ts +30 -0
- package/dist/components/PhoneInput/PhoneInput.styles.d.ts +1 -1
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.d.ts +6 -0
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.stories.d.ts +8 -0
- package/dist/components/RadioButton/RadioButton.styles.d.ts +1 -1
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +2 -2
- package/dist/components/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/SearchInput/SearchInput.stories.d.ts +8 -0
- package/dist/components/SearchInput/SearchInput.styles.d.ts +1 -1
- package/dist/components/Select/MultiSelect.stories.d.ts +17 -0
- package/dist/components/Select/Select.stories.d.ts +17 -0
- package/dist/components/Select/Select.styles.d.ts +4 -4
- package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +1 -1
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.stories.d.ts +8 -0
- package/dist/components/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/components/SmartInput/SmartInput.stories.d.ts +19 -0
- package/dist/components/SmartInput/types.d.ts +1 -1
- package/dist/components/Switch/Switch.stories.d.ts +17 -0
- package/dist/components/Switch/Switch.styles.d.ts +1 -1
- package/dist/components/TextArea/TextArea.stories.d.ts +18 -0
- package/dist/components/TextArea/TextArea.styles.d.ts +1 -1
- package/dist/components/TextWithInfo/TextWithInfo.stories.d.ts +13 -0
- package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +1 -1
- package/dist/components/TextWithTooltip/TextWithTooltip.stories.d.ts +26 -0
- package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/ThemedPreloader.stories.d.ts +18 -0
- package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.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/ThemedPreloader/types.d.ts +1 -1
- package/dist/components/Toaster/Toaster.stories.d.ts +6 -0
- package/dist/components/Toaster/Toaster.styles.d.ts +1 -1
- package/dist/components/Toaster/types.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +6 -0
- package/dist/components/Tooltip/Tooltip.styles.d.ts +1 -1
- package/dist/components/Tooltip/types.d.ts +1 -1
- package/dist/hooks/use-tweak-styles.d.ts +1 -1
- package/dist/theme/common.d.ts +37 -2
- package/dist/theme/types.d.ts +8 -8
- package/dist/true-react-common-ui-kit.js +3 -0
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +3 -0
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +3 -3
- package/src/components/TextArea/TextArea.styles.ts +4 -0
- package/src/theme/common.ts +4 -3
- package/src/theme/types.ts +2 -2
- package/dist/components/Flag/augment.d.ts +0 -1
- package/dist/components/Icon/complexIcons/augment.d.ts +0 -1
- package/dist/vite-env.d.ts +0 -1
|
@@ -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<"
|
|
5
|
-
export
|
|
4
|
+
export declare const useStyles: import("../../theme").IUseStyles<"bottom" | "left" | "right" | "top" | "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
|
+
export type IInputStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakPreloader: IThemedPreloaderStyles;
|
|
7
7
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Props as ReactInputMaskBaseProps } from 'react-input-mask';
|
|
2
|
-
export
|
|
2
|
+
export type IReactInputMaskProps = Pick<Partial<ReactInputMaskBaseProps>, 'mask' | 'maskPlaceholder' | 'alwaysShowMask' | 'beforeMaskedStateChange'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { List } from './List';
|
|
4
|
+
declare const _default: ComponentMeta<import("react").FC<import("./List").IListProps>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: ComponentStory<typeof List>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"content" | "item" | "root" | "icon" | "disabledItem" | "spacer" | "withIconGap", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type IListStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
export declare const useStyles: import("../../../../theme").IUseStyles<"content" | "root" | "default" | "icon" | "destructive" | "disabledItem" | "spacer" | "withIconGap", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type IListItemStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
import { IModalProps } from './Modal';
|
|
4
|
+
export interface IModalWithCustomProps extends IModalProps {
|
|
5
|
+
textSize: 'small' | 'medium' | 'large';
|
|
6
|
+
}
|
|
7
|
+
declare const _default: {
|
|
8
|
+
title: string;
|
|
9
|
+
component: FC<IModalProps>;
|
|
10
|
+
argTypes: {
|
|
11
|
+
buttonsAlign: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
textSize: {
|
|
16
|
+
control: string;
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
position: {
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
30
|
+
export declare const Default: ComponentStory<FC<IModalWithCustomProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { ICloseButtonStyles } from '../CloseButton';
|
|
3
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
|
-
export
|
|
4
|
+
export type IModalStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakCloseButton: ICloseButtonStyles;
|
|
6
6
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type IModalPosition = 'center' | 'left' | 'right' | 'static';
|
|
3
|
+
export type IModalTransitionProps = Pick<TransitionProps<HTMLDivElement>, 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited'>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./MoreMenu").IMoreMenuProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<import("react").FC<import("./MoreMenu").IMoreMenuProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IListStyles } from '../List';
|
|
3
3
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "button" | "icon" | "menu" | "active" | "disabled" | "hasCircle", unknown>;
|
|
4
|
-
export
|
|
4
|
+
export type IMoreMenuStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakList: IListStyles;
|
|
6
6
|
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentStory } from '@storybook/react';
|
|
2
|
+
import { MultiSelect } from './MultiSelect';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MultiSelect;
|
|
6
|
+
argTypes: {
|
|
7
|
+
corners: {
|
|
8
|
+
control: string;
|
|
9
|
+
options: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const Default: ComponentStory<typeof MultiSelect>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IMultiSelectListStyles } from '../MultiSelectList';
|
|
3
|
-
export declare const useStyles: import("../../theme").IUseStyles<"
|
|
3
|
+
export declare const useStyles: import("../../theme").IUseStyles<"left" | "right" | "invalid" | "root" | "open" | "disabled" | "required" | "listContainer" | "full", unknown>;
|
|
4
4
|
export declare const multiSelectListStyles: IMultiSelectListStyles;
|
|
5
|
-
export
|
|
5
|
+
export type IMultiSelectStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakMultiSelectList: IMultiSelectListStyles;
|
|
7
7
|
}>;
|
package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
export declare const useStyles: import("../../../../theme").IUseStyles<"value" | "root" | "values" | "placeholder" | "placeholderSmall" | "amount" | "indicator" | "arrow" | "arrowUp" | "indicatorDisabled", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type IMultiSelectInputStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type IHorizontalCornerConnection = 'full' | 'left' | 'right';
|
|
@@ -6,7 +6,7 @@ export declare const useStyles: import("../../theme").IUseStyles<"clear" | "item
|
|
|
6
6
|
export declare const searchInputStyles: ISearchInputStyles;
|
|
7
7
|
export declare const checkboxStyles: ICheckboxStyles;
|
|
8
8
|
export declare const clearButtonStyles: IButtonStyles;
|
|
9
|
-
export
|
|
9
|
+
export type IMultiSelectListStyles = ITweakStyles<typeof useStyles, {
|
|
10
10
|
tweakSearchInput: ISearchInputStyles;
|
|
11
11
|
tweakCheckbox: ICheckboxStyles;
|
|
12
12
|
tweakClearButton: IButtonStyles;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/react';
|
|
2
|
+
import { INotificationProps } from './Notification';
|
|
3
|
+
interface IStory extends INotificationProps {
|
|
4
|
+
shouldUseChildrenInstead: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: Meta<IStory>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: Story<IStory>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
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
|
-
export
|
|
3
|
+
export type INotificationStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type INotificationType = 'error' | 'info' | 'warning' | 'ok' | 'not-ok';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<import("./NumberInput").INumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<import("react").ForwardRefExoticComponent<import("./NumberInput").INumberInputProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./PhoneInput").IPhoneInputProps>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
iconType: {
|
|
8
|
+
control: string;
|
|
9
|
+
options: (string | undefined)[];
|
|
10
|
+
};
|
|
11
|
+
errorPosition: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
border: {
|
|
16
|
+
control: string;
|
|
17
|
+
options: (string | undefined)[];
|
|
18
|
+
};
|
|
19
|
+
inlineStyle: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: (string | undefined)[];
|
|
22
|
+
};
|
|
23
|
+
defaultCountryCode: {
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
30
|
+
export declare const Default: ComponentStory<import("react").FC<import("./PhoneInput").IPhoneInputProps>>;
|
|
@@ -3,7 +3,7 @@ import { IInputStyles } from '../Input';
|
|
|
3
3
|
import { IPhoneInputCountryListStyles } from './components';
|
|
4
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
|
-
export
|
|
6
|
+
export type IPhoneInputStyles = ITweakStyles<typeof useStyles, {
|
|
7
7
|
tweakInput: IInputStyles;
|
|
8
8
|
tweakCountryList: IPhoneInputCountryListStyles;
|
|
9
9
|
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { PhoneInputCountryList } from './PhoneInputCountryList';
|
|
4
|
+
declare const _default: ComponentMeta<import("react").FC<import("./PhoneInputCountryList").IPhoneInputCountryListProps>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: ComponentStory<typeof PhoneInputCountryList>;
|
|
@@ -2,6 +2,6 @@ import { ITweakStyles } from '../../../../theme';
|
|
|
2
2
|
import { IInputStyles } from '../../../Input';
|
|
3
3
|
export declare const useStyles: import("../../../../theme").IUseStyles<"dialCode" | "root" | "icon" | "flag" | "searchContainer" | "searchIcon" | "flagList" | "listItem" | "selectedCountry" | "activeCountry" | "countryName" | "emptyResult", unknown>;
|
|
4
4
|
export declare const inputStyles: IInputStyles;
|
|
5
|
-
export
|
|
5
|
+
export type IPhoneInputCountryListStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakInput: IInputStyles;
|
|
7
7
|
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentStory } from '@storybook/react';
|
|
2
|
+
import { RadioButton } from './RadioButton';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof RadioButton;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<typeof RadioButton>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"content" | "input" | "label" | "isDisabled" | "isInvalid", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type IRadioButtonStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -137,7 +137,7 @@ export declare class ScrollIntoViewIfNeeded extends PureComponent<IScrollIntoVie
|
|
|
137
137
|
style?: import("react").CSSProperties | undefined;
|
|
138
138
|
tabIndex?: number | undefined;
|
|
139
139
|
title?: string | undefined;
|
|
140
|
-
translate?: "
|
|
140
|
+
translate?: "no" | "yes" | undefined;
|
|
141
141
|
radioGroup?: string | undefined;
|
|
142
142
|
role?: import("react").AriaRole | undefined;
|
|
143
143
|
about?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare class ScrollIntoViewIfNeeded extends PureComponent<IScrollIntoVie
|
|
|
205
205
|
'aria-rowspan'?: number | undefined;
|
|
206
206
|
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
|
207
207
|
'aria-setsize'?: number | undefined;
|
|
208
|
-
'aria-sort'?: "none" | "
|
|
208
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
209
209
|
'aria-valuemax'?: number | undefined;
|
|
210
210
|
'aria-valuemin'?: number | undefined;
|
|
211
211
|
'aria-valuenow'?: number | undefined;
|
|
@@ -2,5 +2,5 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
3
|
import { IInputProps } from '../Input';
|
|
4
4
|
import { ISearchInputStyles } from './SearchInput.styles';
|
|
5
|
-
export
|
|
5
|
+
export type ISearchInputProps = Omit<IInputProps, 'type' | 'isInvalid' | 'errorMessage' | 'label' | 'isActive' | 'errorPosition' | 'hasFloatingLabel' | 'border' | 'tweakStyles'> & ICommonProps<ISearchInputStyles>;
|
|
6
6
|
export declare const SearchInput: FC<ISearchInputProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./SearchInput").ISearchInputProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<import("react").FC<import("./SearchInput").ISearchInputProps>>;
|
|
@@ -2,6 +2,6 @@ import { ITweakStyles } from '../../theme';
|
|
|
2
2
|
import { IInputStyles } from '../Input';
|
|
3
3
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon", unknown>;
|
|
4
4
|
export declare const inputStyles: IInputStyles;
|
|
5
|
-
export
|
|
5
|
+
export type ISearchInputStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakInput: IInputStyles;
|
|
7
7
|
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import { ISelectProps } from './Select';
|
|
3
|
+
interface ISelectWithCustomProps<T> extends ISelectProps<T> {
|
|
4
|
+
valuesType: 'strings' | 'objects';
|
|
5
|
+
shouldUseReactNodes?: boolean;
|
|
6
|
+
shouldUsePopper?: boolean;
|
|
7
|
+
shouldRenderInBody?: boolean;
|
|
8
|
+
shouldHideOnScroll?: boolean;
|
|
9
|
+
shouldUseCustomIsDisabledFunction?: boolean;
|
|
10
|
+
shouldRenderSearchInputInList?: boolean;
|
|
11
|
+
canBeFlipped?: boolean;
|
|
12
|
+
scrollParent?: 'document' | 'auto';
|
|
13
|
+
}
|
|
14
|
+
declare function SelectWithCustomProps<T>({ valuesType, optionsMode, shouldUseReactNodes, shouldUsePopper, shouldRenderInBody, shouldHideOnScroll, shouldUseCustomIsDisabledFunction, shouldRenderSearchInputInList, canBeFlipped, scrollParent, noMatchesLabel, ...rest }: ISelectWithCustomProps<T>): JSX.Element;
|
|
15
|
+
declare const _default: ComponentMeta<typeof SelectWithCustomProps>;
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const MultiSelect: ComponentStory<typeof SelectWithCustomProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import { ISelectProps } from './Select';
|
|
3
|
+
interface ISelectWithCustomProps<T> extends ISelectProps<T> {
|
|
4
|
+
valuesType: 'strings' | 'objects';
|
|
5
|
+
shouldUseReactNodes?: boolean;
|
|
6
|
+
shouldUsePopper?: boolean;
|
|
7
|
+
shouldRenderInBody?: boolean;
|
|
8
|
+
shouldHideOnScroll?: boolean;
|
|
9
|
+
shouldUseCustomIsDisabledFunction?: boolean;
|
|
10
|
+
shouldRenderSearchInputInList?: boolean;
|
|
11
|
+
canBeFlipped?: boolean;
|
|
12
|
+
scrollParent?: 'document' | 'auto';
|
|
13
|
+
}
|
|
14
|
+
declare function SelectWithCustomProps<T>({ valuesType, optionsMode, shouldUseReactNodes, shouldUsePopper, shouldRenderInBody, shouldHideOnScroll, shouldUseCustomIsDisabledFunction, shouldRenderSearchInputInList, canBeFlipped, scrollParent, noMatchesLabel, ...rest }: ISelectWithCustomProps<T>): JSX.Element;
|
|
15
|
+
declare const _default: ComponentMeta<typeof SelectWithCustomProps>;
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Default: ComponentStory<typeof SelectWithCustomProps>;
|
|
@@ -3,19 +3,19 @@ import { IInputStyles } from '../Input';
|
|
|
3
3
|
import { ISearchInputStyles } from '../SearchInput';
|
|
4
4
|
import { ISelectListStyles } from './components';
|
|
5
5
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon" | "disabled" | "inputWrapper" | "arrow" | "listWrapper" | "withoutPopper" | "listWrapperInBody" | "activeArrow" | "counter", unknown>;
|
|
6
|
-
export declare const readonlyInputStyles: Partial<import("jss").Styles<"
|
|
6
|
+
export declare const readonlyInputStyles: Partial<import("jss").Styles<"bottom" | "left" | "right" | "top" | "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, undefined>> & Partial<{
|
|
7
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
|
}>;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const multiSelectInputStyles: Partial<import("jss").Styles<"
|
|
12
|
+
export declare const multiSelectInputStyles: Partial<import("jss").Styles<"bottom" | "left" | "right" | "top" | "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, undefined>> & Partial<{
|
|
13
13
|
tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
|
|
14
14
|
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
15
15
|
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
16
16
|
}>;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const readonlyMultiSelectStyles: Partial<import("jss").Styles<"
|
|
18
|
+
export declare const readonlyMultiSelectStyles: Partial<import("jss").Styles<"bottom" | "left" | "right" | "top" | "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, undefined>> & Partial<{
|
|
19
19
|
tweakPreloader: Partial<import("jss").Styles<"root" | "default" | "currentColor" | "dots" | "logo", unknown, undefined>> & Partial<{
|
|
20
20
|
tweakDotsPreloader: Partial<import("jss").Styles<"root" | "dot" | "fadedDot" | "@keyframes FadedDots", unknown, undefined>> & Partial<unknown>;
|
|
21
21
|
tweakSvgPreloader: Partial<import("jss").Styles<"root", unknown, undefined>> & Partial<unknown>;
|
|
@@ -26,7 +26,7 @@ export declare const getInputStyles: ({ hasReadonlyInput, isMultiSelect, }: {
|
|
|
26
26
|
isMultiSelect: boolean;
|
|
27
27
|
}) => IInputStyles;
|
|
28
28
|
export declare const searchInputStyles: ISearchInputStyles;
|
|
29
|
-
export
|
|
29
|
+
export type ISelectStyles = ITweakStyles<typeof useStyles, {
|
|
30
30
|
tweakInput: IInputStyles;
|
|
31
31
|
tweakSelectList: ISelectListStyles;
|
|
32
32
|
tweakSearchInput: ISearchInputStyles;
|
|
@@ -3,4 +3,4 @@ export declare const ROW_HEIGHT = 40;
|
|
|
3
3
|
export declare const CONTAINER_PADDING = 10;
|
|
4
4
|
export declare const CELL_PADDING: number[];
|
|
5
5
|
export declare const useStyles: import("../../../../theme").IUseStyles<"root" | "cell" | "active" | "disabled" | "loading" | "list" | "focused" | "withListHeader" | "listHeader" | "cellWithCheckbox" | "noMatchesLabel" | "defaultCell", unknown>;
|
|
6
|
-
export
|
|
6
|
+
export type ISelectListStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type IMultipleSelectValue<Value> = Array<NonNullable<Value>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./Skeleton").ISkeletonProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: ComponentStory<import("react").FC<import("./Skeleton").ISkeletonProps>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "@keyframes skeleton", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type ISkeletonStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
import { ISmartType } from './types';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<import("./SmartInput").ISmartInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
argTypes: {
|
|
8
|
+
type: {
|
|
9
|
+
control: string;
|
|
10
|
+
options: ("number" | "text" | "email" | "password" | undefined)[];
|
|
11
|
+
};
|
|
12
|
+
smartType: {
|
|
13
|
+
control: string;
|
|
14
|
+
options: ISmartType[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Default: ComponentStory<import("react").ForwardRefExoticComponent<import("./SmartInput").ISmartInputProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ISmartType = 'name' | 'nameRuEn' | 'surname' | 'surnameRuEn' | 'email' | 'agencyName' | 'default' | 'digits' | 'docNumber' | 'benefitCert';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentStory } from '@storybook/react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: <V extends string>({ isDisabled, isChecked, isInvalid, value, children, labelPosition, color, data, tweakStyles, testId, onChange, }: import("./Switch").ISwitchProps<V>) => JSX.Element;
|
|
5
|
+
argTypes: {
|
|
6
|
+
labelPosition: {
|
|
7
|
+
control: string;
|
|
8
|
+
options: string[];
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
control: string;
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Default: ComponentStory<(<V extends string>({ isDisabled, isChecked, isInvalid, value, children, labelPosition, color, data, tweakStyles, testId, onChange, }: import("./Switch").ISwitchProps<V>) => JSX.Element)>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"input" | "invalid" | "root" | "disabled" | "primary" | "secondary" | "checked" | "label" | "switch" | "labelLeft" | "labelRight", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type ISwitchStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./TextArea").ITextAreaProps>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
maxLength: {
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
min: number;
|
|
11
|
+
max: number;
|
|
12
|
+
step: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export declare const Default: ComponentStory<import("react").FC<import("./TextArea").ITextAreaProps>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"error" | "invalid" | "root" | "textarea" | "disabled" | "label" | "footer" | "focused" | "withFloatingLabel" | "floating" | "activeLabel" | "required" | "requiredLabel" | "invalidLabel" | "info" | "wrapper" | "symbolsCount" | "symbolsCountError", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type ITextAreaStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
import { ITextWithInfoProps } from './TextWithInfo';
|
|
4
|
+
interface ITextWithInfoWithCustomProps extends ITextWithInfoProps {
|
|
5
|
+
infoTooltip: string;
|
|
6
|
+
link: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
title: string;
|
|
10
|
+
component: FC<ITextWithInfoWithCustomProps>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Default: ComponentStory<FC<ITextWithInfoWithCustomProps>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
export declare const useStyles: import("../../theme").IUseStyles<"container" | "root" | "text" | "info" | "selected", unknown>;
|
|
3
|
-
export
|
|
3
|
+
export type ITextWithInfoStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./TextWithTooltip").ITextWithTooltipProps>;
|
|
6
|
+
argTypes: {
|
|
7
|
+
tooltipPosition: {
|
|
8
|
+
control: string;
|
|
9
|
+
options: string[];
|
|
10
|
+
};
|
|
11
|
+
tooltipView: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
tooltipType: {
|
|
16
|
+
control: string;
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
mouseEventType: {
|
|
20
|
+
control: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Default: ComponentStory<import("react").FC<import("./TextWithTooltip").ITextWithTooltipProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { ITooltipStyles } from '../Tooltip';
|
|
3
3
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "tooltip" | "clickable", unknown>;
|
|
4
|
-
export
|
|
4
|
+
export type ITextWithTooltipStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakTooltip: ITooltipStyles;
|
|
6
6
|
}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
|
3
|
+
import { IThemedPreloaderProps } from './ThemedPreloader';
|
|
4
|
+
interface IThemedPreloaderWithCustomProps extends IThemedPreloaderProps {
|
|
5
|
+
currentColor: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: {
|
|
8
|
+
title: string;
|
|
9
|
+
component: FC<IThemedPreloaderWithCustomProps>;
|
|
10
|
+
argTypes: {
|
|
11
|
+
type: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export declare const Default: ComponentStory<FC<IThemedPreloaderWithCustomProps>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IDotsPreloaderStyles, ISvgPreloaderStyles } from './components';
|
|
3
3
|
export declare const useStyles: import("../../theme").IUseStyles<"root" | "default" | "currentColor" | "dots" | "logo", unknown>;
|
|
4
|
-
export
|
|
4
|
+
export type IThemedPreloaderStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakDotsPreloader: IDotsPreloaderStyles;
|
|
6
6
|
tweakSvgPreloader: ISvgPreloaderStyles;
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../../../types';
|
|
3
3
|
import { IDotsPreloaderStyles } from './DotsPreloader.styles';
|
|
4
|
-
export
|
|
4
|
+
export type IDotsPreloaderProps = Pick<ICommonProps<IDotsPreloaderStyles>, 'tweakStyles'>;
|
|
5
5
|
export declare const DotsPreloader: FC<IDotsPreloaderProps>;
|