@progress/kendo-angular-tooltip 21.3.0-develop.1 → 21.3.0-develop.11
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.
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '21.3.0-develop.
|
|
13
|
+
publishDate: 1765375139,
|
|
14
|
+
version: '21.3.0-develop.11',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -111,23 +111,30 @@ export class TooltipContentComponent {
|
|
|
111
111
|
const isVertical = position === 'top' || position === 'bottom';
|
|
112
112
|
const flipDeg = '180deg';
|
|
113
113
|
const zeroDeg = '0deg';
|
|
114
|
+
const sizeOffset = `${-calloutSize}px`;
|
|
115
|
+
let styleToUpdate;
|
|
116
|
+
switch (position) {
|
|
117
|
+
case 'top':
|
|
118
|
+
styleToUpdate = 'bottom';
|
|
119
|
+
break;
|
|
120
|
+
case 'bottom':
|
|
121
|
+
styleToUpdate = 'top';
|
|
122
|
+
break;
|
|
123
|
+
case 'left':
|
|
124
|
+
styleToUpdate = 'right';
|
|
125
|
+
break;
|
|
126
|
+
case 'right':
|
|
127
|
+
styleToUpdate = 'left';
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
114
130
|
if (!isFlip) {
|
|
115
131
|
styles.transform = isVertical ? `rotateX(${zeroDeg})` : `rotateY(${zeroDeg})`;
|
|
132
|
+
styles[styleToUpdate] = sizeOffset;
|
|
133
|
+
styles[position] = 'unset';
|
|
116
134
|
return styles;
|
|
117
135
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
else if (position === 'bottom') {
|
|
122
|
-
styles.top = 'unset';
|
|
123
|
-
}
|
|
124
|
-
else if (position === 'left') {
|
|
125
|
-
styles.right = 'unset';
|
|
126
|
-
}
|
|
127
|
-
else if (position === 'right') {
|
|
128
|
-
styles.left = 'unset';
|
|
129
|
-
}
|
|
130
|
-
styles[position] = `${-calloutSize}px`;
|
|
136
|
+
styles[styleToUpdate] = 'unset';
|
|
137
|
+
styles[position] = sizeOffset;
|
|
131
138
|
styles.transform = isVertical ? `rotateX(${flipDeg})` : `rotateY(${flipDeg})`;
|
|
132
139
|
return styles;
|
|
133
140
|
};
|
|
@@ -302,8 +302,8 @@ const packageMetadata = {
|
|
|
302
302
|
productName: 'Kendo UI for Angular',
|
|
303
303
|
productCode: 'KENDOUIANGULAR',
|
|
304
304
|
productCodes: ['KENDOUIANGULAR'],
|
|
305
|
-
publishDate:
|
|
306
|
-
version: '21.3.0-develop.
|
|
305
|
+
publishDate: 1765375139,
|
|
306
|
+
version: '21.3.0-develop.11',
|
|
307
307
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
308
308
|
};
|
|
309
309
|
|
|
@@ -1756,23 +1756,30 @@ class TooltipContentComponent {
|
|
|
1756
1756
|
const isVertical = position === 'top' || position === 'bottom';
|
|
1757
1757
|
const flipDeg = '180deg';
|
|
1758
1758
|
const zeroDeg = '0deg';
|
|
1759
|
+
const sizeOffset = `${-calloutSize}px`;
|
|
1760
|
+
let styleToUpdate;
|
|
1761
|
+
switch (position) {
|
|
1762
|
+
case 'top':
|
|
1763
|
+
styleToUpdate = 'bottom';
|
|
1764
|
+
break;
|
|
1765
|
+
case 'bottom':
|
|
1766
|
+
styleToUpdate = 'top';
|
|
1767
|
+
break;
|
|
1768
|
+
case 'left':
|
|
1769
|
+
styleToUpdate = 'right';
|
|
1770
|
+
break;
|
|
1771
|
+
case 'right':
|
|
1772
|
+
styleToUpdate = 'left';
|
|
1773
|
+
break;
|
|
1774
|
+
}
|
|
1759
1775
|
if (!isFlip) {
|
|
1760
1776
|
styles.transform = isVertical ? `rotateX(${zeroDeg})` : `rotateY(${zeroDeg})`;
|
|
1777
|
+
styles[styleToUpdate] = sizeOffset;
|
|
1778
|
+
styles[position] = 'unset';
|
|
1761
1779
|
return styles;
|
|
1762
1780
|
}
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
}
|
|
1766
|
-
else if (position === 'bottom') {
|
|
1767
|
-
styles.top = 'unset';
|
|
1768
|
-
}
|
|
1769
|
-
else if (position === 'left') {
|
|
1770
|
-
styles.right = 'unset';
|
|
1771
|
-
}
|
|
1772
|
-
else if (position === 'right') {
|
|
1773
|
-
styles.left = 'unset';
|
|
1774
|
-
}
|
|
1775
|
-
styles[position] = `${-calloutSize}px`;
|
|
1781
|
+
styles[styleToUpdate] = 'unset';
|
|
1782
|
+
styles[position] = sizeOffset;
|
|
1776
1783
|
styles.transform = isVertical ? `rotateX(${flipDeg})` : `rotateY(${flipDeg})`;
|
|
1777
1784
|
return styles;
|
|
1778
1785
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-tooltip",
|
|
3
|
-
"version": "21.3.0-develop.
|
|
3
|
+
"version": "21.3.0-develop.11",
|
|
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":
|
|
24
|
+
"publishDate": 1765375139,
|
|
25
25
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"@angular/core": "18 - 21",
|
|
32
32
|
"@angular/platform-browser": "18 - 21",
|
|
33
33
|
"@progress/kendo-licensing": "^1.7.0",
|
|
34
|
-
"@progress/kendo-angular-common": "21.3.0-develop.
|
|
35
|
-
"@progress/kendo-angular-l10n": "21.3.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "21.3.0-develop.
|
|
37
|
-
"@progress/kendo-angular-icons": "21.3.0-develop.
|
|
34
|
+
"@progress/kendo-angular-common": "21.3.0-develop.11",
|
|
35
|
+
"@progress/kendo-angular-l10n": "21.3.0-develop.11",
|
|
36
|
+
"@progress/kendo-angular-popup": "21.3.0-develop.11",
|
|
37
|
+
"@progress/kendo-angular-icons": "21.3.0-develop.11",
|
|
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": "21.3.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "21.3.0-develop.11"
|
|
43
43
|
},
|
|
44
44
|
"schematics": "./schematics/collection.json",
|
|
45
45
|
"module": "fesm2022/progress-kendo-angular-tooltip.mjs",
|