@progress/kendo-angular-pager 19.1.1 → 19.1.2-develop.2

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 (30) hide show
  1. package/esm2022/package-metadata.mjs +2 -2
  2. package/esm2022/pager/focusable.directive.mjs +10 -1
  3. package/esm2022/pager/localization/custom-messages.component.mjs +12 -1
  4. package/esm2022/pager/pager-info.component.mjs +10 -1
  5. package/esm2022/pager/pager-input.component.mjs +14 -9
  6. package/esm2022/pager/pager-next-buttons.component.mjs +12 -7
  7. package/esm2022/pager/pager-numeric-buttons.component.mjs +12 -7
  8. package/esm2022/pager/pager-page-sizes.component.mjs +20 -121
  9. package/esm2022/pager/pager-prev-buttons.component.mjs +12 -7
  10. package/esm2022/pager/pager-template.directive.mjs +10 -30
  11. package/esm2022/pager/pager.component.mjs +52 -22
  12. package/esm2022/pager/pagesizechange-event.mjs +3 -3
  13. package/esm2022/pager/spacer.component.mjs +25 -4
  14. package/fesm2022/progress-kendo-angular-pager.mjs +194 -215
  15. package/package.json +8 -8
  16. package/pager/common/pager-type.d.ts +5 -7
  17. package/pager/focusable.directive.d.ts +10 -1
  18. package/pager/localization/custom-messages.component.d.ts +12 -1
  19. package/pager/pager-info.component.d.ts +10 -1
  20. package/pager/pager-input.component.d.ts +12 -7
  21. package/pager/pager-next-buttons.component.d.ts +12 -7
  22. package/pager/pager-numeric-buttons.component.d.ts +12 -7
  23. package/pager/pager-page-sizes.component.d.ts +20 -121
  24. package/pager/pager-prev-buttons.component.d.ts +12 -7
  25. package/pager/pager-template.directive.d.ts +10 -30
  26. package/pager/pager.component.d.ts +24 -22
  27. package/pager/pagesize-item.interface.d.ts +3 -3
  28. package/pager/pagesizechange-event.d.ts +3 -3
  29. package/pager/spacer.component.d.ts +25 -4
  30. package/schematics/ngAdd/index.js +6 -6
@@ -6,23 +6,44 @@ import { Component, HostBinding, Input } from '@angular/core';
6
6
  import { isPresent } from '@progress/kendo-angular-common';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Represents the Kendo UI PagerSpacer component for Angular.
10
- * Used to give additional white space between the Pager inner elements,
9
+ * Represents the Kendo UI Pager Spacer component for Angular.
10
+ * Gives you additional white space between the Pager inner elements,
11
11
  * and provides a way for customizing the spacer width.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
16
+ * <ng-template kendoPagerTemplate>
17
+ * <kendo-pager-prev-buttons></kendo-pager-prev-buttons>
18
+ * <kendo-pager-info></kendo-pager-info>
19
+ * <kendo-pager-spacer></kendo-pager-spacer>
20
+ * <kendo-pager-next-buttons></kendo-pager-next-buttons>
21
+ * </ng-template>
22
+ * </kendo-pager>
23
+ * ```
12
24
  */
13
25
  export class PagerSpacerComponent {
26
+ /**
27
+ * Gets the CSS class for the spacer.
28
+ */
14
29
  hostClass = true;
30
+ /**
31
+ * Gets the CSS class for sized spacers.
32
+ */
15
33
  get sizedClass() {
16
34
  return isPresent(this.width);
17
35
  }
36
+ /**
37
+ * Gets the flex-basis style for the spacer width.
38
+ */
18
39
  get flexBasisStyle() {
19
40
  return this.width;
20
41
  }
21
42
  /**
22
- * Specifies the width of the PagerSpacer.
43
+ * Specifies the width of the `PagerSpacer` component.
23
44
  * Accepts the [string values of the CSS `flex-basis` property](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis).
24
45
  *
25
- * If not set, the PagerSpacer will take all the available space.
46
+ * If you do not set this property, the `PagerSpacer` takes all the available space.
26
47
  */
27
48
  width;
28
49
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });