@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.
Files changed (118) hide show
  1. package/es/CSV/20.js +74 -0
  2. package/es/CSV/24.js +74 -0
  3. package/es/CSV/32.js +74 -0
  4. package/es/TSV/20.js +74 -0
  5. package/es/TSV/24.js +74 -0
  6. package/es/TSV/32.js +74 -0
  7. package/es/XLS/20.js +74 -0
  8. package/es/XLS/24.js +74 -0
  9. package/es/XLS/32.js +74 -0
  10. package/es/{add--outline → add--alt}/16.js +5 -5
  11. package/es/app-switcher/16.js +74 -0
  12. package/es/app-switcher/20.js +1 -1
  13. package/es/app-switcher/24.js +2 -2
  14. package/es/checkmark--filled/24.js +2 -2
  15. package/es/checkmark--filled/32.js +1 -2
  16. package/es/data--reference/20.js +74 -0
  17. package/es/data--reference/24.js +74 -0
  18. package/es/data--reference/32.js +74 -0
  19. package/es/error--filled/16.js +4 -0
  20. package/es/error--filled/20.js +6 -2
  21. package/es/error--filled/24.js +6 -2
  22. package/es/error--filled/32.js +5 -1
  23. package/es/misuse/24.js +2 -2
  24. package/es/model/20.js +74 -0
  25. package/es/model/24.js +74 -0
  26. package/es/model/32.js +74 -0
  27. package/es/model--reference/20.js +76 -0
  28. package/es/model--reference/24.js +76 -0
  29. package/es/model--reference/32.js +76 -0
  30. package/es/notebook/20.js +76 -0
  31. package/es/notebook/24.js +76 -0
  32. package/es/notebook/32.js +76 -0
  33. package/es/notebook--reference/20.js +76 -0
  34. package/es/notebook--reference/24.js +76 -0
  35. package/es/notebook--reference/32.js +76 -0
  36. package/es/warning--filled/16.js +2 -2
  37. package/es/warning--filled/20.js +2 -2
  38. package/es/warning--filled/24.js +2 -2
  39. package/es/warning--filled/32.js +2 -2
  40. package/lib/CSV/20.js +78 -0
  41. package/lib/CSV/24.js +78 -0
  42. package/lib/CSV/32.js +78 -0
  43. package/lib/TSV/20.js +78 -0
  44. package/lib/TSV/24.js +78 -0
  45. package/lib/TSV/32.js +78 -0
  46. package/lib/XLS/20.js +78 -0
  47. package/lib/XLS/24.js +78 -0
  48. package/lib/XLS/32.js +78 -0
  49. package/lib/{add--outline → add--alt}/16.js +5 -5
  50. package/lib/app-switcher/16.js +78 -0
  51. package/lib/app-switcher/20.js +1 -1
  52. package/lib/app-switcher/24.js +2 -2
  53. package/lib/checkmark--filled/24.js +2 -2
  54. package/lib/checkmark--filled/32.js +1 -2
  55. package/lib/data--reference/20.js +78 -0
  56. package/lib/data--reference/24.js +78 -0
  57. package/lib/data--reference/32.js +78 -0
  58. package/lib/error--filled/16.js +4 -0
  59. package/lib/error--filled/20.js +6 -2
  60. package/lib/error--filled/24.js +6 -2
  61. package/lib/error--filled/32.js +5 -1
  62. package/lib/misuse/24.js +2 -2
  63. package/lib/model/20.js +78 -0
  64. package/lib/model/24.js +78 -0
  65. package/lib/model/32.js +78 -0
  66. package/lib/model--reference/20.js +80 -0
  67. package/lib/model--reference/24.js +80 -0
  68. package/lib/model--reference/32.js +80 -0
  69. package/lib/notebook/20.js +80 -0
  70. package/lib/notebook/24.js +80 -0
  71. package/lib/notebook/32.js +80 -0
  72. package/lib/notebook--reference/20.js +80 -0
  73. package/lib/notebook--reference/24.js +80 -0
  74. package/lib/notebook--reference/32.js +80 -0
  75. package/lib/warning--filled/16.js +2 -2
  76. package/lib/warning--filled/20.js +2 -2
  77. package/lib/warning--filled/24.js +2 -2
  78. package/lib/warning--filled/32.js +2 -2
  79. package/package.json +6 -6
  80. package/umd/CSV/20.js +81 -0
  81. package/umd/CSV/24.js +81 -0
  82. package/umd/CSV/32.js +81 -0
  83. package/umd/TSV/20.js +81 -0
  84. package/umd/TSV/24.js +81 -0
  85. package/umd/TSV/32.js +81 -0
  86. package/umd/XLS/20.js +81 -0
  87. package/umd/XLS/24.js +81 -0
  88. package/umd/XLS/32.js +81 -0
  89. package/umd/{add--outline → add--alt}/16.js +6 -6
  90. package/umd/app-switcher/16.js +81 -0
  91. package/umd/app-switcher/20.js +1 -1
  92. package/umd/app-switcher/24.js +2 -2
  93. package/umd/checkmark--filled/24.js +2 -2
  94. package/umd/checkmark--filled/32.js +1 -2
  95. package/umd/data--reference/20.js +81 -0
  96. package/umd/data--reference/24.js +81 -0
  97. package/umd/data--reference/32.js +81 -0
  98. package/umd/error--filled/16.js +4 -0
  99. package/umd/error--filled/20.js +6 -2
  100. package/umd/error--filled/24.js +6 -2
  101. package/umd/error--filled/32.js +5 -1
  102. package/umd/misuse/24.js +2 -2
  103. package/umd/model/20.js +81 -0
  104. package/umd/model/24.js +81 -0
  105. package/umd/model/32.js +81 -0
  106. package/umd/model--reference/20.js +83 -0
  107. package/umd/model--reference/24.js +83 -0
  108. package/umd/model--reference/32.js +83 -0
  109. package/umd/notebook/20.js +83 -0
  110. package/umd/notebook/24.js +83 -0
  111. package/umd/notebook/32.js +83 -0
  112. package/umd/notebook--reference/20.js +83 -0
  113. package/umd/notebook--reference/24.js +83 -0
  114. package/umd/notebook--reference/32.js +83 -0
  115. package/umd/warning--filled/16.js +2 -2
  116. package/umd/warning--filled/20.js +2 -2
  117. package/umd/warning--filled/24.js +2 -2
  118. package/umd/warning--filled/32.js +2 -2
