@progress/kendo-angular-buttons 24.0.0-develop.26 → 24.0.0-develop.27
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.
|
@@ -142,7 +142,6 @@ export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
142
142
|
private _svgIcon;
|
|
143
143
|
set isFocused(isFocused: boolean);
|
|
144
144
|
get isFocused(): boolean;
|
|
145
|
-
get classButton(): boolean;
|
|
146
145
|
get iconButtonClass(): boolean;
|
|
147
146
|
get classDisabled(): boolean;
|
|
148
147
|
get classActive(): boolean;
|
|
@@ -49,8 +49,8 @@ const packageMetadata = {
|
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
|
-
publishDate:
|
|
53
|
-
version: '24.0.0-develop.
|
|
52
|
+
publishDate: 1778612991,
|
|
53
|
+
version: '24.0.0-develop.27',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -373,9 +373,6 @@ class ButtonComponent {
|
|
|
373
373
|
get isFocused() {
|
|
374
374
|
return this._focused;
|
|
375
375
|
}
|
|
376
|
-
get classButton() {
|
|
377
|
-
return true;
|
|
378
|
-
}
|
|
379
376
|
get iconButtonClass() {
|
|
380
377
|
const hasIcon = this.icon || this.iconClass || this.imageUrl || this.svgIcon;
|
|
381
378
|
return hasIcon && !this.hasText;
|
|
@@ -418,8 +415,10 @@ class ButtonComponent {
|
|
|
418
415
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
419
416
|
this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
420
417
|
this.element = element.nativeElement;
|
|
418
|
+
this.renderer.addClass(this.element, 'k-button');
|
|
421
419
|
}
|
|
422
420
|
ngOnInit() {
|
|
421
|
+
this.renderer.addClass(this.element, 'k-button');
|
|
423
422
|
if (!this.element.hasAttribute('role') && this.togglable) {
|
|
424
423
|
this.toggleAriaPressed(this.toggleable);
|
|
425
424
|
}
|
|
@@ -539,7 +538,7 @@ class ButtonComponent {
|
|
|
539
538
|
}
|
|
540
539
|
}
|
|
541
540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KendoButtonService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
542
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconPosition: "iconPosition", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-
|
|
541
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconPosition: "iconPosition", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
543
542
|
LocalizationService,
|
|
544
543
|
{
|
|
545
544
|
provide: L10N_PREFIX,
|
|
@@ -677,9 +676,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
677
676
|
type: Output
|
|
678
677
|
}], click: [{
|
|
679
678
|
type: Output
|
|
680
|
-
}], classButton: [{
|
|
681
|
-
type: HostBinding,
|
|
682
|
-
args: ['class.k-button']
|
|
683
679
|
}], iconButtonClass: [{
|
|
684
680
|
type: HostBinding,
|
|
685
681
|
args: ['class.k-icon-button']
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778612991,
|
|
11
|
+
"version": "24.0.0-develop.27",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.27",
|
|
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":
|
|
24
|
+
"publishDate": 1778612991,
|
|
25
25
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"@angular/core": "19 - 21",
|
|
32
32
|
"@angular/platform-browser": "19 - 21",
|
|
33
33
|
"@progress/kendo-licensing": "^1.11.0",
|
|
34
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
34
|
+
"@progress/kendo-angular-common": "24.0.0-develop.27",
|
|
35
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.27",
|
|
36
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.27",
|
|
37
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.27",
|
|
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": "24.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.27",
|
|
43
43
|
"@progress/kendo-common": "^1.0.1",
|
|
44
44
|
"@progress/kendo-webspeech-common": "1.0.1",
|
|
45
45
|
"@progress/kendo-smartpaste-common": "1.0.0"
|