@progress/kendo-angular-buttons 21.4.0-develop.1 → 21.4.0-develop.10

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.
@@ -9,7 +9,7 @@ import { FocusService } from './../focusable/focus.service';
9
9
  import { KeyEvents } from './../navigation/key-events';
10
10
  import { NavigationService } from './../navigation/navigation.service';
11
11
  import { NavigationAction } from './../navigation/navigation-action';
12
- import { isDocumentAvailable, guid, Keys, isChanged, hasObservers, normalizeKeys } from '@progress/kendo-angular-common';
12
+ import { isDocumentAvailable, guid, Keys, isChanged, hasObservers, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
13
13
  import { LocalizationService } from '@progress/kendo-angular-l10n';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
15
15
  import { packageMetadata } from '../package-metadata';
@@ -168,8 +168,12 @@ export class ListButton extends MultiTabStop {
168
168
  }
169
169
  get popupClasses() {
170
170
  const popupClasses = ['k-menu-popup'];
171
- if (this._popupSettings.popupClass) {
172
- popupClasses.push(this._popupSettings.popupClass);
171
+ if (!this._popupSettings.popupClass) {
172
+ return popupClasses.join(' ');
173
+ }
174
+ const parsedPopupClasses = parseCSSClassNames(this._popupSettings.popupClass);
175
+ if (parsedPopupClasses?.length) {
176
+ popupClasses.push(...parsedPopupClasses);
173
177
  }
174
178
  return popupClasses.join(' ');
175
179
  }
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1765536119,
14
- version: '21.4.0-develop.1',
13
+ publishDate: 1766140188,
14
+ version: '21.4.0-develop.10',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
6
6
  import { Injectable, isDevMode, EventEmitter, Component, Optional, Input, Output, HostBinding, HostListener, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ViewChild, ContentChild, forwardRef, NgModule } from '@angular/core';
7
7
  import { Subject, Subscription, fromEvent, merge, of, Observable, from } from 'rxjs';
8
8
  import * as i12 from '@progress/kendo-angular-common';
9
- import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
9
+ import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
10
10
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
11
11
  import { caretAltDownIcon, xCircleIcon, moreVerticalIcon, microphoneOutlineIcon, stopSmIcon } from '@progress/kendo-svg-icons';
12
12
  import * as i1 from '@progress/kendo-angular-l10n';
@@ -45,8 +45,8 @@ const packageMetadata = {
45
45
  productName: 'Kendo UI for Angular',
46
46
  productCode: 'KENDOUIANGULAR',
47
47
  productCodes: ['KENDOUIANGULAR'],
48
- publishDate: 1765536119,
49
- version: '21.4.0-develop.1',
48
+ publishDate: 1766140188,
49
+ version: '21.4.0-develop.10',
50
50
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
51
51
  };
52
52
 
@@ -2544,8 +2544,12 @@ class ListButton extends MultiTabStop {
2544
2544
  }
2545
2545
  get popupClasses() {
2546
2546
  const popupClasses = ['k-menu-popup'];
2547
- if (this._popupSettings.popupClass) {
2548
- popupClasses.push(this._popupSettings.popupClass);
2547
+ if (!this._popupSettings.popupClass) {
2548
+ return popupClasses.join(' ');
2549
+ }
2550
+ const parsedPopupClasses = parseCSSClassNames(this._popupSettings.popupClass);
2551
+ if (parsedPopupClasses?.length) {
2552
+ popupClasses.push(...parsedPopupClasses);
2549
2553
  }
2550
2554
  return popupClasses.join(' ');
2551
2555
  }
@@ -38,7 +38,7 @@ export interface PopupSettings {
38
38
  /**
39
39
  * Specifies CSS classes for styling the popup.
40
40
  */
41
- popupClass?: string;
41
+ popupClass?: string | string[] | object | Set<string>;
42
42
  /**
43
43
  * Specifies the container for the popup.
44
44
  * By default, the popup is appended to the root component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-buttons",
3
- "version": "21.4.0-develop.1",
3
+ "version": "21.4.0-develop.10",
4
4
  "description": "Buttons Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,7 +21,7 @@
21
21
  "package": {
22
22
  "productName": "Kendo UI for Angular",
23
23
  "productCode": "KENDOUIANGULAR",
24
- "publishDate": 1765536119,
24
+ "publishDate": 1766140188,
25
25
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
26
26
  }
27
27
  },
@@ -31,15 +31,15 @@
31
31
  "@angular/core": "18 - 21",
32
32
  "@angular/platform-browser": "18 - 21",
33
33
  "@progress/kendo-licensing": "^1.7.0",
34
- "@progress/kendo-angular-common": "21.4.0-develop.1",
35
- "@progress/kendo-angular-l10n": "21.4.0-develop.1",
36
- "@progress/kendo-angular-popup": "21.4.0-develop.1",
37
- "@progress/kendo-angular-icons": "21.4.0-develop.1",
34
+ "@progress/kendo-angular-common": "21.4.0-develop.10",
35
+ "@progress/kendo-angular-l10n": "21.4.0-develop.10",
36
+ "@progress/kendo-angular-popup": "21.4.0-develop.10",
37
+ "@progress/kendo-angular-icons": "21.4.0-develop.10",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "21.4.0-develop.1",
42
+ "@progress/kendo-angular-schematics": "21.4.0-develop.10",
43
43
  "@progress/kendo-common": "^1.0.1",
44
44
  "@progress/kendo-webspeech-common": "1.0.1"
45
45
  },