@skyux/modals 5.0.0 → 5.0.4
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 +4 -6
- package/bundles/skyux-modals.umd.js +181 -180
- package/documentation.json +417 -346
- 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 +11 -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 +26 -25
- 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 +161 -162
- package/fesm2015/skyux-modals.js.map +1 -1
- package/modules/modal/modal-before-close-handler.d.ts +1 -1
- package/modules/modal/modal-configuration.d.ts +1 -0
- package/modules/modal/modal.component.d.ts +1 -0
- package/modules/modal/modal.interface.d.ts +5 -0
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@skyux/modals/testing', ['exports'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.modals = global.skyux.modals || {}, global.skyux.modals.testing = {})));
|
|
5
|
-
}(this, (function (exports) { 'use strict';
|
|
5
|
+
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -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();
|
|
@@ -536,5 +534,5 @@
|
|
|
536
534
|
|
|
537
535
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
538
536
|
|
|
539
|
-
}))
|
|
537
|
+
}));
|
|
540
538
|
//# sourceMappingURL=skyux-modals-testing.umd.js.map
|