@atlaskit/reactions 37.3.0 → 37.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/analytics/index.js +1 -1
  3. package/dist/cjs/components/AgentReactionAvatar.js +1 -1
  4. package/dist/cjs/components/Counter.js +1 -1
  5. package/dist/cjs/components/EmojiButton.js +1 -1
  6. package/dist/cjs/components/FlashAnimation.js +1 -1
  7. package/dist/cjs/components/Reaction.js +1 -1
  8. package/dist/cjs/components/ReactionButton.js +1 -1
  9. package/dist/cjs/components/ReactionParticleEffect.js +1 -1
  10. package/dist/cjs/components/ReactionPicker.js +1 -1
  11. package/dist/cjs/components/ReactionSummaryButton.js +1 -1
  12. package/dist/cjs/components/ReactionSummaryView.js +1 -1
  13. package/dist/cjs/components/ReactionTooltip.js +4 -4
  14. package/dist/cjs/components/ReactionView.js +1 -1
  15. package/dist/cjs/components/Reactions.js +1 -1
  16. package/dist/cjs/components/ReactionsDialog.js +1 -1
  17. package/dist/cjs/components/ReactionsDialogHeader.js +1 -1
  18. package/dist/cjs/components/ReactionsDialogTrigger.js +1 -1
  19. package/dist/cjs/components/Selector.js +1 -1
  20. package/dist/cjs/components/StaticReaction.js +1 -1
  21. package/dist/cjs/components/Trigger.js +1 -1
  22. package/dist/es2019/analytics/index.js +1 -1
  23. package/dist/es2019/components/AgentReactionAvatar.js +1 -1
  24. package/dist/es2019/components/Counter.js +1 -1
  25. package/dist/es2019/components/EmojiButton.js +1 -1
  26. package/dist/es2019/components/FlashAnimation.js +1 -1
  27. package/dist/es2019/components/Reaction.js +1 -1
  28. package/dist/es2019/components/ReactionButton.js +1 -1
  29. package/dist/es2019/components/ReactionParticleEffect.js +1 -1
  30. package/dist/es2019/components/ReactionPicker.js +1 -1
  31. package/dist/es2019/components/ReactionSummaryButton.js +1 -1
  32. package/dist/es2019/components/ReactionSummaryView.js +1 -1
  33. package/dist/es2019/components/ReactionTooltip.js +4 -4
  34. package/dist/es2019/components/ReactionView.js +1 -1
  35. package/dist/es2019/components/Reactions.js +1 -1
  36. package/dist/es2019/components/ReactionsDialog.js +1 -1
  37. package/dist/es2019/components/ReactionsDialogHeader.js +1 -1
  38. package/dist/es2019/components/ReactionsDialogTrigger.js +1 -1
  39. package/dist/es2019/components/Selector.js +1 -1
  40. package/dist/es2019/components/StaticReaction.js +1 -1
  41. package/dist/es2019/components/Trigger.js +1 -1
  42. package/dist/esm/analytics/index.js +1 -1
  43. package/dist/esm/components/AgentReactionAvatar.js +1 -1
  44. package/dist/esm/components/Counter.js +1 -1
  45. package/dist/esm/components/EmojiButton.js +1 -1
  46. package/dist/esm/components/FlashAnimation.js +1 -1
  47. package/dist/esm/components/Reaction.js +1 -1
  48. package/dist/esm/components/ReactionButton.js +1 -1
  49. package/dist/esm/components/ReactionParticleEffect.js +1 -1
  50. package/dist/esm/components/ReactionPicker.js +1 -1
  51. package/dist/esm/components/ReactionSummaryButton.js +1 -1
  52. package/dist/esm/components/ReactionSummaryView.js +1 -1
  53. package/dist/esm/components/ReactionTooltip.js +4 -4
  54. package/dist/esm/components/ReactionView.js +1 -1
  55. package/dist/esm/components/Reactions.js +1 -1
  56. package/dist/esm/components/ReactionsDialog.js +1 -1
  57. package/dist/esm/components/ReactionsDialogHeader.js +1 -1
  58. package/dist/esm/components/ReactionsDialogTrigger.js +1 -1
  59. package/dist/esm/components/Selector.js +1 -1
  60. package/dist/esm/components/StaticReaction.js +1 -1
  61. package/dist/esm/components/Trigger.js +1 -1
  62. package/package.json +4 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 37.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3d2733c4e7948`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d2733c4e7948) -
8
+ Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
9
+ (Group 3)
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 37.3.1
16
+
17
+ ### Patch Changes
18
+
19
+ - [`c99178222d1f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c99178222d1f9) -
20
+ Remove the `platform_reactions_tooltip_hide_empty_footer` feature gate. The reaction tooltip now
21
+ always omits the trailing footer item when the number of reacting users is within the display
22
+ limit, so the tooltip no longer has empty space at the bottom.
23
+ - Updated dependencies
24
+
3
25
  ## 37.3.0
