@atlaskit/help 7.1.27 → 7.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +1 -0
  3. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +0 -1
  4. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -0
  5. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +1 -0
  6. package/dist/cjs/components/Article/styled.js +1 -0
  7. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +1 -0
  8. package/dist/cjs/components/ArticlesList/styled.js +1 -0
  9. package/dist/cjs/components/HelpContentButton/styled.js +1 -0
  10. package/dist/cjs/components/RelatedArticles/index.js +28 -30
  11. package/dist/cjs/components/RelatedArticles/styled.js +1 -0
  12. package/dist/cjs/components/Search/SearchInput/styled.js +1 -0
  13. package/dist/cjs/components/Search/SearchResults/styled.js +1 -0
  14. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -0
  15. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -0
  16. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -0
  17. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -0
  18. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -0
  19. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +1 -0
  20. package/dist/cjs/components/constants.js +8 -8
  21. package/dist/cjs/components/contexts/navigationContext.js +122 -130
  22. package/dist/cjs/components/contexts/searchContext.js +28 -30
  23. package/dist/cjs/components/contexts/whatsNewArticleContext.js +51 -53
  24. package/dist/cjs/components/styled.js +1 -0
  25. package/dist/cjs/model/Article.js +4 -4
  26. package/dist/cjs/model/Help.js +4 -4
  27. package/dist/cjs/model/Requests.js +4 -4
  28. package/dist/cjs/model/WhatsNew.js +4 -4
  29. package/dist/cjs/util/styled.js +1 -0
  30. package/dist/cjs/version.json +1 -1
  31. package/dist/es2019/components/constants.js +8 -8
  32. package/dist/es2019/model/Article.js +3 -3
  33. package/dist/es2019/model/Help.js +3 -3
  34. package/dist/es2019/model/Requests.js +3 -3
  35. package/dist/es2019/model/WhatsNew.js +3 -3
  36. package/dist/es2019/version.json +1 -1
  37. package/dist/esm/components/RelatedArticles/index.js +28 -30
  38. package/dist/esm/components/constants.js +8 -8
  39. package/dist/esm/components/contexts/navigationContext.js +122 -130
  40. package/dist/esm/components/contexts/searchContext.js +28 -30
  41. package/dist/esm/components/contexts/whatsNewArticleContext.js +51 -53
  42. package/dist/esm/model/Article.js +3 -3
  43. package/dist/esm/model/Help.js +3 -3
  44. package/dist/esm/model/Requests.js +3 -3
  45. package/dist/esm/model/WhatsNew.js +3 -3
  46. package/dist/esm/version.json +1 -1
  47. package/package.json +21 -21
  48. package/tmp/api-report-tmp.d.ts +0 -300
