@moosend/mooskin 1.0.0-alpha.117 → 1.0.0-alpha.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Box/model.d.ts +2 -2
- package/lib/Box/styles.d.ts +1 -1
- package/lib/Description/model.d.ts +4 -0
- package/lib/Drawer/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +17 -0
- package/lib/assets/font-awesome/webfonts/fa-duotone-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-light-300.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/lib/assets/font-awesome/webfonts/fa-thin-100.ttf +0 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +1 -1
- package/lib/components/ActionsDropdown/model.d.ts +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +2 -0
- package/lib/components/Box/model.d.ts +5 -0
- package/lib/components/Box/resources.d.ts +9 -0
- package/lib/components/Button/Button.d.ts +1 -0
- package/lib/components/Button/model.d.ts +0 -1
- package/lib/components/Button/styles.d.ts +2 -2
- package/lib/components/Checkbox/model.d.ts +1 -0
- package/lib/components/Checkbox/styles.d.ts +2 -2
- package/lib/components/DateRange/styles.d.ts +3 -0
- package/lib/components/Drawer/styles.d.ts +1 -1
- package/lib/components/Pagination/model.d.ts +2 -0
- package/lib/components/Radio/model.d.ts +1 -0
- package/lib/components/Radio/styles.d.ts +2 -2
- package/lib/components/Select/Select.d.ts +2 -2
- package/lib/components/Select/model.d.ts +3 -1
- package/lib/components/Select/styles.d.ts +4 -2
- package/lib/components/Styled/model.d.ts +18 -0
- package/lib/components/Tags/Tags.d.ts +1 -0
- package/lib/components/index/index.d.ts +2 -2
- package/lib/index/index.js +6 -6
- package/lib/stories/Button.stories.d.ts +0 -1
- package/package.json +1 -1
- package/lib/Button/index.d.ts +0 -2
- package/lib/Button/index.js +0 -1
- package/lib/Button/style.css +0 -1
- package/lib/Carousel/index.d.ts +0 -2
- package/lib/Carousel/index.js +0 -12
- package/lib/Carousel/style.css +0 -326
- package/lib/CheckListItem/CheckListItem.d.ts +0 -24
- package/lib/CheckListItem/index.d.ts +0 -2
- package/lib/CheckListItem/index.js +0 -1
- package/lib/CheckListItem/style.css +0 -5
- package/lib/Checkbox/index.d.ts +0 -3
- package/lib/Checkbox/index.js +0 -1
- package/lib/Checkbox/style.css +0 -14
- package/lib/ClipboardButton/ClipboardButton.d.ts +0 -19
- package/lib/ClipboardButton/index.d.ts +0 -2
- package/lib/ClipboardButton/index.js +0 -1
- package/lib/ClipboardButton/style.css +0 -1
- package/lib/DatePicker/index.d.ts +0 -3
- package/lib/DatePicker/index.js +0 -12
- package/lib/DatePicker/style.css +0 -7
- package/lib/DateRange/index.d.ts +0 -2
- package/lib/DateRange/index.js +0 -12
- package/lib/DateRange/style.css +0 -19
- package/lib/Fieldset/Fieldset.d.ts +0 -16
- package/lib/Fieldset/index.d.ts +0 -2
- package/lib/Fieldset/index.js +0 -1
- package/lib/Fieldset/style.css +0 -2
- package/lib/File/FileUpload.d.ts +0 -43
- package/lib/File/index.d.ts +0 -2
- package/lib/File/index.js +0 -1
- package/lib/File/style.css +0 -1
- package/lib/Form/Form.d.ts +0 -36
- package/lib/Form/index.d.ts +0 -3
- package/lib/Form/index.js +0 -1
- package/lib/Form/style.css +0 -1
- package/lib/Grid/index.d.ts +0 -4
- package/lib/Grid/index.js +0 -1
- package/lib/Grid/style.css +0 -1
- package/lib/Headings/H1/H1.d.ts +0 -11
- package/lib/Headings/H2/H2.d.ts +0 -11
- package/lib/Headings/H3/H3.d.ts +0 -11
- package/lib/Headings/H4/H4.d.ts +0 -11
- package/lib/Headings/H5/H5.d.ts +0 -11
- package/lib/Headings/H6/H6.d.ts +0 -11
- package/lib/Headings/index.d.ts +0 -6
- package/lib/Headings/index.js +0 -1
- package/lib/Headings/props.d.ts +0 -7
- package/lib/Headings/style.css +0 -12
- package/lib/HorizontalRangeBar/HorizontalRangeBar.d.ts +0 -25
- package/lib/HorizontalRangeBar/index.d.ts +0 -2
- package/lib/HorizontalRangeBar/index.js +0 -1
- package/lib/HorizontalRangeBar/style.css +0 -1
- package/lib/Input/index.d.ts +0 -2
- package/lib/Input/index.js +0 -1
- package/lib/Input/style.css +0 -465
- package/lib/Label/index.d.ts +0 -2
- package/lib/Label/index.js +0 -1
- package/lib/Label/style.css +0 -2
- package/lib/List/index.d.ts +0 -3
- package/lib/List/index.js +0 -1
- package/lib/List/style.css +0 -2
- package/lib/Loader/index.d.ts +0 -2
- package/lib/Loader/index.js +0 -1
- package/lib/Loader/style.css +0 -1
- package/lib/LoadingBar/index.d.ts +0 -2
- package/lib/LoadingBar/index.js +0 -1
- package/lib/LoadingBar/style.css +0 -1
- package/lib/Modal/index.d.ts +0 -2
- package/lib/Modal/index.js +0 -1
- package/lib/Modal/style.css +0 -15
- package/lib/Pagination/index.d.ts +0 -2
- package/lib/Pagination/index.js +0 -1
- package/lib/Pagination/style.css +0 -1
- package/lib/Radio/index.d.ts +0 -3
- package/lib/Radio/index.js +0 -1
- package/lib/Radio/style.css +0 -13
- package/lib/RadioAccordion/RadioAccordion.d.ts +0 -49
- package/lib/RadioAccordion/index.d.ts +0 -3
- package/lib/RadioAccordion/index.js +0 -1
- package/lib/RadioAccordion/style.css +0 -1
- package/lib/Select/index.d.ts +0 -3
- package/lib/Select/index.js +0 -1
- package/lib/Select/style.css +0 -2
- package/lib/SideBar/SideBar.d.ts +0 -79
- package/lib/SideBar/index.d.ts +0 -3
- package/lib/SideBar/index.js +0 -1
- package/lib/SideBar/style.css +0 -3
- package/lib/Slider/index.d.ts +0 -3
- package/lib/Slider/index.js +0 -1
- package/lib/Slider/style.css +0 -2
- package/lib/SmallIconButton/SmallIconButton.d.ts +0 -23
- package/lib/SmallIconButton/index.d.ts +0 -2
- package/lib/SmallIconButton/index.js +0 -1
- package/lib/SmallIconButton/style.css +0 -2
- package/lib/StatsBox/StatsBox.d.ts +0 -16
- package/lib/StatsBox/index.d.ts +0 -2
- package/lib/StatsBox/index.js +0 -1
- package/lib/StatsBox/style.css +0 -2
- package/lib/Steps/index.d.ts +0 -3
- package/lib/Steps/index.js +0 -1
- package/lib/Steps/style.css +0 -1
- package/lib/Switch/index.d.ts +0 -2
- package/lib/Switch/index.js +0 -1
- package/lib/Switch/style.css +0 -1
- package/lib/TabbedContent/TabbedContent.d.ts +0 -72
- package/lib/TabbedContent/index.d.ts +0 -3
- package/lib/TabbedContent/index.js +0 -1
- package/lib/TabbedContent/style.css +0 -4
- package/lib/Table/index.d.ts +0 -3
- package/lib/Table/index.js +0 -1
- package/lib/Table/style.css +0 -6
- package/lib/Tags/index.d.ts +0 -2
- package/lib/Tags/index.js +0 -1
- package/lib/Tags/style.css +0 -3
- package/lib/TextArea/index.d.ts +0 -2
- package/lib/TextArea/index.js +0 -1
- package/lib/TextArea/style.css +0 -1
- package/lib/TextEditor/index.d.ts +0 -2
- package/lib/TextEditor/index.js +0 -28
- package/lib/TextEditor/style.css +0 -852
- package/lib/TopNotification/TopNotification.d.ts +0 -27
- package/lib/TopNotification/index.d.ts +0 -2
- package/lib/TopNotification/index.js +0 -1
- package/lib/TopNotification/style.css +0 -2
- package/lib/Topbar/Topbar.d.ts +0 -23
- package/lib/Topbar/index.d.ts +0 -2
- package/lib/Topbar/index.js +0 -1
- package/lib/Topbar/style.css +0 -1
- package/lib/_utils/index.js +0 -1
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-brands-400.svg +0 -3717
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-duotone-900.svg +0 -15326
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-light-300.svg +0 -12420
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-regular-400.svg +0 -11323
- package/lib/node_modules/@fortawesome/fontawesome-pro/webfonts/fa-solid-900.svg +0 -9653
|
@@ -1,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 +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}
|