@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/model/24.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 Model24 = 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
|
+
Model24.displayName = 'Model24';
|
|
53
|
+
Model24.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
|
+
Model24.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 Model24;
|
package/es/model/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 Model32 = 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
|
+
Model32.displayName = 'Model32';
|
|
53
|
+
Model32.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
|
+
Model32.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 Model32;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var ModelReference20 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
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'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
ModelReference20.displayName = 'ModelReference20';
|
|
55
|
+
ModelReference20.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
ModelReference20.defaultProps = {
|
|
69
|
+
width: 20,
|
|
70
|
+
height: 20,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default ModelReference20;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var ModelReference24 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
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'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
ModelReference24.displayName = 'ModelReference24';
|
|
55
|
+
ModelReference24.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
ModelReference24.defaultProps = {
|
|
69
|
+
width: 24,
|
|
70
|
+
height: 24,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default ModelReference24;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var ModelReference32 = React.forwardRef(function (_ref, ref) {
|
|
18
|
+
var className = _ref.className,
|
|
19
|
+
children = _ref.children,
|
|
20
|
+
style = _ref.style,
|
|
21
|
+
tabIndex = _ref.tabIndex,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
|
|
23
|
+
|
|
24
|
+
var _getAttributes = getAttributes(_objectSpread({}, rest, {
|
|
25
|
+
tabindex: tabIndex
|
|
26
|
+
})),
|
|
27
|
+
tabindex = _getAttributes.tabindex,
|
|
28
|
+
props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
props.className = className;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (tabindex !== undefined && tabindex !== null) {
|
|
35
|
+
props.tabIndex = tabindex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (_typeof(style) === 'object') {
|
|
39
|
+
props.style = _objectSpread({}, defaultStyle, style);
|
|
40
|
+
} else {
|
|
41
|
+
props.style = defaultStyle;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (ref) {
|
|
45
|
+
props.ref = ref;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return React.createElement('svg', props, children, React.createElement('path', {
|
|
49
|
+
d: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
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'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
ModelReference32.displayName = 'ModelReference32';
|
|
55
|
+
ModelReference32.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
ModelReference32.defaultProps = {
|
|
69
|
+
width: 32,
|
|
70
|
+
height: 32,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default ModelReference32;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var Notebook20 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v18a2.002 2.002 0 0 0 2 2h24a2.003 2.003 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM4 7h11v18H4zm13 18V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
Notebook20.displayName = 'Notebook20';
|
|
55
|
+
Notebook20.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
Notebook20.defaultProps = {
|
|
69
|
+
width: 20,
|
|
70
|
+
height: 20,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default Notebook20;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var Notebook24 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v18a2.002 2.002 0 0 0 2 2h24a2.003 2.003 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM4 7h11v18H4zm13 18V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
Notebook24.displayName = 'Notebook24';
|
|
55
|
+
Notebook24.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
Notebook24.defaultProps = {
|
|
69
|
+
width: 24,
|
|
70
|
+
height: 24,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default Notebook24;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getAttributes } from '@carbon/icon-helpers';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
|
+
var defaultStyle = {
|
|
15
|
+
"willChange": "transform"
|
|
16
|
+
};
|
|
17
|
+
var Notebook32 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
|
|
50
|
+
}), React.createElement('path', {
|
|
51
|
+
d: 'M28 5H4a2.002 2.002 0 0 0-2 2v18a2.002 2.002 0 0 0 2 2h24a2.003 2.003 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM4 7h11v18H4zm13 18V7h11l.002 18z'
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
Notebook32.displayName = 'Notebook32';
|
|
55
|
+
Notebook32.propTypes = {
|
|
56
|
+
'aria-hidden': PropTypes.bool,
|
|
57
|
+
'aria-label': PropTypes.string,
|
|
58
|
+
'aria-labelledby': PropTypes.string,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
height: PropTypes.number,
|
|
62
|
+
preserveAspectRatio: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.string,
|
|
64
|
+
viewBox: PropTypes.string,
|
|
65
|
+
width: PropTypes.number,
|
|
66
|
+
xmlns: PropTypes.string
|
|
67
|
+
};
|
|
68
|
+
Notebook32.defaultProps = {
|
|
69
|
+
width: 32,
|
|
70
|
+
height: 32,
|
|
71
|
+
viewBox: '0 0 32 32',
|
|
72
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
73
|
+
preserveAspectRatio: 'xMidYMid meet'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default Notebook32;
|