Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react dependency and outdated dependencies #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ typings/
# dotenv environment variables file
.env

dist


2 changes: 1 addition & 1 deletion dist/avatar/Skin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function makeColor(name, color) {
return _super !== null && _super.apply(this, arguments) || this;
}
ColorComponent.prototype.render = function () {
return (React.createElement("g", { id: "Skin/\uD83D\uDC76\uD83C\uDFFD-03-Brown", mask: "url(#" + this.props.maskID + ")", fill: color },
return (React.createElement("g", { id: "Skin/\uD83D\uDC76\uD83C\uDFFD-03-Brown", mask: "url(#".concat(this.props.maskID, ")"), fill: color },
React.createElement("g", { transform: "translate(0.000000, 0.000000)", id: "Color" },
React.createElement("rect", { x: "0", y: "0", width: "264", height: "280" }))));
};
Expand Down
8 changes: 4 additions & 4 deletions dist/avatar/clothes/BlazerShirt.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var BlazerShirt = /** @class */ (function (_super) {
__extends(BlazerShirt, _super);
function BlazerShirt() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.path1 = lodash_1.uniqueId('react-path-');
_this.mask1 = lodash_1.uniqueId('react-mask-');
_this.path1 = (0, lodash_1.uniqueId)('react-path-');
_this.mask1 = (0, lodash_1.uniqueId)('react-mask-');
return _this;
}
BlazerShirt.prototype.render = function () {
Expand All @@ -34,10 +34,10 @@ var BlazerShirt = /** @class */ (function (_super) {
React.createElement("mask", { id: mask1, fill: 'white' },
React.createElement("use", { xlinkHref: '#' + path1 })),
React.createElement("use", { id: 'Clothes', fill: '#E6E6E6', xlinkHref: '#' + path1 }),
React.createElement("g", { id: 'Color/Palette/Black', mask: "url(#" + mask1 + ")", fill: '#262E33' },
React.createElement("g", { id: 'Color/Palette/Black', mask: "url(#".concat(mask1, ")"), fill: '#262E33' },
React.createElement("g", { transform: 'translate(-32.000000, -29.000000)', id: '\uD83D\uDD8DColor' },
React.createElement("rect", { x: '0', y: '0', width: '264', height: '110' }))),
React.createElement("g", { id: 'Shadowy', opacity: '0.599999964', mask: "url(#" + mask1 + ")", fillOpacity: '0.16', fill: '#000000' },
React.createElement("g", { id: 'Shadowy', opacity: '0.599999964', mask: "url(#".concat(mask1, ")"), fillOpacity: '0.16', fill: '#000000' },
React.createElement("g", { transform: 'translate(60.000000, -25.000000)', id: 'Hola-\uD83D\uDC4B\uD83C\uDFFC' },
React.createElement("ellipse", { cx: '40.5', cy: '27.8476251', rx: '39.6351047', ry: '26.9138272' })))),
React.createElement("g", { id: 'Blazer', transform: 'translate(32.000000, 28.000000)' },
Expand Down
6 changes: 3 additions & 3 deletions dist/avatar/clothes/BlazerSweater.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var BlazerSweater = /** @class */ (function (_super) {
__extends(BlazerSweater, _super);
function BlazerSweater() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.path1 = lodash_1.uniqueId('react-path-');
_this.mask1 = lodash_1.uniqueId('react-mask-');
_this.path1 = (0, lodash_1.uniqueId)('react-path-');
_this.mask1 = (0, lodash_1.uniqueId)('react-mask-');
return _this;
}
BlazerSweater.prototype.render = function () {
Expand All @@ -33,7 +33,7 @@ var BlazerSweater = /** @class */ (function (_super) {
React.createElement("mask", { id: mask1, fill: 'white' },
React.createElement("use", { xlinkHref: '#' + path1 })),
React.createElement("use", { id: 'Clothes', fill: '#E6E6E6', fillRule: 'evenodd', xlinkHref: '#' + path1 }),
React.createElement("g", { id: 'Color/Palette/Black', mask: "url(#" + mask1 + ")", fillRule: 'evenodd', fill: '#262E33' },
React.createElement("g", { id: 'Color/Palette/Black', mask: "url(#".concat(mask1, ")"), fillRule: 'evenodd', fill: '#262E33' },
React.createElement("rect", { id: '\uD83D\uDD8DColor', x: '0', y: '0', width: '264', height: '110' })),
React.createElement("g", { id: 'Blazer', strokeWidth: '1', fillRule: 'evenodd', transform: 'translate(32.000000, 28.000000)' },
React.createElement("path", { d: 'M68.784807,1.12222847 C30.512317,2.80409739 1.24427139e-14,34.3646437 0,73.0517235 L0,82 L69.3616767,82 C65.9607412,69.9199941 64,55.7087296 64,40.5 C64,26.1729736 65.7399891,12.7311115 68.784807,1.12222847 Z M131.638323,82 L200,82 L200,73.0517235 C200,34.7067641 170.024954,3.36285166 132.228719,1.17384225 C135.265163,12.7709464 137,26.1942016 137,40.5 C137,55.7087296 135.039259,69.9199941 131.638323,82 Z', id: 'Saco', fill: '#3A4C5A' }),
Expand Down
4 changes: 2 additions & 2 deletions dist/avatar/clothes/CollarSweater.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ var CollarSweater = /** @class */ (function (_super) {
__extends(CollarSweater, _super);
function CollarSweater() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.path1 = lodash_1.uniqueId('react-path-');
_this.mask1 = lodash_1.uniqueId('react-mask-');
_this.path1 = (0, lodash_1.uniqueId)('react-path-');
_this.mask1 = (0, lodash_1.uniqueId)('react-mask-');
return _this;
}
CollarSweater.prototype.render = function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/avatar/clothes/Colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function makeColor(name, color) {
return _super !== null && _super.apply(this, arguments) || this;
}
ColorComponent.prototype.render = function () {
return (React.createElement("g", { id: 'Color/Palette/Gray-01', mask: "url(#" + this.props.maskID + ")", fillRule: 'evenodd', fill: color },
return (React.createElement("g", { id: 'Color/Palette/Gray-01', mask: "url(#".concat(this.props.maskID, ")"), fillRule: 'evenodd', fill: color },
React.createElement("rect", { id: '\uD83D\uDD8DColor', x: '0', y: '0', width: '264', height: '110' })));
};
return ColorComponent;
Expand Down
4 changes: 2 additions & 2 deletions dist/avatar/clothes/GraphicShirt.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ var GraphicShirt = /** @class */ (function (_super) {
__extends(GraphicShirt, _super);
function GraphicShirt() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.path1 = lodash_1.uniqueId('react-path-');
_this.mask1 = lodash_1.uniqueId('react-mask-');
_this.path1 = (0, lodash_1.uniqueId)('react-path-');
_this.mask1 = (0, lodash_1.uniqueId)('react-mask-');
return _this;
}
GraphicShirt.prototype.render = function () {
Expand Down
Loading