@progress/kendo-angular-buttons 16.0.0-develop.11 → 16.0.0-develop.13
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.
|
@@ -11,6 +11,10 @@ import { ArrowIconSettings } from '../common/models/arrow-settings';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the Kendo UI Button component for Angular.
|
|
14
|
+
*
|
|
15
|
+
* As of package v16, the `span[kendoButton]` and `kendo-button` selectors are deprecated and can
|
|
16
|
+
* be removed in a future major version. We recommend using the `button[kendoButton]` selector
|
|
17
|
+
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
14
18
|
*/
|
|
15
19
|
export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
16
20
|
renderer: Renderer2;
|
|
@@ -25,6 +25,10 @@ const DEFAULT_THEME_COLOR = 'base';
|
|
|
25
25
|
const DEFAULT_FILL_MODE = 'solid';
|
|
26
26
|
/**
|
|
27
27
|
* Represents the Kendo UI Button component for Angular.
|
|
28
|
+
*
|
|
29
|
+
* As of package v16, the `span[kendoButton]` and `kendo-button` selectors are deprecated and can
|
|
30
|
+
* be removed in a future major version. We recommend using the `button[kendoButton]` selector
|
|
31
|
+
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
28
32
|
*/
|
|
29
33
|
export class ButtonComponent {
|
|
30
34
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -299,6 +303,11 @@ export class ButtonComponent {
|
|
|
299
303
|
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
300
304
|
this.tabIndex = 0;
|
|
301
305
|
}
|
|
306
|
+
if (isDevMode() && isSpanOrKendoButton) {
|
|
307
|
+
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
308
|
+
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
309
|
+
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
310
|
+
}
|
|
302
311
|
this.ngZone.runOutsideAngular(() => {
|
|
303
312
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
304
313
|
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
|
@@ -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:
|
|
13
|
-
version: '16.0.0-develop.
|
|
12
|
+
publishDate: 1715097589,
|
|
13
|
+
version: '16.0.0-develop.13',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -29,8 +29,8 @@ const packageMetadata = {
|
|
|
29
29
|
name: '@progress/kendo-angular-buttons',
|
|
30
30
|
productName: 'Kendo UI for Angular',
|
|
31
31
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
32
|
-
publishDate:
|
|
33
|
-
version: '16.0.0-develop.
|
|
32
|
+
publishDate: 1715097589,
|
|
33
|
+
version: '16.0.0-develop.13',
|
|
34
34
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -153,6 +153,10 @@ const DEFAULT_THEME_COLOR$2 = 'base';
|
|
|
153
153
|
const DEFAULT_FILL_MODE$3 = 'solid';
|
|
154
154
|
/**
|
|
155
155
|
* Represents the Kendo UI Button component for Angular.
|
|
156
|
+
*
|
|
157
|
+
* As of package v16, the `span[kendoButton]` and `kendo-button` selectors are deprecated and can
|
|
158
|
+
* be removed in a future major version. We recommend using the `button[kendoButton]` selector
|
|
159
|
+
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
156
160
|
*/
|
|
157
161
|
class ButtonComponent {
|
|
158
162
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -427,6 +431,11 @@ class ButtonComponent {
|
|
|
427
431
|
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
428
432
|
this.tabIndex = 0;
|
|
429
433
|
}
|
|
434
|
+
if (isDevMode() && isSpanOrKendoButton) {
|
|
435
|
+
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
436
|
+
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
437
|
+
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
438
|
+
}
|
|
430
439
|
this.ngZone.runOutsideAngular(() => {
|
|
431
440
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
432
441
|
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
|
@@ -47,8 +47,8 @@ const packageMetadata = {
|
|
|
47
47
|
name: '@progress/kendo-angular-buttons',
|
|
48
48
|
productName: 'Kendo UI for Angular',
|
|
49
49
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
50
|
-
publishDate:
|
|
51
|
-
version: '16.0.0-develop.
|
|
50
|
+
publishDate: 1715097589,
|
|
51
|
+
version: '16.0.0-develop.13',
|
|
52
52
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
53
53
|
};
|
|
54
54
|
|
|
@@ -153,6 +153,10 @@ const DEFAULT_THEME_COLOR$2 = 'base';
|
|
|
153
153
|
const DEFAULT_FILL_MODE$3 = 'solid';
|
|
154
154
|
/**
|
|
155
155
|
* Represents the Kendo UI Button component for Angular.
|
|
156
|
+
*
|
|
157
|
+
* As of package v16, the `span[kendoButton]` and `kendo-button` selectors are deprecated and can
|
|
158
|
+
* be removed in a future major version. We recommend using the `button[kendoButton]` selector
|
|
159
|
+
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
156
160
|
*/
|
|
157
161
|
class ButtonComponent {
|
|
158
162
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -427,6 +431,11 @@ class ButtonComponent {
|
|
|
427
431
|
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
428
432
|
this.tabIndex = 0;
|
|
429
433
|
}
|
|
434
|
+
if (isDevMode() && isSpanOrKendoButton) {
|
|
435
|
+
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
436
|
+
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
437
|
+
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
438
|
+
}
|
|
430
439
|
this.ngZone.runOutsideAngular(() => {
|
|
431
440
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
432
441
|
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "16.0.0-develop.
|
|
3
|
+
"version": "16.0.0-develop.13",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@angular/core": "15 - 17",
|
|
26
26
|
"@angular/platform-browser": "15 - 17",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "16.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-l10n": "16.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-popup": "16.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-icons": "16.0.0-develop.
|
|
28
|
+
"@progress/kendo-angular-common": "16.0.0-develop.13",
|
|
29
|
+
"@progress/kendo-angular-l10n": "16.0.0-develop.13",
|
|
30
|
+
"@progress/kendo-angular-popup": "16.0.0-develop.13",
|
|
31
|
+
"@progress/kendo-angular-icons": "16.0.0-develop.13",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "16.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-schematics": "16.0.0-develop.13",
|
|
37
37
|
"@progress/kendo-common": "^0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|