@progress/kendo-angular-dialog 24.0.0-develop.9 → 24.0.1-develop.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "24.0.0-develop.9",
3
+ "version": "24.0.1-develop.1",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,10 +20,32 @@
20
20
  ],
21
21
  "@progress": {
22
22
  "friendlyName": "Dialogs",
23
+ "migrations": {
24
+ "options": {
25
+ "parser": "tsx",
26
+ "pattern": "*.{ts,html,css,scss,sass,less}"
27
+ },
28
+ "codemods": {
29
+ "24": [
30
+ {
31
+ "description": "The Dialog's themeColor input property is removed.",
32
+ "file": "codemods/v24/dialog-themeColor.js"
33
+ },
34
+ {
35
+ "description": "The Window's themeColor input property is removed.",
36
+ "file": "codemods/v24/window-themeColor.js"
37
+ },
38
+ {
39
+ "description": "The themeColor property is removed from DialogSettings and WindowSettings.",
40
+ "file": "codemods/v24/dialogSettings-themeColor.js"
41
+ }
42
+ ]
43
+ }
44
+ },
23
45
  "package": {
24
46
  "productName": "Kendo UI for Angular",
25
47
  "productCode": "KENDOUIANGULAR",
26
- "publishDate": 1777365173,
48
+ "publishDate": 1779368457,
27
49
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
28
50
  }
29
51
  },
@@ -33,15 +55,15 @@
33
55
  "@angular/core": "19 - 21",
34
56
  "@angular/platform-browser": "19 - 21",
35
57
  "@progress/kendo-licensing": "^1.11.0",
36
- "@progress/kendo-angular-buttons": "24.0.0-develop.9",
37
- "@progress/kendo-angular-common": "24.0.0-develop.9",
38
- "@progress/kendo-angular-icons": "24.0.0-develop.9",
39
- "@progress/kendo-angular-l10n": "24.0.0-develop.9",
58
+ "@progress/kendo-angular-buttons": "24.0.1-develop.1",
59
+ "@progress/kendo-angular-common": "24.0.1-develop.1",
60
+ "@progress/kendo-angular-icons": "24.0.1-develop.1",
61
+ "@progress/kendo-angular-l10n": "24.0.1-develop.1",
40
62
  "rxjs": "^6.5.3 || ^7.0.0"
41
63
  },
42
64
  "dependencies": {
43
65
  "tslib": "^2.3.1",
44
- "@progress/kendo-angular-schematics": "24.0.0-develop.9",
66
+ "@progress/kendo-angular-schematics": "24.0.1-develop.1",
45
67
  "@progress/kendo-popup-common": "1.9.5"
46
68
  },
47
69
  "schematics": "./schematics/collection.json",
@@ -9,7 +9,7 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
11
11
  // Peer dependency of buttons
12
- '@progress/kendo-angular-popup': '24.0.0-develop.9',
12
+ '@progress/kendo-angular-popup': '24.0.1-develop.1',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });
@@ -52,10 +52,9 @@ export declare class DragResizeService implements OnDestroy {
52
52
  * Handles manual changes of the 'state' property.
53
53
  * Required to distinguish them from action clicks.
54
54
  */
55
- applyManualState(): void;
55
+ applyManualState(previousState?: WindowState): void;
56
56
  closeAction(): void;
57
57
  ensureWidth(): void;
58
- clearHeight(): void;
59
58
  center(): void;
60
59
  currentOffsetAndPosition(): any;
61
60
  currentPosition(): any;
@@ -8,4 +8,3 @@ export * from './window-options';
8
8
  export * from './window-ref';
9
9
  export * from './window-settings';
10
10
  export * from './window-types';
11
- export * from './theme-color';
@@ -6,7 +6,6 @@ import { TemplateRef, ViewContainerRef } from '@angular/core';
6
6
  import { WindowMessages } from './window-messages';
7
7
  import { WindowRef } from './window-ref';
8
8
  import { WindowState } from './window-types';
9
- import { WindowThemeColor } from './theme-color';
10
9
  /**
11
10
  * Represents the settings for the Window actions when you open a Window through `WindowService`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
12
11
  */
@@ -95,8 +94,4 @@ export declare class WindowSettings {
95
94
  * Sets the query selector for the element to focus automatically.
96
95
  */
97
96
  autoFocusedElement?: string;
98
- /**
99
- * Sets the theme color of the Window.
100
- */
101
- themeColor?: WindowThemeColor;
102
97
  }
@@ -11,7 +11,6 @@ import { WindowTitleBarComponent } from './window-titlebar.component';
11
11
  import { NavigationService } from './navigation.service';
12
12
  import { WindowDimensionSetting, WindowOffsetSetting, WindowState } from './models/window-types';
13
13
  import { WindowMessages } from './models/window-messages';
14
- import { WindowThemeColor } from './models';
15
14
  import * as i0 from "@angular/core";
16
15
  /**
17
16
  * Represents the [Kendo UI Window component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/window).
@@ -55,11 +54,6 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
55
54
  */
56
55
  set resizable(value: boolean);
57
56
  get resizable(): boolean;
58
- /**
59
- * Sets the predefined theme color for the Window. The color applies to the title bar background and border, and updates the text color.
60
- */
61
- set themeColor(themeColor: WindowThemeColor);
62
- get themeColor(): WindowThemeColor;
63
57
  /**
64
58
  * @hidden
65
59
  */
@@ -194,13 +188,13 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
194
188
  titleId: string;
195
189
  private _htmlAttributes;
196
190
  private _cssClass;
197
- private _themeColor;
198
191
  private direction;
199
192
  private draged;
200
193
  private resized;
201
194
  private windowSubscription;
202
195
  private domSubs;
203
196
  private localizationChangeSubscription;
197
+ private stateAppliedByAction;
204
198
  constructor(el: ElementRef, renderer: Renderer2, service: DragResizeService, navigation: NavigationService, ngZone: NgZone, localization: LocalizationService);
205
199
  ngAfterViewInit(): void;
206
200
  ngOnInit(): void;
@@ -266,7 +260,6 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
266
260
  * @hidden
267
261
  */
268
262
  private generateTitleId;
269
- private handleThemeColorClass;
270
263
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
271
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "keepContent": { "alias": "keepContent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
264
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "keepContent": { "alias": "keepContent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
272
265
  }
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the possible theme colors for the Dialog.
7
- *
8
- * Use the `DialogThemeColor` type to set the color theme for Dialog components. The possible values are:
9
- * - `primary` &mdash;Applies coloring based on the `primary` theme color.
10
- * - `light`&mdash; Applies coloring based on the `light` theme color.
11
- * - `dark`&mdash; Applies coloring based on the `dark` theme color.
12
- *
13
- */
14
- export type DialogThemeColor = 'primary' | 'light' | 'dark';
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Specifies the possible theme colors of the Window.
7
- *
8
- * The possible values are:
9
- * * `primary`&mdash;Applies coloring based on the `primary` theme color.
10
- * * `light`&mdash; Applies coloring based on the `light` theme color.
11
- * * `dark`&mdash; Applies coloring based on the `dark` theme color.
12
- */
13
- export type WindowThemeColor = 'primary' | 'light' | 'dark';