@atlaskit/editor-plugin-card 32.1.1 → 32.1.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
CHANGED
|
@@ -7,10 +7,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.DatasourceIcon = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _smartLinkList = _interopRequireDefault(require("@atlaskit/icon/core/smart-link-list"));
|
|
10
|
-
var
|
|
10
|
+
var _flex = require("@atlaskit/primitives/components/flex");
|
|
11
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
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 wrapperStyles = (0, _xcss.xcss)({
|
|
14
17
|
padding: 'space.050',
|
|
15
18
|
justifyContent: 'center',
|
|
16
19
|
alignItems: 'center',
|
|
@@ -18,7 +21,7 @@ var wrapperStyles = (0, _primitives.xcss)({
|
|
|
18
21
|
height: 'space.300'
|
|
19
22
|
});
|
|
20
23
|
var DatasourceIcon = exports.DatasourceIcon = function DatasourceIcon(props) {
|
|
21
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
22
25
|
xcss: wrapperStyles
|
|
23
26
|
}, /*#__PURE__*/_react.default.createElement(_smartLinkList.default, {
|
|
24
27
|
label: props === null || props === void 0 ? void 0 : props.label
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import SmartLinkListIcon from '@atlaskit/icon/core/smart-link-list';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Flex
|
|
4
|
+
import { Flex } from '@atlaskit/primitives/components/flex';
|
|
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 wrapperStyles = xcss({
|
|
6
8
|
padding: 'space.050',
|
|
7
9
|
justifyContent: 'center',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import SmartLinkListIcon from '@atlaskit/icon/core/smart-link-list';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Flex
|
|
4
|
+
import { Flex } from '@atlaskit/primitives/components/flex';
|
|
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 wrapperStyles = xcss({
|
|
6
8
|
padding: 'space.050',
|
|
7
9
|
justifyContent: 'center',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "32.1.
|
|
3
|
+
"version": "32.1.2",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/primitives": "^22.5.0",
|
|
65
65
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
66
66
|
"@atlaskit/smart-card": "^46.6.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
68
68
|
"@atlaskit/tokens": "^20.4.0",
|
|
69
69
|
"@babel/runtime": "^7.0.0",
|
|
70
70
|
"@emotion/react": "^11.7.1",
|