@orgg/react-loading-button
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,33 +0,4 @@ | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
import React, { Component } from 'react'; | ||
var _default = function (_Component) { | ||
_inherits(_default, _Component); | ||
function _default() { | ||
_classCallCheck(this, _default); | ||
return _possibleConstructorReturn(this, _Component.apply(this, arguments)); | ||
} | ||
_default.prototype.render = function render() { | ||
return React.createElement( | ||
'div', | ||
null, | ||
React.createElement( | ||
'h2', | ||
null, | ||
'Welcome to React components' | ||
) | ||
); | ||
}; | ||
return _default; | ||
}(Component); | ||
export { _default as default }; | ||
import _Logo from './components/Logo'; | ||
export { _Logo as Logo }; | ||
import _Button from './components/Button'; | ||
export { _Button as Button }; |
'use strict'; | ||
exports.__esModule = true; | ||
exports.default = undefined; | ||
exports.Button = exports.Logo = undefined; | ||
var _react = require('react'); | ||
var _Logo2 = require('./components/Logo'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _Logo3 = _interopRequireDefault(_Logo2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _Button2 = require('./components/Button'); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var _Button3 = _interopRequireDefault(_Button2); | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
var _default = function (_Component) { | ||
_inherits(_default, _Component); | ||
function _default() { | ||
_classCallCheck(this, _default); | ||
return _possibleConstructorReturn(this, _Component.apply(this, arguments)); | ||
} | ||
_default.prototype.render = function render() { | ||
return _react2.default.createElement( | ||
'div', | ||
null, | ||
_react2.default.createElement( | ||
'h2', | ||
null, | ||
'Welcome to React components' | ||
) | ||
); | ||
}; | ||
return _default; | ||
}(_react.Component); | ||
exports.default = _default; | ||
module.exports = exports['default']; | ||
exports.Logo = _Logo3.default; | ||
exports.Button = _Button3.default; |
{ | ||
"name": "@orgg/react-loading-button", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "@orgg/react-loading-button React component", | ||
@@ -17,2 +17,3 @@ "main": "lib/index.js", | ||
"prepublishOnly": "npm run build", | ||
"build-and-publish": "npm run build && npm publish --access public", | ||
"start": "nwb serve-react-demo", | ||
@@ -19,0 +20,0 @@ "test": "nwb test-react", |
/*! | ||
* @orgg/react-loading-button v1.0.1 | ||
* @orgg/react-loading-button v1.0.2 | ||
* MIT Licensed | ||
@@ -120,41 +120,37 @@ */ | ||
__webpack_require__.r(__webpack_exports__); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _default; }); | ||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | ||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} | ||
var external_root_React_commonjs2_react_commonjs_react_amd_react_ = __webpack_require__(0); | ||
var external_root_React_commonjs2_react_commonjs_react_amd_react_default = /*#__PURE__*/__webpack_require__.n(external_root_React_commonjs2_react_commonjs_react_amd_react_); | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
// CONCATENATED MODULE: ./src/components/Logo.js | ||
/* harmony default export */ var Logo = (function () { | ||
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement( | ||
'div', | ||
null, | ||
'Some Logo' | ||
); | ||
}); | ||
// CONCATENATED MODULE: ./src/components/Button.js | ||
var _default = function (_Component) { | ||
_inherits(_default, _Component); | ||
function _default() { | ||
_classCallCheck(this, _default); | ||
/* harmony default export */ var Button = (function () { | ||
return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement( | ||
'div', | ||
{ style: { padding: '10px', backgroundColor: 'aqua' } }, | ||
'Some Button' | ||
); | ||
}); | ||
// CONCATENATED MODULE: ./src/index.js | ||
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Logo", function() { return Logo; }); | ||
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Button", function() { return Button; }); | ||
return _possibleConstructorReturn(this, _Component.apply(this, arguments)); | ||
} | ||
_default.prototype.render = function render() { | ||
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement( | ||
'div', | ||
null, | ||
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement( | ||
'h2', | ||
null, | ||
'Welcome to React components' | ||
) | ||
); | ||
}; | ||
return _default; | ||
}(react__WEBPACK_IMPORTED_MODULE_0__["Component"]); | ||
/***/ }) | ||
/******/ ])["default"]; | ||
}); |
/*! | ||
* @orgg/react-loading-button v1.0.1 | ||
* @orgg/react-loading-button v1.0.2 | ||
* MIT Licensed | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.NwbOrgButton=t(require("react")):e.NwbOrgButton=t(e.React)}(window,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=1)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return u});var r=n(0),o=n.n(r);var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return o.a.createElement("div",null,o.a.createElement("h2",null,"Welcome to React components"))},t}(r.Component)}]).default}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.NwbOrgButton=t(require("react")):e.NwbOrgButton=t(e.React)}(window,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=1)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),u=function(){return o.a.createElement("div",null,"Some Logo")},i=function(){return o.a.createElement("div",{style:{padding:"10px",backgroundColor:"aqua"}},"Some Button")};n.d(t,"Logo",function(){return u}),n.d(t,"Button",function(){return i})}]).default}); | ||
//# sourceMappingURL=react-loading-button.min.js.map |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
16708
197