@moosend/mooskin 1.0.0 → 1.0.4
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/Checkbox/Checkbox.d.ts +1 -1
- package/lib/Checkbox/styles.d.ts +1 -1
- package/lib/Drawer/styles.d.ts +1 -1
- package/lib/Input/styles.d.ts +1 -1
- package/lib/NumberLabel/model.d.ts +1 -1
- package/lib/Radio/Radio.d.ts +1 -1
- package/lib/Radio/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +15 -0
- package/lib/index/index.d.ts +9 -9
- package/lib/index/index.js +2 -2
- package/package.json +2 -5
- package/lib/Button/index.d.ts +0 -2
- package/lib/Button/index.js +0 -1
- package/lib/Button/style.css +0 -1
- package/lib/Carousel/index.d.ts +0 -2
- package/lib/Carousel/index.js +0 -12
- package/lib/Carousel/style.css +0 -326
- package/lib/CheckListItem/CheckListItem.d.ts +0 -24
- package/lib/CheckListItem/index.d.ts +0 -2
- package/lib/CheckListItem/index.js +0 -1
- package/lib/CheckListItem/style.css +0 -5
- package/lib/Checkbox/index.d.ts +0 -3
- package/lib/Checkbox/index.js +0 -1
- package/lib/Checkbox/style.css +0 -14
- package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
- package/lib/ClipboardButton/index.d.ts +0 -2
- package/lib/ClipboardButton/index.js +0 -1
- package/lib/ClipboardButton/style.css +0 -1
- package/lib/DatePicker/index.d.ts +0 -3
- package/lib/DatePicker/index.js +0 -12
- package/lib/DatePicker/style.css +0 -7
- package/lib/DateRange/index.d.ts +0 -2
- package/lib/DateRange/index.js +0 -12
- package/lib/DateRange/style.css +0 -19
- package/lib/Fieldset/Fieldset.d.ts +0 -16
- package/lib/Fieldset/index.d.ts +0 -2
- package/lib/Fieldset/index.js +0 -1
- package/lib/Fieldset/style.css +0 -2
- package/lib/File/FileUpload.d.ts +0 -43
- package/lib/File/index.d.ts +0 -2
- package/lib/File/index.js +0 -1
- package/lib/File/style.css +0 -1
- package/lib/Form/Form.d.ts +0 -36
- package/lib/Form/index.d.ts +0 -3
- package/lib/Form/index.js +0 -1
- package/lib/Form/style.css +0 -1
- package/lib/Grid/index.d.ts +0 -4
- package/lib/Grid/index.js +0 -1
- package/lib/Grid/style.css +0 -1
- package/lib/Headings/H1/H1.d.ts +0 -11
- package/lib/Headings/H2/H2.d.ts +0 -11
- package/lib/Headings/H3/H3.d.ts +0 -11
- package/lib/Headings/H4/H4.d.ts +0 -11
- package/lib/Headings/H5/H5.d.ts +0 -11
- package/lib/Headings/H6/H6.d.ts +0 -11
- package/lib/Headings/index.d.ts +0 -6
- package/lib/Headings/index.js +0 -1
- package/lib/Headings/props.d.ts +0 -7
- package/lib/Headings/style.css +0 -12
- package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
- package/lib/HorizontalRangeBar/index.d.ts +0 -2
- package/lib/HorizontalRangeBar/index.js +0 -1
- package/lib/HorizontalRangeBar/style.css +0 -1
- package/lib/Input/index.d.ts +0 -2
- package/lib/Input/index.js +0 -1
- package/lib/Input/style.css +0 -465
- package/lib/Label/index.d.ts +0 -2
- package/lib/Label/index.js +0 -1
- package/lib/Label/style.css +0 -2
- package/lib/List/index.d.ts +0 -3
- package/lib/List/index.js +0 -1
- package/lib/List/style.css +0 -2
- package/lib/Loader/index.d.ts +0 -2
- package/lib/Loader/index.js +0 -1
- package/lib/Loader/style.css +0 -1
- package/lib/LoadingBar/index.d.ts +0 -2
- package/lib/LoadingBar/index.js +0 -1
- package/lib/LoadingBar/style.css +0 -1
- package/lib/Modal/index.d.ts +0 -2
- package/lib/Modal/index.js +0 -1
- package/lib/Modal/style.css +0 -15
- package/lib/Pagination/index.d.ts +0 -2
- package/lib/Pagination/index.js +0 -1
- package/lib/Pagination/style.css +0 -1
- package/lib/Radio/index.d.ts +0 -3
- package/lib/Radio/index.js +0 -1
- package/lib/Radio/style.css +0 -13
- package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
- package/lib/RadioAccordion/index.d.ts +0 -3
- package/lib/RadioAccordion/index.js +0 -1
- package/lib/RadioAccordion/style.css +0 -1
- package/lib/Select/index.d.ts +0 -3
- package/lib/Select/index.js +0 -1
- package/lib/Select/style.css +0 -2
- package/lib/SideBar/SideBar.d.ts +0 -79
- package/lib/SideBar/index.d.ts +0 -3
- package/lib/SideBar/index.js +0 -1
- package/lib/SideBar/style.css +0 -3
- package/lib/Slider/index.d.ts +0 -3
- package/lib/Slider/index.js +0 -1
- package/lib/Slider/style.css +0 -2
- package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
- package/lib/SmallIconButton/index.d.ts +0 -2
- package/lib/SmallIconButton/index.js +0 -1
- package/lib/SmallIconButton/style.css +0 -2
- package/lib/StatsBox/StatsBox.d.ts +0 -16
- package/lib/StatsBox/index.d.ts +0 -2
- package/lib/StatsBox/index.js +0 -1
- package/lib/StatsBox/style.css +0 -2
- package/lib/Steps/index.d.ts +0 -3
- package/lib/Steps/index.js +0 -1
- package/lib/Steps/style.css +0 -1
- package/lib/Switch/index.d.ts +0 -2
- package/lib/Switch/index.js +0 -1
- package/lib/Switch/style.css +0 -1
- package/lib/TabbedContent/TabbedContent.d.ts +0 -72
- package/lib/TabbedContent/index.d.ts +0 -3
- package/lib/TabbedContent/index.js +0 -1
- package/lib/TabbedContent/style.css +0 -4
- package/lib/Table/index.d.ts +0 -3
- package/lib/Table/index.js +0 -1
- package/lib/Table/style.css +0 -6
- package/lib/Tags/index.d.ts +0 -2
- package/lib/Tags/index.js +0 -1
- package/lib/Tags/style.css +0 -3
- package/lib/TextArea/index.d.ts +0 -2
- package/lib/TextArea/index.js +0 -1
- package/lib/TextArea/style.css +0 -1
- package/lib/TextEditor/index.d.ts +0 -2
- package/lib/TextEditor/index.js +0 -28
- package/lib/TextEditor/style.css +0 -852
- package/lib/TopNotification/TopNotification.d.ts +0 -27
- package/lib/TopNotification/index.d.ts +0 -2
- package/lib/TopNotification/index.js +0 -1
- package/lib/TopNotification/style.css +0 -2
- package/lib/Topbar/Topbar.d.ts +0 -23
- package/lib/Topbar/index.d.ts +0 -2
- package/lib/Topbar/index.js +0 -1
- package/lib/Topbar/style.css +0 -1
- package/lib/_utils/index.js +0 -1
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +0 -6
- package/lib/components/ActionsDropdown/model.d.ts +0 -10
- package/lib/components/ActionsDropdown/styles.d.ts +0 -6
- package/lib/components/Alert/Alert.d.ts +0 -7
- package/lib/components/Alert/model.d.ts +0 -5
- package/lib/components/Alert/styles.d.ts +0 -7
- package/lib/components/Anchor/Anchor.d.ts +0 -3
- package/lib/components/Anchor/model.d.ts +0 -4
- package/lib/components/Anchor/styles.d.ts +0 -3
- package/lib/components/Box/Box.d.ts +0 -3
- package/lib/components/Box/model.d.ts +0 -113
- package/lib/components/Box/styles.d.ts +0 -7
- package/lib/components/Button/Button.d.ts +0 -5
- package/lib/components/Button/model.d.ts +0 -6
- package/lib/components/Button/styles.d.ts +0 -6
- package/lib/components/Carousel/Carousel.d.ts +0 -7
- package/lib/components/Carousel/model.d.ts +0 -33
- package/lib/components/Carousel/styles.d.ts +0 -4
- package/lib/components/Checkbox/Checkbox.d.ts +0 -8
- package/lib/components/Checkbox/model.d.ts +0 -12
- package/lib/components/Checkbox/styles.d.ts +0 -6
- package/lib/components/DatePicker/DatePicker.d.ts +0 -3
- package/lib/components/DatePicker/model.d.ts +0 -11
- package/lib/components/DateRange/DateRange.d.ts +0 -5
- package/lib/components/DateRange/model.d.ts +0 -13
- package/lib/components/DateSelect/DateSelect.d.ts +0 -3
- package/lib/components/DateSelect/model.d.ts +0 -7
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +0 -3
- package/lib/components/DateTimePicker/model.d.ts +0 -11
- package/lib/components/Description/Description.d.ts +0 -3
- package/lib/components/Description/styles.d.ts +0 -3
- package/lib/components/Drawer/Drawer.d.ts +0 -10
- package/lib/components/Drawer/model.d.ts +0 -21
- package/lib/components/Drawer/styles.d.ts +0 -25
- package/lib/components/Expandable/Expandable.d.ts +0 -9
- package/lib/components/Expandable/model.d.ts +0 -13
- package/lib/components/Expandable/styles.d.ts +0 -9
- package/lib/components/Footer/Footer.d.ts +0 -6
- package/lib/components/Footer/styles.d.ts +0 -7
- package/lib/components/Grid/Grid.d.ts +0 -5
- package/lib/components/Grid/model.d.ts +0 -18
- package/lib/components/Grid/styles.d.ts +0 -5
- package/lib/components/IconButton/IconButton.d.ts +0 -3
- package/lib/components/IconButton/model.d.ts +0 -4
- package/lib/components/IconButton/styles.d.ts +0 -3
- package/lib/components/Image/Image.d.ts +0 -3
- package/lib/components/Image/styles.d.ts +0 -3
- package/lib/components/Input/Input.d.ts +0 -12
- package/lib/components/Input/model.d.ts +0 -27
- package/lib/components/Input/styles.d.ts +0 -12
- package/lib/components/Label/Label.d.ts +0 -3
- package/lib/components/Label/model.d.ts +0 -5
- package/lib/components/Label/styles.d.ts +0 -3
- package/lib/components/Layout/Layout.d.ts +0 -3
- package/lib/components/Layout/model.d.ts +0 -5
- package/lib/components/Layout/styles.d.ts +0 -3
- package/lib/components/List/List.d.ts +0 -8
- package/lib/components/List/styles.d.ts +0 -7
- package/lib/components/Loader/Loader.d.ts +0 -3
- package/lib/components/Loader/model.d.ts +0 -5
- package/lib/components/Loader/styles.d.ts +0 -3
- package/lib/components/LoadingBar/LoadingBar.d.ts +0 -3
- package/lib/components/LoadingBar/model.d.ts +0 -7
- package/lib/components/LoadingBar/styles.d.ts +0 -3
- package/lib/components/Modal/Modal.d.ts +0 -10
- package/lib/components/Modal/model.d.ts +0 -15
- package/lib/components/Modal/styles.d.ts +0 -14
- package/lib/components/NumberLabel/NumberLabel.d.ts +0 -3
- package/lib/components/NumberLabel/model.d.ts +0 -7
- package/lib/components/Pagination/Pagination.d.ts +0 -4
- package/lib/components/Pagination/model.d.ts +0 -10
- package/lib/components/Pagination/styles.d.ts +0 -6
- package/lib/components/Radio/Radio.d.ts +0 -8
- package/lib/components/Radio/model.d.ts +0 -13
- package/lib/components/Radio/styles.d.ts +0 -6
- package/lib/components/Select/Select.d.ts +0 -13
- package/lib/components/Select/model.d.ts +0 -22
- package/lib/components/Select/styles.d.ts +0 -13
- package/lib/components/Selector/Selector.d.ts +0 -4
- package/lib/components/Selector/model.d.ts +0 -10
- package/lib/components/Selector/styles.d.ts +0 -4
- package/lib/components/Sidemenu/Sidemenu.d.ts +0 -4
- package/lib/components/Sidemenu/model.d.ts +0 -10
- package/lib/components/Sidemenu/styles.d.ts +0 -4
- package/lib/components/Skeleton/Skeleton.d.ts +0 -5
- package/lib/components/Skeleton/model.d.ts +0 -14
- package/lib/components/Skeleton/styles.d.ts +0 -6
- package/lib/components/Slider/Model.d.ts +0 -7
- package/lib/components/Slider/Slider.d.ts +0 -3
- package/lib/components/Slider/styles.d.ts +0 -3
- package/lib/components/Stack/Stack.d.ts +0 -5
- package/lib/components/Stack/model.d.ts +0 -6
- package/lib/components/Stack/styles.d.ts +0 -3
- package/lib/components/Steps/Steps.d.ts +0 -6
- package/lib/components/Steps/model.d.ts +0 -16
- package/lib/components/Steps/styles.d.ts +0 -7
- package/lib/components/Styled/GlobalStyles.d.ts +0 -2
- package/lib/components/Styled/MooskinContextProvider.d.ts +0 -6
- package/lib/components/Styled/model.d.ts +0 -74
- package/lib/components/Switch/Switch.d.ts +0 -4
- package/lib/components/Switch/model.d.ts +0 -16
- package/lib/components/Switch/styles.d.ts +0 -7
- package/lib/components/Table/Table.d.ts +0 -7
- package/lib/components/Table/styles.d.ts +0 -7
- package/lib/components/Tabs/Tabs.d.ts +0 -6
- package/lib/components/Tabs/model.d.ts +0 -13
- package/lib/components/Tabs/styles.d.ts +0 -6
- package/lib/components/Tags/Tags.d.ts +0 -7
- package/lib/components/Tags/model.d.ts +0 -18
- package/lib/components/Tags/styles.d.ts +0 -8
- package/lib/components/Text/Text.d.ts +0 -3
- package/lib/components/Text/model.d.ts +0 -4
- package/lib/components/Text/styles.d.ts +0 -3
- package/lib/components/TextArea/TextArea.d.ts +0 -3
- package/lib/components/TextArea/model.d.ts +0 -4
- package/lib/components/TextArea/styles.d.ts +0 -3
- package/lib/components/TextEditor/TextEditor.d.ts +0 -3
- package/lib/components/TextEditor/model.d.ts +0 -14
- package/lib/components/_utils/adapter.d.ts +0 -1
- package/lib/components/_utils/globals/screens.d.ts +0 -11
- package/lib/components/_utils/globals/variables.d.ts +0 -3
- package/lib/components/_utils/helper.d.ts +0 -3
- package/lib/components/_utils/index.d.ts +0 -3
- package/lib/components/_utils/test-setup.d.ts +0 -0
- package/lib/components/_utils/types/commonTypes.d.ts +0 -4
- package/lib/components/index/index.d.ts +0 -85
- package/lib/stories/ActionsDropdown.stories.d.ts +0 -6
- package/lib/stories/Alert.stories.d.ts +0 -5
- package/lib/stories/Anchor.stories.d.ts +0 -5
- package/lib/stories/Box.stories.d.ts +0 -4
- package/lib/stories/Button.stories.d.ts +0 -8
- package/lib/stories/Carousel.stories.d.ts +0 -4
- package/lib/stories/Checkbox.stories.d.ts +0 -8
- package/lib/stories/DatePicker.stories.d.ts +0 -4
- package/lib/stories/DateRange.stories.d.ts +0 -4
- package/lib/stories/DateSelect.stories.d.ts +0 -9
- package/lib/stories/DateTimePicker.stories.d.ts +0 -4
- package/lib/stories/Drawer.stories.d.ts +0 -6
- package/lib/stories/Expandable.stories.d.ts +0 -4
- package/lib/stories/Footer.stories.d.ts +0 -4
- package/lib/stories/Grid.stories.d.ts +0 -4
- package/lib/stories/IconButton.stories.d.ts +0 -5
- package/lib/stories/Input.stories.d.ts +0 -6
- package/lib/stories/Layout.stories.d.ts +0 -4
- package/lib/stories/List.stories.d.ts +0 -5
- package/lib/stories/Loader.stories.d.ts +0 -4
- package/lib/stories/LoadingBar.stories.d.ts +0 -4
- package/lib/stories/Modal.stories.d.ts +0 -4
- package/lib/stories/NumberLabel.stories.d.ts +0 -10
- package/lib/stories/Pagination.stories.d.ts +0 -4
- package/lib/stories/Radio.stories.d.ts +0 -8
- package/lib/stories/Select.stories.d.ts +0 -7
- package/lib/stories/Selector.stories.d.ts +0 -4
- package/lib/stories/Sidemenu.stories.d.ts +0 -4
- package/lib/stories/Skeleton.stories.d.ts +0 -6
- package/lib/stories/Slider.stories.d.ts +0 -4
- package/lib/stories/Stack.stories.d.ts +0 -9
- package/lib/stories/StackedTags.stories.d.ts +0 -4
- package/lib/stories/Steps.stories.d.ts +0 -4
- package/lib/stories/Switch.stories.d.ts +0 -6
- package/lib/stories/Table.stories.d.ts +0 -4
- package/lib/stories/Tabs.stories.d.ts +0 -4
- package/lib/stories/Tags.stories.d.ts +0 -6
- package/lib/stories/TextEditor.stories.d.ts +0 -8
- package/lib/stories/Textarea.stories.d.ts +0 -5
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ITopNotificationProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
type?: 'error' | 'success' | 'warning' | 'custom';
|
|
5
|
-
text?: string | JSX.Element;
|
|
6
|
-
okButtonLabel?: string;
|
|
7
|
-
cancelButtonLabel?: string;
|
|
8
|
-
okButton?: boolean;
|
|
9
|
-
cancelButton?: boolean;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
className?: string;
|
|
12
|
-
okButtonLink?: string;
|
|
13
|
-
cancelButtonLink?: string;
|
|
14
|
-
onClickOk?: () => void;
|
|
15
|
-
onClickCancel?: () => void;
|
|
16
|
-
onClickX?: () => void;
|
|
17
|
-
visible?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export default class TopNotification extends React.Component<ITopNotificationProps, {}> {
|
|
20
|
-
static defaultProps: Partial<ITopNotificationProps>;
|
|
21
|
-
static displayName: string;
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
onClickCancel: () => void;
|
|
24
|
-
onClickOk: () => void;
|
|
25
|
-
resolveTypeClass(): any;
|
|
26
|
-
renderButtons: () => JSX.Element | null;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define("mooskin",["react"],e):"object"==typeof exports?exports.mooskin=e(require("react")):t.mooskin=e(t.react)}(this,function(t){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="../",n(n.s=354)}({0:function(e,n){e.exports=t},16:function(t,e,n){t.exports={button:"button___4ZD5v",normalButton:"normalButton___15AzL",inverseButton:"inverseButton___3Tgg8",disabledButton:"disabledButton___2axC9"}},26:function(t,e,n){"use strict";n.r(e);var o=n(0),i=n(16),c=n.n(i);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function l(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var A=function(t){function e(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=l(this,u(e).apply(this,arguments))).getButton=function(){var e=t.props,n=e.style,i=e.inverseStyle,r=e.disabled,a=e.children,l=e.className,u=e.id,s=e.href,A=e.type,p=i?c.a.inverseButton:c.a.normalButton,y=r?c.a.disabledButton:"",f="button-component ".concat(c.a.button," ").concat(p," ").concat(y," ").concat(l);return s?o.createElement("a",{id:u,href:s,className:"button-component-link ".concat(f),style:n,onClick:t.onClick},a):o.createElement("button",{id:u,type:A,onClick:t.onClick,disabled:r,className:f,style:n},a)},t.onClick=function(e){!t.props.disabled&&t.props.onClick&&t.props.onClick(e)},t}var n,i,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(e,o["Component"]),n=e,(i=[{key:"render",value:function(){return this.getButton()}}])&&a(n.prototype,i),r&&a(n,r),e}();A.defaultProps={className:"",style:{},type:"button"},A.displayName="Button";e.default=A},334:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPS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ODciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNUIzRkQ4Q0RDQzYxMUUzOTNERUQyMDkxMjRFNjg4NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNUIzRkQ4RERDQzYxMUUzOTNERUQyMDkxMjRFNjg4NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkjcG8EAAAEqSURBVHjaYvz//z8DFYAZEDMD8XEUUZDhFGJRIH4MxN+BOAJZjlKDmYF4738E+AfEldQyvPM/djAfiNkoMTgY6lJcIJJcg9WB+CMegxeQGyw8QHwVj8HHQUGCzXAjIFYiYPgqPAaDUo0EtggVg0q+AGJjHAYX4jH4K7o+GAPkjUNICj8BsTOawXZA/BuHwf/Q0ziy4VOwaPgJxFFQeSkgfo7H1S3YfAoikvFoArmoBIiP4FGzAYgZcRm++T/54BIQ8+KKfBDBCsSzyTD4FaGUhcwpBeK/RBoMig9HQnkCXSAQiL8QYXgGMRkOmyAorT7FY/A0YnMzLgkZID6PxeB9sKxNieGwMmQbksF3oBUDAzUMh1UGk6EloC6phRwjkXWoIhDfJ7ViBQgwAAihxK/oFLkDAAAAAElFTkSuQmCC"},35:function(t,e,n){t.exports={container:"container___3PeGX",message:"message___3lu-S",buttonContainer:"buttonContainer___3165b",close:"close___1X5rF",content:"content___1f31W",active:"active___2i5cB",inactive:"inactive___3USGR",successNotification:"successNotification___80GDY",errorNotification:"errorNotification___2w-_i",customNotification:"customNotification___3qJEi",iconDiv:"iconDiv___2-Vhp"}},354:function(t,e,n){"use strict";n.r(e);var o=n(0),i=n(26),c=n(334),r=n.n(c),a=n(335),l=n.n(a),u=n(336),s=n.n(u),A=n(35),p=n.n(A);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var M=function(t){function e(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=b(this,m(e).apply(this,arguments))).onClickCancel=function(){t.props.onClickCancel&&t.props.onClickCancel()},t.onClickOk=function(){t.props.onClickOk&&t.props.onClickOk()},t.renderButtons=function(){var e=t.props,n=e.okButton,c=e.cancelButton,r=e.okButtonLabel,a=e.cancelButtonLabel,l=e.okButtonLink,u=e.cancelButtonLink,s=o.createElement(i.default,{style:{margin:6},onClick:t.onClickOk},r),A=o.createElement(i.default,{style:{margin:6},onClick:t.onClickCancel},a),y=l?o.createElement("a",{href:l,className:p.a.titleAnchor,target:l.includes("http:")||l.includes("https:")?"_blank":""},s):s,f=u?o.createElement("a",{href:u,className:p.a.titleAnchor,target:u.includes("http:")||u.includes("https:")?"_blank":""},A):A;return n||c?o.createElement("div",{className:p.a.buttonContainer},n&&y,c&&f):null},t}var n,c,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(e,o["Component"]),n=e,(c=[{key:"render",value:function(){var t=this.props,e=t.className,n=t.style,i=t.text,c=t.visible,a=t.type,u=c?p.a.active:p.a.inactive,A=this.resolveTypeClass(),y="success"===a?s.a:"error"===a||"warning"===a?l.a:"",f="success"!==a&&"error"!==a?{fontSize:16,marginTop:2}:{};return o.createElement("div",{className:"top-notification-component ".concat(p.a.container," ").concat(A," ").concat(u," ").concat(e),style:n},o.createElement("div",{className:p.a.content},o.createElement("div",{className:p.a.message},o.createElement("img",{src:y,alt:"",style:{marginRight:10}}),o.createElement("div",{style:f,className:p.a.text},i)),this.renderButtons()),o.createElement("div",{className:"close-notification ".concat(p.a.close),onClick:this.props.onClickX},o.createElement("img",{src:r.a,alt:""})))}},{key:"resolveTypeClass",value:function(){return"success"===this.props.type?p.a.successNotification:"error"===this.props.type?p.a.errorNotification:p.a.customNotification}}])&&f(n.prototype,c),a&&f(n,a),e}();M.defaultProps={cancelButton:!1,cancelButtonLabel:"Cancel",okButton:!1,okButtonLabel:"Ok",type:"success",visible:!0},M.displayName="TopNotification";e.default=M}})});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.button___4ZD5v{display:inline-block;text-decoration:none;border-radius:10px;font-size:14px;font-size:.875rem;font-family:Helvetica,sans-serif;padding:10px 45px;cursor:pointer;outline:0}.button___4ZD5v,.normalButton___15AzL{-webkit-transition:background-color .4s ease;transition:background-color .4s ease}.normalButton___15AzL{background-color:#5ccdde;border:1px solid transparent;color:#fff}.inverseButton___3Tgg8{background-color:#fff;border:1px solid #5ccdde;color:#5ccdde;-webkit-transition:.4s;transition:.4s}.disabledButton___2axC9{cursor:not-allowed;opacity:.7}.normalButton___15AzL:hover:enabled{background-color:#4cb3c4}.inverseButton___3Tgg8:hover:enabled{border-color:#4cb3c4;color:#4cb3c4}
|
|
2
|
-
.container___3PeGX{z-index:130;position:fixed;top:-80px;left:0;right:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;overflow:hidden;-webkit-transition:all .5s ease;transition:all .5s ease;max-height:80px;min-height:80px}.container___3PeGX,.message___3lu-S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.message___3lu-S{text-align:center;color:#fff;-ms-flex-item-align:center;align-self:center;font-size:18px;-webkit-box-flex:7;-ms-flex:7 1 auto;flex:7 1 auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.buttonContainer___3165b{-webkit-box-flex:3;-ms-flex:3 1 auto;flex:3 1 auto}.close___1X5rF{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:80px;flex-basis:80px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.message___3lu-S span{vertical-align:middle}.content___1f31W{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.active___2i5cB{top:0}.inactive___3USGR{top:-80px}.successNotification___80GDY{background:#accc14}.errorNotification___2w-_i{background:#e16053}.customNotification___3qJEi{background:#2d2d2d}@media (max-device-width:768px){.message___3lu-S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.close___1X5rF,.message___3lu-S{-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.close___1X5rF{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:5vw;width:5w;padding:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.close___1X5rF div{height:5vw;width:5vw;margin-right:4vw}.iconDiv___2-Vhp{display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:6vw;height:6vw}.content___1f31W,.iconDiv___2-Vhp{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column}.content___1f31W{flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:7;-ms-flex:7;flex:7 1}.active___2i5cB{max-height:100%}}@media (min-device-width:769px) and (max-device-width:991px){.message___3lu-S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.close___1X5rF,.message___3lu-S{-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.close___1X5rF{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:5vw;width:5w;padding:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.close___1X5rF div{height:5vw;width:5vw;margin-right:4vw}.iconDiv___2-Vhp{margin-right:15px;display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:6vw;height:6vw}.content___1f31W,.iconDiv___2-Vhp{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column}.content___1f31W{flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:7;-ms-flex:7;flex:7 1}.active___2i5cB{max-height:100%}}
|
package/lib/Topbar/Topbar.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ITopbarProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
children?: any;
|
|
7
|
-
}
|
|
8
|
-
export interface ITopbarState {
|
|
9
|
-
show: boolean;
|
|
10
|
-
}
|
|
11
|
-
export default class Topbar extends React.Component<ITopbarProps, ITopbarState> {
|
|
12
|
-
static defaultProps: {
|
|
13
|
-
className: string;
|
|
14
|
-
style: {};
|
|
15
|
-
};
|
|
16
|
-
static displayName: string;
|
|
17
|
-
prev: any;
|
|
18
|
-
constructor(props: ITopbarProps);
|
|
19
|
-
componentDidMount(): void;
|
|
20
|
-
componentWillUnmount(): void;
|
|
21
|
-
render(): JSX.Element;
|
|
22
|
-
hideBar: () => void;
|
|
23
|
-
}
|
package/lib/Topbar/index.d.ts
DELETED
package/lib/Topbar/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("mooskin",["react"],t):"object"==typeof exports?exports.mooskin=t(require("react")):e.mooskin=t(e.react)}(this,function(e){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="../",o(o.s=355)}({0:function(t,o){t.exports=e},355:function(e,t,o){"use strict";o.r(t);var n=o(0),r=o(92),i=o.n(r);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=a(this,f(t).call(this,e))).hideBar=function(){var e=o.state.show;window.scrollY>o.prev?e&&o.setState({show:!1}):!e&&o.setState({show:!0}),o.prev=window.scrollY},o.state={show:!0},o}var o,r,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,n["Component"]),o=t,(r=[{key:"componentDidMount",value:function(){window.screen.width<=991&&window.addEventListener("scroll",this.hideBar)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.hideBar)}},{key:"render",value:function(){var e=this.state.show?i.a.show:i.a.hide;return n.createElement("div",{className:"topbar-component ".concat(i.a.topbar," ").concat(e," ").concat(this.props.className),style:this.props.style},this.props.children)}}])&&c(o.prototype,r),u&&c(o,u),t}();l.defaultProps={className:"",style:{}},l.displayName="Topbar";t.default=l},92:function(e,t,o){e.exports={topbar:"topbar___2-rdB",hide:"hide___2FyUu",show:"show___1ztYw"}}})});
|
package/lib/Topbar/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.topbar___2-rdB{position:fixed;top:0;right:0;left:0;height:80px;z-index:120;-webkit-transition:.3s;transition:.3s}.hide___2FyUu{top:-80px}.show___1ztYw{top:0}
|
package/lib/_utils/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("mooskin",[],t):"object"==typeof exports?exports.mooskin=t():e.mooskin=t()}(this,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="../",n(n.s=469)}({469:function(e,t){}})});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../index';
|
|
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,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
-
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
-
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
8
|
-
dataLabel?: any;
|
|
9
|
-
value?: any;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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 StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
6
|
-
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -1,7 +0,0 @@
|
|
|
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>;
|
|
@@ -1,7 +0,0 @@
|
|
|
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 StyledAlertTitle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
5
|
-
export declare const StyledAlertDescription: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
6
|
-
export declare const StyledAlertIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
7
|
-
export declare const StyledAlertCloseButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
@@ -1,113 +0,0 @@
|
|
|
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 const boxComponentProps: string[];
|
|
7
|
-
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
8
|
-
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
9
|
-
export declare type IBoxLabelComponentProps = IBaseBoxComponentProps & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
10
|
-
export declare type IButtonBoxComponentProps = IBoxComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
11
|
-
export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
12
|
-
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
13
|
-
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
14
|
-
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
15
|
-
ref?: any;
|
|
16
|
-
boxAs?: any;
|
|
17
|
-
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
18
|
-
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
19
|
-
mr?: React.CSSProperties['marginRight'] | Array<React.CSSProperties['marginRight']>;
|
|
20
|
-
mb?: React.CSSProperties['marginBottom'] | Array<React.CSSProperties['marginBottom']>;
|
|
21
|
-
ml?: React.CSSProperties['marginLeft'] | Array<React.CSSProperties['marginLeft']>;
|
|
22
|
-
mx?: number | string | Array<number | string>;
|
|
23
|
-
my?: number | string | Array<number | string>;
|
|
24
|
-
p?: React.CSSProperties['padding'] | Array<React.CSSProperties['padding']>;
|
|
25
|
-
pt?: React.CSSProperties['paddingTop'] | Array<React.CSSProperties['paddingTop']>;
|
|
26
|
-
pr?: React.CSSProperties['paddingRight'] | Array<React.CSSProperties['paddingRight']>;
|
|
27
|
-
pb?: React.CSSProperties['paddingBottom'] | Array<React.CSSProperties['paddingBottom']>;
|
|
28
|
-
pl?: React.CSSProperties['paddingLeft'] | Array<React.CSSProperties['paddingLeft']>;
|
|
29
|
-
px?: number | string | Array<number | string>;
|
|
30
|
-
py?: number | string | Array<number | string>;
|
|
31
|
-
fontColor?: React.CSSProperties['color'] | NestedThemeType | Array<React.CSSProperties['color']>;
|
|
32
|
-
opacity?: React.CSSProperties['opacity'] | Array<React.CSSProperties['opacity']>;
|
|
33
|
-
fontFamily?: React.CSSProperties['fontFamily'] | Array<React.CSSProperties['fontFamily']>;
|
|
34
|
-
fontSize?: React.CSSProperties['fontSize'] | Array<React.CSSProperties['fontSize']>;
|
|
35
|
-
fontWeight?: React.CSSProperties['fontWeight'] | Array<React.CSSProperties['fontWeight']>;
|
|
36
|
-
lineHeight?: React.CSSProperties['lineHeight'] | Array<React.CSSProperties['lineHeight']>;
|
|
37
|
-
textAlign?: React.CSSProperties['textAlign'] | Array<React.CSSProperties['textAlign']>;
|
|
38
|
-
fontStyle?: React.CSSProperties['fontStyle'] | Array<React.CSSProperties['fontStyle']>;
|
|
39
|
-
textTransform?: React.CSSProperties['textTransform'] | Array<React.CSSProperties['textTransform']>;
|
|
40
|
-
textDecoration?: React.CSSProperties['textDecoration'] | Array<React.CSSProperties['textDecoration']>;
|
|
41
|
-
w?: React.CSSProperties['width'] | Array<React.CSSProperties['width']>;
|
|
42
|
-
h?: React.CSSProperties['height'] | Array<React.CSSProperties['height']>;
|
|
43
|
-
maxW?: React.CSSProperties['maxWidth'] | Array<React.CSSProperties['maxWidth']>;
|
|
44
|
-
minW?: React.CSSProperties['minWidth'] | Array<React.CSSProperties['minWidth']>;
|
|
45
|
-
maxH?: React.CSSProperties['maxHeight'] | Array<React.CSSProperties['maxHeight']>;
|
|
46
|
-
minH?: React.CSSProperties['minHeight'] | Array<React.CSSProperties['minHeight']>;
|
|
47
|
-
d?: React.CSSProperties['display'] | Array<React.CSSProperties['display']>;
|
|
48
|
-
overflow?: React.CSSProperties['overflow'] | Array<React.CSSProperties['overflow']>;
|
|
49
|
-
overflowX?: React.CSSProperties['overflowX'] | Array<React.CSSProperties['overflowX']>;
|
|
50
|
-
overflowY?: React.CSSProperties['overflowY'] | Array<React.CSSProperties['overflowY']>;
|
|
51
|
-
align?: React.CSSProperties['alignItems'] | Array<React.CSSProperties['alignItems']>;
|
|
52
|
-
alignContent?: React.CSSProperties['alignContent'] | Array<React.CSSProperties['alignContent']>;
|
|
53
|
-
alignSelf?: React.CSSProperties['alignSelf'] | Array<React.CSSProperties['alignSelf']>;
|
|
54
|
-
justifyItems?: React.CSSProperties['justifyItems'] | Array<React.CSSProperties['justifyItems']>;
|
|
55
|
-
justify?: React.CSSProperties['justifyContent'] | Array<React.CSSProperties['justifyContent']>;
|
|
56
|
-
justifySelf?: React.CSSProperties['justifySelf'] | Array<React.CSSProperties['justifySelf']>;
|
|
57
|
-
flexWrap?: React.CSSProperties['flexWrap'] | Array<React.CSSProperties['flexWrap']>;
|
|
58
|
-
direction?: React.CSSProperties['flexDirection'] | Array<React.CSSProperties['flexDirection']>;
|
|
59
|
-
flex?: React.CSSProperties['flex'] | Array<React.CSSProperties['flex']>;
|
|
60
|
-
flexGrow?: React.CSSProperties['flexGrow'] | Array<React.CSSProperties['flexGrow']>;
|
|
61
|
-
flexShrink?: React.CSSProperties['flexShrink'] | Array<React.CSSProperties['flexShrink']>;
|
|
62
|
-
flexBasis?: React.CSSProperties['flexBasis'] | Array<React.CSSProperties['flexBasis']>;
|
|
63
|
-
order?: React.CSSProperties['order'] | Array<React.CSSProperties['order']>;
|
|
64
|
-
bg?: React.CSSProperties['background'] | Array<React.CSSProperties['background']>;
|
|
65
|
-
bgImage?: React.CSSProperties['backgroundImage'] | Array<React.CSSProperties['backgroundImage']>;
|
|
66
|
-
bgColor?: React.CSSProperties['backgroundColor'] | NestedThemeType | Array<React.CSSProperties['backgroundColor']>;
|
|
67
|
-
bgSize?: React.CSSProperties['backgroundSize'] | Array<React.CSSProperties['backgroundSize']>;
|
|
68
|
-
bgPosition?: React.CSSProperties['backgroundPosition'] | Array<React.CSSProperties['backgroundPosition']>;
|
|
69
|
-
bgRepeat?: React.CSSProperties['backgroundRepeat'] | Array<React.CSSProperties['backgroundRepeat']>;
|
|
70
|
-
border?: React.CSSProperties['border'] | Array<React.CSSProperties['border']>;
|
|
71
|
-
borderWidth?: React.CSSProperties['borderWidth'] | Array<React.CSSProperties['borderWidth']>;
|
|
72
|
-
borderStyle?: React.CSSProperties['borderStyle'] | Array<React.CSSProperties['borderStyle']>;
|
|
73
|
-
borderColor?: React.CSSProperties['borderColor'] | NestedThemeType | Array<React.CSSProperties['borderColor']>;
|
|
74
|
-
borderTop?: React.CSSProperties['borderTop'] | Array<React.CSSProperties['borderTop']>;
|
|
75
|
-
borderTopWidth?: React.CSSProperties['borderTopWidth'] | Array<React.CSSProperties['borderTopWidth']>;
|
|
76
|
-
borderTopStyle?: React.CSSProperties['borderTopStyle'] | Array<React.CSSProperties['borderTopStyle']>;
|
|
77
|
-
borderTopColor?: React.CSSProperties['borderTopColor'] | Array<React.CSSProperties['borderTopColor']>;
|
|
78
|
-
borderRight?: React.CSSProperties['borderRight'] | Array<React.CSSProperties['borderRight']>;
|
|
79
|
-
borderRightWidth?: React.CSSProperties['borderRightWidth'] | Array<React.CSSProperties['borderRightWidth']>;
|
|
80
|
-
borderRightStyle?: React.CSSProperties['borderRightStyle'] | Array<React.CSSProperties['borderRightStyle']>;
|
|
81
|
-
borderRightColor?: React.CSSProperties['borderRightColor'] | Array<React.CSSProperties['borderRightColor']>;
|
|
82
|
-
borderBottom?: React.CSSProperties['borderBottom'] | Array<React.CSSProperties['borderBottom']>;
|
|
83
|
-
borderBottomWidth?: React.CSSProperties['borderBottomWidth'] | Array<React.CSSProperties['borderBottomWidth']>;
|
|
84
|
-
borderBottomStyle?: React.CSSProperties['borderBottomStyle'] | Array<React.CSSProperties['borderBottomStyle']>;
|
|
85
|
-
borderBottomColor?: React.CSSProperties['borderBottomColor'] | Array<React.CSSProperties['borderBottomColor']>;
|
|
86
|
-
borderLeft?: React.CSSProperties['borderLeft'] | Array<React.CSSProperties['borderLeft']>;
|
|
87
|
-
borderLeftWidth?: React.CSSProperties['borderLeftWidth'] | Array<React.CSSProperties['borderLeftWidth']>;
|
|
88
|
-
borderLeftStyle?: React.CSSProperties['borderLeftStyle'] | Array<React.CSSProperties['borderLeftStyle']>;
|
|
89
|
-
borderLeftColor?: React.CSSProperties['borderLeftColor'] | Array<React.CSSProperties['borderLeftColor']>;
|
|
90
|
-
borderRadius?: React.CSSProperties['borderRadius'] | Array<React.CSSProperties['borderRadius']>;
|
|
91
|
-
borderTopLeftRadius?: React.CSSProperties['borderTopLeftRadius'] | Array<React.CSSProperties['borderTopLeftRadius']>;
|
|
92
|
-
borderTopRightRadius?: React.CSSProperties['borderTopRightRadius'] | Array<React.CSSProperties['borderTopRightRadius']>;
|
|
93
|
-
borderBottomRightRadius?: React.CSSProperties['borderBottomRightRadius'] | Array<React.CSSProperties['borderBottomRightRadius']>;
|
|
94
|
-
borderBottomLeftRadius?: React.CSSProperties['borderBottomLeftRadius'] | Array<React.CSSProperties['borderBottomLeftRadius']>;
|
|
95
|
-
position?: React.CSSProperties['position'] | Array<React.CSSProperties['position']>;
|
|
96
|
-
zIndex?: React.CSSProperties['zIndex'] | Array<React.CSSProperties['zIndex']>;
|
|
97
|
-
top?: React.CSSProperties['top'] | Array<React.CSSProperties['top']>;
|
|
98
|
-
right?: React.CSSProperties['right'] | Array<React.CSSProperties['right']>;
|
|
99
|
-
bottom?: React.CSSProperties['bottom'] | Array<React.CSSProperties['bottom']>;
|
|
100
|
-
left?: React.CSSProperties['left'] | Array<React.CSSProperties['left']>;
|
|
101
|
-
boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType;
|
|
102
|
-
animation?: React.CSSProperties['animation'] | Array<React.CSSProperties['animation']>;
|
|
103
|
-
visibility?: React.CSSProperties['visibility'] | Array<React.CSSProperties['visibility']>;
|
|
104
|
-
cursor?: React.CSSProperties['cursor'] | Array<React.CSSProperties['cursor']>;
|
|
105
|
-
round?: IntensityType;
|
|
106
|
-
whiteSpace?: React.CSSProperties['whiteSpace'] | Array<React.CSSProperties['whiteSpace']>;
|
|
107
|
-
wordBreak?: React.CSSProperties['wordBreak'] | Array<React.CSSProperties['wordBreak']>;
|
|
108
|
-
gridTemplateColumns?: React.CSSProperties['gridTemplateColumns'] | Array<React.CSSProperties['gridTemplateColumns']>;
|
|
109
|
-
_hover?: string;
|
|
110
|
-
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
111
|
-
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
112
|
-
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
113
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IStyledTheme } from '../Styled/model';
|
|
2
|
-
import { BoxShadowIntensityType, IBoxComponentProps } from './model';
|
|
3
|
-
export declare const getNumberOrStringValue: (value?: string | number | undefined) => string;
|
|
4
|
-
export declare const getNestedValue: (value?: string | number | undefined, pallete?: IStyledTheme | undefined) => any;
|
|
5
|
-
export declare const getRoundness: (round?: "base" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined) => "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;
|
|
6
|
-
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => string | undefined;
|
|
7
|
-
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, IBoxComponentProps, never>;
|
|
@@ -1,6 +0,0 @@
|
|
|
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 StyledButtonNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
-
export declare const StyledButtonInverse: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
|
-
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
@@ -1,7 +0,0 @@
|
|
|
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,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ICarouselComponentProps {
|
|
3
|
-
accessibility?: boolean;
|
|
4
|
-
adaptiveHeight?: boolean;
|
|
5
|
-
afterChange?: (index: number) => void;
|
|
6
|
-
appendDots?: (dots: any) => any;
|
|
7
|
-
arrows?: boolean;
|
|
8
|
-
autoplaySpeed?: number;
|
|
9
|
-
autoplay?: boolean;
|
|
10
|
-
beforeChange?: (oldIndex: number, newIndex: number) => void;
|
|
11
|
-
centerMode?: boolean;
|
|
12
|
-
centerPadding?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
dotsClass?: string;
|
|
15
|
-
dots?: boolean;
|
|
16
|
-
draggable?: boolean;
|
|
17
|
-
easing?: string;
|
|
18
|
-
fade?: boolean;
|
|
19
|
-
focusOnSelect?: boolean;
|
|
20
|
-
infinite?: boolean;
|
|
21
|
-
initialSlide?: number;
|
|
22
|
-
onInit?: () => void;
|
|
23
|
-
onReInit?: () => void;
|
|
24
|
-
pauseOnDotsHover?: boolean;
|
|
25
|
-
pauseOnFocus?: boolean;
|
|
26
|
-
pauseOnHover?: boolean;
|
|
27
|
-
slide?: string;
|
|
28
|
-
slidesToScroll?: number;
|
|
29
|
-
slidesToShow?: number;
|
|
30
|
-
speed?: number;
|
|
31
|
-
swipe?: boolean;
|
|
32
|
-
customDot?: React.ReactElement;
|
|
33
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../index';
|
|
3
|
-
export declare const StyledCarousel: import("styled-components").StyledComponent<any, any, object & import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, string | number | symbol>;
|
|
4
|
-
export declare const StyledDot: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ILabelComponentProps } from '../Label/model';
|
|
4
|
-
import { ICheckboxComponentProps, ICheckboxIconComponentProps } from './model';
|
|
5
|
-
export declare const Checkbox: React.FC<ICheckboxComponentProps>;
|
|
6
|
-
export declare const CheckboxIcon: React.FC<ICheckboxIconComponentProps>;
|
|
7
|
-
export declare const CheckboxLabel: React.FC<ILabelComponentProps>;
|
|
8
|
-
export declare const CheckboxDescription: React.FC<IBoxComponentProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
-
export interface ICheckboxComponentProps extends IBoxComponentProps {
|
|
5
|
-
onClickCheckbox?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
|
-
dataLabel?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ICheckboxIconComponentProps extends IBoxComponentProps {
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ILabelComponentProps } from '../Label/model';
|
|
3
|
-
import { ICheckboxComponentProps } from './model';
|
|
4
|
-
export declare const StyledCheckbox: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
|
-
export declare const StyledCheckboxIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ICheckboxComponentProps>, never>;
|
|
6
|
-
export declare const StyledCheckboxLabel: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps, KeyboardDatePickerProps } from '@material-ui/pickers';
|
|
2
|
-
import { IInputComponentProps } from '../Input/model';
|
|
3
|
-
export declare type PickerType = 'date' | 'date-keyboard';
|
|
4
|
-
export interface IDatePickerCommonProps {
|
|
5
|
-
inputComponentProps?: IInputComponentProps;
|
|
6
|
-
pickerType?: PickerType;
|
|
7
|
-
}
|
|
8
|
-
export interface IDatePickerComponentProps extends IDatePickerCommonProps, DatePickerProps {
|
|
9
|
-
}
|
|
10
|
-
export interface IDatePickerKeyboardComponentProps extends IDatePickerCommonProps, KeyboardDatePickerProps {
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DateRangePickerProps } from 'react-date-range';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IInputComponentProps } from '../Input/model';
|
|
4
|
-
export interface IDateRangePickerComponentProps extends DateRangePickerProps {
|
|
5
|
-
inputProps?: IInputComponentProps;
|
|
6
|
-
pickerWrapperProps?: IBoxComponentProps;
|
|
7
|
-
wrapperProps?: IBoxComponentProps;
|
|
8
|
-
}
|
|
9
|
-
export interface IRangeSelection {
|
|
10
|
-
endDate: Date;
|
|
11
|
-
key: string;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DateTimePickerProps, KeyboardDateTimePickerProps } from '@material-ui/pickers';
|
|
2
|
-
import { IInputComponentProps } from '../Input/model';
|
|
3
|
-
export declare type PickerType = 'date-time' | 'date-time-keyboard';
|
|
4
|
-
export interface IDateTimePickerCommonProps {
|
|
5
|
-
inputComponentProps?: IInputComponentProps;
|
|
6
|
-
pickerType?: PickerType;
|
|
7
|
-
}
|
|
8
|
-
export interface IDateTimePickerComponentProps extends IDateTimePickerCommonProps, DateTimePickerProps {
|
|
9
|
-
}
|
|
10
|
-
export interface IDateTimePickerKeyboardComponentProps extends IDateTimePickerCommonProps, KeyboardDateTimePickerProps {
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
-
export declare const Drawer: React.FC<IDrawerComponentProps>;
|
|
5
|
-
export declare const DrawerContent: React.FC<IDrawerContentComponentProps>;
|
|
6
|
-
export declare const DrawerHeader: React.FC<IBoxComponentProps>;
|
|
7
|
-
export declare const DrawerBody: React.FC<IBoxComponentProps>;
|
|
8
|
-
export declare const DrawerFooter: React.FC<IBoxComponentProps>;
|
|
9
|
-
export declare const DrawerCloseButton: React.FC<IBoxComponentProps>;
|
|
10
|
-
export declare const DrawerOverlay: React.FC<IDrawerOverlayComponentProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
export declare type IContentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
4
|
-
export interface IDrawerComponentProps extends IBoxComponentProps {
|
|
5
|
-
isOpen?: boolean;
|
|
6
|
-
placement?: 'bottom' | 'left' | 'right' | 'top';
|
|
7
|
-
size?: IContentSize;
|
|
8
|
-
closeOnEsc?: boolean;
|
|
9
|
-
closeOnOverlayClick?: boolean;
|
|
10
|
-
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
11
|
-
onOpen?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export interface IDrawerContentComponentProps extends IBoxComponentProps {
|
|
14
|
-
isOpen?: boolean;
|
|
15
|
-
size?: IContentSize;
|
|
16
|
-
placement?: 'bottom' | 'left' | 'right' | 'top';
|
|
17
|
-
}
|
|
18
|
-
export interface IDrawerOverlayComponentProps extends IBoxComponentProps {
|
|
19
|
-
isOpen?: boolean;
|
|
20
|
-
onOpen?: () => void;
|
|
21
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
|
|
4
|
-
export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "20%" | "35%" | "50%" | "65%" | "80%" | "100%" | undefined;
|
|
5
|
-
export declare const StyledDrawer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerComponentProps, never>;
|
|
6
|
-
export declare const StyledDrawerContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
7
|
-
export declare const StyledDrawerContentRight: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
8
|
-
export declare const StyledDrawerContentRightIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
9
|
-
export declare const StyledDrawerContentRightOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
10
|
-
export declare const StyledDrawerContentLeft: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
11
|
-
export declare const StyledDrawerContentLeftIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
12
|
-
export declare const StyledDrawerContentLeftOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
13
|
-
export declare const StyledDrawerContentTop: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
14
|
-
export declare const StyledDrawerContentTopIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
15
|
-
export declare const StyledDrawerContentTopOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
16
|
-
export declare const StyledDrawerContentBottom: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
17
|
-
export declare const StyledDrawerContentBottomIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
18
|
-
export declare const StyledDrawerContentBottomOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
|
|
19
|
-
export declare const StyledDrawerHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
20
|
-
export declare const StyledDrawerBody: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
21
|
-
export declare const StyledDrawerFooter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
22
|
-
export declare const StyledDrawerCloseButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
|
|
23
|
-
export declare const StyledDrawerOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
24
|
-
export declare const StyledDrawerOverlayFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
25
|
-
export declare const StyledDrawerOverlayFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerOverlayComponentProps, never>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IExpandableCommonComponentProps, IExpandableComponentProps, IExpandableItemComponentProps } from './model';
|
|
4
|
-
export declare const Expandable: React.FC<IExpandableComponentProps>;
|
|
5
|
-
export declare const ExpandableItem: React.FC<IExpandableItemComponentProps>;
|
|
6
|
-
export declare const ExpandableItemContainer: React.FC<IExpandableItemComponentProps>;
|
|
7
|
-
export declare const ExpandableItemText: React.FC<IBoxComponentProps>;
|
|
8
|
-
export declare const ExpandableItemButton: React.FC<IExpandableCommonComponentProps>;
|
|
9
|
-
export declare const ExpandableItemContent: React.FC<IExpandableCommonComponentProps>;
|