@skyux/progress-indicator 4.0.0-rc.0 → 4.1.1

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 (82) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/README.md +1 -1
  3. package/bundles/skyux-progress-indicator.umd.js +204 -56
  4. package/bundles/skyux-progress-indicator.umd.js.map +1 -1
  5. package/bundles/skyux-progress-indicator.umd.min.js +12 -12
  6. package/bundles/skyux-progress-indicator.umd.min.js.map +1 -1
  7. package/esm2015/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.js +7 -3
  8. package/esm2015/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.js +68 -30
  9. package/esm2015/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.js +14 -1
  10. package/esm2015/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.js +26 -8
  11. package/esm2015/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.js +6 -3
  12. package/esm2015/modules/progress-indicator/progress-indicator.component.js +28 -2
  13. package/esm2015/modules/progress-indicator/progress-indicator.module.js +4 -2
  14. package/esm2015/modules/progress-indicator/types/progress-indicator-action-click-args.js +1 -1
  15. package/esm2015/modules/progress-indicator/types/progress-indicator-action-click-progress-handler.js +3 -2
  16. package/esm2015/modules/progress-indicator/types/progress-indicator-change.js +1 -1
  17. package/esm2015/modules/progress-indicator/types/progress-indicator-item-status.js +13 -1
  18. package/esm2015/modules/progress-indicator/types/progress-indicator-message-type.js +20 -1
  19. package/esm2015/modules/progress-indicator/types/progress-indicator-message.js +1 -1
  20. package/esm2015/modules/progress-indicator/types/progress-indicator-mode.js +7 -1
  21. package/esm2015/modules/progress-indicator/types/progress-indicator-nav-button-type.js +1 -1
  22. package/esm2015/public_api.js +6 -0
  23. package/esm2015/skyux-progress-indicator.js +2 -2
  24. package/esm5/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.js +7 -3
  25. package/esm5/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.js +73 -31
  26. package/esm5/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.js +14 -1
  27. package/esm5/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.js +27 -8
  28. package/esm5/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.js +6 -3
  29. package/esm5/modules/progress-indicator/progress-indicator.component.js +28 -2
  30. package/esm5/modules/progress-indicator/progress-indicator.module.js +4 -2
  31. package/esm5/modules/progress-indicator/types/progress-indicator-action-click-args.js +1 -1
  32. package/esm5/modules/progress-indicator/types/progress-indicator-action-click-progress-handler.js +3 -2
  33. package/esm5/modules/progress-indicator/types/progress-indicator-change.js +1 -1
  34. package/esm5/modules/progress-indicator/types/progress-indicator-item-status.js +13 -1
  35. package/esm5/modules/progress-indicator/types/progress-indicator-message-type.js +20 -1
  36. package/esm5/modules/progress-indicator/types/progress-indicator-message.js +1 -1
  37. package/esm5/modules/progress-indicator/types/progress-indicator-mode.js +7 -1
  38. package/esm5/modules/progress-indicator/types/progress-indicator-nav-button-type.js +1 -1
  39. package/esm5/public_api.js +6 -0
  40. package/esm5/skyux-progress-indicator.js +2 -2
  41. package/fesm2015/skyux-progress-indicator.js +180 -41
  42. package/fesm2015/skyux-progress-indicator.js.map +1 -1
  43. package/fesm5/skyux-progress-indicator.js +185 -41
  44. package/fesm5/skyux-progress-indicator.js.map +1 -1
  45. package/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.d.ts +12 -3
  46. package/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.d.ts +41 -9
  47. package/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.d.ts +19 -1
  48. package/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.d.ts +16 -8
  49. package/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.d.ts +3 -0
  50. package/modules/progress-indicator/progress-indicator.component.d.ts +40 -9
  51. package/modules/progress-indicator/types/progress-indicator-action-click-args.d.ts +9 -0
  52. package/modules/progress-indicator/types/progress-indicator-action-click-progress-handler.d.ts +2 -1
  53. package/modules/progress-indicator/types/progress-indicator-change.d.ts +9 -0
  54. package/modules/progress-indicator/types/progress-indicator-item-status.d.ts +12 -0
  55. package/modules/progress-indicator/types/progress-indicator-message-type.d.ts +19 -0
  56. package/modules/progress-indicator/types/progress-indicator-message.d.ts +7 -4
  57. package/modules/progress-indicator/types/progress-indicator-mode.d.ts +6 -0
  58. package/modules/progress-indicator/types/progress-indicator-nav-button-type.d.ts +4 -1
  59. package/package.json +8 -7
  60. package/{index.d.ts → public_api.d.ts} +0 -0
  61. package/skyux-progress-indicator.d.ts +1 -1
  62. package/skyux-progress-indicator.metadata.json +1 -1
  63. package/src/assets/img/guidelines/passive-indicator/passive-progress-anatomy.png +0 -0
  64. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-1.png +0 -0
  65. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-2.png +0 -0
  66. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-3.png +0 -0
  67. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-4.png +0 -0
  68. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-5.png +0 -0
  69. package/src/assets/img/guidelines/passive-indicator/passive-progress-usage-6.png +0 -0
  70. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-anatomy.png +0 -0
  71. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-layout.png +0 -0
  72. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-1.png +0 -0
  73. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-2.png +0 -0
  74. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-3.png +0 -0
  75. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-4.png +0 -0
  76. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-5.png +0 -0
  77. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-6.png +0 -0
  78. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-7.png +0 -0
  79. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-8.png +0 -0
  80. package/src/assets/img/guidelines/passive-indicator/waterfall-progress-usage-9.png +0 -0
  81. package/esm2015/index.js +0 -6
  82. package/esm5/index.js +0 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ # 4.1.1 (2022-01-04)
