@atlaskit/reactions 33.6.5 → 33.6.7
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 +14 -0
- package/afm-jira/tsconfig.json +1 -1
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionPicker.js +5 -7
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionPicker.js +3 -5
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionPicker.js +5 -7
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`bdec29dd5a417`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bdec29dd5a417) -
|
|
8
|
+
Clean up platform_emoji_picker_focus_on_button FG
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 33.6.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 33.6.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -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 = "0.0.0-development";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -209,13 +209,11 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
209
209
|
}
|
|
210
210
|
onSelection(item.id, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? 'emojiPicker' : 'quickSelector');
|
|
211
211
|
close(item.id);
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
});
|
|
218
|
-
}
|
|
212
|
+
// After selecting an emoji, we would like focus to be returned to the trigger button
|
|
213
|
+
// This is for the purposes of navigation for keyboard users
|
|
214
|
+
requestAnimationFrame(function () {
|
|
215
|
+
return triggerRef === null || triggerRef === void 0 ? void 0 : triggerRef.focus();
|
|
216
|
+
});
|
|
219
217
|
}, [close, onSelection, settings.showFullPicker, hoverableReactionPicker, isHoverableReactionPickerEmojiPickerOpen, triggerRef]);
|
|
220
218
|
|
|
221
219
|
/**
|
|
@@ -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 = "0.0.0-development";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -167,11 +167,9 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
167
167
|
}
|
|
168
168
|
onSelection(item.id, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? 'emojiPicker' : 'quickSelector');
|
|
169
169
|
close(item.id);
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
requestAnimationFrame(() => triggerRef === null || triggerRef === void 0 ? void 0 : triggerRef.focus());
|
|
174
|
-
}
|
|
170
|
+
// After selecting an emoji, we would like focus to be returned to the trigger button
|
|
171
|
+
// This is for the purposes of navigation for keyboard users
|
|
172
|
+
requestAnimationFrame(() => triggerRef === null || triggerRef === void 0 ? void 0 : triggerRef.focus());
|
|
175
173
|
}, [close, onSelection, settings.showFullPicker, hoverableReactionPicker, isHoverableReactionPickerEmojiPickerOpen, triggerRef]);
|
|
176
174
|
|
|
177
175
|
/**
|
|
@@ -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 = "0.0.0-development";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -200,13 +200,11 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
200
200
|
}
|
|
201
201
|
onSelection(item.id, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? 'emojiPicker' : 'quickSelector');
|
|
202
202
|
close(item.id);
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
});
|
|
209
|
-
}
|
|
203
|
+
// After selecting an emoji, we would like focus to be returned to the trigger button
|
|
204
|
+
// This is for the purposes of navigation for keyboard users
|
|
205
|
+
requestAnimationFrame(function () {
|
|
206
|
+
return triggerRef === null || triggerRef === void 0 ? void 0 : triggerRef.focus();
|
|
207
|
+
});
|
|
210
208
|
}, [close, onSelection, settings.showFullPicker, hoverableReactionPicker, isHoverableReactionPickerEmojiPickerOpen, triggerRef]);
|
|
211
209
|
|
|
212
210
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { Reactions } from './components/Reactions';
|
|
|
7
7
|
export { useCloseManager } from './hooks/useCloseManager';
|
|
8
8
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
9
9
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
10
|
-
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, } from './types';
|
|
10
|
+
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, Reactions as ReactionsType, StorePropInput, State, } from './types';
|
|
11
11
|
export { ReactionUpdateType, ReactionStatus, type ReactionSummary } from './types';
|
|
12
12
|
export declare const constants: {
|
|
13
13
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
|
@@ -7,7 +7,7 @@ export { Reactions } from './components/Reactions';
|
|
|
7
7
|
export { useCloseManager } from './hooks/useCloseManager';
|
|
8
8
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
9
9
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
10
|
-
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, } from './types';
|
|
10
|
+
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, Reactions as ReactionsType, StorePropInput, State, } from './types';
|
|
11
11
|
export { ReactionUpdateType, ReactionStatus, type ReactionSummary } from './types';
|
|
12
12
|
export declare const constants: {
|
|
13
13
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.6.
|
|
3
|
+
"version": "33.6.7",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,29 +33,29 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/afm-i18n-platform-elements-reactions": "2.7.0",
|
|
35
35
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
36
|
+
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
38
38
|
"@atlaskit/avatar": "^25.5.0",
|
|
39
39
|
"@atlaskit/button": "^23.6.0",
|
|
40
|
-
"@atlaskit/css": "^0.
|
|
41
|
-
"@atlaskit/emoji": "^69.
|
|
40
|
+
"@atlaskit/css": "^0.17.0",
|
|
41
|
+
"@atlaskit/emoji": "^69.8.0",
|
|
42
42
|
"@atlaskit/heading": "^5.2.0",
|
|
43
43
|
"@atlaskit/icon": "^29.0.0",
|
|
44
44
|
"@atlaskit/link": "^3.2.0",
|
|
45
|
-
"@atlaskit/modal-dialog": "^14.
|
|
45
|
+
"@atlaskit/modal-dialog": "^14.7.0",
|
|
46
46
|
"@atlaskit/motion": "^5.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
49
49
|
"@atlaskit/popper": "^7.1.0",
|
|
50
50
|
"@atlaskit/popup": "^4.6.0",
|
|
51
51
|
"@atlaskit/portal": "^5.1.0",
|
|
52
|
-
"@atlaskit/primitives": "^16.
|
|
53
|
-
"@atlaskit/react-ufo": "^4.
|
|
52
|
+
"@atlaskit/primitives": "^16.3.0",
|
|
53
|
+
"@atlaskit/react-ufo": "^4.15.0",
|
|
54
54
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
55
|
"@atlaskit/tabs": "^18.2.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tokens": "^8.
|
|
58
|
-
"@atlaskit/tooltip": "^20.
|
|
57
|
+
"@atlaskit/tokens": "^8.3.0",
|
|
58
|
+
"@atlaskit/tooltip": "^20.10.0",
|
|
59
59
|
"@atlaskit/ufo": "^0.4.0",
|
|
60
60
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
@@ -115,9 +115,6 @@
|
|
|
115
115
|
"start:edge": "cd ../../ && PROXY_TARGET_ENV=edge yarn start:webpack reactions --proxy ./packages/elements/reactions/proxy.ts"
|
|
116
116
|
},
|
|
117
117
|
"platform-feature-flags": {
|
|
118
|
-
"platform_emoji_picker_focus_on_button": {
|
|
119
|
-
"type": "boolean"
|
|
120
|
-
},
|
|
121
118
|
"platform-component-visual-refresh": {
|
|
122
119
|
"type": "boolean"
|
|
123
120
|
},
|