carbon-components-angular 5.47.2 → 5.48.0

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 (54) hide show
  1. package/docs/documentation/classes/NumberChange.html +34 -0
  2. package/docs/documentation/components/NumberComponent.html +48 -14
  3. package/docs/documentation/components/PaginationNav.html +262 -33
  4. package/docs/documentation/components/ProgressIndicator.html +2 -2
  5. package/docs/documentation/coverage.html +3 -3
  6. package/docs/documentation/interfaces/PaginationNavTranslations.html +20 -2
  7. package/docs/documentation/js/search/search_index.js +2 -2
  8. package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
  9. package/docs/documentation/modules/TagModule.html +4 -4
  10. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  11. package/docs/documentation/modules/ThemeModule.html +4 -4
  12. package/docs/documentation/modules/TilesModule/dependencies.svg +98 -98
  13. package/docs/documentation/modules/TilesModule.html +98 -98
  14. package/docs/documentation/modules/TimePickerModule/dependencies.svg +44 -40
  15. package/docs/documentation/modules/TimePickerModule.html +44 -40
  16. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +38 -42
  17. package/docs/documentation/modules/TimePickerSelectModule.html +38 -42
  18. package/docs/documentation/modules/ToggleModule/dependencies.svg +17 -17
  19. package/docs/documentation/modules/ToggleModule.html +17 -17
  20. package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
  21. package/docs/documentation/modules/ToggletipModule.html +37 -37
  22. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  23. package/docs/documentation/modules/TooltipModule.html +28 -28
  24. package/docs/documentation/modules/TreeviewModule/dependencies.svg +36 -36
  25. package/docs/documentation/modules/TreeviewModule.html +36 -36
  26. package/docs/documentation.json +150 -78
  27. package/docs/storybook/{8341.2bf88948.iframe.bundle.js → 8341.d095fdee.iframe.bundle.js} +1 -1
  28. package/docs/storybook/iframe.html +2 -2
  29. package/docs/storybook/main.css +3007 -2790
  30. package/docs/storybook/main.e6ee5d76.iframe.bundle.js +1 -0
  31. package/docs/storybook/{number-input-number-stories.6aba5a3d.iframe.bundle.js → number-input-number-stories.8d02c22f.iframe.bundle.js} +1 -1
  32. package/docs/storybook/pagination-pagination-nav-stories.7b305bf2.iframe.bundle.js +1 -0
  33. package/docs/storybook/project.json +1 -1
  34. package/docs/storybook/{runtime~main.14d57f59.iframe.bundle.js → runtime~main.90978505.iframe.bundle.js} +1 -1
  35. package/esm2020/number-input/number.component.mjs +31 -1
  36. package/esm2020/pagination/pagination-nav/pagination-nav.component.mjs +32 -5
  37. package/esm2020/progress-indicator/progress-indicator.component.mjs +2 -2
  38. package/fesm2015/carbon-components-angular-number-input.mjs +30 -0
  39. package/fesm2015/carbon-components-angular-number-input.mjs.map +1 -1
  40. package/fesm2015/carbon-components-angular-pagination.mjs +31 -4
  41. package/fesm2015/carbon-components-angular-pagination.mjs.map +1 -1
  42. package/fesm2015/carbon-components-angular-progress-indicator.mjs +1 -1
  43. package/fesm2015/carbon-components-angular-progress-indicator.mjs.map +1 -1
  44. package/fesm2020/carbon-components-angular-number-input.mjs +30 -0
  45. package/fesm2020/carbon-components-angular-number-input.mjs.map +1 -1
  46. package/fesm2020/carbon-components-angular-pagination.mjs +31 -4
  47. package/fesm2020/carbon-components-angular-pagination.mjs.map +1 -1
  48. package/fesm2020/carbon-components-angular-progress-indicator.mjs +1 -1
  49. package/fesm2020/carbon-components-angular-progress-indicator.mjs.map +1 -1
  50. package/package.json +1 -1
  51. package/pagination/pagination-nav/pagination-nav.component.d.ts +8 -1
  52. package/progress-indicator/progress-indicator.component.d.ts +1 -1
  53. package/docs/storybook/main.ca52fea9.iframe.bundle.js +0 -1
  54. package/docs/storybook/pagination-pagination-nav-stories.ace8938b.iframe.bundle.js +0 -1
@@ -239,7 +239,8 @@ import {
239
239
  Component,
240
240
  Input,
241
241
  Output,
242
- EventEmitter
242
+ EventEmitter,
243
+ HostBinding
243
244
  } from "@angular/core";
244
245
 
245
246
  import { I18n, Overridable } from "carbon-components-angular/i18n";
@@ -287,7 +288,7 @@ export interface PaginationNavTranslations {
287
288
  <li class="cds--pagination-nav__list-item">
288
289
  <cds-icon-button
289
290
  kind="ghost"
290
- size="md"
291
+ [size]="size"
291
292
  (click)="jumpToPrevious()"
292
293
  [disabled]="leftArrowDisabled"
293
294
  [description]="previousItemText.subject | async">
@@ -331,6 +332,7 @@ export interface PaginationNavTranslations {
331
332
  <li class="cds--pagination-nav__list-item">
332
333
  <cds-icon-button
333
334
  kind="ghost"
335
+ [size]="size"
334
336
  (click)="jumpToNext()"
335
337
  [disabled]="rightArrowDisabled"
336
338
  [description]="nextItemText.subject | async">
@@ -377,6 +379,22 @@ export class PaginationNav {
377
379
  this.previousItemText.override(valueWithDefaults.PREVIOUS);
378
380
  }
379
381
 
382
+ /**
383
+ * Sets the pagination nav size
384
+ */
385
+ @Input() size: "sm" | "md" | "lg" = "lg";
386
+
387
+ // Size
388
+ @HostBinding("class.cds--layout--size-sm") get smallLayoutSize() {
389
+ return this.size === "sm";
390
+ }
391
+ @HostBinding("class.cds--layout--size-md") get mediumLayoutSize() {
392
+ return this.size === "md";
393
+ }
394
+ @HostBinding("class.cds--layout--size-lg") get largeLayoutSize() {
395
+ return this.size === "lg";
396
+ }
397
+
380
398
  /**
381
399
  * Emits the new page number.
382
400
  *