@atlaskit/page-layout 1.6.4 → 1.6.5

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,11 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 1.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
8
+
3
9
  ## 1.6.4
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React, { Fragment } from 'react';
2
+ import { Fragment } from 'react';
3
3
 
4
4
  import { css, jsx } from '@emotion/react';
5
5
 
@@ -8,7 +8,7 @@ import { Footer } from '@atlaskit/side-navigation';
8
8
  import { B400, N200 } from '@atlaskit/theme/colors';
9
9
  import { token } from '@atlaskit/tokens';
10
10
 
11
- const Container: React.FC<CustomItemComponentProps> = (props) => {
11
+ const Container = (props: CustomItemComponentProps) => {
12
12
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
13
13
  return <div {...props} />;
14
14
  };
@@ -1,13 +1,11 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
3
-
4
2
  import { jsx } from '@emotion/react';
5
3
 
6
4
  import Icon from '@atlaskit/icon';
7
5
  import { CustomItemComponentProps } from '@atlaskit/menu';
8
6
  import { Header } from '@atlaskit/side-navigation';
9
7
 
10
- const Container: React.FC<CustomItemComponentProps> = (props) => {
8
+ const Container = (props: CustomItemComponentProps) => {
11
9
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
12
10
  return <div {...props} />;
13
11
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "A collection of components which let you compose an application's page layout.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/icon": "^21.12.0",
38
38
  "@atlaskit/motion": "^1.4.0",
39
39
  "@atlaskit/theme": "^12.5.0",
40
- "@atlaskit/tokens": "^1.4.0",
40
+ "@atlaskit/tokens": "^1.5.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
43
43
  "bind-event-listener": "^2.1.1",