@moosend/mooskin 1.0.3 → 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/README-legacy.md +212 -0
- package/lib/Drawer/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +3 -0
- package/lib/index/index.js +1 -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/components/ActionsDropdown/ActionsDropdown.d.ts +0 -6
- package/lib/components/ActionsDropdown/model.d.ts +0 -11
- package/lib/components/ActionsDropdown/styles.d.ts +0 -8
- 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 -118
- package/lib/components/Box/resources.d.ts +0 -9
- package/lib/components/Box/styles.d.ts +0 -7
- package/lib/components/Button/Button.d.ts +0 -7
- package/lib/components/Button/model.d.ts +0 -5
- package/lib/components/Button/styles.d.ts +0 -7
- 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 -13
- 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/DateRange/styles.d.ts +0 -3
- 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 -12
- 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 -14
- 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 -24
- package/lib/components/Select/styles.d.ts +0 -15
- 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 -119
- 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 -8
- 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/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
- 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 -7
- 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
package/lib/Label/index.d.ts
DELETED
package/lib/Label/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 r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="../",r(r.s=345)}({0:function(t,r){t.exports=e},314:function(e,t,r){e.exports={label:"label___3GghA"}},345:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(314),i=r.n(o);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 l(e,t){for(var r=0;r<t.length;r++){var n=t[r];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 c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,c(t).apply(this,arguments))).getContent=function(){var t=e.props,r=t.children,n=t.abbreviate,o=t.round;return!n&&!o||isNaN(r)?r:e.prettifyNumber(r)},e.prettifyNumber=function(t){var r=e.props,n=r.abbreviate,o=r.round,i=t,u={billion:1e9,million:1e6,thousand:1e3,trillion:1e12};if(t<u.thousand)return o&&t>=500&&(i=Number(e.roundValue(i.toString(),e.props.roundAccuracy||"high",u))),n&&i>=1e3&&(i=i/u.thousand+"K"),String(i);if(t>=u.thousand&&t<=999999){if(o&&(i=Number(e.roundValue(i.toString(),e.props.roundAccuracy||"high",u))),n){var l=e.getDecimalValue(i.toString(),"thousand");i=Math.trunc(i/u.thousand)+".".concat(l,"K"),i=e.removeZeros(i)}return String(i)}if(t>=u.million&&t<=u.billion){if(o&&(i=Number(e.roundValue(i.toString(),e.props.roundAccuracy||"high",u))),n){var a=e.getDecimalValue(i.toString(),"million");i=Math.trunc(i/u.million)+".".concat(a,"M"),i=e.removeZeros(i)}return String(i)}if(t>=u.billion&&t<=u.trillion){if(o&&(i=Number(e.roundValue(i.toString(),e.props.roundAccuracy||"high",u))),n){var c=e.getDecimalValue(i.toString(),"billion");i=Math.trunc(i/u.billion)+".".concat(c,"B"),i=e.removeZeros(i)}return i}if(o&&(i=Number(e.roundValue(i.toString(),e.props.roundAccuracy||"high",u))),n){var f=e.getDecimalValue(i.toString(),"trillion");i=Math.trunc(i/u.trillion)+".".concat(f,"T"),i=e.removeZeros(i)}return i},e.roundValue=function(e,t,r){var n=e.split("");if(e.length<4)return"high"===t?10*Math.round(Number(e)/10):"low"===t?100*Math.round(Number(e)/100):e;if(e.length<7){if("high"===t){var o=100*Math.round(Number(n.slice(n.length-3).join(""))/100);return n.splice(n.length-3,3),n.join("")+o}if("low"===t)return Math.round(Number(e)/r.thousand)*r.thousand}else if(e.length<10){if("high"===t){var i=100*Math.round(Number(n.slice(n.length-6,4).join(""))/100);return n.splice(n.length-6,6),n.join("")+i*r.thousand}if("low"===t)return Math.round(Number(e)/r.million)*r.million}else if(e.length<13){if("high"===t){var u=100*Math.round(Number(n.slice(n.length-9,4).join(""))/100);return n.splice(n.length-9,9),n.join("")+u*r.million}if("low"===t)return Math.round(Number(e)/r.billion)*r.billion}else if(e.length<16){if("high"===t){var l=100*Math.round(Number(n.slice(n.length-12,4).join(""))/100);return n.splice(n.length-12,12),n.join("")+l*r.billion}if("low"===t)return Math.round(Number(e)/r.trillion)*r.trillion}return e},e.getDecimalValue=function(t,r){var n=e.props.abbrAccuracy,o=t.split("");return"thousand"===r?n?o.splice(o.length-3,n).join(""):0:"million"===r?n?o.splice(o.length-6,n).join(""):0:"billion"===r?n?o.splice(o.length-9,n).join(""):0:"trillion"===r?n?o.splice(o.length-12,n).join(""):0:void 0},e.removeZeros=function(t){var r=e.props.abbrAccuracy;return 0===r?t.replace(".0",""):r&&r>0?t.replace("."+"0".repeat(r),""):t},e}var r,o,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&&f(e,t)}(t,n["Component"]),r=t,(o=[{key:"render",value:function(){var e=this.props,t=e.className,r=e.style,o=this.getContent();return n.createElement("span",{style:r,className:"label-component ".concat(i.a.label," ").concat(t)},o)}}])&&l(r.prototype,o),u&&l(r,u),t}();s.defaultProps={abbrAccuracy:1,className:"",style:{},type:"string"},s.displayName="Label";t.default=s}})});
|
package/lib/Label/style.css
DELETED
package/lib/List/index.d.ts
DELETED
package/lib/List/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 n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=224)}({0:function(t,n){t.exports=e},224:function(e,t,n){"use strict";n.r(t);var r=n(56);n.d(t,"ListItem",function(){return r.c}),n.d(t,"ExpandedSection",function(){return r.a}),n.d(t,"ItemContent",function(){return r.b}),t.default=r.e},30:function(e,t,n){e.exports={list:"list___28ECv",listItem:"listItem___1cwcR",content:"content___tsw35",expandedSection:"expandedSection___WFyq_",arrow:"arrow___1j_pg",innerArrow:"innerArrow___1RM3O",borderArrow:"borderArrow___6bbum",detailsContainer:"detailsContainer___3FE4O",titleContainer:"titleContainer___3ZbfE"}},56:function(e,t,n){"use strict";n.d(t,"e",function(){return f}),n.d(t,"c",function(){return d}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"b",function(){return y});var r=n(0),o=n(30),i=n.n(o);function c(e){return(c="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 a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==c(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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,s(t).call(this,e))}var n,o,c;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&&l(e,t)}(t,r["Component"]),n=t,(o=[{key:"render",value:function(){var e="".concat(i.a.list," ").concat(this.props.className);return r.createElement("div",{className:"list-component ".concat(e),style:this.props.style,id:this.props.id},this.props.children)}}])&&a(n.prototype,o),c&&a(n,c),t}();f.defaultProps={className:"",style:{}},f.displayName="List";var d=function(e){var t=e.className,n=e.style;return r.createElement("div",{className:"listitem-component ".concat(i.a.listItem," ").concat(t),style:Object.assign({},n),onClick:e.onClick},e.children)};d.defaultProps={className:"",style:{}},d.displayName="ListItem";var p=function(e){var t=e.expanded?{display:"block"}:{display:"none"},n=void 0===e.arrow||e.arrow;return r.createElement("div",{id:e.id,className:"expanded-section-component ".concat(i.a.expandedSection," ").concat(e.className),style:Object.assign({},t,e.style),onClick:function(e){return e.stopPropagation()}},m(n),e.children)};p.displayName="ExpandedSection";var m=function(e,t){var n=t||void 0;return e&&r.createElement("div",{key:n,className:i.a.arrow},r.createElement("div",{style:{position:"relative",height:"100%",width:"100%"}},r.createElement("div",{className:i.a.innerArrow}),r.createElement("div",{className:i.a.borderArrow})))||null},y=function(e){return r.createElement("div",{id:e.id,className:"item-content-component ".concat(i.a.content," ").concat(e.className),style:e.style},e.children)};y.displayName="ItemContent"}})});
|
package/lib/List/style.css
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans:500|Convergence);
|
|
2
|
-
.list___28ECv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#fff;border-top:1px solid #efefef;border-bottom:1px solid #efefef}.listItem___1cwcR{position:relative}.listItem___1cwcR+.listItem___1cwcR{border-top:1px solid #efefef}.content___tsw35:hover{background:#f6f6f6}.expandedSection___WFyq_{background:#f9f9f9;border-top:1px solid #eaeaea;border-bottom:1px solid #eaeaea;-webkit-transition:all .4s;transition:all .4s;position:relative}.arrow___1j_pg{top:1px;left:20px;z-index:5;position:absolute}.innerArrow___1RM3O{border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #eaeaea}.borderArrow___6bbum,.innerArrow___1RM3O{width:0;height:0;position:absolute;bottom:0}.borderArrow___6bbum{border-left:19px solid transparent;border-right:19px solid transparent;border-bottom:19px solid #f9f9f9;z-index:11;left:1px}@media(max-width:768px){.detailsContainer___3FE4O{margin-bottom:15px}.titleContainer___3ZbfE{-webkit-box-flex:3;-ms-flex:3;flex:3 1}}
|
package/lib/Loader/index.d.ts
DELETED
package/lib/Loader/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=346)}({0:function(t,o){t.exports=e},346:function(e,t,o){"use strict";o.r(t);var n=o(0),r=o(80),i=o.n(r);function a(e){return(a="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 u(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 c(e,t){return!t||"object"!==a(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 p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,f(t).apply(this,arguments))}var o,r,a;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&&p(e,t)}(t,n["Component"]),o=t,(r=[{key:"render",value:function(){var e=this.props.active?"":i.a.hidden,t=this.props.loader?this.props.loader:"https://image.ibb.co/cMfEhU/loader.png",o=this.props.animation?this.props.animation:i.a.animation;return n.createElement("div",{style:this.props.style,id:this.props.id,className:"loader-component ".concat(i.a.loader," ").concat(e," ").concat(this.props.className)},n.createElement("img",{src:t,className:"".concat(i.a.image," ").concat(o)}))}}])&&u(o.prototype,r),a&&u(o,a),t}();s.defaultProps={className:"",style:{}},s.displayName="Loader";t.default=s},80:function(e,t,o){e.exports={loader:"loader___1VV5C",image:"image___nHGlk",animation:"animation___1pHjx",two:"two___IO5ou",hidden:"hidden___1t_8q"}}})});
|
package/lib/Loader/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.loader___1VV5C{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute}.image___nHGlk{width:80px}.animation___1pHjx{-webkit-animation:two___IO5ou 2s infinite;animation:two___IO5ou 2s infinite}@-webkit-keyframes two___IO5ou{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes two___IO5ou{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.hidden___1t_8q{display:none}
|
package/lib/LoadingBar/index.js
DELETED
|
@@ -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 r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="../",r(r.s=347)}({0:function(e,r){e.exports=t},347:function(t,e,r){"use strict";r.r(e);var o=r(0),n=r(68),i=r.n(n);function s(t){return(s="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 u(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function a(t,e){return!e||"object"!==s(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 c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var f=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=a(this,c(e).call(this,t))).isFull=function(){r.state.width>=100&&(r.setState({wait:!0}),r.state.error&&!r.state.full&&r.props.onError&&r.props.onError(),setTimeout(function(){r.setState({full:!0}),!r.state.error&&r.props.onProgressDone&&r.props.onProgressDone(),setTimeout(function(){r.setState({show:!1,wait:!1,width:0}),setTimeout(function(){r.setState({error:!1,full:!1,show:!0})})},250)},700))},r.styling=function(){return r.state.wait?{width:"100%"}:{width:"".concat(r.state.width,"%")}},r.getDirectionClasses=function(){return"right"===r.props.direction?i.a.loadingRight:"left"===r.props.direction?i.a.loadingLeft:void 0},r.state={error:!1,full:!1,show:!0,wait:!1,width:0},r}var r,n,s;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&&l(t,e)}(e,o["Component"]),r=e,(n=[{key:"componentDidMount",value:function(){this.setState({width:this.props.progress})}},{key:"componentWillReceiveProps",value:function(t){t.progress!==this.props.progress&&this.setState({width:t.progress},this.isFull),t.error!==this.props.error&&t.error&&this.setState({width:100,error:!0},this.isFull)}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.id,n=t.style,s=this.state,u=s.show,a=s.full,c=s.error,l=this.getDirectionClasses(),f=c?i.a.error:"",p=a?i.a.full:"",d="loading-component ".concat(i.a.loadingBar," ").concat(l," ").concat(f," ").concat(p," ").concat(e);return u?o.createElement("div",{id:r,className:d,style:Object.assign({},n,this.styling())}):null}}])&&u(r.prototype,n),s&&u(r,s),e}();f.defaultProps={className:"",direction:"right",progress:0,style:{}},f.displayName="LoadingBar";e.default=f},68:function(t,e,r){t.exports={loadingBar:"loadingBar___34eQF",error:"error___9-I1G",loadingRight:"loadingRight___jRrGs",loadingLeft:"loadingLeft___3gnBK",full:"full___2knZN"}}})});
|
package/lib/LoadingBar/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.loadingBar___34eQF{-webkit-transition:all .4s ease;transition:all .4s ease;position:fixed;top:0;height:5px;background:#f48770;-webkit-box-shadow:-3px 0 15px 1px rgba(244,135,112,.4);box-shadow:-3px 0 15px 1px rgba(244,135,112,.4);z-index:9999}.error___9-I1G{background:#c00;-webkit-box-shadow:-3px 0 15px 1px rgba(204,0,0,.4);box-shadow:-3px 0 15px 1px rgba(204,0,0,.4)}.loadingRight___jRrGs{left:0}.loadingLeft___3gnBK{right:0}.full___2knZN{-webkit-transition:all .1s ease;transition:all .1s ease;height:0;opacity:0}
|
package/lib/Modal/index.d.ts
DELETED
package/lib/Modal/index.js
DELETED
|
@@ -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 r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));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=348)}({0:function(e,n){e.exports=t},28:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(51),c=n.n(r);function i(t){return(i="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 u(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 a(t,e){return!e||"object"!==i(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 f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,f(e).apply(this,arguments))}var n,r,i;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&&l(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,i=t.children,u="h1-component ".concat(c.a.h1," ").concat(n);return o.createElement("div",{id:e,className:u,style:r},i)}}])&&u(n.prototype,r),i&&u(n,i),e}();s.defaultProps={className:"",style:{}},s.displayName="H1";var p=s,y=n(43),b=n(52),m=n.n(b);function d(t){return(d="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 h(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 _(t,e){return!e||"object"!==d(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 v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var w=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),_(this,v(e).apply(this,arguments))}var n,r,c;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&&O(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,c=t.children,i="h3-component ".concat(m.a.h3," ").concat(n);return o.createElement("div",{id:e,className:i,style:r},c)}}])&&h(n.prototype,r),c&&h(n,c),e}();w.defaultProps={className:"",style:{}},w.displayName="H3";var j=w,g=n(53),P=n.n(g);function S(t){return(S="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 E(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 N(t,e){return!e||"object"!==S(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 k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var C=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),N(this,k(e).apply(this,arguments))}var n,r,c;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&&x(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,c=t.children,i="h4-component ".concat(P.a.h4," ").concat(n);return o.createElement("div",{id:e,className:i,style:r},c)}}])&&E(n.prototype,r),c&&E(n,c),e}();C.defaultProps={className:"",style:{}},C.displayName="H4";var T=C,H=n(54),R=n.n(H);function B(t){return(B="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 I(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 M(t,e){return!e||"object"!==B(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 q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Q=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),M(this,q(e).apply(this,arguments))}var n,r,c;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&&K(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,c=t.children,i="h5-component ".concat(R.a.h5," ").concat(n);return o.createElement("div",{id:e,className:i,style:r},c)}}])&&I(n.prototype,r),c&&I(n,c),e}();Q.defaultProps={className:"",style:{}},Q.displayName="H5";var U=Q,W=n(55),D=n.n(W);function F(t){return(F="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 X(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 Z(t,e){return!e||"object"!==F(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 L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var A=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Z(this,L(e).apply(this,arguments))}var n,r,c;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&&z(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,c=t.children,i="h6-component ".concat(D.a.h6," ").concat(n);return o.createElement("div",{id:e,className:i,style:r},c)}}])&&X(n.prototype,r),c&&X(n,c),e}();A.defaultProps={className:"",style:{}},A.displayName="H6";var G=A;n.d(e,"H1",function(){return p}),n.d(e,"H2",function(){return y.a}),n.d(e,"H3",function(){return j}),n.d(e,"H4",function(){return T}),n.d(e,"H5",function(){return U}),n.d(e,"H6",function(){return G})},348:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(69),c=n.n(r),i=n(28),u=n(49);function a(t){return(a="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 l(t,e){return!e||"object"!==a(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 s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var y=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,s(e).apply(this,arguments))).getHeader=function(){var e=o.createElement(u.default,{transparent:!0,icon:"close",onClick:t.props.onClickClose});return t.props.title?o.createElement("div",{className:c.a.header},o.createElement(i.H2,{style:{margin:"auto"}},t.props.title),o.createElement("div",{className:c.a.iconWrapper},e)):o.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end"}},e)},t.getOverlay=function(){return o.createElement("div",{className:c.a.cover,onClick:t.props.onClickOverlay})},t}var n,r,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&&p(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){return o.createElement("div",{className:"modal-component ".concat(c.a.container," ").concat(this.props.className),id:this.props.id},o.createElement("div",{className:c.a.modal,style:this.props.style},this.getHeader(),this.props.children),this.getOverlay())}}])&&f(n.prototype,r),a&&f(n,a),e}();y.defaultProps={className:"",style:{}},y.displayName="Modal";e.default=y},43:function(t,e,n){"use strict";var o=n(0),r=n(48),c=n.n(r);function i(t){return(i="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 u(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 a(t,e){return!e||"object"!==i(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 f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,f(e).apply(this,arguments))}var n,r,i;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&&l(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,r=t.style,i=t.children,u="h2-component ".concat(c.a.h2," ").concat(n);return o.createElement("div",{id:e,className:u,style:r},i)}}])&&u(n.prototype,r),i&&u(n,i),e}();s.defaultProps={className:"",style:{}},s.displayName="H2",e.a=s},48:function(t,e,n){t.exports={h2:"h2___a5XKj"}},49:function(t,e,n){"use strict";n.r(e);var o=n(50);e.default=o.a},50:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var o=n(0),r=n(7),c=n.n(r),i=n(9),u=n.n(i);function a(t){return(a="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 l(t,e){return!e||"object"!==a(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 s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var y={outlined:u.a.outlined,round:u.a.round,sharp:u.a.sharp,twotone:u.a.twoTone},b=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,s(e).apply(this,arguments))).onClick=function(e){!t.props.disabled&&t.props.onClick&&t.props.onClick(e)},t.getIcon=function(){return t.props.icon?t.props.icon.replace(/\s/g,"_"):""},t}var n,r,i;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&&p(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){var t=this.props,e=t.style,n=t.transparent,r=t.disabled,i=t.className,a=t.id,f=t.type,l=n?u.a.transparent:u.a.normalButton,s=r?u.a.disabledButton:"",p=this.getIcon(),b=f&&y[f]?y[f]:"",m="button-icon-component\n ".concat(u.a.button,"\n ").concat(l,"\n ").concat(s,"\n ").concat(i);return o.createElement("button",{id:a,onClick:this.onClick,disabled:r,className:m,title:this.props.title,style:e},o.createElement("i",{className:"".concat(c.a.mooskinIcons," ").concat(u.a.icon," ").concat(b)},p))}}])&&f(n.prototype,r),i&&f(n,i),e}();b.defaultProps={className:"",style:{},type:""},b.displayName="SmallIconButton"},51:function(t,e,n){t.exports={h1:"h1___3EqyH"}},52:function(t,e,n){t.exports={h3:"h3___3O03q"}},53:function(t,e,n){t.exports={h4:"h4___Uo5Q6"}},54:function(t,e,n){t.exports={h5:"h5___3UM6s"}},55:function(t,e,n){t.exports={h6:"h6___3P7kB"}},69:function(t,e,n){t.exports={container:"container___3mETe",modal:"modal___2ZtSU",cover:"cover___3jkeP",header:"header___1kQsc",iconWrapper:"iconWrapper___2ga2b"}},7:function(t,e,n){t.exports={mooskinIcons:"mooskinIcons___2i54i"}},9:function(t,e,n){t.exports={button:"button___2-L3K",disabledButton:"disabledButton___1e1jx",normalButton:"normalButton___2dyrQ",transparent:"transparent___10ND3",icon:"icon___oOv43",outlined:"outlined___1X5wR",round:"round___2udth",sharp:"sharp___156K3",twotone:"twotone___1FFZr"}}})});
|