@atlaskit/help-layout 4.1.15 → 4.2.0
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 +10 -0
- package/dist/cjs/components/Header/styled.js +1 -0
- package/dist/cjs/components/constants.js +4 -4
- package/dist/cjs/components/styled.js +1 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/constants.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/constants.js +3 -3
- package/dist/esm/version.json +1 -1
- package/package.json +10 -10
- package/tmp/api-report-tmp.d.ts +0 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/help-layout
|
|
2
2
|
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 4.1.15
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -11,6 +11,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
var _constants = require("@atlaskit/theme/constants");
|
|
12
12
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
13
13
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
14
|
+
/** @jsx jsx */
|
|
14
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
17
|
var HEADER_TITLE_HEIGHT = (0, _constants.gridSize)() * 7;
|
|
@@ -7,12 +7,12 @@ exports.TRANSITION_STATUS = exports.TRANSITION_DURATION_MS = void 0;
|
|
|
7
7
|
// Animation related consts
|
|
8
8
|
var TRANSITION_DURATION_MS = 220;
|
|
9
9
|
exports.TRANSITION_DURATION_MS = TRANSITION_DURATION_MS;
|
|
10
|
-
var TRANSITION_STATUS
|
|
11
|
-
exports.TRANSITION_STATUS = TRANSITION_STATUS;
|
|
12
|
-
(function (TRANSITION_STATUS) {
|
|
10
|
+
var TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
13
11
|
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
14
12
|
TRANSITION_STATUS["EXITED"] = "exited";
|
|
15
13
|
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
16
14
|
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
17
15
|
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
18
|
-
|
|
16
|
+
return TRANSITION_STATUS;
|
|
17
|
+
}({});
|
|
18
|
+
exports.TRANSITION_STATUS = TRANSITION_STATUS;
|
|
@@ -11,6 +11,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
var _core = require("@emotion/core");
|
|
12
12
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
13
13
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
14
|
+
/** @jsx jsx */
|
|
14
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
17
|
var Container = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n background-color: ", ";\n"])), "var(--ds-surface, #FFFFFF)");
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Animation related consts
|
|
2
2
|
export const TRANSITION_DURATION_MS = 220;
|
|
3
|
-
export let TRANSITION_STATUS
|
|
4
|
-
(function (TRANSITION_STATUS) {
|
|
3
|
+
export let TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
5
4
|
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
6
5
|
TRANSITION_STATUS["EXITED"] = "exited";
|
|
7
6
|
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
8
7
|
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
9
8
|
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
10
|
-
|
|
9
|
+
return TRANSITION_STATUS;
|
|
10
|
+
}({});
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Animation related consts
|
|
2
2
|
export var TRANSITION_DURATION_MS = 220;
|
|
3
|
-
export var TRANSITION_STATUS
|
|
4
|
-
(function (TRANSITION_STATUS) {
|
|
3
|
+
export var TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
5
4
|
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
6
5
|
TRANSITION_STATUS["EXITED"] = "exited";
|
|
7
6
|
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
8
7
|
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
9
8
|
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
10
|
-
|
|
9
|
+
return TRANSITION_STATUS;
|
|
10
|
+
}({});
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-layout",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/analytics": "^8.
|
|
27
|
-
"@atlaskit/analytics-next": "^9.
|
|
28
|
-
"@atlaskit/button": "^16.
|
|
29
|
-
"@atlaskit/icon": "^21.
|
|
30
|
-
"@atlaskit/theme": "^12.
|
|
31
|
-
"@atlaskit/tokens": "^1.
|
|
32
|
-
"@atlaskit/tooltip": "^17.
|
|
26
|
+
"@atlaskit/analytics": "^8.1.0",
|
|
27
|
+
"@atlaskit/analytics-next": "^9.1.0",
|
|
28
|
+
"@atlaskit/button": "^16.7.0",
|
|
29
|
+
"@atlaskit/icon": "^21.12.0",
|
|
30
|
+
"@atlaskit/theme": "^12.5.0",
|
|
31
|
+
"@atlaskit/tokens": "^1.3.0",
|
|
32
|
+
"@atlaskit/tooltip": "^17.8.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"@emotion/core": "^10.0.9",
|
|
35
35
|
"@emotion/styled": "^10.0.7",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@atlaskit/docs": "*",
|
|
46
46
|
"@atlaskit/navigation": "^37.0.0",
|
|
47
|
-
"@atlaskit/page": "^12.
|
|
48
|
-
"@atlaskit/right-side-panel": "^1.
|
|
47
|
+
"@atlaskit/page": "^12.3.0",
|
|
48
|
+
"@atlaskit/right-side-panel": "^1.2.0",
|
|
49
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
50
50
|
"algoliasearch": "^3.35.1",
|
|
51
51
|
"enzyme": "^3.10.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/help-layout"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import { default as React_2 } from 'react';
|
|
10
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
11
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
12
|
-
import { WithContextProps } from '@atlaskit/analytics-next';
|
|
13
|
-
|
|
14
|
-
// @public (undocumented)
|
|
15
|
-
const _default: React_2.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React_2.RefAttributes<any> & WithContextProps, "analyticsContext" | "key" | keyof HelpLayout> & React_2.RefAttributes<any>>;
|
|
16
|
-
export default _default;
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
interface HelpLayout extends HelpPanelHeader {
|
|
20
|
-
// (undocumented)
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
// (undocumented)
|
|
23
|
-
footer?: React.ReactNode;
|
|
24
|
-
// (undocumented)
|
|
25
|
-
isLoading?: boolean;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
interface HelpPanelHeader {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
headerContent?: React.ReactNode;
|
|
32
|
-
// (undocumented)
|
|
33
|
-
headerTitle?: string;
|
|
34
|
-
// (undocumented)
|
|
35
|
-
isBackbuttonVisible?: boolean;
|
|
36
|
-
// (undocumented)
|
|
37
|
-
onBackButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
38
|
-
// (undocumented)
|
|
39
|
-
onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
type Props = HelpLayout & WithAnalyticsEventsProps;
|
|
44
|
-
|
|
45
|
-
// (No @packageDocumentation comment for this package)
|
|
46
|
-
|
|
47
|
-
```
|