@atlaskit/editor-extension-dropbox 9.0.14 → 10.0.0
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 +32 -0
- package/constants/package.json +1 -8
- package/dropboxscript/package.json +1 -8
- package/enable-dropbox/package.json +1 -8
- package/manifest/package.json +1 -8
- package/modal/package.json +1 -8
- package/package.json +10 -18
- package/types/package.json +1 -8
- package/dist/types-ts4.5/constants.d.ts +0 -2
- package/dist/types-ts4.5/dropboxscript.d.ts +0 -2
- package/dist/types-ts4.5/enable-dropbox.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/constants.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/dropboxscript.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/enable-dropbox.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/manifest.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/icons/DropboxIcon.d.ts +0 -2
- package/dist/types-ts4.5/index.d.ts +0 -1
- package/dist/types-ts4.5/manifest.d.ts +0 -20
- package/dist/types-ts4.5/modal.d.ts +0 -7
- package/dist/types-ts4.5/types.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/editor-extension-dropbox
|
|
2
2
|
|
|
3
|
+
## 10.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
29
|
+
## 9.0.15
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
3
35
|
## 9.0.14
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/constants/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/constants.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/constants.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/constants.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/dropboxscript.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/dropboxscript.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/dropboxscript.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/enable-dropbox.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/enable-dropbox.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/enable-dropbox.d.ts"
|
|
17
10
|
}
|
package/manifest/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/manifest.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/manifest.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/manifest.d.ts"
|
|
17
10
|
}
|
package/modal/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/modal.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/modal.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/modal.d.ts"
|
|
17
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.5/*",
|
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": [
|
|
24
16
|
"*.compiled.css"
|
|
25
17
|
],
|
|
@@ -38,20 +30,20 @@
|
|
|
38
30
|
}
|
|
39
31
|
},
|
|
40
32
|
"dependencies": {
|
|
41
|
-
"@atlaskit/adf-utils": "^
|
|
42
|
-
"@atlaskit/button": "^
|
|
43
|
-
"@atlaskit/heading": "^
|
|
44
|
-
"@atlaskit/modal-dialog": "^
|
|
45
|
-
"@atlaskit/platform-feature-flags": "^
|
|
46
|
-
"@atlaskit/primitives": "^
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
-
"@atlaskit/tokens": "^
|
|
33
|
+
"@atlaskit/adf-utils": "^20.0.0",
|
|
34
|
+
"@atlaskit/button": "^24.0.0",
|
|
35
|
+
"@atlaskit/heading": "^6.0.0",
|
|
36
|
+
"@atlaskit/modal-dialog": "^16.0.0",
|
|
37
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
38
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^104.0.0",
|
|
40
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
49
41
|
"@babel/runtime": "^7.0.0",
|
|
50
42
|
"@compiled/react": "^0.20.0",
|
|
51
43
|
"@emotion/react": "^11.7.1"
|
|
52
44
|
},
|
|
53
45
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^
|
|
46
|
+
"@atlaskit/editor-common": "^116.0.0",
|
|
55
47
|
"react": "^18.2.0",
|
|
56
48
|
"react-dom": "^18.2.0"
|
|
57
49
|
},
|
package/types/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/types.d.ts"
|
|
17
10
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DROPBOX_IFRAME_NAME, POPUP_MOUNTPOINT } from '../constants';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../dropboxscript';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../enable-dropbox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../manifest';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../modal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { DropboxFile } from '../types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './manifest';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ExtensionManifest } from '@atlaskit/editor-common/extensions';
|
|
2
|
-
import type { DropboxFile } from './types';
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
Dropbox: {
|
|
6
|
-
appKey?: string;
|
|
7
|
-
choose: (args: {
|
|
8
|
-
cancel: () => void;
|
|
9
|
-
iframe?: boolean;
|
|
10
|
-
success: (value: DropboxFile[] | PromiseLike<DropboxFile[]>) => void;
|
|
11
|
-
windowName?: string;
|
|
12
|
-
}) => void;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
declare const manifestFunction: ({ appKey, canMountinIframe, }: {
|
|
17
|
-
appKey: string;
|
|
18
|
-
canMountinIframe: boolean;
|
|
19
|
-
}) => ExtensionManifest;
|
|
20
|
-
export default manifestFunction;
|