@atlaskit/reactions 33.8.17 → 33.8.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Counter.js +1 -1
- package/dist/cjs/components/EmojiButton.js +1 -1
- package/dist/cjs/components/FlashAnimation.js +1 -1
- package/dist/cjs/components/Reaction.compiled.css +10 -7
- package/dist/cjs/components/Reaction.js +6 -4
- package/dist/cjs/components/ReactionButton.js +1 -1
- package/dist/cjs/components/ReactionParticleEffect.js +1 -1
- package/dist/cjs/components/ReactionPicker.js +3 -2
- package/dist/cjs/components/ReactionSummaryButton.js +1 -1
- package/dist/cjs/components/ReactionSummaryView.js +1 -1
- package/dist/cjs/components/ReactionTooltip.js +6 -4
- package/dist/cjs/components/ReactionView.js +1 -1
- package/dist/cjs/components/Reactions.compiled.css +8 -12
- package/dist/cjs/components/Reactions.js +5 -5
- package/dist/cjs/components/ReactionsDialog.js +1 -1
- package/dist/cjs/components/ReactionsDialogHeader.js +7 -5
- package/dist/cjs/components/ReactionsDialogTrigger.js +1 -1
- package/dist/cjs/components/Selector.js +1 -1
- package/dist/cjs/components/StaticReaction.js +1 -1
- package/dist/cjs/components/Trigger.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Counter.js +1 -1
- package/dist/es2019/components/EmojiButton.js +1 -1
- package/dist/es2019/components/FlashAnimation.js +1 -1
- package/dist/es2019/components/Reaction.compiled.css +10 -7
- package/dist/es2019/components/Reaction.js +6 -4
- package/dist/es2019/components/ReactionButton.js +1 -1
- package/dist/es2019/components/ReactionParticleEffect.js +1 -1
- package/dist/es2019/components/ReactionPicker.js +3 -2
- package/dist/es2019/components/ReactionSummaryButton.js +1 -1
- package/dist/es2019/components/ReactionSummaryView.js +1 -1
- package/dist/es2019/components/ReactionTooltip.js +6 -4
- package/dist/es2019/components/ReactionView.js +1 -1
- package/dist/es2019/components/Reactions.compiled.css +8 -12
- package/dist/es2019/components/Reactions.js +5 -5
- package/dist/es2019/components/ReactionsDialog.js +1 -1
- package/dist/es2019/components/ReactionsDialogHeader.js +7 -5
- package/dist/es2019/components/ReactionsDialogTrigger.js +1 -1
- package/dist/es2019/components/Selector.js +1 -1
- package/dist/es2019/components/StaticReaction.js +1 -1
- package/dist/es2019/components/Trigger.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Counter.js +1 -1
- package/dist/esm/components/EmojiButton.js +1 -1
- package/dist/esm/components/FlashAnimation.js +1 -1
- package/dist/esm/components/Reaction.compiled.css +10 -7
- package/dist/esm/components/Reaction.js +6 -4
- package/dist/esm/components/ReactionButton.js +1 -1
- package/dist/esm/components/ReactionParticleEffect.js +1 -1
- package/dist/esm/components/ReactionPicker.js +3 -2
- package/dist/esm/components/ReactionSummaryButton.js +1 -1
- package/dist/esm/components/ReactionSummaryView.js +1 -1
- package/dist/esm/components/ReactionTooltip.js +6 -4
- package/dist/esm/components/ReactionView.js +1 -1
- package/dist/esm/components/Reactions.compiled.css +8 -12
- package/dist/esm/components/Reactions.js +5 -5
- package/dist/esm/components/ReactionsDialog.js +1 -1
- package/dist/esm/components/ReactionsDialogHeader.js +7 -5
- package/dist/esm/components/ReactionsDialogTrigger.js +1 -1
- package/dist/esm/components/Selector.js +1 -1
- package/dist/esm/components/StaticReaction.js +1 -1
- package/dist/esm/components/Trigger.js +1 -1
- package/docs/0-intro.tsx +1 -2
- package/docs/3-reactions-store.tsx +1 -2
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.8.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0f66751ec3512`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f66751ec3512) -
|
|
8
|
+
Click events should also have key events for accessibility
|
|
9
|
+
|
|
10
|
+
## 33.8.19
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`5e648de49f54d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5e648de49f54d) -
|
|
15
|
+
All mouse events must also have key events for accessibility
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 33.8.18
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [`e16fa4dbfb0d6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e16fa4dbfb0d6) -
|
|
23
|
+
Remove missing content from anchor a11y suppression from docs
|
|
24
|
+
- [`368204368d995`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/368204368d995) -
|
|
25
|
+
Remove redundant inaccessible tabIndex
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 33.8.17
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -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 = "
|
|
14
|
+
var packageVersion = "33.8.19";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
2
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
3
|
+
._1mouze3t{margin-block:var(--ds-space-0,0)}
|
|
4
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}
|
|
3
6
|
._8hrz1nam{transform-origin:center center 0}
|
|
4
|
-
.
|
|
7
|
+
._bozg19bv{padding-inline-start:10px}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
5
9
|
._kqswh2mm{position:relative}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
._vwz41crf{line-height:9pt}
|
|
10
|
+
._vwz41crf{line-height:9pt}
|
|
11
|
+
._y4ti1b66{padding-inline-end:var(--ds-space-050,4px)}
|
|
12
|
+
._y4tiv77o{padding-inline-end:var(--ds-space-025,2px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Reaction.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reaction.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -15,6 +15,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
15
15
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
16
16
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
|
+
var _css = require("@atlaskit/css");
|
|
18
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
19
20
|
var _emoji = require("@atlaskit/emoji");
|
|
20
21
|
var _analytics = require("../analytics");
|
|
@@ -30,7 +31,8 @@ var _StaticReaction = require("./StaticReaction");
|
|
|
30
31
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
31
32
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
32
33
|
var styles = {
|
|
33
|
-
container: "_kqswh2mm"
|
|
34
|
+
container: "_kqswh2mm",
|
|
35
|
+
listItem: "_195gze3t _1mouze3t _18zrze3t _1rjcze3t"
|
|
34
36
|
};
|
|
35
37
|
var emojiStyle = null;
|
|
36
38
|
var emojiNoReactionStyle = null;
|
|
@@ -137,7 +139,7 @@ var Reaction = exports.Reaction = function Reaction(_ref) {
|
|
|
137
139
|
setIsTooltipEnabled(false);
|
|
138
140
|
};
|
|
139
141
|
var emojiAndCount = /*#__PURE__*/React.createElement(_compiled.Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
140
|
-
className: (0, _runtime.ax)(["_8hrz1nam _vwz41crf
|
|
142
|
+
className: (0, _runtime.ax)(["_1rjc1b66 _8hrz1nam _vwz41crf _bozgu2gc _y4ti1b66", reaction.count === 0 && "_1rjc1b66 _bozg19bv _y4tiv77o"])
|
|
141
143
|
}, /*#__PURE__*/React.createElement(_emoji.ResourcedEmoji, {
|
|
142
144
|
emojiProvider: emojiProvider,
|
|
143
145
|
emojiId: emojiId,
|
|
@@ -156,7 +158,7 @@ var Reaction = exports.Reaction = function Reaction(_ref) {
|
|
|
156
158
|
});
|
|
157
159
|
}
|
|
158
160
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
159
|
-
xcss: styles.container,
|
|
161
|
+
xcss: (0, _css.cx)(styles.container, (0, _platformFeatureFlags.fg)('jfp_a11y_team_comment_actions_semantic') ? styles.listItem : undefined),
|
|
160
162
|
as: (0, _platformFeatureFlags.fg)('jfp_a11y_team_comment_actions_semantic') ? 'li' : undefined
|
|
161
163
|
}, showParticleEffect && /*#__PURE__*/React.createElement(_ReactionParticleEffect.ReactionParticleEffect, {
|
|
162
164
|
emojiId: emojiId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -14,6 +14,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
16
|
var _picker = require("@atlaskit/emoji/picker");
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _popper = require("@atlaskit/popper");
|
|
18
19
|
var _constants = require("@atlaskit/theme/constants");
|
|
19
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -413,7 +414,7 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
|
|
|
413
414
|
}
|
|
414
415
|
},
|
|
415
416
|
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
416
|
-
tabIndex: 0,
|
|
417
|
+
tabIndex: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
417
418
|
className: (0, _runtime.ax)(["_nt751r31 _49pcglyw _1hvw1o36"])
|
|
418
419
|
}, /*#__PURE__*/_react.default.createElement(_RepositionOnUpdate.RepositionOnUpdate, {
|
|
419
420
|
update: update,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -10,11 +10,12 @@ require("./ReactionTooltip.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
|
-
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
|
+
var _colors = require("@atlaskit/theme/colors");
|
|
16
|
+
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
17
|
var _constants = require("../shared/constants");
|
|
16
18
|
var _i18n = require("../shared/i18n");
|
|
17
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
18
19
|
var verticalMargin = exports.verticalMargin = 5;
|
|
19
20
|
var tooltipStyle = null;
|
|
20
21
|
var emojiNameStyle = null;
|
|
@@ -44,7 +45,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
44
45
|
}
|
|
45
46
|
};
|
|
46
47
|
var content = !users || users.length === 0 || !isEnabled ? null : /*#__PURE__*/_react.default.createElement("div", {
|
|
47
|
-
tabIndex: 0,
|
|
48
|
+
tabIndex: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
48
49
|
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
49
50
|
}, /*#__PURE__*/_react.default.createElement("ul", null, emojiName ? /*#__PURE__*/_react.default.createElement("li", {
|
|
50
51
|
className: (0, _runtime.ax)(["_1p1d1dk0 _syaz1lqe _k48p1pd9"]),
|
|
@@ -58,6 +59,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
58
59
|
}), /*#__PURE__*/_react.default.createElement("li", {
|
|
59
60
|
onMouseDown: handleClick,
|
|
60
61
|
onClick: handleClick,
|
|
62
|
+
onKeyDown: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
61
63
|
className: (0, _runtime.ax)(["_syaz1lqe", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr3pioe _30l31i9p"]),
|
|
62
64
|
style: {
|
|
63
65
|
"--_14nrcaz": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N90, ")")),
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
._qtt8glyw{list-style:none}
|
|
3
|
-
.
|
|
4
|
-
.
|
|
2
|
+
._qtt8glyw{list-style:none}
|
|
3
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
4
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}._18u0idpf{margin-left:0}
|
|
5
6
|
._19bvidpf{padding-left:0}
|
|
6
|
-
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
8
|
-
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
9
|
-
._1b3sidpf >li{padding-left:0}
|
|
10
8
|
._1e0c1o8l{display:inline-block}
|
|
11
9
|
._1e0c1txw{display:flex}
|
|
12
|
-
.
|
|
10
|
+
._1fohidpf >:first-of-type>:first-of-type{margin-inline-start:0}
|
|
13
11
|
._1n261g80{flex-wrap:wrap}
|
|
14
12
|
._1n261q9c{flex-wrap:nowrap}
|
|
15
|
-
.
|
|
13
|
+
._1pfh1b66{margin-block-start:var(--ds-space-050,4px)}
|
|
14
|
+
._1pfhr5cr{margin-block-start:var(--ds-space-negative-050,-4px)}
|
|
16
15
|
._2hwxidpf{margin-right:0}
|
|
17
16
|
._4cvr1h6o{align-items:center}
|
|
18
|
-
.
|
|
19
|
-
._9g0pidpf >li{margin-left:0}
|
|
20
|
-
._ahxuidpf >li{padding-top:0}
|
|
21
|
-
._bapwidpf >li{padding-right:0}
|
|
17
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
22
18
|
._ca0qidpf{padding-top:0}
|
|
23
19
|
._kqswh2mm{position:relative}
|
|
24
20
|
._kqswpfqs{position:static}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Reactions.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reactions.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -36,7 +36,7 @@ var noContainerPositionStyles = null;
|
|
|
36
36
|
var reactionPickerStyle = null;
|
|
37
37
|
var listContainerStyles = null;
|
|
38
38
|
var pickerListItemStyles = {
|
|
39
|
-
picker: "_1e0c1o8l
|
|
39
|
+
picker: "_195gze3t _18zrze3t _1rjcze3t _1e0c1o8l _1pfh1b66 _6rthze3t"
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -345,7 +345,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
345
345
|
name: "reactions"
|
|
346
346
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
347
347
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
348
|
-
className: (0, _runtime.ax)(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o
|
|
348
|
+
className: (0, _runtime.ax)(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _1pfhr5cr _1fohidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
349
349
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/_react.default.createElement("div", {
|
|
350
350
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
351
351
|
}, /*#__PURE__*/_react.default.createElement(_ReactionSummaryView.ReactionSummaryView, {
|
|
@@ -380,7 +380,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
380
380
|
summaryButtonIconAfter: summaryButtonIconAfter,
|
|
381
381
|
summaryViewParticleEffectEmojiId: renderParticleEffectOnSummaryView ? summaryViewParticleEffectEmojiId : null
|
|
382
382
|
})) : (0, _platformFeatureFlags.fg)('jfp_a11y_team_comment_actions_semantic') ? /*#__PURE__*/_react.default.createElement("ul", {
|
|
383
|
-
className: (0, _runtime.ax)(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm
|
|
383
|
+
className: (0, _runtime.ax)(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm"])
|
|
384
384
|
}, memorizedReactions.map(function (reaction) {
|
|
385
385
|
return /*#__PURE__*/_react.default.createElement(_Reaction.Reaction, {
|
|
386
386
|
key: reaction.emojiId,
|
|
@@ -460,7 +460,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
460
460
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
461
461
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
462
462
|
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
463
|
-
className: (0, _runtime.ax)(["_1e0c1o8l
|
|
463
|
+
className: (0, _runtime.ax)(["_1e0c1o8l _1pfh1b66"])
|
|
464
464
|
}), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/_react.default.createElement(_segment.default, {
|
|
465
465
|
name: "reactions-dialog"
|
|
466
466
|
}, /*#__PURE__*/_react.default.createElement(_ReactionsDialog.ReactionsDialog, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -23,6 +23,7 @@ var _tabs = require("@atlaskit/tabs");
|
|
|
23
23
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
24
24
|
var _new = require("@atlaskit/button/new");
|
|
25
25
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
26
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
27
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
27
28
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
28
29
|
var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
|
|
@@ -166,12 +167,13 @@ var ReactionsDialogHeader = exports.ReactionsDialogHeader = function ReactionsDi
|
|
|
166
167
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
167
168
|
className: (0, _runtime.ax)([customTabWrapper.base, colorMode === 'dark' && customTabWrapper.darkTheme, index === 0 && "_19bvpxbi", "reaction-elements"]),
|
|
168
169
|
key: reaction.emojiId,
|
|
169
|
-
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id
|
|
170
|
-
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
171
|
-
,
|
|
170
|
+
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id,
|
|
172
171
|
onMouseEnter: function onMouseEnter() {
|
|
173
172
|
handleMouseEnter(reaction);
|
|
174
|
-
}
|
|
173
|
+
},
|
|
174
|
+
onFocus: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? function () {
|
|
175
|
+
handleMouseEnter(reaction);
|
|
176
|
+
} : undefined
|
|
175
177
|
}, /*#__PURE__*/React.createElement(_tabs.Tab, null, /*#__PURE__*/React.createElement(_tooltip.default, {
|
|
176
178
|
content: cache[reaction.emojiId],
|
|
177
179
|
canAppear: function canAppear() {
|
|
@@ -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 = "
|
|
4
|
+
const packageVersion = "33.8.19";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
2
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
3
|
+
._1mouze3t{margin-block:var(--ds-space-0,0)}
|
|
4
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}
|
|
3
6
|
._8hrz1nam{transform-origin:center center 0}
|
|
4
|
-
.
|
|
7
|
+
._bozg19bv{padding-inline-start:10px}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
5
9
|
._kqswh2mm{position:relative}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
._vwz41crf{line-height:9pt}
|
|
10
|
+
._vwz41crf{line-height:9pt}
|
|
11
|
+
._y4ti1b66{padding-inline-end:var(--ds-space-050,4px)}
|
|
12
|
+
._y4tiv77o{padding-inline-end:var(--ds-space-025,2px)}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/* Reaction.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reaction.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import "./Reaction.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl-next';
|
|
7
|
+
import { cx } from '@atlaskit/css';
|
|
7
8
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
9
|
import { ResourcedEmoji } from '@atlaskit/emoji';
|
|
9
10
|
import { createAndFireSafe, createReactionClickedEvent, createReactionFocusedEvent, createReactionHoveredEvent } from '../analytics';
|
|
@@ -18,7 +19,8 @@ import { ReactionButton } from './ReactionButton';
|
|
|
18
19
|
import { StaticReaction } from './StaticReaction';
|
|
19
20
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
20
21
|
const styles = {
|
|
21
|
-
container: "_kqswh2mm"
|
|
22
|
+
container: "_kqswh2mm",
|
|
23
|
+
listItem: "_195gze3t _1mouze3t _18zrze3t _1rjcze3t"
|
|
22
24
|
};
|
|
23
25
|
const emojiStyle = null;
|
|
24
26
|
const emojiNoReactionStyle = null;
|
|
@@ -104,7 +106,7 @@ export const Reaction = ({
|
|
|
104
106
|
setIsTooltipEnabled(false);
|
|
105
107
|
};
|
|
106
108
|
const emojiAndCount = /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
107
|
-
className: ax(["_8hrz1nam _vwz41crf
|
|
109
|
+
className: ax(["_1rjc1b66 _8hrz1nam _vwz41crf _bozgu2gc _y4ti1b66", reaction.count === 0 && "_1rjc1b66 _bozg19bv _y4tiv77o"])
|
|
108
110
|
}, /*#__PURE__*/React.createElement(ResourcedEmoji, {
|
|
109
111
|
emojiProvider: emojiProvider,
|
|
110
112
|
emojiId: emojiId,
|
|
@@ -123,7 +125,7 @@ export const Reaction = ({
|
|
|
123
125
|
});
|
|
124
126
|
}
|
|
125
127
|
return /*#__PURE__*/React.createElement(Box, {
|
|
126
|
-
xcss: styles.container,
|
|
128
|
+
xcss: cx(styles.container, fg('jfp_a11y_team_comment_actions_semantic') ? styles.listItem : undefined),
|
|
127
129
|
as: fg('jfp_a11y_team_comment_actions_semantic') ? 'li' : undefined
|
|
128
130
|
}, showParticleEffect && /*#__PURE__*/React.createElement(ReactionParticleEffect, {
|
|
129
131
|
emojiId: emojiId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import "./ReactionParticleEffect.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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';
|
|
5
5
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
6
6
|
import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
8
9
|
import { layers } from '@atlaskit/theme/constants';
|
|
9
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -369,7 +370,7 @@ export const PopperWrapper = props => {
|
|
|
369
370
|
}
|
|
370
371
|
},
|
|
371
372
|
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
372
|
-
tabIndex: 0,
|
|
373
|
+
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
373
374
|
className: ax(["_nt751r31 _49pcglyw _1hvw1o36"])
|
|
374
375
|
}, /*#__PURE__*/React.createElement(RepositionOnUpdate, {
|
|
375
376
|
update: update,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionSummaryView.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ReactionSummaryView.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ReactionTooltip.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
7
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
8
10
|
import { TOOLTIP_USERS_LIMIT } from '../shared/constants';
|
|
9
11
|
import { messages } from '../shared/i18n';
|
|
10
|
-
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
11
12
|
export const verticalMargin = 5;
|
|
12
13
|
const tooltipStyle = null;
|
|
13
14
|
const emojiNameStyle = null;
|
|
@@ -37,7 +38,7 @@ export const ReactionTooltip = ({
|
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
const content = !users || users.length === 0 || !isEnabled ? null : /*#__PURE__*/React.createElement("div", {
|
|
40
|
-
tabIndex: 0,
|
|
41
|
+
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
41
42
|
className: ax(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
42
43
|
}, /*#__PURE__*/React.createElement("ul", null, emojiName ? /*#__PURE__*/React.createElement("li", {
|
|
43
44
|
className: ax(["_1p1d1dk0 _syaz6r0x _k48p1pd9"])
|
|
@@ -48,6 +49,7 @@ export const ReactionTooltip = ({
|
|
|
48
49
|
}), /*#__PURE__*/React.createElement("li", {
|
|
49
50
|
onMouseDown: handleClick,
|
|
50
51
|
onClick: handleClick,
|
|
52
|
+
onKeyDown: fg('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
51
53
|
className: ax(["_syaz6r0x", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr3gkf6 _30l315cr"])
|
|
52
54
|
}, users.length > maxReactions && /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
53
55
|
values: {
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
._qtt8glyw{list-style:none}
|
|
3
|
-
.
|
|
4
|
-
.
|
|
2
|
+
._qtt8glyw{list-style:none}
|
|
3
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
4
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}._18u0idpf{margin-left:0}
|
|
5
6
|
._19bvidpf{padding-left:0}
|
|
6
|
-
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
8
|
-
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
9
|
-
._1b3sidpf >li{padding-left:0}
|
|
10
8
|
._1e0c1o8l{display:inline-block}
|
|
11
9
|
._1e0c1txw{display:flex}
|
|
12
|
-
.
|
|
10
|
+
._1fohidpf >:first-of-type>:first-of-type{margin-inline-start:0}
|
|
13
11
|
._1n261g80{flex-wrap:wrap}
|
|
14
12
|
._1n261q9c{flex-wrap:nowrap}
|
|
15
|
-
.
|
|
13
|
+
._1pfh1b66{margin-block-start:var(--ds-space-050,4px)}
|
|
14
|
+
._1pfhr5cr{margin-block-start:var(--ds-space-negative-050,-4px)}
|
|
16
15
|
._2hwxidpf{margin-right:0}
|
|
17
16
|
._4cvr1h6o{align-items:center}
|
|
18
|
-
.
|
|
19
|
-
._9g0pidpf >li{margin-left:0}
|
|
20
|
-
._ahxuidpf >li{padding-top:0}
|
|
21
|
-
._bapwidpf >li{padding-right:0}
|
|
17
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
22
18
|
._ca0qidpf{padding-top:0}
|
|
23
19
|
._kqswh2mm{position:relative}
|
|
24
20
|
._kqswpfqs{position:static}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Reactions.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reactions.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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';
|
|
@@ -23,7 +23,7 @@ const noContainerPositionStyles = null;
|
|
|
23
23
|
const reactionPickerStyle = null;
|
|
24
24
|
const listContainerStyles = null;
|
|
25
25
|
const pickerListItemStyles = {
|
|
26
|
-
picker: "_1e0c1o8l
|
|
26
|
+
picker: "_195gze3t _18zrze3t _1rjcze3t _1e0c1o8l _1pfh1b66 _6rthze3t"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -291,7 +291,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
291
291
|
name: "reactions"
|
|
292
292
|
}, /*#__PURE__*/React.createElement("div", {
|
|
293
293
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
294
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o
|
|
294
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _1pfhr5cr _1fohidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
295
295
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
296
296
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
297
297
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
|
@@ -324,7 +324,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
324
324
|
summaryButtonIconAfter: summaryButtonIconAfter,
|
|
325
325
|
summaryViewParticleEffectEmojiId: renderParticleEffectOnSummaryView ? summaryViewParticleEffectEmojiId : null
|
|
326
326
|
})) : fg('jfp_a11y_team_comment_actions_semantic') ? /*#__PURE__*/React.createElement("ul", {
|
|
327
|
-
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm
|
|
327
|
+
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm"])
|
|
328
328
|
}, memorizedReactions.map(reaction => /*#__PURE__*/React.createElement(Reaction, {
|
|
329
329
|
key: reaction.emojiId,
|
|
330
330
|
reaction: reaction,
|
|
@@ -400,7 +400,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
400
400
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
401
401
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
402
402
|
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
403
|
-
className: ax(["_1e0c1o8l
|
|
403
|
+
className: ax(["_1e0c1o8l _1pfh1b66"])
|
|
404
404
|
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
405
405
|
name: "reactions-dialog"
|
|
406
406
|
}, /*#__PURE__*/React.createElement(ReactionsDialog, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ReactionsDialogHeader.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -12,6 +12,7 @@ import { Box, Flex, Inline, Stack } from '@atlaskit/primitives/compiled';
|
|
|
12
12
|
import { IconButton } from '@atlaskit/button/new';
|
|
13
13
|
import Heading from '@atlaskit/heading';
|
|
14
14
|
import { useModal } from '@atlaskit/modal-dialog';
|
|
15
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
16
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
17
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
17
18
|
import ChevronLeftIcon from '@atlaskit/icon/core/chevron-left';
|
|
@@ -137,12 +138,13 @@ export const ReactionsDialogHeader = ({
|
|
|
137
138
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
138
139
|
className: ax([customTabWrapper.base, colorMode === 'dark' && customTabWrapper.darkTheme, index === 0 && "_19bvpxbi", "reaction-elements"]),
|
|
139
140
|
key: reaction.emojiId,
|
|
140
|
-
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id
|
|
141
|
-
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
142
|
-
,
|
|
141
|
+
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id,
|
|
143
142
|
onMouseEnter: () => {
|
|
144
143
|
handleMouseEnter(reaction);
|
|
145
|
-
}
|
|
144
|
+
},
|
|
145
|
+
onFocus: fg('platform_suppression_removal_fix_reactions') ? () => {
|
|
146
|
+
handleMouseEnter(reaction);
|
|
147
|
+
} : undefined
|
|
146
148
|
}, /*#__PURE__*/React.createElement(Tab, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
147
149
|
content: cache[reaction.emojiId],
|
|
148
150
|
canAppear: () => !!cache[reaction.emojiId]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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
|
-
/* StaticReaction.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* StaticReaction.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./StaticReaction.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -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 = "
|
|
7
|
+
var packageVersion = "33.8.19";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
2
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
3
|
+
._1mouze3t{margin-block:var(--ds-space-0,0)}
|
|
4
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}
|
|
3
6
|
._8hrz1nam{transform-origin:center center 0}
|
|
4
|
-
.
|
|
7
|
+
._bozg19bv{padding-inline-start:10px}
|
|
8
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
5
9
|
._kqswh2mm{position:relative}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
._vwz41crf{line-height:9pt}
|
|
10
|
+
._vwz41crf{line-height:9pt}
|
|
11
|
+
._y4ti1b66{padding-inline-end:var(--ds-space-050,4px)}
|
|
12
|
+
._y4tiv77o{padding-inline-end:var(--ds-space-025,2px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Reaction.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reaction.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./Reaction.compiled.css";
|
|
@@ -7,6 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
9
9
|
import { useIntl } from 'react-intl-next';
|
|
10
|
+
import { cx } from '@atlaskit/css';
|
|
10
11
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
11
12
|
import { ResourcedEmoji } from '@atlaskit/emoji';
|
|
12
13
|
import { createAndFireSafe, createReactionClickedEvent, createReactionFocusedEvent, createReactionHoveredEvent } from '../analytics';
|
|
@@ -21,7 +22,8 @@ import { ReactionButton } from './ReactionButton';
|
|
|
21
22
|
import { StaticReaction } from './StaticReaction';
|
|
22
23
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
23
24
|
var styles = {
|
|
24
|
-
container: "_kqswh2mm"
|
|
25
|
+
container: "_kqswh2mm",
|
|
26
|
+
listItem: "_195gze3t _1mouze3t _18zrze3t _1rjcze3t"
|
|
25
27
|
};
|
|
26
28
|
var emojiStyle = null;
|
|
27
29
|
var emojiNoReactionStyle = null;
|
|
@@ -128,7 +130,7 @@ export var Reaction = function Reaction(_ref) {
|
|
|
128
130
|
setIsTooltipEnabled(false);
|
|
129
131
|
};
|
|
130
132
|
var emojiAndCount = /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
131
|
-
className: ax(["_8hrz1nam _vwz41crf
|
|
133
|
+
className: ax(["_1rjc1b66 _8hrz1nam _vwz41crf _bozgu2gc _y4ti1b66", reaction.count === 0 && "_1rjc1b66 _bozg19bv _y4tiv77o"])
|
|
132
134
|
}, /*#__PURE__*/React.createElement(ResourcedEmoji, {
|
|
133
135
|
emojiProvider: emojiProvider,
|
|
134
136
|
emojiId: emojiId,
|
|
@@ -147,7 +149,7 @@ export var Reaction = function Reaction(_ref) {
|
|
|
147
149
|
});
|
|
148
150
|
}
|
|
149
151
|
return /*#__PURE__*/React.createElement(Box, {
|
|
150
|
-
xcss: styles.container,
|
|
152
|
+
xcss: cx(styles.container, fg('jfp_a11y_team_comment_actions_semantic') ? styles.listItem : undefined),
|
|
151
153
|
as: fg('jfp_a11y_team_comment_actions_semantic') ? 'li' : undefined
|
|
152
154
|
}, showParticleEffect && /*#__PURE__*/React.createElement(ReactionParticleEffect, {
|
|
153
155
|
emojiId: emojiId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionParticleEffect.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./ReactionPicker.compiled.css";
|
|
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import React, { useCallback, useLayoutEffect, useRef, useState } from 'react';
|
|
9
9
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
10
10
|
import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
12
13
|
import { layers } from '@atlaskit/theme/constants';
|
|
13
14
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -404,7 +405,7 @@ export var PopperWrapper = function PopperWrapper(props) {
|
|
|
404
405
|
}
|
|
405
406
|
},
|
|
406
407
|
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
407
|
-
tabIndex: 0,
|
|
408
|
+
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
408
409
|
className: ax(["_nt751r31 _49pcglyw _1hvw1o36"])
|
|
409
410
|
}, /*#__PURE__*/React.createElement(RepositionOnUpdate, {
|
|
410
411
|
update: update,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionSummaryButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionSummaryView.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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,13 +1,14 @@
|
|
|
1
|
-
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionTooltip.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ReactionTooltip.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
7
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
8
10
|
import { TOOLTIP_USERS_LIMIT } from '../shared/constants';
|
|
9
11
|
import { messages } from '../shared/i18n';
|
|
10
|
-
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
11
12
|
export var verticalMargin = 5;
|
|
12
13
|
var tooltipStyle = null;
|
|
13
14
|
var emojiNameStyle = null;
|
|
@@ -37,7 +38,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
var content = !users || users.length === 0 || !isEnabled ? null : /*#__PURE__*/React.createElement("div", {
|
|
40
|
-
tabIndex: 0,
|
|
41
|
+
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
41
42
|
className: ax(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
42
43
|
}, /*#__PURE__*/React.createElement("ul", null, emojiName ? /*#__PURE__*/React.createElement("li", {
|
|
43
44
|
className: ax(["_1p1d1dk0 _syaz1lqe _k48p1pd9"]),
|
|
@@ -51,6 +52,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
51
52
|
}), /*#__PURE__*/React.createElement("li", {
|
|
52
53
|
onMouseDown: handleClick,
|
|
53
54
|
onClick: handleClick,
|
|
55
|
+
onKeyDown: fg('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
54
56
|
className: ax(["_syaz1lqe", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr3pioe _30l31i9p"]),
|
|
55
57
|
style: {
|
|
56
58
|
"--_14nrcaz": ix("var(--ds-text-inverse, ".concat(N90, ")")),
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
._qtt8glyw{list-style:none}
|
|
3
|
-
.
|
|
4
|
-
.
|
|
2
|
+
._qtt8glyw{list-style:none}
|
|
3
|
+
._18zrze3t{padding-inline:var(--ds-space-0,0)}
|
|
4
|
+
._195gze3t{margin-inline:var(--ds-space-0,0)}
|
|
5
|
+
._1rjcze3t{padding-block:var(--ds-space-0,0)}._18u0idpf{margin-left:0}
|
|
5
6
|
._19bvidpf{padding-left:0}
|
|
6
|
-
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
8
|
-
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
9
|
-
._1b3sidpf >li{padding-left:0}
|
|
10
8
|
._1e0c1o8l{display:inline-block}
|
|
11
9
|
._1e0c1txw{display:flex}
|
|
12
|
-
.
|
|
10
|
+
._1fohidpf >:first-of-type>:first-of-type{margin-inline-start:0}
|
|
13
11
|
._1n261g80{flex-wrap:wrap}
|
|
14
12
|
._1n261q9c{flex-wrap:nowrap}
|
|
15
|
-
.
|
|
13
|
+
._1pfh1b66{margin-block-start:var(--ds-space-050,4px)}
|
|
14
|
+
._1pfhr5cr{margin-block-start:var(--ds-space-negative-050,-4px)}
|
|
16
15
|
._2hwxidpf{margin-right:0}
|
|
17
16
|
._4cvr1h6o{align-items:center}
|
|
18
|
-
.
|
|
19
|
-
._9g0pidpf >li{margin-left:0}
|
|
20
|
-
._ahxuidpf >li{padding-top:0}
|
|
21
|
-
._bapwidpf >li{padding-right:0}
|
|
17
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
22
18
|
._ca0qidpf{padding-top:0}
|
|
23
19
|
._kqswh2mm{position:relative}
|
|
24
20
|
._kqswpfqs{position:static}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Reactions.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Reactions.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./Reactions.compiled.css";
|
|
@@ -25,7 +25,7 @@ var noContainerPositionStyles = null;
|
|
|
25
25
|
var reactionPickerStyle = null;
|
|
26
26
|
var listContainerStyles = null;
|
|
27
27
|
var pickerListItemStyles = {
|
|
28
|
-
picker: "_1e0c1o8l
|
|
28
|
+
picker: "_195gze3t _18zrze3t _1rjcze3t _1e0c1o8l _1pfh1b66 _6rthze3t"
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -334,7 +334,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
334
334
|
name: "reactions"
|
|
335
335
|
}, /*#__PURE__*/React.createElement("div", {
|
|
336
336
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
337
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o
|
|
337
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _1pfhr5cr _1fohidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
338
338
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
339
339
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
340
340
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
|
@@ -369,7 +369,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
369
369
|
summaryButtonIconAfter: summaryButtonIconAfter,
|
|
370
370
|
summaryViewParticleEffectEmojiId: renderParticleEffectOnSummaryView ? summaryViewParticleEffectEmojiId : null
|
|
371
371
|
})) : fg('jfp_a11y_team_comment_actions_semantic') ? /*#__PURE__*/React.createElement("ul", {
|
|
372
|
-
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm
|
|
372
|
+
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1e0c1txw _1n261g80 _4cvr1h6o _kqswh2mm"])
|
|
373
373
|
}, memorizedReactions.map(function (reaction) {
|
|
374
374
|
return /*#__PURE__*/React.createElement(Reaction, {
|
|
375
375
|
key: reaction.emojiId,
|
|
@@ -449,7 +449,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
449
449
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
450
450
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
451
451
|
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
452
|
-
className: ax(["_1e0c1o8l
|
|
452
|
+
className: ax(["_1e0c1o8l _1pfh1b66"])
|
|
453
453
|
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
454
454
|
name: "reactions-dialog"
|
|
455
455
|
}, /*#__PURE__*/React.createElement(ReactionsDialog, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionsDialog.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionsDialog.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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 v0.
|
|
1
|
+
/* ReactionsDialogHeader.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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";
|
|
@@ -18,6 +18,7 @@ import { Box, Flex, Inline, Stack } from '@atlaskit/primitives/compiled';
|
|
|
18
18
|
import { IconButton } from '@atlaskit/button/new';
|
|
19
19
|
import Heading from '@atlaskit/heading';
|
|
20
20
|
import { useModal } from '@atlaskit/modal-dialog';
|
|
21
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
22
|
import Tooltip from '@atlaskit/tooltip';
|
|
22
23
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
23
24
|
import ChevronLeftIcon from '@atlaskit/icon/core/chevron-left';
|
|
@@ -158,12 +159,13 @@ export var ReactionsDialogHeader = function ReactionsDialogHeader(_ref3) {
|
|
|
158
159
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
159
160
|
className: ax([customTabWrapper.base, colorMode === 'dark' && customTabWrapper.darkTheme, index === 0 && "_19bvpxbi", "reaction-elements"]),
|
|
160
161
|
key: reaction.emojiId,
|
|
161
|
-
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id
|
|
162
|
-
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
163
|
-
,
|
|
162
|
+
"data-testid": emojiId === null || emojiId === void 0 ? void 0 : emojiId.id,
|
|
164
163
|
onMouseEnter: function onMouseEnter() {
|
|
165
164
|
handleMouseEnter(reaction);
|
|
166
|
-
}
|
|
165
|
+
},
|
|
166
|
+
onFocus: fg('platform_suppression_removal_fix_reactions') ? function () {
|
|
167
|
+
handleMouseEnter(reaction);
|
|
168
|
+
} : undefined
|
|
167
169
|
}, /*#__PURE__*/React.createElement(Tab, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
168
170
|
content: cache[reaction.emojiId],
|
|
169
171
|
canAppear: function canAppear() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ReactionsDialogTrigger.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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
|
-
/* StaticReaction.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* StaticReaction.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./StaticReaction.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
package/docs/0-intro.tsx
CHANGED
|
@@ -6,8 +6,7 @@ import { Text } from '@atlaskit/primitives/compiled';
|
|
|
6
6
|
|
|
7
7
|
import ReactionsExample from '../examples/01-connected-reactions-view';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
const LinkComponent = (props: any) => <Link {...props} />;
|
|
9
|
+
const LinkComponent = (props: any) => <Link {...props}>{props.children}</Link>;
|
|
11
10
|
|
|
12
11
|
const _default_1: any = md`
|
|
13
12
|
${(<AtlassianInternalWarning />)}
|
|
@@ -4,8 +4,7 @@ import { md, code, Props } from '@atlaskit/docs';
|
|
|
4
4
|
import SectionMessage from '@atlaskit/section-message';
|
|
5
5
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
const LinkComponent = (props: any) => <Link {...props} />;
|
|
7
|
+
const LinkComponent = (props: any) => <Link {...props}>{props.children}</Link>;
|
|
9
8
|
|
|
10
9
|
const _default_1: any = md`
|
|
11
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.8.
|
|
3
|
+
"version": "33.8.20",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/icon": "^32.0.0",
|
|
44
44
|
"@atlaskit/link": "^3.3.0",
|
|
45
45
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
46
|
-
"@atlaskit/motion": "^5.
|
|
46
|
+
"@atlaskit/motion": "^5.4.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/popper": "^7.1.0",
|
|
49
49
|
"@atlaskit/popup": "^4.13.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
54
|
"@atlaskit/tabs": "^18.3.0",
|
|
55
55
|
"@atlaskit/theme": "^22.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^11.
|
|
56
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.14.0",
|
|
58
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
59
59
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
72
72
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
73
73
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
74
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
74
|
+
"@atlassian/a11y-jest-testing": "^0.10.0",
|
|
75
75
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
76
76
|
"@testing-library/dom": "^10.1.0",
|
|
77
77
|
"@testing-library/jest-dom": "^6.4.5",
|
|
@@ -128,6 +128,9 @@
|
|
|
128
128
|
},
|
|
129
129
|
"platform-a11y-add-reactions-button-ul-item": {
|
|
130
130
|
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"platform_suppression_removal_fix_reactions": {
|
|
133
|
+
"type": "boolean"
|
|
131
134
|
}
|
|
132
135
|
},
|
|
133
136
|
"sideEffects": [
|