@atlaskit/page-header 10.3.3 → 10.3.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,12 @@
|
|
|
1
1
|
# @atlaskit/page-header
|
|
2
2
|
|
|
3
|
+
## 10.3.4
|
|
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
|
## 10.3.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -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<
|
|
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
|
+
"version": "10.3.4",
|
|
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.
|
|
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"
|