@cakemail-org/ui-components-v2 2.2.16 → 2.2.17

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/dist/cjs/index.js CHANGED
@@ -8297,7 +8297,7 @@ function OverlayHeading(props) {
8297
8297
  else {
8298
8298
  rContent.push(rightContent);
8299
8299
  }
8300
- if (onClose)
8300
+ if (onClose && closeBtnText)
8301
8301
  rContent.push(React.createElement(Button, { key: "modal-close-btn", color: "cloud", size: "medium", onClick: onClose }, closeBtnText));
8302
8302
  return React.createElement(FullBar, { left: lContent, right: rContent });
8303
8303
  }
package/dist/esm/index.js CHANGED
@@ -8277,7 +8277,7 @@ function OverlayHeading(props) {
8277
8277
  else {
8278
8278
  rContent.push(rightContent);
8279
8279
  }
8280
- if (onClose)
8280
+ if (onClose && closeBtnText)
8281
8281
  rContent.push(React__default.createElement(Button, { key: "modal-close-btn", color: "cloud", size: "medium", onClick: onClose }, closeBtnText));
8282
8282
  return React__default.createElement(FullBar, { left: lContent, right: rContent });
8283
8283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.16",
3
+ "version": "2.2.17",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",