@moosend/mooskin 1.0.13 → 1.0.14
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/lib/DateRange/model.d.ts +0 -1
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +6 -0
- package/lib/components/ActionsDropdown/model.d.ts +11 -0
- package/lib/components/ActionsDropdown/styles.d.ts +8 -0
- package/lib/components/Alert/Alert.d.ts +7 -0
- package/lib/components/Alert/model.d.ts +5 -0
- package/lib/components/Alert/styles.d.ts +7 -0
- package/lib/components/Anchor/Anchor.d.ts +3 -0
- package/lib/components/Anchor/model.d.ts +4 -0
- package/lib/components/Anchor/styles.d.ts +3 -0
- package/lib/components/Box/Box.d.ts +3 -0
- package/lib/components/Box/model.d.ts +118 -0
- package/lib/components/Box/resources.d.ts +9 -0
- package/lib/components/Box/styles.d.ts +7 -0
- package/lib/components/Button/Button.d.ts +7 -0
- package/lib/components/Button/model.d.ts +5 -0
- package/lib/components/Button/styles.d.ts +7 -0
- package/lib/components/Carousel/Carousel.d.ts +7 -0
- package/lib/components/Carousel/model.d.ts +33 -0
- package/lib/components/Carousel/styles.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.d.ts +8 -0
- package/lib/components/Checkbox/model.d.ts +13 -0
- package/lib/components/Checkbox/styles.d.ts +6 -0
- package/lib/components/DatePicker/DatePicker.d.ts +3 -0
- package/lib/components/DatePicker/model.d.ts +11 -0
- package/lib/components/DateRange/DateRange.d.ts +5 -0
- package/lib/components/DateRange/model.d.ts +15 -0
- package/lib/components/DateRange/styles.d.ts +3 -0
- package/lib/components/DateSelect/DateSelect.d.ts +3 -0
- package/lib/components/DateSelect/model.d.ts +7 -0
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +3 -0
- package/lib/components/DateTimePicker/model.d.ts +11 -0
- package/lib/components/Description/Description.d.ts +3 -0
- package/lib/components/Description/styles.d.ts +3 -0
- package/lib/components/Drawer/Drawer.d.ts +10 -0
- package/lib/components/Drawer/model.d.ts +21 -0
- package/lib/components/Drawer/styles.d.ts +25 -0
- package/lib/components/Expandable/Expandable.d.ts +9 -0
- package/lib/components/Expandable/model.d.ts +13 -0
- package/lib/components/Expandable/styles.d.ts +9 -0
- package/lib/components/Footer/Footer.d.ts +6 -0
- package/lib/components/Footer/styles.d.ts +7 -0
- package/lib/components/Grid/Grid.d.ts +5 -0
- package/lib/components/Grid/model.d.ts +18 -0
- package/lib/components/Grid/styles.d.ts +5 -0
- package/lib/components/IconButton/IconButton.d.ts +3 -0
- package/lib/components/IconButton/model.d.ts +4 -0
- package/lib/components/IconButton/styles.d.ts +3 -0
- package/lib/components/Image/Image.d.ts +3 -0
- package/lib/components/Image/styles.d.ts +3 -0
- package/lib/components/Input/Input.d.ts +12 -0
- package/lib/components/Input/model.d.ts +27 -0
- package/lib/components/Input/styles.d.ts +12 -0
- package/lib/components/Label/Label.d.ts +3 -0
- package/lib/components/Label/model.d.ts +5 -0
- package/lib/components/Label/styles.d.ts +3 -0
- package/lib/components/Layout/Layout.d.ts +3 -0
- package/lib/components/Layout/model.d.ts +5 -0
- package/lib/components/Layout/styles.d.ts +3 -0
- package/lib/components/List/List.d.ts +8 -0
- package/lib/components/List/styles.d.ts +7 -0
- package/lib/components/Loader/Loader.d.ts +3 -0
- package/lib/components/Loader/model.d.ts +5 -0
- package/lib/components/Loader/styles.d.ts +3 -0
- package/lib/components/LoadingBar/LoadingBar.d.ts +3 -0
- package/lib/components/LoadingBar/model.d.ts +7 -0
- package/lib/components/LoadingBar/styles.d.ts +3 -0
- package/lib/components/Modal/Modal.d.ts +10 -0
- package/lib/components/Modal/model.d.ts +15 -0
- package/lib/components/Modal/styles.d.ts +14 -0
- package/lib/components/NumberLabel/NumberLabel.d.ts +3 -0
- package/lib/components/NumberLabel/model.d.ts +7 -0
- package/lib/components/Pagination/Pagination.d.ts +4 -0
- package/lib/components/Pagination/model.d.ts +12 -0
- package/lib/components/Pagination/styles.d.ts +6 -0
- package/lib/components/Radio/Radio.d.ts +8 -0
- package/lib/components/Radio/model.d.ts +14 -0
- package/lib/components/Radio/styles.d.ts +6 -0
- package/lib/components/Select/Select.d.ts +13 -0
- package/lib/components/Select/model.d.ts +24 -0
- package/lib/components/Select/styles.d.ts +15 -0
- package/lib/components/Selector/Selector.d.ts +4 -0
- package/lib/components/Selector/model.d.ts +10 -0
- package/lib/components/Selector/styles.d.ts +4 -0
- package/lib/components/Sidemenu/Sidemenu.d.ts +4 -0
- package/lib/components/Sidemenu/model.d.ts +10 -0
- package/lib/components/Sidemenu/styles.d.ts +4 -0
- package/lib/components/Skeleton/Skeleton.d.ts +5 -0
- package/lib/components/Skeleton/model.d.ts +14 -0
- package/lib/components/Skeleton/styles.d.ts +6 -0
- package/lib/components/Slider/Model.d.ts +7 -0
- package/lib/components/Slider/Slider.d.ts +3 -0
- package/lib/components/Slider/styles.d.ts +3 -0
- package/lib/components/Stack/Stack.d.ts +5 -0
- package/lib/components/Stack/model.d.ts +6 -0
- package/lib/components/Stack/styles.d.ts +3 -0
- package/lib/components/Steps/Steps.d.ts +6 -0
- package/lib/components/Steps/model.d.ts +16 -0
- package/lib/components/Steps/styles.d.ts +7 -0
- package/lib/components/Styled/GlobalStyles.d.ts +2 -0
- package/lib/components/Styled/MooskinContextProvider.d.ts +6 -0
- package/lib/components/Styled/model.d.ts +143 -0
- package/lib/components/Switch/Switch.d.ts +4 -0
- package/lib/components/Switch/model.d.ts +16 -0
- package/lib/components/Switch/styles.d.ts +7 -0
- package/lib/components/Table/Table.d.ts +7 -0
- package/lib/components/Table/styles.d.ts +7 -0
- package/lib/components/Tabs/Tabs.d.ts +6 -0
- package/lib/components/Tabs/model.d.ts +13 -0
- package/lib/components/Tabs/styles.d.ts +6 -0
- package/lib/components/Tags/Tags.d.ts +8 -0
- package/lib/components/Tags/model.d.ts +18 -0
- package/lib/components/Tags/styles.d.ts +8 -0
- package/lib/components/Text/Text.d.ts +3 -0
- package/lib/components/Text/model.d.ts +4 -0
- package/lib/components/Text/styles.d.ts +3 -0
- package/lib/components/TextArea/TextArea.d.ts +3 -0
- package/lib/components/TextArea/model.d.ts +4 -0
- package/lib/components/TextArea/styles.d.ts +3 -0
- package/lib/components/TextEditor/TextEditor.d.ts +3 -0
- package/lib/components/TextEditor/model.d.ts +14 -0
- package/lib/components/_utils/adapter.d.ts +1 -0
- package/lib/components/_utils/globals/screens.d.ts +11 -0
- package/lib/components/_utils/globals/variables.d.ts +3 -0
- package/lib/components/_utils/helper.d.ts +3 -0
- package/lib/components/_utils/index.d.ts +3 -0
- package/lib/components/_utils/test-setup.d.ts +0 -0
- package/lib/components/_utils/types/commonTypes.d.ts +4 -0
- package/lib/components/index/index.d.ts +85 -0
- package/lib/index/index.js +10 -9
- package/lib/index/style.css +19 -54
- package/lib/stories/ActionsDropdown.stories.d.ts +5 -0
- package/lib/stories/Alert.stories.d.ts +4 -0
- package/lib/stories/Anchor.stories.d.ts +4 -0
- package/lib/stories/Box.stories.d.ts +3 -0
- package/lib/stories/Button.stories.d.ts +6 -0
- package/lib/stories/Carousel.stories.d.ts +3 -0
- package/lib/stories/Checkbox.stories.d.ts +7 -0
- package/lib/stories/DatePicker.stories.d.ts +3 -0
- package/lib/stories/DateRange.stories.d.ts +3 -0
- package/lib/stories/DateSelect.stories.d.ts +8 -0
- package/lib/stories/DateTimePicker.stories.d.ts +3 -0
- package/lib/stories/Drawer.stories.d.ts +5 -0
- package/lib/stories/Expandable.stories.d.ts +3 -0
- package/lib/stories/Footer.stories.d.ts +3 -0
- package/lib/stories/Grid.stories.d.ts +3 -0
- package/lib/stories/IconButton.stories.d.ts +4 -0
- package/lib/stories/Input.stories.d.ts +5 -0
- package/lib/stories/Layout.stories.d.ts +3 -0
- package/lib/stories/List.stories.d.ts +4 -0
- package/lib/stories/Loader.stories.d.ts +3 -0
- package/lib/stories/LoadingBar.stories.d.ts +3 -0
- package/lib/stories/Modal.stories.d.ts +3 -0
- package/lib/stories/NumberLabel.stories.d.ts +9 -0
- package/lib/stories/Pagination.stories.d.ts +3 -0
- package/lib/stories/Radio.stories.d.ts +7 -0
- package/lib/stories/Select.stories.d.ts +6 -0
- package/lib/stories/Selector.stories.d.ts +3 -0
- package/lib/stories/Sidemenu.stories.d.ts +3 -0
- package/lib/stories/Skeleton.stories.d.ts +5 -0
- package/lib/stories/Slider.stories.d.ts +3 -0
- package/lib/stories/Stack.stories.d.ts +8 -0
- package/lib/stories/StackedTags.stories.d.ts +3 -0
- package/lib/stories/Steps.stories.d.ts +3 -0
- package/lib/stories/Switch.stories.d.ts +5 -0
- package/lib/stories/Table.stories.d.ts +3 -0
- package/lib/stories/Tabs.stories.d.ts +3 -0
- package/lib/stories/Tags.stories.d.ts +5 -0
- package/lib/stories/TextEditor.stories.d.ts +7 -0
- package/lib/stories/Textarea.stories.d.ts +4 -0
- package/package.json +2 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import 'emoji-mart/css/emoji-mart.css';
|
|
3
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
+
import { IInputComponentProps, IInputContainerComponentProps, IInputEmojiComponentProps, IInputListComponentProps, IInputOptionComponentProps } from './model';
|
|
5
|
+
export declare const InputContainer: React.FC<IInputContainerComponentProps>;
|
|
6
|
+
export declare const InputOptionList: React.FC<IInputListComponentProps>;
|
|
7
|
+
export declare const InputOptionListTitle: React.FC<IBoxComponentProps>;
|
|
8
|
+
export declare const InputOption: React.FC<IInputOptionComponentProps>;
|
|
9
|
+
export declare const Input: React.FC<IInputComponentProps>;
|
|
10
|
+
export declare const InputIcon: React.FC<IBoxComponentProps>;
|
|
11
|
+
export declare const InputOverlay: React.FC<IBoxComponentProps>;
|
|
12
|
+
export declare const InputEmoji: React.FC<IInputEmojiComponentProps>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface IInputContainerComponentProps extends IBoxComponentProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
value?: string | number;
|
|
7
|
+
dataLabel?: string;
|
|
8
|
+
onChangeInput?: (e: React.ChangeEvent<HTMLInputElement>, data: IInputCallbackData) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface IInputComponentProps extends IInputBoxComponentProps {
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
dataLabel?: string;
|
|
13
|
+
minmax?: number[];
|
|
14
|
+
numberType?: 'integer' | 'float';
|
|
15
|
+
wrapped?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface IInputEmojiComponentProps extends IBoxComponentProps {
|
|
18
|
+
onChangeEmoji?: (value: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export interface IInputListComponentProps extends IBoxComponentProps {
|
|
21
|
+
icon: string;
|
|
22
|
+
iconProps?: IBoxComponentProps;
|
|
23
|
+
wrapperProps?: IBoxComponentProps;
|
|
24
|
+
}
|
|
25
|
+
export interface IInputOptionComponentProps extends IBoxComponentProps {
|
|
26
|
+
value: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ILabelComponentProps } from '../Label/model';
|
|
4
|
+
import { IInputComponentProps, IInputContainerComponentProps, IInputListComponentProps } from './model';
|
|
5
|
+
export declare const StyledInputContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputContainerComponentProps, never>;
|
|
6
|
+
export declare const StyledInputBase: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
7
|
+
export declare const StyledInputSolo: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
8
|
+
export declare const StyledInputWrapped: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputComponentProps, never>;
|
|
9
|
+
export declare const StyledInputOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
10
|
+
export declare const StyledInputIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
11
|
+
export declare const StyledInputOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, Partial<IInputListComponentProps>, never>;
|
|
12
|
+
export declare const StyledInputOptionListTitle: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { ILayoutComponentProps } from '../Layout/model';
|
|
4
|
+
export declare const List: React.FC<ILayoutComponentProps>;
|
|
5
|
+
export declare const ListItem: React.FC<IBoxComponentProps>;
|
|
6
|
+
export declare const ListItemHead: React.FC<IBoxComponentProps>;
|
|
7
|
+
export declare const ListItemBody: React.FC<IBoxComponentProps>;
|
|
8
|
+
export declare const ListItemEnd: React.FC<IBoxComponentProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export declare const StyledListItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
4
|
+
export declare const StyledListItemCommon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
5
|
+
export declare const StyledListItemHead: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
6
|
+
export declare const StyledListItemBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
7
|
+
export declare const StyledListItemEnd: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { IModalComponentProps, IModalContentComponentProps, IModalOverlayComponentProps } from './model';
|
|
4
|
+
export declare const Modal: React.FC<IModalComponentProps>;
|
|
5
|
+
export declare const ModalContent: React.FC<IModalContentComponentProps>;
|
|
6
|
+
export declare const ModalHeader: React.FC<IBoxComponentProps>;
|
|
7
|
+
export declare const ModalBody: React.FC<IBoxComponentProps>;
|
|
8
|
+
export declare const ModalFooter: React.FC<IBoxComponentProps>;
|
|
9
|
+
export declare const ModalCloseButton: React.FC<IBoxComponentProps>;
|
|
10
|
+
export declare const ModalOverlay: React.FC<IModalOverlayComponentProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface IModalComponentProps extends IBoxComponentProps {
|
|
4
|
+
isOpen?: boolean;
|
|
5
|
+
closeOnEsc?: boolean;
|
|
6
|
+
closeOnOverlayClick?: boolean;
|
|
7
|
+
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface IModalContentComponentProps extends IBoxComponentProps {
|
|
10
|
+
isOpen?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface IModalOverlayComponentProps extends IBoxComponentProps {
|
|
13
|
+
isOpen?: boolean;
|
|
14
|
+
onOpen?: () => void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { IModalComponentProps, IModalContentComponentProps } from './model';
|
|
4
|
+
export declare const StyledModal: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalComponentProps, never>;
|
|
5
|
+
export declare const StyledModalContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
6
|
+
export declare const StyledModalContentFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
7
|
+
export declare const StyledModalContentFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
8
|
+
export declare const StyledModalHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
9
|
+
export declare const StyledModalBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
10
|
+
export declare const StyledModalFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
11
|
+
export declare const StyledModalCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
12
|
+
export declare const StyledModalOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
13
|
+
export declare const StyledModalOverlayFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
14
|
+
export declare const StyledModalOverlayFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
3
|
+
export declare const Pagination: React.FC<IPaginationComponentProps>;
|
|
4
|
+
export declare const PaginationButton: React.FC<IPaginationButtonComponentProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface IPaginationComponentProps extends IBoxComponentProps {
|
|
4
|
+
singleItem?: boolean;
|
|
5
|
+
hideShowAll?: boolean;
|
|
6
|
+
activePage: number;
|
|
7
|
+
onClickButton?: (e: React.MouseEvent<HTMLElement>, value: number) => void;
|
|
8
|
+
children?: React.ReactElement<IPaginationButtonComponentProps> | Array<React.ReactElement<IPaginationButtonComponentProps>>;
|
|
9
|
+
}
|
|
10
|
+
export interface IPaginationButtonComponentProps extends IBoxComponentProps {
|
|
11
|
+
active?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
4
|
+
export declare const StyledPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationComponentProps, never>;
|
|
5
|
+
export declare const StyledPaginationButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationButtonComponentProps, never>;
|
|
6
|
+
export declare const StyledPaginationShowAll: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ILabelComponentProps } from '../Label/model';
|
|
4
|
+
import { IRadioComponentProps, IRadioIconComponentProps } from './model';
|
|
5
|
+
export declare const Radio: React.FC<IRadioComponentProps>;
|
|
6
|
+
export declare const RadioIcon: React.FC<IRadioIconComponentProps>;
|
|
7
|
+
export declare const RadioLabel: React.FC<ILabelComponentProps>;
|
|
8
|
+
export declare const RadioDescription: React.FC<IBoxComponentProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface IRadioComponentProps extends IBoxComponentProps {
|
|
5
|
+
onClickRadio?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
|
+
dataLabel?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
value?: string | number;
|
|
10
|
+
}
|
|
11
|
+
export interface IRadioIconComponentProps extends IBoxComponentProps {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
selected?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ILabelComponentProps } from '../Label/model';
|
|
3
|
+
import { IRadioIconComponentProps } from './model';
|
|
4
|
+
export declare const StyledRadio: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
|
+
export declare const StyledRadioIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IRadioIconComponentProps, never>;
|
|
6
|
+
export declare const StyledRadioLabel: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps, ISelectPaginationComponentProps } from './model';
|
|
4
|
+
export declare const Select: React.FC<ISelectComponentProps>;
|
|
5
|
+
export declare const SelectContainer: React.FC<IBoxComponentProps>;
|
|
6
|
+
export declare const SelectPlaceholder: React.FC<IBoxComponentProps>;
|
|
7
|
+
export declare const SelectOptionList: React.FC<ISelectOptionListProps>;
|
|
8
|
+
export declare const SelectOption: React.FC<ISelectOptionComponentProps>;
|
|
9
|
+
export declare const SelectFilter: React.FC<IInputBoxComponentProps>;
|
|
10
|
+
export declare const SelectLoader: React.FC<IBoxComponentProps>;
|
|
11
|
+
export declare const SelectIcon: React.FC<IBoxComponentProps>;
|
|
12
|
+
export declare const SelectOverlay: React.FC<IBoxComponentProps>;
|
|
13
|
+
export declare const SelectPagination: React.FC<ISelectPaginationComponentProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface ISelectComponentProps extends IBoxComponentProps {
|
|
5
|
+
onChangeSelect?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
|
+
dataLabel?: string;
|
|
7
|
+
selectedValue?: string | number | Array<string | number>;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ISelectOptionListProps extends IBoxComponentProps {
|
|
11
|
+
showList?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ISelectFilterComponentProps extends IInputBoxComponentProps {
|
|
14
|
+
onChangeFilter?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface ISelectOptionComponentProps extends IBoxComponentProps {
|
|
17
|
+
value: string;
|
|
18
|
+
searchLabel?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface ISelectPaginationComponentProps extends IBoxComponentProps {
|
|
22
|
+
page: number;
|
|
23
|
+
onClickPagination?: (e: React.MouseEvent<HTMLElement>, page: number) => void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps } from './model';
|
|
4
|
+
export declare const StyledSelect: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectComponentProps, never>;
|
|
5
|
+
export declare const StyledSelectFilter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IInputBoxComponentProps, never>;
|
|
6
|
+
export declare const StyledSelectContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
7
|
+
export declare const StyledSelectPlaceholder: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
8
|
+
export declare const StyledSelectOptionList: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
9
|
+
export declare const StyledSelectOptionListFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
10
|
+
export declare const StyledSelectOptionListFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionListProps, never>;
|
|
11
|
+
export declare const StyledSelectOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
12
|
+
export declare const StyledSelectOption: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectOptionComponentProps, never>;
|
|
13
|
+
export declare const StyledSelectIcon: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
14
|
+
export declare const StyledSelectPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
15
|
+
export declare const StyledPaginationPage: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface ISelectorComponentProps extends IBoxComponentProps {
|
|
4
|
+
activeItem?: string | number;
|
|
5
|
+
onClickItem?: (e: React.MouseEvent<HTMLElement>, value?: string | number) => void;
|
|
6
|
+
}
|
|
7
|
+
export interface ISelectorItemComponentProps extends IBoxComponentProps {
|
|
8
|
+
value?: string | number;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISelectorComponentProps, ISelectorItemComponentProps } from './model';
|
|
3
|
+
export declare const StyledSelector: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISelectorComponentProps, never>;
|
|
4
|
+
export declare const StyledSelectorItem: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISelectorItemComponentProps, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface ISidemenuComponentProps extends IBoxComponentProps {
|
|
4
|
+
activeItem?: string | number;
|
|
5
|
+
onClickItem?: (e: React.MouseEvent<HTMLElement>, value?: string | number) => void;
|
|
6
|
+
}
|
|
7
|
+
export interface ISidemenuItemComponentProps extends IBoxComponentProps {
|
|
8
|
+
value?: string | number;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISidemenuComponentProps, ISidemenuItemComponentProps } from './model';
|
|
3
|
+
export declare const StyledSidemenu: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISidemenuComponentProps, never>;
|
|
4
|
+
export declare const StyledSidemenuItem: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISidemenuItemComponentProps, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
3
|
+
export declare const Skeleton: React.FC<ICommonSkeletonComponentProps>;
|
|
4
|
+
export declare const SkeletonCircle: React.FC<ISkeletonCircleComponentProps>;
|
|
5
|
+
export declare const SkeletonText: React.FC<ISkeletonTextComponentProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface ICommonSkeletonComponentProps extends IBoxComponentProps {
|
|
3
|
+
startColor?: string;
|
|
4
|
+
endColor?: string;
|
|
5
|
+
speed?: number;
|
|
6
|
+
isLoaded?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ISkeletonCircleComponentProps extends ICommonSkeletonComponentProps {
|
|
9
|
+
size?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ISkeletonTextComponentProps extends ICommonSkeletonComponentProps {
|
|
12
|
+
lines?: number;
|
|
13
|
+
width?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
3
|
+
export declare const StyledCommonSkeleton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps, never>;
|
|
4
|
+
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps, never>;
|
|
5
|
+
export declare const StyledSkeletonCircle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps & ISkeletonCircleComponentProps, never>;
|
|
6
|
+
export declare const StyledSkeletonText: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps & ISkeletonTextComponentProps, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IInputComponentProps } from '../Input/model';
|
|
4
|
+
export interface ISliderComponentProps extends IInputComponentProps {
|
|
5
|
+
dataLabel?: string;
|
|
6
|
+
onChangeSlider?: (e: React.ChangeEvent<HTMLInputElement>, data: IInputCallbackData) => void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
3
|
+
export declare const Steps: React.FC<IStepsComponentProps>;
|
|
4
|
+
export declare const Step: React.FC<IStepComponentProps>;
|
|
5
|
+
export declare const StepHeader: React.FC<IStepHeaderComponentProps>;
|
|
6
|
+
export declare const StepContent: React.FC<IStepCommonComponentProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface IStepsComponentProps extends IBoxComponentProps {
|
|
4
|
+
activeItem?: number | string;
|
|
5
|
+
onClickStep?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
|
|
6
|
+
children?: React.ReactElement<IStepCommonComponentProps> | Array<React.ReactElement<IStepCommonComponentProps>>;
|
|
7
|
+
}
|
|
8
|
+
export interface IStepCommonComponentProps extends IBoxComponentProps {
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IStepHeaderComponentProps extends IStepCommonComponentProps {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface IStepComponentProps extends IStepCommonComponentProps {
|
|
15
|
+
activeId?: string | number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
3
|
+
export declare const StyledSteps: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepsComponentProps, never>;
|
|
4
|
+
export declare const StyledStep: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepComponentProps, never>;
|
|
5
|
+
export declare const StyledStepHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepHeaderComponentProps, never>;
|
|
6
|
+
export declare const StyledStepContent: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepCommonComponentProps, never>;
|
|
7
|
+
export declare const StyledStepArrow: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepCommonComponentProps, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IMooskinContext } from './model';
|
|
3
|
+
export declare const useMooskinContext: () => IMooskinContext;
|
|
4
|
+
export declare const MooskinContext: React.Context<IMooskinContext>;
|
|
5
|
+
export declare const MooskinContextProvider: React.Provider<IMooskinContext>;
|
|
6
|
+
export declare const withMooskinContext: <P extends object>(Component: React.FC<P>) => (props: P) => JSX.Element;
|