package/es/XLS/32.js ADDED
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var Xls32 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M28 23h-6v-2h6v-4h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2h6v2h-6v4h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 2zm-14-2V9h-2v14h8v-2h-6zM10 9H8l-2 6-2-6H2l2.752 7L2 23h2l2-6 2 6h2l-2.755-7L10 9z'
50
+ }));
51
+ });
52
+ Xls32.displayName = 'Xls32';
53
+ Xls32.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ Xls32.defaultProps = {
67
+ width: 32,
68
+ height: 32,
69
+ viewBox: '0 0 32 32',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default Xls32;
@@ -14,7 +14,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
14
14
  var defaultStyle = {
15
15
  "willChange": "transform"
16
16
  };
17
- var AddOutline16 = React.forwardRef(function (_ref, ref) {
17
+ var AddAlt16 = React.forwardRef(function (_ref, ref) {
18
18
  var className = _ref.className,
19
19
  children = _ref.children,
20
20
  style = _ref.style,
@@ -51,8 +51,8 @@ var AddOutline16 = React.forwardRef(function (_ref, ref) {
51
51
  d: 'M11 7.5H8.5V5h-1v2.5H5v1h2.5V11h1V8.5H11z'
52
52
  }));
53
53
  });
54
- AddOutline16.displayName = 'AddOutline16';
55
- AddOutline16.propTypes = {
54
+ AddAlt16.displayName = 'AddAlt16';
55
+ AddAlt16.propTypes = {
56
56
  'aria-hidden': PropTypes.bool,
57
57
  'aria-label': PropTypes.string,
58
58
  'aria-labelledby': PropTypes.string,
@@ -65,7 +65,7 @@ AddOutline16.propTypes = {
65
65
  width: PropTypes.number,
66
66
  xmlns: PropTypes.string
67
67
  };
68
- AddOutline16.defaultProps = {
68
+ AddAlt16.defaultProps = {
69
69
  width: 16,
70
70
  height: 16,
71
71
  viewBox: '0 0 16 16',
@@ -73,4 +73,4 @@ AddOutline16.defaultProps = {
73
73
  preserveAspectRatio: 'xMidYMid meet'
74
74
  };
75
75
 
76
- export default AddOutline16;
76
+ export default AddAlt16;
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var AppSwitcher16 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M12 12h2v2h-2zm-5 0h2v2H7zm-5 0h2v2H2zm10-5h2v2h-2zM7 7h2v2H7zM2 7h2v2H2zm10-5h2v2h-2zM7 2h2v2H7zM2 2h2v2H2z'
50
+ }));
51
+ });
52
+ AppSwitcher16.displayName = 'AppSwitcher16';
53
+ AppSwitcher16.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ AppSwitcher16.defaultProps = {
67
+ width: 16,
68
+ height: 16,
69
+ viewBox: '0 0 16 16',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default AppSwitcher16;
@@ -46,7 +46,7 @@ var AppSwitcher20 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M2 2h3v3H2zm13 0h3v3h-3zM8.5 2h3v3h-3zM2 8.5h3v3H2zm13 0h3v3h-3zm-6.5 0h3v3h-3zM2 15h3v3H2zm13 0h3v3h-3zm-6.5 0h3v3h-3z'
49
+ d: 'M15.5 15.5H18V18h-2.5zm-6.75 0h2.5V18h-2.5zM2 15.5h2.5V18H2zm13.5-6.75H18v2.5h-2.5zm-6.75 0h2.5v2.5h-2.5zM2 8.75h2.5v2.5H2zM15.5 2H18v2.5h-2.5zM8.75 2h2.5v2.5h-2.5zM2 2h2.5v2.5H2z'
50
50
  }));
