@skyux/core 5.5.0-beta.0 → 5.6.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 (53) hide show
  1. package/bundles/skyux-core.umd.js +8 -9
  2. package/documentation.json +93 -93
  3. package/esm2015/lib/modules/adapter-service/adapter.service.js +1 -1
  4. package/esm2015/lib/modules/adapter-service/adapter.service.js.map +1 -1
  5. package/esm2015/lib/modules/affix/affix-config.js.map +1 -1
  6. package/esm2015/lib/modules/affix/affix.directive.js.map +1 -1
  7. package/esm2015/lib/modules/affix/affix.module.js.map +1 -1
  8. package/esm2015/lib/modules/affix/affixer.js +1 -1
  9. package/esm2015/lib/modules/affix/affixer.js.map +1 -1
  10. package/esm2015/lib/modules/dock/dock-dom-adapter.service.js +1 -1
  11. package/esm2015/lib/modules/dock/dock-dom-adapter.service.js.map +1 -1
  12. package/esm2015/lib/modules/dock/dock.component.js.map +1 -1
  13. package/esm2015/lib/modules/dock/dock.module.js.map +1 -1
  14. package/esm2015/lib/modules/dock/dock.service.js +3 -3
  15. package/esm2015/lib/modules/dock/dock.service.js.map +1 -1
  16. package/esm2015/lib/modules/dynamic-component/dynamic-component.service.js.map +1 -1
  17. package/esm2015/lib/modules/log/log.service.js +1 -0
  18. package/esm2015/lib/modules/log/log.service.js.map +1 -1
  19. package/esm2015/lib/modules/media-query/media-query.service.js.map +1 -1
  20. package/esm2015/lib/modules/numeric/numeric.module.js.map +1 -1
  21. package/esm2015/lib/modules/numeric/numeric.pipe.js +4 -4
  22. package/esm2015/lib/modules/numeric/numeric.pipe.js.map +1 -1
  23. package/esm2015/lib/modules/numeric/numeric.service.js +5 -4
  24. package/esm2015/lib/modules/numeric/numeric.service.js.map +1 -1
  25. package/esm2015/lib/modules/overlay/overlay-instance.js.map +1 -1
  26. package/esm2015/lib/modules/overlay/overlay.component.js +1 -1
  27. package/esm2015/lib/modules/overlay/overlay.component.js.map +1 -1
  28. package/esm2015/lib/modules/overlay/overlay.module.js.map +1 -1
  29. package/esm2015/lib/modules/overlay/overlay.service.js.map +1 -1
  30. package/esm2015/lib/modules/percent-pipe/percent-pipe.module.js.map +1 -1
  31. package/esm2015/lib/modules/percent-pipe/percent.pipe.js.map +1 -1
  32. package/esm2015/lib/modules/scrollable-host/scrollable-host.service.js +4 -4
  33. package/esm2015/lib/modules/scrollable-host/scrollable-host.service.js.map +1 -1
  34. package/esm2015/lib/modules/shared/number-format/number-format-utility.js.map +1 -1
  35. package/esm2015/lib/modules/shared/sky-core-resources.module.js +1 -1
  36. package/esm2015/lib/modules/shared/sky-core-resources.module.js.map +1 -1
  37. package/esm2015/lib/modules/title/title.service.js.map +1 -1
  38. package/esm2015/lib/modules/viewkeeper/viewkeeper.directive.js +2 -2
  39. package/esm2015/lib/modules/viewkeeper/viewkeeper.directive.js.map +1 -1
  40. package/esm2015/lib/modules/viewkeeper/viewkeeper.js +4 -7
  41. package/esm2015/lib/modules/viewkeeper/viewkeeper.js.map +1 -1
  42. package/esm2015/lib/modules/viewkeeper/viewkeeper.service.js.map +1 -1
  43. package/esm2015/testing/mock-media-query.service.js.map +1 -1
  44. package/esm2015/testing/mock-ui-config.service.js.map +1 -1
  45. package/fesm2015/skyux-core-testing.js.map +1 -1
  46. package/fesm2015/skyux-core.js +58 -59
  47. package/fesm2015/skyux-core.js.map +1 -1
  48. package/lib/modules/affix/affix.directive.d.ts +2 -2
  49. package/lib/modules/affix/affixer.d.ts +1 -1
  50. package/lib/modules/dock/dock.service.d.ts +2 -2
  51. package/lib/modules/numeric/numeric.pipe.d.ts +2 -2
  52. package/lib/modules/overlay/overlay-instance.d.ts +1 -1
  53. package/package.json +11 -10
