carbon-react 113.0.2 → 113.0.3

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.
@@ -41,7 +41,9 @@ const TileSelectGroup = props => {
41
41
  legend: legend
42
42
  }, tagComponent("tile-select-group", rest), {
43
43
  multiSelect: multiSelect
44
- }, filterStyledSystemMarginProps(rest)), /*#__PURE__*/React.createElement(StyledGroupDescription, null, description), /*#__PURE__*/React.createElement("div", null, tiles));
44
+ }, filterStyledSystemMarginProps(rest)), description ? /*#__PURE__*/React.createElement(StyledGroupDescription, {
45
+ "data-element": "tile-select-group-description"
46
+ }, description) : null, /*#__PURE__*/React.createElement("div", null, tiles));
45
47
  };
46
48
 
47
49
  TileSelectGroup.propTypes = { ...marginPropTypes,
@@ -58,7 +58,9 @@ const TileSelectGroup = props => {
58
58
  legend: legend
59
59
  }, (0, _tags.default)("tile-select-group", rest), {
60
60
  multiSelect: multiSelect
61
- }, (0, _utils.filterStyledSystemMarginProps)(rest)), /*#__PURE__*/_react.default.createElement(_tileSelect2.StyledGroupDescription, null, description), /*#__PURE__*/_react.default.createElement("div", null, tiles));
61
+ }, (0, _utils.filterStyledSystemMarginProps)(rest)), description ? /*#__PURE__*/_react.default.createElement(_tileSelect2.StyledGroupDescription, {
62
+ "data-element": "tile-select-group-description"
63
+ }, description) : null, /*#__PURE__*/_react.default.createElement("div", null, tiles));
62
64
  };
63
65
 
64
66
  TileSelectGroup.propTypes = { ...marginPropTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "113.0.2",
3
+ "version": "113.0.3",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",
@@ -8,7 +8,7 @@
8
8
  "scripts/check_rfcs/check_rfcs.js"
9
9
  ],
10
10
  "scripts": {
11
- "start": "node ./scripts/check_node_version.js && start-storybook -p 9001 -c .storybook",
11
+ "start": "node ./scripts/check_node_version.js && NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9001 -c .storybook",
12
12
  "start:debug-theme": "cross-env STORYBOOK_DEBUG_THEME=true npm run start",
13
13
  "test": "jest --config=./jest.config.json",
14
14
  "test-update": "jest --config=./jest.config.json --updateSnapshot",
@@ -22,8 +22,8 @@
22
22
  "prepublishOnly": "npm run precompile",
23
23
  "postinstall": "node ./scripts/check_rfcs/check_rfcs.js",
24
24
  "watch": "npm run clean-lib && npm run copy-files -- --watch & npm run babel -- --watch",
25
- "build-storybook": "cross-env STORYBOOK_BUILD=true build-storybook -c .storybook",
26
- "start-storybook": "cross-env STORYBOOK_BUILD=true start-storybook -c .storybook",
25
+ "build-storybook": "cross-env STORYBOOK_BUILD=true NODE_OPTIONS=--openssl-legacy-provider build-storybook -c .storybook",
26
+ "start-storybook": "cross-env STORYBOOK_BUILD=true NODE_OPTIONS=--openssl-legacy-provider start-storybook -c .storybook",
27
27
  "start:static": "npx http-server -p 9001 ./storybook-static",
28
28
  "babel": "cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*/__spec__.js','**/*.spec.js','**/*.spec.ts','**/*.spec.tsx','**/*.test.js','**/*.d.ts' --quiet --extensions '.js','.ts','.tsx'",
29
29
  "clean-lib": "rimraf ./lib && rimraf ./esm",