@progress/kendo-angular-dialog 18.4.1-develop.1 → 18.5.0-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.
@@ -29,10 +29,23 @@ export declare class DialogRef {
29
29
  */
30
30
  content: ComponentRef<any>;
31
31
  /**
32
- * Allows you to close the Dialog through code.
33
- * When called with no arguments,
34
- * the `result` Observable will be of type DialogCloseResult.
35
- * When called with an argument, the `result` Observable will hold the provided value.
32
+ * Closes the Dialog programmatically.
33
+ *
34
+ * When called without a value, the result Observable emits an empty `DialogCloseResult` object.
35
+ *
36
+ * When called with a value, the result Observable emits the provided value.
37
+ *
38
+ * Usage Examples:
39
+ * ```typescript
40
+ * // Close without arguments: Returns an empty `DialogCloseResult` object.
41
+ * dialogRef.close();
42
+ *
43
+ * // Simulate clicking an action button: Pass a `DialogAction` object.
44
+ * dialogRef.close({ text: 'OK', primary: true });
45
+ *
46
+ * // Return custom data: Pass a custom object.
47
+ * dialogRef.close({ success: true, data: { id: 123 } });
48
+ * ```
36
49
  */
37
50
  close: Function;
38
51
  }
@@ -25,10 +25,23 @@ export class DialogRef {
25
25
  */
26
26
  content;
27
27
  /**
28
- * Allows you to close the Dialog through code.
29
- * When called with no arguments,
30
- * the `result` Observable will be of type DialogCloseResult.
31
- * When called with an argument, the `result` Observable will hold the provided value.
28
+ * Closes the Dialog programmatically.
29
+ *
30
+ * When called without a value, the result Observable emits an empty `DialogCloseResult` object.
31
+ *
32
+ * When called with a value, the result Observable emits the provided value.
33
+ *
34
+ * Usage Examples:
35
+ * ```typescript
36
+ * // Close without arguments: Returns an empty `DialogCloseResult` object.
37
+ * dialogRef.close();
38
+ *
39
+ * // Simulate clicking an action button: Pass a `DialogAction` object.
40
+ * dialogRef.close({ text: 'OK', primary: true });
41
+ *
42
+ * // Return custom data: Pass a custom object.
43
+ * dialogRef.close({ success: true, data: { id: 123 } });
44
+ * ```
32
45
  */
33
46
  close;
34
47
  }
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1743596486,
14
- version: '18.4.1-develop.1',
13
+ publishDate: 1743748409,
14
+ version: '18.5.0-develop.1',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -654,8 +654,8 @@ const packageMetadata = {
654
654
  productName: 'Kendo UI for Angular',
655
655
  productCode: 'KENDOUIANGULAR',
656
656
  productCodes: ['KENDOUIANGULAR'],
657
- publishDate: 1743596486,
658
- version: '18.4.1-develop.1',
657
+ publishDate: 1743748409,
658
+ version: '18.5.0-develop.1',
659
659
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
660
660
  };
661
661
 
@@ -1355,10 +1355,23 @@ class DialogRef {
1355
1355
  */
1356
1356
  content;
1357
1357
  /**
1358
- * Allows you to close the Dialog through code.
1359
- * When called with no arguments,
1360
- * the `result` Observable will be of type DialogCloseResult.
1361
- * When called with an argument, the `result` Observable will hold the provided value.
1358
+ * Closes the Dialog programmatically.
1359
+ *
1360
+ * When called without a value, the result Observable emits an empty `DialogCloseResult` object.
1361
+ *
1362
+ * When called with a value, the result Observable emits the provided value.
1363
+ *
1364
+ * Usage Examples:
1365
+ * ```typescript
1366
+ * // Close without arguments: Returns an empty `DialogCloseResult` object.
1367
+ * dialogRef.close();
1368
+ *
1369
+ * // Simulate clicking an action button: Pass a `DialogAction` object.
1370
+ * dialogRef.close({ text: 'OK', primary: true });
1371
+ *
1372
+ * // Return custom data: Pass a custom object.
1373
+ * dialogRef.close({ success: true, data: { id: 123 } });
1374
+ * ```
1362
1375
  */
1363
1376
  close;
1364
1377
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "18.4.1-develop.1",
3
+ "version": "18.5.0-develop.1",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,7 +23,7 @@
23
23
  "package": {
24
24
  "productName": "Kendo UI for Angular",
25
25
  "productCode": "KENDOUIANGULAR",
26
- "publishDate": 1743596486,
26
+ "publishDate": 1743748409,
27
27
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
28
28
  }
29
29
  },
@@ -33,15 +33,15 @@
33
33
  "@angular/core": "16 - 19",
34
34
  "@angular/platform-browser": "16 - 19",
35
35
  "@progress/kendo-licensing": "^1.5.0",
36
- "@progress/kendo-angular-buttons": "18.4.1-develop.1",
37
- "@progress/kendo-angular-common": "18.4.1-develop.1",
38
- "@progress/kendo-angular-icons": "18.4.1-develop.1",
39
- "@progress/kendo-angular-l10n": "18.4.1-develop.1",
36
+ "@progress/kendo-angular-buttons": "18.5.0-develop.1",
37
+ "@progress/kendo-angular-common": "18.5.0-develop.1",
38
+ "@progress/kendo-angular-icons": "18.5.0-develop.1",
39
+ "@progress/kendo-angular-l10n": "18.5.0-develop.1",
40
40
  "rxjs": "^6.5.3 || ^7.0.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "tslib": "^2.3.1",
44
- "@progress/kendo-angular-schematics": "18.4.1-develop.1",
44
+ "@progress/kendo-angular-schematics": "18.5.0-develop.1",
45
45
  "@progress/kendo-popup-common": "^1.7.0"
46
46
  },
47
47
  "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': '18.4.1-develop.1',
7
+ '@progress/kendo-angular-popup': '18.5.0-develop.1',
8
8
  // Peer dependency of icons
9
9
  '@progress/kendo-svg-icons': '^4.0.0'
10
10
  } });