4
26
 
5
27
  ### Minor Changes
@@ -11,7 +11,7 @@ var _createAndFireEvents = _interopRequireDefault(require("@atlaskit/analytics-n
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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
13
13
  var packageName = "@atlaskit/reactions";
14
- var packageVersion = "37.2.17";
14
+ var packageVersion = "37.3.1";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -1,4 +1,4 @@
1
- /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Counter.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Counter.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* Reaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -66,9 +66,9 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
66
66
  personName: user.displayName
67
67
  }
68
68
  })) : user.displayName);
69
- }), !(0, _fg.fg)('platform_reactions_tooltip_hide_empty_footer') || users.length > maxReactions ? /*#__PURE__*/_react.default.createElement("li", {
69
+ }), users.length > maxReactions ? /*#__PURE__*/_react.default.createElement("li", {
70
70
  className: (0, _runtime.ax)(["_syaz15cr"])
71
- }, users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/_react.default.createElement("button", {
71
+ }, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/_react.default.createElement("button", {
72
72
  type: "button",
73
73
  onClick: handleClick,
74
74
  onMouseDown: function onMouseDown(e) {
@@ -83,7 +83,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
83
83
  values: {
84
84
  count: users.length - maxReactions
85
85
  }
86
- })))) : null));
86
+ }))) : null));
87
87
  return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
88
88
  content: content,
89
89
  position: "bottom",
@@ -1,4 +1,4 @@
1
- /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Reactions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reactions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Selector.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Selector.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Trigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Trigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -2,7 +2,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
3
3
  import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
4
4
  const packageName = "@atlaskit/reactions";
