@atlaskit/help 6.0.4 → 6.0.8
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 +24 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +2 -2
- package/dist/esm/version.json +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 6.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`222834915fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/222834915fa) - [ux] Fix date formatting in What's New
|
|
8
|
+
|
|
9
|
+
## 6.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`07bd0f6e2e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07bd0f6e2e7) - [ux] Fix onWhatsNewResultItemClick analytics event issue
|
|
14
|
+
|
|
15
|
+
## 6.0.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 6.0.5
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
26
|
+
|
|
3
27
|
## 6.0.4
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -51,7 +51,7 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
|
|
|
51
51
|
var featureRolloutDateString = whatsNewArticle === null || whatsNewArticle === void 0 ? void 0 : whatsNewArticle.featureRolloutDate;
|
|
52
52
|
|
|
53
53
|
if (featureRolloutDateString) {
|
|
54
|
-
var featureRolloutDateArray = featureRolloutDateString.replace('
|
|
54
|
+
var featureRolloutDateArray = featureRolloutDateString.replace('/-/g', '/');
|
|
55
55
|
var featureRolloutDate = (0, _toDate.default)(new Date(featureRolloutDateArray));
|
|
56
56
|
|
|
57
57
|
if (whatsNewArticlesGroupedByDateTemp[featureRolloutDateString]) {
|
|
@@ -85,7 +85,7 @@ var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
85
85
|
searchWhatsNewArticlesResult = _useWhatsNewArticleCo.searchWhatsNewArticlesResult,
|
|
86
86
|
onSearchWhatsNewArticles = _useWhatsNewArticleCo.onSearchWhatsNewArticles,
|
|
87
87
|
searchWhatsNewArticlesState = _useWhatsNewArticleCo.searchWhatsNewArticlesState,
|
|
88
|
-
|
|
88
|
+
onWhatsNewResultItemClick = _useWhatsNewArticleCo.onWhatsNewResultItemClick;
|
|
89
89
|
|
|
90
90
|
var SELECT_DEFAULT_VALUE = {
|
|
91
91
|
value: '',
|
|
@@ -167,7 +167,7 @@ var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
167
167
|
}
|
|
168
168
|
})), /*#__PURE__*/_react.default.createElement(_styled.WhatsNewResultsListContainer, null, searchWhatsNewArticlesResult.articles.length > 0 ? /*#__PURE__*/_react.default.createElement(_WhatsNewResultsList.default, {
|
|
169
169
|
whatsNewArticles: searchWhatsNewArticlesResult.articles,
|
|
170
|
-
onWhatsNewResultItemClick:
|
|
170
|
+
onWhatsNewResultItemClick: onWhatsNewResultItemClick,
|
|
171
171
|
onShowMoreButtonClick: handleOnShowMoreButtonClick,
|
|
172
172
|
hasNextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.hasNextPage,
|
|
173
173
|
nextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.nextPage,
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -20,7 +20,7 @@ const WhatsNewResultsList = ({
|
|
|
20
20
|
const featureRolloutDateString = whatsNewArticle === null || whatsNewArticle === void 0 ? void 0 : whatsNewArticle.featureRolloutDate;
|
|
21
21
|
|
|
22
22
|
if (featureRolloutDateString) {
|
|
23
|
-
const featureRolloutDateArray = featureRolloutDateString.replace('
|
|
23
|
+
const featureRolloutDateArray = featureRolloutDateString.replace('/-/g', '/');
|
|
24
24
|
const featureRolloutDate = toDate(new Date(featureRolloutDateArray));
|
|
25
25
|
|
|
26
26
|
if (whatsNewArticlesGroupedByDateTemp[featureRolloutDateString]) {
|
|
@@ -49,7 +49,7 @@ export const WhatsNewResults = ({
|
|
|
49
49
|
searchWhatsNewArticlesResult,
|
|
50
50
|
onSearchWhatsNewArticles,
|
|
51
51
|
searchWhatsNewArticlesState,
|
|
52
|
-
|
|
52
|
+
onWhatsNewResultItemClick
|
|
53
53
|
} = useWhatsNewArticleContext();
|
|
54
54
|
const SELECT_DEFAULT_VALUE = {
|
|
55
55
|
value: '',
|
|
@@ -129,7 +129,7 @@ export const WhatsNewResults = ({
|
|
|
129
129
|
}
|
|
130
130
|
})), /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, searchWhatsNewArticlesResult.articles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsList, {
|
|
131
131
|
whatsNewArticles: searchWhatsNewArticlesResult.articles,
|
|
132
|
-
onWhatsNewResultItemClick:
|
|
132
|
+
onWhatsNewResultItemClick: onWhatsNewResultItemClick,
|
|
133
133
|
onShowMoreButtonClick: handleOnShowMoreButtonClick,
|
|
134
134
|
hasNextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.hasNextPage,
|
|
135
135
|
nextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.nextPage,
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -27,7 +27,7 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
|
|
|
27
27
|
var featureRolloutDateString = whatsNewArticle === null || whatsNewArticle === void 0 ? void 0 : whatsNewArticle.featureRolloutDate;
|
|
28
28
|
|
|
29
29
|
if (featureRolloutDateString) {
|
|
30
|
-
var featureRolloutDateArray = featureRolloutDateString.replace('
|
|
30
|
+
var featureRolloutDateArray = featureRolloutDateString.replace('/-/g', '/');
|
|
31
31
|
var featureRolloutDate = toDate(new Date(featureRolloutDateArray));
|
|
32
32
|
|
|
33
33
|
if (whatsNewArticlesGroupedByDateTemp[featureRolloutDateString]) {
|
|
@@ -54,7 +54,7 @@ export var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
54
54
|
searchWhatsNewArticlesResult = _useWhatsNewArticleCo.searchWhatsNewArticlesResult,
|
|
55
55
|
onSearchWhatsNewArticles = _useWhatsNewArticleCo.onSearchWhatsNewArticles,
|
|
56
56
|
searchWhatsNewArticlesState = _useWhatsNewArticleCo.searchWhatsNewArticlesState,
|
|
57
|
-
|
|
57
|
+
onWhatsNewResultItemClick = _useWhatsNewArticleCo.onWhatsNewResultItemClick;
|
|
58
58
|
|
|
59
59
|
var SELECT_DEFAULT_VALUE = {
|
|
60
60
|
value: '',
|
|
@@ -136,7 +136,7 @@ export var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
136
136
|
}
|
|
137
137
|
})), /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, searchWhatsNewArticlesResult.articles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsList, {
|
|
138
138
|
whatsNewArticles: searchWhatsNewArticlesResult.articles,
|
|
139
|
-
onWhatsNewResultItemClick:
|
|
139
|
+
onWhatsNewResultItemClick: onWhatsNewResultItemClick,
|
|
140
140
|
onShowMoreButtonClick: handleOnShowMoreButtonClick,
|
|
141
141
|
hasNextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.hasNextPage,
|
|
142
142
|
nextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.nextPage,
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.8",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
"@atlaskit/form": "^8.4.0",
|
|
34
34
|
"@atlaskit/help-article": "^4.0.0",
|
|
35
35
|
"@atlaskit/help-layout": "^4.0.0",
|
|
36
|
-
"@atlaskit/icon": "^21.
|
|
36
|
+
"@atlaskit/icon": "^21.10.0",
|
|
37
37
|
"@atlaskit/item": "^12.0.0",
|
|
38
|
-
"@atlaskit/notification-indicator": "^
|
|
39
|
-
"@atlaskit/notification-log-client": "^
|
|
38
|
+
"@atlaskit/notification-indicator": "^9.0.0",
|
|
39
|
+
"@atlaskit/notification-log-client": "^6.0.0",
|
|
40
40
|
"@atlaskit/radio": "^5.3.0",
|
|
41
41
|
"@atlaskit/section-message": "^6.1.0",
|
|
42
42
|
"@atlaskit/select": "^15.0.0",
|
|
43
43
|
"@atlaskit/spinner": "^15.1.0",
|
|
44
44
|
"@atlaskit/textarea": "^4.2.0",
|
|
45
45
|
"@atlaskit/textfield": "^5.1.0",
|
|
46
|
-
"@atlaskit/theme": "^12.
|
|
46
|
+
"@atlaskit/theme": "^12.1.0",
|
|
47
47
|
"@atlaskit/tooltip": "^17.5.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/core": "^10.0.9",
|
|
50
50
|
"@emotion/styled": "^10.0.7",
|
|
51
51
|
"date-fns": "^2.17.0",
|
|
52
|
-
"lodash": "^4.17.
|
|
52
|
+
"lodash": "^4.17.21",
|
|
53
53
|
"react-animate-height": "^2.0.5",
|
|
54
54
|
"react-transition-group": "^4.4.1"
|
|
55
55
|
},
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@atlaskit/docs": "*",
|
|
64
64
|
"@atlaskit/navigation": "^37.0.0",
|
|
65
|
-
"@atlaskit/page": "^12.
|
|
65
|
+
"@atlaskit/page": "^12.1.0",
|
|
66
66
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
67
67
|
"@testing-library/react": "^8.0.1",
|
|
68
68
|
"algoliasearch": "^3.35.1",
|