react-tooltip 4.2.6 → 4.2.10
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/CHANGELOG.md +21 -0
- package/README.md +2 -4
- package/dist/index.es.js +144 -137
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +144 -137
- package/dist/index.js.map +1 -1
- package/dist/react-tooltip.d.ts +2 -2
- package/package.json +32 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [4.2.10](https://github.com/wwayne/react-tooltip/compare/v4.2.9...v4.2.10) (2020-09-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **build:** removing single quotes on cpy for windows shell ([#632](https://github.com/wwayne/react-tooltip/issues/632)) ([9c280af](https://github.com/wwayne/react-tooltip/commit/9c280af))
|
|
7
|
+
|
|
8
|
+
## [4.2.9](https://github.com/wwayne/react-tooltip/compare/v4.2.8...v4.2.9) (2020-08-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **getposition:** properly determine parents with will-change: transform ([3a76250](https://github.com/wwayne/react-tooltip/commit/3a76250))
|
|
14
|
+
|
|
15
|
+
## [4.2.8](https://github.com/wwayne/react-tooltip/compare/v4.2.7...v4.2.8) (2020-08-06)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **showtooltip:** check if tooltipRef is undefined ([#623](https://github.com/wwayne/react-tooltip/issues/623)) ([f63eab2](https://github.com/wwayne/react-tooltip/commit/f63eab2))
|
|
21
|
+
|
|
1
22
|
## Change Log
|
|
2
23
|
|
|
3
24
|
### v3.9.0 (2018/11/07 00:43 +00:00)
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
[](https://codesandbox.io/s/heuristic-curran-bddeu?fontsize=14&hidenavigation=1&theme=dark)
|
|
15
15
|
|
|
16
|
-
Or see it on [Github Page](https://wwayne.github.io/react-tooltip
|
|
16
|
+
Or see it on [Github Page](https://wwayne.github.io/react-tooltip).
|
|
17
17
|
|
|
18
18
|
## Maintainers
|
|
19
19
|
|
|
@@ -44,7 +44,7 @@ yarn add react-tooltip
|
|
|
44
44
|
1 . Require react-tooltip after installation
|
|
45
45
|
|
|
46
46
|
```js
|
|
47
|
-
import ReactTooltip from
|
|
47
|
+
import ReactTooltip from 'react-tooltip';
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
2 . Add data-tip = "your placeholder" to your element
|
|
@@ -71,8 +71,6 @@ Notes:
|
|
|
71
71
|
- The option you set on `<ReactTooltip />` component will be implemented on every tooltip in a same page: `<ReactTooltip effect="solid" />`
|
|
72
72
|
- The option you set on a specific element, for example: `<a data-type="warning"></a>` will only affect this specific tooltip
|
|
73
73
|
|
|
74
|
-
Check example: [React-tooltip Test](https://react-tooltip.netlify.com/)
|
|
75
|
-
|
|
76
74
|
| Global | Specific | Type | Values | Description |
|
|
77
75
|
| :--------------- | :-------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
78
76
|
| place | data-place | String | top, right, bottom, left | placement |
|