@@ -256,67 +256,65 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
256
256
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(historyItem) {
257
257
  var article;
258
258
  return _regeneratorRuntime.wrap(function _callee$(_context) {
259
- while (1) {
260
- switch (_context.prev = _context.next) {
261
- case 0:
262
- _context.prev = 0;
263
- _context.t0 = historyItem.type;
264
- _context.next = _context.t0 === ARTICLE_TYPE.HELP_ARTICLE ? 4 : _context.t0 === ARTICLE_TYPE.WHATS_NEW ? 10 : 18;
259
+ while (1) switch (_context.prev = _context.next) {
260
+ case 0:
261
+ _context.prev = 0;
262
+ _context.t0 = historyItem.type;
263
+ _context.next = _context.t0 === ARTICLE_TYPE.HELP_ARTICLE ? 4 : _context.t0 === ARTICLE_TYPE.WHATS_NEW ? 10 : 18;
264
+ break;
265
+ case 4:
266
+ if (onGetHelpArticle) {
267
+ _context.next = 6;
265
268
  break;
266
- case 4:
267
- if (onGetHelpArticle) {
268
- _context.next = 6;
269
- break;
270
- }
271
- throw new Error('onGetHelpArticle prop not defined');
272
- case 6:
273
- _context.next = 8;
274
- return onGetHelpArticle({
275
- id: historyItem.id,
276
- type: historyItem.type
277
- });
278
- case 8:
279
- article = _context.sent;
280
- return _context.abrupt("break", 20);
281
- case 10:
282
- if (onGetWhatsNewArticle) {
283
- _context.next = 12;
284
- break;
285
- }
286
- throw new Error('onGetWhatsNewArticle prop not defined');
287
- case 12:
288
- if (!(historyItem.id === '')) {
289
- _context.next = 14;
290
- break;
291
- }
292
- return _context.abrupt("break", 20);
293
- case 14:
294
- _context.next = 16;
295
- return onGetWhatsNewArticle({
296
- id: historyItem.id,
297
- type: historyItem.type
298
- });
299
- case 16:
300
- article = _context.sent;
301
- return _context.abrupt("break", 20);
302
- case 18:
303
- throw new Error('onGetHelpArticle prop not defined');
304
- case 20:
305
- return _context.abrupt("return", _objectSpread(_objectSpread(_objectSpread({}, historyItem), article && {
306
- article: article
307
- }), {}, {
308
- state: REQUEST_STATE.done
309
- }));
310
- case 23:
311
- _context.prev = 23;
312
- _context.t1 = _context["catch"](0);
313
- return _context.abrupt("return", _objectSpread(_objectSpread({}, historyItem), {}, {
314
- state: REQUEST_STATE.error
315
- }));
316
- case 26:
317
- case "end":
318
- return _context.stop();
319
- }
269
+ }
270
+ throw new Error('onGetHelpArticle prop not defined');
271
+ case 6:
272
+ _context.next = 8;
273
+ return onGetHelpArticle({
274
+ id: historyItem.id,
275
+ type: historyItem.type
276
+ });
277
+ case 8:
278
+ article = _context.sent;
279
+ return _context.abrupt("break", 20);
280
+ case 10:
281
+ if (onGetWhatsNewArticle) {
282
+ _context.next = 12;
283
+ break;
284
+ }
285
+ throw new Error('onGetWhatsNewArticle prop not defined');
286
+ case 12:
287
+ if (!(historyItem.id === '')) {
288
+ _context.next = 14;
289
+ break;
290
+ }
291
+ return _context.abrupt("break", 20);
292
+ case 14:
293
+ _context.next = 16;
294
+ return onGetWhatsNewArticle({
295
+ id: historyItem.id,
296
+ type: historyItem.type
297
+ });
298
+ case 16:
299
+ article = _context.sent;
300
+ return _context.abrupt("break", 20);
301
+ case 18:
302
+ throw new Error('onGetHelpArticle prop not defined');
303
+ case 20:
304
+ return _context.abrupt("return", _objectSpread(_objectSpread(_objectSpread({}, historyItem), article && {
305
+ article: article
306
+ }), {}, {
307
+ state: REQUEST_STATE.done
308
+ }));
309
+ case 23:
310
+ _context.prev = 23;
311
+ _context.t1 = _context["catch"](0);
312
+ return _context.abrupt("return", _objectSpread(_objectSpread({}, historyItem), {}, {
313
+ state: REQUEST_STATE.error
314
+ }));
315
+ case 26:
316
+ case "end":
317
+ return _context.stop();
320
318
  }
321
319
  }, _callee, null, [[0, 23]]);
322
320
  }));
@@ -328,23 +326,21 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
328
326
  var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(historyItem) {
329
327
  var historyItemToReload;
330
328
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
331
- while (1) {
332
- switch (_context2.prev = _context2.next) {
333
- case 0:
334
- historyItemToReload = _objectSpread({}, historyItem);
335
- if (historyItem.type === ARTICLE_TYPE.HELP_ARTICLE || historyItem.type === ARTICLE_TYPE.WHATS_NEW) {
336
- historyItemToReload.state = REQUEST_STATE.loading;
337
- } else {
338
- historyItemToReload.state = REQUEST_STATE.error;
339
- }
340
- dispatchNavigationAction({
341
- type: 'updateHistoryItem',
342
- payload: historyItemToReload
343
- });
344
- case 3:
345
- case "end":
346
- return _context2.stop();
347
- }
329
+ while (1) switch (_context2.prev = _context2.next) {
330
+ case 0:
331
+ historyItemToReload = _objectSpread({}, historyItem);
332
+ if (historyItem.type === ARTICLE_TYPE.HELP_ARTICLE || historyItem.type === ARTICLE_TYPE.WHATS_NEW) {
333
+ historyItemToReload.state = REQUEST_STATE.loading;
334
+ } else {
335
+ historyItemToReload.state = REQUEST_STATE.error;
336
+ }
337
+ dispatchNavigationAction({
338
+ type: 'updateHistoryItem',
339
+ payload: historyItemToReload
340
+ });
341
+ case 3:
342
+ case "end":
343
+ return _context2.stop();
348
344
  }
349
345
  }, _callee2);
