@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.
Files changed (306) hide show
  1. package/README-legacy.md +212 -0
  2. package/lib/Drawer/styles.d.ts +1 -1
  3. package/lib/Styled/model.d.ts +3 -0
  4. package/lib/index/index.js +1 -1
  5. package/package.json +1 -1
  6. package/lib/Button/index.d.ts +0 -2
  7. package/lib/Button/index.js +0 -1
  8. package/lib/Button/style.css +0 -1
  9. package/lib/Carousel/index.d.ts +0 -2
  10. package/lib/Carousel/index.js +0 -12
  11. package/lib/Carousel/style.css +0 -326
  12. package/lib/CheckListItem/CheckListItem.d.ts +0 -24
  13. package/lib/CheckListItem/index.d.ts +0 -2
  14. package/lib/CheckListItem/index.js +0 -1
  15. package/lib/CheckListItem/style.css +0 -5
  16. package/lib/Checkbox/index.d.ts +0 -3
  17. package/lib/Checkbox/index.js +0 -1
  18. package/lib/Checkbox/style.css +0 -14
  19. package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
  20. package/lib/ClipboardButton/index.d.ts +0 -2
  21. package/lib/ClipboardButton/index.js +0 -1
  22. package/lib/ClipboardButton/style.css +0 -1
  23. package/lib/DatePicker/index.d.ts +0 -3
  24. package/lib/DatePicker/index.js +0 -12
  25. package/lib/DatePicker/style.css +0 -7
  26. package/lib/DateRange/index.d.ts +0 -2
  27. package/lib/DateRange/index.js +0 -12
  28. package/lib/DateRange/style.css +0 -19
  29. package/lib/Fieldset/Fieldset.d.ts +0 -16
  30. package/lib/Fieldset/index.d.ts +0 -2
  31. package/lib/Fieldset/index.js +0 -1
  32. package/lib/Fieldset/style.css +0 -2
  33. package/lib/File/FileUpload.d.ts +0 -43
  34. package/lib/File/index.d.ts +0 -2
  35. package/lib/File/index.js +0 -1
  36. package/lib/File/style.css +0 -1
  37. package/lib/Form/Form.d.ts +0 -36
  38. package/lib/Form/index.d.ts +0 -3
  39. package/lib/Form/index.js +0 -1
  40. package/lib/Form/style.css +0 -1
  41. package/lib/Grid/index.d.ts +0 -4
  42. package/lib/Grid/index.js +0 -1
  43. package/lib/Grid/style.css +0 -1
  44. package/lib/Headings/H1/H1.d.ts +0 -11
  45. package/lib/Headings/H2/H2.d.ts +0 -11
  46. package/lib/Headings/H3/H3.d.ts +0 -11
  47. package/lib/Headings/H4/H4.d.ts +0 -11
  48. package/lib/Headings/H5/H5.d.ts +0 -11
  49. package/lib/Headings/H6/H6.d.ts +0 -11
  50. package/lib/Headings/index.d.ts +0 -6
  51. package/lib/Headings/index.js +0 -1
  52. package/lib/Headings/props.d.ts +0 -7
  53. package/lib/Headings/style.css +0 -12
  54. package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
  55. package/lib/HorizontalRangeBar/index.d.ts +0 -2
  56. package/lib/HorizontalRangeBar/index.js +0 -1
  57. package/lib/HorizontalRangeBar/style.css +0 -1
  58. package/lib/Input/index.d.ts +0 -2
  59. package/lib/Input/index.js +0 -1
  60. package/lib/Input/style.css +0 -465
  61. package/lib/Label/index.d.ts +0 -2
  62. package/lib/Label/index.js +0 -1
  63. package/lib/Label/style.css +0 -2
  64. package/lib/List/index.d.ts +0 -3
  65. package/lib/List/index.js +0 -1
  66. package/lib/List/style.css +0 -2
  67. package/lib/Loader/index.d.ts +0 -2
  68. package/lib/Loader/index.js +0 -1
  69. package/lib/Loader/style.css +0 -1
  70. package/lib/LoadingBar/index.d.ts +0 -2
  71. package/lib/LoadingBar/index.js +0 -1
  72. package/lib/LoadingBar/style.css +0 -1
  73. package/lib/Modal/index.d.ts +0 -2
  74. package/lib/Modal/index.js +0 -1
  75. package/lib/Modal/style.css +0 -15
  76. package/lib/Pagination/index.d.ts +0 -2
  77. package/lib/Pagination/index.js +0 -1
  78. package/lib/Pagination/style.css +0 -1
  79. package/lib/Radio/index.d.ts +0 -3
  80. package/lib/Radio/index.js +0 -1
  81. package/lib/Radio/style.css +0 -13
  82. package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
  83. package/lib/RadioAccordion/index.d.ts +0 -3
  84. package/lib/RadioAccordion/index.js +0 -1
  85. package/lib/RadioAccordion/style.css +0 -1
  86. package/lib/Select/index.d.ts +0 -3
  87. package/lib/Select/index.js +0 -1
  88. package/lib/Select/style.css +0 -2
  89. package/lib/SideBar/SideBar.d.ts +0 -79
  90. package/lib/SideBar/index.d.ts +0 -3
  91. package/lib/SideBar/index.js +0 -1
  92. package/lib/SideBar/style.css +0 -3
  93. package/lib/Slider/index.d.ts +0 -3
  94. package/lib/Slider/index.js +0 -1
  95. package/lib/Slider/style.css +0 -2
  96. package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
  97. package/lib/SmallIconButton/index.d.ts +0 -2
  98. package/lib/SmallIconButton/index.js +0 -1
  99. package/lib/SmallIconButton/style.css +0 -2
  100. package/lib/StatsBox/StatsBox.d.ts +0 -16
  101. package/lib/StatsBox/index.d.ts +0 -2
  102. package/lib/StatsBox/index.js +0 -1
  103. package/lib/StatsBox/style.css +0 -2
  104. package/lib/Steps/index.d.ts +0 -3
  105. package/lib/Steps/index.js +0 -1
  106. package/lib/Steps/style.css +0 -1
  107. package/lib/Switch/index.d.ts +0 -2
  108. package/lib/Switch/index.js +0 -1
  109. package/lib/Switch/style.css +0 -1
  110. package/lib/TabbedContent/TabbedContent.d.ts +0 -72
  111. package/lib/TabbedContent/index.d.ts +0 -3
  112. package/lib/TabbedContent/index.js +0 -1
  113. package/lib/TabbedContent/style.css +0 -4
  114. package/lib/Table/index.d.ts +0 -3
  115. package/lib/Table/index.js +0 -1
  116. package/lib/Table/style.css +0 -6
  117. package/lib/Tags/index.d.ts +0 -2
  118. package/lib/Tags/index.js +0 -1
  119. package/lib/Tags/style.css +0 -3
  120. package/lib/TextArea/index.d.ts +0 -2
  121. package/lib/TextArea/index.js +0 -1
  122. package/lib/TextArea/style.css +0 -1
  123. package/lib/TextEditor/index.d.ts +0 -2
  124. package/lib/TextEditor/index.js +0 -28
  125. package/lib/TextEditor/style.css +0 -852
  126. package/lib/TopNotification/TopNotification.d.ts +0 -27
  127. package/lib/TopNotification/index.d.ts +0 -2
  128. package/lib/TopNotification/index.js +0 -1
  129. package/lib/TopNotification/style.css +0 -2
  130. package/lib/Topbar/Topbar.d.ts +0 -23
  131. package/lib/Topbar/index.d.ts +0 -2
  132. package/lib/Topbar/index.js +0 -1
  133. package/lib/Topbar/style.css +0 -1
  134. package/lib/_utils/index.js +0 -1
  135. package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +0 -6
  136. package/lib/components/ActionsDropdown/model.d.ts +0 -11
  137. package/lib/components/ActionsDropdown/styles.d.ts +0 -8
  138. package/lib/components/Alert/Alert.d.ts +0 -7
  139. package/lib/components/Alert/model.d.ts +0 -5
  140. package/lib/components/Alert/styles.d.ts +0 -7
  141. package/lib/components/Anchor/Anchor.d.ts +0 -3
  142. package/lib/components/Anchor/model.d.ts +0 -4
  143. package/lib/components/Anchor/styles.d.ts +0 -3
  144. package/lib/components/Box/Box.d.ts +0 -3
  145. package/lib/components/Box/model.d.ts +0 -118
  146. package/lib/components/Box/resources.d.ts +0 -9
  147. package/lib/components/Box/styles.d.ts +0 -7
  148. package/lib/components/Button/Button.d.ts +0 -7
  149. package/lib/components/Button/model.d.ts +0 -5
  150. package/lib/components/Button/styles.d.ts +0 -7
  151. package/lib/components/Carousel/Carousel.d.ts +0 -7
  152. package/lib/components/Carousel/model.d.ts +0 -33
  153. package/lib/components/Carousel/styles.d.ts +0 -4
  154. package/lib/components/Checkbox/Checkbox.d.ts +0 -8
  155. package/lib/components/Checkbox/model.d.ts +0 -13
  156. package/lib/components/Checkbox/styles.d.ts +0 -6
  157. package/lib/components/DatePicker/DatePicker.d.ts +0 -3
  158. package/lib/components/DatePicker/model.d.ts +0 -11
  159. package/lib/components/DateRange/DateRange.d.ts +0 -5
  160. package/lib/components/DateRange/model.d.ts +0 -13
  161. package/lib/components/DateRange/styles.d.ts +0 -3
  162. package/lib/components/DateSelect/DateSelect.d.ts +0 -3
  163. package/lib/components/DateSelect/model.d.ts +0 -7
  164. package/lib/components/DateTimePicker/DateTimePicker.d.ts +0 -3
  165. package/lib/components/DateTimePicker/model.d.ts +0 -11
  166. package/lib/components/Description/Description.d.ts +0 -3
  167. package/lib/components/Description/styles.d.ts +0 -3
  168. package/lib/components/Drawer/Drawer.d.ts +0 -10
  169. package/lib/components/Drawer/model.d.ts +0 -21
  170. package/lib/components/Drawer/styles.d.ts +0 -25
  171. package/lib/components/Expandable/Expandable.d.ts +0 -9
  172. package/lib/components/Expandable/model.d.ts +0 -13
  173. package/lib/components/Expandable/styles.d.ts +0 -9
  174. package/lib/components/Footer/Footer.d.ts +0 -6
  175. package/lib/components/Footer/styles.d.ts +0 -7
  176. package/lib/components/Grid/Grid.d.ts +0 -5
  177. package/lib/components/Grid/model.d.ts +0 -18
  178. package/lib/components/Grid/styles.d.ts +0 -5
  179. package/lib/components/IconButton/IconButton.d.ts +0 -3
  180. package/lib/components/IconButton/model.d.ts +0 -4
  181. package/lib/components/IconButton/styles.d.ts +0 -3
  182. package/lib/components/Image/Image.d.ts +0 -3
  183. package/lib/components/Image/styles.d.ts +0 -3
  184. package/lib/components/Input/Input.d.ts +0 -12
  185. package/lib/components/Input/model.d.ts +0 -27
  186. package/lib/components/Input/styles.d.ts +0 -12
  187. package/lib/components/Label/Label.d.ts +0 -3
  188. package/lib/components/Label/model.d.ts +0 -5
  189. package/lib/components/Label/styles.d.ts +0 -3
  190. package/lib/components/Layout/Layout.d.ts +0 -3
  191. package/lib/components/Layout/model.d.ts +0 -5
  192. package/lib/components/Layout/styles.d.ts +0 -3
  193. package/lib/components/List/List.d.ts +0 -8
  194. package/lib/components/List/styles.d.ts +0 -7
  195. package/lib/components/Loader/Loader.d.ts +0 -3
  196. package/lib/components/Loader/model.d.ts +0 -5
  197. package/lib/components/Loader/styles.d.ts +0 -3
  198. package/lib/components/LoadingBar/LoadingBar.d.ts +0 -3
  199. package/lib/components/LoadingBar/model.d.ts +0 -7
  200. package/lib/components/LoadingBar/styles.d.ts +0 -3
  201. package/lib/components/Modal/Modal.d.ts +0 -10
  202. package/lib/components/Modal/model.d.ts +0 -15
  203. package/lib/components/Modal/styles.d.ts +0 -14
  204. package/lib/components/NumberLabel/NumberLabel.d.ts +0 -3
  205. package/lib/components/NumberLabel/model.d.ts +0 -7
  206. package/lib/components/Pagination/Pagination.d.ts +0 -4
  207. package/lib/components/Pagination/model.d.ts +0 -12
  208. package/lib/components/Pagination/styles.d.ts +0 -6
  209. package/lib/components/Radio/Radio.d.ts +0 -8
  210. package/lib/components/Radio/model.d.ts +0 -14
  211. package/lib/components/Radio/styles.d.ts +0 -6
  212. package/lib/components/Select/Select.d.ts +0 -13
  213. package/lib/components/Select/model.d.ts +0 -24
  214. package/lib/components/Select/styles.d.ts +0 -15
  215. package/lib/components/Selector/Selector.d.ts +0 -4
  216. package/lib/components/Selector/model.d.ts +0 -10
  217. package/lib/components/Selector/styles.d.ts +0 -4
  218. package/lib/components/Sidemenu/Sidemenu.d.ts +0 -4
  219. package/lib/components/Sidemenu/model.d.ts +0 -10
  220. package/lib/components/Sidemenu/styles.d.ts +0 -4
  221. package/lib/components/Skeleton/Skeleton.d.ts +0 -5
  222. package/lib/components/Skeleton/model.d.ts +0 -14
  223. package/lib/components/Skeleton/styles.d.ts +0 -6
  224. package/lib/components/Slider/Model.d.ts +0 -7
  225. package/lib/components/Slider/Slider.d.ts +0 -3
  226. package/lib/components/Slider/styles.d.ts +0 -3
  227. package/lib/components/Stack/Stack.d.ts +0 -5
  228. package/lib/components/Stack/model.d.ts +0 -6
  229. package/lib/components/Stack/styles.d.ts +0 -3
  230. package/lib/components/Steps/Steps.d.ts +0 -6
  231. package/lib/components/Steps/model.d.ts +0 -16
  232. package/lib/components/Steps/styles.d.ts +0 -7
  233. package/lib/components/Styled/GlobalStyles.d.ts +0 -2
  234. package/lib/components/Styled/MooskinContextProvider.d.ts +0 -6
  235. package/lib/components/Styled/model.d.ts +0 -119
  236. package/lib/components/Switch/Switch.d.ts +0 -4
  237. package/lib/components/Switch/model.d.ts +0 -16
  238. package/lib/components/Switch/styles.d.ts +0 -7
  239. package/lib/components/Table/Table.d.ts +0 -7
  240. package/lib/components/Table/styles.d.ts +0 -7
  241. package/lib/components/Tabs/Tabs.d.ts +0 -6
  242. package/lib/components/Tabs/model.d.ts +0 -13
  243. package/lib/components/Tabs/styles.d.ts +0 -6
  244. package/lib/components/Tags/Tags.d.ts +0 -8
  245. package/lib/components/Tags/model.d.ts +0 -18
  246. package/lib/components/Tags/styles.d.ts +0 -8
  247. package/lib/components/Text/Text.d.ts +0 -3
  248. package/lib/components/Text/model.d.ts +0 -4
  249. package/lib/components/Text/styles.d.ts +0 -3
  250. package/lib/components/TextArea/TextArea.d.ts +0 -3
  251. package/lib/components/TextArea/model.d.ts +0 -4
  252. package/lib/components/TextArea/styles.d.ts +0 -3
  253. package/lib/components/TextEditor/TextEditor.d.ts +0 -3
  254. package/lib/components/TextEditor/model.d.ts +0 -14
  255. package/lib/components/_utils/adapter.d.ts +0 -1
  256. package/lib/components/_utils/globals/screens.d.ts +0 -11
  257. package/lib/components/_utils/globals/variables.d.ts +0 -3
  258. package/lib/components/_utils/helper.d.ts +0 -3
  259. package/lib/components/_utils/index.d.ts +0 -3
  260. package/lib/components/_utils/test-setup.d.ts +0 -0
  261. package/lib/components/_utils/types/commonTypes.d.ts +0 -4
  262. package/lib/components/index/index.d.ts +0 -85
  263. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
  264. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
  265. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
  266. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
  267. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
  268. package/lib/stories/ActionsDropdown.stories.d.ts +0 -6
  269. package/lib/stories/Alert.stories.d.ts +0 -5
  270. package/lib/stories/Anchor.stories.d.ts +0 -5
  271. package/lib/stories/Box.stories.d.ts +0 -4
  272. package/lib/stories/Button.stories.d.ts +0 -7
  273. package/lib/stories/Carousel.stories.d.ts +0 -4
  274. package/lib/stories/Checkbox.stories.d.ts +0 -8
  275. package/lib/stories/DatePicker.stories.d.ts +0 -4
  276. package/lib/stories/DateRange.stories.d.ts +0 -4
  277. package/lib/stories/DateSelect.stories.d.ts +0 -9
  278. package/lib/stories/DateTimePicker.stories.d.ts +0 -4
  279. package/lib/stories/Drawer.stories.d.ts +0 -6
  280. package/lib/stories/Expandable.stories.d.ts +0 -4
  281. package/lib/stories/Footer.stories.d.ts +0 -4
  282. package/lib/stories/Grid.stories.d.ts +0 -4
  283. package/lib/stories/IconButton.stories.d.ts +0 -5
  284. package/lib/stories/Input.stories.d.ts +0 -6
  285. package/lib/stories/Layout.stories.d.ts +0 -4
  286. package/lib/stories/List.stories.d.ts +0 -5
  287. package/lib/stories/Loader.stories.d.ts +0 -4
  288. package/lib/stories/LoadingBar.stories.d.ts +0 -4
  289. package/lib/stories/Modal.stories.d.ts +0 -4
  290. package/lib/stories/NumberLabel.stories.d.ts +0 -10
  291. package/lib/stories/Pagination.stories.d.ts +0 -4
  292. package/lib/stories/Radio.stories.d.ts +0 -8
  293. package/lib/stories/Select.stories.d.ts +0 -7
  294. package/lib/stories/Selector.stories.d.ts +0 -4
  295. package/lib/stories/Sidemenu.stories.d.ts +0 -4
  296. package/lib/stories/Skeleton.stories.d.ts +0 -6
  297. package/lib/stories/Slider.stories.d.ts +0 -4
  298. package/lib/stories/Stack.stories.d.ts +0 -9
  299. package/lib/stories/StackedTags.stories.d.ts +0 -4
  300. package/lib/stories/Steps.stories.d.ts +0 -4
  301. package/lib/stories/Switch.stories.d.ts +0 -6
  302. package/lib/stories/Table.stories.d.ts +0 -4
  303. package/lib/stories/Tabs.stories.d.ts +0 -4
  304. package/lib/stories/Tags.stories.d.ts +0 -6
  305. package/lib/stories/TextEditor.stories.d.ts +0 -8
  306. package/lib/stories/Textarea.stories.d.ts +0 -5
@@ -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"}}})});