@progress/kendo-angular-listbox 22.1.0-develop.18 → 22.1.0-develop.19

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.
@@ -25,7 +25,7 @@ const packageMetadata = {
25
25
  productCode: 'KENDOUIANGULAR',
26
26
  productCodes: ['KENDOUIANGULAR'],
27
27
  publishDate: 1647863281,
28
- version: '22.1.0-develop.18',
28
+ version: '22.1.0-develop.19',
29
29
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
30
30
  };
31
31
 
@@ -843,7 +843,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
843
843
 
844
844
  /* eslint-disable @typescript-eslint/no-inferrable-types */
845
845
  /* eslint-disable @typescript-eslint/no-explicit-any */
846
- const DEFAULT_SIZE = 'medium';
847
846
  let idx = 0;
848
847
  /**
849
848
  * Represents the Kendo UI ListBox component for Angular.
@@ -936,9 +935,8 @@ class ListBoxComponent {
936
935
  *
937
936
  */
938
937
  set size(size) {
939
- const newSize = size ? size : DEFAULT_SIZE;
940
938
  this.renderer.removeClass(this.hostElement.nativeElement, `k-listbox-${sizeClassMap[this.size]}`);
941
- this.setSizingClass(newSize);
939
+ this.setSizingClass(size);
942
940
  this._size = size;
943
941
  }
944
942
  get size() {
@@ -996,7 +994,7 @@ class ListBoxComponent {
996
994
  * @hidden
997
995
  */
998
996
  get listClasses() {
999
- return `k-list k-list-${sizeClassMap[this.size]}`;
997
+ return this.size ? `k-list k-list-${sizeClassMap[this.size]}` : 'k-list';
1000
998
  }
1001
999
  /**
1002
1000
  * @hidden
@@ -1033,7 +1031,7 @@ class ListBoxComponent {
1033
1031
  */
1034
1032
  caretAltRightIcon = caretAltRightIcon;
1035
1033
  localizationSubscription;
1036
- _size = DEFAULT_SIZE;
1034
+ _size;
1037
1035
  subs = new Subscription();
1038
1036
  shouldFireFocusIn = false;
1039
1037
  _selectable = 'single';
@@ -1339,7 +1337,9 @@ class ListBoxComponent {
1339
1337
  });
1340
1338
  }
1341
1339
  setSizingClass(size) {
1342
- this.renderer.addClass(this.hostElement.nativeElement, `k-listbox-${sizeClassMap[size]}`);
1340
+ if (size) {
1341
+ this.renderer.addClass(this.hostElement.nativeElement, `k-listbox-${sizeClassMap[size]}`);
1342
+ }
1343
1343
  }
1344
1344
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListBoxComponent, deps: [{ token: KeyboardNavigationService }, { token: ListBoxSelectionService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1345
1345
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ListBoxComponent, isStandalone: true, selector: "kendo-listbox", inputs: { textField: "textField", selectable: "selectable", data: "data", size: "size", toolbar: "toolbar", listboxLabel: "listboxLabel", listboxToolbarLabel: "listboxToolbarLabel", itemDisabled: "itemDisabled" }, outputs: { selectionChange: "selectionChange", action: "action", getChildListbox: "getChildListbox" }, host: { properties: { "class.k-listbox": "this.listboxClassName", "attr.dir": "this.direction" } }, providers: [
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1770112546,
11
- "version": "22.1.0-develop.18",
10
+ "publishDate": 1770219941,
11
+ "version": "22.1.0-develop.19",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-listbox",
3
- "version": "22.1.0-develop.18",
3
+ "version": "22.1.0-develop.19",
4
4
  "description": "Kendo UI for Angular ListBox",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -44,7 +44,7 @@
44
44
  "package": {
45
45
  "productName": "Kendo UI for Angular",
46
46
  "productCode": "KENDOUIANGULAR",
47
- "publishDate": 1770112546,
47
+ "publishDate": 1770219941,
48
48
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
49
49
  }
50
50
  },
@@ -54,14 +54,14 @@
54
54
  "@angular/core": "19 - 21",
55
55
  "@angular/platform-browser": "19 - 21",
56
56
  "@progress/kendo-licensing": "^1.10.0",
57
- "@progress/kendo-angular-buttons": "22.1.0-develop.18",
58
- "@progress/kendo-angular-common": "22.1.0-develop.18",
59
- "@progress/kendo-angular-popup": "22.1.0-develop.18",
57
+ "@progress/kendo-angular-buttons": "22.1.0-develop.19",
58
+ "@progress/kendo-angular-common": "22.1.0-develop.19",
59
+ "@progress/kendo-angular-popup": "22.1.0-develop.19",
60
60
  "rxjs": "^6.5.3 || ^7.0.0"
61
61
  },
62
62
  "dependencies": {
63
63
  "tslib": "^2.3.1",
64
- "@progress/kendo-angular-schematics": "22.1.0-develop.18",
64
+ "@progress/kendo-angular-schematics": "22.1.0-develop.19",
65
65
  "@progress/kendo-common": "^1.0.1"
66
66
  },
67
67
  "schematics": "./schematics/collection.json",
@@ -11,11 +11,11 @@ function default_1(options) {
11
11
  // Additional dependencies to install.
12
12
  // See https://github.com/telerik/kendo-schematics/issues/28
13
13
  peerDependencies: {
14
- '@progress/kendo-angular-buttons': '22.1.0-develop.18',
15
- '@progress/kendo-angular-common': '22.1.0-develop.18',
16
- '@progress/kendo-angular-l10n': '22.1.0-develop.18',
14
+ '@progress/kendo-angular-buttons': '22.1.0-develop.19',
15
+ '@progress/kendo-angular-common': '22.1.0-develop.19',
16
+ '@progress/kendo-angular-l10n': '22.1.0-develop.19',
17
17
  // Peer of kendo-angular-buttons
18
- '@progress/kendo-angular-popup': '22.1.0-develop.18'
18
+ '@progress/kendo-angular-popup': '22.1.0-develop.19'
19
19
  } });
20
20
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
21
21
  }