@atlaskit/reactions 22.5.8 → 22.5.10

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 (67) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/MockReactionsClient.js +0 -1
  3. package/dist/cjs/analytics/index.js +1 -1
  4. package/dist/cjs/components/Counter/Counter.js +1 -4
  5. package/dist/cjs/components/FlashAnimation/FlashAnimation.js +2 -4
  6. package/dist/cjs/components/Reaction/Reaction.js +2 -2
  7. package/dist/cjs/components/ReactionDialog/ReactionsDialog.js +2 -2
  8. package/dist/cjs/components/ReactionDialog/ReactionsList.js +2 -2
  9. package/dist/cjs/components/ReactionPicker/ReactionPicker.js +2 -2
  10. package/dist/cjs/components/ReactionPicker/RepositionOnUpdate.js +2 -2
  11. package/dist/cjs/components/Reactions/Reactions.js +2 -2
  12. package/dist/cjs/components/Selector/Selector.js +2 -2
  13. package/dist/cjs/components/UfoErrorBoundary/UfoErrorBoundary.js +1 -1
  14. package/dist/cjs/containers/ConnectedReactionsView/ConnectedReactionsView.js +2 -2
  15. package/dist/cjs/store/ReactionConsumer.js +1 -1
  16. package/dist/cjs/types/Actions.js +1 -5
  17. package/dist/cjs/types/Updater.js +1 -5
  18. package/dist/cjs/types/User.js +1 -5
  19. package/dist/es2019/MockReactionsClient.js +0 -1
  20. package/dist/es2019/analytics/index.js +3 -2
  21. package/dist/es2019/components/Counter/Counter.js +1 -1
  22. package/dist/es2019/components/FlashAnimation/FlashAnimation.js +1 -1
  23. package/dist/es2019/types/Actions.js +0 -1
  24. package/dist/es2019/types/Updater.js +0 -1
  25. package/dist/es2019/types/User.js +0 -1
  26. package/dist/esm/MockReactionsClient.js +0 -1
  27. package/dist/esm/analytics/index.js +3 -2
  28. package/dist/esm/components/Counter/Counter.js +1 -1
  29. package/dist/esm/components/FlashAnimation/FlashAnimation.js +1 -1
  30. package/dist/esm/components/UfoErrorBoundary/UfoErrorBoundary.js +1 -1
  31. package/dist/esm/store/ReactionConsumer.js +1 -1
  32. package/dist/esm/types/Actions.js +0 -1
  33. package/dist/esm/types/Updater.js +0 -1
  34. package/dist/esm/types/User.js +0 -1
  35. package/dist/types/components/Counter/Counter.d.ts +2 -3
  36. package/dist/types/components/EmojiButton/EmojiButton.d.ts +2 -3
  37. package/dist/types/components/FlashAnimation/FlashAnimation.d.ts +5 -4
  38. package/dist/types/components/Reaction/Reaction.d.ts +2 -3
  39. package/dist/types/components/ReactionDialog/ReactionView.d.ts +2 -3
  40. package/dist/types/components/ReactionDialog/ReactionsDialog.d.ts +2 -3
  41. package/dist/types/components/ReactionDialog/ReactionsList.d.ts +2 -3
  42. package/dist/types/components/ReactionPicker/ReactionPicker.d.ts +2 -1
  43. package/dist/types/components/ReactionPicker/RepositionOnUpdate.d.ts +2 -2
  44. package/dist/types/components/ReactionTooltip/ReactionTooltip.d.ts +5 -4
  45. package/dist/types/components/Reactions/Reactions.d.ts +1 -1
  46. package/dist/types/components/Selector/Selector.d.ts +2 -1
  47. package/dist/types/components/ShowMore/ShowMore.d.ts +2 -2
  48. package/dist/types/components/UfoErrorBoundary/UfoErrorBoundary.d.ts +1 -0
  49. package/dist/types/containers/ConnectedReactionPicker/ConnectedReactionPicker.d.ts +1 -1
  50. package/dist/types/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
  51. package/dist/types-ts4.5/components/Counter/Counter.d.ts +2 -3
  52. package/dist/types-ts4.5/components/EmojiButton/EmojiButton.d.ts +2 -3
  53. package/dist/types-ts4.5/components/FlashAnimation/FlashAnimation.d.ts +5 -4
  54. package/dist/types-ts4.5/components/Reaction/Reaction.d.ts +2 -3
  55. package/dist/types-ts4.5/components/ReactionDialog/ReactionView.d.ts +2 -3
  56. package/dist/types-ts4.5/components/ReactionDialog/ReactionsDialog.d.ts +2 -3
  57. package/dist/types-ts4.5/components/ReactionDialog/ReactionsList.d.ts +2 -3
  58. package/dist/types-ts4.5/components/ReactionPicker/ReactionPicker.d.ts +2 -1
  59. package/dist/types-ts4.5/components/ReactionPicker/RepositionOnUpdate.d.ts +2 -2
  60. package/dist/types-ts4.5/components/ReactionTooltip/ReactionTooltip.d.ts +5 -4
  61. package/dist/types-ts4.5/components/Reactions/Reactions.d.ts +1 -1
  62. package/dist/types-ts4.5/components/Selector/Selector.d.ts +2 -1
  63. package/dist/types-ts4.5/components/ShowMore/ShowMore.d.ts +2 -2
  64. package/dist/types-ts4.5/components/UfoErrorBoundary/UfoErrorBoundary.d.ts +1 -0
  65. package/dist/types-ts4.5/containers/ConnectedReactionPicker/ConnectedReactionPicker.d.ts +1 -1
  66. package/dist/types-ts4.5/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
  67. package/package.json +12 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 22.5.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#81006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81006) [`d91d334a84c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d91d334a84c0) - React 18 types for @atlaskit/reactions
