@progress/kendo-angular-buttons 24.0.0-develop.4 → 24.0.0-develop.40
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/NOTICE.txt +2599 -172
- package/button/button.component.d.ts +2 -12
- package/chip/chip-list.component.d.ts +0 -1
- package/chip/chip.component.d.ts +1 -2
- 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/common/models/size.d.ts +13 -1
- package/common/models/theme-color.d.ts +11 -3
- package/dropdownbutton/dropdownbutton.component.d.ts +2 -2
- package/fesm2022/progress-kendo-angular-buttons.mjs +56 -90
- package/floatingactionbutton/floatingactionbutton.component.d.ts +6 -6
- package/index.d.ts +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +42 -7
- package/segmentedcontrol/models.d.ts +4 -0
- package/segmentedcontrol/segmented-control.component.d.ts +3 -4
- package/speechtotextbutton/speechtotextbutton.component.d.ts +0 -1
- package/splitbutton/splitbutton.component.d.ts +2 -2
- package/util.d.ts +1 -0
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.40",
|
|
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": 1779214877,
|
|
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.40",
|
|
70
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.40",
|
|
71
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.40",
|
|
72
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.40",
|
|
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.40",
|
|
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"
|
|
@@ -9,6 +9,10 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
9
9
|
* - `stretch`—Items stretch to fill the full width of the control.
|
|
10
10
|
*/
|
|
11
11
|
export type SegmentedControlLayout = 'compact' | 'stretch';
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the possible sizes of the SegmentedControl.
|
|
14
|
+
*/
|
|
15
|
+
export type SegmentedControlSize = 'small' | 'medium' | 'large';
|
|
12
16
|
/**
|
|
13
17
|
* Represents the settings for an item in the `SegmentedControlComponent`.
|
|
14
18
|
*/
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import {
|
|
9
|
-
import { SegmentedItemSettings, SegmentedControlLayout } from './models';
|
|
8
|
+
import { SegmentedItemSettings, SegmentedControlLayout, SegmentedControlSize } from './models';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
/**
|
|
12
11
|
* Represents the Kendo UI SegmentedControl component for Angular.
|
|
@@ -39,8 +38,8 @@ export declare class SegmentedControlComponent implements AfterViewInit, OnDestr
|
|
|
39
38
|
/**
|
|
40
39
|
* Specifies the size of the SegmentedControl.
|
|
41
40
|
*/
|
|
42
|
-
set size(size:
|
|
43
|
-
get size():
|
|
41
|
+
set size(size: SegmentedControlSize);
|
|
42
|
+
get size(): SegmentedControlSize;
|
|
44
43
|
/**
|
|
45
44
|
* Specifies the index of the selected button in the `items` array.
|
|
46
45
|
*
|
|
@@ -11,7 +11,7 @@ import { ButtonItemTemplateDirective } from './../listbutton/button-item-templat
|
|
|
11
11
|
import { FocusService } from './../focusable/focus.service';
|
|
12
12
|
import { NavigationService } from './../navigation/navigation.service';
|
|
13
13
|
import { PreventableEvent } from '../preventable-event';
|
|
14
|
-
import { ButtonFillMode, ButtonRounded,
|
|
14
|
+
import { ButtonFillMode, ButtonRounded, ButtonThemeColor, SplitButtonSize } from '../common/models';
|
|
15
15
|
import { PopupContainerService } from '../listbutton/container.service';
|
|
16
16
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
@@ -77,7 +77,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
77
77
|
/**
|
|
78
78
|
* Configures the padding of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#size)). The default value is set by the Kendo theme.
|
|
79
79
|
*/
|
|
80
|
-
size:
|
|
80
|
+
size: SplitButtonSize;
|
|
81
81
|
/**
|
|
82
82
|
* Configures the border radius of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#rounded)). The default value is set by the Kendo theme.
|
|
83
83
|
*/
|