@atlaskit/editor-extension-dropbox 6.0.8 → 6.0.10
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 +12 -0
- package/dist/cjs/manifest.js +2 -0
- package/dist/cjs/modal.js +3 -1
- package/dist/es2019/manifest.js +2 -0
- package/dist/es2019/modal.js +3 -1
- package/dist/esm/manifest.js +2 -0
- package/dist/esm/modal.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/manifest.js
CHANGED
|
@@ -54,10 +54,12 @@ function _pickFromDropbox() {
|
|
|
54
54
|
}
|
|
55
55
|
if ((0, _expValEquals.expValEquals)('platform_editor_react19_migration', 'isEnabled', true)) {
|
|
56
56
|
root = (0, _client.createRoot)(popupMountPoint);
|
|
57
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
57
58
|
root.render( /*#__PURE__*/_react.default.createElement(Modal.default, {
|
|
58
59
|
onClose: function onClose() {}
|
|
59
60
|
}));
|
|
60
61
|
} else {
|
|
62
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
61
63
|
_reactDom.default.render( /*#__PURE__*/_react.default.createElement(Modal.default, {
|
|
62
64
|
onClose: function onClose() {}
|
|
63
65
|
}), popupMountPoint);
|
package/dist/cjs/modal.js
CHANGED
|
@@ -86,7 +86,9 @@ var Modal = function Modal(_ref) {
|
|
|
86
86
|
}
|
|
87
87
|
return (0, _react2.jsx)(_modalDialog.ModalTransition, null, isOpen && (0, _react2.jsx)(_modalDialog.default, {
|
|
88
88
|
height: "100%",
|
|
89
|
-
width: "large"
|
|
89
|
+
width: "large"
|
|
90
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
91
|
+
,
|
|
90
92
|
onClose: function onClose() {
|
|
91
93
|
setIsOpen(false);
|
|
92
94
|
_onClose();
|
package/dist/es2019/manifest.js
CHANGED
|
@@ -29,10 +29,12 @@ async function pickFromDropbox(appKey, canMountinIframe) {
|
|
|
29
29
|
}
|
|
30
30
|
if (expValEquals('platform_editor_react19_migration', 'isEnabled', true)) {
|
|
31
31
|
root = createRoot(popupMountPoint);
|
|
32
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
32
33
|
root.render( /*#__PURE__*/React.createElement(Modal.default, {
|
|
33
34
|
onClose: () => {}
|
|
34
35
|
}));
|
|
35
36
|
} else {
|
|
37
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
36
38
|
ReactDOM.render( /*#__PURE__*/React.createElement(Modal.default, {
|
|
37
39
|
onClose: () => {}
|
|
38
40
|
}), popupMountPoint);
|
package/dist/es2019/modal.js
CHANGED
|
@@ -72,7 +72,9 @@ const Modal = ({
|
|
|
72
72
|
}
|
|
73
73
|
return jsx(ModalTransition, null, isOpen && jsx(ModalDialog, {
|
|
74
74
|
height: "100%",
|
|
75
|
-
width: "large"
|
|
75
|
+
width: "large"
|
|
76
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
77
|
+
,
|
|
76
78
|
onClose: () => {
|
|
77
79
|
setIsOpen(false);
|
|
78
80
|
onClose();
|
package/dist/esm/manifest.js
CHANGED
|
@@ -43,10 +43,12 @@ function _pickFromDropbox() {
|
|
|
43
43
|
}
|
|
44
44
|
if (expValEquals('platform_editor_react19_migration', 'isEnabled', true)) {
|
|
45
45
|
root = createRoot(popupMountPoint);
|
|
46
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
46
47
|
root.render( /*#__PURE__*/React.createElement(Modal.default, {
|
|
47
48
|
onClose: function onClose() {}
|
|
48
49
|
}));
|
|
49
50
|
} else {
|
|
51
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
50
52
|
ReactDOM.render( /*#__PURE__*/React.createElement(Modal.default, {
|
|
51
53
|
onClose: function onClose() {}
|
|
52
54
|
}), popupMountPoint);
|
package/dist/esm/modal.js
CHANGED
|
@@ -74,7 +74,9 @@ var Modal = function Modal(_ref) {
|
|
|
74
74
|
}
|
|
75
75
|
return jsx(ModalTransition, null, isOpen && jsx(ModalDialog, {
|
|
76
76
|
height: "100%",
|
|
77
|
-
width: "large"
|
|
77
|
+
width: "large"
|
|
78
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
79
|
+
,
|
|
78
80
|
onClose: function onClose() {
|
|
79
81
|
setIsOpen(false);
|
|
80
82
|
_onClose();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.10",
|
|
4
4
|
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/primitives": "^18.0.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^45.0.0",
|
|
41
41
|
"@atlaskit/tokens": "^11.1.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@compiled/react": "^0.20.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^112.
|
|
47
|
+
"@atlaskit/editor-common": "^112.8.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|
|
50
50
|
},
|