@atlaskit/editor-plugin-type-ahead 27.0.1 → 27.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
|
@@ -7,10 +7,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.EmptyState = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
10
|
-
var
|
|
10
|
+
var _flex = require("@atlaskit/primitives/components/flex");
|
|
11
|
+
var _text = require("@atlaskit/primitives/text");
|
|
12
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
11
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
|
+
|
|
19
|
+
var containerStyles = (0, _xcss.xcss)({
|
|
14
20
|
marginBlockStart: 'space.600',
|
|
15
21
|
marginBlockEnd: 'space.600',
|
|
16
22
|
textAlign: 'center'
|
|
@@ -20,20 +26,20 @@ var EmptyState = exports.EmptyState = function EmptyState(_ref) {
|
|
|
20
26
|
header = _ref.header,
|
|
21
27
|
description = _ref.description,
|
|
22
28
|
renderImage = _ref.renderImage;
|
|
23
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
29
|
+
return /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
24
30
|
xcss: containerStyles,
|
|
25
31
|
testId: testId,
|
|
26
32
|
direction: "column",
|
|
27
33
|
alignItems: "center",
|
|
28
34
|
gap: "space.300"
|
|
29
|
-
}, renderImage === null || renderImage === void 0 ? void 0 : renderImage(), /*#__PURE__*/_react.default.createElement(
|
|
35
|
+
}, renderImage === null || renderImage === void 0 ? void 0 : renderImage(), /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
30
36
|
direction: "column",
|
|
31
37
|
alignItems: "center",
|
|
32
38
|
gap: "space.200"
|
|
33
39
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
34
40
|
size: "medium",
|
|
35
41
|
as: "h2"
|
|
36
|
-
}, header), description && /*#__PURE__*/_react.default.createElement(
|
|
42
|
+
}, header), description && /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
37
43
|
as: "p",
|
|
38
44
|
color: "color.text"
|
|
39
45
|
}, description)));
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Heading from '@atlaskit/heading/heading';
|
|
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 { Text } from '@atlaskit/primitives/text';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
8
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
9
|
const containerStyles = xcss({
|
|
6
10
|
marginBlockStart: 'space.600',
|
|
7
11
|
marginBlockEnd: 'space.600',
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Heading from '@atlaskit/heading/heading';
|
|
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 { Text } from '@atlaskit/primitives/text';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
8
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
9
|
var containerStyles = xcss({
|
|
6
10
|
marginBlockStart: 'space.600',
|
|
7
11
|
marginBlockEnd: 'space.600',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.3",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-metrics": "^27.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-ui-control-registry": "^20.0.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
32
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
32
|
+
"@atlaskit/editor-shared-styles": "^4.4.0",
|
|
33
33
|
"@atlaskit/editor-ui-control-model": "^2.10.0",
|
|
34
34
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
35
35
|
"@atlaskit/heading": "^8.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/primitives": "^22.5.0",
|
|
43
43
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
44
44
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^20.4.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"w3c-keyname": "^2.1.8"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@atlaskit/editor-common": "^130.
|
|
57
|
+
"@atlaskit/editor-common": "^130.3.0",
|
|
58
58
|
"react": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
60
60
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|