carbon-addons-iot-react 5.17.1 → 5.18.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.
@@ -8,7 +8,7 @@ var iotPrefix = settings.iotPrefix;
8
8
  var propTypes = {
9
9
  /** optional icon to visually describe catalog item */
10
10
  icon: PropTypes.node,
11
- title: PropTypes.string.isRequired,
11
+ title: PropTypes.node.isRequired,
12
12
  description: PropTypes.node
13
13
  };
14
14
  var defaultProps = {
@@ -29,7 +29,7 @@ var CatalogContent = function CatalogContent(_ref) {
29
29
  }, /*#__PURE__*/React__default.createElement("div", {
30
30
  className: "".concat(iotPrefix, "--sample-tile-title")
31
31
  }, /*#__PURE__*/React__default.createElement("span", {
32
- title: title
32
+ title: typeof title === 'string' ? title : null
33
33
  }, title)), /*#__PURE__*/React__default.createElement("div", {
34
34
  className: "".concat(iotPrefix, "--sample-tile-description")
35
35
  }, description)));
@@ -66,7 +66,7 @@ CatalogContent.__docgenInfo = {
66
66
  "title": {
67
67
  "description": "",
68
68
  "type": {
69
- "name": "string"
69
+ "name": "node"
70
70
  },
71
71
  "required": true
72
72
  }
@@ -15,7 +15,7 @@ var iotPrefix = Settings.settings.iotPrefix;
15
15
  var propTypes = {
16
16
  /** optional icon to visually describe catalog item */
17
17
  icon: PropTypes__default.default.node,
18
- title: PropTypes__default.default.string.isRequired,
18
+ title: PropTypes__default.default.node.isRequired,
19
19
  description: PropTypes__default.default.node
20
20
  };
21
21
  var defaultProps = {
@@ -36,7 +36,7 @@ var CatalogContent = function CatalogContent(_ref) {
36
36
  }, /*#__PURE__*/React__default.default.createElement("div", {
37
37
  className: "".concat(iotPrefix, "--sample-tile-title")
38
38
  }, /*#__PURE__*/React__default.default.createElement("span", {
39
- title: title
39
+ title: typeof title === 'string' ? title : null
40
40
  }, title)), /*#__PURE__*/React__default.default.createElement("div", {
41
41
  className: "".concat(iotPrefix, "--sample-tile-description")
42
42
  }, description)));
@@ -73,7 +73,7 @@ CatalogContent.__docgenInfo = {
73
73
  "title": {
74
74
  "description": "",
75
75
  "type": {
76
- "name": "string"
76
+ "name": "node"
77
77
  },
78
78
  "required": true
79
79
  }
package/package.json CHANGED
@@ -353,7 +353,7 @@
353
353
  "whatwg-fetch": "^3.0.0"
354
354
  },
355
355
  "sideEffects": false,
356
- "version": "5.17.1",
356
+ "version": "5.18.0",
357
357
  "resolutions": {
358
358
  "chokidar": "3.3.1",
359
359
  "react-grid-layout": "1.2.2",
@@ -259363,7 +259363,7 @@ ${formatRule(Codicon.menuSubmenu)}
259363
259363
  var propTypes$1L = {
259364
259364
  /** optional icon to visually describe catalog item */
259365
259365
  icon: PropTypes.node,
259366
- title: PropTypes.string.isRequired,
259366
+ title: PropTypes.node.isRequired,
259367
259367
  description: PropTypes.node
259368
259368
  };
259369
259369
  var defaultProps$1T = {
@@ -259384,7 +259384,7 @@ ${formatRule(Codicon.menuSubmenu)}
259384
259384
  }, /*#__PURE__*/React$1.createElement("div", {
259385
259385
  className: "".concat(iotPrefix$1z, "--sample-tile-title")
259386
259386
  }, /*#__PURE__*/React$1.createElement("span", {
259387
- title: title
259387
+ title: typeof title === 'string' ? title : null
259388
259388
  }, title)), /*#__PURE__*/React$1.createElement("div", {
259389
259389
  className: "".concat(iotPrefix$1z, "--sample-tile-description")
259390
259390
  }, description)));
@@ -259421,7 +259421,7 @@ ${formatRule(Codicon.menuSubmenu)}
259421
259421
  "title": {
259422
259422
  "description": "",
259423
259423
  "type": {
259424
- "name": "string"
259424
+ "name": "node"
259425
259425
  },
259426
259426
  "required": true
259427
259427
  }