@@ -1511,6 +1511,7 @@
1511
1511
  }
1512
1512
  /*istanbul ignore else */
1513
1513
  if (window.console) {
1514
+ // eslint-disable-next-line prefer-spread,prefer-rest-params
1514
1515
  window.console.warn.apply(window.console, arguments);
1515
1516
  }
1516
1517
  };
@@ -2211,6 +2212,7 @@
2211
2212
  this.storeShortenSymbol(output);
2212
2213
  var locale = options.locale || this.currentLocale;
2213
2214
  var digits;
2215
+ var isDecimal;
2214
2216
  // Checks the string entered for format. Using toLowerCase to ignore case.
2215
2217
  switch ((_a = options.format) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
2216
2218
  // In a case where a decimal value was not shortened and
@@ -2219,7 +2221,7 @@
2219
2221
  // Note: This will need to be reviewed if we support currencies with
2220
2222
  // three decimal digits.
2221
2223
  case 'currency':
2222
- var isDecimal = value % 1 !== 0;
2224
+ isDecimal = value % 1 !== 0;
2223
2225
  if (options.minDigits) {
2224
2226
  digits = "1." + options.minDigits + "-" + options.digits;
2225
2227
  }
@@ -2229,12 +2231,12 @@
2229
2231
  else {
2230
2232
  digits = "1.0-" + options.digits;
2231
2233
  }
2234
+ output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), i1.SkyIntlNumberFormatStyle.Currency, digits, options.iso,
2232
2235
  // Angular 5+ needs a string for this parameter, but Angular 4 needs a boolean.
2233
2236
  // To support both versions we can supply 'symbol' which will evaluate truthy for Angular 4
2234
2237
  // and the appropriate string value for Angular 5+.
2235
2238
  // See: https://angular.io/api/common/CurrencyPipe#parameters
2236
- var symbolDisplay = 'symbol';
2237
- output = SkyNumberFormatUtility.formatNumber(locale, parseFloat(output), i1.SkyIntlNumberFormatStyle.Currency, digits, options.iso, symbolDisplay, options.currencySign);
2239
+ 'symbol', options.currencySign);
2238
2240
  break;
2239
2241
  // The following is a catch-all to ensure that if
2240
2242
  // anything but currency (or a future option) are entered,
@@ -3284,25 +3286,22 @@
3284
3286
  };
3285
3287
  SkyViewkeeper.prototype.shouldFixEl = function (boundaryInfo, verticalOffset) {
3286
3288
  var anchorTop;
3287
- var doFixEl;
3288
3289
  if (boundaryInfo.spacerEl) {
3289
3290
  anchorTop = getOffset(boundaryInfo.spacerEl, this.scrollableHost).top;
3290
3291
  }
3291
3292
  else {
3292
3293
  anchorTop = getOffset(this.el, this.scrollableHost).top;
3293
3294
  }
3294
- doFixEl =
3295
- boundaryInfo.scrollTop + verticalOffset + this.viewportMarginTop >
3296
- anchorTop;
3295
+ var doFixEl = boundaryInfo.scrollTop + verticalOffset + this.viewportMarginTop >
3296
+ anchorTop;
3297
3297
  return doFixEl;
3298
3298
  };
3299
3299
  SkyViewkeeper.prototype.getFixedStyles = function (boundaryInfo, verticalOffset) {
3300
- var elFixedTop;
3301
3300
  // If the element needs to be fixed, this will calculate its position. The position
3302
3301
  // will be 0 (fully visible) unless the user is scrolling the boundary out of view.
3303
3302
  // In that case, the element should begin to scroll out of view with the
3304
3303
  // rest of the boundary by setting its top position to a negative value.
3305
- elFixedTop = Math.min(boundaryInfo.boundaryBottom -
3304
+ var elFixedTop = Math.min(boundaryInfo.boundaryBottom -
3306
3305
  boundaryInfo.elHeight -
3307
3306
  boundaryInfo.scrollTop, verticalOffset);
3308
3307
  var elFixedWidth = boundaryInfo.boundaryEl.getBoundingClientRect().width;