5
- const packageVersion = "37.2.17";
5
+ const packageVersion = "37.3.1";
6
6
  /**
7
7
  * TODO: move to utility package?
8
8
  * A random sampling function
@@ -1,4 +1,4 @@
1
- /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./AgentReactionAvatar.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Counter.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Counter.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Counter.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./EmojiButton.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./FlashAnimation.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Reaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Reaction.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionButton.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionParticleEffect.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionPicker.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useLayoutEffect, useRef, useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionSummaryButton.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionSummaryView.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionTooltip.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -55,9 +55,9 @@ export const ReactionTooltip = ({
55
55
  agentName: user.agent.name,
56
56
  personName: user.displayName
57
57
  }
58
- })) : user.displayName)), !fg('platform_reactions_tooltip_hide_empty_footer') || users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
58
+ })) : user.displayName)), users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
59
59
  className: ax(["_syaz15cr"])
60
- }, users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
60
+ }, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
61
61
  type: "button",
62
62
  onClick: handleClick,
63
63
  onMouseDown: e => e.preventDefault(),
@@ -70,7 +70,7 @@ export const ReactionTooltip = ({
70
70
  values: {
71
71
  count: users.length - maxReactions
72
72
  }
73
- })))) : null));
73
+ }))) : null));
74
74
  return /*#__PURE__*/React.createElement(Tooltip, {
75
75
  content: content,
76
76
  position: "bottom",
@@ -1,4 +1,4 @@
1
- /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionView.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Reactions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reactions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Reactions.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionsDialog.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionsDialogHeader.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionsDialogTrigger.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Selector.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Selector.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Selector.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./StaticReaction.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Trigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Trigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Trigger.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -5,7 +5,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
6
6
  import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
7
7
  var packageName = "@atlaskit/reactions";
8
- var packageVersion = "37.2.17";
8
+ var packageVersion = "37.3.1";
9
9
  /**
10
10
  * TODO: move to utility package?
11
11
  * A random sampling function
@@ -1,4 +1,4 @@
1
- /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentReactionAvatar.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./AgentReactionAvatar.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Counter.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Counter.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Counter.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* EmojiButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./EmojiButton.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* FlashAnimation.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./FlashAnimation.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Reaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./Reaction.compiled.css";
@@ -1,4 +1,4 @@
1
- /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionButton.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import "./ReactionParticleEffect.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionPicker.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./ReactionPicker.compiled.css";
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import "./ReactionSummaryButton.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionSummaryView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./ReactionSummaryView.compiled.css";
@@ -1,4 +1,4 @@
1
- /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionTooltip.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionTooltip.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -59,9 +59,9 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
59
59
  personName: user.displayName
60
60
  }
61
61
  })) : user.displayName);
62
- }), !fg('platform_reactions_tooltip_hide_empty_footer') || users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
62
+ }), users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
63
63
  className: ax(["_syaz15cr"])
64
- }, users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
64
+ }, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
65
65
  type: "button",
66
66
  onClick: handleClick,
67
67
  onMouseDown: function onMouseDown(e) {
@@ -76,7 +76,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
76
76
  values: {
77
77
  count: users.length - maxReactions
78
78
  }
79
- })))) : null));
79
+ }))) : null));
80
80
  return /*#__PURE__*/React.createElement(Tooltip, {
81
81
  content: content,
82
82
  position: "bottom",
@@ -1,4 +1,4 @@
1
- /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionView.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ReactionView.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Reactions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Reactions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./Reactions.compiled.css";
@@ -1,4 +1,4 @@
1
- /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialog.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./ReactionsDialog.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
@@ -1,4 +1,4 @@
1
- /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReactionsDialogTrigger.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Selector.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Selector.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Selector.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* StaticReaction.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./StaticReaction.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Trigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Trigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Trigger.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "37.3.0",
3
+ "version": "37.4.0",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,14 +33,14 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/afm-i18n-platform-elements-reactions": "2.305.0",
36
+ "@atlaskit/afm-i18n-platform-elements-reactions": "2.306.0",
37
37
  "@atlaskit/analytics-gas-types": "^6.2.0",
38
38
  "@atlaskit/analytics-namespaced-context": "^8.2.0",
39
39
  "@atlaskit/analytics-next": "^12.6.0",
40
40
  "@atlaskit/avatar": "^30.1.0",
41
41
  "@atlaskit/button": "^25.7.0",
42
42
  "@atlaskit/css": "^1.1.0",
43
- "@atlaskit/emoji": "^73.5.0",
43
+ "@atlaskit/emoji": "^73.6.0",
44
44
  "@atlaskit/feature-gate-js-client": "^8.0.0",
45
45
  "@atlaskit/heading": "^8.0.0",
46
46
  "@atlaskit/icon": "^38.0.0",
@@ -59,7 +59,7 @@
59
59
  "@atlaskit/tabs": "^21.3.0",
60
60
  "@atlaskit/theme": "^28.2.0",
61
61
  "@atlaskit/tmp-editor-statsig": "^260.0.0",
62
- "@atlaskit/tokens": "^20.10.0",
62
+ "@atlaskit/tokens": "^20.11.0",
63
63
  "@atlaskit/tooltip": "^24.4.0",
64
64
  "@atlaskit/ufo": "^2.0.0",
65
65
  "@atlaskit/util-service-support": "^7.4.0",
@@ -127,9 +127,6 @@
127
127
  "platform_suppression_removal_fix_reactions": {
128
128
  "type": "boolean"
129
129
  },
130
- "platform_reactions_tooltip_hide_empty_footer": {
131
- "type": "boolean"
132
- },
133
130
  "a11y_reactions_reading_order": {
134
131
  "type": "boolean"
135
132
  },