@atlaskit/help-layout 4.3.8 → 4.4.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 +8 -0
- package/afm-cc/tsconfig.json +1 -2
- package/afm-jira/tsconfig.json +38 -38
- package/afm-post-office/tsconfig.json +38 -38
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Header/BackButton.js +4 -3
- package/dist/cjs/components/Header/CloseButton.js +5 -4
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +4 -3
- package/dist/es2019/components/Header/CloseButton.js +4 -3
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Header/BackButton.js +4 -3
- package/dist/esm/components/Header/CloseButton.js +4 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/help-layout
|
|
2
2
|
|
|
3
|
+
## 4.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163604)
|
|
8
|
+
[`cfcfc83a1f870`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cfcfc83a1f870) -
|
|
9
|
+
Enable new icons behind a feature flag.
|
|
10
|
+
|
|
3
11
|
## 4.3.8
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__help-layout/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/button/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../post-office/tsDist/@atlaskit__help-layout/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/button/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
14
14
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
15
15
|
componentName: 'helpPanel',
|
|
16
16
|
packageName: "@atlaskit/help-layout",
|
|
17
|
-
packageVersion: "4.
|
|
17
|
+
packageVersion: "4.4.0"
|
|
18
18
|
};
|
|
@@ -10,7 +10,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
var _reactTransitionGroup = require("react-transition-group");
|
|
13
|
-
var _arrowLeft = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
+
var _arrowLeft = _interopRequireDefault(require("@atlaskit/icon/core/migration/arrow-left"));
|
|
14
14
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
15
15
|
var _messages = require("../../messages");
|
|
16
16
|
var _constants = require("../constants");
|
|
@@ -64,8 +64,9 @@ var BackButton = exports.BackButton = function BackButton(_ref) {
|
|
|
64
64
|
},
|
|
65
65
|
appearance: "subtle",
|
|
66
66
|
iconBefore: /*#__PURE__*/_react.default.createElement(_arrowLeft.default, {
|
|
67
|
+
color: "currentColor",
|
|
67
68
|
label: "",
|
|
68
|
-
|
|
69
|
+
LEGACY_size: "medium"
|
|
69
70
|
})
|
|
70
71
|
}, formatMessage(_messages.messages.help_panel_header_back)));
|
|
71
72
|
});
|
|
@@ -75,7 +76,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
75
76
|
data: {
|
|
76
77
|
componentName: 'backButton',
|
|
77
78
|
packageName: "@atlaskit/help-layout",
|
|
78
|
-
packageVersion: "4.
|
|
79
|
+
packageVersion: "4.4.0"
|
|
79
80
|
}
|
|
80
81
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
81
82
|
};
|
|
@@ -10,7 +10,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
12
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
13
|
-
var
|
|
13
|
+
var _closeEditorClose = _interopRequireDefault(require("@atlaskit/icon/core/migration/close--editor-close"));
|
|
14
14
|
var _messages = require("../../messages");
|
|
15
15
|
var _styled = require("./styled");
|
|
16
16
|
/**
|
|
@@ -39,9 +39,10 @@ var CloseButton = exports.CloseButton = function CloseButton(_ref) {
|
|
|
39
39
|
onClick: handleOnClick,
|
|
40
40
|
appearance: "subtle",
|
|
41
41
|
"aria-label": formatMessage(_messages.messages.help_panel_header_close_button),
|
|
42
|
-
iconBefore: /*#__PURE__*/_react.default.createElement(
|
|
42
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_closeEditorClose.default, {
|
|
43
|
+
color: "currentColor",
|
|
43
44
|
label: formatMessage(_messages.messages.help_panel_header_close),
|
|
44
|
-
|
|
45
|
+
LEGACY_size: "medium"
|
|
45
46
|
})
|
|
46
47
|
})));
|
|
47
48
|
};
|
|
@@ -50,7 +51,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
50
51
|
data: {
|
|
51
52
|
componentName: 'closeButton',
|
|
52
53
|
packageName: "@atlaskit/help-layout",
|
|
53
|
-
packageVersion: "4.
|
|
54
|
+
packageVersion: "4.4.0"
|
|
54
55
|
}
|
|
55
56
|
}, /*#__PURE__*/_react.default.createElement(CloseButton, props));
|
|
56
57
|
};
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { Transition } from 'react-transition-group';
|
|
5
|
-
import ArrowleftIcon from '@atlaskit/icon/
|
|
5
|
+
import ArrowleftIcon from '@atlaskit/icon/core/migration/arrow-left';
|
|
6
6
|
import Button from '@atlaskit/button/standard-button';
|
|
7
7
|
import { messages } from '../../messages';
|
|
8
8
|
import { TRANSITION_DURATION_MS } from '../constants';
|
|
@@ -61,8 +61,9 @@ export const BackButton = ({
|
|
|
61
61
|
},
|
|
62
62
|
appearance: "subtle",
|
|
63
63
|
iconBefore: /*#__PURE__*/React.createElement(ArrowleftIcon, {
|
|
64
|
+
color: "currentColor",
|
|
64
65
|
label: "",
|
|
65
|
-
|
|
66
|
+
LEGACY_size: "medium"
|
|
66
67
|
})
|
|
67
68
|
}, formatMessage(messages.help_panel_header_back))));
|
|
68
69
|
};
|
|
@@ -71,7 +72,7 @@ const BackButtonWithContext = props => {
|
|
|
71
72
|
data: {
|
|
72
73
|
componentName: 'backButton',
|
|
73
74
|
packageName: "@atlaskit/help-layout",
|
|
74
|
-
packageVersion: "4.
|
|
75
|
+
packageVersion: "4.4.0"
|
|
75
76
|
}
|
|
76
77
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
77
78
|
};
|
|
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
|
-
import EditorCloseIcon from '@atlaskit/icon/
|
|
6
|
+
import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
|
|
7
7
|
import { messages } from '../../messages';
|
|
8
8
|
import { CloseButtonContainer } from './styled';
|
|
9
9
|
/**
|
|
@@ -37,8 +37,9 @@ export const CloseButton = ({
|
|
|
37
37
|
appearance: "subtle",
|
|
38
38
|
"aria-label": formatMessage(messages.help_panel_header_close_button),
|
|
39
39
|
iconBefore: /*#__PURE__*/React.createElement(EditorCloseIcon, {
|
|
40
|
+
color: "currentColor",
|
|
40
41
|
label: formatMessage(messages.help_panel_header_close),
|
|
41
|
-
|
|
42
|
+
LEGACY_size: "medium"
|
|
42
43
|
})
|
|
43
44
|
})));
|
|
44
45
|
};
|
|
@@ -47,7 +48,7 @@ const CloseButtonWithContext = props => {
|
|
|
47
48
|
data: {
|
|
48
49
|
componentName: 'closeButton',
|
|
49
50
|
packageName: "@atlaskit/help-layout",
|
|
50
|
-
packageVersion: "4.
|
|
51
|
+
packageVersion: "4.4.0"
|
|
51
52
|
}
|
|
52
53
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
53
54
|
};
|
package/dist/esm/analytics.js
CHANGED
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import { injectIntl } from 'react-intl-next';
|
|
6
6
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { Transition } from 'react-transition-group';
|
|
8
|
-
import ArrowleftIcon from '@atlaskit/icon/
|
|
8
|
+
import ArrowleftIcon from '@atlaskit/icon/core/migration/arrow-left';
|
|
9
9
|
import Button from '@atlaskit/button/standard-button';
|
|
10
10
|
import { messages } from '../../messages';
|
|
11
11
|
import { TRANSITION_DURATION_MS } from '../constants';
|
|
@@ -57,8 +57,9 @@ export var BackButton = function BackButton(_ref) {
|
|
|
57
57
|
},
|
|
58
58
|
appearance: "subtle",
|
|
59
59
|
iconBefore: /*#__PURE__*/React.createElement(ArrowleftIcon, {
|
|
60
|
+
color: "currentColor",
|
|
60
61
|
label: "",
|
|
61
|
-
|
|
62
|
+
LEGACY_size: "medium"
|
|
62
63
|
})
|
|
63
64
|
}, formatMessage(messages.help_panel_header_back)));
|
|
64
65
|
});
|
|
@@ -68,7 +69,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
68
69
|
data: {
|
|
69
70
|
componentName: 'backButton',
|
|
70
71
|
packageName: "@atlaskit/help-layout",
|
|
71
|
-
packageVersion: "4.
|
|
72
|
+
packageVersion: "4.4.0"
|
|
72
73
|
}
|
|
73
74
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
74
75
|
};
|
|
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
|
-
import EditorCloseIcon from '@atlaskit/icon/
|
|
6
|
+
import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
|
|
7
7
|
import { messages } from '../../messages';
|
|
8
8
|
import { CloseButtonContainer } from './styled';
|
|
9
9
|
/**
|
|
@@ -33,8 +33,9 @@ export var CloseButton = function CloseButton(_ref) {
|
|
|
33
33
|
appearance: "subtle",
|
|
34
34
|
"aria-label": formatMessage(messages.help_panel_header_close_button),
|
|
35
35
|
iconBefore: /*#__PURE__*/React.createElement(EditorCloseIcon, {
|
|
36
|
+
color: "currentColor",
|
|
36
37
|
label: formatMessage(messages.help_panel_header_close),
|
|
37
|
-
|
|
38
|
+
LEGACY_size: "medium"
|
|
38
39
|
})
|
|
39
40
|
})));
|
|
40
41
|
};
|
|
@@ -43,7 +44,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
43
44
|
data: {
|
|
44
45
|
componentName: 'closeButton',
|
|
45
46
|
packageName: "@atlaskit/help-layout",
|
|
46
|
-
packageVersion: "4.
|
|
47
|
+
packageVersion: "4.4.0"
|
|
47
48
|
}
|
|
48
49
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
49
50
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-layout",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
34
|
-
"@atlaskit/button": "^20.
|
|
35
|
-
"@atlaskit/icon": "^22.
|
|
34
|
+
"@atlaskit/button": "^20.3.0",
|
|
35
|
+
"@atlaskit/icon": "^22.24.0",
|
|
36
36
|
"@atlaskit/theme": "^14.0.0",
|
|
37
|
-
"@atlaskit/tokens": "^2.
|
|
38
|
-
"@atlaskit/tooltip": "^18.
|
|
37
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
38
|
+
"@atlaskit/tooltip": "^18.9.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"@emotion/react": "^11.7.1",
|
|
41
41
|
"@emotion/styled": "^11.0.0",
|