@cakemail-org/ui-components-v2 2.2.95 → 2.2.96

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
@@ -8278,7 +8278,7 @@ var Dialog = React.forwardRef(function (props, ref) {
8278
8278
  show: show,
8279
8279
  hide: hide
8280
8280
  }); });
8281
- var isAlert = (!state.primaryBtnText || !state.secondaryBtnText) && state.managedByContent === false;
8281
+ var isAlert = ((!state.primaryBtnText && !state.secondaryBtnText) && state.managedByContent === false);
8282
8282
  var mainClasses = classNames("dialog-component-v2", state.className, state.type, {
8283
8283
  "alert": isAlert,
8284
8284
  "managedByContent": state.managedByContent
package/dist/esm/index.js CHANGED
@@ -8258,7 +8258,7 @@ var Dialog = forwardRef(function (props, ref) {
8258
8258
  show: show,
8259
8259
  hide: hide
8260
8260
  }); });
8261
- var isAlert = (!state.primaryBtnText || !state.secondaryBtnText) && state.managedByContent === false;
8261
+ var isAlert = ((!state.primaryBtnText && !state.secondaryBtnText) && state.managedByContent === false);
8262
8262
  var mainClasses = classNames("dialog-component-v2", state.className, state.type, {
8263
8263
  "alert": isAlert,
8264
8264
  "managedByContent": state.managedByContent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.95",
3
+ "version": "2.2.96",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",