@atlaskit/editor-extension-dropbox 0.4.16 → 0.4.17
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/dist/cjs/modal.js +7 -0
- package/dist/es2019/modal.js +6 -0
- package/dist/esm/modal.js +6 -0
- package/package.json +72 -72
package/CHANGELOG.md
CHANGED
package/dist/cjs/modal.js
CHANGED
|
@@ -17,6 +17,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
/** @jsx jsx */
|
|
19
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
+
|
|
20
22
|
var ModalBody = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
21
23
|
return (
|
|
22
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
@@ -28,6 +30,8 @@ var ModalBody = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
28
30
|
}, props.children)
|
|
29
31
|
);
|
|
30
32
|
});
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
31
35
|
var iframeStyle = {
|
|
32
36
|
width: '100%',
|
|
33
37
|
height: '100%',
|
|
@@ -38,9 +42,12 @@ var bottomShadow = (0, _react2.css)({
|
|
|
38
42
|
justifyContent: 'space-between',
|
|
39
43
|
alignItems: 'baseline'
|
|
40
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
41
47
|
var spacingDivStyle = {
|
|
42
48
|
width: '28px'
|
|
43
49
|
};
|
|
50
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
44
51
|
var headingStyle = {
|
|
45
52
|
marginTop: "var(--ds-space-100, 8px)"
|
|
46
53
|
};
|
package/dist/es2019/modal.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx, css } from '@emotion/react';
|
|
4
5
|
import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
5
6
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
@@ -16,6 +17,8 @@ const ModalBody = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
16
17
|
}, props.children)
|
|
17
18
|
);
|
|
18
19
|
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
19
22
|
const iframeStyle = {
|
|
20
23
|
width: '100%',
|
|
21
24
|
height: '100%',
|
|
@@ -26,9 +29,12 @@ const bottomShadow = css({
|
|
|
26
29
|
justifyContent: 'space-between',
|
|
27
30
|
alignItems: 'baseline'
|
|
28
31
|
});
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
29
34
|
const spacingDivStyle = {
|
|
30
35
|
width: '28px'
|
|
31
36
|
};
|
|
37
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
32
38
|
const headingStyle = {
|
|
33
39
|
marginTop: `${"var(--ds-space-100, 8px)"}`
|
|
34
40
|
};
|
package/dist/esm/modal.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { jsx, css } from '@emotion/react';
|
|
5
6
|
import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
|
|
6
7
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
@@ -17,6 +18,8 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
17
18
|
}, props.children)
|
|
18
19
|
);
|
|
19
20
|
});
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
20
23
|
var iframeStyle = {
|
|
21
24
|
width: '100%',
|
|
22
25
|
height: '100%',
|
|
@@ -27,9 +30,12 @@ var bottomShadow = css({
|
|
|
27
30
|
justifyContent: 'space-between',
|
|
28
31
|
alignItems: 'baseline'
|
|
29
32
|
});
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
30
35
|
var spacingDivStyle = {
|
|
31
36
|
width: '28px'
|
|
32
37
|
};
|
|
38
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
33
39
|
var headingStyle = {
|
|
34
40
|
marginTop: "var(--ds-space-100, 8px)"
|
|
35
41
|
};
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-extension-dropbox",
|
|
3
|
+
"version": "0.4.17",
|
|
4
|
+
"description": "A an atlassian editor extension to add a native dropbox picker",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"atlaskit:src": "src/index.ts",
|
|
25
|
+
"af:exports": {
|
|
26
|
+
".": "./src/index.ts",
|
|
27
|
+
"./constants": "./src/constants.ts",
|
|
28
|
+
"./dropboxscript": "./src/dropboxscript.ts",
|
|
29
|
+
"./enable-dropbox": "./src/enable-dropbox.tsx",
|
|
30
|
+
"./manifest": "./src/manifest.tsx",
|
|
31
|
+
"./modal": "./src/modal.tsx",
|
|
32
|
+
"./types": "./src/types.ts"
|
|
33
|
+
},
|
|
34
|
+
"atlassian": {
|
|
35
|
+
"team": "Editor: Scarlet",
|
|
36
|
+
"inPublicMirror": true,
|
|
37
|
+
"releaseModel": "continuous",
|
|
38
|
+
"website": {
|
|
39
|
+
"name": "Editor Core"
|
|
40
|
+
},
|
|
41
|
+
"runReact18": false
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@atlaskit/adf-utils": "^19.2.0",
|
|
45
|
+
"@atlaskit/button": "^18.0.0",
|
|
46
|
+
"@atlaskit/editor-common": "^82.11.0",
|
|
47
|
+
"@atlaskit/icon": "^22.4.0",
|
|
48
|
+
"@atlaskit/modal-dialog": "^12.14.0",
|
|
49
|
+
"@atlaskit/tokens": "^1.52.0",
|
|
50
|
+
"@babel/runtime": "^7.0.0",
|
|
51
|
+
"@emotion/react": "^11.7.1"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"react": "^16.8.0",
|
|
55
|
+
"react-dom": "^16.8.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"react": "^16.8.0",
|
|
59
|
+
"react-dom": "^16.8.0",
|
|
60
|
+
"typescript": "~5.4.2"
|
|
61
|
+
},
|
|
62
|
+
"techstack": {
|
|
63
|
+
"@repo/internal": {
|
|
64
|
+
"design-tokens": [
|
|
65
|
+
"color"
|
|
66
|
+
],
|
|
67
|
+
"deprecation": "no-deprecated-imports",
|
|
68
|
+
"styling": [
|
|
69
|
+
"emotion"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|