@carbon/icons-react 0.0.1-alpha.28 → 0.0.1-alpha.31

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 (64) hide show
  1. package/es/{battery--half-full → battery--half}/20.js +5 -5
  2. package/es/{battery--half-full → battery--half}/24.js +5 -5
  3. package/es/{battery--half-full → battery--half}/32.js +5 -5
  4. package/es/{battery--less-full → battery--low}/20.js +5 -5
  5. package/es/{battery--less-full → battery--low}/24.js +5 -5
  6. package/es/{battery--less-full → battery--low}/32.js +5 -5
  7. package/es/copy/16.js +2 -2
  8. package/es/copy/20.js +2 -2
  9. package/es/copy/24.js +2 -2
  10. package/es/copy/32.js +2 -2
  11. package/es/copy--file/16.js +77 -0
  12. package/es/copy--file/20.js +2 -2
  13. package/es/copy--file/24.js +2 -2
  14. package/es/copy--file/32.js +2 -2
  15. package/es/ibm-security/20.js +75 -0
  16. package/es/ibm-security/24.js +75 -0
  17. package/es/ibm-security/32.js +75 -0
  18. package/es/index.js +2 -2
  19. package/es/shopping--catalog/20.js +1 -1
  20. package/es/shopping--catalog/24.js +1 -1
  21. package/es/shopping--catalog/32.js +1 -1
  22. package/lib/{battery--half-full → battery--half}/20.js +5 -5
  23. package/lib/{battery--half-full → battery--half}/24.js +5 -5
  24. package/lib/{battery--half-full → battery--half}/32.js +5 -5
  25. package/lib/{battery--less-full → battery--low}/20.js +5 -5
  26. package/lib/{battery--less-full → battery--low}/24.js +5 -5
  27. package/lib/{battery--less-full → battery--low}/32.js +5 -5
  28. package/lib/copy/16.js +2 -2
  29. package/lib/copy/20.js +2 -2
  30. package/lib/copy/24.js +2 -2
  31. package/lib/copy/32.js +2 -2
  32. package/lib/copy--file/16.js +81 -0
  33. package/lib/copy--file/20.js +2 -2
  34. package/lib/copy--file/24.js +2 -2
  35. package/lib/copy--file/32.js +2 -2
  36. package/lib/ibm-security/20.js +79 -0
  37. package/lib/ibm-security/24.js +79 -0
  38. package/lib/ibm-security/32.js +79 -0
  39. package/lib/index.js +11 -7
  40. package/lib/shopping--catalog/20.js +1 -1
  41. package/lib/shopping--catalog/24.js +1 -1
  42. package/lib/shopping--catalog/32.js +1 -1
  43. package/package.json +5 -5
  44. package/umd/{battery--half-full → battery--half}/20.js +6 -6
  45. package/umd/{battery--half-full → battery--half}/24.js +6 -6
  46. package/umd/{battery--half-full → battery--half}/32.js +6 -6
  47. package/umd/{battery--less-full → battery--low}/20.js +6 -6
  48. package/umd/{battery--less-full → battery--low}/24.js +6 -6
  49. package/umd/{battery--less-full → battery--low}/32.js +6 -6
  50. package/umd/copy/16.js +2 -2
  51. package/umd/copy/20.js +2 -2
  52. package/umd/copy/24.js +2 -2
  53. package/umd/copy/32.js +2 -2
  54. package/umd/copy--file/16.js +84 -0
  55. package/umd/copy--file/20.js +2 -2
  56. package/umd/copy--file/24.js +2 -2
  57. package/umd/copy--file/32.js +2 -2
  58. package/umd/ibm-security/20.js +82 -0
  59. package/umd/ibm-security/24.js +82 -0
  60. package/umd/ibm-security/32.js +82 -0
  61. package/umd/index.js +11 -7
  62. package/umd/shopping--catalog/20.js +1 -1
  63. package/umd/shopping--catalog/24.js +1 -1
  64. package/umd/shopping--catalog/32.js +1 -1
@@ -0,0 +1,82 @@
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.IbmSecurity24 = 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 IbmSecurity24 = 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: 'M16 31A11 11 0 0 1 5 20V6.91l11-6 11 6V20a11 11 0 0 1-11 11zM7 8.09V20a9 9 0 0 0 18 0V8.09l-9-4.95z'
55
+ }));
56
+ });
57
+ IbmSecurity24.displayName = 'IbmSecurity24';
58
+ IbmSecurity24.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
+ title: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ IbmSecurity24.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
+ return IbmSecurity24;
81
+
82
+ })));
@@ -0,0 +1,82 @@
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.IbmSecurity32 = 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 IbmSecurity32 = 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: 'M16 31A11 11 0 0 1 5 20V6.91l11-6 11 6V20a11 11 0 0 1-11 11zM7 8.09V20a9 9 0 0 0 18 0V8.09l-9-4.95z'
55
+ }));
56
+ });
57
+ IbmSecurity32.displayName = 'IbmSecurity32';
58
+ IbmSecurity32.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
+ title: PropTypes.string,
68
+ viewBox: PropTypes.string,
69
+ width: PropTypes.number,
70
+ xmlns: PropTypes.string
71
+ };
72
+ IbmSecurity32.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
+ return IbmSecurity32;
81
+
82
+ })));