@atlaskit/reactions 33.7.1 → 33.8.1
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 +15 -0
- package/afm-cc/tsconfig.json +0 -3
- package/afm-jira/tsconfig.json +0 -3
- package/afm-products/tsconfig.json +0 -3
- package/dist/cjs/components/ReactionPicker.js +2 -3
- package/dist/es2019/components/ReactionPicker.js +2 -3
- package/dist/esm/components/ReactionPicker.js +2 -3
- package/package.json +4 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`daf962303a5ce`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/daf962303a5ce) -
|
|
8
|
+
tidyup fg platform_reactions_custom_popper_zindex
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 33.8.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`ad2ff048af406`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ad2ff048af406) -
|
|
16
|
+
Use the isListItem prop to render the reactions and reaction picker as list item
|
|
17
|
+
|
|
3
18
|
## 33.7.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -17,7 +17,6 @@ var _picker = require("@atlaskit/emoji/picker");
|
|
|
17
17
|
var _popper = require("@atlaskit/popper");
|
|
18
18
|
var _constants = require("@atlaskit/theme/constants");
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
20
|
var _useCloseManager = require("../hooks/useCloseManager");
|
|
22
21
|
var _useDelayedState3 = require("../hooks/useDelayedState");
|
|
23
22
|
var _useFocusTrap = require("../hooks/useFocusTrap");
|
|
@@ -326,14 +325,14 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
326
325
|
}))
|
|
327
326
|
);
|
|
328
327
|
}), isPopupTrayOpen && /*#__PURE__*/_react.default.createElement(_portal.default, {
|
|
329
|
-
zIndex:
|
|
328
|
+
zIndex: reactionPickerPopperZIndex || _constants.layers.flag()
|
|
330
329
|
}, /*#__PURE__*/_react.default.createElement(PopperWrapper, {
|
|
331
330
|
settings: settings,
|
|
332
331
|
popperModifiers: popperModifiers,
|
|
333
332
|
isOpen: isPopupTrayOpen,
|
|
334
333
|
onClose: onClose,
|
|
335
334
|
triggerRef: triggerRef,
|
|
336
|
-
zIndex:
|
|
335
|
+
zIndex: reactionPickerPopperZIndex || _constants.layers.flag()
|
|
337
336
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
338
337
|
xcss: additionalStyles.selectorContainer,
|
|
339
338
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -7,7 +7,6 @@ import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
7
7
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
8
8
|
import { layers } from '@atlaskit/theme/constants';
|
|
9
9
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { useCloseManagerV2 } from '../hooks/useCloseManager';
|
|
12
11
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
13
12
|
import { useFocusTrap } from '../hooks/useFocusTrap';
|
|
@@ -281,14 +280,14 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
281
280
|
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
282
281
|
isListItem: isListItem
|
|
283
282
|
}))), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
284
|
-
zIndex:
|
|
283
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
285
284
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
286
285
|
settings: settings,
|
|
287
286
|
popperModifiers: popperModifiers,
|
|
288
287
|
isOpen: isPopupTrayOpen,
|
|
289
288
|
onClose: onClose,
|
|
290
289
|
triggerRef: triggerRef,
|
|
291
|
-
zIndex:
|
|
290
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
292
291
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
|
|
293
292
|
xcss: additionalStyles.selectorContainer,
|
|
294
293
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -11,7 +11,6 @@ import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
11
11
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
12
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import { useCloseManagerV2 } from '../hooks/useCloseManager';
|
|
16
15
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
17
16
|
import { useFocusTrap } from '../hooks/useFocusTrap';
|
|
@@ -317,14 +316,14 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
317
316
|
}))
|
|
318
317
|
);
|
|
319
318
|
}), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
320
|
-
zIndex:
|
|
319
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
321
320
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
322
321
|
settings: settings,
|
|
323
322
|
popperModifiers: popperModifiers,
|
|
324
323
|
isOpen: isPopupTrayOpen,
|
|
325
324
|
onClose: onClose,
|
|
326
325
|
triggerRef: triggerRef,
|
|
327
|
-
zIndex:
|
|
326
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
328
327
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
|
|
329
328
|
xcss: additionalStyles.selectorContainer,
|
|
330
329
|
onMouseEnter: handlePopupMouseEnter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.
|
|
3
|
+
"version": "33.8.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,14 +38,13 @@
|
|
|
38
38
|
"@atlaskit/avatar": "^25.5.0",
|
|
39
39
|
"@atlaskit/button": "^23.6.0",
|
|
40
40
|
"@atlaskit/css": "^0.17.0",
|
|
41
|
-
"@atlaskit/emoji": "^69.
|
|
41
|
+
"@atlaskit/emoji": "^69.9.0",
|
|
42
42
|
"@atlaskit/heading": "^5.2.0",
|
|
43
43
|
"@atlaskit/icon": "^29.0.0",
|
|
44
44
|
"@atlaskit/link": "^3.2.0",
|
|
45
45
|
"@atlaskit/modal-dialog": "^14.7.0",
|
|
46
46
|
"@atlaskit/motion": "^5.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
|
-
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
49
48
|
"@atlaskit/popper": "^7.1.0",
|
|
50
49
|
"@atlaskit/popup": "^4.6.0",
|
|
51
50
|
"@atlaskit/portal": "^5.1.0",
|
|
@@ -54,8 +53,8 @@
|
|
|
54
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
54
|
"@atlaskit/tabs": "^18.2.0",
|
|
56
55
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tokens": "^8.
|
|
58
|
-
"@atlaskit/tooltip": "^20.
|
|
56
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
57
|
+
"@atlaskit/tooltip": "^20.11.0",
|
|
59
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
60
59
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
61
60
|
"@babel/runtime": "^7.0.0",
|
|
@@ -129,9 +128,6 @@
|
|
|
129
128
|
},
|
|
130
129
|
"platform-a11y-remove-autofocus-prop": {
|
|
131
130
|
"type": "boolean"
|
|
132
|
-
},
|
|
133
|
-
"platform_reactions_custom_popper_zindex": {
|
|
134
|
-
"type": "boolean"
|
|
135
131
|
}
|
|
136
132
|
},
|
|
137
133
|
"sideEffects": [
|