@atlaskit/reactions 36.7.7 → 36.7.8
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 +9 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/EmojiButton.js +1 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/EmojiButton.js +1 -2
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/EmojiButton.js +1 -2
- package/package.json +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 36.7.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`34d6cd041f793`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34d6cd041f793) -
|
|
8
|
+
Cleanup `feature_gate` `platform-dst-motion-uplift-custom-button`. The design system motion uplift
|
|
9
|
+
for custom buttons and `Pressable` primitives is now permanently enabled: the gated motion styles
|
|
10
|
+
are applied unconditionally and the pre-uplift transition styles have been removed.
|
|
11
|
+
|
|
3
12
|
## 36.7.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _createAndFireEvents = _interopRequireDefault(require("@atlaskit/analytics-n
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "36.7.
|
|
14
|
+
var packageVersion = "36.7.7";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -20,7 +20,6 @@ var _utils = require("../shared/utils");
|
|
|
20
20
|
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); }
|
|
21
21
|
var styles = {
|
|
22
22
|
emojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _189eidpf _1e0c1txw _bfhksm61 _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _o7ksrkh3 _1llw1q5f",
|
|
23
|
-
hoverableReactionPickerSelectorEmojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
24
23
|
hoverableReactionPickerSelectorEmojiButtonMotion: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
25
24
|
emojiSlot: "_1ul9gktf",
|
|
26
25
|
hoverableReactionPickerSelectorEmojiSlot: "_1ul97vkz"
|
|
@@ -69,6 +68,6 @@ var EmojiButton = exports.EmojiButton = function EmojiButton(_ref) {
|
|
|
69
68
|
"aria-label": intl.formatMessage(_i18n.messages.reactWithEmoji, {
|
|
70
69
|
emoji: emojiId.shortName
|
|
71
70
|
}),
|
|
72
|
-
xcss: hoverableReactionPickerSelectorEmoji ?
|
|
71
|
+
xcss: hoverableReactionPickerSelectorEmoji ? styles.hoverableReactionPickerSelectorEmojiButtonMotion : styles.emojiButton
|
|
73
72
|
}, (0, _expValEquals.expValEquals)('platform_teamoji_26_refresh_emoji_picker', 'isEnabled', true) || (0, _fg.fg)('platform_teamoji_26_refresh_emoji_picker_user_id') ? reservedEmoji : emoji);
|
|
74
73
|
};
|
|
@@ -2,7 +2,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
2
2
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
3
3
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "36.7.
|
|
5
|
+
const packageVersion = "36.7.7";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -12,7 +12,6 @@ import { messages } from '../shared/i18n';
|
|
|
12
12
|
import { isLeftClick } from '../shared/utils';
|
|
13
13
|
const styles = {
|
|
14
14
|
emojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _189eidpf _1e0c1txw _bfhksm61 _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _o7ksrkh3 _1llw1q5f",
|
|
15
|
-
hoverableReactionPickerSelectorEmojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
16
15
|
hoverableReactionPickerSelectorEmojiButtonMotion: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
17
16
|
emojiSlot: "_1ul9gktf",
|
|
18
17
|
hoverableReactionPickerSelectorEmojiSlot: "_1ul97vkz"
|
|
@@ -62,6 +61,6 @@ export const EmojiButton = ({
|
|
|
62
61
|
"aria-label": intl.formatMessage(messages.reactWithEmoji, {
|
|
63
62
|
emoji: emojiId.shortName
|
|
64
63
|
}),
|
|
65
|
-
xcss: hoverableReactionPickerSelectorEmoji ?
|
|
64
|
+
xcss: hoverableReactionPickerSelectorEmoji ? styles.hoverableReactionPickerSelectorEmojiButtonMotion : styles.emojiButton
|
|
66
65
|
}, expValEquals('platform_teamoji_26_refresh_emoji_picker', 'isEnabled', true) || fg('platform_teamoji_26_refresh_emoji_picker_user_id') ? reservedEmoji : emoji);
|
|
67
66
|
};
|
|
@@ -5,7 +5,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
6
6
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "36.7.
|
|
8
|
+
var packageVersion = "36.7.7";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -12,7 +12,6 @@ import { messages } from '../shared/i18n';
|
|
|
12
12
|
import { isLeftClick } from '../shared/utils';
|
|
13
13
|
var styles = {
|
|
14
14
|
emojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _189eidpf _1e0c1txw _bfhksm61 _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _o7ksrkh3 _1llw1q5f",
|
|
15
|
-
hoverableReactionPickerSelectorEmojiButton: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
16
15
|
hoverableReactionPickerSelectorEmojiButtonMotion: "_12ji1r31 _1qu2glyw _12y31o36 _2rko12b0 _v564k6bl _189ee4h9 _1dqonqa1 _1h6d1l7x _1e0c1txw _8hrz1nam _ca0qv77o _u5f31b66 _n3td1b66 _19bv1b66 _bfhksm61 _syazazsu _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _irr31dpa _1ggl5xtf _1di6fcek",
|
|
17
16
|
emojiSlot: "_1ul9gktf",
|
|
18
17
|
hoverableReactionPickerSelectorEmojiSlot: "_1ul97vkz"
|
|
@@ -61,6 +60,6 @@ export var EmojiButton = function EmojiButton(_ref) {
|
|
|
61
60
|
"aria-label": intl.formatMessage(messages.reactWithEmoji, {
|
|
62
61
|
emoji: emojiId.shortName
|
|
63
62
|
}),
|
|
64
|
-
xcss: hoverableReactionPickerSelectorEmoji ?
|
|
63
|
+
xcss: hoverableReactionPickerSelectorEmoji ? styles.hoverableReactionPickerSelectorEmojiButtonMotion : styles.emojiButton
|
|
65
64
|
}, expValEquals('platform_teamoji_26_refresh_emoji_picker', 'isEnabled', true) || fg('platform_teamoji_26_refresh_emoji_picker_user_id') ? reservedEmoji : emoji);
|
|
66
65
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "36.7.
|
|
3
|
+
"version": "36.7.8",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -116,10 +116,6 @@
|
|
|
116
116
|
"platform-component-visual-refresh": {
|
|
117
117
|
"type": "boolean"
|
|
118
118
|
},
|
|
119
|
-
"platform-dst-motion-uplift-custom-button": {
|
|
120
|
-
"type": "boolean",
|
|
121
|
-
"referenceOnly": true
|
|
122
|
-
},
|
|
123
119
|
"platform_optimistic_reaction_emoji": {
|
|
124
120
|
"type": "boolean"
|
|
125
121
|
},
|