@atlaskit/editor-extension-dropbox 24.0.1 → 24.0.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 +12 -0
- package/__tests__/vr-tests/__snapshots__/dropbox-modal/dropbox-modal-title--default--platform-dst-modal-dialog-use-modal-title-false.png +0 -0
- package/__tests__/vr-tests/__snapshots__/dropbox-modal/dropbox-modal-title--default--platform-dst-modal-dialog-use-modal-title-true.png +0 -0
- package/dist/cjs/modal.js +6 -3
- package/dist/es2019/modal.js +3 -1
- package/dist/esm/modal.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/cjs/modal.js
CHANGED
|
@@ -17,7 +17,8 @@ var _modalDialog = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-
|
|
|
17
17
|
var _modalTitle = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-title"));
|
|
18
18
|
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
19
19
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
|
-
var
|
|
20
|
+
var _box = require("@atlaskit/primitives/box");
|
|
21
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
21
22
|
var _constants = require("./constants");
|
|
22
23
|
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
24
|
/**
|
|
@@ -29,6 +30,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
29
30
|
|
|
30
31
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
31
32
|
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
34
|
+
|
|
32
35
|
var ModalBody = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
33
36
|
return (
|
|
34
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
@@ -58,7 +61,7 @@ var spacingDivStyle = {
|
|
|
58
61
|
width: '28px'
|
|
59
62
|
};
|
|
60
63
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
61
|
-
var headingStyle = (0,
|
|
64
|
+
var headingStyle = (0, _xcss.xcss)({
|
|
62
65
|
marginTop: 'space.100'
|
|
63
66
|
});
|
|
64
67
|
var Header = function Header() {
|
|
@@ -69,7 +72,7 @@ var Header = function Header() {
|
|
|
69
72
|
css: bottomShadow
|
|
70
73
|
}, (0, _react2.jsx)("div", {
|
|
71
74
|
css: spacingDivStyle
|
|
72
|
-
}), (0, _react2.jsx)(
|
|
75
|
+
}), (0, _react2.jsx)(_box.Box, {
|
|
73
76
|
xcss: headingStyle
|
|
74
77
|
}, (0, _fg.fg)('platform_dst_modal-dialog-use-modal-title') ? (0, _react2.jsx)(_modalTitle.default, null, (0, _react2.jsx)(_heading.default, {
|
|
75
78
|
size: "xsmall",
|
package/dist/es2019/modal.js
CHANGED
|
@@ -15,7 +15,9 @@ import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
|
15
15
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
|
-
import {
|
|
18
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
19
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
20
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
19
21
|
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
20
22
|
const ModalBody = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
21
23
|
return (
|
package/dist/esm/modal.js
CHANGED
|
@@ -16,7 +16,9 @@ import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
|
16
16
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
18
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
19
|
-
import {
|
|
19
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
21
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
20
22
|
import { DROPBOX_IFRAME_NAME } from './constants';
|
|
21
23
|
var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
22
24
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.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/"
|
|
@@ -43,7 +43,7 @@
|
|
|
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": "^230.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^20.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^1.0.2",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react-intl": "^7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^130.
|
|
54
|
+
"@atlaskit/editor-common": "^130.3.0",
|
|
55
55
|
"react": "^18.2.0 || ^19.2.0",
|
|
56
56
|
"react-dom": "^18.2.0 || ^19.2.0"
|
|
57
57
|
},
|