@progress/kendo-angular-common 18.3.0 → 18.4.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.
@@ -38,9 +38,9 @@ export class ResizeSensorComponent {
38
38
  const throttleTime = 1000 / (this.rateLimit || DEFAULT_RATE_LIMIT);
39
39
  this.subscription = this.resizeService.resize
40
40
  .pipe(auditTime(throttleTime))
41
- .subscribe(() => {
41
+ .subscribe(({ width, height }) => {
42
42
  if (!this.resizeService.acceptedSize) {
43
- this.resize.emit();
43
+ this.resize.emit({ width, height });
44
44
  }
45
45
  });
46
46
  }
@@ -45,7 +45,7 @@ export class ResizeService {
45
45
  this.lastWidth = width;
46
46
  this.lastHeight = height;
47
47
  this.acceptedSize = false;
48
- this.resize.emit();
48
+ this.resize.emit({ width, height });
49
49
  return true;
50
50
  }
51
51
  initSize() {
@@ -478,7 +478,7 @@ class ResizeService {
478
478
  this.lastWidth = width;
479
479
  this.lastHeight = height;
480
480
  this.acceptedSize = false;
481
- this.resize.emit();
481
+ this.resize.emit({ width, height });
482
482
  return true;
483
483
  }
484
484
  initSize() {
@@ -724,9 +724,9 @@ class ResizeSensorComponent {
724
724
  const throttleTime = 1000 / (this.rateLimit || DEFAULT_RATE_LIMIT);
725
725
  this.subscription = this.resizeService.resize
726
726
  .pipe(auditTime(throttleTime))
727
- .subscribe(() => {
727
+ .subscribe(({ width, height }) => {
728
728
  if (!this.resizeService.acceptedSize) {
729
- this.resize.emit();
729
+ this.resize.emit({ width, height });
730
730
  }
731
731
  });
732
732
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "18.3.0",
3
+ "version": "18.4.0",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,7 +23,7 @@
23
23
  "@progress/kendo-common": "^1.0.1",
24
24
  "@progress/kendo-draggable": "^3.0.2",
25
25
  "tslib": "^2.3.1",
26
- "@progress/kendo-angular-schematics": "18.3.0"
26
+ "@progress/kendo-angular-schematics": "18.4.0"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"