@atlaskit/reactions 33.8.24 → 33.8.25
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 +8 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Counter.compiled.css +1 -1
- package/dist/cjs/components/Counter.js +1 -5
- package/dist/cjs/components/FlashAnimation.compiled.css +2 -2
- package/dist/cjs/components/FlashAnimation.js +1 -4
- package/dist/cjs/components/ReactionPicker.compiled.css +2 -2
- package/dist/cjs/components/ReactionPicker.js +1 -6
- package/dist/cjs/components/ReactionTooltip.compiled.css +3 -3
- package/dist/cjs/components/ReactionTooltip.js +4 -21
- package/dist/cjs/components/ReactionView.compiled.css +1 -1
- package/dist/cjs/components/ReactionView.js +1 -5
- package/dist/cjs/components/ReactionsDialogHeader.compiled.css +1 -1
- package/dist/cjs/components/ReactionsDialogHeader.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Counter.compiled.css +1 -1
- package/dist/es2019/components/Counter.js +1 -2
- package/dist/es2019/components/FlashAnimation.compiled.css +2 -2
- package/dist/es2019/components/FlashAnimation.js +1 -2
- package/dist/es2019/components/ReactionPicker.compiled.css +1 -1
- package/dist/es2019/components/ReactionPicker.js +1 -2
- package/dist/es2019/components/ReactionTooltip.compiled.css +2 -2
- package/dist/es2019/components/ReactionTooltip.js +4 -5
- package/dist/es2019/components/ReactionView.compiled.css +1 -1
- package/dist/es2019/components/ReactionView.js +1 -2
- package/dist/es2019/components/ReactionsDialogHeader.compiled.css +1 -1
- package/dist/es2019/components/ReactionsDialogHeader.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Counter.compiled.css +1 -1
- package/dist/esm/components/Counter.js +1 -5
- package/dist/esm/components/FlashAnimation.compiled.css +2 -2
- package/dist/esm/components/FlashAnimation.js +1 -4
- package/dist/esm/components/ReactionPicker.compiled.css +2 -2
- package/dist/esm/components/ReactionPicker.js +1 -6
- package/dist/esm/components/ReactionTooltip.compiled.css +3 -3
- package/dist/esm/components/ReactionTooltip.js +4 -21
- package/dist/esm/components/ReactionView.compiled.css +1 -1
- package/dist/esm/components/ReactionView.js +1 -5
- package/dist/esm/components/ReactionsDialogHeader.compiled.css +1 -1
- package/dist/esm/components/ReactionsDialogHeader.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.8.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`608c375f6f9b9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/608c375f6f9b9) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 33.8.24
|
|
4
12
|
|
|
5
13
|
### 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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "
|
|
14
|
+
var packageVersion = "0.0.0-development";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
._kqswh2mm{position:relative}
|
|
11
11
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
12
12
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
13
|
+
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
13
14
|
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
14
|
-
._syazln51{color:var(--_1hfkvbo)}
|
|
15
15
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
16
16
|
._vwz4dlk8{line-height:14px}
|
|
@@ -12,7 +12,6 @@ var React = _react;
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _motion = require("@atlaskit/motion");
|
|
14
14
|
var _utils = require("../shared/utils");
|
|
15
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
16
15
|
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); }
|
|
17
16
|
var containerStyle = null;
|
|
18
17
|
var counterLabelStyle = null;
|
|
@@ -89,10 +88,7 @@ var Counter = exports.Counter = function Counter(_ref) {
|
|
|
89
88
|
}, /*#__PURE__*/React.createElement("span", {
|
|
90
89
|
"data-testid": RENDER_LABEL_TESTID,
|
|
91
90
|
key: value,
|
|
92
|
-
className: (0, _runtime.ax)(["_1x821ts4", highlight && "
|
|
93
|
-
style: {
|
|
94
|
-
"--_1hfkvbo": (0, _runtime.ix)("var(--ds-text-selected, ".concat(_colors.B400, ")"))
|
|
95
|
-
}
|
|
91
|
+
className: (0, _runtime.ax)(["_1x821ts4", highlight && "_syaz6x5g"])
|
|
96
92
|
}, label));
|
|
97
93
|
})));
|
|
98
94
|
};
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
3
3
|
._4t3i1osq{height:100%}
|
|
4
4
|
._5sagolkx{animation-duration:var(--_gwerdd)}
|
|
5
|
-
.
|
|
6
|
-
@keyframes
|
|
5
|
+
._j7hq1j1q{animation-name:k9373e0}
|
|
6
|
+
@keyframes k9373e0{20%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}75%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}to{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}0%{background-color:transparent}}
|
|
@@ -9,7 +9,6 @@ exports.RENDER_FLASHANIMATION_TESTID = exports.FlashAnimation = void 0;
|
|
|
9
9
|
require("./FlashAnimation.compiled.css");
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
13
12
|
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); }
|
|
14
13
|
var flashTime = 700;
|
|
15
14
|
var flashAnimation = null;
|
|
@@ -25,11 +24,9 @@ var RENDER_FLASHANIMATION_TESTID = exports.RENDER_FLASHANIMATION_TESTID = 'flash
|
|
|
25
24
|
var FlashAnimation = exports.FlashAnimation = function FlashAnimation(props) {
|
|
26
25
|
return /*#__PURE__*/React.createElement("div", {
|
|
27
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
28
|
-
className: (0, _runtime.ax)(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "
|
|
27
|
+
className: (0, _runtime.ax)(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "_j7hq1j1q _5sagolkx _1pgl1ytf", props.className]),
|
|
29
28
|
"data-testid": RENDER_FLASHANIMATION_TESTID,
|
|
30
29
|
style: {
|
|
31
|
-
"--_17s7zfd": (0, _runtime.ix)("var(--ds-background-selected-pressed, ".concat(_colors.B75, ")")),
|
|
32
|
-
"--_8ijx7f": (0, _runtime.ix)("var(--ds-border-selected, ".concat(_colors.B300, ")")),
|
|
33
30
|
"--_gwerdd": (0, _runtime.ix)("".concat(flashTime, "ms"))
|
|
34
31
|
}
|
|
35
32
|
}, props.children);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkofajl{border-radius:var(--ds-radius-small,3px)}.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
5
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
6
|
-
.
|
|
6
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
7
7
|
._s7n4nkob{vertical-align:middle}
|
|
8
8
|
._1hvw1o36:focus{outline-width:medium}
|
|
9
9
|
._49pcglyw:focus{outline-style:none}
|
|
@@ -26,7 +26,6 @@ var _ufo = require("../ufo");
|
|
|
26
26
|
var _Selector = require("./Selector");
|
|
27
27
|
var _Trigger = require("./Trigger");
|
|
28
28
|
var _RepositionOnUpdate = require("./RepositionOnUpdate");
|
|
29
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
30
29
|
var _portal = _interopRequireDefault(require("@atlaskit/portal"));
|
|
31
30
|
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
31
|
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; }
|
|
@@ -420,11 +419,7 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
|
|
|
420
419
|
update: update,
|
|
421
420
|
settings: settings
|
|
422
421
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
423
|
-
className: (0, _runtime.ax)(["_2rkofajl
|
|
424
|
-
style: {
|
|
425
|
-
"--_1f6rtr1": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N0, ")")),
|
|
426
|
-
"--_3t1odq": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"))
|
|
427
|
-
}
|
|
422
|
+
className: (0, _runtime.ax)(["_2rkofajl _bfhk1bhr _16qs130s _79pa1b66"])
|
|
428
423
|
}, children)));
|
|
429
424
|
});
|
|
430
425
|
};
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
._o5721q9c{white-space:nowrap}
|
|
32
32
|
._otyr14y2{margin-bottom:5px}
|
|
33
33
|
._p12f1w81{max-width:150px}
|
|
34
|
-
.
|
|
34
|
+
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
35
35
|
._u0h115vq li{overflow-y:hidden}
|
|
36
36
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
37
37
|
._y3gn1e5h{text-align:left}
|
|
38
|
-
.
|
|
39
|
-
.
|
|
38
|
+
._30l315cr:hover{color:var(--ds-text-inverse,#fff)}
|
|
39
|
+
._irr31aqn:hover{background-color:var(--ds-background-neutral-bold,#292a2e)}
|
|
@@ -12,7 +12,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
16
15
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
17
16
|
var _constants = require("../shared/constants");
|
|
18
17
|
var _i18n = require("../shared/i18n");
|
|
@@ -51,10 +50,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
51
50
|
tabIndex: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
52
51
|
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
53
52
|
}, /*#__PURE__*/_react.default.createElement("ul", null, emojiName ? /*#__PURE__*/_react.default.createElement("li", {
|
|
54
|
-
className: (0, _runtime.ax)(["_1p1d1dk0
|
|
55
|
-
style: {
|
|
56
|
-
"--_14nrcaz": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N90, ")"))
|
|
57
|
-
}
|
|
53
|
+
className: (0, _runtime.ax)(["_1p1d1dk0 _syaz15cr _k48p1pd9"])
|
|
58
54
|
}, emojiName) : null, users.slice(0, maxReactions).map(function (user) {
|
|
59
55
|
return /*#__PURE__*/_react.default.createElement("li", {
|
|
60
56
|
key: user.id
|
|
@@ -62,21 +58,13 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
62
58
|
}), (0, _platformFeatureFlags.fg)('platform_reactions_tooltip_a11y') ? users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("button", {
|
|
63
59
|
type: "button",
|
|
64
60
|
onClick: handleClick,
|
|
65
|
-
className: (0, _runtime.ax)(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "
|
|
66
|
-
style: {
|
|
67
|
-
"--_14nrcaz": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N90, ")")),
|
|
68
|
-
"--_yr7xfv": (0, _runtime.ix)("var(--ds-background-neutral-bold, ".concat(_colors.N800, ")")),
|
|
69
|
-
"--_ywovvi": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N0, ")"))
|
|
70
|
-
}
|
|
61
|
+
className: (0, _runtime.ax)(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "_syaz15cr", "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
71
62
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.otherUsers, {
|
|
72
63
|
values: {
|
|
73
64
|
count: users.length - maxReactions
|
|
74
65
|
}
|
|
75
66
|
})))) : /*#__PURE__*/_react.default.createElement("li", {
|
|
76
|
-
className: (0, _runtime.ax)(["
|
|
77
|
-
style: {
|
|
78
|
-
"--_14nrcaz": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N90, ")"))
|
|
79
|
-
}
|
|
67
|
+
className: (0, _runtime.ax)(["_syaz15cr"])
|
|
80
68
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.otherUsers, {
|
|
81
69
|
values: {
|
|
82
70
|
count: users.length - maxReactions
|
|
@@ -85,12 +73,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
85
73
|
onMouseDown: handleClick,
|
|
86
74
|
onClick: handleClick,
|
|
87
75
|
onKeyDown: (0, _platformFeatureFlags.fg)('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
88
|
-
className: (0, _runtime.ax)(["
|
|
89
|
-
style: {
|
|
90
|
-
"--_14nrcaz": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N90, ")")),
|
|
91
|
-
"--_yr7xfv": (0, _runtime.ix)("var(--ds-background-neutral-bold, ".concat(_colors.N800, ")")),
|
|
92
|
-
"--_ywovvi": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N0, ")"))
|
|
93
|
-
}
|
|
76
|
+
className: (0, _runtime.ax)(["_syaz15cr", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
94
77
|
}, users.length > maxReactions && /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.otherUsers, {
|
|
95
78
|
values: {
|
|
96
79
|
count: users.length - maxReactions
|
|
@@ -11,7 +11,6 @@ require("./ReactionView.compiled.css");
|
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var React = _react;
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
var _Avatar = _interopRequireDefault(require("@atlaskit/avatar/Avatar"));
|
|
16
15
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
17
16
|
var _tabs = require("@atlaskit/tabs");
|
|
@@ -44,10 +43,7 @@ var ReactionView = exports.ReactionView = function ReactionView(_ref) {
|
|
|
44
43
|
size: "large",
|
|
45
44
|
interactionName: "reactions-spinner"
|
|
46
45
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
47
|
-
className: (0, _runtime.ax)(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey
|
|
48
|
-
style: {
|
|
49
|
-
"--_1zdack": (0, _runtime.ix)("".concat("var(--ds-text, ".concat(_colors.N500, ")")))
|
|
50
|
-
}
|
|
46
|
+
className: (0, _runtime.ax)(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoci7uo"])
|
|
51
47
|
}, alphabeticalNames.map(function (user) {
|
|
52
48
|
var _user$profilePicture;
|
|
53
49
|
var profile = (_user$profilePicture = user.profilePicture) === null || _user$profilePicture === void 0 ? void 0 : _user$profilePicture.path;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._nhktlyvf.disabled:after{background:linear-gradient(270deg,hsla(0,0%,100%,.95) 40.23%,hsla(0,0%,100%,.55) 58.33%,hsla(0,0%,100%,0) 77.49%)}
|
|
6
6
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
7
7
|
._80wau2gc div[role=tablist]{padding-inline:var(--ds-space-100,8px)}
|
|
8
|
-
.
|
|
8
|
+
._n7zlia51{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._10d67vkz>span{min-height:1pc}
|
|
9
9
|
._141m1j28 div[role=tablist]:before{background-color:transparent}
|
|
10
10
|
._18m91wug{overflow-y:auto}
|
|
11
11
|
._18u01wug{margin-left:auto}
|
|
@@ -155,7 +155,7 @@ var ReactionsDialogHeader = exports.ReactionsDialogHeader = function ReactionsDi
|
|
|
155
155
|
onClick: handleCloseReactionsDialog
|
|
156
156
|
})), /*#__PURE__*/React.createElement(_compiled.Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
157
157
|
id: "reactions-dialog-tabs-list",
|
|
158
|
-
className: (0, _runtime.ax)(["_1reo1wug _18m91wug
|
|
158
|
+
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _n7zlia51 _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"])
|
|
159
159
|
}, !isSinglePage && !isOnFirstPage && /*#__PURE__*/React.createElement(LeftNavigationButton, {
|
|
160
160
|
handlePreviousPage: handlePreviousPage
|
|
161
161
|
}), /*#__PURE__*/React.createElement(_tabs.TabList, null, currentReactions.map(function (reaction, index) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "
|
|
5
|
+
const packageVersion = "0.0.0-development";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
10
10
|
._kqswh2mm{position:relative}
|
|
11
11
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
12
|
-
._syaz1ldt{color:var(--ds-text-selected,#0052cc)}
|
|
13
12
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
13
|
+
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
14
14
|
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
15
15
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
16
16
|
._vwz4dlk8{line-height:14px}
|
|
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useEffect, useMemo, useRef } from 'react';
|
|
6
6
|
import { SlideIn, ExitingPersistence } from '@atlaskit/motion';
|
|
7
7
|
import { formatLargeNumber } from '../shared/utils';
|
|
8
|
-
import { B400 } from '@atlaskit/theme/colors';
|
|
9
8
|
const containerStyle = null;
|
|
10
9
|
const counterLabelStyle = null;
|
|
11
10
|
const countStyle = null;
|
|
@@ -80,7 +79,7 @@ export const Counter = ({
|
|
|
80
79
|
}, /*#__PURE__*/React.createElement("span", {
|
|
81
80
|
"data-testid": RENDER_LABEL_TESTID,
|
|
82
81
|
key: value,
|
|
83
|
-
className: ax(["_1x821ts4", highlight && "
|
|
82
|
+
className: ax(["_1x821ts4", highlight && "_syaz6x5g"])
|
|
84
83
|
}, label));
|
|
85
84
|
})));
|
|
86
85
|
};
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
3
3
|
._4t3i1osq{height:100%}
|
|
4
4
|
._5sagpwmj{animation-duration:.7s}
|
|
5
|
-
.
|
|
6
|
-
@keyframes
|
|
5
|
+
._j7hq1j1q{animation-name:k9373e0}
|
|
6
|
+
@keyframes k9373e0{20%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}75%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}to{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}0%{background-color:transparent}}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./FlashAnimation.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { B75, B300 } from '@atlaskit/theme/colors';
|
|
6
5
|
const flashTime = 700;
|
|
7
6
|
const flashAnimation = null;
|
|
8
7
|
const containerStyle = null;
|
|
@@ -16,6 +15,6 @@ export const RENDER_FLASHANIMATION_TESTID = 'flash-animation';
|
|
|
16
15
|
*/
|
|
17
16
|
export const FlashAnimation = props => /*#__PURE__*/React.createElement("div", {
|
|
18
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
19
|
-
className: ax(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "
|
|
18
|
+
className: ax(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "_j7hq1j1q _5sagpwmj _1pgl1ytf", props.className]),
|
|
20
19
|
"data-testid": RENDER_FLASHANIMATION_TESTID
|
|
21
20
|
}, props.children);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkofajl{border-radius:var(--ds-radius-small,3px)}.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
5
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
@@ -16,7 +16,6 @@ import { PickerRender } from '../ufo';
|
|
|
16
16
|
import { Selector } from './Selector';
|
|
17
17
|
import { Trigger } from './Trigger';
|
|
18
18
|
import { RepositionOnUpdate } from './RepositionOnUpdate';
|
|
19
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
20
19
|
import Portal from '@atlaskit/portal';
|
|
21
20
|
const pickerStyle = null;
|
|
22
21
|
const popupWrapperStyle = null;
|
|
@@ -376,7 +375,7 @@ export const PopperWrapper = props => {
|
|
|
376
375
|
update: update,
|
|
377
376
|
settings: settings
|
|
378
377
|
}, /*#__PURE__*/React.createElement("div", {
|
|
379
|
-
className: ax(["_2rkofajl _bfhk1bhr
|
|
378
|
+
className: ax(["_2rkofajl _bfhk1bhr _16qs130s _79pa1b66"])
|
|
380
379
|
}, children)));
|
|
381
380
|
});
|
|
382
381
|
};
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
._o5721q9c{white-space:nowrap}
|
|
32
32
|
._otyr14y2{margin-bottom:5px}
|
|
33
33
|
._p12f1w81{max-width:150px}
|
|
34
|
-
.
|
|
34
|
+
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
35
35
|
._u0h115vq li{overflow-y:hidden}
|
|
36
36
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
37
37
|
._y3gn1e5h{text-align:left}
|
|
38
38
|
._30l315cr:hover{color:var(--ds-text-inverse,#fff)}
|
|
39
|
-
.
|
|
39
|
+
._irr31aqn:hover{background-color:var(--ds-background-neutral-bold,#292a2e)}
|
|
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
9
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
9
|
import { TOOLTIP_USERS_LIMIT } from '../shared/constants';
|
|
11
10
|
import { messages } from '../shared/i18n';
|
|
@@ -44,7 +43,7 @@ export const ReactionTooltip = ({
|
|
|
44
43
|
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
45
44
|
className: ax(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
46
45
|
}, /*#__PURE__*/React.createElement("ul", null, emojiName ? /*#__PURE__*/React.createElement("li", {
|
|
47
|
-
className: ax(["_1p1d1dk0
|
|
46
|
+
className: ax(["_1p1d1dk0 _syaz15cr _k48p1pd9"])
|
|
48
47
|
}, emojiName) : null, users.slice(0, maxReactions).map(user => {
|
|
49
48
|
return /*#__PURE__*/React.createElement("li", {
|
|
50
49
|
key: user.id
|
|
@@ -52,13 +51,13 @@ export const ReactionTooltip = ({
|
|
|
52
51
|
}), fg('platform_reactions_tooltip_a11y') ? users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement("button", {
|
|
53
52
|
type: "button",
|
|
54
53
|
onClick: handleClick,
|
|
55
|
-
className: ax(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "
|
|
54
|
+
className: ax(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "_syaz15cr", "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
56
55
|
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
57
56
|
values: {
|
|
58
57
|
count: users.length - maxReactions
|
|
59
58
|
}
|
|
60
59
|
})))) : /*#__PURE__*/React.createElement("li", {
|
|
61
|
-
className: ax(["
|
|
60
|
+
className: ax(["_syaz15cr"])
|
|
62
61
|
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
63
62
|
values: {
|
|
64
63
|
count: users.length - maxReactions
|
|
@@ -67,7 +66,7 @@ export const ReactionTooltip = ({
|
|
|
67
66
|
onMouseDown: handleClick,
|
|
68
67
|
onClick: handleClick,
|
|
69
68
|
onKeyDown: fg('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
70
|
-
className: ax(["
|
|
69
|
+
className: ax(["_syaz15cr", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
71
70
|
}, users.length > maxReactions && /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
72
71
|
values: {
|
|
73
72
|
count: users.length - maxReactions
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
._ca0qidpf{padding-top:0}
|
|
18
18
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
19
19
|
._n3tdidpf{padding-bottom:0}
|
|
20
|
-
.
|
|
20
|
+
._thoci7uo li{color:var(--ds-text,#292a2e)}
|
|
21
21
|
._u5f3idpf{padding-right:0}
|
|
22
22
|
._y3gn1e5h{text-align:left}
|
|
@@ -3,7 +3,6 @@ import "./ReactionView.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
|
-
import { N500 } from '@atlaskit/theme/colors';
|
|
7
6
|
import Avatar from '@atlaskit/avatar/Avatar';
|
|
8
7
|
import Spinner from '@atlaskit/spinner';
|
|
9
8
|
import { TabPanel } from '@atlaskit/tabs';
|
|
@@ -34,7 +33,7 @@ export const ReactionView = ({
|
|
|
34
33
|
size: "large",
|
|
35
34
|
interactionName: "reactions-spinner"
|
|
36
35
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
37
|
-
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey
|
|
36
|
+
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoci7uo"])
|
|
38
37
|
}, alphabeticalNames.map(user => {
|
|
39
38
|
var _user$profilePicture;
|
|
40
39
|
const profile = (_user$profilePicture = user.profilePicture) === null || _user$profilePicture === void 0 ? void 0 : _user$profilePicture.path;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._nhktlyvf.disabled:after{background:linear-gradient(270deg,hsla(0,0%,100%,.95) 40.23%,hsla(0,0%,100%,.55) 58.33%,hsla(0,0%,100%,0) 77.49%)}
|
|
6
6
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
7
7
|
._80wau2gc div[role=tablist]{padding-inline:var(--ds-space-100,8px)}
|
|
8
|
-
.
|
|
8
|
+
._n7zlia51{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._10d67vkz>span{min-height:1pc}
|
|
9
9
|
._141m1j28 div[role=tablist]:before{background-color:transparent}
|
|
10
10
|
._18m91wug{overflow-y:auto}
|
|
11
11
|
._18u01wug{margin-left:auto}
|
|
@@ -126,7 +126,7 @@ export const ReactionsDialogHeader = ({
|
|
|
126
126
|
onClick: handleCloseReactionsDialog
|
|
127
127
|
})), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
128
128
|
id: "reactions-dialog-tabs-list",
|
|
129
|
-
className: ax(["_1reo1wug _18m91wug
|
|
129
|
+
className: ax(["_1reo1wug _18m91wug _n7zlia51 _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"])
|
|
130
130
|
}, !isSinglePage && !isOnFirstPage && /*#__PURE__*/React.createElement(LeftNavigationButton, {
|
|
131
131
|
handlePreviousPage: handlePreviousPage
|
|
132
132
|
}), /*#__PURE__*/React.createElement(TabList, null, currentReactions.map((reaction, index) => {
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
6
6
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "
|
|
8
|
+
var packageVersion = "0.0.0-development";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
._kqswh2mm{position:relative}
|
|
11
11
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
12
12
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
13
|
+
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
13
14
|
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
14
|
-
._syazln51{color:var(--_1hfkvbo)}
|
|
15
15
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
16
16
|
._vwz4dlk8{line-height:14px}
|
|
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useEffect, useMemo, useRef } from 'react';
|
|
6
6
|
import { SlideIn, ExitingPersistence } from '@atlaskit/motion';
|
|
7
7
|
import { formatLargeNumber } from '../shared/utils';
|
|
8
|
-
import { B400 } from '@atlaskit/theme/colors';
|
|
9
8
|
var containerStyle = null;
|
|
10
9
|
var counterLabelStyle = null;
|
|
11
10
|
var countStyle = null;
|
|
@@ -81,10 +80,7 @@ export var Counter = function Counter(_ref) {
|
|
|
81
80
|
}, /*#__PURE__*/React.createElement("span", {
|
|
82
81
|
"data-testid": RENDER_LABEL_TESTID,
|
|
83
82
|
key: value,
|
|
84
|
-
className: ax(["_1x821ts4", highlight && "
|
|
85
|
-
style: {
|
|
86
|
-
"--_1hfkvbo": ix("var(--ds-text-selected, ".concat(B400, ")"))
|
|
87
|
-
}
|
|
83
|
+
className: ax(["_1x821ts4", highlight && "_syaz6x5g"])
|
|
88
84
|
}, label));
|
|
89
85
|
})));
|
|
90
86
|
};
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
3
3
|
._4t3i1osq{height:100%}
|
|
4
4
|
._5sagolkx{animation-duration:var(--_gwerdd)}
|
|
5
|
-
.
|
|
6
|
-
@keyframes
|
|
5
|
+
._j7hq1j1q{animation-name:k9373e0}
|
|
6
|
+
@keyframes k9373e0{20%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}75%{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}to{border-color:var(--ds-border-selected,#1868db);background-color:var(--ds-background-selected-pressed,#8fb8f6)}0%{background-color:transparent}}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./FlashAnimation.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { B75, B300 } from '@atlaskit/theme/colors';
|
|
6
5
|
var flashTime = 700;
|
|
7
6
|
var flashAnimation = null;
|
|
8
7
|
var containerStyle = null;
|
|
@@ -17,11 +16,9 @@ export var RENDER_FLASHANIMATION_TESTID = 'flash-animation';
|
|
|
17
16
|
export var FlashAnimation = function FlashAnimation(props) {
|
|
18
17
|
return /*#__PURE__*/React.createElement("div", {
|
|
19
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
20
|
-
className: ax(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "
|
|
19
|
+
className: ax(["_1bsb1osq _4t3i1osq", props.flash && "", props.flash && "_j7hq1j1q _5sagolkx _1pgl1ytf", props.className]),
|
|
21
20
|
"data-testid": RENDER_FLASHANIMATION_TESTID,
|
|
22
21
|
style: {
|
|
23
|
-
"--_17s7zfd": ix("var(--ds-background-selected-pressed, ".concat(B75, ")")),
|
|
24
|
-
"--_8ijx7f": ix("var(--ds-border-selected, ".concat(B300, ")")),
|
|
25
22
|
"--_gwerdd": ix("".concat(flashTime, "ms"))
|
|
26
23
|
}
|
|
27
24
|
}, props.children);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
._2rkofajl{border-radius:var(--ds-radius-small,3px)}.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
5
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
6
|
-
.
|
|
6
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
7
7
|
._s7n4nkob{vertical-align:middle}
|
|
8
8
|
._1hvw1o36:focus{outline-width:medium}
|
|
9
9
|
._49pcglyw:focus{outline-style:none}
|
|
@@ -20,7 +20,6 @@ import { PickerRender } from '../ufo';
|
|
|
20
20
|
import { Selector } from './Selector';
|
|
21
21
|
import { Trigger } from './Trigger';
|
|
22
22
|
import { RepositionOnUpdate } from './RepositionOnUpdate';
|
|
23
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
24
23
|
import Portal from '@atlaskit/portal';
|
|
25
24
|
var pickerStyle = null;
|
|
26
25
|
var popupWrapperStyle = null;
|
|
@@ -411,11 +410,7 @@ export var PopperWrapper = function PopperWrapper(props) {
|
|
|
411
410
|
update: update,
|
|
412
411
|
settings: settings
|
|
413
412
|
}, /*#__PURE__*/React.createElement("div", {
|
|
414
|
-
className: ax(["_2rkofajl
|
|
415
|
-
style: {
|
|
416
|
-
"--_1f6rtr1": ix("var(--ds-surface-overlay, ".concat(N0, ")")),
|
|
417
|
-
"--_3t1odq": ix("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"))
|
|
418
|
-
}
|
|
413
|
+
className: ax(["_2rkofajl _bfhk1bhr _16qs130s _79pa1b66"])
|
|
419
414
|
}, children)));
|
|
420
415
|
});
|
|
421
416
|
};
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
._o5721q9c{white-space:nowrap}
|
|
32
32
|
._otyr14y2{margin-bottom:5px}
|
|
33
33
|
._p12f1w81{max-width:150px}
|
|
34
|
-
.
|
|
34
|
+
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
35
35
|
._u0h115vq li{overflow-y:hidden}
|
|
36
36
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
37
37
|
._y3gn1e5h{text-align:left}
|
|
38
|
-
.
|
|
39
|
-
.
|
|
38
|
+
._30l315cr:hover{color:var(--ds-text-inverse,#fff)}
|
|
39
|
+
._irr31aqn:hover{background-color:var(--ds-background-neutral-bold,#292a2e)}
|
|
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { N90, N800, N0 } from '@atlaskit/theme/colors';
|
|
9
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
9
|
import { TOOLTIP_USERS_LIMIT } from '../shared/constants';
|
|
11
10
|
import { messages } from '../shared/i18n';
|
|
@@ -44,10 +43,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
44
43
|
tabIndex: fg('platform_suppression_removal_fix_reactions') ? undefined : 0,
|
|
45
44
|
className: ax(["_1reo15vq _18m915vq _p12f1w81 _1bto1l2s _o5721q9c _otyr14y2 _d1n8glyw _102oidpf _1kvxidpf _1ysjidpf _17d4idpf _1hziidpf _3n4midpf _ltofidpf _k7zyidpf _1ywo1e5h _1pru15vq _u0h115vq _5qec1l2s _1eg614y2"])
|
|
46
45
|
}, /*#__PURE__*/React.createElement("ul", null, emojiName ? /*#__PURE__*/React.createElement("li", {
|
|
47
|
-
className: ax(["_1p1d1dk0
|
|
48
|
-
style: {
|
|
49
|
-
"--_14nrcaz": ix("var(--ds-text-inverse, ".concat(N90, ")"))
|
|
50
|
-
}
|
|
46
|
+
className: ax(["_1p1d1dk0 _syaz15cr _k48p1pd9"])
|
|
51
47
|
}, emojiName) : null, users.slice(0, maxReactions).map(function (user) {
|
|
52
48
|
return /*#__PURE__*/React.createElement("li", {
|
|
53
49
|
key: user.id
|
|
@@ -55,21 +51,13 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
55
51
|
}), fg('platform_reactions_tooltip_a11y') ? users.length > maxReactions && (allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement("button", {
|
|
56
52
|
type: "button",
|
|
57
53
|
onClick: handleClick,
|
|
58
|
-
className: ax(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "
|
|
59
|
-
style: {
|
|
60
|
-
"--_14nrcaz": ix("var(--ds-text-inverse, ".concat(N90, ")")),
|
|
61
|
-
"--_yr7xfv": ix("var(--ds-background-neutral-bold, ".concat(N800, ")")),
|
|
62
|
-
"--_ywovvi": ix("var(--ds-text-inverse, ".concat(N0, ")"))
|
|
63
|
-
}
|
|
54
|
+
className: ax(["_19itglyw _11c8wadc _1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1bsb1osq _y3gn1e5h _1bto1l2s", "_syaz15cr", "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
64
55
|
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
65
56
|
values: {
|
|
66
57
|
count: users.length - maxReactions
|
|
67
58
|
}
|
|
68
59
|
})))) : /*#__PURE__*/React.createElement("li", {
|
|
69
|
-
className: ax(["
|
|
70
|
-
style: {
|
|
71
|
-
"--_14nrcaz": ix("var(--ds-text-inverse, ".concat(N90, ")"))
|
|
72
|
-
}
|
|
60
|
+
className: ax(["_syaz15cr"])
|
|
73
61
|
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
74
62
|
values: {
|
|
75
63
|
count: users.length - maxReactions
|
|
@@ -78,12 +66,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
78
66
|
onMouseDown: handleClick,
|
|
79
67
|
onClick: handleClick,
|
|
80
68
|
onKeyDown: fg('platform_suppression_removal_fix_reactions') ? handleClick : undefined,
|
|
81
|
-
className: ax(["
|
|
82
|
-
style: {
|
|
83
|
-
"--_14nrcaz": ix("var(--ds-text-inverse, ".concat(N90, ")")),
|
|
84
|
-
"--_yr7xfv": ix("var(--ds-background-neutral-bold, ".concat(N800, ")")),
|
|
85
|
-
"--_ywovvi": ix("var(--ds-text-inverse, ".concat(N0, ")"))
|
|
86
|
-
}
|
|
69
|
+
className: ax(["_syaz15cr", allowUserDialog && "_4bfu1r31 _1hms8stv _ajmmnqa1 _80omtlke _irr31aqn _30l315cr"])
|
|
87
70
|
}, users.length > maxReactions && /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.otherUsers, {
|
|
88
71
|
values: {
|
|
89
72
|
count: users.length - maxReactions
|
|
@@ -3,7 +3,6 @@ import "./ReactionView.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
|
-
import { N500 } from '@atlaskit/theme/colors';
|
|
7
6
|
import Avatar from '@atlaskit/avatar/Avatar';
|
|
8
7
|
import Spinner from '@atlaskit/spinner';
|
|
9
8
|
import { TabPanel } from '@atlaskit/tabs';
|
|
@@ -35,10 +34,7 @@ export var ReactionView = function ReactionView(_ref) {
|
|
|
35
34
|
size: "large",
|
|
36
35
|
interactionName: "reactions-spinner"
|
|
37
36
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
38
|
-
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey
|
|
39
|
-
style: {
|
|
40
|
-
"--_1zdack": ix("".concat("var(--ds-text, ".concat(N500, ")")))
|
|
41
|
-
}
|
|
37
|
+
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoci7uo"])
|
|
42
38
|
}, alphabeticalNames.map(function (user) {
|
|
43
39
|
var _user$profilePicture;
|
|
44
40
|
var profile = (_user$profilePicture = user.profilePicture) === null || _user$profilePicture === void 0 ? void 0 : _user$profilePicture.path;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._nhktlyvf.disabled:after{background:linear-gradient(270deg,hsla(0,0%,100%,.95) 40.23%,hsla(0,0%,100%,.55) 58.33%,hsla(0,0%,100%,0) 77.49%)}
|
|
6
6
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
7
7
|
._80wau2gc div[role=tablist]{padding-inline:var(--ds-space-100,8px)}
|
|
8
|
-
.
|
|
8
|
+
._n7zlia51{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._10d67vkz>span{min-height:1pc}
|
|
9
9
|
._141m1j28 div[role=tablist]:before{background-color:transparent}
|
|
10
10
|
._18m91wug{overflow-y:auto}
|
|
11
11
|
._18u01wug{margin-left:auto}
|
|
@@ -147,7 +147,7 @@ export var ReactionsDialogHeader = function ReactionsDialogHeader(_ref3) {
|
|
|
147
147
|
onClick: handleCloseReactionsDialog
|
|
148
148
|
})), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
149
149
|
id: "reactions-dialog-tabs-list",
|
|
150
|
-
className: ax(["_1reo1wug _18m91wug
|
|
150
|
+
className: ax(["_1reo1wug _18m91wug _n7zlia51 _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"])
|
|
151
151
|
}, !isSinglePage && !isOnFirstPage && /*#__PURE__*/React.createElement(LeftNavigationButton, {
|
|
152
152
|
handlePreviousPage: handlePreviousPage
|
|
153
153
|
}), /*#__PURE__*/React.createElement(TabList, null, currentReactions.map(function (reaction, index) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.8.
|
|
3
|
+
"version": "33.8.25",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/heading": "^5.3.0",
|
|
43
43
|
"@atlaskit/icon": "^33.1.0",
|
|
44
44
|
"@atlaskit/link": "^3.3.0",
|
|
45
|
-
"@atlaskit/modal-dialog": "^14.
|
|
45
|
+
"@atlaskit/modal-dialog": "^14.13.0",
|
|
46
46
|
"@atlaskit/motion": "^5.4.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/popper": "^7.1.0",
|