@progress/kendo-angular-buttons 7.0.0-dev.202201180832 → 7.0.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.
- package/dist/cdn/js/kendo-angular-buttons.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/button/button.directive.js +7 -13
- package/dist/es/chip/chip.component.js +1 -1
- package/dist/es/dropdownbutton/dropdownbutton.component.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/splitbutton/splitbutton.component.js +1 -1
- package/dist/es2015/button/button.directive.d.ts +1 -2
- package/dist/es2015/button/button.directive.js +7 -9
- package/dist/es2015/chip/chip.component.d.ts +1 -1
- package/dist/es2015/chip/chip.component.js +1 -1
- package/dist/es2015/dropdownbutton/dropdownbutton.component.d.ts +1 -1
- package/dist/es2015/dropdownbutton/dropdownbutton.component.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/splitbutton/splitbutton.component.d.ts +1 -1
- package/dist/es2015/splitbutton/splitbutton.component.js +1 -1
- package/dist/fesm2015/index.js +10 -12
- package/dist/fesm5/index.js +10 -16
- package/dist/npm/button/button.directive.js +6 -12
- package/dist/npm/chip/chip.component.js +1 -1
- package/dist/npm/dropdownbutton/dropdownbutton.component.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/splitbutton/splitbutton.component.js +1 -1
- package/dist/systemjs/kendo-angular-buttons.js +1 -1
- package/package.json +5 -4
|
@@ -9,7 +9,7 @@ import { isDocumentAvailable, isChanged, hasObservers, Keys } from '@progress/ke
|
|
|
9
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
|
-
import { getStylingClasses, getThemeColorClasses } from '../util';
|
|
12
|
+
import { getStylingClasses, getThemeColorClasses, isPresent } from '../util';
|
|
13
13
|
var SPAN_TAG_NAME = 'SPAN';
|
|
14
14
|
/**
|
|
15
15
|
* Represents the Kendo UI Button component for Angular.
|
|
@@ -180,7 +180,7 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
180
180
|
return this._size;
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* The size property specifies the
|
|
183
|
+
* The size property specifies the padding of the Button
|
|
184
184
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
185
185
|
*
|
|
186
186
|
* The possible values are:
|
|
@@ -491,15 +491,6 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
491
491
|
return false;
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
|
-
Object.defineProperty(ButtonDirective.prototype, "text", {
|
|
495
|
-
get: function () {
|
|
496
|
-
if (isDocumentAvailable()) {
|
|
497
|
-
return this.element.innerHTML.trim();
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
enumerable: true,
|
|
501
|
-
configurable: true
|
|
502
|
-
});
|
|
503
494
|
ButtonDirective.prototype.addImgIcon = function (imageUrl) {
|
|
504
495
|
var renderer = this.renderer;
|
|
505
496
|
this.iconSpanNode = renderer.createElement('span');
|
|
@@ -529,8 +520,11 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
529
520
|
}
|
|
530
521
|
};
|
|
531
522
|
ButtonDirective.prototype.addTextSpan = function () {
|
|
532
|
-
if (isDocumentAvailable() && this.hasText()) {
|
|
533
|
-
|
|
523
|
+
if (isDocumentAvailable() && this.hasText() && isPresent(this.element.append)) {
|
|
524
|
+
var span = this.renderer.createElement('span');
|
|
525
|
+
this.renderer.addClass(span, 'k-button-text');
|
|
526
|
+
span.append.apply(span, Array.from(this.element.childNodes));
|
|
527
|
+
this.element.append(span);
|
|
534
528
|
}
|
|
535
529
|
};
|
|
536
530
|
ButtonDirective.prototype.prependChild = function (node) {
|
|
@@ -57,7 +57,7 @@ var ChipComponent = /** @class */ (function () {
|
|
|
57
57
|
return this._size;
|
|
58
58
|
},
|
|
59
59
|
/**
|
|
60
|
-
* The size property specifies the
|
|
60
|
+
* The size property specifies the padding of the Chip
|
|
61
61
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
62
62
|
*
|
|
63
63
|
* The possible values are:
|
|
@@ -72,7 +72,7 @@ var DropDownButtonComponent = /** @class */ (function (_super) {
|
|
|
72
72
|
*/
|
|
73
73
|
_this.imageUrl = '';
|
|
74
74
|
/**
|
|
75
|
-
* The size property specifies the
|
|
75
|
+
* The size property specifies the padding of the DropDownButton
|
|
76
76
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
77
77
|
*
|
|
78
78
|
* The possible values are:
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-buttons',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1642569714,
|
|
13
13
|
version: '',
|
|
14
14
|
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'
|
|
15
15
|
};
|
|
@@ -98,7 +98,7 @@ var SplitButtonComponent = /** @class */ (function (_super) {
|
|
|
98
98
|
*/
|
|
99
99
|
_this.imageUrl = '';
|
|
100
100
|
/**
|
|
101
|
-
* The size property specifies the
|
|
101
|
+
* The size property specifies the padding of the SplitButton
|
|
102
102
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
103
103
|
*
|
|
104
104
|
* The possible values are:
|
|
@@ -54,7 +54,7 @@ export declare class ButtonDirective implements OnDestroy, AfterViewInit {
|
|
|
54
54
|
*/
|
|
55
55
|
disabled: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* The size property specifies the
|
|
57
|
+
* The size property specifies the padding of the Button
|
|
58
58
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
59
59
|
*
|
|
60
60
|
* The possible values are:
|
|
@@ -202,7 +202,6 @@ export declare class ButtonDirective implements OnDestroy, AfterViewInit {
|
|
|
202
202
|
setSelected(value: boolean): void;
|
|
203
203
|
private toggleAriaPressed;
|
|
204
204
|
private hasText;
|
|
205
|
-
private readonly text;
|
|
206
205
|
private addImgIcon;
|
|
207
206
|
private addIcon;
|
|
208
207
|
private addTextSpan;
|
|
@@ -9,7 +9,7 @@ import { isDocumentAvailable, isChanged, hasObservers, Keys } from '@progress/ke
|
|
|
9
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
|
-
import { getStylingClasses, getThemeColorClasses } from '../util';
|
|
12
|
+
import { getStylingClasses, getThemeColorClasses, isPresent } from '../util';
|
|
13
13
|
const SPAN_TAG_NAME = 'SPAN';
|
|
14
14
|
/**
|
|
15
15
|
* Represents the Kendo UI Button component for Angular.
|
|
@@ -142,7 +142,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
142
142
|
return this.isDisabled;
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
* The size property specifies the
|
|
145
|
+
* The size property specifies the padding of the Button
|
|
146
146
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
147
147
|
*
|
|
148
148
|
* The possible values are:
|
|
@@ -398,11 +398,6 @@ let ButtonDirective = class ButtonDirective {
|
|
|
398
398
|
return false;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
get text() {
|
|
402
|
-
if (isDocumentAvailable()) {
|
|
403
|
-
return this.element.innerHTML.trim();
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
401
|
addImgIcon(imageUrl) {
|
|
407
402
|
let renderer = this.renderer;
|
|
408
403
|
this.iconSpanNode = renderer.createElement('span');
|
|
@@ -432,8 +427,11 @@ let ButtonDirective = class ButtonDirective {
|
|
|
432
427
|
}
|
|
433
428
|
}
|
|
434
429
|
addTextSpan() {
|
|
435
|
-
if (isDocumentAvailable() && this.hasText()) {
|
|
436
|
-
|
|
430
|
+
if (isDocumentAvailable() && this.hasText() && isPresent(this.element.append)) {
|
|
431
|
+
const span = this.renderer.createElement('span');
|
|
432
|
+
this.renderer.addClass(span, 'k-button-text');
|
|
433
|
+
span.append(...Array.from(this.element.childNodes));
|
|
434
|
+
this.element.append(span);
|
|
437
435
|
}
|
|
438
436
|
}
|
|
439
437
|
prependChild(node) {
|
|
@@ -56,7 +56,7 @@ export declare class ChipComponent implements OnInit, AfterViewInit {
|
|
|
56
56
|
*/
|
|
57
57
|
disabled: boolean;
|
|
58
58
|
/**
|
|
59
|
-
* The size property specifies the
|
|
59
|
+
* The size property specifies the padding of the Chip
|
|
60
60
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
61
61
|
*
|
|
62
62
|
* The possible values are:
|
|
@@ -53,7 +53,7 @@ let ChipComponent = class ChipComponent {
|
|
|
53
53
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* The size property specifies the
|
|
56
|
+
* The size property specifies the padding of the Chip
|
|
57
57
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
58
58
|
*
|
|
59
59
|
* The possible values are:
|
|
@@ -83,7 +83,7 @@ export declare class DropDownButtonComponent extends ListButton implements OnCha
|
|
|
83
83
|
*/
|
|
84
84
|
data: any;
|
|
85
85
|
/**
|
|
86
|
-
* The size property specifies the
|
|
86
|
+
* The size property specifies the padding of the DropDownButton
|
|
87
87
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
88
88
|
*
|
|
89
89
|
* The possible values are:
|
|
@@ -71,7 +71,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
71
71
|
*/
|
|
72
72
|
this.imageUrl = '';
|
|
73
73
|
/**
|
|
74
|
-
* The size property specifies the
|
|
74
|
+
* The size property specifies the padding of the DropDownButton
|
|
75
75
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
76
76
|
*
|
|
77
77
|
* The possible values are:
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-buttons',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1642569714,
|
|
13
13
|
version: '',
|
|
14
14
|
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'
|
|
15
15
|
};
|
|
@@ -82,7 +82,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
82
82
|
*/
|
|
83
83
|
imageUrl: string;
|
|
84
84
|
/**
|
|
85
|
-
* The size property specifies the
|
|
85
|
+
* The size property specifies the padding of the SplitButton
|
|
86
86
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
87
87
|
*
|
|
88
88
|
* The possible values are:
|
|
@@ -97,7 +97,7 @@ let SplitButtonComponent = class SplitButtonComponent extends ListButton {
|
|
|
97
97
|
*/
|
|
98
98
|
this.imageUrl = '';
|
|
99
99
|
/**
|
|
100
|
-
* The size property specifies the
|
|
100
|
+
* The size property specifies the padding of the SplitButton
|
|
101
101
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
102
102
|
*
|
|
103
103
|
* The possible values are:
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const packageMetadata = {
|
|
|
39
39
|
name: '@progress/kendo-angular-buttons',
|
|
40
40
|
productName: 'Kendo UI for Angular',
|
|
41
41
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
42
|
-
publishDate:
|
|
42
|
+
publishDate: 1642569714,
|
|
43
43
|
version: '',
|
|
44
44
|
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'
|
|
45
45
|
};
|
|
@@ -268,7 +268,7 @@ let ButtonDirective = class ButtonDirective {
|
|
|
268
268
|
return this.isDisabled;
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
* The size property specifies the
|
|
271
|
+
* The size property specifies the padding of the Button
|
|
272
272
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
273
273
|
*
|
|
274
274
|
* The possible values are:
|
|
@@ -524,11 +524,6 @@ let ButtonDirective = class ButtonDirective {
|
|
|
524
524
|
return false;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
get text() {
|
|
528
|
-
if (isDocumentAvailable()) {
|
|
529
|
-
return this.element.innerHTML.trim();
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
527
|
addImgIcon(imageUrl) {
|
|
533
528
|
let renderer = this.renderer;
|
|
534
529
|
this.iconSpanNode = renderer.createElement('span');
|
|
@@ -558,8 +553,11 @@ let ButtonDirective = class ButtonDirective {
|
|
|
558
553
|
}
|
|
559
554
|
}
|
|
560
555
|
addTextSpan() {
|
|
561
|
-
if (isDocumentAvailable() && this.hasText()) {
|
|
562
|
-
|
|
556
|
+
if (isDocumentAvailable() && this.hasText() && isPresent(this.element.append)) {
|
|
557
|
+
const span = this.renderer.createElement('span');
|
|
558
|
+
this.renderer.addClass(span, 'k-button-text');
|
|
559
|
+
span.append(...Array.from(this.element.childNodes));
|
|
560
|
+
this.element.append(span);
|
|
563
561
|
}
|
|
564
562
|
}
|
|
565
563
|
prependChild(node) {
|
|
@@ -1909,7 +1907,7 @@ let SplitButtonComponent = class SplitButtonComponent extends ListButton {
|
|
|
1909
1907
|
*/
|
|
1910
1908
|
this.imageUrl = '';
|
|
1911
1909
|
/**
|
|
1912
|
-
* The size property specifies the
|
|
1910
|
+
* The size property specifies the padding of the SplitButton
|
|
1913
1911
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
1914
1912
|
*
|
|
1915
1913
|
* The possible values are:
|
|
@@ -2772,7 +2770,7 @@ let DropDownButtonComponent = class DropDownButtonComponent extends ListButton {
|
|
|
2772
2770
|
*/
|
|
2773
2771
|
this.imageUrl = '';
|
|
2774
2772
|
/**
|
|
2775
|
-
* The size property specifies the
|
|
2773
|
+
* The size property specifies the padding of the DropDownButton
|
|
2776
2774
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
2777
2775
|
*
|
|
2778
2776
|
* The possible values are:
|
|
@@ -3447,7 +3445,7 @@ let ChipComponent = class ChipComponent {
|
|
|
3447
3445
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
|
3448
3446
|
}
|
|
3449
3447
|
/**
|
|
3450
|
-
* The size property specifies the
|
|
3448
|
+
* The size property specifies the padding of the Chip
|
|
3451
3449
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
3452
3450
|
*
|
|
3453
3451
|
* The possible values are:
|
package/dist/fesm5/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var packageMetadata = {
|
|
|
37
37
|
name: '@progress/kendo-angular-buttons',
|
|
38
38
|
productName: 'Kendo UI for Angular',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
40
|
+
publishDate: 1642569714,
|
|
41
41
|
version: '',
|
|
42
42
|
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'
|
|
43
43
|
};
|
|
@@ -306,7 +306,7 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
306
306
|
return this._size;
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* The size property specifies the
|
|
309
|
+
* The size property specifies the padding of the Button
|
|
310
310
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
311
311
|
*
|
|
312
312
|
* The possible values are:
|
|
@@ -617,15 +617,6 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
617
617
|
return false;
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
Object.defineProperty(ButtonDirective.prototype, "text", {
|
|
621
|
-
get: function () {
|
|
622
|
-
if (isDocumentAvailable()) {
|
|
623
|
-
return this.element.innerHTML.trim();
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
enumerable: true,
|
|
627
|
-
configurable: true
|
|
628
|
-
});
|
|
629
620
|
ButtonDirective.prototype.addImgIcon = function (imageUrl) {
|
|
630
621
|
var renderer = this.renderer;
|
|
631
622
|
this.iconSpanNode = renderer.createElement('span');
|
|
@@ -655,8 +646,11 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
655
646
|
}
|
|
656
647
|
};
|
|
657
648
|
ButtonDirective.prototype.addTextSpan = function () {
|
|
658
|
-
if (isDocumentAvailable() && this.hasText()) {
|
|
659
|
-
|
|
649
|
+
if (isDocumentAvailable() && this.hasText() && isPresent(this.element.append)) {
|
|
650
|
+
var span = this.renderer.createElement('span');
|
|
651
|
+
this.renderer.addClass(span, 'k-button-text');
|
|
652
|
+
span.append.apply(span, Array.from(this.element.childNodes));
|
|
653
|
+
this.element.append(span);
|
|
660
654
|
}
|
|
661
655
|
};
|
|
662
656
|
ButtonDirective.prototype.prependChild = function (node) {
|
|
@@ -2064,7 +2058,7 @@ var SplitButtonComponent = /** @class */ (function (_super) {
|
|
|
2064
2058
|
*/
|
|
2065
2059
|
_this.imageUrl = '';
|
|
2066
2060
|
/**
|
|
2067
|
-
* The size property specifies the
|
|
2061
|
+
* The size property specifies the padding of the SplitButton
|
|
2068
2062
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
2069
2063
|
*
|
|
2070
2064
|
* The possible values are:
|
|
@@ -2948,7 +2942,7 @@ var DropDownButtonComponent = /** @class */ (function (_super) {
|
|
|
2948
2942
|
*/
|
|
2949
2943
|
_this.imageUrl = '';
|
|
2950
2944
|
/**
|
|
2951
|
-
* The size property specifies the
|
|
2945
|
+
* The size property specifies the padding of the DropDownButton
|
|
2952
2946
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
2953
2947
|
*
|
|
2954
2948
|
* The possible values are:
|
|
@@ -3647,7 +3641,7 @@ var ChipComponent = /** @class */ (function () {
|
|
|
3647
3641
|
return this._size;
|
|
3648
3642
|
},
|
|
3649
3643
|
/**
|
|
3650
|
-
* The size property specifies the
|
|
3644
|
+
* The size property specifies the padding of the Chip
|
|
3651
3645
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
3652
3646
|
*
|
|
3653
3647
|
* The possible values are:
|
|
@@ -182,7 +182,7 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
182
182
|
return this._size;
|
|
183
183
|
},
|
|
184
184
|
/**
|
|
185
|
-
* The size property specifies the
|
|
185
|
+
* The size property specifies the padding of the Button
|
|
186
186
|
* ([see example]({% slug appearance_buttondirective %}#toc-size)).
|
|
187
187
|
*
|
|
188
188
|
* The possible values are:
|
|
@@ -493,15 +493,6 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
493
493
|
return false;
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
|
-
Object.defineProperty(ButtonDirective.prototype, "text", {
|
|
497
|
-
get: function () {
|
|
498
|
-
if (kendo_angular_common_1.isDocumentAvailable()) {
|
|
499
|
-
return this.element.innerHTML.trim();
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
enumerable: true,
|
|
503
|
-
configurable: true
|
|
504
|
-
});
|
|
505
496
|
ButtonDirective.prototype.addImgIcon = function (imageUrl) {
|
|
506
497
|
var renderer = this.renderer;
|
|
507
498
|
this.iconSpanNode = renderer.createElement('span');
|
|
@@ -531,8 +522,11 @@ var ButtonDirective = /** @class */ (function () {
|
|
|
531
522
|
}
|
|
532
523
|
};
|
|
533
524
|
ButtonDirective.prototype.addTextSpan = function () {
|
|
534
|
-
if (kendo_angular_common_1.isDocumentAvailable() && this.hasText()) {
|
|
535
|
-
|
|
525
|
+
if (kendo_angular_common_1.isDocumentAvailable() && this.hasText() && util_1.isPresent(this.element.append)) {
|
|
526
|
+
var span = this.renderer.createElement('span');
|
|
527
|
+
this.renderer.addClass(span, 'k-button-text');
|
|
528
|
+
span.append.apply(span, Array.from(this.element.childNodes));
|
|
529
|
+
this.element.append(span);
|
|
536
530
|
}
|
|
537
531
|
};
|
|
538
532
|
ButtonDirective.prototype.prependChild = function (node) {
|
|
@@ -59,7 +59,7 @@ var ChipComponent = /** @class */ (function () {
|
|
|
59
59
|
return this._size;
|
|
60
60
|
},
|
|
61
61
|
/**
|
|
62
|
-
* The size property specifies the
|
|
62
|
+
* The size property specifies the padding of the Chip
|
|
63
63
|
* ([see example]({% slug appearance_chip %}#toc-size)).
|
|
64
64
|
*
|
|
65
65
|
* The possible values are:
|
|
@@ -75,7 +75,7 @@ var DropDownButtonComponent = /** @class */ (function (_super) {
|
|
|
75
75
|
*/
|
|
76
76
|
_this.imageUrl = '';
|
|
77
77
|
/**
|
|
78
|
-
* The size property specifies the
|
|
78
|
+
* The size property specifies the padding of the DropDownButton
|
|
79
79
|
* ([see example]({% slug api_buttons_dropdownbuttoncomponent %}#toc-size)).
|
|
80
80
|
*
|
|
81
81
|
* The possible values are:
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-buttons',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1642569714,
|
|
15
15
|
version: '',
|
|
16
16
|
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'
|
|
17
17
|
};
|
|
@@ -101,7 +101,7 @@ var SplitButtonComponent = /** @class */ (function (_super) {
|
|
|
101
101
|
*/
|
|
102
102
|
_this.imageUrl = '';
|
|
103
103
|
/**
|
|
104
|
-
* The size property specifies the
|
|
104
|
+
* The size property specifies the padding of the SplitButton
|
|
105
105
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
106
106
|
*
|
|
107
107
|
* The possible values are:
|