350
346
  }));
@@ -354,45 +350,43 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
354
350
  }(), []);
355
351
  var navigateBack = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
356
352
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
357
- while (1) {
358
- switch (_context3.prev = _context3.next) {
359
- case 0:
360
- if (!(currentView === VIEW.SEARCH && onSearch)) {
361
- _context3.next = 8;
362
- break;
363
- }
364
- if (!(searchValue !== '')) {
365
- _context3.next = 6;
366
- break;
367
- }
368
- onSearch('');
369
- return _context3.abrupt("return");
370
- case 6:
371
- dispatchNavigationAction({
372
- type: 'updateView',
373
- payload: currentArticleId.type
374
- });
375
- return _context3.abrupt("return");
376
- case 8:
377
- // if the history is not empty and ...
378
- if (currentHistory.length > 0) {
379
- // the history has more than one article, navigate back through the history
380
- if (currentHistory.length > 1) {
381
- // Remove last element
382
- dispatchNavigationAction({
383
- type: 'removeLastHistoryItem'
384
- });
385
- } else if (currentHistory.length === 1) {
386
- // but if the history only has one item, clear the history
387
- dispatchNavigationAction({
388
- type: 'removeAllHistoryItems'
389
- });
390
- }
353
+ while (1) switch (_context3.prev = _context3.next) {
354
+ case 0:
355
+ if (!(currentView === VIEW.SEARCH && onSearch)) {
356
+ _context3.next = 8;
357
+ break;
358
+ }
359
+ if (!(searchValue !== '')) {
360
+ _context3.next = 6;
361
+ break;
362
+ }
363
+ onSearch('');
364
+ return _context3.abrupt("return");
365
+ case 6:
366
+ dispatchNavigationAction({
367
+ type: 'updateView',
368
+ payload: currentArticleId.type
369
+ });
370
+ return _context3.abrupt("return");
371
+ case 8:
372
+ // if the history is not empty and ...
373
+ if (currentHistory.length > 0) {
374
+ // the history has more than one article, navigate back through the history
375
+ if (currentHistory.length > 1) {
376
+ // Remove last element
377
+ dispatchNavigationAction({
378
+ type: 'removeLastHistoryItem'
379
+ });
380
+ } else if (currentHistory.length === 1) {
381
+ // but if the history only has one item, clear the history
382
+ dispatchNavigationAction({
383
+ type: 'removeAllHistoryItems'
384
+ });
391
385
  }
392
- case 9:
393
- case "end":
394
- return _context3.stop();
395
- }
386
+ }
387
+ case 9:
388
+ case "end":
389
+ return _context3.stop();
396
390
  }
397
391
  }, _callee3);
398
392
  })), [currentView, onSearch, currentHistory.length, searchValue, currentArticleId.type]);
@@ -475,21 +469,19 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
475
469
  var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(historyItem) {
476
470
  var historyItemUpdate;
477
471
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
478
- while (1) {
479
- switch (_context4.prev = _context4.next) {
480
- case 0:
481
- _context4.next = 2;
482
- return fetchArticleData(historyItem);
483
- case 2:
484
- historyItemUpdate = _context4.sent;
485
- dispatchNavigationAction({
486
- type: 'updateHistoryItem',
487
- payload: historyItemUpdate
488
- });
489
- case 4:
490
- case "end":
491
- return _context4.stop();
492
- }
472
+ while (1) switch (_context4.prev = _context4.next) {
473
+ case 0:
474
+ _context4.next = 2;
475
+ return fetchArticleData(historyItem);
476
+ case 2:
477
+ historyItemUpdate = _context4.sent;
478
+ dispatchNavigationAction({
479
+ type: 'updateHistoryItem',
480
+ payload: historyItemUpdate
481
+ });
482
+ case 4:
483
+ case "end":
484
+ return _context4.stop();
493
485
  }
494
486
  }, _callee4);
495
487
  }));