51
51
  });
52
52
  AppSwitcher20.displayName = 'AppSwitcher20';
@@ -46,7 +46,7 @@ var AppSwitcher24 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M14 5h4v4h-4zM5 5h4v4H5zm18 0h4v4h-4zm-9 9h4v4h-4zm-9 0h4v4H5zm18 0h4v4h-4zm-9 9h4v4h-4zm-9 0h4v4H5zm18 0h4v4h-4z'
49
+ d: 'M18 18h3v3h-3zm-7.5 0h3v3h-3zM3 18h3v3H3zm15-7.5h3v3h-3zm-7.5 0h3v3h-3zm-7.5 0h3v3H3zM18 3h3v3h-3zm-7.5 0h3v3h-3zM3 3h3v3H3z'
50
50
  }));
51
51
  });
52
52
  AppSwitcher24.displayName = 'AppSwitcher24';
@@ -66,7 +66,7 @@ AppSwitcher24.propTypes = {
66
66
  AppSwitcher24.defaultProps = {
67
67
  width: 24,
68
68
  height: 24,
69
- viewBox: '0 0 32 32',
69
+ viewBox: '0 0 24 24',
70
70
  xmlns: 'http://www.w3.org/2000/svg',
71
71
  preserveAspectRatio: 'xMidYMid meet'
72
72
  };
@@ -46,9 +46,9 @@ var CheckmarkFilled24 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1.4 13.9L7 12.4l1.1-1.1 2.4 2.4 5.3-5.3L17 9.6l-6.4 6.3z'
49
+ d: 'M12 1C6 1 1 6 1 12s5 11 11 11 11-4.9 11-11S18.1 1 12 1zm-1.6 15.3l-3.9-3.9 1.3-1.2 2.7 2.7 5.8-5.8 1.3 1.3-7.2 6.9z'
50
50
  }), React.createElement('path', {
51
- d: 'M10.6 15.9L7 12.4l1.1-1.1 2.4 2.4 5.3-5.3L17 9.6l-6.4 6.3z',
51
+ d: 'M10.4 16.3l-3.9-3.9 1.3-1.2 2.7 2.7 5.8-5.8 1.3 1.3-7.2 6.9z',
52
52
  dataIconPath: 'inner-path',
53
53
  opacity: '0'
54
54
  }));
@@ -49,8 +49,7 @@ var CheckmarkFilled32 = React.forwardRef(function (_ref, ref) {
49
49
  d: 'M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm-2 19.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z'
50
50
  }), React.createElement('path', {
51
51
  d: 'M14 21.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z',
52
- dataIconPath: 'inner-path',
53
- opacity: '0'
52
+ dataIconPath: 'inner-path'
54
53
  }));
