@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.
- package/esm2020/lib/services/gravity-dialog-manager.service.mjs +4 -3
- package/fesm2015/progressio_resources-gravity-design-system.mjs +3 -2
- package/fesm2015/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/fesm2020/progressio_resources-gravity-design-system.mjs +3 -2
- package/fesm2020/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/services/gravity-dialog-manager.service.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +16 -1
|
@@ -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
|
}
|