@moosend/mooskin 1.0.84 → 1.0.85-beta-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +1 -1
- package/lib/ActionsDropdown/ActionsDropdown.d.ts +6 -6
- package/lib/ActionsDropdown/model.d.ts +12 -12
- package/lib/ActionsDropdown/styles.d.ts +10 -10
- package/lib/Alert/Alert.d.ts +8 -8
- package/lib/Alert/model.d.ts +5 -5
- package/lib/Alert/styles.d.ts +8 -8
- package/lib/Anchor/Anchor.d.ts +3 -3
- package/lib/Anchor/model.d.ts +4 -4
- package/lib/Anchor/styles.d.ts +3 -3
- package/lib/Box/Box.d.ts +3 -3
- package/lib/Box/model.d.ts +120 -120
- package/lib/Box/resources.d.ts +9 -9
- package/lib/Box/styles.d.ts +8 -7
- package/lib/Button/Button.d.ts +7 -7
- package/lib/Button/model.d.ts +6 -5
- package/lib/Button/styles.d.ts +7 -7
- package/lib/Carousel/Carousel.d.ts +7 -7
- package/lib/Carousel/model.d.ts +33 -33
- package/lib/Carousel/styles.d.ts +4 -4
- package/lib/Checkbox/Checkbox.d.ts +8 -8
- package/lib/Checkbox/model.d.ts +13 -13
- package/lib/Checkbox/styles.d.ts +6 -6
- package/lib/DatePicker/DatePicker.d.ts +3 -3
- package/lib/DatePicker/model.d.ts +18 -11
- package/lib/DateRange/DateRange.d.ts +5 -5
- package/lib/DateRange/model.d.ts +17 -15
- package/lib/DateRange/styles.d.ts +3 -3
- package/lib/DateSelect/DateSelect.d.ts +3 -3
- package/lib/DateSelect/model.d.ts +7 -7
- package/lib/DateTimePicker/DateTimePicker.d.ts +3 -3
- package/lib/DateTimePicker/model.d.ts +13 -11
- package/lib/Description/Description.d.ts +3 -3
- package/lib/Description/styles.d.ts +3 -3
- package/lib/Drawer/Drawer.d.ts +10 -10
- package/lib/Drawer/model.d.ts +21 -21
- package/lib/Drawer/styles.d.ts +25 -25
- package/lib/Expandable/Expandable.d.ts +9 -9
- package/lib/Expandable/model.d.ts +13 -13
- package/lib/Expandable/styles.d.ts +9 -9
- package/lib/Footer/Footer.d.ts +6 -6
- package/lib/Footer/styles.d.ts +7 -7
- package/lib/Grid/Grid.d.ts +5 -5
- package/lib/Grid/model.d.ts +18 -18
- package/lib/Grid/styles.d.ts +5 -5
- package/lib/IconButton/IconButton.d.ts +3 -3
- package/lib/IconButton/model.d.ts +4 -4
- package/lib/IconButton/styles.d.ts +3 -3
- package/lib/Image/Image.d.ts +3 -3
- package/lib/Image/styles.d.ts +2 -3
- package/lib/Input/Input.d.ts +12 -12
- package/lib/Input/model.d.ts +30 -29
- package/lib/Input/styles.d.ts +13 -13
- package/lib/Label/Label.d.ts +3 -3
- package/lib/Label/{model.d.ts → Model.d.ts} +5 -5
- package/lib/Label/styles.d.ts +3 -3
- package/lib/Layout/Layout.d.ts +3 -3
- package/lib/Layout/model.d.ts +5 -5
- package/lib/Layout/styles.d.ts +3 -3
- package/lib/List/List.d.ts +8 -8
- package/lib/List/styles.d.ts +7 -7
- package/lib/Loader/Loader.d.ts +3 -3
- package/lib/Loader/model.d.ts +5 -5
- package/lib/Loader/styles.d.ts +4 -3
- package/lib/LoadingBar/LoadingBar.d.ts +3 -3
- package/lib/LoadingBar/model.d.ts +7 -7
- package/lib/LoadingBar/styles.d.ts +3 -3
- package/lib/Modal/Modal.d.ts +10 -10
- package/lib/Modal/model.d.ts +15 -15
- package/lib/Modal/styles.d.ts +14 -14
- package/lib/NumberLabel/NumberLabel.d.ts +3 -3
- package/lib/NumberLabel/model.d.ts +7 -7
- package/lib/Pagination/Pagination.d.ts +4 -4
- package/lib/Pagination/model.d.ts +12 -12
- package/lib/Pagination/styles.d.ts +6 -6
- package/lib/Radio/Radio.d.ts +8 -8
- package/lib/Radio/model.d.ts +14 -14
- package/lib/Radio/styles.d.ts +6 -6
- package/lib/Select/Select.d.ts +14 -14
- package/lib/Select/model.d.ts +25 -25
- package/lib/Select/styles.d.ts +17 -17
- package/lib/Selector/Selector.d.ts +4 -4
- package/lib/Selector/model.d.ts +10 -10
- package/lib/Selector/styles.d.ts +4 -4
- package/lib/Sidemenu/Sidemenu.d.ts +4 -4
- package/lib/Sidemenu/model.d.ts +10 -10
- package/lib/Sidemenu/styles.d.ts +4 -4
- package/lib/Skeleton/Skeleton.d.ts +5 -5
- package/lib/Skeleton/model.d.ts +14 -14
- package/lib/Skeleton/styles.d.ts +6 -6
- package/lib/Slider/Slider.d.ts +3 -3
- package/lib/Slider/{Model.d.ts → model.d.ts} +7 -7
- package/lib/Slider/styles.d.ts +3 -3
- package/lib/Stack/Stack.d.ts +5 -5
- package/lib/Stack/model.d.ts +6 -6
- package/lib/Stack/styles.d.ts +3 -3
- package/lib/Steps/Steps.d.ts +6 -6
- package/lib/Steps/model.d.ts +16 -16
- package/lib/Steps/styles.d.ts +7 -7
- package/lib/Styled/GlobalStyles.d.ts +1 -2
- package/lib/Styled/MooskinContextProvider.d.ts +6 -6
- package/lib/Styled/model.d.ts +189 -189
- package/lib/Switch/Switch.d.ts +4 -4
- package/lib/Switch/model.d.ts +16 -16
- package/lib/Switch/styles.d.ts +7 -7
- package/lib/Table/Table.d.ts +7 -7
- package/lib/Table/styles.d.ts +7 -7
- package/lib/Tabs/Tabs.d.ts +6 -6
- package/lib/Tabs/model.d.ts +13 -13
- package/lib/Tabs/styles.d.ts +6 -6
- package/lib/Tags/Tags.d.ts +8 -8
- package/lib/Tags/model.d.ts +18 -18
- package/lib/Tags/styles.d.ts +8 -8
- package/lib/Text/Text.d.ts +3 -3
- package/lib/Text/model.d.ts +4 -4
- package/lib/Text/styles.d.ts +3 -3
- package/lib/TextArea/TextArea.d.ts +3 -3
- package/lib/TextArea/model.d.ts +4 -4
- package/lib/TextArea/styles.d.ts +2 -3
- package/lib/TextEditor/TextEditor.d.ts +3 -3
- package/lib/TextEditor/model.d.ts +15 -15
- package/lib/_utils/adapter.d.ts +1 -1
- package/lib/_utils/globals/screens.d.ts +29 -29
- package/lib/_utils/globals/variables.d.ts +3 -3
- package/lib/_utils/helper.d.ts +103 -81
- package/lib/_utils/index.d.ts +3 -3
- package/lib/_utils/types/commonTypes.d.ts +4 -4
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +6 -6
- package/lib/components/ActionsDropdown/model.d.ts +12 -12
- package/lib/components/ActionsDropdown/styles.d.ts +10 -10
- package/lib/components/Alert/Alert.d.ts +8 -8
- package/lib/components/Alert/model.d.ts +5 -5
- package/lib/components/Alert/styles.d.ts +8 -8
- package/lib/components/Anchor/Anchor.d.ts +3 -3
- package/lib/components/Anchor/model.d.ts +4 -4
- package/lib/components/Anchor/styles.d.ts +3 -3
- package/lib/components/Box/Box.d.ts +3 -3
- package/lib/components/Box/model.d.ts +120 -120
- package/lib/components/Box/resources.d.ts +9 -9
- package/lib/components/Box/styles.d.ts +8 -7
- package/lib/components/Button/Button.d.ts +7 -7
- package/lib/components/Button/model.d.ts +6 -5
- package/lib/components/Button/styles.d.ts +7 -7
- package/lib/components/Carousel/Carousel.d.ts +7 -7
- package/lib/components/Carousel/model.d.ts +33 -33
- package/lib/components/Carousel/styles.d.ts +4 -4
- package/lib/components/Checkbox/Checkbox.d.ts +8 -8
- package/lib/components/Checkbox/model.d.ts +13 -13
- package/lib/components/Checkbox/styles.d.ts +6 -6
- package/lib/components/DatePicker/DatePicker.d.ts +3 -3
- package/lib/components/DatePicker/model.d.ts +18 -11
- package/lib/components/DateRange/DateRange.d.ts +5 -5
- package/lib/components/DateRange/model.d.ts +17 -15
- package/lib/components/DateRange/styles.d.ts +3 -3
- package/lib/components/DateSelect/DateSelect.d.ts +3 -3
- package/lib/components/DateSelect/model.d.ts +7 -7
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +3 -3
- package/lib/components/DateTimePicker/model.d.ts +13 -11
- package/lib/components/Description/Description.d.ts +3 -3
- package/lib/components/Description/styles.d.ts +3 -3
- package/lib/components/Drawer/Drawer.d.ts +10 -10
- package/lib/components/Drawer/model.d.ts +21 -21
- package/lib/components/Drawer/styles.d.ts +25 -25
- package/lib/components/Expandable/Expandable.d.ts +9 -9
- package/lib/components/Expandable/model.d.ts +13 -13
- package/lib/components/Expandable/styles.d.ts +9 -9
- package/lib/components/Footer/Footer.d.ts +6 -6
- package/lib/components/Footer/styles.d.ts +7 -7
- package/lib/components/Grid/Grid.d.ts +5 -5
- package/lib/components/Grid/model.d.ts +18 -18
- package/lib/components/Grid/styles.d.ts +5 -5
- package/lib/components/IconButton/IconButton.d.ts +3 -3
- package/lib/components/IconButton/model.d.ts +4 -4
- package/lib/components/IconButton/styles.d.ts +3 -3
- package/lib/components/Image/Image.d.ts +3 -3
- package/lib/components/Image/styles.d.ts +2 -3
- package/lib/components/Input/Input.d.ts +12 -12
- package/lib/components/Input/model.d.ts +30 -29
- package/lib/components/Input/styles.d.ts +13 -13
- package/lib/components/Label/Label.d.ts +3 -3
- package/lib/components/Label/model.d.ts +5 -5
- package/lib/components/Label/styles.d.ts +3 -3
- package/lib/components/Layout/Layout.d.ts +3 -3
- package/lib/components/Layout/model.d.ts +5 -5
- package/lib/components/Layout/styles.d.ts +3 -3
- package/lib/components/List/List.d.ts +8 -8
- package/lib/components/List/styles.d.ts +7 -7
- package/lib/components/Loader/Loader.d.ts +3 -3
- package/lib/components/Loader/model.d.ts +5 -5
- package/lib/components/Loader/styles.d.ts +4 -3
- package/lib/components/LoadingBar/LoadingBar.d.ts +3 -3
- package/lib/components/LoadingBar/model.d.ts +7 -7
- package/lib/components/LoadingBar/styles.d.ts +3 -3
- package/lib/components/Modal/Modal.d.ts +10 -10
- package/lib/components/Modal/model.d.ts +15 -15
- package/lib/components/Modal/styles.d.ts +14 -14
- package/lib/components/NumberLabel/NumberLabel.d.ts +3 -3
- package/lib/components/NumberLabel/model.d.ts +7 -7
- package/lib/components/Pagination/Pagination.d.ts +4 -4
- package/lib/components/Pagination/model.d.ts +12 -12
- package/lib/components/Pagination/styles.d.ts +6 -6
- package/lib/components/Radio/Radio.d.ts +8 -8
- package/lib/components/Radio/model.d.ts +14 -14
- package/lib/components/Radio/styles.d.ts +6 -6
- package/lib/components/Select/Select.d.ts +14 -14
- package/lib/components/Select/model.d.ts +25 -25
- package/lib/components/Select/styles.d.ts +17 -17
- package/lib/components/Selector/Selector.d.ts +4 -4
- package/lib/components/Selector/model.d.ts +10 -10
- package/lib/components/Selector/styles.d.ts +4 -4
- package/lib/components/Sidemenu/Sidemenu.d.ts +4 -4
- package/lib/components/Sidemenu/model.d.ts +10 -10
- package/lib/components/Sidemenu/styles.d.ts +4 -4
- package/lib/components/Skeleton/Skeleton.d.ts +5 -5
- package/lib/components/Skeleton/model.d.ts +14 -14
- package/lib/components/Skeleton/styles.d.ts +6 -6
- package/lib/components/Slider/Model.d.ts +7 -7
- package/lib/components/Slider/Slider.d.ts +3 -3
- package/lib/components/Slider/styles.d.ts +3 -3
- package/lib/components/Stack/Stack.d.ts +5 -5
- package/lib/components/Stack/model.d.ts +6 -6
- package/lib/components/Stack/styles.d.ts +3 -3
- package/lib/components/Steps/Steps.d.ts +6 -6
- package/lib/components/Steps/model.d.ts +16 -16
- package/lib/components/Steps/styles.d.ts +7 -7
- package/lib/components/Styled/GlobalStyles.d.ts +1 -2
- package/lib/components/Styled/MooskinContextProvider.d.ts +6 -6
- package/lib/components/Styled/model.d.ts +189 -189
- package/lib/components/Switch/Switch.d.ts +4 -4
- package/lib/components/Switch/model.d.ts +16 -16
- package/lib/components/Switch/styles.d.ts +7 -7
- package/lib/components/Table/Table.d.ts +7 -7
- package/lib/components/Table/styles.d.ts +7 -7
- package/lib/components/Tabs/Tabs.d.ts +6 -6
- package/lib/components/Tabs/model.d.ts +13 -13
- package/lib/components/Tabs/styles.d.ts +6 -6
- package/lib/components/Tags/Tags.d.ts +8 -8
- package/lib/components/Tags/model.d.ts +18 -18
- package/lib/components/Tags/styles.d.ts +8 -8
- package/lib/components/Text/Text.d.ts +3 -3
- package/lib/components/Text/model.d.ts +4 -4
- package/lib/components/Text/styles.d.ts +3 -3
- package/lib/components/TextArea/TextArea.d.ts +3 -3
- package/lib/components/TextArea/model.d.ts +4 -4
- package/lib/components/TextArea/styles.d.ts +2 -3
- package/lib/components/TextEditor/TextEditor.d.ts +3 -3
- package/lib/components/TextEditor/model.d.ts +15 -15
- package/lib/components/_utils/adapter.d.ts +1 -1
- package/lib/components/_utils/globals/screens.d.ts +29 -29
- package/lib/components/_utils/globals/variables.d.ts +3 -3
- package/lib/components/_utils/helper.d.ts +103 -81
- package/lib/components/_utils/index.d.ts +3 -3
- package/lib/components/_utils/types/commonTypes.d.ts +4 -4
- package/lib/components/index/index.d.ts +86 -86
- package/lib/index/index.d.ts +86 -86
- package/lib/index/index.js +88 -28
- package/lib/index/style.css +1 -1
- package/lib/stories/ActionsDropdown.stories.d.ts +7 -5
- package/lib/stories/Alert.stories.d.ts +7 -4
- package/lib/stories/Anchor.stories.d.ts +6 -4
- package/lib/stories/Box.stories.d.ts +5 -3
- package/lib/stories/Button.stories.d.ts +8 -6
- package/lib/stories/Carousel.stories.d.ts +5 -3
- package/lib/stories/Checkbox.stories.d.ts +9 -7
- package/lib/stories/DatePicker.stories.d.ts +5 -3
- package/lib/stories/DateRange.stories.d.ts +5 -3
- package/lib/stories/DateSelect.stories.d.ts +10 -8
- package/lib/stories/DateTimePicker.stories.d.ts +5 -3
- package/lib/stories/Drawer.stories.d.ts +7 -5
- package/lib/stories/Expandable.stories.d.ts +5 -3
- package/lib/stories/Footer.stories.d.ts +5 -3
- package/lib/stories/Grid.stories.d.ts +5 -3
- package/lib/stories/IconButton.stories.d.ts +6 -4
- package/lib/stories/Input.stories.d.ts +7 -5
- package/lib/stories/Layout.stories.d.ts +5 -3
- package/lib/stories/List.stories.d.ts +6 -4
- package/lib/stories/Loader.stories.d.ts +5 -3
- package/lib/stories/LoadingBar.stories.d.ts +5 -3
- package/lib/stories/Modal.stories.d.ts +5 -3
- package/lib/stories/NumberLabel.stories.d.ts +11 -9
- package/lib/stories/Pagination.stories.d.ts +5 -3
- package/lib/stories/Radio.stories.d.ts +9 -7
- package/lib/stories/Select.stories.d.ts +8 -6
- package/lib/stories/Selector.stories.d.ts +5 -3
- package/lib/stories/Sidemenu.stories.d.ts +5 -3
- package/lib/stories/Skeleton.stories.d.ts +7 -5
- package/lib/stories/Slider.stories.d.ts +5 -3
- package/lib/stories/Stack.stories.d.ts +10 -8
- package/lib/stories/StackedTags.stories.d.ts +5 -3
- package/lib/stories/Steps.stories.d.ts +5 -3
- package/lib/stories/Switch.stories.d.ts +7 -5
- package/lib/stories/Table.stories.d.ts +5 -3
- package/lib/stories/Tabs.stories.d.ts +5 -3
- package/lib/stories/Tags.stories.d.ts +7 -5
- package/lib/stories/TextEditor.stories.d.ts +9 -7
- package/lib/stories/Textarea.stories.d.ts +6 -4
- package/package.json +122 -114
package/lib/TextArea/styles.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, ITextAreaBoxComponentProps, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement> & import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ITextEditorComponentProps } from './model';
|
|
3
|
-
export declare const TextEditor: React.FC<ITextEditorComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ITextEditorComponentProps } from './model';
|
|
3
|
+
export declare const TextEditor: React.FC<ITextEditorComponentProps>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IAllProps } from '@tinymce/tinymce-react';
|
|
2
|
-
export interface ITextEditorComponentProps extends Partial<IAllProps> {
|
|
3
|
-
onInit?: any;
|
|
4
|
-
selector?: any;
|
|
5
|
-
menubar?: boolean;
|
|
6
|
-
personalizationTags?: {
|
|
7
|
-
buttonLabel: string;
|
|
8
|
-
id: string;
|
|
9
|
-
tags: IPersonalizationTag[];
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export interface IPersonalizationTag {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}
|
|
1
|
+
import { IAllProps } from '@tinymce/tinymce-react';
|
|
2
|
+
export interface ITextEditorComponentProps extends Partial<IAllProps> {
|
|
3
|
+
onInit?: any;
|
|
4
|
+
selector?: any;
|
|
5
|
+
menubar?: boolean;
|
|
6
|
+
personalizationTags?: {
|
|
7
|
+
buttonLabel: string;
|
|
8
|
+
id: string;
|
|
9
|
+
tags: IPersonalizationTag[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface IPersonalizationTag {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
package/lib/_utils/adapter.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
deviceLarge: string;
|
|
3
|
-
deviceMedium: string;
|
|
4
|
-
deviceSmall: string;
|
|
5
|
-
deviceXsmall: string;
|
|
6
|
-
large: string;
|
|
7
|
-
medium: string;
|
|
8
|
-
small: string;
|
|
9
|
-
xSmall: string;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Screens: {
|
|
13
|
-
lg: {
|
|
14
|
-
min: number;
|
|
15
|
-
max: number;
|
|
16
|
-
};
|
|
17
|
-
md: {
|
|
18
|
-
min: number;
|
|
19
|
-
max: number;
|
|
20
|
-
};
|
|
21
|
-
sm: {
|
|
22
|
-
min: number;
|
|
23
|
-
max: number;
|
|
24
|
-
};
|
|
25
|
-
xs: {
|
|
26
|
-
min: number;
|
|
27
|
-
max: number;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
1
|
+
declare const _default: {
|
|
2
|
+
deviceLarge: string;
|
|
3
|
+
deviceMedium: string;
|
|
4
|
+
deviceSmall: string;
|
|
5
|
+
deviceXsmall: string;
|
|
6
|
+
large: string;
|
|
7
|
+
medium: string;
|
|
8
|
+
small: string;
|
|
9
|
+
xSmall: string;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Screens: {
|
|
13
|
+
lg: {
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
};
|
|
17
|
+
md: {
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
min: number;
|
|
23
|
+
max: number;
|
|
24
|
+
};
|
|
25
|
+
xs: {
|
|
26
|
+
min: number;
|
|
27
|
+
max: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IStyledTheme } from '../../Styled/model';
|
|
2
|
-
declare const theme: IStyledTheme;
|
|
3
|
-
export default theme;
|
|
1
|
+
import { IStyledTheme } from '../../Styled/model';
|
|
2
|
+
declare const theme: IStyledTheme;
|
|
3
|
+
export default theme;
|
package/lib/_utils/helper.d.ts
CHANGED
|
@@ -1,81 +1,103 @@
|
|
|
1
|
-
import { IStyledTheme } from '../Styled/model';
|
|
2
|
-
export declare const arrayHasDupes: (array: any[]) => boolean;
|
|
3
|
-
export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
|
|
4
|
-
export declare const getBoxProps: (componentProps: any) => any;
|
|
5
|
-
export declare const getOverridesForPicker: (theme: IStyledTheme, defaults: IStyledTheme) => {
|
|
6
|
-
|
|
7
|
-
MuiPickersToolbar: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
import { IStyledTheme } from '../Styled/model';
|
|
2
|
+
export declare const arrayHasDupes: (array: any[]) => boolean;
|
|
3
|
+
export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
|
|
4
|
+
export declare const getBoxProps: (componentProps: any) => any;
|
|
5
|
+
export declare const getOverridesForPicker: (theme: IStyledTheme, defaults: IStyledTheme) => {
|
|
6
|
+
components: {
|
|
7
|
+
MuiPickersToolbar: {
|
|
8
|
+
styleOverrides: {
|
|
9
|
+
toolbar: {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
MuiPickersCalendarHeader: {
|
|
15
|
+
styleOverrides: {
|
|
16
|
+
iconButton: {
|
|
17
|
+
fill: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
MuiPickersDay: {
|
|
22
|
+
styleOverrides: {
|
|
23
|
+
current: {
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
day: {
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
color: string;
|
|
29
|
+
};
|
|
30
|
+
dayDisabled: {
|
|
31
|
+
color: string;
|
|
32
|
+
};
|
|
33
|
+
daySelected: {
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
MuiPickersModal: {
|
|
40
|
+
styleOverrides: {
|
|
41
|
+
dialogAction: {
|
|
42
|
+
color: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
MuiPickerDTTabs: {
|
|
47
|
+
styleOverrides: {
|
|
48
|
+
tabs: {
|
|
49
|
+
backgroundColor: string;
|
|
50
|
+
fill: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
MuiSvgIcon: {
|
|
55
|
+
styleOverrides: {
|
|
56
|
+
root: {
|
|
57
|
+
fill: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
MuiPickersClock: {
|
|
62
|
+
styleOverrides: {
|
|
63
|
+
pin: {
|
|
64
|
+
backgroundColor: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
MuiPickersClockPointer: {
|
|
69
|
+
styleOverrides: {
|
|
70
|
+
pointer: {
|
|
71
|
+
backgroundColor: string;
|
|
72
|
+
};
|
|
73
|
+
thumb: {
|
|
74
|
+
borderColor: string;
|
|
75
|
+
};
|
|
76
|
+
noPoint: {
|
|
77
|
+
backgroundColor: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
MuiTabs: {
|
|
82
|
+
styleOverrides: {
|
|
83
|
+
indicator: {
|
|
84
|
+
backgroundColor: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
MuiIconButton: {
|
|
89
|
+
styleOverrides: {
|
|
90
|
+
root: {
|
|
91
|
+
color: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
MuiButton: {
|
|
96
|
+
styleOverrides: {
|
|
97
|
+
root: {
|
|
98
|
+
color: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
package/lib/_utils/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IInputCallbackData } from './types/commonTypes';
|
|
2
|
-
export default IInputCallbackData;
|
|
3
|
-
export { IInputCallbackData };
|
|
1
|
+
import { IInputCallbackData } from './types/commonTypes';
|
|
2
|
+
export default IInputCallbackData;
|
|
3
|
+
export { IInputCallbackData };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IInputCallbackData<T = any> {
|
|
2
|
-
dataLabel: string | undefined | null;
|
|
3
|
-
value: T;
|
|
4
|
-
}
|
|
1
|
+
export interface IInputCallbackData<T = any> {
|
|
2
|
+
dataLabel: string | undefined | null;
|
|
3
|
+
value: T;
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
-
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
|
-
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
6
|
-
export declare const ActionsDropdownArrow: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
+
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
|
+
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
6
|
+
export declare const ActionsDropdownArrow: React.FC<IBoxComponentProps>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
-
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
-
isOpen?: boolean;
|
|
6
|
-
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
7
|
-
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
-
}
|
|
9
|
-
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
10
|
-
dataLabel?: any;
|
|
11
|
-
value?: any;
|
|
12
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
7
|
+
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
10
|
+
dataLabel?: any;
|
|
11
|
+
value?: any;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../index';
|
|
3
|
-
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
-
export declare const StyledActionsDropdown: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
|
-
export declare const StyledActionsDropdownFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
6
|
-
export declare const StyledActionsDropdownFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
7
|
-
export declare const StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
8
|
-
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
9
|
-
export declare const StyledActionsDropdownButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
10
|
-
export declare const StyledActionDropdownOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any,
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../index';
|
|
3
|
+
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
+
export declare const StyledActionsDropdown: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
|
+
export declare const StyledActionsDropdownFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
6
|
+
export declare const StyledActionsDropdownFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
7
|
+
export declare const StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
8
|
+
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
9
|
+
export declare const StyledActionsDropdownButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
10
|
+
export declare const StyledActionDropdownOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBaseAlertComponentProps } from './model';
|
|
3
|
-
export declare const Alert: React.FC<IBaseAlertComponentProps>;
|
|
4
|
-
export declare const AlertIcon: React.FC<IBaseAlertComponentProps>;
|
|
5
|
-
export declare const AlertTitle: React.FC<IBaseAlertComponentProps>;
|
|
6
|
-
export declare const AlertDescription: React.FC<IBaseAlertComponentProps>;
|
|
7
|
-
export declare const AlertCloseButton: React.FC<IBaseAlertComponentProps>;
|
|
8
|
-
export declare const AlertButton: React.FC<IBaseAlertComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBaseAlertComponentProps } from './model';
|
|
3
|
+
export declare const Alert: React.FC<IBaseAlertComponentProps>;
|
|
4
|
+
export declare const AlertIcon: React.FC<IBaseAlertComponentProps>;
|
|
5
|
+
export declare const AlertTitle: React.FC<IBaseAlertComponentProps>;
|
|
6
|
+
export declare const AlertDescription: React.FC<IBaseAlertComponentProps>;
|
|
7
|
+
export declare const AlertCloseButton: React.FC<IBaseAlertComponentProps>;
|
|
8
|
+
export declare const AlertButton: React.FC<IBaseAlertComponentProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IBaseAlertComponentProps extends IBoxComponentProps {
|
|
3
|
-
status?: 'info' | 'warning' | 'success' | 'error';
|
|
4
|
-
variant?: 'subtle' | 'solid' | 'left-accent' | 'top-accent';
|
|
5
|
-
}
|
|
1
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IBaseAlertComponentProps extends IBoxComponentProps {
|
|
3
|
+
status?: 'info' | 'warning' | 'success' | 'error';
|
|
4
|
+
variant?: 'subtle' | 'solid' | 'left-accent' | 'top-accent';
|
|
5
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBaseAlertComponentProps } from './model';
|
|
3
|
-
export declare const StyledAlert: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
4
|
-
export declare const StyledAlertButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IButtonComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
5
|
-
export declare const StyledAlertTitle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
6
|
-
export declare const StyledAlertDescription: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
7
|
-
export declare const StyledAlertIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
8
|
-
export declare const StyledAlertCloseButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBaseAlertComponentProps } from './model';
|
|
3
|
+
export declare const StyledAlert: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
4
|
+
export declare const StyledAlertButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IButtonComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
5
|
+
export declare const StyledAlertTitle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
6
|
+
export declare const StyledAlertDescription: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
7
|
+
export declare const StyledAlertIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
8
|
+
export declare const StyledAlertCloseButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IAnchorComponentProps } from './model';
|
|
3
|
-
export declare const Anchor: React.FC<IAnchorComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IAnchorComponentProps } from './model';
|
|
3
|
+
export declare const Anchor: React.FC<IAnchorComponentProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAnchorBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IAnchorComponentProps extends IAnchorBoxComponentProps {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
}
|
|
1
|
+
import { IAnchorBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IAnchorComponentProps extends IAnchorBoxComponentProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IAnchorComponentProps } from './model';
|
|
3
|
-
export declare const StyledAnchor: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IAnchorComponentProps, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAnchorComponentProps } from './model';
|
|
3
|
+
export declare const StyledAnchor: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IAnchorComponentProps, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from './model';
|
|
3
|
-
export declare const Box: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from './model';
|
|
3
|
+
export declare const Box: React.FC<IBoxComponentProps>;
|