Skip to content

Commit 4f2a4f6

Browse files
authored
Merge pull request #28 from Wikia/IW-1589
IW-1589 | icons update
2 parents b7c6247 + ef26074 commit 4f2a4f6

File tree

15 files changed

+113
-78
lines changed

15 files changed

+113
-78
lines changed

docs/build/1.14b5634f.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/build/1.8213be0c.js

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

docs/build/bundle.0cd9f7dd.js

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

docs/build/bundle.29ce3c8d.js

Lines changed: 0 additions & 71 deletions
This file was deleted.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>react-common</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rubik:400,700"></head><body><div id="rsg-root"></div><div id="app"></div><script src="build/bundle.29ce3c8d.js"></script></body></html>
1+
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>react-common</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rubik:400,700"></head><body><div id="rsg-root"></div><div id="app"></div><script src="build/bundle.0cd9f7dd.js"></script></body></html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"classnames": "^2.2.6",
6060
"concurrently": "^4.1.0",
6161
"coveralls": "^3.0.2",
62-
"design-system": "git://github.com/Wikia/design-system.git#IW-1261",
62+
"design-system": "git://github.com/Wikia/design-system.git#IW-1589",
6363
"enzyme": "^3.7.0",
6464
"enzyme-adapter-react-16": "^1.7.0",
6565
"enzyme-redux": "^0.2.1",

source/components/BannerNotification/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import PropTypes from 'prop-types';
44
import IconCloseTiny from '../../icons/IconCloseTiny';
55
import IconAlertSmall from '../../icons/IconAlertSmall';
66
import IconCheckmarkSmall from '../../icons/IconCheckmarkSmall';
7+
import IconErrorSmall from '../../icons/IconErrorSmall';
78
import IconFlagSmall from '../../icons/IconFlagSmall';
89

910
import './styles.scss';
1011

1112
function getIcon(type) {
1213
switch (type) {
1314
case ('alert'):
14-
return <IconAlertSmall className="wds-banner-notification__icon-mark" />;
15+
return <IconErrorSmall className="wds-banner-notification__icon-mark" />;
1516
case ('warning'):
1617
return <IconAlertSmall className="wds-banner-notification__icon-mark" />;
1718
case ('success'):

source/icons/IconError/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
```js
3+
<IconError height="30" />
4+
```

source/icons/IconError/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This file is generated automatically via extract-assets-from-ds.js
2+
import React from 'react';
3+
import IconError from 'design-system/dist/svg/wds-icons-error.svg';
4+
5+
/** @component */
6+
export default props => <IconError {...props} />;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
```js
3+
<IconErrorSmall height="30" />
4+
```

0 commit comments

Comments
 (0)