@atlaskit/inline-dialog 13.3.6 → 13.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 +18 -0
- package/dist/cjs/InlineDialog/index.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/InlineDialog/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/InlineDialog/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +10 -8
- package/report.api.md +98 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 13.3.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
8
|
+
|
|
9
|
+
## 13.3.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
14
|
+
|
|
15
|
+
## 13.3.7
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 13.3.6
|
|
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.
|
|
34
|
+
var packageVersion = "13.3.9";
|
|
35
35
|
|
|
36
36
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
37
37
|
if (!node) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -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.
|
|
11
|
+
const packageVersion = "13.3.9";
|
|
12
12
|
|
|
13
13
|
const checkIsChildOfPortal = node => {
|
|
14
14
|
if (!node) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -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.
|
|
11
|
+
var packageVersion = "13.3.9";
|
|
12
12
|
|
|
13
13
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
14
14
|
if (!node) {
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-dialog",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.9",
|
|
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/"
|
|
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",
|
|
@@ -27,18 +27,19 @@
|
|
|
27
27
|
"text": "View Popup documentation",
|
|
28
28
|
"link": "https://atlassian.design/components/popup/examples"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
},
|
|
31
|
+
"category": "Components"
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
35
|
-
"@atlaskit/ds-lib": "^1.
|
|
36
|
+
"@atlaskit/ds-lib": "^2.1.0",
|
|
36
37
|
"@atlaskit/popper": "^5.0.0",
|
|
37
38
|
"@atlaskit/theme": "^12.1.0",
|
|
38
39
|
"@atlaskit/tokens": "^0.10.0",
|
|
39
40
|
"@babel/runtime": "^7.0.0",
|
|
40
41
|
"@emotion/core": "^10.0.9",
|
|
41
|
-
"bind-event-listener": "^2.1.
|
|
42
|
+
"bind-event-listener": "^2.1.1",
|
|
42
43
|
"react-node-resolver": "^1.0.1"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
@@ -46,12 +47,12 @@
|
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@atlaskit/button": "^16.3.0",
|
|
49
|
-
"@atlaskit/datetime-picker": "^
|
|
50
|
+
"@atlaskit/datetime-picker": "^12.1.0",
|
|
50
51
|
"@atlaskit/docs": "*",
|
|
51
52
|
"@atlaskit/icon": "^21.10.0",
|
|
52
53
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
53
54
|
"@atlaskit/section-message": "^6.1.0",
|
|
54
|
-
"@atlaskit/select": "^15.
|
|
55
|
+
"@atlaskit/select": "^15.6.0",
|
|
55
56
|
"@atlaskit/ssr": "*",
|
|
56
57
|
"@atlaskit/visual-regression": "*",
|
|
57
58
|
"@atlaskit/webdriver-runner": "*",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"@testing-library/react": "^8.0.1",
|
|
60
61
|
"react-dom": "^16.8.0",
|
|
61
62
|
"react-lorem-component": "^0.13.0",
|
|
62
|
-
"typescript": "4.
|
|
63
|
+
"typescript": "4.3.5",
|
|
63
64
|
"wait-for-expect": "^1.2.0"
|
|
64
65
|
},
|
|
65
66
|
"keywords": [
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"import-structure": "atlassian-conventions"
|
|
73
74
|
},
|
|
74
75
|
"@repo/internal": {
|
|
76
|
+
"dom-events": "use-bind-event-listener",
|
|
75
77
|
"analytics": "analytics-next",
|
|
76
78
|
"theming": [
|
|
77
79
|
"react-context",
|
package/report.api.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/inline-dialog"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { default as React_2 } from 'react';
|
|
7
|
+
import { ReactNode } from 'react';
|
|
8
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
9
|
+
import { WithContextProps } from '@atlaskit/analytics-next';
|
|
10
|
+
|
|
11
|
+
declare const _default: React_2.ForwardRefExoticComponent<
|
|
12
|
+
Pick<
|
|
13
|
+
Omit<
|
|
14
|
+
React_2.PropsWithChildren<InlineDialogProps>,
|
|
15
|
+
keyof WithAnalyticsEventsProps
|
|
16
|
+
> &
|
|
17
|
+
React_2.RefAttributes<any> &
|
|
18
|
+
WithContextProps,
|
|
19
|
+
| 'content'
|
|
20
|
+
| 'children'
|
|
21
|
+
| 'testId'
|
|
22
|
+
| 'isOpen'
|
|
23
|
+
| 'onContentBlur'
|
|
24
|
+
| 'onContentClick'
|
|
25
|
+
| 'onContentFocus'
|
|
26
|
+
| 'onClose'
|
|
27
|
+
| 'placement'
|
|
28
|
+
| 'strategy'
|
|
29
|
+
| 'key'
|
|
30
|
+
| 'analyticsContext'
|
|
31
|
+
> &
|
|
32
|
+
React_2.RefAttributes<any>
|
|
33
|
+
>;
|
|
34
|
+
export default _default;
|
|
35
|
+
|
|
36
|
+
declare interface InlineDialogProps extends WithAnalyticsEventsProps {
|
|
37
|
+
/**
|
|
38
|
+
* The elements that the InlineDialog will be positioned relative to.
|
|
39
|
+
*/
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* The elements to be displayed within the InlineDialog.
|
|
43
|
+
*/
|
|
44
|
+
content: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Sets whether to show or hide the dialog.
|
|
47
|
+
*/
|
|
48
|
+
isOpen?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Function called when you lose focus on the object.
|
|
51
|
+
*/
|
|
52
|
+
onContentBlur?: () => void;
|
|
53
|
+
/**
|
|
54
|
+
* Function called when user clicks on the open dialog.
|
|
55
|
+
*/
|
|
56
|
+
onContentClick?: () => void;
|
|
57
|
+
/**
|
|
58
|
+
* Function called when user focuses on the open dialog.
|
|
59
|
+
*/
|
|
60
|
+
onContentFocus?: () => void;
|
|
61
|
+
/**
|
|
62
|
+
* Function called when the dialog is open and a click occurs anywhere outside
|
|
63
|
+
* the dialog.
|
|
64
|
+
*/
|
|
65
|
+
onClose?: (obj: { isOpen: boolean; event: Event }) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Where the dialog should appear, relative to the contents of the children.
|
|
68
|
+
*/
|
|
69
|
+
placement?: Placement;
|
|
70
|
+
/**
|
|
71
|
+
* Placement strategy used. Can be 'fixed' or 'absolute'. Defaults to 'fixed'.
|
|
72
|
+
*/
|
|
73
|
+
strategy?: 'fixed' | 'absolute';
|
|
74
|
+
/**
|
|
75
|
+
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests
|
|
76
|
+
*/
|
|
77
|
+
testId?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare type Placement =
|
|
81
|
+
| 'auto-start'
|
|
82
|
+
| 'auto'
|
|
83
|
+
| 'auto-end'
|
|
84
|
+
| 'top-start'
|
|
85
|
+
| 'top'
|
|
86
|
+
| 'top-end'
|
|
87
|
+
| 'right-start'
|
|
88
|
+
| 'right'
|
|
89
|
+
| 'right-end'
|
|
90
|
+
| 'bottom-end'
|
|
91
|
+
| 'bottom'
|
|
92
|
+
| 'bottom-start'
|
|
93
|
+
| 'left-end'
|
|
94
|
+
| 'left'
|
|
95
|
+
| 'left-start';
|
|
96
|
+
|
|
97
|
+
export {};
|
|
98
|
+
```
|