@atlaskit/page-header 10.3.3 → 10.3.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,18 @@
1
1
  # @atlaskit/page-header
2
2
 
3
+ ## 10.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e517bb1ead3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e517bb1ead3) - Migrates unit tests from enzyme to RTL.
8
+
9
+ ## 10.3.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
14
+ - Updated dependencies
15
+
3
16
  ## 10.3.3
4
17
 
5
18
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-header",
3
- "version": "10.3.3",
3
+ "version": "10.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-header",
3
- "version": "10.3.3",
3
+ "version": "10.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/page-header",
3
- "version": "10.3.3",
3
+ "version": "10.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import React, { ReactNode } from 'react';
3
3
  /**
4
4
  * __Outer wrapper__
5
5
  *
@@ -7,7 +7,9 @@ import React from 'react';
7
7
  * the BottomBar and its Breadcrumbs.
8
8
  *
9
9
  */
10
- export declare const OuterWrapper: React.FC<React.ReactNode>;
10
+ export declare const OuterWrapper: React.FC<{
11
+ children: ReactNode;
12
+ }>;
11
13
  interface StyledTitleWrapperProps {
12
14
  children?: React.ReactNode;
13
15
  id?: string;
@@ -22,6 +24,7 @@ interface StyledTitleWrapperProps {
22
24
  export declare const StyledTitleWrapper: React.ForwardRefExoticComponent<StyledTitleWrapperProps & React.RefAttributes<HTMLHeadingElement>>;
23
25
  interface TitleProps {
24
26
  truncateTitle?: boolean;
27
+ children?: ReactNode;
25
28
  }
26
29
  /**
27
30
  * __Title wrapper__
@@ -43,12 +46,16 @@ export declare const TitleContainer: React.FC<TitleProps>;
43
46
  * An actions wrapper is a wrapper for the actions, which appear on the top right of the PageHeader component.
44
47
  *
45
48
  */
46
- export declare const ActionsWrapper: React.FC;
49
+ export declare const ActionsWrapper: React.FC<{
50
+ children: ReactNode;
51
+ }>;
47
52
  /**
48
53
  * __Bottom bar wrapper__
49
54
  *
50
55
  * A bottom bar wrapper is a wrapper for the bottom bar, which appears at the bottom of the PageHeader component.
51
56
  *
52
57
  */
53
- export declare const BottomBarWrapper: React.FC;
58
+ export declare const BottomBarWrapper: React.FC<{
59
+ children: ReactNode;
60
+ }>;
54
61
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-header",
3
- "version": "10.3.3",
3
+ "version": "10.3.5",
4
4
  "description": "A page header defines the top of a page. It contains a title and can be optionally combined with breadcrumbs buttons, search, and filters.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,7 +24,7 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/theme": "^12.2.0",
27
+ "@atlaskit/theme": "^12.3.0",
28
28
  "@atlaskit/tokens": "^1.2.5",
29
29
  "@babel/runtime": "^7.0.0",
30
30
  "@emotion/react": "^11.7.1"
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/textfield": "^5.3.0",
47
47
  "@atlaskit/visual-regression": "*",
48
48
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
49
- "enzyme": "^3.10.0",
49
+ "@testing-library/react": "^12.1.5",
50
50
  "react-dom": "^16.8.0",
51
51
  "react-test-renderer": "^16.8.0",
52
52
  "typescript": "4.5.5"