@carbon/icons-react 11.11.0 → 11.12.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.
- package/es/DiamondFill.js +56 -0
- package/es/Undefined.js +3 -18
- package/es/generated/bucket-10.js +739 -743
- package/es/generated/bucket-11.js +681 -679
- package/es/generated/bucket-12.js +737 -735
- package/es/generated/bucket-13.js +706 -706
- package/es/generated/bucket-14.js +713 -728
- package/es/generated/bucket-15.js +784 -786
- package/es/generated/bucket-16.js +32 -8
- package/es/generated/bucket-4.js +484 -467
- package/es/generated/bucket-5.js +697 -703
- package/es/generated/bucket-6.js +755 -751
- package/es/generated/bucket-7.js +781 -779
- package/es/generated/bucket-8.js +651 -651
- package/es/generated/bucket-9.js +704 -704
- package/es/index.js +13 -13
- package/lib/DiamondFill.js +62 -0
- package/lib/Undefined.js +3 -18
- package/lib/generated/bucket-10.js +739 -743
- package/lib/generated/bucket-11.js +681 -679
- package/lib/generated/bucket-12.js +737 -735
- package/lib/generated/bucket-13.js +706 -706
- package/lib/generated/bucket-14.js +713 -728
- package/lib/generated/bucket-15.js +784 -786
- package/lib/generated/bucket-16.js +32 -7
- package/lib/generated/bucket-4.js +484 -467
- package/lib/generated/bucket-5.js +697 -703
- package/lib/generated/bucket-6.js +755 -751
- package/lib/generated/bucket-7.js +781 -779
- package/lib/generated/bucket-8.js +651 -651
- package/lib/generated/bucket-9.js +704 -704
- package/lib/index.js +13 -12
- package/package.json +5 -5
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2021
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
8
|
+
*/
|
|
9
|
+
import { i as iconPropTypes, _ as _objectWithoutProperties, I as Icon, a as _objectSpread2 } from './iconPropTypes-44033017.js';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import '@carbon/icon-helpers';
|
|
12
|
+
import 'prop-types';
|
|
13
|
+
|
|
14
|
+
var _path, _path2, _path3, _path4;
|
|
15
|
+
|
|
16
|
+
var _excluded = ["children", "size"];
|
|
17
|
+
var DiamondFill = /*#__PURE__*/React.forwardRef(function DiamondFill(_ref, ref) {
|
|
18
|
+
var children = _ref.children,
|
|
19
|
+
_ref$size = _ref.size,
|
|
20
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
21
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
+
|
|
23
|
+
if (size === "glyph" || size === "glyph" || size === "glyphpx") {
|
|
24
|
+
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
25
|
+
width: size,
|
|
26
|
+
height: size,
|
|
27
|
+
ref: ref,
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
viewBox: "0 0 16 16",
|
|
30
|
+
fill: "currentColor"
|
|
31
|
+
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142M8,1,1,8l7,7,7-7L8,1Z"
|
|
33
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142"
|
|
35
|
+
})), children);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
39
|
+
width: size,
|
|
40
|
+
height: size,
|
|
41
|
+
ref: ref,
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
viewBox: "0 0 16 16",
|
|
44
|
+
fill: "currentColor"
|
|
45
|
+
}, rest), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142M8,1,1,8l7,7,7-7L8,1Z"
|
|
47
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142"
|
|
49
|
+
})), children);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
if (process.env.NODE_ENV !== "production") {
|
|
53
|
+
DiamondFill.propTypes = iconPropTypes;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { DiamondFill as default };
|
package/es/Undefined.js
CHANGED
|
@@ -11,7 +11,7 @@ import React from 'react';
|
|
|
11
11
|
import '@carbon/icon-helpers';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
|
|
14
|
-
var _path, _path2
|
|
14
|
+
var _path, _path2;
|
|
15
15
|
|
|
16
16
|
var _excluded = ["children", "size"];
|
|
17
17
|
var Undefined = /*#__PURE__*/React.forwardRef(function Undefined(_ref, ref) {
|
|
@@ -20,21 +20,6 @@ var Undefined = /*#__PURE__*/React.forwardRef(function Undefined(_ref, ref) {
|
|
|
20
20
|
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
21
21
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22
22
|
|
|
23
|
-
if (size === "glyph" || size === "glyph" || size === "glyphpx") {
|
|
24
|
-
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
25
|
-
width: size,
|
|
26
|
-
height: size,
|
|
27
|
-
ref: ref,
|
|
28
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
-
viewBox: "0 0 16 16",
|
|
30
|
-
fill: "currentColor"
|
|
31
|
-
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
32
|
-
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142M8,1,1,8l7,7,7-7L8,1Z"
|
|
33
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
34
|
-
d: "M8,2.4142,13.5858,8,8,13.5858,2.4142,8,8,2.4142"
|
|
35
|
-
})), children);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
23
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
39
24
|
width: size,
|
|
40
25
|
height: size,
|
|
@@ -42,9 +27,9 @@ var Undefined = /*#__PURE__*/React.forwardRef(function Undefined(_ref, ref) {
|
|
|
42
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43
28
|
viewBox: "0 0 32 32",
|
|
44
29
|
fill: "currentColor"
|
|
45
|
-
}, rest),
|
|
30
|
+
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
46
31
|
d: "M11 14H21V18H11z"
|
|
47
|
-
})),
|
|
32
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
48
33
|
d: "M29.391,14.527L17.473,2.609C17.067,2.203,16.533,2,16,2c-0.533,0-1.067,0.203-1.473,0.609L2.609,14.527 C2.203,14.933,2,15.466,2,16s0.203,1.067,0.609,1.473l11.917,11.917C14.933,29.797,15.467,30,16,30c0.533,0,1.067-0.203,1.473-0.609 l11.917-11.917C29.797,17.067,30,16.534,30,16S29.797,14.933,29.391,14.527z M16,28.036L3.965,16L16,3.964L28.036,16L16,28.036z"
|
|
49
34
|
})), children);
|
|
50
35
|
});
|