55
54
  });
56
55
  CheckmarkFilled32.displayName = 'CheckmarkFilled32';
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var DataReference20 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
50
+ }));
51
+ });
52
+ DataReference20.displayName = 'DataReference20';
53
+ DataReference20.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ DataReference20.defaultProps = {
67
+ width: 20,
68
+ height: 20,
69
+ viewBox: '0 0 32 32',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default DataReference20;
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var DataReference24 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
50
+ }));
51
+ });
52
+ DataReference24.displayName = 'DataReference24';
53
+ DataReference24.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ DataReference24.defaultProps = {
67
+ width: 24,
68
+ height: 24,
69
+ viewBox: '0 0 32 32',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default DataReference24;
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var DataReference32 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M25 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zM8.5 6A3.5 3.5 0 1 1 5 9.5 3.504 3.504 0 0 1 8.5 6m0-2A5.5 5.5 0 1 0 14 9.5 5.5 5.5 0 0 0 8.5 4zm15 16a3.5 3.5 0 1 1-3.5 3.5 3.504 3.504 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM6 19v2h3.586L4 26.586 5.414 28 11 22.414V26h2v-7H6z'
50
+ }));
51
+ });
52
+ DataReference32.displayName = 'DataReference32';
53
+ DataReference32.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ DataReference32.defaultProps = {
67
+ width: 32,
68
+ height: 32,
69
+ viewBox: '0 0 32 32',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default DataReference32;
@@ -47,6 +47,10 @@ var ErrorFilled16 = React.forwardRef(function (_ref, ref) {
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
49
  d: 'M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm2.7 10.5L4.5 5.3l.8-.8 6.2 6.2-.8.8z'
50
+ }), React.createElement('path', {
51
+ d: 'M10.7 11.5L4.5 5.3l.8-.8 6.2 6.2-.8.8z',
52
+ dataIconPath: 'inner-path',
53
+ opacity: '0'
50
54
  }));
51
55
  });
52
56
  ErrorFilled16.displayName = 'ErrorFilled16';
@@ -46,7 +46,11 @@ var ErrorFilled20 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm5.41 21L9 10.59 10.59 9 23 21.41z'
49
+ d: 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z'
50
+ }), React.createElement('path', {
51
+ d: 'M13.5 14.5l-8-8 1-1 8 8-1 1z',
52
+ dataIconPath: 'inner-path',
53
+ opacity: '0'
50
54
  }));
51
55
  });
52
56
  ErrorFilled20.displayName = 'ErrorFilled20';
@@ -66,7 +70,7 @@ ErrorFilled20.propTypes = {
66
70
  ErrorFilled20.defaultProps = {
67
71
  width: 20,
68
72
  height: 20,
69
- viewBox: '0 0 32 32',
73
+ viewBox: '0 0 20 20',
70
74
  xmlns: 'http://www.w3.org/2000/svg',
71
75
  preserveAspectRatio: 'xMidYMid meet'
72
76
  };
@@ -46,7 +46,11 @@ var ErrorFilled24 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm5.41 21L9 10.59 10.59 9 23 21.41z'
49
+ d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.3 16.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z'
50
+ }), React.createElement('path', {
51
+ d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
52
+ dataIconPath: 'inner-path',
53
+ opacity: '0'
50
54
  }));
51
55
  });
52
56
  ErrorFilled24.displayName = 'ErrorFilled24';
@@ -66,7 +70,7 @@ ErrorFilled24.propTypes = {
66
70
  ErrorFilled24.defaultProps = {
67
71
  width: 24,
68
72
  height: 24,
69
- viewBox: '0 0 32 32',
73
+ viewBox: '0 0 24 24',
70
74
  xmlns: 'http://www.w3.org/2000/svg',
71
75
  preserveAspectRatio: 'xMidYMid meet'
72
76
  };
@@ -46,7 +46,11 @@ var ErrorFilled32 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm5.41 21L9 10.59 10.59 9 23 21.41z'
49
+ d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.3 16.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z'
50
+ }), React.createElement('path', {
51
+ d: 'M16.3 17.5L6.5 7.7l1.2-1.2 9.8 9.8-1.2 1.2z',
52
+ dataIconPath: 'inner-path',
53
+ opacity: '0'
50
54
  }));
