@moosend/mooskin 1.0.83 → 1.0.85-beta
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/ActionsDropdown/styles.d.ts +3 -3
- package/lib/Box/styles.d.ts +7 -6
- package/lib/Button/model.d.ts +1 -0
- package/lib/Carousel/styles.d.ts +1 -1
- package/lib/Checkbox/Checkbox.d.ts +1 -1
- package/lib/Checkbox/styles.d.ts +1 -1
- package/lib/DatePicker/model.d.ts +10 -3
- package/lib/DateRange/model.d.ts +2 -0
- package/lib/DateRange/styles.d.ts +1 -1
- package/lib/DateTimePicker/model.d.ts +5 -3
- package/lib/Description/styles.d.ts +1 -1
- package/lib/Drawer/styles.d.ts +6 -6
- package/lib/Expandable/styles.d.ts +2 -2
- package/lib/Footer/styles.d.ts +5 -5
- package/lib/Image/styles.d.ts +1 -2
- package/lib/Input/model.d.ts +1 -0
- package/lib/Input/styles.d.ts +3 -3
- package/lib/Label/Label.d.ts +1 -1
- package/lib/Label/styles.d.ts +1 -1
- package/lib/List/styles.d.ts +5 -5
- package/lib/Loader/styles.d.ts +1 -0
- package/lib/Modal/styles.d.ts +7 -7
- package/lib/NumberLabel/model.d.ts +1 -1
- package/lib/Pagination/styles.d.ts +1 -1
- package/lib/Radio/Radio.d.ts +1 -1
- package/lib/Select/styles.d.ts +10 -10
- package/lib/Slider/Slider.d.ts +1 -1
- package/lib/Styled/GlobalStyles.d.ts +1 -2
- package/lib/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/Table/styles.d.ts +5 -5
- package/lib/Tags/styles.d.ts +1 -1
- package/lib/TextArea/styles.d.ts +1 -2
- package/lib/_utils/helper.d.ts +63 -41
- package/lib/components/ActionsDropdown/model.d.ts +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +3 -1
- package/lib/components/Alert/Alert.d.ts +1 -0
- package/lib/components/Alert/styles.d.ts +1 -0
- package/lib/components/Box/model.d.ts +3 -1
- package/lib/components/Box/styles.d.ts +7 -6
- package/lib/components/Button/model.d.ts +1 -0
- package/lib/components/Carousel/styles.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/Checkbox/styles.d.ts +1 -1
- package/lib/components/DatePicker/model.d.ts +10 -3
- package/lib/components/DateRange/model.d.ts +2 -0
- package/lib/components/DateRange/styles.d.ts +1 -1
- package/lib/components/DateTimePicker/model.d.ts +5 -3
- package/lib/components/Description/styles.d.ts +1 -1
- package/lib/components/Drawer/model.d.ts +1 -1
- package/lib/components/Drawer/styles.d.ts +6 -6
- package/lib/components/Expandable/styles.d.ts +2 -2
- package/lib/components/Footer/styles.d.ts +5 -5
- package/lib/components/Image/styles.d.ts +1 -2
- package/lib/components/Input/model.d.ts +3 -0
- package/lib/components/Input/styles.d.ts +3 -2
- package/lib/components/Label/Label.d.ts +1 -1
- package/lib/components/Label/styles.d.ts +1 -1
- package/lib/components/List/styles.d.ts +5 -5
- package/lib/components/Loader/styles.d.ts +1 -0
- package/lib/components/Modal/model.d.ts +1 -1
- package/lib/components/Modal/styles.d.ts +7 -7
- package/lib/components/NumberLabel/model.d.ts +1 -1
- package/lib/components/Pagination/styles.d.ts +1 -1
- package/lib/components/Radio/Radio.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +1 -0
- package/lib/components/Select/model.d.ts +1 -0
- package/lib/components/Select/styles.d.ts +10 -8
- package/lib/components/Slider/Slider.d.ts +1 -1
- package/lib/components/Styled/GlobalStyles.d.ts +1 -2
- package/lib/components/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/components/Styled/model.d.ts +46 -0
- package/lib/components/Table/styles.d.ts +5 -5
- package/lib/components/Tags/styles.d.ts +1 -1
- package/lib/components/TextArea/styles.d.ts +1 -2
- package/lib/components/TextEditor/model.d.ts +1 -0
- package/lib/components/_utils/globals/screens.d.ts +18 -0
- package/lib/components/_utils/helper.d.ts +100 -0
- package/lib/components/index/index.d.ts +3 -2
- package/lib/index/index.d.ts +1 -1
- package/lib/index/index.js +88 -28
- package/lib/index/style.css +1 -1
- package/lib/stories/ActionsDropdown.stories.d.ts +4 -2
- package/lib/stories/Alert.stories.d.ts +4 -1
- package/lib/stories/Anchor.stories.d.ts +3 -1
- package/lib/stories/Box.stories.d.ts +3 -1
- package/lib/stories/Button.stories.d.ts +3 -1
- package/lib/stories/Carousel.stories.d.ts +3 -1
- package/lib/stories/Checkbox.stories.d.ts +3 -1
- package/lib/stories/DatePicker.stories.d.ts +3 -1
- package/lib/stories/DateRange.stories.d.ts +3 -1
- package/lib/stories/DateSelect.stories.d.ts +3 -1
- package/lib/stories/DateTimePicker.stories.d.ts +3 -1
- package/lib/stories/Drawer.stories.d.ts +3 -1
- package/lib/stories/Expandable.stories.d.ts +3 -1
- package/lib/stories/Footer.stories.d.ts +3 -1
- package/lib/stories/Grid.stories.d.ts +3 -1
- package/lib/stories/IconButton.stories.d.ts +3 -1
- package/lib/stories/Input.stories.d.ts +3 -1
- package/lib/stories/Layout.stories.d.ts +3 -1
- package/lib/stories/List.stories.d.ts +3 -1
- package/lib/stories/Loader.stories.d.ts +3 -1
- package/lib/stories/LoadingBar.stories.d.ts +3 -1
- package/lib/stories/Modal.stories.d.ts +3 -1
- package/lib/stories/NumberLabel.stories.d.ts +3 -1
- package/lib/stories/Pagination.stories.d.ts +3 -1
- package/lib/stories/Radio.stories.d.ts +3 -1
- package/lib/stories/Select.stories.d.ts +3 -1
- package/lib/stories/Selector.stories.d.ts +3 -1
- package/lib/stories/Sidemenu.stories.d.ts +3 -1
- package/lib/stories/Skeleton.stories.d.ts +3 -1
- package/lib/stories/Slider.stories.d.ts +3 -1
- package/lib/stories/Stack.stories.d.ts +3 -1
- package/lib/stories/StackedTags.stories.d.ts +3 -1
- package/lib/stories/Steps.stories.d.ts +3 -1
- package/lib/stories/Switch.stories.d.ts +3 -1
- package/lib/stories/Table.stories.d.ts +3 -1
- package/lib/stories/Tabs.stories.d.ts +3 -1
- package/lib/stories/Tags.stories.d.ts +3 -1
- package/lib/stories/TextEditor.stories.d.ts +3 -1
- package/lib/stories/Textarea.stories.d.ts +3 -1
- package/package.json +28 -19
- /package/lib/Label/{model.d.ts → Model.d.ts} +0 -0
- /package/lib/Slider/{Model.d.ts → model.d.ts} +0 -0
|
@@ -1,3 +1,103 @@
|
|
|
1
|
+
import { IStyledTheme } from '../Styled/model';
|
|
1
2
|
export declare const arrayHasDupes: (array: any[]) => boolean;
|
|
2
3
|
export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
|
|
3
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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MooskinContext, MooskinContextProvider, useMooskinContext, withMooskinContext } from '../Styled/MooskinContextProvider';
|
|
2
2
|
export { ActionsDropdown, ActionsDropdownArrow, ActionsDropdownItem } from '../ActionsDropdown/ActionsDropdown';
|
|
3
|
-
export { Alert, AlertCloseButton, AlertDescription, AlertIcon, AlertTitle } from '../Alert/Alert';
|
|
3
|
+
export { Alert, AlertCloseButton, AlertDescription, AlertIcon, AlertTitle, AlertButton } from '../Alert/Alert';
|
|
4
4
|
export { Button, ButtonThree, ButtonTwo, ButtonIcon } from '../Button/Button';
|
|
5
5
|
export { Anchor } from '../Anchor/Anchor';
|
|
6
6
|
export { Skeleton, SkeletonCircle, SkeletonText } from '../Skeleton/Skeleton';
|
|
@@ -52,7 +52,7 @@ export { IDatePickerCommonProps, IDatePickerComponentProps, IDatePickerKeyboardC
|
|
|
52
52
|
export { IDateTimePickerCommonProps, IDateTimePickerComponentProps, IDateTimePickerKeyboardComponentProps, PickerType as DateTimePickerType } from '../DateTimePicker/model';
|
|
53
53
|
export { IDateRangePickerComponentProps, IRangeSelection } from '../DateRange/model';
|
|
54
54
|
export { IDateSelectComponentProps } from '../DateSelect/model';
|
|
55
|
-
export type { ILabelComponentProps } from '../Label/
|
|
55
|
+
export type { ILabelComponentProps } from '../Label/Model';
|
|
56
56
|
export { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from '../Drawer/model';
|
|
57
57
|
export { IExpandableCommonComponentProps, IExpandableComponentProps, IExpandableItemComponentProps } from '../Expandable/model';
|
|
58
58
|
export { IColProps, IGridProps, IRowProps } from '../Grid/model';
|
|
@@ -82,4 +82,5 @@ export { GlobalStyle } from '../Styled/GlobalStyles';
|
|
|
82
82
|
import '../Styled/GlobalStyles.css';
|
|
83
83
|
export { default as IInputCallbackData } from '../_utils';
|
|
84
84
|
export { default as screens } from '../_utils/globals/screens';
|
|
85
|
+
export { Screens } from '../_utils/globals/screens';
|
|
85
86
|
export { default as variables } from '../_utils/globals/variables';
|
package/lib/index/index.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export { IDatePickerCommonProps, IDatePickerComponentProps, IDatePickerKeyboardC
|
|
|
52
52
|
export { IDateTimePickerCommonProps, IDateTimePickerComponentProps, IDateTimePickerKeyboardComponentProps, PickerType as DateTimePickerType } from '../DateTimePicker/model';
|
|
53
53
|
export { IDateRangePickerComponentProps, IRangeSelection } from '../DateRange/model';
|
|
54
54
|
export { IDateSelectComponentProps } from '../DateSelect/model';
|
|
55
|
-
export type { ILabelComponentProps } from '../Label/
|
|
55
|
+
export type { ILabelComponentProps } from '../Label/Model';
|
|
56
56
|
export { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from '../Drawer/model';
|
|
57
57
|
export { IExpandableCommonComponentProps, IExpandableComponentProps, IExpandableItemComponentProps } from '../Expandable/model';
|
|
58
58
|
export { IColProps, IGridProps, IRowProps } from '../Grid/model';
|