@moosend/mooskin 1.0.1 → 1.0.2

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.
Files changed (146) hide show
  1. package/README-legacy.md +212 -0
  2. package/lib/Description/model.d.ts +4 -0
  3. package/lib/Drawer/styles.d.ts +1 -1
  4. package/lib/Styled/model.d.ts +12 -0
  5. package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
  6. package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
  7. package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  8. package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  9. package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
  10. package/lib/components/Styled/model.d.ts +0 -15
  11. package/lib/index/index.js +6 -6
  12. package/package.json +1 -1
  13. package/lib/Button/index.d.ts +0 -2
  14. package/lib/Button/index.js +0 -1
  15. package/lib/Button/style.css +0 -1
  16. package/lib/Carousel/index.d.ts +0 -2
  17. package/lib/Carousel/index.js +0 -12
  18. package/lib/Carousel/style.css +0 -326
  19. package/lib/CheckListItem/CheckListItem.d.ts +0 -24
  20. package/lib/CheckListItem/index.d.ts +0 -2
  21. package/lib/CheckListItem/index.js +0 -1
  22. package/lib/CheckListItem/style.css +0 -5
  23. package/lib/Checkbox/index.d.ts +0 -3
  24. package/lib/Checkbox/index.js +0 -1
  25. package/lib/Checkbox/style.css +0 -14
  26. package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
  27. package/lib/ClipboardButton/index.d.ts +0 -2
  28. package/lib/ClipboardButton/index.js +0 -1
  29. package/lib/ClipboardButton/style.css +0 -1
  30. package/lib/DatePicker/index.d.ts +0 -3
  31. package/lib/DatePicker/index.js +0 -12
  32. package/lib/DatePicker/style.css +0 -7
  33. package/lib/DateRange/index.d.ts +0 -2
  34. package/lib/DateRange/index.js +0 -12
  35. package/lib/DateRange/style.css +0 -19
  36. package/lib/Fieldset/Fieldset.d.ts +0 -16
  37. package/lib/Fieldset/index.d.ts +0 -2
  38. package/lib/Fieldset/index.js +0 -1
  39. package/lib/Fieldset/style.css +0 -2
  40. package/lib/File/FileUpload.d.ts +0 -43
  41. package/lib/File/index.d.ts +0 -2
  42. package/lib/File/index.js +0 -1
  43. package/lib/File/style.css +0 -1
  44. package/lib/Form/Form.d.ts +0 -36
  45. package/lib/Form/index.d.ts +0 -3
  46. package/lib/Form/index.js +0 -1
  47. package/lib/Form/style.css +0 -1
  48. package/lib/Grid/index.d.ts +0 -4
  49. package/lib/Grid/index.js +0 -1
  50. package/lib/Grid/style.css +0 -1
  51. package/lib/Headings/H1/H1.d.ts +0 -11
  52. package/lib/Headings/H2/H2.d.ts +0 -11
  53. package/lib/Headings/H3/H3.d.ts +0 -11
  54. package/lib/Headings/H4/H4.d.ts +0 -11
  55. package/lib/Headings/H5/H5.d.ts +0 -11
  56. package/lib/Headings/H6/H6.d.ts +0 -11
  57. package/lib/Headings/index.d.ts +0 -6
  58. package/lib/Headings/index.js +0 -1
  59. package/lib/Headings/props.d.ts +0 -7
  60. package/lib/Headings/style.css +0 -12
  61. package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
  62. package/lib/HorizontalRangeBar/index.d.ts +0 -2
  63. package/lib/HorizontalRangeBar/index.js +0 -1
  64. package/lib/HorizontalRangeBar/style.css +0 -1
  65. package/lib/Input/index.d.ts +0 -2
  66. package/lib/Input/index.js +0 -1
  67. package/lib/Input/style.css +0 -465
  68. package/lib/Label/index.d.ts +0 -2
  69. package/lib/Label/index.js +0 -1
  70. package/lib/Label/style.css +0 -2
  71. package/lib/List/index.d.ts +0 -3
  72. package/lib/List/index.js +0 -1
  73. package/lib/List/style.css +0 -2
  74. package/lib/Loader/index.d.ts +0 -2
  75. package/lib/Loader/index.js +0 -1
  76. package/lib/Loader/style.css +0 -1
  77. package/lib/LoadingBar/index.d.ts +0 -2
  78. package/lib/LoadingBar/index.js +0 -1
  79. package/lib/LoadingBar/style.css +0 -1
  80. package/lib/Modal/index.d.ts +0 -2
  81. package/lib/Modal/index.js +0 -1
  82. package/lib/Modal/style.css +0 -15
  83. package/lib/Pagination/index.d.ts +0 -2
  84. package/lib/Pagination/index.js +0 -1
  85. package/lib/Pagination/style.css +0 -1
  86. package/lib/Radio/index.d.ts +0 -3
  87. package/lib/Radio/index.js +0 -1
  88. package/lib/Radio/style.css +0 -13
  89. package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
  90. package/lib/RadioAccordion/index.d.ts +0 -3
  91. package/lib/RadioAccordion/index.js +0 -1
  92. package/lib/RadioAccordion/style.css +0 -1
  93. package/lib/Select/index.d.ts +0 -3
  94. package/lib/Select/index.js +0 -1
  95. package/lib/Select/style.css +0 -2
  96. package/lib/SideBar/SideBar.d.ts +0 -79
  97. package/lib/SideBar/index.d.ts +0 -3
  98. package/lib/SideBar/index.js +0 -1
  99. package/lib/SideBar/style.css +0 -3
  100. package/lib/Slider/index.d.ts +0 -3
  101. package/lib/Slider/index.js +0 -1
  102. package/lib/Slider/style.css +0 -2
  103. package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
  104. package/lib/SmallIconButton/index.d.ts +0 -2
  105. package/lib/SmallIconButton/index.js +0 -1
  106. package/lib/SmallIconButton/style.css +0 -2
  107. package/lib/StatsBox/StatsBox.d.ts +0 -16
  108. package/lib/StatsBox/index.d.ts +0 -2
  109. package/lib/StatsBox/index.js +0 -1
  110. package/lib/StatsBox/style.css +0 -2
  111. package/lib/Steps/index.d.ts +0 -3
  112. package/lib/Steps/index.js +0 -1
  113. package/lib/Steps/style.css +0 -1
  114. package/lib/Switch/index.d.ts +0 -2
  115. package/lib/Switch/index.js +0 -1
  116. package/lib/Switch/style.css +0 -1
  117. package/lib/TabbedContent/TabbedContent.d.ts +0 -72
  118. package/lib/TabbedContent/index.d.ts +0 -3
  119. package/lib/TabbedContent/index.js +0 -1
  120. package/lib/TabbedContent/style.css +0 -4
  121. package/lib/Table/index.d.ts +0 -3
  122. package/lib/Table/index.js +0 -1
  123. package/lib/Table/style.css +0 -6
  124. package/lib/Tags/index.d.ts +0 -2
  125. package/lib/Tags/index.js +0 -1
  126. package/lib/Tags/style.css +0 -3
  127. package/lib/TextArea/index.d.ts +0 -2
  128. package/lib/TextArea/index.js +0 -1
  129. package/lib/TextArea/style.css +0 -1
  130. package/lib/TextEditor/index.d.ts +0 -2
  131. package/lib/TextEditor/index.js +0 -28
  132. package/lib/TextEditor/style.css +0 -852
  133. package/lib/TopNotification/TopNotification.d.ts +0 -27
  134. package/lib/TopNotification/index.d.ts +0 -2
  135. package/lib/TopNotification/index.js +0 -1
  136. package/lib/TopNotification/style.css +0 -2
  137. package/lib/Topbar/Topbar.d.ts +0 -23
  138. package/lib/Topbar/index.d.ts +0 -2
  139. package/lib/Topbar/index.js +0 -1
  140. package/lib/Topbar/style.css +0 -1
  141. package/lib/_utils/index.js +0 -1
  142. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
  143. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
  144. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
  145. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
  146. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