@@ -41,37 +41,35 @@ export var SearchContextProvider = function SearchContextProvider(_ref) {
41
41
  results,
42
42
  _args = arguments;
43
43
  return _regeneratorRuntime.wrap(function _callee$(_context) {
44
- while (1) {
45
- switch (_context.prev = _context.next) {
46
- case 0:
47
- value = _args.length > 0 && _args[0] !== undefined ? _args[0] : '';
48
- if (!onSearch) {
49
- _context.next = 16;
50
- break;
51
- }
52
- _context.prev = 2;
53
- _context.next = 5;
54
- return onSearch(value);
55
- case 5:
56
- results = _context.sent;
57
- setSearchResult(results);
58
- setSearchState(REQUEST_STATE.done);
59
- _context.next = 14;
44
+ while (1) switch (_context.prev = _context.next) {
45
+ case 0:
46
+ value = _args.length > 0 && _args[0] !== undefined ? _args[0] : '';
47
+ if (!onSearch) {
48
+ _context.next = 16;
60
49
  break;
61
- case 10:
62
- _context.prev = 10;
63
- _context.t0 = _context["catch"](2);
64
- setSearchResult([]);
65
- setSearchState(REQUEST_STATE.error);
66
- case 14:
67
- _context.next = 17;
68
- break;
69
- case 16:
70
- setSearchState(REQUEST_STATE.error);
71
- case 17:
72
- case "end":
73
- return _context.stop();
74
- }
50
+ }
51
+ _context.prev = 2;
52
+ _context.next = 5;
53
+ return onSearch(value);
54
+ case 5:
55
+ results = _context.sent;
56
+ setSearchResult(results);
57
+ setSearchState(REQUEST_STATE.done);
58
+ _context.next = 14;
59
+ break;
60
+ case 10:
61
+ _context.prev = 10;
62
+ _context.t0 = _context["catch"](2);
63
+ setSearchResult([]);
64
+ setSearchState(REQUEST_STATE.error);
65
+ case 14:
66
+ _context.next = 17;
67
+ break;
68
+ case 16:
69
+ setSearchState(REQUEST_STATE.error);
70
+ case 17:
71
+ case "end":
72
+ return _context.stop();
75
73
  }
76
74
  }, _callee, null, [[2, 10]]);
77
75
  })), [onSearch]);
