@atlaskit/editor-extension-dropbox 0.4.5 → 0.4.7
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 +30 -18
- package/afm-cc/tsconfig.json +37 -0
- package/dist/cjs/constants.js +2 -4
- package/dist/cjs/dropboxscript.js +1 -2
- package/dist/cjs/enable-dropbox.js +2 -3
- package/dist/cjs/icons/DropboxIcon.js +2 -3
- package/dist/cjs/manifest.js +1 -2
- package/dist/cjs/modal.js +1 -2
- package/package.json +5 -5
- package/tmp/api-report-tmp.d.ts +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-extension-dropbox
|
|
2
2
|
|
|
3
|
+
## 0.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.4.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 0.4.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -22,19 +34,19 @@
|
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
37
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
26
38
|
|
|
27
39
|
## 0.4.1
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
43
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
32
44
|
|
|
33
45
|
## 0.4.0
|
|
34
46
|
|
|
35
47
|
### Minor Changes
|
|
36
48
|
|
|
37
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
49
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
38
50
|
|
|
39
51
|
### Patch Changes
|
|
40
52
|
|
|
@@ -50,7 +62,7 @@
|
|
|
50
62
|
|
|
51
63
|
### Patch Changes
|
|
52
64
|
|
|
53
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
65
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
54
66
|
- Updated dependencies
|
|
55
67
|
|
|
56
68
|
## 0.3.6
|
|
@@ -75,13 +87,13 @@
|
|
|
75
87
|
|
|
76
88
|
### Patch Changes
|
|
77
89
|
|
|
78
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
90
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
79
91
|
|
|
80
92
|
## 0.3.2
|
|
81
93
|
|
|
82
94
|
### Patch Changes
|
|
83
95
|
|
|
84
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
96
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
85
97
|
|
|
86
98
|
## 0.3.1
|
|
87
99
|
|
|
@@ -93,7 +105,7 @@
|
|
|
93
105
|
|
|
94
106
|
### Minor Changes
|
|
95
107
|
|
|
96
|
-
- [`8949731bc6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8949731bc6a) - ED-14608: Migrate adf-utils imports in atlassian-frontend to new child entry points to improve treeshaking
|
|
108
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`8949731bc6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8949731bc6a) - ED-14608: Migrate adf-utils imports in atlassian-frontend to new child entry points to improve treeshaking
|
|
97
109
|
|
|
98
110
|
### Patch Changes
|
|
99
111
|
|
|
@@ -109,7 +121,7 @@
|
|
|
109
121
|
|
|
110
122
|
### Patch Changes
|
|
111
123
|
|
|
112
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
124
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
113
125
|
- Updated dependencies
|
|
114
126
|
|
|
115
127
|
## 0.2.27
|
|
@@ -122,7 +134,7 @@
|
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
125
|
-
- [`55256125722`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55256125722) - ED-14262 update editor packages to use emotion 11
|
|
137
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`55256125722`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55256125722) - ED-14262 update editor packages to use emotion 11
|
|
126
138
|
- Updated dependencies
|
|
127
139
|
|
|
128
140
|
## 0.2.25
|
|
@@ -135,7 +147,7 @@
|
|
|
135
147
|
|
|
136
148
|
### Patch Changes
|
|
137
149
|
|
|
138
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
150
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
139
151
|
- Updated dependencies
|
|
140
152
|
|
|
141
153
|
## 0.2.23
|
|
@@ -160,7 +172,7 @@
|
|
|
160
172
|
|
|
161
173
|
### Patch Changes
|
|
162
174
|
|
|
163
|
-
- [`56129bdfc79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56129bdfc79) - Upgrade to the latest version of @atlaskit/modal-dialog.
|
|
175
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`56129bdfc79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56129bdfc79) - Upgrade to the latest version of @atlaskit/modal-dialog.
|
|
164
176
|
- Updated dependencies
|
|
165
177
|
|
|
166
178
|
## 0.2.19
|
|
@@ -173,7 +185,7 @@
|
|
|
173
185
|
|
|
174
186
|
### Patch Changes
|
|
175
187
|
|
|
176
|
-
- [`d05cb164f3f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d05cb164f3f) - NO-ISSUE dereference default export of async imported modules for better interop
|
|
188
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`d05cb164f3f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d05cb164f3f) - NO-ISSUE dereference default export of async imported modules for better interop
|
|
177
189
|
- [`94448f306ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94448f306ed) - AK-330 Fix editor toolbar and quick insert menu items pronounced twice by screen readers
|
|
178
190
|
- Updated dependencies
|
|
179
191
|
|
|
@@ -223,7 +235,7 @@
|
|
|
223
235
|
|
|
224
236
|
### Patch Changes
|
|
225
237
|
|
|
226
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
238
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
227
239
|
|
|
228
240
|
## 0.2.9
|
|
229
241
|
|
|
@@ -241,7 +253,7 @@
|
|
|
241
253
|
|
|
242
254
|
### Patch Changes
|
|
243
255
|
|
|
244
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
256
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
245
257
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
246
258
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
247
259
|
|
|
@@ -267,7 +279,7 @@
|
|
|
267
279
|
|
|
268
280
|
### Patch Changes
|
|
269
281
|
|
|
270
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
282
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
271
283
|
|
|
272
284
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
273
285
|
to prevent duplicates of tslib being bundled.
|
|
@@ -288,7 +300,7 @@
|
|
|
288
300
|
|
|
289
301
|
### Minor Changes
|
|
290
302
|
|
|
291
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
303
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
292
304
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
293
305
|
|
|
294
306
|
### Patch Changes
|
|
@@ -305,13 +317,13 @@
|
|
|
305
317
|
|
|
306
318
|
### Patch Changes
|
|
307
319
|
|
|
308
|
-
- [`d7c0ccbb4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7c0ccbb4e) - ED-9173 Update Dropbox extension description- Updated dependencies
|
|
320
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`d7c0ccbb4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7c0ccbb4e) - ED-9173 Update Dropbox extension description- Updated dependencies
|
|
309
321
|
|
|
310
322
|
## 0.1.6
|
|
311
323
|
|
|
312
324
|
### Patch Changes
|
|
313
325
|
|
|
314
|
-
- [`37aaff5d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37aaff5d09) - Change version of theme from direct to caret dependency
|
|
326
|
+
- [#2000](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2000) [`37aaff5d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37aaff5d09) - Change version of theme from direct to caret dependency
|
|
315
327
|
|
|
316
328
|
## 0.1.5
|
|
317
329
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../dist",
|
|
8
|
+
"rootDir": "../",
|
|
9
|
+
"baseUrl": "../"
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../src/**/*.ts",
|
|
13
|
+
"../src/**/*.tsx"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"../src/**/__tests__/*",
|
|
17
|
+
"../src/**/*.test.*",
|
|
18
|
+
"../src/**/test.*"
|
|
19
|
+
],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"path": "../../adf-utils/afm-cc/tsconfig.json"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "../../../design-system/button/afm-cc/tsconfig.json"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"path": "../../editor-common/afm-cc/tsconfig.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../../design-system/icon/afm-cc/tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "../../../design-system/modal-dialog/afm-cc/tsconfig.json"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
package/dist/cjs/constants.js
CHANGED
|
@@ -4,7 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.POPUP_MOUNTPOINT = exports.DROPBOX_IFRAME_NAME = void 0;
|
|
7
|
-
var POPUP_MOUNTPOINT = 'twp-dropbox-popup-mount-point';
|
|
8
|
-
exports.
|
|
9
|
-
var DROPBOX_IFRAME_NAME = 'twp-dropboxjs-iframe';
|
|
10
|
-
exports.DROPBOX_IFRAME_NAME = DROPBOX_IFRAME_NAME;
|
|
7
|
+
var POPUP_MOUNTPOINT = exports.POPUP_MOUNTPOINT = 'twp-dropbox-popup-mount-point';
|
|
8
|
+
var DROPBOX_IFRAME_NAME = exports.DROPBOX_IFRAME_NAME = 'twp-dropboxjs-iframe';
|
|
@@ -10,7 +10,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
12
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
var _default = /*#__PURE__*/function () {
|
|
13
|
+
var _default = exports.default = /*#__PURE__*/function () {
|
|
14
14
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(appKey) {
|
|
15
15
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
16
16
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -36,5 +36,4 @@ var _default = /*#__PURE__*/function () {
|
|
|
36
36
|
return function (_x) {
|
|
37
37
|
return _ref.apply(this, arguments);
|
|
38
38
|
};
|
|
39
|
-
}();
|
|
40
|
-
exports.default = _default;
|
|
39
|
+
}();
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _dropbox = _interopRequireDefault(require("@atlaskit/icon/glyph/dropbox"));
|
|
10
|
-
var _default = function _default() {
|
|
10
|
+
var _default = exports.default = function _default() {
|
|
11
11
|
return (
|
|
12
12
|
/*#__PURE__*/
|
|
13
13
|
// This colour is not ADG - it is the dropbox brand color
|
|
@@ -17,5 +17,4 @@ var _default = function _default() {
|
|
|
17
17
|
label: ""
|
|
18
18
|
})
|
|
19
19
|
);
|
|
20
|
-
};
|
|
21
|
-
exports.default = _default;
|
|
20
|
+
};
|
package/dist/cjs/manifest.js
CHANGED
package/dist/cjs/modal.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
36
|
-
"@atlaskit/button": "^
|
|
37
|
-
"@atlaskit/editor-common": "^76.
|
|
38
|
-
"@atlaskit/icon": "^
|
|
39
|
-
"@atlaskit/modal-dialog": "^12.
|
|
36
|
+
"@atlaskit/button": "^17.0.0",
|
|
37
|
+
"@atlaskit/editor-common": "^76.26.0",
|
|
38
|
+
"@atlaskit/icon": "^22.0.0",
|
|
39
|
+
"@atlaskit/modal-dialog": "^12.10.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"@emotion/react": "^11.7.1"
|
|
42
42
|
},
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-extension-dropbox"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { ExtensionManifest } from '@atlaskit/editor-common/extensions';
|
|
8
|
-
|
|
9
|
-
// @public (undocumented)
|
|
10
|
-
const manifestFunction: ({ appKey, canMountinIframe, }: {
|
|
11
|
-
appKey: string;
|
|
12
|
-
canMountinIframe: boolean;
|
|
13
|
-
}) => ExtensionManifest;
|
|
14
|
-
export default manifestFunction;
|
|
15
|
-
|
|
16
|
-
// (No @packageDocumentation comment for this package)
|
|
17
|
-
|
|
18
|
-
```
|