@carbon/icons-react 10.2.0 → 10.3.0

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.
@@ -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 EditOff32 = 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: 'M30 28.59L3.41 2 2 3.41 12.09 13.5 4 21.59V28h6.41l8.09-8.09L28.59 30zM9.59 26H6v-3.59l7.5-7.5 3.59 3.59zM29.41 6.17l-3.58-3.58a2 2 0 0 0-2.83 0l-8.08 8.08 1.41 1.41L20 8.41 23.59 12l-3.67 3.67 1.41 1.41L29.41 9a2 2 0 0 0 0-2.83zM25 10.59L21.41 7l3-3L28 7.59z'
50
+ }));
51
+ });
52
+ EditOff32.displayName = 'EditOff32';
53
+ EditOff32.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
+ EditOff32.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 EditOff32;
@@ -53,6 +53,7 @@ var CheckmarkFilled16 = React.forwardRef(function (_ref, ref) {
53
53
  d: 'M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zM7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z'
54
54
  }), React.createElement('path', {
55
55
  d: 'M7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z',
56
+ 'data-icon-path': 'inner-path',
56
57
  opacity: '0'
57
58
  }));
58
59
  });
@@ -53,7 +53,8 @@ var CheckmarkFilled32 = React.forwardRef(function (_ref, ref) {
53
53
  d: 'M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm-2 19.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z'
54
54
  }), React.createElement('path', {
55
55
  d: 'M14 21.5l-5-5 1.6-1.5 3.4 3.4 7.4-7.4 1.6 1.6-9 8.9z',
56
- 'data-icon-path': 'inner-path'
56
+ 'data-icon-path': 'inner-path',
57
+ opacity: '0'
57
58
  }));
58
59
  });
59
60
  CheckmarkFilled32.displayName = 'CheckmarkFilled32';
