@atlaskit/empty-state 7.4.10 → 7.4.11

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,12 @@
1
1
  # @atlaskit/empty-state
2
2
 
3
+ ## 7.4.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
8
+ - Updated dependencies
9
+
3
10
  ## 7.4.10
4
11
 
5
12
  ### Patch Changes
@@ -27,7 +27,6 @@ var wideContainerStyles = (0, _react.css)({
27
27
  var narrowContainerStyles = (0, _react.css)({
28
28
  maxWidth: "".concat(columnWidth * 4 + gutter * 3, "px")
29
29
  });
30
-
31
30
  /**
32
31
  * __Container__
33
32
  *
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/empty-state",
3
- "version": "7.4.10",
3
+ "version": "7.4.11",
4
4
  "sideEffects": false
5
5
  }
@@ -21,7 +21,6 @@ const wideContainerStyles = css({
21
21
  const narrowContainerStyles = css({
22
22
  maxWidth: `${columnWidth * 4 + gutter * 3}px`
23
23
  });
24
-
25
24
  /**
26
25
  * __Container__
27
26
  *
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/empty-state",
3
- "version": "7.4.10",
3
+ "version": "7.4.11",
4
4
  "sideEffects": false
5
5
  }
@@ -21,7 +21,6 @@ var wideContainerStyles = css({
21
21
  var narrowContainerStyles = css({
22
22
  maxWidth: "".concat(columnWidth * 4 + gutter * 3, "px")
23
23
  });
24
-
25
24
  /**
26
25
  * __Container__
27
26
  *
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/empty-state",
3
- "version": "7.4.10",
3
+ "version": "7.4.11",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { FC, ReactNode } from 'react';
3
3
  /**
4
4
  * __Actions container__
5
5
  *
@@ -7,5 +7,7 @@ import { FC } from 'react';
7
7
  *
8
8
  * @internal
9
9
  */
10
- declare const ActionsContainer: FC;
10
+ declare const ActionsContainer: FC<{
11
+ children: ReactNode;
12
+ }>;
11
13
  export default ActionsContainer;
@@ -1,6 +1,11 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { FC, ReactNode } from 'react';
3
3
  import type { Width } from '../index';
4
+ declare type ContainerProps = {
5
+ testId?: string;
6
+ width: Width;
7
+ children: ReactNode;
8
+ };
4
9
  /**
5
10
  * __Container__
6
11
  *
@@ -8,8 +13,5 @@ import type { Width } from '../index';
8
13
  *
9
14
  * @internal
10
15
  */
11
- declare const Container: FC<{
12
- testId?: string;
13
- width: Width;
14
- }>;
16
+ declare const Container: FC<ContainerProps>;
15
17
  export default Container;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { FC, ReactNode } from 'react';
3
3
  /**
4
4
  * __Description__
5
5
  *
@@ -7,5 +7,7 @@ import { FC } from 'react';
7
7
  *
8
8
  * @internal
9
9
  */
10
- declare const Description: FC;
10
+ declare const Description: FC<{
11
+ children: ReactNode;
12
+ }>;
11
13
  export default Description;
@@ -7,5 +7,7 @@ import { FC } from 'react';
7
7
  *
8
8
  * @internal
9
9
  */
10
- declare const EmptyStateHeader: FC;
10
+ declare const EmptyStateHeader: FC<{
11
+ children: string;
12
+ }>;
11
13
  export default EmptyStateHeader;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { FC, ReactNode } from 'react';
3
3
  /**
4
4
  * __Spinner container__
5
5
  *
@@ -7,5 +7,7 @@ import { FC } from 'react';
7
7
  *
8
8
  * @internal
9
9
  */
10
- declare const SpinnerContainer: FC;
10
+ declare const SpinnerContainer: FC<{
11
+ children?: ReactNode;
12
+ }>;
11
13
  export default SpinnerContainer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/empty-state",
3
- "version": "7.4.10",
3
+ "version": "7.4.11",
4
4
  "description": "An empty state appears when there is no data to display and describes what the user can do next.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/button": "^16.5.0",
28
28
  "@atlaskit/spinner": "^15.4.0",
29
- "@atlaskit/theme": "^12.2.0",
29
+ "@atlaskit/theme": "^12.3.0",
30
30
  "@atlaskit/tokens": "^1.2.0",
31
31
  "@babel/runtime": "^7.0.0",
32
32
  "@emotion/react": "^11.7.1"