@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/lib/TSV/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 Tsv24 = 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
|
+
Tsv24.displayName = 'Tsv24';
|
|
57
|
+
Tsv24.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
|
+
Tsv24.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 = Tsv24;
|
package/lib/TSV/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 Tsv32 = 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
|
+
Tsv32.displayName = 'Tsv32';
|
|
57
|
+
Tsv32.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
|
+
Tsv32.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 = Tsv32;
|
package/lib/XLS/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 Xls20 = 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 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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Xls20.displayName = 'Xls20';
|
|
57
|
+
Xls20.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
|
+
Xls20.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 = Xls20;
|
package/lib/XLS/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 Xls24 = 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 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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Xls24.displayName = 'Xls24';
|
|
57
|
+
Xls24.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
|
+
Xls24.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 = Xls24;
|
package/lib/XLS/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 Xls32 = 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 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'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
Xls32.displayName = 'Xls32';
|
|
57
|
+
Xls32.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
|
+
Xls32.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 = Xls32;
|
|
@@ -18,7 +18,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
18
18
|
var defaultStyle = {
|
|
19
19
|
"willChange": "transform"
|
|
20
20
|
};
|
|
21
|
-
var
|
|
21
|
+
var AddAlt16 = React.forwardRef(function (_ref, ref) {
|
|
22
22
|
var className = _ref.className,
|
|
23
23
|
children = _ref.children,
|
|
24
24
|
style = _ref.style,
|
|
@@ -55,8 +55,8 @@ var AddOutline16 = React.forwardRef(function (_ref, ref) {
|
|
|
55
55
|
d: 'M11 7.5H8.5V5h-1v2.5H5v1h2.5V11h1V8.5H11z'
|
|
56
56
|
}));
|
|
57
57
|
});
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
AddAlt16.displayName = 'AddAlt16';
|
|
59
|
+
AddAlt16.propTypes = {
|
|
60
60
|
'aria-hidden': PropTypes.bool,
|
|
61
61
|
'aria-label': PropTypes.string,
|
|
62
62
|
'aria-labelledby': PropTypes.string,
|
|
@@ -69,7 +69,7 @@ AddOutline16.propTypes = {
|
|
|
69
69
|
width: PropTypes.number,
|
|
70
70
|
xmlns: PropTypes.string
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
AddAlt16.defaultProps = {
|
|
73
73
|
width: 16,
|
|
74
74
|
height: 16,
|
|
75
75
|
viewBox: '0 0 16 16',
|
|
@@ -77,4 +77,4 @@ AddOutline16.defaultProps = {
|
|
|
77
77
|
preserveAspectRatio: 'xMidYMid meet'
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
module.exports =
|
|
80
|
+
module.exports = AddAlt16;
|
|
@@ -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 AppSwitcher16 = 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: 'M12 12h2v2h-2zm-5 0h2v2H7zm-5 0h2v2H2zm10-5h2v2h-2zM7 7h2v2H7zM2 7h2v2H2zm10-5h2v2h-2zM7 2h2v2H7zM2 2h2v2H2z'
|
|
54
|
+
}));
|
|
55
|
+
});
|
|
56
|
+
AppSwitcher16.displayName = 'AppSwitcher16';
|
|
57
|
+
AppSwitcher16.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
|
+
AppSwitcher16.defaultProps = {
|
|
71
|
+
width: 16,
|
|
72
|
+
height: 16,
|
|
73
|
+
viewBox: '0 0 16 16',
|
|
74
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
module.exports = AppSwitcher16;
|
package/lib/app-switcher/20.js
CHANGED
|
@@ -50,7 +50,7 @@ var AppSwitcher20 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: '
|
|
53
|
+
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'
|
|
54
54
|
}));
|
|
55
55
|
});
|
|
56
56
|
AppSwitcher20.displayName = 'AppSwitcher20';
|
package/lib/app-switcher/24.js
CHANGED
|
@@ -50,7 +50,7 @@ var AppSwitcher24 = React.forwardRef(function (_ref, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
return React.createElement('svg', props, children, React.createElement('path', {
|
|
53
|
-
d: '
|
|
53
|
+
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'
|
|
54
54
|
}));
|
|
55
55
|
});
|
|
56
56
|
AppSwitcher24.displayName = 'AppSwitcher24';
|
|
@@ -70,7 +70,7 @@ AppSwitcher24.propTypes = {
|
|
|
70
70
|
AppSwitcher24.defaultProps = {
|
|
71
71
|
width: 24,
|
|
72
72
|
height: 24,
|
|
73
|
-
viewBox: '0 0
|
|
73
|
+
viewBox: '0 0 24 24',
|
|
74
74
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
75
75
|
preserveAspectRatio: 'xMidYMid meet'
|
|
76
76
|
};
|
|
@@ -50,9 +50,9 @@ var CheckmarkFilled24 = 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 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'
|
|
54
54
|
}), React.createElement('path', {
|
|
55
|
-
d: 'M10.
|
|
55
|
+
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',
|
|
56
56
|
dataIconPath: 'inner-path',
|
|
57
57
|
opacity: '0'
|
|
58
58
|
}));
|
|
@@ -53,8 +53,7 @@ var CheckmarkFilled32 = React.forwardRef(function (_ref, ref) {
|
|
|
53
53
|
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'
|
|
54
54
|
}), React.createElement('path', {
|
|
55
55
|
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',
|
|
56
|
-
dataIconPath: 'inner-path'
|
|
57
|
-
opacity: '0'
|
|
56
|
+
dataIconPath: 'inner-path'
|
|
58
57
|
}));
|
|
59
58
|
});
|
|
60
59
|
CheckmarkFilled32.displayName = 'CheckmarkFilled32';
|
|
@@ -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 DataReference20 = 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
|
+
DataReference20.displayName = 'DataReference20';
|
|
57
|
+
DataReference20.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
|
+
DataReference20.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 = DataReference20;
|