@@ -41,61 +41,59 @@ export var WhatsNewArticleProvider = function WhatsNewArticleProvider(_ref) {
41
41
  _results,
42
42
  _args = arguments;
43
43
  return _regeneratorRuntime.wrap(function _callee$(_context) {
44
- while (1) {
45
- switch (_context.prev = _context.next) {
46
- case 0:
47
- filter = _args.length > 0 && _args[0] !== undefined ? _args[0] : '';
48
- numberOfItems = _args.length > 1 && _args[1] !== undefined ? _args[1] : NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE;
49
- page = _args.length > 2 && _args[2] !== undefined ? _args[2] : '';
50
- setWhatsNewSearchType(filter);
51
- if (!onSearchWhatsNewArticles) {
52
- _context.next = 28;
53
- break;
54
- }
55
- _context.prev = 5;
56
- setSearchWhatsNewArticlesState(REQUEST_STATE.loading);
57
- // If the filter type hasn't change, then we are loading an extra page
58
- if (!(filter === whatsNewSearchType && page !== '')) {
59
- _context.next = 14;
60
- break;
61
- }
62
- _context.next = 10;
63
- return onSearchWhatsNewArticles(filter, numberOfItems, page);
64
- case 10:
65
- results = _context.sent;
66
- setSearchWhatsNewArticlesResult({
67
- articles: [].concat(_toConsumableArray(searchWhatsNewArticlesResult !== null && searchWhatsNewArticlesResult !== void 0 && searchWhatsNewArticlesResult.articles ? searchWhatsNewArticlesResult.articles : []), _toConsumableArray(results.articles)),
68
- hasNextPage: results.hasNextPage,
69
- nextPage: results.nextPage
70
- });
71
- _context.next = 19;
44
+ while (1) switch (_context.prev = _context.next) {
45
+ case 0:
46
+ filter = _args.length > 0 && _args[0] !== undefined ? _args[0] : '';
47
+ numberOfItems = _args.length > 1 && _args[1] !== undefined ? _args[1] : NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE;
48
+ page = _args.length > 2 && _args[2] !== undefined ? _args[2] : '';
49
+ setWhatsNewSearchType(filter);
50
+ if (!onSearchWhatsNewArticles) {
51
+ _context.next = 28;
72
52
  break;
73
- case 14:
74
- // new search
75
- setSearchWhatsNewArticlesResult(null);
76
- _context.next = 17;
77
- return onSearchWhatsNewArticles(filter, numberOfItems, page);
78
- case 17:
79
- _results = _context.sent;
80
- setSearchWhatsNewArticlesResult(_results);
81
- case 19:
82
- setSearchWhatsNewArticlesState(REQUEST_STATE.done);
83
- _context.next = 26;
53
+ }
54
+ _context.prev = 5;
55
+ setSearchWhatsNewArticlesState(REQUEST_STATE.loading);
56
+ // If the filter type hasn't change, then we are loading an extra page
57
+ if (!(filter === whatsNewSearchType && page !== '')) {
58
+ _context.next = 14;
84
59
  break;
85
- case 22:
86
- _context.prev = 22;
87
- _context.t0 = _context["catch"](5);
88
- setSearchWhatsNewArticlesResult(null);
89
- setSearchWhatsNewArticlesState(REQUEST_STATE.error);
90
- case 26:
91
- _context.next = 29;
92
- break;
93
- case 28:
94
- setSearchWhatsNewArticlesState(REQUEST_STATE.error);
95
- case 29:
96
- case "end":
97
- return _context.stop();
98
- }
60
+ }
61
+ _context.next = 10;
62
+ return onSearchWhatsNewArticles(filter, numberOfItems, page);
63
+ case 10:
64
+ results = _context.sent;
65
+ setSearchWhatsNewArticlesResult({
66
+ articles: [].concat(_toConsumableArray(searchWhatsNewArticlesResult !== null && searchWhatsNewArticlesResult !== void 0 && searchWhatsNewArticlesResult.articles ? searchWhatsNewArticlesResult.articles : []), _toConsumableArray(results.articles)),
67
+ hasNextPage: results.hasNextPage,
68
+ nextPage: results.nextPage
69
+ });
70
+ _context.next = 19;
71
+ break;
72
+ case 14:
73
+ // new search
74
+ setSearchWhatsNewArticlesResult(null);
75
+ _context.next = 17;
76
+ return onSearchWhatsNewArticles(filter, numberOfItems, page);
77
+ case 17:
78
+ _results = _context.sent;
79
+ setSearchWhatsNewArticlesResult(_results);
80
+ case 19:
81
+ setSearchWhatsNewArticlesState(REQUEST_STATE.done);
82
+ _context.next = 26;
83
+ break;
84
+ case 22:
85
+ _context.prev = 22;
86
+ _context.t0 = _context["catch"](5);
87
+ setSearchWhatsNewArticlesResult(null);
88
+ setSearchWhatsNewArticlesState(REQUEST_STATE.error);
89
+ case 26:
90
+ _context.next = 29;
91
+ break;
92
+ case 28:
93
+ setSearchWhatsNewArticlesState(REQUEST_STATE.error);
94
+ case 29:
95
+ case "end":
96
+ return _context.stop();
99
97
  }
100
98
  }, _callee, null, [[5, 22]]);
101
99
  })), [onSearchWhatsNewArticles, whatsNewSearchType, searchWhatsNewArticlesResult]);
@@ -1,5 +1,5 @@
1
1
  // TODO - Check if we need to delete this
2
- export var ARTICLE_ITEM_TYPES;
3
- (function (ARTICLE_ITEM_TYPES) {
2
+ export var ARTICLE_ITEM_TYPES = /*#__PURE__*/function (ARTICLE_ITEM_TYPES) {
4
3
  ARTICLE_ITEM_TYPES["topicInProduct"] = "topicInProduct";
5
- })(ARTICLE_ITEM_TYPES || (ARTICLE_ITEM_TYPES = {}));
4
+ return ARTICLE_ITEM_TYPES;
5
+ }({});
@@ -1,6 +1,6 @@
1
1
  import { ArticleItem } from './Article';
