@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
package/es/XLS/32.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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 Xls32 = 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: 'M28 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-14-2V9h-2v14h8v-2h-6zM10 9H8l-2 6-2-6H2l2.752 7L2 23h2l2-6 2 6h2l-2.755-7L10 9z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
Xls32.displayName = 'Xls32';
|
|
53
|
+
Xls32.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
Xls32.defaultProps = {
|
|
67
|
+
width: 32,
|
|
68
|
+
height: 32,
|
|
69
|
+
viewBox: '0 0 32 32',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default Xls32;
|
|
@@ -14,7 +14,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
14
14
|
var defaultStyle = {
|
|
15
15
|
"willChange": "transform"
|
|
16
16
|
};
|
|
17
|
-
var
|
|
17
|
+
var AddAlt16 = React.forwardRef(function (_ref, ref) {
|
|
18
18
|
var className = _ref.className,
|
|
19
19
|
children = _ref.children,
|
|
20
20
|
style = _ref.style,
|
|
@@ -51,8 +51,8 @@ var AddOutline16 = React.forwardRef(function (_ref, ref) {
|
|
|
51
51
|
d: 'M11 7.5H8.5V5h-1v2.5H5v1h2.5V11h1V8.5H11z'
|
|
52
52
|
}));
|
|
53
53
|
});
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
AddAlt16.displayName = 'AddAlt16';
|
|
55
|
+
AddAlt16.propTypes = {
|
|
56
56
|
'aria-hidden': PropTypes.bool,
|
|
57
57
|
'aria-label': PropTypes.string,
|
|
58
58
|
'aria-labelledby': PropTypes.string,
|
|
@@ -65,7 +65,7 @@ AddOutline16.propTypes = {
|
|
|
65
65
|
width: PropTypes.number,
|
|
66
66
|
xmlns: PropTypes.string
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
AddAlt16.defaultProps = {
|
|
69
69
|
width: 16,
|
|
70
70
|
height: 16,
|
|
71
71
|
viewBox: '0 0 16 16',
|
|
@@ -73,4 +73,4 @@ AddOutline16.defaultProps = {
|
|
|
73
73
|
preserveAspectRatio: 'xMidYMid meet'
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
export default
|
|
76
|
+
export default AddAlt16;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 AppSwitcher16 = 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: 'M12 12h2v2h-2zm-5 0h2v2H7zm-5 0h2v2H2zm10-5h2v2h-2zM7 7h2v2H7zM2 7h2v2H2zm10-5h2v2h-2zM7 2h2v2H7zM2 2h2v2H2z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
AppSwitcher16.displayName = 'AppSwitcher16';
|
|
53
|
+
AppSwitcher16.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
AppSwitcher16.defaultProps = {
|
|
67
|
+
width: 16,
|
|
68
|
+
height: 16,
|
|
69
|
+
viewBox: '0 0 16 16',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default AppSwitcher16;
|
package/es/app-switcher/20.js
CHANGED
|
@@ -46,7 +46,7 @@ var AppSwitcher20 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: '
|
|
49
|
+
d: 'M15.5 15.5H18V18h-2.5zm-6.75 0h2.5V18h-2.5zM2 15.5h2.5V18H2zm13.5-6.75H18v2.5h-2.5zm-6.75 0h2.5v2.5h-2.5zM2 8.75h2.5v2.5H2zM15.5 2H18v2.5h-2.5zM8.75 2h2.5v2.5h-2.5zM2 2h2.5v2.5H2z'
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
52
52
|
AppSwitcher20.displayName = 'AppSwitcher20';
|
package/es/app-switcher/24.js
CHANGED
|
@@ -46,7 +46,7 @@ var AppSwitcher24 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: '
|
|
49
|
+
d: 'M18 18h3v3h-3zm-7.5 0h3v3h-3zM3 18h3v3H3zm15-7.5h3v3h-3zm-7.5 0h3v3h-3zm-7.5 0h3v3H3zM18 3h3v3h-3zm-7.5 0h3v3h-3zM3 3h3v3H3z'
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
52
52
|
AppSwitcher24.displayName = 'AppSwitcher24';
|
|
@@ -66,7 +66,7 @@ AppSwitcher24.propTypes = {
|
|
|
66
66
|
AppSwitcher24.defaultProps = {
|
|
67
67
|
width: 24,
|
|
68
68
|
height: 24,
|
|
69
|
-
viewBox: '0 0
|
|
69
|
+
viewBox: '0 0 24 24',
|
|
70
70
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
71
|
preserveAspectRatio: 'xMidYMid meet'
|
|
72
72
|
};
|
|
@@ -46,9 +46,9 @@ var CheckmarkFilled24 = 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 1C6 1 1 6 1 12s5 11 11 11 11-4.9 11-11S18.1 1 12 1zm-1.6 15.3l-3.9-3.9 1.3-1.2 2.7 2.7 5.8-5.8 1.3 1.3-7.2 6.9z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: 'M10.
|
|
51
|
+
d: 'M10.4 16.3l-3.9-3.9 1.3-1.2 2.7 2.7 5.8-5.8 1.3 1.3-7.2 6.9z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
|
@@ -49,8 +49,7 @@ var CheckmarkFilled32 = React.forwardRef(function (_ref, ref) {
|
|
|
49
49
|
d: 'M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm-2 19.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
51
|
d: 'M14 21.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z',
|
|
52
|
-
dataIconPath: 'inner-path'
|
|
53
|
-
opacity: '0'
|
|
52
|
+
dataIconPath: 'inner-path'
|
|
54
53
|
}));
|
|
55
54
|
});
|
|
56
55
|
CheckmarkFilled32.displayName = 'CheckmarkFilled32';
|
|
@@ -0,0 +1,74 @@
|
|
|
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 DataReference20 = 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: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
DataReference20.displayName = 'DataReference20';
|
|
53
|
+
DataReference20.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
DataReference20.defaultProps = {
|
|
67
|
+
width: 20,
|
|
68
|
+
height: 20,
|
|
69
|
+
viewBox: '0 0 32 32',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default DataReference20;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 DataReference24 = 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: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
DataReference24.displayName = 'DataReference24';
|
|
53
|
+
DataReference24.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
DataReference24.defaultProps = {
|
|
67
|
+
width: 24,
|
|
68
|
+
height: 24,
|
|
69
|
+
viewBox: '0 0 32 32',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default DataReference24;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 DataReference32 = 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: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
DataReference32.displayName = 'DataReference32';
|
|
53
|
+
DataReference32.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
DataReference32.defaultProps = {
|
|
67
|
+
width: 32,
|
|
68
|
+
height: 32,
|
|
69
|
+
viewBox: '0 0 32 32',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default DataReference32;
|
package/es/error--filled/16.js
CHANGED
|
@@ -47,6 +47,10 @@ var ErrorFilled16 = React.forwardRef(function (_ref, ref) {
|
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
49
|
d: 'M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm2.7 10.5L4.5 5.3l.8-.8 6.2 6.2-.8.8z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M10.7 11.5L4.5 5.3l.8-.8 6.2 6.2-.8.8z',
|
|
52
|
+
dataIconPath: 'inner-path',
|
|
53
|
+
opacity: '0'
|
|
50
54
|
}));
|
|
51
55
|
});
|
|
52
56
|
ErrorFilled16.displayName = 'ErrorFilled16';
|
package/es/error--filled/20.js
CHANGED
|
@@ -46,7 +46,11 @@ var ErrorFilled20 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: '
|
|
49
|
+
d: 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M13.5 14.5l-8-8 1-1 8 8-1 1z',
|
|
52
|
+
dataIconPath: 'inner-path',
|
|
53
|
+
opacity: '0'
|
|
50
54
|
}));
|
|
51
55
|
});
|
|
52
56
|
ErrorFilled20.displayName = 'ErrorFilled20';
|
|
@@ -66,7 +70,7 @@ ErrorFilled20.propTypes = {
|
|
|
66
70
|
ErrorFilled20.defaultProps = {
|
|
67
71
|
width: 20,
|
|
68
72
|
height: 20,
|
|
69
|
-
viewBox: '0 0
|
|
73
|
+
viewBox: '0 0 20 20',
|
|
70
74
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
75
|
preserveAspectRatio: 'xMidYMid meet'
|
|
72
76
|
};
|
package/es/error--filled/24.js
CHANGED
|
@@ -46,7 +46,11 @@ var ErrorFilled24 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: '
|
|
49
|
+
d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.3 16.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
|
|
52
|
+
dataIconPath: 'inner-path',
|
|
53
|
+
opacity: '0'
|
|
50
54
|
}));
|
|
51
55
|
});
|
|
52
56
|
ErrorFilled24.displayName = 'ErrorFilled24';
|
|
@@ -66,7 +70,7 @@ ErrorFilled24.propTypes = {
|
|
|
66
70
|
ErrorFilled24.defaultProps = {
|
|
67
71
|
width: 24,
|
|
68
72
|
height: 24,
|
|
69
|
-
viewBox: '0 0
|
|
73
|
+
viewBox: '0 0 24 24',
|
|
70
74
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
75
|
preserveAspectRatio: 'xMidYMid meet'
|
|
72
76
|
};
|
package/es/error--filled/32.js
CHANGED
|
@@ -46,7 +46,11 @@ var ErrorFilled32 = React.forwardRef(function (_ref, ref) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
-
d: '
|
|
49
|
+
d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.3 16.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
|
|
52
|
+
dataIconPath: 'inner-path',
|
|
53
|
+
opacity: '0'
|
|
50
54
|
}));
|
|
51
55
|
});
|
|
52
56
|
ErrorFilled32.displayName = 'ErrorFilled32';
|
package/es/misuse/24.js
CHANGED
|
@@ -46,9 +46,9 @@ var Misuse24 = 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 1C6 1 1 6 1 12s5 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.2 16.5L12 13.3l-4.2 4.2-1.3-1.3 4.2-4.2-4.2-4.2 1.3-1.3 4.2 4.2 4.2-4.2 1.3 1.3-4.2 4.2 4.2 4.2-1.3 1.3z'
|
|
50
50
|
}), React.createElement('path', {
|
|
51
|
-
d: '
|
|
51
|
+
d: 'M16.2 17.5L12 13.3l-4.2 4.2-1.3-1.3 4.2-4.2-4.2-4.2 1.3-1.3 4.2 4.2 4.2-4.2 1.3 1.3-4.2 4.2 4.2 4.2-1.3 1.3z',
|
|
52
52
|
dataIconPath: 'inner-path',
|
|
53
53
|
opacity: '0'
|
|
54
54
|
}));
|
package/es/model/20.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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 Model20 = 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: 'M23.5 4h-15l-6.784 9.045L16 29.527l14.284-16.482zm3.5 8h-5.446l-3.75-6H22.5zm-16.698 2l3.754 10.23L5.19 14zm2.13 0h7.136l-3.569 9.721zm.373-2L16 6.887 19.196 12zm8.893 2h5.112l-8.867 10.231zM9.5 6h4.696l-3.75 6H5z'
|
|
50
|
+
}));
|
|
51
|
+
});
|
|
52
|
+
Model20.displayName = 'Model20';
|
|
53
|
+
Model20.propTypes = {
|
|
54
|
+
'aria-hidden': PropTypes.bool,
|
|
55
|
+
'aria-label': PropTypes.string,
|
|
56
|
+
'aria-labelledby': PropTypes.string,
|
|
57
|
+
className: PropTypes.string,
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
height: PropTypes.number,
|
|
60
|
+
preserveAspectRatio: PropTypes.string,
|
|
61
|
+
tabIndex: PropTypes.string,
|
|
62
|
+
viewBox: PropTypes.string,
|
|
63
|
+
width: PropTypes.number,
|
|
64
|
+
xmlns: PropTypes.string
|
|
65
|
+
};
|
|
66
|
+
Model20.defaultProps = {
|
|
67
|
+
width: 20,
|
|
68
|
+
height: 20,
|
|
69
|
+
viewBox: '0 0 32 32',
|
|
70
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
71
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default Model20;
|