viper_core
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,10 +0,2 @@ | ||
/** | ||
* @class ExampleComponent | ||
*/ | ||
import * as React from 'react'; | ||
export declare type Props = { | ||
text: string; | ||
}; | ||
export default class ExampleComponent extends React.Component<Props> { | ||
render(): JSX.Element; | ||
} | ||
import { Test } from "./test.component"; | ||
export { Test }; |
@@ -1,32 +0,3 @@ | ||
import { createElement, Component } from 'react'; | ||
import { createElement } from 'react'; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
var extendStatics = function(d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
function __extends(d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
} | ||
function styleInject(css, ref) { | ||
@@ -59,24 +30,11 @@ if ( ref === void 0 ) ref = {}; | ||
var css = "/* add css styles here (optional) */\n\n.styles_test__32Qsm {\n display: inline-block;\n margin: 2em auto;\n border: 2px solid #000;\n font-size: 2em;\n}\n"; | ||
var styles = {"test":"styles_test__32Qsm"}; | ||
var css = ".test-component-module_test__3bEvr {\n color: red;\n}\n"; | ||
var styles = {"test":"test-component-module_test__3bEvr"}; | ||
styleInject(css); | ||
/** | ||
* @class ExampleComponent | ||
*/ | ||
var ExampleComponent = /** @class */ (function (_super) { | ||
__extends(ExampleComponent, _super); | ||
function ExampleComponent() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ExampleComponent.prototype.render = function () { | ||
var text = this.props.text; | ||
return (createElement("div", { className: styles.test }, | ||
"Example Component: ", | ||
text)); | ||
}; | ||
return ExampleComponent; | ||
}(Component)); | ||
var Test = function () { | ||
return createElement("div", { className: styles.test }, "Hallo, dit is een test!"); | ||
}; | ||
export default ExampleComponent; | ||
export { Test }; | ||
//# sourceMappingURL=index.es.js.map |
@@ -7,31 +7,2 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
var extendStatics = function(d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
function __extends(d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
} | ||
function styleInject(css, ref) { | ||
@@ -64,24 +35,11 @@ if ( ref === void 0 ) ref = {}; | ||
var css = "/* add css styles here (optional) */\n\n.styles_test__32Qsm {\n display: inline-block;\n margin: 2em auto;\n border: 2px solid #000;\n font-size: 2em;\n}\n"; | ||
var styles = {"test":"styles_test__32Qsm"}; | ||
var css = ".test-component-module_test__3bEvr {\n color: red;\n}\n"; | ||
var styles = {"test":"test-component-module_test__3bEvr"}; | ||
styleInject(css); | ||
/** | ||
* @class ExampleComponent | ||
*/ | ||
var ExampleComponent = /** @class */ (function (_super) { | ||
__extends(ExampleComponent, _super); | ||
function ExampleComponent() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ExampleComponent.prototype.render = function () { | ||
var text = this.props.text; | ||
return (React.createElement("div", { className: styles.test }, | ||
"Example Component: ", | ||
text)); | ||
}; | ||
return ExampleComponent; | ||
}(React.Component)); | ||
var Test = function () { | ||
return React.createElement("div", { className: styles.test }, "Hallo, dit is een test!"); | ||
}; | ||
exports.default = ExampleComponent; | ||
exports.Test = Test; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "viper_core", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "webbio", |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
9
0
8340
71