@progress/kendo-angular-tooltip 24.0.0-develop.20 → 24.0.0-develop.22

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.
@@ -302,8 +302,8 @@ const packageMetadata = {
302
302
  productName: 'Kendo UI for Angular',
303
303
  productCode: 'KENDOUIANGULAR',
304
304
  productCodes: ['KENDOUIANGULAR'],
305
- publishDate: 1778149470,
306
- version: '24.0.0-develop.20',
305
+ publishDate: 1778164680,
306
+ version: '24.0.0-develop.22',
307
307
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
308
308
  };
309
309
 
@@ -2067,6 +2067,11 @@ class TooltipDirective {
2067
2067
  * Sets a CSS class for the Tooltip.
2068
2068
  */
2069
2069
  tooltipClass;
2070
+ /**
2071
+ * Specifies the theme color of the Tooltip.
2072
+ * The theme color applies the corresponding `k-tooltip-{themeColor}` class to the Tooltip element.
2073
+ */
2074
+ themeColor;
2070
2075
  /**
2071
2076
  * @hidden
2072
2077
  * Specifies a CSS class that will be added to the kendo-tooltip element.
@@ -2298,6 +2303,9 @@ class TooltipDirective {
2298
2303
  if (this.tooltipClass) {
2299
2304
  this.renderer.addClass(this.popupRef.popupElement, this.tooltipClass);
2300
2305
  }
2306
+ if (this.themeColor) {
2307
+ this.renderer.addClass(this.popupRef.content.location.nativeElement, `k-tooltip-${this.themeColor}`);
2308
+ }
2301
2309
  if (this.tooltipContentClass) {
2302
2310
  this.renderer.addClass(this.popupRef.content.instance['content'].nativeElement, this.tooltipContentClass);
2303
2311
  }
@@ -2417,7 +2425,7 @@ class TooltipDirective {
2417
2425
  }
2418
2426
  }
2419
2427
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$1.PopupService }, { token: TooltipSettings, optional: true }, { token: TOOLTIP_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2420
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: TooltipDirective, isStandalone: true, selector: "[kendoTooltip]", inputs: { filter: "filter", position: "position", titleTemplate: "titleTemplate", showOn: "showOn", showAfter: "showAfter", callout: "callout", closable: "closable", offset: "offset", tooltipWidth: "tooltipWidth", tooltipHeight: "tooltipHeight", tooltipClass: "tooltipClass", tooltipContentClass: "tooltipContentClass", collision: "collision", closeTitle: "closeTitle", tooltipTemplate: "tooltipTemplate" }, exportAs: ["kendoTooltip"], usesOnChanges: true, ngImport: i0 });
2428
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: TooltipDirective, isStandalone: true, selector: "[kendoTooltip]", inputs: { filter: "filter", position: "position", titleTemplate: "titleTemplate", showOn: "showOn", showAfter: "showAfter", callout: "callout", closable: "closable", offset: "offset", tooltipWidth: "tooltipWidth", tooltipHeight: "tooltipHeight", tooltipClass: "tooltipClass", themeColor: "themeColor", tooltipContentClass: "tooltipContentClass", collision: "collision", closeTitle: "closeTitle", tooltipTemplate: "tooltipTemplate" }, exportAs: ["kendoTooltip"], usesOnChanges: true, ngImport: i0 });
2421
2429
  }
2422
2430
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TooltipDirective, decorators: [{
2423
2431
  type: Directive,
@@ -2455,6 +2463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
2455
2463
  type: Input
2456
2464
  }], tooltipClass: [{
2457
2465
  type: Input
2466
+ }], themeColor: [{
2467
+ type: Input
2458
2468
  }], tooltipContentClass: [{
2459
2469
  type: Input
2460
2470
  }], collision: [{
package/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export { PopoverActionsTemplateDirective } from './popover/template-directives/a
16
16
  export { ShowOption } from './models/show.option.type';
17
17
  export { PopoverShowOption } from './models/popover-show-option.type';
18
18
  export { Position } from './models/position.type';
19
+ export { TooltipThemeColor } from './models/theme-color.type';
19
20
  export { PopoverFn, PopoverDataFn } from './models/functions.model';
20
21
  export { PopoverAnimation } from './models/animation.model';
21
22
  export { PopoverShowEvent, PopoverShownEvent, PopoverHideEvent, PopoverHiddenEvent } from './models/events';
@@ -0,0 +1,16 @@
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 predefined theme color of the Tooltip.
7
+ *
8
+ * The available values are:
9
+ * - `base` (default)—Applies coloring based on the `base` theme color.
10
+ * - `inverse`—Applies coloring based on the `inverse` theme color.
11
+ * - `info`—Applies coloring based on the `info` theme color.
12
+ * - `success`—Applies coloring based on the `success` theme color.
13
+ * - `warning`—Applies coloring based on the `warning` theme color.
14
+ * - `error`—Applies coloring based on the `error` theme color.
15
+ */
16
+ export type TooltipThemeColor = 'base' | 'inverse' | 'info' | 'success' | 'warning' | 'error';
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1778149470,
11
- "version": "24.0.0-develop.20",
10
+ "publishDate": 1778164680,
11
+ "version": "24.0.0-develop.22",
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-tooltip",
3
- "version": "24.0.0-develop.20",
3
+ "version": "24.0.0-develop.22",
4
4
  "description": "Kendo UI Tooltip for Angular - A highly customizable and easily themeable tooltip from the creators developers trust for professional Angular components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,7 +21,7 @@
21
21
  "package": {
22
22
  "productName": "Kendo UI for Angular",
23
23
  "productCode": "KENDOUIANGULAR",
24
- "publishDate": 1778149470,
24
+ "publishDate": 1778164680,
25
25
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
26
26
  }
27
27
  },
