@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,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 DataReference24 = 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: '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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
DataReference24.displayName = 'DataReference24';
|
|
57
|
+
DataReference24.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
|
+
DataReference24.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 = DataReference24;
|
|
@@ -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 DataReference32 = 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: '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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
DataReference32.displayName = 'DataReference32';
|
|
57
|
+
DataReference32.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
|
+
DataReference32.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 = DataReference32;
|
package/lib/error--filled/16.js
CHANGED
|
@@ -51,6 +51,10 @@ var ErrorFilled16 = React.forwardRef(function (_ref, ref) {
|
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
53
|
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'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M10.7 11.5L4.5 5.3l.8-.8 6.2 6.2-.8.8z',
|
|
56
|
+
dataIconPath: 'inner-path',
|
|
57
|
+
opacity: '0'
|
|
54
58
|
}));
|
|
55
59
|
});
|
|
56
60
|
ErrorFilled16.displayName = 'ErrorFilled16';
|
package/lib/error--filled/20.js
CHANGED
|
@@ -50,7 +50,11 @@ var ErrorFilled20 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: '
|
|
53
|
+
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'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M13.5 14.5l-8-8 1-1 8 8-1 1z',
|
|
56
|
+
dataIconPath: 'inner-path',
|
|
57
|
+
opacity: '0'
|
|
54
58
|
}));
|
|
55
59
|
});
|
|
56
60
|
ErrorFilled20.displayName = 'ErrorFilled20';
|
|
@@ -70,7 +74,7 @@ ErrorFilled20.propTypes = {
|
|
|
70
74
|
ErrorFilled20.defaultProps = {
|
|
71
75
|
width: 20,
|
|
72
76
|
height: 20,
|
|
73
|
-
viewBox: '0 0
|
|
77
|
+
viewBox: '0 0 20 20',
|
|
74
78
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
79
|
preserveAspectRatio: 'xMidYMid meet'
|
|
76
80
|
};
|
package/lib/error--filled/24.js
CHANGED
|
@@ -50,7 +50,11 @@ var ErrorFilled24 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: '
|
|
53
|
+
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'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
|
|
56
|
+
dataIconPath: 'inner-path',
|
|
57
|
+
opacity: '0'
|
|
54
58
|
}));
|
|
55
59
|
});
|
|
56
60
|
ErrorFilled24.displayName = 'ErrorFilled24';
|
|
@@ -70,7 +74,7 @@ ErrorFilled24.propTypes = {
|
|
|
70
74
|
ErrorFilled24.defaultProps = {
|
|
71
75
|
width: 24,
|
|
72
76
|
height: 24,
|
|
73
|
-
viewBox: '0 0
|
|
77
|
+
viewBox: '0 0 24 24',
|
|
74
78
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
79
|
preserveAspectRatio: 'xMidYMid meet'
|
|
76
80
|
};
|
package/lib/error--filled/32.js
CHANGED
|
@@ -50,7 +50,11 @@ var ErrorFilled32 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: '
|
|
53
|
+
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'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
|
|
56
|
+
dataIconPath: 'inner-path',
|
|
57
|
+
opacity: '0'
|
|
54
58
|
}));
|
|
55
59
|
});
|
|
56
60
|
ErrorFilled32.displayName = 'ErrorFilled32';
|
package/lib/misuse/24.js
CHANGED
|
@@ -50,9 +50,9 @@ var Misuse24 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: 'M12
|
|
53
|
+
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'
|
|
54
54
|
}), React.createElement('path', {
|
|
55
|
-
d: '
|
|
55
|
+
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',
|
|
56
56
|
dataIconPath: 'inner-path',
|
|
57
57
|
opacity: '0'
|
|
58
58
|
}));
|
package/lib/model/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 Model20 = 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: '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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Model20.displayName = 'Model20';
|
|
57
|
+
Model20.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
|
+
Model20.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 = Model20;
|
package/lib/model/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 Model24 = 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: '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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Model24.displayName = 'Model24';
|
|
57
|
+
Model24.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
|
+
Model24.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 = Model24;
|
package/lib/model/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 Model32 = 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: '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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Model32.displayName = 'Model32';
|
|
57
|
+
Model32.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
|
+
Model32.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 = Model32;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 ModelReference20 = 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: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M23.5 4h-15l-6 8-.784 1.045L6.877 19l1.324-1.526L5.19 14h5.112L16 29.527l14.284-16.482zm3.5 8h-5.446l-3.75-6H22.5zm-7.804 0h-6.392L16 6.887zM5 12l4.5-6h4.696l-3.75 6zm10.999 11.721L12.432 14h7.136zm1.944.51L21.698 14h5.112z'
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
ModelReference20.displayName = 'ModelReference20';
|
|
59
|
+
ModelReference20.propTypes = {
|
|
60
|
+
'aria-hidden': PropTypes.bool,
|
|
61
|
+
'aria-label': PropTypes.string,
|
|
62
|
+
'aria-labelledby': PropTypes.string,
|
|
63
|
+
className: PropTypes.string,
|
|
64
|
+
children: PropTypes.node,
|
|
65
|
+
height: PropTypes.number,
|
|
66
|
+
preserveAspectRatio: PropTypes.string,
|
|
67
|
+
tabIndex: PropTypes.string,
|
|
68
|
+
viewBox: PropTypes.string,
|
|
69
|
+
width: PropTypes.number,
|
|
70
|
+
xmlns: PropTypes.string
|
|
71
|
+
};
|
|
72
|
+
ModelReference20.defaultProps = {
|
|
73
|
+
width: 20,
|
|
74
|
+
height: 20,
|
|
75
|
+
viewBox: '0 0 32 32',
|
|
76
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
77
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
module.exports = ModelReference20;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 ModelReference24 = 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: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
|
|
54
|
+
}), React.createElement('path', {
|
|
55
|
+
d: 'M23.5 4h-15l-6 8-.784 1.045L6.877 19l1.324-1.526L5.19 14h5.112L16 29.527l14.284-16.482zm3.5 8h-5.446l-3.75-6H22.5zm-7.804 0h-6.392L16 6.887zM5 12l4.5-6h4.696l-3.75 6zm10.999 11.721L12.432 14h7.136zm1.944.51L21.698 14h5.112z'
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
ModelReference24.displayName = 'ModelReference24';
|
|
59
|
+
ModelReference24.propTypes = {
|
|
60
|
+
'aria-hidden': PropTypes.bool,
|
|
61
|
+
'aria-label': PropTypes.string,
|
|
62
|
+
'aria-labelledby': PropTypes.string,
|
|
63
|
+
className: PropTypes.string,
|
|
64
|
+
children: PropTypes.node,
|
|
65
|
+
height: PropTypes.number,
|
|
66
|
+
preserveAspectRatio: PropTypes.string,
|
|
67
|
+
tabIndex: PropTypes.string,
|
|
68
|
+
viewBox: PropTypes.string,
|
|
69
|
+
width: PropTypes.number,
|
|
70
|
+
xmlns: PropTypes.string
|
|
71
|
+
};
|
|
72
|
+
ModelReference24.defaultProps = {
|
|
73
|
+
width: 24,
|
|
74
|
+
height: 24,
|
|
75
|
+
viewBox: '0 0 32 32',
|
|
76
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
77
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
module.exports = ModelReference24;
|