@cloudflare/component-tooltip 2.7.110 → 2.7.114

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 CHANGED
@@ -3,6 +3,41 @@
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.114](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.113...@cloudflare/component-tooltip@2.7.114) (2022-02-08)
7
+
8
+ **Note:** Version bump only for package @cloudflare/component-tooltip
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.7.113](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.112...@cloudflare/component-tooltip@2.7.113) (2022-02-04)
15
+
16
+ **Note:** Version bump only for package @cloudflare/component-tooltip
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.7.112](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.111...@cloudflare/component-tooltip@2.7.112) (2022-02-01)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **component-tooltip:** UI-5048: remove border from tooltip content ([4d990ab](http://stash.cfops.it:7999/fe/stratus/commits/4d990ab))
28
+
29
+
30
+
31
+
32
+
33
+ ## [2.7.111](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.110...@cloudflare/component-tooltip@2.7.111) (2022-01-19)
34
+
35
+ **Note:** Version bump only for package @cloudflare/component-tooltip
36
+
37
+
38
+
39
+
40
+
6
41
  ## [2.7.110](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-tooltip@2.7.109...@cloudflare/component-tooltip@2.7.110) (2022-01-07)
7
42
 
8
43
  **Note:** Version bump only for package @cloudflare/component-tooltip
package/es/Tooltip.js CHANGED
@@ -121,16 +121,15 @@ class Tooltip extends React.PureComponent {
121
121
  innerRef: ref => this.tooltipElement = ref,
122
122
  display: "flex",
123
123
  pointerEvents: "bounding-box",
124
+ padding: 0,
125
+ backgroundColor: "transparent",
126
+ cursor: "pointer",
127
+ borderWidth: 0,
124
128
  "data-tip": true,
125
129
  "data-for": id,
126
130
  type: "button",
127
131
  onBlur: () => ReactTooltip.hide(this.tooltipElement),
128
132
  color: "gray.1",
129
- style: {
130
- cursor: 'pointer',
131
- backgroundColor: 'transparent',
132
- padding: 0
133
- },
134
133
  onClick: e => {
135
134
  e.stopPropagation();
136
135
  },
package/lib/Tooltip.js CHANGED
@@ -180,6 +180,10 @@ var Tooltip = /*#__PURE__*/function (_React$PureComponent) {
180
180
  },
181
181
  display: "flex",
182
182
  pointerEvents: "bounding-box",
183
+ padding: 0,
184
+ backgroundColor: "transparent",
185
+ cursor: "pointer",
186
+ borderWidth: 0,
183
187
  "data-tip": true,
184
188
  "data-for": id,
185
189
  type: "button",
@@ -187,11 +191,6 @@ var Tooltip = /*#__PURE__*/function (_React$PureComponent) {
187
191
  return _reactTooltip.default.hide(_this3.tooltipElement);
188
192
  },
189
193
  color: "gray.1",
190
- style: {
191
- cursor: 'pointer',
192
- backgroundColor: 'transparent',
193
- padding: 0
194
- },
195
194
  onClick: function onClick(e) {
196
195
  e.stopPropagation();
197
196
  },
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.110",
4
+ "version": "2.7.114",
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.39",
15
- "@cloudflare/style-container": "^7.6.0",
14
+ "@cloudflare/elements": "^1.11.43",
15
+ "@cloudflare/style-container": "^7.6.4",
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": "b7c207b9d1a4a78c3412f7ad4185e92ec36c4f5e"
34
+ "gitHead": "994e89f08c4e6809252f6f49ea25de5af4dc2888"
35
35
  }