@atlaskit/inline-dialog 13.3.3 → 13.3.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,23 @@
1
1
  # @atlaskit/inline-dialog
2
2
 
3
+ ## 13.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.3.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
14
+
15
+ ## 13.3.4
16
+
17
+ ### Patch Changes
18
+
19
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
20
+
3
21
  ## 13.3.3
4
22
 
5
23
  ### Patch Changes
@@ -31,7 +31,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
31
31
 
32
32
  /** @jsx jsx */
33
33
  var packageName = "@atlaskit/inline-dialog";
34
- var packageVersion = "13.3.3";
34
+ var packageVersion = "13.3.6";
35
35
 
36
36
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
37
37
  if (!node) {
@@ -105,12 +105,9 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
105
105
  return;
106
106
  }
107
107
 
108
- var unbind;
109
- unbind = (0, _bindEventListener.bind)(window, {
108
+ var unbind = (0, _bindEventListener.bind)(window, {
110
109
  type: 'click',
111
- listener: function listener(e) {
112
- return handleClickOutside(e);
113
- },
110
+ listener: handleClickOutside,
114
111
  options: {
115
112
  capture: true
116
113
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.3.3",
3
+ "version": "13.3.6",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
8
8
  import { Manager, Popper, Reference } from '@atlaskit/popper';
9
9
  import { Container } from './styled/container';
10
10
  const packageName = "@atlaskit/inline-dialog";
11
- const packageVersion = "13.3.3";
11
+ const packageVersion = "13.3.6";
12
12
 
13
13
  const checkIsChildOfPortal = node => {
14
14
  if (!node) {
@@ -78,10 +78,9 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
78
78
  return;
79
79
  }
80
80
 
81
- let unbind;
82
- unbind = bind(window, {
81
+ const unbind = bind(window, {
83
82
  type: 'click',
84
- listener: e => handleClickOutside(e),
83
+ listener: handleClickOutside,
85
84
  options: {
86
85
  capture: true
87
86
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.3.3",
3
+ "version": "13.3.6",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
8
8
  import { Manager, Popper, Reference } from '@atlaskit/popper';
9
9
  import { Container } from './styled/container';
10
10
  var packageName = "@atlaskit/inline-dialog";
11
- var packageVersion = "13.3.3";
11
+ var packageVersion = "13.3.6";
12
12
 
13
13
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
14
14
  if (!node) {
@@ -82,12 +82,9 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref) {
82
82
  return;
83
83
  }
84
84
 
85
- var unbind;
86
- unbind = bind(window, {
85
+ var unbind = bind(window, {
87
86
  type: 'click',
88
- listener: function listener(e) {
89
- return handleClickOutside(e);
90
- },
87
+ listener: handleClickOutside,
91
88
  options: {
92
89
  capture: true
93
90
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.3.3",
3
+ "version": "13.3.6",
4
4
  "sideEffects": false
5
5
  }
@@ -3,5 +3,5 @@ import React, { FC } from 'react';
3
3
  import type { InlineDialogProps } from '../types';
4
4
  declare const InlineDialog: FC<InlineDialogProps>;
5
5
  export { InlineDialog as InlineDialogWithoutAnalytics };
6
- declare const _default: React.ForwardRefExoticComponent<Pick<Pick<React.PropsWithChildren<InlineDialogProps>, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
6
+ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<InlineDialogProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
7
7
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.3.3",
3
+ "version": "13.3.6",
4
4
  "description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,17 +35,17 @@
35
35
  "@atlaskit/ds-lib": "^1.4.0",
36
36
  "@atlaskit/popper": "^5.0.0",
37
37
  "@atlaskit/theme": "^12.1.0",
38
- "@atlaskit/tokens": "^0.9.0",
38
+ "@atlaskit/tokens": "^0.10.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@emotion/core": "^10.0.9",
41
- "bind-event-listener": "^1.0.2",
41
+ "bind-event-listener": "^2.1.0",
42
42
  "react-node-resolver": "^1.0.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^16.8.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@atlaskit/button": "^16.2.0",
48
+ "@atlaskit/button": "^16.3.0",
49
49
  "@atlaskit/datetime-picker": "^11.1.0",
50
50
  "@atlaskit/docs": "*",
51
51
  "@atlaskit/icon": "^21.10.0",
@@ -59,7 +59,7 @@
59
59
  "@testing-library/react": "^8.0.1",
60
60
  "react-dom": "^16.8.0",
61
61
  "react-lorem-component": "^0.13.0",
62
- "typescript": "3.9.10",
62
+ "typescript": "4.2.4",
63
63
  "wait-for-expect": "^1.2.0"
64
64
  },
65
65
  "keywords": [
@@ -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
  }