material-components-web-inferno
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -17,4 +17,4 @@ { | ||
"webpack-dev-server": "^3.3.1", | ||
"material-components-web-inferno": "^0.1.2" | ||
"material-components-web-inferno": "^0.1.3" | ||
} | ||
} |
@@ -18,6 +18,6 @@ const path = require('path'); | ||
test: /\.ts$/, | ||
loader: 'ts-loader', | ||
loader: "ts-loader", | ||
}, { | ||
test: /\.tsx$/, | ||
loader: 'ts-loader', | ||
loader: "ts-loader", | ||
options: { | ||
@@ -24,0 +24,0 @@ getCustomTransformers: () => ({ |
@@ -1,1 +0,12 @@ | ||
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("inferno"));else if("function"==typeof define&&define.amd)define(["inferno"],e);else{var n="object"==typeof exports?e(require("inferno")):e(t.inferno);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=1)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e);var r,o=n(0),i="mdc-button",u="mdc-button__label",f=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n},l=o.normalizeProps,a=o.createVNode,s=o.createFragment,y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.internalRender=function(t){var e=t.children;return s([a(1,"span",u,e,0)],4)},e}(o.Component),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.render=function(){var t=c(this.props,[]);return l(a(1,"button",i,this.internalRender(this.props),0,p({},t)))},e.Anchor=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.render=function(){var t=c(this.props,[]);return l(a(1,"a",i,this.internalRender(this.props),0,p({},t)))},e}(y),e}(y);n.d(e,"MDCButton",function(){return d})}])}); | ||
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("inferno"));else if("function"==typeof define&&define.amd)define(["inferno"],e);else{var r="object"==typeof exports?e(require("inferno")):e(t.inferno);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(window,function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(e,r){e.exports=t},function(t,e,r){var n; | ||
/*! | ||
Copyright (c) 2017 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
/*! | ||
Copyright (c) 2017 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/ | ||
!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)&&n.length){var u=o.apply(null,n);u&&t.push(u)}else if("object"===i)for(var a in n)r.call(n,a)&&n[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},function(t,e,r){"use strict";r.r(e);var n,o=r(0),i=r(1),u=r.n(i),a="mdc-button",c="mdc-button__label",p="mdc-button--raised",l="mdc-button--outlined",s="mdc-button--unelevated",f=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),d=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&(r[n[o]]=t[n[o]])}return r},y=o.createVNode,b=o.createFragment,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.getOtherProps=function(){var t=this.props;t.raised,t.unelevated,t.outlined,t.children;return d(t,["raised","unelevated","outlined","children"])},e.prototype.cssClasses=function(t){var e;void 0===t&&(t="");var r=this.props,n=r.raised,o=r.unelevated,i=r.outlined;return u()(t,a,((e={})[p]=n,e[s]=o,e[l]=i,e))},e.prototype.internalRender=function(){var t=this.props.children;return b([y(1,"span",c,t,0)],4)},e}(o.Component),v=function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},m=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&(r[n[o]]=t[n[o]])}return r},j=o.normalizeProps,_=o.createVNode,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.render=function(){var e=t.prototype.getOtherProps.call(this),r=e.className,n=e.disabled,o=m(e,["className","disabled"]);return j(_(1,"button",t.prototype.cssClasses.call(this,r),t.prototype.internalRender.call(this),0,O({},o,{disabled:n})))},e.Anchor=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.render=function(){var e=t.prototype.getOtherProps.call(this),r=e.className,n=e.href,o=e.disabled,i=m(e,["className","href","disabled"]);return j(_(1,"a",t.prototype.cssClasses.call(this,r),t.prototype.internalRender.call(this),0,O({},i,{href:o?void 0:n,"aria-disabled":o})))},e}(h),e}(h);r.d(e,"MDCButton",function(){return g})}])}); |
{ | ||
"name": "material-components-web-inferno", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Don't use this module yet! I'm working on development.", | ||
"file": ["./dist"], | ||
"main": "./dist/main.js", | ||
@@ -25,2 +24,3 @@ "types": "./dist/main.d.ts", | ||
"devDependencies": { | ||
"classnames": "^2.2.6", | ||
"clean-webpack-plugin": "^2.0.1", | ||
@@ -27,0 +27,0 @@ "ts-transform-inferno": "^4.0.2", |
@@ -19,6 +19,6 @@ const path = require('path'); | ||
test: /\.ts$/, | ||
loader: 'ts-loader', | ||
loader: "ts-loader", | ||
}, { | ||
test: /\.tsx$/, | ||
loader: 'ts-loader', | ||
loader: "ts-loader", | ||
options: { | ||
@@ -25,0 +25,0 @@ getCustomTransformers: () => ({ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14671
17
246
0
7