@atlaskit/tooltip 17.7.1 → 17.8.1

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,21 @@
1
1
  # @atlaskit/tooltip
2
2
 
3
+ ## 17.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 17.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 17.7.1
4
20
 
5
21
  ### Patch Changes
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/Tooltip.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/Tooltip.d.ts"
11
+ "../dist/types-ts4.5/Tooltip.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/TooltipContainer.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/TooltipContainer.d.ts"
11
+ "../dist/types-ts4.5/TooltipContainer.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/TooltipPrimitive.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/TooltipPrimitive.d.ts"
11
+ "../dist/types-ts4.5/TooltipPrimitive.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -32,7 +32,7 @@ var tooltipZIndex = _constants.layers.tooltip();
32
32
  var analyticsAttributes = {
33
33
  componentName: 'tooltip',
34
34
  packageName: "@atlaskit/tooltip",
35
- packageVersion: "17.7.1"
35
+ packageVersion: "17.8.1"
36
36
  };
37
37
 
38
38
  // Inverts motion direction
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.7.1",
3
+ "version": "17.8.1",
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.7.1"
23
+ packageVersion: "17.8.1"
24
24
  };
25
25
 
26
26
  // Inverts motion direction
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.7.1",
3
+ "version": "17.8.1",
4
4
  "sideEffects": false
5
5
  }
@@ -24,7 +24,7 @@ var tooltipZIndex = layers.tooltip();
24
24
  var analyticsAttributes = {
25
25
  componentName: 'tooltip',
26
26
  packageName: "@atlaskit/tooltip",
27
- packageVersion: "17.7.1"
27
+ packageVersion: "17.8.1"
28
28
  };
29
29
 
30
30
  // Inverts motion direction
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.7.1",
3
+ "version": "17.8.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, ElementType, ReactNode } from 'react';
2
2
  import { TooltipPrimitiveProps } from '../TooltipPrimitive';
3
3
  import { PositionType, PositionTypeBase } from '../types';
4
- declare type Props = {
4
+ type Props = {
5
5
  /**
6
6
  * The content of the tooltip. It can be either a:
7
7
  * 1. `ReactNode`
@@ -1,11 +1,11 @@
1
1
  import { FakeMouseElement } from '../utilities';
2
- export declare type Source = {
2
+ export type Source = {
3
3
  type: 'mouse';
4
4
  mouse: FakeMouseElement;
5
5
  } | {
6
6
  type: 'keyboard';
7
7
  };
8
- export declare type Entry = {
8
+ export type Entry = {
9
9
  source: Source;
10
10
  show: (value: {
11
11
  isImmediate: boolean;
@@ -16,7 +16,7 @@ export declare type Entry = {
16
16
  delay: number;
17
17
  done: () => void;
18
18
  };
19
- export declare type API = {
19
+ export type API = {
20
20
  isActive: () => boolean;
21
21
  mousePosition: FakeMouseElement | null;
22
22
  requestHide: (value: {
@@ -2,8 +2,8 @@ import { ComponentType, ReactNode } from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { Placement } from '@atlaskit/popper';
4
4
  import { TooltipPrimitiveProps } from './TooltipPrimitive';
5
- export declare type PositionTypeBase = Placement;
6
- export declare type PositionType = PositionTypeBase | 'mouse';
5
+ export type PositionTypeBase = Placement;
6
+ export type PositionType = PositionTypeBase | 'mouse';
7
7
  export interface TriggerProps {
8
8
  onMouseOver: (event: React.MouseEvent<HTMLElement>) => void;
9
9
  onMouseOut: (event: React.MouseEvent<HTMLElement>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.7.1",
3
+ "version": "17.8.1",
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/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.ts",
17
25
  "atlassian": {
@@ -31,13 +39,13 @@
31
39
  "./utilities": "./src/utilities.ts"
32
40
  },
33
41
  "dependencies": {
34
- "@atlaskit/analytics-next": "^9.0.0",
35
- "@atlaskit/ds-lib": "^2.1.0",
36
- "@atlaskit/motion": "^1.3.0",
37
- "@atlaskit/popper": "^5.4.0",
38
- "@atlaskit/portal": "^4.1.0",
39
- "@atlaskit/theme": "^12.4.0",
40
- "@atlaskit/tokens": "^1.2.0",
42
+ "@atlaskit/analytics-next": "^9.1.0",
43
+ "@atlaskit/ds-lib": "^2.2.0",
44
+ "@atlaskit/motion": "^1.4.0",
45
+ "@atlaskit/popper": "^5.5.0",
46
+ "@atlaskit/portal": "^4.3.0",
47
+ "@atlaskit/theme": "^12.5.0",
48
+ "@atlaskit/tokens": "^1.4.0",
41
49
  "@babel/runtime": "^7.0.0",
42
50
  "@emotion/react": "^11.7.1",
43
51
  "bind-event-listener": "^2.1.1",
@@ -48,10 +56,10 @@
48
56
  "react-dom": "^16.8.0"
49
57
  },
50
58
  "devDependencies": {
51
- "@atlaskit/button": "^16.6.0",
59
+ "@atlaskit/button": "^16.7.0",
52
60
  "@atlaskit/docs": "*",
53
- "@atlaskit/icon": "^21.11.0",
54
- "@atlaskit/section-message": "^6.3.0",
61
+ "@atlaskit/icon": "^21.12.0",
62
+ "@atlaskit/section-message": "^6.4.0",
55
63
  "@atlaskit/ssr": "*",
56
64
  "@atlaskit/visual-regression": "*",
57
65
  "@atlaskit/webdriver-runner": "*",
@@ -63,7 +71,7 @@
63
71
  "react-dom": "^16.8.0",
64
72
  "react-redux": "^5.1.2",
65
73
  "storybook-addon-performance": "^0.16.0",
66
- "typescript": "4.5.5",
74
+ "typescript": "~4.9.5",
67
75
  "wait-for-expect": "^1.2.0"
68
76
  },
69
77
  "keywords": [
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/types.d.ts"
11
+ "../dist/types-ts4.5/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/utilities.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/utilities.d.ts"
11
+ "../dist/types-ts4.5/utilities.d.ts"
12
12
  ]
13
13
  }
14
14
  }