@atlaskit/editor-extension-dropbox 5.0.0 → 5.0.1
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/afm-cc/tsconfig.json +1 -1
- package/docs/README.tsx +16 -14
- package/package.json +6 -6
- package/build/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
package/docs/README.tsx
CHANGED
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { md, code } from '@atlaskit/docs';
|
|
3
3
|
import SectionMessage from '@atlaskit/section-message';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
|
+
const _default_1: any = md`
|
|
6
7
|
This plugin is designed to make it easy to add a dropbox experience to a product. It uses
|
|
7
8
|
dropbox's native picker within a modal, and rendering a smart link on the page after it is
|
|
8
9
|
used.
|
|
@@ -50,11 +51,11 @@ In the dropbox form, you will need to add the domains you wish the plugin to run
|
|
|
50
51
|
|
|
51
52
|
### Final important step
|
|
52
53
|
${(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
)}
|
|
54
|
+
<>
|
|
55
|
+
<p />
|
|
56
|
+
<SectionMessage>Without this step, your extension will not render</SectionMessage>
|
|
57
|
+
</>
|
|
58
|
+
)}
|
|
58
59
|
|
|
59
60
|
As we are mounting the dropbox picker in an iframe, dropbox needs to whitelist the domains on which it will run. You will need to
|
|
60
61
|
contact Anthony Marnell, or reach out to dropbox in the slack channel \`ext-dropbox-jira\` to dropbox directly. It may take a
|
|
@@ -63,12 +64,13 @@ few days to get the domains whitelisted for your app.
|
|
|
63
64
|
In addition to this, you need to make sure your security permissions for \`X-Frame-Options\` and a \`Content-Security-Policy\`, otherwise dropbox will deny permissiones for the app.
|
|
64
65
|
|
|
65
66
|
${(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
)}
|
|
67
|
+
<>
|
|
68
|
+
<p />
|
|
69
|
+
<SectionMessage>
|
|
70
|
+
You should likely set up two apps, one for local testing, and one for production - make sure
|
|
71
|
+
each has its needed domains allowed.
|
|
72
|
+
</SectionMessage>
|
|
73
|
+
</>
|
|
74
|
+
)}
|
|
74
75
|
`;
|
|
76
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"@atlaskit/adf-utils": "^19.26.0",
|
|
35
35
|
"@atlaskit/button": "^23.9.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
|
-
"@atlaskit/icon": "^29.
|
|
38
|
-
"@atlaskit/modal-dialog": "^14.
|
|
37
|
+
"@atlaskit/icon": "^29.4.0",
|
|
38
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/primitives": "^17.
|
|
41
|
-
"@atlaskit/tokens": "^
|
|
40
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
41
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@compiled/react": "^0.18.6",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^111.
|
|
47
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|
|
50
50
|
},
|
package/build/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*",
|
|
17
|
-
"../src/**/examples/*",
|
|
18
|
-
"../src/**/examples/**/*",
|
|
19
|
-
"../src/**/*.stories.*",
|
|
20
|
-
"../src/**/stories/*",
|
|
21
|
-
"../src/**/stories/**/*"
|
|
22
|
-
]
|
|
23
|
-
}
|