@moosend/mooskin 1.0.0-alpha.117 → 1.0.0-alpha.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/lib/Box/model.d.ts +2 -2
  2. package/lib/Box/styles.d.ts +1 -1
  3. package/lib/Description/model.d.ts +4 -0
  4. package/lib/Drawer/styles.d.ts +1 -1
  5. package/lib/Styled/model.d.ts +17 -0
  6. package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
  7. package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
  8. package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  9. package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  10. package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
  11. package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +1 -1
  12. package/lib/components/ActionsDropdown/model.d.ts +1 -0
  13. package/lib/components/ActionsDropdown/styles.d.ts +2 -0
  14. package/lib/components/Box/model.d.ts +5 -0
  15. package/lib/components/Box/resources.d.ts +9 -0
  16. package/lib/components/Button/Button.d.ts +1 -0
  17. package/lib/components/Button/model.d.ts +0 -1
  18. package/lib/components/Button/styles.d.ts +2 -2
  19. package/lib/components/Checkbox/model.d.ts +1 -0
  20. package/lib/components/Checkbox/styles.d.ts +2 -2
  21. package/lib/components/DateRange/styles.d.ts +3 -0
  22. package/lib/components/Drawer/styles.d.ts +1 -1
  23. package/lib/components/Pagination/model.d.ts +2 -0
  24. package/lib/components/Radio/model.d.ts +1 -0
  25. package/lib/components/Radio/styles.d.ts +2 -2
  26. package/lib/components/Select/Select.d.ts +2 -2
  27. package/lib/components/Select/model.d.ts +3 -1
  28. package/lib/components/Select/styles.d.ts +4 -2
  29. package/lib/components/Styled/model.d.ts +18 -0
  30. package/lib/components/Tags/Tags.d.ts +1 -0
  31. package/lib/components/index/index.d.ts +2 -2
  32. package/lib/index/index.js +6 -6
  33. package/lib/stories/Button.stories.d.ts +0 -1
  34. package/package.json +1 -1
  35. package/lib/Button/index.d.ts +0 -2
  36. package/lib/Button/index.js +0 -1
  37. package/lib/Button/style.css +0 -1
  38. package/lib/Carousel/index.d.ts +0 -2
  39. package/lib/Carousel/index.js +0 -12
  40. package/lib/Carousel/style.css +0 -326
  41. package/lib/CheckListItem/CheckListItem.d.ts +0 -24
  42. package/lib/CheckListItem/index.d.ts +0 -2
  43. package/lib/CheckListItem/index.js +0 -1
  44. package/lib/CheckListItem/style.css +0 -5
  45. package/lib/Checkbox/index.d.ts +0 -3
  46. package/lib/Checkbox/index.js +0 -1
  47. package/lib/Checkbox/style.css +0 -14
  48. package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
  49. package/lib/ClipboardButton/index.d.ts +0 -2
  50. package/lib/ClipboardButton/index.js +0 -1
  51. package/lib/ClipboardButton/style.css +0 -1
  52. package/lib/DatePicker/index.d.ts +0 -3
  53. package/lib/DatePicker/index.js +0 -12
  54. package/lib/DatePicker/style.css +0 -7
  55. package/lib/DateRange/index.d.ts +0 -2
  56. package/lib/DateRange/index.js +0 -12
  57. package/lib/DateRange/style.css +0 -19
  58. package/lib/Fieldset/Fieldset.d.ts +0 -16
  59. package/lib/Fieldset/index.d.ts +0 -2
  60. package/lib/Fieldset/index.js +0 -1
  61. package/lib/Fieldset/style.css +0 -2
  62. package/lib/File/FileUpload.d.ts +0 -43
  63. package/lib/File/index.d.ts +0 -2
  64. package/lib/File/index.js +0 -1
  65. package/lib/File/style.css +0 -1
  66. package/lib/Form/Form.d.ts +0 -36
  67. package/lib/Form/index.d.ts +0 -3
  68. package/lib/Form/index.js +0 -1
  69. package/lib/Form/style.css +0 -1
  70. package/lib/Grid/index.d.ts +0 -4
  71. package/lib/Grid/index.js +0 -1
  72. package/lib/Grid/style.css +0 -1
  73. package/lib/Headings/H1/H1.d.ts +0 -11
  74. package/lib/Headings/H2/H2.d.ts +0 -11
  75. package/lib/Headings/H3/H3.d.ts +0 -11
  76. package/lib/Headings/H4/H4.d.ts +0 -11
  77. package/lib/Headings/H5/H5.d.ts +0 -11
  78. package/lib/Headings/H6/H6.d.ts +0 -11
  79. package/lib/Headings/index.d.ts +0 -6
  80. package/lib/Headings/index.js +0 -1
  81. package/lib/Headings/props.d.ts +0 -7
  82. package/lib/Headings/style.css +0 -12
  83. package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
  84. package/lib/HorizontalRangeBar/index.d.ts +0 -2
  85. package/lib/HorizontalRangeBar/index.js +0 -1
  86. package/lib/HorizontalRangeBar/style.css +0 -1
  87. package/lib/Input/index.d.ts +0 -2
  88. package/lib/Input/index.js +0 -1
  89. package/lib/Input/style.css +0 -465
  90. package/lib/Label/index.d.ts +0 -2
  91. package/lib/Label/index.js +0 -1
  92. package/lib/Label/style.css +0 -2
  93. package/lib/List/index.d.ts +0 -3
  94. package/lib/List/index.js +0 -1
  95. package/lib/List/style.css +0 -2
  96. package/lib/Loader/index.d.ts +0 -2
  97. package/lib/Loader/index.js +0 -1
  98. package/lib/Loader/style.css +0 -1
  99. package/lib/LoadingBar/index.d.ts +0 -2
  100. package/lib/LoadingBar/index.js +0 -1
  101. package/lib/LoadingBar/style.css +0 -1
  102. package/lib/Modal/index.d.ts +0 -2
  103. package/lib/Modal/index.js +0 -1
  104. package/lib/Modal/style.css +0 -15
  105. package/lib/Pagination/index.d.ts +0 -2
  106. package/lib/Pagination/index.js +0 -1
  107. package/lib/Pagination/style.css +0 -1
  108. package/lib/Radio/index.d.ts +0 -3
  109. package/lib/Radio/index.js +0 -1
  110. package/lib/Radio/style.css +0 -13
  111. package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
  112. package/lib/RadioAccordion/index.d.ts +0 -3
  113. package/lib/RadioAccordion/index.js +0 -1
  114. package/lib/RadioAccordion/style.css +0 -1
  115. package/lib/Select/index.d.ts +0 -3
  116. package/lib/Select/index.js +0 -1
  117. package/lib/Select/style.css +0 -2
  118. package/lib/SideBar/SideBar.d.ts +0 -79
  119. package/lib/SideBar/index.d.ts +0 -3
  120. package/lib/SideBar/index.js +0 -1
  121. package/lib/SideBar/style.css +0 -3
  122. package/lib/Slider/index.d.ts +0 -3
  123. package/lib/Slider/index.js +0 -1
  124. package/lib/Slider/style.css +0 -2
  125. package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
  126. package/lib/SmallIconButton/index.d.ts +0 -2
  127. package/lib/SmallIconButton/index.js +0 -1
  128. package/lib/SmallIconButton/style.css +0 -2
  129. package/lib/StatsBox/StatsBox.d.ts +0 -16
  130. package/lib/StatsBox/index.d.ts +0 -2
  131. package/lib/StatsBox/index.js +0 -1
  132. package/lib/StatsBox/style.css +0 -2
  133. package/lib/Steps/index.d.ts +0 -3
  134. package/lib/Steps/index.js +0 -1
  135. package/lib/Steps/style.css +0 -1
  136. package/lib/Switch/index.d.ts +0 -2
  137. package/lib/Switch/index.js +0 -1
  138. package/lib/Switch/style.css +0 -1
  139. package/lib/TabbedContent/TabbedContent.d.ts +0 -72
  140. package/lib/TabbedContent/index.d.ts +0 -3
  141. package/lib/TabbedContent/index.js +0 -1
  142. package/lib/TabbedContent/style.css +0 -4
  143. package/lib/Table/index.d.ts +0 -3
  144. package/lib/Table/index.js +0 -1
  145. package/lib/Table/style.css +0 -6
  146. package/lib/Tags/index.d.ts +0 -2
  147. package/lib/Tags/index.js +0 -1
  148. package/lib/Tags/style.css +0 -3
  149. package/lib/TextArea/index.d.ts +0 -2
  150. package/lib/TextArea/index.js +0 -1
  151. package/lib/TextArea/style.css +0 -1
  152. package/lib/TextEditor/index.d.ts +0 -2
  153. package/lib/TextEditor/index.js +0 -28
  154. package/lib/TextEditor/style.css +0 -852
  155. package/lib/TopNotification/TopNotification.d.ts +0 -27
  156. package/lib/TopNotification/index.d.ts +0 -2
  157. package/lib/TopNotification/index.js +0 -1
  158. package/lib/TopNotification/style.css +0 -2
  159. package/lib/Topbar/Topbar.d.ts +0 -23
  160. package/lib/Topbar/index.d.ts +0 -2
  161. package/lib/Topbar/index.js +0 -1
  162. package/lib/Topbar/style.css +0 -1
  163. package/lib/_utils/index.js +0 -1
  164. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
  165. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
  166. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
  167. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
  168. package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- export interface IClipboardButtonProps {
3
- id?: string;
4
- className?: string;
5
- style?: React.CSSProperties;
6
- value: string | number;
7
- label?: string;
8
- onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
9
- }
10
- export default class ClipboardButton extends React.Component<IClipboardButtonProps, {}> {
11
- static defaultProps: {
12
- className: string;
13
- label: string;
14
- style: {};
15
- };
16
- static displayName: string;
17
- render(): JSX.Element;
18
- onButtonClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
19
- }
@@ -1,2 +0,0 @@
1
- import ClipboardButton from './ClipboardButton';
2
- export default ClipboardButton;
@@ -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=90)}({0:function(e,n){e.exports=t},16:function(t,e,n){t.exports={button:"button___4ZD5v",normalButton:"normalButton___15AzL",inverseButton:"inverseButton___3Tgg8",disabledButton:"disabledButton___2axC9"}},26:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(16),u=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 c(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 l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var p=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=a(this,l(e).apply(this,arguments))).getButton=function(){var e=t.props,n=e.style,r=e.inverseStyle,i=e.disabled,c=e.children,a=e.className,l=e.id,f=e.href,p=e.type,s=r?u.a.inverseButton:u.a.normalButton,y=i?u.a.disabledButton:"",b="button-component ".concat(u.a.button," ").concat(s," ").concat(y," ").concat(a);return f?o.createElement("a",{id:l,href:f,className:"button-component-link ".concat(b),style:n,onClick:t.onClick},c):o.createElement("button",{id:l,type:p,onClick:t.onClick,disabled:i,className:b,style:n},c)},t.onClick=function(e){!t.props.disabled&&t.props.onClick&&t.props.onClick(e)},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&&f(t,e)}(e,o["Component"]),n=e,(r=[{key:"render",value:function(){return this.getButton()}}])&&c(n.prototype,r),i&&c(n,i),e}();p.defaultProps={className:"",style:{},type:"button"},p.displayName="Button";e.default=p},90:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(26);function u(t){return(u="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 c(t,e){return!e||"object"!==u(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 a(t){return(a=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(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=c(this,a(e).apply(this,arguments))).onButtonClick=function(e){var n=document.createElement("textarea");n.innerText=t.props.value.toString(),document.body.appendChild(n),n.select(),document.execCommand("copy"),n.remove(),t.props.onClick&&t.props.onClick(e)},t}var n,u,f;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,(u=[{key:"render",value:function(){return o.createElement(r.default,{id:this.props.id,className:this.props.className,style:this.props.style,onClick:this.onButtonClick},this.props.label)}}])&&i(n.prototype,u),f&&i(n,f),e}();f.defaultProps={className:"",label:"Copy",style:{}},f.displayName="ClipboardButton";e.default=f}})});
@@ -1 +0,0 @@
1
- .button___4ZD5v{display:inline-block;text-decoration:none;border-radius:10px;font-size:14px;font-size:.875rem;font-family:Helvetica,sans-serif;padding:10px 45px;cursor:pointer;outline:0}.button___4ZD5v,.normalButton___15AzL{-webkit-transition:background-color .4s ease;transition:background-color .4s ease}.normalButton___15AzL{background-color:#5ccdde;border:1px solid transparent;color:#fff}.inverseButton___3Tgg8{background-color:#fff;border:1px solid #5ccdde;color:#5ccdde;-webkit-transition:.4s;transition:.4s}.disabledButton___2axC9{cursor:not-allowed;opacity:.7}.normalButton___15AzL:hover:enabled{background-color:#4cb3c4}.inverseButton___3Tgg8:hover:enabled{border-color:#4cb3c4;color:#4cb3c4}
@@ -1,3 +0,0 @@
1
- import DatePicker, { DateSelect } from './DatePicker';
2
- export default DatePicker;
3
- export { DateSelect };