@atlaskit/inline-dialog 14.2.3 → 14.2.4
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 +8 -0
- package/dist/cjs/InlineDialog/index.js +18 -5
- package/dist/es2019/InlineDialog/index.js +19 -6
- package/dist/esm/InlineDialog/index.js +19 -6
- package/dist/types/InlineDialog/index.d.ts +15 -4
- package/dist/types-ts4.5/InlineDialog/index.d.ts +15 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 14.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
|
|
8
|
+
[`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
|
|
9
|
+
DSP-19576: Assign names to anonymous default exports
|
|
10
|
+
|
|
3
11
|
## 14.2.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
27
|
|
|
28
28
|
var packageName = "@atlaskit/inline-dialog";
|
|
29
|
-
var packageVersion = "14.2.
|
|
29
|
+
var packageVersion = "14.2.4";
|
|
30
30
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
31
31
|
if (!node) {
|
|
32
32
|
return false;
|
|
@@ -43,7 +43,7 @@ var EscapeCloseManager = function EscapeCloseManager(_ref) {
|
|
|
43
43
|
// only create a dummy component for using ths hook in class component
|
|
44
44
|
return (0, _react2.jsx)("span", null);
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var InlineDialogComponent = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref2) {
|
|
47
47
|
var _ref2$isOpen = _ref2.isOpen,
|
|
48
48
|
isOpen = _ref2$isOpen === void 0 ? false : _ref2$isOpen,
|
|
49
49
|
_ref2$onContentBlur = _ref2.onContentBlur,
|
|
@@ -193,9 +193,21 @@ var InlineDialog = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _reac
|
|
|
193
193
|
handleClose: handleCloseRequest
|
|
194
194
|
})) : popper);
|
|
195
195
|
});
|
|
196
|
-
|
|
196
|
+
InlineDialogComponent.displayName = 'InlineDialog';
|
|
197
197
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
198
|
-
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* __Inline dialog__
|
|
201
|
+
*
|
|
202
|
+
* _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
|
|
203
|
+
*
|
|
204
|
+
* An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
|
|
205
|
+
*
|
|
206
|
+
* - [Examples](https://atlassian.design/components/inline-dialog/examples)
|
|
207
|
+
* - [Code](https://atlassian.design/components/inline-dialog/code)
|
|
208
|
+
* - [Usage](https://atlassian.design/components/inline-dialog/usage)
|
|
209
|
+
*/
|
|
210
|
+
var InlineDialog = (0, _analyticsNext.withAnalyticsContext)({
|
|
199
211
|
componentName: 'inlineDialog',
|
|
200
212
|
packageName: packageName,
|
|
201
213
|
packageVersion: packageVersion
|
|
@@ -209,4 +221,5 @@ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
|
209
221
|
packageVersion: packageVersion
|
|
210
222
|
}
|
|
211
223
|
})
|
|
212
|
-
})(
|
|
224
|
+
})(InlineDialogComponent));
|
|
225
|
+
var _default = exports.default = InlineDialog;
|
|
@@ -15,7 +15,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
15
15
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
16
16
|
import { Container } from './styled/container';
|
|
17
17
|
const packageName = "@atlaskit/inline-dialog";
|
|
18
|
-
const packageVersion = "14.2.
|
|
18
|
+
const packageVersion = "14.2.4";
|
|
19
19
|
const checkIsChildOfPortal = node => {
|
|
20
20
|
if (!node) {
|
|
21
21
|
return false;
|
|
@@ -33,7 +33,7 @@ const EscapeCloseManager = ({
|
|
|
33
33
|
// only create a dummy component for using ths hook in class component
|
|
34
34
|
return jsx("span", null);
|
|
35
35
|
};
|
|
36
|
-
const
|
|
36
|
+
const InlineDialogComponent = /*#__PURE__*/memo(function InlineDialog({
|
|
37
37
|
isOpen = false,
|
|
38
38
|
onContentBlur = noop,
|
|
39
39
|
onContentClick = noop,
|
|
@@ -177,10 +177,22 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
|
|
|
177
177
|
handleClose: handleCloseRequest
|
|
178
178
|
})) : popper);
|
|
179
179
|
});
|
|
180
|
-
|
|
181
|
-
export {
|
|
180
|
+
InlineDialogComponent.displayName = 'InlineDialog';
|
|
181
|
+
export { InlineDialogComponent as InlineDialogWithoutAnalytics };
|
|
182
182
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
183
|
-
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* __Inline dialog__
|
|
186
|
+
*
|
|
187
|
+
* _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
|
|
188
|
+
*
|
|
189
|
+
* An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
|
|
190
|
+
*
|
|
191
|
+
* - [Examples](https://atlassian.design/components/inline-dialog/examples)
|
|
192
|
+
* - [Code](https://atlassian.design/components/inline-dialog/code)
|
|
193
|
+
* - [Usage](https://atlassian.design/components/inline-dialog/usage)
|
|
194
|
+
*/
|
|
195
|
+
const InlineDialog = withAnalyticsContext({
|
|
184
196
|
componentName: 'inlineDialog',
|
|
185
197
|
packageName,
|
|
186
198
|
packageVersion
|
|
@@ -194,4 +206,5 @@ export default withAnalyticsContext({
|
|
|
194
206
|
packageVersion
|
|
195
207
|
}
|
|
196
208
|
})
|
|
197
|
-
})(
|
|
209
|
+
})(InlineDialogComponent));
|
|
210
|
+
export default InlineDialog;
|
|
@@ -15,7 +15,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
15
15
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
16
16
|
import { Container } from './styled/container';
|
|
17
17
|
var packageName = "@atlaskit/inline-dialog";
|
|
18
|
-
var packageVersion = "14.2.
|
|
18
|
+
var packageVersion = "14.2.4";
|
|
19
19
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
20
20
|
if (!node) {
|
|
21
21
|
return false;
|
|
@@ -32,7 +32,7 @@ var EscapeCloseManager = function EscapeCloseManager(_ref) {
|
|
|
32
32
|
// only create a dummy component for using ths hook in class component
|
|
33
33
|
return jsx("span", null);
|
|
34
34
|
};
|
|
35
|
-
var
|
|
35
|
+
var InlineDialogComponent = /*#__PURE__*/memo(function InlineDialog(_ref2) {
|
|
36
36
|
var _ref2$isOpen = _ref2.isOpen,
|
|
37
37
|
isOpen = _ref2$isOpen === void 0 ? false : _ref2$isOpen,
|
|
38
38
|
_ref2$onContentBlur = _ref2.onContentBlur,
|
|
@@ -182,10 +182,22 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref2) {
|
|
|
182
182
|
handleClose: handleCloseRequest
|
|
183
183
|
})) : popper);
|
|
184
184
|
});
|
|
185
|
-
|
|
186
|
-
export {
|
|
185
|
+
InlineDialogComponent.displayName = 'InlineDialog';
|
|
186
|
+
export { InlineDialogComponent as InlineDialogWithoutAnalytics };
|
|
187
187
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
188
|
-
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* __Inline dialog__
|
|
191
|
+
*
|
|
192
|
+
* _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
|
|
193
|
+
*
|
|
194
|
+
* An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
|
|
195
|
+
*
|
|
196
|
+
* - [Examples](https://atlassian.design/components/inline-dialog/examples)
|
|
197
|
+
* - [Code](https://atlassian.design/components/inline-dialog/code)
|
|
198
|
+
* - [Usage](https://atlassian.design/components/inline-dialog/usage)
|
|
199
|
+
*/
|
|
200
|
+
var InlineDialog = withAnalyticsContext({
|
|
189
201
|
componentName: 'inlineDialog',
|
|
190
202
|
packageName: packageName,
|
|
191
203
|
packageVersion: packageVersion
|
|
@@ -199,4 +211,5 @@ export default withAnalyticsContext({
|
|
|
199
211
|
packageVersion: packageVersion
|
|
200
212
|
}
|
|
201
213
|
})
|
|
202
|
-
})(
|
|
214
|
+
})(InlineDialogComponent));
|
|
215
|
+
export default InlineDialog;
|
|
@@ -4,7 +4,18 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import React, { type FC } from 'react';
|
|
6
6
|
import type { InlineDialogProps } from '../types';
|
|
7
|
-
declare const
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
declare const InlineDialogComponent: FC<InlineDialogProps>;
|
|
8
|
+
export { InlineDialogComponent as InlineDialogWithoutAnalytics };
|
|
9
|
+
/**
|
|
10
|
+
* __Inline dialog__
|
|
11
|
+
*
|
|
12
|
+
* _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
|
|
13
|
+
*
|
|
14
|
+
* An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
|
|
15
|
+
*
|
|
16
|
+
* - [Examples](https://atlassian.design/components/inline-dialog/examples)
|
|
17
|
+
* - [Code](https://atlassian.design/components/inline-dialog/code)
|
|
18
|
+
* - [Usage](https://atlassian.design/components/inline-dialog/usage)
|
|
19
|
+
*/
|
|
20
|
+
declare const InlineDialog: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
|
|
21
|
+
export default InlineDialog;
|
|
@@ -4,7 +4,18 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import React, { type FC } from 'react';
|
|
6
6
|
import type { InlineDialogProps } from '../types';
|
|
7
|
-
declare const
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
declare const InlineDialogComponent: FC<InlineDialogProps>;
|
|
8
|
+
export { InlineDialogComponent as InlineDialogWithoutAnalytics };
|
|
9
|
+
/**
|
|
10
|
+
* __Inline dialog__
|
|
11
|
+
*
|
|
12
|
+
* _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
|
|
13
|
+
*
|
|
14
|
+
* An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
|
|
15
|
+
*
|
|
16
|
+
* - [Examples](https://atlassian.design/components/inline-dialog/examples)
|
|
17
|
+
* - [Code](https://atlassian.design/components/inline-dialog/code)
|
|
18
|
+
* - [Usage](https://atlassian.design/components/inline-dialog/usage)
|
|
19
|
+
*/
|
|
20
|
+
declare const InlineDialog: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
|
|
21
|
+
export default InlineDialog;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-dialog",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.4",
|
|
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/"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
48
48
|
"@atlaskit/popper": "^6.1.0",
|
|
49
49
|
"@atlaskit/theme": "^12.11.0",
|
|
50
|
-
"@atlaskit/tokens": "^1.
|
|
50
|
+
"@atlaskit/tokens": "^1.54.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
53
53
|
"bind-event-listener": "^3.0.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@af/accessibility-testing": "*",
|
|
61
61
|
"@af/integration-testing": "*",
|
|
62
62
|
"@af/visual-regression": "*",
|
|
63
|
-
"@atlaskit/button": "^18.
|
|
63
|
+
"@atlaskit/button": "^18.4.0",
|
|
64
64
|
"@atlaskit/datetime-picker": "^13.7.0",
|
|
65
65
|
"@atlaskit/docs": "*",
|
|
66
66
|
"@atlaskit/modal-dialog": "^12.14.0",
|