@progressio_resources/gravity-design-system 1.1.18 → 1.1.19

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.
@@ -1408,10 +1408,11 @@ class GravityDialogManagerService {
1408
1408
  this.ngbModal = ngbModal;
1409
1409
  this.gravityInstantNotificationsService = gravityInstantNotificationsService;
1410
1410
  }
1411
- openModal(gravityDialogContentInterface, scrollableDialog = false) {
1411
+ openModal(gravityDialogContentInterface, scrollableDialog = false, modalSize = 'md') {
1412
1412
  const modalRef = this.ngbModal.open(GravityDialogComponent, {
1413
1413
  centered: true,
1414
- scrollable: scrollableDialog
1414
+ scrollable: scrollableDialog,
1415
+ size: modalSize
1415
1416
  });
1416
1417
  modalRef.componentInstance.dialogContent = gravityDialogContentInterface;
1417
1418
  }