@atlaskit/editor-extension-dropbox 0.3.2 → 0.3.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 +6 -0
- package/constants/package.json +8 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types-ts4.0/constants.d.ts +2 -0
- package/dist/types-ts4.0/dropboxscript.d.ts +2 -0
- package/dist/types-ts4.0/enable-dropbox.d.ts +2 -0
- package/dist/types-ts4.0/icons/DropboxIcon.d.ts +3 -0
- package/dist/types-ts4.0/index.d.ts +1 -0
- package/dist/types-ts4.0/manifest.d.ts +20 -0
- package/dist/types-ts4.0/modal.d.ts +7 -0
- package/dist/types-ts4.0/types.d.ts +8 -0
- package/dropboxscript/package.json +8 -1
- package/enable-dropbox/package.json +8 -1
- package/manifest/package.json +8 -1
- package/modal/package.json +8 -1
- package/package.json +12 -5
- package/types/package.json +8 -1
package/CHANGELOG.md
CHANGED
package/constants/package.json
CHANGED
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/constants.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/constants.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/constants.d.ts"
|
|
7
|
+
"types": "../dist/types/constants.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/constants.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './manifest';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ExtensionManifest } from '@atlaskit/editor-common/extensions';
|
|
2
|
+
import { DropboxFile } from './types';
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
Dropbox: {
|
|
6
|
+
appKey?: string;
|
|
7
|
+
choose: (args: {
|
|
8
|
+
iframe?: boolean;
|
|
9
|
+
windowName?: string;
|
|
10
|
+
success: (value: DropboxFile[] | PromiseLike<DropboxFile[]>) => void;
|
|
11
|
+
cancel: () => void;
|
|
12
|
+
}) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
declare const manifestFunction: ({ appKey, canMountinIframe, }: {
|
|
17
|
+
appKey: string;
|
|
18
|
+
canMountinIframe: boolean;
|
|
19
|
+
}) => ExtensionManifest;
|
|
20
|
+
export default manifestFunction;
|
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/dropboxscript.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/dropboxscript.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/dropboxscript.d.ts"
|
|
7
|
+
"types": "../dist/types/dropboxscript.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/dropboxscript.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/enable-dropbox.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/enable-dropbox.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/enable-dropbox.d.ts"
|
|
7
|
+
"types": "../dist/types/enable-dropbox.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/enable-dropbox.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|
package/manifest/package.json
CHANGED
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/manifest.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/manifest.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/manifest.d.ts"
|
|
7
|
+
"types": "../dist/types/manifest.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/manifest.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|
package/modal/package.json
CHANGED
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/modal.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/modal.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/modal.d.ts"
|
|
7
|
+
"types": "../dist/types/modal.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/modal.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
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,6 +12,13 @@
|
|
|
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.0 <4.5": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.0/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
15
22
|
"sideEffects": false,
|
|
16
23
|
"atlaskit:src": "src/index.ts",
|
|
17
24
|
"atlassian": {
|
|
@@ -26,9 +33,9 @@
|
|
|
26
33
|
"dependencies": {
|
|
27
34
|
"@atlaskit/adf-utils": "^17.1.0",
|
|
28
35
|
"@atlaskit/button": "^16.3.0",
|
|
29
|
-
"@atlaskit/editor-common": "^69.
|
|
36
|
+
"@atlaskit/editor-common": "^69.3.0",
|
|
30
37
|
"@atlaskit/icon": "^21.10.0",
|
|
31
|
-
"@atlaskit/modal-dialog": "^12.
|
|
38
|
+
"@atlaskit/modal-dialog": "^12.3.0",
|
|
32
39
|
"@babel/runtime": "^7.0.0",
|
|
33
40
|
"@emotion/react": "^11.7.1"
|
|
34
41
|
},
|
|
@@ -38,11 +45,11 @@
|
|
|
38
45
|
},
|
|
39
46
|
"devDependencies": {
|
|
40
47
|
"@atlaskit/docs": "*",
|
|
41
|
-
"@atlaskit/section-message": "^6.
|
|
48
|
+
"@atlaskit/section-message": "^6.2.0",
|
|
42
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
43
50
|
"react": "^16.8.0",
|
|
44
51
|
"react-dom": "^16.8.0",
|
|
45
|
-
"typescript": "4.
|
|
52
|
+
"typescript": "4.5.5"
|
|
46
53
|
},
|
|
47
54
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
48
55
|
"techstack": {
|
package/types/package.json
CHANGED
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
"module": "../dist/esm/types.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/types.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/types.d.ts"
|
|
7
|
+
"types": "../dist/types/types.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.0 <4.5": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.0/types.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
}
|