@progress/kendo-angular-buttons 24.0.0-develop.37 → 24.0.0-develop.39
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/codemods/libs/buttons/codemods/v24/buttons-rendering-changes.js +32 -0
- package/codemods/libs/buttons/codemods/v24/dropdownbutton-ButtonSize.js +26 -0
- package/codemods/libs/buttons/codemods/v24/fab-ButtonSize.js +26 -0
- package/codemods/libs/buttons/codemods/v24/fab-ButtonThemeColor.js +26 -0
- package/codemods/libs/buttons/codemods/v24/splitbutton-ButtonSize.js +26 -0
- package/codemods/libs/buttons/codemods/v24/themecolor-light-dark.js +53 -0
- package/codemods/libs/common/src/codemods/utils.js +1488 -0
- package/fesm2022/progress-kendo-angular-buttons.mjs +11 -3
- package/package-metadata.mjs +2 -2
- package/package.json +42 -7
|
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
import { Injectable, isDevMode, EventEmitter, HostListener, HostBinding, Output, Input, Optional, Component, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ViewChild, ContentChild, forwardRef, SkipSelf, ChangeDetectionStrategy, 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, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
|
+
import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, KENDO_WEBMCP_HOST, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
10
10
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
11
11
|
import { chevronDownIcon, xCircleIcon, moreVerticalIcon, microphoneIcon, stopIcon, pasteSparkleIcon } from '@progress/kendo-svg-icons';
|
|
12
12
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
@@ -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: 1779209623,
|
|
53
|
+
version: '24.0.0-develop.39',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -542,6 +542,10 @@ class ButtonComponent {
|
|
|
542
542
|
{
|
|
543
543
|
provide: L10N_PREFIX,
|
|
544
544
|
useValue: 'kendo.button'
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
provide: KENDO_WEBMCP_HOST,
|
|
548
|
+
useExisting: ButtonComponent
|
|
545
549
|
}
|
|
546
550
|
], exportAs: ["kendoButton"], usesOnChanges: true, ngImport: i0, template: `
|
|
547
551
|
<ng-template #iconTemplate>
|
|
@@ -593,6 +597,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
593
597
|
{
|
|
594
598
|
provide: L10N_PREFIX,
|
|
595
599
|
useValue: 'kendo.button'
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
provide: KENDO_WEBMCP_HOST,
|
|
603
|
+
useExisting: ButtonComponent
|
|
596
604
|
}
|
|
597
605
|
],
|
|
598
606
|
selector: 'button[kendoButton]',
|
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": 1779209623,
|
|
11
|
+
"version": "24.0.0-develop.39",
|
|
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.39",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,10 +18,45 @@
|
|
|
18
18
|
],
|
|
19
19
|
"@progress": {
|
|
20
20
|
"friendlyName": "Buttons",
|
|
21
|
+
"migrations": {
|
|
22
|
+
"options": {
|
|
23
|
+
"parser": "tsx",
|
|
24
|
+
"pattern": "*.{ts,html,css,scss,sass,less}"
|
|
25
|
+
},
|
|
26
|
+
"codemods": {
|
|
27
|
+
"24": [
|
|
28
|
+
{
|
|
29
|
+
"description": "The ButtonThemeColor interface is renamed to FloatingActionButtonThemeColor for the FloatingActionButton.",
|
|
30
|
+
"file": "codemods/v24/fab-ButtonThemeColor.js"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"description": "The ButtonSize interface is renamed to FloatingActionButtonSize for the FloatingActionButton.",
|
|
34
|
+
"file": "codemods/v24/fab-ButtonSize.js"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"description": "The ButtonSize interface is renamed to DropDownButtonSize for the DropDownButton.",
|
|
38
|
+
"file": "codemods/v24/dropdownbutton-ButtonSize.js"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"description": "The ButtonSize interface is renamed to SplitButtonSize for the SplitButton.",
|
|
42
|
+
"file": "codemods/v24/splitbutton-ButtonSize.js"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"description": "The Button, DropDownButton, and SplitButton components have rendering changes that may affect custom styling.",
|
|
46
|
+
"file": "codemods/v24/buttons-rendering-changes.js",
|
|
47
|
+
"instructionsOnly": true
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"description": "ButtonThemeColor no longer accepts 'light' and 'dark' values for Button and FloatingActionButton.",
|
|
51
|
+
"file": "codemods/v24/themecolor-light-dark.js"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
21
56
|
"package": {
|
|
22
57
|
"productName": "Kendo UI for Angular",
|
|
23
58
|
"productCode": "KENDOUIANGULAR",
|
|
24
|
-
"publishDate":
|
|
59
|
+
"publishDate": 1779209623,
|
|
25
60
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
26
61
|
}
|
|
27
62
|
},
|
|
@@ -31,15 +66,15 @@
|
|
|
31
66
|
"@angular/core": "19 - 21",
|
|
32
67
|
"@angular/platform-browser": "19 - 21",
|
|
33
68
|
"@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.
|
|
69
|
+
"@progress/kendo-angular-common": "24.0.0-develop.39",
|
|
70
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.39",
|
|
71
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.39",
|
|
72
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.39",
|
|
38
73
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
74
|
},
|
|
40
75
|
"dependencies": {
|
|
41
76
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
77
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.39",
|
|
43
78
|
"@progress/kendo-common": "^1.0.1",
|
|
44
79
|
"@progress/kendo-webspeech-common": "1.0.1",
|
|
45
80
|
"@progress/kendo-smartpaste-common": "1.0.0"
|