2
- export var ARTICLE_TYPE;
3
- (function (ARTICLE_TYPE) {
2
+ export var ARTICLE_TYPE = /*#__PURE__*/function (ARTICLE_TYPE) {
4
3
  ARTICLE_TYPE["HELP_ARTICLE"] = "HELP_ARTICLE";
5
4
  ARTICLE_TYPE["WHATS_NEW"] = "WHATS_NEW";
6
- })(ARTICLE_TYPE || (ARTICLE_TYPE = {}));
5
+ return ARTICLE_TYPE;
6
+ }({});
@@ -1,8 +1,8 @@
1
- export var REQUEST_STATE;
2
- (function (REQUEST_STATE) {
1
+ export var REQUEST_STATE = /*#__PURE__*/function (REQUEST_STATE) {
3
2
  REQUEST_STATE["done"] = "done";
4
3
  REQUEST_STATE["loading"] = "loading";
5
4
  REQUEST_STATE["load"] = "load";
6
5
  REQUEST_STATE["error"] = "error";
7
6
  REQUEST_STATE["reload"] = "reload";
8
- })(REQUEST_STATE || (REQUEST_STATE = {}));
7
+ return REQUEST_STATE;
8
+ }({});
@@ -1,8 +1,8 @@
1
- export var WHATS_NEW_ITEM_TYPES;
2
- (function (WHATS_NEW_ITEM_TYPES) {
1
+ export var WHATS_NEW_ITEM_TYPES = /*#__PURE__*/function (WHATS_NEW_ITEM_TYPES) {
3
2
  WHATS_NEW_ITEM_TYPES["NEW_FEATURE"] = "Announcement";
4
3
  WHATS_NEW_ITEM_TYPES["IMPROVEMENT"] = "Improvement";
5
4
  WHATS_NEW_ITEM_TYPES["FIX"] = "Fix";
6
5
  WHATS_NEW_ITEM_TYPES["REMOVED"] = "Removed";
7
6
  WHATS_NEW_ITEM_TYPES["EXPERIMENT"] = "Experiment";
8
- })(WHATS_NEW_ITEM_TYPES || (WHATS_NEW_ITEM_TYPES = {}));
7
+ return WHATS_NEW_ITEM_TYPES;
8
+ }({});
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "7.1.27",
3
+ "version": "7.2.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "7.1.27",
3
+ "version": "7.2.0",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,25 +26,25 @@
26
26
  "ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.svg"
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/analytics": "^8.0.0",
30
- "@atlaskit/analytics-next": "^9.0.0",
31
- "@atlaskit/button": "^16.6.0",
32
- "@atlaskit/checkbox": "^12.4.0",
33
- "@atlaskit/form": "^8.8.0",
34
- "@atlaskit/help-article": "^4.0.0",
35
- "@atlaskit/help-layout": "^4.1.0",
36
- "@atlaskit/icon": "^21.11.0",
37
- "@atlaskit/notification-indicator": "^9.0.0",
38
- "@atlaskit/notification-log-client": "^6.0.0",
39
- "@atlaskit/radio": "^5.4.0",
40
- "@atlaskit/section-message": "^6.3.0",
41
- "@atlaskit/select": "^16.1.0",
42
- "@atlaskit/spinner": "^15.4.0",
43
- "@atlaskit/textarea": "^4.5.0",
44
- "@atlaskit/textfield": "^5.3.0",
45
- "@atlaskit/theme": "^12.3.0",
46
- "@atlaskit/tokens": "^1.2.0",
47
- "@atlaskit/tooltip": "^17.7.0",
29
+ "@atlaskit/analytics": "^8.1.0",
30
+ "@atlaskit/analytics-next": "^9.1.0",
31
+ "@atlaskit/button": "^16.7.0",
32
+ "@atlaskit/checkbox": "^12.5.0",
33
+ "@atlaskit/form": "^8.11.0",
34
+ "@atlaskit/help-article": "^4.1.0",
35
+ "@atlaskit/help-layout": "^4.2.0",
36
+ "@atlaskit/icon": "^21.12.0",
37
+ "@atlaskit/notification-indicator": "^9.1.0",
38
+ "@atlaskit/notification-log-client": "^6.1.0",
39
+ "@atlaskit/radio": "^5.5.0",
40
+ "@atlaskit/section-message": "^6.4.0",
41
+ "@atlaskit/select": "^16.2.0",
42
+ "@atlaskit/spinner": "^15.5.0",
43
+ "@atlaskit/textarea": "^4.6.0",
44
+ "@atlaskit/textfield": "^5.4.0",
45
+ "@atlaskit/theme": "^12.5.0",
46
+ "@atlaskit/tokens": "^1.3.0",
47
+ "@atlaskit/tooltip": "^17.8.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/core": "^10.0.9",
50
50
  "@emotion/styled": "^10.0.7",
@@ -62,7 +62,7 @@
62
62
  "devDependencies": {
63
63
  "@atlaskit/docs": "*",
64
64
  "@atlaskit/navigation": "^37.0.0",
65
- "@atlaskit/page": "^12.2.0",
65
+ "@atlaskit/page": "^12.3.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": "^12.1.5",
68
68
  "algoliasearch": "^3.35.1",