@atlaskit/editor-extension-dropbox 0.5.11 → 0.5.13
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 +14 -0
- package/dist/cjs/modal.js +1 -7
- package/dist/es2019/modal.js +2 -8
- package/dist/esm/modal.js +2 -8
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-extension-dropbox
|
|
2
2
|
|
|
3
|
+
## 0.5.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.5.12
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#150050](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150050)
|
|
14
|
+
[`1f5959b9645fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f5959b9645fc) -
|
|
15
|
+
ENGHEALTH-28426 use atlaskit/modal-dialog closeButton for extension dropbox modal
|
|
16
|
+
|
|
3
17
|
## 0.5.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/modal.js
CHANGED
|
@@ -10,8 +10,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
13
|
-
var _closeEditorClose = _interopRequireDefault(require("@atlaskit/icon/core/migration/close--editor-close"));
|
|
14
|
-
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
15
13
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
16
14
|
var _constants = require("./constants");
|
|
17
15
|
var _primitives = require("@atlaskit/primitives");
|
|
@@ -69,11 +67,7 @@ var Header = function Header() {
|
|
|
69
67
|
}, (0, _react2.jsx)(_heading.default, {
|
|
70
68
|
id: titleId,
|
|
71
69
|
size: "xsmall"
|
|
72
|
-
}, "Dropbox")), (0, _react2.jsx)("div", null, (0, _react2.jsx)(
|
|
73
|
-
appearance: "subtle",
|
|
74
|
-
iconBefore: (0, _react2.jsx)(_closeEditorClose.default, {
|
|
75
|
-
label: "close dropbox modal"
|
|
76
|
-
}),
|
|
70
|
+
}, "Dropbox")), (0, _react2.jsx)("div", null, (0, _react2.jsx)(_modalDialog.CloseButton, {
|
|
77
71
|
onClick: onClose
|
|
78
72
|
})));
|
|
79
73
|
};
|
package/dist/es2019/modal.js
CHANGED
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
import React, { useState } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx, css } from '@emotion/react';
|
|
8
|
-
import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
9
|
-
import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
|
|
10
|
-
import Button from '@atlaskit/button';
|
|
8
|
+
import ModalDialog, { ModalTransition, CloseButton, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
11
9
|
import Heading from '@atlaskit/heading';
|
|
12
10
|
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
13
11
|
import { xcss, Box } from '@atlaskit/primitives';
|
|
@@ -57,11 +55,7 @@ const Header = () => {
|
|
|
57
55
|
}, jsx(Heading, {
|
|
58
56
|
id: titleId,
|
|
59
57
|
size: "xsmall"
|
|
60
|
-
}, "Dropbox")), jsx("div", null, jsx(
|
|
61
|
-
appearance: "subtle",
|
|
62
|
-
iconBefore: jsx(EditorCloseIcon, {
|
|
63
|
-
label: "close dropbox modal"
|
|
64
|
-
}),
|
|
58
|
+
}, "Dropbox")), jsx("div", null, jsx(CloseButton, {
|
|
65
59
|
onClick: onClose
|
|
66
60
|
})));
|
|
67
61
|
};
|
package/dist/esm/modal.js
CHANGED
|
@@ -6,9 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx, css } from '@emotion/react';
|
|
9
|
-
import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
10
|
-
import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
|
|
11
|
-
import Button from '@atlaskit/button';
|
|
9
|
+
import ModalDialog, { ModalTransition, CloseButton, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
12
10
|
import Heading from '@atlaskit/heading';
|
|
13
11
|
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
14
12
|
import { xcss, Box } from '@atlaskit/primitives';
|
|
@@ -57,11 +55,7 @@ var Header = function Header() {
|
|
|
57
55
|
}, jsx(Heading, {
|
|
58
56
|
id: titleId,
|
|
59
57
|
size: "xsmall"
|
|
60
|
-
}, "Dropbox")), jsx("div", null, jsx(
|
|
61
|
-
appearance: "subtle",
|
|
62
|
-
iconBefore: jsx(EditorCloseIcon, {
|
|
63
|
-
label: "close dropbox modal"
|
|
64
|
-
}),
|
|
58
|
+
}, "Dropbox")), jsx("div", null, jsx(CloseButton, {
|
|
65
59
|
onClick: onClose
|
|
66
60
|
})));
|
|
67
61
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.13",
|
|
4
4
|
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/adf-utils": "^19.19.0",
|
|
45
45
|
"@atlaskit/button": "^23.0.0",
|
|
46
|
-
"@atlaskit/editor-common": "^104.
|
|
46
|
+
"@atlaskit/editor-common": "^104.1.0",
|
|
47
47
|
"@atlaskit/heading": "^5.2.0",
|
|
48
|
-
"@atlaskit/icon": "^
|
|
48
|
+
"@atlaskit/icon": "^26.0.0",
|
|
49
49
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
50
50
|
"@atlaskit/primitives": "^14.7.0",
|
|
51
51
|
"@atlaskit/tokens": "^4.8.0",
|