@cloudflare/component-tooltip 4.2.0 → 4.3.0
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 +13 -0
- package/es/Tooltip.js +3 -1
- package/lib/Tooltip.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c7299ac5ac: upgrades components to support react 17 event bubbling
|
|
8
|
+
|
|
9
|
+
## 4.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [8f95dab06a]
|
|
14
|
+
- @cloudflare/elements@3.0.2
|
|
15
|
+
|
|
3
16
|
## 4.2.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/es/Tooltip.js
CHANGED
package/lib/Tooltip.js
CHANGED
|
@@ -139,7 +139,9 @@ var Tooltip = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
139
139
|
}, {
|
|
140
140
|
key: "componentDidMount",
|
|
141
141
|
value: function componentDidMount() {
|
|
142
|
-
document.addEventListener('keydown', this.escFunction
|
|
142
|
+
document.addEventListener('keydown', this.escFunction, {
|
|
143
|
+
capture: true
|
|
144
|
+
});
|
|
143
145
|
}
|
|
144
146
|
}, {
|
|
145
147
|
key: "componentWillUnmount",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/component-tooltip",
|
|
3
3
|
"description": "Cloudflare Tooltip Component",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "James Kyle <jkyle@cloudflare.com>",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"module": "es/index.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cloudflare/elements": "^3.0.
|
|
15
|
+
"@cloudflare/elements": "^3.0.2",
|
|
16
16
|
"lodash.uniqueid": "^4.0.1",
|
|
17
17
|
"prop-types": "^15.6.0",
|
|
18
18
|
"react-tooltip": "^3.11.6"
|