@atlaskit/editor-plugin-media-insert 44.0.2 → 44.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
CHANGED
|
@@ -6,11 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.MediaInsertWrapper = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _box = require("@atlaskit/primitives/box");
|
|
10
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
10
11
|
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
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
|
+
|
|
16
|
+
var styles = (0, _xcss.xcss)({
|
|
14
17
|
/* Reset inherited styles from toolbar */
|
|
15
18
|
whiteSpace: 'initial',
|
|
16
19
|
textAlign: 'initial',
|
|
@@ -22,7 +25,7 @@ var styles = (0, _primitives.xcss)({
|
|
|
22
25
|
});
|
|
23
26
|
var MediaInsertWrapper = exports.MediaInsertWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
27
|
var children = _ref.children;
|
|
25
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
26
29
|
ref: ref,
|
|
27
30
|
xcss: styles
|
|
28
31
|
}, children);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
const styles = xcss({
|
|
6
8
|
/* Reset inherited styles from toolbar */
|
|
7
9
|
whiteSpace: 'initial',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
var styles = xcss({
|
|
6
8
|
/* Reset inherited styles from toolbar */
|
|
7
9
|
whiteSpace: 'initial',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media-insert",
|
|
3
|
-
"version": "44.0.
|
|
3
|
+
"version": "44.0.3",
|
|
4
4
|
"description": "Media Insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/section-message": "^10.2.0",
|
|
43
43
|
"@atlaskit/tabs": "^21.3.0",
|
|
44
44
|
"@atlaskit/textfield": "^10.2.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|