aeb-ui-kit 4.0.1-mr.726-feature-dp-5589 → 4.0.1-mr.728-feature-decrease-button-size

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.
@@ -96,7 +96,7 @@ class ButtonComponent {
96
96
  this.showIconLeft = false;
97
97
  this.showIconRight = false;
98
98
  this.isWarning = false;
99
- this.size = 'L';
99
+ this.size = 'M';
100
100
  this.variant = 'primary';
101
101
  this.isButton = true;
102
102
  }
@@ -3858,7 +3858,7 @@ class PaginationComponent {
3858
3858
  this.totalPages = 1500;
3859
3859
  this.currentPage = 1;
3860
3860
  this.usePageSizeSelector = false;
3861
- this.pageSize = '10';
3861
+ this.pageSize = 10;
3862
3862
  this.pageSelect = new EventEmitter();
3863
3863
  this.amountChange = new EventEmitter();
3864
3864
  this.isPagination = true;
@@ -3887,7 +3887,8 @@ class PaginationComponent {
3887
3887
  }
3888
3888
  }
3889
3889
  ngOnInit() {
3890
- this.pageSizeControl.setValue(this.pageSize);
3890
+ // меняется тип, потому что app-select и option принимают только string
3891
+ this.pageSizeControl.setValue(this.pageSize.toString());
3891
3892
  this.renderPages(this.currentPage);
3892
3893
  }
3893
3894
  ngOnDestroy() { }