@@ -1,3 +0,0 @@
1
- import CheckboxGroup, { Checkbox } from './Checkbox';
2
- export default CheckboxGroup;
3
- export { Checkbox };
@@ -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(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=305)}({0:function(t,n){t.exports=e},25:function(e,t,n){e.exports={checkbox:"checkbox___2kFyH",checkmark:"checkmark___5QClc",checkboxTick:"checkboxTick___2DxNJ",inverseCheckbox:"inverseCheckbox___2Rj3C",alternateCheckbox:"alternateCheckbox___3LR4H",alternateChecked:"alternateChecked___1HhMn",inverseTick:"inverseTick___39jLg",label:"label___3hcgR",horizontal:"horizontal___3aoWZ","checkboxgroup-component":"checkboxgroup-component___3NLDi",disabledCheckbox:"disabledCheckbox___2Txh-",description:"description___8EN2R",message:"message___3cL2Z",descError:"descError___1LMrW",descSuccess:"descSuccess___2Vlei",error:"error___2ufv4"}},28:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(51),c=n.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 i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(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 l(e){return(l=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 p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,l(t).apply(this,arguments))}var n,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&&s(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,a=e.children,i="h1-component ".concat(c.a.h1," ").concat(n);return o.createElement("div",{id:t,className:i,style:r},a)}}])&&i(n.prototype,r),a&&i(n,a),t}();p.defaultProps={className:"",style:{}},p.displayName="H1";var f=p,y=n(43),b=n(52),h=n.n(b);function m(e){return(m="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 d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t){return!t||"object"!==m(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(this,_(t).apply(this,arguments))}var n,r,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&&k(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,c=e.children,a="h3-component ".concat(h.a.h3," ").concat(n);return o.createElement("div",{id:t,className:a,style:r},c)}}])&&d(n.prototype,r),c&&d(n,c),t}();O.defaultProps={className:"",style:{}},O.displayName="H3";var g=O,j=n(53),w=n.n(j);function x(e){return(x="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 n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e,t){return!t||"object"!==x(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 E(e){return(E=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 N=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),S(this,E(t).apply(this,arguments))}var n,r,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&&P(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,c=e.children,a="h4-component ".concat(w.a.h4," ").concat(n);return o.createElement("div",{id:t,className:a,style:r},c)}}])&&C(n.prototype,r),c&&C(n,c),t}();N.defaultProps={className:"",style:{}},N.displayName="H4";var T=N,H=n(54),R=n.n(H);function L(e){return(L="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 z(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e,t){return!t||"object"!==L(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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),D(this,M(t).apply(this,arguments))}var n,r,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&&V(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,c=e.children,a="h5-component ".concat(R.a.h5," ").concat(n);return o.createElement("div",{id:t,className:a,style:r},c)}}])&&z(n.prototype,r),c&&z(n,c),t}();q.defaultProps={className:"",style:{}},q.displayName="H5";var B=q,I=n(55),F=n.n(I);function G(e){return(G="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 Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U(e,t){return!t||"object"!==G(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 W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var J=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),U(this,W(t).apply(this,arguments))}var n,r,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&&Z(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,c=e.children,a="h6-component ".concat(F.a.h6," ").concat(n);return o.createElement("div",{id:t,className:a,style:r},c)}}])&&Q(n.prototype,r),c&&Q(n,c),t}();J.defaultProps={className:"",style:{}},J.displayName="H6";var K=J;n.d(t,"H1",function(){return f}),n.d(t,"H2",function(){return y.a}),n.d(t,"H3",function(){return g}),n.d(t,"H4",function(){return T}),n.d(t,"H5",function(){return B}),n.d(t,"H6",function(){return K})},305:function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(7),c=n.n(r),a=n(25),i=n.n(a),u=n(28);function l(e){return(l="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 s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return!t||"object"!==l(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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=p(this,f(t).call(this,e))).onClick=function(e,t){return function(o){t.map(function(n,o){if(n.value!==e.value)return{checkbox:n};t[o]={checked:!e.checked,label:e.label,value:e.value}}),n.props.onChange&&n.props.onChange(o,{value:t,dataLabel:n.props.dataLabel}),n.props.validate&&n.props.validate({value:t,dataLabel:n.props.dataLabel,required:n.props.required})}},n.getCheckboxes=function(){if(n.props.children){var e=0===n.props.selectedChecks.length?n.getChildrenData():n.props.selectedChecks;if(n.checkDuplicateValues(e))return n.getChildren(e);throw new Error("<CheckBox> elements must not have duplicate values")}if(n.checkDuplicateValues(n.props.selectedChecks))return n.getPropsCheckboxes(n.props.selectedChecks);throw new Error("<CheckBox> elements must not have duplicate values")},n.getChildrenData=function(){var e=[];return o.Children.map(n.props.children,function(t,n){o.isValidElement(t)&&e.push({checked:!!t.props.checked&&t.props.checked,label:t.props.label?t.props.label:t.props.value.toString(),value:t.props.value})}),e},n.getChildren=function(e){var t=[];return o.Children.map(n.props.children,function(r,c){if(!o.isValidElement(r))throw new Error("<CheckBoxGroup> element only accepts <CheckBox> elements as children");var a=!0===e[c].checked,i=e[c].value?e[c].value:"checkbox".concat(c),u={checked:e[c].checked,horizontal:n.props.horizontal,inverseStyle:n.props.inverseStyle,key:c,label:e[c].label,name:n.name,onClick:n.onClick({checked:a,value:i,label:e[c].label},e),spacing:n.props.spacing,status:n.props.status,value:i};t.push(o.cloneElement(r,u))}),t},n.getPropsCheckboxes=function(e){var t=[];return e.forEach(function(r,c){var a=!0===r.checked,i=r.value?r.value:"checkbox".concat(c);t.push(o.createElement(h,{checked:a,horizontal:n.props.horizontal,key:c,label:r.label,name:n.name,onClick:n.onClick({checked:a,value:i,label:r.label},e),spacing:n.props.spacing,status:n.props.status,inverseStyle:n.props.inverseStyle,value:i}))}),t},n.checkDuplicateValues=function(e){var t=[],n=0;return e.forEach(function(e,n){o.isValidElement(e)&&t.push(e.props.value)}),t.forEach(function(e){t.forEach(function(t){e===t&&(n+=1)})}),!(n>t.length)},n.generateName=function(){return Date.now().toString()},n.name=n.generateName(),n}var n,r,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&&y(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,c=e.title,a=e.description,l=this.props.horizontal?i.a.horizontal:"",s="error"===this.props.status?i.a.descError:"success"===this.props.status?i.a.descSuccess:"";return o.createElement("div",{id:t,className:"checkboxgroup-component ".concat(n),style:Object.assign({},r)},c&&o.createElement(u.H2,null,c),o.createElement("div",{className:l},this.getCheckboxes()||this.props.children),a&&o.createElement("i",{className:"".concat(i.a.message," ").concat(s)},a))}}])&&s(n.prototype,r),c&&s(n,c),t}();b.defaultProps={className:"",spacing:5,style:{}},b.displayName="CheckboxGroup";var h=function(e){var t,n=function(){var t=e.status&&e.status;if(t){if("error"===t)return i.a.error;if("success"===t)return i.a.success}}(),r=e.disabled?i.a.disabledCheckbox:"",a=e.label||"",u=!!e.checked,l=e.spacing?e.horizontal?{marginRight:"".concat(e.spacing,"px")}:{marginBottom:"".concat(e.spacing,"px")}:{},s="checkbox-component ".concat(i.a.checkbox,"\n ").concat(r," ").concat(e.className," ").concat(n),p=Math.random().toString(36).substr(2,10),f=e.checked?e.inverseStyle?i.a.inverseCheckbox:e.alternateStyle?"":i.a.transparentCheckmark:"",y=e.inverseStyle?i.a.inverseTick:"",b=e.alternateStyle?e.checked?i.a.alternateChecked:i.a.alternateCheckbox:"",h=e.alternateStyle?i.a.inverseTick:"";return o.createElement("div",{className:s,style:Object.assign({},l,e.style)},o.createElement("input",{id:e.id||p,name:e.name,type:"checkbox",value:e.value,onClick:(t={checked:!u,value:e.value,label:a},function(n){!e.disabled&&e.onClick&&e.onClick(n,{value:t,dataLabel:e.dataLabel})}),disabled:e.disabled,defaultChecked:u,className:"".concat(c.a.mooskinIcons)}),o.createElement("label",{htmlFor:e.id||p},o.createElement("span",{className:"".concat(i.a.checkmark," ").concat(f," ").concat(b)}),e.checked&&o.createElement("span",{className:"".concat(i.a.checkboxTick," ").concat(y," ").concat(h)}),o.createElement("span",{className:i.a.label},a)),o.createElement("br",null),o.createElement("i",{className:i.a.description},e.description))};h.defaultProps={className:"",style:{}},h.displayName="Checkbox",n.d(t,"Checkbox",function(){return h}),b.Checkbox=h;t.default=b},43:function(e,t,n){"use strict";var o=n(0),r=n(48),c=n.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 i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(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 l(e){return(l=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 p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,l(t).apply(this,arguments))}var n,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&&s(e,t)}(t,o["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,a=e.children,i="h2-component ".concat(c.a.h2," ").concat(n);return o.createElement("div",{id:t,className:i,style:r},a)}}])&&i(n.prototype,r),a&&i(n,a),t}();p.defaultProps={className:"",style:{}},p.displayName="H2",t.a=p},48:function(e,t,n){e.exports={h2:"h2___a5XKj"}},51:function(e,t,n){e.exports={h1:"h1___3EqyH"}},52:function(e,t,n){e.exports={h3:"h3___3O03q"}},53:function(e,t,n){e.exports={h4:"h4___Uo5Q6"}},54:function(e,t,n){e.exports={h5:"h5___3UM6s"}},55:function(e,t,n){e.exports={h6:"h6___3P7kB"}},7:function(e,t,n){e.exports={mooskinIcons:"mooskinIcons___2i54i"}}})});