Skip to content

Commit 66c7ab5

Browse files
authored
Merge pull request #21 from Wikia/IW-1261
IW-1261 | cross icon added temporarily as a duplicate of close icon
2 parents 3dbe8be + aa6a24e commit 66c7ab5

File tree

16 files changed

+137
-16
lines changed

16 files changed

+137
-16
lines changed

components/Avatar.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@
6262
.wds-avatar img.wds-avatar__image:hover {
6363
border-color: #bed1cf;
6464
}
65-
.wds-avatar.is-default:before {
66-
height: 42px;
67-
min-width: 42px;
68-
width: 42px;
69-
border: solid 3px #fff;
70-
left: 3px;
71-
top: 3px;
72-
}
7365
.wds-avatar .wds-avatar__badge {
7466
height: 20.1872px;
7567
min-width: 20.1872px;

components/IconSprite.js

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

docs/build/1.ebf0bd10.js renamed to docs/build/1.52d34b7a.js

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

docs/build/bundle.02f52b1a.js renamed to docs/build/bundle.ff9a0e9e.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/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.02f52b1a.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.ff9a0e9e.js"></script></body></html>

icons/IconCross.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
'use strict';
2+
3+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4+
5+
var React = _interopDefault(require('react'));
6+
7+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8+
9+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
10+
var IconCross = ((_ref) => {
11+
let props = _objectWithoutProperties(_ref, ["styles"]);
12+
13+
return React.createElement(
14+
"svg",
15+
_extends({ xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 24 24" }, props),
16+
React.createElement(
17+
"defs",
18+
null,
19+
React.createElement("path", { id: "id-icons/IconCross-a", d: "M22.083 23a.914.914 0 0 1-.648-.269l-9.485-9.485-9.385 9.385a.917.917 0 0 1-1.296-1.297l9.384-9.384L1.37 2.666a.917.917 0 0 1 1.297-1.297l9.284 9.283 9.384-9.383a.916.916 0 1 1 1.297 1.296l-9.385 9.385 9.485 9.485A.916.916 0 0 1 22.083 23" })
20+
),
21+
React.createElement("use", { fillRule: "evenodd", xlinkHref: "#id-icons/IconCross-a" })
22+
);
23+
});
24+
25+
// This file is generated automatically via extract-assets-from-ds.js
26+
/** @component */
27+
28+
var index = (function (props) {
29+
return React.createElement(IconCross, props);
30+
});
31+
32+
module.exports = index;

icons/IconCrossSmall.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
'use strict';
2+
3+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4+
5+
var React = _interopDefault(require('react'));
6+
7+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8+
9+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
10+
var IconCrossSmall = ((_ref) => {
11+
let props = _objectWithoutProperties(_ref, ["styles"]);
12+
13+
return React.createElement(
14+
"svg",
15+
_extends({ xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 18 18" }, props),
16+
React.createElement(
17+
"defs",
18+
null,
19+
React.createElement("path", { id: "id-icons/IconCrossSmall-a", d: "M10.414 9l6.293-6.293a.999.999 0 1 0-1.414-1.414L9 7.586 2.707 1.293a.999.999 0 1 0-1.414 1.414L7.586 9l-6.293 6.293a.999.999 0 1 0 1.414 1.414L9 10.414l6.293 6.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L10.414 9z" })
20+
),
21+
React.createElement("use", { fillRule: "evenodd", xlinkHref: "#id-icons/IconCrossSmall-a" })
22+
);
23+
});
24+
25+
// This file is generated automatically via extract-assets-from-ds.js
26+
/** @component */
27+
28+
var index = (function (props) {
29+
return React.createElement(IconCrossSmall, props);
30+
});
31+
32+
module.exports = index;

icons/IconCrossTiny.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
'use strict';
2+
3+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4+
5+
var React = _interopDefault(require('react'));
6+
7+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8+
9+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
10+
var IconCrossTiny = ((_ref) => {
11+
let props = _objectWithoutProperties(_ref, ["styles"]);
12+
13+
return React.createElement(
14+
"svg",
15+
_extends({ xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 12 12" }, props),
16+
React.createElement(
17+
"defs",
18+
null,
19+
React.createElement("path", { id: "id-icons/IconCrossTiny-a", d: "M7.426 6.001l4.278-4.279A1.008 1.008 0 1 0 10.278.296L6 4.574 1.723.296A1.008 1.008 0 1 0 .295 1.722l4.278 4.28-4.279 4.277a1.008 1.008 0 1 0 1.427 1.426L6 7.427l4.278 4.278a1.006 1.006 0 0 0 1.426 0 1.008 1.008 0 0 0 0-1.426L7.425 6.001z" })
20+
),
21+
React.createElement("use", { fillRule: "evenodd", xlinkHref: "#id-icons/IconCrossTiny-a" })
22+
);
23+
});
24+
25+
// This file is generated automatically via extract-assets-from-ds.js
26+
/** @component */
27+
28+
var index = (function (props) {
29+
return React.createElement(IconCrossTiny, props);
30+
});
31+
32+
module.exports = index;

source/icons/IconCross/README.md

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

source/icons/IconCross/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 IconCross from 'design-system/dist/svg/wds-icons-cross.svg';
4+
5+
/** @component */
6+
export default props => <IconCross {...props} />;

0 commit comments

Comments
 (0)