@atlaskit/reactions 33.4.0 → 33.5.0
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-products/tsconfig.json +105 -0
- package/dist/cjs/components/ReactionPicker.js +9 -8
- package/dist/cjs/components/Reactions.js +3 -1
- package/dist/cjs/components/Selector.compiled.css +2 -0
- package/dist/cjs/components/Selector.js +28 -13
- package/dist/es2019/components/ReactionPicker.js +10 -8
- package/dist/es2019/components/Reactions.js +3 -1
- package/dist/es2019/components/Selector.compiled.css +2 -0
- package/dist/es2019/components/Selector.js +20 -4
- package/dist/esm/components/ReactionPicker.js +9 -8
- package/dist/esm/components/Reactions.js +3 -1
- package/dist/esm/components/Selector.compiled.css +2 -0
- package/dist/esm/components/Selector.js +28 -13
- package/dist/types/components/ReactionPicker.d.ts +5 -0
- package/dist/types/components/Reactions.d.ts +2 -2
- package/dist/types/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
- package/dist/types-ts4.5/components/ReactionPicker.d.ts +5 -0
- package/dist/types-ts4.5/components/Reactions.d.ts +2 -2
- package/dist/types-ts4.5/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
- package/package.json +10 -4
- package/afm-passionfruit/tsconfig.json +0 -105
- package/afm-rovo-extension/tsconfig.json +0 -105
- package/afm-volt/tsconfig.json +0 -105
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b5eb7e7afc46a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b5eb7e7afc46a) -
|
|
8
|
+
[ux] A11Y-9714: use unordered list markup for emojis in the reaction picker for screen reader a11y
|
|
9
|
+
|
|
10
|
+
## 33.4.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`feb2d9020eaf2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/feb2d9020eaf2) -
|
|
15
|
+
introduce optional popperZIndex of reaction picker for products to config
|
|
16
|
+
|
|
3
17
|
## 33.4.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.products.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__reactions/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-gas-types/afm-products/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../analytics/analytics-next/afm-products/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/avatar/afm-products/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/button/afm-products/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/css/afm-products/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../emoji/afm-products/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/heading/afm-products/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/icon/afm-products/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/link/afm-products/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../design-system/modal-dialog/afm-products/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../design-system/motion/afm-products/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../platform/feature-flags/afm-products/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../platform/feature-flags-react/afm-products/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../../design-system/popper/afm-products/tsconfig.json"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../../../design-system/popup/afm-products/tsconfig.json"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "../../../design-system/portal/afm-products/tsconfig.json"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "../../../design-system/primitives/afm-products/tsconfig.json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "../../../design-system/spinner/afm-products/tsconfig.json"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "../../../design-system/tabs/afm-products/tsconfig.json"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "../../../design-system/theme/afm-products/tsconfig.json"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"path": "../../../design-system/tokens/afm-products/tsconfig.json"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "../../../design-system/tooltip/afm-products/tsconfig.json"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "../../../data/ufo-external/afm-products/tsconfig.json"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../../util-service-support/afm-products/tsconfig.json"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -87,7 +87,8 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
87
87
|
_props$hoverableReact = props.hoverableReactionPicker,
|
|
88
88
|
hoverableReactionPicker = _props$hoverableReact === void 0 ? false : _props$hoverableReact,
|
|
89
89
|
_props$hoverableReact2 = props.hoverableReactionPickerDelay,
|
|
90
|
-
hoverableReactionPickerDelay = _props$hoverableReact2 === void 0 ? 0 : _props$hoverableReact2
|
|
90
|
+
hoverableReactionPickerDelay = _props$hoverableReact2 === void 0 ? 0 : _props$hoverableReact2,
|
|
91
|
+
reactionPickerPopperZIndex = props.reactionPickerPopperZIndex;
|
|
91
92
|
var _useState = (0, _react.useState)(null),
|
|
92
93
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
93
94
|
triggerRef = _useState2[0],
|
|
@@ -321,13 +322,14 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
321
322
|
}))
|
|
322
323
|
);
|
|
323
324
|
}), isPopupTrayOpen && /*#__PURE__*/_react.default.createElement(_portal.default, {
|
|
324
|
-
zIndex: _constants.layers.flag()
|
|
325
|
+
zIndex: (0, _platformFeatureFlags.fg)('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || _constants.layers.flag() : _constants.layers.flag()
|
|
325
326
|
}, /*#__PURE__*/_react.default.createElement(PopperWrapper, {
|
|
326
327
|
settings: settings,
|
|
327
328
|
popperModifiers: popperModifiers,
|
|
328
329
|
isOpen: isPopupTrayOpen,
|
|
329
330
|
onClose: onClose,
|
|
330
|
-
triggerRef: triggerRef
|
|
331
|
+
triggerRef: triggerRef,
|
|
332
|
+
zIndex: (0, _platformFeatureFlags.fg)('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || _constants.layers.flag() : _constants.layers.layer()
|
|
331
333
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? (0, _platformFeatureFlags.fg)('platform_reaction_full_picker_hover') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
332
334
|
xcss: additionalStyles.selectorContainer,
|
|
333
335
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -359,7 +361,8 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
|
|
|
359
361
|
isOpen = props.isOpen,
|
|
360
362
|
onClose = props.onClose,
|
|
361
363
|
children = props.children,
|
|
362
|
-
popperModifiers = props.popperModifiers
|
|
364
|
+
popperModifiers = props.popperModifiers,
|
|
365
|
+
zIndex = props.zIndex;
|
|
363
366
|
var _useState11 = (0, _react.useState)(null),
|
|
364
367
|
_useState12 = (0, _slicedToArray2.default)(_useState11, 2),
|
|
365
368
|
popupRef = _useState12[0],
|
|
@@ -396,11 +399,9 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
|
|
|
396
399
|
role: "group",
|
|
397
400
|
"aria-label": formatMessage(_i18n.messages.popperWrapperLabel),
|
|
398
401
|
id: PICKER_CONTROL_ID,
|
|
399
|
-
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID
|
|
400
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
401
|
-
,
|
|
402
|
+
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
|
|
402
403
|
style: _objectSpread({
|
|
403
|
-
zIndex:
|
|
404
|
+
zIndex: zIndex
|
|
404
405
|
}, style),
|
|
405
406
|
ref: function ref(node) {
|
|
406
407
|
if (node) {
|
|
@@ -150,7 +150,8 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
150
150
|
reactionPickerPlacement = _ref.reactionPickerPlacement,
|
|
151
151
|
summaryButtonIconAfter = _ref.summaryButtonIconAfter,
|
|
152
152
|
_ref$renderParticleEf = _ref.renderParticleEffectOnSummaryView,
|
|
153
|
-
renderParticleEffectOnSummaryView = _ref$renderParticleEf === void 0 ? false : _ref$renderParticleEf
|
|
153
|
+
renderParticleEffectOnSummaryView = _ref$renderParticleEf === void 0 ? false : _ref$renderParticleEf,
|
|
154
|
+
reactionPickerPopperZIndex = _ref.reactionPickerPopperZIndex;
|
|
154
155
|
var _useState = (0, _react.useState)(''),
|
|
155
156
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
156
157
|
selectedEmojiId = _useState2[0],
|
|
@@ -405,6 +406,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
405
406
|
hoverableReactionPicker: hoverableSummaryView,
|
|
406
407
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
407
408
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
409
|
+
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
408
410
|
className: (0, _runtime.ax)(["_1e0c1o8l _19pk1b66"])
|
|
409
411
|
}), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/_react.default.createElement(_segment.default, {
|
|
410
412
|
name: "reactions-dialog"
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}._12l2u2gc{margin-inline-end:var(--ds-space-100,8px)}
|
|
3
3
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
|
+
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
4
5
|
._1e0c1o8l{display:inline-block}
|
|
5
6
|
._1o51q7pw{animation-fill-mode:forwards}
|
|
6
7
|
._1p3lnqa1{border-left-style:solid}
|
|
7
8
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
9
|
+
._2mzuglyw{list-style-type:none}
|
|
8
10
|
._4t3i1tcg{height:24px}
|
|
9
11
|
._5sag6ebc{animation-duration:.15s}
|
|
10
12
|
._5wramuej{border-left-color:var(--ds-border,#091e4224)}
|
|
@@ -11,8 +11,9 @@ require("./Selector.compiled.css");
|
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var React = _react;
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
|
-
var
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
|
+
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
16
17
|
var _i18n = require("../shared/i18n");
|
|
17
18
|
var _constants = require("../shared/constants");
|
|
18
19
|
var _EmojiButton = require("./EmojiButton");
|
|
@@ -21,6 +22,7 @@ var _Trigger = require("./Trigger");
|
|
|
21
22
|
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); }
|
|
22
23
|
var styles = {
|
|
23
24
|
container: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
25
|
+
emojiContainer: "_2mzuglyw _19pkze3t",
|
|
24
26
|
separator: "_t6vde4h9 _5wramuej _1p3lnqa1 _ahbq1b66 _12l2u2gc _4t3i1tcg _1e0c1o8l",
|
|
25
27
|
hoverableReactionPickerSelectorContainer: "_zulp1b66 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
26
28
|
};
|
|
@@ -31,7 +33,7 @@ var revealStyle = null;
|
|
|
31
33
|
* Test id for wrapper Selector div
|
|
32
34
|
*/
|
|
33
35
|
var RENDER_SELECTOR_TESTID = exports.RENDER_SELECTOR_TESTID = 'render-selector';
|
|
34
|
-
var
|
|
36
|
+
var RevealOld = function RevealOld(_ref) {
|
|
35
37
|
var children = _ref.children,
|
|
36
38
|
testId = _ref.testId;
|
|
37
39
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -39,19 +41,30 @@ var Reveal = function Reveal(_ref) {
|
|
|
39
41
|
className: (0, _runtime.ax)(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
40
42
|
}, children);
|
|
41
43
|
};
|
|
44
|
+
var Reveal = function Reveal(_ref2) {
|
|
45
|
+
var children = _ref2.children,
|
|
46
|
+
testId = _ref2.testId;
|
|
47
|
+
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
48
|
+
as: "li",
|
|
49
|
+
xcss: styles.emojiContainer
|
|
50
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
51
|
+
"data-testid": testId,
|
|
52
|
+
className: (0, _runtime.ax)(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
53
|
+
}, children));
|
|
54
|
+
};
|
|
42
55
|
|
|
43
56
|
/**
|
|
44
57
|
* Reactions picker panel part of the <ReactionPicker /> component
|
|
45
58
|
*/
|
|
46
|
-
var Selector = exports.Selector = function Selector(
|
|
47
|
-
var emojiProvider =
|
|
48
|
-
onMoreClick =
|
|
49
|
-
onSelection =
|
|
50
|
-
showMore =
|
|
51
|
-
|
|
52
|
-
pickerQuickReactionEmojiIds =
|
|
53
|
-
|
|
54
|
-
hoverableReactionPickerSelector =
|
|
59
|
+
var Selector = exports.Selector = function Selector(_ref3) {
|
|
60
|
+
var emojiProvider = _ref3.emojiProvider,
|
|
61
|
+
onMoreClick = _ref3.onMoreClick,
|
|
62
|
+
onSelection = _ref3.onSelection,
|
|
63
|
+
showMore = _ref3.showMore,
|
|
64
|
+
_ref3$pickerQuickReac = _ref3.pickerQuickReactionEmojiIds,
|
|
65
|
+
pickerQuickReactionEmojiIds = _ref3$pickerQuickReac === void 0 ? _constants.DefaultReactions : _ref3$pickerQuickReac,
|
|
66
|
+
_ref3$hoverableReacti = _ref3.hoverableReactionPickerSelector,
|
|
67
|
+
hoverableReactionPickerSelector = _ref3$hoverableReacti === void 0 ? false : _ref3$hoverableReacti;
|
|
55
68
|
/**
|
|
56
69
|
* Render the default emoji icon
|
|
57
70
|
* @param emoji emoji item
|
|
@@ -67,7 +80,8 @@ var Selector = exports.Selector = function Selector(_ref2) {
|
|
|
67
80
|
onClick: onSelection,
|
|
68
81
|
hoverableReactionPickerSelectorEmoji: hoverableReactionPickerSelector
|
|
69
82
|
}));
|
|
70
|
-
|
|
83
|
+
var RevealComponent = (0, _platformFeatureFlags.fg)('platform-reactions-selector-list-semantics') ? Reveal : RevealOld;
|
|
84
|
+
return hoverableReactionPickerSelector ? emojiButtonAndTooltip : /*#__PURE__*/React.createElement(RevealComponent, {
|
|
71
85
|
key: (_emoji$id = emoji.id) !== null && _emoji$id !== void 0 ? _emoji$id : emoji.shortName,
|
|
72
86
|
testId: RENDER_SELECTOR_TESTID
|
|
73
87
|
}, emojiButtonAndTooltip);
|
|
@@ -88,7 +102,8 @@ var Selector = exports.Selector = function Selector(_ref2) {
|
|
|
88
102
|
}
|
|
89
103
|
return /*#__PURE__*/React.createElement(_compiled.Inline, {
|
|
90
104
|
alignBlock: "center",
|
|
91
|
-
xcss: styles.container
|
|
105
|
+
xcss: styles.container,
|
|
106
|
+
as: (0, _platformFeatureFlags.fg)('platform-reactions-selector-list-semantics') ? 'ul' : undefined
|
|
92
107
|
}, pickerQuickReactionEmojiIds ? pickerQuickReactionEmojiIds.map(renderEmoji) : null, showMore ? /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
93
108
|
xcss: styles.separator
|
|
94
109
|
}), /*#__PURE__*/React.createElement(Reveal, null, /*#__PURE__*/React.createElement(_ShowMore.ShowMore, {
|
|
@@ -65,7 +65,8 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
65
65
|
reactionPickerPlacement,
|
|
66
66
|
isListItem = false,
|
|
67
67
|
hoverableReactionPicker = false,
|
|
68
|
-
hoverableReactionPickerDelay = 0
|
|
68
|
+
hoverableReactionPickerDelay = 0,
|
|
69
|
+
reactionPickerPopperZIndex
|
|
69
70
|
} = props;
|
|
70
71
|
const [triggerRef, setTriggerRef] = useState(null);
|
|
71
72
|
const [isHoverableReactionPickerEmojiPickerOpen, setIsHoverableReactionPickerEmojiPickerOpen] = useState(false);
|
|
@@ -278,13 +279,14 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
278
279
|
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
279
280
|
isListItem: isListItem
|
|
280
281
|
}))), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
281
|
-
zIndex: layers.flag()
|
|
282
|
+
zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.flag()
|
|
282
283
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
283
284
|
settings: settings,
|
|
284
285
|
popperModifiers: popperModifiers,
|
|
285
286
|
isOpen: isPopupTrayOpen,
|
|
286
287
|
onClose: onClose,
|
|
287
|
-
triggerRef: triggerRef
|
|
288
|
+
triggerRef: triggerRef,
|
|
289
|
+
zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.layer()
|
|
288
290
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? fg('platform_reaction_full_picker_hover') ? /*#__PURE__*/React.createElement(Box, {
|
|
289
291
|
xcss: additionalStyles.selectorContainer,
|
|
290
292
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -317,7 +319,8 @@ export const PopperWrapper = props => {
|
|
|
317
319
|
isOpen,
|
|
318
320
|
onClose,
|
|
319
321
|
children,
|
|
320
|
-
popperModifiers
|
|
322
|
+
popperModifiers,
|
|
323
|
+
zIndex
|
|
321
324
|
} = props;
|
|
322
325
|
const [popupRef, setPopupRef] = useState(null);
|
|
323
326
|
const {
|
|
@@ -352,11 +355,10 @@ export const PopperWrapper = props => {
|
|
|
352
355
|
role: "group",
|
|
353
356
|
"aria-label": formatMessage(messages.popperWrapperLabel),
|
|
354
357
|
id: PICKER_CONTROL_ID,
|
|
355
|
-
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID
|
|
356
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
357
|
-
,
|
|
358
|
+
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
|
|
358
359
|
style: {
|
|
359
|
-
zIndex
|
|
360
|
+
zIndex,
|
|
361
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
360
362
|
...style
|
|
361
363
|
},
|
|
362
364
|
ref: node => {
|
|
@@ -112,7 +112,8 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
112
112
|
summaryGetOptimisticImageURL,
|
|
113
113
|
reactionPickerPlacement,
|
|
114
114
|
summaryButtonIconAfter,
|
|
115
|
-
renderParticleEffectOnSummaryView = false
|
|
115
|
+
renderParticleEffectOnSummaryView = false,
|
|
116
|
+
reactionPickerPopperZIndex
|
|
116
117
|
}) => {
|
|
117
118
|
const [selectedEmojiId, setSelectedEmojiId] = useState('');
|
|
118
119
|
const [summaryViewParticleEffectEmojiId, setSummaryViewParticleEffectEmojiId] = useState(null);
|
|
@@ -347,6 +348,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
347
348
|
hoverableReactionPicker: hoverableSummaryView,
|
|
348
349
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
349
350
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
351
|
+
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
350
352
|
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
351
353
|
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
352
354
|
name: "reactions-dialog"
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}._12l2u2gc{margin-inline-end:var(--ds-space-100,8px)}
|
|
3
3
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
|
+
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
4
5
|
._1e0c1o8l{display:inline-block}
|
|
5
6
|
._1o51q7pw{animation-fill-mode:forwards}
|
|
6
7
|
._1p3lnqa1{border-left-style:solid}
|
|
7
8
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
9
|
+
._2mzuglyw{list-style-type:none}
|
|
8
10
|
._4t3i1tcg{height:24px}
|
|
9
11
|
._5sag6ebc{animation-duration:.15s}
|
|
10
12
|
._5wramuej{border-left-color:var(--ds-border,#091e4224)}
|
|
@@ -3,8 +3,9 @@ import "./Selector.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Fragment } from 'react';
|
|
6
|
-
import
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
8
9
|
import { messages } from '../shared/i18n';
|
|
9
10
|
import { DefaultReactions } from '../shared/constants';
|
|
10
11
|
import { EmojiButton } from './EmojiButton';
|
|
@@ -12,6 +13,7 @@ import { ShowMore } from './ShowMore';
|
|
|
12
13
|
import { Trigger } from './Trigger';
|
|
13
14
|
const styles = {
|
|
14
15
|
container: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
16
|
+
emojiContainer: "_2mzuglyw _19pkze3t",
|
|
15
17
|
separator: "_t6vde4h9 _5wramuej _1p3lnqa1 _ahbq1b66 _12l2u2gc _4t3i1tcg _1e0c1o8l",
|
|
16
18
|
hoverableReactionPickerSelectorContainer: "_zulp1b66 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
17
19
|
};
|
|
@@ -22,7 +24,7 @@ const revealStyle = null;
|
|
|
22
24
|
* Test id for wrapper Selector div
|
|
23
25
|
*/
|
|
24
26
|
export const RENDER_SELECTOR_TESTID = 'render-selector';
|
|
25
|
-
const
|
|
27
|
+
const RevealOld = ({
|
|
26
28
|
children,
|
|
27
29
|
testId
|
|
28
30
|
}) => {
|
|
@@ -31,6 +33,18 @@ const Reveal = ({
|
|
|
31
33
|
className: ax(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
32
34
|
}, children);
|
|
33
35
|
};
|
|
36
|
+
const Reveal = ({
|
|
37
|
+
children,
|
|
38
|
+
testId
|
|
39
|
+
}) => {
|
|
40
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
41
|
+
as: "li",
|
|
42
|
+
xcss: styles.emojiContainer
|
|
43
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
44
|
+
"data-testid": testId,
|
|
45
|
+
className: ax(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
46
|
+
}, children));
|
|
47
|
+
};
|
|
34
48
|
|
|
35
49
|
/**
|
|
36
50
|
* Reactions picker panel part of the <ReactionPicker /> component
|
|
@@ -58,7 +72,8 @@ export const Selector = ({
|
|
|
58
72
|
onClick: onSelection,
|
|
59
73
|
hoverableReactionPickerSelectorEmoji: hoverableReactionPickerSelector
|
|
60
74
|
}));
|
|
61
|
-
|
|
75
|
+
const RevealComponent = fg('platform-reactions-selector-list-semantics') ? Reveal : RevealOld;
|
|
76
|
+
return hoverableReactionPickerSelector ? emojiButtonAndTooltip : /*#__PURE__*/React.createElement(RevealComponent, {
|
|
62
77
|
key: (_emoji$id = emoji.id) !== null && _emoji$id !== void 0 ? _emoji$id : emoji.shortName,
|
|
63
78
|
testId: RENDER_SELECTOR_TESTID
|
|
64
79
|
}, emojiButtonAndTooltip);
|
|
@@ -79,7 +94,8 @@ export const Selector = ({
|
|
|
79
94
|
}
|
|
80
95
|
return /*#__PURE__*/React.createElement(Inline, {
|
|
81
96
|
alignBlock: "center",
|
|
82
|
-
xcss: styles.container
|
|
97
|
+
xcss: styles.container,
|
|
98
|
+
as: fg('platform-reactions-selector-list-semantics') ? 'ul' : undefined
|
|
83
99
|
}, pickerQuickReactionEmojiIds ? pickerQuickReactionEmojiIds.map(renderEmoji) : null, showMore ? /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
84
100
|
xcss: styles.separator
|
|
85
101
|
}), /*#__PURE__*/React.createElement(Reveal, null, /*#__PURE__*/React.createElement(ShowMore, {
|
|
@@ -78,7 +78,8 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
78
78
|
_props$hoverableReact = props.hoverableReactionPicker,
|
|
79
79
|
hoverableReactionPicker = _props$hoverableReact === void 0 ? false : _props$hoverableReact,
|
|
80
80
|
_props$hoverableReact2 = props.hoverableReactionPickerDelay,
|
|
81
|
-
hoverableReactionPickerDelay = _props$hoverableReact2 === void 0 ? 0 : _props$hoverableReact2
|
|
81
|
+
hoverableReactionPickerDelay = _props$hoverableReact2 === void 0 ? 0 : _props$hoverableReact2,
|
|
82
|
+
reactionPickerPopperZIndex = props.reactionPickerPopperZIndex;
|
|
82
83
|
var _useState = useState(null),
|
|
83
84
|
_useState2 = _slicedToArray(_useState, 2),
|
|
84
85
|
triggerRef = _useState2[0],
|
|
@@ -312,13 +313,14 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
312
313
|
}))
|
|
313
314
|
);
|
|
314
315
|
}), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
315
|
-
zIndex: layers.flag()
|
|
316
|
+
zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.flag()
|
|
316
317
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
317
318
|
settings: settings,
|
|
318
319
|
popperModifiers: popperModifiers,
|
|
319
320
|
isOpen: isPopupTrayOpen,
|
|
320
321
|
onClose: onClose,
|
|
321
|
-
triggerRef: triggerRef
|
|
322
|
+
triggerRef: triggerRef,
|
|
323
|
+
zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.layer()
|
|
322
324
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? fg('platform_reaction_full_picker_hover') ? /*#__PURE__*/React.createElement(Box, {
|
|
323
325
|
xcss: additionalStyles.selectorContainer,
|
|
324
326
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -350,7 +352,8 @@ export var PopperWrapper = function PopperWrapper(props) {
|
|
|
350
352
|
isOpen = props.isOpen,
|
|
351
353
|
onClose = props.onClose,
|
|
352
354
|
children = props.children,
|
|
353
|
-
popperModifiers = props.popperModifiers
|
|
355
|
+
popperModifiers = props.popperModifiers,
|
|
356
|
+
zIndex = props.zIndex;
|
|
354
357
|
var _useState11 = useState(null),
|
|
355
358
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
356
359
|
popupRef = _useState12[0],
|
|
@@ -387,11 +390,9 @@ export var PopperWrapper = function PopperWrapper(props) {
|
|
|
387
390
|
role: "group",
|
|
388
391
|
"aria-label": formatMessage(messages.popperWrapperLabel),
|
|
389
392
|
id: PICKER_CONTROL_ID,
|
|
390
|
-
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID
|
|
391
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
392
|
-
,
|
|
393
|
+
"data-testid": RENDER_REACTIONPICKERPANEL_TESTID,
|
|
393
394
|
style: _objectSpread({
|
|
394
|
-
zIndex:
|
|
395
|
+
zIndex: zIndex
|
|
395
396
|
}, style),
|
|
396
397
|
ref: function ref(node) {
|
|
397
398
|
if (node) {
|
|
@@ -139,7 +139,8 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
139
139
|
reactionPickerPlacement = _ref.reactionPickerPlacement,
|
|
140
140
|
summaryButtonIconAfter = _ref.summaryButtonIconAfter,
|
|
141
141
|
_ref$renderParticleEf = _ref.renderParticleEffectOnSummaryView,
|
|
142
|
-
renderParticleEffectOnSummaryView = _ref$renderParticleEf === void 0 ? false : _ref$renderParticleEf
|
|
142
|
+
renderParticleEffectOnSummaryView = _ref$renderParticleEf === void 0 ? false : _ref$renderParticleEf,
|
|
143
|
+
reactionPickerPopperZIndex = _ref.reactionPickerPopperZIndex;
|
|
143
144
|
var _useState = useState(''),
|
|
144
145
|
_useState2 = _slicedToArray(_useState, 2),
|
|
145
146
|
selectedEmojiId = _useState2[0],
|
|
@@ -394,6 +395,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
394
395
|
hoverableReactionPicker: hoverableSummaryView,
|
|
395
396
|
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
396
397
|
reactionPickerPlacement: reactionPickerPlacement,
|
|
398
|
+
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
397
399
|
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
398
400
|
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
399
401
|
name: "reactions-dialog"
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}._12l2u2gc{margin-inline-end:var(--ds-space-100,8px)}
|
|
3
3
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
|
+
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
4
5
|
._1e0c1o8l{display:inline-block}
|
|
5
6
|
._1o51q7pw{animation-fill-mode:forwards}
|
|
6
7
|
._1p3lnqa1{border-left-style:solid}
|
|
7
8
|
._1pgl1ytf{animation-timing-function:ease-in-out}
|
|
9
|
+
._2mzuglyw{list-style-type:none}
|
|
8
10
|
._4t3i1tcg{height:24px}
|
|
9
11
|
._5sag6ebc{animation-duration:.15s}
|
|
10
12
|
._5wramuej{border-left-color:var(--ds-border,#091e4224)}
|
|
@@ -3,8 +3,9 @@ import "./Selector.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Fragment } from 'react';
|
|
6
|
-
import
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
8
9
|
import { messages } from '../shared/i18n';
|
|
9
10
|
import { DefaultReactions } from '../shared/constants';
|
|
10
11
|
import { EmojiButton } from './EmojiButton';
|
|
@@ -12,6 +13,7 @@ import { ShowMore } from './ShowMore';
|
|
|
12
13
|
import { Trigger } from './Trigger';
|
|
13
14
|
var styles = {
|
|
14
15
|
container: "_ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
16
|
+
emojiContainer: "_2mzuglyw _19pkze3t",
|
|
15
17
|
separator: "_t6vde4h9 _5wramuej _1p3lnqa1 _ahbq1b66 _12l2u2gc _4t3i1tcg _1e0c1o8l",
|
|
16
18
|
hoverableReactionPickerSelectorContainer: "_zulp1b66 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66"
|
|
17
19
|
};
|
|
@@ -22,7 +24,7 @@ var revealStyle = null;
|
|
|
22
24
|
* Test id for wrapper Selector div
|
|
23
25
|
*/
|
|
24
26
|
export var RENDER_SELECTOR_TESTID = 'render-selector';
|
|
25
|
-
var
|
|
27
|
+
var RevealOld = function RevealOld(_ref) {
|
|
26
28
|
var children = _ref.children,
|
|
27
29
|
testId = _ref.testId;
|
|
28
30
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -30,19 +32,30 @@ var Reveal = function Reveal(_ref) {
|
|
|
30
32
|
className: ax(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
31
33
|
}, children);
|
|
32
34
|
};
|
|
35
|
+
var Reveal = function Reveal(_ref2) {
|
|
36
|
+
var children = _ref2.children,
|
|
37
|
+
testId = _ref2.testId;
|
|
38
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
39
|
+
as: "li",
|
|
40
|
+
xcss: styles.emojiContainer
|
|
41
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
"data-testid": testId,
|
|
43
|
+
className: ax(["_j7hqordv _5sag6ebc _1pgl1ytf _1o51q7pw _tzy4idpf"])
|
|
44
|
+
}, children));
|
|
45
|
+
};
|
|
33
46
|
|
|
34
47
|
/**
|
|
35
48
|
* Reactions picker panel part of the <ReactionPicker /> component
|
|
36
49
|
*/
|
|
37
|
-
export var Selector = function Selector(
|
|
38
|
-
var emojiProvider =
|
|
39
|
-
onMoreClick =
|
|
40
|
-
onSelection =
|
|
41
|
-
showMore =
|
|
42
|
-
|
|
43
|
-
pickerQuickReactionEmojiIds =
|
|
44
|
-
|
|
45
|
-
hoverableReactionPickerSelector =
|
|
50
|
+
export var Selector = function Selector(_ref3) {
|
|
51
|
+
var emojiProvider = _ref3.emojiProvider,
|
|
52
|
+
onMoreClick = _ref3.onMoreClick,
|
|
53
|
+
onSelection = _ref3.onSelection,
|
|
54
|
+
showMore = _ref3.showMore,
|
|
55
|
+
_ref3$pickerQuickReac = _ref3.pickerQuickReactionEmojiIds,
|
|
56
|
+
pickerQuickReactionEmojiIds = _ref3$pickerQuickReac === void 0 ? DefaultReactions : _ref3$pickerQuickReac,
|
|
57
|
+
_ref3$hoverableReacti = _ref3.hoverableReactionPickerSelector,
|
|
58
|
+
hoverableReactionPickerSelector = _ref3$hoverableReacti === void 0 ? false : _ref3$hoverableReacti;
|
|
46
59
|
/**
|
|
47
60
|
* Render the default emoji icon
|
|
48
61
|
* @param emoji emoji item
|
|
@@ -58,7 +71,8 @@ export var Selector = function Selector(_ref2) {
|
|
|
58
71
|
onClick: onSelection,
|
|
59
72
|
hoverableReactionPickerSelectorEmoji: hoverableReactionPickerSelector
|
|
60
73
|
}));
|
|
61
|
-
|
|
74
|
+
var RevealComponent = fg('platform-reactions-selector-list-semantics') ? Reveal : RevealOld;
|
|
75
|
+
return hoverableReactionPickerSelector ? emojiButtonAndTooltip : /*#__PURE__*/React.createElement(RevealComponent, {
|
|
62
76
|
key: (_emoji$id = emoji.id) !== null && _emoji$id !== void 0 ? _emoji$id : emoji.shortName,
|
|
63
77
|
testId: RENDER_SELECTOR_TESTID
|
|
64
78
|
}, emojiButtonAndTooltip);
|
|
@@ -79,7 +93,8 @@ export var Selector = function Selector(_ref2) {
|
|
|
79
93
|
}
|
|
80
94
|
return /*#__PURE__*/React.createElement(Inline, {
|
|
81
95
|
alignBlock: "center",
|
|
82
|
-
xcss: styles.container
|
|
96
|
+
xcss: styles.container,
|
|
97
|
+
as: fg('platform-reactions-selector-list-semantics') ? 'ul' : undefined
|
|
83
98
|
}, pickerQuickReactionEmojiIds ? pickerQuickReactionEmojiIds.map(renderEmoji) : null, showMore ? /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
84
99
|
xcss: styles.separator
|
|
85
100
|
}), /*#__PURE__*/React.createElement(Reveal, null, /*#__PURE__*/React.createElement(ShowMore, {
|
|
@@ -72,6 +72,10 @@ export interface ReactionPickerProps extends Pick<SelectorProps, 'pickerQuickRea
|
|
|
72
72
|
* Optional prop for controlling the picker location
|
|
73
73
|
*/
|
|
74
74
|
reactionPickerPlacement?: Placement;
|
|
75
|
+
/**
|
|
76
|
+
* Optional zIndex for the reaction picker popper
|
|
77
|
+
*/
|
|
78
|
+
reactionPickerPopperZIndex?: number;
|
|
75
79
|
/**
|
|
76
80
|
* Optional prop to set the strategy of the reaction picker popup
|
|
77
81
|
*/
|
|
@@ -110,5 +114,6 @@ export interface PopperWrapperProps {
|
|
|
110
114
|
showFullPicker: boolean;
|
|
111
115
|
};
|
|
112
116
|
triggerRef: HTMLDivElement | HTMLButtonElement | null;
|
|
117
|
+
zIndex?: number;
|
|
113
118
|
}
|
|
114
119
|
export declare const PopperWrapper: (props: PropsWithChildren<PopperWrapperProps>) => JSX.Element;
|
|
@@ -33,7 +33,7 @@ export declare const RENDER_VIEWALL_REACTED_USERS_DIALOG = "viewall-reacted-user
|
|
|
33
33
|
* Test id for summary view of reactions
|
|
34
34
|
*/
|
|
35
35
|
export declare const RENDER_REACTIONS_SUMMARY_TESTID = "reaction-summary-view";
|
|
36
|
-
export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'reactionPickerTriggerIcon' | 'reactionPickerPlacement'>, Pick<SelectorProps, 'pickerQuickReactionEmojiIds'> {
|
|
36
|
+
export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'reactionPickerTriggerIcon' | 'reactionPickerPlacement' | 'reactionPickerPopperZIndex'>, Pick<SelectorProps, 'pickerQuickReactionEmojiIds'> {
|
|
37
37
|
/**
|
|
38
38
|
* Optional prop for controlling if we can select emojis and display UI via summary view picker
|
|
39
39
|
*/
|
|
@@ -197,4 +197,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
|
|
|
197
197
|
/**
|
|
198
198
|
* Renders list of reactions
|
|
199
199
|
*/
|
|
200
|
-
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, isViewOnly, noWrap, noRelativeContainer, showSubtleDefaultReactions, reactionPickerTriggerTooltipContent, reactionPickerTriggerIcon, allowSelectFromSummaryView, useButtonAlignmentStyling, reactionPickerTriggerText, hoverableSummaryView, isListItem, summaryGetOptimisticImageURL, reactionPickerPlacement, summaryButtonIconAfter, renderParticleEffectOnSummaryView, }: ReactionsProps) => JSX.Element>;
|
|
200
|
+
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, isViewOnly, noWrap, noRelativeContainer, showSubtleDefaultReactions, reactionPickerTriggerTooltipContent, reactionPickerTriggerIcon, allowSelectFromSummaryView, useButtonAlignmentStyling, reactionPickerTriggerText, hoverableSummaryView, isListItem, summaryGetOptimisticImageURL, reactionPickerPlacement, summaryButtonIconAfter, renderParticleEffectOnSummaryView, reactionPickerPopperZIndex, }: ReactionsProps) => JSX.Element>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type ReactionsProps, type ReactionPickerProps } from '../../components';
|
|
3
3
|
import { ReactionStatus, type Actions, type State, type StorePropInput } from '../../types';
|
|
4
4
|
import { type ReactionUpdateSuccess } from '../../types/reaction';
|
|
5
|
-
export interface ConnectedReactionsViewProps extends Pick<ReactionsProps, 'quickReactionEmojis' | 'onDialogOpenCallback' | 'onDialogCloseCallback' | 'onDialogSelectReactionCallback' | 'allowUserDialog' | 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'summaryViewEnabled' | 'subtleReactionsSummaryAndPicker' | 'onlyRenderPicker' | 'isViewOnly' | 'allowSelectFromSummaryView'>, Pick<ReactionPickerProps, 'pickerQuickReactionEmojiIds'> {
|
|
5
|
+
export interface ConnectedReactionsViewProps extends Pick<ReactionsProps, 'quickReactionEmojis' | 'onDialogOpenCallback' | 'onDialogCloseCallback' | 'onDialogSelectReactionCallback' | 'allowUserDialog' | 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'summaryViewEnabled' | 'subtleReactionsSummaryAndPicker' | 'onlyRenderPicker' | 'isViewOnly' | 'allowSelectFromSummaryView' | 'reactionPickerPopperZIndex'>, Pick<ReactionPickerProps, 'pickerQuickReactionEmojiIds'> {
|
|
6
6
|
/**
|
|
7
7
|
* Individual id for a reaction
|
|
8
8
|
*/
|
|
@@ -72,6 +72,10 @@ export interface ReactionPickerProps extends Pick<SelectorProps, 'pickerQuickRea
|
|
|
72
72
|
* Optional prop for controlling the picker location
|
|
73
73
|
*/
|
|
74
74
|
reactionPickerPlacement?: Placement;
|
|
75
|
+
/**
|
|
76
|
+
* Optional zIndex for the reaction picker popper
|
|
77
|
+
*/
|
|
78
|
+
reactionPickerPopperZIndex?: number;
|
|
75
79
|
/**
|
|
76
80
|
* Optional prop to set the strategy of the reaction picker popup
|
|
77
81
|
*/
|
|
@@ -110,5 +114,6 @@ export interface PopperWrapperProps {
|
|
|
110
114
|
showFullPicker: boolean;
|
|
111
115
|
};
|
|
112
116
|
triggerRef: HTMLDivElement | HTMLButtonElement | null;
|
|
117
|
+
zIndex?: number;
|
|
113
118
|
}
|
|
114
119
|
export declare const PopperWrapper: (props: PropsWithChildren<PopperWrapperProps>) => JSX.Element;
|
|
@@ -33,7 +33,7 @@ export declare const RENDER_VIEWALL_REACTED_USERS_DIALOG = "viewall-reacted-user
|
|
|
33
33
|
* Test id for summary view of reactions
|
|
34
34
|
*/
|
|
35
35
|
export declare const RENDER_REACTIONS_SUMMARY_TESTID = "reaction-summary-view";
|
|
36
|
-
export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'reactionPickerTriggerIcon' | 'reactionPickerPlacement'>, Pick<SelectorProps, 'pickerQuickReactionEmojiIds'> {
|
|
36
|
+
export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'reactionPickerTriggerIcon' | 'reactionPickerPlacement' | 'reactionPickerPopperZIndex'>, Pick<SelectorProps, 'pickerQuickReactionEmojiIds'> {
|
|
37
37
|
/**
|
|
38
38
|
* Optional prop for controlling if we can select emojis and display UI via summary view picker
|
|
39
39
|
*/
|
|
@@ -197,4 +197,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
|
|
|
197
197
|
/**
|
|
198
198
|
* Renders list of reactions
|
|
199
199
|
*/
|
|
200
|
-
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, isViewOnly, noWrap, noRelativeContainer, showSubtleDefaultReactions, reactionPickerTriggerTooltipContent, reactionPickerTriggerIcon, allowSelectFromSummaryView, useButtonAlignmentStyling, reactionPickerTriggerText, hoverableSummaryView, isListItem, summaryGetOptimisticImageURL, reactionPickerPlacement, summaryButtonIconAfter, renderParticleEffectOnSummaryView, }: ReactionsProps) => JSX.Element>;
|
|
200
|
+
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, isViewOnly, noWrap, noRelativeContainer, showSubtleDefaultReactions, reactionPickerTriggerTooltipContent, reactionPickerTriggerIcon, allowSelectFromSummaryView, useButtonAlignmentStyling, reactionPickerTriggerText, hoverableSummaryView, isListItem, summaryGetOptimisticImageURL, reactionPickerPlacement, summaryButtonIconAfter, renderParticleEffectOnSummaryView, reactionPickerPopperZIndex, }: ReactionsProps) => JSX.Element>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type ReactionsProps, type ReactionPickerProps } from '../../components';
|
|
3
3
|
import { ReactionStatus, type Actions, type State, type StorePropInput } from '../../types';
|
|
4
4
|
import { type ReactionUpdateSuccess } from '../../types/reaction';
|
|
5
|
-
export interface ConnectedReactionsViewProps extends Pick<ReactionsProps, 'quickReactionEmojis' | 'onDialogOpenCallback' | 'onDialogCloseCallback' | 'onDialogSelectReactionCallback' | 'allowUserDialog' | 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'summaryViewEnabled' | 'subtleReactionsSummaryAndPicker' | 'onlyRenderPicker' | 'isViewOnly' | 'allowSelectFromSummaryView'>, Pick<ReactionPickerProps, 'pickerQuickReactionEmojiIds'> {
|
|
5
|
+
export interface ConnectedReactionsViewProps extends Pick<ReactionsProps, 'quickReactionEmojis' | 'onDialogOpenCallback' | 'onDialogCloseCallback' | 'onDialogSelectReactionCallback' | 'allowUserDialog' | 'allowAllEmojis' | 'emojiProvider' | 'emojiPickerSize' | 'miniMode' | 'summaryViewEnabled' | 'subtleReactionsSummaryAndPicker' | 'onlyRenderPicker' | 'isViewOnly' | 'allowSelectFromSummaryView' | 'reactionPickerPopperZIndex'>, Pick<ReactionPickerProps, 'pickerQuickReactionEmojiIds'> {
|
|
6
6
|
/**
|
|
7
7
|
* Individual id for a reaction
|
|
8
8
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.
|
|
3
|
+
"version": "33.5.0",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
38
|
-
"@atlaskit/avatar": "^25.
|
|
38
|
+
"@atlaskit/avatar": "^25.5.0",
|
|
39
39
|
"@atlaskit/button": "^23.5.0",
|
|
40
40
|
"@atlaskit/css": "^0.15.0",
|
|
41
41
|
"@atlaskit/emoji": "^69.6.0",
|
|
42
42
|
"@atlaskit/heading": "^5.2.0",
|
|
43
43
|
"@atlaskit/icon": "^28.5.0",
|
|
44
44
|
"@atlaskit/link": "^3.2.0",
|
|
45
|
-
"@atlaskit/modal-dialog": "^14.
|
|
45
|
+
"@atlaskit/modal-dialog": "^14.6.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.3.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
73
73
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
74
74
|
"@atlaskit/util-data-test": "^18.3.0",
|
|
75
|
-
"@atlassian/feature-flags-test-utils": "^0.
|
|
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",
|
|
78
78
|
"@testing-library/react": "^13.4.0",
|
|
@@ -138,6 +138,12 @@
|
|
|
138
138
|
},
|
|
139
139
|
"platform_reaction_full_picker_hover": {
|
|
140
140
|
"type": "boolean"
|
|
141
|
+
},
|
|
142
|
+
"platform_reactions_custom_popper_zindex": {
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"platform-reactions-selector-list-semantics": {
|
|
146
|
+
"type": "boolean"
|
|
141
147
|
}
|
|
142
148
|
},
|
|
143
149
|
"sideEffects": [
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.passionfruit.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../passionfruit/tsDist/@atlaskit__reactions/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../../analytics/analytics-gas-types/afm-passionfruit/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-passionfruit/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../analytics/analytics-next/afm-passionfruit/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/avatar/afm-passionfruit/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/button/afm-passionfruit/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../design-system/css/afm-passionfruit/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../emoji/afm-passionfruit/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/heading/afm-passionfruit/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../design-system/link/afm-passionfruit/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/modal-dialog/afm-passionfruit/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../design-system/motion/afm-passionfruit/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../platform/feature-flags-react/afm-passionfruit/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/popper/afm-passionfruit/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/popup/afm-passionfruit/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/portal/afm-passionfruit/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../../design-system/primitives/afm-passionfruit/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../react-ufo/atlaskit/afm-passionfruit/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../design-system/spinner/afm-passionfruit/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../design-system/tabs/afm-passionfruit/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../design-system/theme/afm-passionfruit/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../design-system/tooltip/afm-passionfruit/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../data/ufo-external/afm-passionfruit/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../util-service-support/afm-passionfruit/tsconfig.json"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.rovo-extension.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../rovo-extension/tsDist/@atlaskit__reactions/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../../analytics/analytics-gas-types/afm-rovo-extension/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-rovo-extension/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/avatar/afm-rovo-extension/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/button/afm-rovo-extension/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../design-system/css/afm-rovo-extension/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../emoji/afm-rovo-extension/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/heading/afm-rovo-extension/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../design-system/link/afm-rovo-extension/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/modal-dialog/afm-rovo-extension/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../design-system/motion/afm-rovo-extension/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../platform/feature-flags-react/afm-rovo-extension/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/popper/afm-rovo-extension/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/popup/afm-rovo-extension/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/portal/afm-rovo-extension/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../react-ufo/atlaskit/afm-rovo-extension/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../design-system/spinner/afm-rovo-extension/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../design-system/tabs/afm-rovo-extension/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../data/ufo-external/afm-rovo-extension/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../util-service-support/afm-rovo-extension/tsconfig.json"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
package/afm-volt/tsconfig.json
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.volt.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../volt/tsDist/@atlaskit__reactions/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../../analytics/analytics-gas-types/afm-volt/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-volt/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../analytics/analytics-next/afm-volt/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/avatar/afm-volt/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/button/afm-volt/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../design-system/css/afm-volt/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../emoji/afm-volt/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/heading/afm-volt/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../design-system/icon/afm-volt/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../design-system/link/afm-volt/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/modal-dialog/afm-volt/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../design-system/motion/afm-volt/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../platform/feature-flags-react/afm-volt/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/popper/afm-volt/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/popup/afm-volt/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/portal/afm-volt/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../../design-system/primitives/afm-volt/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../react-ufo/atlaskit/afm-volt/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../design-system/spinner/afm-volt/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../design-system/tabs/afm-volt/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../design-system/theme/afm-volt/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../design-system/tokens/afm-volt/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../design-system/tooltip/afm-volt/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../data/ufo-external/afm-volt/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../util-service-support/afm-volt/tsconfig.json"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|