@atlaskit/editor-plugin-media-insert 8.0.0 → 8.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 +15 -0
- package/dist/cjs/ui/MediaFromURL.js +1 -1
- package/dist/cjs/ui/MediaFromURLWithForm.js +1 -1
- package/dist/cjs/ui/MediaInsertWrapper.js +2 -0
- package/dist/es2019/ui/MediaFromURL.js +1 -0
- package/dist/es2019/ui/MediaFromURLWithForm.js +1 -0
- package/dist/es2019/ui/MediaInsertWrapper.js +2 -0
- package/dist/esm/ui/MediaFromURL.js +1 -0
- package/dist/esm/ui/MediaFromURLWithForm.js +1 -0
- package/dist/esm/ui/MediaInsertWrapper.js +2 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media-insert
|
|
2
2
|
|
|
3
|
+
## 8.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#187144](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187144)
|
|
8
|
+
[`a16147d8fbdfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a16147d8fbdfe) -
|
|
9
|
+
Bump @atlaskit/adf-schema to v49.0.5
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 8.0.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 8.0.0
|
|
4
19
|
|
|
5
20
|
### Major Changes
|
|
@@ -32,7 +32,7 @@ var _useAnalyticsEvents2 = require("./useAnalyticsEvents");
|
|
|
32
32
|
var _excluded = ["value", "onChange"];
|
|
33
33
|
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); }
|
|
34
34
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
36
36
|
var PreviewBoxStyles = (0, _primitives.xcss)({
|
|
37
37
|
borderWidth: 'border.width',
|
|
38
38
|
borderStyle: 'dashed',
|
|
@@ -32,7 +32,7 @@ var _useAnalyticsEvents2 = require("./useAnalyticsEvents");
|
|
|
32
32
|
var _excluded = ["value", "onChange"];
|
|
33
33
|
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); }
|
|
34
34
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
36
36
|
var PreviewBoxStyles = (0, _primitives.xcss)({
|
|
37
37
|
borderWidth: 'border.width',
|
|
38
38
|
borderStyle: 'dashed',
|
|
@@ -8,6 +8,8 @@ exports.MediaInsertWrapper = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _primitives = require("@atlaskit/primitives");
|
|
10
10
|
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); }
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
|
+
|
|
11
13
|
var styles = (0, _primitives.xcss)({
|
|
12
14
|
/* Reset inherited styles from toolbar */
|
|
13
15
|
whiteSpace: 'initial',
|
|
@@ -10,6 +10,7 @@ import Form, { ErrorMessage, Field, FormFooter, MessageWrapper } from '@atlaskit
|
|
|
10
10
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
11
11
|
import { default as EditorFilePreviewIconLegacy } from '@atlaskit/icon/glyph/editor/file-preview';
|
|
12
12
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
14
15
|
import SectionMessage from '@atlaskit/section-message';
|
|
15
16
|
import TextField from '@atlaskit/textfield';
|
|
@@ -10,6 +10,7 @@ import Form, { ErrorMessage, Field, FormFooter, MessageWrapper } from '@atlaskit
|
|
|
10
10
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
11
11
|
import { default as EditorFilePreviewIconLegacy } from '@atlaskit/icon/glyph/editor/file-preview';
|
|
12
12
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
14
15
|
import SectionMessage from '@atlaskit/section-message';
|
|
15
16
|
import TextField from '@atlaskit/textfield';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
2
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
3
5
|
const styles = xcss({
|
|
4
6
|
/* Reset inherited styles from toolbar */
|
|
@@ -18,6 +18,7 @@ import Form, { ErrorMessage, Field, FormFooter, MessageWrapper } from '@atlaskit
|
|
|
18
18
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
19
19
|
import { default as EditorFilePreviewIconLegacy } from '@atlaskit/icon/glyph/editor/file-preview';
|
|
20
20
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
21
22
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
22
23
|
import SectionMessage from '@atlaskit/section-message';
|
|
23
24
|
import TextField from '@atlaskit/textfield';
|
|
@@ -18,6 +18,7 @@ import Form, { ErrorMessage, Field, FormFooter, MessageWrapper } from '@atlaskit
|
|
|
18
18
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
19
19
|
import { default as EditorFilePreviewIconLegacy } from '@atlaskit/icon/glyph/editor/file-preview';
|
|
20
20
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
21
22
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
22
23
|
import SectionMessage from '@atlaskit/section-message';
|
|
23
24
|
import TextField from '@atlaskit/textfield';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
2
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
3
5
|
var styles = xcss({
|
|
4
6
|
/* Reset inherited styles from toolbar */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media-insert",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.2",
|
|
4
4
|
"description": "Media Insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
".": "./src/index.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^
|
|
27
|
+
"@atlaskit/adf-schema": "^49.0.6",
|
|
28
28
|
"@atlaskit/button": "^23.2.0",
|
|
29
29
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
30
|
-
"@atlaskit/editor-plugin-media": "^5.
|
|
30
|
+
"@atlaskit/editor-plugin-media": "^5.1.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
32
32
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
33
33
|
"@atlaskit/form": "^12.0.0",
|
|
34
|
-
"@atlaskit/icon": "^27.
|
|
35
|
-
"@atlaskit/media-card": "^79.
|
|
36
|
-
"@atlaskit/media-client": "^35.
|
|
34
|
+
"@atlaskit/icon": "^27.3.0",
|
|
35
|
+
"@atlaskit/media-card": "^79.4.0",
|
|
36
|
+
"@atlaskit/media-client": "^35.1.0",
|
|
37
37
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
38
38
|
"@atlaskit/media-picker": "^70.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@atlaskit/section-message": "^8.2.0",
|
|
42
42
|
"@atlaskit/tabs": "^18.1.0",
|
|
43
43
|
"@atlaskit/textfield": "^8.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^9.7.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/editor-common": "^107.
|
|
50
|
-
"@atlaskit/tokens": "^5.
|
|
49
|
+
"@atlaskit/editor-common": "^107.8.0",
|
|
50
|
+
"@atlaskit/tokens": "^5.5.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0"
|
|
53
53
|
},
|