@carbon/icons-react 0.0.1-beta.1 → 0.0.1-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/CSV/20.js +74 -0
- package/es/CSV/24.js +74 -0
- package/es/CSV/32.js +74 -0
- package/es/TSV/20.js +74 -0
- package/es/TSV/24.js +74 -0
- package/es/TSV/32.js +74 -0
- package/es/XLS/20.js +74 -0
- package/es/XLS/24.js +74 -0
- package/es/XLS/32.js +74 -0
- package/es/{add--outline → add--alt}/16.js +5 -5
- package/es/app-switcher/16.js +74 -0
- package/es/app-switcher/20.js +1 -1
- package/es/app-switcher/24.js +2 -2
- package/es/checkmark--filled/24.js +2 -2
- package/es/checkmark--filled/32.js +1 -2
- package/es/data--reference/20.js +74 -0
- package/es/data--reference/24.js +74 -0
- package/es/data--reference/32.js +74 -0
- package/es/error--filled/16.js +4 -0
- package/es/error--filled/20.js +6 -2
- package/es/error--filled/24.js +6 -2
- package/es/error--filled/32.js +5 -1
- package/es/misuse/24.js +2 -2
- package/es/model/20.js +74 -0
- package/es/model/24.js +74 -0
- package/es/model/32.js +74 -0
- package/es/model--reference/20.js +76 -0
- package/es/model--reference/24.js +76 -0
- package/es/model--reference/32.js +76 -0
- package/es/notebook/20.js +76 -0
- package/es/notebook/24.js +76 -0
- package/es/notebook/32.js +76 -0
- package/es/notebook--reference/20.js +76 -0
- package/es/notebook--reference/24.js +76 -0
- package/es/notebook--reference/32.js +76 -0
- package/es/warning--filled/16.js +2 -2
- package/es/warning--filled/20.js +2 -2
- package/es/warning--filled/24.js +2 -2
- package/es/warning--filled/32.js +2 -2
- package/lib/CSV/20.js +78 -0
- package/lib/CSV/24.js +78 -0
- package/lib/CSV/32.js +78 -0
- package/lib/TSV/20.js +78 -0
- package/lib/TSV/24.js +78 -0
- package/lib/TSV/32.js +78 -0
- package/lib/XLS/20.js +78 -0
- package/lib/XLS/24.js +78 -0
- package/lib/XLS/32.js +78 -0
- package/lib/{add--outline → add--alt}/16.js +5 -5
- package/lib/app-switcher/16.js +78 -0
- package/lib/app-switcher/20.js +1 -1
- package/lib/app-switcher/24.js +2 -2
- package/lib/checkmark--filled/24.js +2 -2
- package/lib/checkmark--filled/32.js +1 -2
- package/lib/data--reference/20.js +78 -0
- package/lib/data--reference/24.js +78 -0
- package/lib/data--reference/32.js +78 -0
- package/lib/error--filled/16.js +4 -0
- package/lib/error--filled/20.js +6 -2
- package/lib/error--filled/24.js +6 -2
- package/lib/error--filled/32.js +5 -1
- package/lib/misuse/24.js +2 -2
- package/lib/model/20.js +78 -0
- package/lib/model/24.js +78 -0
- package/lib/model/32.js +78 -0
- package/lib/model--reference/20.js +80 -0
- package/lib/model--reference/24.js +80 -0
- package/lib/model--reference/32.js +80 -0
- package/lib/notebook/20.js +80 -0
- package/lib/notebook/24.js +80 -0
- package/lib/notebook/32.js +80 -0
- package/lib/notebook--reference/20.js +80 -0
- package/lib/notebook--reference/24.js +80 -0
- package/lib/notebook--reference/32.js +80 -0
- package/lib/warning--filled/16.js +2 -2
- package/lib/warning--filled/20.js +2 -2
- package/lib/warning--filled/24.js +2 -2
- package/lib/warning--filled/32.js +2 -2
- package/package.json +6 -6
- package/umd/CSV/20.js +81 -0
- package/umd/CSV/24.js +81 -0
- package/umd/CSV/32.js +81 -0
- package/umd/TSV/20.js +81 -0
- package/umd/TSV/24.js +81 -0
- package/umd/TSV/32.js +81 -0
- package/umd/XLS/20.js +81 -0
- package/umd/XLS/24.js +81 -0
- package/umd/XLS/32.js +81 -0
- package/umd/{add--outline → add--alt}/16.js +6 -6
- package/umd/app-switcher/16.js +81 -0
- package/umd/app-switcher/20.js +1 -1
- package/umd/app-switcher/24.js +2 -2
- package/umd/checkmark--filled/24.js +2 -2
- package/umd/checkmark--filled/32.js +1 -2
- package/umd/data--reference/20.js +81 -0
- package/umd/data--reference/24.js +81 -0
- package/umd/data--reference/32.js +81 -0
- package/umd/error--filled/16.js +4 -0
- package/umd/error--filled/20.js +6 -2
- package/umd/error--filled/24.js +6 -2
- package/umd/error--filled/32.js +5 -1
- package/umd/misuse/24.js +2 -2
- package/umd/model/20.js +81 -0
- package/umd/model/24.js +81 -0
- package/umd/model/32.js +81 -0
- package/umd/model--reference/20.js +83 -0
- package/umd/model--reference/24.js +83 -0
- package/umd/model--reference/32.js +83 -0
- package/umd/notebook/20.js +83 -0
- package/umd/notebook/24.js +83 -0
- package/umd/notebook/32.js +83 -0
- package/umd/notebook--reference/20.js +83 -0
- package/umd/notebook--reference/24.js +83 -0
- package/umd/notebook--reference/32.js +83 -0
- package/umd/warning--filled/16.js +2 -2
- package/umd/warning--filled/20.js +2 -2
- package/umd/warning--filled/24.js +2 -2
- package/umd/warning--filled/32.js +2 -2
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var NotebookReference20 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
NotebookReference20.displayName = 'NotebookReference20';
|
|
55
|
+
NotebookReference20.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
NotebookReference20.defaultProps = {
|
|
69
|
+
width: 20,
|
|
70
|
+
height: 20,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default NotebookReference20;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var NotebookReference24 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
NotebookReference24.displayName = 'NotebookReference24';
|
|
55
|
+
NotebookReference24.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
NotebookReference24.defaultProps = {
|
|
69
|
+
width: 24,
|
|
70
|
+
height: 24,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default NotebookReference24;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var NotebookReference32 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
NotebookReference32.displayName = 'NotebookReference32';
|
|
55
|
+
NotebookReference32.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
NotebookReference32.defaultProps = {
|
|
69
|
+
width: 32,
|
|
70
|
+
height: 32,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default NotebookReference32;
|
package/es/warning--filled/16.js
CHANGED
|
@@ -46,9 +46,9 @@ var WarningFilled16 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: 'M8 1C4.
|
|
49
|
+
d: 'M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.1 7-7-3.1-7-7-7zm-.5 3h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: 'M7
|
|
51
|
+
d: 'M7.5 4h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
package/es/warning--filled/20.js
CHANGED
|
@@ -46,9 +46,9 @@ var WarningFilled20 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: 'M10
|
|
49
|
+
d: 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm-.8 4h1.5v7H9.2V5zm.8 11c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: '
|
|
51
|
+
d: 'M9.2 5h1.5v7H9.2V5zm.8 11c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
package/es/warning--filled/24.js
CHANGED
|
@@ -46,9 +46,9 @@ var WarningFilled24 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: 'M12
|
|
49
|
+
d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm-.9 5h1.8v8h-1.8V6zm.9 13.2c-.7 0-1.2-.6-1.2-1.2s.6-1.2 1.2-1.2 1.2.6 1.2 1.2-.5 1.2-1.2 1.2z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: 'M13.
|
|
51
|
+
d: 'M13.2 18c0 .7-.6 1.2-1.2 1.2s-1.2-.6-1.2-1.2.6-1.2 1.2-1.2 1.2.5 1.2 1.2zm-.3-12h-1.8v8h1.8V6z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
package/es/warning--filled/32.js
CHANGED
|
@@ -46,9 +46,9 @@ var WarningFilled32 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: 'M16
|
|
49
|
+
d: 'M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: 'M17.5 23.
|
|
51
|
+
d: 'M17.5 23.5c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5.7-1.5 1.5-1.5 1.5.7 1.5 1.5zM17.1 8h-2.2v11h2.2V8z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
package/lib/CSV/20.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var iconHelpers = require('@carbon/icon-helpers');
|
|
6
|
+
var PropTypes = _interopDefault(require('prop-types'));
|
|
7
|
+
var React = _interopDefault(require('react'));
|
|
8
|
+
|
|
9
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
10
|
+
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
12
|
+
|
|
13
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var defaultStyle = {
|
|
19
|
+
"willChange": "transform"
|
|
20
|
+
};
|
|
21
|
+
var Csv20 = React.forwardRef(function (_ref, ref) {
|
|
22
|
+
var className = _ref.className,
|
|
23
|
+
children = _ref.children,
|
|
24
|
+
style = _ref.style,
|
|
25
|
+
tabIndex = _ref.tabIndex,
|
|
26
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
27
|
+
|
|
28
|
+
var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
|
|
29
|
+
tabindex: tabIndex
|
|
30
|
+
})),
|
|
31
|
+
tabindex = _getAttributes.tabindex,
|
|
32
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
33
|
+
|
|
34
|
+
if (className) {
|
|
35
|
+
props.className = className;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
39
|
+
props.tabIndex = tabindex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (_typeof(style) === 'object') {
|
|
43
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
44
|
+
} else {
|
|
45
|
+
props.style = defaultStyle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (ref) {
|
|
49
|
+
props.ref = ref;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
+
d: 'M28 9l-2 13-2-13h-2l2.516 14h2.968L30 9h-2zM18 23h-6v-2h6v-4h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2h6v2h-6v4h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 2zm-8 0H4a2.002 2.002 0 0 1-2-2V11a2.002 2.002 0 0 1 2-2h6v2H4v10h6z'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Csv20.displayName = 'Csv20';
|
|
57
|
+
Csv20.propTypes = {
|
|
58
|
+
'aria-hidden': PropTypes.bool,
|
|
59
|
+
'aria-label': PropTypes.string,
|
|
60
|
+
'aria-labelledby': PropTypes.string,
|
|
61
|
+
className: PropTypes.string,
|
|
62
|
+
children: PropTypes.node,
|
|
63
|
+
height: PropTypes.number,
|
|
64
|
+
preserveAspectRatio: PropTypes.string,
|
|
65
|
+
tabIndex: PropTypes.string,
|
|
66
|
+
viewBox: PropTypes.string,
|
|
67
|
+
width: PropTypes.number,
|
|
68
|
+
xmlns: PropTypes.string
|
|
69
|
+
};
|
|
70
|
+
Csv20.defaultProps = {
|
|
71
|
+
width: 20,
|
|
72
|
+
height: 20,
|
|
73
|
+
viewBox: '0 0 32 32',
|
|
74
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
module.exports = Csv20;
|
package/lib/CSV/24.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var iconHelpers = require('@carbon/icon-helpers');
|
|
6
|
+
var PropTypes = _interopDefault(require('prop-types'));
|
|
7
|
+
var React = _interopDefault(require('react'));
|
|
8
|
+
|
|
9
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
10
|
+
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
12
|
+
|
|
13
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var defaultStyle = {
|
|
19
|
+
"willChange": "transform"
|
|
20
|
+
};
|
|
21
|
+
var Csv24 = React.forwardRef(function (_ref, ref) {
|
|
22
|
+
var className = _ref.className,
|
|
23
|
+
children = _ref.children,
|
|
24
|
+
style = _ref.style,
|
|
25
|
+
tabIndex = _ref.tabIndex,
|
|
26
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
27
|
+
|
|
28
|
+
var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
|
|
29
|
+
tabindex: tabIndex
|
|
30
|
+
})),
|
|
31
|
+
tabindex = _getAttributes.tabindex,
|
|
32
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
33
|
+
|
|
34
|
+
if (className) {
|
|
35
|
+
props.className = className;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
39
|
+
props.tabIndex = tabindex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (_typeof(style) === 'object') {
|
|
43
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
44
|
+
} else {
|
|
45
|
+
props.style = defaultStyle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (ref) {
|
|
49
|
+
props.ref = ref;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
+
d: 'M28 9l-2 13-2-13h-2l2.516 14h2.968L30 9h-2zM18 23h-6v-2h6v-4h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2h6v2h-6v4h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 2zm-8 0H4a2.002 2.002 0 0 1-2-2V11a2.002 2.002 0 0 1 2-2h6v2H4v10h6z'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Csv24.displayName = 'Csv24';
|
|
57
|
+
Csv24.propTypes = {
|
|
58
|
+
'aria-hidden': PropTypes.bool,
|
|
59
|
+
'aria-label': PropTypes.string,
|
|
60
|
+
'aria-labelledby': PropTypes.string,
|
|
61
|
+
className: PropTypes.string,
|
|
62
|
+
children: PropTypes.node,
|
|
63
|
+
height: PropTypes.number,
|
|
64
|
+
preserveAspectRatio: PropTypes.string,
|
|
65
|
+
tabIndex: PropTypes.string,
|
|
66
|
+
viewBox: PropTypes.string,
|
|
67
|
+
width: PropTypes.number,
|
|
68
|
+
xmlns: PropTypes.string
|
|
69
|
+
};
|
|
70
|
+
Csv24.defaultProps = {
|
|
71
|
+
width: 24,
|
|
72
|
+
height: 24,
|
|
73
|
+
viewBox: '0 0 32 32',
|
|
74
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
module.exports = Csv24;
|
package/lib/CSV/32.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var iconHelpers = require('@carbon/icon-helpers');
|
|
6
|
+
var PropTypes = _interopDefault(require('prop-types'));
|
|
7
|
+
var React = _interopDefault(require('react'));
|
|
8
|
+
|
|
9
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
10
|
+
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
12
|
+
|
|
13
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var defaultStyle = {
|
|
19
|
+
"willChange": "transform"
|
|
20
|
+
};
|
|
21
|
+
var Csv32 = React.forwardRef(function (_ref, ref) {
|
|
22
|
+
var className = _ref.className,
|
|
23
|
+
children = _ref.children,
|
|
24
|
+
style = _ref.style,
|
|
25
|
+
tabIndex = _ref.tabIndex,
|
|
26
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
27
|
+
|
|
28
|
+
var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
|
|
29
|
+
tabindex: tabIndex
|
|
30
|
+
})),
|
|
31
|
+
tabindex = _getAttributes.tabindex,
|
|
32
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
33
|
+
|
|
34
|
+
if (className) {
|
|
35
|
+
props.className = className;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
39
|
+
props.tabIndex = tabindex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (_typeof(style) === 'object') {
|
|
43
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
44
|
+
} else {
|
|
45
|
+
props.style = defaultStyle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (ref) {
|
|
49
|
+
props.ref = ref;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
+
d: 'M28 9l-2 13-2-13h-2l2.516 14h2.968L30 9h-2zM18 23h-6v-2h6v-4h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2h6v2h-6v4h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 2zm-8 0H4a2.002 2.002 0 0 1-2-2V11a2.002 2.002 0 0 1 2-2h6v2H4v10h6z'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Csv32.displayName = 'Csv32';
|
|
57
|
+
Csv32.propTypes = {
|
|
58
|
+
'aria-hidden': PropTypes.bool,
|
|
59
|
+
'aria-label': PropTypes.string,
|
|
60
|
+
'aria-labelledby': PropTypes.string,
|
|
61
|
+
className: PropTypes.string,
|
|
62
|
+
children: PropTypes.node,
|
|
63
|
+
height: PropTypes.number,
|
|
64
|
+
preserveAspectRatio: PropTypes.string,
|
|
65
|
+
tabIndex: PropTypes.string,
|
|
66
|
+
viewBox: PropTypes.string,
|
|
67
|
+
width: PropTypes.number,
|
|
68
|
+
xmlns: PropTypes.string
|
|
69
|
+
};
|
|
70
|
+
Csv32.defaultProps = {
|
|
71
|
+
width: 32,
|
|
72
|
+
height: 32,
|
|
73
|
+
viewBox: '0 0 32 32',
|
|
74
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
module.exports = Csv32;
|
package/lib/TSV/20.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var iconHelpers = require('@carbon/icon-helpers');
|
|
6
|
+
var PropTypes = _interopDefault(require('prop-types'));
|
|
7
|
+
var React = _interopDefault(require('react'));
|
|
8
|
+
|
|
9
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
10
|
+
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
12
|
+
|
|
13
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var defaultStyle = {
|
|
19
|
+
"willChange": "transform"
|
|
20
|
+
};
|
|
21
|
+
var Tsv20 = React.forwardRef(function (_ref, ref) {
|
|
22
|
+
var className = _ref.className,
|
|
23
|
+
children = _ref.children,
|
|
24
|
+
style = _ref.style,
|
|
25
|
+
tabIndex = _ref.tabIndex,
|
|
26
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
27
|
+
|
|
28
|
+
var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
|
|
29
|
+
tabindex: tabIndex
|
|
30
|
+
})),
|
|
31
|
+
tabindex = _getAttributes.tabindex,
|
|
32
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
33
|
+
|
|
34
|
+
if (className) {
|
|
35
|
+
props.className = className;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
39
|
+
props.tabIndex = tabindex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (_typeof(style) === 'object') {
|
|
43
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
44
|
+
} else {
|
|
45
|
+
props.style = defaultStyle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (ref) {
|
|
49
|
+
props.ref = ref;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
+
d: 'M28 9l-2 13-2-13h-2l2.516 14h2.968L30 9h-2zM18 23h-6v-2h6v-4h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2h6v2h-6v4h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 2zM2 11h3v12h2V11h3V9H2v2z'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Tsv20.displayName = 'Tsv20';
|
|
57
|
+
Tsv20.propTypes = {
|
|
58
|
+
'aria-hidden': PropTypes.bool,
|
|
59
|
+
'aria-label': PropTypes.string,
|
|
60
|
+
'aria-labelledby': PropTypes.string,
|
|
61
|
+
className: PropTypes.string,
|
|
62
|
+
children: PropTypes.node,
|
|
63
|
+
height: PropTypes.number,
|
|
64
|
+
preserveAspectRatio: PropTypes.string,
|
|
65
|
+
tabIndex: PropTypes.string,
|
|
66
|
+
viewBox: PropTypes.string,
|
|
67
|
+
width: PropTypes.number,
|
|
68
|
+
xmlns: PropTypes.string
|
|
69
|
+
};
|
|
70
|
+
Tsv20.defaultProps = {
|
|
71
|
+
width: 20,
|
|
72
|
+
height: 20,
|
|
73
|
+
viewBox: '0 0 32 32',
|
|
74
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
module.exports = Tsv20;
|