@project-r/styleguide
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -11,10 +11,12 @@ 'use strict'; | ||
var ratio = 1340.965 / 136.32; | ||
var ratio = 960 / 140; | ||
var Logo = function Logo(_ref) { | ||
var width = _ref.width; | ||
var width = _ref.width, | ||
height = _ref.height, | ||
fill = _ref.fill; | ||
return _react2.default.createElement( | ||
'svg', | ||
{ width: width, height: width / ratio, viewBox: '0.0002441 0.0002441 1340.9648438 136.3203125' }, | ||
_react2.default.createElement('path', { fill: '#000', d: 'M114.818 122.79L94.544 79.42c-15.316.61-28.054-3.412-28.054-3.412v-2.794c25.574-1.778 47.488-13.787 47.488-33.394 0-26.87-25.178-32.496-54.153-32.622l-.007-.005H0v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6L0 129.03v4.7h62.818v-4.7l-11.6-6.24-2.44-4.6V86.045l9.688-7.603 22.418 55.287h45.53v-4.7l-11.596-6.24zM62.74 13.545c7.964 1.744 13.916 9.386 13.916 28.015 0 21.585-7.987 28.45-17.838 28.45h-10.04V22.133l13.963-8.587zM237.84 87.193l-27.974 36.896h-28.38V73.984h10.752l4.4 3.65 10.2 16.22h5.568v-49.2h-5.567L196.637 60.87l-4.4 3.653h-10.752V25.968l12.73-9.134h12.828L234.84 51.73h4.698L232.49 0h-5.213l-5.787 7.195H132.71v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7h102.997l6.834-46.537M737.622 87.194l-27.27 36.895h-26.536V22.733l2.44-4.6 11.6-6.24v-4.7h-62.818v4.7l11.6 6.24 2.26 4.6v95.456l-2.26 4.6-11.6 6.24v4.7h100.87l6.417-46.536M586.58 68.708v-2.844c23.27-4.09 35.554-14.115 35.554-28.762 0-23.763-23.44-29.4-51.11-29.87l-.05-.037h-59.817v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7H573.56c28.242-.707 53.418-13.22 53.418-34.365 0-22.565-17.543-29.024-40.4-30.657zm-13.067-54.782c6.96 2.56 12.3 9.92 12.3 25.474 0 20.178-7.988 26.597-17.84 26.597h-8.038V22.133l13.578-8.207zm-3.54 110.163h-10.038V80.43L573.26 71.6c9.507 1.253 16.76 8.38 16.76 26.845 0 20.543-8.976 25.644-20.046 25.644zM448.81 7.195v4.7l19.38 10.094 2.258 4.598v60.934c0 23.58-10.798 33.84-26.998 33.84-16.74 0-25.92-11.34-25.92-34.56V22.734l2.442-4.6 11.598-6.24v-4.7h-62.817v4.7l11.6 6.24 2.26 4.6v66.608c0 33.12 18.24 46.98 49.2 46.98 35.817 0 49.198-20.34 49.198-46.44V26.588l2.44-4.6 19.2-10.094v-4.7h-53.84zM943.322 122.788l-40.354-70.52 36.316-35.776 8.997-4.6V7.195h-44.998v30.59l-24.884 24.38h-5.692V22.732l2.442-4.6 11.597-6.24v-4.7H823.93v4.7l11.6 6.24 2.258 4.6v95.457l-2.26 4.598-11.6 6.24v4.7h62.817v-4.7l-11.597-6.24-2.442-4.6V81.945l5.127-5.03 30.89 56.815h46.31v-4.7M313.16 7.208l-.04-.013H253.302v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7h62.816v-4.7l-11.597-6.24-2.44-4.6-.046-32.858v.002l5.54-3.717 19.513 7.264c21.393-2.393 40.192-19.538 40.192-39.93 0-28.604-22.6-41.464-54.12-41.742zm-3.04 68.08h-8.1l-.075-53.155 13.44-8.1c8.5 2.79 14.573 11.574 14.573 29.822 0 22.817-11.045 31.432-19.838 31.432zM748.622 133.73v-4.7l11.6-6.24 2.26-4.6V22.733l-2.26-4.6-11.6-6.24v-4.7h62.82v4.7l-11.6 6.24-2.44 4.6v95.457l2.44 4.6 11.6 6.24v4.7h-62.82z' }) | ||
{ width: width ? width : height * ratio, height: !width ? height : width / ratio, viewBox: '0 0 960 140' }, | ||
_react2.default.createElement('path', { fill: fill, d: 'M114.818 122.79L94.544 79.42c-15.316.61-28.054-3.412-28.054-3.412v-2.794c25.574-1.778 47.488-13.787 47.488-33.394 0-26.87-25.178-32.496-54.153-32.622l-.007-.005H0v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6L0 129.03v4.7h62.818v-4.7l-11.6-6.24-2.44-4.6V86.045l9.688-7.603 22.418 55.287h45.53v-4.7l-11.596-6.24zM62.74 13.545c7.964 1.744 13.916 9.386 13.916 28.015 0 21.585-7.987 28.45-17.838 28.45h-10.04V22.133l13.963-8.587zM237.84 87.193l-27.974 36.896h-28.38V73.984h10.752l4.4 3.65 10.2 16.22h5.568v-49.2h-5.567L196.637 60.87l-4.4 3.653h-10.752V25.968l12.73-9.134h12.828L234.84 51.73h4.698L232.49 0h-5.213l-5.787 7.195H132.71v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7h102.997l6.834-46.537M737.622 87.194l-27.27 36.895h-26.536V22.733l2.44-4.6 11.6-6.24v-4.7h-62.818v4.7l11.6 6.24 2.26 4.6v95.456l-2.26 4.6-11.6 6.24v4.7h100.87l6.417-46.536M586.58 68.708v-2.844c23.27-4.09 35.554-14.115 35.554-28.762 0-23.763-23.44-29.4-51.11-29.87l-.05-.037h-59.817v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7H573.56c28.242-.707 53.418-13.22 53.418-34.365 0-22.565-17.543-29.024-40.4-30.657zm-13.067-54.782c6.96 2.56 12.3 9.92 12.3 25.474 0 20.178-7.988 26.597-17.84 26.597h-8.038V22.133l13.578-8.207zm-3.54 110.163h-10.038V80.43L573.26 71.6c9.507 1.253 16.76 8.38 16.76 26.845 0 20.543-8.976 25.644-20.046 25.644zM448.81 7.195v4.7l19.38 10.094 2.258 4.598v60.934c0 23.58-10.798 33.84-26.998 33.84-16.74 0-25.92-11.34-25.92-34.56V22.734l2.442-4.6 11.598-6.24v-4.7h-62.817v4.7l11.6 6.24 2.26 4.6v66.608c0 33.12 18.24 46.98 49.2 46.98 35.817 0 49.198-20.34 49.198-46.44V26.588l2.44-4.6 19.2-10.094v-4.7h-53.84zM943.322 122.788l-40.354-70.52 36.316-35.776 8.997-4.6V7.195h-44.998v30.59l-24.884 24.38h-5.692V22.732l2.442-4.6 11.597-6.24v-4.7H823.93v4.7l11.6 6.24 2.258 4.6v95.457l-2.26 4.598-11.6 6.24v4.7h62.817v-4.7l-11.597-6.24-2.442-4.6V81.945l5.127-5.03 30.89 56.815h46.31v-4.7M313.16 7.208l-.04-.013H253.302v4.7l11.6 6.238 2.26 4.6v95.457l-2.26 4.6-11.6 6.24v4.7h62.816v-4.7l-11.597-6.24-2.44-4.6-.046-32.858v.002l5.54-3.717 19.513 7.264c21.393-2.393 40.192-19.538 40.192-39.93 0-28.604-22.6-41.464-54.12-41.742zm-3.04 68.08h-8.1l-.075-53.155 13.44-8.1c8.5 2.79 14.573 11.574 14.573 29.822 0 22.817-11.045 31.432-19.838 31.432zM748.622 133.73v-4.7l11.6-6.24 2.26-4.6V22.733l-2.26-4.6-11.6-6.24v-4.7h62.82v4.7l-11.6 6.24-2.44 4.6v95.457l2.44 4.6 11.6 6.24v4.7h-62.82z' }) | ||
); | ||
@@ -24,5 +26,6 @@ }; | ||
Logo.defaultProps = { | ||
width: 500 | ||
fill: '#000', | ||
height: 40 | ||
}; | ||
exports.default = Logo; |
{ | ||
"name": "@project-r/styleguide", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "react-autocomplete": "^1.4.1" |
9441896
1860