@@ -0,0 +1,78 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var EditOff16 = 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: 'M15 14.3L1.7 1l-.7.7 5 5-4 4V14h3.2l4-4 5 5 .8-.7zM4.8 13H3v-1.8l3.8-3.8 1.8 1.8L4.8 13zm9.9-9.9l-1.8-1.8c-.4-.4-1-.4-1.4 0l-4 4 .7.7L10 4.2 11.8 6 10 7.8l.7.7 4-4c.4-.4.4-1 0-1.4zm-2.2 2.2l-1.8-1.8L12.2 2 14 3.8l-1.5 1.5z'
54
+ }));
55
+ });
56
+ EditOff16.displayName = 'EditOff16';
57
+ EditOff16.propTypes = {
58
+ 'aria-hidden': PropTypes.bool,
59
+ 'aria-label': PropTypes.string,
60
+ 'aria-labelledby': PropTypes.string,
61
+ className: PropTypes.string,
62
+ children: PropTypes.node,
63
+ height: PropTypes.number,
64
+ preserveAspectRatio: PropTypes.string,
65
+ tabIndex: PropTypes.string,
66
+ viewBox: PropTypes.string,
67
+ width: PropTypes.number,
68
+ xmlns: PropTypes.string
69
+ };
70
+ EditOff16.defaultProps = {
71
+ width: 16,
72
+ height: 16,
73
+ viewBox: '0 0 16 16',
74
+ xmlns: 'http://www.w3.org/2000/svg',
75
+ preserveAspectRatio: 'xMidYMid meet'
76
+ };
77
+
78
+ module.exports = EditOff16;
@@ -0,0 +1,78 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var EditOff20 = 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: 'M30 28.59L3.41 2 2 3.41 12.09 13.5 4 21.59V28h6.41l8.09-8.09L28.59 30zM9.59 26H6v-3.59l7.5-7.5 3.59 3.59zM29.41 6.17l-3.58-3.58a2 2 0 0 0-2.83 0l-8.08 8.08 1.41 1.41L20 8.41 23.59 12l-3.67 3.67 1.41 1.41L29.41 9a2 2 0 0 0 0-2.83zM25 10.59L21.41 7l3-3L28 7.59z'
54
+ }));
55
+ });
56
+ EditOff20.displayName = 'EditOff20';
57
+ EditOff20.propTypes = {
58
+ 'aria-hidden': PropTypes.bool,
59
+ 'aria-label': PropTypes.string,
60
+ 'aria-labelledby': PropTypes.string,
61
+ className: PropTypes.string,
62
+ children: PropTypes.node,
63
+ height: PropTypes.number,
64
+ preserveAspectRatio: PropTypes.string,
65
+ tabIndex: PropTypes.string,
66
+ viewBox: PropTypes.string,
67
+ width: PropTypes.number,
68
+ xmlns: PropTypes.string
69
+ };
70
+ EditOff20.defaultProps = {
71
+ width: 20,
72
+ height: 20,
73
+ viewBox: '0 0 32 32',
74
+ xmlns: 'http://www.w3.org/2000/svg',
75
+ preserveAspectRatio: 'xMidYMid meet'
76
+ };
77
+
78
+ module.exports = EditOff20;
@@ -0,0 +1,78 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var EditOff24 = 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: 'M30 28.59L3.41 2 2 3.41 12.09 13.5 4 21.59V28h6.41l8.09-8.09L28.59 30zM9.59 26H6v-3.59l7.5-7.5 3.59 3.59zM29.41 6.17l-3.58-3.58a2 2 0 0 0-2.83 0l-8.08 8.08 1.41 1.41L20 8.41 23.59 12l-3.67 3.67 1.41 1.41L29.41 9a2 2 0 0 0 0-2.83zM25 10.59L21.41 7l3-3L28 7.59z'
54
+ }));
55
+ });
56
+ EditOff24.displayName = 'EditOff24';
57
+ EditOff24.propTypes = {
58
+ 'aria-hidden': PropTypes.bool,
59
+ 'aria-label': PropTypes.string,
60
+ 'aria-labelledby': PropTypes.string,
61
+ className: PropTypes.string,
62
+ children: PropTypes.node,
63
+ height: PropTypes.number,
64
+ preserveAspectRatio: PropTypes.string,
65
+ tabIndex: PropTypes.string,
66
+ viewBox: PropTypes.string,
67
+ width: PropTypes.number,
68
+ xmlns: PropTypes.string
69
+ };
70
+ EditOff24.defaultProps = {
71
+ width: 24,
72
+ height: 24,
73
+ viewBox: '0 0 32 32',
74
+ xmlns: 'http://www.w3.org/2000/svg',
75
+ preserveAspectRatio: 'xMidYMid meet'
76
+ };
77
+
78
+ module.exports = EditOff24;
@@ -0,0 +1,78 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var iconHelpers = require('@carbon/icon-helpers');
6
+ var PropTypes = _interopDefault(require('prop-types'));
7
+ var React = _interopDefault(require('react'));
8
+
9
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10
+
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+
13
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+
17
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ var defaultStyle = {
19
+ "willChange": "transform"
20
+ };
21
+ var EditOff32 = 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: 'M30 28.59L3.41 2 2 3.41 12.09 13.5 4 21.59V28h6.41l8.09-8.09L28.59 30zM9.59 26H6v-3.59l7.5-7.5 3.59 3.59zM29.41 6.17l-3.58-3.58a2 2 0 0 0-2.83 0l-8.08 8.08 1.41 1.41L20 8.41 23.59 12l-3.67 3.67 1.41 1.41L29.41 9a2 2 0 0 0 0-2.83zM25 10.59L21.41 7l3-3L28 7.59z'
54
+ }));
55
+ });
56
+ EditOff32.displayName = 'EditOff32';
57
+ EditOff32.propTypes = {
58
+ 'aria-hidden': PropTypes.bool,
59
+ 'aria-label': PropTypes.string,
60
+ 'aria-labelledby': PropTypes.string,
61
+ className: PropTypes.string,
62
+ children: PropTypes.node,
63
+ height: PropTypes.number,
64
+ preserveAspectRatio: PropTypes.string,
65
+ tabIndex: PropTypes.string,
66
+ viewBox: PropTypes.string,
67
+ width: PropTypes.number,
68
+ xmlns: PropTypes.string
69
+ };
70
+ EditOff32.defaultProps = {
71
+ width: 32,
72
+ height: 32,
73
+ viewBox: '0 0 32 32',
74
+ xmlns: 'http://www.w3.org/2000/svg',
75
+ preserveAspectRatio: 'xMidYMid meet'
76
+ };
77
+
78
+ module.exports = EditOff32;
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": "10.2.0",
4
+ "version": "10.3.0",
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",
@@ -33,7 +33,7 @@
33
33
  "@babel/preset-env": "^7.2.0",