51
55
  });
52
56
  ErrorFilled32.displayName = 'ErrorFilled32';
package/es/misuse/24.js CHANGED
@@ -46,9 +46,9 @@ var Misuse24 = React.forwardRef(function (_ref, ref) {
46
46
  }
47
47
 
48
48
  return React.createElement('svg', props, children, React.createElement('path', {
49
- d: 'M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm3.9 15L12 13.1 8.1 17 7 15.9l3.9-3.9L7 8.1 8.1 7l3.9 3.9L15.9 7 17 8.1 13.1 12l3.9 3.9-1.1 1.1z'
49
+ d: 'M12 1C6 1 1 6 1 12s5 11 11 11 11-4.9 11-11S18.1 1 12 1zm4.2 16.5L12 13.3l-4.2 4.2-1.3-1.3 4.2-4.2-4.2-4.2 1.3-1.3 4.2 4.2 4.2-4.2 1.3 1.3-4.2 4.2 4.2 4.2-1.3 1.3z'
50
50
  }), React.createElement('path', {
51
- d: 'M15.9 17L12 13.1 8.1 17 7 15.9l3.9-3.9L7 8.1 8.1 7l3.9 3.9L15.9 7 17 8.1 13.1 12l3.9 3.9-1.1 1.1z',
51
+ d: 'M16.2 17.5L12 13.3l-4.2 4.2-1.3-1.3 4.2-4.2-4.2-4.2 1.3-1.3 4.2 4.2 4.2-4.2 1.3 1.3-4.2 4.2 4.2 4.2-1.3 1.3z',
52
52
  dataIconPath: 'inner-path',
53
53
  opacity: '0'
54
54
  }));
package/es/model/20.js ADDED
@@ -0,0 +1,74 @@
1
+ import { getAttributes } from '@carbon/icon-helpers';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+
5
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+ var defaultStyle = {
15
+ "willChange": "transform"
16
+ };
17
+ var Model20 = React.forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ children = _ref.children,
20
+ style = _ref.style,
21
+ tabIndex = _ref.tabIndex,
22
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
23
+
24
+ var _getAttributes = getAttributes(_objectSpread({}, rest, {
25
+ tabindex: tabIndex
26
+ })),
27
+ tabindex = _getAttributes.tabindex,
28
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
29
+
30
+ if (className) {
31
+ props.className = className;
32
+ }
33
+
34
+ if (tabindex !== undefined && tabindex !== null) {
35
+ props.tabIndex = tabindex;
36
+ }
37
+
38
+ if (_typeof(style) === 'object') {
39
+ props.style = _objectSpread({}, defaultStyle, style);
40
+ } else {
41
+ props.style = defaultStyle;
42
+ }
43
+
44
+ if (ref) {
45
+ props.ref = ref;
46
+ }
47
+
48
+ return React.createElement('svg', props, children, React.createElement('path', {
49
+ d: 'M23.5 4h-15l-6.784 9.045L16 29.527l14.284-16.482zm3.5 8h-5.446l-3.75-6H22.5zm-16.698 2l3.754 10.23L5.19 14zm2.13 0h7.136l-3.569 9.721zm.373-2L16 6.887 19.196 12zm8.893 2h5.112l-8.867 10.231zM9.5 6h4.696l-3.75 6H5z'
50
+ }));
51
+ });
52
+ Model20.displayName = 'Model20';
53
+ Model20.propTypes = {
54
+ 'aria-hidden': PropTypes.bool,
55
+ 'aria-label': PropTypes.string,
56
+ 'aria-labelledby': PropTypes.string,
57
+ className: PropTypes.string,
58
+ children: PropTypes.node,
59
+ height: PropTypes.number,
60
+ preserveAspectRatio: PropTypes.string,
61
+ tabIndex: PropTypes.string,
62
+ viewBox: PropTypes.string,
63
+ width: PropTypes.number,
64
+ xmlns: PropTypes.string
65
+ };
66
+ Model20.defaultProps = {
67
+ width: 20,
68
+ height: 20,
69
+ viewBox: '0 0 32 32',
70
+ xmlns: 'http://www.w3.org/2000/svg',
71
+ preserveAspectRatio: 'xMidYMid meet'
72
+ };
73
+
74
+ export default Model20;