iguazio.dashboard-react-controls 2.2.10 → 2.2.11

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.
@@ -54,10 +54,10 @@ const Button = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
54
54
  template: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextTooltipTemplate.default, {
55
55
  text: tooltip
56
56
  }),
57
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
57
+ children: label && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
58
58
  children: label
59
59
  })
60
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
60
+ }) : label && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
61
61
  children: label
62
62
  })]
63
63
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.10",
3
+ "version": "2.2.11",
4
4
  "description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",