@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
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var ModelReference32 = React.forwardRef(function (_ref, ref) {
22
+ var className = _ref.className,
23
+ children = _ref.children,
24
+ style = _ref.style,
25
+ tabIndex = _ref.tabIndex,
26
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
27
+
28
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
29
+ tabindex: tabIndex
30
+ })),
31
+ tabindex = _getAttributes.tabindex,
32
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
33
+
34
+ if (className) {
35
+ props.className = className;
36
+ }
37
+
38
+ if (tabindex !== undefined && tabindex !== null) {
39
+ props.tabIndex = tabindex;
40
+ }
41
+
42
+ if (_typeof(style) === 'object') {
43
+ props.style = _objectSpread({}, defaultStyle, style);
44
+ } else {
45
+ props.style = defaultStyle;
46
+ }
47
+
48
+ if (ref) {
49
+ props.ref = ref;
50
+ }
51
+
52
+ return React.createElement('svg', props, children, React.createElement('path', {
53
+ d: 'M4 21v2h3.586L2 28.586 3.414 30 9 24.414V28h2v-7H4z'
54
+ }), React.createElement('path', {
55
+ d: 'M23.5 4h-15l-6 8-.784 1.045L6.877 19l1.324-1.526L5.19 14h5.112L16 29.527l14.284-16.482zm3.5 8h-5.446l-3.75-6H22.5zm-7.804 0h-6.392L16 6.887zM5 12l4.5-6h4.696l-3.75 6zm10.999 11.721L12.432 14h7.136zm1.944.51L21.698 14h5.112z'
56
+ }));
57
+ });
58
+ ModelReference32.displayName = 'ModelReference32';
59
+ ModelReference32.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ ModelReference32.defaultProps = {
73
+ width: 32,
74
+ height: 32,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = ModelReference32;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var Notebook20 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ 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'
56
+ }));
57
+ });
58
+ Notebook20.displayName = 'Notebook20';
59
+ Notebook20.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ Notebook20.defaultProps = {
73
+ width: 20,
74
+ height: 20,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = Notebook20;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var Notebook24 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ 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'
56
+ }));
57
+ });
58
+ Notebook24.displayName = 'Notebook24';
59
+ Notebook24.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ Notebook24.defaultProps = {
73
+ width: 24,
74
+ height: 24,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = Notebook24;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var Notebook32 = 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: 'M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ 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'
56
+ }));
57
+ });
58
+ Notebook32.displayName = 'Notebook32';
59
+ Notebook32.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ Notebook32.defaultProps = {
73
+ width: 32,
74
+ height: 32,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = Notebook32;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var NotebookReference20 = React.forwardRef(function (_ref, ref) {
22
+ var className = _ref.className,
23
+ children = _ref.children,
24
+ style = _ref.style,
25
+ tabIndex = _ref.tabIndex,
26
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
27
+
28
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
29
+ tabindex: tabIndex
30
+ })),
31
+ tabindex = _getAttributes.tabindex,
32
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
33
+
34
+ if (className) {
35
+ props.className = className;
36
+ }
37
+
38
+ if (tabindex !== undefined && tabindex !== null) {
39
+ props.tabIndex = tabindex;
40
+ }
41
+
42
+ if (_typeof(style) === 'object') {
43
+ props.style = _objectSpread({}, defaultStyle, style);
44
+ } else {
45
+ props.style = defaultStyle;
46
+ }
47
+
48
+ if (ref) {
49
+ props.ref = ref;
50
+ }
51
+
52
+ return React.createElement('svg', props, children, React.createElement('path', {
53
+ d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
56
+ }));
57
+ });
58
+ NotebookReference20.displayName = 'NotebookReference20';
59
+ NotebookReference20.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ NotebookReference20.defaultProps = {
73
+ width: 20,
74
+ height: 20,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = NotebookReference20;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var NotebookReference24 = React.forwardRef(function (_ref, ref) {
22
+ var className = _ref.className,
23
+ children = _ref.children,
24
+ style = _ref.style,
25
+ tabIndex = _ref.tabIndex,
26
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
27
+
28
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
29
+ tabindex: tabIndex
30
+ })),
31
+ tabindex = _getAttributes.tabindex,
32
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
33
+
34
+ if (className) {
35
+ props.className = className;
36
+ }
37
+
38
+ if (tabindex !== undefined && tabindex !== null) {
39
+ props.tabIndex = tabindex;
40
+ }
41
+
42
+ if (_typeof(style) === 'object') {
43
+ props.style = _objectSpread({}, defaultStyle, style);
44
+ } else {
45
+ props.style = defaultStyle;
46
+ }
47
+
48
+ if (ref) {
49
+ props.ref = ref;
50
+ }
51
+
52
+ return React.createElement('svg', props, children, React.createElement('path', {
53
+ d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
56
+ }));
57
+ });
58
+ NotebookReference24.displayName = 'NotebookReference24';
59
+ NotebookReference24.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ NotebookReference24.defaultProps = {
73
+ width: 24,
74
+ height: 24,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = NotebookReference24;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var NotebookReference32 = React.forwardRef(function (_ref, ref) {
22
+ var className = _ref.className,
23
+ children = _ref.children,
24
+ style = _ref.style,
25
+ tabIndex = _ref.tabIndex,
26
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
27
+
28
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
29
+ tabindex: tabIndex
30
+ })),
31
+ tabindex = _getAttributes.tabindex,
32
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
33
+
34
+ if (className) {
35
+ props.className = className;
36
+ }
37
+
38
+ if (tabindex !== undefined && tabindex !== null) {
39
+ props.tabIndex = tabindex;
40
+ }
41
+
42
+ if (_typeof(style) === 'object') {
43
+ props.style = _objectSpread({}, defaultStyle, style);
44
+ } else {
45
+ props.style = defaultStyle;
46
+ }
47
+
48
+ if (ref) {
49
+ props.ref = ref;
50
+ }
51
+
52
+ return React.createElement('svg', props, children, React.createElement('path', {
53
+ d: 'M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'
54
+ }), React.createElement('path', {
55
+ d: 'M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z'
56
+ }));
57
+ });
58
+ NotebookReference32.displayName = 'NotebookReference32';
59
+ NotebookReference32.propTypes = {
60
+ 'aria-hidden': PropTypes.bool,
61
+ 'aria-label': PropTypes.string,
62
+ 'aria-labelledby': PropTypes.string,
63
+ className: PropTypes.string,
64
+ children: PropTypes.node,
65
+ height: PropTypes.number,
66
+ preserveAspectRatio: PropTypes.string,
67
+ tabIndex: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ NotebookReference32.defaultProps = {
73
+ width: 32,
74
+ height: 32,
75
+ viewBox: '0 0 32 32',
76
+ xmlns: 'http://www.w3.org/2000/svg',
77
+ preserveAspectRatio: 'xMidYMid meet'
78
+ };
79
+
80
+ module.exports = NotebookReference32;
@@ -50,9 +50,9 @@ var WarningFilled16 = React.forwardRef(function (_ref, ref) {
50
50
  }
51
51
 
52
52
  return React.createElement('svg', props, children, React.createElement('path', {
53
- d: 'M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 11.5c-.4 0-1-.5-1-1s.5-1 1-1 1 .5 1 1-.5 1-1 1zm1-6.9V9H7V4h2v1.6z'
53
+ d: 'M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.1 7-7-3.1-7-7-7zm-.5 3h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z'
54
54
  }), React.createElement('path', {
55
- d: 'M7 11.5c0-.5.5-1 1-1s1 .5 1 1-.5 1-1 1c-.4 0-1-.5-1-1zM7 9V4h2v5H7z',
55
+ d: 'M7.5 4h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z',
56
56
  dataIconPath: 'inner-path',
57
57
  opacity: '0'
58
58
  }));
@@ -50,9 +50,9 @@ var WarningFilled20 = React.forwardRef(function (_ref, ref) {
50
50
  }
51
51
 
52
52
  return React.createElement('svg', props, children, React.createElement('path', {
53
- d: 'M10 1a9 9 0 1 0 9 9 9.01 9.01 0 0 0-9-9zm-.75 4h1.5v7h-1.5zM10 16a1 1 0 1 1 1-1 1 1 0 0 1-1 1z'
53
+ d: 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm-.8 4h1.5v7H9.2V5zm.8 11c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z'
54
54
  }), React.createElement('path', {
55
- d: 'M11 15a1 1 0 1 1-1-1 1 1 0 0 1 1 1zm-1.75-3h1.5V5h-1.5z',
55
+ d: 'M9.2 5h1.5v7H9.2V5zm.8 11c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z',
56
56
  dataIconPath: 'inner-path',
57
57
  opacity: '0'
58
58
  }));
@@ -50,9 +50,9 @@ var WarningFilled24 = React.forwardRef(function (_ref, ref) {
50
50
  }
51
51
 
52
52
  return React.createElement('svg', props, children, React.createElement('path', {
53
- d: 'M12 1a11 11 0 1 0 11 11A11.012 11.012 0 0 0 12 1zm-.875 5h1.75v8h-1.75zM12 19.25A1.25 1.25 0 1 1 13.25 18 1.25 1.25 0 0 1 12 19.25z'
53
+ d: 'M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm-.9 5h1.8v8h-1.8V6zm.9 13.2c-.7 0-1.2-.6-1.2-1.2s.6-1.2 1.2-1.2 1.2.6 1.2 1.2-.5 1.2-1.2 1.2z'
54
54
  }), React.createElement('path', {
55
- d: 'M13.25 18A1.25 1.25 0 1 1 12 16.75 1.25 1.25 0 0 1 13.25 18zm-.375-12h-1.75v8h1.75z',
55
+ d: 'M13.2 18c0 .7-.6 1.2-1.2 1.2s-1.2-.6-1.2-1.2.6-1.2 1.2-1.2 1.2.5 1.2 1.2zm-.3-12h-1.8v8h1.8V6z',
56
56
  dataIconPath: 'inner-path',
57
57
  opacity: '0'
58
58
  }));
@@ -50,9 +50,9 @@ var WarningFilled32 = React.forwardRef(function (_ref, ref) {
50
50
  }
51
51
 
52
52
  return React.createElement('svg', props, children, React.createElement('path', {
53
- d: 'M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2zm-1.125 6h2.25v11h-2.25zM16 25a1.5 1.5 0 1 1 1.5-1.5A1.5 1.5 0 0 1 16 25z'
53
+ d: 'M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z'
54
54
  }), React.createElement('path', {
55
- d: 'M17.5 23.5A1.5 1.5 0 1 1 16 22a1.5 1.5 0 0 1 1.5 1.5zM17.125 8h-2.25v11h2.25z',
55
+ d: 'M17.5 23.5c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5.7-1.5 1.5-1.5 1.5.7 1.5 1.5zM17.1 8h-2.2v11h2.2V8z',
56
56
  dataIconPath: 'inner-path',
57
57
  opacity: '0'
58
58
  }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/icons-react",
3
3
  "description": "React components for icons in digital and software products using the Carbon Design System",
4
- "version": "0.0.1-beta.1",
4
+ "version": "0.0.1-beta.5",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/IBM/carbon-elements/tree/master/packages/icons-react",
7
7
  "bugs": "https://github.com/IBM/carbon-elements/issues",
@@ -25,15 +25,15 @@
25
25
  "clean": "rimraf es lib umd"
26
26
  },
27
27
  "dependencies": {
28
- "@carbon/icon-helpers": "0.0.1-beta.1",
28
+ "@carbon/icon-helpers": "0.0.1-beta.5",
29
29
  "prop-types": "^15.6.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@babel/core": "^7.2.0",
33
33
  "@babel/preset-env": "^7.2.0",
34
- "@carbon/bundler": "0.0.1-beta.1",
35
- "@carbon/cli-reporter": "0.0.1-beta.1",
36
- "@carbon/icons": "0.0.1-beta.1",
34
+ "@carbon/bundler": "0.0.1-beta.5",
35
+ "@carbon/cli-reporter": "0.0.1-beta.5",
36
+ "@carbon/icons": "0.0.1-beta.5",
37
37
  "change-case": "^3.0.2",
38
38
  "fs-extra": "^7.0.0",
39
39
  "prettier": "^1.14.3",
@@ -44,5 +44,5 @@
44
44
  "rollup-plugin-virtual": "^1.0.1"
45
45
  },
46
46
  "sideEffects": false,
47
- "gitHead": "20df8e620c9da81cb0803cef67a627f75ccd2401"
47
+ "gitHead": "eb5cb82f2f862cced404c31d69697c5b1168ecb1"
48
48
  }