34
34
  "@carbon/bundler": "10.2.0",
35
35
  "@carbon/cli-reporter": "10.2.0",
36
- "@carbon/icons": "10.2.0",
36
+ "@carbon/icons": "10.3.0",
37
37
  "change-case": "^3.0.2",
38
38
  "fs-extra": "^7.0.0",
39
39
  "prettier": "^1.17.0",
@@ -44,5 +44,5 @@
44
44
  "rollup-plugin-virtual": "^1.0.1"
45
45
  },
46
46
  "sideEffects": false,
47
- "gitHead": "e71825a0cf44f6f41fee7d2b0dd9c57d7bda126a"
47
+ "gitHead": "e1ff2abd982e22a1d53eeb4c95b1caa00d802595"
48
48
  }
@@ -54,6 +54,7 @@
54
54
  d: 'M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zM7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z'
55
55
  }), React.createElement('path', {
56
56
  d: 'M7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z',
57
+ 'data-icon-path': 'inner-path',
57
58
  opacity: '0'
58
59
  }));
59
60
  });
@@ -54,7 +54,8 @@
54
54
  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'
55
55
  }), React.createElement('path', {
56
56
  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',
57
- 'data-icon-path': 'inner-path'
57
+ 'data-icon-path': 'inner-path',
58
+ opacity: '0'
58
59
  }));
59
60
  });
60
61
  CheckmarkFilled32.displayName = 'CheckmarkFilled32';
