@atlaskit/editor-extension-dropbox 1.0.2 → 2.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0fdcb6f2f96fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fdcb6f2f96fd) -
14
+ Sorted type and interface props to improve Atlaskit docs
15
+ - Updated dependencies
16
+
3
17
  ## 1.0.2
4
18
 
5
19
  ### Patch Changes
@@ -3,9 +3,9 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "composite": true,
7
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-extension-dropbox",
8
- "rootDir": "../"
7
+ "rootDir": "../",
8
+ "composite": true
9
9
  },
10
10
  "include": [
11
11
  "../src/**/*.ts",
@@ -48,4 +48,4 @@
48
48
  "path": "../../editor-common/afm-cc/tsconfig.json"
49
49
  }
50
50
  ]
51
- }
51
+ }
@@ -5,10 +5,10 @@ declare global {
5
5
  Dropbox: {
6
6
  appKey?: string;
7
7
  choose: (args: {
8
+ cancel: () => void;
8
9
  iframe?: boolean;
9
- windowName?: string;
10
10
  success: (value: DropboxFile[] | PromiseLike<DropboxFile[]>) => void;
11
- cancel: () => void;
11
+ windowName?: string;
12
12
  }) => void;
13
13
  };
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  declare const Modal: ({ onClose, TEST_ONLY_src, showModal, }: {
3
3
  onClose: () => any;
4
- TEST_ONLY_src?: string;
5
4
  showModal?: boolean;
5
+ TEST_ONLY_src?: string;
6
6
  }) => jsx.JSX.Element;
7
7
  export default Modal;
@@ -1,8 +1,8 @@
1
1
  export type DropboxFile = {
2
+ icon: string;
3
+ id: string;
2
4
  isDir: boolean;
5
+ link: string;
3
6
  linkType: 'preview';
4
7
  name: string;
5
- link: string;
6
- id: string;
7
- icon: string;
8
8
  };
@@ -5,10 +5,10 @@ declare global {
5
5
  Dropbox: {
6
6
  appKey?: string;
7
7
  choose: (args: {
8
+ cancel: () => void;
8
9
  iframe?: boolean;
9
- windowName?: string;
10
10
  success: (value: DropboxFile[] | PromiseLike<DropboxFile[]>) => void;
11
- cancel: () => void;
11
+ windowName?: string;
12
12
  }) => void;
13
13
  };
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  declare const Modal: ({ onClose, TEST_ONLY_src, showModal, }: {
3
3
  onClose: () => any;
4
- TEST_ONLY_src?: string;
5
4
  showModal?: boolean;
5
+ TEST_ONLY_src?: string;
6
6
  }) => jsx.JSX.Element;
7
7
  export default Modal;
@@ -1,8 +1,8 @@
1
1
  export type DropboxFile = {
2
+ icon: string;
3
+ id: string;
2
4
  isDir: boolean;
5
+ link: string;
3
6
  linkType: 'preview';
4
7
  name: string;
5
- link: string;
6
- id: string;
7
- icon: string;
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "1.0.2",
3
+ "version": "2.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/"
@@ -24,15 +24,6 @@
24
24
  "*.compiled.css"
25
25
  ],
26
26
  "atlaskit:src": "src/index.ts",
27
- "af:exports": {
28
- ".": "./src/index.ts",
29
- "./constants": "./src/constants.ts",
30
- "./dropboxscript": "./src/dropboxscript.ts",
31
- "./enable-dropbox": "./src/enable-dropbox.tsx",
32
- "./manifest": "./src/manifest.tsx",
33
- "./modal": "./src/modal.tsx",
34
- "./types": "./src/types.ts"
35
- },
36
27
  "atlassian": {
37
28
  "team": "Editor: Core Experiences",
38
29
  "website": {
@@ -43,15 +34,15 @@
43
34
  "@atlaskit/adf-utils": "^19.21.0",
44
35
  "@atlaskit/button": "^23.4.0",
45
36
  "@atlaskit/heading": "^5.2.0",
46
- "@atlaskit/icon": "^28.0.0",
37
+ "@atlaskit/icon": "^28.1.0",
47
38
  "@atlaskit/modal-dialog": "^14.3.0",
48
- "@atlaskit/primitives": "^14.11.0",
49
- "@atlaskit/tokens": "^6.0.0",
39
+ "@atlaskit/primitives": "^14.12.0",
40
+ "@atlaskit/tokens": "^6.1.0",
50
41
  "@babel/runtime": "^7.0.0",
51
42
  "@emotion/react": "^11.7.1"
52
43
  },
53
44
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^107.26.0",
45
+ "@atlaskit/editor-common": "^108.0.0",
55
46
  "react": "^18.2.0",
56
47
  "react-dom": "^18.2.0"
57
48
  },