@atlaskit/help-layout 4.2.18 → 4.3.1
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 +149 -59
- package/afm-jira/tsconfig.json +39 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Header/BackButton.js +1 -1
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/Header/styled.js +14 -1
- package/dist/cjs/components/styled.js +16 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +3 -1
- package/dist/es2019/components/Header/CloseButton.js +1 -1
- package/dist/es2019/components/Header/styled.js +14 -1
- package/dist/es2019/components/styled.js +33 -18
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Header/BackButton.js +1 -1
- package/dist/esm/components/Header/CloseButton.js +1 -1
- package/dist/esm/components/Header/styled.js +14 -1
- package/dist/esm/components/styled.js +16 -1
- package/dist/types/components/Header/BackButton.d.ts +2 -2
- package/dist/types/components/Header/CloseButton.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +2 -2
- package/dist/types/components/Header/styled.d.ts +1 -1
- package/dist/types/components/HelpLayout.d.ts +2 -2
- package/dist/types/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types/model/HelpLayout.d.ts +1 -1
- package/dist/types-ts4.5/components/Header/BackButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/CloseButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/styled.d.ts +1 -1
- package/dist/types-ts4.5/components/HelpLayout.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types-ts4.5/model/HelpLayout.d.ts +1 -1
- package/package.json +79 -81
- package/report.api.md +33 -34
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/help-layout"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -24,44 +25,42 @@ import { WithContextProps } from '@atlaskit/analytics-next';
|
|
|
24
25
|
|
|
25
26
|
// @public (undocumented)
|
|
26
27
|
const _default: React_2.ForwardRefExoticComponent<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
> &
|
|
33
|
-
React_2.RefAttributes<any>
|
|
28
|
+
Pick<
|
|
29
|
+
Omit<Props, keyof WithAnalyticsEventsProps> & React_2.RefAttributes<any> & WithContextProps,
|
|
30
|
+
'analyticsContext' | 'key' | keyof HelpLayout
|
|
31
|
+
> &
|
|
32
|
+
React_2.RefAttributes<any>
|
|
34
33
|
>;
|
|
35
34
|
export default _default;
|
|
36
35
|
|
|
37
36
|
// @public (undocumented)
|
|
38
37
|
interface HelpLayout extends HelpPanelHeader {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
// (undocumented)
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
// (undocumented)
|
|
41
|
+
footer?: React.ReactNode;
|
|
42
|
+
// (undocumented)
|
|
43
|
+
isLoading?: boolean;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
// @public (undocumented)
|
|
48
47
|
interface HelpPanelHeader {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
48
|
+
// (undocumented)
|
|
49
|
+
headerContent?: React.ReactNode;
|
|
50
|
+
// (undocumented)
|
|
51
|
+
headerTitle?: string;
|
|
52
|
+
// (undocumented)
|
|
53
|
+
isBackbuttonVisible?: boolean;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
onBackButtonClick?(
|
|
56
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
57
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
58
|
+
): void;
|
|
59
|
+
// (undocumented)
|
|
60
|
+
onCloseButtonClick?(
|
|
61
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
62
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
63
|
+
): void;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
// @public (undocumented)
|
|
@@ -78,10 +77,10 @@ type Props = HelpLayout & WithAnalyticsEventsProps;
|
|
|
78
77
|
|
|
79
78
|
```json
|
|
80
79
|
{
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
"react": "^16.8.0",
|
|
81
|
+
"react-dom": "^16.8.0",
|
|
82
|
+
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
83
|
+
"styled-components": "^3.2.6"
|
|
85
84
|
}
|
|
86
85
|
```
|
|
87
86
|
|