@cloudflare/component-tooltip 2.7.95 → 2.7.99
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 +32 -0
- package/es/Tooltip.js +2 -1
- package/lib/Tooltip.js +6 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.7.99](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.98...@cloudflare/component-tooltip@2.7.99) (2021-11-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @cloudflare/component-tooltip
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.7.98](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.97...@cloudflare/component-tooltip@2.7.98) (2021-11-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @cloudflare/component-tooltip
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.7.97](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.96...@cloudflare/component-tooltip@2.7.97) (2021-11-16)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @cloudflare/component-tooltip
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [2.7.96](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.95...@cloudflare/component-tooltip@2.7.96) (2021-11-16)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @cloudflare/component-tooltip
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [2.7.95](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.94...@cloudflare/component-tooltip@2.7.95) (2021-11-15)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @cloudflare/component-tooltip
|
package/es/Tooltip.js
CHANGED
|
@@ -133,7 +133,8 @@ class Tooltip extends React.PureComponent {
|
|
|
133
133
|
onClick: e => {
|
|
134
134
|
e.stopPropagation();
|
|
135
135
|
},
|
|
136
|
-
|
|
136
|
+
onMouseOver: () => ReactTooltip.show(this.tooltipElement),
|
|
137
|
+
onMouseOut: () => ReactTooltip.hide(this.tooltipElement),
|
|
137
138
|
"aria-controls": id
|
|
138
139
|
}, children));
|
|
139
140
|
}
|
package/lib/Tooltip.js
CHANGED
|
@@ -194,7 +194,12 @@ var Tooltip = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
194
194
|
onClick: function onClick(e) {
|
|
195
195
|
e.stopPropagation();
|
|
196
196
|
},
|
|
197
|
-
|
|
197
|
+
onMouseOver: function onMouseOver() {
|
|
198
|
+
return _reactTooltip.default.show(_this3.tooltipElement);
|
|
199
|
+
},
|
|
200
|
+
onMouseOut: function onMouseOut() {
|
|
201
|
+
return _reactTooltip.default.hide(_this3.tooltipElement);
|
|
202
|
+
},
|
|
198
203
|
"aria-controls": id
|
|
199
204
|
}, children));
|
|
200
205
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/component-tooltip",
|
|
3
3
|
"description": "Cloudflare Tooltip Component",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.99",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "James Kyle <jkyle@cloudflare.com>",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cloudflare/elements": "^1.11.
|
|
15
|
-
"@cloudflare/style-container": "^7.5.
|
|
14
|
+
"@cloudflare/elements": "^1.11.30",
|
|
15
|
+
"@cloudflare/style-container": "^7.5.19",
|
|
16
16
|
"lodash.uniqueid": "^4.0.1",
|
|
17
17
|
"prop-types": "^15.6.0",
|
|
18
18
|
"react-tooltip": "^3.6.0"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"test-coverage": "stratus test --coverage",
|
|
32
32
|
"test-watch": "stratus test --watch"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "569113c2ab73ce93969008d15ad9e6648d0d3ed0"
|
|
35
35
|
}
|