@moosend/mooskin 1.0.10 → 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 +20 -55
- 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,143 @@
|
|
|
1
|
+
export interface IThemeFontColors {
|
|
2
|
+
primary1: string;
|
|
3
|
+
primary2: string;
|
|
4
|
+
primary3: string;
|
|
5
|
+
primary4: string;
|
|
6
|
+
primary5: string;
|
|
7
|
+
secondary1: string;
|
|
8
|
+
secondary2: string;
|
|
9
|
+
secondary3: string;
|
|
10
|
+
secondary4: string;
|
|
11
|
+
secondary5: string;
|
|
12
|
+
secondary6: string;
|
|
13
|
+
white: string;
|
|
14
|
+
altWhite: string;
|
|
15
|
+
background: string;
|
|
16
|
+
blue400: string;
|
|
17
|
+
teal400: string;
|
|
18
|
+
pink400: string;
|
|
19
|
+
orange400: string;
|
|
20
|
+
red400: string;
|
|
21
|
+
red600: string;
|
|
22
|
+
green600: string;
|
|
23
|
+
purple400: string;
|
|
24
|
+
grayAlpha: string;
|
|
25
|
+
grayAlpha100: string;
|
|
26
|
+
grayAlpha400: string;
|
|
27
|
+
gray100: string;
|
|
28
|
+
gray1: string;
|
|
29
|
+
gray2: string;
|
|
30
|
+
medgray1: string;
|
|
31
|
+
medgray2: string;
|
|
32
|
+
darkgray1: string;
|
|
33
|
+
darkgray2: string;
|
|
34
|
+
darkgray3: string;
|
|
35
|
+
text: string;
|
|
36
|
+
inverseText: string;
|
|
37
|
+
black: string;
|
|
38
|
+
checkboxUnselected: string;
|
|
39
|
+
dropdown: string;
|
|
40
|
+
accountNavigation: string;
|
|
41
|
+
submenu: string;
|
|
42
|
+
autosExpression: string;
|
|
43
|
+
client: string;
|
|
44
|
+
createNew: string;
|
|
45
|
+
}
|
|
46
|
+
export interface IThemeBackgroundColors {
|
|
47
|
+
primary1: string;
|
|
48
|
+
primary2: string;
|
|
49
|
+
primary3: string;
|
|
50
|
+
primary4: string;
|
|
51
|
+
primary5: string;
|
|
52
|
+
secondary1: string;
|
|
53
|
+
secondary2: string;
|
|
54
|
+
secondary3: string;
|
|
55
|
+
secondary4: string;
|
|
56
|
+
secondary5: string;
|
|
57
|
+
secondary6: string;
|
|
58
|
+
white: string;
|
|
59
|
+
altWhite: string;
|
|
60
|
+
background: string;
|
|
61
|
+
blue400: string;
|
|
62
|
+
teal400: string;
|
|
63
|
+
pink400: string;
|
|
64
|
+
red400: string;
|
|
65
|
+
red600: string;
|
|
66
|
+
green600: string;
|
|
67
|
+
purple400: string;
|
|
68
|
+
orange400: string;
|
|
69
|
+
grayAlpha: string;
|
|
70
|
+
grayAlpha100: string;
|
|
71
|
+
grayAlpha400: string;
|
|
72
|
+
gray100: string;
|
|
73
|
+
gray1: string;
|
|
74
|
+
gray2: string;
|
|
75
|
+
medgray1: string;
|
|
76
|
+
medgray2: string;
|
|
77
|
+
darkgray1: string;
|
|
78
|
+
darkgray2: string;
|
|
79
|
+
darkgray3: string;
|
|
80
|
+
text: string;
|
|
81
|
+
inverseText: string;
|
|
82
|
+
black: string;
|
|
83
|
+
checkboxUnselected: string;
|
|
84
|
+
dropdown: string;
|
|
85
|
+
accountNavigation: string;
|
|
86
|
+
submenu: string;
|
|
87
|
+
autosExpression: string;
|
|
88
|
+
client: string;
|
|
89
|
+
createNew: string;
|
|
90
|
+
}
|
|
91
|
+
export interface IThemeBorderColors {
|
|
92
|
+
primary1: string;
|
|
93
|
+
primary2: string;
|
|
94
|
+
primary3: string;
|
|
95
|
+
primary4: string;
|
|
96
|
+
primary5: string;
|
|
97
|
+
secondary1: string;
|
|
98
|
+
secondary2: string;
|
|
99
|
+
secondary3: string;
|
|
100
|
+
secondary4: string;
|
|
101
|
+
secondary5: string;
|
|
102
|
+
secondary6: string;
|
|
103
|
+
white: string;
|
|
104
|
+
altWhite: string;
|
|
105
|
+
background: string;
|
|
106
|
+
blue400: string;
|
|
107
|
+
teal400: string;
|
|
108
|
+
pink400: string;
|
|
109
|
+
red400: string;
|
|
110
|
+
red600: string;
|
|
111
|
+
green600: string;
|
|
112
|
+
purple400: string;
|
|
113
|
+
orange400: string;
|
|
114
|
+
grayAlpha: string;
|
|
115
|
+
grayAlpha100: string;
|
|
116
|
+
grayAlpha400: string;
|
|
117
|
+
gray100: string;
|
|
118
|
+
gray1: string;
|
|
119
|
+
gray2: string;
|
|
120
|
+
medgray1: string;
|
|
121
|
+
medgray2: string;
|
|
122
|
+
darkgray1: string;
|
|
123
|
+
darkgray2: string;
|
|
124
|
+
darkgray3: string;
|
|
125
|
+
text: string;
|
|
126
|
+
inverseText: string;
|
|
127
|
+
black: string;
|
|
128
|
+
checkboxUnselected: string;
|
|
129
|
+
dropdown: string;
|
|
130
|
+
accountNavigation: string;
|
|
131
|
+
submenu: string;
|
|
132
|
+
autosExpression: string;
|
|
133
|
+
client: string;
|
|
134
|
+
createNew: string;
|
|
135
|
+
}
|
|
136
|
+
export interface IStyledTheme {
|
|
137
|
+
fontColors: IThemeFontColors;
|
|
138
|
+
backgroundColors: IThemeBackgroundColors;
|
|
139
|
+
borderColors: IThemeBorderColors;
|
|
140
|
+
}
|
|
141
|
+
export interface IMooskinContext {
|
|
142
|
+
palette?: IStyledTheme;
|
|
143
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface ISwitchComponentProps extends IBoxComponentProps {
|
|
5
|
+
text: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
dataLabel?: string;
|
|
9
|
+
onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
10
|
+
}
|
|
11
|
+
export interface ISwitchHandleComponentProps extends IBoxComponentProps {
|
|
12
|
+
switchWidth?: any;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
dataLabel?: string;
|
|
15
|
+
onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
|
|
3
|
+
export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchComponentProps, never>;
|
|
4
|
+
export declare const StyledSwitchHandle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchHandleComponentProps, never>;
|
|
5
|
+
export declare const StyledSwitchLabel: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
|
|
6
|
+
export declare const StyledSwitchLabelNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
|
|
7
|
+
export declare const StyledSwitchLabelDisabled: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export declare const Table: React.FC<IBoxComponentProps>;
|
|
4
|
+
export declare const TableHeader: React.FC<IBoxComponentProps>;
|
|
5
|
+
export declare const TableHeaderItem: React.FC<IBoxComponentProps>;
|
|
6
|
+
export declare const TableRow: React.FC<IBoxComponentProps>;
|
|
7
|
+
export declare const TableRowItem: React.FC<IBoxComponentProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
4
|
+
export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
5
|
+
export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
6
|
+
export declare const StyledTableRow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
7
|
+
export declare const StyledTableRowItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
3
|
+
export declare const Tabs: React.FC<ITabsComponentProps>;
|
|
4
|
+
export declare const Tab: React.FC<ITabComponentProps>;
|
|
5
|
+
export declare const TabHeader: React.FC<ITabCommonComponentProps>;
|
|
6
|
+
export declare const TabContent: React.FC<ITabCommonComponentProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
export interface ITabsComponentProps extends IBoxComponentProps {
|
|
4
|
+
activeItem?: number | string;
|
|
5
|
+
onClickTab?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
|
|
6
|
+
children?: React.ReactElement<ITabCommonComponentProps> | Array<React.ReactElement<ITabCommonComponentProps>>;
|
|
7
|
+
}
|
|
8
|
+
export interface ITabCommonComponentProps extends IBoxComponentProps {
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface ITabComponentProps extends ITabCommonComponentProps {
|
|
12
|
+
activeId?: string | number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
3
|
+
export declare const StyledTabs: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabsComponentProps, never>;
|
|
4
|
+
export declare const StyledTab: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabComponentProps, never>;
|
|
5
|
+
export declare const StyledTabHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
|
|
6
|
+
export declare const StyledTabContent: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
4
|
+
export declare const Tags: React.FC<ITagsComponentProps>;
|
|
5
|
+
export declare const Tag: React.FC<ITagComponentProps>;
|
|
6
|
+
export declare const TagInput: React.FC<ITagsInputComponentProps>;
|
|
7
|
+
export declare const TagClose: React.FC<IBoxComponentProps>;
|
|
8
|
+
export declare const TagText: React.FC<IBoxComponentProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface ITagsComponentProps extends IBoxComponentProps {
|
|
5
|
+
dataLabel?: string;
|
|
6
|
+
limit?: number;
|
|
7
|
+
onAddTag?: (data: IInputCallbackData) => void;
|
|
8
|
+
onRemoveTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
9
|
+
onClickTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
10
|
+
validateTag?: (tag: string) => boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface ITagComponentProps extends IInputBoxComponentProps {
|
|
13
|
+
removeIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ITagsInputComponentProps extends IInputBoxComponentProps {
|
|
16
|
+
delimiters?: Array<string | number>;
|
|
17
|
+
onAddTag?: (value: string | string[]) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
4
|
+
export declare const StyledTags: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsComponentProps, never>;
|
|
5
|
+
export declare const StyledTag: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
|
6
|
+
export declare const StyledTagText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
|
7
|
+
export declare const StyledTagClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
8
|
+
export declare const StyledTagInput: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsInputComponentProps, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ITextAreaBoxComponentProps } from '../Box/model';
|
|
3
|
+
export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, ITextAreaBoxComponentProps, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAllProps } from '@tinymce/tinymce-react';
|
|
2
|
+
export interface ITextEditorComponentProps extends Partial<IAllProps> {
|
|
3
|
+
selector?: any;
|
|
4
|
+
menubar?: boolean;
|
|
5
|
+
personalizationTags?: {
|
|
6
|
+
buttonLabel: string;
|
|
7
|
+
id: string;
|
|
8
|
+
tags: IPersonalizationTag[];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface IPersonalizationTag {
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export { MooskinContext, MooskinContextProvider, useMooskinContext, withMooskinContext } from '../Styled/MooskinContextProvider';
|
|
2
|
+
export { ActionsDropdown, ActionsDropdownArrow, ActionsDropdownItem } from '../ActionsDropdown/ActionsDropdown';
|
|
3
|
+
export { Alert, AlertCloseButton, AlertDescription, AlertIcon, AlertTitle } from '../Alert/Alert';
|
|
4
|
+
export { Button, ButtonThree, ButtonTwo, ButtonIcon } from '../Button/Button';
|
|
5
|
+
export { Anchor } from '../Anchor/Anchor';
|
|
6
|
+
export { Skeleton, SkeletonCircle, SkeletonText } from '../Skeleton/Skeleton';
|
|
7
|
+
export { Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay } from '../Drawer/Drawer';
|
|
8
|
+
export { Stack, HStack, VStack } from '../Stack/Stack';
|
|
9
|
+
export { Box } from '../Box/Box';
|
|
10
|
+
export { Carousel, CustomDot } from '../Carousel/Carousel';
|
|
11
|
+
export { Checkbox, CheckboxDescription, CheckboxIcon, CheckboxLabel } from '../Checkbox/Checkbox';
|
|
12
|
+
export { DateTimePicker } from '../DateTimePicker/DateTimePicker';
|
|
13
|
+
export { DatePicker } from '../DatePicker/DatePicker';
|
|
14
|
+
export { DateRange } from '../DateRange/DateRange';
|
|
15
|
+
export { DateSelect } from '../DateSelect/DateSelect';
|
|
16
|
+
export { Description } from '../Description/Description';
|
|
17
|
+
export { Layout } from '../Layout/Layout';
|
|
18
|
+
export { Selector, SelectorItem } from '../Selector/Selector';
|
|
19
|
+
export { Label } from '../Label/Label';
|
|
20
|
+
export { Expandable, ExpandableItem, ExpandableItemButton, ExpandableItemContainer, ExpandableItemContent, ExpandableItemText } from '../Expandable/Expandable';
|
|
21
|
+
export { Grid, Row, Col } from '../Grid/Grid';
|
|
22
|
+
export { Input, InputContainer, InputEmoji, InputIcon, InputOption, InputOptionList, InputOptionListTitle, InputOverlay } from '../Input/Input';
|
|
23
|
+
export { List, ListItem, ListItemBody, ListItemEnd, ListItemHead } from '../List/List';
|
|
24
|
+
export { Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay } from '../Modal/Modal';
|
|
25
|
+
export { Pagination, PaginationButton } from '../Pagination/Pagination';
|
|
26
|
+
export { Radio, RadioDescription, RadioIcon, RadioLabel } from '../Radio/Radio';
|
|
27
|
+
export { Sidemenu, SidemenuItem } from '../Sidemenu/Sidemenu';
|
|
28
|
+
export { IconButton } from '../IconButton/IconButton';
|
|
29
|
+
export { Steps, StepContent, StepHeader, Step } from '../Steps/Steps';
|
|
30
|
+
export { Select, SelectContainer, SelectFilter, SelectIcon, SelectLoader, SelectOption, SelectOptionList, SelectOverlay, SelectPagination, SelectPlaceholder } from '../Select/Select';
|
|
31
|
+
export { Switch, SwitchHandle } from '../Switch/Switch';
|
|
32
|
+
export { Loader } from '../Loader/Loader';
|
|
33
|
+
export { Text } from '../Text/Text';
|
|
34
|
+
export { Image } from '../Image/Image';
|
|
35
|
+
export { NumberLabel } from '../NumberLabel/NumberLabel';
|
|
36
|
+
export { LoadingBar } from '../LoadingBar/LoadingBar';
|
|
37
|
+
export { TextArea } from '../TextArea/TextArea';
|
|
38
|
+
export { TextEditor } from '../TextEditor/TextEditor';
|
|
39
|
+
export { Tabs, TabContent, TabHeader, Tab } from '../Tabs/Tabs';
|
|
40
|
+
export { Tags, TagClose, TagInput, Tag, TagText } from '../Tags/Tags';
|
|
41
|
+
export { Table, TableHeader, TableHeaderItem, TableRow, TableRowItem } from '../Table/Table';
|
|
42
|
+
export { Footer, FooterBody, FooterEnd, FooterHead } from '../Footer/Footer';
|
|
43
|
+
export { Slider } from '../Slider/Slider';
|
|
44
|
+
export { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from '../ActionsDropdown/model';
|
|
45
|
+
export { IButtonComponentProps } from '../Button/model';
|
|
46
|
+
export { IBaseAlertComponentProps } from '../Alert/model';
|
|
47
|
+
export { IAnchorComponentProps } from '../Anchor/model';
|
|
48
|
+
export { IBaseBoxComponentProps, IBoxComponentProps, IAnchorBoxComponentProps, IBoxLabelComponentProps, IButtonBoxComponentProps, IInputBoxComponentProps, IBoxImageComponentProps, ITextAreaBoxComponentProps } from '../Box/model';
|
|
49
|
+
export { ICarouselComponentProps } from '../Carousel/model';
|
|
50
|
+
export { ICheckboxComponentProps, ICheckboxIconComponentProps } from '../Checkbox/model';
|
|
51
|
+
export { IDatePickerCommonProps, IDatePickerComponentProps, IDatePickerKeyboardComponentProps, PickerType as DatePickerType } from '../DatePicker/model';
|
|
52
|
+
export { IDateTimePickerCommonProps, IDateTimePickerComponentProps, IDateTimePickerKeyboardComponentProps, PickerType as DateTimePickerType } from '../DateTimePicker/model';
|
|
53
|
+
export { IDateRangePickerComponentProps, IRangeSelection } from '../DateRange/model';
|
|
54
|
+
export { IDateSelectComponentProps } from '../DateSelect/model';
|
|
55
|
+
export type { ILabelComponentProps } from '../Label/model';
|
|
56
|
+
export { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from '../Drawer/model';
|
|
57
|
+
export { IExpandableCommonComponentProps, IExpandableComponentProps, IExpandableItemComponentProps } from '../Expandable/model';
|
|
58
|
+
export { IColProps, IGridProps, IRowProps } from '../Grid/model';
|
|
59
|
+
export { IIconButtonComponentProps } from '../IconButton/model';
|
|
60
|
+
export { IInputComponentProps, IInputContainerComponentProps, IInputEmojiComponentProps, IInputListComponentProps, IInputOptionComponentProps } from '../Input/model';
|
|
61
|
+
export { ILayoutComponentProps } from '../Layout/model';
|
|
62
|
+
export { ILoaderComponentProps } from '../Loader/model';
|
|
63
|
+
export { ILoadingBarComponentProps } from '../LoadingBar/model';
|
|
64
|
+
export { IModalComponentProps, IModalContentComponentProps, IModalOverlayComponentProps } from '../Modal/model';
|
|
65
|
+
export { INumberLabelComponentProps } from '../NumberLabel/model';
|
|
66
|
+
export { IPaginationButtonComponentProps, IPaginationComponentProps } from '../Pagination/model';
|
|
67
|
+
export { IRadioComponentProps, IRadioIconComponentProps } from '../Radio/model';
|
|
68
|
+
export { ISelectComponentProps, ISelectFilterComponentProps, ISelectOptionComponentProps, ISelectPaginationComponentProps } from '../Select/model';
|
|
69
|
+
export { ISelectorComponentProps, ISelectorItemComponentProps } from '../Selector/model';
|
|
70
|
+
export { ISidemenuComponentProps, ISidemenuItemComponentProps } from '../Sidemenu/model';
|
|
71
|
+
export { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from '../Skeleton/model';
|
|
72
|
+
export { IStackComponentProps } from '../Stack/model';
|
|
73
|
+
export { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from '../Steps/model';
|
|
74
|
+
export { ISwitchComponentProps, ISwitchHandleComponentProps } from '../Switch/model';
|
|
75
|
+
export { ITabCommonComponentProps, ITabComponentProps } from '../Tabs/model';
|
|
76
|
+
export { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from '../Tags/model';
|
|
77
|
+
export { ITextAreaComponentProps } from '../TextArea/model';
|
|
78
|
+
export { IPersonalizationTag, ITextEditorComponentProps } from '../TextEditor/model';
|
|
79
|
+
export { IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors, IMooskinContext, IStyledTheme } from '../Styled/model';
|
|
80
|
+
export { ISliderComponentProps } from '../Slider/model';
|
|
81
|
+
export { GlobalStyle } from '../Styled/GlobalStyles';
|
|
82
|
+
import '../Styled/GlobalStyles.css';
|
|
83
|
+
export { default as IInputCallbackData } from '../_utils';
|
|
84
|
+
export { default as screens } from '../_utils/globals/screens';
|
|
85
|
+
export { default as variables } from '../_utils/globals/variables';
|