8
+
9
+ ## 22.5.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
14
+
3
15
  ## 22.5.8
4
16
 
5
17
  ### Patch Changes
@@ -41,7 +41,6 @@ var getReactionKey = function getReactionKey(containerAri, ari) {
41
41
  var defaultUsers = [getUser('oscar', 'Oscar Wallhult'), getUser('julien', 'Julien Michel Hoarau'), getUser('craig', 'Craig Petchell'), getUser('jerome', 'Jerome Touffe-Blin'), getUser('esoares', 'Eduardo Soares'), getUser('lpereira', 'Luiz Pereira'), getUser('pcurren', 'Paul Curren'), getUser('ttjandra', 'Tara Tjandra'), getUser('severington', 'Ste Everington'), getUser('sguillope', 'Sylvain Guillope'), getUser('alunnon', 'Alex Lunnon'), getUser('bsmith', 'Bob Smith'), getUser('jdoe', 'Jane Doe'), getUser('mhomes', 'Mary Homes'), getUser('ckent', 'Clark Kent')];
42
42
  var simpleMockData = exports.simpleMockData = (0, _defineProperty2.default)({}, getReactionKey(containerAri, ari), [getReactionSummary(':fire:', 1, true), getReactionSummary(':thumbsup:', 33, false), getReactionSummary(':astonished:', 99, false), getReactionSummary(':heart:', 44, false) // Widest character
43
43
  ]);
44
-
45
44
  var extendedMockData = (0, _defineProperty2.default)({}, getReactionKey(containerAri, ari), [getReactionSummary(':fire:', 1, true, true), getReactionSummary(':thumbsup:', 999, false, true), getReactionSummary(':astonished:', 9, false, true), getReactionSummary(':heart:', 99, false, true), getReactionSummary(':thinking:', 10, false, true), getReactionSummary(':clap:', 99, false, true), getReactionSummary(':thumbsdown:', 2, false, true), getReactionSummary(':bulb:', 16, false, true), getReactionSummary(':star:', 9999, false, true), getReactionSummary(':green_heart:', 9, false, true), getReactionSummary(':blue_heart:', 8392, false, true), getReactionSummary(':broken_heart:', 1, false, true), getReactionSummary(':grinning:', 10601, false, true), getReactionSummary(':slight_smile:', 99, false, true)]);
46
45
 
47
46
  /**
@@ -11,7 +11,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
11
11
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
12
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
13
  var packageName = "@atlaskit/reactions";
14
- var packageVersion = "22.5.8";
14
+ var packageVersion = "22.5.10";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -1,17 +1,14 @@
1
1
  "use strict";
2
2
 
3
- var _typeof = require("@babel/runtime/helpers/typeof");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.RENDER_LABEL_TESTID = exports.RENDER_COUNTER_TESTID = exports.RENDER_COMPONENT_WRAPPER = exports.Counter = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
7
+ var _react = require("react");
9
8
  var _react2 = require("@emotion/react");
10
9
  var _motion = require("@atlaskit/motion");
11
10
  var _utils = require("../../shared/utils");
12
11
  var _styles = require("./styles");
13
- 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); }
14
- 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; }
15
12
  /** @jsx jsx */
16
13
 
17
14
  // eslint-disable-next-line @atlaskit/design-system/no-banned-imports
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.RENDER_FLASHANIMATION_TESTID = exports.FlashAnimation = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _react2 = require("@emotion/react");
7
+ var _react = require("@emotion/react");
10
8
  var _styles = require("./styles");
11
9
  /** @jsx jsx */
12
10
 
@@ -19,7 +17,7 @@ var RENDER_FLASHANIMATION_TESTID = exports.RENDER_FLASHANIMATION_TESTID = 'flash
19
17
  * Flash animation background component. See Reaction component for usage.
20
18
  */
21
19
  var FlashAnimation = exports.FlashAnimation = function FlashAnimation(props) {
22
- return (0, _react2.jsx)("div", {
20
+ return (0, _react.jsx)("div", {
23
21
  className: props.className,
24
22
  css: [_styles.containerStyle, props.flash && _styles.flashStyle],
25
23
  "data-testid": RENDER_FLASHANIMATION_TESTID
@@ -21,8 +21,8 @@ var _ReactionTooltip = require("../ReactionTooltip");
21
21
  var _i18n = require("../../shared/i18n");
22
22
  var _utils = require("../../shared/utils");
23
23
  var _styles = require("./styles");
24
- 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); }
25
- 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; }
24
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
25
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
26
26
  /** @jsx jsx */
27
27
 
28
28
  /**
@@ -16,8 +16,8 @@ var _constants = require("../../shared/constants");
16
16
  var _i18n = require("../../shared/i18n");
17
17
  var _ReactionsList = require("./ReactionsList");
18
18
  var _styles = require("./styles");
19
- 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); }
20
- 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; }
19
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  /** @jsx jsx */
22
22
 
23
23
  /**
@@ -15,8 +15,8 @@ var _tokens = require("@atlaskit/tokens");
15
15
  var _Counter = require("../Counter");
16
16
  var _styles = require("./styles");
17
17
  var _ReactionView = require("./ReactionView");
18
- 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); }
19
- 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; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
20
  /** @jsx jsx */
21
21
 
22
22
  var ReactionsList = exports.ReactionsList = function ReactionsList(_ref) {
@@ -22,8 +22,8 @@ var _Selector = require("../Selector");
22
22
  var _Trigger = require("../Trigger");
23
23
  var _styles = require("./styles");
24
24
  var _RepositionOnUpdate = require("./RepositionOnUpdate");
25
- 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); }
26
- 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; }
25
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
26
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
27
27
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28
28
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
29
29
  /**
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.RepositionOnUpdate = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- 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); }
10
- 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; }
9
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
11
  /**
12
12
  * Copied from ADS popup component with some tweeks for our use
13
13
  */
@@ -25,8 +25,8 @@ var _Reaction = require("../Reaction");
25
25
  var _ReactionDialog = require("../ReactionDialog");
26
26
  var _ReactionPicker = require("../ReactionPicker");
27
27
  var _styles = require("./styles");
28
- 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); }
29
- 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; }
28
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
29
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
30
30
  /** @jsx jsx */
