@carbon/pictograms-react 11.53.0-rc.0 → 11.54.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.
@@ -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, _path19, _path20, _path21, _path22, _path23, _path24, _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, _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;
16
+ const didWarnAboutDeprecation = {};
16
17
  const TemperatureHigh = /*#__PURE__*/React.forwardRef(function TemperatureHigh(_ref, ref) {
17
18
  let {
18
19
  children,
@@ -1672,6 +1673,12 @@ const WatsonLogo = /*#__PURE__*/React.forwardRef(function WatsonLogo(_ref104, re
1672
1673
  children,
1673
1674
  ...rest
1674
1675
  } = _ref104;
1676
+ if (process.env.NODE_ENV !== "production") {
1677
+ if (!didWarnAboutDeprecation['WatsonLogo']) {
1678
+ didWarnAboutDeprecation['WatsonLogo'] = true;
1679
+ console.warn(`The WatsonLogo component has been deprecated and will be ` + `removed in the next major version of @carbon/icons-react.`);
1680
+ }
1681
+ }
1675
1682
  return /*#__PURE__*/React.createElement(Icon, _extends({
1676
1683
  width: 64,
1677
1684
  height: 64,
@@ -13,11 +13,18 @@ import '@carbon/icon-helpers';
13
13
  import 'prop-types';
14
14
 
15
15
  var _path;
16
+ let didWarnAboutDeprecation = false;
16
17
  const WatsonLogo = /*#__PURE__*/React.forwardRef(function WatsonLogo(_ref, ref) {
17
18
  let {
18
19
  children,
19
20
  ...rest
20
21
  } = _ref;
22
+ if (process.env.NODE_ENV !== "production") {
23
+ if (!didWarnAboutDeprecation) {
24
+ didWarnAboutDeprecation = true;
25
+ console.warn(`The WatsonLogo component has been deprecated and will be ` + `removed in the next major version of @carbon/icons-react.`);
26
+ }
27
+ }
21
28
  return /*#__PURE__*/React.createElement(Icon, _extends({
22
29
  width: 64,
23
30
  height: 64,
@@ -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, _path19, _path20, _path21, _path22, _path23, _path24, _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, _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;
24
+ const didWarnAboutDeprecation = {};
24
25
  const TemperatureHigh = /*#__PURE__*/React__default["default"].forwardRef(function TemperatureHigh(_ref, ref) {
25
26
  let {
26
27
  children,
@@ -1680,6 +1681,12 @@ const WatsonLogo = /*#__PURE__*/React__default["default"].forwardRef(function Wa
1680
1681
  children,
1681
1682
  ...rest
1682
1683
  } = _ref104;
1684
+ if (process.env.NODE_ENV !== "production") {
1685
+ if (!didWarnAboutDeprecation['WatsonLogo']) {
1686
+ didWarnAboutDeprecation['WatsonLogo'] = true;
1687
+ console.warn(`The WatsonLogo component has been deprecated and will be ` + `removed in the next major version of @carbon/icons-react.`);
1688
+ }
1689
+ }
1683
1690
  return /*#__PURE__*/React__default["default"].createElement(Icon_js, _rollupPluginBabelHelpers._extends({
1684
1691
  width: 64,
1685
1692
  height: 64,
@@ -19,11 +19,18 @@ 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 WatsonLogo = /*#__PURE__*/React__default["default"].forwardRef(function WatsonLogo(_ref, ref) {
23
24
  let {
24
25
  children,
25
26
  ...rest
26
27
  } = _ref;
28
+ if (process.env.NODE_ENV !== "production") {
29
+ if (!didWarnAboutDeprecation) {
30
+ didWarnAboutDeprecation = true;
31
+ console.warn(`The WatsonLogo component has been deprecated and will be ` + `removed in the next major version of @carbon/icons-react.`);
32
+ }
33
+ }
27
34
  return /*#__PURE__*/React__default["default"].createElement(Icon_js, _rollupPluginBabelHelpers._extends({
28
35
  width: 64,
29
36
  height: 64,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/pictograms-react",
3
3
  "description": "React components for pictograms in digital and software products using the Carbon Design System",
4
- "version": "11.53.0-rc.0",
4
+ "version": "11.54.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.20.0",
47
- "@carbon/pictograms": "^12.27.0-rc.0",
47
+ "@carbon/pictograms": "^12.28.0",
48
48
  "rimraf": "^5.0.0"
49
49
  },
50
50
  "sideEffects": false,
51
- "gitHead": "dc9f4b277a5b45f97d37cd58ecdb1e919000f64b"
51
+ "gitHead": "d9121f17b1dd935a5734c6eae10af275f72f6dc7"
52
52
  }