@skyux/modals 5.0.1 → 5.0.5
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/bundles/skyux-modals-testing.umd.js +2 -4
- package/bundles/skyux-modals.umd.js +164 -168
- package/documentation.json +103 -98
- package/esm2015/modules/confirm/confirm-button.js +1 -1
- package/esm2015/modules/confirm/confirm-config.js +1 -1
- package/esm2015/modules/confirm/confirm-instance.js +1 -1
- package/esm2015/modules/confirm/confirm-modal-context.js +1 -1
- package/esm2015/modules/confirm/confirm-type.js +1 -1
- package/esm2015/modules/confirm/confirm.component.js +20 -18
- package/esm2015/modules/confirm/confirm.module.js +10 -16
- package/esm2015/modules/confirm/confirm.service.js +14 -9
- package/esm2015/modules/modal/modal-adapter.service.js +4 -4
- package/esm2015/modules/modal/modal-before-close-handler.js +1 -1
- package/esm2015/modules/modal/modal-component-adapter.service.js +9 -8
- package/esm2015/modules/modal/modal-configuration.js +5 -5
- package/esm2015/modules/modal/modal-content.component.js +5 -5
- package/esm2015/modules/modal/modal-footer.component.js +5 -5
- package/esm2015/modules/modal/modal-header.component.js +5 -7
- package/esm2015/modules/modal/modal-host.component.js +11 -13
- package/esm2015/modules/modal/modal-host.service.js +8 -7
- package/esm2015/modules/modal/modal-instance.js +1 -1
- package/esm2015/modules/modal/modal-scroll-shadow-event-args.js +1 -1
- package/esm2015/modules/modal/modal-scroll-shadow.directive.js +11 -13
- package/esm2015/modules/modal/modal-state-animation.js +4 -9
- package/esm2015/modules/modal/modal.component.js +19 -24
- package/esm2015/modules/modal/modal.interface.js +1 -1
- package/esm2015/modules/modal/modal.module.js +10 -12
- package/esm2015/modules/modal/modal.service.js +14 -16
- package/esm2015/modules/shared/sky-modals-resources.module.js +25 -12
- package/esm2015/testing/modal-fixture.js +3 -5
- package/fesm2015/skyux-modals-testing.js +2 -4
- package/fesm2015/skyux-modals-testing.js.map +1 -1
- package/fesm2015/skyux-modals.js +156 -160
- package/fesm2015/skyux-modals.js.map +1 -1
- package/modules/modal/modal-before-close-handler.d.ts +1 -1
- package/modules/modal/modal.service.d.ts +0 -4
- package/package.json +8 -8
- package/bundles/skyux-modals-testing.umd.js.map +0 -1
- package/bundles/skyux-modals.umd.js.map +0 -1
|
@@ -449,8 +449,7 @@
|
|
|
449
449
|
* Clicks the modal header's "close" button.
|
|
450
450
|
*/
|
|
451
451
|
SkyModalFixture.prototype.clickHeaderCloseButton = function () {
|
|
452
|
-
var closeButton = this.modalElement
|
|
453
|
-
.querySelector('.sky-modal .sky-modal-btn-close');
|
|
452
|
+
var closeButton = this.modalElement.querySelector('.sky-modal .sky-modal-btn-close');
|
|
454
453
|
if (closeButton) {
|
|
455
454
|
closeButton.click();
|
|
456
455
|
this.fixture.detectChanges();
|
|
@@ -463,8 +462,7 @@
|
|
|
463
462
|
* Clicks the modal header's "help" button.
|
|
464
463
|
*/
|
|
465
464
|
SkyModalFixture.prototype.clickHelpButton = function () {
|
|
466
|
-
var helpButton = this.modalElement
|
|
467
|
-
.querySelector('.sky-modal .sky-modal-header-buttons button[name="help-button"]');
|
|
465
|
+
var helpButton = this.modalElement.querySelector('.sky-modal .sky-modal-header-buttons button[name="help-button"]');
|
|
468
466
|
if (helpButton) {
|
|
469
467
|
helpButton.click();
|
|
470
468
|
this.fixture.detectChanges();
|