@htmlbricks/hb-tooltip 0.62.5 → 0.62.7

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/manifest.json CHANGED
@@ -92,9 +92,18 @@
92
92
  }
93
93
  ]
94
94
  },
95
+ "description": {
96
+ "type": "string"
97
+ },
95
98
  "html": {
96
99
  "type": "boolean"
97
100
  },
101
+ "maxHeight": {
102
+ "type": "string"
103
+ },
104
+ "maxWidth": {
105
+ "type": "string"
106
+ },
98
107
  "offset": {
99
108
  "anyOf": [
100
109
  {
@@ -247,6 +256,24 @@
247
256
  }
248
257
  }
249
258
  }
259
+ },
260
+ {
261
+ "name": "LongTextWithMaxWidth",
262
+ "data": {
263
+ "tooltip": {
264
+ "title": "This is a very long tooltip text that should wrap because of the max-width property set on the tooltip configuration. It demonstrates how to control the width of the tooltip.",
265
+ "maxWidth": "200px"
266
+ }
267
+ }
268
+ },
269
+ {
270
+ "name": "TitleAndDescription",
271
+ "data": {
272
+ "tooltip": {
273
+ "title": "Tooltip Title",
274
+ "description": "This is a description that appears below the title. It provides more context."
275
+ }
276
+ }
250
277
  }
251
278
  ],
252
279
  "screenshots": [],
@@ -267,5 +294,5 @@
267
294
  "size": {},
268
295
  "iifePath": "main.iife.js",
269
296
  "repoName": "@htmlbricks/hb-tooltip",
270
- "version": "0.62.5"
297
+ "version": "0.62.7"
271
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-tooltip",
3
- "version": "0.62.5",
3
+ "version": "0.62.7",
4
4
  "contributors": [],
5
5
  "description": "A wrapper component that adds a Bootstrap tooltip to its content",
6
6
  "licenses": [
@@ -59,9 +59,18 @@
59
59
  }
60
60
  ]
61
61
  },
62
+ "description": {
63
+ "type": "string"
64
+ },
62
65
  "html": {
63
66
  "type": "boolean"
64
67
  },
68
+ "maxHeight": {
69
+ "type": "string"
70
+ },
71
+ "maxWidth": {
72
+ "type": "string"
73
+ },
65
74
  "offset": {
66
75
  "anyOf": [
67
76
  {
@@ -11,6 +11,7 @@ export interface TooltipStyle {
11
11
 
12
12
  export interface TTooltip {
13
13
  title: string;
14
+ description?: string;
14
15
  placement?: "auto" | "top" | "bottom" | "left" | "right";
15
16
  animation?: boolean;
16
17
  delay?: number | { show: number; hide: number };
@@ -27,6 +28,8 @@ export interface TTooltip {
27
28
  customClass?: string;
28
29
  offset?: [number, number] | string;
29
30
  style?: TooltipStyle;
31
+ maxWidth?: string;
32
+ maxHeight?: string;
30
33
  }
31
34
 
32
35
  export type Component = {