@atlaskit/editor-plugin-type-ahead 27.0.2 → 27.0.4

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,17 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 27.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 27.0.2
4
16
 
5
17
  ### Patch Changes
@@ -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 _primitives = require("@atlaskit/primitives");
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
- var containerStyles = (0, _primitives.xcss)({
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(_primitives.Flex, {
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(_primitives.Flex, {
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(_primitives.Text, {
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, Text, xcss } from '@atlaskit/primitives';
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, Text, xcss } from '@atlaskit/primitives';
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.2",
3
+ "version": "27.0.4",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.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": "^229.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^231.0.0",
46
46
  "@atlaskit/tokens": "^20.4.0",
47
47
  "@atlaskit/visually-hidden": "^4.4.0",
48
48
  "@babel/runtime": "^7.0.0",