@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 +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
8214
|
+
if ((!newState.primaryBtnText && !newState.secondaryBtnText) && newState.managedByContent === false) {
|
|
8215
8215
|
hideTimeout.current = setTimeout(DialogHandler.hide, newState.hideAfter);
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|