@moosend/mooskin 1.0.0-alpha.117 → 1.0.0-alpha.118
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/Box/model.d.ts +2 -2
- package/lib/Box/styles.d.ts +1 -1
- package/lib/Description/model.d.ts +4 -0
- package/lib/Drawer/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +17 -0
- package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +1 -1
- package/lib/components/ActionsDropdown/model.d.ts +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +2 -0
- package/lib/components/Box/model.d.ts +5 -0
- package/lib/components/Box/resources.d.ts +9 -0
- package/lib/components/Button/Button.d.ts +1 -0
- package/lib/components/Button/model.d.ts +0 -1
- package/lib/components/Button/styles.d.ts +2 -2
- package/lib/components/Checkbox/model.d.ts +1 -0
- package/lib/components/Checkbox/styles.d.ts +2 -2
- package/lib/components/DateRange/styles.d.ts +3 -0
- package/lib/components/Drawer/styles.d.ts +1 -1
- package/lib/components/Pagination/model.d.ts +2 -0
- package/lib/components/Radio/model.d.ts +1 -0
- package/lib/components/Radio/styles.d.ts +2 -2
- package/lib/components/Select/Select.d.ts +2 -2
- package/lib/components/Select/model.d.ts +3 -1
- package/lib/components/Select/styles.d.ts +4 -2
- package/lib/components/Styled/model.d.ts +18 -0
- package/lib/components/Tags/Tags.d.ts +1 -0
- package/lib/components/index/index.d.ts +2 -2
- package/lib/index/index.js +6 -6
- package/lib/stories/Button.stories.d.ts +0 -1
- package/package.json +1 -1
- 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/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
|
@@ -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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cyki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/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){}})});
|