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

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
@@ -8231,7 +8231,7 @@ var Dialog = React.forwardRef(function (props, ref) {
8231
8231
  clearTimeout(hideTimeout.current);
8232
8232
  var newState = setStateFromProps(__assign(__assign({}, cState), { open: true }));
8233
8233
  setNewState(newState);
8234
- if ((!newState.primaryBtnText || !newState.secondaryBtnText) && newState.managedByContent === false) {
8234
+ if ((!newState.primaryBtnText && !newState.secondaryBtnText) && newState.managedByContent === false) {
8235
8235
  hideTimeout.current = setTimeout(DialogHandler.hide, newState.hideAfter);
8236
8236
  }
8237
8237
  }
package/dist/esm/index.js CHANGED
@@ -8211,7 +8211,7 @@ var Dialog = forwardRef(function (props, ref) {
8211
8211
  clearTimeout(hideTimeout.current);
8212
8212
  var newState = setStateFromProps(__assign(__assign({}, cState), { open: true }));
8213
8213
  setNewState(newState);
8214
- if ((!newState.primaryBtnText || !newState.secondaryBtnText) && newState.managedByContent === false) {
8214
+ if ((!newState.primaryBtnText && !newState.secondaryBtnText) && newState.managedByContent === false) {
8215
8215
  hideTimeout.current = setTimeout(DialogHandler.hide, newState.hideAfter);
8216
8216
  }
8217
8217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.94",
3
+ "version": "2.2.95",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",