monkey-style-guide 2.0.127 → 2.0.128

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.
@@ -531,14 +531,18 @@ class MonkeyStyleGuideSnackbarService {
531
531
  }
532
532
  if (actionCancelElement) {
533
533
  actionCancelElement.addEventListener('click', () => {
534
- this.close(id);
534
+ if (!cancel?.keepOnAction) {
535
+ this.close(id);
536
+ }
535
537
  cancel.action();
536
538
  });
537
539
  actionElement.appendChild(actionCancelElement);
538
540
  }
539
541
  if (actionConfirmElement) {
540
542
  actionConfirmElement.addEventListener('click', () => {
541
- this.close(id);
543
+ if (!confirm?.keepOnAction) {
544
+ this.close(id);
545
+ }
542
546
  confirm.action();
543
547
  });
544
548
  actionElement.appendChild(actionConfirmElement);