Skip to content

Commit b59464e

Browse files
wbridegroomBill Bridegroom
and
Bill Bridegroom
authored
8.5.1 Updated wallet icon (#984)
Co-authored-by: Bill Bridegroom <william.bridegroom@mx.com>
1 parent 27ba6e3 commit b59464e

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

docs/bundle.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/components/Changelog.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ class Changelog extends React.Component {
77
<h1>Change Log</h1>
88

99
<h2>MX React Components V 8.0.0</h2>
10+
<h3>8.5.1</h3>
11+
<ul>
12+
<li>Replaced wallet icon</li>
13+
</ul>
14+
1015
<h3>8.5.0</h3>
1116
<ul>
1217
<li>Changing Font to Inter</li>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mx-react-components",
3-
"version": "8.5.0",
3+
"version": "8.5.1",
44
"description": "A collection of generic React UI components",
55
"main": "dist/index.js",
66
"files": [

src/components/Icon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Icon extends React.Component {
3838
className='mx-icon'
3939
preserveAspectRatio='xMidYMid meet'
4040
style={styles.component}
41-
viewBox='0 0 512 512'
41+
viewBox={this.props.type === 'wallet' ? '0 0 38 38' : '0 0 512 512'}
4242
>
4343
{getIconPath(this.props.type, this.props.backgroundFillColor)}
4444
</svg>

src/constants/IconPaths.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,14 +1692,8 @@ const getIconPath = (type, backgroundFillColor = 'transparent') => {
16921692
),
16931693
'wallet':
16941694
(
1695-
<g>
1696-
<path d="M359.52,208.84H328.39V104.42H297.26V0h-235V34.81H39.69C17.81,34.81,0,54.26,0,78.18V339.23C0,372.74,24.78,400,55.25,
1697-
400H328.39V295.58h31.13ZM79.37,17.12H280.14v87.3H79.37V17.12ZM39.69,51.93H62.25v52.49H39.69c-12.44,0-22.57-11.77-22.57-26.24S27.25,
1698-
51.93,39.69,51.93Zm271.58,331h-256c-21,0-38.13-19.58-38.13-43.65V113.83l.21.15.79.55c.71.51,1.43,1,2.17,1.44.35.22.71.43,
1699-
1.07.64.72.41,1.46.79,2.21,1.16.32.16.64.33,1,.48,1.05.48,2.13.92,3.23,1.3l.66.19c.92.3,1.85.56,2.79.79l1.15.25c.84.17,
1700-
1.68.31,2.54.42l1.1.14c1.21.12,2.43.2,3.67.2H311.27v87.3H280.92c-21.88,0-39.68,19.45-39.68,43.37s17.8,43.37,39.68,43.37h30.35ZM342.4,
1701-
278.46H280.92c-12.44,0-22.56-11.77-22.56-26.25S268.48,226,280.92,226H342.4Z"
1702-
/>
1695+
<g transform="translate(4 2)">
1696+
<path d="M3.005 1.386 C 1.857 1.687,0.868 2.615,0.436 3.795 L 0.293 4.187 0.293 15.547 L 0.293 26.907 0.466 27.413 C 0.916 28.738,1.783 29.723,3.001 30.293 C 3.249 30.410,3.653 30.559,3.899 30.624 L 4.347 30.744 16.547 30.760 L 28.747 30.776 28.747 26.774 L 28.747 22.773 30.240 22.773 L 31.733 22.773 31.733 19.013 L 31.733 15.253 30.240 15.253 L 28.747 15.253 28.747 11.253 L 28.747 7.253 16.360 7.253 C 8.664 7.253,3.854 7.233,3.659 7.201 C 2.495 7.011,1.690 5.989,1.777 4.811 C 1.842 3.923,2.493 3.110,3.348 2.851 C 3.563 2.786,4.910 2.774,12.413 2.774 L 21.227 2.773 21.227 3.760 L 21.227 4.747 22.000 4.747 L 22.773 4.747 22.773 3.013 L 22.773 1.280 13.080 1.283 C 3.778 1.286,3.371 1.290,3.005 1.386 M1.913 8.125 C 2.018 8.252,2.799 8.586,3.178 8.667 C 3.495 8.734,5.192 8.745,15.400 8.746 L 27.253 8.747 27.253 11.996 L 27.253 15.245 25.267 15.267 C 23.660 15.285,23.226 15.305,22.999 15.373 C 21.982 15.678,21.116 16.402,20.642 17.345 C 20.344 17.937,20.247 18.432,20.279 19.194 C 20.323 20.220,20.610 20.867,21.360 21.630 C 21.848 22.126,22.310 22.409,22.959 22.607 C 23.372 22.734,23.453 22.739,25.320 22.761 L 27.253 22.783 27.253 26.033 L 27.253 29.283 15.853 29.268 L 4.453 29.253 4.022 29.107 C 3.469 28.920,3.044 28.641,2.626 28.193 C 2.238 27.776,1.943 27.229,1.837 26.726 C 1.774 26.431,1.762 24.866,1.761 17.213 C 1.760 11.994,1.780 8.053,1.807 8.053 C 1.833 8.053,1.880 8.085,1.913 8.125 M30.240 19.005 L 30.240 21.263 26.920 21.254 C 23.308 21.245,23.392 21.252,22.856 20.938 C 22.532 20.748,22.148 20.310,21.969 19.927 C 21.691 19.333,21.706 18.554,22.006 17.962 C 22.280 17.420,22.975 16.900,23.555 16.803 C 23.697 16.779,25.259 16.756,27.027 16.753 L 30.240 16.747 30.240 19.005 " />
17031697
</g>
17041698
),
17051699
'windows':

0 commit comments

Comments
 (0)