@progress/kendo-angular-dialog 16.10.1-develop.3 → 16.11.0-develop.2

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.
@@ -7,6 +7,7 @@ import { ActionsLayout } from "./../../common/actions-layout";
7
7
  import { DialogAnimation } from "./dialog-animation";
8
8
  import { DialogRef } from "./dialog-ref";
9
9
  import { DialogResult } from "./dialog-result";
10
+ import { DialogThemeColor } from "./theme-color";
10
11
  /**
11
12
  * The settings that can be used when the Dialog is opened through `DialogService`.
12
13
  * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
@@ -106,4 +107,8 @@ export declare class DialogSettings {
106
107
  * Sets the focused element query selector.
107
108
  */
108
109
  autoFocusedElement?: string;
110
+ /**
111
+ * Specifies the theme color of the Dialog.
112
+ */
113
+ themeColor?: DialogThemeColor;
109
114
  }
@@ -178,6 +178,7 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
178
178
  instance.minHeight = options.minHeight;
179
179
  instance.maxHeight = options.maxHeight;
180
180
  instance.autoFocusedElement = options.autoFocusedElement;
181
+ instance.themeColor = options.themeColor != undefined ? options.themeColor : null;
181
182
  instance.closeTitle = options.closeTitle;
182
183
  instance.cssClass = options.cssClass;
183
184
  instance.htmlAttributes = options.htmlAttributes;
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dialog',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1727275608,
13
- version: '16.10.1-develop.3',
12
+ publishDate: 1727422848,
13
+ version: '16.11.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -176,6 +176,9 @@ export class WindowService {
176
176
  instance.keepContent = true;
177
177
  }
178
178
  }
179
+ if (isPresent(options.themeColor)) {
180
+ instance.themeColor = options.themeColor;
181
+ }
179
182
  if (options.content instanceof TemplateRef) {
180
183
  instance.contentTemplate = options.content;
181
184
  }
@@ -616,8 +616,8 @@ const packageMetadata = {
616
616
  name: '@progress/kendo-angular-dialog',
617
617
  productName: 'Kendo UI for Angular',
618
618
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
619
- publishDate: 1727275608,
620
- version: '16.10.1-develop.3',
619
+ publishDate: 1727422848,
620
+ version: '16.11.0-develop.2',
621
621
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
622
622
  };
623
623
 
@@ -1468,6 +1468,7 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
1468
1468
  instance.minHeight = options.minHeight;
1469
1469
  instance.maxHeight = options.maxHeight;
1470
1470
  instance.autoFocusedElement = options.autoFocusedElement;
1471
+ instance.themeColor = options.themeColor != undefined ? options.themeColor : null;
1471
1472
  instance.closeTitle = options.closeTitle;
1472
1473
  instance.cssClass = options.cssClass;
1473
1474
  instance.htmlAttributes = options.htmlAttributes;
@@ -3504,6 +3505,9 @@ class WindowService {
3504
3505
  instance.keepContent = true;
3505
3506
  }
3506
3507
  }
3508
+ if (isPresent(options.themeColor)) {
3509
+ instance.themeColor = options.themeColor;
3510
+ }
3507
3511
  if (options.content instanceof TemplateRef) {
3508
3512
  instance.contentTemplate = options.content;
3509
3513
  }
@@ -612,8 +612,8 @@ const packageMetadata = {
612
612
  name: '@progress/kendo-angular-dialog',
613
613
  productName: 'Kendo UI for Angular',
614
614
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
615
- publishDate: 1727275608,
616
- version: '16.10.1-develop.3',
615
+ publishDate: 1727422848,
616
+ version: '16.11.0-develop.2',
617
617
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
618
618
  };
619
619
 
@@ -1464,6 +1464,7 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
1464
1464
  instance.minHeight = options.minHeight;
1465
1465
  instance.maxHeight = options.maxHeight;
1466
1466
  instance.autoFocusedElement = options.autoFocusedElement;
1467
+ instance.themeColor = options.themeColor != undefined ? options.themeColor : null;
1467
1468
  instance.closeTitle = options.closeTitle;
1468
1469
  instance.cssClass = options.cssClass;
1469
1470
  instance.htmlAttributes = options.htmlAttributes;
@@ -3488,6 +3489,9 @@ class WindowService {
3488
3489
  instance.keepContent = true;
3489
3490
  }
3490
3491
  }
3492
+ if (isPresent(options.themeColor)) {
3493
+ instance.themeColor = options.themeColor;
3494
+ }
3491
3495
  if (options.content instanceof TemplateRef) {
3492
3496
  instance.contentTemplate = options.content;
3493
3497
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "16.10.1-develop.3",
3
+ "version": "16.11.0-develop.2",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -27,15 +27,15 @@
27
27
  "@angular/core": "15 - 18",
28
28
  "@angular/platform-browser": "15 - 18",
29
29
  "@progress/kendo-licensing": "^1.0.2",
30
- "@progress/kendo-angular-buttons": "16.10.1-develop.3",
31
- "@progress/kendo-angular-common": "16.10.1-develop.3",
32
- "@progress/kendo-angular-icons": "16.10.1-develop.3",
33
- "@progress/kendo-angular-l10n": "16.10.1-develop.3",
30
+ "@progress/kendo-angular-buttons": "16.11.0-develop.2",
31
+ "@progress/kendo-angular-common": "16.11.0-develop.2",
32
+ "@progress/kendo-angular-icons": "16.11.0-develop.2",
33
+ "@progress/kendo-angular-l10n": "16.11.0-develop.2",
34
34
  "rxjs": "^6.5.3 || ^7.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "16.10.1-develop.3",
38
+ "@progress/kendo-angular-schematics": "16.11.0-develop.2",
39
39
  "@progress/kendo-popup-common": "^1.7.0"
40
40
  },
41
41
  "schematics": "./schematics/collection.json",
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
6
6
  // Peer dependency of buttons
7
- '@progress/kendo-angular-popup': '16.10.1-develop.3',
7
+ '@progress/kendo-angular-popup': '16.11.0-develop.2',
8
8
  // Peer dependency of icons
9
9
  '@progress/kendo-svg-icons': '^3.0.0'
10
10
  } });
@@ -6,6 +6,7 @@ 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';
9
10
  /**
10
11
  * The settings for the Window actions when the Window is opened through `WindowService`
11
12
  * ([see example]({% slug api_dialog_windowservice %}#toc-open)).
@@ -100,4 +101,8 @@ export declare class WindowSettings {
100
101
  * Sets the focused element query selector.
101
102
  */
102
103
  autoFocusedElement?: string;
104
+ /**
105
+ * Sets the theme color of the Window.
106
+ */
107
+ themeColor?: WindowThemeColor;
103
108
  }