@atlaskit/editor-plugin-media-insert 8.0.1 → 8.1.0

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,26 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 8.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#189314](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189314)
8
+ [`22c6251496010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22c6251496010) -
9
+ Exported missing types that were already being inferred from existing exports
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 8.0.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#187144](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187144)
20
+ [`a16147d8fbdfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a16147d8fbdfe) -
21
+ Bump @atlaskit/adf-schema to v49.0.5
22
+ - Updated dependencies
23
+
3
24
  ## 8.0.1
4
25
 
5
26
  ### Patch 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 */
@@ -1,2 +1,2 @@
1
1
  export { mediaInsertPlugin } from './mediaInsertPlugin';
2
- export type { MediaInsertPlugin, MediaInsertPluginState } from './mediaInsertPluginType';
2
+ export type { MediaInsertPlugin, MediaInsertPluginState, MediaInsertPluginDependencies, MediaInsertPluginCommands, MediaInsertPluginConfig, } from './mediaInsertPluginType';
@@ -1,2 +1,2 @@
1
1
  export { mediaInsertPlugin } from './mediaInsertPlugin';
2
- export type { MediaInsertPlugin, MediaInsertPluginState } from './mediaInsertPluginType';
2
+ export type { MediaInsertPlugin, MediaInsertPluginState, MediaInsertPluginDependencies, MediaInsertPluginCommands, MediaInsertPluginConfig, } from './mediaInsertPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "8.0.1",
3
+ "version": "8.1.0",
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": "^47.6.0",
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.1.0",
30
+ "@atlaskit/editor-plugin-media": "^5.2.0",
31
31
  "@atlaskit/editor-prosemirror": "7.0.0",
32
- "@atlaskit/editor-shared-styles": "^3.4.0",
32
+ "@atlaskit/editor-shared-styles": "^3.5.0",
33
33
  "@atlaskit/form": "^12.0.0",
34
- "@atlaskit/icon": "^27.3.0",
35
- "@atlaskit/media-card": "^79.3.0",
36
- "@atlaskit/media-client": "^35.0.0",
34
+ "@atlaskit/icon": "^27.5.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": "^9.0.0",
44
+ "@atlaskit/tmp-editor-statsig": "^9.9.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.7.0",
50
- "@atlaskit/tokens": "^5.4.0",
49
+ "@atlaskit/editor-common": "^107.9.0",
50
+ "@atlaskit/tokens": "^5.6.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0"
53
53
  },