@atlaskit/tooltip 17.6.5 → 17.6.6

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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/tooltip
2
2
 
3
+ ## 17.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
8
+
3
9
  ## 17.6.5
4
10
 
5
11
  ### Patch Changes
@@ -58,7 +58,7 @@ var tooltipZIndex = _constants.layers.tooltip();
58
58
  var analyticsAttributes = {
59
59
  componentName: 'tooltip',
60
60
  packageName: "@atlaskit/tooltip",
61
- packageVersion: "17.6.5"
61
+ packageVersion: "17.6.6"
62
62
  }; // Inverts motion direction
63
63
 
64
64
  var invertedDirection = {
@@ -441,7 +441,12 @@ function Tooltip(_ref) {
441
441
  var className = _ref5.className;
442
442
  return (// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
443
443
  (0, _react2.jsx)(Container, {
444
- ref: ref,
444
+ ref: ref
445
+ /**
446
+ * "Tooltip" classname is a hook used by tests to manipulate
447
+ * and hide tooltips, including in VR snapshots
448
+ **/
449
+ ,
445
450
  className: "Tooltip ".concat(className),
446
451
  style: style,
447
452
  truncate: truncate,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.6.5",
3
+ "version": "17.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -20,7 +20,7 @@ const tooltipZIndex = layers.tooltip();
20
20
  const analyticsAttributes = {
21
21
  componentName: 'tooltip',
22
22
  packageName: "@atlaskit/tooltip",
23
- packageVersion: "17.6.5"
23
+ packageVersion: "17.6.6"
24
24
  }; // Inverts motion direction
25
25
 
26
26
  const invertedDirection = {
@@ -389,7 +389,12 @@ function Tooltip({
389
389
  className
390
390
  }) => // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
391
391
  jsx(Container, {
392
- ref: ref,
392
+ ref: ref
393
+ /**
394
+ * "Tooltip" classname is a hook used by tests to manipulate
395
+ * and hide tooltips, including in VR snapshots
396
+ **/
397
+ ,
393
398
  className: `Tooltip ${className}`,
394
399
  style: style,
395
400
  truncate: truncate,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.6.5",
3
+ "version": "17.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -26,7 +26,7 @@ var tooltipZIndex = layers.tooltip();
26
26
  var analyticsAttributes = {
27
27
  componentName: 'tooltip',
28
28
  packageName: "@atlaskit/tooltip",
29
- packageVersion: "17.6.5"
29
+ packageVersion: "17.6.6"
30
30
  }; // Inverts motion direction
31
31
 
32
32
  var invertedDirection = {
@@ -409,7 +409,12 @@ function Tooltip(_ref) {
409
409
  var className = _ref5.className;
410
410
  return (// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
411
411
  jsx(Container, {
412
- ref: ref,
412
+ ref: ref
413
+ /**
414
+ * "Tooltip" classname is a hook used by tests to manipulate
415
+ * and hide tooltips, including in VR snapshots
416
+ **/
417
+ ,
413
418
  className: "Tooltip ".concat(className),
414
419
  style: style,
415
420
  truncate: truncate,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.6.5",
3
+ "version": "17.6.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.6.5",
3
+ "version": "17.6.6",
4
4
  "description": "A tooltip is a floating, non-actionable label used to explain a user interface element or feature.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
package/report.api.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- API Report Version: 2.2 -->
1
+ <!-- API Report Version: 2.3 -->
2
2
 
3
3
  ## API Report File for "@atlaskit/tooltip"
4
4