@atlaskit/reactions 22.5.13 → 22.6.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 +16 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionDialog/ReactionsDialog.js +2 -2
- package/dist/cjs/components/ReactionDialog/styles.js +3 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionDialog/ReactionsDialog.js +1 -1
- package/dist/es2019/components/ReactionDialog/styles.js +3 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionDialog/ReactionsDialog.js +1 -1
- package/dist/esm/components/ReactionDialog/styles.js +3 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 22.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
|
|
8
|
+
|
|
9
|
+
## 22.6.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#91586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91586) [`b3135ab49e16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3135ab49e16) - Updated `@atlaskit/tabs` dependency which removed baked-in horizontal padding. There may be some very slight difference in padding after this change.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 22.5.13
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -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 = "22.
|
|
14
|
+
var packageVersion = "22.6.1";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -10,7 +10,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
|
-
var
|
|
13
|
+
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
14
14
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
15
15
|
var _constants = require("../../shared/constants");
|
|
16
16
|
var _i18n = require("../../shared/i18n");
|
|
@@ -149,7 +149,7 @@ var ReactionsDialog = exports.ReactionsDialog = function ReactionsDialog(_ref) {
|
|
|
149
149
|
reactions: sortedReactions,
|
|
150
150
|
emojiProvider: emojiProvider,
|
|
151
151
|
onReactionChanged: handleSelectReaction
|
|
152
|
-
}))), (0, _react2.jsx)(_modalDialog.ModalFooter, null, (0, _react2.jsx)(
|
|
152
|
+
}))), (0, _react2.jsx)(_modalDialog.ModalFooter, null, (0, _react2.jsx)(_new.default, {
|
|
153
153
|
appearance: "primary",
|
|
154
154
|
onClick: handleCloseReactionsDialog,
|
|
155
155
|
autoFocus: true
|
|
@@ -172,7 +172,9 @@ var customTabListStyles = exports.customTabListStyles = (0, _react.css)({
|
|
|
172
172
|
display: 'flex',
|
|
173
173
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
174
174
|
'div[role=tablist]': {
|
|
175
|
-
flexGrow: 1
|
|
175
|
+
flexGrow: 1,
|
|
176
|
+
// paddingInline exists to maintain styling prior to @atlaskit/tabs update that removed baked in horizontal padding
|
|
177
|
+
paddingInline: "var(--ds-space-100, 8px)"
|
|
176
178
|
}
|
|
177
179
|
});
|
|
178
180
|
var centerSpinner = exports.centerSpinner = (0, _react.css)({
|
|
@@ -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 = "22.
|
|
4
|
+
const packageVersion = "22.6.1";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useEffect, useState, useRef, useCallback, useMemo } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl-next';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import Button from '@atlaskit/button/
|
|
5
|
+
import Button from '@atlaskit/button/new';
|
|
6
6
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
7
7
|
import { NUMBER_OF_REACTIONS_TO_DISPLAY } from '../../shared/constants';
|
|
8
8
|
import { messages } from '../../shared/i18n';
|
|
@@ -157,7 +157,9 @@ export const customTabListStyles = css({
|
|
|
157
157
|
display: 'flex',
|
|
158
158
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
159
159
|
'div[role=tablist]': {
|
|
160
|
-
flexGrow: 1
|
|
160
|
+
flexGrow: 1,
|
|
161
|
+
// paddingInline exists to maintain styling prior to @atlaskit/tabs update that removed baked in horizontal padding
|
|
162
|
+
paddingInline: "var(--ds-space-100, 8px)"
|
|
161
163
|
}
|
|
162
164
|
});
|
|
163
165
|
export const centerSpinner = css({
|
|
@@ -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 = "22.
|
|
7
|
+
var packageVersion = "22.6.1";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -3,7 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
import { useEffect, useState, useRef, useCallback, useMemo } from 'react';
|
|
4
4
|
import { useIntl } from 'react-intl-next';
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
|
-
import Button from '@atlaskit/button/
|
|
6
|
+
import Button from '@atlaskit/button/new';
|
|
7
7
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
8
8
|
import { NUMBER_OF_REACTIONS_TO_DISPLAY } from '../../shared/constants';
|
|
9
9
|
import { messages } from '../../shared/i18n';
|
|
@@ -165,7 +165,9 @@ export var customTabListStyles = css({
|
|
|
165
165
|
display: 'flex',
|
|
166
166
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
167
167
|
'div[role=tablist]': {
|
|
168
|
-
flexGrow: 1
|
|
168
|
+
flexGrow: 1,
|
|
169
|
+
// paddingInline exists to maintain styling prior to @atlaskit/tabs update that removed baked in horizontal padding
|
|
170
|
+
paddingInline: "var(--ds-space-100, 8px)"
|
|
169
171
|
}
|
|
170
172
|
});
|
|
171
173
|
export var centerSpinner = css({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.6.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
38
|
-
"@atlaskit/analytics-next": "^9.
|
|
38
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
39
39
|
"@atlaskit/avatar": "^21.5.0",
|
|
40
|
-
"@atlaskit/button": "^17.
|
|
40
|
+
"@atlaskit/button": "^17.14.0",
|
|
41
41
|
"@atlaskit/emoji": "^67.6.0",
|
|
42
42
|
"@atlaskit/icon": "^22.1.0",
|
|
43
43
|
"@atlaskit/modal-dialog": "^12.11.0",
|
|
44
44
|
"@atlaskit/motion": "^1.5.0",
|
|
45
45
|
"@atlaskit/popper": "^5.5.0",
|
|
46
46
|
"@atlaskit/spinner": "^16.0.0",
|
|
47
|
-
"@atlaskit/tabs": "^
|
|
47
|
+
"@atlaskit/tabs": "^15.0.0",
|
|
48
48
|
"@atlaskit/theme": "^12.7.0",
|
|
49
49
|
"@atlaskit/tokens": "^1.43.0",
|
|
50
50
|
"@atlaskit/tooltip": "^18.2.0",
|