@@ -0,0 +1,81 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@carbon/icon-helpers'), require('prop-types'), require('react')) :
3
+ typeof define === 'function' && define.amd ? define(['@carbon/icon-helpers', 'prop-types', 'react'], factory) :
4
+ (global.EditOff16 = factory(global.CarbonIconHelpers,global.PropTypes,global.React));
5
+ }(this, (function (iconHelpers,PropTypes,React) { 'use strict';
6
+
7
+ PropTypes = PropTypes && PropTypes.hasOwnProperty('default') ? PropTypes['default'] : PropTypes;
8
+ React = React && React.hasOwnProperty('default') ? React['default'] : React;
9
+
10
+ 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); }
11
+
12
+ 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; }
13
+
14
+ 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; }
15
+
16
+ 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; }
17
+
18
+ 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; }
19
+ var defaultStyle = {
20
+ "willChange": "transform"
21
+ };
22
+ var EditOff16 = React.forwardRef(function (_ref, ref) {
23
+ var className = _ref.className,
24
+ children = _ref.children,
25
+ style = _ref.style,
26
+ tabIndex = _ref.tabIndex,
27
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
28
+
29
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
30
+ tabindex: tabIndex
31
+ })),
32
+ tabindex = _getAttributes.tabindex,
33
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
34
+
35
+ if (className) {
36
+ props.className = className;
37
+ }
38
+
39
+ if (tabindex !== undefined && tabindex !== null) {
40
+ props.tabIndex = tabindex;
41
+ }
42
+
43
+ if (_typeof(style) === 'object') {
44
+ props.style = _objectSpread({}, defaultStyle, style);
45
+ } else {
46
+ props.style = defaultStyle;
47
+ }
48
+
49
+ if (ref) {
50
+ props.ref = ref;
51
+ }
52
+
53
+ return React.createElement('svg', props, children, React.createElement('path', {
54
+ d: 'M15 14.3L1.7 1l-.7.7 5 5-4 4V14h3.2l4-4 5 5 .8-.7zM4.8 13H3v-1.8l3.8-3.8 1.8 1.8L4.8 13zm9.9-9.9l-1.8-1.8c-.4-.4-1-.4-1.4 0l-4 4 .7.7L10 4.2 11.8 6 10 7.8l.7.7 4-4c.4-.4.4-1 0-1.4zm-2.2 2.2l-1.8-1.8L12.2 2 14 3.8l-1.5 1.5z'
55
+ }));
56
+ });
57
+ EditOff16.displayName = 'EditOff16';
58
+ EditOff16.propTypes = {
59
+ 'aria-hidden': PropTypes.bool,
60
+ 'aria-label': PropTypes.string,
61
+ 'aria-labelledby': PropTypes.string,
62
+ className: PropTypes.string,
63
+ children: PropTypes.node,
64
+ height: PropTypes.number,
65
+ preserveAspectRatio: PropTypes.string,
66
+ tabIndex: PropTypes.string,
67
+ viewBox: PropTypes.string,
68
+ width: PropTypes.number,
69
+ xmlns: PropTypes.string
70
+ };
71
+ EditOff16.defaultProps = {
72
+ width: 16,
73
+ height: 16,
74
+ viewBox: '0 0 16 16',
75
+ xmlns: 'http://www.w3.org/2000/svg',
76
+ preserveAspectRatio: 'xMidYMid meet'
77
+ };
78
+
79
+ return EditOff16;
80
+
81
+ })));
@@ -0,0 +1,81 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@carbon/icon-helpers'), require('prop-types'), require('react')) :
3
+ typeof define === 'function' && define.amd ? define(['@carbon/icon-helpers', 'prop-types', 'react'], factory) :
4
+ (global.EditOff20 = factory(global.CarbonIconHelpers,global.PropTypes,global.React));
5
+ }(this, (function (iconHelpers,PropTypes,React) { 'use strict';
6
+
7
+ PropTypes = PropTypes && PropTypes.hasOwnProperty('default') ? PropTypes['default'] : PropTypes;
8
+ React = React && React.hasOwnProperty('default') ? React['default'] : React;
9
+
10
+ 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); }
11
+
12
+ 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; }
13
+
14
+ 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; }
15
+
16
+ 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; }
17
+
18
+ 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; }
19
+ var defaultStyle = {
20
+ "willChange": "transform"
21
+ };
22
+ var EditOff20 = React.forwardRef(function (_ref, ref) {
23
+ var className = _ref.className,
24
+ children = _ref.children,
25
+ style = _ref.style,
26
+ tabIndex = _ref.tabIndex,
27
+ rest = _objectWithoutProperties(_ref, ["className", "children", "style", "tabIndex"]);
28
+
29
+ var _getAttributes = iconHelpers.getAttributes(_objectSpread({}, rest, {
30
+ tabindex: tabIndex
31
+ })),
32
+ tabindex = _getAttributes.tabindex,
33
+ props = _objectWithoutProperties(_getAttributes, ["tabindex"]);
34
+
35
+ if (className) {
36
+ props.className = className;
37
+ }
38
+
39
+ if (tabindex !== undefined && tabindex !== null) {
40
+ props.tabIndex = tabindex;
41
+ }
42
+
43
+ if (_typeof(style) === 'object') {
44
+ props.style = _objectSpread({}, defaultStyle, style);
45
+ } else {
46
+ props.style = defaultStyle;
47
+ }
48
+
49
+ if (ref) {
50
+ props.ref = ref;
51
+ }
52
+
53
+ return React.createElement('svg', props, children, React.createElement('path', {
54
+ d: 'M30 28.59L3.41 2 2 3.41 12.09 13.5 4 21.59V28h6.41l8.09-8.09L28.59 30zM9.59 26H6v-3.59l7.5-7.5 3.59 3.59zM29.41 6.17l-3.58-3.58a2 2 0 0 0-2.83 0l-8.08 8.08 1.41 1.41L20 8.41 23.59 12l-3.67 3.67 1.41 1.41L29.41 9a2 2 0 0 0 0-2.83zM25 10.59L21.41 7l3-3L28 7.59z'
55
+ }));
56
+ });
57
+ EditOff20.displayName = 'EditOff20';
58
+ EditOff20.propTypes = {
59
+ 'aria-hidden': PropTypes.bool,
60
+ 'aria-label': PropTypes.string,
61
+ 'aria-labelledby': PropTypes.string,
62
+ className: PropTypes.string,
63
+ children: PropTypes.node,
64
+ height: PropTypes.number,
65
+ preserveAspectRatio: PropTypes.string,
66
+ tabIndex: PropTypes.string,
67
+ viewBox: PropTypes.string,
68
+ width: PropTypes.number,
69
+ xmlns: PropTypes.string
70
+ };
71
+ EditOff20.defaultProps = {
72
+ width: 20,
73
+ height: 20,
74
+ viewBox: '0 0 32 32',
75
+ xmlns: 'http://www.w3.org/2000/svg',
76
+ preserveAspectRatio: 'xMidYMid meet'
77
+ };
78
+
79
+ return EditOff20;
80
+
81
+ })));