2
+
3
+ - Added bug fixes and features from the `master` branch. [#81](https://github.com/blackbaud/skyux-progress-indicator/pull/81)
4
+
5
+ # 4.1.0 (2021-04-21)
6
+
7
+ - Added modern theme styles to the progress indicator component. [#66](https://github.com/blackbaud/skyux-progress-indicator/pull/66)
8
+
9
+ # 4.0.1 (2020-08-05)
10
+
11
+ - Fixed the progress indicator component to prevent errors when the progress indicator and its external navigation buttons are hidden at the same time. [#40](https://github.com/blackbaud/skyux-progress-indicator/pull/46)
12
+
13
+ # 4.0.0 (2020-05-20)
14
+
15
+ ### New features
16
+
17
+ - Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#39](https://github.com/blackbaud/skyux-progress-indicator/pull/39)
18
+
19
+ ### Breaking changes
20
+
21
+ - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#39](https://github.com/blackbaud/skyux-progress-indicator/pull/39)
22
+
1
23
  # 4.0.0-rc.0 (2020-04-20)
2
24
 
3
25
  ### New features
@@ -6,7 +28,7 @@
6
28
 
7
29
  ### Breaking changes
8
30
 
9
- - Dropped support for `rxjs@5`. Consumers may install `rxjs-compat@^6` to support older versions of `rxjs`. [#39](https://github.com/blackbaud/skyux-progress-indicator/pull/39)
31
+ - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#39](https://github.com/blackbaud/skyux-progress-indicator/pull/39)
10
32
 
11
33
  # 3.3.0 (2020-03-30)
12
34
 
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @skyux/progress-indicator
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@skyux/progress-indicator.svg)](https://www.npmjs.com/package/@skyux/progress-indicator)
4
- [![status](https://travis-ci.org/blackbaud/skyux-progress-indicator.svg?branch=master)](https://travis-ci.org/blackbaud/skyux-indicator)
4
+ ![SKY UX CI](https://github.com/blackbaud/skyux-progress-indicator/workflows/SKY%20UX%20CI/badge.svg)
5
5
  [![coverage](https://codecov.io/gh/blackbaud/skyux-progress-indicator/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/gh/blackbaud/skyux-progress-indicator/branch/master)
@@ -1,22 +1,22 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@skyux/core'), require('@skyux/i18n'), require('@skyux/indicators'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@skyux/progress-indicator', ['exports', '@angular/core', '@angular/common', '@skyux/core', '@skyux/i18n', '@skyux/indicators', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = global || self, factory((global.skyux = global.skyux || {}, global.skyux['progress-indicator'] = {}), global.ng.core, global.ng.common, global.core$1, global.i18n, global.indicators, global.rxjs, global.rxjs.operators));
5
- }(this, (function (exports, core, common, core$1, i18n, indicators, rxjs, operators) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@skyux/core'), require('@skyux/i18n'), require('@skyux/indicators'), require('@skyux/theme'), require('rxjs'), require('rxjs/operators')) :
3
+ typeof define === 'function' && define.amd ? define('@skyux/progress-indicator', ['exports', '@angular/core', '@angular/common', '@skyux/core', '@skyux/i18n', '@skyux/indicators', '@skyux/theme', 'rxjs', 'rxjs/operators'], factory) :
4
+ (global = global || self, factory((global.skyux = global.skyux || {}, global.skyux['progress-indicator'] = {}), global.ng.core, global.ng.common, global.core$1, global.i18n, global.indicators, global.theme, global.rxjs, global.rxjs.operators));
5
+ }(this, (function (exports, core, common, core$1, i18n, indicators, theme, rxjs, operators) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation. All rights reserved.
9
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
10
- this file except in compliance with the License. You may obtain a copy of the
11
- License at http://www.apache.org/licenses/LICENSE-2.0
8
+ Copyright (c) Microsoft Corporation.
12
9
 
13
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
15
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16
- MERCHANTABLITY OR NON-INFRINGEMENT.
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted.
17
12
 
18
- See the Apache Version 2.0 License for specific language governing permissions
19
- and limitations under the License.
13
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
+ PERFORMANCE OF THIS SOFTWARE.
20
20
  ***************************************************************************** */
21
21
  /* global Reflect, Promise */
22
22
 
@@ -109,8 +109,13 @@
109
109
  }
110
110
  }
111
111
 
112
+ function __createBinding(o, m, k, k2) {
113
+ if (k2 === undefined) k2 = k;
114
+ o[k2] = m[k];
115
+ }
116
+
112
117
  function __exportStar(m, exports) {
113
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
118
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
114
119
  }
115
120
 
116
121
  function __values(o) {
@@ -248,12 +253,28 @@
248
253
 
249
254
 
250
255
  (function (SkyProgressIndicatorItemStatus) {
256
+ /**
257
+ * Indicates the item is active.
258
+ */
251
259
  SkyProgressIndicatorItemStatus[SkyProgressIndicatorItemStatus["Active"] = 0] = "Active";
260
+ /**
261
+ * Indicates the item is complete.
262
+ */
252
263
  SkyProgressIndicatorItemStatus[SkyProgressIndicatorItemStatus["Complete"] = 1] = "Complete";
264
+ /**
265
+ * Indicates the item is incomplete.
266
+ */
253
267
  SkyProgressIndicatorItemStatus[SkyProgressIndicatorItemStatus["Incomplete"] = 2] = "Incomplete";
268
+ /**
269
+ * Indicates the item is pending.
270
+ */
254
271
  SkyProgressIndicatorItemStatus[SkyProgressIndicatorItemStatus["Pending"] = 3] = "Pending";
255
272
  })(exports.SkyProgressIndicatorItemStatus || (exports.SkyProgressIndicatorItemStatus = {}));
256
273
 
274
+ /**
275
+ * Specifies a step to include in the progress indicator. Each step requires a label,
276
+ * and you can also specify step details within the `sky-progress-indicator-item` element.
277
+ */
257
278
  var SkyProgressIndicatorItemComponent = /** @class */ (function () {
258
279
  function SkyProgressIndicatorItemComponent(changeDetector) {
259
280
  this.changeDetector = changeDetector;
@@ -324,9 +345,9 @@
324
345
  SkyProgressIndicatorItemComponent = __decorate([
325
346
  core.Component({
326
347
  selector: 'sky-progress-indicator-item',
327
- template: "<div *ngIf=\"isVisible\"\n class=\"sky-progress-indicator-item\"\n [ngClass]=\"'sky-progress-indicator-item-status-' + statusName\"\n>\n <sky-progress-indicator-status-marker *ngIf=\"showStatusMarker\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n\n <div\n class=\"sky-progress-indicator-item-content\"\n >\n <div *ngIf=\"showTitle\"\n aria-level=\"2\"\n class=\"sky-progress-indicator-item-heading\"\n role=\"heading\"\n [ngClass]=\"{ 'sky-deemphasized': statusName === 'pending' }\"\n >\n {{ formattedTitle }}\n </div>\n <div\n class=\"sky-progress-indicator-item-body\"\n >\n <ng-template [ngIf]=\"statusName !== 'incomplete'\">\n <ng-content></ng-content>\n </ng-template>\n </div>\n </div>\n</div>\n",
348
+ template: "<div *ngIf=\"isVisible\"\n class=\"sky-progress-indicator-item\"\n [ngClass]=\"'sky-progress-indicator-item-status-' + statusName\"\n>\n <sky-progress-indicator-status-marker *ngIf=\"showStatusMarker\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n\n <div\n class=\"sky-progress-indicator-item-content\"\n >\n <div *ngIf=\"showTitle\"\n aria-level=\"2\"\n class=\"sky-progress-indicator-item-heading\"\n role=\"heading\"\n [ngClass]=\"{\n 'sky-deemphasized': statusName === 'pending'\n }\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n >\n {{ formattedTitle }}\n </div>\n <div\n class=\"sky-progress-indicator-item-body\"\n >\n <ng-template [ngIf]=\"statusName !== 'incomplete'\">\n <ng-content></ng-content>\n </ng-template>\n </div>\n </div>\n</div>\n",
328
349
  changeDetection: core.ChangeDetectionStrategy.OnPush,
329
- styles: [".sky-progress-indicator-item{display:flex;margin-bottom:-1px}.sky-progress-indicator-item-content{flex:1 1 100%}.sky-progress-indicator-item-body{min-height:20px;padding-top:10px;padding-bottom:30px}.sky-progress-indicator-item-status-incomplete .sky-progress-indicator-item-body{padding:0}"]
350
+ styles: [".sky-progress-indicator-item{display:flex;margin-bottom:-1px}.sky-progress-indicator-item-content{flex:1 1 100%}.sky-progress-indicator-item-body{min-height:20px;padding-top:10px;padding-bottom:30px}.sky-progress-indicator-item-status-incomplete .sky-progress-indicator-item-body{padding:0}:host-context(.sky-theme-modern) .sky-progress-indicator-item{margin:0}:host-context(.sky-theme-modern) .sky-progress-indicator-item-body{padding:20px 0 30px}:host-context(.sky-theme-modern) .sky-progress-indicator-item-body:empty{padding:0}.sky-theme-modern .sky-progress-indicator-item{margin:0}.sky-theme-modern .sky-progress-indicator-item-body{padding:20px 0 30px}.sky-theme-modern .sky-progress-indicator-item-body:empty{padding:0}"]
330
351
  })
331
352
  ], SkyProgressIndicatorItemComponent);
332
353
  return SkyProgressIndicatorItemComponent;
@@ -334,16 +355,41 @@
334
355
 
335
356
 
336
357
  (function (SkyProgressIndicatorDisplayMode) {
358
+ /**
359
+ * Specifies a vertical layout for the progress indicator.
360
+ */
337
361
  SkyProgressIndicatorDisplayMode[SkyProgressIndicatorDisplayMode["Vertical"] = 0] = "Vertical";
362
+ /**
363
+ * Specifies a horizontal layout for the progress indicator.
364
+ */
338
365
  SkyProgressIndicatorDisplayMode[SkyProgressIndicatorDisplayMode["Horizontal"] = 1] = "Horizontal";
339
366
  })(exports.SkyProgressIndicatorDisplayMode || (exports.SkyProgressIndicatorDisplayMode = {}));
340
367
 
341
368
 
342
369
  (function (SkyProgressIndicatorMessageType) {
370
+ /**
371
+ * Indicates that the current step is complete.
372
+ * This completes the active item and moves to the next item.
373
+ */
343
374
  SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["Progress"] = 0] = "Progress";
375
+ /**
376
+ * Indicates that progress should return to the previous step.
377
+ * This moves from the active item to the item that precedes it.
378
+ */
344
379
  SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["Regress"] = 1] = "Regress";
380
+ /**
381
+ * Indicates that progress is incomplete.
382
+ * This marks all items as incomplete and sets the first item as the active item.
383
+ */
345
384
  SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["Reset"] = 2] = "Reset";
385
+ /**
386
+ * Indicates that progress is complete.
387
+ * This marks all items as complete and sets the last item as the active item.
388
+ */
346
389
  SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["Finish"] = 3] = "Finish";
390
+ /**
391
+ * Indicates that progress should move to the item indicated by the `data.activeIndex` property.
392
+ */
347
393
  SkyProgressIndicatorMessageType[SkyProgressIndicatorMessageType["GoTo"] = 4] = "GoTo";
348
394
  })(exports.SkyProgressIndicatorMessageType || (exports.SkyProgressIndicatorMessageType = {}));
349
395
 
@@ -351,6 +397,9 @@
351
397
  function SkyProgressIndicatorComponent(changeDetector, windowRef) {
352
398
  this.changeDetector = changeDetector;
353
399
  this.windowRef = windowRef;
400
+ /**
401
+ * Fires when the progress indicator changes the status of an item.
402
+ */
354
403
  this.progressChanges = new core.EventEmitter();
355
404
  this.ngUnsubscribe = new rxjs.Subject();
356
405
  this._messageStream = new rxjs.Subject();
@@ -362,6 +411,14 @@
362
411
  }
363
412
  return this._displayMode;
364
413
  },
414
+ /**
415
+ * Specifies whether to display the progress indicator vertically or horizontally.
416
+ * For [passive progress indicators](https://developer.blackbaud.com/skyux-progress-indicator/docs/passive-indicator)
417
+ * and [waterfall progress indicators](https://developer.blackbaud.com/skyux/components/progress-indicator/waterfall-progress-indicator),
418
+ * use the vertical display mode. For [modal wizards](https://developer.blackbaud.com/skyux/components/wizard),
419
+ * use the horizontal display mode.
420
+ * @default vertical
421
+ */
365
422
  set: function (value) {
366
423
  this._displayMode = value;
367
424
  },
@@ -376,6 +433,11 @@
376
433
  }
377
434
  return this._isPassive || false;
378
435
  },
436
+ /**
437
+ * Indicates whether the progress indicator is passive. Passive progress indicators inform users of
438
+ * progress that concerns them but that they are not responsible for, and they must use the vertical display mode.
439
+ * @default false
440
+ */
379
441
  set: function (value) {
380
442
  this._isPassive = value;
381
443
  },
@@ -383,6 +445,11 @@
383
445
  configurable: true
384
446
  });
385
447
  Object.defineProperty(SkyProgressIndicatorComponent.prototype, "messageStream", {
448
+ /**
449
+ * Specifies an observable of `SkyProgressIndicatorMessage` that determines the status to
450
+ * display for items in the progress indicator. The message stream is a queue of
451
+ * commanding messages to change the state of the progress indicator based on the message type.
452
+ */
386
453
  set: function (value) {
387
454
  if (value) {
388
455
  this._messageStream = value;
@@ -395,6 +462,11 @@
395
462
  get: function () {
396
463
  return this._startingIndex || 0;
397
464
  },
465
+ /**
466
+ * Specifies the index for the item to make active when the progress indicator
467
+ * loads. All steps that precede the active item are marked as complete, and all steps
468
+ * that follow the active item are marked as incomplete.
469
+ */
398
470
  set: function (value) {
399
471
  this._startingIndex = value;
400
472
  },
@@ -652,14 +724,15 @@
652
724
  selector: 'sky-progress-indicator',
653
725
  template: "<div\n class=\"sky-progress-indicator\"\n [ngClass]=\"cssClassNames\"\n>\n <div *ngIf=\"displayModeName === 'horizontal'\"\n class=\"sky-progress-indicator-horizontal-status-markers\"\n >\n <sky-progress-indicator-status-marker *ngFor=\"let status of itemStatuses\"\n [displayMode]=\"displayMode\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n </div>\n <ng-content></ng-content>\n</div>\n",
654
726
  changeDetection: core.ChangeDetectionStrategy.OnPush,
655
- styles: [".sky-progress-indicator ::ng-deep sky-progress-indicator-item:last-of-type .sky-progress-indicator-status-marker-line{display:none}.sky-progress-indicator-mode-vertical{max-width:400px;min-width:250px;margin:0 auto}.sky-progress-indicator-mode-vertical ::ng-deep .sky-progress-indicator-item-body{text-align:center;margin-left:-30px}.sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-nav-button,.sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-reset-button{display:block;padding-top:30px;padding-left:15px}.sky-progress-indicator-mode-horizontal ::ng-deep .sky-progress-indicator-item-heading{font-weight:600;font-size:16px}.sky-progress-indicator-horizontal-status-markers{display:flex;margin-bottom:10px}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker{flex-basis:45px;flex-grow:0}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:first-of-type{margin-left:-5px}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:first-of-type .sky-progress-indicator-status-marker .sky-progress-indicator-status-marker-icon:before{display:none!important}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:last-of-type .sky-progress-indicator-status-marker-line{display:none}"]
727
+ styles: [".sky-progress-indicator ::ng-deep sky-progress-indicator-item:last-of-type .sky-progress-indicator-status-marker-line{display:none}.sky-progress-indicator-mode-vertical{max-width:400px;min-width:250px;margin:0 auto}.sky-progress-indicator-mode-vertical ::ng-deep .sky-progress-indicator-item-body{text-align:center;margin-left:-30px}.sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-nav-button,.sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-reset-button{display:block;padding-top:30px;padding-left:15px}::ng-deep .sky-popover ::ng-deep .sky-progress-indicator-mode-vertical{min-width:auto}.sky-progress-indicator-mode-horizontal ::ng-deep .sky-progress-indicator-item-heading{font-weight:600;font-size:16px}.sky-progress-indicator-horizontal-status-markers{display:flex;margin-bottom:10px}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker{flex-basis:45px;flex-grow:0}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:first-of-type{margin-left:-5px}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:first-of-type .sky-progress-indicator-status-marker .sky-progress-indicator-status-marker-icon:before{display:none!important}.sky-progress-indicator-horizontal-status-markers ::ng-deep sky-progress-indicator-status-marker:last-of-type .sky-progress-indicator-status-marker-line{display:none}:host-context(.sky-theme-modern) .sky-progress-indicator-mode-horizontal ::ng-deep .sky-progress-indicator-item-heading{font-weight:inherit;font-size:inherit}:host-context(.sky-theme-modern) .sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-nav-button,:host-context(.sky-theme-modern) .sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-reset-button{padding:0;margin:60px 0 0;text-align:center}.sky-theme-modern .sky-progress-indicator-mode-horizontal ::ng-deep .sky-progress-indicator-item-heading{font-weight:inherit;font-size:inherit}.sky-theme-modern .sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-nav-button,.sky-theme-modern .sky-progress-indicator-mode-vertical ::ng-deep sky-progress-indicator-reset-button{padding:0;margin:60px 0 0;text-align:center}"]
656
728
  })
657
729
  ], SkyProgressIndicatorComponent);
658
730
  return SkyProgressIndicatorComponent;
659
731
  }());
660
732
 
661
733
  /**
662
- * Allows the consumer to trigger step advancement manually.
734
+ * Allows the consumer to decide whether the button's action should be completed successfully.
735
+ * The handler is provided with all nav button types.
663
736
  */
664
737
  var SkyProgressIndicatorActionClickProgressHandler = /** @class */ (function () {
665
738
  /**
@@ -672,10 +745,19 @@
672
745
  return SkyProgressIndicatorActionClickProgressHandler;
673
746
  }());
674
747
 
748
+ /**
749
+ * Displays a button to navigate the steps in modal wizards. We recommend against using it in
750
+ * passive progress indicators and waterfall progress indicators.
751
+ */
675
752
  var SkyProgressIndicatorNavButtonComponent = /** @class */ (function () {
676
753
  function SkyProgressIndicatorNavButtonComponent(changeDetector, parentComponent) {
677
754
  this.changeDetector = changeDetector;
678
755
  this.parentComponent = parentComponent;
756
+ /**
757
+ * Fires when users select the nav button and emits a `SkyProgressIndicatorActionClickArgs`
758
+ * object that is passed into the callback function to allow consumers to decide whether
759
+ * the button’s action should complete successfully.
760
+ */
679
761
  this.actionClick = new core.EventEmitter();
680
762
  this.ngUnsubscribe = new rxjs.Subject();
681
763
  }
@@ -686,6 +768,11 @@
686
768
  }
687
769
  return this._buttonType;
688
770
  },
771
+ /**
772
+ * Specifies the type of nav button to include.
773
+ * The valid options are `finish`, `next`, `previous`, and `reset`.
774
+ * @default next
775
+ */
689
776
  set: function (value) {
690
777
  this._buttonType = value;
691
778
  },
@@ -707,6 +794,10 @@
707
794
  }
708
795
  return this._disabled || false;
709
796
  },
797
+ /**
798
+ * Indicates whether to disable the nav button.
799
+ * @default false
800
+ */
710
801
  set: function (value) {
711
802
  this._disabled = value;
712
803
  this.changeDetector.markForCheck();
@@ -714,6 +805,53 @@
714
805
  enumerable: true,
715
806
  configurable: true
716
807
  });
