@atlaskit/inline-dialog 16.0.2 → 16.0.3
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 +1 -1
- package/dist/cjs/InlineDialog/styled/container.js +1 -1
- package/dist/es2019/InlineDialog/index.js +1 -1
- package/dist/es2019/InlineDialog/styled/container.js +1 -1
- package/dist/esm/InlineDialog/index.js +1 -1
- package/dist/esm/InlineDialog/styled/container.js +1 -1
- package/package.json +5 -4
- package/__perf__/default.tsx +0 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 16.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#108675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108675)
|
|
8
|
+
[`98426d09239b8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98426d09239b8) -
|
|
9
|
+
Update dev depedencies.
|
|
10
|
+
|
|
3
11
|
## 16.0.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -78,7 +78,7 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref2) {
|
|
|
78
78
|
action: 'closed',
|
|
79
79
|
componentName: 'inlineDialog',
|
|
80
80
|
packageName: "@atlaskit/inline-dialog",
|
|
81
|
-
packageVersion: "16.0.
|
|
81
|
+
packageVersion: "16.0.3"
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
// we put this into a ref to avoid handleCloseRequest having this as a dependency
|
|
@@ -62,7 +62,7 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
|
|
|
62
62
|
action: 'closed',
|
|
63
63
|
componentName: 'inlineDialog',
|
|
64
64
|
packageName: "@atlaskit/inline-dialog",
|
|
65
|
-
packageVersion: "16.0.
|
|
65
|
+
packageVersion: "16.0.3"
|
|
66
66
|
});
|
|
67
67
|
|
|
68
68
|
// we put this into a ref to avoid handleCloseRequest having this as a dependency
|
|
@@ -68,7 +68,7 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref2) {
|
|
|
68
68
|
action: 'closed',
|
|
69
69
|
componentName: 'inlineDialog',
|
|
70
70
|
packageName: "@atlaskit/inline-dialog",
|
|
71
|
-
packageVersion: "16.0.
|
|
71
|
+
packageVersion: "16.0.3"
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
// we put this into a ref to avoid handleCloseRequest having this as a dependency
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-dialog",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.3",
|
|
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/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
47
47
|
"@atlaskit/popper": "^6.3.0",
|
|
48
48
|
"@atlaskit/theme": "^14.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^3.
|
|
49
|
+
"@atlaskit/tokens": "^3.2.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@compiled/react": "^0.18.1",
|
|
52
52
|
"bind-event-listener": "^3.0.0",
|
|
@@ -62,12 +62,13 @@
|
|
|
62
62
|
"@atlaskit/button": "^20.3.0",
|
|
63
63
|
"@atlaskit/datetime-picker": "^15.11.0",
|
|
64
64
|
"@atlaskit/docs": "*",
|
|
65
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
65
|
+
"@atlaskit/dropdown-menu": "^12.25.0",
|
|
66
|
+
"@atlaskit/link": "*",
|
|
66
67
|
"@atlaskit/modal-dialog": "^12.19.0",
|
|
68
|
+
"@atlaskit/primitives": "^13.3.8",
|
|
67
69
|
"@atlaskit/section-message": "^6.8.0",
|
|
68
70
|
"@atlaskit/select": "^18.9.0",
|
|
69
71
|
"@atlaskit/ssr": "*",
|
|
70
|
-
"@atlaskit/visual-regression": "*",
|
|
71
72
|
"@testing-library/react": "^12.1.5",
|
|
72
73
|
"@types/react-node-resolver": "^2.0.0",
|
|
73
74
|
"react-dom": "^16.8.0",
|
package/__perf__/default.tsx
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
|
|
3
|
-
import InlineDialog from '../src';
|
|
4
|
-
|
|
5
|
-
interface State {
|
|
6
|
-
dialogOpen: boolean;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const content = (
|
|
10
|
-
<div>
|
|
11
|
-
<p>Hello!</p>
|
|
12
|
-
</div>
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
export default class InlineDialogExample extends Component<{}, State> {
|
|
16
|
-
state = {
|
|
17
|
-
dialogOpen: true,
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
toggleDialog = () => this.setState({ dialogOpen: !this.state.dialogOpen });
|
|
21
|
-
|
|
22
|
-
render() {
|
|
23
|
-
return (
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
25
|
-
<div style={{ minHeight: '120px' }}>
|
|
26
|
-
<InlineDialog
|
|
27
|
-
onClose={() => {
|
|
28
|
-
this.setState({ dialogOpen: false });
|
|
29
|
-
}}
|
|
30
|
-
content={content}
|
|
31
|
-
isOpen={this.state.dialogOpen}
|
|
32
|
-
>
|
|
33
|
-
A plain dialog
|
|
34
|
-
</InlineDialog>
|
|
35
|
-
</div>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
}
|