@skyux/modals 5.0.0-beta.6 → 5.0.3

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.
Files changed (41) hide show
  1. package/bundles/skyux-modals-testing.umd.js +4 -6
  2. package/bundles/skyux-modals.umd.js +181 -176
  3. package/documentation.json +427 -365
  4. package/esm2015/modules/confirm/confirm-button.js +1 -1
  5. package/esm2015/modules/confirm/confirm-config.js +1 -1
  6. package/esm2015/modules/confirm/confirm-instance.js +1 -1
  7. package/esm2015/modules/confirm/confirm-modal-context.js +1 -1
  8. package/esm2015/modules/confirm/confirm-type.js +1 -1
  9. package/esm2015/modules/confirm/confirm.component.js +20 -18
  10. package/esm2015/modules/confirm/confirm.module.js +10 -16
  11. package/esm2015/modules/confirm/confirm.service.js +11 -9
  12. package/esm2015/modules/modal/modal-adapter.service.js +4 -4
  13. package/esm2015/modules/modal/modal-before-close-handler.js +1 -1
  14. package/esm2015/modules/modal/modal-component-adapter.service.js +9 -8
  15. package/esm2015/modules/modal/modal-configuration.js +5 -5
  16. package/esm2015/modules/modal/modal-content.component.js +5 -5
  17. package/esm2015/modules/modal/modal-footer.component.js +5 -5
  18. package/esm2015/modules/modal/modal-header.component.js +5 -7
  19. package/esm2015/modules/modal/modal-host.component.js +11 -13
  20. package/esm2015/modules/modal/modal-host.service.js +8 -7
  21. package/esm2015/modules/modal/modal-instance.js +1 -1
  22. package/esm2015/modules/modal/modal-scroll-shadow-event-args.js +1 -1
  23. package/esm2015/modules/modal/modal-scroll-shadow.directive.js +11 -13
  24. package/esm2015/modules/modal/modal-state-animation.js +4 -9
  25. package/esm2015/modules/modal/modal.component.js +26 -25
  26. package/esm2015/modules/modal/modal.interface.js +1 -1
  27. package/esm2015/modules/modal/modal.module.js +10 -12
  28. package/esm2015/modules/modal/modal.service.js +14 -12
  29. package/esm2015/modules/shared/sky-modals-resources.module.js +25 -12
  30. package/esm2015/public-api.js +3 -1
  31. package/esm2015/testing/modal-fixture.js +3 -5
  32. package/fesm2015/skyux-modals-testing.js +2 -4
  33. package/fesm2015/skyux-modals-testing.js.map +1 -1
  34. package/fesm2015/skyux-modals.js +161 -158
  35. package/fesm2015/skyux-modals.js.map +1 -1
  36. package/modules/modal/modal-configuration.d.ts +1 -0
  37. package/modules/modal/modal.component.d.ts +1 -0
  38. package/modules/modal/modal.interface.d.ts +5 -0
  39. package/package.json +9 -9
  40. package/bundles/skyux-modals-testing.umd.js.map +0 -1
  41. 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