@atlaskit/editor-extension-dropbox 17.0.0 → 17.0.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 +12 -0
- package/dist/cjs/manifest.js +1 -1
- package/dist/cjs/modal.js +4 -4
- package/dist/es2019/entry-points/constants.js +1 -0
- package/dist/es2019/entry-points/dropboxscript.js +1 -0
- package/dist/es2019/entry-points/enable-dropbox.js +1 -0
- package/dist/es2019/entry-points/manifest.js +1 -0
- package/dist/es2019/entry-points/modal.js +1 -0
- package/dist/es2019/manifest.js +1 -1
- package/dist/es2019/modal.js +5 -4
- package/dist/esm/entry-points/constants.js +1 -0
- package/dist/esm/entry-points/dropboxscript.js +1 -0
- package/dist/esm/entry-points/enable-dropbox.js +1 -0
- package/dist/esm/entry-points/manifest.js +1 -0
- package/dist/esm/entry-points/modal.js +1 -0
- package/dist/esm/manifest.js +1 -1
- package/dist/esm/modal.js +5 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/manifest.js
CHANGED
|
@@ -13,8 +13,8 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
|
13
13
|
var _client = require("react-dom/client");
|
|
14
14
|
var _builders = require("@atlaskit/adf-utils/builders");
|
|
15
15
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
16
|
-
var _enableDropbox = _interopRequireDefault(require("./enable-dropbox"));
|
|
17
16
|
var _constants = require("./constants");
|
|
17
|
+
var _enableDropbox = _interopRequireDefault(require("./enable-dropbox"));
|
|
18
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t3 in e) "default" !== _t3 && {}.hasOwnProperty.call(e, _t3) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t3)) && (i.get || i.set) ? o(f, _t3, i) : f[_t3] = e[_t3]); return f; })(e, t); }
|
|
19
19
|
var reactRoots = new WeakMap();
|
|
20
20
|
|
package/dist/cjs/modal.js
CHANGED
|
@@ -9,16 +9,16 @@ exports.default = void 0;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
13
|
-
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
12
|
+
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
14
13
|
var _closeButton = require("@atlaskit/modal-dialog/close-button");
|
|
15
14
|
var _hooks = require("@atlaskit/modal-dialog/hooks");
|
|
16
15
|
var _modalBody = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-body"));
|
|
16
|
+
var _modalDialog = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-dialog"));
|
|
17
17
|
var _modalTitle = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-title"));
|
|
18
|
+
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
18
19
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
|
-
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
20
|
-
var _constants = require("./constants");
|
|
21
20
|
var _primitives = require("@atlaskit/primitives");
|
|
21
|
+
var _constants = require("./constants");
|
|
22
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
23
23
|
/**
|
|
24
24
|
* @jsxRuntime classic
|
package/dist/es2019/manifest.js
CHANGED
|
@@ -3,8 +3,8 @@ import ReactDOM from 'react-dom';
|
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import { inlineCard } from '@atlaskit/adf-utils/builders';
|
|
5
5
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
|
-
import enableDropbox from './enable-dropbox';
|
|
7
6
|
import { POPUP_MOUNTPOINT, DROPBOX_IFRAME_NAME } from './constants';
|
|
7
|
+
import enableDropbox from './enable-dropbox';
|
|
8
8
|
const reactRoots = new WeakMap();
|
|
9
9
|
|
|
10
10
|
/** Mounts `element` into `mountPoint` using `createRoot` when the migration experiment is on. */
|
package/dist/es2019/modal.js
CHANGED
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React, { useState } from 'react';
|
|
6
|
+
|
|
6
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
8
|
import { jsx, css } from '@emotion/react';
|
|
8
|
-
import
|
|
9
|
-
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
9
|
+
import Heading from '@atlaskit/heading/heading';
|
|
10
10
|
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
11
11
|
import { useModal } from '@atlaskit/modal-dialog/hooks';
|
|
12
12
|
import AKModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
13
|
+
import ModalDialog from '@atlaskit/modal-dialog/modal-dialog';
|
|
13
14
|
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
15
|
+
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
14
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
|
-
import Heading from '@atlaskit/heading/heading';
|
|
16
|
-
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
18
|
import { xcss, Box } from '@atlaskit/primitives';
|
|
19
|
+
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
19
20
|
const ModalBody = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
20
21
|
return (
|
|
21
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
package/dist/esm/manifest.js
CHANGED
|
@@ -5,8 +5,8 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { createRoot } from 'react-dom/client';
|
|
6
6
|
import { inlineCard } from '@atlaskit/adf-utils/builders';
|
|
7
7
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
8
|
-
import enableDropbox from './enable-dropbox';
|
|
9
8
|
import { POPUP_MOUNTPOINT, DROPBOX_IFRAME_NAME } from './constants';
|
|
9
|
+
import enableDropbox from './enable-dropbox';
|
|
10
10
|
var reactRoots = new WeakMap();
|
|
11
11
|
|
|
12
12
|
/** Mounts `element` into `mountPoint` using `createRoot` when the migration experiment is on. */
|
package/dist/esm/modal.js
CHANGED
|
@@ -4,19 +4,20 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
|
+
|
|
7
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
9
|
import { jsx, css } from '@emotion/react';
|
|
9
|
-
import
|
|
10
|
-
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
10
|
+
import Heading from '@atlaskit/heading/heading';
|
|
11
11
|
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
12
12
|
import { useModal } from '@atlaskit/modal-dialog/hooks';
|
|
13
13
|
import AKModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
14
|
+
import ModalDialog from '@atlaskit/modal-dialog/modal-dialog';
|
|
14
15
|
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
16
|
+
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
15
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
|
-
import Heading from '@atlaskit/heading/heading';
|
|
17
|
-
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
18
18
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
19
19
|
import { xcss, Box } from '@atlaskit/primitives';
|
|
20
|
+
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
20
21
|
var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
21
22
|
return (
|
|
22
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.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/"
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@atlaskit/primitives": "^22.5.0",
|
|
44
44
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
45
45
|
"@atlaskit/section-message": "^10.2.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^201.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^18.2.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^1.0.2",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^123.
|
|
53
|
+
"@atlaskit/editor-common": "^123.2.0",
|
|
54
54
|
"react": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-dom": "^18.2.0 || ^19.2.0"
|
|
56
56
|
},
|