31
31
 
32
32
  /**
@@ -14,8 +14,8 @@ var _constants = require("../../shared/constants");
14
14
  var _EmojiButton = require("../EmojiButton");
15
15
  var _ShowMore = require("../ShowMore");
16
16
  var _styles = require("./styles");
17
- 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); }
18
- 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; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  /** @jsx jsx */
20
20
 
21
21
  /**
@@ -15,7 +15,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
15
15
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
16
16
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
17
17
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
18
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
18
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
19
19
  /**
20
20
  * Error boundary wrapper to notify "failure" for UFO events of components when there was a re-rendering exception caught inside the `componentDidCatch` event handler
21
21
  */
@@ -18,8 +18,8 @@ var _components = require("../../components");
18
18
  var _store2 = require("../../store");
19
19
  var _types = require("../../types");
20
20
  var _excluded = ["ari", "containerAri", "store"];
21
- 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); }
22
- 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; }
21
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
23
  /**
24
24
  * State Props required for <Reactions />
25
25
  */
@@ -16,7 +16,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
17
  var _react = _interopRequireDefault(require("react"));
18
18
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
19
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
19
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
20
20
  /**
21
21
  * Props type for the ReactionConsumer class component
22
22
  */
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -27,7 +27,6 @@ export const simpleMockData = {
27
27
  [getReactionKey(containerAri, ari)]: [getReactionSummary(':fire:', 1, true), getReactionSummary(':thumbsup:', 33, false), getReactionSummary(':astonished:', 99, false), getReactionSummary(':heart:', 44, false) // Widest character
28
28
  ]
29
29
  };
30
-
31
30
  const extendedMockData = {
32
31
  [getReactionKey(containerAri, ari)]: [getReactionSummary(':fire:', 1, true, true), getReactionSummary(':thumbsup:', 999, false, true), getReactionSummary(':astonished:', 9, false, true), getReactionSummary(':heart:', 99, false, true), getReactionSummary(':thinking:', 10, false, true), getReactionSummary(':clap:', 99, false, true), getReactionSummary(':thumbsdown:', 2, false, true), getReactionSummary(':bulb:', 16, false, true), getReactionSummary(':star:', 9999, false, true), getReactionSummary(':green_heart:', 9, false, true), getReactionSummary(':blue_heart:', 8392, false, true), getReactionSummary(':broken_heart:', 1, false, true), getReactionSummary(':grinning:', 10601, false, true), getReactionSummary(':slight_smile:', 99, false, true)]
33
32
  };
@@ -1,7 +1,7 @@
1
1
  import { createAndFireEvent } from '@atlaskit/analytics-next';
2
2
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
3
3
  const packageName = "@atlaskit/reactions";
