@atlaskit/editor-extension-dropbox 0.2.29 → 0.3.2

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,27 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
8
+
9
+ ## 0.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 0.3.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [`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
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 0.2.29
4
26
 
5
27
  ### Patch Changes
@@ -17,7 +17,7 @@ var _react = _interopRequireDefault(require("react"));
17
17
 
18
18
  var _reactDom = _interopRequireDefault(require("react-dom"));
19
19
 
20
- var _adfUtils = require("@atlaskit/adf-utils");
20
+ var _builders = require("@atlaskit/adf-utils/builders");
21
21
 
22
22
  var _enableDropbox = _interopRequireDefault(require("./enable-dropbox"));
23
23
 
@@ -112,7 +112,7 @@ function _pickFromDropbox() {
112
112
 
113
113
  case 22:
114
114
  newNodes = files.map(function (file) {
115
- return (0, _adfUtils.inlineCard)({
115
+ return (0, _builders.inlineCard)({
116
116
  url: file.link
117
117
  });
118
118
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.2.29",
3
+ "version": "0.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import ReactDOM from 'react-dom';
3
- import { inlineCard } from '@atlaskit/adf-utils';
3
+ import { inlineCard } from '@atlaskit/adf-utils/builders';
4
4
  import enableDropbox from './enable-dropbox';
5
5
  import { POPUP_MOUNTPOINT, DROPBOX_IFRAME_NAME } from './constants';
6
6
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.2.29",
3
+ "version": "0.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  export default /*#__PURE__*/(function () {
4
4
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(appKey) {
5
5
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -1,8 +1,8 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import ReactDOM from 'react-dom';
5
- import { inlineCard } from '@atlaskit/adf-utils';
5
+ import { inlineCard } from '@atlaskit/adf-utils/builders';
6
6
  import enableDropbox from './enable-dropbox';
7
7
  import { POPUP_MOUNTPOINT, DROPBOX_IFRAME_NAME } from './constants';
8
8
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.2.29",
3
+ "version": "0.3.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.2.29",
3
+ "version": "0.3.2",
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,9 +24,9 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/adf-utils": "^16.0.0",
27
+ "@atlaskit/adf-utils": "^17.1.0",
28
28
  "@atlaskit/button": "^16.3.0",
29
- "@atlaskit/editor-common": "^67.0.0",
29
+ "@atlaskit/editor-common": "^69.1.0",
30
30
  "@atlaskit/icon": "^21.10.0",
31
31
  "@atlaskit/modal-dialog": "^12.2.0",
32
32
  "@babel/runtime": "^7.0.0",
@@ -42,7 +42,7 @@
42
42
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
43
43
  "react": "^16.8.0",
44
44
  "react-dom": "^16.8.0",
45
- "typescript": "4.2.4"
45
+ "typescript": "4.3.5"
46
46
  },
47
47
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
48
48
  "techstack": {
package/report.api.md ADDED
@@ -0,0 +1,18 @@
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
+ import { ExtensionManifest } from '@atlaskit/editor-common/extensions';
7
+
8
+ declare const manifestFunction: ({
9
+ appKey,
10
+ canMountinIframe,
11
+ }: {
12
+ appKey: string;
13
+ canMountinIframe: boolean;
14
+ }) => ExtensionManifest;
15
+ export default manifestFunction;
16
+
17
+ export {};
18
+ ```
package/tsconfig.json CHANGED
@@ -9,7 +9,6 @@
9
9
  "./examples/**/*.tsx",
10
10
  ],
11
11
  "compilerOptions": {
12
- "baseUrl": "./",
13
- "noImplicitAny": true
12
+ "baseUrl": "./"
14
13
  }
15
14
  }