@atlaskit/tooltip 20.8.1 → 20.9.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/tooltip
2
2
 
3
+ ## 20.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f4cdda6ef6ca0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f4cdda6ef6ca0) -
8
+ Removed FG that improves tooltip visibility behavior on focus
9
+
10
+ ## 20.8.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [`28d426b7134d8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/28d426b7134d8) -
15
+ Internal renaming. Public API is unaffected.
16
+ - Updated dependencies
17
+
3
18
  ## 20.8.1
4
19
 
5
20
  ### Patch Changes
@@ -17,7 +17,6 @@ var _useCloseOnEscapePress = _interopRequireDefault(require("@atlaskit/ds-lib/us
17
17
  var _useStableRef = _interopRequireDefault(require("@atlaskit/ds-lib/use-stable-ref"));
18
18
  var _openLayerObserver = require("@atlaskit/layering/experimental/open-layer-observer");
19
19
  var _motion = require("@atlaskit/motion");
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _popper = require("@atlaskit/popper");
22
21
  var _portal = _interopRequireDefault(require("@atlaskit/portal"));
23
22
  var _constants = require("@atlaskit/theme/constants");
@@ -33,7 +32,7 @@ var tooltipZIndex = _constants.layers.tooltip();
33
32
  var analyticsAttributes = {
34
33
  componentName: 'tooltip',
35
34
  packageName: "@atlaskit/tooltip",
36
- packageVersion: "0.0.0-development"
35
+ packageVersion: "20.8.2"
37
36
  };
38
37
 
39
38
  // Inverts motion direction
@@ -379,7 +378,7 @@ function Tooltip(_ref) {
379
378
  // Prevents tooltips from showing when focus is not visible,
380
379
  // i.e., when focus is moved onto tooltip trigger inside a popup on open
381
380
  try {
382
- if (!e.target.matches(':focus-visible') && (0, _platformFeatureFlags.fg)('platform-tooltip-focus-visible-new')) {
381
+ if (!e.target.matches(':focus-visible')) {
383
382
  return;
384
383
  }
385
384
  } catch (_) {
@@ -7,7 +7,6 @@ import useCloseOnEscapePress from '@atlaskit/ds-lib/use-close-on-escape-press';
7
7
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
8
8
  import { useNotifyOpenLayerObserver } from '@atlaskit/layering/experimental/open-layer-observer';
9
9
  import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { Popper } from '@atlaskit/popper';
12
11
  import Portal from '@atlaskit/portal';
13
12
  import { layers } from '@atlaskit/theme/constants';
@@ -20,7 +19,7 @@ const tooltipZIndex = layers.tooltip();
20
19
  const analyticsAttributes = {
21
20
  componentName: 'tooltip',
22
21
  packageName: "@atlaskit/tooltip",
23
- packageVersion: "0.0.0-development"
22
+ packageVersion: "20.8.2"
24
23
  };
25
24
 
26
25
  // Inverts motion direction
@@ -355,7 +354,7 @@ function Tooltip({
355
354
  // Prevents tooltips from showing when focus is not visible,
356
355
  // i.e., when focus is moved onto tooltip trigger inside a popup on open
357
356
  try {
358
- if (!e.target.matches(':focus-visible') && fg('platform-tooltip-focus-visible-new')) {
357
+ if (!e.target.matches(':focus-visible')) {
359
358
  return;
360
359
  }
361
360
  } catch (_) {
@@ -11,7 +11,6 @@ import useCloseOnEscapePress from '@atlaskit/ds-lib/use-close-on-escape-press';
11
11
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
12
12
  import { useNotifyOpenLayerObserver } from '@atlaskit/layering/experimental/open-layer-observer';
13
13
  import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
14
  import { Popper } from '@atlaskit/popper';
16
15
  import Portal from '@atlaskit/portal';
17
16
  import { layers } from '@atlaskit/theme/constants';
@@ -24,7 +23,7 @@ var tooltipZIndex = layers.tooltip();
24
23
  var analyticsAttributes = {
25
24
  componentName: 'tooltip',
26
25
  packageName: "@atlaskit/tooltip",
27
- packageVersion: "0.0.0-development"
26
+ packageVersion: "20.8.2"
28
27
  };
29
28
 
30
29
  // Inverts motion direction
@@ -370,7 +369,7 @@ function Tooltip(_ref) {
370
369
  // Prevents tooltips from showing when focus is not visible,
371
370
  // i.e., when focus is moved onto tooltip trigger inside a popup on open
372
371
  try {
373
- if (!e.target.matches(':focus-visible') && fg('platform-tooltip-focus-visible-new')) {
372
+ if (!e.target.matches(':focus-visible')) {
374
373
  return;
375
374
  }
376
375
  } catch (_) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "20.8.1",
3
+ "version": "20.9.0",
4
4
  "description": "A tooltip describes an interactive element on mouse hover or keyboard focus.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,7 +23,7 @@
23
23
  "sideEffects": [
24
24
  "**/*.compiled.css"
25
25
  ],
26
- "atlaskit:src": "src/index.ts",
26
+ "atlaskit:src": "src/index.tsx",
27
27
  "atlassian": {
28
28
  "team": "Design System Team",
29
29
  "website": {
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/analytics-next": "^11.1.0",
36
36
  "@atlaskit/ds-lib": "^5.2.0",
37
- "@atlaskit/layering": "^3.2.0",
37
+ "@atlaskit/layering": "^3.3.0",
38
38
  "@atlaskit/motion": "^5.3.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/popper": "^7.1.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/button": "^23.6.0",
57
57
  "@atlaskit/css": "^0.15.0",
58
58
  "@atlaskit/docs": "^11.2.0",
59
- "@atlaskit/icon": "^28.5.0",
59
+ "@atlaskit/icon": "^29.0.0",
60
60
  "@atlaskit/link": "^3.2.0",
61
61
  "@atlaskit/primitives": "^16.1.0",
62
62
  "@atlaskit/section-message": "^8.9.0",
@@ -93,9 +93,6 @@
93
93
  },
94
94
  "homepage": "https://atlassian.design/components/tooltip/",
95
95
  "platform-feature-flags": {
96
- "platform-tooltip-focus-visible-new": {
97
- "type": "boolean"
98
- },
99
96
  "platform-component-visual-refresh": {
100
97
  "type": "boolean",
101
98
  "referenceOnly": true