@carbon/icons-react 11.46.0 → 11.47.0-rc.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/Ai.js CHANGED
@@ -13,12 +13,19 @@ import '@carbon/icon-helpers';
13
13
  import 'prop-types';
14
14
 
15
15
  var _path;
16
+ let didWarnAboutDeprecation = false;
16
17
  const Ai = /*#__PURE__*/React.forwardRef(function Ai(_ref, ref) {
17
18
  let {
18
19
  children,
19
20
  size = 16,
20
21
  ...rest
21
22
  } = _ref;
23
+ if (process.env.NODE_ENV !== "production") {
24
+ if (!didWarnAboutDeprecation) {
25
+ didWarnAboutDeprecation = true;
26
+ console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai component will be removed in the next major version of @carbon/icons-react.");
27
+ }
28
+ }
22
29
  return /*#__PURE__*/React.createElement(Icon, {
23
30
  width: size,
24
31
  height: size,
@@ -13,6 +13,7 @@ import '@carbon/icon-helpers';
13
13
  import 'prop-types';
14
14
 
15
15
  var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _circle, _path19, _path20, _path21, _path22, _path23, _path24, _circle2, _path25, _path26, _path27, _path28, _path29, _path30, _path31, _path32, _path33, _path34, _path35, _path36, _path37, _path38, _path39, _path40, _path41, _path42, _path43, _path44, _path45, _path46, _path47, _path48, _path49, _path50, _path51, _path52, _path53, _path54, _path55, _path56, _path57, _path58, _path59, _path60, _path61, _path62, _path63, _path64, _path65, _path66, _path67, _path68, _path69, _path70, _path71, _path72, _circle3, _circle4, _circle5, _path73, _path74, _path75, _path76, _path77, _path78, _path79, _path80, _path81, _path82, _path83, _path84, _path85, _path86, _path87, _path88, _path89, _path90, _path91, _path92, _path93, _path94, _path95, _path96, _path97, _path98, _path99, _path100, _path101, _path102, _path103, _path104, _path105, _path106, _path107, _path108, _path109, _path110, _path111, _path112, _path113, _path114, _path115, _path116, _path117, _path118, _path119, _path120, _path121, _path122, _path123, _path124, _path125, _path126, _path127, _path128, _path129, _path130, _path131, _path132, _path133, _path134, _path135, _path136, _path137, _path138, _path139, _path140, _path141, _path142, _path143, _path144, _path145, _path146, _path147, _circle6, _path148, _path149, _path150, _path151, _path152, _path153, _path154, _path155, _path156, _circle7, _path157, _path158, _path159, _path160, _path161, _path162, _path163, _path164, _path165, _path166, _path167, _path168, _path169, _path170, _path171, _path172, _path173, _path174, _path175, _path176, _path177, _path178, _path179, _path180, _path181, _path182, _path183, _path184, _path185, _path186, _path187, _path188, _path189, _path190, _path191, _path192, _path193, _path194, _path195, _path196, _path197, _path198, _path199, _path200, _path201, _path202, _path203, _path204, _path205, _path206, _path207, _path208, _path209, _circle8, _path210, _circle9, _circle10, _circle11, _circle12, _circle13, _circle14, _circle15, _circle16, _circle17, _circle18, _circle19, _circle20, _circle21, _circle22, _circle23, _circle24, _circle25, _circle26, _circle27, _circle28, _circle29, _circle30, _circle31, _circle32, _circle33, _circle34, _circle35, _circle36, _circle37, _circle38, _circle39, _circle40, _circle41, _circle42, _circle43, _circle44, _circle45, _circle46, _circle47, _circle48;
16
+ const didWarnAboutDeprecation = {};
16
17
  const WatsonHealth3DCursor = /*#__PURE__*/React.forwardRef(function WatsonHealth3DCursor(_ref, ref) {
17
18
  let {
18
19
  children,
@@ -724,6 +725,12 @@ const Ai = /*#__PURE__*/React.forwardRef(function Ai(_ref32, ref) {
724
725
  size = 16,
725
726
  ...rest
726
727
  } = _ref32;
728
+ if (process.env.NODE_ENV !== "production") {
729
+ if (!didWarnAboutDeprecation["Ai"]) {
730
+ didWarnAboutDeprecation["Ai"] = true;
731
+ console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai component will be removed in the next major version of @carbon/icons-react.");
732
+ }
733
+ }
727
734
  return /*#__PURE__*/React.createElement(Icon, {
728
735
  width: size,
729
736
  height: size,
package/lib/Ai.js CHANGED
@@ -19,12 +19,19 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
19
19
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
20
20
 
21
21
  var _path;
22
+ let didWarnAboutDeprecation = false;
22
23
  const Ai = /*#__PURE__*/React__default["default"].forwardRef(function Ai(_ref, ref) {
23
24
  let {
24
25
  children,
25
26
  size = 16,
26
27
  ...rest
27
28
  } = _ref;
29
+ if (process.env.NODE_ENV !== "production") {
30
+ if (!didWarnAboutDeprecation) {
31
+ didWarnAboutDeprecation = true;
32
+ console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai component will be removed in the next major version of @carbon/icons-react.");
33
+ }
34
+ }
28
35
  return /*#__PURE__*/React__default["default"].createElement(Icon_js, {
29
36
  width: size,
30
37
  height: size,
@@ -21,6 +21,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
21
21
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
22
 
23
23
  var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _circle, _path19, _path20, _path21, _path22, _path23, _path24, _circle2, _path25, _path26, _path27, _path28, _path29, _path30, _path31, _path32, _path33, _path34, _path35, _path36, _path37, _path38, _path39, _path40, _path41, _path42, _path43, _path44, _path45, _path46, _path47, _path48, _path49, _path50, _path51, _path52, _path53, _path54, _path55, _path56, _path57, _path58, _path59, _path60, _path61, _path62, _path63, _path64, _path65, _path66, _path67, _path68, _path69, _path70, _path71, _path72, _circle3, _circle4, _circle5, _path73, _path74, _path75, _path76, _path77, _path78, _path79, _path80, _path81, _path82, _path83, _path84, _path85, _path86, _path87, _path88, _path89, _path90, _path91, _path92, _path93, _path94, _path95, _path96, _path97, _path98, _path99, _path100, _path101, _path102, _path103, _path104, _path105, _path106, _path107, _path108, _path109, _path110, _path111, _path112, _path113, _path114, _path115, _path116, _path117, _path118, _path119, _path120, _path121, _path122, _path123, _path124, _path125, _path126, _path127, _path128, _path129, _path130, _path131, _path132, _path133, _path134, _path135, _path136, _path137, _path138, _path139, _path140, _path141, _path142, _path143, _path144, _path145, _path146, _path147, _circle6, _path148, _path149, _path150, _path151, _path152, _path153, _path154, _path155, _path156, _circle7, _path157, _path158, _path159, _path160, _path161, _path162, _path163, _path164, _path165, _path166, _path167, _path168, _path169, _path170, _path171, _path172, _path173, _path174, _path175, _path176, _path177, _path178, _path179, _path180, _path181, _path182, _path183, _path184, _path185, _path186, _path187, _path188, _path189, _path190, _path191, _path192, _path193, _path194, _path195, _path196, _path197, _path198, _path199, _path200, _path201, _path202, _path203, _path204, _path205, _path206, _path207, _path208, _path209, _circle8, _path210, _circle9, _circle10, _circle11, _circle12, _circle13, _circle14, _circle15, _circle16, _circle17, _circle18, _circle19, _circle20, _circle21, _circle22, _circle23, _circle24, _circle25, _circle26, _circle27, _circle28, _circle29, _circle30, _circle31, _circle32, _circle33, _circle34, _circle35, _circle36, _circle37, _circle38, _circle39, _circle40, _circle41, _circle42, _circle43, _circle44, _circle45, _circle46, _circle47, _circle48;
24
+ const didWarnAboutDeprecation = {};
24
25
  const WatsonHealth3DCursor = /*#__PURE__*/React__default["default"].forwardRef(function WatsonHealth3DCursor(_ref, ref) {
25
26
  let {
26
27
  children,
@@ -732,6 +733,12 @@ const Ai = /*#__PURE__*/React__default["default"].forwardRef(function Ai(_ref32,
732
733
  size = 16,
733
734
  ...rest
734
735
  } = _ref32;
736
+ if (process.env.NODE_ENV !== "production") {
737
+ if (!didWarnAboutDeprecation["Ai"]) {
738
+ didWarnAboutDeprecation["Ai"] = true;
739
+ console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai component will be removed in the next major version of @carbon/icons-react.");
740
+ }
741
+ }
735
742
  return /*#__PURE__*/React__default["default"].createElement(Icon_js, {
736
743
  width: size,
737
744
  height: size,
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": "11.46.0",
4
+ "version": "11.47.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@carbon/icon-build-helpers": "^1.28.0",
47
- "@carbon/icons": "^11.46.0",
47
+ "@carbon/icons": "^11.47.0-rc.0",
48
48
  "rimraf": "^5.0.0"
49
49
  },
50
50
  "sideEffects": false,
51
- "gitHead": "70a0775c76273e311cb1bb16db02d3f11ad8d018"
51
+ "gitHead": "51d2a214ec7d870b4f807ed08a05031d091bfd46"
52
52
  }