@@ -31,15 +31,15 @@
31
31
  "@angular/core": "19 - 21",
32
32
  "@angular/platform-browser": "19 - 21",
33
33
  "@progress/kendo-licensing": "^1.11.0",
34
- "@progress/kendo-angular-common": "24.0.0-develop.20",
35
- "@progress/kendo-angular-l10n": "24.0.0-develop.20",
36
- "@progress/kendo-angular-popup": "24.0.0-develop.20",
37
- "@progress/kendo-angular-icons": "24.0.0-develop.20",
34
+ "@progress/kendo-angular-common": "24.0.0-develop.22",
35
+ "@progress/kendo-angular-l10n": "24.0.0-develop.22",
36
+ "@progress/kendo-angular-popup": "24.0.0-develop.22",
37
+ "@progress/kendo-angular-icons": "24.0.0-develop.22",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "24.0.0-develop.20"
42
+ "@progress/kendo-angular-schematics": "24.0.0-develop.22"
43
43
  },
44
44
  "schematics": "./schematics/collection.json",
45
45
  "module": "fesm2022/progress-kendo-angular-tooltip.mjs",
@@ -7,6 +7,7 @@ import { PopupService, PopupRef, Collision } from '@progress/kendo-angular-popup
7
7
  import { TooltipSettings } from './tooltip.settings';
8
8
  import { Position } from '../models/position.type';
9
9
  import { ShowOption } from '../models/show.option.type';
10
+ import { TooltipThemeColor } from '../models/theme-color.type';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * Represents the [Kendo UI Tooltip directive for Angular](https://www.telerik.com/kendo-angular-ui/components/tooltips/tooltip).
@@ -84,6 +85,11 @@ export declare class TooltipDirective implements OnDestroy, OnChanges, AfterView
84
85
  * Sets a CSS class for the Tooltip.
85
86
  */
86
87
  tooltipClass: string;
88
+ /**
89
+ * Specifies the theme color of the Tooltip.
90
+ * The theme color applies the corresponding `k-tooltip-{themeColor}` class to the Tooltip element.
91
+ */
92
+ themeColor: TooltipThemeColor;
87
93
  /**
88
94
  * @hidden
89
95
  * Specifies a CSS class that will be added to the kendo-tooltip element.
@@ -150,5 +156,5 @@ export declare class TooltipDirective implements OnDestroy, OnChanges, AfterView
150
156
  private onMouseOut;
151
157
  private verifyProperties;
152
158
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, [null, null, null, null, { optional: true; }, { optional: true; }]>;
153
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[kendoTooltip]", ["kendoTooltip"], { "filter": { "alias": "filter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; "showOn": { "alias": "showOn"; "required": false; }; "showAfter": { "alias": "showAfter"; "required": false; }; "callout": { "alias": "callout"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "tooltipWidth": { "alias": "tooltipWidth"; "required": false; }; "tooltipHeight": { "alias": "tooltipHeight"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, {}, never, never, true, never>;
159
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[kendoTooltip]", ["kendoTooltip"], { "filter": { "alias": "filter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; "showOn": { "alias": "showOn"; "required": false; }; "showAfter": { "alias": "showAfter"; "required": false; }; "callout": { "alias": "callout"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "tooltipWidth": { "alias": "tooltipWidth"; "required": false; }; "tooltipHeight": { "alias": "tooltipHeight"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; }, {}, never, never, true, never>;
154
160
  }