@atlaskit/reactions 33.2.2 → 33.2.4
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 +16 -0
- package/afm-townsquare/tsconfig.json +99 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionsDialogHeader.js +14 -29
- package/dist/cjs/components/ShowMore.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionsDialogHeader.js +1 -17
- package/dist/es2019/components/ShowMore.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionsDialogHeader.js +14 -29
- package/dist/esm/components/ShowMore.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188592](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188592)
|
|
8
|
+
[`c6827409589d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c6827409589d7) -
|
|
9
|
+
Exported 'ReactionSummary' type
|
|
10
|
+
|
|
11
|
+
## 33.2.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#187672](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187672)
|
|
16
|
+
[`e01d743f3c06b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e01d743f3c06b) -
|
|
17
|
+
use formatted message rather than default message for show more button label
|
|
18
|
+
|
|
3
19
|
## 33.2.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.townsquare.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../townsquare/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
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-gas-types/afm-townsquare/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-townsquare/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/button/afm-townsquare/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/css/afm-townsquare/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../emoji/afm-townsquare/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/link/afm-townsquare/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/modal-dialog/afm-townsquare/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/motion/afm-townsquare/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../platform/feature-flags-react/afm-townsquare/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/popper/afm-townsquare/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../design-system/popup/afm-townsquare/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../../design-system/portal/afm-townsquare/tsconfig.json"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "../../../react-ufo/atlaskit/afm-townsquare/tsconfig.json"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "../../../design-system/spinner/afm-townsquare/tsconfig.json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "../../../design-system/tabs/afm-townsquare/tsconfig.json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"path": "../../../data/ufo-external/afm-townsquare/tsconfig.json"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "../../util-service-support/afm-townsquare/tsconfig.json"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
@@ -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 = "33.2.
|
|
14
|
+
var packageVersion = "33.2.3";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -26,9 +26,7 @@ var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
|
26
26
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
27
27
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
28
28
|
var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
|
|
29
|
-
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
30
29
|
var _element = require("@atlaskit/emoji/element");
|
|
31
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
32
30
|
var _i18n = require("../shared/i18n");
|
|
33
31
|
var _Counter = require("./Counter");
|
|
34
32
|
var _constants = require("../shared/constants");
|
|
@@ -50,19 +48,8 @@ var customTabWrapper = {
|
|
|
50
48
|
darkTheme: "_nhkt1ts8 _j5n7hco4"
|
|
51
49
|
};
|
|
52
50
|
var firstElement = null;
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var intl = (0, _reactIntlNext.useIntl)();
|
|
56
|
-
return /*#__PURE__*/React.createElement(_new.IconButton, {
|
|
57
|
-
onClick: handleCloseReactionsDialog,
|
|
58
|
-
icon: _cross.default,
|
|
59
|
-
label: intl.formatMessage(_i18n.messages.closeReactionsDialog),
|
|
60
|
-
appearance: "subtle",
|
|
61
|
-
isTooltipDisabled: false
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
var LeftNavigationButton = function LeftNavigationButton(_ref2) {
|
|
65
|
-
var handlePreviousPage = _ref2.handlePreviousPage;
|
|
51
|
+
var LeftNavigationButton = function LeftNavigationButton(_ref) {
|
|
52
|
+
var handlePreviousPage = _ref.handlePreviousPage;
|
|
66
53
|
var intl = (0, _reactIntlNext.useIntl)();
|
|
67
54
|
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
68
55
|
xcss: styles.leftNavigationStyle
|
|
@@ -78,8 +65,8 @@ var LeftNavigationButton = function LeftNavigationButton(_ref2) {
|
|
|
78
65
|
isTooltipDisabled: false
|
|
79
66
|
}));
|
|
80
67
|
};
|
|
81
|
-
var RightNavigationButton = function RightNavigationButton(
|
|
82
|
-
var handleNextPage =
|
|
68
|
+
var RightNavigationButton = function RightNavigationButton(_ref2) {
|
|
69
|
+
var handleNextPage = _ref2.handleNextPage;
|
|
83
70
|
var intl = (0, _reactIntlNext.useIntl)();
|
|
84
71
|
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
85
72
|
xcss: styles.rightNavigationStyle
|
|
@@ -95,15 +82,15 @@ var RightNavigationButton = function RightNavigationButton(_ref3) {
|
|
|
95
82
|
isTooltipDisabled: false
|
|
96
83
|
}));
|
|
97
84
|
};
|
|
98
|
-
var ReactionsDialogHeader = exports.ReactionsDialogHeader = function ReactionsDialogHeader(
|
|
99
|
-
var totalReactionsCount =
|
|
100
|
-
handlePreviousPage =
|
|
101
|
-
handleNextPage =
|
|
102
|
-
currentPage =
|
|
103
|
-
maxPages =
|
|
104
|
-
currentReactions =
|
|
105
|
-
emojiProvider =
|
|
106
|
-
handleCloseReactionsDialog =
|
|
85
|
+
var ReactionsDialogHeader = exports.ReactionsDialogHeader = function ReactionsDialogHeader(_ref3) {
|
|
86
|
+
var totalReactionsCount = _ref3.totalReactionsCount,
|
|
87
|
+
handlePreviousPage = _ref3.handlePreviousPage,
|
|
88
|
+
handleNextPage = _ref3.handleNextPage,
|
|
89
|
+
currentPage = _ref3.currentPage,
|
|
90
|
+
maxPages = _ref3.maxPages,
|
|
91
|
+
currentReactions = _ref3.currentReactions,
|
|
92
|
+
emojiProvider = _ref3.emojiProvider,
|
|
93
|
+
handleCloseReactionsDialog = _ref3.handleCloseReactionsDialog;
|
|
107
94
|
var _useState = (0, _react.useState)({}),
|
|
108
95
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
109
96
|
cache = _useState2[0],
|
|
@@ -163,10 +150,8 @@ var ReactionsDialogHeader = exports.ReactionsDialogHeader = function ReactionsDi
|
|
|
163
150
|
id: titleId
|
|
164
151
|
}, intl.formatMessage(_i18n.messages.reactionsCount, {
|
|
165
152
|
count: totalReactionsCount
|
|
166
|
-
})),
|
|
153
|
+
})), /*#__PURE__*/React.createElement(_modalDialog.CloseButton, {
|
|
167
154
|
onClick: handleCloseReactionsDialog
|
|
168
|
-
}) : /*#__PURE__*/React.createElement(CloseButtonCustom, {
|
|
169
|
-
handleCloseReactionsDialog: handleCloseReactionsDialog
|
|
170
155
|
})), /*#__PURE__*/React.createElement(_compiled.Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
171
156
|
id: "reactions-dialog-tabs-list",
|
|
172
157
|
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _n7zlfl6d _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"]),
|
|
@@ -24,7 +24,7 @@ var ShowMore = exports.ShowMore = function ShowMore(_ref) {
|
|
|
24
24
|
return /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
25
25
|
content: message
|
|
26
26
|
}, /*#__PURE__*/_react.default.createElement(_new.IconButton, {
|
|
27
|
-
label:
|
|
27
|
+
label: message,
|
|
28
28
|
onClick: onClick,
|
|
29
29
|
testId: RENDER_SHOWMORE_TESTID,
|
|
30
30
|
icon: _showMoreHorizontalEditorMore.default,
|
|
@@ -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 = "33.2.
|
|
4
|
+
const packageVersion = "33.2.3";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -15,9 +15,7 @@ import { useModal } from '@atlaskit/modal-dialog';
|
|
|
15
15
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
16
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
17
17
|
import ChevronLeftIcon from '@atlaskit/icon/core/chevron-left';
|
|
18
|
-
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
19
18
|
import { ResourcedEmoji } from '@atlaskit/emoji/element';
|
|
20
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
19
|
import { messages } from '../shared/i18n';
|
|
22
20
|
import { Counter } from './Counter';
|
|
23
21
|
import { RESOURCED_EMOJI_COMPACT_HEIGHT } from '../shared/constants';
|
|
@@ -36,18 +34,6 @@ const customTabWrapper = {
|
|
|
36
34
|
darkTheme: "_nhkt1ts8 _j5n7hco4"
|
|
37
35
|
};
|
|
38
36
|
const firstElement = null;
|
|
39
|
-
const CloseButtonCustom = ({
|
|
40
|
-
handleCloseReactionsDialog
|
|
41
|
-
}) => {
|
|
42
|
-
const intl = useIntl();
|
|
43
|
-
return /*#__PURE__*/React.createElement(IconButton, {
|
|
44
|
-
onClick: handleCloseReactionsDialog,
|
|
45
|
-
icon: CrossIcon,
|
|
46
|
-
label: intl.formatMessage(messages.closeReactionsDialog),
|
|
47
|
-
appearance: "subtle",
|
|
48
|
-
isTooltipDisabled: false
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
37
|
const LeftNavigationButton = ({
|
|
52
38
|
handlePreviousPage
|
|
53
39
|
}) => {
|
|
@@ -135,10 +121,8 @@ export const ReactionsDialogHeader = ({
|
|
|
135
121
|
id: titleId
|
|
136
122
|
}, intl.formatMessage(messages.reactionsCount, {
|
|
137
123
|
count: totalReactionsCount
|
|
138
|
-
})),
|
|
124
|
+
})), /*#__PURE__*/React.createElement(CloseButton, {
|
|
139
125
|
onClick: handleCloseReactionsDialog
|
|
140
|
-
}) : /*#__PURE__*/React.createElement(CloseButtonCustom, {
|
|
141
|
-
handleCloseReactionsDialog: handleCloseReactionsDialog
|
|
142
126
|
})), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
143
127
|
id: "reactions-dialog-tabs-list",
|
|
144
128
|
className: ax(["_1reo1wug _18m91wug _n7zl1l7n _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"])
|
|
@@ -18,7 +18,7 @@ export const ShowMore = ({
|
|
|
18
18
|
return /*#__PURE__*/React.createElement(FormattedMessage, messages.moreEmoji, message => /*#__PURE__*/React.createElement(Tooltip, {
|
|
19
19
|
content: message
|
|
20
20
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
21
|
-
label:
|
|
21
|
+
label: message,
|
|
22
22
|
onClick: onClick,
|
|
23
23
|
testId: RENDER_SHOWMORE_TESTID,
|
|
24
24
|
icon: EditorMoreIcon,
|
|
@@ -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 = "33.2.
|
|
7
|
+
var packageVersion = "33.2.3";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -21,9 +21,7 @@ import { useModal } from '@atlaskit/modal-dialog';
|
|
|
21
21
|
import Tooltip from '@atlaskit/tooltip';
|
|
22
22
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
23
23
|
import ChevronLeftIcon from '@atlaskit/icon/core/chevron-left';
|
|
24
|
-
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
25
24
|
import { ResourcedEmoji } from '@atlaskit/emoji/element';
|
|
26
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
27
25
|
import { messages } from '../shared/i18n';
|
|
28
26
|
import { Counter } from './Counter';
|
|
29
27
|
import { RESOURCED_EMOJI_COMPACT_HEIGHT } from '../shared/constants';
|
|
@@ -42,19 +40,8 @@ var customTabWrapper = {
|
|
|
42
40
|
darkTheme: "_nhkt1ts8 _j5n7hco4"
|
|
43
41
|
};
|
|
44
42
|
var firstElement = null;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var intl = useIntl();
|
|
48
|
-
return /*#__PURE__*/React.createElement(IconButton, {
|
|
49
|
-
onClick: handleCloseReactionsDialog,
|
|
50
|
-
icon: CrossIcon,
|
|
51
|
-
label: intl.formatMessage(messages.closeReactionsDialog),
|
|
52
|
-
appearance: "subtle",
|
|
53
|
-
isTooltipDisabled: false
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
var LeftNavigationButton = function LeftNavigationButton(_ref2) {
|
|
57
|
-
var handlePreviousPage = _ref2.handlePreviousPage;
|
|
43
|
+
var LeftNavigationButton = function LeftNavigationButton(_ref) {
|
|
44
|
+
var handlePreviousPage = _ref.handlePreviousPage;
|
|
58
45
|
var intl = useIntl();
|
|
59
46
|
return /*#__PURE__*/React.createElement(Flex, {
|
|
60
47
|
xcss: styles.leftNavigationStyle
|
|
@@ -70,8 +57,8 @@ var LeftNavigationButton = function LeftNavigationButton(_ref2) {
|
|
|
70
57
|
isTooltipDisabled: false
|
|
71
58
|
}));
|
|
72
59
|
};
|
|
73
|
-
var RightNavigationButton = function RightNavigationButton(
|
|
74
|
-
var handleNextPage =
|
|
60
|
+
var RightNavigationButton = function RightNavigationButton(_ref2) {
|
|
61
|
+
var handleNextPage = _ref2.handleNextPage;
|
|
75
62
|
var intl = useIntl();
|
|
76
63
|
return /*#__PURE__*/React.createElement(Flex, {
|
|
77
64
|
xcss: styles.rightNavigationStyle
|
|
@@ -87,15 +74,15 @@ var RightNavigationButton = function RightNavigationButton(_ref3) {
|
|
|
87
74
|
isTooltipDisabled: false
|
|
88
75
|
}));
|
|
89
76
|
};
|
|
90
|
-
export var ReactionsDialogHeader = function ReactionsDialogHeader(
|
|
91
|
-
var totalReactionsCount =
|
|
92
|
-
handlePreviousPage =
|
|
93
|
-
handleNextPage =
|
|
94
|
-
currentPage =
|
|
95
|
-
maxPages =
|
|
96
|
-
currentReactions =
|
|
97
|
-
emojiProvider =
|
|
98
|
-
handleCloseReactionsDialog =
|
|
77
|
+
export var ReactionsDialogHeader = function ReactionsDialogHeader(_ref3) {
|
|
78
|
+
var totalReactionsCount = _ref3.totalReactionsCount,
|
|
79
|
+
handlePreviousPage = _ref3.handlePreviousPage,
|
|
80
|
+
handleNextPage = _ref3.handleNextPage,
|
|
81
|
+
currentPage = _ref3.currentPage,
|
|
82
|
+
maxPages = _ref3.maxPages,
|
|
83
|
+
currentReactions = _ref3.currentReactions,
|
|
84
|
+
emojiProvider = _ref3.emojiProvider,
|
|
85
|
+
handleCloseReactionsDialog = _ref3.handleCloseReactionsDialog;
|
|
99
86
|
var _useState = useState({}),
|
|
100
87
|
_useState2 = _slicedToArray(_useState, 2),
|
|
101
88
|
cache = _useState2[0],
|
|
@@ -155,10 +142,8 @@ export var ReactionsDialogHeader = function ReactionsDialogHeader(_ref4) {
|
|
|
155
142
|
id: titleId
|
|
156
143
|
}, intl.formatMessage(messages.reactionsCount, {
|
|
157
144
|
count: totalReactionsCount
|
|
158
|
-
})),
|
|
145
|
+
})), /*#__PURE__*/React.createElement(CloseButton, {
|
|
159
146
|
onClick: handleCloseReactionsDialog
|
|
160
|
-
}) : /*#__PURE__*/React.createElement(CloseButtonCustom, {
|
|
161
|
-
handleCloseReactionsDialog: handleCloseReactionsDialog
|
|
162
147
|
})), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("div", {
|
|
163
148
|
id: "reactions-dialog-tabs-list",
|
|
164
149
|
className: ax(["_1reo1wug _18m91wug _n7zlfl6d _1e0c1txw _1bsb1osq _4cvr1y6m _80wau2gc _s2c4kb7n _141m1j28"]),
|
|
@@ -18,7 +18,7 @@ export var ShowMore = function ShowMore(_ref) {
|
|
|
18
18
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
19
19
|
content: message
|
|
20
20
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
21
|
-
label:
|
|
21
|
+
label: message,
|
|
22
22
|
onClick: onClick,
|
|
23
23
|
testId: RENDER_SHOWMORE_TESTID,
|
|
24
24
|
icon: EditorMoreIcon,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { useCloseManager } from './hooks/useCloseManager';
|
|
|
9
9
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
10
10
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
11
11
|
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, } from './types';
|
|
12
|
-
export { ReactionUpdateType, ReactionStatus } from './types';
|
|
12
|
+
export { ReactionUpdateType, ReactionStatus, type ReactionSummary } from './types';
|
|
13
13
|
export declare const constants: {
|
|
14
14
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
|
15
15
|
DefaultReactionsByShortName: Map<string, import("@atlaskit/emoji").EmojiId>;
|
|
@@ -9,7 +9,7 @@ export { useCloseManager } from './hooks/useCloseManager';
|
|
|
9
9
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
10
10
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
11
11
|
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, } from './types';
|
|
12
|
-
export { ReactionUpdateType, ReactionStatus } from './types';
|
|
12
|
+
export { ReactionUpdateType, ReactionStatus, type ReactionSummary } from './types';
|
|
13
13
|
export declare const constants: {
|
|
14
14
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
|
15
15
|
DefaultReactionsByShortName: Map<string, import("@atlaskit/emoji").EmojiId>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.2.
|
|
3
|
+
"version": "33.2.4",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/css": "^0.12.0",
|
|
40
40
|
"@atlaskit/emoji": "^69.3.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
|
-
"@atlaskit/icon": "^27.
|
|
42
|
+
"@atlaskit/icon": "^27.4.0",
|
|
43
43
|
"@atlaskit/link": "^3.2.0",
|
|
44
44
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
45
45
|
"@atlaskit/motion": "^5.1.0",
|
|
@@ -122,9 +122,6 @@
|
|
|
122
122
|
"platform-component-visual-refresh": {
|
|
123
123
|
"type": "boolean"
|
|
124
124
|
},
|
|
125
|
-
"platform-make-accessible-close-button": {
|
|
126
|
-
"type": "boolean"
|
|
127
|
-
},
|
|
128
125
|
"platform-reactions-offset-based-popper": {
|
|
129
126
|
"type": "boolean"
|
|
130
127
|
},
|