@atlaskit/mobile-header 5.0.11 → 5.0.12

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/mobile-header
2
2
 
3
+ ## 5.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`522a27e6119`](https://bitbucket.org/atlassian/atlassian-frontend/commits/522a27e6119) - Remove `isOpen` prop from @atlaskit/banner, it is now open by default.
8
+ - Updated dependencies
9
+
3
10
  ## 5.0.11
4
11
 
5
12
  ### Patch Changes
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/mobile-header",
3
- "version": "5.0.11"
3
+ "version": "5.0.12"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/mobile-header",
3
- "version": "5.0.11"
3
+ "version": "5.0.12"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/mobile-header",
3
- "version": "5.0.11"
3
+ "version": "5.0.12"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/mobile-header",
3
- "version": "5.0.11",
3
+ "version": "5.0.12",
4
4
  "description": "A React component rendering a mobile header",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@atlaskit/button": "^16.3.0",
33
- "@atlaskit/icon": "^21.10.0",
33
+ "@atlaskit/icon": "^21.11.0",
34
34
  "@atlaskit/theme": "^12.2.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
@@ -39,7 +39,7 @@
39
39
  "styled-components": "^3.2.6"
40
40
  },
41
41
  "devDependencies": {
42
- "@atlaskit/banner": "^11.6.0",
42
+ "@atlaskit/banner": "^12.0.0",
43
43
  "@atlaskit/docs": "*",
44
44
  "@atlaskit/navigation": "^37.0.0",
45
45
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
package/report.api.md CHANGED
@@ -1,12 +1,17 @@
1
+ <!-- API Report Version: 2.2 -->
2
+
1
3
  ## API Report File for "@atlaskit/mobile-header"
2
4
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
4
9
 
5
- <!--
6
- Generated API Report version: 2.0
7
- -->
10
+ - [Main Entry Types](#main-entry-types)
8
11
 
9
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
10
15
 
11
16
  ```ts
12
17
  import { PureComponent } from 'react';
@@ -54,7 +59,7 @@ interface MobileHeaderProps {
54
59
  // (undocumented)
55
60
  customMenu?: ReactNode;
56
61
  // (undocumented)
57
- drawerState: 'navigation' | 'sidebar' | 'none' | string;
62
+ drawerState: 'navigation' | 'none' | 'sidebar' | string;
58
63
  // (undocumented)
59
64
  menuIconLabel: string;
60
65
  // (undocumented)
@@ -83,3 +88,5 @@ interface MobileHeaderState {
83
88
 
84
89
  // (No @packageDocumentation comment for this package)
85
90
  ```
91
+
92
+ <!--SECTION END: Main Entry Types-->
@@ -0,0 +1,72 @@
1
+ ## API Report File for "@atlaskit/mobile-header"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { PureComponent } from 'react';
8
+ import { default as React_2 } from 'react';
9
+ import { ReactNode } from 'react';
10
+
11
+ // @public (undocumented)
12
+ class MobileHeader extends PureComponent<MobileHeaderProps, MobileHeaderState> {
13
+ // (undocumented)
14
+ static defaultProps: {
15
+ topOffset: number;
16
+ pageHeading: string;
17
+ menuIconLabel: string;
18
+ drawerState: string;
19
+ };
20
+ // (undocumented)
21
+ handleNavSlideFinish: () => void;
22
+ // (undocumented)
23
+ handleSidebarSlideFinish: () => void;
24
+ // (undocumented)
25
+ render(): JSX.Element;
26
+ // (undocumented)
27
+ renderSlider: (isOpen: boolean, isAnimating: boolean, onTransitionEnd: ((event: React_2.TransitionEvent<HTMLDivElement>) => void) | undefined, side: string, renderFn?: ((isOpen: boolean) => ReactNode) | undefined, topOffset?: number | undefined) => JSX.Element;
28
+ // (undocumented)
29
+ state: {
30
+ isAnimatingNavigation: boolean;
31
+ isAnimatingSidebar: boolean;
32
+ };
33
+ // (undocumented)
34
+ UNSAFE_componentWillReceiveProps(nextProps: MobileHeaderProps): void;
35
+ }
36
+ export default MobileHeader;
37
+
38
+ // @public (undocumented)
39
+ interface MobileHeaderProps {
40
+ // (undocumented)
41
+ customMenu?: ReactNode;
42
+ // (undocumented)
43
+ drawerState: 'navigation' | 'none' | 'sidebar' | string;
44
+ // (undocumented)
45
+ menuIconLabel: string;
46
+ // (undocumented)
47
+ navigation?: (isOpen: boolean) => ReactNode;
48
+ // (undocumented)
49
+ onDrawerClose?: () => void;
50
+ // (undocumented)
51
+ onNavigationOpen?: () => void;
52
+ // (undocumented)
53
+ pageHeading: ReactNode;
54
+ // (undocumented)
55
+ secondaryContent?: ReactNode;
56
+ // (undocumented)
57
+ sidebar?: (isOpen: boolean) => ReactNode;
58
+ // (undocumented)
59
+ topOffset?: number;
60
+ }
61
+
62
+ // @public (undocumented)
63
+ interface MobileHeaderState {
64
+ // (undocumented)
65
+ isAnimatingNavigation: boolean;
66
+ // (undocumented)
67
+ isAnimatingSidebar: boolean;
68
+ }
69
+
70
+ // (No @packageDocumentation comment for this package)
71
+
72
+ ```