4
- const packageVersion = "22.5.8";
4
+ const packageVersion = "22.5.10";
5
5
  /**
6
6
  * TODO: move to utility package?
7
7
  * A random sampling function
@@ -9,7 +9,8 @@ const packageVersion = "22.5.8";
9
9
  * E.g. isSampled(2) will pass 50% of the time
10
10
  * @param rate The chance that it will pass (1 in <rate> times)
11
11
  * @returns bool, if it passes or not
12
- */ // default sampling function to determine which one to be sampled
12
+ */
13
+ // default sampling function to determine which one to be sampled
13
14
  export const isSampled = rate => {
14
15
  if (rate === 1) {
15
16
  return true;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React, { useEffect, useMemo, useRef } from 'react';
2
+ import { useEffect, useMemo, useRef } from 'react';
3
3
  import { jsx, css } from '@emotion/react';
4
4
  import { SlideIn, ExitingPersistence, mediumDurationMs } from '@atlaskit/motion';
5
5
  // eslint-disable-next-line @atlaskit/design-system/no-banned-imports
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+
3
3
  import { jsx } from '@emotion/react';
4
4
  import { containerStyle, flashStyle } from './styles';
5
5
  /**
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -34,7 +34,6 @@ var getReactionKey = function getReactionKey(containerAri, ari) {
34
34
  var defaultUsers = [getUser('oscar', 'Oscar Wallhult'), getUser('julien', 'Julien Michel Hoarau'), getUser('craig', 'Craig Petchell'), getUser('jerome', 'Jerome Touffe-Blin'), getUser('esoares', 'Eduardo Soares'), getUser('lpereira', 'Luiz Pereira'), getUser('pcurren', 'Paul Curren'), getUser('ttjandra', 'Tara Tjandra'), getUser('severington', 'Ste Everington'), getUser('sguillope', 'Sylvain Guillope'), getUser('alunnon', 'Alex Lunnon'), getUser('bsmith', 'Bob Smith'), getUser('jdoe', 'Jane Doe'), getUser('mhomes', 'Mary Homes'), getUser('ckent', 'Clark Kent')];
35
35
  export var simpleMockData = _defineProperty({}, getReactionKey(containerAri, ari), [getReactionSummary(':fire:', 1, true), getReactionSummary(':thumbsup:', 33, false), getReactionSummary(':astonished:', 99, false), getReactionSummary(':heart:', 44, false) // Widest character
36
36
  ]);
37
-
38
37
  var extendedMockData = _defineProperty({}, getReactionKey(containerAri, ari), [getReactionSummary(':fire:', 1, true, true), getReactionSummary(':thumbsup:', 999, false, true), getReactionSummary(':astonished:', 9, false, true), getReactionSummary(':heart:', 99, false, true), getReactionSummary(':thinking:', 10, false, true), getReactionSummary(':clap:', 99, false, true), getReactionSummary(':thumbsdown:', 2, false, true), getReactionSummary(':bulb:', 16, false, true), getReactionSummary(':star:', 9999, false, true), getReactionSummary(':green_heart:', 9, false, true), getReactionSummary(':blue_heart:', 8392, false, true), getReactionSummary(':broken_heart:', 1, false, true), getReactionSummary(':grinning:', 10601, false, true), getReactionSummary(':slight_smile:', 99, false, true)]);
39
38
 
40
39
  /**
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { createAndFireEvent } from '@atlaskit/analytics-next';
5
5
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
6
6
  var packageName = "@atlaskit/reactions";
7
- var packageVersion = "22.5.8";
7
+ var packageVersion = "22.5.10";
8
8
  /**
9
9
  * TODO: move to utility package?
10
10
  * A random sampling function
@@ -12,7 +12,8 @@ var packageVersion = "22.5.8";
12
12
  * E.g. isSampled(2) will pass 50% of the time
13
13
  * @param rate The chance that it will pass (1 in <rate> times)
14
14
  * @returns bool, if it passes or not
15
- */ // default sampling function to determine which one to be sampled
15
+ */
16
+ // default sampling function to determine which one to be sampled
16
17
  export var isSampled = function isSampled(rate) {
17
18
  if (rate === 1) {
18
19
  return true;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React, { useEffect, useMemo, useRef } from 'react';
2
+ import { useEffect, useMemo, useRef } from 'react';
3
3
  import { jsx, css } from '@emotion/react';
4
4
  import { SlideIn, ExitingPersistence, mediumDurationMs } from '@atlaskit/motion';
5
5
  // eslint-disable-next-line @atlaskit/design-system/no-banned-imports
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+
3
3
  import { jsx } from '@emotion/react';
4
4
  import { containerStyle, flashStyle } from './styles';
5
5
  /**
@@ -7,7 +7,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
7
7
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
9
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
10
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
12
  /**
13
13
  * Error boundary wrapper to notify "failure" for UFO events of components when there was a re-rendering exception caught inside the `componentDidCatch` event handler
@@ -8,7 +8,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
9
  import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
11
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React from 'react';
13
13
 
14
14
  /**
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  /**
4
3
  * Test id for component top level div
5
4
  */
@@ -41,4 +40,4 @@ export interface CounterProps {
41
40
  /**
42
41
  * Display reaction count next to the emoji button
43
42
  */
44
- export declare const Counter: React.FC<CounterProps>;
43
+ export declare const Counter: ({ highlight, limit, overLimitLabel, className, value, animationDuration, }: CounterProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiId, OnEmojiEvent, EmojiProvider } from '@atlaskit/emoji';
4
3
  export declare const RENDER_BUTTON_TESTID = "button-emoji-id";
5
4
  export interface EmojiButtonProps {
@@ -19,4 +18,4 @@ export interface EmojiButtonProps {
19
18
  /**
20
19
  * custom button to render the custom emoji selector inside the reaction picker
21
20
  */
22
- export declare const EmojiButton: React.FC<EmojiButtonProps>;
21
+ export declare const EmojiButton: ({ emojiId, onClick, emojiProvider, }: EmojiButtonProps) => jsx.JSX.Element;
@@ -1,6 +1,7 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
3
- export interface FlashAnimationProps {
2
+ import { PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ export type FlashAnimationProps = PropsWithChildren<{
4
5
  /**
5
6
  * Optional wrapper div class anme
6
7
  */
@@ -9,7 +10,7 @@ export interface FlashAnimationProps {
9
10
  * Show custom animation or render as standard without animation (defaults to false)
10
11
  */
11
12
  flash?: boolean;
12
- }
13
+ }>;
13
14
  /**
14
15
  * Test id for wrapper FlashAnimation div
15
16
  */
@@ -17,4 +18,4 @@ export declare const RENDER_FLASHANIMATION_TESTID = "flash-animation";
17
18
  /**
18
19
  * Flash animation background component. See Reaction component for usage.
19
20
  */
20
- export declare const FlashAnimation: React.FC<FlashAnimationProps>;
21
+ export declare const FlashAnimation: (props: FlashAnimationProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji';
4
3
  import { ReactionSummary, ReactionClick, ReactionMouseEnter } from '../../types';
5
4
  import { ReactionTooltipProps } from '../ReactionTooltip';
@@ -45,4 +44,4 @@ export interface ReactionProps extends Pick<ReactionTooltipProps, 'allowUserDial
45
44
  /**
46
45
  * Render an emoji reaction button
47
46
  */
48
- export declare const Reaction: React.FC<ReactionProps>;
47
+ export declare const Reaction: ({ emojiProvider, onClick, reaction, onMouseEnter, onFocused, className, flash, handleUserListClick, allowUserDialog, }: ReactionProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { ReactionSummary } from '../../types';
5
4
  export interface ReactionViewProps {
@@ -16,4 +15,4 @@ export interface ReactionViewProps {
16
15
  */
17
16
  emojiProvider: Promise<EmojiProvider>;
18
17
  }
19
- export declare const ReactionView: FC<ReactionViewProps>;
18
+ export declare const ReactionView: ({ selectedEmojiId, emojiProvider, reaction, }: ReactionViewProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { OnCloseHandler } from '@atlaskit/modal-dialog';
5
4
  import { onDialogSelectReactionChange, ReactionSummary } from '../../types';
@@ -29,4 +28,4 @@ export interface ReactionsDialogProps {
29
28
  */
30
29
  handleSelectReaction?: onDialogSelectReactionChange;
31
30
  }
32
- export declare const ReactionsDialog: FC<ReactionsDialogProps>;
31
+ export declare const ReactionsDialog: ({ reactions, handleCloseReactionsDialog, emojiProvider, selectedEmojiId, handleSelectReaction, }: ReactionsDialogProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { onDialogSelectReactionChange, ReactionSummary } from '../../types';
5
4
  export interface ReactionsListProps {
@@ -20,4 +19,4 @@ export interface ReactionsListProps {
20
19
  */
21
20
  onReactionChanged: onDialogSelectReactionChange;
22
21
  }
23
- export declare const ReactionsList: FC<ReactionsListProps>;
22
+ export declare const ReactionsList: ({ reactions, initialEmojiId, emojiProvider, onReactionChanged, }: ReactionsListProps) => jsx.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { PickerSize } from '@atlaskit/emoji/types';
4
5
  import { EmojiProvider } from '@atlaskit/emoji/resource';
5
6
  import { ReactionSource } from '../../types';
@@ -56,4 +57,4 @@ export interface ReactionPickerProps extends Pick<SelectorProps, 'pickerQuickRea
56
57
  /**
57
58
  * Picker component for adding reactions
58
59
  */
59
- export declare const ReactionPicker: React.FC<ReactionPickerProps>;
60
+ export declare const ReactionPicker: React.MemoExoticComponent<(props: ReactionPickerProps) => jsx.JSX.Element>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copied from ADS popup component with some tweeks for our use
3
3
  */
4
- import { FC } from 'react';
4
+ import React from 'react';
5
5
  import { PopperChildrenProps } from '@atlaskit/popper';
6
6
  export type RepositionOnUpdateProps = {
7
7
  update: PopperChildrenProps['update'];
@@ -10,4 +10,4 @@ export type RepositionOnUpdateProps = {
10
10
  showFullPicker: boolean;
11
11
  };
12
12
  };
13
- export declare const RepositionOnUpdate: FC<RepositionOnUpdateProps>;
13
+ export declare const RepositionOnUpdate: ({ children, update, settings, }: React.PropsWithChildren<RepositionOnUpdateProps>) => JSX.Element;
@@ -1,11 +1,12 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { ReactionSummary } from '../../types';
4
5
  /**
5
6
  * Test id for wrapper ReactionTooltip div
6
7
  */
7
8
  export declare const RENDER_REACTIONTOOLTIP_TESTID = "render-reactionTooltip";
8
- export interface ReactionTooltipProps {
9
+ export type ReactionTooltipProps = PropsWithChildren<{
9
10
  /**
10
11
  * Optional name for the reaction emoji
11
12
  */
@@ -30,5 +31,5 @@ export interface ReactionTooltipProps {
30
31
  * Optional flag for enabling tooltip (defaults to true)
31
32
  */
32
33
  isEnabled?: boolean;
33
- }
34
- export declare const ReactionTooltip: React.FC<ReactionTooltipProps>;
34
+ }>;
35
+ export declare const ReactionTooltip: ({ children, emojiName, reaction: { users, emojiId }, maxReactions, handleUserListClick, allowUserDialog, isEnabled, }: ReactionTooltipProps) => jsx.JSX.Element;
@@ -93,4 +93,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
93
93
  /**
94
94
  * Renders list of reactions
95
95
  */
96
- export declare const Reactions: React.FC<ReactionsProps>;
96
+ export declare const Reactions: React.MemoExoticComponent<({ flash, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onReactionHover, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, emojiPickerSize, miniMode, }: ReactionsProps) => jsx.JSX.Element>;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { EmojiId, OnEmojiEvent } from '@atlaskit/emoji/types';
4
5
  import { EmojiProvider } from '@atlaskit/emoji/resource';
5
6
  /**
@@ -31,4 +32,4 @@ export interface SelectorProps {
31
32
  /**
32
33
  * Reactions picker panel part of the <ReactionPicker /> component
33
34
  */
34
- export declare const Selector: React.FC<SelectorProps>;
35
+ export declare const Selector: ({ emojiProvider, onMoreClick, onSelection, showMore, pickerQuickReactionEmojiIds, }: SelectorProps) => jsx.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
- import { SerializedStyles } from '@emotion/react';
3
+ import { jsx, SerializedStyles } from '@emotion/react';
4
4
  /**
5
5
  * Test id for wrapper button
6
6
  */
@@ -31,5 +31,5 @@ export interface ShowMoreProps {
31
31
  /**
32
32
  * Show more custom emojis button
33
33
  */
34
- export declare const ShowMore: React.FC<ShowMoreProps>;
34
+ export declare const ShowMore: ({ onClick, style, className, buttonStyle, }: ShowMoreProps) => jsx.JSX.Element;
35
35
  export {};
@@ -6,6 +6,7 @@ export interface UfoErrorBoundaryProps {
6
6
  * UFO Experiences to notify failure when the children components fail on rendering
7
7
  */
8
8
  experiences: UFOExperience[] | WithSamplingUFOExperience[];
9
+ children?: React.ReactNode;
9
10
  }
10
11
  /**
11
12
  * Error boundary wrapper to notify "failure" for UFO events of components when there was a re-rendering exception caught inside the `componentDidCatch` event handler
@@ -20,4 +20,4 @@ export interface ConnectedReactionPickerProps extends Omit<ReactionPickerProps,
20
20
  /**
21
21
  * Reaction Picker component
22
22
  */
23
- export declare const ConnectedReactionPicker: React.FC<ConnectedReactionPickerProps>;
23
+ export declare const ConnectedReactionPicker: (props: React.PropsWithChildren<ConnectedReactionPickerProps>) => JSX.Element;
@@ -40,4 +40,4 @@ export declare const mapDispatchToPropsHelper: (actions: Actions, containerAri:
40
40
  getReactionDetails: (emojiId: string) => void;
41
41
  onSelection: (emojiId: string) => void;
42
42
  };
43
- export declare const ConnectedReactionsView: React.FC<ConnectedReactionsViewProps>;
43
+ export declare const ConnectedReactionsView: (props: React.PropsWithChildren<ConnectedReactionsViewProps>) => JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  /**
4
3
  * Test id for component top level div
5
4
  */
@@ -41,4 +40,4 @@ export interface CounterProps {
41
40
  /**
42
41
  * Display reaction count next to the emoji button
43
42
  */
44
- export declare const Counter: React.FC<CounterProps>;
43
+ export declare const Counter: ({ highlight, limit, overLimitLabel, className, value, animationDuration, }: CounterProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiId, OnEmojiEvent, EmojiProvider } from '@atlaskit/emoji';
4
3
  export declare const RENDER_BUTTON_TESTID = "button-emoji-id";
5
4
  export interface EmojiButtonProps {
@@ -19,4 +18,4 @@ export interface EmojiButtonProps {
19
18
  /**
20
19
  * custom button to render the custom emoji selector inside the reaction picker
21
20
  */
22
- export declare const EmojiButton: React.FC<EmojiButtonProps>;
21
+ export declare const EmojiButton: ({ emojiId, onClick, emojiProvider, }: EmojiButtonProps) => jsx.JSX.Element;
@@ -1,6 +1,7 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
3
- export interface FlashAnimationProps {
2
+ import { PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
4
+ export type FlashAnimationProps = PropsWithChildren<{
4
5
  /**
5
6
  * Optional wrapper div class anme
6
7
  */
@@ -9,7 +10,7 @@ export interface FlashAnimationProps {
9
10
  * Show custom animation or render as standard without animation (defaults to false)
10
11
  */
11
12
  flash?: boolean;
12
- }
13
+ }>;
13
14
  /**
14
15
  * Test id for wrapper FlashAnimation div
15
16
  */
@@ -17,4 +18,4 @@ export declare const RENDER_FLASHANIMATION_TESTID = "flash-animation";
17
18
  /**
18
19
  * Flash animation background component. See Reaction component for usage.
19
20
  */
20
- export declare const FlashAnimation: React.FC<FlashAnimationProps>;
21
+ export declare const FlashAnimation: (props: FlashAnimationProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji';
4
3
  import { ReactionSummary, ReactionClick, ReactionMouseEnter } from '../../types';
5
4
  import { ReactionTooltipProps } from '../ReactionTooltip';
@@ -45,4 +44,4 @@ export interface ReactionProps extends Pick<ReactionTooltipProps, 'allowUserDial
45
44
  /**
46
45
  * Render an emoji reaction button
47
46
  */
48
- export declare const Reaction: React.FC<ReactionProps>;
47
+ export declare const Reaction: ({ emojiProvider, onClick, reaction, onMouseEnter, onFocused, className, flash, handleUserListClick, allowUserDialog, }: ReactionProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { ReactionSummary } from '../../types';
5
4
  export interface ReactionViewProps {
@@ -16,4 +15,4 @@ export interface ReactionViewProps {
16
15
  */
17
16
  emojiProvider: Promise<EmojiProvider>;
18
17
  }
19
- export declare const ReactionView: FC<ReactionViewProps>;
18
+ export declare const ReactionView: ({ selectedEmojiId, emojiProvider, reaction, }: ReactionViewProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { OnCloseHandler } from '@atlaskit/modal-dialog';
5
4
  import { onDialogSelectReactionChange, ReactionSummary } from '../../types';
@@ -29,4 +28,4 @@ export interface ReactionsDialogProps {
29
28
  */
30
29
  handleSelectReaction?: onDialogSelectReactionChange;
31
30
  }
32
- export declare const ReactionsDialog: FC<ReactionsDialogProps>;
31
+ export declare const ReactionsDialog: ({ reactions, handleCloseReactionsDialog, emojiProvider, selectedEmojiId, handleSelectReaction, }: ReactionsDialogProps) => jsx.JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { onDialogSelectReactionChange, ReactionSummary } from '../../types';
5
4
  export interface ReactionsListProps {
@@ -20,4 +19,4 @@ export interface ReactionsListProps {
20
19
  */
21
20
  onReactionChanged: onDialogSelectReactionChange;
22
21
  }
23
- export declare const ReactionsList: FC<ReactionsListProps>;
22
+ export declare const ReactionsList: ({ reactions, initialEmojiId, emojiProvider, onReactionChanged, }: ReactionsListProps) => jsx.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { PickerSize } from '@atlaskit/emoji/types';
4
5
  import { EmojiProvider } from '@atlaskit/emoji/resource';
5
6
  import { ReactionSource } from '../../types';
@@ -56,4 +57,4 @@ export interface ReactionPickerProps extends Pick<SelectorProps, 'pickerQuickRea
56
57
  /**
57
58
  * Picker component for adding reactions
58
59
  */
59
- export declare const ReactionPicker: React.FC<ReactionPickerProps>;
60
+ export declare const ReactionPicker: React.MemoExoticComponent<(props: ReactionPickerProps) => jsx.JSX.Element>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copied from ADS popup component with some tweeks for our use
3
3
  */
4
- import { FC } from 'react';
4
+ import React from 'react';
5
5
  import { PopperChildrenProps } from '@atlaskit/popper';
6
6
  export type RepositionOnUpdateProps = {
7
7
  update: PopperChildrenProps['update'];
@@ -10,4 +10,4 @@ export type RepositionOnUpdateProps = {
10
10
  showFullPicker: boolean;
11
11
  };
12
12
  };
13
- export declare const RepositionOnUpdate: FC<RepositionOnUpdateProps>;
13
+ export declare const RepositionOnUpdate: ({ children, update, settings, }: React.PropsWithChildren<RepositionOnUpdateProps>) => JSX.Element;
@@ -1,11 +1,12 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { PropsWithChildren } from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { ReactionSummary } from '../../types';
4
5
  /**
5
6
  * Test id for wrapper ReactionTooltip div
6
7
  */
7
8
  export declare const RENDER_REACTIONTOOLTIP_TESTID = "render-reactionTooltip";
8
- export interface ReactionTooltipProps {
9
+ export type ReactionTooltipProps = PropsWithChildren<{
9
10
  /**
10
11
  * Optional name for the reaction emoji
11
12
  */
@@ -30,5 +31,5 @@ export interface ReactionTooltipProps {
30
31
  * Optional flag for enabling tooltip (defaults to true)
31
32
  */
32
33
  isEnabled?: boolean;
33
- }
34
- export declare const ReactionTooltip: React.FC<ReactionTooltipProps>;
34
+ }>;
35
+ export declare const ReactionTooltip: ({ children, emojiName, reaction: { users, emojiId }, maxReactions, handleUserListClick, allowUserDialog, isEnabled, }: ReactionTooltipProps) => jsx.JSX.Element;
@@ -93,4 +93,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
93
93
  /**
94
94
  * Renders list of reactions
95
95
  */
96
- export declare const Reactions: React.FC<ReactionsProps>;
96
+ export declare const Reactions: React.MemoExoticComponent<({ flash, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onReactionHover, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, emojiPickerSize, miniMode, }: ReactionsProps) => jsx.JSX.Element>;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+ import { jsx } from '@emotion/react';
3
4
  import { EmojiId, OnEmojiEvent } from '@atlaskit/emoji/types';
4
5
  import { EmojiProvider } from '@atlaskit/emoji/resource';
5
6
  /**
@@ -31,4 +32,4 @@ export interface SelectorProps {
31
32
  /**
32
33
  * Reactions picker panel part of the <ReactionPicker /> component
33
34
  */
34
- export declare const Selector: React.FC<SelectorProps>;
35
+ export declare const Selector: ({ emojiProvider, onMoreClick, onSelection, showMore, pickerQuickReactionEmojiIds, }: SelectorProps) => jsx.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
- import { SerializedStyles } from '@emotion/react';
3
+ import { jsx, SerializedStyles } from '@emotion/react';
4
4
  /**
5
5
  * Test id for wrapper button
6
6
  */
@@ -31,5 +31,5 @@ export interface ShowMoreProps {
31
31
  /**
32
32
  * Show more custom emojis button
33
33
  */
34
- export declare const ShowMore: React.FC<ShowMoreProps>;
34
+ export declare const ShowMore: ({ onClick, style, className, buttonStyle, }: ShowMoreProps) => jsx.JSX.Element;
35
35
  export {};
@@ -6,6 +6,7 @@ export interface UfoErrorBoundaryProps {
6
6
  * UFO Experiences to notify failure when the children components fail on rendering
7
7
  */
8
8
  experiences: UFOExperience[] | WithSamplingUFOExperience[];
9
+ children?: React.ReactNode;
9
10
  }
10
11
  /**
11
12
  * Error boundary wrapper to notify "failure" for UFO events of components when there was a re-rendering exception caught inside the `componentDidCatch` event handler
@@ -20,4 +20,4 @@ export interface ConnectedReactionPickerProps extends Omit<ReactionPickerProps,
20
20
  /**
21
21
  * Reaction Picker component
22
22
  */
23
- export declare const ConnectedReactionPicker: React.FC<ConnectedReactionPickerProps>;
23
+ export declare const ConnectedReactionPicker: (props: React.PropsWithChildren<ConnectedReactionPickerProps>) => JSX.Element;
@@ -40,4 +40,4 @@ export declare const mapDispatchToPropsHelper: (actions: Actions, containerAri:
40
40
  getReactionDetails: (emojiId: string) => void;
41
41
  onSelection: (emojiId: string) => void;
42
42
  };
43
- export declare const ConnectedReactionsView: React.FC<ConnectedReactionsViewProps>;
43
+ export declare const ConnectedReactionsView: (props: React.PropsWithChildren<ConnectedReactionsViewProps>) => JSX.Element;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "22.5.8",
3
+ "version": "22.5.10",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "author": "Atlassian Pty Ltd",
10
10
  "license": "Apache-2.0",
11
11
  "main": "dist/cjs/index.js",
@@ -26,27 +26,28 @@
26
26
  "releaseModel": "continuous",
27
27
  "website": {
28
28
  "name": "Reactions"
29
- }
29
+ },
30
+ "runReact18": true
30
31
  },
31
32
  "config": {
32
33
  "access": "public"
33
34
  },
34
35
  "dependencies": {
35
36
  "@atlaskit/analytics-gas-types": "^5.1.0",
36
- "@atlaskit/analytics-namespaced-context": "^6.7.0",
37
- "@atlaskit/analytics-next": "^9.1.0",
38
- "@atlaskit/avatar": "^21.4.0",
39
- "@atlaskit/button": "^17.0.0",
37
+ "@atlaskit/analytics-namespaced-context": "^6.9.0",
38
+ "@atlaskit/analytics-next": "^9.2.0",
39
+ "@atlaskit/avatar": "^21.5.0",
40
+ "@atlaskit/button": "^17.7.0",
40
41
  "@atlaskit/emoji": "^67.6.0",
41
- "@atlaskit/icon": "^22.0.0",
42
+ "@atlaskit/icon": "^22.1.0",
42
43
  "@atlaskit/modal-dialog": "^12.10.0",
43
44
  "@atlaskit/motion": "^1.5.0",
44
45
  "@atlaskit/popper": "^5.5.0",
45
46
  "@atlaskit/spinner": "^16.0.0",
46
47
  "@atlaskit/tabs": "^14.0.0",
47
48
  "@atlaskit/theme": "^12.6.0",
48
- "@atlaskit/tokens": "^1.30.0",
49
- "@atlaskit/tooltip": "^18.0.0",
49
+ "@atlaskit/tokens": "^1.41.0",
50
+ "@atlaskit/tooltip": "^18.1.0",
50
51
  "@atlaskit/ufo": "^0.2.0",
51
52
  "@atlaskit/util-service-support": "^6.2.0",
52
53
  "@babel/runtime": "^7.0.0",
@@ -60,7 +61,7 @@
60
61
  },
61
62
  "devDependencies": {
62
63
  "@atlaskit/elements-test-helpers": "^0.7.0",
63
- "@atlaskit/util-data-test": "^17.8.0",
64
+ "@atlaskit/util-data-test": "^17.9.0",
64
65
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
65
66
  "@emotion/jest": "^11.8.0",
66
67
  "@testing-library/dom": "^8.17.1",