808
+ Object.defineProperty(SkyProgressIndicatorNavButtonComponent.prototype, "progressIndicator", {
809
+ get: function () {
810
+ return this._progressIndicator;
811
+ },
812
+ /**
813
+ * Specifies the progress indicator component to associate with the nav button.
814
+ * @required
815
+ */
816
+ set: function (value) {
817
+ var _this = this;
818
+ this._progressIndicator = value;
819
+ if (value) {
820
+ if (this.buttonType === 'finish') {
821
+ // The `hasFinishButton` field was added to support legacy API.
822
+ // Some implementations only include a next button; we cannot
823
+ // assume that every implementation includes both a finish button and a next button.
824
+ this._progressIndicator.hasFinishButton = true;
825
+ }
826
+ this._progressIndicator.progressChanges
827
+ .pipe(operators.distinctUntilChanged(), operators.takeUntil(this.ngUnsubscribe))
828
+ .subscribe(function (change) {
829
+ _this.lastProgressChange = change;
830
+ _this.updateButtonVisibility(change);
831
+ });
832
+ }
833
+ else {
834
+ if (!this.parentTimeout) {
835
+ this.parentTimeout = window.setTimeout(function () {
836
+ if (!_this.progressIndicator) {
837
+ throw new Error('The `<sky-progress-indicator-nav-button>` component requires a reference to ' +
838
+ 'the `<sky-progress-indicator>` component it controls. For example:\n' +
839
+ '<sky-progress-indicator\n' +
840
+ ' #myProgressIndicator\n' +
841
+ '>\n' +
842
+ '</sky-progress-indicator>\n' +
843
+ '<sky-progress-indicator-nav-button\n' +
844
+ ' [progressIndicator]="myProgressIndicator"\n' +
845
+ '>\n' +
846
+ '</sky-progress-indicator-nav-button>');
847
+ }
848
+ }, 50);
849
+ }
850
+ }
851
+ },
852
+ enumerable: true,
853
+ configurable: true
854
+ });
717
855
  Object.defineProperty(SkyProgressIndicatorNavButtonComponent.prototype, "cssClassNames", {
718
856
  get: function () {
719
857
  var buttonType = this.buttonType;
@@ -755,35 +893,13 @@
755
893
  enumerable: true,
756
894
  configurable: true
757
895
  });
758
- SkyProgressIndicatorNavButtonComponent.prototype.ngOnInit = function () {
759
- var _this = this;
760
- if (!this.progressIndicator) {
761
- if (!this.parentComponent) {
762
- throw new Error('The `<sky-progress-indicator-nav-button>` component requires a reference to ' +
763
- 'the `<sky-progress-indicator>` component it controls. For example:\n' +
764
- '<sky-progress-indicator\n' +
765
- ' #myProgressIndicator\n' +
766
- '>\n' +
767
- '</sky-progress-indicator>\n' +
768
- '<sky-progress-indicator-nav-button\n' +
769
- ' [progressIndicator]="myProgressIndicator"\n' +
770
- '>\n' +
771
- '</sky-progress-indicator-nav-button>');
772
- }
896
+ SkyProgressIndicatorNavButtonComponent.prototype.ngAfterViewInit = function () {
897
+ if (!this.progressIndicator && this.parentComponent) {
773
898
  this.progressIndicator = this.parentComponent;
774
899
  }
775
- if (this.buttonType === 'finish') {
776
- // The `hasFinishButton` field was added to support legacy API.
777
- // Some implementations only include a next button; we cannot
778
- // assume that every implementation includes both a finish button and a next button.
779
- this.progressIndicator.hasFinishButton = true;
900
+ else if (!this.progressIndicator) {
901
+ this.progressIndicator = undefined;
780
902
  }
781
- this.progressIndicator.progressChanges
782
- .pipe(operators.distinctUntilChanged(), operators.takeUntil(this.ngUnsubscribe))
783
- .subscribe(function (change) {
784
- _this.lastProgressChange = change;
785
- _this.updateButtonVisibility(change);
786
- });
787
903
  };
788
904
  SkyProgressIndicatorNavButtonComponent.prototype.ngOnDestroy = function () {
789
905
  this.ngUnsubscribe.next();
@@ -793,7 +909,6 @@
793
909
  SkyProgressIndicatorNavButtonComponent.prototype.onClick = function (event) {
794
910
  var _this = this;
795
911
  event.preventDefault();
796
- event.stopPropagation();
797
912
  var type;
798
913
  switch (this.buttonType) {
799
914
  case 'finish':
@@ -863,14 +978,14 @@
863
978
  ], SkyProgressIndicatorNavButtonComponent.prototype, "disabled", null);
864
979
  __decorate([
865
980
  core.Input()
866
- ], SkyProgressIndicatorNavButtonComponent.prototype, "progressIndicator", void 0);
981
+ ], SkyProgressIndicatorNavButtonComponent.prototype, "progressIndicator", null);
867
982
  __decorate([
868
983
  core.Output()
869
984
  ], SkyProgressIndicatorNavButtonComponent.prototype, "actionClick", void 0);
870
985
  SkyProgressIndicatorNavButtonComponent = __decorate([
871
986
  core.Component({
872
987
  selector: 'sky-progress-indicator-nav-button',
873
- template: "<button *ngIf=\"isVisible\"\n class=\"sky-btn sky-margin-inline-compact\"\n type=\"button\"\n [disabled]=\"disabled\"\n [ngClass]=\"cssClassNames\"\n (click)=\"onClick($event)\"\n>\n {{ buttonText || (buttonLabelResourceString | skyLibResources) }}\n</button>\n",
988
+ template: "<button *ngIf=\"isVisible\"\n class=\"sky-btn\"\n type=\"button\"\n [disabled]=\"disabled\"\n [ngClass]=\"cssClassNames\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-compact' : 'default',\n 'sky-btn-link' : 'modern'\n }\"\n (click)=\"onClick($event)\"\n>\n {{ buttonText || (buttonLabelResourceString | skyLibResources) }}\n</button>\n",
874
989
  changeDetection: core.ChangeDetectionStrategy.OnPush
875
990
  }),
876
991
  __param(1, core.Optional())
@@ -878,9 +993,18 @@
878
993
  return SkyProgressIndicatorNavButtonComponent;
879
994
  }());
880
995
 
996
+ /**
997
+ * Displays a button to mark all items in the progress indicator as incomplete and set the
998
+ * first item as the active item. The steps after the active item remain incomplete until
999
+ * users reach them in their sequential order.
1000
+ */
881
1001
  var SkyProgressIndicatorResetButtonComponent = /** @class */ (function () {
882
1002
  function SkyProgressIndicatorResetButtonComponent(changeDetector) {
883
1003
  this.changeDetector = changeDetector;
1004
+ /**
1005
+ * Fires when users select the reset button that marks all items as incomplete and sets the
1006
+ * first item as the active item.
1007
+ */
884
1008
  this.resetClick = new core.EventEmitter();
885
1009
  console.warn('[Deprecation warning] The `<sky-progress-indicator-reset-button>` component is ' +
886
1010
  'deprecated. Please use the `<sky-progress-indicator-nav-button>` component instead, with ' +
@@ -890,6 +1014,10 @@
890
1014
  get: function () {
891
1015
  return this._disabled || false;
892
1016
  },
1017
+ /**
1018
+ * Indicates whether to disable the reset button.
1019
+ * @default false
1020
+ */
893
1021
  set: function (value) {
894
1022
  this._disabled = value;
895
1023
  this.changeDetector.markForCheck();
@@ -928,9 +1056,19 @@
928
1056
  return SkyProgressIndicatorResetButtonComponent;
929
1057
  }());
930
1058
 
1059
+ /**
1060
+ * Specifies the content to display in the status marker.
1061
+ * @internal
1062
+ */
931
1063
  var SkyProgressIndicatorStatusMarkerComponent = /** @class */ (function () {
932
- function SkyProgressIndicatorStatusMarkerComponent(changeDetector) {
1064
+ function SkyProgressIndicatorStatusMarkerComponent(changeDetector, themeSvc) {
1065
+ var _this = this;
933
1066
  this.changeDetector = changeDetector;
1067
+ this.ngUnsubscribe = new rxjs.Subject();
1068
+ // Update icons when theme changes.
1069
+ themeSvc === null || themeSvc === void 0 ? void 0 : themeSvc.settingsChange.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
1070
+ _this.changeDetector.markForCheck();
1071
+ });
934
1072
  }
935
1073
  Object.defineProperty(SkyProgressIndicatorStatusMarkerComponent.prototype, "displayMode", {
936
1074
  get: function () {
@@ -997,8 +1135,13 @@
997
1135
  enumerable: true,
998
1136
  configurable: true
999
1137
  });
1138
+ SkyProgressIndicatorStatusMarkerComponent.prototype.ngOnDestroy = function () {
1139
+ this.ngUnsubscribe.next();
1140
+ this.ngUnsubscribe.complete();
1141
+ };
1000
1142
  SkyProgressIndicatorStatusMarkerComponent.ctorParameters = function () { return [
1001
- { type: core.ChangeDetectorRef }
1143
+ { type: core.ChangeDetectorRef },
1144
+ { type: theme.SkyThemeService, decorators: [{ type: core.Optional }] }
1002
1145
  ]; };
1003
1146
  __decorate([
1004
1147
  core.Input()
@@ -1009,23 +1152,27 @@
1009
1152
  SkyProgressIndicatorStatusMarkerComponent = __decorate([
1010
1153
  core.Component({
1011
1154
  selector: 'sky-progress-indicator-status-marker',
1012
- template: "<div\n class=\"sky-progress-indicator-status-marker\"\n role=\"presentation\"\n [ngClass]=\"cssClassNames\"\n>\n <div\n class=\"sky-progress-indicator-status-marker-icon\"\n >\n <sky-icon *ngIf=\"statusName === 'complete'\"\n icon=\"check\"\n >\n </sky-icon>\n </div>\n <div\n class=\"sky-progress-indicator-status-marker-line\"\n >\n </div>\n</div>\n",
1155
+ template: "<div\n class=\"sky-progress-indicator-status-marker\"\n role=\"presentation\"\n [ngClass]=\"cssClassNames\"\n>\n <div *skyThemeIf=\"'default'\"\n class=\"sky-progress-indicator-status-marker-icon\"\n >\n <sky-icon *ngIf=\"statusName === 'complete'\"\n icon=\"check\"\n >\n </sky-icon>\n </div>\n <div *skyThemeIf=\"'modern'\"\n class=\"sky-progress-indicator-status-marker-icon\"\n >\n <sky-icon *ngIf=\"statusName === 'complete'\"\n icon=\"check\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </div>\n <div\n class=\"sky-progress-indicator-status-marker-line\"\n >\n </div>\n</div>\n",
1013
1156
  changeDetection: core.ChangeDetectionStrategy.OnPush,
1014
- styles: [".sky-progress-indicator-status-marker{display:flex;height:100%}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical{flex-basis:15px;flex-grow:0;flex-direction:column;margin-right:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon{margin-top:1px;width:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon>::ng-deep sky-icon{margin-left:-1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-line{margin:0 auto;width:1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal{flex-direction:row;width:100%;padding-left:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-icon{height:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-line{margin:auto 0;height:1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon{border:0;margin-right:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon{position:relative}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon:before{content:\"\";display:block;width:5px;height:1px;background-color:#72bf44;position:absolute;left:-7px;top:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-incomplete .sky-progress-indicator-status-marker-icon{position:relative}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-incomplete .sky-progress-indicator-status-marker-icon:before{content:\"\";display:block;width:5px;height:1px;background-color:#cdcfd2;position:absolute;left:-7px;top:5px}.sky-progress-indicator-status-marker-icon{border-radius:15px;border:2px solid #cdcfd2;flex:0 0 15px}.sky-progress-indicator-status-marker-line{background-color:#cdcfd2;flex:1 0 auto}.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon{background-color:#72bf44;border-color:transparent}.sky-progress-indicator-status-marker-status-pending .sky-progress-indicator-status-marker-icon{border-color:#72bf44}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon{border-color:transparent;color:#72bf44;margin-top:0}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon>::ng-deep sky-icon{display:inline-flex;vertical-align:top}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-line{background-color:#72bf44}"]
1015
- })
1157
+ styles: [".sky-progress-indicator-status-marker{display:flex;height:100%}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical{flex-basis:15px;flex-grow:0;flex-direction:column;margin-right:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon{margin-top:1px;width:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon>::ng-deep sky-icon{margin-left:-1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-line{margin:0 auto;width:1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal{flex-direction:row;width:100%;padding-left:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-icon{height:15px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-line{margin:auto 0;height:1px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon{border:0;margin-right:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon{position:relative}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon:before{content:\"\";display:block;width:5px;height:1px;background-color:#72bf44;position:absolute;left:-7px;top:5px}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-incomplete .sky-progress-indicator-status-marker-icon{position:relative}.sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal.sky-progress-indicator-status-marker-status-incomplete .sky-progress-indicator-status-marker-icon:before{content:\"\";display:block;width:5px;height:1px;background-color:#cdcfd2;position:absolute;left:-7px;top:5px}.sky-progress-indicator-status-marker-icon{border-radius:15px;border:2px solid #cdcfd2;flex:0 0 15px}.sky-progress-indicator-status-marker-line{background-color:#cdcfd2;flex:1 0 auto}.sky-progress-indicator-status-marker-status-active .sky-progress-indicator-status-marker-icon{background-color:#72bf44;border-color:transparent}.sky-progress-indicator-status-marker-status-pending .sky-progress-indicator-status-marker-icon{border-color:#72bf44}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon{border-color:transparent;color:#72bf44;margin-top:0}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-icon>::ng-deep sky-icon{display:inline-flex;vertical-align:top}.sky-progress-indicator-status-marker-status-complete .sky-progress-indicator-status-marker-line{background-color:#72bf44}:host-context(.sky-theme-modern) .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical{position:relative;top:3px;margin-right:20px}:host-context(.sky-theme-modern) .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon{width:17px}:host-context(.sky-theme-modern) .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-icon{height:17px;top:1px}:host-context(.sky-theme-modern) .sky-progress-indicator-status-marker-icon{border-radius:17px;flex:0 0 17px}.sky-theme-modern .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical{position:relative;top:3px;margin-right:20px}.sky-theme-modern .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-vertical .sky-progress-indicator-status-marker-icon{width:17px}.sky-theme-modern .sky-progress-indicator-status-marker.sky-progress-indicator-status-marker-mode-horizontal .sky-progress-indicator-status-marker-icon{height:17px;top:1px}.sky-theme-modern .sky-progress-indicator-status-marker-icon{border-radius:17px;flex:0 0 17px}"]
1158
+ }),
1159
+ __param(1, core.Optional())
1016
1160
  ], SkyProgressIndicatorStatusMarkerComponent);
1017
1161
  return SkyProgressIndicatorStatusMarkerComponent;
1018
1162
  }());
1019
1163
 
1164
+ /**
1165
+ * Specifies a header to display above the progress indicator.
1166
+ */
1020
1167
  var SkyProgressIndicatorTitleComponent = /** @class */ (function () {
1021
1168
  function SkyProgressIndicatorTitleComponent() {
1022
1169
  }
1023
1170
  SkyProgressIndicatorTitleComponent = __decorate([
1024
1171
  core.Component({
1025
1172
  selector: 'sky-progress-indicator-title',
1026
- template: "<div\n aria-level=\"1\"\n class=\"sky-progress-indicator-title sky-section-heading\"\n role=\"heading\"\n>\n <ng-content></ng-content>\n</div>\n",
1173
+ template: "<div\n aria-level=\"1\"\n class=\"sky-progress-indicator-title\"\n role=\"heading\"\n [skyThemeClass]=\"{\n 'sky-section-heading': 'default',\n 'sky-font-heading-1' : 'modern'\n }\"\n>\n <ng-content></ng-content>\n</div>\n",
1027
1174
  changeDetection: core.ChangeDetectionStrategy.OnPush,
1028
- styles: [".sky-progress-indicator-title{line-height:1.1;margin:0 0 30px;text-align:center}"]
1175
+ styles: [".sky-progress-indicator-title{line-height:1.1;margin:0 0 30px;text-align:center}:host-context(.sky-theme-modern) .sky-progress-indicator-title{line-height:inherit;margin:0 0 60px}.sky-theme-modern .sky-progress-indicator-title{line-height:inherit;margin:0 0 60px}"]
1029
1176
  })
1030
1177
  ], SkyProgressIndicatorTitleComponent);
1031
1178
  return SkyProgressIndicatorTitleComponent;
@@ -1048,7 +1195,8 @@
1048
1195
  common.CommonModule,
1049
1196
  i18n.SkyI18nModule,
1050
1197
  indicators.SkyIconModule,
1051
- SkyProgressIndicatorResourcesModule
1198
+ SkyProgressIndicatorResourcesModule,
1199
+ theme.SkyThemeModule
1052
1200
  ],
1053
1201
  exports: [
1054
1202
  SkyProgressIndicatorComponent,