@moosend/mooskin 1.0.84 → 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/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/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Moosend
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Moosend
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
WIP
|
|
1
|
+
WIP
|
|
@@ -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>;
|
package/lib/Alert/Alert.d.ts
CHANGED
|
@@ -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>;
|
package/lib/Alert/model.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/lib/Alert/styles.d.ts
CHANGED
|
@@ -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>;
|
package/lib/Anchor/Anchor.d.ts
CHANGED
|
@@ -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>;
|
package/lib/Anchor/model.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/lib/Anchor/styles.d.ts
CHANGED
|
@@ -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>;
|
package/lib/Box/Box.d.ts
CHANGED
|
@@ -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>;
|
package/lib/Box/model.d.ts
CHANGED
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors } from '../Styled/model';
|
|
3
|
-
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
-
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
|
-
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
6
|
-
export declare type ScreenType = 'lg' | 'md' | 'sm' | 'xs';
|
|
7
|
-
export declare const boxComponentProps: string[];
|
|
8
|
-
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
-
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
10
|
-
export declare type IBoxLabelComponentProps = IBaseBoxComponentProps & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
11
|
-
export declare type IButtonBoxComponentProps = IBoxComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12
|
-
export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
-
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
14
|
-
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
15
|
-
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
16
|
-
noRender?: Array<ScreenType>;
|
|
17
|
-
setRef?: (ref: HTMLElement) => void;
|
|
18
|
-
boxAs?: any;
|
|
19
|
-
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
20
|
-
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
21
|
-
mr?: React.CSSProperties['marginRight'] | Array<React.CSSProperties['marginRight']>;
|
|
22
|
-
mb?: React.CSSProperties['marginBottom'] | Array<React.CSSProperties['marginBottom']>;
|
|
23
|
-
ml?: React.CSSProperties['marginLeft'] | Array<React.CSSProperties['marginLeft']>;
|
|
24
|
-
mx?: number | string | Array<number | string>;
|
|
25
|
-
my?: number | string | Array<number | string>;
|
|
26
|
-
p?: React.CSSProperties['padding'] | Array<React.CSSProperties['padding']>;
|
|
27
|
-
pt?: React.CSSProperties['paddingTop'] | Array<React.CSSProperties['paddingTop']>;
|
|
28
|
-
pr?: React.CSSProperties['paddingRight'] | Array<React.CSSProperties['paddingRight']>;
|
|
29
|
-
pb?: React.CSSProperties['paddingBottom'] | Array<React.CSSProperties['paddingBottom']>;
|
|
30
|
-
pl?: React.CSSProperties['paddingLeft'] | Array<React.CSSProperties['paddingLeft']>;
|
|
31
|
-
px?: number | string | Array<number | string>;
|
|
32
|
-
py?: number | string | Array<number | string>;
|
|
33
|
-
fontColor?: React.CSSProperties['color'] | NestedThemeType | Array<React.CSSProperties['color']>;
|
|
34
|
-
opacity?: React.CSSProperties['opacity'] | Array<React.CSSProperties['opacity']>;
|
|
35
|
-
fontFamily?: React.CSSProperties['fontFamily'] | Array<React.CSSProperties['fontFamily']>;
|
|
36
|
-
fontSize?: React.CSSProperties['fontSize'] | Array<React.CSSProperties['fontSize']>;
|
|
37
|
-
fontWeight?: React.CSSProperties['fontWeight'] | Array<React.CSSProperties['fontWeight']>;
|
|
38
|
-
lineHeight?: React.CSSProperties['lineHeight'] | Array<React.CSSProperties['lineHeight']>;
|
|
39
|
-
textAlign?: React.CSSProperties['textAlign'] | Array<React.CSSProperties['textAlign']>;
|
|
40
|
-
fontStyle?: React.CSSProperties['fontStyle'] | Array<React.CSSProperties['fontStyle']>;
|
|
41
|
-
textTransform?: React.CSSProperties['textTransform'] | Array<React.CSSProperties['textTransform']>;
|
|
42
|
-
textDecoration?: React.CSSProperties['textDecoration'] | Array<React.CSSProperties['textDecoration']>;
|
|
43
|
-
w?: React.CSSProperties['width'] | Array<React.CSSProperties['width']>;
|
|
44
|
-
h?: React.CSSProperties['height'] | Array<React.CSSProperties['height']>;
|
|
45
|
-
maxW?: React.CSSProperties['maxWidth'] | Array<React.CSSProperties['maxWidth']>;
|
|
46
|
-
minW?: React.CSSProperties['minWidth'] | Array<React.CSSProperties['minWidth']>;
|
|
47
|
-
maxH?: React.CSSProperties['maxHeight'] | Array<React.CSSProperties['maxHeight']>;
|
|
48
|
-
minH?: React.CSSProperties['minHeight'] | Array<React.CSSProperties['minHeight']>;
|
|
49
|
-
d?: React.CSSProperties['display'] | Array<React.CSSProperties['display']>;
|
|
50
|
-
overflow?: React.CSSProperties['overflow'] | Array<React.CSSProperties['overflow']>;
|
|
51
|
-
overflowX?: React.CSSProperties['overflowX'] | Array<React.CSSProperties['overflowX']>;
|
|
52
|
-
overflowY?: React.CSSProperties['overflowY'] | Array<React.CSSProperties['overflowY']>;
|
|
53
|
-
align?: React.CSSProperties['alignItems'] | Array<React.CSSProperties['alignItems']>;
|
|
54
|
-
alignContent?: React.CSSProperties['alignContent'] | Array<React.CSSProperties['alignContent']>;
|
|
55
|
-
alignSelf?: React.CSSProperties['alignSelf'] | Array<React.CSSProperties['alignSelf']>;
|
|
56
|
-
justifyItems?: React.CSSProperties['justifyItems'] | Array<React.CSSProperties['justifyItems']>;
|
|
57
|
-
justify?: React.CSSProperties['justifyContent'] | Array<React.CSSProperties['justifyContent']>;
|
|
58
|
-
justifySelf?: React.CSSProperties['justifySelf'] | Array<React.CSSProperties['justifySelf']>;
|
|
59
|
-
flexWrap?: React.CSSProperties['flexWrap'] | Array<React.CSSProperties['flexWrap']>;
|
|
60
|
-
direction?: React.CSSProperties['flexDirection'] | Array<React.CSSProperties['flexDirection']>;
|
|
61
|
-
flex?: React.CSSProperties['flex'] | Array<React.CSSProperties['flex']>;
|
|
62
|
-
flexGrow?: React.CSSProperties['flexGrow'] | Array<React.CSSProperties['flexGrow']>;
|
|
63
|
-
flexShrink?: React.CSSProperties['flexShrink'] | Array<React.CSSProperties['flexShrink']>;
|
|
64
|
-
flexBasis?: React.CSSProperties['flexBasis'] | Array<React.CSSProperties['flexBasis']>;
|
|
65
|
-
order?: React.CSSProperties['order'] | Array<React.CSSProperties['order']>;
|
|
66
|
-
bg?: React.CSSProperties['background'] | Array<React.CSSProperties['background']>;
|
|
67
|
-
bgImage?: React.CSSProperties['backgroundImage'] | Array<React.CSSProperties['backgroundImage']>;
|
|
68
|
-
bgColor?: React.CSSProperties['backgroundColor'] | NestedThemeType | Array<React.CSSProperties['backgroundColor']>;
|
|
69
|
-
bgSize?: React.CSSProperties['backgroundSize'] | Array<React.CSSProperties['backgroundSize']>;
|
|
70
|
-
bgPosition?: React.CSSProperties['backgroundPosition'] | Array<React.CSSProperties['backgroundPosition']>;
|
|
71
|
-
bgRepeat?: React.CSSProperties['backgroundRepeat'] | Array<React.CSSProperties['backgroundRepeat']>;
|
|
72
|
-
border?: React.CSSProperties['border'] | Array<React.CSSProperties['border']>;
|
|
73
|
-
borderWidth?: React.CSSProperties['borderWidth'] | Array<React.CSSProperties['borderWidth']>;
|
|
74
|
-
borderStyle?: React.CSSProperties['borderStyle'] | Array<React.CSSProperties['borderStyle']>;
|
|
75
|
-
borderColor?: React.CSSProperties['borderColor'] | NestedThemeType | Array<React.CSSProperties['borderColor']>;
|
|
76
|
-
borderTop?: React.CSSProperties['borderTop'] | Array<React.CSSProperties['borderTop']>;
|
|
77
|
-
borderTopWidth?: React.CSSProperties['borderTopWidth'] | Array<React.CSSProperties['borderTopWidth']>;
|
|
78
|
-
borderTopStyle?: React.CSSProperties['borderTopStyle'] | Array<React.CSSProperties['borderTopStyle']>;
|
|
79
|
-
borderTopColor?: React.CSSProperties['borderTopColor'] | Array<React.CSSProperties['borderTopColor']>;
|
|
80
|
-
borderRight?: React.CSSProperties['borderRight'] | Array<React.CSSProperties['borderRight']>;
|
|
81
|
-
borderRightWidth?: React.CSSProperties['borderRightWidth'] | Array<React.CSSProperties['borderRightWidth']>;
|
|
82
|
-
borderRightStyle?: React.CSSProperties['borderRightStyle'] | Array<React.CSSProperties['borderRightStyle']>;
|
|
83
|
-
borderRightColor?: React.CSSProperties['borderRightColor'] | Array<React.CSSProperties['borderRightColor']>;
|
|
84
|
-
borderBottom?: React.CSSProperties['borderBottom'] | Array<React.CSSProperties['borderBottom']>;
|
|
85
|
-
borderBottomWidth?: React.CSSProperties['borderBottomWidth'] | Array<React.CSSProperties['borderBottomWidth']>;
|
|
86
|
-
borderBottomStyle?: React.CSSProperties['borderBottomStyle'] | Array<React.CSSProperties['borderBottomStyle']>;
|
|
87
|
-
borderBottomColor?: React.CSSProperties['borderBottomColor'] | Array<React.CSSProperties['borderBottomColor']>;
|
|
88
|
-
borderLeft?: React.CSSProperties['borderLeft'] | Array<React.CSSProperties['borderLeft']>;
|
|
89
|
-
borderLeftWidth?: React.CSSProperties['borderLeftWidth'] | Array<React.CSSProperties['borderLeftWidth']>;
|
|
90
|
-
borderLeftStyle?: React.CSSProperties['borderLeftStyle'] | Array<React.CSSProperties['borderLeftStyle']>;
|
|
91
|
-
borderLeftColor?: React.CSSProperties['borderLeftColor'] | Array<React.CSSProperties['borderLeftColor']>;
|
|
92
|
-
borderRadius?: React.CSSProperties['borderRadius'] | Array<React.CSSProperties['borderRadius']>;
|
|
93
|
-
borderTopLeftRadius?: React.CSSProperties['borderTopLeftRadius'] | Array<React.CSSProperties['borderTopLeftRadius']>;
|
|
94
|
-
borderTopRightRadius?: React.CSSProperties['borderTopRightRadius'] | Array<React.CSSProperties['borderTopRightRadius']>;
|
|
95
|
-
borderBottomRightRadius?: React.CSSProperties['borderBottomRightRadius'] | Array<React.CSSProperties['borderBottomRightRadius']>;
|
|
96
|
-
borderBottomLeftRadius?: React.CSSProperties['borderBottomLeftRadius'] | Array<React.CSSProperties['borderBottomLeftRadius']>;
|
|
97
|
-
position?: React.CSSProperties['position'] | Array<React.CSSProperties['position']>;
|
|
98
|
-
zIndex?: React.CSSProperties['zIndex'] | Array<React.CSSProperties['zIndex']>;
|
|
99
|
-
top?: React.CSSProperties['top'] | Array<React.CSSProperties['top']>;
|
|
100
|
-
right?: React.CSSProperties['right'] | Array<React.CSSProperties['right']>;
|
|
101
|
-
bottom?: React.CSSProperties['bottom'] | Array<React.CSSProperties['bottom']>;
|
|
102
|
-
left?: React.CSSProperties['left'] | Array<React.CSSProperties['left']>;
|
|
103
|
-
boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType;
|
|
104
|
-
animation?: React.CSSProperties['animation'] | Array<React.CSSProperties['animation']>;
|
|
105
|
-
visibility?: React.CSSProperties['visibility'] | Array<React.CSSProperties['visibility']>;
|
|
106
|
-
cursor?: React.CSSProperties['cursor'] | Array<React.CSSProperties['cursor']>;
|
|
107
|
-
round?: IntensityType;
|
|
108
|
-
whiteSpace?: React.CSSProperties['whiteSpace'] | Array<React.CSSProperties['whiteSpace']>;
|
|
109
|
-
wordBreak?: React.CSSProperties['wordBreak'] | Array<React.CSSProperties['wordBreak']>;
|
|
110
|
-
gridTemplateColumns?: React.CSSProperties['gridTemplateColumns'] | Array<React.CSSProperties['gridTemplateColumns']>;
|
|
111
|
-
_hover?: string;
|
|
112
|
-
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
113
|
-
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
114
|
-
transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
|
|
115
|
-
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
116
|
-
outline?: React.CSSProperties['outline'] | Array<React.CSSProperties['outline']>;
|
|
117
|
-
outlineWidth?: React.CSSProperties['outlineWidth'] | Array<React.CSSProperties['outlineWidth']>;
|
|
118
|
-
outlineStyle?: React.CSSProperties['outlineStyle'] | Array<React.CSSProperties['outlineStyle']>;
|
|
119
|
-
outlineColor?: React.CSSProperties['outlineColor'] | NestedThemeType | Array<React.CSSProperties['outlineColor']>;
|
|
120
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors } from '../Styled/model';
|
|
3
|
+
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
+
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
|
+
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
6
|
+
export declare type ScreenType = 'lg' | 'md' | 'sm' | 'xs';
|
|
7
|
+
export declare const boxComponentProps: string[];
|
|
8
|
+
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
+
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
10
|
+
export declare type IBoxLabelComponentProps = IBaseBoxComponentProps & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
11
|
+
export declare type IButtonBoxComponentProps = IBoxComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12
|
+
export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
+
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
14
|
+
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
15
|
+
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
16
|
+
noRender?: Array<ScreenType>;
|
|
17
|
+
setRef?: (ref: HTMLElement) => void;
|
|
18
|
+
boxAs?: any;
|
|
19
|
+
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
20
|
+
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
21
|
+
mr?: React.CSSProperties['marginRight'] | Array<React.CSSProperties['marginRight']>;
|
|
22
|
+
mb?: React.CSSProperties['marginBottom'] | Array<React.CSSProperties['marginBottom']>;
|
|
23
|
+
ml?: React.CSSProperties['marginLeft'] | Array<React.CSSProperties['marginLeft']>;
|
|
24
|
+
mx?: number | string | Array<number | string>;
|
|
25
|
+
my?: number | string | Array<number | string>;
|
|
26
|
+
p?: React.CSSProperties['padding'] | Array<React.CSSProperties['padding']>;
|
|
27
|
+
pt?: React.CSSProperties['paddingTop'] | Array<React.CSSProperties['paddingTop']>;
|
|
28
|
+
pr?: React.CSSProperties['paddingRight'] | Array<React.CSSProperties['paddingRight']>;
|
|
29
|
+
pb?: React.CSSProperties['paddingBottom'] | Array<React.CSSProperties['paddingBottom']>;
|
|
30
|
+
pl?: React.CSSProperties['paddingLeft'] | Array<React.CSSProperties['paddingLeft']>;
|
|
31
|
+
px?: number | string | Array<number | string>;
|
|
32
|
+
py?: number | string | Array<number | string>;
|
|
33
|
+
fontColor?: React.CSSProperties['color'] | NestedThemeType | Array<React.CSSProperties['color']>;
|
|
34
|
+
opacity?: React.CSSProperties['opacity'] | Array<React.CSSProperties['opacity']>;
|
|
35
|
+
fontFamily?: React.CSSProperties['fontFamily'] | Array<React.CSSProperties['fontFamily']>;
|
|
36
|
+
fontSize?: React.CSSProperties['fontSize'] | Array<React.CSSProperties['fontSize']>;
|
|
37
|
+
fontWeight?: React.CSSProperties['fontWeight'] | Array<React.CSSProperties['fontWeight']>;
|
|
38
|
+
lineHeight?: React.CSSProperties['lineHeight'] | Array<React.CSSProperties['lineHeight']>;
|
|
39
|
+
textAlign?: React.CSSProperties['textAlign'] | Array<React.CSSProperties['textAlign']>;
|
|
40
|
+
fontStyle?: React.CSSProperties['fontStyle'] | Array<React.CSSProperties['fontStyle']>;
|
|
41
|
+
textTransform?: React.CSSProperties['textTransform'] | Array<React.CSSProperties['textTransform']>;
|
|
42
|
+
textDecoration?: React.CSSProperties['textDecoration'] | Array<React.CSSProperties['textDecoration']>;
|
|
43
|
+
w?: React.CSSProperties['width'] | Array<React.CSSProperties['width']>;
|
|
44
|
+
h?: React.CSSProperties['height'] | Array<React.CSSProperties['height']>;
|
|
45
|
+
maxW?: React.CSSProperties['maxWidth'] | Array<React.CSSProperties['maxWidth']>;
|
|
46
|
+
minW?: React.CSSProperties['minWidth'] | Array<React.CSSProperties['minWidth']>;
|
|
47
|
+
maxH?: React.CSSProperties['maxHeight'] | Array<React.CSSProperties['maxHeight']>;
|
|
48
|
+
minH?: React.CSSProperties['minHeight'] | Array<React.CSSProperties['minHeight']>;
|
|
49
|
+
d?: React.CSSProperties['display'] | Array<React.CSSProperties['display']>;
|
|
50
|
+
overflow?: React.CSSProperties['overflow'] | Array<React.CSSProperties['overflow']>;
|
|
51
|
+
overflowX?: React.CSSProperties['overflowX'] | Array<React.CSSProperties['overflowX']>;
|
|
52
|
+
overflowY?: React.CSSProperties['overflowY'] | Array<React.CSSProperties['overflowY']>;
|
|
53
|
+
align?: React.CSSProperties['alignItems'] | Array<React.CSSProperties['alignItems']>;
|
|
54
|
+
alignContent?: React.CSSProperties['alignContent'] | Array<React.CSSProperties['alignContent']>;
|
|
55
|
+
alignSelf?: React.CSSProperties['alignSelf'] | Array<React.CSSProperties['alignSelf']>;
|
|
56
|
+
justifyItems?: React.CSSProperties['justifyItems'] | Array<React.CSSProperties['justifyItems']>;
|
|
57
|
+
justify?: React.CSSProperties['justifyContent'] | Array<React.CSSProperties['justifyContent']>;
|
|
58
|
+
justifySelf?: React.CSSProperties['justifySelf'] | Array<React.CSSProperties['justifySelf']>;
|
|
59
|
+
flexWrap?: React.CSSProperties['flexWrap'] | Array<React.CSSProperties['flexWrap']>;
|
|
60
|
+
direction?: React.CSSProperties['flexDirection'] | Array<React.CSSProperties['flexDirection']>;
|
|
61
|
+
flex?: React.CSSProperties['flex'] | Array<React.CSSProperties['flex']>;
|
|
62
|
+
flexGrow?: React.CSSProperties['flexGrow'] | Array<React.CSSProperties['flexGrow']>;
|
|
63
|
+
flexShrink?: React.CSSProperties['flexShrink'] | Array<React.CSSProperties['flexShrink']>;
|
|
64
|
+
flexBasis?: React.CSSProperties['flexBasis'] | Array<React.CSSProperties['flexBasis']>;
|
|
65
|
+
order?: React.CSSProperties['order'] | Array<React.CSSProperties['order']>;
|
|
66
|
+
bg?: React.CSSProperties['background'] | Array<React.CSSProperties['background']>;
|
|
67
|
+
bgImage?: React.CSSProperties['backgroundImage'] | Array<React.CSSProperties['backgroundImage']>;
|
|
68
|
+
bgColor?: React.CSSProperties['backgroundColor'] | NestedThemeType | Array<React.CSSProperties['backgroundColor']>;
|
|
69
|
+
bgSize?: React.CSSProperties['backgroundSize'] | Array<React.CSSProperties['backgroundSize']>;
|
|
70
|
+
bgPosition?: React.CSSProperties['backgroundPosition'] | Array<React.CSSProperties['backgroundPosition']>;
|
|
71
|
+
bgRepeat?: React.CSSProperties['backgroundRepeat'] | Array<React.CSSProperties['backgroundRepeat']>;
|
|
72
|
+
border?: React.CSSProperties['border'] | Array<React.CSSProperties['border']>;
|
|
73
|
+
borderWidth?: React.CSSProperties['borderWidth'] | Array<React.CSSProperties['borderWidth']>;
|
|
74
|
+
borderStyle?: React.CSSProperties['borderStyle'] | Array<React.CSSProperties['borderStyle']>;
|
|
75
|
+
borderColor?: React.CSSProperties['borderColor'] | NestedThemeType | Array<React.CSSProperties['borderColor']>;
|
|
76
|
+
borderTop?: React.CSSProperties['borderTop'] | Array<React.CSSProperties['borderTop']>;
|
|
77
|
+
borderTopWidth?: React.CSSProperties['borderTopWidth'] | Array<React.CSSProperties['borderTopWidth']>;
|
|
78
|
+
borderTopStyle?: React.CSSProperties['borderTopStyle'] | Array<React.CSSProperties['borderTopStyle']>;
|
|
79
|
+
borderTopColor?: React.CSSProperties['borderTopColor'] | Array<React.CSSProperties['borderTopColor']>;
|
|
80
|
+
borderRight?: React.CSSProperties['borderRight'] | Array<React.CSSProperties['borderRight']>;
|
|
81
|
+
borderRightWidth?: React.CSSProperties['borderRightWidth'] | Array<React.CSSProperties['borderRightWidth']>;
|
|
82
|
+
borderRightStyle?: React.CSSProperties['borderRightStyle'] | Array<React.CSSProperties['borderRightStyle']>;
|
|
83
|
+
borderRightColor?: React.CSSProperties['borderRightColor'] | Array<React.CSSProperties['borderRightColor']>;
|
|
84
|
+
borderBottom?: React.CSSProperties['borderBottom'] | Array<React.CSSProperties['borderBottom']>;
|
|
85
|
+
borderBottomWidth?: React.CSSProperties['borderBottomWidth'] | Array<React.CSSProperties['borderBottomWidth']>;
|
|
86
|
+
borderBottomStyle?: React.CSSProperties['borderBottomStyle'] | Array<React.CSSProperties['borderBottomStyle']>;
|
|
87
|
+
borderBottomColor?: React.CSSProperties['borderBottomColor'] | Array<React.CSSProperties['borderBottomColor']>;
|
|
88
|
+
borderLeft?: React.CSSProperties['borderLeft'] | Array<React.CSSProperties['borderLeft']>;
|
|
89
|
+
borderLeftWidth?: React.CSSProperties['borderLeftWidth'] | Array<React.CSSProperties['borderLeftWidth']>;
|
|
90
|
+
borderLeftStyle?: React.CSSProperties['borderLeftStyle'] | Array<React.CSSProperties['borderLeftStyle']>;
|
|
91
|
+
borderLeftColor?: React.CSSProperties['borderLeftColor'] | Array<React.CSSProperties['borderLeftColor']>;
|
|
92
|
+
borderRadius?: React.CSSProperties['borderRadius'] | Array<React.CSSProperties['borderRadius']>;
|
|
93
|
+
borderTopLeftRadius?: React.CSSProperties['borderTopLeftRadius'] | Array<React.CSSProperties['borderTopLeftRadius']>;
|
|
94
|
+
borderTopRightRadius?: React.CSSProperties['borderTopRightRadius'] | Array<React.CSSProperties['borderTopRightRadius']>;
|
|
95
|
+
borderBottomRightRadius?: React.CSSProperties['borderBottomRightRadius'] | Array<React.CSSProperties['borderBottomRightRadius']>;
|
|
96
|
+
borderBottomLeftRadius?: React.CSSProperties['borderBottomLeftRadius'] | Array<React.CSSProperties['borderBottomLeftRadius']>;
|
|
97
|
+
position?: React.CSSProperties['position'] | Array<React.CSSProperties['position']>;
|
|
98
|
+
zIndex?: React.CSSProperties['zIndex'] | Array<React.CSSProperties['zIndex']>;
|
|
99
|
+
top?: React.CSSProperties['top'] | Array<React.CSSProperties['top']>;
|
|
100
|
+
right?: React.CSSProperties['right'] | Array<React.CSSProperties['right']>;
|
|
101
|
+
bottom?: React.CSSProperties['bottom'] | Array<React.CSSProperties['bottom']>;
|
|
102
|
+
left?: React.CSSProperties['left'] | Array<React.CSSProperties['left']>;
|
|
103
|
+
boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType;
|
|
104
|
+
animation?: React.CSSProperties['animation'] | Array<React.CSSProperties['animation']>;
|
|
105
|
+
visibility?: React.CSSProperties['visibility'] | Array<React.CSSProperties['visibility']>;
|
|
106
|
+
cursor?: React.CSSProperties['cursor'] | Array<React.CSSProperties['cursor']>;
|
|
107
|
+
round?: IntensityType;
|
|
108
|
+
whiteSpace?: React.CSSProperties['whiteSpace'] | Array<React.CSSProperties['whiteSpace']>;
|
|
109
|
+
wordBreak?: React.CSSProperties['wordBreak'] | Array<React.CSSProperties['wordBreak']>;
|
|
110
|
+
gridTemplateColumns?: React.CSSProperties['gridTemplateColumns'] | Array<React.CSSProperties['gridTemplateColumns']>;
|
|
111
|
+
_hover?: string;
|
|
112
|
+
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
113
|
+
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
114
|
+
transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
|
|
115
|
+
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
116
|
+
outline?: React.CSSProperties['outline'] | Array<React.CSSProperties['outline']>;
|
|
117
|
+
outlineWidth?: React.CSSProperties['outlineWidth'] | Array<React.CSSProperties['outlineWidth']>;
|
|
118
|
+
outlineStyle?: React.CSSProperties['outlineStyle'] | Array<React.CSSProperties['outlineStyle']>;
|
|
119
|
+
outlineColor?: React.CSSProperties['outlineColor'] | NestedThemeType | Array<React.CSSProperties['outlineColor']>;
|
|
120
|
+
}
|
package/lib/Box/resources.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
interface ISupportedStyleProps {
|
|
2
|
-
[key: string]: {
|
|
3
|
-
property: string;
|
|
4
|
-
processedValue?: boolean;
|
|
5
|
-
usePallete?: boolean;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare const SupportedStyleProps: ISupportedStyleProps;
|
|
9
|
-
export {};
|
|
1
|
+
interface ISupportedStyleProps {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
property: string;
|
|
4
|
+
processedValue?: boolean;
|
|
5
|
+
usePallete?: boolean;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare const SupportedStyleProps: ISupportedStyleProps;
|
|
9
|
+
export {};
|
package/lib/Box/styles.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStyledTheme } from '../Styled/model';
|
|
3
|
+
import { BoxShadowIntensityType, IntensityType, NestedThemeType } from './model';
|
|
4
|
+
export declare const getNumberOrStringValue: (value?: number | string) => string;
|
|
5
|
+
export declare const getNestedValue: (value?: number | string | NestedThemeType, palette?: IStyledTheme) => any;
|
|
6
|
+
export declare const getRoundness: (round?: IntensityType) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
|
|
7
|
+
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => "none" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "0 0 0 1px rgba(0, 0, 0, 0.05)" | "0 1px 2px 0 rgba(0, 0, 0, 0.05)" | "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)" | "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" | "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" | "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" | "0 25px 50px -12px rgba(0, 0, 0, 0.25)" | "0 0 0 3px rgba(66, 153, 225, 0.6)" | "inset 0 2px 4px 0 rgba(0,0,0,0.06)" | undefined;
|
|
8
|
+
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, import("./model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
package/lib/Button/Button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IButtonComponentProps } from './model';
|
|
4
|
-
export declare const Button: React.FC<IButtonComponentProps>;
|
|
5
|
-
export declare const ButtonTwo: React.FC<IButtonComponentProps>;
|
|
6
|
-
export declare const ButtonThree: React.FC<IButtonComponentProps>;
|
|
7
|
-
export declare const ButtonIcon: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import { IButtonComponentProps } from './model';
|
|
4
|
+
export declare const Button: React.FC<IButtonComponentProps>;
|
|
5
|
+
export declare const ButtonTwo: React.FC<IButtonComponentProps>;
|
|
6
|
+
export declare const ButtonThree: React.FC<IButtonComponentProps>;
|
|
7
|
+
export declare const ButtonIcon: React.FC<IBoxComponentProps>;
|
package/lib/Button/model.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IButtonBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IButtonComponentProps extends IButtonBoxComponentProps {
|
|
3
|
-
href?: string;
|
|
4
|
-
buttonSize?: 'lg' | 'md' | 'sm';
|
|
5
|
-
|
|
1
|
+
import { IButtonBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IButtonComponentProps extends IButtonBoxComponentProps {
|
|
3
|
+
href?: string;
|
|
4
|
+
buttonSize?: 'lg' | 'md' | 'sm';
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
}
|
package/lib/Button/styles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IButtonComponentProps } from './model';
|
|
3
|
-
export declare const ButtonDefault: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
4
|
-
export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
-
export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
|
-
export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
7
|
-
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IButtonComponentProps } from './model';
|
|
3
|
+
export declare const ButtonDefault: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
4
|
+
export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
+
export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
|
+
export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
7
|
+
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
5
|
-
import { ICarouselComponentProps } from './model';
|
|
6
|
-
export declare const Carousel: React.FC<ICarouselComponentProps>;
|
|
7
|
-
export declare const CustomDot: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
3
|
+
import 'slick-carousel/slick/slick.css';
|
|
4
|
+
import { IBoxComponentProps } from '../Box/model';
|
|
5
|
+
import { ICarouselComponentProps } from './model';
|
|
6
|
+
export declare const Carousel: React.FC<ICarouselComponentProps>;
|
|
7
|
+
export declare const CustomDot: React.FC<IBoxComponentProps>;
|