@atlaskit/popup 1.3.6 → 1.3.9

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,23 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 1.3.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`dcf8150c49c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcf8150c49c) - Allow `trigger` props to be applied to any HTML element tag without causing type errors for the `ref` type
8
+
9
+ ## 1.3.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.3.7
16
+
17
+ ### Patch Changes
18
+
19
+ - [`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
20
+
3
21
  ## 1.3.6
4
22
 
5
23
  ### Patch Changes
@@ -59,8 +59,7 @@ var useCloseManager = function useCloseManager(_ref) {
59
59
  }
60
60
  };
61
61
 
62
- var unbind = (0, _bindEventListener.bindAll)(window, [// --strictFunctionTypes prevents the above events from being recognised as event listeners
63
- {
62
+ var unbind = (0, _bindEventListener.bindAll)(window, [{
64
63
  type: 'click',
65
64
  listener: onClick,
66
65
  options: {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.6",
3
+ "version": "1.3.9",
4
4
  "sideEffects": false
5
5
  }
@@ -55,8 +55,7 @@ export const useCloseManager = ({
55
55
  }
56
56
  };
57
57
 
58
- const unbind = bindAll(window, [// --strictFunctionTypes prevents the above events from being recognised as event listeners
59
- {
58
+ const unbind = bindAll(window, [{
60
59
  type: 'click',
61
60
  listener: onClick,
62
61
  options: {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.6",
3
+ "version": "1.3.9",
4
4
  "sideEffects": false
5
5
  }
@@ -51,8 +51,7 @@ export var useCloseManager = function useCloseManager(_ref) {
51
51
  }
52
52
  };
53
53
 
54
- var unbind = bindAll(window, [// --strictFunctionTypes prevents the above events from being recognised as event listeners
55
- {
54
+ var unbind = bindAll(window, [{
56
55
  type: 'click',
57
56
  listener: onClick,
58
57
  options: {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.6",
3
+ "version": "1.3.9",
4
4
  "sideEffects": false
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, CSSProperties, Dispatch, ReactNode, Ref, SetStateAction } from 'react';
2
2
  import { Placement, PopperChildrenProps } from '@atlaskit/popper';
3
3
  export interface TriggerProps {
4
- ref: Ref<HTMLElement>;
4
+ ref: Ref<any>;
5
5
  'aria-controls'?: string;
6
6
  'aria-expanded': boolean;
7
7
  'aria-haspopup': boolean;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.3.6",
3
+ "version": "1.3.9",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "author": "Atlassian Pty Ltd",
10
10
  "license": "Apache-2.0",
11
11
  "main": "dist/cjs/index.js",
@@ -29,10 +29,10 @@
29
29
  "@atlaskit/popper": "^5.0.0",
30
30
  "@atlaskit/portal": "^4.0.0",
31
31
  "@atlaskit/theme": "^12.1.0",
32
- "@atlaskit/tokens": "^0.9.0",
32
+ "@atlaskit/tokens": "^0.10.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/core": "^10.0.9",
35
- "bind-event-listener": "^1.0.2",
35
+ "bind-event-listener": "^2.1.0",
36
36
  "focus-trap": "^2.4.5"
37
37
  },
38
38
  "peerDependencies": {
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/menu": "^1.3.0",
47
47
  "@atlaskit/radio": "^5.3.0",
48
48
  "@atlaskit/section-message": "^6.1.0",
49
- "@atlaskit/select": "^15.0.0",
49
+ "@atlaskit/select": "^15.3.0",
50
50
  "@atlaskit/ssr": "*",
51
51
  "@atlaskit/textfield": "^5.1.7",
52
52
  "@atlaskit/toggle": "^12.4.4",
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/types.js",
4
4
  "module": "../dist/esm/types.js",
5
5
  "module:es2019": "../dist/es2019/types.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/types.d.ts"
7
8
  }