@gpa-gemstone/react-forms 1.1.104 → 1.1.105
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/lib/ToolTip.d.ts +15 -0
- package/package.json +2 -2
package/lib/ToolTip.d.ts
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
interface IProps {
|
|
3
|
+
/**
|
|
4
|
+
* Flag to show or hide the tooltip.
|
|
5
|
+
*/
|
|
3
6
|
Show: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Optional position for the tooltip. If not provided, 'top' is used.
|
|
9
|
+
*/
|
|
4
10
|
Position?: Position;
|
|
11
|
+
/**
|
|
12
|
+
* If provided, the tooltip will look for an element with a matching data-tooltip attribute to position itself to.
|
|
13
|
+
*/
|
|
5
14
|
Target?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional z-index for the tooltip. Defaults to 9999.
|
|
17
|
+
*/
|
|
6
18
|
Zindex?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Optional class to style the tooltip. Uses Bootstrap alert classes if provided.
|
|
21
|
+
*/
|
|
7
22
|
Class?: 'primary' | 'secondary' | 'success' | 'danger' | 'info';
|
|
8
23
|
}
|
|
9
24
|
type Position = 'top' | 'bottom' | 'left' | 'right';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpa-gemstone/react-forms",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.105",
|
|
4
4
|
"description": "React Form modules for gpa webapps",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@gpa-gemstone/application-typings": "0.0.91",
|
|
49
49
|
"@gpa-gemstone/gpa-symbols": "0.0.57",
|
|
50
|
-
"@gpa-gemstone/helper-functions": "0.0.
|
|
50
|
+
"@gpa-gemstone/helper-functions": "0.0.50",
|
|
51
51
|
"@types/react": "^17.0.14",
|
|
52
52
|
"@types/styled-components": "^5.1.11",
|
|
53
53
|
"lodash": "^4.17.21",
|